1 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
3 * term.el (term-set-scroll-region, term-handle-ansi-escape):
4 Undo last change, which didn't fix the problem and introduced others.
6 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
8 * progmodes/gdb-mi.el: Don't require speedbar.
9 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
11 2009-09-24 Glenn Morris <rgm@gnu.org>
13 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
15 * term/ns-win.el (ns-reg-to-script): Define for compiler.
17 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
18 there is no newline after the final mime boundary. (Bug#4539)
19 Move markers on insertion so that any buttons inserted don't end up in
20 the next part of a multipart message.
21 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
22 (rmail-mime-bulk-handler): Optionally handle images.
23 (rmail-mime-image): New button action.
24 (rmail-mime-image-handler): New function.
25 (rmail-mime-mode): New mode.
26 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
28 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
30 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
31 than just dropping elements from it (bug#4504).
33 * term.el (term-set-scroll-region): Don't move cursor any more.
34 (term-handle-ansi-escape): Call term-goto here instead.
35 Suggested by Ivan Kanis <apple@kanis.eu>.
37 * term.el: Require CL.
38 (term-ansi-reset): New function.
39 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
40 (term-handle-colors-array): Simplify.
42 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
44 * allout.el (allout-overlay-interior-modification-handler)
45 (allout-obtain-passphrase):
46 * epa-file.el (epa-file-write-region):
47 * ps-print.el (ps-begin-job):
48 * vc-hooks.el (vc-toggle-read-only):
49 * vc-rcs.el (vc-rcs-rollback):
50 * vc-sccs.el (vc-sccs-rollback):
51 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
52 (vc-version-diff, vc-revert, vc-rollback):
53 * wdired.el (wdired-check-kill-buffer):
54 * emacs-lisp/authors.el (authors):
55 * net/socks.el (socks-open-connection):
56 * net/zeroconf.el (zeroconf-service-add-hook):
57 * obsolete/vc-mcvs.el (vc-mcvs-register):
58 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
60 * progmodes/grep.el (lgrep, rgrep):
61 * progmodes/idlw-help.el (idlwave-help-check-locations)
62 (idlwave-help-html-link, idlwave-help-assistant-open-link):
63 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
64 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
65 (reftex-toc-rename-label): Fix typos in error messages.
67 * dired-aux.el (dired-do-shell-command): Reflow docstring.
68 (dired-copy-how-to-fn): Doc fix.
69 (dired-files-attributes, dired-read-shell-command):
70 Fix typos in docstrings.
72 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
73 (dired-x-find-file-other-window): Reflow docstrings.
74 (dired-omit-marker-char, dired-read-shell-command)
75 (dired-x-submit-report): Fix typos in docstrings.
77 * shell.el (shell-mode-hook):
78 * view.el (View-scroll-line-forward):
79 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
80 Fix typos in docstrings.
82 * net/dig.el (dig-invoke): Fix typo in docstring.
83 (query-dig): Reflow docstring.
85 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
86 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
87 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
88 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
89 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
90 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
91 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
92 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
93 (idlwave-completion-map, idlwave-current-indent)
94 (idlwave-custom-ampersand-surround, idlwave-customize)
95 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
96 (idlwave-define-abbrev, idlwave-determine-class-special)
97 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
98 (idlwave-end-block-reg, idlwave-end-of-statement)
99 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
100 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
101 (idlwave-explicit-class-listed, idlwave-file-header)
102 (idlwave-fill-paragraph, idlwave-find-class-definition)
103 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
104 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
105 (idlwave-in-quote, idlwave-indent-action-table)
106 (idlwave-indent-expand-table, idlwave-indent-line)
107 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
108 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
109 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
110 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
111 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
112 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
113 (idlwave-outlawed-buffers, idlwave-popup-select)
114 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
115 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
116 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
117 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
118 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
119 (idlwave-statement-type, idlwave-struct-skip)
120 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
121 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
122 (idlwave-what-module-find-class): Fix typos in docstrings.
123 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
124 (idlwave-calculate-cont-indent, idlwave-expand-equal)
125 (idlwave-find-module, idlwave-find-structure-definition)
126 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
127 (idlwave-list-load-path-shadows, idlwave-next-statement)
128 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
129 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
130 (idlwave-template): Reflow docstrings.
132 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
133 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
134 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
135 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
136 (idlwave-shell-display-line, idlwave-shell-display-wframe)
137 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
138 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
139 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
140 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
141 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
142 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
143 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
144 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
145 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
146 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
147 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
148 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
149 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
150 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
151 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
152 Fix typos in docstrings.
153 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
154 (idlwave-shell-hide-output, idlwave-shell-mode)
155 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
158 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
160 2009-09-24 Ivan Kanis <apple@kanis.eu>
162 * term.el (term-bold-attribute): New var.
163 (term-handle-colors-array): Use it.
165 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
167 * progmodes/gdb-mi.el (gdb-version): New variable.
168 (gdb-non-stop-handler): Set gdb-version.
169 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
170 Condition "--thread" option on gdb-version.
171 (gdb-invalidate-threads): Remove unused argument.
173 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
175 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
176 to looking-back to avoid ridiculous slow down in large files (bug#4511).
178 2009-09-23 Glenn Morris <rgm@gnu.org>
180 * mail/rmail.el (rmail-reply): Don't try to add a References header when
181 replying to mail without References or Message-Id. (Bug#4525)
183 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
185 * term/ns-win.el (ns-reg-to-script): New variable.
187 2009-09-23 Daiki Ueno <ueno@unixuser.org>
189 * epg.el (epg-wait-for-status): Preserve existing 'error results.
191 2009-09-22 Sam Steingold <sds@gnu.org>
193 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
194 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
195 to 1 because hg returns status 1 when nothing is found.
196 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
198 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
200 * textmodes/fill.el: Convert to utf-8 encoding.
201 (fill-french-nobreak-p): Remove redundant » and « inherited from our
204 * add-log.el (change-log-fill-forward-paragraph): New function.
205 (change-log-mode): Use it so fill-region DTRT.
206 Set fill-indent-according-to-mode here rather than in
207 change-log-fill-paragraph.
208 (change-log-fill-paragraph): Remove.
210 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
212 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
213 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
215 2009-09-22 Glenn Morris <rgm@gnu.org>
217 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
218 the scroll-bar scroll the calendar window rather than the buffer.
220 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
221 commands that move point (as opposed to scrolling).
223 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
225 * emacs-lisp/elint.el (elint): New custom group.
226 (elint-log-buffer): Make it a defcustom.
227 (elint-scan-preloaded, elint-ignored-warnings)
228 (elint-directory-skip-re): New options.
229 (elint-builtin-variables): Doc fix.
230 (elint-preloaded-env): New variable.
231 (elint-unknown-builtin-args): Add an entry for encode-time.
232 (elint-extra-errors): Make it a variable rather than a constant.
233 (elint-preloaded-skip-re): New constant.
234 (elint-directory): Skip files matching elint-directory-skip-re.
235 (elint-features): New variable, local to linted buffers.
236 (elint-update-env): Initialize elint-features. Possibly add
237 elint-preloaded-env to the buffer's environment.
238 (elint-get-top-forms): Bind elint-current-pos, for log messages.
240 (elint-init-form): New function, extracted from elint-init-env.
241 Make non-list forms a warning rather than an error.
242 Add the mode-map for define-derived-mode. Handle define-minor-mode,
243 easy-menu-define, put that adds an error-condition, and provide.
244 When requiring cl, also require cl-macs. Really require cl, to handle
245 some cl macros. Store required libraries in the list elint-features,
246 so as not to re-load them. Treat cc-require like require.
247 (elint-init-env): Call elint-init-form to do the work.
248 Handle eval-and-compile and such like.
249 (elint-add-required-env): Do not clear messages.
250 (elint-special-forms): Add handlers for function, defalias, if, when,
252 (elint-form): Add optional argument to ignore elint-special-forms,
253 useful to prevent recursive calls from handlers. Doc fix.
254 Respect elint-ignored-warnings.
255 (elint-form): Respect elint-ignored-warnings.
256 (elint-bound-variable, elint-bound-function): New variables.
257 (elint-unbound-variable): Respect elint-bound-variable.
258 (elint-get-args): Respect elint-bound-function.
259 (elint-check-cond-form): Add some simple handling for (f)boundp and
261 (elint-check-defalias-form): New handler.
262 (elint-check-let-form): Make an empty let a warning rather than an
264 (elint-check-setq-form): Make an empty setq a warning rather than an
265 error. Respect elint-ignored-warnings.
266 (elint-check-defvar-form): Accept null doc-strings.
267 (elint-check-conditional-form): New handler. Does some simple-minded
268 checking of featurep and (f)boundp tests.
269 (elint-put-function-args): New function.
270 (elint-initialize): Use elint-scan-doc-file rather than
271 elint-find-builtin-variables. Use elint-put-function-args.
272 Possibly scan preloaded-file-list.
273 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
274 extend to handle functions as well.
276 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
278 * linum.el (linum-delete-overlays, linum-update-window):
279 Do not modify the right margin. (Bug#3971)
281 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
283 * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
284 nxml-mode instead of xml-mode.
286 2009-09-21 Kevin Ryde <user42@zip.com.au>
288 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
290 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
292 * net/dig.el (dig-mode): Use define-derived-mode.
294 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
296 * vc-dispatcher.el (vc-do-command): Return the process object in
297 the asynchronous case. Use when instead of if. Do not run
298 vc-exec-after to display a message if not enabled.
300 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
301 properties to the stash strings.
302 (vc-git-stash-list): Return a list of strings.
303 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
304 (vc-git-stash-show-at-point): New functions.
305 (vc-git-stash-map): New keymap.
307 * register.el (ctl-x-r-map): Define the keys here instead of
310 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
312 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
313 list, to workaround performance problem (bug#4485).
315 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
317 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
319 2009-09-20 Daiki Ueno <ueno@unixuser.org>
321 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
322 Document that this option is not recommended to use.
324 2009-09-19 Glenn Morris <rgm@gnu.org>
326 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
329 * calc/calc-alg.el (var):
330 * calc/calcalg2.el (var): Define for compiler.
332 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
334 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
337 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
339 * time-stamp.el (time-stamp-month-dd-yyyy)
340 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
341 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
342 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
343 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
344 Remove functions that have been obsolete since 1995 (Bug#4436).
346 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
347 indent buffer only if called interactively (Bug#4452).
349 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
350 Eli Zaretskii <eliz@gnu.org>
352 This fixes bug#4197 (merged to bug#865, though not identical).
353 * server.el (server-auth-dir): Add docstring note about FAT32.
354 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
355 but warn against using them.
357 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
359 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
360 older GDB where there is no has_more field.
362 2009-09-19 Glenn Morris <rgm@gnu.org>
364 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
366 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
368 * files.el (auto-mode-alist): Change default for XML files to nXML
371 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
373 * server.el (server-ensure-safe-dir): Pass 'integer
374 to `file-attributes', as suggested.
376 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
378 * dired-aux.el (dired-query-alist): Remove spurious backslash.
379 (dired-query): Use read-key.
381 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
383 * cus-start.el (ns-use-qd-smoothing): Remove.
385 2009-09-18 Glenn Morris <rgm@gnu.org>
387 * allout.el (top-level): Remove unnecessary progn.
389 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
391 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
392 definition of abbrev table.
394 * speedbar.el (speedbar-track-mouse):
395 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
396 * net/eudc.el (eudc-expand-inline):
397 * net/newst-backend.el (newsticker--cache-read-feed):
398 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
399 condition-case handlers.
401 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
403 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
404 (gdb-var-list): Add an element for has_more field.
405 (gdb-non-stop-handler): Enable pretty printing for STL containers.
406 (gdb-var-create-handler, gdb-var-list-children-handler-1)
407 (gdb-var-update-handler-1): Parse output of dynamic variable
408 objects (STL containers).
409 (gdb-var-delete-1): Pass var1 as an explicit second argument.
410 (gdb-get-field): Delete alias. Use bindat-get-field directly.
412 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
414 (gud-speedbar-buttons): Make node expandable if expression "has more"
417 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
419 * startup.el (emacs-quick-startup): Remove variable and all uses.
420 (command-line): Set `inhibit-x-resources' instead.
421 (command-line-1): Use `inhibit-x-resources' instead.
423 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
425 * subr.el: Fix last change to avoid using the `unless' macro,
426 which breaks bootstrapping.
428 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
430 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
431 extended definitions, in case we reload subr.el after having
433 (eval-next-after-load): Mark as obsolete.
435 2009-09-17 Juri Linkov <juri@jurta.org>
437 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
438 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
439 (menu-bar-showhide-menu, menu-bar-tools-menu)
440 (menu-bar-describe-menu, menu-bar-help-menu)
441 (minibuffer-local-completion-map, minibuffer-local-map):
444 2009-09-17 Glenn Morris <rgm@gnu.org>
446 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
447 arguments, whether or not it has a handler.
449 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
451 * simple.el (hard-newline): Give it a doc-string.
453 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
454 (lisp-mode-syntax-table): Give them doc-strings.
456 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
458 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
459 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
460 (menu-bar-options-menu, menu-bar-showhide-menu)
461 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
462 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
463 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
464 (menu-bar-options-menu, menu-bar-tools-menu)
465 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
466 (menu-bar-help-menu):
467 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
470 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
471 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
472 calls for the menu names and :help.
474 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
476 * mouse.el (minor-mode-menu-from-indicator): Pay attention
477 to :minor-mode-function (bug#4455).
479 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
481 * startup.el (command-line): Initialize the window-system after
482 processing the command-line.
484 * textmodes/page.el (what-page): Make sure we don't inf-loop if
485 page-delimiter matches the empty string.
487 2009-09-16 Glenn Morris <rgm@gnu.org>
489 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
490 byte-compile-not-obsolete-var. It's a list now.
491 (byte-compile-not-obsolete-funcs): New variable.
492 (byte-compile-warn-obsolete): Don't warn about functions if they are in
493 byte-compile-not-obsolete-funcs.
494 (byte-compile-variable-ref, byte-compile-defvar): Update for
495 byte-compile-not-obsolete-vars name-change and list nature.
496 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
497 and variables behind (f)boundp tests.
498 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
500 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
502 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
504 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
506 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
507 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
510 2009-09-15 Stephen Eglen <stephen@gnu.org>
512 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
513 the virtual-buffers, use the name of the buffer specified by
514 find-file-noselect, as the match may be a symlink. (This was a
515 problem if the target and the symlink had different names.)
517 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
519 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
521 * desktop.el (desktop-path): Check user-emacs-directory.
523 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
525 * loadup.el: Use after-load-functions to GC after loading each file.
526 Remove the explicit GC calls that used to be sprinkled around.
528 * subr.el (after-load-functions): New hook.
529 (do-after-load-evaluation): Run it. Use string-match-p to detect
530 `obsolete' packages, rather than painfully extracting the relevant
533 2009-09-15 Glenn Morris <rgm@gnu.org>
535 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
538 * dired.el (dired-mode-map): Add menu entry for async shell command.
540 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
541 variables, also consider the .elc files, since the .el files are
542 normally gzipped (subsequent code locates the .el.gz from the .elc).
544 * calc/calc-prog.el (arglist): Define for compiler.
546 * calendar/diary-lib.el (diary-display-function): Change the default to
548 (body): Define for compiler.
550 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
551 (byte-compile-file-form, byte-compile-lambda)
552 (byte-compile-top-level-body, byte-compile-form)
553 (byte-compile-variable-ref, byte-compile-setq)
554 (byte-compile-setq-default, byte-compile-body)
555 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
556 (batch-byte-compile): Give some more local variables with common names
557 a "bytecomp-" prefix to avoid masking warnings about free variables.
559 * startup.el (command-line-1): Give local variables with common names a
560 distinguishing prefix, so as not to hide free variable warnings during
563 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
564 clever and add a suffix to make a unique name, just let the user decide
565 whether or not to overwrite it. If the input is a directory, write the
566 default filename to that directory. (Bug#4388)
567 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
568 is a filename-as-a-directory.
570 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
572 * textmodes/page.el (what-page): Don't move to beginning of line.
573 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
575 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
577 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
579 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
581 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
582 * help.el (help-for-help-internal): Add purecopy calls for text.
584 * vc.el (top): print-log method now takes an optional SHORTLOG
585 argument. Add a new method: root.
586 (vc-root-diff, vc-print-root-log): New functions.
587 (vc-log-short-style): New variable.
588 (vc-print-log-internal): Add support for showing short logs.
590 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
591 vc-print-root-log and vc-print-root-diff.
593 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
594 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
595 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
598 * vc-cvs.el (vc-cvs-print-log):
599 * vc-mtn.el (vc-mtn-print-log):
600 * vc-rcs.el (vc-rcs-print-log):
601 * vc-sccs.el (vc-sccs-print-log):
602 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
603 that is ignored for now.
605 * vc-mtn.el (vc-mtn-annotate-command):
606 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
608 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
610 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
611 to function-key-map, and give them ascii-character property.
612 * term/x-win.el (x-alternatives-map):
613 * term/ns-win.el (ns-alternatives-map):
614 * term/internal.el (msdos-key-remapping-map):
615 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
617 2009-09-14 Glenn Morris <rgm@gnu.org>
619 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
620 temp-buffers (2009-09-12).
622 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
624 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
625 the new read-key function.
627 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
629 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
630 is defined (Bug#4405).
632 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
634 * recentf.el (recentf-cleanup): Use a hash table to find
635 duplicates (Bug#4407).
637 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
639 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
640 kp-0 to ascii equivalents (Bug#4325).
642 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
644 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
647 * eshell/em-dirs.el (eshell-complete-user-reference):
648 Declare pcomplete functions and variables to avoid compiler warnings.
650 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
652 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
653 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
654 * eshell/em-alias.el (eshell-aliases-file):
655 * eshell/em-hist.el (eshell-history-file-name):
656 Use expand-file-name instead of concat to make file names (Bug#4308).
658 2009-09-13 Glenn Morris <rgm@gnu.org>
660 * ediff-merg.el (ediff-do-merge):
661 * filesets.el (filesets-run-cmd):
662 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
663 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
664 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
665 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
666 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
667 Replace empty `let's with `progn'.
669 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
671 * mail/sendmail.el (send-mail-function):
672 * tooltip.el (tooltip-mode):
673 * simple.el (transient-mark-mode):
674 * rfn-eshadow.el (file-name-shadow-mode):
675 * frame.el (blink-cursor-mode):
676 * font-core.el (global-font-lock-mode):
677 * files.el (temporary-file-directory)
678 (small-temporary-file-directory, auto-save-file-name-transforms):
679 * epa-hook.el (auto-encryption-mode):
680 * composite.el (global-auto-composition-mode):
681 Use custom-initialize-delay.
682 * startup.el (command-line): Don't explicitly call
683 custom-reevaluate-setting for all the above vars.
684 * custom.el (custom-initialize-safe-set)
685 (custom-initialize-safe-default): Delete.
687 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
689 * term/x-win.el (x-initialize-window-system):
690 * term/w32-win.el (w32-initialize-window-system):
691 * term/ns-win.el (ns-initialize-window-system): Don't call
692 mouse-wheel-mode since it's enabled globally by default already.
694 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
695 actually define the variable, but only silences the byte-compiler.
696 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
697 before looking it up.
698 (mouse-wheel-scroll-amount): Also reset the bindings if this value
701 2009-09-12 Glenn Morris <rgm@gnu.org>
703 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
705 (elint-add-required-env): Don't beep on error.
706 (elint-forms): In case of error, return ENV unchanged.
707 (elint-init-env): Skip non-list forms.
708 (elint-log): Handle unknown file positions.
710 2009-09-12 Daiki Ueno <ueno@unixuser.org>
712 * epg.el (epg-make-context): Add autoload cookie.
713 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
714 (epg-decrypt-string, epg-start-verify, epg-verify-file)
715 (epg-verify-string, epg-start-sign, epg-sign-file)
716 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
717 (epg-encrypt-string, epg-start-export-keys)
718 (epg-export-keys-to-file, epg-export-keys-to-string)
719 (epg-start-import-keys, epg-import-keys-from-file)
720 (epg-import-keys-from-string, epg-start-receive-keys)
721 (epg-receive-keys, epg-import-keys-from-server)
722 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
723 (epg-sign-keys, epg-start-generate-key)
724 (epg-generate-key-from-file, epg-generate-key-from-string):
725 Remove autoload cookie.
727 2009-09-12 Eli Zaretskii <eliz@gnu.org>
729 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
730 reevaluation of trash-directory.
732 * mwheel.el: Fix last change.
733 (mouse-wheel-mode): New defvar.
734 (mouse-wheel-mode): Remove autoload cookie.
736 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
738 * mwheel.el (mwheel-installed-bindings): New var.
739 (mouse-wheel-mode): Use it, so as to make sure we really remove all
740 the bindings we set last time. Use custom-initialize-delay.
741 * loadup.el: Load mwheel after term/*-win.el.
742 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
743 and mouse-wheel-up-event now that their first evaluation is done
744 sufficiently late to be correct.
746 * startup.el (tutorial-directory): Make it a defcustom.
747 Use custom-initialize-delay rather than eval-at-startup to set it.
748 * image.el (image-load-path): Make it a defcustom.
749 Use custom-initialize-delay rather than eval-at-startup to set it.
750 * subr.el (eval-at-startup): Remove.
751 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
753 * subr.el (do-after-load-evaluation): Warn the user after loading an
756 2009-09-12 Glenn Morris <rgm@gnu.org>
758 * proced.el (proced-mark-alt): Remove alias.
759 (proced-mode-map): Remove proced-mark-alt.
761 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
762 Elint file and directory. Remove initialization entry.
764 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
766 (elint-current-buffer): Set mode-line-process.
767 (elint-init-env): Handle define-derived-mode.
768 Fix declare-function with unspecified arglist. Guard against odd
769 defalias statements (eg iso-insert's 8859-1-map).
770 (elint-add-required-env): Use a temp buffer.
771 (elint-form): Just print the function/macro name, not the whole form.
772 Return env unchanged if we fail to parse a macro.
773 (elint-forms): Guard against parse errors.
774 (elint-output): New function, to handle batch mode.
775 (elint-log-message): Add optional argument. Use elint-output.
776 (elint-set-mode-line): New function.
778 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
780 * emacs-lisp/elp.el (elp-not-profilable): Add more
781 functions (Bug#4233).
783 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
785 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
786 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
788 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
790 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
791 (gdb-var-list-children): Use json parsing.
793 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
795 * progmodes/js.el (js--proper-indentation): Handle the case where
796 char-before is null. Reported by Deniz Dogan.
798 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
800 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
802 2009-09-11 Daiki Ueno <ueno@unixuser.org>
804 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
805 (epg-digest-algorithm-alist): Add SHA224.
806 (epg-context-set-passphrase-callback)
807 (epg-context-set-progress-callback): Add description about
810 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
812 * custom.el (custom-delayed-init-variables): New var.
813 (custom-initialize-delay): New function.
814 * startup.el (command-line): "Re"evaluate all vars in
815 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
817 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
818 to avoid creating a ~/.emacs.d at build-time (bug#4347).
820 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
822 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
824 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
825 (gdb-var-update-handler): Use json parsing.
827 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
829 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
830 decode annotated text, regardless of language environment. (Bug#2741)
832 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
834 * Makefile.in (autoloads): Make rmail.el writable as well.
836 2009-09-11 Glenn Morris <rgm@gnu.org>
838 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
840 * dired.el: Regenerate with extracted autoloads.
841 * Makefile.in (autoloads): Make dired.el writable.
843 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
844 * ibuffer.el: Regenerate with extracted autoloads.
845 * Makefile.in (autoloads): Make ibuffer.el writable.
847 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
848 * version.el (emacs-copyright, emacs-major-version)
849 (emacs-minor-version): Reformat doc-strings for make-docfile.
851 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
852 functions and variables, since they must be stuff specific to some other
854 (apropos-print): Make mouse-click message less specific about button.
856 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
857 that records where a macro was defined.
858 * help-fns.el (describe-function-1): Mention if a function has a
860 * help-mode.el (help-function-cmacro): New button.
862 * locate.el (top-level): Always require dired.
863 (locate-mode-map): Initialize inside the defvar.
865 * net/ange-ftp.el (dired-compress-file): Declare.
866 (ange-ftp-dired-compress-file): Add doc string.
868 * term/ns-win.el (x-display-name, x-setup-function-keys):
869 Unify doc-strings with X versions.
871 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
873 * emulation/crisp.el (crisp-mode-map): Move initialization
875 (crisp-mode): Use define-minor-mode.
877 * progmodes/xscheme.el (xscheme-evaluation-commands):
878 Put a :advertised-binding property rather than using
879 advertised-xscheme-send-previous-expression.
880 (advertised-xscheme-send-previous-expression): Declare obsolete.
881 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
883 (crisp-mode): Add corresponding bindings to
884 undo's :advertised-binding instead.
885 * dired.el (dired-mode-map): Put a :advertised-binding property rather
886 than using dired-advertised-find-file.
887 (dired-advertised-find-file):
888 * simple.el (advertised-undo):
889 * wid-edit.el (advertised-widget-backward): Declare obsolete.
890 (widget-keymap): Put a :advertised-binding property rather
891 than using advertised-widget-backward.
892 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
893 than using advertised-undo.
894 * tutorial.el (tutorial--default-keys): Adjust accordingly.
896 2009-09-10 Simon South <ssouth@slowcomputing.org>
898 * progmodes/delphi.el (delphi-tab): Indent region when Transient
899 Mark mode is enabled and region is active; otherwise indent or
901 (delphi-mode): Update description of TAB-key binding.
903 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
905 * subr.el (define-key-rebound-commands): Mark obsolete.
906 * startup.el (precompute-menubar-bindings): Remove.
907 (normal-top-level): Remove obsolete code that tried to precompute
909 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
910 define-key-rebound-commands and precompute-menubar-bindings.
912 2009-09-10 Glenn Morris <rgm@gnu.org>
914 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
916 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
917 (byte-compile-file-form-autoload): Don't warn about unknown functions
918 where the autoload statement comes after the use.
919 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
920 that any handlers inside the body (eg require) are in turn respected.
922 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
925 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
926 and syntax and abbrev tables basic docs, if they don't have any.
928 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
930 * international/mule-cmds.el (top-level): Require cl when compiling.
931 (view-hello-file): Use default-value rather than
932 default-enable-multibyte-characters.
934 * progmodes/fortran.el: Move all safe and risky properties into the
937 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
938 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
940 Put autoloads in rmail.el rather than loaddefs.el.
941 * mail/rmail.el: Regenerate with extracted autoloads.
943 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
944 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
946 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
948 Reported in thread for Bug#4375.
949 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
950 "-data-evaluate-expression" instead of print.
951 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
952 (gdb-tooltip-print): Parse output from above MI command.
953 (gdb): Revert 2009-08-11 change. User should detach inferior
956 Remove the word "separate" from IO functions as inferior
957 output is now never displayed in the GUD buffer.
959 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
961 * startup.el (command-line-normalize-file-name): On Windows and
962 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
964 2009-09-10 Juri Linkov <juri@jurta.org>
966 * isearch.el (isearch-text-char-description): Propertize escape
967 character sequences with the `escape-glyph' face. (Bug#4344)
969 * simple.el (shell-command): Set asynchronous process filter to
970 `comint-output-filter'. (Bug#4343)
972 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
973 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
974 the list. Move "asm" to the bottom.
975 (grep-find-ignored-directories): Add `choice' with nil value
976 to empty the list easily.
977 (grep-find-ignored-files): New option.
978 (grep-files-history): Set to nil by default instead of '("ch" "el").
979 (grep-compute-defaults): Add "<X>" to `grep-template'.
980 (grep-read-files): Bind new local variables `default-alias' and
981 `default-extension'. Use a list of default values for the file prompt.
982 (lgrep): Add `--exclude=' command line options composed from
983 `grep-find-ignored-files'.
984 (rgrep): Add `-name' command line options composed from
985 `grep-find-ignored-files'. (Bug#4301)
987 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
989 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
992 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
994 * calendar/time-date.el (autoload):
995 Expand define-obsolete-function-alias into defalias and make-obsolete
996 for old Emacsen that Gnus supports.
997 (with-no-warnings): Define it for old Emacsen.
998 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
1000 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
1001 float-time is available; suppress compile warning for time-to-seconds.
1003 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
1005 * net/imap.el (imap-message-map): Docstring fix.
1007 2009-09-09 Glenn Morris <rgm@gnu.org>
1009 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
1010 line numbers too. (Bug#4374)
1012 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
1014 * smerge-mode.el (smerge-remove-props, smerge-refine):
1015 Use with-silent-modifications (bug#4342).
1017 * subr.el (with-silent-modifications): New macro.
1019 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
1021 * files.el (top-level): Require `cl' when compiling.
1023 2009-09-07 Glenn Morris <rgm@gnu.org>
1025 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
1027 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
1028 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
1030 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
1032 * vc-git.el (vc-git-annotate-command): Use separator to parse
1033 arguments correctly.
1035 2009-09-06 Eli Zaretskii <eliz@gnu.org>
1037 * proced.el (proced-mode): Doc fix.
1039 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
1041 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
1043 (tramp-do-file-attributes-with-ls): Check for file existence at
1045 (tramp-do-file-attributes-with-stat): Likewise.
1046 (tramp-convert-file-attributes): Return nil when attr is nil.
1048 2009-09-05 Glenn Morris <rgm@gnu.org>
1050 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
1051 properties to this button.
1052 (diary-fancy-display): Don't extend the button to the final newline.
1053 (diary-fancy-display-mode): Continue to define "q" as a local key.
1055 * calendar/cal-china.el (holiday-chinese): Make it slightly more
1058 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
1060 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
1061 (byte-compile-dest-file-function): New option.
1062 (byte-compile-dest-file): Doc fix.
1063 Obey byte-compile-dest-file-function.
1064 (byte-compile-cl-file-p): New function.
1065 (byte-compile-eval): Only suppress noruntime warnings about cl functions
1066 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
1067 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
1068 than for file being previously loaded.
1069 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
1070 (byte-compile-file-form-require): Handle the case where requiring a file
1071 indirectly causes CL to be loaded.
1073 2009-09-05 Karl Fogel <kfogel@red-bean.com>
1075 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
1076 before killing the old buffer, since by the time `kill-buffer' is
1077 run so many buffer variables have been set to nil that it may not
1078 behave as expected. (Bug#4061)
1080 2009-09-05 Karl Fogel <kfogel@red-bean.com>
1082 * files.el (find-alternate-file): If the old buffer is modified
1083 and visiting a file, behave similarly to `kill-buffer' when
1084 killing it, thus reverting to the pre-1.878 behavior; see
1085 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
1086 for discussion. Also, consult `buffer-file-name' as a variable
1087 not as a function, for consistency with the rest of the code.
1089 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
1091 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
1092 also when adding a new directory.
1094 * net/tramp-compat.el (tramp-compat-line-beginning-position): New
1097 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1099 * files.el (locate-file-completion-table): Make it provide boundary
1100 information, so partial-completion works better.
1102 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
1104 * mail/footnote.el (Footnote-text-under-cursor):
1105 Check footnote-text-marker-alist before using it (bug#4324).
1107 2009-09-04 Glenn Morris <rgm@gnu.org>
1109 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
1110 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
1111 * play/solitaire.el, play/tetris.el:
1112 Remove leading * from defcustom and defface docs.
1114 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
1116 (diary-fancy-overriding-map): New variable.
1117 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
1120 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
1123 2009-09-03 Glenn Morris <rgm@gnu.org>
1125 * arc-mode.el (archive-mode):
1126 * dos-fns.el (set-default-process-coding-system):
1127 * man.el (Man-getpage-in-background):
1128 * menu-bar.el (menu-bar-describe-menu):
1129 * server.el (server-process-filter):
1130 * startup.el (command-line):
1131 * tar-mode.el (tar-header-block-tokenize, tar-extract):
1132 * w32-fns.el (set-default-process-coding-system):
1133 * x-dnd.el (x-dnd-handle-file-name):
1134 * international/mule-cmds.el (mule-menu-keymap)
1135 (set-default-coding-systems, language-info-alist, set-language-info)
1136 (set-language-environment, standard-display-european-internal)
1137 (set-locale-environment):
1138 * international/mule-diag.el (mule-diag):
1139 * mail/emacsbug.el (report-emacs-bug):
1140 * mail/rmail.el (rmail-mode):
1141 * mail/sendmail.el (mail-setup):
1142 Use default-value rather than default-enable-multibyte-characters.
1144 * progmodes/f90.el: Move all safe properties into the defcustoms.
1145 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
1147 * calendar/appt.el (appt-check):
1148 * calendar/diary-lib.el (diary-set-header, diary-live-p)
1149 (diary-check-diary-file, diary-list-entries)
1150 (diary-include-other-diary-files, diary-simple-display)
1151 (diary-fancy-display, diary-print-entries)
1152 (diary-mark-included-diary-files, diary-make-entry):
1153 Don't call substitute-in-file-name on diary-file.
1155 2009-09-03 Eduard Wiebe <usenet@pusto.de>
1156 Stefan Monnier <monnier@iro.umontreal.ca>
1158 * mail/footnote.el (footnote-prefix): Make it a defcustom.
1159 (footnote-mode-map): Move initialization into the declaration.
1160 (footnote-minor-mode-map): Define it rather than changing global-map.
1161 (footnote-mode): Use define-minor-mode.
1163 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
1165 * net/tramp.el (tramp-handle-file-attributes-with-ls)
1166 (tramp-do-file-attributes-with-perl)
1167 (tramp-do-file-attributes-with-stat): Rename from
1168 `tramp-handle-file-attributes-with-*'.
1169 (tramp-handle-file-attributes): Use them.
1170 (tramp-do-directory-files-and-attributes-with-perl)
1171 (tramp-do-directory-files-and-attributes-with-stat): Rename from
1172 `tramp-handle-directory-files-and-attributes-with-*'.
1173 (tramp-handle-directory-files-and-attributes): Use them.
1174 (tramp-method-out-of-band-p): Additional parameter SIZE.
1175 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
1176 (tramp-handle-write-region): Use it.
1177 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
1178 (tramp-handle-vc-registered): Check, whether the first run did
1179 return files to be tested.
1180 (tramp-advice-make-auto-save-file-name): Do not call directly
1181 `tramp-handle-make-auto-save-file-name', because this would bypass
1182 the locking mechanism.
1184 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
1185 (file-remote-p, process-file, start-file-process, set-file-times)
1186 (tramp-compat-file-attributes): Compatibility functions shall not
1187 call directly `tramp-handle-*', because this would bypass the
1189 (tramp-compat-number-sequence): New defun.
1191 2009-09-02 Glenn Morris <rgm@gnu.org>
1193 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
1194 alias for float-time.
1195 (time-to-number-of-days): In Emacs, use float-time.
1196 * net/newst-backend.el (time-add): Suppress warnings from compat
1198 * time.el (emacs-uptime, emacs-init-time):
1199 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
1200 Use float-time rather than time-to-seconds.
1202 * minibuffer.el (completion-initials-expand): Fix typo.
1204 * faces.el (modeline, modeline-inactive, modeline-highlight)
1205 (modeline-buffer-id):
1206 * info.el (info-menu-5): Mark these face aliases as obsolete.
1208 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
1210 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
1212 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
1213 no "--thread" option.
1214 (gdb-stopped): Don't print "Switched to thread" message when it is
1217 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
1219 * minibuffer.el (completion-try-completion)
1220 (completion-all-completions): Remove ill-defined (and
1221 mistakenly installed and luckily never used nor documented)
1222 `completion-styles' property.
1223 (completion-initials-expand, completion-initials-all-completions)
1224 (completion-initials-try-completion): New functions.
1225 (completion-styles-alist): Add doc to each entry.
1226 Add new `initials' entry.
1228 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
1230 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
1231 MI command -var-evaluate-expression.
1232 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
1233 and tweak for case of string child.
1234 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
1236 2009-09-01 Glenn Morris <rgm@gnu.org>
1238 * add-log.el (change-log-date-face, change-log-name-face)
1239 (change-log-email-face, change-log-file-face, change-log-list-face)
1240 (change-log-conditionals-face, change-log-function-face)
1241 (change-log-acknowledgement-face):
1242 * cus-edit.el (custom-invalid-face, custom-rogue-face)
1243 (custom-modified-face, custom-set-face, custom-changed-face)
1244 (custom-saved-face, custom-button-face, custom-button-pressed-face)
1245 (custom-documentation-face, custom-state-face, custom-comment-face)
1246 (custom-comment-tag-face, custom-variable-tag-face)
1247 (custom-variable-button-face, custom-face-tag-face)
1248 (custom-group-tag-face-1, custom-group-tag-face):
1249 * diff-mode.el (diff-header-face, diff-file-header-face)
1250 (diff-index-face, diff-hunk-header-face, diff-removed-face)
1251 (diff-added-face, diff-changed-face, diff-function-face)
1252 (diff-context-face, diff-nonexistent-face):
1253 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
1254 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
1255 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
1256 (Info-title-4-face):
1257 * isearch.el (isearch-lazy-highlight-face):
1258 * log-view.el (log-view-file-face, log-view-message-face):
1259 * paren.el (show-paren-match-face, show-paren-mismatch-face):
1260 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
1261 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
1263 * smerge-mode.el (smerge-mine-face, smerge-other-face)
1264 (smerge-base-face, smerge-markers-face):
1265 * wid-edit.el (widget-documentation-face, widget-button-face)
1266 (widget-field-face, widget-single-line-field-face)
1267 (widget-inactive-face, widget-button-pressed-face):
1268 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
1269 (woman-addition-face):
1270 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
1271 (eshell-ls-executable-face, eshell-ls-readonly-face)
1272 (eshell-ls-unreadable-face, eshell-ls-special-face)
1273 (eshell-ls-missing-face, eshell-ls-archive-face)
1274 (eshell-ls-backup-face, eshell-ls-product-face)
1275 (eshell-ls-clutter-face):
1276 * eshell/em-prompt.el (eshell-prompt-face):
1277 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
1278 * obsolete/old-whitespace.el (whitespace-highlight-face):
1279 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
1280 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
1281 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
1282 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
1283 (antlr-font-lock-literal-face):
1284 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
1285 (ebrowse-root-class-face, ebrowse-file-name-face)
1286 (ebrowse-default-face, ebrowse-member-attribute-face)
1287 (ebrowse-member-class-face, ebrowse-progress-face):
1288 * progmodes/make-mode.el (makefile-space-face):
1289 * progmodes/sh-script.el (sh-heredoc-face):
1290 * textmodes/flyspell.el (flyspell-incorrect-face)
1291 (flyspell-duplicate-face):
1292 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
1293 * textmodes/texinfo.el (texinfo-heading-face):
1294 Mark face aliases with "-face" suffix as obsolete.
1296 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
1299 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
1300 (eudc-bob-sound-menu): Use defvar rather than defconst, since
1301 easy-menu-define wants to modify these.
1303 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
1305 * net/browse-url.el (browse-url-file-url):
1306 * term/internal.el (dos-codepage-setup):
1307 Use default-value rather than default-enable-multibyte-characters.
1309 * progmodes/etags.el (etags-goto-tag-location):
1310 * progmodes/flymake.el (flymake-highlight-line)
1311 (flymake-goto-file-and-line, flymake-goto-line):
1312 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
1313 (gdb-goto-breakpoint):
1314 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
1315 * progmodes/python.el (python-find-function)
1316 (python-pdbtrack-track-stack-file):
1317 * progmodes/verilog-mode.el (verilog-surelint-off):
1318 * term/ns-win.el (ns-open-file-select-line):
1319 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
1320 Use forward-line rather than goto-line.
1322 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
1323 * textmodes/reftex-index.el (reftex-display-index):
1324 * textmodes/reftex-ref.el (reftex-offer-label-menu):
1325 * textmodes/reftex-toc.el (reftex-toc):
1326 Remove unnecessary bindings of default-major-mode (all are followed by
1327 major-mode check and possible mode switch).
1329 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
1331 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1332 Handle watchpoints (bug#4282).
1333 (def-gdb-thread-buffer-command): Enable thread to be selected by
1334 clicking without selecting threads buffer first.
1335 (gdb-current-context-command): Use selected frame so that "up",
1336 "down" etc work in the GUD buffer.
1337 (gdb-update): Find selected frame before rendering stack buffer.
1338 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
1340 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
1342 * progmodes/sym-comp.el (displayed-completions): Remove.
1343 (symbol-complete): Use minibuffer-complete.
1345 2009-08-31 Glenn Morris <rgm@gnu.org>
1347 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
1349 * apropos.el (apropos-symbols-internal):
1350 Handle (obsolete) face aliases.
1352 * faces.el (describe-face): Adjust the output format to be more like
1353 describe-variable, and to mention (obsolete) face aliases.
1354 Adjust the whitespace so that help-setup-xref works.
1356 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
1357 * calendar/diary-lib.el (diary-button-face):
1358 Mark these face aliases as obsolete.
1360 * calendar/calendar.el (calendar-today): Doc fix.
1362 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
1364 * progmodes/gdb-mi.el (gdb-control-all-threads)
1365 (gdb-control-current-thread): Force tool bar update.
1366 (gdb-non-stop-handler): New function.
1367 (gdb-init-1): Use it to test if non-stop mode is supported.
1368 Remove unused gdbmi buffer type.
1370 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1372 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
1373 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
1375 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
1377 * comint.el (comint-exec-1): Check command is non-null first.
1378 Part of gdb-mi.el change (2009-08-28).
1380 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
1382 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
1384 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
1386 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
1387 instead of `dolist' to avoid a recursive require when bootstrapping.
1389 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
1391 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
1393 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
1395 * net/imap.el (imap-send-command): Simplify.
1396 (imap-wait-for-tag): point-max -> buffer-size.
1398 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
1400 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
1401 with constant argument.
1403 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
1405 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
1407 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
1408 Change default, since most of our files don't have a history.
1409 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
1412 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1415 * calc/calc.el: Improve commenting convention.
1416 (calc-digit-map, toplevel): Simplify.
1418 * comint.el (comint-insert-input): Be careful to only set point if we
1419 don't delegate to some other command.
1421 * proced.el (proced-signal-list): Make it an alist.
1422 (proced-grammar-alist): Capitalize names.
1423 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
1424 Disable undo manually and make it read-only.
1425 Use completion-annotate-function.
1427 * minibuffer.el (minibuffer-message): If the current buffer is not
1428 a minibuffer, insert the message in the echo area rather than at the
1430 (completion-annotate-function): New variable.
1431 (minibuffer-completion-help): Use it.
1432 (completion--embedded-envvar-table): Environment vars are
1433 always case-sensitive.
1435 2009-08-30 Glenn Morris <rgm@gnu.org>
1437 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
1438 from fortran-current-defun.
1439 (fortran-beginning-of-subprogram): Be more precise about finding the
1440 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
1441 (fortran-end-of-subprogram): Simplify.
1442 (fortran-current-defun): Use fortran-start-prog-re.
1444 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
1446 * subr.el (do-after-load-evaluation): Simplify.
1448 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
1450 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
1452 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
1453 (vc-rcs-print-log): Use it.
1455 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
1457 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1459 * paths.el (abbrev-file-name): Move to abbrev.el.
1460 * abbrev.el (abbrev-file-name): Move from paths.el.
1461 Obey user-emacs-directory.
1462 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
1463 user-emacs-directory.
1464 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
1465 abbrev-file-name and calc-settings-file any more.
1466 * startup.el (command-line): Recompute abbrev-file-name and
1467 abbreviated-home-dir.
1468 (normal-no-mouse-startup-screen): Improve the generic code and get rid
1469 of the special code for when C-h bindings haven't been changed.
1470 (display-startup-echo-area-message): Use with-current-buffer.
1471 (command-line-1): Use a list of strings, rather than a list of lists
1472 of strings for longopts.
1474 * files.el (get-free-disk-space): Use / for default-directory.
1476 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
1477 Use with-current-buffer.
1479 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
1480 Recognize immutable variables like most-positive-fixnum.
1481 (byte-compile-setq-default): Check and warn if trying to assign
1482 to an immutable variable, or a non-variable.
1484 * progmodes/cc-vars.el (c-comment-continuation-stars):
1485 * progmodes/cc-engine.el (c-looking-at-bos):
1486 * progmodes/cc-cmds.el (c-toggle-auto-state)
1487 (c-forward-into-nomenclature, c-backward-into-nomenclature)
1488 (c-comment-line-break-function): Add version of obsolescence.
1490 2009-08-28 Juri Linkov <juri@jurta.org>
1492 * files.el (magic-fallback-mode-alist): Add ZIP magic number
1493 associated with `archive-mode'.
1495 * image.el (image-type-header-regexps): Use only JPEG magic number
1496 to determine JPEG images, and don't use `image-jpeg-p' because
1497 Emacs can display non-JFIF non-Exif JPEG images.
1499 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
1501 * arc-mode.el (archive-mode):
1502 * emacs-lisp/re-builder.el (re-builder-unload-function):
1503 Protect against the default value of `major-mode' being nil.
1505 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
1507 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
1508 Fix typos in docstrings.
1510 * progmodes/js.el (js--macro-decl-re): Doc fix.
1511 (js--plain-method-re, js--split-name): Refloc docstring.
1512 (js--class-styles, js--make-merged-item, js--splice-into-items):
1513 Fix typos in docstrings; reflow docstrings.
1514 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
1515 (js--variable-decl-matcher, js--inside-pitem-p)
1516 (js--parse-state-at-point, js--get-all-known-symbols)
1517 (js--symbol-history, js-find-symbol, js--js-references)
1518 (js--moz-interactor, js--js-encode-value, js--read-tab):
1519 Fix typos in docstrings.
1521 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1523 * textmodes/reftex.el (reftex-get-file-buffer-force):
1524 * progmodes/verilog-mode.el (verilog-batch-execute-func):
1525 * emulation/viper.el (viper-go-away, viper-set-hooks):
1526 * emacs-lisp/re-builder.el (re-builder-unload-function):
1527 * emacs-lisp/bytecomp.el (byte-compile-file):
1528 * ses.el (ses-unload-function):
1529 * hexl.el (hexl-find-file):
1530 * files.el (normal-mode):
1531 * ehelp.el (with-electric-help):
1532 * autoinsert.el (auto-insert-alist):
1533 * arc-mode.el (archive-mode):
1534 Use (default-value 'major-mode) instead of default-major-mode.
1536 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
1537 * international/mule.el (load-with-code-conversion):
1538 * emacs-lisp/debug.el (debug):
1539 * ediff-vers.el (ediff-rcs-get-output-buffer):
1540 * dired.el (dired-internal-noselect): Don't let-bind
1541 default-major-mode around code that doesn't use it.
1542 E.g. buffer creation via get-buffer-create doesn't use it.
1544 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
1546 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
1547 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
1548 when writing the temp file. Otherwise, epa-file gets confused.
1549 (tramp-register-file-name-handlers): Make it a defun. Move also
1550 `epa-file-handler' to the front of `file-name-handler-alist'.
1552 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1554 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
1555 start right after a ^M.
1556 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
1557 (tramp-completion-file-name-regexp-separate)
1558 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
1559 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
1560 Don't modify last-coding-system-used by accident.
1561 (tramp-completion-file-name-handler): Apply the checks here,
1562 instead during registration.
1563 (tramp-register-file-name-handlers) Renamed from
1564 `tramp-register-file-name-handler'. Register both
1565 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
1566 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
1568 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
1570 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
1572 (gdb-init-1, gdb-display-separate-io-buffer)
1573 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
1575 (gdb-inferior-io-mode): Use make-comint-in-buffer.
1576 (gdb-inferior-filter): Use comint-output-filter to stop
1577 echoing and remove ^M characters.
1579 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1581 * emulation/viper-init.el (viper-restore-cursor-type):
1582 * emulation/cua-base.el (cua--update-indications):
1583 Replace default-cursor-type with (default-value 'cursor-type).
1585 * mail/sendmail.el (mail-recover-1):
1586 * international/mule-diag.el (describe-current-coding-system-briefly)
1587 (describe-current-coding-system):
1588 * international/mule-cmds.el (select-safe-coding-system)
1589 (select-message-coding-system)
1590 (set-language-environment-coding-systems, set-locale-environment):
1591 * hexl.el (hexl-insert-multibyte-char):
1592 * dos-w32.el (find-buffer-file-type-coding-system):
1593 * simple.el (what-cursor-position):
1594 Replace uses of default-buffer-file-coding-system
1595 with (default-value 'buffer-file-coding-system).
1597 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
1598 Replace uses of default-cursor-in-non-selected-windows
1599 with (default-value 'cursor-in-non-selected-windows).
1600 Use with-current-buffer.
1602 * mail/feedmail.el: Use CL macros.
1603 (feedmail-run-the-queue, feedmail-send-it-immediately):
1604 * dos-w32.el (find-buffer-file-type): Replace uses of
1605 default-buffer-file-type with (default-value 'buffer-file-type).
1607 2009-08-28 Glenn Morris <rgm@gnu.org>
1609 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
1610 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
1611 Use default-value of major-mode rather than default-major-mode.
1613 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
1615 * Makefile.in (update-elcfiles): Report left over elc files.
1617 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
1618 expand-file-name and with-current-buffer.
1619 (mail-get-names, mail-directory): Use with-current-buffer.
1621 * vc.el (vc-read-revision): New function.
1622 (vc-version-diff, vc-merge): Use it.
1624 2009-08-27 Sam Steingold <sds@gnu.org>
1626 * simple.el (kill-do-not-save-duplicates): New user option.
1627 (kill-new): When it is non-nil, and the new string is the same as
1628 the latest kill, set replace to t to avoid duplicates in kill-ring.
1630 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
1632 * net/tramp.el (tramp-handle-process-file): Do not flush all
1633 caches when `process-file-side-effects' is set.
1634 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
1635 instead of `tramp-find-file-exists-command'.
1636 Unset `process-file-side-effects'.
1638 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
1640 * net/tramp.el (tramp-methods): New method "rsyncc".
1641 (top): Add completion function for "rsyncc".
1642 (tramp-message-show-message): New defvar.
1643 (tramp-message, tramp-error): Use it.
1644 (tramp-do-copy-or-rename-file-directly): Extend check for direct
1646 (tramp-do-copy-or-rename-file-out-of-band): Handle new
1647 `tramp-methods' entry `copy-env' of "rsyncc".
1648 (tramp-vc-registered-read-file-names): New defconst.
1649 (tramp-vc-registered-file-names): New defvar.
1650 (tramp-handle-vc-registered): Implement optimization strategy.
1651 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
1652 (tramp-vc-file-name-handler): New defun.
1653 (tramp-get-ls-command, tramp-get-test-command)
1654 (tramp-get-file-exists-command, tramp-get-remote-ln)
1655 (tramp-get-remote-perl, tramp-get-remote-stat)
1656 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
1658 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
1659 (tramp-cache-inhibit-cache): Extend doc string. It allows also
1661 (tramp-get-file-property): Check for timestamps in
1662 `tramp-cache-inhibit-cache'.
1663 (tramp-set-file-property): Write timestamp.
1665 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
1667 * language/japan-util.el (japanese-symbol-table): Add entries for
1670 * international/characters.el: Add category `j' to cp932-2-byte.
1672 2009-08-27 Kenichi Handa <handa@m17n.org>
1674 * international/fontset.el (build-default-fontset-data): New macro.
1675 (setup-default-fontset): Use build-default-fontset-data for CJK,
1676 tibetan, ethiopic, and ipa.
1678 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
1680 * cus-start.el (default-major-mode): Customize `major-mode' instead.
1681 (enable-multibyte-characters): Not customizable any more.
1683 * subr.el (default-mode-line-format, default-header-line-format)
1684 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
1685 (default-direction-reversed, default-truncate-lines)
1686 (default-left-margin, default-tab-width, default-case-fold-search)
1687 (default-left-margin-width, default-right-margin-width)
1688 (default-left-fringe-width, default-right-fringe-width)
1689 (default-fringes-outside-margins, default-scroll-bar-width)
1690 (default-vertical-scroll-bar, default-indicate-empty-lines)
1691 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
1692 (default-fringe-cursor-alist, default-scroll-up-aggressively)
1693 (default-scroll-down-aggressively, default-fill-column)
1694 (default-cursor-type, default-buffer-file-type)
1695 (default-cursor-in-non-selected-windows)
1696 (default-buffer-file-coding-system, default-major-mode)
1697 (default-enable-multibyte-characters): Mark as obsolete.
1699 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
1701 * vc-dir.el (vc-dir-update): Remove debug helper.
1703 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
1705 2009-08-26 Sam Steingold <sds@gnu.org>
1707 * simple.el (save-interprogram-paste-before-kill): New user option.
1708 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
1709 save the interprogram-paste into kill-ring before overriding it
1710 with the Emacs kill.
1712 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
1714 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
1715 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
1716 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
1717 and move to vc-rcs.el.
1718 (vc-default-next-revision): Rename to vc-rcs-next-revision and
1720 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
1721 (vc-rcs-update-changelog): Remove.
1722 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
1723 and move to vc-rcs.el.
1725 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
1726 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
1728 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
1729 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
1730 vc.el, renamed to be RCS specific.
1732 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
1734 (vc-cvs-update-changelog): Move here from vc.el.
1736 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
1739 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
1741 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
1743 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
1745 * vc-git.el (vc-git-register): Use "git add" for directories.
1746 (vc-git-stash, vc-git-stash-show): New functions.
1747 (vc-git-extra-menu-map): Bind them.
1749 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
1750 directory correctly in case the item is a directory itself.
1752 * vc.el: Document the desired behavior for reverted files in the
1754 (vc-default-prettify-state-info): Remove function, unused.
1756 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
1758 2009-08-26 Glenn Morris <rgm@gnu.org>
1760 * bindings.el (standard-mode-line-format): Reposition dashes in
1761 which-func entry. (Bug#4217)
1763 * files.el (enable-local-variables, enable-local-eval)
1764 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
1766 (auto-mode-alist, ignored-local-variables)
1767 (save-some-buffers-action-alist): Move risky declarations to the
1769 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
1770 (font-lock-defaults, format-alist, imenu--index-alist)
1771 (imenu-generic-expression, input-method-alist, minor-mode-alist)
1772 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
1773 (mode-line-modified, mode-line-mule-info, mode-line-position)
1774 (mode-line-process, mode-line-remote, outline-level)
1775 (parse-time-rules, rmail-output-file-alist)
1776 (special-display-buffer-names, vc-mode):
1777 Move risky declarations to the relevant files.
1778 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
1779 (mode-line-modified, mode-line-process, mode-line-position)
1780 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
1781 * font-core.el (font-lock-defaults):
1782 * format.el (format-alist):
1783 * vc-hooks.el (vc-mode):
1784 * window.el (special-display-buffer-names):
1785 * international/mule-cmds.el (input-method-alist):
1786 Define riskiness here (dumped file) rather than in files.el.
1787 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
1788 * imenu.el (imenu-generic-expression, imenu--index-alist):
1789 * outline.el (outline-level):
1790 * time.el (display-time-string):
1791 * calendar/parse-time.el (parse-time-rules):
1792 * mail/rmailout.el (rmail-output-file-alist):
1793 Autoload riskiness here, rather than placing in files.el.
1795 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
1797 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
1799 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
1801 * simple.el (process-file-side-effects): New defvar.
1803 * dired-aux.el (dired-show-file-type):
1804 * vc.el (vc-diff-internal):
1805 * vc-arch.el (vc-arch-diff):
1806 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
1807 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
1808 * vc-git.el (vc-git-registered, vc-git-working-revision)
1809 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
1810 (vc-git--empty-db-p):
1811 * vc-hooks.el (vc-user-login-name):
1812 * vc-svn.el (vc-svn-registered, vc-svn-state)
1813 (vc-svn-dir-extra-headers, vc-svn-find-revision):
1814 * progmodes/grep.el (grep-probe): Let-bind
1815 `process-file-side-effects' with nil.
1817 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
1819 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
1820 daemon. Replace ping by checking for running service for bluez
1821 and zeroconf. (Bug#4239)
1823 2009-08-25 Kevin Ryde <user42@zip.com.au>
1825 * net/dig.el (dig): Add autoload cookie.
1827 2009-08-25 Glenn Morris <rgm@gnu.org>
1829 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
1830 load-history for absolute file-names.
1831 (byte-compile-file-form-require): Warn about use of the cl package.
1833 * format.el (format-alist): Doc fix.
1835 * play/bubbles.el (top-level): Don't require cl at run-time.
1837 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
1840 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
1842 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
1844 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
1846 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
1848 * calc/calc-alg.el (math-trig-rewrite)
1849 (math-hyperbolic-trig-rewrite): New functions.
1850 (calc-simplify): Simplify trig functions when asked.
1852 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
1854 * diff-mode.el (diff-find-source-location): Avoid goto-line.
1856 2009-08-24 Kenichi Handa <handa@m17n.org>
1858 * language/ind-util.el (mapthread): Delete it.
1859 (combinatorial): New function.
1860 (indian--puthash-cv): Use combinatorial instead of mapthread.
1862 2009-08-22 Kevin Ryde <user42@zip.com.au>
1864 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
1865 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
1866 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
1867 Clarify docstring that the value is strings not symbols.
1868 (checkdoc-list-of-strings-p): New function.
1870 2009-08-22 Glenn Morris <rgm@gnu.org>
1872 * files.el (auto-mode-alist):
1873 * hippie-exp.el (he-concat-directory-file-name):
1874 * lpr.el (lpr-windows-system, printer-name):
1875 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
1876 * ps-print.el (ps-windows-system):
1877 * startup.el (command-line):
1878 * emulation/viper-ex.el (viper-glob-function):
1879 * international/mule-cmds.el (set-language-environment-coding-systems):
1880 * net/ange-ftp.el (ange-ftp-write-region):
1881 * obsolete/fast-lock.el (fast-lock-cache-name):
1882 Remove code for defunct system-types emx, macos, mswindows, next-mach,
1883 unisoft-unix, vax-vms, win32, w32.
1885 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
1886 given name if the pattern is not more specific.
1888 * calendar/lunar.el (lunar-phase-names): New option.
1889 (lunar-phase): Doc fix.
1890 (lunar-cycles-per-year): New constant.
1891 (lunar-index): New function.
1892 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
1893 (lunar-phase-name): Use lunar-phase-names.
1894 (calendar-lunar-phases): Use format.
1895 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
1897 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
1898 Copy imenu-example--name-and-position function here for own use.
1899 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
1901 * bs.el (bs--redisplay):
1902 * cus-edit.el (custom-redraw):
1903 * ibuffer.el (ibuffer-bury-buffer):
1904 * server.el (server-goto-line-column):
1905 * startup.el (command-line-1):
1906 * strokes.el (strokes-xpm-for-stroke):
1907 * term.el (term-display-buffer-line):
1908 * view.el (View-goto-line):
1909 * calc/calc.el (calc-do, calc-trail-buffer):
1910 * play/gamegrid.el (gamegrid-add-score-insecure):
1911 * progmodes/ada-mode.el (ada-compile-goto-error):
1912 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
1913 (ebrowse-select-1st-to-9nth):
1914 * progmodes/cperl-mode.el (cperl-time-fontification):
1915 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
1916 * progmodes/gud.el (gud-display-line):
1917 (idlwave-shell-display-line):
1918 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
1919 * progmodes/make-mode.el (makefile-browser-toggle):
1920 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
1921 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
1922 * textmodes/picture.el (picture-draw-rectangle):
1923 * textmodes/reftex-index.el (reftex-index-goto-letter):
1924 (reftex-select-jump-to-previous):
1925 * textmodes/reftex-sel.el (reftex-find-start-point)
1926 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
1927 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
1928 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
1929 * textmodes/tex-mode.el (tex-compilation-parse-errors):
1930 * textmodes/two-column.el (2C-associated-buffer):
1931 Use forward-line rather than goto-line.
1933 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
1936 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
1937 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
1938 (quick-check-list-to-regexp): Declare.
1940 * progmodes/make-mode.el (makefile-browser-insert-selection):
1941 Use goto-char rather than goto-line.
1943 * progmodes/prolog.el (compilation-error-regexp-alist)
1944 (compilation-forget-errors): Declare.
1946 2009-08-22 Juri Linkov <juri@jurta.org>
1948 * progmodes/grep.el (lgrep, rgrep): At the beginning
1949 set `dir' to `default-directory' unless `dir' is a non-nil
1950 readable directory. (Bug#4052)
1951 (lgrep, rgrep): Change a weird way to report an error
1952 from using `read-string' to using `error'.
1953 Instead of using interactive arguments in the function body,
1954 add new argument `confirm'.
1956 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
1958 * textmodes/remember.el (remember-buffer):
1959 * progmodes/cperl-mode.el (cperl-vc-header-alist):
1960 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
1961 (icalendar-extract-ical-from-buffer):
1962 * net/newst-treeview.el (newsticker-groups-filename):
1963 * net/newst-backend.el (newsticker-cache-filename):
1964 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
1965 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
1966 (speedbar-add-ignored-path-regexp, speedbar-line-path)
1967 (speedbar-buffers-line-path, speedbar-path-line)
1968 (speedbar-buffers-line-path):
1969 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
1971 * epa.el (epa-display-verify-result):
1972 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
1974 2009-08-21 Glenn Morris <rgm@gnu.org>
1976 * progmodes/js.el (inferior-moz-process): Fix declaration.
1978 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
1980 * obsolete/rnewspost.el (news-mail-reply):
1981 Use goto-char rather than goto-line.
1983 * term/ns-win.el (ns-open-file-select-line):
1984 Use line-beginning-position rather than goto-line.
1986 * apropos.el (apropos-command):
1987 * ehelp.el (electric-helpify):
1988 * printing.el (pr-show-setup):
1989 * strokes.el (strokes-help):
1990 * tutorial.el (tutorial--describe-nonstandard-key)
1991 (tutorial--detailed-help):
1992 * woman.el (woman-mini-help, woman-display-extended-fonts):
1993 * calc/calc-help.el (calc-describe-key):
1994 * emulation/edt.el (edt-electric-helpify):
1995 * international/mule-diag.el (mule-diag):
1996 * play/yow.el (apropos-zippy):
1997 * progmodes/python.el (python-describe-symbol):
1998 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
1999 * textmodes/table.el (*table--cell-describe-mode)
2000 (*table--cell-describe-bindings):
2001 Use help-print-return-message rather than the now obsolete alias.
2003 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
2004 (calendar-cursor-to-visible-date):
2005 * play/5x5.el (5x5-position-cursor):
2006 * play/decipher.el (decipher):
2007 * play/gomoku.el (gomoku-goto-xy):
2008 * play/landmark.el (lm-goto-xy):
2009 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
2011 Use forward-line, not goto-line.
2013 * mail/rmail.el (rmail-obsolete): Delete custom group.
2014 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
2015 (rmail-remote-password, rmail-remote-password-required):
2016 Remove unneeded :set-after and :set properties.
2018 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
2020 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
2022 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
2024 * loadup.el: Remove leftover macos code.
2026 * vc-git.el (vc-git-annotate-command): Run asynchronously.
2027 Explicitly pass the date format to git blame so that user local
2028 so that the output format can be parsed.
2030 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
2032 * net/dbus.el (top): Don't check for (getenv
2033 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
2035 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
2037 * log-edit.el (log-edit-strip-single-file-name): New var.
2038 (log-edit-insert-changelog): Use it. Bug#3571
2040 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
2042 * subr.el (read-passwd): Use read-key so keypad keys work as well.
2045 * help.el (help-print-return-message): Rename from
2046 print-help-return-message.
2048 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
2049 cvs-mode-map parent hack.
2050 (log-view-mode): Derive from special-mode.
2052 * linum.el (linum-mode): window-size-change-functions is redundant.
2053 Adapt to new window-configuration-change-hook behavior.
2054 (linum-after-size, linum-after-config): Remove.
2056 * imenu.el (imenu-example--name-and-position)
2057 (imenu-example--lisp-extract-index-name)
2058 (imenu-example--create-lisp-index, imenu-example--create-c-index):
2061 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
2062 (inferior-prolog-mode): Use it.
2063 (inferior-prolog-load-file): Reset list of errors.
2065 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
2067 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
2069 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
2071 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
2073 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
2076 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
2078 * subr.el (listify-key-sequence-1): Use normal syntax since those
2079 integers are nowadays always represented by the same (positive) number
2081 (read-key-empty-map): New const.
2082 (read-key-delay): New var.
2083 (read-key): New function.
2084 (force-mode-line-update): Use with-current-buffer.
2085 (locate-user-emacs-file): Don't forget to abbreviate the file name.
2086 (start-process-shell-command, start-file-process-shell-command):
2087 Discourage the use of command-args.
2089 2009-08-19 Glenn Morris <rgm@gnu.org>
2091 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
2093 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
2095 * simple.el (choose-completion-string): Don't rely on
2096 minibuffer-completing-file-name and ad-hoc checks to decide whether
2097 to continue completion or not.
2099 * minibuffer.el (minibuffer-hide-completions): New function.
2100 (completion--do-completion): Use it.
2101 (completions-annotations): New face.
2102 (completion--insert-strings): Use it.
2103 (completion-pcm--delim-wild-regex): Add docstring.
2104 (completion-pcm--string->pattern): Add support for 0-width delimiters
2105 in completion-pcm--delim-wild-regex.
2107 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
2109 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
2110 Remove unused var `buffer-modified-p'.
2112 * minibuffer.el (completion--do-completion): Move point for the #b001
2113 case as well (bug#4176).
2114 (minibuffer-complete, minibuffer-complete-word): Don't move point.
2116 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
2118 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
2121 2009-08-18 Kenichi Handa <handa@m17n.org>
2123 * international/ucs-normalize.el (ucs-normalize-version):
2125 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
2126 (utf-8-hfs): Make it perform normalization on encoding too.
2128 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
2129 (sentence-end-without-space): Delete duplicated chars.
2130 (sentence-end-base): Likewise.
2132 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
2133 (html-mode): Delete duplicated chars from sentence-end-base.
2135 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
2136 (texinfo-mode): Delete duplicated chars from sentence-end-base.
2138 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
2140 * files.el (hack-one-local-variable): If the mode function is for
2141 a minor mode, pass it an argument (Bug#4148).
2143 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
2145 * net/tramp.el (tramp-register-completion-file-name-handler):
2146 Check also for (member 'partial-completion completion-styles).
2148 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
2150 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
2153 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
2155 * progmodes/cperl-mode.el: Merge upstream 6.2.
2156 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
2157 (cperl-forward-re): Check cperl-brace-recursing.
2158 (cperl-highlight-charclass): New function.
2159 (cperl-find-pods-heres): Use it.
2160 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
2161 (cperl-beautify-regexp-piece): Fix column calculation.
2162 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
2163 (cperl-beautify-level): Don't process entire regexp.
2164 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
2166 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
2167 (cperl-init-faces): Build a list in the normal way.
2169 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
2171 * calendar/parse-time.el (parse-time-string-chars): Save match
2174 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
2176 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
2177 (sql-product): Use it.
2178 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
2179 (sql-set-product): Add completion.
2180 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
2181 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
2182 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
2183 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
2184 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
2185 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
2186 (sql-highlight-db2-keywords): Remove.
2187 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
2188 (sql-highlight-product): Use derived-mode-p.
2189 (sql-set-sqli-buffer): Use with-current-buffer.
2190 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
2193 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
2195 * term.el: Fix commenting convention, turn comments into docstrings.
2197 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
2199 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
2201 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
2203 * calendar/parse-time.el (parse-time-string-chars): Compute using
2204 character classes, to handle non-ascii characters (Bug#3190).
2206 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
2208 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
2209 another heredoc if the user adds another < (Bug#3226).
2211 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
2212 Don't initialize based on window-system (Bug#4124).
2214 * facemenu.el (facemenu-read-color): Use a completion function
2215 that accepts any defined color, such as RGB triplets (Bug#3677).
2217 * files.el (get-free-disk-space): Change fallback default
2218 directory to /. Expand DIR argument before switching to fallback.
2219 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
2221 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
2223 * files.el (load-library): Doc fix.
2225 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
2227 * viper-cmd.el (viper-insert-isearch-string): New function.
2228 (viper-if-string): Redefine C-s in the minibuffer to insert the last
2229 incremental search string.
2231 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
2234 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
2235 (ediff-merge-region-is-non-clash)
2236 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
2237 Also check if the job is really a merge job.
2239 * ediff.el (ediff-current-file): New function.
2241 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
2243 * progmodes/js.el: Edit docstrings throughout to follow Emacs
2245 (js-insert-and-indent): Delete function.
2246 (js-mode-map): Don't bind keys to js-insert-and-indent.
2247 (js-beginning-of-defun): Rename from js--beginning-of-defun.
2248 (js-end-of-defun): Rename from js--end-of-defun.
2249 (js-auto-indent-flag): Delete variable.
2251 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
2253 * progmodes/js.el: Remove proclaim statement.
2254 Defvar which-func-imenu-joiner-function to silence compiler.
2256 * files.el (auto-mode-alist): Use js-mode for .js files.
2258 * progmodes/js2-mode.el: Remove file.
2260 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
2262 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
2264 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
2266 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
2267 Karl Landstrom <karl.landstrom@brgeight.se>
2269 * progmodes/js.el: New file.
2271 2009-08-14 Mark A. Hershberger <mah@everybody.org>
2273 * timezone.el (timezone-parse-date): Add ability to understand ISO
2274 basic format (minimal separators) dates in addition to the
2275 already-supported extended format dates.
2277 2009-08-14 Eli Zaretskii <eliz@gnu.org>
2279 * international/ucs-normalize.el: Add a `coding' file variable.
2281 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
2283 2009-08-14 Sam Steingold <sds@gnu.org>
2285 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
2287 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
2289 * faces.el (help-argument-name): Define it here instead of
2290 help-fns.el, because in daemon mode help-fns.el may be loaded when
2291 faces are still uninitialized (Bug#1078).
2293 * help-fns.el (help-argument-name): Move defface to faces.el.
2295 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
2297 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
2298 create buffer with a pty but no process so that GDB can make the
2299 inferior the controlling process.
2301 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
2303 * international/ucs-normalize.el: New file.
2305 2009-08-13 Richard Stallman <rms@gnu.org>
2307 * mail/rmail.el (rmail-get-attr-names):
2308 Accept an attribute header that is too short.
2310 * mail/rmail.el (rmail-forget-messages):
2311 Ignore nil elt in rmail-message-vector. Use dotimes.
2313 * progmodes/compile.el (compilation-goto-locus):
2314 Use next-error-move-function.
2316 * simple.el (next-error-move-function): New variable.
2318 2009-08-12 Juri Linkov <juri@jurta.org>
2320 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
2321 always non-nil. (Bug#4052)
2323 * replace.el (read-regexp): Return empty string when
2324 `default-value' is nil.
2325 (keep-lines-read-args): Don't use empty string as the
2326 default value for `read-regexp'. (Bug#2495)
2328 2009-08-12 Juri Linkov <juri@jurta.org>
2330 * international/mule-cmds.el (ucs-insert): Change arguments
2331 from `arg' to `character', `count', `inherit' to be the same
2332 as in `insert-char'. Doc fix. (Bug#4039)
2334 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
2336 2009-08-12 Juri Linkov <juri@jurta.org>
2338 * files-x.el: New file.
2340 * files.el: Move code that deals with adding/deleting
2341 file/directory-local variables to files-x.el.
2343 * Makefile.in (ELCFILES): Add files-x.elc.
2345 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
2347 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
2349 (gdb-place-breakpoints, gdb-get-location): Rewritten without
2351 (gdb-invalidate-disassembly): Do not refresh upon receiving
2352 'update signal. Instead, update all disassembly buffers only after
2354 (gdb): Send -target-detach when buffer is killed (Bug#3794).
2355 (gdb-starting): Moved -data-list-register-names...
2356 (gdb-stopped): ...here so it's sent when first thread stops.
2357 (gdb-registers-handler-custom): Do nothing if register names are
2360 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
2361 from `gdb-mi.el' to avoid extra tangling.
2363 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
2364 change which breaks `gud-def' definitions used in `gdb'.
2365 (gdb-update-gud-running): No extra fuss for updating frame number.
2367 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2369 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
2370 (describe-language-environment-map, setup-language-environment-map)
2371 (set-coding-system-map): Move initialization into declaration.
2372 (set-language-info-alist): Last arg to define-key-after can be skipped.
2374 * international/quail.el (quail-completion-1): Simplify.
2375 (quail-define-rules): Use slightly more compact code.
2376 (quail-insert-decode-map): Propertize keys, compact columns.
2378 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2381 2009-08-10 Miles Bader <miles@gnu.org>
2383 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
2384 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
2385 (js2-instance-member, js2-private-member, js2-private-function-call)
2386 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
2387 (js2-magic-paren, js2-external-variable):
2388 Remove "-face" suffix from face names.
2389 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
2390 (js2-highlight-undeclared-vars, js2-peek-token)
2391 (js2-parse-function-params, js2-mode-show-errors)
2392 (js2-mode-show-warnings, js2-make-magic-delimiter)
2393 (js2-mode-highlight-magic-parens): Update to use new face names.
2395 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
2397 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
2398 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
2400 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
2402 * subr.el: Provide hashtable-print-readable.
2404 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
2405 hs-c-like-adjust-block-beginning.
2406 (hs-hide-block-at-point): Stop hiding at the beginning of
2407 hs-block-end-regexp (Bug#700).
2409 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
2411 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
2413 (gdb-registers-handler-custom): Do not fail when register names
2416 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
2418 * progmodes/gdb-mi.el (gdb-control-all-threads)
2419 (gdb-control-current-thread): Interactive setters for
2420 `gdb-gud-control-all-threads' to use in menu.
2421 (gdb-show-run-p): Show «Go» when process is not active.
2422 (gud-tool-bar-map): Add non-stop/A,T indicator. Uses
2423 gud/thread.xpm and gud/all.xpm.
2425 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
2427 * net/net-utils.el (net-utils-font-lock-keywords): New var.
2428 (nslookup-font-lock-keywords): Make it a variable.
2429 (net-utils-mode): New mode for viewing diagnostic network output.
2430 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
2431 (net-utils-run-simple): New function.
2432 (ifconfig, iwconfig, netstat, arp, route): Use it.
2434 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
2436 * progmodes/gdb-mi.el (gdb-read-memory-custom)
2437 (gdb-memory-set-address, def-gdb-set-positive-number)
2438 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
2439 after changing settings.
2440 (gdb-invalidate-disassembly): Update when first shown.
2441 (gdb-edit-locals-value): Fixed.
2442 (gdb-registers-handler-custom): Print registers in right order and
2443 allow changing register values (only for current thread yet).
2444 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
2445 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
2446 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
2447 (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
2449 (gdb-registers-mode-map): TAB to switch to locals.
2451 2009-08-08 Eli Zaretskii <eliz@gnu.org>
2453 * mail/rmail.el (rmail-add-mbox-headers)
2454 (rmail-set-message-counters-counter): Search for
2455 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
2457 2009-08-08 Glenn Morris <rgm@gnu.org>
2459 * Makefile.in (ELCFILES): Update.
2461 2009-08-07 Eli Zaretskii <eliz@gnu.org>
2463 * mail/sendmail.el (mail-yank-original): Set
2464 buffer-file-coding-system from the one used by the message whose
2467 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
2468 to "windows" when "pgnuplot" is used.
2469 (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
2470 call accept-process-output if "pgnuplot" is used.
2471 (calc-graph-init): Don't send -display and -geometry to
2472 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
2473 running "pgnuplot -V" with shell-command-to-string.
2475 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
2478 2009-08-07 Eli Zaretskii <eliz@gnu.org>
2480 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
2483 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
2485 * vc-dispatcher.el (vc-resynch-window): Update comment.
2487 * term.el (term-handle-ansi-escape): Add comments with the
2488 terminfo capabilities implemented.
2490 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
2492 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
2493 (gdb-var-create-handler): Rewritten using JSON parser.
2494 (gdb-propertize-header): Moved earlier.
2495 (gdb-set-header): Removed to avoid duplication.
2496 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
2497 Refresh disassembly buffers only after threads list have been
2499 (gdb-threads-header, gdb-registers-header): Per-buffer header line
2502 2009-08-04 Juri Linkov <juri@jurta.org>
2504 * files.el: Commands to add/delete file/directory-local variables.
2505 (read-file-local-variable, read-file-local-variable-value)
2506 (read-file-local-variable-mode, modify-file-local-variable)
2507 (modify-file-local-variable-prop-line)
2508 (modify-dir-local-variable): New functions.
2509 (add-file-local-variable, delete-file-local-variable)
2510 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
2511 (add-dir-local-variable, delete-dir-local-variable)
2512 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
2513 (copy-dir-locals-to-file-locals-prop-line): New commands.
2515 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
2517 * abbrev.el (insert-abbrev-table-description): Prettify output.
2518 Suggested by Karl Chen.
2520 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
2522 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
2523 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
2524 (gdb-overlay-arrow-position, gdb-thread-position)
2525 (gdb-disassembly-position): Declare variables.
2526 (gdb-wait-for-pending): Function now.
2527 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
2528 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
2529 compilation goes smoothly.
2530 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
2531 (gdb-non-stop-setting): New customization setting which replaces
2532 `gdb-non-stop' so changing it doesn't break active GDB session.
2533 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
2534 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
2535 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
2536 (gdb-show-threads-by-default): New customization options.
2537 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
2539 (gdb-get-buffer-create): Send buffers update signal when they are
2541 (gdb-invalidate-locals, gdb-invalidate-registers)
2542 (gdb-invalidate-breakpoints)
2543 (gdb-invalidate-threads, gdb-invalidate-disassembly)
2544 (gdb-invalidate-memory): Accept update signal.
2545 (gdb-current-context-command): Use --frame option.
2546 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
2547 Implement `gdb-frame-number' selection logic.
2548 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
2549 whether to show GUD toolbar buttons.
2550 (gdb-thread-exited): Unselect current thread when it exits.
2551 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
2552 (gdb-mark-line): Routine which sets overlay arrow or inverses
2553 video on fringeless displays.
2554 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
2555 to build aligned columns of data in GDB buffers and set text
2556 properties line-by-line.
2557 (gdb-invalidate-breakpoints)
2558 (gdb-breakpoints-list-handler-custom)
2559 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
2560 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
2561 (gdb-registers-handler-custom): Align data columns.
2562 (gdb-locals-handler-custom): Now prints data like in variable
2564 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
2565 Removed confusing buttons.
2566 (gdb-invalidate-threads): Append --frame.
2567 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
2568 between breakpoints/threads buffers.
2569 (gdb-set-window-buffer): Now can ignore dedicated windows.
2570 (gdb-propertize-header): Use `gdb-set-window-buffer'.
2571 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
2572 (def-gdb-thread-buffer-gud-command): Replaces
2573 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
2574 for fine thread control.
2575 (gdb-preempt-existing-or-display-buffer): New function used to
2576 display bound buffers without breaking window layout.
2577 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
2578 (gdb-select-frame): New version of `gdb-frames-select' which now
2579 sets `gdb-frame-number' so commands may use --frame option instead
2580 of inner debugger state.
2581 (gdb-frame-handler): Do not set `gdb-frame-number'.
2582 (gdb-threads-mode-map): Select threads with mouse.
2584 * progmodes/gud.el (gdb-gud-context-call): Declare function to
2585 avoid compilation warning.
2586 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
2589 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
2590 Argument `key' renamed to `buffer-type'.
2591 (gdb-current-context-buffer-name): Do not add thread info to
2592 buffer name when no thread is selected.
2593 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
2595 (gdb-thread-selected): Handle `=thread-selected' notification.
2596 (gdb-wait-for-pending): New macro to deal with congestion problems.
2597 (gdb-breakpoints-list-handler-custom): Don't fail on pending
2599 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
2600 This fixes problem similar to one described in bug 3947.
2601 (gud-menu-map): More menu items.
2602 (gdb-init-1): Reset `gdb-thread-number' to nil.
2604 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
2607 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
2608 (gdb-current-context-command): Do not append --thread if
2609 `gdb-thread-number' is nil.
2610 (gdb-running-threads-count, gdb-stopped-threads-count): New
2612 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
2613 (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
2614 customization options.
2615 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
2617 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
2618 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
2619 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
2620 set `gdb-thread-number' and update `gud-running' properly.
2621 (gdb-running): Update threads list when new threads appear.
2622 (gdb-stopped): Support non-stop operation and new thread switching
2624 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
2625 (gdb-json-partial-output): New set of JSON routines.
2626 (def-gdb-auto-update-trigger): New `signal-list' optional
2628 (gdb-thread-list-handler-custom): Update `gud-running',
2629 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
2630 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
2631 (gdb-continue-thread, gdb-step-thread): New commands for fine
2632 thread execution control.
2633 (gud-menu-map): New menu items to switch non-stop options.
2634 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
2635 (gdb-send): Mimic RET properly (bug 3794).
2637 * progmodes/gdb-mi.el (gdb-rules-name-maker)
2638 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
2640 (def-gdb-auto-update-handler): New nopreserve optional argument.
2641 (gdb-stack-list-frames-custom): Print stack from top to bottom.
2643 * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
2644 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
2645 (gdb-parent-mode): New mode to derive other GDB modes from.
2646 (gdb-display-disassembly-for-thread)
2647 (gdb-frame-disassembly-for-thread): New commands for threads
2650 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
2651 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
2652 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
2653 (gdb-update): We now store all GDB buffers in a list so that they
2654 can be updated by traversing a list instead of calling invalidate
2655 triggers explicitly.
2656 (def-gdb-trigger-and-handler): New macro to define trigger-handler
2657 pair for GDB buffer.
2658 (gdb-stack-buffer-name): Add thread information.
2659 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
2660 handle pending triggers.
2661 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
2662 (def-gdb-thread-buffer-simple-command)
2663 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
2664 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
2665 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
2666 New commands which show buffers bound to thread.
2667 (gdb-stack-list-locals-regexp): Removed unused regexp.
2669 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
2670 (gdb-locals-buffer-name, gdb-registers-buffer-name)
2671 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
2672 to (gud-comint-buffer) in *-buffer-name functions
2673 because (gdb-get-target-string) already does that.
2674 (gdb-locals-handler-custom, gdb-registers-handler-custom)
2675 (gdb-changed-registers-handler): Rewritten without regexps.
2677 * progmodes/gdb-mi.el Basic thread selection support.
2678 (gdb-thread-number): New variable.
2679 (gdb-current-context-command): New macro which adds --thread
2681 (gdb-threads-mode-map): Select thread with SPC.
2682 (gdb-thread-list-handler-custom): Mark current thread with overlay
2683 arrow. Synchronize GDB thread and Emacs thread.
2684 (gdb-select-thread): New command which selects current thread.
2685 (gdb-invalidate-frames, gdb-invalidate-locals)
2686 (gdb-invalidate-registers): Use --thread option.
2688 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
2690 * net/tramp.el (top): Make check for tramp-gvfs loading more
2692 (tramp-handle-insert-file-contents): `unwind-protect' must be
2693 inside `with-parsed-tramp-file-name'.
2695 * net/tramp-gvfs.el (top): Remove superfluous message when loading
2698 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
2700 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
2701 directory if CLASSPATH is not set.
2703 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
2705 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
2707 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
2709 2009-08-02 Kevin Ryde <user42@zip.com.au>
2711 * net/newst-backend.el (newsticker--raw-url-list-defaults):
2712 Update freshmeat link. Delete newsforge.com as it seems gone.
2714 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
2716 * select.el (x-set-selection): Doc fix (Bug#4021).
2718 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
2720 * help-fns.el (describe-variable): Treat list return values from
2721 dir-locals-find-file properly (Bug#4005).
2723 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
2725 * net/tramp.el (tramp-debug-message): Print also microseconds.
2727 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
2729 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
2731 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
2732 (tramp-get-debug-buffer): Change `outline-regexp' according to new
2735 * net/tramp-cache.el (tramp-cache-inhibit-cache ): New defvar.
2736 (tramp-get-file-property): Use it.
2738 * autorevert.el (auto-revert-handler): Allow
2739 `auto-revert-tail-mode' for remote files.
2741 2009-08-02 Jason Rumney <jasonr@gnu.org>
2743 * minibuffer.el (read-file-name): Treat confirm options to
2744 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
2746 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
2748 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
2749 (font-lock-variable-name-face, font-lock-constant-face): Darken
2750 the colors for light backgrounds.
2752 2009-08-01 Eli Zaretskii <eliz@gnu.org>
2754 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
2755 month names. (Bug#3987)
2757 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
2759 * simple.el (line-move-finish): Pass whole number to
2760 line-move-to-column.
2761 (line-move-visual): Perform hscroll to the recorded position.
2763 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
2765 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
2767 2009-07-29 Alan Mackenzie <acm@muc.de>
2769 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
2771 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
2773 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
2774 (gdb-place-breakpoints): Use full path when setting breakpoints.
2776 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
2778 * calc/calc.el (calc-mode-map): Add keybinding for
2779 `calc-transpose-lines'.
2781 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
2783 * calc/calc-misc.el (calc-transpose-lines): New function.
2785 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
2787 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
2788 Simplify check for out-of-band methods.
2789 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
2790 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
2792 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
2794 * vc-git.el (vc-git-checkin): Fix typo.
2796 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
2798 * progmodes/js2-mode.el: New file.
2800 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
2802 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
2803 (gud-menu-map): Adjust tooltip accordingly.
2805 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
2807 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
2808 (vc-bzr-log-view-mode): Adjust log-view-file-re.
2810 * add-log.el (change-log-mode-map): Add a menu.
2812 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
2814 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
2815 function returns nil.
2816 (dbus-handle-event): Handle special return value :ignore.
2817 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
2819 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
2821 * view.el (view-mode-enable): Don't define Helper-return-blurb if
2824 2009-07-25 Eli Zaretskii <eliz@gnu.org>
2828 * w32-vars.el (x-select-enable-clipboard): Doc fix.
2830 * term/pc-win.el (x-display-name, x-colors)
2831 (x-select-enable-clipboard, x-select-text): Doc fix.
2833 * term/common-win.el (x-display-name, x-colors): Doc fix.
2835 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
2836 (xw-defined-colors): Doc fix.
2838 * w32-fns.el (x-select-text, x-setup-function-keys)
2839 (x-get-selection, x-set-selection): Doc fix.
2841 * term/x-win.el (x-select-text, x-setup-function-keys)
2842 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
2844 * select.el (x-set-selection): Doc fix.
2846 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
2848 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
2849 instead of "IsNSSSupportAvailable". Avahi ought to work also when
2850 "IsNSSSupportAvailable" method is not available. Reported by
2851 Steve Youngs <steve@sxemacs.org>.
2853 2009-07-24 Kenichi Handa <handa@m17n.org>
2855 * international/characters.el: Fix setting of category ?C, ?|, ?K,
2856 and ?H. Fix setting of case for Latin Extended and Greek Extended.
2857 (build-unicode-category-table): Fix range checks.
2859 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
2861 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
2862 the buffer we try to sync is current when calling
2865 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
2866 not show up to date files.
2868 2009-07-24 Glenn Morris <rgm@gnu.org>
2870 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
2871 Add autoload cookies. If necessary, initialize.
2872 (elint-log): Handle non-file buffers.
2873 (elint-initialize): Add optional argument to reinitialize.
2874 (elint-find-builtin-variables): Save excursion.
2876 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
2878 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
2881 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
2883 * vc.el (vc-print-log-internal): New function, split out from ...
2884 (vc-print-log): ... here.
2885 (vc-dir-move-to-goal-column): Declare.
2887 * vc-git.el (vc-git-add-signoff): New variable.
2888 (vc-git-checkin): Use it.
2889 (vc-git-toggle-signoff): New function.
2890 (vc-git-extra-menu-map): Bind it to menu.
2891 (vc-git--run-command-string): Accept a nil FILE argument.
2892 (vc-git-stash-list): New function.
2893 (vc-git-dir-extra-headers): Use it.
2895 2009-07-23 Glenn Morris <rgm@gnu.org>
2897 * help-fns.el (describe-variable): Describe ignored and risky local
2898 variables in a similar way to that in which we describe safe ones.
2900 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
2901 (byte-compile-output-file-form, byte-compile-output-docform)
2902 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
2903 Give some more local variables with common names a "bytecomp-" prefix,
2904 so as not to shadow things during compilation.
2905 * emacs-lisp/cl-macs.el (load-time-value)
2906 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
2907 `outbuffer' to `bytecomp-outbuffer'.
2909 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
2910 since the next two variables cover them automatically now.
2911 (elint-builtin-variables, elint-autoloaded-variables): New.
2912 (elint-unknown-builtin-args): Remove all members, since they can be
2913 parsed automatically now.
2914 (elint-extra-errors): New.
2915 (elint-env-add-env, elint-env-add-macro): Use cadr.
2916 (elint-current-buffer): Use or. Change final message.
2917 (elint-get-top-forms): Use line-end-position.
2918 (elint-init-env): Use cadr. Handle autoload, declare-function,
2920 (elint-add-required-env): Doc fix. Use or. Standardize error.
2921 (regexp-assoc): Remove unused function.
2922 (elint-top-form): Set elint-current-pos, to record the start of the
2923 top-level form, for compilation-mode.
2924 (elint-form): Trap errors in macro expansion. Use dolist.
2925 (elint-unbound-variable): Use elint-builtin-variables and
2926 elint-autoloaded-variables.
2927 (elint-get-args): Use cadr, or.
2928 (elint-check-cond-form): Use dolist, cadr.
2929 (elint-check-condition-case-form): Doc fix. Use cadr.
2930 Use elint-extra-errors.
2931 (elint-log): New function.
2932 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
2933 Distinguish errors and warnings.
2934 (elint-log-message): Use with-current-buffer. Inhibit read-only.
2935 Use a bytecomp-style format.
2936 (elint-clear-log): Preserve default-directory. Inhibit read-only.
2937 (elint-get-log-buffer): Use compilation mode. Disable undo.
2938 Don't truncate lines.
2939 (elint-initialize): Set builtin and autoloaded variable lists.
2940 Only process elint-unknown-builtin-args if non-nil.
2941 (elint-find-builtin-variables, elint-find-autoloaded-variables):
2943 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
2945 2009-07-22 Kevin Ryde <user42@zip.com.au>
2947 * net/newst-backend.el (newsticker--parse-atom-1.0)
2948 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
2949 (newsticker--parse-rss-1.0):
2950 * progmodes/idlwave.el (idlwave-mode):
2951 * progmodes/idlw-shell.el (idlwave-shell-mode):
2952 * progmodes/vera-mode.el (vera-mode):
2953 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
2954 * progmodes/vhdl-mode.el (vhdl-mode):
2955 * textmodes/table.el (table-generate-source)
2956 (table--warn-incompatibility):
2957 Hyperlink urls in docstrings with URL `...'.
2959 2009-07-22 Glenn Morris <rgm@gnu.org>
2961 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
2962 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
2963 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
2964 Remove leading * from defcustom docs.
2966 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
2968 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
2970 (list-load-path-shadows): Optionally, just return shadows as a string.
2972 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
2974 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
2976 * mail/rmailedit.el (rmail-edit-mode): Use
2977 auto-save-include-big-deletions.
2979 * mail/rmail.el (rmail-variables): Use
2980 auto-save-include-big-deletions.
2982 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
2985 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
2987 * calc/calc.el (calc-undo-length): New variable.
2988 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
2990 2009-07-21 Richard Stallman <rms@gnu.org>
2992 * files.el (auto-save-mode): Handle buffer-save-size = -2
2995 2009-07-21 Glenn Morris <rgm@gnu.org>
2997 * textmodes/ispell.el (ispell-looking-back): Update declaration.
2999 * calendar/todo-mode.el (calendar-current-date): Update declaration.
3001 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
3002 silence compiler. Instead...
3003 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
3004 (ps-print-ensure-fontified): Update for above function name changes.
3006 * printing.el (pr-mh-get-msg-num, pr-mh-show)
3007 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
3008 silence compiler. Instead...
3009 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
3010 (mh-show-buffer): Only define for compiler.
3011 (pr-mh-current-message): Update for above function name changes.
3013 * files.el (abort-if-file-too-large): Explicitly pass `filename'
3015 (find-file-noselect, insert-file-1): Update for above change.
3017 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
3019 * mail/mailclient.el (mailclient-send-it): Fix message.
3021 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
3022 (edebug-eval): Check cl-debug-env is bound.
3023 (print-level, print-circle): Don't redefine built-in variables.
3025 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
3026 (custom-print-vectors): Remove old comments from doc.
3028 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
3029 (emerge-version): Make the variable an obsolete alias for the
3030 emacs-version variable. Make the function obsolete.
3031 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
3032 Emerge options, rather than merging in into the main Options menu.
3033 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
3034 and auto advance modes. Disable edit/fast items when not relevant.
3036 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
3038 * term/vt420.el (terminal-init-vt420): Fix typo.
3040 2009-07-20 Sam Steingold <sds@gnu.org>
3042 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
3043 variable (removed from compile.el on 2004-03-11).
3045 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
3047 * files.el (hack-local-variables-filter): Fix last change.
3049 2009-07-19 Juri Linkov <juri@jurta.org>
3051 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
3052 (dir-local-variables-alist): New buffer-local variable.
3053 (hack-local-variables-filter): If variable is not dir-local,
3054 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
3055 because file-local overrides dir-local.
3056 (c-postprocess-file-styles)<declare-function>:
3057 Remove obsolete declaration.
3058 (hack-dir-local-variables): Add dir-local variable/value pair to
3059 `dir-local-variables-alist' and remove duplicates. Doc fix.
3061 * help-fns.el (describe-variable): Add information about
3062 file-local and dir-local variables.
3064 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
3066 * files.el (hack-local-variables-filter): Rewrite.
3068 2009-07-19 Glenn Morris <rgm@gnu.org>
3070 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
3071 Silence compiler by only defining on XEmacs.
3073 * international/mule.el (auto-coding-regexp-alist): Only match
3074 BABYL... at the start of buffer, not of lines. (Bug#3790)
3076 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
3077 non-calendar buffers (Bug#3862). Restore "not on a date" message.
3078 (cal-menu-context-mouse-menu): Doc fix.
3080 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
3082 * simple.el (mail-user-agent): Doc fix. Set :version tag.
3084 2009-07-18 Juri Linkov <juri@jurta.org>
3086 * info.el: Virtual Info keyword finder.
3087 (add-to-list)<Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
3088 (Info-finder-file): New variable.
3089 (Info-finder-find-file): New function.
3090 (finder-known-keywords, finder-package-info)
3091 (find-library-name, lm-commentary): Use defvar and
3092 declare-function to silence compiler warnings.
3093 (Info-finder-find-node): New function.
3094 (info-finder): New command.
3096 * subr.el (process-kill-buffer-query-function): New function.
3097 (add-hook)<kill-buffer-query-functions>: Add hook
3098 `process-kill-buffer-query-function'.
3100 2009-07-18 Alan Mackenzie <acm@muc.de>
3102 * progmodes/cc-mode.el (c-before-hack-hook)
3103 (c-postprocess-file-styles): Give invocation of `c-set-style'
3104 DONT-OVERRIDE parameter of t. Already set style variables will
3105 thus not be overridden by style settings given by `c-file-syle'.
3107 * files.el (hack-local-variables-filter): Remove entries with
3108 duplicate keys from `file-local-variables-alist'.
3110 2009-07-18 Eli Zaretskii <eliz@gnu.org>
3112 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
3113 x-set-selection if display-selections-p returns nil for the
3116 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
3118 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
3120 2009-07-18 Eli Zaretskii <eliz@gnu.org>
3122 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
3123 Accept nil in addition to a regexp.
3124 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
3125 Accept nil in addition to a regexp.
3126 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
3127 buffers that have an associated file. Handle nil values of
3128 desktop-buffers-not-to-save and desktop-files-not-to-save.
3131 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3132 (x-disown-selection-internal): New functions.
3134 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
3136 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
3138 (gdb-breakpoints-header): Move forward to avoid compiler warning.
3139 (gdb-make-header-line-mouse-map): Remove duplicate definition.
3141 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
3143 * simple.el (set-mark): Revert last change.
3145 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
3147 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
3148 rendering of pngs is not possible instead of messaging a long
3151 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
3153 * w32-fns.el (x-selection-owner-p): New function.
3155 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
3156 (mouse-yank-at-click, mouse-yank-primary): If
3157 select-active-regions is non-nil, deactivate the mark before
3160 * simple.el (deactivate-mark, set-mark): Only save selection if we
3163 2009-07-17 Kenichi Handa <handa@m17n.org>
3165 * case-table.el (describe-buffer-case-table): Fix for the case
3168 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
3170 * vc-rcs.el (vc-rcs-find-file-hook):
3171 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
3173 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
3175 * net/tramp.el (tramp-wait-for-output): Handle the case when
3176 commands do not return a newline but a null byte before the shell
3179 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3181 * term/ns-win.el (ns-set-alpha): Don't declare.
3182 (ns-set-background-alpha): Remove function.
3184 2009-07-16 Kevin Ryde <user42@zip.com.au>
3186 * emacs-lisp/copyright.el (copyright-update): Save match-data across
3187 y-or-n-p, for safety.
3189 2009-07-16 Richard Stallman <rms@gnu.org>
3191 * files.el (auto-save-mode): If buffer-saved-size is -2,
3194 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
3195 (rmail-retry-ignored-headers): Add more uninteresting fields.
3197 2009-07-15 Jari Aalto <jari.aalto@cante.net>
3199 * net/rcirc.el (rcirc): Use history variables.
3200 (rcirc-server-name-history, rcirc-nick-name-history)
3201 (rcirc-server-port-history): New variables.
3203 2009-07-15 Kenichi Handa <handa@m17n.org>
3205 * international/mule-cmds.el (set-language-environment-charset):
3206 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
3209 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
3210 Delete unibyte-display.
3212 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
3214 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
3216 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
3218 * simple.el (deactivate-mark): Optional argument FORCE.
3219 (set-mark): Use deactivate-mark.
3221 * info.el (Info-search): No need to check transient-mark-mode
3222 before calling deactivate-mark.
3224 * select.el (x-set-selection): Doc fix.
3225 (x-valid-simple-selection-p): Allow buffer values.
3226 (xselect--selection-bounds): Handle buffer values. Suggested by
3227 David De La Harpe Golden.
3229 * mouse.el (mouse-set-region, mouse-drag-track): Call
3230 copy-region-as-kill before setting the mark, to let
3231 select-active-regions work.
3233 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
3235 * simple.el (deactivate-mark): If select-active-regions is
3236 non-nil, copy the selection data into a string.
3237 (activate-mark): If select-active-regions is non-nil, set the
3238 selection to the current buffer.
3239 (set-mark): Update selection if select-active-regions is non-nil.
3241 * select.el (x-valid-simple-selection-p): Allow buffer values.
3243 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
3245 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
3246 and more featureful message-mode.
3248 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
3250 * select.el (x-set-selection): Doc fix.
3251 (x-valid-simple-selection-p): Disallow selection data consisting
3252 of a list or cons of integers, since that is not used.
3253 (xselect--selection-bounds, xselect--int-to-cons): New functions.
3254 (xselect-convert-to-string, xselect-convert-to-length)
3255 (xselect-convert-to-filename, xselect-convert-to-charpos)
3256 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
3258 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
3260 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
3261 output in -break-info command (Emacs bug #3794).
3263 2009-07-14 Glenn Morris <rgm@gnu.org>
3265 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
3266 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
3267 (edebug-print-length, edebug-print-level, edebug-print-circle)
3268 (edebug-sit-for-seconds, edebug-view-outside)
3269 (edebug-bounce-point, edebug-set-global-break-condition)
3270 (edebug-Go-nonstop-mode, edebug-trace-mode)
3271 (edebug-Trace-fast-mode, edebug-continue-mode)
3272 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
3273 (edebug-visit-eval-list): Doc fixes.
3275 * subr.el (def-edebug-spec): Doc fix.
3277 2009-07-14 Kenichi Handa <handa@m17n.org>
3279 * international/characters.el: Fix setting of category ?C.
3281 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
3283 * term/ns-win.el (x-select-font): defalias x-select-font to
3284 ns-popup-font-panel instead of generate-fontset-menu.
3286 2009-07-12 Eli Zaretskii <eliz@gnu.org>
3288 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
3290 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
3292 * arc-mode.el (archive-find-type): Allow for a PK00 string before
3293 the PK\003\004 header (Bug#3770).
3295 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
3297 * pcomplete.el (pcomplete-comint-setup): Check for
3298 shell-dynamic-complete-filename too.
3300 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
3302 * simple.el (temporary-goal-column): Change the value for
3303 line-move-visual to a cons cell.
3304 (line-move-visual): Record or set the window hscroll, if
3305 necessary (Bug#3494).
3306 (line-move-1): Handle cons value of temporary-goal-column.
3308 2009-07-11 Kenichi Handa <handa@m17n.org>
3310 * international/mule-diag.el (describe-character-set): Don't show
3313 2009-07-10 Sam Steingold <sds@gnu.org>
3315 * progmodes/compile.el (compilation-mode-font-lock-keywords):
3316 Omake sometimes indents the errors it prints, so allow all
3317 regexps to start with spaces.
3319 2009-07-10 Eli Zaretskii <eliz@gnu.org>
3321 * cus-edit.el (customize-changed-options-previous-release):
3322 Bump value to 22.1. (Bug#3804)
3324 2009-07-08 Sam Steingold <sds@gnu.org>
3326 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
3327 to be a cons cell (test . ignored-directory) to selectively ignore
3328 some directories depending on the location of the search.
3330 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
3332 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
3333 remote user is root, on the local host.
3334 (tramp-local-host-p): Either the local user or the remote user
3335 must be root. (Bug#3771)
3337 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
3339 * progmodes/gdb-mi.el (gdb): Remove description of
3340 gdb-use-separate-io-buffer.
3341 (menu): Don't allow toggling of or enable
3342 gdb-use-separate-io-buffer from menubar.
3344 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
3346 * mail/unrmail.el (unrmail): Make sure the message ends with two
3347 newlines (Bug#3769).
3349 2009-07-08 Glenn Morris <rgm@gnu.org>
3351 * calendar/calendar.el (calendar-current-date): Rework previous change.
3353 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
3355 * calendar/calendar.el (calendar-current-date):
3356 Add an optional argument giving an offset from today.
3358 2009-07-08 Glenn Morris <rgm@gnu.org>
3360 * tutorial.el (tutorial--describe-nonstandard-key):
3361 Adjust the message for when a key has been unbound.
3362 (help-with-tutorial): Hide the arch-tag.
3364 2009-07-08 Kenichi Handa <handa@m17n.org>
3366 * international/fontset.el (setup-default-fontset): For each
3367 script, append (not set) font-specs.
3369 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
3372 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
3374 * progmodes/gdb-mi.el (gdb-init-1): Move sending
3375 -data-list-register-names to ...
3376 (gdb-starting): ... here because GDB 7.0 requires execution to
3377 have started when using this MI command.
3378 (gdb-set-header): New function to distinguish select and
3379 unselected tabs in gdb buffers.
3380 (gdb-propertize-header): New macro that uses gdb-set-header.
3381 (gdb-breakpoints-header, gdb-locals-header): Use it.
3382 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
3384 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
3386 * Makefile.in (ELCFILES): Remove fadr.elc.
3388 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
3390 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
3391 may contain frame information, so `string-match' should be used.
3392 (gdb-update): Disassembly is invalidated through
3393 `gdb-get-selected-frame'.
3394 (gdb-pad-string): New function to pad string with spaces.
3395 (gdb-invalidate-disassembly): Invalidate only if the buffer
3397 (gdb-disassembly-handler-custom): Column alignment.
3398 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
3400 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
3402 (gdb-frame-handler): Match convention to for disassembly buffer
3404 (gdb-stack-list-frames-handler): Rewritten without regexps.
3405 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
3406 not highlight breakpoints without line information.
3407 (gdb-input): Add trailing newline to command.
3409 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
3411 (gdb-breakpoints-list-handler-custom): Replacement for
3412 `gdb-break-list-handler'. Using real parser instead of regexps
3414 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
3415 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
3416 to place breakpoints.
3417 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
3419 (gdb-disassembly-handler-custom): Show overlay arrow.
3420 (gdb-disassembly-place-breakpoints): Show breakpoints in
3422 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
3423 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
3424 instead of parsing breakpoints buffer. Fixed old menu references
3429 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
3430 (gdb-memory-address): New variable which holds top address of
3431 memory page shown in memory buffer.
3432 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
3433 customization variables.
3435 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
3436 display the memory buffer.
3437 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
3438 buffer display parameters.
3439 (def-gdb-memory-format, gdb-memory-format-binary)
3440 (gdb-memory-format-octal, gdb-memory-format-unsigned)
3441 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
3442 Functions for setting memory buffer format.
3443 (gdb-memory-unit-word, gdb-memory-unit-halfword)
3444 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
3445 unit size used in memory buffer.
3446 (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
3447 to next/previous page of memory buffer.
3448 Now using (bindat-get-field) instead of fadr functions.
3450 2009-07-07 Sam Steingold <sds@gnu.org>
3452 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
3453 non-top-level files.
3455 2009-07-07 Kenichi Handa <handa@m17n.org>
3457 * international/mule-cmds.el (reset-language-environment): Put
3458 the highset priority to the charset iso-8859-1.
3460 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
3462 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
3463 to the end of the line when locating the block (Bug#700).
3465 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
3467 * net/tramp.el (tramp-handle-write-region): Flush file properties
3468 in case of short track.
3470 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
3472 * verilog-mode.el (verilog-error-regexp-emacs-alist): Coded custom
3473 representation of verilog error regular expressions to work with
3474 Emacs-22's new format.
3475 (verilog-error-regexp-xemacs-alist): Coded custom representation
3476 of verilog error regular expressions to work with XEmacs format.
3477 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
3478 error recognition into XEmacs.
3479 (verilog-error-regexp-add-emacs): Hook routine to install verilog
3480 error recognition into Emacs-22.
3482 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
3484 * woman.el: Remove stand-alone closing parentheses.
3485 (woman-file-name, woman2-format-paragraphs)
3486 (woman-leave-blank-lines): Code cleanup.
3487 (woman-use-own-frame): Change default to nil.
3488 (woman-italic, woman-bold, woman-unknown, woman-addition): Change
3489 defaults to inherit from default faces.
3490 (woman2-process-escapes): Consume the newline after a stand-alone
3491 filler character (Bug#3651).
3493 2009-07-06 Glenn Morris <rgm@gnu.org>
3495 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
3496 (top-level): Move provide to the end.
3497 (ffap): Remove defunct URL from custom group.
3499 * subr.el (eval-after-load): Doc fix.
3501 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
3503 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
3504 `calc-embedded-word' is called twice.
3506 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3508 * files.el (find-alternate-file-other-window, find-alternate-file):
3509 Obey confirm-nonexistent-file-or-buffer.
3511 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
3513 * dired-aux.el (dired-show-file-type): Handle remote files.
3515 2009-07-05 Jari Aalto <jari.aalto@cante.net>
3517 * desktop.el (desktop-globals-to-save):
3518 Add file-name-history (Bug#2750).
3520 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
3522 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
3524 2009-07-04 Johan Bockgård <bojohan@gnu.org>
3526 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
3527 property on entire argument since this is what eshell-lisp-command
3530 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
3532 * net/tramp-gvfs.el (tramp-gvfs-methods)
3533 (tramp-gvfs-zeroconf-domain)
3534 (tramp-bluez-discover-devices-timeout): Add version flag.
3535 (tramp-gvfs-handler-mounted-unmounted)
3536 (tramp-gvfs-connection-mounted-p): Polish handling of
3537 incompatibilities between GVFS 0.2 and 1.0.
3539 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
3541 * cus-start.el (all): Add make-pointer-invisible.
3543 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
3545 * calc-math.el (math-use-emacs-fn): Make sure that the number is
3546 formatted correctly.
3548 2009-07-02 Juri Linkov <juri@jurta.org>
3550 * info.el: Virtual Info files and nodes.
3551 (Info-virtual-files, Info-virtual-nodes): New variables.
3552 (Info-current-node-virtual): New variable.
3553 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
3555 (Info-file-supports-index-cookies): Use Info-virtual-file-p
3556 to check for a virtual file instead of checking a fixed list
3558 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
3559 instead of ad-hoc processing of "dir" and (apropos history toc).
3560 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
3561 instead of ad-hoc processing of "dir" and (apropos history toc).
3562 Reread a file when moving from a virtual node.
3563 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
3564 (Info-directory-toc-nodes, Info-directory-find-file)
3565 (Info-directory-find-node): New functions.
3566 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
3567 (Info-history): Move part of code to
3568 `Info-history-find-node'.
3569 (Info-history-toc-nodes, Info-history-find-file)
3570 (Info-history-find-node): New functions.
3571 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
3572 (Info-toc): Move part of code to `Info-toc-find-node'.
3573 (Info-toc-find-node): New function.
3574 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
3575 the current Info file name to references because now the node
3576 "*TOC*" belongs to the same Info manual.
3577 (Info-toc-build): Rename from `Info-build-toc'.
3578 (Info-toc-nodes): Rename input argument `file' to `filename'.
3579 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
3580 instead of ad-hoc processing of ("dir" apropos history toc).
3581 (Info-index-nodes): Use Info-virtual-file-p
3582 to check for a virtual file instead of checking a fixed list
3584 (Info-index-node): Add check for `Info-current-node-virtual'.
3585 Raise `save-match-data' higher up the tree to contain
3586 `search-forward' too (bug fix).
3587 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
3588 (Info-virtual-index-nodes): New variable.
3589 (Info-virtual-index-find-node, Info-virtual-index): New functions.
3590 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
3591 (Info-apropos-file, Info-apropos-nodes): New variables.
3592 (Info-apropos-toc-nodes, Info-apropos-find-file)
3593 (Info-apropos-find-node, Info-apropos-matches): New functions.
3594 (info-apropos): Move part of code to `Info-apropos-find-node' and
3595 `Info-apropos-matches'.
3596 (Info-mode-map): Bind "I" to `Info-virtual-index'.
3597 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
3598 for a virtual file instead of checking a fixed list of node names.
3600 * simple.el (async-shell-command): New command.
3602 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
3604 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
3605 instead of `mount-info'.
3607 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
3609 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
3610 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
3612 2009-07-02 Kenichi Handa <handa@m17n.org>
3614 * international/mule.el (set-keyboard-coding-system): Force *-unix
3615 coding-system to avoid eol conversion.
3617 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
3619 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3620 Add handler for `process-file', `shell-command' and
3621 `start-file-process'.
3622 (tramp-gvfs-handle-shell-command)
3623 (tramp-gvfs-handle-start-file-process)
3624 (tramp-gvfs-handle-process-file): New defuns.
3625 (tramp-synce-list-devices): Simplify check for existence of property.
3627 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
3629 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
3631 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
3633 * language/korean.el (set-language-info-alist): Add korean-cp949,
3636 2009-07-01 Kenichi Handa <handa@m17n.org>
3638 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
3640 * international/encoded-kb.el: Deleted.
3642 * international/mule.el (set-keyboard-coding-system): Perform the
3643 necessary setup here instead of calling encoded-kbd-setup-display.
3645 2009-07-01 Glenn Morris <rgm@gnu.org>
3647 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
3649 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
3651 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
3653 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
3655 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
3656 Handle also the 'rename case, when setting file modes. (Bug#3712)
3657 (tramp-default-file-modes) Remove execute permissions.
3659 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
3660 (top): Add a default for "synce" in `tramp-default-user-alist'.
3661 Add completion function for "synce" method.
3662 (tramp-hal-service, tramp-hal-path-manager)
3663 (tramp-hal-interface-manager, tramp-hal-interface-device):
3665 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
3666 (tramp-synce-list-devices, tramp-synce-parse-device-names):
3669 * net/trampver.el: Update release number.
3671 2009-06-30 Kenichi Handa <handa@m17n.org>
3673 * international/fontset.el (setup-default-fontset): Add CJK fonts
3674 for symbols and the other miscellaneous characters.
3676 * language/korea-util.el (setup-korean-environment-internal):
3677 Make char-width-table suitable for Korean environments.
3678 (exit-korean-environment): Cancel above.
3680 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
3681 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
3682 setup-funcion to make char-widht-table suitable for respective
3683 environments, and an exit-function to cancel that.
3685 * language/japan-util.el (setup-japanese-environment-internal):
3686 Call use-cjk-char-width-table with arg `ja_JP'.
3688 * international/characters.el (cjk-char-width-table): Delete it.
3689 (cjk-char-width-table-list): New variable.
3690 (use-cjk-char-width-table): New arg local-name.
3691 (use-default-char-width-table): Fix for the case that Emacs is
3692 already using the default char-width-table.
3694 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
3696 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
3697 modes mandatory. (Bug#3712)
3699 2009-06-29 Alan Mackenzie <acm@muc.de>
3701 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
3702 correction between the visible width of TABs and their number of bytes.
3704 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
3706 * server.el (server-buffer-done): Prevent kill-buffer from
3707 prompting by clearing the buffer modification flag (Bug#3696).
3709 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
3711 * verilog-mode.el (verilog-beg-of-statement)
3712 (verilog-endcomment-reason-re): Support unique case and priority case.
3713 (verilog-basic-complete-re): Support localparam lineup.
3714 (verilog-beg-of-statement-1): Fix for robustness, unique case.
3715 (verilog-set-auto-endcomments): Fix for unique case, always_comb
3717 (verilog-leap-to-case-head): Now support *nested* unique &
3718 priority case statements.
3719 (verilog-auto-lineup): Make just declarations the default (as it
3721 (verilog-leap-to-case-head): Support priority/unique case statements.
3722 (verilog-auto-lineup): Rework to give users radio buttons to
3723 select the various styles of automatic lineup.
3724 (verilog-error-regexp-alist): Rework to support the XEmacs style
3725 of error regular expressions from compilers, lint tools &
3726 simulators. Note that GNU Emacs has made it impossible for a mode
3727 to load such things.
3728 (electric-verilog-terminate-line, verilog-indent-declaration)
3729 (verilog-auto-wiure): Rework for radio button selection of
3730 auto-lineup selection of specification of auto lineup.
3731 (verilog-beg-of-statement-1): Redesign to support proper operation
3732 in additional code, based on testing with auto-lineup.
3733 (verilog-calculate-indent, assignments & declarations)
3734 (verilog-backward-token): Enhance to support auto-lineup of
3735 assignments & declarations.
3736 (verilog-in-directive-p, verilog-at-struct-p): New function for
3737 easy test of whether we are.
3738 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
3739 to support safe execution at almost anyline.
3740 (verilog-calc-1): Properly support indenting deep inside generate
3742 (verilog-init-font) Remove definition & use of verilog-init-font,
3743 as it is redundant with font-lock-defaults.
3744 (verilog-mode): Alter the definition of verilog-font-lock-defualts
3745 to avoid circular calls if syntax-ppss is a function (as is the
3746 case now in 22.x GNU Emacs) as that function would sometimes call
3747 itself, leading to (nearly) infinite recursion.
3748 (verilog-ovm-begin-re, verilog-ovm-end-re)
3749 (verilog-ovm-statement-re, verilog-leap-to-head)
3750 (verilog-backward-token): Add support for OVM macros. Some are
3751 complete statements, and others open and close scopes like begin
3753 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
3754 (verilog-defun-level-generate-only-re): Really fix the defun-list
3756 (verilog-calc-1) (verilog-beg-of-statement): Enhance support for
3757 coverpoint, constraint and cross statements.
3758 (verilog-defun-level-list, verilog-generate-defun-level-list)
3759 (verilog-all-defun-level-list): Redo these specifications - it is
3760 too hard to support eval-when compile aggregation of lists also
3761 built at when-compile time.
3762 (verilog-defun-level-list): Place defconsts of variables used in
3763 building regular expressions which are built in eval-when-compile
3764 bodies in the same eval-when-compile body to facilitate compile
3766 (verilog-beg-block-re-ordered): Support indenting
3767 virtual/protected tasks and functions.
3768 (verilog-defun-level-list, verilog-in-generate-region-p)
3769 (verilog-backward-ws&directives, verilog-calc-1): Speed up
3770 indentation of some module items (generate items).
3771 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
3772 across virtual/protected tasks and functions.
3774 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
3776 * verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
3777 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
3778 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
3779 in concatenations. Reported by Yishay Belkind.
3780 (verilog-auto-ascii-enum): Support one-hot state machines in
3781 AUTOASCIIENUM. Suggested by Lloyd Gomez.
3782 (verilog-auto-inst, verilog-auto-inst-port): Include interface
3783 modport in AUTOINST and add vl-modport for users. Reported by
3785 (verilog-auto-inout-module, verilog-auto-inst)
3786 (verilog-decls-get-interfaces, verilog-insert-definition)
3787 (verilog-insert-one-definition, verilog-read-decls)
3788 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
3789 (verilog-sig-modport, verilog-signals-combine-bus)
3790 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
3791 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
3792 Suggested by David Rogoff.
3793 (verilog-repair-open-comma): Fix non-insertion of comma when
3794 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
3795 (verilog-make-width-expression): Simplify [A-1:0] expression
3796 widths to just {A{1'b0}}.
3797 (verilog-mode): Cleanup checkdoc warnings.
3798 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
3799 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
3800 inputs/outputs or data type. Suggested by Vasu Kandadi.
3801 (next-error-last-buffer): Fix byte-compiler warning.
3802 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
3803 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
3804 or shell command text during AUTO expansion. Suggested by Tad Truex.
3805 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
3806 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
3807 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
3808 in AUTOINOUT. Reported by Matthew Lovell.
3809 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
3810 causing use of <= assignments. Reported by Alex Reed.
3811 (verilog-read-decls): Fix triand, trior, wand, wor to be
3812 recognized by AUTOWIRE. Reported by Spencer Isaacson.
3813 (verilog-extended-complete-re): Support import "DPI-C" functions.
3814 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
3815 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
3816 (verilog-insert-date, verilog-insert-year)
3817 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
3818 Windows systems. Reported by Michael Potts.
3819 (verilog-read-module-name): Fix AUTOINST when the child module
3820 declaration's name is a tick define. Reported by Elliot Mednick.
3821 (verilog-read-decls): Fix V2K parameter bit subscripts getting
3822 passed to next parameter's definition. Reported by Bruce T.
3823 (verilog-read-decls): Fix detecting "parameter int" when using
3824 AUTOINSTPARAM. Reported by Bruce T.
3825 (verilog-goto-defun): Fix goto not finding modules unless first
3826 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
3827 (verilog-mode): Expand -f flag arguments on entry to mode so
3828 verilog-goto-defun will work. Reported by Lawrence Butcher.
3829 (verilog-getopt): Expand environment variables in -f file
3830 arguments. Suggested by Lawrence Butcher.
3831 (verilog-set-define): Fix "Symbol's value as variable is void"
3832 when reading enumerations.
3833 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
3834 Suggested by Stephen Peltan.
3835 (verilog-read-defines): Fix reading of enumerations in include
3836 files. Reported by Steve Peltan.
3838 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
3840 * files.el (trash-directory): Fix defcustom type.
3842 2009-06-28 Juri Linkov <juri@jurta.org>
3844 * help-fns.el (describe-function-1): Correctly locate adviced
3845 functions in hyperlink (Bug#2438).
3847 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
3849 * files.el (trash-directory): Change default to nil.
3850 (move-file-to-trash): If trash-directory is nil and
3851 system-move-file-to-trash is unbound, perform freedesktop-style
3854 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
3856 * files.el (move-file-to-trash): Add freedesktop trash
3859 2009-06-28 Glenn Morris <rgm@gnu.org>
3861 * autorevert.el (global-auto-revert-non-file-buffers)
3862 (global-auto-revert-mode): Doc fixes.
3864 2009-06-27 Johan Bockgård <bojohan@gnu.org>
3866 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
3868 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
3870 * faces.el (x-handle-named-frame-geometry): Ensure that we have
3871 opened an X connection before calling x-get-resource (Bug#3194).
3873 * play/doctor.el: Remove reference to obsolete website.
3874 (make-doctor-variables): Correct grammar mistake (Bug#2633).
3876 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
3878 Remove find-file-not-found-hook VC method. (Bug#2757)
3879 * vc-hooks.el (vc-file-not-found-hook)
3880 (vc-default-find-file-not-found-hook): Remove functions.
3881 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
3882 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
3885 * vc-git.el: Do not mention find-file-not-found-hook VC method.
3887 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
3889 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
3890 compatibility function for `looking-back'.
3892 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
3893 Use `ispell-looking-back'.
3895 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
3897 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
3898 rather than `filename'.
3900 2009-06-23 Miles Bader <miles@gnu.org>
3902 * face-remap.el (text-scale-set): New function.
3904 2009-06-23 Glenn Morris <rgm@gnu.org>
3906 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
3908 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
3910 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
3912 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
3914 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
3915 Simplify Persian conditionals.
3917 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
3918 variable `filename'.
3920 * comint.el (comint-insert-input): Doc fix.
3922 * Makefile.in (ELCFILES): Fix typo in previous change.
3924 2009-06-23 Miles Bader <miles@gnu.org>
3926 * cus-start.el: Add entry for `recenter-redisplay'.
3928 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
3930 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
3931 Add an optional argument for the backend, use it instead of
3933 (vc-mode-line): Add an optional argument for the backend.
3934 Pass the backend to vc-state and vc-working-revision. Move code for
3935 special handling for vc-state being a buffer to ...
3937 * vc-rcs.el (vc-rcs-find-file-hook):
3938 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
3940 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
3941 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
3942 vc-stay-local-p and vc-mode-line calls.
3944 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
3945 (vc-cvs-diff, vc-cvs-annotate-command)
3946 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
3947 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
3950 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
3952 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
3953 backend when calling vc-mode-line.
3954 (vc-register): Do not create a closure for calling the vc register
3955 function, call it directly.
3957 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
3959 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
3960 to make it obvious item can be clicked.
3962 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
3964 2009-06-23 Kenichi Handa <handa@m17n.org>
3966 * language/korea-util.el (korean-key-bindings): Change the binding
3967 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
3970 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
3972 Sync with Tramp 2.1.16.
3974 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
3976 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
3977 when a loading of a package fails. Completion function for rsync
3978 is `tramp-completion-function-alist-ssh'.
3979 (all): Replace all calls of `split-string' and
3980 `tramp-split-string' by `tramp-compat-split-string'.
3981 (tramp-default-method): Use `tramp-compat-process-running-p'.
3982 (tramp-default-proxies-alist): Allow also Lisp forms.
3983 (tramp-remote-path): Add choice "Private Directories".
3984 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
3985 (tramp-domain-regexp): Allow also "-", "_" and ".".
3986 (tramp-end-of-output): Remove newlines, and add "$" at the end.
3987 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
3988 (tramp-debug-message): Insert header line in debug buffer.
3989 (tramp-handle-directory-files-and-attributes-with-stat):
3990 Care about filenames with spaces, or starting with "-".
3991 (tramp-handle-dired-uncache): New defun.
3992 (tramp-handle-insert-directory): Don't flush the directory from
3993 cache, this is handled by `dired-uncache' now.
3994 (tramp-handle-insert-file-contents): Improve error handling.
3995 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3996 Quote `tramp-end-of-output'.
3997 (tramp-action-password): Improve trace message.
3998 (tramp-check-for-regexp): Both echoes must be present, before removing.
3999 (tramp-open-connection-setup-interactive-shell): Trace coding system.
4000 (tramp-compute-multi-hops): Eval cons cells of
4001 `tramp-default-proxies-alist'.
4002 (tramp-maybe-open-connection): Use the same command pattern for
4003 first hop and further hops.
4004 (tramp-wait-for-output): Remove handling of newlines.
4005 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
4006 (tramp-split-string): Remove function. It is handled in
4009 * net/tramp-cmds.el (tramp-bug):
4010 Recommend `tramp-cleanup-all-connections' in the bug mail.
4012 * net/tramp-compat.el (tramp-compat-split-string)
4013 (tramp-compat-process-running-p): New defuns.
4015 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
4016 for `dired-uncache'.
4018 * net/tramp-gvfs.el: New package.
4020 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4021 Add handler for `dired-uncache'.
4022 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
4024 * net/trampver.el: Update release number. Make version check fit
4027 2009-06-22 Jim Meyering <meyering@redhat.com>
4029 Automatically handle .xz suffix (XZ-compressed files), too.
4030 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
4031 XZ is the successor to LZMA: <http://tukaani.org/xz/>
4033 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
4034 Nick Roberts <nickrob@snap.net.nz>
4036 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
4037 repository (http://sphinx.net.ru/hg/gdb-mi/).
4039 2009-06-22 Glenn Morris <rgm@gnu.org>
4041 * files.el (dir-locals-collect-mode-variables): Allow for any number of
4042 `mode' and `eval' entries. (Bug#3430)
4044 * Makefile.in (ELCFILES): Add fadr.elc.
4046 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
4047 differing behavior of \n and ^ in strings. (Bug#3385)
4049 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
4051 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
4053 (lisp-indent-function): Make it a defcustom.
4055 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
4057 * progmodes/gdb-ui.el: Replace with ...
4058 * progmodes/gdb-mi.el: ... this file.
4059 * progmodes/gud.el: Modify for gdb-mi.el.
4061 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
4063 * fadr.el: New file.
4065 See ChangeLog.14 for earlier changes.
4071 Copyright (C) 2009 Free Software Foundation, Inc.
4073 This file is part of GNU Emacs.
4075 GNU Emacs is free software: you can redistribute it and/or modify
4076 it under the terms of the GNU General Public License as published by
4077 the Free Software Foundation, either version 3 of the License, or
4078 (at your option) any later version.
4080 GNU Emacs is distributed in the hope that it will be useful,
4081 but WITHOUT ANY WARRANTY; without even the implied warranty of
4082 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4083 GNU General Public License for more details.
4085 You should have received a copy of the GNU General Public License
4086 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
4088 ;; arch-tag: d3e45e38-19e2-49b6-8dc2-7cb26adcc5a1