1 2009-09-24 Alan Mackenzie <acm@muc.de>
3 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
4 c-forward-conditionals, but it doesn't move point and doesn't set
6 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
7 (c-down-conditional-with-else, c-backward-conditional)
8 (c-forward-conditional): Refactor to use c-scan-conditionals.
10 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
12 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
13 (help-default-arg-highlight): Remove.
14 (help-highlight-arg): New function.
15 (help-do-arg-highlight): Use it.
16 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
18 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
20 * term.el (term-set-scroll-region, term-handle-ansi-escape):
21 Undo last change, which didn't fix the problem and introduced others.
23 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
25 * progmodes/gdb-mi.el: Don't require speedbar.
26 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
28 2009-09-24 Glenn Morris <rgm@gnu.org>
30 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
32 * term/ns-win.el (ns-reg-to-script): Define for compiler.
34 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
35 there is no newline after the final mime boundary. (Bug#4539)
36 Move markers on insertion so that any buttons inserted don't end up in
37 the next part of a multipart message.
38 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
39 (rmail-mime-bulk-handler): Optionally handle images.
40 (rmail-mime-image): New button action.
41 (rmail-mime-image-handler): New function.
42 (rmail-mime-mode): New mode.
43 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
45 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
47 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
48 than just dropping elements from it (bug#4504).
50 * term.el (term-set-scroll-region): Don't move cursor any more.
51 (term-handle-ansi-escape): Call term-goto here instead.
52 Suggested by Ivan Kanis <apple@kanis.eu>.
54 * term.el: Require CL.
55 (term-ansi-reset): New function.
56 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
57 (term-handle-colors-array): Simplify.
59 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
61 * allout.el (allout-overlay-interior-modification-handler)
62 (allout-obtain-passphrase):
63 * epa-file.el (epa-file-write-region):
64 * ps-print.el (ps-begin-job):
65 * vc-hooks.el (vc-toggle-read-only):
66 * vc-rcs.el (vc-rcs-rollback):
67 * vc-sccs.el (vc-sccs-rollback):
68 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
69 (vc-version-diff, vc-revert, vc-rollback):
70 * wdired.el (wdired-check-kill-buffer):
71 * emacs-lisp/authors.el (authors):
72 * net/socks.el (socks-open-connection):
73 * net/zeroconf.el (zeroconf-service-add-hook):
74 * obsolete/vc-mcvs.el (vc-mcvs-register):
75 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
77 * progmodes/grep.el (lgrep, rgrep):
78 * progmodes/idlw-help.el (idlwave-help-check-locations)
79 (idlwave-help-html-link, idlwave-help-assistant-open-link):
80 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
81 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
82 (reftex-toc-rename-label): Fix typos in error messages.
84 * dired-aux.el (dired-do-shell-command): Reflow docstring.
85 (dired-copy-how-to-fn): Doc fix.
86 (dired-files-attributes, dired-read-shell-command):
87 Fix typos in docstrings.
89 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
90 (dired-x-find-file-other-window): Reflow docstrings.
91 (dired-omit-marker-char, dired-read-shell-command)
92 (dired-x-submit-report): Fix typos in docstrings.
94 * shell.el (shell-mode-hook):
95 * view.el (View-scroll-line-forward):
96 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
97 Fix typos in docstrings.
99 * net/dig.el (dig-invoke): Fix typo in docstring.
100 (query-dig): Reflow docstring.
102 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
103 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
104 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
105 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
106 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
107 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
108 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
109 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
110 (idlwave-completion-map, idlwave-current-indent)
111 (idlwave-custom-ampersand-surround, idlwave-customize)
112 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
113 (idlwave-define-abbrev, idlwave-determine-class-special)
114 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
115 (idlwave-end-block-reg, idlwave-end-of-statement)
116 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
117 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
118 (idlwave-explicit-class-listed, idlwave-file-header)
119 (idlwave-fill-paragraph, idlwave-find-class-definition)
120 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
121 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
122 (idlwave-in-quote, idlwave-indent-action-table)
123 (idlwave-indent-expand-table, idlwave-indent-line)
124 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
125 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
126 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
127 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
128 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
129 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
130 (idlwave-outlawed-buffers, idlwave-popup-select)
131 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
132 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
133 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
134 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
135 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
136 (idlwave-statement-type, idlwave-struct-skip)
137 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
138 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
139 (idlwave-what-module-find-class): Fix typos in docstrings.
140 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
141 (idlwave-calculate-cont-indent, idlwave-expand-equal)
142 (idlwave-find-module, idlwave-find-structure-definition)
143 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
144 (idlwave-list-load-path-shadows, idlwave-next-statement)
145 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
146 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
147 (idlwave-template): Reflow docstrings.
149 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
150 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
151 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
152 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
153 (idlwave-shell-display-line, idlwave-shell-display-wframe)
154 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
155 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
156 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
157 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
158 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
159 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
160 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
161 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
162 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
163 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
164 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
165 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
166 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
167 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
168 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
169 Fix typos in docstrings.
170 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
171 (idlwave-shell-hide-output, idlwave-shell-mode)
172 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
175 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
177 2009-09-24 Ivan Kanis <apple@kanis.eu>
179 * term.el (term-bold-attribute): New var.
180 (term-handle-colors-array): Use it.
182 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
184 * progmodes/gdb-mi.el (gdb-version): New variable.
185 (gdb-non-stop-handler): Set gdb-version.
186 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
187 Condition "--thread" option on gdb-version.
188 (gdb-invalidate-threads): Remove unused argument.
190 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
192 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
193 to looking-back to avoid ridiculous slow down in large files (bug#4511).
195 2009-09-23 Glenn Morris <rgm@gnu.org>
197 * mail/rmail.el (rmail-reply): Don't try to add a References header when
198 replying to mail without References or Message-Id. (Bug#4525)
200 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
202 * term/ns-win.el (ns-reg-to-script): New variable.
204 2009-09-23 Daiki Ueno <ueno@unixuser.org>
206 * epg.el (epg-wait-for-status): Preserve existing 'error results.
208 2009-09-22 Sam Steingold <sds@gnu.org>
210 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
211 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
212 to 1 because hg returns status 1 when nothing is found.
213 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
215 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
217 * textmodes/fill.el: Convert to utf-8 encoding.
218 (fill-french-nobreak-p): Remove redundant » and « inherited from our
221 * add-log.el (change-log-fill-forward-paragraph): New function.
222 (change-log-mode): Use it so fill-region DTRT.
223 Set fill-indent-according-to-mode here rather than in
224 change-log-fill-paragraph.
225 (change-log-fill-paragraph): Remove.
227 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
229 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
230 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
232 2009-09-22 Glenn Morris <rgm@gnu.org>
234 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
235 the scroll-bar scroll the calendar window rather than the buffer.
237 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
238 commands that move point (as opposed to scrolling).
240 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
242 * emacs-lisp/elint.el (elint): New custom group.
243 (elint-log-buffer): Make it a defcustom.
244 (elint-scan-preloaded, elint-ignored-warnings)
245 (elint-directory-skip-re): New options.
246 (elint-builtin-variables): Doc fix.
247 (elint-preloaded-env): New variable.
248 (elint-unknown-builtin-args): Add an entry for encode-time.
249 (elint-extra-errors): Make it a variable rather than a constant.
250 (elint-preloaded-skip-re): New constant.
251 (elint-directory): Skip files matching elint-directory-skip-re.
252 (elint-features): New variable, local to linted buffers.
253 (elint-update-env): Initialize elint-features. Possibly add
254 elint-preloaded-env to the buffer's environment.
255 (elint-get-top-forms): Bind elint-current-pos, for log messages.
257 (elint-init-form): New function, extracted from elint-init-env.
258 Make non-list forms a warning rather than an error.
259 Add the mode-map for define-derived-mode. Handle define-minor-mode,
260 easy-menu-define, put that adds an error-condition, and provide.
261 When requiring cl, also require cl-macs. Really require cl, to handle
262 some cl macros. Store required libraries in the list elint-features,
263 so as not to re-load them. Treat cc-require like require.
264 (elint-init-env): Call elint-init-form to do the work.
265 Handle eval-and-compile and such like.
266 (elint-add-required-env): Do not clear messages.
267 (elint-special-forms): Add handlers for function, defalias, if, when,
269 (elint-form): Add optional argument to ignore elint-special-forms,
270 useful to prevent recursive calls from handlers. Doc fix.
271 Respect elint-ignored-warnings.
272 (elint-form): Respect elint-ignored-warnings.
273 (elint-bound-variable, elint-bound-function): New variables.
274 (elint-unbound-variable): Respect elint-bound-variable.
275 (elint-get-args): Respect elint-bound-function.
276 (elint-check-cond-form): Add some simple handling for (f)boundp and
278 (elint-check-defalias-form): New handler.
279 (elint-check-let-form): Make an empty let a warning rather than an
281 (elint-check-setq-form): Make an empty setq a warning rather than an
282 error. Respect elint-ignored-warnings.
283 (elint-check-defvar-form): Accept null doc-strings.
284 (elint-check-conditional-form): New handler. Does some simple-minded
285 checking of featurep and (f)boundp tests.
286 (elint-put-function-args): New function.
287 (elint-initialize): Use elint-scan-doc-file rather than
288 elint-find-builtin-variables. Use elint-put-function-args.
289 Possibly scan preloaded-file-list.
290 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
291 extend to handle functions as well.
293 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
295 * linum.el (linum-delete-overlays, linum-update-window):
296 Do not modify the right margin. (Bug#3971)
298 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
300 * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
301 nxml-mode instead of xml-mode.
303 2009-09-21 Kevin Ryde <user42@zip.com.au>
305 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
307 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
309 * net/dig.el (dig-mode): Use define-derived-mode.
311 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
313 * vc-dispatcher.el (vc-do-command): Return the process object in
314 the asynchronous case. Use when instead of if. Do not run
315 vc-exec-after to display a message if not enabled.
317 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
318 properties to the stash strings.
319 (vc-git-stash-list): Return a list of strings.
320 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
321 (vc-git-stash-show-at-point): New functions.
322 (vc-git-stash-map): New keymap.
324 * register.el (ctl-x-r-map): Define the keys here instead of
327 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
329 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
330 list, to workaround performance problem (bug#4485).
332 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
334 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
336 2009-09-20 Daiki Ueno <ueno@unixuser.org>
338 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
339 Document that this option is not recommended to use.
341 2009-09-19 Glenn Morris <rgm@gnu.org>
343 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
346 * calc/calc-alg.el (var):
347 * calc/calcalg2.el (var): Define for compiler.
349 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
351 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
354 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
356 * time-stamp.el (time-stamp-month-dd-yyyy)
357 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
358 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
359 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
360 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
361 Remove functions that have been obsolete since 1995 (Bug#4436).
363 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
364 indent buffer only if called interactively (Bug#4452).
366 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
367 Eli Zaretskii <eliz@gnu.org>
369 This fixes bug#4197 (merged to bug#865, though not identical).
370 * server.el (server-auth-dir): Add docstring note about FAT32.
371 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
372 but warn against using them.
374 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
376 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
377 older GDB where there is no has_more field.
379 2009-09-19 Glenn Morris <rgm@gnu.org>
381 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
383 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
385 * files.el (auto-mode-alist): Change default for XML files to nXML
388 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
390 * server.el (server-ensure-safe-dir): Pass 'integer
391 to `file-attributes', as suggested.
393 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
395 * dired-aux.el (dired-query-alist): Remove spurious backslash.
396 (dired-query): Use read-key.
398 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
400 * cus-start.el (ns-use-qd-smoothing): Remove.
402 2009-09-18 Glenn Morris <rgm@gnu.org>
404 * allout.el (top-level): Remove unnecessary progn.
406 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
408 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
409 definition of abbrev table.
411 * speedbar.el (speedbar-track-mouse):
412 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
413 * net/eudc.el (eudc-expand-inline):
414 * net/newst-backend.el (newsticker--cache-read-feed):
415 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
416 condition-case handlers.
418 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
420 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
421 (gdb-var-list): Add an element for has_more field.
422 (gdb-non-stop-handler): Enable pretty printing for STL containers.
423 (gdb-var-create-handler, gdb-var-list-children-handler-1)
424 (gdb-var-update-handler-1): Parse output of dynamic variable
425 objects (STL containers).
426 (gdb-var-delete-1): Pass var1 as an explicit second argument.
427 (gdb-get-field): Delete alias. Use bindat-get-field directly.
429 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
431 (gud-speedbar-buttons): Make node expandable if expression "has more"
434 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
436 * startup.el (emacs-quick-startup): Remove variable and all uses.
437 (command-line): Set `inhibit-x-resources' instead.
438 (command-line-1): Use `inhibit-x-resources' instead.
440 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
442 * subr.el: Fix last change to avoid using the `unless' macro,
443 which breaks bootstrapping.
445 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
447 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
448 extended definitions, in case we reload subr.el after having
450 (eval-next-after-load): Mark as obsolete.
452 2009-09-17 Juri Linkov <juri@jurta.org>
454 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
455 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
456 (menu-bar-showhide-menu, menu-bar-tools-menu)
457 (menu-bar-describe-menu, menu-bar-help-menu)
458 (minibuffer-local-completion-map, minibuffer-local-map):
461 2009-09-17 Glenn Morris <rgm@gnu.org>
463 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
464 arguments, whether or not it has a handler.
466 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
468 * simple.el (hard-newline): Give it a doc-string.
470 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
471 (lisp-mode-syntax-table): Give them doc-strings.
473 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
475 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
476 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
477 (menu-bar-options-menu, menu-bar-showhide-menu)
478 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
479 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
480 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
481 (menu-bar-options-menu, menu-bar-tools-menu)
482 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
483 (menu-bar-help-menu):
484 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
487 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
488 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
489 calls for the menu names and :help.
491 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
493 * mouse.el (minor-mode-menu-from-indicator): Pay attention
494 to :minor-mode-function (bug#4455).
496 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
498 * startup.el (command-line): Initialize the window-system after
499 processing the command-line.
501 * textmodes/page.el (what-page): Make sure we don't inf-loop if
502 page-delimiter matches the empty string.
504 2009-09-16 Glenn Morris <rgm@gnu.org>
506 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
507 byte-compile-not-obsolete-var. It's a list now.
508 (byte-compile-not-obsolete-funcs): New variable.
509 (byte-compile-warn-obsolete): Don't warn about functions if they are in
510 byte-compile-not-obsolete-funcs.
511 (byte-compile-variable-ref, byte-compile-defvar): Update for
512 byte-compile-not-obsolete-vars name-change and list nature.
513 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
514 and variables behind (f)boundp tests.
515 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
517 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
519 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
521 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
523 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
524 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
527 2009-09-15 Stephen Eglen <stephen@gnu.org>
529 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
530 the virtual-buffers, use the name of the buffer specified by
531 find-file-noselect, as the match may be a symlink. (This was a
532 problem if the target and the symlink had different names.)
534 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
536 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
538 * desktop.el (desktop-path): Check user-emacs-directory.
540 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
542 * loadup.el: Use after-load-functions to GC after loading each file.
543 Remove the explicit GC calls that used to be sprinkled around.
545 * subr.el (after-load-functions): New hook.
546 (do-after-load-evaluation): Run it. Use string-match-p to detect
547 `obsolete' packages, rather than painfully extracting the relevant
550 2009-09-15 Glenn Morris <rgm@gnu.org>
552 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
555 * dired.el (dired-mode-map): Add menu entry for async shell command.
557 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
558 variables, also consider the .elc files, since the .el files are
559 normally gzipped (subsequent code locates the .el.gz from the .elc).
561 * calc/calc-prog.el (arglist): Define for compiler.
563 * calendar/diary-lib.el (diary-display-function): Change the default to
565 (body): Define for compiler.
567 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
568 (byte-compile-file-form, byte-compile-lambda)
569 (byte-compile-top-level-body, byte-compile-form)
570 (byte-compile-variable-ref, byte-compile-setq)
571 (byte-compile-setq-default, byte-compile-body)
572 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
573 (batch-byte-compile): Give some more local variables with common names
574 a "bytecomp-" prefix to avoid masking warnings about free variables.
576 * startup.el (command-line-1): Give local variables with common names a
577 distinguishing prefix, so as not to hide free variable warnings during
580 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
581 clever and add a suffix to make a unique name, just let the user decide
582 whether or not to overwrite it. If the input is a directory, write the
583 default filename to that directory. (Bug#4388)
584 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
585 is a filename-as-a-directory.
587 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
589 * textmodes/page.el (what-page): Don't move to beginning of line.
590 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
592 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
594 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
596 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
598 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
599 * help.el (help-for-help-internal): Add purecopy calls for text.
601 * vc.el (top): print-log method now takes an optional SHORTLOG
602 argument. Add a new method: root.
603 (vc-root-diff, vc-print-root-log): New functions.
604 (vc-log-short-style): New variable.
605 (vc-print-log-internal): Add support for showing short logs.
607 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
608 vc-print-root-log and vc-print-root-diff.
610 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
611 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
612 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
615 * vc-cvs.el (vc-cvs-print-log):
616 * vc-mtn.el (vc-mtn-print-log):
617 * vc-rcs.el (vc-rcs-print-log):
618 * vc-sccs.el (vc-sccs-print-log):
619 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
620 that is ignored for now.
622 * vc-mtn.el (vc-mtn-annotate-command):
623 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
625 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
627 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
628 to function-key-map, and give them ascii-character property.
629 * term/x-win.el (x-alternatives-map):
630 * term/ns-win.el (ns-alternatives-map):
631 * term/internal.el (msdos-key-remapping-map):
632 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
634 2009-09-14 Glenn Morris <rgm@gnu.org>
636 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
637 temp-buffers (2009-09-12).
639 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
641 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
642 the new read-key function.
644 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
646 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
647 is defined (Bug#4405).
649 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
651 * recentf.el (recentf-cleanup): Use a hash table to find
652 duplicates (Bug#4407).
654 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
656 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
657 kp-0 to ascii equivalents (Bug#4325).
659 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
661 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
664 * eshell/em-dirs.el (eshell-complete-user-reference):
665 Declare pcomplete functions and variables to avoid compiler warnings.
667 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
669 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
670 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
671 * eshell/em-alias.el (eshell-aliases-file):
672 * eshell/em-hist.el (eshell-history-file-name):
673 Use expand-file-name instead of concat to make file names (Bug#4308).
675 2009-09-13 Glenn Morris <rgm@gnu.org>
677 * ediff-merg.el (ediff-do-merge):
678 * filesets.el (filesets-run-cmd):
679 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
680 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
681 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
682 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
683 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
684 Replace empty `let's with `progn'.
686 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
688 * mail/sendmail.el (send-mail-function):
689 * tooltip.el (tooltip-mode):
690 * simple.el (transient-mark-mode):
691 * rfn-eshadow.el (file-name-shadow-mode):
692 * frame.el (blink-cursor-mode):
693 * font-core.el (global-font-lock-mode):
694 * files.el (temporary-file-directory)
695 (small-temporary-file-directory, auto-save-file-name-transforms):
696 * epa-hook.el (auto-encryption-mode):
697 * composite.el (global-auto-composition-mode):
698 Use custom-initialize-delay.
699 * startup.el (command-line): Don't explicitly call
700 custom-reevaluate-setting for all the above vars.
701 * custom.el (custom-initialize-safe-set)
702 (custom-initialize-safe-default): Delete.
704 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
706 * term/x-win.el (x-initialize-window-system):
707 * term/w32-win.el (w32-initialize-window-system):
708 * term/ns-win.el (ns-initialize-window-system): Don't call
709 mouse-wheel-mode since it's enabled globally by default already.
711 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
712 actually define the variable, but only silences the byte-compiler.
713 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
714 before looking it up.
715 (mouse-wheel-scroll-amount): Also reset the bindings if this value
718 2009-09-12 Glenn Morris <rgm@gnu.org>
720 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
722 (elint-add-required-env): Don't beep on error.
723 (elint-forms): In case of error, return ENV unchanged.
724 (elint-init-env): Skip non-list forms.
725 (elint-log): Handle unknown file positions.
727 2009-09-12 Daiki Ueno <ueno@unixuser.org>
729 * epg.el (epg-make-context): Add autoload cookie.
730 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
731 (epg-decrypt-string, epg-start-verify, epg-verify-file)
732 (epg-verify-string, epg-start-sign, epg-sign-file)
733 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
734 (epg-encrypt-string, epg-start-export-keys)
735 (epg-export-keys-to-file, epg-export-keys-to-string)
736 (epg-start-import-keys, epg-import-keys-from-file)
737 (epg-import-keys-from-string, epg-start-receive-keys)
738 (epg-receive-keys, epg-import-keys-from-server)
739 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
740 (epg-sign-keys, epg-start-generate-key)
741 (epg-generate-key-from-file, epg-generate-key-from-string):
742 Remove autoload cookie.
744 2009-09-12 Eli Zaretskii <eliz@gnu.org>
746 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
747 reevaluation of trash-directory.
749 * mwheel.el: Fix last change.
750 (mouse-wheel-mode): New defvar.
751 (mouse-wheel-mode): Remove autoload cookie.
753 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
755 * mwheel.el (mwheel-installed-bindings): New var.
756 (mouse-wheel-mode): Use it, so as to make sure we really remove all
757 the bindings we set last time. Use custom-initialize-delay.
758 * loadup.el: Load mwheel after term/*-win.el.
759 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
760 and mouse-wheel-up-event now that their first evaluation is done
761 sufficiently late to be correct.
763 * startup.el (tutorial-directory): Make it a defcustom.
764 Use custom-initialize-delay rather than eval-at-startup to set it.
765 * image.el (image-load-path): Make it a defcustom.
766 Use custom-initialize-delay rather than eval-at-startup to set it.
767 * subr.el (eval-at-startup): Remove.
768 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
770 * subr.el (do-after-load-evaluation): Warn the user after loading an
773 2009-09-12 Glenn Morris <rgm@gnu.org>
775 * proced.el (proced-mark-alt): Remove alias.
776 (proced-mode-map): Remove proced-mark-alt.
778 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
779 Elint file and directory. Remove initialization entry.
781 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
783 (elint-current-buffer): Set mode-line-process.
784 (elint-init-env): Handle define-derived-mode.
785 Fix declare-function with unspecified arglist. Guard against odd
786 defalias statements (eg iso-insert's 8859-1-map).
787 (elint-add-required-env): Use a temp buffer.
788 (elint-form): Just print the function/macro name, not the whole form.
789 Return env unchanged if we fail to parse a macro.
790 (elint-forms): Guard against parse errors.
791 (elint-output): New function, to handle batch mode.
792 (elint-log-message): Add optional argument. Use elint-output.
793 (elint-set-mode-line): New function.
795 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
797 * emacs-lisp/elp.el (elp-not-profilable): Add more
798 functions (Bug#4233).
800 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
802 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
803 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
805 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
807 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
808 (gdb-var-list-children): Use json parsing.
810 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
812 * progmodes/js.el (js--proper-indentation): Handle the case where
813 char-before is null. Reported by Deniz Dogan.
815 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
817 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
819 2009-09-11 Daiki Ueno <ueno@unixuser.org>
821 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
822 (epg-digest-algorithm-alist): Add SHA224.
823 (epg-context-set-passphrase-callback)
824 (epg-context-set-progress-callback): Add description about
827 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
829 * custom.el (custom-delayed-init-variables): New var.
830 (custom-initialize-delay): New function.
831 * startup.el (command-line): "Re"evaluate all vars in
832 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
834 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
835 to avoid creating a ~/.emacs.d at build-time (bug#4347).
837 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
839 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
841 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
842 (gdb-var-update-handler): Use json parsing.
844 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
846 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
847 decode annotated text, regardless of language environment. (Bug#2741)
849 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
851 * Makefile.in (autoloads): Make rmail.el writable as well.
853 2009-09-11 Glenn Morris <rgm@gnu.org>
855 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
857 * dired.el: Regenerate with extracted autoloads.
858 * Makefile.in (autoloads): Make dired.el writable.
860 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
861 * ibuffer.el: Regenerate with extracted autoloads.
862 * Makefile.in (autoloads): Make ibuffer.el writable.
864 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
865 * version.el (emacs-copyright, emacs-major-version)
866 (emacs-minor-version): Reformat doc-strings for make-docfile.
868 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
869 functions and variables, since they must be stuff specific to some other
871 (apropos-print): Make mouse-click message less specific about button.
873 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
874 that records where a macro was defined.
875 * help-fns.el (describe-function-1): Mention if a function has a
877 * help-mode.el (help-function-cmacro): New button.
879 * locate.el (top-level): Always require dired.
880 (locate-mode-map): Initialize inside the defvar.
882 * net/ange-ftp.el (dired-compress-file): Declare.
883 (ange-ftp-dired-compress-file): Add doc string.
885 * term/ns-win.el (x-display-name, x-setup-function-keys):
886 Unify doc-strings with X versions.
888 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
890 * emulation/crisp.el (crisp-mode-map): Move initialization
892 (crisp-mode): Use define-minor-mode.
894 * progmodes/xscheme.el (xscheme-evaluation-commands):
895 Put a :advertised-binding property rather than using
896 advertised-xscheme-send-previous-expression.
897 (advertised-xscheme-send-previous-expression): Declare obsolete.
898 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
900 (crisp-mode): Add corresponding bindings to
901 undo's :advertised-binding instead.
902 * dired.el (dired-mode-map): Put a :advertised-binding property rather
903 than using dired-advertised-find-file.
904 (dired-advertised-find-file):
905 * simple.el (advertised-undo):
906 * wid-edit.el (advertised-widget-backward): Declare obsolete.
907 (widget-keymap): Put a :advertised-binding property rather
908 than using advertised-widget-backward.
909 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
910 than using advertised-undo.
911 * tutorial.el (tutorial--default-keys): Adjust accordingly.
913 2009-09-10 Simon South <ssouth@slowcomputing.org>
915 * progmodes/delphi.el (delphi-tab): Indent region when Transient
916 Mark mode is enabled and region is active; otherwise indent or
918 (delphi-mode): Update description of TAB-key binding.
920 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
922 * subr.el (define-key-rebound-commands): Mark obsolete.
923 * startup.el (precompute-menubar-bindings): Remove.
924 (normal-top-level): Remove obsolete code that tried to precompute
926 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
927 define-key-rebound-commands and precompute-menubar-bindings.
929 2009-09-10 Glenn Morris <rgm@gnu.org>
931 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
933 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
934 (byte-compile-file-form-autoload): Don't warn about unknown functions
935 where the autoload statement comes after the use.
936 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
937 that any handlers inside the body (eg require) are in turn respected.
939 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
942 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
943 and syntax and abbrev tables basic docs, if they don't have any.
945 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
947 * international/mule-cmds.el (top-level): Require cl when compiling.
948 (view-hello-file): Use default-value rather than
949 default-enable-multibyte-characters.
951 * progmodes/fortran.el: Move all safe and risky properties into the
954 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
955 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
957 Put autoloads in rmail.el rather than loaddefs.el.
958 * mail/rmail.el: Regenerate with extracted autoloads.
960 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
961 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
963 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
965 Reported in thread for Bug#4375.
966 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
967 "-data-evaluate-expression" instead of print.
968 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
969 (gdb-tooltip-print): Parse output from above MI command.
970 (gdb): Revert 2009-08-11 change. User should detach inferior
973 Remove the word "separate" from IO functions as inferior
974 output is now never displayed in the GUD buffer.
976 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
978 * startup.el (command-line-normalize-file-name): On Windows and
979 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
981 2009-09-10 Juri Linkov <juri@jurta.org>
983 * isearch.el (isearch-text-char-description): Propertize escape
984 character sequences with the `escape-glyph' face. (Bug#4344)
986 * simple.el (shell-command): Set asynchronous process filter to
987 `comint-output-filter'. (Bug#4343)
989 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
990 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
991 the list. Move "asm" to the bottom.
992 (grep-find-ignored-directories): Add `choice' with nil value
993 to empty the list easily.
994 (grep-find-ignored-files): New option.
995 (grep-files-history): Set to nil by default instead of '("ch" "el").
996 (grep-compute-defaults): Add "<X>" to `grep-template'.
997 (grep-read-files): Bind new local variables `default-alias' and
998 `default-extension'. Use a list of default values for the file prompt.
999 (lgrep): Add `--exclude=' command line options composed from
1000 `grep-find-ignored-files'.
1001 (rgrep): Add `-name' command line options composed from
1002 `grep-find-ignored-files'. (Bug#4301)
1004 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
1006 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
1009 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
1011 * calendar/time-date.el (autoload):
1012 Expand define-obsolete-function-alias into defalias and make-obsolete
1013 for old Emacsen that Gnus supports.
1014 (with-no-warnings): Define it for old Emacsen.
1015 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
1017 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
1018 float-time is available; suppress compile warning for time-to-seconds.
1020 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
1022 * net/imap.el (imap-message-map): Docstring fix.
1024 2009-09-09 Glenn Morris <rgm@gnu.org>
1026 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
1027 line numbers too. (Bug#4374)
1029 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
1031 * smerge-mode.el (smerge-remove-props, smerge-refine):
1032 Use with-silent-modifications (bug#4342).
1034 * subr.el (with-silent-modifications): New macro.
1036 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
1038 * files.el (top-level): Require `cl' when compiling.
1040 2009-09-07 Glenn Morris <rgm@gnu.org>
1042 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
1044 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
1045 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
1047 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
1049 * vc-git.el (vc-git-annotate-command): Use separator to parse
1050 arguments correctly.
1052 2009-09-06 Eli Zaretskii <eliz@gnu.org>
1054 * proced.el (proced-mode): Doc fix.
1056 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
1058 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
1060 (tramp-do-file-attributes-with-ls): Check for file existence at
1062 (tramp-do-file-attributes-with-stat): Likewise.
1063 (tramp-convert-file-attributes): Return nil when attr is nil.
1065 2009-09-05 Glenn Morris <rgm@gnu.org>
1067 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
1068 properties to this button.
1069 (diary-fancy-display): Don't extend the button to the final newline.
1070 (diary-fancy-display-mode): Continue to define "q" as a local key.
1072 * calendar/cal-china.el (holiday-chinese): Make it slightly more
1075 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
1077 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
1078 (byte-compile-dest-file-function): New option.
1079 (byte-compile-dest-file): Doc fix.
1080 Obey byte-compile-dest-file-function.
1081 (byte-compile-cl-file-p): New function.
1082 (byte-compile-eval): Only suppress noruntime warnings about cl functions
1083 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
1084 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
1085 than for file being previously loaded.
1086 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
1087 (byte-compile-file-form-require): Handle the case where requiring a file
1088 indirectly causes CL to be loaded.
1090 2009-09-05 Karl Fogel <kfogel@red-bean.com>
1092 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
1093 before killing the old buffer, since by the time `kill-buffer' is
1094 run so many buffer variables have been set to nil that it may not
1095 behave as expected. (Bug#4061)
1097 2009-09-05 Karl Fogel <kfogel@red-bean.com>
1099 * files.el (find-alternate-file): If the old buffer is modified
1100 and visiting a file, behave similarly to `kill-buffer' when
1101 killing it, thus reverting to the pre-1.878 behavior; see
1102 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
1103 for discussion. Also, consult `buffer-file-name' as a variable
1104 not as a function, for consistency with the rest of the code.
1106 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
1108 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
1109 also when adding a new directory.
1111 * net/tramp-compat.el (tramp-compat-line-beginning-position): New
1114 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1116 * files.el (locate-file-completion-table): Make it provide boundary
1117 information, so partial-completion works better.
1119 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
1121 * mail/footnote.el (Footnote-text-under-cursor):
1122 Check footnote-text-marker-alist before using it (bug#4324).
1124 2009-09-04 Glenn Morris <rgm@gnu.org>
1126 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
1127 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
1128 * play/solitaire.el, play/tetris.el:
1129 Remove leading * from defcustom and defface docs.
1131 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
1133 (diary-fancy-overriding-map): New variable.
1134 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
1137 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
1140 2009-09-03 Glenn Morris <rgm@gnu.org>
1142 * arc-mode.el (archive-mode):
1143 * dos-fns.el (set-default-process-coding-system):
1144 * man.el (Man-getpage-in-background):
1145 * menu-bar.el (menu-bar-describe-menu):
1146 * server.el (server-process-filter):
1147 * startup.el (command-line):
1148 * tar-mode.el (tar-header-block-tokenize, tar-extract):
1149 * w32-fns.el (set-default-process-coding-system):
1150 * x-dnd.el (x-dnd-handle-file-name):
1151 * international/mule-cmds.el (mule-menu-keymap)
1152 (set-default-coding-systems, language-info-alist, set-language-info)
1153 (set-language-environment, standard-display-european-internal)
1154 (set-locale-environment):
1155 * international/mule-diag.el (mule-diag):
1156 * mail/emacsbug.el (report-emacs-bug):
1157 * mail/rmail.el (rmail-mode):
1158 * mail/sendmail.el (mail-setup):
1159 Use default-value rather than default-enable-multibyte-characters.
1161 * progmodes/f90.el: Move all safe properties into the defcustoms.
1162 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
1164 * calendar/appt.el (appt-check):
1165 * calendar/diary-lib.el (diary-set-header, diary-live-p)
1166 (diary-check-diary-file, diary-list-entries)
1167 (diary-include-other-diary-files, diary-simple-display)
1168 (diary-fancy-display, diary-print-entries)
1169 (diary-mark-included-diary-files, diary-make-entry):
1170 Don't call substitute-in-file-name on diary-file.
1172 2009-09-03 Eduard Wiebe <usenet@pusto.de>
1173 Stefan Monnier <monnier@iro.umontreal.ca>
1175 * mail/footnote.el (footnote-prefix): Make it a defcustom.
1176 (footnote-mode-map): Move initialization into the declaration.
1177 (footnote-minor-mode-map): Define it rather than changing global-map.
1178 (footnote-mode): Use define-minor-mode.
1180 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
1182 * net/tramp.el (tramp-handle-file-attributes-with-ls)
1183 (tramp-do-file-attributes-with-perl)
1184 (tramp-do-file-attributes-with-stat): Rename from
1185 `tramp-handle-file-attributes-with-*'.
1186 (tramp-handle-file-attributes): Use them.
1187 (tramp-do-directory-files-and-attributes-with-perl)
1188 (tramp-do-directory-files-and-attributes-with-stat): Rename from
1189 `tramp-handle-directory-files-and-attributes-with-*'.
1190 (tramp-handle-directory-files-and-attributes): Use them.
1191 (tramp-method-out-of-band-p): Additional parameter SIZE.
1192 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
1193 (tramp-handle-write-region): Use it.
1194 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
1195 (tramp-handle-vc-registered): Check, whether the first run did
1196 return files to be tested.
1197 (tramp-advice-make-auto-save-file-name): Do not call directly
1198 `tramp-handle-make-auto-save-file-name', because this would bypass
1199 the locking mechanism.
1201 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
1202 (file-remote-p, process-file, start-file-process, set-file-times)
1203 (tramp-compat-file-attributes): Compatibility functions shall not
1204 call directly `tramp-handle-*', because this would bypass the
1206 (tramp-compat-number-sequence): New defun.
1208 2009-09-02 Glenn Morris <rgm@gnu.org>
1210 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
1211 alias for float-time.
1212 (time-to-number-of-days): In Emacs, use float-time.
1213 * net/newst-backend.el (time-add): Suppress warnings from compat
1215 * time.el (emacs-uptime, emacs-init-time):
1216 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
1217 Use float-time rather than time-to-seconds.
1219 * minibuffer.el (completion-initials-expand): Fix typo.
1221 * faces.el (modeline, modeline-inactive, modeline-highlight)
1222 (modeline-buffer-id):
1223 * info.el (info-menu-5): Mark these face aliases as obsolete.
1225 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
1227 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
1229 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
1230 no "--thread" option.
1231 (gdb-stopped): Don't print "Switched to thread" message when it is
1234 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
1236 * minibuffer.el (completion-try-completion)
1237 (completion-all-completions): Remove ill-defined (and
1238 mistakenly installed and luckily never used nor documented)
1239 `completion-styles' property.
1240 (completion-initials-expand, completion-initials-all-completions)
1241 (completion-initials-try-completion): New functions.
1242 (completion-styles-alist): Add doc to each entry.
1243 Add new `initials' entry.
1245 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
1247 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
1248 MI command -var-evaluate-expression.
1249 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
1250 and tweak for case of string child.
1251 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
1253 2009-09-01 Glenn Morris <rgm@gnu.org>
1255 * add-log.el (change-log-date-face, change-log-name-face)
1256 (change-log-email-face, change-log-file-face, change-log-list-face)
1257 (change-log-conditionals-face, change-log-function-face)
1258 (change-log-acknowledgement-face):
1259 * cus-edit.el (custom-invalid-face, custom-rogue-face)
1260 (custom-modified-face, custom-set-face, custom-changed-face)
1261 (custom-saved-face, custom-button-face, custom-button-pressed-face)
1262 (custom-documentation-face, custom-state-face, custom-comment-face)
1263 (custom-comment-tag-face, custom-variable-tag-face)
1264 (custom-variable-button-face, custom-face-tag-face)
1265 (custom-group-tag-face-1, custom-group-tag-face):
1266 * diff-mode.el (diff-header-face, diff-file-header-face)
1267 (diff-index-face, diff-hunk-header-face, diff-removed-face)
1268 (diff-added-face, diff-changed-face, diff-function-face)
1269 (diff-context-face, diff-nonexistent-face):
1270 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
1271 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
1272 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
1273 (Info-title-4-face):
1274 * isearch.el (isearch-lazy-highlight-face):
1275 * log-view.el (log-view-file-face, log-view-message-face):
1276 * paren.el (show-paren-match-face, show-paren-mismatch-face):
1277 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
1278 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
1280 * smerge-mode.el (smerge-mine-face, smerge-other-face)
1281 (smerge-base-face, smerge-markers-face):
1282 * wid-edit.el (widget-documentation-face, widget-button-face)
1283 (widget-field-face, widget-single-line-field-face)
1284 (widget-inactive-face, widget-button-pressed-face):
1285 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
1286 (woman-addition-face):
1287 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
1288 (eshell-ls-executable-face, eshell-ls-readonly-face)
1289 (eshell-ls-unreadable-face, eshell-ls-special-face)
1290 (eshell-ls-missing-face, eshell-ls-archive-face)
1291 (eshell-ls-backup-face, eshell-ls-product-face)
1292 (eshell-ls-clutter-face):
1293 * eshell/em-prompt.el (eshell-prompt-face):
1294 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
1295 * obsolete/old-whitespace.el (whitespace-highlight-face):
1296 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
1297 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
1298 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
1299 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
1300 (antlr-font-lock-literal-face):
1301 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
1302 (ebrowse-root-class-face, ebrowse-file-name-face)
1303 (ebrowse-default-face, ebrowse-member-attribute-face)
1304 (ebrowse-member-class-face, ebrowse-progress-face):
1305 * progmodes/make-mode.el (makefile-space-face):
1306 * progmodes/sh-script.el (sh-heredoc-face):
1307 * textmodes/flyspell.el (flyspell-incorrect-face)
1308 (flyspell-duplicate-face):
1309 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
1310 * textmodes/texinfo.el (texinfo-heading-face):
1311 Mark face aliases with "-face" suffix as obsolete.
1313 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
1316 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
1317 (eudc-bob-sound-menu): Use defvar rather than defconst, since
1318 easy-menu-define wants to modify these.
1320 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
1322 * net/browse-url.el (browse-url-file-url):
1323 * term/internal.el (dos-codepage-setup):
1324 Use default-value rather than default-enable-multibyte-characters.
1326 * progmodes/etags.el (etags-goto-tag-location):
1327 * progmodes/flymake.el (flymake-highlight-line)
1328 (flymake-goto-file-and-line, flymake-goto-line):
1329 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
1330 (gdb-goto-breakpoint):
1331 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
1332 * progmodes/python.el (python-find-function)
1333 (python-pdbtrack-track-stack-file):
1334 * progmodes/verilog-mode.el (verilog-surelint-off):
1335 * term/ns-win.el (ns-open-file-select-line):
1336 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
1337 Use forward-line rather than goto-line.
1339 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
1340 * textmodes/reftex-index.el (reftex-display-index):
1341 * textmodes/reftex-ref.el (reftex-offer-label-menu):
1342 * textmodes/reftex-toc.el (reftex-toc):
1343 Remove unnecessary bindings of default-major-mode (all are followed by
1344 major-mode check and possible mode switch).
1346 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
1348 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1349 Handle watchpoints (bug#4282).
1350 (def-gdb-thread-buffer-command): Enable thread to be selected by
1351 clicking without selecting threads buffer first.
1352 (gdb-current-context-command): Use selected frame so that "up",
1353 "down" etc work in the GUD buffer.
1354 (gdb-update): Find selected frame before rendering stack buffer.
1355 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
1357 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
1359 * progmodes/sym-comp.el (displayed-completions): Remove.
1360 (symbol-complete): Use minibuffer-complete.
1362 2009-08-31 Glenn Morris <rgm@gnu.org>
1364 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
1366 * apropos.el (apropos-symbols-internal):
1367 Handle (obsolete) face aliases.
1369 * faces.el (describe-face): Adjust the output format to be more like
1370 describe-variable, and to mention (obsolete) face aliases.
1371 Adjust the whitespace so that help-setup-xref works.
1373 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
1374 * calendar/diary-lib.el (diary-button-face):
1375 Mark these face aliases as obsolete.
1377 * calendar/calendar.el (calendar-today): Doc fix.
1379 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
1381 * progmodes/gdb-mi.el (gdb-control-all-threads)
1382 (gdb-control-current-thread): Force tool bar update.
1383 (gdb-non-stop-handler): New function.
1384 (gdb-init-1): Use it to test if non-stop mode is supported.
1385 Remove unused gdbmi buffer type.
1387 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1389 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
1390 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
1392 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
1394 * comint.el (comint-exec-1): Check command is non-null first.
1395 Part of gdb-mi.el change (2009-08-28).
1397 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
1399 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
1401 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
1403 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
1404 instead of `dolist' to avoid a recursive require when bootstrapping.
1406 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
1408 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
1410 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
1412 * net/imap.el (imap-send-command): Simplify.
1413 (imap-wait-for-tag): point-max -> buffer-size.
1415 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
1417 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
1418 with constant argument.
1420 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
1422 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
1424 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
1425 Change default, since most of our files don't have a history.
1426 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
1429 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1432 * calc/calc.el: Improve commenting convention.
1433 (calc-digit-map, toplevel): Simplify.
1435 * comint.el (comint-insert-input): Be careful to only set point if we
1436 don't delegate to some other command.
1438 * proced.el (proced-signal-list): Make it an alist.
1439 (proced-grammar-alist): Capitalize names.
1440 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
1441 Disable undo manually and make it read-only.
1442 Use completion-annotate-function.
1444 * minibuffer.el (minibuffer-message): If the current buffer is not
1445 a minibuffer, insert the message in the echo area rather than at the
1447 (completion-annotate-function): New variable.
1448 (minibuffer-completion-help): Use it.
1449 (completion--embedded-envvar-table): Environment vars are
1450 always case-sensitive.
1452 2009-08-30 Glenn Morris <rgm@gnu.org>
1454 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
1455 from fortran-current-defun.
1456 (fortran-beginning-of-subprogram): Be more precise about finding the
1457 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
1458 (fortran-end-of-subprogram): Simplify.
1459 (fortran-current-defun): Use fortran-start-prog-re.
1461 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
1463 * subr.el (do-after-load-evaluation): Simplify.
1465 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
1467 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
1469 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
1470 (vc-rcs-print-log): Use it.
1472 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
1474 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1476 * paths.el (abbrev-file-name): Move to abbrev.el.
1477 * abbrev.el (abbrev-file-name): Move from paths.el.
1478 Obey user-emacs-directory.
1479 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
1480 user-emacs-directory.
1481 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
1482 abbrev-file-name and calc-settings-file any more.
1483 * startup.el (command-line): Recompute abbrev-file-name and
1484 abbreviated-home-dir.
1485 (normal-no-mouse-startup-screen): Improve the generic code and get rid
1486 of the special code for when C-h bindings haven't been changed.
1487 (display-startup-echo-area-message): Use with-current-buffer.
1488 (command-line-1): Use a list of strings, rather than a list of lists
1489 of strings for longopts.
1491 * files.el (get-free-disk-space): Use / for default-directory.
1493 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
1494 Use with-current-buffer.
1496 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
1497 Recognize immutable variables like most-positive-fixnum.
1498 (byte-compile-setq-default): Check and warn if trying to assign
1499 to an immutable variable, or a non-variable.
1501 * progmodes/cc-vars.el (c-comment-continuation-stars):
1502 * progmodes/cc-engine.el (c-looking-at-bos):
1503 * progmodes/cc-cmds.el (c-toggle-auto-state)
1504 (c-forward-into-nomenclature, c-backward-into-nomenclature)
1505 (c-comment-line-break-function): Add version of obsolescence.
1507 2009-08-28 Juri Linkov <juri@jurta.org>
1509 * files.el (magic-fallback-mode-alist): Add ZIP magic number
1510 associated with `archive-mode'.
1512 * image.el (image-type-header-regexps): Use only JPEG magic number
1513 to determine JPEG images, and don't use `image-jpeg-p' because
1514 Emacs can display non-JFIF non-Exif JPEG images.
1516 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
1518 * arc-mode.el (archive-mode):
1519 * emacs-lisp/re-builder.el (re-builder-unload-function):
1520 Protect against the default value of `major-mode' being nil.
1522 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
1524 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
1525 Fix typos in docstrings.
1527 * progmodes/js.el (js--macro-decl-re): Doc fix.
1528 (js--plain-method-re, js--split-name): Refloc docstring.
1529 (js--class-styles, js--make-merged-item, js--splice-into-items):
1530 Fix typos in docstrings; reflow docstrings.
1531 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
1532 (js--variable-decl-matcher, js--inside-pitem-p)
1533 (js--parse-state-at-point, js--get-all-known-symbols)
1534 (js--symbol-history, js-find-symbol, js--js-references)
1535 (js--moz-interactor, js--js-encode-value, js--read-tab):
1536 Fix typos in docstrings.
1538 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1540 * textmodes/reftex.el (reftex-get-file-buffer-force):
1541 * progmodes/verilog-mode.el (verilog-batch-execute-func):
1542 * emulation/viper.el (viper-go-away, viper-set-hooks):
1543 * emacs-lisp/re-builder.el (re-builder-unload-function):
1544 * emacs-lisp/bytecomp.el (byte-compile-file):
1545 * ses.el (ses-unload-function):
1546 * hexl.el (hexl-find-file):
1547 * files.el (normal-mode):
1548 * ehelp.el (with-electric-help):
1549 * autoinsert.el (auto-insert-alist):
1550 * arc-mode.el (archive-mode):
1551 Use (default-value 'major-mode) instead of default-major-mode.
1553 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
1554 * international/mule.el (load-with-code-conversion):
1555 * emacs-lisp/debug.el (debug):
1556 * ediff-vers.el (ediff-rcs-get-output-buffer):
1557 * dired.el (dired-internal-noselect): Don't let-bind
1558 default-major-mode around code that doesn't use it.
1559 E.g. buffer creation via get-buffer-create doesn't use it.
1561 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
1563 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
1564 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
1565 when writing the temp file. Otherwise, epa-file gets confused.
1566 (tramp-register-file-name-handlers): Make it a defun. Move also
1567 `epa-file-handler' to the front of `file-name-handler-alist'.
1569 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1571 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
1572 start right after a ^M.
1573 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
1574 (tramp-completion-file-name-regexp-separate)
1575 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
1576 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
1577 Don't modify last-coding-system-used by accident.
1578 (tramp-completion-file-name-handler): Apply the checks here,
1579 instead during registration.
1580 (tramp-register-file-name-handlers) Renamed from
1581 `tramp-register-file-name-handler'. Register both
1582 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
1583 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
1585 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
1587 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
1589 (gdb-init-1, gdb-display-separate-io-buffer)
1590 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
1592 (gdb-inferior-io-mode): Use make-comint-in-buffer.
1593 (gdb-inferior-filter): Use comint-output-filter to stop
1594 echoing and remove ^M characters.
1596 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1598 * emulation/viper-init.el (viper-restore-cursor-type):
1599 * emulation/cua-base.el (cua--update-indications):
1600 Replace default-cursor-type with (default-value 'cursor-type).
1602 * mail/sendmail.el (mail-recover-1):
1603 * international/mule-diag.el (describe-current-coding-system-briefly)
1604 (describe-current-coding-system):
1605 * international/mule-cmds.el (select-safe-coding-system)
1606 (select-message-coding-system)
1607 (set-language-environment-coding-systems, set-locale-environment):
1608 * hexl.el (hexl-insert-multibyte-char):
1609 * dos-w32.el (find-buffer-file-type-coding-system):
1610 * simple.el (what-cursor-position):
1611 Replace uses of default-buffer-file-coding-system
1612 with (default-value 'buffer-file-coding-system).
1614 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
1615 Replace uses of default-cursor-in-non-selected-windows
1616 with (default-value 'cursor-in-non-selected-windows).
1617 Use with-current-buffer.
1619 * mail/feedmail.el: Use CL macros.
1620 (feedmail-run-the-queue, feedmail-send-it-immediately):
1621 * dos-w32.el (find-buffer-file-type): Replace uses of
1622 default-buffer-file-type with (default-value 'buffer-file-type).
1624 2009-08-28 Glenn Morris <rgm@gnu.org>
1626 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
1627 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
1628 Use default-value of major-mode rather than default-major-mode.
1630 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
1632 * Makefile.in (update-elcfiles): Report left over elc files.
1634 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
1635 expand-file-name and with-current-buffer.
1636 (mail-get-names, mail-directory): Use with-current-buffer.
1638 * vc.el (vc-read-revision): New function.
1639 (vc-version-diff, vc-merge): Use it.
1641 2009-08-27 Sam Steingold <sds@gnu.org>
1643 * simple.el (kill-do-not-save-duplicates): New user option.
1644 (kill-new): When it is non-nil, and the new string is the same as
1645 the latest kill, set replace to t to avoid duplicates in kill-ring.
1647 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
1649 * net/tramp.el (tramp-handle-process-file): Do not flush all
1650 caches when `process-file-side-effects' is set.
1651 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
1652 instead of `tramp-find-file-exists-command'.
1653 Unset `process-file-side-effects'.
1655 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
1657 * net/tramp.el (tramp-methods): New method "rsyncc".
1658 (top): Add completion function for "rsyncc".
1659 (tramp-message-show-message): New defvar.
1660 (tramp-message, tramp-error): Use it.
1661 (tramp-do-copy-or-rename-file-directly): Extend check for direct
1663 (tramp-do-copy-or-rename-file-out-of-band): Handle new
1664 `tramp-methods' entry `copy-env' of "rsyncc".
1665 (tramp-vc-registered-read-file-names): New defconst.
1666 (tramp-vc-registered-file-names): New defvar.
1667 (tramp-handle-vc-registered): Implement optimization strategy.
1668 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
1669 (tramp-vc-file-name-handler): New defun.
1670 (tramp-get-ls-command, tramp-get-test-command)
1671 (tramp-get-file-exists-command, tramp-get-remote-ln)
1672 (tramp-get-remote-perl, tramp-get-remote-stat)
1673 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
1675 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
1676 (tramp-cache-inhibit-cache): Extend doc string. It allows also
1678 (tramp-get-file-property): Check for timestamps in
1679 `tramp-cache-inhibit-cache'.
1680 (tramp-set-file-property): Write timestamp.
1682 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
1684 * language/japan-util.el (japanese-symbol-table): Add entries for
1687 * international/characters.el: Add category `j' to cp932-2-byte.
1689 2009-08-27 Kenichi Handa <handa@m17n.org>
1691 * international/fontset.el (build-default-fontset-data): New macro.
1692 (setup-default-fontset): Use build-default-fontset-data for CJK,
1693 tibetan, ethiopic, and ipa.
1695 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
1697 * cus-start.el (default-major-mode): Customize `major-mode' instead.
1698 (enable-multibyte-characters): Not customizable any more.
1700 * subr.el (default-mode-line-format, default-header-line-format)
1701 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
1702 (default-direction-reversed, default-truncate-lines)
1703 (default-left-margin, default-tab-width, default-case-fold-search)
1704 (default-left-margin-width, default-right-margin-width)
1705 (default-left-fringe-width, default-right-fringe-width)
1706 (default-fringes-outside-margins, default-scroll-bar-width)
1707 (default-vertical-scroll-bar, default-indicate-empty-lines)
1708 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
1709 (default-fringe-cursor-alist, default-scroll-up-aggressively)
1710 (default-scroll-down-aggressively, default-fill-column)
1711 (default-cursor-type, default-buffer-file-type)
1712 (default-cursor-in-non-selected-windows)
1713 (default-buffer-file-coding-system, default-major-mode)
1714 (default-enable-multibyte-characters): Mark as obsolete.
1716 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
1718 * vc-dir.el (vc-dir-update): Remove debug helper.
1720 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
1722 2009-08-26 Sam Steingold <sds@gnu.org>
1724 * simple.el (save-interprogram-paste-before-kill): New user option.
1725 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
1726 save the interprogram-paste into kill-ring before overriding it
1727 with the Emacs kill.
1729 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
1731 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
1732 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
1733 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
1734 and move to vc-rcs.el.
1735 (vc-default-next-revision): Rename to vc-rcs-next-revision and
1737 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
1738 (vc-rcs-update-changelog): Remove.
1739 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
1740 and move to vc-rcs.el.
1742 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
1743 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
1745 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
1746 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
1747 vc.el, renamed to be RCS specific.
1749 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
1751 (vc-cvs-update-changelog): Move here from vc.el.
1753 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
1756 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
1758 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
1760 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
1762 * vc-git.el (vc-git-register): Use "git add" for directories.
1763 (vc-git-stash, vc-git-stash-show): New functions.
1764 (vc-git-extra-menu-map): Bind them.
1766 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
1767 directory correctly in case the item is a directory itself.
1769 * vc.el: Document the desired behavior for reverted files in the
1771 (vc-default-prettify-state-info): Remove function, unused.
1773 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
1775 2009-08-26 Glenn Morris <rgm@gnu.org>
1777 * bindings.el (standard-mode-line-format): Reposition dashes in
1778 which-func entry. (Bug#4217)
1780 * files.el (enable-local-variables, enable-local-eval)
1781 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
1783 (auto-mode-alist, ignored-local-variables)
1784 (save-some-buffers-action-alist): Move risky declarations to the
1786 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
1787 (font-lock-defaults, format-alist, imenu--index-alist)
1788 (imenu-generic-expression, input-method-alist, minor-mode-alist)
1789 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
1790 (mode-line-modified, mode-line-mule-info, mode-line-position)
1791 (mode-line-process, mode-line-remote, outline-level)
1792 (parse-time-rules, rmail-output-file-alist)
1793 (special-display-buffer-names, vc-mode):
1794 Move risky declarations to the relevant files.
1795 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
1796 (mode-line-modified, mode-line-process, mode-line-position)
1797 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
1798 * font-core.el (font-lock-defaults):
1799 * format.el (format-alist):
1800 * vc-hooks.el (vc-mode):
1801 * window.el (special-display-buffer-names):
1802 * international/mule-cmds.el (input-method-alist):
1803 Define riskiness here (dumped file) rather than in files.el.
1804 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
1805 * imenu.el (imenu-generic-expression, imenu--index-alist):
1806 * outline.el (outline-level):
1807 * time.el (display-time-string):
1808 * calendar/parse-time.el (parse-time-rules):
1809 * mail/rmailout.el (rmail-output-file-alist):
1810 Autoload riskiness here, rather than placing in files.el.
1812 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
1814 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
1816 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
1818 * simple.el (process-file-side-effects): New defvar.
1820 * dired-aux.el (dired-show-file-type):
1821 * vc.el (vc-diff-internal):
1822 * vc-arch.el (vc-arch-diff):
1823 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
1824 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
1825 * vc-git.el (vc-git-registered, vc-git-working-revision)
1826 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
1827 (vc-git--empty-db-p):
1828 * vc-hooks.el (vc-user-login-name):
1829 * vc-svn.el (vc-svn-registered, vc-svn-state)
1830 (vc-svn-dir-extra-headers, vc-svn-find-revision):
1831 * progmodes/grep.el (grep-probe): Let-bind
1832 `process-file-side-effects' with nil.
1834 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
1836 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
1837 daemon. Replace ping by checking for running service for bluez
1838 and zeroconf. (Bug#4239)
1840 2009-08-25 Kevin Ryde <user42@zip.com.au>
1842 * net/dig.el (dig): Add autoload cookie.
1844 2009-08-25 Glenn Morris <rgm@gnu.org>
1846 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
1847 load-history for absolute file-names.
1848 (byte-compile-file-form-require): Warn about use of the cl package.
1850 * format.el (format-alist): Doc fix.
1852 * play/bubbles.el (top-level): Don't require cl at run-time.
1854 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
1857 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
1859 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
1861 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
1863 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
1865 * calc/calc-alg.el (math-trig-rewrite)
1866 (math-hyperbolic-trig-rewrite): New functions.
1867 (calc-simplify): Simplify trig functions when asked.
1869 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
1871 * diff-mode.el (diff-find-source-location): Avoid goto-line.
1873 2009-08-24 Kenichi Handa <handa@m17n.org>
1875 * language/ind-util.el (mapthread): Delete it.
1876 (combinatorial): New function.
1877 (indian--puthash-cv): Use combinatorial instead of mapthread.
1879 2009-08-22 Kevin Ryde <user42@zip.com.au>
1881 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
1882 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
1883 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
1884 Clarify docstring that the value is strings not symbols.
1885 (checkdoc-list-of-strings-p): New function.
1887 2009-08-22 Glenn Morris <rgm@gnu.org>
1889 * files.el (auto-mode-alist):
1890 * hippie-exp.el (he-concat-directory-file-name):
1891 * lpr.el (lpr-windows-system, printer-name):
1892 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
1893 * ps-print.el (ps-windows-system):
1894 * startup.el (command-line):
1895 * emulation/viper-ex.el (viper-glob-function):
1896 * international/mule-cmds.el (set-language-environment-coding-systems):
1897 * net/ange-ftp.el (ange-ftp-write-region):
1898 * obsolete/fast-lock.el (fast-lock-cache-name):
1899 Remove code for defunct system-types emx, macos, mswindows, next-mach,
1900 unisoft-unix, vax-vms, win32, w32.
1902 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
1903 given name if the pattern is not more specific.
1905 * calendar/lunar.el (lunar-phase-names): New option.
1906 (lunar-phase): Doc fix.
1907 (lunar-cycles-per-year): New constant.
1908 (lunar-index): New function.
1909 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
1910 (lunar-phase-name): Use lunar-phase-names.
1911 (calendar-lunar-phases): Use format.
1912 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
1914 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
1915 Copy imenu-example--name-and-position function here for own use.
1916 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
1918 * bs.el (bs--redisplay):
1919 * cus-edit.el (custom-redraw):
1920 * ibuffer.el (ibuffer-bury-buffer):
1921 * server.el (server-goto-line-column):
1922 * startup.el (command-line-1):
1923 * strokes.el (strokes-xpm-for-stroke):
1924 * term.el (term-display-buffer-line):
1925 * view.el (View-goto-line):
1926 * calc/calc.el (calc-do, calc-trail-buffer):
1927 * play/gamegrid.el (gamegrid-add-score-insecure):
1928 * progmodes/ada-mode.el (ada-compile-goto-error):
1929 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
1930 (ebrowse-select-1st-to-9nth):
1931 * progmodes/cperl-mode.el (cperl-time-fontification):
1932 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
1933 * progmodes/gud.el (gud-display-line):
1934 (idlwave-shell-display-line):
1935 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
1936 * progmodes/make-mode.el (makefile-browser-toggle):
1937 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
1938 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
1939 * textmodes/picture.el (picture-draw-rectangle):
1940 * textmodes/reftex-index.el (reftex-index-goto-letter):
1941 (reftex-select-jump-to-previous):
1942 * textmodes/reftex-sel.el (reftex-find-start-point)
1943 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
1944 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
1945 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
1946 * textmodes/tex-mode.el (tex-compilation-parse-errors):
1947 * textmodes/two-column.el (2C-associated-buffer):
1948 Use forward-line rather than goto-line.
1950 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
1953 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
1954 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
1955 (quick-check-list-to-regexp): Declare.
1957 * progmodes/make-mode.el (makefile-browser-insert-selection):
1958 Use goto-char rather than goto-line.
1960 * progmodes/prolog.el (compilation-error-regexp-alist)
1961 (compilation-forget-errors): Declare.
1963 2009-08-22 Juri Linkov <juri@jurta.org>
1965 * progmodes/grep.el (lgrep, rgrep): At the beginning
1966 set `dir' to `default-directory' unless `dir' is a non-nil
1967 readable directory. (Bug#4052)
1968 (lgrep, rgrep): Change a weird way to report an error
1969 from using `read-string' to using `error'.
1970 Instead of using interactive arguments in the function body,
1971 add new argument `confirm'.
1973 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
1975 * textmodes/remember.el (remember-buffer):
1976 * progmodes/cperl-mode.el (cperl-vc-header-alist):
1977 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
1978 (icalendar-extract-ical-from-buffer):
1979 * net/newst-treeview.el (newsticker-groups-filename):
1980 * net/newst-backend.el (newsticker-cache-filename):
1981 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
1982 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
1983 (speedbar-add-ignored-path-regexp, speedbar-line-path)
1984 (speedbar-buffers-line-path, speedbar-path-line)
1985 (speedbar-buffers-line-path):
1986 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
1988 * epa.el (epa-display-verify-result):
1989 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
1991 2009-08-21 Glenn Morris <rgm@gnu.org>
1993 * progmodes/js.el (inferior-moz-process): Fix declaration.
1995 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
1997 * obsolete/rnewspost.el (news-mail-reply):
1998 Use goto-char rather than goto-line.
2000 * term/ns-win.el (ns-open-file-select-line):
2001 Use line-beginning-position rather than goto-line.
2003 * apropos.el (apropos-command):
2004 * ehelp.el (electric-helpify):
2005 * printing.el (pr-show-setup):
2006 * strokes.el (strokes-help):
2007 * tutorial.el (tutorial--describe-nonstandard-key)
2008 (tutorial--detailed-help):
2009 * woman.el (woman-mini-help, woman-display-extended-fonts):
2010 * calc/calc-help.el (calc-describe-key):
2011 * emulation/edt.el (edt-electric-helpify):
2012 * international/mule-diag.el (mule-diag):
2013 * play/yow.el (apropos-zippy):
2014 * progmodes/python.el (python-describe-symbol):
2015 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
2016 * textmodes/table.el (*table--cell-describe-mode)
2017 (*table--cell-describe-bindings):
2018 Use help-print-return-message rather than the now obsolete alias.
2020 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
2021 (calendar-cursor-to-visible-date):
2022 * play/5x5.el (5x5-position-cursor):
2023 * play/decipher.el (decipher):
2024 * play/gomoku.el (gomoku-goto-xy):
2025 * play/landmark.el (lm-goto-xy):
2026 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
2028 Use forward-line, not goto-line.
2030 * mail/rmail.el (rmail-obsolete): Delete custom group.
2031 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
2032 (rmail-remote-password, rmail-remote-password-required):
2033 Remove unneeded :set-after and :set properties.
2035 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
2037 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
2039 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
2041 * loadup.el: Remove leftover macos code.
2043 * vc-git.el (vc-git-annotate-command): Run asynchronously.
2044 Explicitly pass the date format to git blame so that user local
2045 so that the output format can be parsed.
2047 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
2049 * net/dbus.el (top): Don't check for (getenv
2050 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
2052 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
2054 * log-edit.el (log-edit-strip-single-file-name): New var.
2055 (log-edit-insert-changelog): Use it. Bug#3571
2057 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
2059 * subr.el (read-passwd): Use read-key so keypad keys work as well.
2062 * help.el (help-print-return-message): Rename from
2063 print-help-return-message.
2065 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
2066 cvs-mode-map parent hack.
2067 (log-view-mode): Derive from special-mode.
2069 * linum.el (linum-mode): window-size-change-functions is redundant.
2070 Adapt to new window-configuration-change-hook behavior.
2071 (linum-after-size, linum-after-config): Remove.
2073 * imenu.el (imenu-example--name-and-position)
2074 (imenu-example--lisp-extract-index-name)
2075 (imenu-example--create-lisp-index, imenu-example--create-c-index):
2078 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
2079 (inferior-prolog-mode): Use it.
2080 (inferior-prolog-load-file): Reset list of errors.
2082 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
2084 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
2086 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
2088 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
2090 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
2093 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
2095 * subr.el (listify-key-sequence-1): Use normal syntax since those
2096 integers are nowadays always represented by the same (positive) number
2098 (read-key-empty-map): New const.
2099 (read-key-delay): New var.
2100 (read-key): New function.
2101 (force-mode-line-update): Use with-current-buffer.
2102 (locate-user-emacs-file): Don't forget to abbreviate the file name.
2103 (start-process-shell-command, start-file-process-shell-command):
2104 Discourage the use of command-args.
2106 2009-08-19 Glenn Morris <rgm@gnu.org>
2108 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
2110 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
2112 * simple.el (choose-completion-string): Don't rely on
2113 minibuffer-completing-file-name and ad-hoc checks to decide whether
2114 to continue completion or not.
2116 * minibuffer.el (minibuffer-hide-completions): New function.
2117 (completion--do-completion): Use it.
2118 (completions-annotations): New face.
2119 (completion--insert-strings): Use it.
2120 (completion-pcm--delim-wild-regex): Add docstring.
2121 (completion-pcm--string->pattern): Add support for 0-width delimiters
2122 in completion-pcm--delim-wild-regex.
2124 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
2126 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
2127 Remove unused var `buffer-modified-p'.
2129 * minibuffer.el (completion--do-completion): Move point for the #b001
2130 case as well (bug#4176).
2131 (minibuffer-complete, minibuffer-complete-word): Don't move point.
2133 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
2135 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
2138 2009-08-18 Kenichi Handa <handa@m17n.org>
2140 * international/ucs-normalize.el (ucs-normalize-version):
2142 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
2143 (utf-8-hfs): Make it perform normalization on encoding too.
2145 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
2146 (sentence-end-without-space): Delete duplicated chars.
2147 (sentence-end-base): Likewise.
2149 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
2150 (html-mode): Delete duplicated chars from sentence-end-base.
2152 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
2153 (texinfo-mode): Delete duplicated chars from sentence-end-base.
2155 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
2157 * files.el (hack-one-local-variable): If the mode function is for
2158 a minor mode, pass it an argument (Bug#4148).
2160 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
2162 * net/tramp.el (tramp-register-completion-file-name-handler):
2163 Check also for (member 'partial-completion completion-styles).
2165 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
2167 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
2170 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
2172 * progmodes/cperl-mode.el: Merge upstream 6.2.
2173 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
2174 (cperl-forward-re): Check cperl-brace-recursing.
2175 (cperl-highlight-charclass): New function.
2176 (cperl-find-pods-heres): Use it.
2177 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
2178 (cperl-beautify-regexp-piece): Fix column calculation.
2179 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
2180 (cperl-beautify-level): Don't process entire regexp.
2181 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
2183 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
2184 (cperl-init-faces): Build a list in the normal way.
2186 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
2188 * calendar/parse-time.el (parse-time-string-chars): Save match
2191 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
2193 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
2194 (sql-product): Use it.
2195 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
2196 (sql-set-product): Add completion.
2197 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
2198 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
2199 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
2200 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
2201 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
2202 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
2203 (sql-highlight-db2-keywords): Remove.
2204 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
2205 (sql-highlight-product): Use derived-mode-p.
2206 (sql-set-sqli-buffer): Use with-current-buffer.
2207 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
2210 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
2212 * term.el: Fix commenting convention, turn comments into docstrings.
2214 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
2216 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
2218 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
2220 * calendar/parse-time.el (parse-time-string-chars): Compute using
2221 character classes, to handle non-ascii characters (Bug#3190).
2223 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
2225 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
2226 another heredoc if the user adds another < (Bug#3226).
2228 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
2229 Don't initialize based on window-system (Bug#4124).
2231 * facemenu.el (facemenu-read-color): Use a completion function
2232 that accepts any defined color, such as RGB triplets (Bug#3677).
2234 * files.el (get-free-disk-space): Change fallback default
2235 directory to /. Expand DIR argument before switching to fallback.
2236 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
2238 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
2240 * files.el (load-library): Doc fix.
2242 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
2244 * viper-cmd.el (viper-insert-isearch-string): New function.
2245 (viper-if-string): Redefine C-s in the minibuffer to insert the last
2246 incremental search string.
2248 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
2251 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
2252 (ediff-merge-region-is-non-clash)
2253 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
2254 Also check if the job is really a merge job.
2256 * ediff.el (ediff-current-file): New function.
2258 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
2260 * progmodes/js.el: Edit docstrings throughout to follow Emacs
2262 (js-insert-and-indent): Delete function.
2263 (js-mode-map): Don't bind keys to js-insert-and-indent.
2264 (js-beginning-of-defun): Rename from js--beginning-of-defun.
2265 (js-end-of-defun): Rename from js--end-of-defun.
2266 (js-auto-indent-flag): Delete variable.
2268 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
2270 * progmodes/js.el: Remove proclaim statement.
2271 Defvar which-func-imenu-joiner-function to silence compiler.
2273 * files.el (auto-mode-alist): Use js-mode for .js files.
2275 * progmodes/js2-mode.el: Remove file.
2277 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
2279 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
2281 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
2283 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
2284 Karl Landstrom <karl.landstrom@brgeight.se>
2286 * progmodes/js.el: New file.
2288 2009-08-14 Mark A. Hershberger <mah@everybody.org>
2290 * timezone.el (timezone-parse-date): Add ability to understand ISO
2291 basic format (minimal separators) dates in addition to the
2292 already-supported extended format dates.
2294 2009-08-14 Eli Zaretskii <eliz@gnu.org>
2296 * international/ucs-normalize.el: Add a `coding' file variable.
2298 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
2300 2009-08-14 Sam Steingold <sds@gnu.org>
2302 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
2304 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
2306 * faces.el (help-argument-name): Define it here instead of
2307 help-fns.el, because in daemon mode help-fns.el may be loaded when
2308 faces are still uninitialized (Bug#1078).
2310 * help-fns.el (help-argument-name): Move defface to faces.el.
2312 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
2314 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
2315 create buffer with a pty but no process so that GDB can make the
2316 inferior the controlling process.
2318 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
2320 * international/ucs-normalize.el: New file.
2322 2009-08-13 Richard Stallman <rms@gnu.org>
2324 * mail/rmail.el (rmail-get-attr-names):
2325 Accept an attribute header that is too short.
2327 * mail/rmail.el (rmail-forget-messages):
2328 Ignore nil elt in rmail-message-vector. Use dotimes.
2330 * progmodes/compile.el (compilation-goto-locus):
2331 Use next-error-move-function.
2333 * simple.el (next-error-move-function): New variable.
2335 2009-08-12 Juri Linkov <juri@jurta.org>
2337 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
2338 always non-nil. (Bug#4052)
2340 * replace.el (read-regexp): Return empty string when
2341 `default-value' is nil.
2342 (keep-lines-read-args): Don't use empty string as the
2343 default value for `read-regexp'. (Bug#2495)
2345 2009-08-12 Juri Linkov <juri@jurta.org>
2347 * international/mule-cmds.el (ucs-insert): Change arguments
2348 from `arg' to `character', `count', `inherit' to be the same
2349 as in `insert-char'. Doc fix. (Bug#4039)
2351 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
2353 2009-08-12 Juri Linkov <juri@jurta.org>
2355 * files-x.el: New file.
2357 * files.el: Move code that deals with adding/deleting
2358 file/directory-local variables to files-x.el.
2360 * Makefile.in (ELCFILES): Add files-x.elc.
2362 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
2364 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
2366 (gdb-place-breakpoints, gdb-get-location): Rewritten without
2368 (gdb-invalidate-disassembly): Do not refresh upon receiving
2369 'update signal. Instead, update all disassembly buffers only after
2371 (gdb): Send -target-detach when buffer is killed (Bug#3794).
2372 (gdb-starting): Moved -data-list-register-names...
2373 (gdb-stopped): ...here so it's sent when first thread stops.
2374 (gdb-registers-handler-custom): Do nothing if register names are
2377 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
2378 from `gdb-mi.el' to avoid extra tangling.
2380 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
2381 change which breaks `gud-def' definitions used in `gdb'.
2382 (gdb-update-gud-running): No extra fuss for updating frame number.
2384 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2386 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
2387 (describe-language-environment-map, setup-language-environment-map)
2388 (set-coding-system-map): Move initialization into declaration.
2389 (set-language-info-alist): Last arg to define-key-after can be skipped.
2391 * international/quail.el (quail-completion-1): Simplify.
2392 (quail-define-rules): Use slightly more compact code.
2393 (quail-insert-decode-map): Propertize keys, compact columns.
2395 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2398 2009-08-10 Miles Bader <miles@gnu.org>
2400 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
2401 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
2402 (js2-instance-member, js2-private-member, js2-private-function-call)
2403 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
2404 (js2-magic-paren, js2-external-variable):
2405 Remove "-face" suffix from face names.
2406 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
2407 (js2-highlight-undeclared-vars, js2-peek-token)
2408 (js2-parse-function-params, js2-mode-show-errors)
2409 (js2-mode-show-warnings, js2-make-magic-delimiter)
2410 (js2-mode-highlight-magic-parens): Update to use new face names.
2412 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
2414 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
2415 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
2417 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
2419 * subr.el: Provide hashtable-print-readable.
2421 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
2422 hs-c-like-adjust-block-beginning.
2423 (hs-hide-block-at-point): Stop hiding at the beginning of
2424 hs-block-end-regexp (Bug#700).
2426 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
2428 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
2430 (gdb-registers-handler-custom): Do not fail when register names
2433 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
2435 * progmodes/gdb-mi.el (gdb-control-all-threads)
2436 (gdb-control-current-thread): Interactive setters for
2437 `gdb-gud-control-all-threads' to use in menu.
2438 (gdb-show-run-p): Show «Go» when process is not active.
2439 (gud-tool-bar-map): Add non-stop/A,T indicator. Uses
2440 gud/thread.xpm and gud/all.xpm.
2442 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
2444 * net/net-utils.el (net-utils-font-lock-keywords): New var.
2445 (nslookup-font-lock-keywords): Make it a variable.
2446 (net-utils-mode): New mode for viewing diagnostic network output.
2447 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
2448 (net-utils-run-simple): New function.
2449 (ifconfig, iwconfig, netstat, arp, route): Use it.
2451 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
2453 * progmodes/gdb-mi.el (gdb-read-memory-custom)
2454 (gdb-memory-set-address, def-gdb-set-positive-number)
2455 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
2456 after changing settings.
2457 (gdb-invalidate-disassembly): Update when first shown.
2458 (gdb-edit-locals-value): Fixed.
2459 (gdb-registers-handler-custom): Print registers in right order and
2460 allow changing register values (only for current thread yet).
2461 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
2462 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
2463 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
2464 (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
2466 (gdb-registers-mode-map): TAB to switch to locals.
2468 2009-08-08 Eli Zaretskii <eliz@gnu.org>
2470 * mail/rmail.el (rmail-add-mbox-headers)
2471 (rmail-set-message-counters-counter): Search for
2472 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
2474 2009-08-08 Glenn Morris <rgm@gnu.org>
2476 * Makefile.in (ELCFILES): Update.
2478 2009-08-07 Eli Zaretskii <eliz@gnu.org>
2480 * mail/sendmail.el (mail-yank-original): Set
2481 buffer-file-coding-system from the one used by the message whose
2484 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
2485 to "windows" when "pgnuplot" is used.
2486 (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
2487 call accept-process-output if "pgnuplot" is used.
2488 (calc-graph-init): Don't send -display and -geometry to
2489 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
2490 running "pgnuplot -V" with shell-command-to-string.
2492 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
2495 2009-08-07 Eli Zaretskii <eliz@gnu.org>
2497 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
2500 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
2502 * vc-dispatcher.el (vc-resynch-window): Update comment.
2504 * term.el (term-handle-ansi-escape): Add comments with the
2505 terminfo capabilities implemented.
2507 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
2509 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
2510 (gdb-var-create-handler): Rewritten using JSON parser.
2511 (gdb-propertize-header): Moved earlier.
2512 (gdb-set-header): Removed to avoid duplication.
2513 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
2514 Refresh disassembly buffers only after threads list have been
2516 (gdb-threads-header, gdb-registers-header): Per-buffer header line
2519 2009-08-04 Juri Linkov <juri@jurta.org>
2521 * files.el: Commands to add/delete file/directory-local variables.
2522 (read-file-local-variable, read-file-local-variable-value)
2523 (read-file-local-variable-mode, modify-file-local-variable)
2524 (modify-file-local-variable-prop-line)
2525 (modify-dir-local-variable): New functions.
2526 (add-file-local-variable, delete-file-local-variable)
2527 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
2528 (add-dir-local-variable, delete-dir-local-variable)
2529 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
2530 (copy-dir-locals-to-file-locals-prop-line): New commands.
2532 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
2534 * abbrev.el (insert-abbrev-table-description): Prettify output.
2535 Suggested by Karl Chen.
2537 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
2539 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
2540 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
2541 (gdb-overlay-arrow-position, gdb-thread-position)
2542 (gdb-disassembly-position): Declare variables.
2543 (gdb-wait-for-pending): Function now.
2544 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
2545 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
2546 compilation goes smoothly.
2547 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
2548 (gdb-non-stop-setting): New customization setting which replaces
2549 `gdb-non-stop' so changing it doesn't break active GDB session.
2550 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
2551 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
2552 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
2553 (gdb-show-threads-by-default): New customization options.
2554 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
2556 (gdb-get-buffer-create): Send buffers update signal when they are
2558 (gdb-invalidate-locals, gdb-invalidate-registers)
2559 (gdb-invalidate-breakpoints)
2560 (gdb-invalidate-threads, gdb-invalidate-disassembly)
2561 (gdb-invalidate-memory): Accept update signal.
2562 (gdb-current-context-command): Use --frame option.
2563 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
2564 Implement `gdb-frame-number' selection logic.
2565 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
2566 whether to show GUD toolbar buttons.
2567 (gdb-thread-exited): Unselect current thread when it exits.
2568 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
2569 (gdb-mark-line): Routine which sets overlay arrow or inverses
2570 video on fringeless displays.
2571 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
2572 to build aligned columns of data in GDB buffers and set text
2573 properties line-by-line.
2574 (gdb-invalidate-breakpoints)
2575 (gdb-breakpoints-list-handler-custom)
2576 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
2577 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
2578 (gdb-registers-handler-custom): Align data columns.
2579 (gdb-locals-handler-custom): Now prints data like in variable
2581 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
2582 Removed confusing buttons.
2583 (gdb-invalidate-threads): Append --frame.
2584 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
2585 between breakpoints/threads buffers.
2586 (gdb-set-window-buffer): Now can ignore dedicated windows.
2587 (gdb-propertize-header): Use `gdb-set-window-buffer'.
2588 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
2589 (def-gdb-thread-buffer-gud-command): Replaces
2590 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
2591 for fine thread control.
2592 (gdb-preempt-existing-or-display-buffer): New function used to
2593 display bound buffers without breaking window layout.
2594 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
2595 (gdb-select-frame): New version of `gdb-frames-select' which now
2596 sets `gdb-frame-number' so commands may use --frame option instead
2597 of inner debugger state.
2598 (gdb-frame-handler): Do not set `gdb-frame-number'.
2599 (gdb-threads-mode-map): Select threads with mouse.
2601 * progmodes/gud.el (gdb-gud-context-call): Declare function to
2602 avoid compilation warning.
2603 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
2606 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
2607 Argument `key' renamed to `buffer-type'.
2608 (gdb-current-context-buffer-name): Do not add thread info to
2609 buffer name when no thread is selected.
2610 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
2612 (gdb-thread-selected): Handle `=thread-selected' notification.
2613 (gdb-wait-for-pending): New macro to deal with congestion problems.
2614 (gdb-breakpoints-list-handler-custom): Don't fail on pending
2616 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
2617 This fixes problem similar to one described in bug 3947.
2618 (gud-menu-map): More menu items.
2619 (gdb-init-1): Reset `gdb-thread-number' to nil.
2621 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
2624 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
2625 (gdb-current-context-command): Do not append --thread if
2626 `gdb-thread-number' is nil.
2627 (gdb-running-threads-count, gdb-stopped-threads-count): New
2629 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
2630 (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
2631 customization options.
2632 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
2634 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
2635 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
2636 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
2637 set `gdb-thread-number' and update `gud-running' properly.
2638 (gdb-running): Update threads list when new threads appear.
2639 (gdb-stopped): Support non-stop operation and new thread switching
2641 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
2642 (gdb-json-partial-output): New set of JSON routines.
2643 (def-gdb-auto-update-trigger): New `signal-list' optional
2645 (gdb-thread-list-handler-custom): Update `gud-running',
2646 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
2647 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
2648 (gdb-continue-thread, gdb-step-thread): New commands for fine
2649 thread execution control.
2650 (gud-menu-map): New menu items to switch non-stop options.
2651 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
2652 (gdb-send): Mimic RET properly (bug 3794).
2654 * progmodes/gdb-mi.el (gdb-rules-name-maker)
2655 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
2657 (def-gdb-auto-update-handler): New nopreserve optional argument.
2658 (gdb-stack-list-frames-custom): Print stack from top to bottom.
2660 * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
2661 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
2662 (gdb-parent-mode): New mode to derive other GDB modes from.
2663 (gdb-display-disassembly-for-thread)
2664 (gdb-frame-disassembly-for-thread): New commands for threads
2667 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
2668 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
2669 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
2670 (gdb-update): We now store all GDB buffers in a list so that they
2671 can be updated by traversing a list instead of calling invalidate
2672 triggers explicitly.
2673 (def-gdb-trigger-and-handler): New macro to define trigger-handler
2674 pair for GDB buffer.
2675 (gdb-stack-buffer-name): Add thread information.
2676 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
2677 handle pending triggers.
2678 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
2679 (def-gdb-thread-buffer-simple-command)
2680 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
2681 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
2682 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
2683 New commands which show buffers bound to thread.
2684 (gdb-stack-list-locals-regexp): Removed unused regexp.
2686 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
2687 (gdb-locals-buffer-name, gdb-registers-buffer-name)
2688 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
2689 to (gud-comint-buffer) in *-buffer-name functions
2690 because (gdb-get-target-string) already does that.
2691 (gdb-locals-handler-custom, gdb-registers-handler-custom)
2692 (gdb-changed-registers-handler): Rewritten without regexps.
2694 * progmodes/gdb-mi.el Basic thread selection support.
2695 (gdb-thread-number): New variable.
2696 (gdb-current-context-command): New macro which adds --thread
2698 (gdb-threads-mode-map): Select thread with SPC.
2699 (gdb-thread-list-handler-custom): Mark current thread with overlay
2700 arrow. Synchronize GDB thread and Emacs thread.
2701 (gdb-select-thread): New command which selects current thread.
2702 (gdb-invalidate-frames, gdb-invalidate-locals)
2703 (gdb-invalidate-registers): Use --thread option.
2705 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
2707 * net/tramp.el (top): Make check for tramp-gvfs loading more
2709 (tramp-handle-insert-file-contents): `unwind-protect' must be
2710 inside `with-parsed-tramp-file-name'.
2712 * net/tramp-gvfs.el (top): Remove superfluous message when loading
2715 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
2717 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
2718 directory if CLASSPATH is not set.
2720 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
2722 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
2724 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
2726 2009-08-02 Kevin Ryde <user42@zip.com.au>
2728 * net/newst-backend.el (newsticker--raw-url-list-defaults):
2729 Update freshmeat link. Delete newsforge.com as it seems gone.
2731 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
2733 * select.el (x-set-selection): Doc fix (Bug#4021).
2735 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
2737 * help-fns.el (describe-variable): Treat list return values from
2738 dir-locals-find-file properly (Bug#4005).
2740 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
2742 * net/tramp.el (tramp-debug-message): Print also microseconds.
2744 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
2746 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
2748 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
2749 (tramp-get-debug-buffer): Change `outline-regexp' according to new
2752 * net/tramp-cache.el (tramp-cache-inhibit-cache ): New defvar.
2753 (tramp-get-file-property): Use it.
2755 * autorevert.el (auto-revert-handler): Allow
2756 `auto-revert-tail-mode' for remote files.
2758 2009-08-02 Jason Rumney <jasonr@gnu.org>
2760 * minibuffer.el (read-file-name): Treat confirm options to
2761 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
2763 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
2765 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
2766 (font-lock-variable-name-face, font-lock-constant-face): Darken
2767 the colors for light backgrounds.
2769 2009-08-01 Eli Zaretskii <eliz@gnu.org>
2771 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
2772 month names. (Bug#3987)
2774 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
2776 * simple.el (line-move-finish): Pass whole number to
2777 line-move-to-column.
2778 (line-move-visual): Perform hscroll to the recorded position.
2780 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
2782 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
2784 2009-07-29 Alan Mackenzie <acm@muc.de>
2786 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
2788 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
2790 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
2791 (gdb-place-breakpoints): Use full path when setting breakpoints.
2793 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
2795 * calc/calc.el (calc-mode-map): Add keybinding for
2796 `calc-transpose-lines'.
2798 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
2800 * calc/calc-misc.el (calc-transpose-lines): New function.
2802 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
2804 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
2805 Simplify check for out-of-band methods.
2806 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
2807 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
2809 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
2811 * vc-git.el (vc-git-checkin): Fix typo.
2813 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
2815 * progmodes/js2-mode.el: New file.
2817 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
2819 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
2820 (gud-menu-map): Adjust tooltip accordingly.
2822 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
2824 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
2825 (vc-bzr-log-view-mode): Adjust log-view-file-re.
2827 * add-log.el (change-log-mode-map): Add a menu.
2829 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
2831 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
2832 function returns nil.
2833 (dbus-handle-event): Handle special return value :ignore.
2834 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
2836 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
2838 * view.el (view-mode-enable): Don't define Helper-return-blurb if
2841 2009-07-25 Eli Zaretskii <eliz@gnu.org>
2845 * w32-vars.el (x-select-enable-clipboard): Doc fix.
2847 * term/pc-win.el (x-display-name, x-colors)
2848 (x-select-enable-clipboard, x-select-text): Doc fix.
2850 * term/common-win.el (x-display-name, x-colors): Doc fix.
2852 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
2853 (xw-defined-colors): Doc fix.
2855 * w32-fns.el (x-select-text, x-setup-function-keys)
2856 (x-get-selection, x-set-selection): Doc fix.
2858 * term/x-win.el (x-select-text, x-setup-function-keys)
2859 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
2861 * select.el (x-set-selection): Doc fix.
2863 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
2865 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
2866 instead of "IsNSSSupportAvailable". Avahi ought to work also when
2867 "IsNSSSupportAvailable" method is not available. Reported by
2868 Steve Youngs <steve@sxemacs.org>.
2870 2009-07-24 Kenichi Handa <handa@m17n.org>
2872 * international/characters.el: Fix setting of category ?C, ?|, ?K,
2873 and ?H. Fix setting of case for Latin Extended and Greek Extended.
2874 (build-unicode-category-table): Fix range checks.
2876 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
2878 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
2879 the buffer we try to sync is current when calling
2882 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
2883 not show up to date files.
2885 2009-07-24 Glenn Morris <rgm@gnu.org>
2887 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
2888 Add autoload cookies. If necessary, initialize.
2889 (elint-log): Handle non-file buffers.
2890 (elint-initialize): Add optional argument to reinitialize.
2891 (elint-find-builtin-variables): Save excursion.
2893 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
2895 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
2898 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
2900 * vc.el (vc-print-log-internal): New function, split out from ...
2901 (vc-print-log): ... here.
2902 (vc-dir-move-to-goal-column): Declare.
2904 * vc-git.el (vc-git-add-signoff): New variable.
2905 (vc-git-checkin): Use it.
2906 (vc-git-toggle-signoff): New function.
2907 (vc-git-extra-menu-map): Bind it to menu.
2908 (vc-git--run-command-string): Accept a nil FILE argument.
2909 (vc-git-stash-list): New function.
2910 (vc-git-dir-extra-headers): Use it.
2912 2009-07-23 Glenn Morris <rgm@gnu.org>
2914 * help-fns.el (describe-variable): Describe ignored and risky local
2915 variables in a similar way to that in which we describe safe ones.
2917 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
2918 (byte-compile-output-file-form, byte-compile-output-docform)
2919 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
2920 Give some more local variables with common names a "bytecomp-" prefix,
2921 so as not to shadow things during compilation.
2922 * emacs-lisp/cl-macs.el (load-time-value)
2923 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
2924 `outbuffer' to `bytecomp-outbuffer'.
2926 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
2927 since the next two variables cover them automatically now.
2928 (elint-builtin-variables, elint-autoloaded-variables): New.
2929 (elint-unknown-builtin-args): Remove all members, since they can be
2930 parsed automatically now.
2931 (elint-extra-errors): New.
2932 (elint-env-add-env, elint-env-add-macro): Use cadr.
2933 (elint-current-buffer): Use or. Change final message.
2934 (elint-get-top-forms): Use line-end-position.
2935 (elint-init-env): Use cadr. Handle autoload, declare-function,
2937 (elint-add-required-env): Doc fix. Use or. Standardize error.
2938 (regexp-assoc): Remove unused function.
2939 (elint-top-form): Set elint-current-pos, to record the start of the
2940 top-level form, for compilation-mode.
2941 (elint-form): Trap errors in macro expansion. Use dolist.
2942 (elint-unbound-variable): Use elint-builtin-variables and
2943 elint-autoloaded-variables.
2944 (elint-get-args): Use cadr, or.
2945 (elint-check-cond-form): Use dolist, cadr.
2946 (elint-check-condition-case-form): Doc fix. Use cadr.
2947 Use elint-extra-errors.
2948 (elint-log): New function.
2949 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
2950 Distinguish errors and warnings.
2951 (elint-log-message): Use with-current-buffer. Inhibit read-only.
2952 Use a bytecomp-style format.
2953 (elint-clear-log): Preserve default-directory. Inhibit read-only.
2954 (elint-get-log-buffer): Use compilation mode. Disable undo.
2955 Don't truncate lines.
2956 (elint-initialize): Set builtin and autoloaded variable lists.
2957 Only process elint-unknown-builtin-args if non-nil.
2958 (elint-find-builtin-variables, elint-find-autoloaded-variables):
2960 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
2962 2009-07-22 Kevin Ryde <user42@zip.com.au>
2964 * net/newst-backend.el (newsticker--parse-atom-1.0)
2965 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
2966 (newsticker--parse-rss-1.0):
2967 * progmodes/idlwave.el (idlwave-mode):
2968 * progmodes/idlw-shell.el (idlwave-shell-mode):
2969 * progmodes/vera-mode.el (vera-mode):
2970 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
2971 * progmodes/vhdl-mode.el (vhdl-mode):
2972 * textmodes/table.el (table-generate-source)
2973 (table--warn-incompatibility):
2974 Hyperlink urls in docstrings with URL `...'.
2976 2009-07-22 Glenn Morris <rgm@gnu.org>
2978 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
2979 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
2980 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
2981 Remove leading * from defcustom docs.
2983 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
2985 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
2987 (list-load-path-shadows): Optionally, just return shadows as a string.
2989 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
2991 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
2993 * mail/rmailedit.el (rmail-edit-mode): Use
2994 auto-save-include-big-deletions.
2996 * mail/rmail.el (rmail-variables): Use
2997 auto-save-include-big-deletions.
2999 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
3002 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
3004 * calc/calc.el (calc-undo-length): New variable.
3005 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
3007 2009-07-21 Richard Stallman <rms@gnu.org>
3009 * files.el (auto-save-mode): Handle buffer-save-size = -2
3012 2009-07-21 Glenn Morris <rgm@gnu.org>
3014 * textmodes/ispell.el (ispell-looking-back): Update declaration.
3016 * calendar/todo-mode.el (calendar-current-date): Update declaration.
3018 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
3019 silence compiler. Instead...
3020 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
3021 (ps-print-ensure-fontified): Update for above function name changes.
3023 * printing.el (pr-mh-get-msg-num, pr-mh-show)
3024 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
3025 silence compiler. Instead...
3026 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
3027 (mh-show-buffer): Only define for compiler.
3028 (pr-mh-current-message): Update for above function name changes.
3030 * files.el (abort-if-file-too-large): Explicitly pass `filename'
3032 (find-file-noselect, insert-file-1): Update for above change.
3034 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
3036 * mail/mailclient.el (mailclient-send-it): Fix message.
3038 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
3039 (edebug-eval): Check cl-debug-env is bound.
3040 (print-level, print-circle): Don't redefine built-in variables.
3042 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
3043 (custom-print-vectors): Remove old comments from doc.
3045 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
3046 (emerge-version): Make the variable an obsolete alias for the
3047 emacs-version variable. Make the function obsolete.
3048 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
3049 Emerge options, rather than merging in into the main Options menu.
3050 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
3051 and auto advance modes. Disable edit/fast items when not relevant.
3053 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
3055 * term/vt420.el (terminal-init-vt420): Fix typo.
3057 2009-07-20 Sam Steingold <sds@gnu.org>
3059 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
3060 variable (removed from compile.el on 2004-03-11).
3062 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
3064 * files.el (hack-local-variables-filter): Fix last change.
3066 2009-07-19 Juri Linkov <juri@jurta.org>
3068 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
3069 (dir-local-variables-alist): New buffer-local variable.
3070 (hack-local-variables-filter): If variable is not dir-local,
3071 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
3072 because file-local overrides dir-local.
3073 (c-postprocess-file-styles)<declare-function>:
3074 Remove obsolete declaration.
3075 (hack-dir-local-variables): Add dir-local variable/value pair to
3076 `dir-local-variables-alist' and remove duplicates. Doc fix.
3078 * help-fns.el (describe-variable): Add information about
3079 file-local and dir-local variables.
3081 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
3083 * files.el (hack-local-variables-filter): Rewrite.
3085 2009-07-19 Glenn Morris <rgm@gnu.org>
3087 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
3088 Silence compiler by only defining on XEmacs.
3090 * international/mule.el (auto-coding-regexp-alist): Only match
3091 BABYL... at the start of buffer, not of lines. (Bug#3790)
3093 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
3094 non-calendar buffers (Bug#3862). Restore "not on a date" message.
3095 (cal-menu-context-mouse-menu): Doc fix.
3097 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
3099 * simple.el (mail-user-agent): Doc fix. Set :version tag.
3101 2009-07-18 Juri Linkov <juri@jurta.org>
3103 * info.el: Virtual Info keyword finder.
3104 (add-to-list)<Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
3105 (Info-finder-file): New variable.
3106 (Info-finder-find-file): New function.
3107 (finder-known-keywords, finder-package-info)
3108 (find-library-name, lm-commentary): Use defvar and
3109 declare-function to silence compiler warnings.
3110 (Info-finder-find-node): New function.
3111 (info-finder): New command.
3113 * subr.el (process-kill-buffer-query-function): New function.
3114 (add-hook)<kill-buffer-query-functions>: Add hook
3115 `process-kill-buffer-query-function'.
3117 2009-07-18 Alan Mackenzie <acm@muc.de>
3119 * progmodes/cc-mode.el (c-before-hack-hook)
3120 (c-postprocess-file-styles): Give invocation of `c-set-style'
3121 DONT-OVERRIDE parameter of t. Already set style variables will
3122 thus not be overridden by style settings given by `c-file-syle'.
3124 * files.el (hack-local-variables-filter): Remove entries with
3125 duplicate keys from `file-local-variables-alist'.
3127 2009-07-18 Eli Zaretskii <eliz@gnu.org>
3129 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
3130 x-set-selection if display-selections-p returns nil for the
3133 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
3135 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
3137 2009-07-18 Eli Zaretskii <eliz@gnu.org>
3139 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
3140 Accept nil in addition to a regexp.
3141 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
3142 Accept nil in addition to a regexp.
3143 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
3144 buffers that have an associated file. Handle nil values of
3145 desktop-buffers-not-to-save and desktop-files-not-to-save.
3148 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3149 (x-disown-selection-internal): New functions.
3151 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
3153 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
3155 (gdb-breakpoints-header): Move forward to avoid compiler warning.
3156 (gdb-make-header-line-mouse-map): Remove duplicate definition.
3158 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
3160 * simple.el (set-mark): Revert last change.
3162 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
3164 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
3165 rendering of pngs is not possible instead of messaging a long
3168 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
3170 * w32-fns.el (x-selection-owner-p): New function.
3172 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
3173 (mouse-yank-at-click, mouse-yank-primary): If
3174 select-active-regions is non-nil, deactivate the mark before
3177 * simple.el (deactivate-mark, set-mark): Only save selection if we
3180 2009-07-17 Kenichi Handa <handa@m17n.org>
3182 * case-table.el (describe-buffer-case-table): Fix for the case
3185 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
3187 * vc-rcs.el (vc-rcs-find-file-hook):
3188 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
3190 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
3192 * net/tramp.el (tramp-wait-for-output): Handle the case when
3193 commands do not return a newline but a null byte before the shell
3196 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3198 * term/ns-win.el (ns-set-alpha): Don't declare.
3199 (ns-set-background-alpha): Remove function.
3201 2009-07-16 Kevin Ryde <user42@zip.com.au>
3203 * emacs-lisp/copyright.el (copyright-update): Save match-data across
3204 y-or-n-p, for safety.
3206 2009-07-16 Richard Stallman <rms@gnu.org>
3208 * files.el (auto-save-mode): If buffer-saved-size is -2,
3211 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
3212 (rmail-retry-ignored-headers): Add more uninteresting fields.
3214 2009-07-15 Jari Aalto <jari.aalto@cante.net>
3216 * net/rcirc.el (rcirc): Use history variables.
3217 (rcirc-server-name-history, rcirc-nick-name-history)
3218 (rcirc-server-port-history): New variables.
3220 2009-07-15 Kenichi Handa <handa@m17n.org>
3222 * international/mule-cmds.el (set-language-environment-charset):
3223 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
3226 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
3227 Delete unibyte-display.
3229 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
3231 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
3233 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
3235 * simple.el (deactivate-mark): Optional argument FORCE.
3236 (set-mark): Use deactivate-mark.
3238 * info.el (Info-search): No need to check transient-mark-mode
3239 before calling deactivate-mark.
3241 * select.el (x-set-selection): Doc fix.
3242 (x-valid-simple-selection-p): Allow buffer values.
3243 (xselect--selection-bounds): Handle buffer values. Suggested by
3244 David De La Harpe Golden.
3246 * mouse.el (mouse-set-region, mouse-drag-track): Call
3247 copy-region-as-kill before setting the mark, to let
3248 select-active-regions work.
3250 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
3252 * simple.el (deactivate-mark): If select-active-regions is
3253 non-nil, copy the selection data into a string.
3254 (activate-mark): If select-active-regions is non-nil, set the
3255 selection to the current buffer.
3256 (set-mark): Update selection if select-active-regions is non-nil.
3258 * select.el (x-valid-simple-selection-p): Allow buffer values.
3260 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
3262 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
3263 and more featureful message-mode.
3265 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
3267 * select.el (x-set-selection): Doc fix.
3268 (x-valid-simple-selection-p): Disallow selection data consisting
3269 of a list or cons of integers, since that is not used.
3270 (xselect--selection-bounds, xselect--int-to-cons): New functions.
3271 (xselect-convert-to-string, xselect-convert-to-length)
3272 (xselect-convert-to-filename, xselect-convert-to-charpos)
3273 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
3275 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
3277 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
3278 output in -break-info command (Emacs bug #3794).
3280 2009-07-14 Glenn Morris <rgm@gnu.org>
3282 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
3283 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
3284 (edebug-print-length, edebug-print-level, edebug-print-circle)
3285 (edebug-sit-for-seconds, edebug-view-outside)
3286 (edebug-bounce-point, edebug-set-global-break-condition)
3287 (edebug-Go-nonstop-mode, edebug-trace-mode)
3288 (edebug-Trace-fast-mode, edebug-continue-mode)
3289 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
3290 (edebug-visit-eval-list): Doc fixes.
3292 * subr.el (def-edebug-spec): Doc fix.
3294 2009-07-14 Kenichi Handa <handa@m17n.org>
3296 * international/characters.el: Fix setting of category ?C.
3298 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
3300 * term/ns-win.el (x-select-font): defalias x-select-font to
3301 ns-popup-font-panel instead of generate-fontset-menu.
3303 2009-07-12 Eli Zaretskii <eliz@gnu.org>
3305 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
3307 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
3309 * arc-mode.el (archive-find-type): Allow for a PK00 string before
3310 the PK\003\004 header (Bug#3770).
3312 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
3314 * pcomplete.el (pcomplete-comint-setup): Check for
3315 shell-dynamic-complete-filename too.
3317 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
3319 * simple.el (temporary-goal-column): Change the value for
3320 line-move-visual to a cons cell.
3321 (line-move-visual): Record or set the window hscroll, if
3322 necessary (Bug#3494).
3323 (line-move-1): Handle cons value of temporary-goal-column.
3325 2009-07-11 Kenichi Handa <handa@m17n.org>
3327 * international/mule-diag.el (describe-character-set): Don't show
3330 2009-07-10 Sam Steingold <sds@gnu.org>
3332 * progmodes/compile.el (compilation-mode-font-lock-keywords):
3333 Omake sometimes indents the errors it prints, so allow all
3334 regexps to start with spaces.
3336 2009-07-10 Eli Zaretskii <eliz@gnu.org>
3338 * cus-edit.el (customize-changed-options-previous-release):
3339 Bump value to 22.1. (Bug#3804)
3341 2009-07-08 Sam Steingold <sds@gnu.org>
3343 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
3344 to be a cons cell (test . ignored-directory) to selectively ignore
3345 some directories depending on the location of the search.
3347 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
3349 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
3350 remote user is root, on the local host.
3351 (tramp-local-host-p): Either the local user or the remote user
3352 must be root. (Bug#3771)
3354 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
3356 * progmodes/gdb-mi.el (gdb): Remove description of
3357 gdb-use-separate-io-buffer.
3358 (menu): Don't allow toggling of or enable
3359 gdb-use-separate-io-buffer from menubar.
3361 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
3363 * mail/unrmail.el (unrmail): Make sure the message ends with two
3364 newlines (Bug#3769).
3366 2009-07-08 Glenn Morris <rgm@gnu.org>
3368 * calendar/calendar.el (calendar-current-date): Rework previous change.
3370 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
3372 * calendar/calendar.el (calendar-current-date):
3373 Add an optional argument giving an offset from today.
3375 2009-07-08 Glenn Morris <rgm@gnu.org>
3377 * tutorial.el (tutorial--describe-nonstandard-key):
3378 Adjust the message for when a key has been unbound.
3379 (help-with-tutorial): Hide the arch-tag.
3381 2009-07-08 Kenichi Handa <handa@m17n.org>
3383 * international/fontset.el (setup-default-fontset): For each
3384 script, append (not set) font-specs.
3386 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
3389 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
3391 * progmodes/gdb-mi.el (gdb-init-1): Move sending
3392 -data-list-register-names to ...
3393 (gdb-starting): ... here because GDB 7.0 requires execution to
3394 have started when using this MI command.
3395 (gdb-set-header): New function to distinguish select and
3396 unselected tabs in gdb buffers.
3397 (gdb-propertize-header): New macro that uses gdb-set-header.
3398 (gdb-breakpoints-header, gdb-locals-header): Use it.
3399 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
3401 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
3403 * Makefile.in (ELCFILES): Remove fadr.elc.
3405 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
3407 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
3408 may contain frame information, so `string-match' should be used.
3409 (gdb-update): Disassembly is invalidated through
3410 `gdb-get-selected-frame'.
3411 (gdb-pad-string): New function to pad string with spaces.
3412 (gdb-invalidate-disassembly): Invalidate only if the buffer
3414 (gdb-disassembly-handler-custom): Column alignment.
3415 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
3417 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
3419 (gdb-frame-handler): Match convention to for disassembly buffer
3421 (gdb-stack-list-frames-handler): Rewritten without regexps.
3422 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
3423 not highlight breakpoints without line information.
3424 (gdb-input): Add trailing newline to command.
3426 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
3428 (gdb-breakpoints-list-handler-custom): Replacement for
3429 `gdb-break-list-handler'. Using real parser instead of regexps
3431 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
3432 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
3433 to place breakpoints.
3434 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
3436 (gdb-disassembly-handler-custom): Show overlay arrow.
3437 (gdb-disassembly-place-breakpoints): Show breakpoints in
3439 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
3440 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
3441 instead of parsing breakpoints buffer. Fixed old menu references
3446 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
3447 (gdb-memory-address): New variable which holds top address of
3448 memory page shown in memory buffer.
3449 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
3450 customization variables.
3452 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
3453 display the memory buffer.
3454 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
3455 buffer display parameters.
3456 (def-gdb-memory-format, gdb-memory-format-binary)
3457 (gdb-memory-format-octal, gdb-memory-format-unsigned)
3458 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
3459 Functions for setting memory buffer format.
3460 (gdb-memory-unit-word, gdb-memory-unit-halfword)
3461 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
3462 unit size used in memory buffer.
3463 (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
3464 to next/previous page of memory buffer.
3465 Now using (bindat-get-field) instead of fadr functions.
3467 2009-07-07 Sam Steingold <sds@gnu.org>
3469 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
3470 non-top-level files.
3472 2009-07-07 Kenichi Handa <handa@m17n.org>
3474 * international/mule-cmds.el (reset-language-environment): Put
3475 the highset priority to the charset iso-8859-1.
3477 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
3479 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
3480 to the end of the line when locating the block (Bug#700).
3482 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
3484 * net/tramp.el (tramp-handle-write-region): Flush file properties
3485 in case of short track.
3487 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
3489 * verilog-mode.el (verilog-error-regexp-emacs-alist): Coded custom
3490 representation of verilog error regular expressions to work with
3491 Emacs-22's new format.
3492 (verilog-error-regexp-xemacs-alist): Coded custom representation
3493 of verilog error regular expressions to work with XEmacs format.
3494 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
3495 error recognition into XEmacs.
3496 (verilog-error-regexp-add-emacs): Hook routine to install verilog
3497 error recognition into Emacs-22.
3499 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
3501 * woman.el: Remove stand-alone closing parentheses.
3502 (woman-file-name, woman2-format-paragraphs)
3503 (woman-leave-blank-lines): Code cleanup.
3504 (woman-use-own-frame): Change default to nil.
3505 (woman-italic, woman-bold, woman-unknown, woman-addition): Change
3506 defaults to inherit from default faces.
3507 (woman2-process-escapes): Consume the newline after a stand-alone
3508 filler character (Bug#3651).
3510 2009-07-06 Glenn Morris <rgm@gnu.org>
3512 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
3513 (top-level): Move provide to the end.
3514 (ffap): Remove defunct URL from custom group.
3516 * subr.el (eval-after-load): Doc fix.
3518 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
3520 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
3521 `calc-embedded-word' is called twice.
3523 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3525 * files.el (find-alternate-file-other-window, find-alternate-file):
3526 Obey confirm-nonexistent-file-or-buffer.
3528 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
3530 * dired-aux.el (dired-show-file-type): Handle remote files.
3532 2009-07-05 Jari Aalto <jari.aalto@cante.net>
3534 * desktop.el (desktop-globals-to-save):
3535 Add file-name-history (Bug#2750).
3537 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
3539 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
3541 2009-07-04 Johan Bockgård <bojohan@gnu.org>
3543 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
3544 property on entire argument since this is what eshell-lisp-command
3547 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
3549 * net/tramp-gvfs.el (tramp-gvfs-methods)
3550 (tramp-gvfs-zeroconf-domain)
3551 (tramp-bluez-discover-devices-timeout): Add version flag.
3552 (tramp-gvfs-handler-mounted-unmounted)
3553 (tramp-gvfs-connection-mounted-p): Polish handling of
3554 incompatibilities between GVFS 0.2 and 1.0.
3556 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
3558 * cus-start.el (all): Add make-pointer-invisible.
3560 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
3562 * calc-math.el (math-use-emacs-fn): Make sure that the number is
3563 formatted correctly.
3565 2009-07-02 Juri Linkov <juri@jurta.org>
3567 * info.el: Virtual Info files and nodes.
3568 (Info-virtual-files, Info-virtual-nodes): New variables.
3569 (Info-current-node-virtual): New variable.
3570 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
3572 (Info-file-supports-index-cookies): Use Info-virtual-file-p
3573 to check for a virtual file instead of checking a fixed list
3575 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
3576 instead of ad-hoc processing of "dir" and (apropos history toc).
3577 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
3578 instead of ad-hoc processing of "dir" and (apropos history toc).
3579 Reread a file when moving from a virtual node.
3580 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
3581 (Info-directory-toc-nodes, Info-directory-find-file)
3582 (Info-directory-find-node): New functions.
3583 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
3584 (Info-history): Move part of code to
3585 `Info-history-find-node'.
3586 (Info-history-toc-nodes, Info-history-find-file)
3587 (Info-history-find-node): New functions.
3588 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
3589 (Info-toc): Move part of code to `Info-toc-find-node'.
3590 (Info-toc-find-node): New function.
3591 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
3592 the current Info file name to references because now the node
3593 "*TOC*" belongs to the same Info manual.
3594 (Info-toc-build): Rename from `Info-build-toc'.
3595 (Info-toc-nodes): Rename input argument `file' to `filename'.
3596 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
3597 instead of ad-hoc processing of ("dir" apropos history toc).
3598 (Info-index-nodes): Use Info-virtual-file-p
3599 to check for a virtual file instead of checking a fixed list
3601 (Info-index-node): Add check for `Info-current-node-virtual'.
3602 Raise `save-match-data' higher up the tree to contain
3603 `search-forward' too (bug fix).
3604 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
3605 (Info-virtual-index-nodes): New variable.
3606 (Info-virtual-index-find-node, Info-virtual-index): New functions.
3607 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
3608 (Info-apropos-file, Info-apropos-nodes): New variables.
3609 (Info-apropos-toc-nodes, Info-apropos-find-file)
3610 (Info-apropos-find-node, Info-apropos-matches): New functions.
3611 (info-apropos): Move part of code to `Info-apropos-find-node' and
3612 `Info-apropos-matches'.
3613 (Info-mode-map): Bind "I" to `Info-virtual-index'.
3614 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
3615 for a virtual file instead of checking a fixed list of node names.
3617 * simple.el (async-shell-command): New command.
3619 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
3621 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
3622 instead of `mount-info'.
3624 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
3626 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
3627 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
3629 2009-07-02 Kenichi Handa <handa@m17n.org>
3631 * international/mule.el (set-keyboard-coding-system): Force *-unix
3632 coding-system to avoid eol conversion.
3634 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
3636 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3637 Add handler for `process-file', `shell-command' and
3638 `start-file-process'.
3639 (tramp-gvfs-handle-shell-command)
3640 (tramp-gvfs-handle-start-file-process)
3641 (tramp-gvfs-handle-process-file): New defuns.
3642 (tramp-synce-list-devices): Simplify check for existence of property.
3644 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
3646 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
3648 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
3650 * language/korean.el (set-language-info-alist): Add korean-cp949,
3653 2009-07-01 Kenichi Handa <handa@m17n.org>
3655 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
3657 * international/encoded-kb.el: Deleted.
3659 * international/mule.el (set-keyboard-coding-system): Perform the
3660 necessary setup here instead of calling encoded-kbd-setup-display.
3662 2009-07-01 Glenn Morris <rgm@gnu.org>
3664 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
3666 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
3668 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
3670 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
3672 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
3673 Handle also the 'rename case, when setting file modes. (Bug#3712)
3674 (tramp-default-file-modes) Remove execute permissions.
3676 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
3677 (top): Add a default for "synce" in `tramp-default-user-alist'.
3678 Add completion function for "synce" method.
3679 (tramp-hal-service, tramp-hal-path-manager)
3680 (tramp-hal-interface-manager, tramp-hal-interface-device):
3682 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
3683 (tramp-synce-list-devices, tramp-synce-parse-device-names):
3686 * net/trampver.el: Update release number.
3688 2009-06-30 Kenichi Handa <handa@m17n.org>
3690 * international/fontset.el (setup-default-fontset): Add CJK fonts
3691 for symbols and the other miscellaneous characters.
3693 * language/korea-util.el (setup-korean-environment-internal):
3694 Make char-width-table suitable for Korean environments.
3695 (exit-korean-environment): Cancel above.
3697 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
3698 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
3699 setup-funcion to make char-widht-table suitable for respective
3700 environments, and an exit-function to cancel that.
3702 * language/japan-util.el (setup-japanese-environment-internal):
3703 Call use-cjk-char-width-table with arg `ja_JP'.
3705 * international/characters.el (cjk-char-width-table): Delete it.
3706 (cjk-char-width-table-list): New variable.
3707 (use-cjk-char-width-table): New arg local-name.
3708 (use-default-char-width-table): Fix for the case that Emacs is
3709 already using the default char-width-table.
3711 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
3713 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
3714 modes mandatory. (Bug#3712)
3716 2009-06-29 Alan Mackenzie <acm@muc.de>
3718 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
3719 correction between the visible width of TABs and their number of bytes.
3721 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
3723 * server.el (server-buffer-done): Prevent kill-buffer from
3724 prompting by clearing the buffer modification flag (Bug#3696).
3726 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
3728 * verilog-mode.el (verilog-beg-of-statement)
3729 (verilog-endcomment-reason-re): Support unique case and priority case.
3730 (verilog-basic-complete-re): Support localparam lineup.
3731 (verilog-beg-of-statement-1): Fix for robustness, unique case.
3732 (verilog-set-auto-endcomments): Fix for unique case, always_comb
3734 (verilog-leap-to-case-head): Now support *nested* unique &
3735 priority case statements.
3736 (verilog-auto-lineup): Make just declarations the default (as it
3738 (verilog-leap-to-case-head): Support priority/unique case statements.
3739 (verilog-auto-lineup): Rework to give users radio buttons to
3740 select the various styles of automatic lineup.
3741 (verilog-error-regexp-alist): Rework to support the XEmacs style
3742 of error regular expressions from compilers, lint tools &
3743 simulators. Note that GNU Emacs has made it impossible for a mode
3744 to load such things.
3745 (electric-verilog-terminate-line, verilog-indent-declaration)
3746 (verilog-auto-wiure): Rework for radio button selection of
3747 auto-lineup selection of specification of auto lineup.
3748 (verilog-beg-of-statement-1): Redesign to support proper operation
3749 in additional code, based on testing with auto-lineup.
3750 (verilog-calculate-indent, assignments & declarations)
3751 (verilog-backward-token): Enhance to support auto-lineup of
3752 assignments & declarations.
3753 (verilog-in-directive-p, verilog-at-struct-p): New function for
3754 easy test of whether we are.
3755 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
3756 to support safe execution at almost anyline.
3757 (verilog-calc-1): Properly support indenting deep inside generate
3759 (verilog-init-font) Remove definition & use of verilog-init-font,
3760 as it is redundant with font-lock-defaults.
3761 (verilog-mode): Alter the definition of verilog-font-lock-defualts
3762 to avoid circular calls if syntax-ppss is a function (as is the
3763 case now in 22.x GNU Emacs) as that function would sometimes call
3764 itself, leading to (nearly) infinite recursion.
3765 (verilog-ovm-begin-re, verilog-ovm-end-re)
3766 (verilog-ovm-statement-re, verilog-leap-to-head)
3767 (verilog-backward-token): Add support for OVM macros. Some are
3768 complete statements, and others open and close scopes like begin
3770 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
3771 (verilog-defun-level-generate-only-re): Really fix the defun-list
3773 (verilog-calc-1) (verilog-beg-of-statement): Enhance support for
3774 coverpoint, constraint and cross statements.
3775 (verilog-defun-level-list, verilog-generate-defun-level-list)
3776 (verilog-all-defun-level-list): Redo these specifications - it is
3777 too hard to support eval-when compile aggregation of lists also
3778 built at when-compile time.
3779 (verilog-defun-level-list): Place defconsts of variables used in
3780 building regular expressions which are built in eval-when-compile
3781 bodies in the same eval-when-compile body to facilitate compile
3783 (verilog-beg-block-re-ordered): Support indenting
3784 virtual/protected tasks and functions.
3785 (verilog-defun-level-list, verilog-in-generate-region-p)
3786 (verilog-backward-ws&directives, verilog-calc-1): Speed up
3787 indentation of some module items (generate items).
3788 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
3789 across virtual/protected tasks and functions.
3791 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
3793 * verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
3794 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
3795 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
3796 in concatenations. Reported by Yishay Belkind.
3797 (verilog-auto-ascii-enum): Support one-hot state machines in
3798 AUTOASCIIENUM. Suggested by Lloyd Gomez.
3799 (verilog-auto-inst, verilog-auto-inst-port): Include interface
3800 modport in AUTOINST and add vl-modport for users. Reported by
3802 (verilog-auto-inout-module, verilog-auto-inst)
3803 (verilog-decls-get-interfaces, verilog-insert-definition)
3804 (verilog-insert-one-definition, verilog-read-decls)
3805 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
3806 (verilog-sig-modport, verilog-signals-combine-bus)
3807 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
3808 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
3809 Suggested by David Rogoff.
3810 (verilog-repair-open-comma): Fix non-insertion of comma when
3811 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
3812 (verilog-make-width-expression): Simplify [A-1:0] expression
3813 widths to just {A{1'b0}}.
3814 (verilog-mode): Cleanup checkdoc warnings.
3815 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
3816 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
3817 inputs/outputs or data type. Suggested by Vasu Kandadi.
3818 (next-error-last-buffer): Fix byte-compiler warning.
3819 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
3820 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
3821 or shell command text during AUTO expansion. Suggested by Tad Truex.
3822 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
3823 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
3824 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
3825 in AUTOINOUT. Reported by Matthew Lovell.
3826 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
3827 causing use of <= assignments. Reported by Alex Reed.
3828 (verilog-read-decls): Fix triand, trior, wand, wor to be
3829 recognized by AUTOWIRE. Reported by Spencer Isaacson.
3830 (verilog-extended-complete-re): Support import "DPI-C" functions.
3831 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
3832 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
3833 (verilog-insert-date, verilog-insert-year)
3834 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
3835 Windows systems. Reported by Michael Potts.
3836 (verilog-read-module-name): Fix AUTOINST when the child module
3837 declaration's name is a tick define. Reported by Elliot Mednick.
3838 (verilog-read-decls): Fix V2K parameter bit subscripts getting
3839 passed to next parameter's definition. Reported by Bruce T.
3840 (verilog-read-decls): Fix detecting "parameter int" when using
3841 AUTOINSTPARAM. Reported by Bruce T.
3842 (verilog-goto-defun): Fix goto not finding modules unless first
3843 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
3844 (verilog-mode): Expand -f flag arguments on entry to mode so
3845 verilog-goto-defun will work. Reported by Lawrence Butcher.
3846 (verilog-getopt): Expand environment variables in -f file
3847 arguments. Suggested by Lawrence Butcher.
3848 (verilog-set-define): Fix "Symbol's value as variable is void"
3849 when reading enumerations.
3850 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
3851 Suggested by Stephen Peltan.
3852 (verilog-read-defines): Fix reading of enumerations in include
3853 files. Reported by Steve Peltan.
3855 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
3857 * files.el (trash-directory): Fix defcustom type.
3859 2009-06-28 Juri Linkov <juri@jurta.org>
3861 * help-fns.el (describe-function-1): Correctly locate adviced
3862 functions in hyperlink (Bug#2438).
3864 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
3866 * files.el (trash-directory): Change default to nil.
3867 (move-file-to-trash): If trash-directory is nil and
3868 system-move-file-to-trash is unbound, perform freedesktop-style
3871 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
3873 * files.el (move-file-to-trash): Add freedesktop trash
3876 2009-06-28 Glenn Morris <rgm@gnu.org>
3878 * autorevert.el (global-auto-revert-non-file-buffers)
3879 (global-auto-revert-mode): Doc fixes.
3881 2009-06-27 Johan Bockgård <bojohan@gnu.org>
3883 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
3885 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
3887 * faces.el (x-handle-named-frame-geometry): Ensure that we have
3888 opened an X connection before calling x-get-resource (Bug#3194).
3890 * play/doctor.el: Remove reference to obsolete website.
3891 (make-doctor-variables): Correct grammar mistake (Bug#2633).
3893 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
3895 Remove find-file-not-found-hook VC method. (Bug#2757)
3896 * vc-hooks.el (vc-file-not-found-hook)
3897 (vc-default-find-file-not-found-hook): Remove functions.
3898 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
3899 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
3902 * vc-git.el: Do not mention find-file-not-found-hook VC method.
3904 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
3906 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
3907 compatibility function for `looking-back'.
3909 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
3910 Use `ispell-looking-back'.
3912 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
3914 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
3915 rather than `filename'.
3917 2009-06-23 Miles Bader <miles@gnu.org>
3919 * face-remap.el (text-scale-set): New function.
3921 2009-06-23 Glenn Morris <rgm@gnu.org>
3923 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
3925 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
3927 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
3929 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
3931 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
3932 Simplify Persian conditionals.
3934 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
3935 variable `filename'.
3937 * comint.el (comint-insert-input): Doc fix.
3939 * Makefile.in (ELCFILES): Fix typo in previous change.
3941 2009-06-23 Miles Bader <miles@gnu.org>
3943 * cus-start.el: Add entry for `recenter-redisplay'.
3945 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
3947 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
3948 Add an optional argument for the backend, use it instead of
3950 (vc-mode-line): Add an optional argument for the backend.
3951 Pass the backend to vc-state and vc-working-revision. Move code for
3952 special handling for vc-state being a buffer to ...
3954 * vc-rcs.el (vc-rcs-find-file-hook):
3955 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
3957 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
3958 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
3959 vc-stay-local-p and vc-mode-line calls.
3961 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
3962 (vc-cvs-diff, vc-cvs-annotate-command)
3963 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
3964 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
3967 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
3969 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
3970 backend when calling vc-mode-line.
3971 (vc-register): Do not create a closure for calling the vc register
3972 function, call it directly.
3974 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
3976 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
3977 to make it obvious item can be clicked.
3979 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
3981 2009-06-23 Kenichi Handa <handa@m17n.org>
3983 * language/korea-util.el (korean-key-bindings): Change the binding
3984 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
3987 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
3989 Sync with Tramp 2.1.16.
3991 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
3993 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
3994 when a loading of a package fails. Completion function for rsync
3995 is `tramp-completion-function-alist-ssh'.
3996 (all): Replace all calls of `split-string' and
3997 `tramp-split-string' by `tramp-compat-split-string'.
3998 (tramp-default-method): Use `tramp-compat-process-running-p'.
3999 (tramp-default-proxies-alist): Allow also Lisp forms.
4000 (tramp-remote-path): Add choice "Private Directories".
4001 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
4002 (tramp-domain-regexp): Allow also "-", "_" and ".".
4003 (tramp-end-of-output): Remove newlines, and add "$" at the end.
4004 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
4005 (tramp-debug-message): Insert header line in debug buffer.
4006 (tramp-handle-directory-files-and-attributes-with-stat):
4007 Care about filenames with spaces, or starting with "-".
4008 (tramp-handle-dired-uncache): New defun.
4009 (tramp-handle-insert-directory): Don't flush the directory from
4010 cache, this is handled by `dired-uncache' now.
4011 (tramp-handle-insert-file-contents): Improve error handling.
4012 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4013 Quote `tramp-end-of-output'.
4014 (tramp-action-password): Improve trace message.
4015 (tramp-check-for-regexp): Both echoes must be present, before removing.
4016 (tramp-open-connection-setup-interactive-shell): Trace coding system.
4017 (tramp-compute-multi-hops): Eval cons cells of
4018 `tramp-default-proxies-alist'.
4019 (tramp-maybe-open-connection): Use the same command pattern for
4020 first hop and further hops.
4021 (tramp-wait-for-output): Remove handling of newlines.
4022 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
4023 (tramp-split-string): Remove function. It is handled in
4026 * net/tramp-cmds.el (tramp-bug):
4027 Recommend `tramp-cleanup-all-connections' in the bug mail.
4029 * net/tramp-compat.el (tramp-compat-split-string)
4030 (tramp-compat-process-running-p): New defuns.
4032 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
4033 for `dired-uncache'.
4035 * net/tramp-gvfs.el: New package.
4037 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4038 Add handler for `dired-uncache'.
4039 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
4041 * net/trampver.el: Update release number. Make version check fit
4044 2009-06-22 Jim Meyering <meyering@redhat.com>
4046 Automatically handle .xz suffix (XZ-compressed files), too.
4047 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
4048 XZ is the successor to LZMA: <http://tukaani.org/xz/>
4050 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
4051 Nick Roberts <nickrob@snap.net.nz>
4053 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
4054 repository (http://sphinx.net.ru/hg/gdb-mi/).
4056 2009-06-22 Glenn Morris <rgm@gnu.org>
4058 * files.el (dir-locals-collect-mode-variables): Allow for any number of
4059 `mode' and `eval' entries. (Bug#3430)
4061 * Makefile.in (ELCFILES): Add fadr.elc.
4063 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
4064 differing behavior of \n and ^ in strings. (Bug#3385)
4066 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
4068 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
4070 (lisp-indent-function): Make it a defcustom.
4072 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
4074 * progmodes/gdb-ui.el: Replace with ...
4075 * progmodes/gdb-mi.el: ... this file.
4076 * progmodes/gud.el: Modify for gdb-mi.el.
4078 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
4080 * fadr.el: New file.
4082 See ChangeLog.14 for earlier changes.
4088 Copyright (C) 2009 Free Software Foundation, Inc.
4090 This file is part of GNU Emacs.
4092 GNU Emacs is free software: you can redistribute it and/or modify
4093 it under the terms of the GNU General Public License as published by
4094 the Free Software Foundation, either version 3 of the License, or
4095 (at your option) any later version.
4097 GNU Emacs is distributed in the hope that it will be useful,
4098 but WITHOUT ANY WARRANTY; without even the implied warranty of
4099 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4100 GNU General Public License for more details.
4102 You should have received a copy of the GNU General Public License
4103 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
4105 ;; arch-tag: d3e45e38-19e2-49b6-8dc2-7cb26adcc5a1