1 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
3 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
4 (tramp-advice-minibuffer-electric-tilde): Unload advices via
6 (tramp-advice-make-auto-save-file-name)
7 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
8 after removing the advice.
10 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
12 * progmodes/grep.el (grep-regexp-alist):
13 * international/mule-cmds.el (iso-2022-control-alist):
14 * emacs-lisp/timer.el (timer-duration-words):
15 * subr.el (version-separator, version-regexp-alist):
16 * minibuffer.el (completion-styles-alist):
17 * faces.el (face-attribute-name-alist, list-faces-sample-text):
18 Change defvars to defconsts.
20 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
21 * loadup.el ("international/mule-conf"): Load the byte compiled version.
22 * international/mule-conf.el: Allow to be byte compiled.
24 * international/mule.el (define-charset): Purecopy props.
25 (load-with-code-conversion): Purecopy doc string and file name.
26 (put-charset-property): Purecopy strings.
27 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
29 * international/mule-cmds.el (register-input-method); Purecopy arguments.
30 (define-char-code-property): Correctly purecopy the table.
32 * international/ccl.el (define-ccl-program): Purecopy the docstring.
34 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
36 * subr.el (add-hook): Purecopy strings.
37 (eval-after-load): Purecopy load-history-regexp and the form.
39 * custom.el (custom-declare-group): Purecopy load-file-name.
41 * subr.el (menu-bar-separator): New defconst.
42 * net/eudc.el (eudc-tools-menu):
43 * international/mule-cmds.el (set-coding-system-map)
45 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
46 * vc-hooks.el (vc-menu-map):
47 * replace.el (occur-mode-map):
48 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
49 (menu-bar-edit-menu, menu-bar-goto-menu, menu-bar-edit-menu)
50 (menu-bar-custom-menu, menu-bar-showhide-menu)
51 (menu-bar-options-menu, menu-bar-tools-menu)
52 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
53 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
55 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
56 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
58 * term/x-win.el (x-gtk-stock-map):
59 * progmodes/vera-mode.el (auto-mode-alist):
60 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
61 (inferior-lisp-program, inferior-lisp-load-command):
62 * progmodes/hideshow.el (hs-special-modes-alist):
63 * progmodes/gud.el (same-window-regexps):
64 * progmodes/grep.el (grep-program, find-program, xargs-program):
65 * net/telnet.el (same-window-regexps):
66 * net/rlogin.el (same-window-regexps):
67 * language/ethiopic.el (font-ccl-encoder-alist):
68 * vc-sccs.el (vc-sccs-master-templates):
69 * vc-rcs.el (vc-rcs-master-templates):
70 * subr.el (cl-assertion-failed):
71 * simple.el (next-error-overlay-arrow-position):
72 * lpr.el (lpr-command):
73 * locate.el (locate-ls-subdir-switches):
74 * info.el (same-window-regexps, info)
75 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
76 * image-mode.el (image-mode, auto-mode-alist):
77 * hippie-exp.el (hippie-expand-ignore-buffers):
78 * format.el (format-alist):
79 * find-dired.el (find-ls-subdir-switches, find-grep-options)
81 * facemenu.el (facemenu-keybindings):
82 * dired.el (dired-listing-switches, dired-chown-program):
83 * diff.el (diff-switches, diff-command):
84 * cus-edit.el (same-window-regexps):
85 * bindings.el (mode-line-mule-info)
86 (mode-line-buffer-identification): Purecopy strings.
88 2009-11-11 Juri Linkov <juri@jurta.org>
90 * simple.el (dired-get-filename)<declare-function>:
91 Tell the byte-compiler about dired-get-filename.
92 (shell-command): In Dired mode, get filename from the current line
95 2009-11-10 Glenn Morris <rgm@gnu.org>
97 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
98 * calendar/holidays.el, progmodes/cperl-mode.el:
99 Update x-popup-menu declarations.
101 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
102 (list-load-path-shadows): Use dolist.
103 (list-load-path-shadows): Use with-current-buffer.
105 2009-11-10 Juri Linkov <juri@jurta.org>
107 * minibuffer.el (read-file-name): Support a list of default values
108 in `default-filename'. Use the first file name where only one
109 element is required. Doc fix.
111 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
113 * net/dbus.el (dbus-unregister-object): Release service, if no
114 other method is registered for it.
116 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
118 * bookmark.el (bookmark-completing-read): Sort bookmark names if
119 bookmark-sort-flag is non-nil (Bug#4653).
121 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
123 * cedet/semantic/ctxt.el (semantic-get-local-variables): Disable
124 the progress reporter entirely.
126 * emulation/cua-base.el: Add CUA property to some CC mode commands
129 2009-11-08 Kevin Ryde <user42@zip.com.au>
131 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
132 at end of sentence (Bug#4818).
134 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
136 * progmodes/compile.el (compilation-error-regexp-alist-alist):
137 Handle "see declaration of" MSFT statements (Bug#4100).
139 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
141 * net/tramp.el (tramp-advice-make-auto-save-file-name)
142 (tramp-advice-file-expand-wildcards): Unload via
145 * net/trampver.el: Update release number.
147 2009-11-08 Kevin Ryde <user42@zip.com.au>
149 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
152 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
154 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
155 in order to keep context in SELinux.
157 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
159 * dired-aux.el (dired-query): Place cursor in echo area and allow
162 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
163 menu item if not on a directory (Bug#4701).
165 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
167 Sync with Tramp 2.1.17.
169 * net/tramp.el (tramp-handle-copy-directory): Don't use
170 `file-remote-p' (due to compatibility).
172 * net/tramp-compat.el (tramp-compat-copy-directory)
173 (tramp-compat-delete-directory): New defuns.
175 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
176 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
177 `tramp-compat-delete-directory'.
179 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
180 (tramp-smb-handle-delete-directory ): Use
181 `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
183 * net/trampver.el: Update release number.
185 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
187 * tar-mode.el (tar-copy): Call write-region on the right buffer
190 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
191 by hand, if necessary (Bug#4878).
193 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
195 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
196 align size column (Bug#4839).
198 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
201 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
203 * progmodes/ld-script.el (auto-mode-alist):
204 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
206 * cus-face.el (custom-declare-face): Purecopy face spec.
208 2009-11-06 Kenichi Handa <handa@m17n.org>
210 * international/uni-bidi.el: Re-generated.
211 * international/uni-category.el: Re-generated.
212 * international/uni-combining.el: Re-generated.
213 * international/uni-mirrored.el: Re-generated.
215 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
217 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
218 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
219 (tex-start-options, slitex-run-command, latex-run-command)
220 (tex-run-command, tex-directory):
221 * textmodes/ispell.el (ispell-html-skip-alists)
222 (ispell-tex-skip-alists, ispell-tex-skip-alists):
223 * textmodes/fill.el (adaptive-fill-first-line-regexp):
224 (adaptive-fill-regexp):
225 * textmodes/dns-mode.el (auto-mode-alist):
226 * progmodes/python.el (interpreter-mode-alist):
227 * progmodes/etags.el (tags-compression-info-list):
228 * progmodes/etags.el (tags-file-name):
229 * net/browse-url.el (browse-url-galeon-program)
230 (browse-url-firefox-program):
231 * mail/sendmail.el (mail-signature-file)
232 (mail-citation-prefix-regexp):
233 * international/mule-conf.el (eight-bit):
234 * international/latexenc.el (latex-inputenc-coding-alist):
235 * international/fontset.el (x-pixel-size-width-font-regexp):
236 * emacs-lisp/warnings.el (warning-type-format):
237 * emacs-lisp/trace.el (trace-buffer):
238 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
239 (emacs-lisp-mode-map):
240 * calendar/holidays.el (holiday-solar-holidays)
241 (holiday-bahai-holidays, holiday-islamic-holidays)
242 (holiday-christian-holidays, holiday-hebrew-holidays)
243 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
244 (hebrew-holidays-1, holiday-oriental-holidays)
245 (holiday-general-holidays):
246 * x-dnd.el (x-dnd-known-types):
247 * tool-bar.el (tool-bar):
248 * startup.el (site-run-file):
249 * shell.el (shell-dumb-shell-regexp):
250 * rfn-eshadow.el (file-name-shadow-tty-properties)
251 (file-name-shadow-properties):
252 * paths.el (remote-shell-program, news-directory):
253 * mouse.el ([C-down-mouse-3]):
254 * menu-bar.el (menu-bar-tools-menu):
255 * jka-cmpr-hook.el (jka-compr-load-suffixes)
256 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
257 (jka-compr-compression-info-list):
258 * isearch.el (search-whitespace-regexp):
259 * image-file.el (image-file-name-extensions):
260 * find-dired.el (find-ls-option):
261 * files.el (directory-listing-before-filename-regexp)
262 (directory-free-space-args, insert-directory-program)
263 (list-directory-brief-switches, magic-fallback-mode-alist)
264 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
265 (automount-dir-prefix):
266 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
267 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
268 (face-font-registry-alternatives, face-font-registry-alternatives)
269 (face-font-family-alternatives):
270 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
271 (facemenu-foreground-menu, facemenu-face-menu):
272 * epa-hook.el (epa-file-name-regexp):
273 * dnd.el (dnd-protocol-alist):
274 * textmodes/rst.el (auto-mode-alist):
275 * button.el (default-button): Purecopy strings.
277 2009-11-06 Glenn Morris <rgm@gnu.org>
279 * Makefile.in (ELCFILES): Update.
281 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
283 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
284 * emacs-lisp/levents.el: Move to obsolete/levents.el.
286 * nxml/xsd-regexp.el (xsdre-gen-categories):
287 * nxml/xmltok.el (xmltok-parse-entity):
288 * nxml/rng-parse.el (rng-parse-validate-file):
289 * nxml/rng-maint.el (rng-format-manual)
290 (rng-manual-output-force-new-line):
291 * nxml/rng-loc.el (rng-save-schema-location-1):
292 * nxml/rng-cmpct.el (rng-c-parse-file):
293 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
294 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
296 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
298 * verilog-mode.el (verilog-getopt-file, verilog-set-define):
299 Remove extra save-excursions and make-variable-buffer-local's.
300 Suggested by Stefan Monnier.
302 (verilog-getopt-file, verilog-module-inside-filename-p)
303 (verilog-set-define): Merge GNU 1.35 and repair changes from
304 switching to using with-current-buffer.
306 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
307 being treated as a number and confusing AUTORESET.
308 Reported by Dan Dever.
310 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
311 Add verilog-auto-ignore-concat to fix backward compatibility with
312 older verilog-modes. Reported by Dan Katz.
314 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
315 containing closing anchors "...$".
317 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
318 Reported by Wade Smith.
320 (verilog-batch-execute-func) Comment on function usage.
322 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
324 * verilog-mode.el (verilog-label-re): Fix regular expression for
327 (verilog-label-re, verilog-calc-1): Support proper indent of named
330 (verilog-backward-token, verilog-basic-complete-re)
331 (verilog-beg-of-statement, verilog-indent-re): Support proper
332 indent of the assert statement at the beginning of a block of text.
334 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
335 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
338 2009-11-05 Glenn Morris <rgm@gnu.org>
340 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
342 (byte-compile-fix-header): Update for the above change.
343 Drop test for epoch::version.
345 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
346 * cus-dep.el (custom-make-dependencies):
347 * finder.el (finder-compile-keywords):
348 Use autoload-rubric's feature argument.
350 * calendar/diary-lib.el (top-level): Make load behave more like require.
352 * vc-git.el (vc-git-stash-map): Move definition before use.
354 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
356 * custom.el (custom-declare-group): Purecopy standard-value.
357 (custom-declare-group): Purecopy custom-prefix.
359 * international/mule.el (load-with-code-conversion): Call
360 do-after-load-evaluation unconditionally.
362 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
364 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
366 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
368 2009-11-04 Glenn Morris <rgm@gnu.org>
370 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
371 (byte-compile-compatibility): Remove option.
372 (byte-compile-close-variables, byte-compile-fix-header)
373 (byte-compile-insert-header, byte-compile-output-docform)
374 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
375 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
376 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
377 (byte-compile-insert, byte-compile-defun):
378 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
379 (byte-defop-compiler19): Remove.
380 Without byte-compile-compatibility, the 'emacs19-opcode property is not
381 used by anything. Replace all calls with byte-defop-compiler.
383 2009-11-04 Juri Linkov <juri@jurta.org>
385 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
386 (menu-bar-options-menu): Don't quote the `prop' arg of
387 `menu-bar-make-mm-toggle'.
389 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
391 * calendar/calendar.el (cal-loaddefs):
392 * calendar/diary-lib.el (diary-loaddefs):
393 * calendar/holidays.el (hol-loaddefs):
394 * eshell/esh-module.el (esh-groups): Load rather than require.
396 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
398 * calendar/todo-mode.el (todo-add-category): Don't hardcode point-min==1.
399 (todo-top-priorities): Only display-buffer when called interactively.
400 (todo-item-start): Don't save excursion point.
401 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
402 (todo-insert-item-here, todo-file-item, todo-remove-item):
403 Adjust uses of todo-item-start and todo-item-end.
405 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
406 (autoload-rubric): Don't use any more.
407 * cedet/semantic/fw.el (semantic/loaddefs):
408 * cedet/srecode.el (srecode/loaddefs):
409 * cedet/ede.el (ede/loaddefs): Load rather than require.
410 * cedet/ede/cpp-root.el:
411 * cedet/ede/emacs.el:
412 * cedet/ede/files.el:
413 * cedet/ede/linux.el:
414 * cedet/ede/locate.el:
416 * cedet/ede/shell.el:
417 * cedet/ede/speedbar.el:
418 * cedet/ede/system.el:
420 * cedet/semantic/analyze.el:
421 * cedet/semantic/bovine.el:
422 * cedet/semantic/complete.el:
423 * cedet/semantic/ctxt.el:
424 * cedet/semantic/db-file.el:
425 * cedet/semantic/db-find.el:
426 * cedet/semantic/db-global.el:
427 * cedet/semantic/db-mode.el:
428 * cedet/semantic/db-typecache.el:
429 * cedet/semantic/db.el:
430 * cedet/semantic/debug.el:
431 * cedet/semantic/dep.el:
432 * cedet/semantic/doc.el:
433 * cedet/semantic/edit.el:
434 * cedet/semantic/find.el:
435 * cedet/semantic/format.el:
436 * cedet/semantic/html.el:
437 * cedet/semantic/ia-sb.el:
438 * cedet/semantic/ia.el:
439 * cedet/semantic/idle.el:
440 * cedet/semantic/lex-spp.el:
441 * cedet/semantic/lex.el:
442 * cedet/semantic/mru-bookmark.el:
443 * cedet/semantic/scope.el:
444 * cedet/semantic/senator.el:
445 * cedet/semantic/sort.el:
446 * cedet/semantic/symref.el:
447 * cedet/semantic/tag-file.el:
448 * cedet/semantic/tag-ls.el:
449 * cedet/semantic/tag-write.el:
450 * cedet/semantic/tag.el:
451 * cedet/semantic/util-modes.el:
452 * cedet/semantic/analyze/complete.el:
453 * cedet/semantic/analyze/refs.el:
454 * cedet/semantic/bovine/c.el:
455 * cedet/semantic/bovine/gcc.el:
456 * cedet/semantic/bovine/make.el:
457 * cedet/semantic/bovine/scm.el:
458 * cedet/semantic/decorate/include.el:
459 * cedet/semantic/decorate/mode.el:
460 * cedet/semantic/symref/cscope.el:
461 * cedet/semantic/symref/global.el:
462 * cedet/semantic/symref/grep.el:
463 * cedet/semantic/symref/idutils.el:
464 * cedet/semantic/symref/list.el:
465 * cedet/semantic/wisent/java-tags.el:
466 * cedet/semantic/wisent/javascript.el:
467 * cedet/srecode/compile.el:
468 * cedet/srecode/cpp.el:
469 * cedet/srecode/document.el:
470 * cedet/srecode/el.el:
471 * cedet/srecode/expandproto.el:
472 * cedet/srecode/getset.el:
473 * cedet/srecode/insert.el:
474 * cedet/srecode/java.el:
475 * cedet/srecode/map.el:
476 * cedet/srecode/mode.el:
477 * cedet/srecode/template.el:
478 * cedet/srecode/texi.el: Remove the file-local setting of
479 generated-autoload-feature.
481 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
482 and only put a prop if it is non-nil.
484 2009-11-03 Juri Linkov <juri@jurta.org>
486 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
487 (menu-bar-options-menu): Fix list quoting (Bug#4429).
489 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
490 and "Menu" to make top-level menu item visually one unit (like
491 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
492 multi-word menu items). Fix :help string for quit-window.
494 2009-11-03 Glenn Morris <rgm@gnu.org>
496 * cedet/mode-local.el (with-mode-local): Doc fix.
498 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
499 (byte-compile-file-form-define-abbrev-table)
500 (byte-compile-file-form-custom-declare-variable)
501 (byte-compile-variable-ref, byte-compile-defvar):
502 Whether or not a warning is enabled should only affect whether we issue
503 the warning, not whether or not we collect the relevant data.
504 Eg warnings can be turned on and off throughout the course of a file.
506 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
507 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
509 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
511 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
512 * play/mpuz.el (mpuz-create-buffer):
513 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
514 (lm-print-y,s,noise, lm-print-w0, lm-init):
515 * play/gomoku.el (gomoku-prompt-for-move):
516 * play/fortune.el (fortune-in-buffer):
517 * play/dissociate.el (dissociated-press):
518 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
519 (decipher-analyze-buffer, decipher-stats-buffer,decipher-stats-buffer):
520 * mail/supercite.el (sc-eref-show):
521 * mail/smtpmail.el (smtpmail-send-it):
522 * mail/rmailsum.el (rmail-summary-next-labeled-message)
523 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
524 (rmail-summary-undelete-many, rmail-summary-rmail-update)
525 (rmail-summary-goto-msg, rmail-summary-expunge)
526 (rmail-summary-get-new-mail, rmail-summary-search-backward)
527 (rmail-summary-add-label, rmail-summary-output-menu)
528 (rmail-summary-output-body):
529 * mail/rfc822.el (rfc822-addresses):
530 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
531 * mail/mailpost.el (post-mail-send-it):
532 * mail/hashcash.el (hashcash-generate-payment):
533 * mail/feedmail.el (feedmail-run-the-queue)
534 (feedmail-queue-send-edit-prompt-help-first)
535 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
536 (feedmail-deduce-address-list):
537 * eshell/esh-ext.el (eshell-remote-command):
538 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
539 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
540 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
541 (viper-save-string-in-file, viper-valid-marker):
542 * emulation/viper-keym.el (viper-toggle-key):
543 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
544 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
545 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
546 * emulation/viper-cmd.el (viper-exec-form-in-vi)
547 (viper-exec-form-in-emacs, viper-brac-function):
548 * emulation/viper.el (viper-delocalize-var):
549 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
550 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
551 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
552 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
553 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
554 * emulation/edt.el (edt-electric-helpify):
555 * emulation/cua-rect.el (cua--rectangle-aux-replace):
556 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
557 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
558 (cua-indent-to-global-mark-column):
559 * calendar/diary-lib.el (calendar-mark-1):
560 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
561 Use with-current-buffer.
562 * emulation/viper.el (viper-delocalize-var): Use dolist.
564 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
566 * comint.el (comint-replace-by-expanded-history-before-point):
567 Replace !! with the previous input string literally (Bug#1795).
569 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
571 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
572 to be made up of whitespace.
574 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
576 * minibuffer.el (read-file-name): Don't use file dialogs for
577 remote directories (Bug#99).
579 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
581 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
583 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
585 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
586 instead of deleting the window or frame.
588 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
590 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
593 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
594 New function. Support face colors (Bug#1168).
595 (tex-common-initialization): Use it.
597 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
598 mode allows it (Bug#1168).
600 2009-10-31 Juri Linkov <juri@jurta.org>
602 * facemenu.el (list-colors-display): Don't mark buffer as
605 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
607 * international/mule-diag.el (list-character-sets-1): Minor
608 message fix (Bug#3526).
610 * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
611 face property (Bug#4834).
612 (etags-list-tags, etags-tags-apropos-additional)
613 (etags-tags-apropos, tags-select-tags-table): Add follow-link
616 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
619 * cedet/cedet.el (cedet-menu-map): Remove Semantic and EDE menu
622 * cedet/ede.el (ede-minor-mode):
623 * cedet/semantic.el (semantic-mode): Toggle menu separators.
625 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
627 * textmodes/two-column.el (2C-split):
628 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
629 * textmodes/tex-mode.el (tex-set-buffer-directory):
630 * textmodes/spell.el (spell-region, spell-string):
631 * textmodes/reftex.el (reftex-erase-buffer):
632 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
633 * textmodes/reftex-toc.el (reftex-toc-promote-action):
634 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
635 (reftex-select-item):
636 * textmodes/reftex-ref.el (reftex-label-info-update)
637 (reftex-offer-label-menu):
638 * textmodes/reftex-index.el (reftex-index-change-entry)
639 (reftex-index-phrases-info):
640 * textmodes/reftex-global.el (reftex-create-tags-file)
641 (reftex-save-all-document-buffers, reftex-ensure-write-access):
642 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
643 (reftex-view-crossref-from-bibtex):
644 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
645 (reftex-extract-bib-entries-from-thebibliography)
646 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
647 * textmodes/refbib.el (r2b-capitalize-title):
648 (r2b-convert-buffer, r2b-help):
649 * textmodes/page-ext.el (pages-directory)
650 (pages-directory-goto-with-mouse):
651 * textmodes/bibtex.el (bibtex-validate-globally):
652 * textmodes/bib-mode.el (bib-capitalize-title):
653 * textmodes/artist.el (artist-clear-buffer, artist-system):
654 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
655 (local-set-scheme-interaction-buffer, xscheme-process-filter)
656 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
657 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
658 (xscheme-send-control-g-interrupt, xscheme-start-process)
659 (xscheme-process-sentinel, xscheme-cd):
660 * progmodes/verilog-mode.el (verilog-read-always-signals)
661 (verilog-set-define, verilog-getopt-file)
662 (verilog-module-inside-filename-p):
663 * progmodes/sh-script.el:
664 * progmodes/python.el (python-pdbtrack-get-source-buffer)
665 (python-pdbtrack-grub-for-buffer, python-execute-file):
666 * progmodes/octave-inf.el (inferior-octave):
667 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
668 (idlwave-shell-compile-helper-routines, idlwave-set-local)
669 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
670 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
671 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
672 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
673 (idlwave-shell-filter, idlwave-shell-examine-highlight)
674 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
675 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
676 (idlwave-shell-examine-display, idlwave-shell-run-region)
677 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
678 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
679 * progmodes/idlw-help.el (idlwave-help-get-special-help)
680 (idlwave-help-get-help-buffer):
681 * progmodes/gud.el (gud-basic-call, gud-find-class)
682 (gud-tooltip-activate-mouse-motions-if-enabled):
683 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
684 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
685 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
686 (ebrowse-tags-next-file):
687 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
688 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
689 (ebnf-eps-finish-and-write):
690 * progmodes/cpp.el (cpp-edit-save):
691 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
692 * progmodes/cc-defs.el (c-emacs-features):
693 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
694 (antlr-directory-dependencies):
695 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
696 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
697 (ada-find-any-references, ada-make-filename-from-adaname)
698 (ada-make-body-gnatstub):
699 * obsolete/rnews.el (news-list-news-groups):
700 * obsolete/resume.el (resume-suspend-hook,resume-write-buffer-to-file):
701 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
702 * net/rcirc.el (rcirc-debug):
703 * net/newst-treeview.el (newsticker--treeview-list-add-item)
704 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
705 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
706 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
707 (newsticker--treeview-tree-update-tag,newsticker--treeview-buffer-init)
708 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
709 (newsticker--treeview-list-clear-highlight)
710 (newsticker--treeview-list-update-highlight)
711 (newsticker--treeview-list-highlight-start)
712 (newsticker--treeview-tree-update-highlight)
713 (newsticker--treeview-get-selected-item)
714 (newsticker-treeview-mark-list-items-old)
715 (newsticker--treeview-set-current-node):
716 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
717 * net/newst-backend.el (newsticker--get-news-by-funcall)
718 (newsticker--get-news-by-wget, newsticker--image-get)
719 (newsticker--image-sentinel):
720 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
721 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
722 (eudc-ph-close-session):
723 * net/eudc.el (eudc-save-options):
724 * language/thai-word.el (thai-update-word-table):
725 * language/japan-util.el (japanese-string-conversion):
726 * international/titdic-cnv.el (tsang-quick-converter)
727 (ziranma-converter, ctlau-converter):
728 * international/mule-cmds.el (describe-language-environment):
729 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
730 (skkdic-convert-postfix, skkdic-convert-prefix):
731 (skkdic-convert-okuri-nasi, skkdic-convert):
732 * emacs-lisp/re-builder.el (reb-update-overlays):
733 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
734 * emacs-lisp/gulp.el (gulp-send-requests):
735 * emacs-lisp/find-gc.el (trace-call-tree):
736 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
737 (eieio-describe-generic):
738 * emacs-lisp/eieio-base.el (eieio-persistent-read):
739 * emacs-lisp/edebug.el (edebug-outside-excursion):
740 * emacs-lisp/debug.el (debugger-make-xrefs):
741 * emacs-lisp/cust-print.el (custom-prin1-to-string):
742 * emacs-lisp/chart.el (chart-new-buffer):
743 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
744 Use with-current-buffer.
745 * textmodes/artist.el (artist-system): Don't call
746 copy-sequence on a fresh string.
747 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
749 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
751 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
752 is no item to edit. (Bug#4820)
753 (todo-top-priorities): Restore point and restore narrowing in Todo
756 2009-10-31 Glenn Morris <rgm@gnu.org>
758 * net/ange-ftp.el (top-level): Don't require dired when compiling.
759 (comint-last-output-start, comint-last-input-start)
760 (comint-last-input-end): Don't defvar when compiling.
761 (ange-ftp-process-file): Use bound-and-true-p.
763 * pcmpl-rpm.el (top-level): Move provide statement to end.
764 (pcmpl-rpm): Remove unused custom group.
766 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
768 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
770 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
771 (byte-compile-warnings): Add `constants' as an option.
772 (byte-compile-callargs-warn, byte-compile-arglist-warn)
773 (display-call-tree): Update for byte-compile-fdefinition possibly
774 returning `(macro lambda ...)'. (Bug#4778)
775 (byte-compile-variable-ref, byte-compile-setq-default):
776 Respect `constants' member of byte-compile-warnings.
778 * cedet/semantic/tag.el (semantic--tag-link-list-to-buffer):
779 Use mapc rather than mapcar because the return value is never used.
781 * cedet/srecode/template.el, cedet/semantic/wisent/javascript.el:
782 * cedet/semantic/wisent/java-tags.el, cedet/semantic/texi.el:
783 * cedet/semantic/html.el:
784 Suppress harmless warnings about setting up semantic-imenu (not
785 part of Emacs) variables.
787 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
789 * vc-bzr.el (vc-bzr-revision-keywords): New var.
790 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
793 * cedet/srecode/srt-mode.el (semantic-analyze-possible-completions):
794 * cedet/semantic/symref/list.el (semantic-symref-rb-toggle-expand-tag):
795 * cedet/semantic/symref/grep.el (semantic-symref-perform-search):
796 * cedet/semantic/bovine/gcc.el (semantic-gcc-query):
797 * cedet/semantic/bovine/c.el (semantic-c-parse-lexical-token):
798 * cedet/semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons)
799 (semantic-analyzer-debug-global-symbol)
800 (semantic-analyzer-debug-missing-innertype)
801 (semantic-analyzer-debug-insert-include-summary):
802 * cedet/semantic/util.el (semantic-file-tag-table):
803 (semantic-describe-buffer-var-helper, semantic-something-to-tag-table)
804 (semantic-recursive-find-nonterminal-by-name):
805 * cedet/semantic/tag-ls.el (semantic-tag-calculate-parent-default):
806 * cedet/semantic/tag-file.el (semantic-prototype-file):
807 * cedet/semantic/symref.el (semantic-symref-parse-tool-output):
808 * cedet/semantic/sb.el (semantic-sb-fetch-tag-table):
809 * cedet/semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
810 * cedet/semantic/idle.el (semantic-idle-work-for-one-buffer):
811 (semantic-idle-summary-maybe-highlight):
812 * cedet/semantic/ia-sb.el (semantic-ia-speedbar)
813 (semantic-ia-sb-tag-info):
814 * cedet/semantic/grammar.el (semantic-analyze-possible-completions):
815 * cedet/semantic/find.el (semantic-brute-find-tag-by-position):
816 * cedet/semantic/ede-grammar.el (project-compile-target):
817 (ede-proj-makefile-insert-variables):
818 * cedet/semantic/debug.el (semantic-debug-set-parser-location):
819 (semantic-debug-set-source-location, semantic-debug-interface-layout)
820 (semantic-debug-mode, semantic-debug):
821 * cedet/semantic/db.el (semanticdb-needs-refresh-p):
822 * cedet/semantic/db-typecache.el (semanticdb-typecache-refresh-for-buffer):
823 * cedet/semantic/db-javascript.el (semanticdb-equivalent-mode):
824 * cedet/semantic/db-find.el (semanticdb-find-log-new-search)
825 (semanticdb-find-translate-path-includes--internal)
826 (semanticdb-reset-log, semanticdb-find-log-activity):
827 * cedet/semantic/db-file.el (object-write):
828 * cedet/semantic/db-el.el (semanticdb-equivalent-mode):
829 * cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-C-file-p)
830 (semanticdb-create-ebrowse-database):
831 * cedet/semantic/db-debug.el (semanticdb-table-sanity-check):
832 * cedet/semantic/complete.el (semantic-displayor-focus-request)
833 (semantic-collector-calculate-completions-raw)
834 (semantic-complete-read-tag-analyzer):
835 * cedet/semantic/analyze.el (semantic-analyze-pulse):
836 * cedet/ede/util.el (ede-update-version-in-source):
837 * cedet/ede/proj.el (project-delete-target):
838 * cedet/ede/proj-elisp.el (ede-update-version-in-source)
839 (ede-proj-flush-autoconf):
840 * cedet/ede/pconf.el (ede-proj-configure-synchronize)
841 (ede-proj-configure-synchronize):
842 * cedet/ede/locate.el (ede-locate-file-in-project-impl):
843 * cedet/ede/linux.el (ede-linux-version):
844 * cedet/ede/emacs.el (ede-emacs-version):
845 * cedet/ede/dired.el (ede-dired-add-to-target):
846 * cedet/ede.el (ede-buffer-header-file, ede-find-target)
847 (ede-buffer-documentation-files, ede-project-buffers, ede-set)
848 (ede-target-buffers, ede-buffers, ede-make-project-local-variable):
849 * cedet/cedet-idutils.el (cedet-idutils-fnid-call):
850 (cedet-idutils-lid-call, cedet-idutils-expand-filename)
851 (cedet-idutils-version-check):
852 * cedet/cedet-global.el (cedet-gnu-global-call):
853 (cedet-gnu-global-expand-filename, cedet-gnu-global-root)
854 (cedet-gnu-global-version-check, cedet-gnu-global-scan-hits):
855 * cedet/cedet-cscope.el (cedet-cscope-call)
856 (cedet-cscope-expand-filename, cedet-cscope-version-check):
857 Use with-current-buffer.
858 * cedet/ede.el (ede-make-project-local-variable)
859 (ede-set-project-variables, ede-set): Use dolist.
861 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
863 * textmodes/ispell.el (ispell-skip-region-alist):
864 * international/mule-conf.el (eight-bit):
865 * international/fontset.el (font-encoding-alist):
866 * startup.el (pure-space-overflow-message):
867 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
868 * paths.el (gnus-nntp-service, rmail-spool-directory)
870 * files.el (save-some-buffers-action-alist):
871 * cmuscheme.el (same-window-buffer-names):
872 * ielm.el (same-window-buffer-names):
873 * shell.el (same-window-buffer-names):
874 * mail/sendmail.el (same-window-buffer-names):
875 * progmodes/inf-lisp.el (same-window-buffer-names):
876 * bindings.el (mode-line-client)
877 (mode-line-column-line-number-mode-map):
878 * language/tibetan.el (tibetan-precomposition-rule-regexp)
879 (tibetan-precomposed-regexp): Purecopy string arguments.
881 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
883 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
884 (calcDigit-nondigit):
885 * calc/calc-yank.el (calc-copy-to-buffer):
886 * calc/calc-units.el (calc-invalidate-units-table):
887 * calc/calc-trail.el (calc-trail-yank):
888 * calc/calc-store.el (calc-insert-variables):
889 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
890 * calc/calc-prog.el (calc-read-parse-table):
891 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
892 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
893 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
894 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
895 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
896 (calc-graph-name, calc-graph-find-command, calc-graph-view)
897 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
898 * calc/calc-ext.el (calc-realign):
899 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
900 (calc-embedded-finish-edit, calc-embedded-make-info)
901 (calc-embedded-finish-command, calc-embedded-stack-change):
902 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
904 * cedet/mode-local.el (make-obsolete-overload): Add `when' argument.
905 (overload-docstring-extension): Use that info.
906 * cedet/semantic/fw.el (semantic-alias-obsolete): Pass the `when' info.
907 * cedet/semantic/idle.el (semantic-eldoc-current-symbol-info):
908 * cedet/semantic/tag-ls.el (semantic-nonterminal-protection)
909 (semantic-nonterminal-abstract, semantic-nonterminal-leaf)
910 (semantic-nonterminal-full-name): Add the new `when' info.
911 * cedet/semantic/decorate/mode.el (semantic/decorate): Require CL for
914 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
915 shell-dynamic-complete-filename in preference to
916 comint-dynamic-complete-filename.
918 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
919 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
920 Don't consider whether the display supports colors.
921 (bookmark-import-new-list): Use dolist.
922 (bookmark-bmenu-mode-map): Move initialization into declaration.
923 (bookmark-bmenu-list): Use dolist, simplify.
924 (bookmark-show-all-annotations): Use save-selected-window and dolist.
925 (menu-bar-final-items): Use push.
927 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
929 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
930 it works on remote files.
931 (vc-hg-diff): Don't pass any `--cwd' argument.
933 2009-10-27 Kevin Ryde <user42@zip.com.au>
935 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
936 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
937 (Further to Bug#3921).
939 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
941 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
942 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
943 calling `tramp-imap-put-file'. Add file size to the call.
944 (tramp-imap-get-file-entries): Compute also user name, file size,
946 (tramp-imap-handle-insert-directory): Insert uid and gid.
947 (tramp-imap-handle-file-attributes): Transform uid and gid
948 according to `id-format'.
949 (tramp-imap-put-file): New optional parameter SIZE. Encode file
950 size in header X-Size.
952 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
954 * simple.el (transpose-subr): Give clearer error when the mark
955 is not set. (Bug#4807)
957 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
959 * net/tramp.el (tramp-perl-file-truename): New defconst.
960 Perl code contributed by yary <not.com@gmail.com> (tiny change).
961 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
962 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
963 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
965 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
966 Ignore `dired-call-process'.
967 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
969 2009-10-26 Julian Scheid <julians37@gmail.com>
971 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
972 (tramp-get-remote-readlink): New defun.
973 (tramp-handle-file-truename): Use it.
974 (tramp-handle-file-exists-p): Check file-attributes cache, assume
975 file exists if cache value present.
976 (tramp-check-cached-permissions) New defun.
977 (tramp-handle-file-readable-p): Use it.
978 (tramp-handle-file-writable-p): Likewise.
979 (tramp-handle-file-executable-p): Likewise.
980 (tramp-handle-file-name-all-completions): Try using Perl to get
981 partial completions. When perl not available, combine `cd' and
982 `ls' into single remote operation and use shell expansion to get
983 partial remote directory contents. Set `file-exists-p' cache for
984 directory and any files returned by ls. Change cache handling to
985 support partial directory contents. Use error message emitted by
986 remote `cd' or Perl code for local tramp-error.
987 (tramp-do-copy-or-rename-file-directly): Avoid separate
988 tramp-send-command-and-check call.
989 (tramp-handle-process-file): Merge three remote ops into one.
990 Do not flush all caches when `process-file-side-effects' is set.
991 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
992 file-attributes shows uid/gid to be set already.
994 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
996 * textmodes/tex-mode.el (tex-dvi-view-command)
997 (tex-show-queue-command, tex-open-quote):
998 * progmodes/ruby-mode.el (auto-mode-alist)
999 (interpreter-mode-alist): Purecopy strings.
1001 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
1003 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
1004 string for the hook, keymap and abbrev table.
1006 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
1008 * x-dnd.el (x-dnd-xdnd-to-action):
1009 * startup.el (fancy-startup-text, fancy-about-text): Change to
1010 defconst from defvar.
1012 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
1014 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
1015 Purecopy initialization strings.
1017 * mail/sendmail.el (mail-header-separator)
1018 (mail-personal-alias-file):
1019 * mail/rmail.el (rmail-default-dont-reply-to-names)
1020 (rmail-ignored-headers, rmail-retry-ignored-headers)
1021 (rmail-highlighted-headers, rmail-secondary-file-directory)
1022 (rmail-secondary-file-regexp):
1023 * files.el (null-device, file-name-invalid-regexp)
1024 (locate-dominating-stop-dir-regexp)
1025 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
1026 (interpreter-mode-alist): Use mapcar instead of mapc.
1028 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
1030 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
1031 (completion-ignored-extensions):
1032 (debug-ignored-errors): Purecopy strings.
1034 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1036 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
1037 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
1038 (pcomplete--here): Use push.
1040 * subr.el (all-completions): Declare the 4th arg obsolete.
1042 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1044 * pcomplete.el (pcomplete-unquote-argument-function): New var.
1045 (pcomplete-unquote-argument): New function.
1046 (pcomplete--common-suffix): Always pay attention to case.
1047 (pcomplete--table-subvert): Quote and unquote the text.
1048 (pcomplete--common-quoted-suffix): New function.
1049 (pcomplete-std-complete): Use it and pcomplete-begin.
1051 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
1052 we're inside a dedicated or minibuffer window.
1054 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1056 * cedet/semantic/fw.el (semantic-alias-obsolete)
1057 (semantic-varalias-obsolete): Make the `when' arg mandatory.
1058 (define-mode-overload-implementation):
1059 * cedet/semantic/decorate/mode.el (semantic-decorate-pending-decoration-hooks):
1060 * cedet/semantic/wisent.el (wisent-lex-make-token-table):
1061 * cedet/semantic/util.el (semantic-file-token-stream)
1062 (semantic-something-to-stream):
1063 * cedet/semantic/tag.el (semantic-tag-make-assoc-list)
1064 (semantic-expand-nonterminal):
1065 * cedet/semantic/tag-file.el (semantic-find-nonterminal)
1066 (semantic-find-dependency, semantic-find-nonterminal)
1067 (semantic-find-dependency):
1068 * cedet/semantic/lex.el (semantic-flex-start, semantic-flex-end)
1069 (semantic-flex-text, semantic-flex-make-keyword-table)
1070 (semantic-flex-keyword-p, semantic-flex-keyword-put)
1071 (semantic-flex-keyword-get, semantic-flex-map-keywords)
1072 (semantic-flex-keywords, semantic-flex-buffer, semantic-flex-list):
1073 * cedet/semantic/java.el (semantic-java-prototype-nonterminal):
1074 * cedet/semantic/idle.el (semantic-before-idle-scheduler-reparse-hooks)
1075 (semantic-after-idle-scheduler-reparse-hooks):
1076 * cedet/semantic/edit.el (semantic-edits-incremental-reparse-failed-hooks):
1077 * cedet/semantic/db-mode.el (semanticdb-mode-hooks):
1078 * cedet/semantic.el (semantic-toplevel-bovine-table)
1079 (semantic-toplevel-bovine-cache)
1080 (semantic-before-toplevel-bovination-hook, semantic-init-hooks)
1081 (semantic-init-mode-hooks, semantic-init-db-hooks)
1082 (semantic-bovination-working-type): Provide the `when' arg.
1084 2009-10-24 Karl Fogel <kfogel@red-bean.com>
1086 * bookmark.el: Update documentation, especially documentation
1087 of `bookmark-alist' and of the bookmark file format.
1088 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
1090 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
1092 * mail/emacsbug.el (report-emacs-bug): Clarify that the
1093 keybindings apply to the mail buffer (Bug#4003). Shrink help
1096 * whitespace.el (whitespace-mode, whitespace-newline-mode)
1097 (global-whitespace-mode, global-whitespace-newline-mode)
1098 (whitespace-toggle-options, global-whitespace-toggle-options):
1101 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
1102 of xmltok-start before the end tag was inserted (Bug#2840).
1104 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
1105 patterns that are preceded by an open-paren (Bug#1320).
1107 2009-10-24 Sven Joachim <svenjoac@gmx.de>
1109 * files.el (delete-directory): Delete symlinks to directories with
1110 delete-file (Bug#4739).
1112 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
1114 * cedet/semantic/util.el (semantic-recursive-find-nonterminal-by-name):
1115 * cedet/semantic/tag.el (semantic-token-type-parent): Add WHEN
1116 argument to make-obsolete.
1118 * cedet/semantic/fw.el (semantic-alias-obsolete)
1119 (semantic-varalias-obsolete): Add optional WHEN argument.
1121 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
1123 * vc.el (vc-backend-for-registration): Rename from
1124 vc-get-backend-for-registration. Update callers.
1126 * international/mule-cmds.el (set-language-info-alist):
1128 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
1129 (charset): Purecopy the name.
1130 (define-char-code-property): Purecopy string arguments.
1132 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
1133 Purecopy string arguments.
1135 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
1136 * ediff-hook.el (menu-bar-ediff-menu):
1137 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
1138 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
1140 2009-10-24 Glenn Morris <rgm@gnu.org>
1142 * comint.el (comint-dynamic-list-completions):
1143 * term.el (term-dynamic-list-completions): Use choose-completion rather
1144 than obsolete alias mouse-choose-completion.
1146 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
1147 file-cache-choose-completion.
1148 (file-cache-choose-completion): Handle an optional event argument.
1149 (file-cache-mouse-choose-completion): Make it an obsolete alias.
1151 * progmodes/octave-mod.el (octave-complete-symbol):
1152 Use choose-completion if mouse-choose-completion is ever removed.
1154 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
1157 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
1160 * vc-hooks.el (vc-responsible-backend): Fix declaration.
1162 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1164 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
1165 Ignore `pred' now that we receive one.
1166 Handle test-completion specially.
1168 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
1170 * vc.el (vc-responsible-backend): Throw an error if not backend is
1171 found. Remove the REGISTER argument. Move the code dealing with
1173 (vc-get-backend-for-registration): ... here. New function.
1174 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
1175 of vc-responsible-backend, pass the file name instead of the
1178 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1180 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
1182 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
1183 (pcomplete-comint-setup): Don't modify a global var via
1184 accidental side-effects.
1185 (pcomplete-shell-setup): Adjust call accordingly.
1186 (pcomplete-parse-comint-arguments): Use push.
1188 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
1190 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
1191 Allow uncapitalized info node names (Bug#3921).
1193 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
1194 to the DEBUG file (Bug#3781).
1196 2009-10-23 Jari Aalto <jari.aalto@cante.net>
1198 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
1199 dictionary entry (Bug#4579).
1201 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
1203 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
1204 from `rfn-eshadow-update-overlay-hook' when unloading.
1205 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
1206 "rsyncc". Adjust doc string.
1207 (tramp-temp-buffer-file-name) New buffer-local defvar.
1208 (tramp-handle-insert-file-contents, tramp-handle-write-region):
1209 Keep temporary file when indicated by method ("rsync" and
1211 (tramp-handle-write-region): Handle APPEND.
1212 (tramp-delete-temp-file-function): New defun. Added to
1215 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
1217 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
1219 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
1221 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
1222 (color-name-rgb-alist, tty-standard-colors)
1223 (tty-color-mode-alist): Change to defconst.
1225 * simple.el (mark-inactive): Purecopy message.
1227 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
1228 (global-map, yank-menu):
1229 * textmodes/ispell.el (ispell-menu-map):
1230 * net/eudc.el (eudc-tools-menu):
1231 * international/mule-cmds.el (describe-language-environment-map)
1232 (setup-language-environment-map, set-coding-system-map)
1234 * vc-hooks.el (vc-menu-entry, vc-menu-map):
1235 * replace.el (occur-mode-map):
1236 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
1238 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
1240 * calc/calc.el (math-read-number, math-read-number-simple): Use
1243 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1245 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
1246 rather than fiddling with global-map bindings, since it should only
1247 affect per-terminal settings.
1248 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
1250 * minibuffer.el (completion-table-with-terminator): Allow to specify
1251 the terminator-regexp.
1253 * simple.el (switch-to-completions): Look for *Completions* in other
1256 * pcomplete.el: Allow the use of completion-tables.
1257 (pcomplete-std-complete): New command.
1258 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
1259 (pcomplete--here): Use a function for `form' rather than an expression,
1260 so it can be byte-compiled.
1261 (pcomplete-here, pcomplete-here*): Adjust accordingly.
1262 Add edebug declaration.
1263 (pcomplete-show-completions): Remove unused var `curbuf'.
1264 (pcomplete-do-complete, pcomplete-stub):
1265 Don't assume `completions' is a list of strings any more.
1267 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
1269 * find-dired.el (find-name-arg): Fix typo in docstring.
1271 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1273 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
1274 (pcmpl-linux-fs-types): Same, and update to new modules layout.
1276 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
1279 * comint.el (comint-read-input-ring, comint-write-input-ring)
1280 (comint-substitute-in-file-name)
1281 (comint-dynamic-complete-as-filename)
1282 (comint-dynamic-simple-complete)
1283 (comint-dynamic-list-filename-completions)
1284 (comint-dynamic-list-completions)
1285 (comint-redirect-results-list-from-process): Minor simplifications.
1287 2009-10-21 Kevin Ryde <user42@zip.com.au>
1289 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
1290 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
1291 the first form. And insert a blank line after ";;; Code" since
1292 that's usual style. (My Bug#4612.)
1294 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
1296 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1298 * minibuffer.el (completion-table-with-terminator): Properly implement
1299 boundaries, in case `terminator' appears in the suffix.
1300 (completion--embedded-envvar-table): Don't return boundaries if
1301 there's no valid completion. Simplify.
1302 (completion-file-name-table): New completion table extracted from
1303 completion--file-name-table.
1304 (completion--file-name-table): Use it.
1305 (read-file-name-predicate): Declare obsolete.
1306 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
1307 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
1308 completion-file-name-table, and use the `pred' argument.
1309 * files.el (locate-file-completion-table): Use the `pred' arg rather
1310 than read-file-name-predicate.
1311 (abbreviate-file-name): Use \` rather than ^ for BOS.
1313 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
1315 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
1316 vc-responsible-backend to register, it causes problems.
1318 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1320 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
1322 2009-10-21 Eric Ludlam <zappo@gnu.org>
1324 * cedet/semantic/bovine/c.el (semantic-c-debug-mode-init)
1325 (semantic-c-debug-mode-init-pch): New functions.
1326 (semantic-c-debug-mode-init-last-mode): New var.
1327 (semantic-c-parse-lexical-token): Use them.
1329 * cedet/semantic/lex-spp.el (semantic-lex-spp-anlyzer-do-replace):
1330 When extracting the argument list, limit only by point-max.
1332 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
1334 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
1335 (tramp-smb-handle-file-attributes): Use it.
1336 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
1337 (tramp-smb-handle-insert-directory): Use `mapc' rather than
1338 `mapcar'. Use `tramp-smb-get-stat-capability'.
1339 Add `dired-filename' text properties.
1340 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
1341 (tramp-smb-maybe-open-connection): Simplify check for smbclient
1344 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
1346 * subr.el (read-key-delay): Reduce to 0.01.
1347 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
1350 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1352 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
1354 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
1355 (Info-menu): Remove unused vars `last' and `completions'.
1356 (Info-index-nodes): Remove unused var `node'.
1358 * info.el (Info-complete-menu-item): Use complete-with-action.
1360 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
1362 Make vc-annotate work through copies and renames.
1363 * vc-annotate.el (vc-annotate-extract-revision-at-line):
1364 Return the file name too.
1365 (vc-annotate-revision-at-line)
1366 (vc-annotate-find-revision-at-line)
1367 (vc-annotate-revision-previous-to-line)
1368 (vc-annotate-show-log-revision-at-line): Update to get the file
1369 name from vc-annotate-extract-revision-at-line.
1370 (vc-annotate-show-diff-revision-at-line-internal): Change the
1371 argument to mean whether to show a file diff or not. Get the file
1372 name from vc-annotate-extract-revision-at-line.
1373 (vc-annotate-show-diff-revision-at-line):
1374 Update vc-annotate-show-diff-revision-at-line call.
1375 (vc-annotate-warp-revision): Add an optional file argument.
1377 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
1378 (vc-git-annotate-extract-revision-at-line): Also return the file
1381 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
1382 command. Remove unused code.
1383 (vc-hg-annotate-re): Update to match --follow output.
1384 (vc-hg-annotate-extract-revision-at-line): Also return the file
1387 * vc.el: Update annotate-extract-revision-at-line documentation.
1389 2009-10-18 Kevin Ryde <user42@zip.com.au>
1391 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
1392 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
1394 * net/browse-url.el (browse-url): Identify alist with "consp and
1395 not functionp" and let all other things go down the `apply' leg,
1396 as suggested by Stefan. (Further to bug#4531.)
1398 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
1400 * minibuffer.el (read-file-name): Check for repeat before putting
1401 a default argument in file-name-history (Bug#4657).
1403 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
1404 read syntax (Bug#4737).
1406 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
1408 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1410 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
1411 (html-tag-alist, html-tag-help): Add descriptions for undocumented
1412 entries and make note of obsolete tags.
1414 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1416 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
1418 2009-10-18 Glenn Morris <rgm@gnu.org>
1420 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
1421 grep, so that binary files (eg international/uni-bidi.el) can match.
1422 Remove test for "UnicodeData" files, since it is hopefully unnecessary
1423 now, and in any case the file header format has changed.
1425 2009-10-17 Glenn Morris <rgm@gnu.org>
1427 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
1428 (flyspell-get-word, flyspell-large-region)
1429 (flyspell-auto-correct-previous-word): Doc/error message fixes.
1431 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
1433 * Makefile.in (ELCFILES): Add ede/shell.
1435 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
1437 * term/common-win.el (x-colors): Purecopy it.
1439 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1441 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
1442 permissive for when the buffer is empty.
1443 (tar-header-block-tokenize): Decode the username and groupname.
1444 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
1446 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
1448 * cedet/srecode/srt.el:
1449 * cedet/srecode/compile.el:
1450 * cedet/semantic/mru-bookmark.el:
1451 * cedet/semantic/debug.el:
1452 * cedet/semantic/complete.el:
1453 * cedet/semantic/analyze.el: Require CL when compiling.
1455 2009-10-17 Eric Ludlam <zappo@gnu.org>
1457 * cedet/semantic/scope.el
1458 (semantic-analyze-scoped-inherited-tag-map): Wrap calculation of
1459 tmpscope so that the regular scope will continue to work.
1461 * cedet/semantic/idle.el (semantic-idle-tag-highlight):
1462 Use semantic-idle-summary-highlight-face as the highlighting.
1464 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
1465 contains multibyte characters, choose first applicable coding
1466 system automatically.
1468 * cedet/ede/project-am.el (project-run-target): New method.
1469 (project-run-target): New method.
1471 * cedet/ede.el (ede-target): Add run target menu item.
1472 (ede-project, ede-minor-keymap): Add ede-run-target binding.
1473 (ede-run-target): New function.
1474 (ede-target::project-run-target): New method.
1476 * cedet/ede/proj.el (project-run-target): New method.
1478 * cedet/ede/proj-shared.el (ede-gcc-libtool-shared-compiler)
1479 (ede-g++-libtool-shared-compiler): Remove SHELL. Remove COMMANDS.
1481 (ede-proj-target-makefile-shared-object): Only libtool compilers
1482 now available. Add linkers for libtool.
1483 (ede-cc-linker-libtool, ede-g++-linker-libtool): New.
1484 (ede-proj-makefile-target-name): Always use .la extension.
1486 * cedet/ede/proj-prog.el (project-run-target): New method.
1488 * cedet/ede/proj-obj.el (ede-cc-linker): Rename from ede-gcc-linker.
1489 (ede-g++-linker): Change Change link lines.
1491 * cedet/ede/pmake.el (ede-pmake-insert-variable-shared):
1492 When searching for old variables, go to the end of the buffer and
1493 search backward from there.
1494 (ede-proj-makefile-automake-insert-subdirs)
1495 (ede-proj-makefile-automake-insert-extradist): New methods.
1496 (ede-proj-makefile-create): Use them.
1498 * cedet/ede/pconf.el (ede-proj-configure-test-required-file):
1499 Force FILE to expand to the current target. Use file-exists-p to
1500 check that it exists.
1502 * cedet/ede/linux.el (ede-linux-version): Don't call "head".
1503 (ede-linux-load): Wrap dir in file-name-as-directory.
1506 * cedet/ede/files.el (ede-get-locator-object): When enabling
1507 locate, do so on "top".
1509 * cedet/ede/emacs.el (ede-emacs-file-existing): Wrap "dir" in
1510 file-name-as-directory during compare.
1511 (ede-emacs-version): Return Emacs/XEmacs differentiator.
1512 Get version number from different places. Don't call egrep.
1513 (ede-emacs-load): Set :version slot. Call file-name-as-directory
1514 to set the directory.
1516 * cedet/ede/shell.el: New file.
1518 * cedet/inversion.el (inversion-decoders): Allow for stray . in
1519 alpha/beta variants.
1521 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1523 * international/mule-cmds.el (select-safe-coding-system): If the file
1524 has a coding cookie, use it regardless of any other setting (bug#4712).
1526 2009-10-17 Glenn Morris <rgm@gnu.org>
1528 * cedet/semantic/grammar.el (semantic-grammar--lex-delim-spec):
1529 All errors should have messages.
1531 * foldout.el (foldout-mouse-swallow-events):
1532 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
1534 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
1535 (dired-keep-marker-copy, dired-keep-marker-hardlink)
1536 (dired-keep-marker-symlink, dired-dwim-target)
1537 (dired-copy-preserve-time): Do not autoload these defcustoms.
1539 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
1540 messages from messing up the file coding. (Bug#4623)
1542 2009-10-17 Jari Aalto <jari.aalto@cante.net>
1544 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
1545 if no match is found for the current dictionary. (Bug#4578)
1547 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
1548 optional, since that is how it is documented, and this is often called
1549 with a nil argument. (Bug#4577)
1550 (flyspell-external-point-words, flyspell-auto-correct-word)
1551 (flyspell-correct-word-before-point, flyspell-word-search-forward)
1552 (flyspell-word-search-backward): Remove nil argument in calls to
1553 flyspell-get-word, since it is not needed now.
1555 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
1557 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
1559 2009-10-16 Glenn Morris <rgm@gnu.org>
1561 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
1563 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
1565 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
1566 (ange-ftp-file-size): New function.
1567 (ange-ftp-file-attributes): Use it.
1569 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
1571 * net/tramp-smb.el (tramp-smb-version): New defvar.
1572 (tramp-smb-maybe-open-connection): Use it, in order to avoid
1575 2009-10-16 Glenn Morris <rgm@gnu.org>
1577 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
1578 Maybe copy some custom properties from old to new name. (Bug#4706)
1580 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
1582 * subr.el (error, sit-for, start-process-shell-command)
1583 (start-file-process-shell-command): Set the calling convention
1584 after the function definition.
1586 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
1588 * subr.el (error, sit-for, start-process-shell-command)
1589 (start-file-process-shell-command): Use the new
1590 set-advertised-calling-convention feature.
1592 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
1594 * international/ucs-normalize.el (ucs-normalize-version):
1596 (check-range): Adjust for Unicode 5.2.
1598 2009-10-15 Juri Linkov <juri@jurta.org>
1600 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
1601 to the `menu-item' format.
1603 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
1605 * net/tramp.el (tramp-replace-environment-variables): Do not fail
1606 if the environment variable does not exist.
1608 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
1609 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
1611 (tramp-smb-handle-add-name-to-file)
1612 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
1613 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
1614 (tramp-smb-handle-file-attributes)
1615 (tramp-smb-do-file-attributes-with-stat)
1616 (tramp-smb-handle-file-local-copy)
1617 (tramp-smb-handle-insert-directory)
1618 (tramp-smb-handle-make-directory)
1619 (tramp-smb-handle-make-directory-internal)
1620 (tramp-smb-handle-make-symbolic-link)
1621 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
1622 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
1623 (tramp-smb-maybe-open-connection): Apply the changed parameters.
1624 (tramp-smb-read-file-entry): Read Disk names in compressed format.
1625 Handle long file names.
1626 (tramp-smb-get-cifs-capabilities): Check, whether the connection
1628 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
1629 Read share names with "-g" option.
1631 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
1633 * net/rcirc.el (rcirc-view-log-file): New command.
1634 (rcirc-track-minor-mode-map): Remove C-c ` binding.
1635 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
1638 2009-10-15 Glenn Morris <rgm@gnu.org>
1640 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
1641 from the second command-line argument.
1642 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
1643 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
1644 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
1645 w32-batch-update-autoloads.
1646 * emacs-lisp/autoload.el (autoload-make-program): New variable.
1647 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
1649 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
1650 the headers cannot be located. Simplify, subtracting superflous
1653 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
1655 Replace completion-base-size by completion-base-position to fix bugs
1657 * simple.el (completion-base-position): New var.
1658 (completion-base-size): Mark as obsolete.
1659 (choose-completion): Make it work for mouse events as well.
1660 Pass the new base-position to choose-completion-string.
1661 (choose-completion-guess-base-position): New function, extracted from
1662 choose-completion-delete-max-match.
1663 (choose-completion-delete-max-match): Use it. Make obsolete.
1664 (choose-completion-string): Use the new base-position info.
1665 (completion-root-regexp): Delete.
1666 (completion-setup-function): Preserve completion-base-position.
1667 Eliminate obsolete base-size manipulation.
1668 * minibuffer.el (display-completion-list): Don't mess with base-size.
1669 (minibuffer-completion-help): Set completion-base-position instead.
1670 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
1672 * textmodes/bibtex.el (bibtex-complete):
1673 * emacs-lisp/crm.el (crm--choose-completion-string):
1674 Adjust to new calling convention.
1675 * complete.el (partial-completion-mode): Use minibufferp to avoid
1676 bumping into incompatible change to choose-completion-string-functions.
1677 * ido.el (ido-choose-completion-string): Make its calling convention
1679 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
1680 base-size manipulation.
1681 (comint-dynamic-list-input-ring): Use dotimes and push.
1682 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
1683 fundamental-mode. Use `or'.
1685 2009-10-14 Juri Linkov <juri@jurta.org>
1687 * misearch.el (multi-isearch-next-buffer-from-list)
1688 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
1690 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1692 * Makefile.in (compile-onefile): Load `bytecomp' rather than
1695 * minibuffer.el (completion-pcm--merge-completions): Make sure the
1696 string we return is all made up of text from the completions rather
1697 than part from the completions and part from the input (bug#4219).
1699 * ido.el (ido-everywhere): Use define-minor-mode.
1701 * buff-menu.el (list-buffers, ctl-x-map):
1702 Mark the entry points with ;;;###autoload cookies.
1704 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
1706 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
1707 correctly in the detached head case.
1708 (vc-git-print-log): Remove unused binding.
1710 * vc.el (vc-responsible-backend): When a directory is passed for
1711 for registration create a VC repository if no backend is
1712 responsible for the directory argument.
1713 (vc-deduce-fileset): Tell vc-responsible-backend to register.
1715 * vc.el: Move comments about RCS and SCCS ...
1717 * vc-sccs.el: ... here, respectively.
1719 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1721 * minibuffer.el (completion--file-name-table): Return nil if there's
1722 no file completion, even if substitute-in-file-name changed
1723 the string (bug#4708).
1725 2009-10-13 Juri Linkov <juri@jurta.org>
1727 * files-x.el (read-file-local-variable-value): Don't filter out
1728 minor modes from mode name completion (bug#4664).
1730 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
1732 * international/mule-cmds.el (ucs-names): Remove exclusion of
1733 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
1735 2009-10-13 Kenichi Handa <handa@m17n.org>
1737 * international/uni-name.el: Regenerated.
1739 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
1741 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
1742 should be automatically buffer-local, but isn't.)
1744 2009-10-12 Sam Steingold <sds@gnu.org>
1746 * progmodes/compile.el (compilation-next-error-function): Fix the
1747 timestamps if the buffer has been visited before.
1748 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
1749 non-anchored patterns, like the perl one (bug#3928).
1751 2009-10-12 Glenn Morris <rgm@gnu.org>
1753 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
1756 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
1758 * proced.el (proced-unload-function): New function.
1760 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
1761 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
1764 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
1766 2009-10-11 Juri Linkov <juri@jurta.org>
1768 * files-x.el (read-file-local-variable-value):
1769 Provide default value only for bound variables (bug#4664).
1771 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
1773 * net/tramp.el (tramp-local-host-p): Function shall return nil for
1774 connection methods like smb.
1776 * net/tramp-cache.el (tramp-flush-connection-property): The hash
1779 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
1780 (tramp-smb-file-name-handler-alist): Add handlers for
1781 `add-name-to-file', `make-symbolic-link'.
1782 (tramp-smb-handle-add-name-to-file)
1783 (tramp-smb-do-file-attributes-with-stat)
1784 (tramp-smb-handle-make-symbolic-link)
1785 (tramp-smb-get-cifs-capabilities): New defuns.
1786 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
1787 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
1788 (tramp-smb-handle-file-local-copy)
1789 (tramp-smb-handle-make-directory-internal)
1790 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
1791 The file name syntax depends on cifs capabilities.
1792 (tramp-smb-handle-file-attributes):
1793 Call `tramp-smb-do-file-attributes-with-stat' if possible.
1794 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
1795 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
1797 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
1799 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
1800 (eieio-defclass): Apply deftype handler and setf-method properties
1802 (eieio-add-new-slot): Avoid union function from cl library.
1803 (eieio--typep): New function.
1804 (eieio-perform-slot-validation): Use it.
1806 2009-10-10 Karl Fogel <kfogel@red-bean.com>
1808 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
1809 Update documentation to refer to the variables documented in r1.135.
1812 2009-10-10 Karl Fogel <kfogel@red-bean.com>
1814 * bookmark.el (Info-suffix-list): Remove this unused variable.
1815 (bookmark-current-point): Remove this obsolete variable.
1816 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
1817 Adjust for removal of bookmark-current-point.
1819 (bookmarks-already-loaded, bookmark-current-buffer)
1820 (bookmark-yank-point): Document. (Bug#4188)
1822 2009-10-10 Glenn Morris <rgm@gnu.org>
1824 * frame.el (frame-height): Doc fix.
1826 * calendar/calendar.el (calendar-split-width-threshold): New option.
1827 (calendar-basic-setup): Use calendar-split-width-threshold.
1829 2009-10-10 Sascha Wilde <wilde@sha-bang.de>
1831 * cedet/ede/proj-shared.el (ede-proj-makefile-target-name):
1832 Use .la for Automake.
1834 2009-10-09 Chong Yidong <cyd@stupidchicken.com>
1836 * cedet/ede/pconf.el (ede-proj-configure-synchronize):
1837 Use "autoreconf -i". Suggested by Andreas Schwab.
1839 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
1841 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
1842 Ideographic Supplement" range (U+1F200..U+1F2FF).
1844 2009-10-09 Karl Fogel <kfogel@red-bean.com>
1846 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
1847 since the list will have been rebuilt anyway. (Bug#4349)
1849 2009-10-09 Karl Fogel <kfogel@red-bean.com>
1851 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
1852 (bookmark-bmenu-execute-deletions): Don't save here, as
1853 bookmark-delete will now do so if necessary.
1854 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
1857 2009-10-09 Glenn Morris <rgm@gnu.org>
1859 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
1861 2009-10-09 Karl Fogel <kfogel@red-bean.com>
1863 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
1864 (bookmark-jump-other-window): Just invoke bookmark-jump with new
1865 argument now, so the two function's behaviors will match. (Bug#3645)
1867 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
1869 * cedet/ede/proj.el (project-make-dist, project-compile-project):
1871 (ede-proj-dist-makefile): Use expand-file-name instead of concat
1872 to expand file names.
1874 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
1876 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
1877 (tramp-file-name-real-host, tramp-file-name-port):
1878 Apply `save-match-data'.
1880 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
1881 case both directories are remote.
1882 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
1883 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
1885 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
1887 * cedet/ede/proj-obj.el (ede-gcc-linker): New var.
1888 (ede-proj-target-makefile-objectcode): Use it.
1890 * cedet/ede/source.el (ede-want-any-source-files-p)
1891 (ede-want-any-auxiliary-files-p, ede-want-any-files-p):
1892 Return search result. This error was introduced while merging.
1894 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
1896 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
1898 2009-10-07 Glenn Morris <rgm@gnu.org>
1900 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
1903 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1905 * files-x.el (read-file-local-variable): Include some
1906 non-user-variables in the completion table (bug#4664).
1908 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
1910 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
1913 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
1914 (tramp-smb-file-name-handler-alist): Add handler for
1915 `copy-directory', `expand-file-name', `set-file-modes'.
1916 (tramp-smb-handle-copy-directory)
1917 (tramp-smb-handle-expand-file-name)
1918 (tramp-smb-handle-set-file-modes): New defuns.
1919 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
1920 (tramp-smb-handle-file-attributes): Simplify check for retrieving
1922 (tramp-smb-handle-insert-directory): Don't flush the cache.
1923 (tramp-smb-maybe-open-connection): Check for samba client and
1926 2009-10-07 Eli Zaretskii <eliz@gnu.org>
1928 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
1929 to not error out of search for "^lisp=" fails.
1931 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
1933 * makefile.w32-in (WINS_UPDATES): New macro.
1934 (custom-deps, finder-data, autoloads): Use it.
1936 2009-10-07 Glenn Morris <rgm@gnu.org>
1938 * Makefile.in (autoloads): Revert previous change.
1939 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
1940 the list of preloaded files passed on the command-line, get
1941 it from src/Makefile.
1943 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
1944 show the original buffer rather than a random one.
1946 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
1948 * help.el (describe-no-warranty): Place point in a slightly better
1949 position in the GPLv3 text.
1951 2009-10-06 Sam Steingold <sds@gnu.org>
1953 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
1954 the comm attribute is present before calling regexp-quote.
1956 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
1958 * play/animate.el (animate-string): For good effect, make sure
1959 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
1961 * play/animate.el (animate-sequence, animate-birthday-present):
1962 * misc.el (butterfly): Don't set `indent-tabs-mode'.
1964 2009-10-06 Glenn Morris <rgm@gnu.org>
1966 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
1968 * emacs-lisp/autoload.el (autoload-excludes): New variable.
1969 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
1970 (batch-update-autoloads): Process a string value of autoload-excludes,
1971 set during the build process.
1972 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
1974 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
1975 inside with-parsed... macro so that `v' is defined.
1977 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
1978 * progmodes/fortran.el (fortran-end-of-block)
1979 (fortran-beginning-of-block):
1980 Also push mark in the macro case.
1982 * emerge.el (emerge-show-file-name):
1983 * calc/calc.el (calc-quit):
1984 * calc/calc-misc.el (calc-big-or-small):
1985 * calc/calc-graph.el (calc-graph-view):
1986 * calc/calc-ext.el (calc-reset):
1987 * calendar/calendar.el (calendar-basic-setup):
1988 Use window-full-height-p.
1990 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
1991 header we don't understand, don't insert another. (Bug#4624)
1992 If changing mime charset, insert the new one in the right place.
1994 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
1996 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
1997 (cal-tex-cursor-month): Correctly increment the end date for diary and
1998 holiday listing. (Bug#4626)
2000 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2002 * help-fns.el (describe-function-1): Don't burp if the function is not
2005 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
2007 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
2008 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
2009 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
2010 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
2012 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
2013 (eieio-default-superclass): Reflow docstrings.
2014 (this, class-option-assoc, defclass, eieio-class-un-autoload)
2015 (eieio-unbind-method-implementations, defmethod)
2016 (eieio-validate-slot-value, eieio-validate-class-slot-value)
2017 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
2018 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
2019 (eieio-slot-originating-class-p, eieio-slot-name-index)
2020 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
2021 (constructor, initialize-instance, no-next-method, object-print)
2022 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
2023 Fix typos in docstrings.
2024 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
2025 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
2026 (next-method-p): Doc fixes.
2027 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
2028 Fix typos in error messages.
2029 (eieio-defmethod): Fix typo in description of generic method.
2031 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
2032 (eieio-persistent-save-interactive, slot-missing):
2033 Fix typos in docstrings.
2034 (eieio-instance-inheritor-slot-boundp): Doc fix.
2036 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
2037 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
2039 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
2040 (eieio-custom-object-apply-reset):
2041 Fix typos in docstrings and error messages.
2043 * emacs-lisp/eieio-datadebug.el (data-debug-show):
2044 Fix typo in docstring.
2046 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
2047 (eieio-browse-tree): Doc fix.
2048 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
2049 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
2050 Fix typos in docstrings.
2052 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
2053 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
2054 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
2055 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
2058 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
2060 * vc-hg.el (log-view-vc-backend): Declare for compiler.
2061 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
2062 Set log-view-vc-backend so that diff can work.
2064 * log-view.el (log-view-diff): Use vc-diff-internal instead of
2066 (vc-diff-internal): Autoload this instead of vc-version-diff.
2068 2009-10-05 Eli Zaretskii <eliz@gnu.org>
2070 * simple.el (eval-expression): Doc fix.
2072 * progmodes/cwarn.el (cwarn-mode): Doc fix.
2074 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
2076 * files.el (directory-files-no-dot-files-regexp): New defconst.
2077 (delete-directory): Use it.
2078 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
2080 * net/tramp.el (tramp-verbose): Fix docstring.
2081 (tramp-methods): Add recursive option to `tramp-copy-args'.
2082 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
2083 "scp1_old", "scp2_old", "rsync", "rsyncc".
2084 (tramp-default-method): Check also for `auth-source-user-or-password'.
2085 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
2086 Add handler for `copy-directory'.
2087 (tramp-handle-copy-directory): New defun.
2088 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
2089 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
2090 Optimize sent command.
2092 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2094 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
2095 window if necessary.
2097 * calendar/calendar.el (calendar-basic-setup): Don't call
2098 switch-to-buffer in a dedicated window.
2100 2009-10-05 Karl Fogel <kfogel@red-bean.com>
2102 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
2103 don't do anything related to relocating, just return nil.
2104 (bookmark-error-no-filename): New error.
2105 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
2106 bookmark has no file. Don't even attempt to handle things that
2107 are not files; the whole point of custom handlers is to keep that
2108 knowledge elsewhere anyway. Tighten some comments.
2109 (bookmark-file-or-variation-thereof): Remove now-unused function.
2110 (bookmark-location): Doc string fix.
2113 2009-10-04 Karl Fogel <kfogel@red-bean.com>
2115 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
2116 don't use a file dialog, because they usually don't know how to read
2117 a directory target from the user. (Bug#4230)
2118 Also, make sure the prompt can display directories as well as files.
2120 2009-10-04 Karl Fogel <kfogel@red-bean.com>
2122 * bookmark.el (bookmark-set, bookmark-buffer-name):
2123 Improve doc strings. (Bug#1193)
2125 2009-10-04 Karl Fogel <kfogel@red-bean.com>
2127 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
2128 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
2129 (bookmark-get-annotation, bookmark-set-annotation)
2130 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
2131 (bookmark-set-position, bookmark-get-front-context-string)
2132 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
2133 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
2134 (bookmark-jump-other-window, bookmark-handle-bookmark)
2135 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
2136 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
2137 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
2138 Improve doc strings to say whether bookmark can be a string or
2139 a record or both, and make other consistency and clarity fixes.
2140 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
2141 (bookmark-default-annotation-text, bookmark-yank-word)
2142 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
2143 (bookmark-import-new-list, bookmark-maybe-rename)
2144 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
2145 (bookmark-bmenu-bookmark): Give these doc strings.
2146 (bookmark-bmenu-check-position): Give this a doc string, but also
2147 add a FIXME comment about how the function may be pointless.
2148 (bookmark-default-handler): Rework doc string and change a
2149 parameter name, to clarify that this takes a bookmark record
2150 not a bookmark name.
2151 (bookmark-set): Change a parameter name to indicate its meaning,
2152 and improve the doc string a bit.
2155 2009-10-04 Karl Fogel <kfogel@red-bean.com>
2157 * bookmark.el (bookmark-alist): Document the new `handler' element
2159 (bookmark-make-record-function): Adjust documentation for above.
2162 2009-10-04 Karl Fogel <kfogel@red-bean.com>
2164 * info.el (Info-bookmark-make-record): Document this function.
2165 (Info-bookmark-jump): Document with a doc string, not just a comment.
2168 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
2170 * cedet/semantic.el (semantic-new-buffer-setup-functions): New option.
2171 (semantic-new-buffer-fcn): Call parser setup functions here.
2172 (semantic-mode): Don't call parser setup functions here, it's done
2173 in semantic-new-buffer-fcn now.
2174 (semantic-mode): Parse all existing buffers when enabled.
2176 * cedet/srecode/compile.el (srecode-compile-file):
2177 Call semantic-new-buffer-fcn if the buffer has not been parsed.
2179 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
2181 * cedet/ede/pmake.el (ede-pmake-insert-variable-once): Delete.
2183 * cedet/ede/proj-comp.el: Don't require ede/pmake at toplevel.
2184 (proj-comp-insert-variable-once): New macro, renamed from
2185 ede-pmake-insert-variable-once in ede/pmake.edl.
2186 (ede-proj-makefile-insert-variables): Use it.
2188 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
2190 * files.el (copy-directory): New defun.
2192 * dired-aux.el (dired-copy-file-recursive): Use it.
2194 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
2196 * cedet/ede/makefile-edit.el (makefile-beginning-of-command)
2197 (makefile-end-of-command):
2198 * cedet/srecode/srt-mode.el (semantic-beginning-of-context)
2199 (semantic-end-of-context): Fix previous change. Doc fixes.
2201 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
2203 * files-x.el (modify-dir-local-variable)
2204 (copy-dir-locals-to-file-locals-prop-line):
2205 * cedet/ede/makefile-edit.el (makefile-beginning-of-command)
2206 (makefile-end-of-command):
2207 * cedet/semantic/lex.el (semantic-lex-token):
2208 * cedet/semantic/analyze/fcn.el
2209 (semantic-analyze-dereference-metatype-1):
2210 * cedet/semantic/bovine/c.el (semantic-lex-cpp-define)
2211 (semantic-lex-cpp-undef):
2212 * cedet/semantic/wisent/wisent.el (wisent-skip-block):
2213 * cedet/srecode/srt-mode.el (semantic-beginning-of-context)
2214 (semantic-end-of-context): Fix typos in docstrings.
2216 * recentf.el (recentf-unload-function): New function.
2218 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
2220 * cedet/ede.el (ede-project-placeholder-cache-file):
2221 * cedet/semantic/db-file.el (semanticdb-default-save-directory):
2222 * cedet/srecode/map.el (srecode-map-save-file):
2223 Use locate-user-emacs-file. Suggested by Juanma Barranquero.
2225 2009-10-04 Glenn Morris <rgm@gnu.org>
2227 * window.el (window-full-height-p): Add doc string.
2229 2009-10-04 Martin Rudalics <rudalics@gmx.at>
2231 * window.el (window-full-height-p): New function. (Bug#4543)
2233 2009-10-03 Chong Yidong <cyd@stupidchicken.com>
2235 * cedet/srecode/insert.el: Require srecode/args.
2237 * cedet/srecode/args.el: Require srecode/dictionary instead of
2240 * cedet/srecode/srt-mode.el (srecode-template-mode): Doc fix.
2242 * files.el (auto-mode-alist): Add .srt and Project.ede.
2244 * cedet/semantic.el (semantic-mode):
2245 Handle srecode-template-mode-hook as well.
2246 (semantic-mode): Use js-mode-hook for Javascript hook.
2248 * cedet/srecode/template.el: Remove hook variable.
2250 * cedet/ede/proj-comp.el: Require ede/pmake when compiling.
2252 * cedet/ede.el (ede-target-forms-menu): Don't enable if no
2254 (ede-project-placeholder-cache-file): Default to a file in
2255 user-emacs-directory.
2257 * cedet/srecode/map.el (srecode-map-base-template-dir): Look for
2258 templates in data-directory.
2259 (srecode-map-save-file): Default to a file in user-emacs-directory.
2261 * cedet/ede/srecode.el (ede-srecode-setup): Use default templates
2264 2009-09-30 Eric Ludlam <zappo@gnu.org>
2266 * cedet/semantic/util-modes.el (semantic-highlight-func-mode):
2269 * cedet/ede/proj-comp.el (ede-proj-makefile-insert-variables):
2270 Only insert each variable once.
2272 * cedet/ede/pmake.el (ede-pmake-insert-variable-once): New macro.
2273 (ede-pmake-insert-variable-shared): Use it.
2275 * cedet/ede/cpp-root.el (ede-preprocessor-map): Do not deref table
2276 for lexical table iff table is nil.
2278 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
2280 * vc.el: Remove commented out code.
2281 (vc-derived-from-dir-mode): Remove, unused.
2282 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
2284 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
2286 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
2287 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
2288 there could be recursive loading when `default-directory' is a
2289 remote file name. (Bug#4614)
2291 2009-10-03 Glenn Morris <rgm@gnu.org>
2293 * calendar/calendar.el (calendar-basic-setup): Handle the case where
2295 (calendar-generate-window): Test for shrinkability rather than width.
2297 * cedet/semantic/db-find.el (data-debug-insert-tag-list): Comment out
2298 declaration, currently false.
2300 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
2301 reusing existing buffers, in case we happen to visit two files with the
2302 same basename. (Bug#4593)
2304 2009-10-02 Eli Zaretskii <eliz@gnu.org>
2306 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
2307 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
2308 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
2309 subdirs of cedet as well.
2310 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
2312 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2314 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
2315 Obey advertised-signature-table.
2317 * help-fns.el (help-function-arglist): Don't check
2318 advertised-signature-table.
2319 (describe-function-1): Do it here instead so it also applies to subrs.
2321 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
2323 * simple.el (start-file-process): Say in the doc-string, that file
2324 handlers might not support pty association, if PROGRAM is nil.
2326 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
2327 HOST and USER are strings. They are nil, when there are
2328 incomplete entries in ~/.netrc, for example.
2329 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
2330 root directory ("device busy" error otherwise).
2332 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
2333 Flush file properties of created directory.
2335 2009-10-02 Eli Zaretskii <eliz@gnu.org>
2337 * makefile.w32-in (WINS_BASIC): Remove cedet.
2338 (WINS_CEDET): Add cedet.
2339 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
2341 2009-10-02 Kevin Ryde <user42@zip.com.au>
2343 * net/browse-url.el (browse-url): Pass any symbol in
2344 browse-url-browser-function to `apply', since if you've mistakenly put
2345 an unbound symbol then the error is clearer. (Bug#4531)
2347 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
2349 * allout.el (allout-init, allout-back-to-current-heading)
2350 (allout-beginning-of-current-entry, allout-ascend-to-depth)
2351 (allout-ascend, allout-up-current-level, allout-end-of-level)
2352 (allout-previous-visible-heading, allout-forward-current-level)
2353 (allout-backward-current-level, allout-show-children):
2354 * apropos.el (apropos-describe-plist):
2355 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
2356 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
2357 * completion.el (add-completion, add-permanent-completion):
2358 * descr-text.el (describe-text-category, describe-char):
2359 * desktop.el (desktop-lazy-abort):
2360 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
2361 * dired.el (dired-build-subdir-alist):
2362 * ediff.el (ediff-version):
2363 * elide-head.el (elide-head, elide-head-show):
2364 * emerge.el (emerge-version):
2366 * face-remap.el (variable-pitch-mode):
2367 * faces.el (describe-face):
2368 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
2370 * files.el (find-file-existing, auto-save-mode):
2371 * font-lock.el (font-lock-fontify-buffer):
2372 * help-fns.el (describe-function, describe-variable)
2373 (describe-syntax, describe-categories):
2374 * help.el (view-lossage, describe-bindings, describe-key)
2376 * hexl.el (hexl-current-address):
2377 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
2378 * info.el (Info-goto-emacs-key-command-node):
2379 * log-edit.el (log-edit-insert-cvs-template)
2380 (log-edit-insert-cvs-rcstemplate):
2381 * menu-bar.el (menu-bar-mode):
2382 * mouse.el (mouse-appearance-menu):
2383 * newcomment.el (comment-indent-new-line):
2384 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
2385 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
2386 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt, )
2387 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
2388 * recentf.el (recentf-mode):
2389 * savehist.el (savehist-mode, savehist-save):
2390 * shadowfile.el (shadow-copy-files):
2391 * simple.el (kill-ring-save, next-line, previous-line)
2392 (normal-erase-is-backspace-mode):
2393 * strokes.el (strokes-update-window-configuration)
2394 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
2395 (strokes-xpm-for-stroke):
2396 * time.el (emacs-uptime, emacs-init-time):
2397 * tutorial.el (tutorial--describe-nonstandard-key)
2398 (tutorial--detailed-help):
2399 * type-break.el (type-break-mode)
2400 (type-break-mode-line-message-mode, type-break-query-mode)
2401 (type-break-guesstimate-keystroke-threshold):
2402 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
2403 * version.el (emacs-version):
2404 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
2405 * winner.el (winner-mode):
2406 * calendar/timeclock.el (timeclock-in, timeclock-out)
2407 (timeclock-status-string, timeclock-change)
2408 (timeclock-workday-remaining-string)
2409 (timeclock-workday-elapsed-string)
2410 (timeclock-when-to-leave-string):
2411 * calendar/todo-mode.el (todo-add-category):
2412 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
2413 * emacs-lisp/autoload.el (update-file-autoloads):
2414 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
2415 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
2416 (checkdoc-message-text, checkdoc-defun):
2417 * emacs-lisp/debug.el (debugger-list-functions):
2418 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2419 * emacs-lisp/eieio-opt.el (eieio-describe-class)
2420 (eieio-describe-generic):
2421 * emacs-lisp/lisp-mnt.el (lm-synopsis):
2422 * emacs-lisp/shadow.el (list-load-path-shadows):
2423 * emulation/cua-base.el (cua-mode):
2424 * emulation/edt.el (edt-set-scroll-margins):
2425 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
2426 (tpu-toggle-regexp, tpu-toggle-search-direction)
2427 (tpu-toggle-rectangle, tpu-toggle-control-keys):
2428 * emulation/tpu-extras.el (tpu-set-scroll-margins):
2429 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
2430 (viper-set-parsing-style-toggling-macro)
2431 (viper-set-emacs-state-searchstyle-macros):
2432 * emulation/viper.el (viper-set-hooks):
2433 * eshell/esh-mode.el (eshell-truncate-buffer):
2434 * international/mule-cmds.el (prefer-coding-system)
2435 (describe-input-method, describe-language-environment):
2436 * international/mule-diag.el (list-character-sets)
2437 (describe-character-set, describe-coding-system)
2438 (describe-fontset, list-fontsets, list-input-methods):
2439 * mail/sendmail.el (mail-signature):
2440 * net/ange-ftp.el (ange-ftp-copy-file):
2441 * net/browse-url.el (browse-url):
2442 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
2443 * net/quickurl.el (quickurl-add-url):
2444 * net/rcirc.el (names, topic):
2445 * net/xesam.el (xesam-mode):
2446 * play/5x5.el (5x5-new-game):
2447 * play/yow.el (apropos-zippy):
2448 * progmodes/ada-mode.el (ada-mode-version):
2449 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
2451 (f90-beginning-of-block):
2452 * progmodes/fortran.el (fortran-end-of-block)
2453 (fortran-beginning-of-block):
2454 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
2455 * progmodes/python.el (python-describe-symbol, python-shell):
2456 * term/ns-win.el (ns-print-buffer):
2457 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
2458 * textmodes/flyspell.el (flyspell-mode-on):
2459 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
2460 (pages-directory-for-addresses):
2461 * textmodes/table.el (table-recognize-cell)
2462 (table-query-dimension, table-generate-source)
2463 (table-insert-sequence, table--warn-incompatibility):
2464 * textmodes/tex-mode.el (tex-validate-buffer):
2465 * textmodes/texinfmt.el (texinfmt-version)
2466 (texinfo-format-buffer):
2467 Use `called-interactively-p' instead of `interactive-p'.
2469 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
2471 * image-mode.el (image-toggle-display):
2472 * emacs-lisp/elp.el (elp-instrument-function):
2473 * emacs-lisp/advice.el (ad-make-advised-definition):
2474 * emacs-lisp/easy-mmode.el (define-minor-mode):
2475 * net/browse-url.el (browse-url-maybe-new-window):
2476 * progmodes/sh-script.el (sh-learn-buffer-indent):
2477 Pass new argument 'any to `called-interactively-p'.
2479 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
2481 * international/uni-bidi.el:
2482 * international/uni-category.el:
2483 * international/uni-combining.el:
2484 * international/uni-comment.el:
2485 * international/uni-decimal.el:
2486 * international/uni-decomposition.el:
2487 * international/uni-digit.el:
2488 * international/uni-lowercase.el:
2489 * international/uni-mirrored.el:
2490 * international/uni-name.el:
2491 * international/uni-numeric.el:
2492 * international/uni-old-name.el:
2493 * international/uni-titlecase.el:
2494 * international/uni-uppercase.el:
2495 Regenerate from Unicode 5.2.0 data.
2497 2009-10-01 Glenn Morris <rgm@gnu.org>
2499 * Makefile.in (ELCFILES): Regenerate.
2501 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2503 * subr.el (interactive-p): Mark obsolete.
2504 (called-interactively-p): Make the optional-ness of `kind' obsolete.
2505 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
2506 advertised-signature-table for subroutines as well.
2508 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
2509 (set-advertised-calling-convention): New function.
2510 (make-obsolete, define-obsolete-function-alias)
2511 (make-obsolete-variable, define-obsolete-variable-alias):
2512 Make the optional-ness of `when' obsolete.
2513 (define-obsolete-face-alias): Make `when' non-optional.
2514 * help-fns.el (help-function-arglist):
2515 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
2516 Use advertised-signature-table.
2518 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
2520 * files.el (delete-directory): New defun. The original function
2521 in fileio.c has been renamed to `delete-directory-internal'.
2523 * dired.el (dired-delete-file): Call `delete-directory' with
2524 RECURSIVE parameter.
2526 * net/ange-ftp.el (ange-ftp-delete-directory ): Add optional
2527 parameter RECURSIVE. Implementation is missing.
2529 * net/tramp.el (tramp-handle-make-directory): Flush upper
2530 directory's file properties.
2531 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
2532 (tramp-handle-dired-recursive-delete-directory): Flush directory
2533 properties after the remove command only.
2535 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
2536 Handle optional parameter RECURSIVE.
2538 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
2539 Handle optional parameter RECURSIVE.
2541 * net/tramp-smb.el (tramp-smb-errors): Add error message for
2543 (tramp-smb-handle-delete-directory): Handle optional parameter
2546 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2548 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
2549 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
2550 (byte-compile-defmacro): Use backquotes.
2552 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
2554 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
2555 has no associated file.
2556 (vc-resynch-buffer): Use vc-dir-buffers.
2558 2009-10-01 Glenn Morris <rgm@gnu.org>
2560 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
2562 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
2563 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
2564 * emacs-lisp/eieio-opt.el (eieio-describe-class):
2565 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
2566 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
2567 (eieio-copy-parents-into-subclass, make-instance, class-children)
2568 (eieio-generic-form):
2569 * cedet/cedet-files.el (cedet-directory-name-to-file-name):
2570 * cedet/cedet-idutils.el (cedet-idutils-search)
2571 (cedet-idutils-expand-filename, cedet-idutils-support-for-directory)
2572 (cedet-idutils-version-check):
2573 * cedet/cedet.el (cedet-version):
2574 * cedet/data-debug.el (data-debug-insert-overlay-button)
2575 (data-debug-insert-overlay-list-button)
2576 (data-debug-insert-buffer-button)
2577 (data-debug-insert-buffer-list-button)
2578 (data-debug-insert-process-button, data-debug-insert-ring-button)
2579 (data-debug-insert-widget, data-debug-insert-stuff-list-button)
2580 (data-debug-insert-stuff-vector-button)
2581 (data-debug-insert-symbol-button, data-debug-insert-string)
2582 (data-debug-insert-number, data-debug-insert-lambda-expression)
2583 (data-debug-insert-nil, data-debug-insert-simple-thing)
2584 (data-debug-insert-custom, data-debug-edebug-expr):
2585 * cedet/ede.el (ede-auto-add-method, ede-project-class-files)
2586 (global-ede-mode-map, ede-new, ede-debug-target)
2587 (ede-customize-current-target, ede-buffers, ede-map-buffers, ede-set):
2588 * cedet/semantic.el (semantic-minimum-working-buffer-size)
2589 (semantic-fetch-tags, semantic-submode-list)
2590 (semantic-default-submodes):
2591 * cedet/ede/source.el (ede-source-match):
2592 * cedet/ede/project-am.el (project-am-type-alist, project-add-file)
2593 (project-am-package-info):
2594 * cedet/ede/proj.el (ede-proj-target, project-new-target):
2595 * cedet/ede/proj-elisp.el (ede-proj-tweak-autoconf):
2596 * cedet/ede/proj-comp.el (ede-current-build-list):
2597 * cedet/ede/makefile-edit.el (makefile-move-to-macro):
2598 * cedet/ede/files.el (ede-toplevel-project-or-nil):
2599 * cedet/ede/cpp-root.el (initialize-instance):
2600 * cedet/ede/autoconf-edit.el (autoconf-find-last-macro)
2601 (autoconf-parameter-strip, autoconf-insert-new-macro):
2602 * cedet/semantic/wisent.el (wisent-lex-eoi):
2603 * cedet/semantic/util-modes.el (global-semantic-show-parser-state-mode)
2604 (semantic-show-parser-state-mode):
2605 * cedet/semantic/texi.el (semantic-texi-environment-regexp):
2606 * cedet/semantic/tag.el (semantic-tag-new-variable)
2607 (semantic-tag-class, semantic-tag-new-variable, semantic-tag-copy)
2608 (semantic--tag-deep-copy-attributes, semantic--tag-deep-copy-value)
2609 (semantic--tag-deep-copy-tag-list)
2610 (semantic-tag-components-with-overlays-default):
2611 * cedet/semantic/symref.el (semantic-symref-find-text):
2612 * cedet/semantic/senator.el (senator-yank-tag)
2613 (senator-transpose-tags-up):
2614 * cedet/semantic/scope.el (semantic-analyze-scoped-tags-default)
2615 (semantic-analyze-scoped-inherited-tags, semantic-scope-find):
2616 * cedet/semantic/sb.el (semantic-sb-autoexpand-length):
2617 * cedet/semantic/lex.el (semantic-lex-comment-regex)
2618 (semantic-lex-maximum-depth, define-lex, semantic-lex-token)
2619 (semantic-lex-unterminated-syntax-protection, define-lex-analyzer):
2620 * cedet/semantic/lex-spp.el
2621 (semantic-lex-spp-dynamic-macro-symbol-obarray-stack)
2622 (semantic-lex-spp-symbol, semantic-lex-spp-one-token-to-txt):
2623 * cedet/semantic/idle.el
2624 (semantic-idle-summary-current-symbol-info-brutish)
2625 (semantic-idle-summary-current-symbol-info-default):
2626 * cedet/semantic/grammar.el (semantic-grammar-recreate-package)
2627 (semantic--grammar-macro-compl-dict):
2628 * cedet/semantic/grammar-wy.el (semantic-grammar-wy--parse-table):
2629 * cedet/semantic/format.el (semantic-format-tag-custom-list)
2630 (semantic-format-tag-canonical-name-default):
2631 * cedet/semantic/find.el (semantic-find-tag-by-overlay-in-region)
2632 (semantic-find-tags-for-completion)
2633 (semantic-find-tags-by-scope-protection-default)
2634 (semantic-deep-find-tags-for-completion):
2635 * cedet/semantic/edit.el
2636 (semantic-edits-incremental-reparse-failed-hook)
2637 (semantic-edits-verbose-flag, semantic-edits-assert-valid-region)
2638 (semantic-edits-splice-remove, semantic-edits-splice-replace):
2639 * cedet/semantic/doc.el (semantic-documentation-comment-preceeding-tag):
2640 * cedet/semantic/dep.el (semantic-dependency-include-path):
2641 * cedet/semantic/db.el (semanticdb-default-find-index-class)
2642 (semanticdb-match-any-mode, semanticdb-with-match-any-mode)
2643 (semanticdb-project-roots):
2644 * cedet/semantic/db-find.el (semanticdb-implied-include-tags)
2645 (semanticdb-find-adebug-insert-scanned-tag-cons)
2646 (semanticdb-find-log-buffer-name, semanticdb-find-result-mapc)
2647 (semanticdb-brute-deep-find-tags-for-completion):
2648 * cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-add-tree-to-table):
2649 * cedet/semantic/ctxt.el (semantic-beginning-of-context-default)
2650 (semantic-end-of-context-default)
2651 (semantic-ctxt-current-function-default)
2652 (semantic-ctxt-scoped-types-default):
2653 * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
2654 (semantic-complete-inline-tag-engine)
2655 (semantic-complete-inline-custom-type)
2656 (semantic-complete-read-tag-analyzer):
2657 * cedet/semantic/chart.el (semantic-chart-tags-by-class)
2658 (semantic-chart-database-size):
2659 * cedet/semantic/analyze.el (semantic-analyze-current-symbol)
2660 (semantic-analyze-current-context):
2661 * cedet/semantic/symref/list.el (semantic-symref)
2662 (semantic-symref-hide-buffer, semantic-symref-symbol):
2663 * cedet/semantic/symref/grep.el (semantic-symref-grep-use-template):
2664 * cedet/semantic/symref/filter.el (semantic-symref-hits-in-region):
2665 * cedet/semantic/bovine/el.el (semantic-elisp-form-to-doc-string):
2666 * cedet/semantic/bovine/c.el (semantic-lex-c-preprocessor-symbol-map)
2667 (semantic-c-parse-token-hack-depth, semantic-c--template-name-1)
2668 (semantic-c-dereference-template):
2669 * cedet/semantic/analyze/refs.el (semantic--analyze-refs-full-lookup)
2670 (semantic--analyze-refs-full-lookup-with-parents)
2671 (semantic--analyze-refs-full-lookup-simple):
2672 * cedet/semantic/analyze/complete.el
2673 (semantic-analyze-possible-completions):
2674 * cedet/srecode/table.el (srecode-mode-table-new):
2675 * cedet/srecode/srt.el (srecode-read-variable-name):
2676 * cedet/srecode/srt-mode.el (srecode-macro-help, srecode-in-macro-p):
2677 * cedet/srecode/semantic.el (srecode-semantic-handle-:tag)
2678 (srecode-semantic-handle-:tagtype, srecode-semantic-insert-tag):
2679 * cedet/srecode/map.el (srecode-current-map):
2680 * cedet/srecode/insert.el (srecode-insert)
2681 (srecode-insert-variable-secondname-handler, srecode-insert-method)
2682 (srecode-template-inserter-point-override)
2683 (srecode-insert-include-lookup):
2684 * cedet/srecode/getset.el (srecode-auto-choose-class):
2685 * cedet/srecode/extract.el (srecode-inserter-extract):
2686 * cedet/srecode/document.el
2687 (srecode-document-autocomment-return-last-alist)
2688 (srecode-document-autocomment-param-type-alist)
2689 (srecode-document-insert-function-comment)
2690 (srecode-document-insert-variable-one-line-comment)
2691 (srecode-document-function-name-comment):
2692 * cedet/srecode/dictionary.el (srecode-create-dictionary)
2693 (srecode-compound-toString):
2694 * cedet/srecode/compile.el (srecode-flush-active-templates):
2695 * cedet/srecode/args.el (srecode-semantic-handle-:blank):
2698 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
2699 match-data. (Bug#4555).
2701 * cedet/semantic/bovine/gcc.el
2702 (semantic-c-reset-preprocessor-symbol-map): Fix declaration.
2703 (semantic-gcc-get-include-paths, semantic-gcc-setup-data): Doc fixes.
2705 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
2706 rather than parsing it as a regexp. This relaxes the layout
2707 requirements and makes errors easier to detect.
2708 (check-declare-verify): Check file is regular.
2709 (check-declare-directory): Doc fix.
2710 * subr.el (declare-function): Doc fix.
2712 * ibuffer.el (ibuffer-format-qualifier):
2713 * isearch.el (hi-lock-regexp-okay):
2714 * calc/calc.el (math-zerop):
2715 * mail/uce.el (rmail-msgbeg, rmail-msgend):
2716 * term/w32-win.el (setup-default-fontset, set-fontset-font):
2717 Remove unused declarations.
2719 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
2721 * cedet/semantic/wisent/javat-wy.el
2722 (wisent-java-tags-wy--keyword-table): Use \000 instead of literal ^@.
2724 2009-09-30 Juanma Barranquero <lekktu@gmail.com>
2726 * cedet/srecode/expandproto.el: Fix provide statement.
2728 2009-09-30 Eric Ludlam <zappo@gnu.org>
2730 * emacs-lisp/eieio.el (boolean-p): Delete.
2732 2009-09-30 Sascha Wilde <wilde@sha-bang.de>
2734 * cedet/ede/srecode.el: Fix provide statement.
2736 2009-09-30 Glenn Morris <rgm@gnu.org>
2738 * cedet/ede/proj.el (ede-proj-target-makefile-miscelaneous):
2739 * cedet/ede/proj-aux.el (ede-aux-source):
2740 * cedet/ede/proj-misc.el (ede-proj-target-makefile-miscelaneous)
2742 * cedet/semantic/mru-bookmark.el (semantic-mrub-completing-read)
2743 (semantic-mrub-switch-tags): Fix doc typos.
2745 * cedet/semantic/db-global.el (data-debug-new-buffer)
2746 (data-debug-insert-thing): Remove unneeded declarations (one broken).
2747 (semanticdb-enable-gnu-global-databases): Fix prompt typo.
2749 * cedet/semantic/analyze/fcn.el (semantic-scope-find): Fix declaration.
2751 * cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Replace runtime
2752 use of CL function `remove-if-not'.
2754 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
2756 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
2757 filename is not a string.
2759 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
2761 * files.el (safe-local-eval-forms): Fix typo.
2763 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
2765 * vc-hooks.el (vc-dir-buffers): New var.
2766 (vc-state-refresh): New function.
2768 (vc-after-save): Always ask the backend to recompute the new state.
2769 Always call vc-dir if necessary, using vc-dir-buffers.
2770 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
2772 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
2773 (vc-dir-prepare-status-buffer, vc-dir-update)
2774 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
2775 Don't call expand-file-name on default-directory.
2777 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
2779 * speedbar.el (speedbar-item-delete):
2780 * calc/calc-prog.el (calc-kbd-if):
2781 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
2783 * epa.el (epa-key-list-mode-map):
2784 * hi-lock.el (hi-lock-menu): Fix typos in menus.
2786 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
2787 (hs-show-hook): Fix typo in docstring.
2789 2009-09-29 Glenn Morris <rgm@gnu.org>
2791 * cedet/semantic/symref/idutils.el:
2792 * cedet/semantic/symref/list.el: Relicense under GPLv3+.
2794 * cedet/ede/srecode.el (srecode-resolve-arguments): Fix declaration.
2796 * cedet/semantic/complete.el (semantic-displayor-focus-abstract-child-p):
2797 * cedet/semantic/tag-file.el (semanticdb-table-child-p):
2798 * cedet/srecode/compile.el (srecode-template-inserter-newline-child-p):
2799 Mark declarations not understood by check-declare.
2801 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
2802 file-name-nondirectory call preventing location of cedet files.
2803 (check-declare-verify): Use literal search rather than re-search.
2804 Add basic defmethod and defclass, and define-overloadable-function.
2806 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
2807 Use tramp-compat-file-attributes rather than nonexistent
2808 tramp-compat-handle-file-attributes.
2810 * Makefile.in (lisptagsfiles4): New.
2811 (AUTOGENEL): Add cedet loaddefs files.
2812 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
2813 (update-elclist, compile-always, backup-compiled-files)
2814 (bootstrap-clean): Add yet another directory level.
2815 (update-elclist): Use LC_COLLATE rather than COLLATE.
2816 (ELCFILES): Update, via `make update-elclist'.
2818 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
2820 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
2821 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
2822 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
2824 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
2826 * Makefile.in (lisptagsfiles3): Define.
2827 (TAGS, TAGS-LISP): Use it.
2828 (update-elclist): Add third directory level to look for elc files.
2829 (compile-always): Likewise.
2830 (backup-compiled-files): Likewise.
2831 (bootstrap-clean): Likewise.
2834 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
2836 * Makefile.in (ELCFILES): Add CEDET files.
2838 2009-09-28 Eric Ludlam <zappo@gnu.org>
2840 CEDET (development tools) package merged.
2844 * cedet/semantic/*.el:
2845 * cedet/srecode/*.el: New files.
2847 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
2849 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
2851 * net/tramp.el (top): Require tramp-imap.
2853 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
2854 Use `tramp-compat-handle-file-attributes'.
2856 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
2858 * net/tramp-imap.el: New package.
2860 2009-09-28 Eric Ludlam <zappo@gnu.org>
2862 * emacs-lisp/chart.el:
2863 * emacs-lisp/eieio-base.el:
2864 * emacs-lisp/eieio-comp.el:
2865 * emacs-lisp/eieio-custom.el:
2866 * emacs-lisp/eieio-datadebug.el:
2867 * emacs-lisp/eieio-opt.el:
2868 * emacs-lisp/eieio-speedbar.el:
2869 * emacs-lisp/eieio.el: New files.
2871 * cedet/cedet-cscope.el:
2872 * cedet/cedet-files.el:
2873 * cedet/cedet-global.el:
2874 * cedet/cedet-idutils.el:
2875 * cedet/data-debug.el:
2876 * cedet/inversion.el:
2877 * cedet/mode-local.el:
2878 * cedet/pulse.el: New files.
2880 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2882 * whitespace.el (whitespace-trailing-regexp)
2883 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
2886 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
2888 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
2891 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
2892 menu-bar-ediff-menu.
2894 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
2895 define-overloadable-function.
2897 * progmodes/autoconf.el: Provide autoconf as well, so that this
2898 file can be `require'd.
2900 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
2902 * emacs-lisp/autoload.el (generated-autoload-feature)
2903 (generated-autoload-load-name): New vars.
2904 (autoload-rubric, autoload-generate-file-autoloads): Use them.
2905 (make-autoload): Recognize define-overloadable-function and
2906 defclass forms (for EIEIO).
2908 * Makefile.in (update-subdirs): Exclude cedet directory.
2910 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
2912 * term/ns-win.el: Don't set the region face background. (Bug#4381)
2914 * faces.el: Default light-background background for region face to
2915 ns_selection_color under NS.
2917 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
2919 * net/imap-hash.el: New library, see NEWS.
2921 * Makefile.in (ELCFILES): Add imap-hash.el.
2923 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2925 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
2926 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
2927 * help-macro.el (make-help-screen): Avoid using an ambiguous function
2928 definition where the docstring could be taken for the return value.
2930 2009-09-26 Glenn Morris <rgm@gnu.org>
2932 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
2933 Add option to only show images below a certain size.
2934 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
2935 save-excursion calls.
2937 2009-09-26 Eli Zaretskii <eliz@gnu.org>
2939 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
2940 subdirectories) and eieio.
2942 2009-09-26 Alan Mackenzie <acm@muc.de>
2944 * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
2945 buggy bracketing. (Bug#4289)
2947 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
2948 character constants (as case labels). (Bug#4289)
2950 2009-09-25 Juri Linkov <juri@jurta.org>
2952 * files.el (safe-local-eval-forms): Allow time-stamp in
2953 before-save-hook (Bug#4554).
2955 2009-09-25 Drew Adams <drew.adams@oracle.com>
2957 * menu-bar.el (list-buffers-directory): Doc fix.
2959 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
2961 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
2962 Try and avoid copying twice the same paragraph.
2963 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
2964 Remove save-excursion.
2965 (log-edit-changelog-entry): Do it here instead.
2967 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
2969 * bs.el (bs--get-file-name): Use `list-buffers-directory'
2970 when available, instead of hardcoding mode names. Doc fix.
2972 * menu-bar.el (list-buffers-directory): Add docstring.
2973 Make automatically buffer-local.
2975 * dired.el (dired-mode):
2976 * files.el (cd-absolute):
2977 * pcvs.el (cvs-temp-buffer):
2978 * pcvs-util.el (cvs-get-buffer-create):
2979 * shell.el (shell-mode):
2980 * vc-dir.el (vc-dir-mode):
2981 Don't make `list-buffers-directory' buffer local.
2983 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
2985 * comint.el (comint-exec, comint-run, make-comint):
2986 Doc fixes (Bug#4542).
2988 2009-09-25 Glenn Morris <rgm@gnu.org>
2990 * mail/rmailmm.el (rmail-mime): New custom group.
2991 Move all defcustoms in this file into this group.
2992 (rmail-mime-media-type-handlers-alist): Revert previous change.
2993 (rmail-mime-show-images): New option.
2994 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
2995 references to it, since it wasn't actually used for anything.
2996 (rmail-mime-insert-image): New function.
2997 (rmail-mime-image): Use rmail-mime-insert-image.
2998 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
2999 obey the value of `rmail-mime-show-images' option. Print the size of
3002 2009-09-25 David Engster <deng@randomsample.de>
3004 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
3006 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3008 * whitespace.el: Does not highlight trailing spaces While point is
3009 at end of line. Does not highligt spaces at beginning of buffer
3010 while point is at beginning of buffer. Does not highlight spaces
3011 at end of buffer while point is at end of buffer. (Bug#4177)
3013 (whitespace-display-mappings): Adjust initialization.
3014 (whitespace-point, whitespace-font-lock-refontify): New vars.
3015 (whitespace-color-on, whitespace-color-off): Adjust code.
3016 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
3017 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
3018 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
3020 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
3022 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
3024 * textmodes/sgml-mode.el: Remove xml-mode alias.
3026 * files.el (auto-mode-alist, conf-mode-maybe)
3027 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
3029 2009-09-24 Alan Mackenzie <acm@muc.de>
3031 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
3032 c-forward-conditionals, but it doesn't move point and doesn't set
3034 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
3035 (c-down-conditional-with-else, c-backward-conditional)
3036 (c-forward-conditional): Refactor to use c-scan-conditionals.
3038 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
3040 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
3041 (help-default-arg-highlight): Remove.
3042 (help-highlight-arg): New function.
3043 (help-do-arg-highlight): Use it.
3044 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
3046 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
3048 * term.el (term-set-scroll-region, term-handle-ansi-escape):
3049 Undo last change, which didn't fix the problem and introduced others.
3051 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
3053 * progmodes/gdb-mi.el: Don't require speedbar.
3054 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
3056 2009-09-24 Glenn Morris <rgm@gnu.org>
3058 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
3060 * term/ns-win.el (ns-reg-to-script): Define for compiler.
3062 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
3063 there is no newline after the final mime boundary. (Bug#4539)
3064 Move markers on insertion so that any buttons inserted don't end up in
3065 the next part of a multipart message.
3066 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
3067 (rmail-mime-bulk-handler): Optionally handle images.
3068 (rmail-mime-image): New button action.
3069 (rmail-mime-image-handler): New function.
3070 (rmail-mime-mode): New mode.
3071 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
3073 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
3075 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
3076 than just dropping elements from it (bug#4504).
3078 * term.el (term-set-scroll-region): Don't move cursor any more.
3079 (term-handle-ansi-escape): Call term-goto here instead.
3080 Suggested by Ivan Kanis <apple@kanis.eu>.
3082 * term.el: Require CL.
3083 (term-ansi-reset): New function.
3084 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
3085 (term-handle-colors-array): Simplify.
3087 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
3089 * allout.el (allout-overlay-interior-modification-handler)
3090 (allout-obtain-passphrase):
3091 * epa-file.el (epa-file-write-region):
3092 * ps-print.el (ps-begin-job):
3093 * vc-hooks.el (vc-toggle-read-only):
3094 * vc-rcs.el (vc-rcs-rollback):
3095 * vc-sccs.el (vc-sccs-rollback):
3096 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
3097 (vc-version-diff, vc-revert, vc-rollback):
3098 * wdired.el (wdired-check-kill-buffer):
3099 * emacs-lisp/authors.el (authors):
3100 * net/socks.el (socks-open-connection):
3101 * net/zeroconf.el (zeroconf-service-add-hook):
3102 * obsolete/vc-mcvs.el (vc-mcvs-register):
3103 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
3105 * progmodes/grep.el (lgrep, rgrep):
3106 * progmodes/idlw-help.el (idlwave-help-check-locations)
3107 (idlwave-help-html-link, idlwave-help-assistant-open-link):
3108 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
3109 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
3110 (reftex-toc-rename-label): Fix typos in error messages.
3112 * dired-aux.el (dired-do-shell-command): Reflow docstring.
3113 (dired-copy-how-to-fn): Doc fix.
3114 (dired-files-attributes, dired-read-shell-command):
3115 Fix typos in docstrings.
3117 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
3118 (dired-x-find-file-other-window): Reflow docstrings.
3119 (dired-omit-marker-char, dired-read-shell-command)
3120 (dired-x-submit-report): Fix typos in docstrings.
3122 * shell.el (shell-mode-hook):
3123 * view.el (View-scroll-line-forward):
3124 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
3125 Fix typos in docstrings.
3127 * net/dig.el (dig-invoke): Fix typo in docstring.
3128 (query-dig): Reflow docstring.
3130 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
3131 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
3132 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
3133 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
3134 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
3135 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
3136 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
3137 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
3138 (idlwave-completion-map, idlwave-current-indent)
3139 (idlwave-custom-ampersand-surround, idlwave-customize)
3140 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
3141 (idlwave-define-abbrev, idlwave-determine-class-special)
3142 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
3143 (idlwave-end-block-reg, idlwave-end-of-statement)
3144 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
3145 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
3146 (idlwave-explicit-class-listed, idlwave-file-header)
3147 (idlwave-fill-paragraph, idlwave-find-class-definition)
3148 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
3149 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
3150 (idlwave-in-quote, idlwave-indent-action-table)
3151 (idlwave-indent-expand-table, idlwave-indent-line)
3152 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
3153 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
3154 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
3155 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
3156 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
3157 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
3158 (idlwave-outlawed-buffers, idlwave-popup-select)
3159 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
3160 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
3161 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
3162 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
3163 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
3164 (idlwave-statement-type, idlwave-struct-skip)
3165 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
3166 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
3167 (idlwave-what-module-find-class): Fix typos in docstrings.
3168 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
3169 (idlwave-calculate-cont-indent, idlwave-expand-equal)
3170 (idlwave-find-module, idlwave-find-structure-definition)
3171 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
3172 (idlwave-list-load-path-shadows, idlwave-next-statement)
3173 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
3174 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
3175 (idlwave-template): Reflow docstrings.
3177 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
3178 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
3179 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
3180 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
3181 (idlwave-shell-display-line, idlwave-shell-display-wframe)
3182 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
3183 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
3184 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
3185 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
3186 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
3187 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
3188 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
3189 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
3190 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
3191 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
3192 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
3193 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
3194 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
3195 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
3196 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
3197 Fix typos in docstrings.
3198 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
3199 (idlwave-shell-hide-output, idlwave-shell-mode)
3200 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
3203 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
3205 2009-09-24 Ivan Kanis <apple@kanis.eu>
3207 * term.el (term-bold-attribute): New var.
3208 (term-handle-colors-array): Use it.
3210 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
3212 * progmodes/gdb-mi.el (gdb-version): New variable.
3213 (gdb-non-stop-handler): Set gdb-version.
3214 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
3215 Condition "--thread" option on gdb-version.
3216 (gdb-invalidate-threads): Remove unused argument.
3218 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3220 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
3221 to looking-back to avoid ridiculous slow down in large files (bug#4511).
3223 2009-09-23 Glenn Morris <rgm@gnu.org>
3225 * mail/rmail.el (rmail-reply): Don't try to add a References header when
3226 replying to mail without References or Message-Id. (Bug#4525)
3228 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
3230 * term/ns-win.el (ns-reg-to-script): New variable.
3232 2009-09-23 Daiki Ueno <ueno@unixuser.org>
3234 * epg.el (epg-wait-for-status): Preserve existing 'error results.
3236 2009-09-22 Sam Steingold <sds@gnu.org>
3238 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
3239 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
3240 to 1 because hg returns status 1 when nothing is found.
3241 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
3243 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
3245 * textmodes/fill.el: Convert to utf-8 encoding.
3246 (fill-french-nobreak-p): Remove redundant » and « inherited from our
3249 * add-log.el (change-log-fill-forward-paragraph): New function.
3250 (change-log-mode): Use it so fill-region DTRT.
3251 Set fill-indent-according-to-mode here rather than in
3252 change-log-fill-paragraph.
3253 (change-log-fill-paragraph): Remove.
3255 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
3257 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
3258 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
3260 2009-09-22 Glenn Morris <rgm@gnu.org>
3262 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
3263 the scroll-bar scroll the calendar window rather than the buffer.
3265 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
3266 commands that move point (as opposed to scrolling).
3268 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
3270 * emacs-lisp/elint.el (elint): New custom group.
3271 (elint-log-buffer): Make it a defcustom.
3272 (elint-scan-preloaded, elint-ignored-warnings)
3273 (elint-directory-skip-re): New options.
3274 (elint-builtin-variables): Doc fix.
3275 (elint-preloaded-env): New variable.
3276 (elint-unknown-builtin-args): Add an entry for encode-time.
3277 (elint-extra-errors): Make it a variable rather than a constant.
3278 (elint-preloaded-skip-re): New constant.
3279 (elint-directory): Skip files matching elint-directory-skip-re.
3280 (elint-features): New variable, local to linted buffers.
3281 (elint-update-env): Initialize elint-features. Possibly add
3282 elint-preloaded-env to the buffer's environment.
3283 (elint-get-top-forms): Bind elint-current-pos, for log messages.
3285 (elint-init-form): New function, extracted from elint-init-env.
3286 Make non-list forms a warning rather than an error.
3287 Add the mode-map for define-derived-mode. Handle define-minor-mode,
3288 easy-menu-define, put that adds an error-condition, and provide.
3289 When requiring cl, also require cl-macs. Really require cl, to handle
3290 some cl macros. Store required libraries in the list elint-features,
3291 so as not to re-load them. Treat cc-require like require.
3292 (elint-init-env): Call elint-init-form to do the work.
3293 Handle eval-and-compile and such like.
3294 (elint-add-required-env): Do not clear messages.
3295 (elint-special-forms): Add handlers for function, defalias, if, when,
3297 (elint-form): Add optional argument to ignore elint-special-forms,
3298 useful to prevent recursive calls from handlers. Doc fix.
3299 Respect elint-ignored-warnings.
3300 (elint-form): Respect elint-ignored-warnings.
3301 (elint-bound-variable, elint-bound-function): New variables.
3302 (elint-unbound-variable): Respect elint-bound-variable.
3303 (elint-get-args): Respect elint-bound-function.
3304 (elint-check-cond-form): Add some simple handling for (f)boundp and
3306 (elint-check-defalias-form): New handler.
3307 (elint-check-let-form): Make an empty let a warning rather than an
3309 (elint-check-setq-form): Make an empty setq a warning rather than an
3310 error. Respect elint-ignored-warnings.
3311 (elint-check-defvar-form): Accept null doc-strings.
3312 (elint-check-conditional-form): New handler. Does some simple-minded
3313 checking of featurep and (f)boundp tests.
3314 (elint-put-function-args): New function.
3315 (elint-initialize): Use elint-scan-doc-file rather than
3316 elint-find-builtin-variables. Use elint-put-function-args.
3317 Possibly scan preloaded-file-list.
3318 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
3319 extend to handle functions as well.
3321 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
3323 * linum.el (linum-delete-overlays, linum-update-window):
3324 Do not modify the right margin. (Bug#3971)
3326 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
3328 * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
3329 nxml-mode instead of xml-mode.
3331 2009-09-21 Kevin Ryde <user42@zip.com.au>
3333 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
3335 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
3337 * net/dig.el (dig-mode): Use define-derived-mode.
3339 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
3341 * vc-dispatcher.el (vc-do-command): Return the process object in
3342 the asynchronous case. Use when instead of if. Do not run
3343 vc-exec-after to display a message if not enabled. (Bug#4463)
3345 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
3346 properties to the stash strings.
3347 (vc-git-stash-list): Return a list of strings.
3348 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
3349 (vc-git-stash-show-at-point): New functions.
3350 (vc-git-stash-map): New keymap.
3352 * register.el (ctl-x-r-map): Define the keys here instead of
3355 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
3357 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
3358 list, to workaround performance problem (bug#4485).
3360 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
3362 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
3364 2009-09-20 Daiki Ueno <ueno@unixuser.org>
3366 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
3367 Document that this option is not recommended to use.
3369 2009-09-19 Glenn Morris <rgm@gnu.org>
3371 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
3374 * calc/calc-alg.el (var):
3375 * calc/calcalg2.el (var): Define for compiler.
3377 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
3379 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
3382 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
3384 * time-stamp.el (time-stamp-month-dd-yyyy)
3385 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
3386 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
3387 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
3388 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
3389 Remove functions that have been obsolete since 1995 (Bug#4436).
3391 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
3392 indent buffer only if called interactively (Bug#4452).
3394 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
3395 Eli Zaretskii <eliz@gnu.org>
3397 This fixes bug#4197 (merged to bug#865, though not identical).
3398 * server.el (server-auth-dir): Add docstring note about FAT32.
3399 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
3400 but warn against using them.
3402 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
3404 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
3405 older GDB where there is no has_more field.
3407 2009-09-19 Glenn Morris <rgm@gnu.org>
3409 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
3411 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
3413 * files.el (auto-mode-alist): Change default for XML files to nXML
3416 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
3418 * server.el (server-ensure-safe-dir): Pass 'integer
3419 to `file-attributes', as suggested.
3421 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
3423 * dired-aux.el (dired-query-alist): Remove spurious backslash.
3424 (dired-query): Use read-key.
3426 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
3428 * cus-start.el (ns-use-qd-smoothing): Remove.
3430 2009-09-18 Glenn Morris <rgm@gnu.org>
3432 * allout.el (top-level): Remove unnecessary progn.
3434 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
3436 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
3437 definition of abbrev table.
3439 * speedbar.el (speedbar-track-mouse):
3440 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
3441 * net/eudc.el (eudc-expand-inline):
3442 * net/newst-backend.el (newsticker--cache-read-feed):
3443 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
3444 condition-case handlers.
3446 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
3448 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
3449 (gdb-var-list): Add an element for has_more field.
3450 (gdb-non-stop-handler): Enable pretty printing for STL containers.
3451 (gdb-var-create-handler, gdb-var-list-children-handler-1)
3452 (gdb-var-update-handler-1): Parse output of dynamic variable
3453 objects (STL containers).
3454 (gdb-var-delete-1): Pass var1 as an explicit second argument.
3455 (gdb-get-field): Delete alias. Use bindat-get-field directly.
3457 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
3459 (gud-speedbar-buttons): Make node expandable if expression "has more"
3462 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
3464 * startup.el (emacs-quick-startup): Remove variable and all uses.
3465 (command-line): Set `inhibit-x-resources' instead.
3466 (command-line-1): Use `inhibit-x-resources' instead.
3468 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
3470 * subr.el: Fix last change to avoid using the `unless' macro,
3471 which breaks bootstrapping.
3473 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3475 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
3476 extended definitions, in case we reload subr.el after having
3478 (eval-next-after-load): Mark as obsolete.
3480 2009-09-17 Juri Linkov <juri@jurta.org>
3482 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
3483 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
3484 (menu-bar-showhide-menu, menu-bar-tools-menu)
3485 (menu-bar-describe-menu, menu-bar-help-menu)
3486 (minibuffer-local-completion-map, minibuffer-local-map):
3489 2009-09-17 Glenn Morris <rgm@gnu.org>
3491 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
3492 arguments, whether or not it has a handler.
3494 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
3496 * simple.el (hard-newline): Give it a doc-string.
3498 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
3499 (lisp-mode-syntax-table): Give them doc-strings.
3501 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
3503 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
3504 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
3505 (menu-bar-options-menu, menu-bar-showhide-menu)
3506 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
3507 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
3508 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
3509 (menu-bar-options-menu, menu-bar-tools-menu)
3510 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
3511 (menu-bar-help-menu):
3512 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
3515 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
3516 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
3517 calls for the menu names and :help.
3519 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3521 * mouse.el (minor-mode-menu-from-indicator): Pay attention
3522 to :minor-mode-function (bug#4455).
3524 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3526 * startup.el (command-line): Initialize the window-system after
3527 processing the command-line.
3529 * textmodes/page.el (what-page): Make sure we don't inf-loop if
3530 page-delimiter matches the empty string.
3532 2009-09-16 Glenn Morris <rgm@gnu.org>
3534 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
3535 byte-compile-not-obsolete-var. It's a list now.
3536 (byte-compile-not-obsolete-funcs): New variable.
3537 (byte-compile-warn-obsolete): Don't warn about functions if they are in
3538 byte-compile-not-obsolete-funcs.
3539 (byte-compile-variable-ref, byte-compile-defvar): Update for
3540 byte-compile-not-obsolete-vars name-change and list nature.
3541 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
3542 and variables behind (f)boundp tests.
3543 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
3545 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
3547 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
3549 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
3551 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
3552 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
3555 2009-09-15 Stephen Eglen <stephen@gnu.org>
3557 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
3558 the virtual-buffers, use the name of the buffer specified by
3559 find-file-noselect, as the match may be a symlink. (This was a
3560 problem if the target and the symlink had different names.)
3562 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
3564 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
3566 * desktop.el (desktop-path): Check user-emacs-directory.
3568 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
3570 * loadup.el: Use after-load-functions to GC after loading each file.
3571 Remove the explicit GC calls that used to be sprinkled around.
3573 * subr.el (after-load-functions): New hook.
3574 (do-after-load-evaluation): Run it. Use string-match-p to detect
3575 `obsolete' packages, rather than painfully extracting the relevant
3578 2009-09-15 Glenn Morris <rgm@gnu.org>
3580 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
3581 free variable `doc'.
3583 * dired.el (dired-mode-map): Add menu entry for async shell command.
3585 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
3586 variables, also consider the .elc files, since the .el files are
3587 normally gzipped (subsequent code locates the .el.gz from the .elc).
3589 * calc/calc-prog.el (arglist): Define for compiler.
3591 * calendar/diary-lib.el (diary-display-function): Change the default to
3593 (body): Define for compiler.
3595 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
3596 (byte-compile-file-form, byte-compile-lambda)
3597 (byte-compile-top-level-body, byte-compile-form)
3598 (byte-compile-variable-ref, byte-compile-setq)
3599 (byte-compile-setq-default, byte-compile-body)
3600 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
3601 (batch-byte-compile): Give some more local variables with common names
3602 a "bytecomp-" prefix to avoid masking warnings about free variables.
3604 * startup.el (command-line-1): Give local variables with common names a
3605 distinguishing prefix, so as not to hide free variable warnings during
3608 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
3609 clever and add a suffix to make a unique name, just let the user decide
3610 whether or not to overwrite it. If the input is a directory, write the
3611 default filename to that directory. (Bug#4388)
3612 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
3613 is a filename-as-a-directory.
3615 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
3617 * textmodes/page.el (what-page): Don't move to beginning of line.
3618 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
3620 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
3622 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
3624 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
3626 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
3627 * help.el (help-for-help-internal): Add purecopy calls for text.
3629 * vc.el (top): print-log method now takes an optional SHORTLOG
3630 argument. Add a new method: root.
3631 (vc-root-diff, vc-print-root-log): New functions.
3632 (vc-log-short-style): New variable.
3633 (vc-print-log-internal): Add support for showing short logs.
3635 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
3636 vc-print-root-log and vc-print-root-diff.
3638 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
3639 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
3640 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
3643 * vc-cvs.el (vc-cvs-print-log):
3644 * vc-mtn.el (vc-mtn-print-log):
3645 * vc-rcs.el (vc-rcs-print-log):
3646 * vc-sccs.el (vc-sccs-print-log):
3647 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
3648 that is ignored for now.
3650 * vc-mtn.el (vc-mtn-annotate-command):
3651 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
3653 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3655 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
3656 to function-key-map, and give them ascii-character property.
3657 * term/x-win.el (x-alternatives-map):
3658 * term/ns-win.el (ns-alternatives-map):
3659 * term/internal.el (msdos-key-remapping-map):
3660 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
3662 2009-09-14 Glenn Morris <rgm@gnu.org>
3664 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
3665 temp-buffers (2009-09-12).
3667 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3669 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
3670 the new read-key function.
3672 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
3674 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
3675 is defined (Bug#4405).
3677 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
3679 * recentf.el (recentf-cleanup): Use a hash table to find
3680 duplicates (Bug#4407).
3682 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
3684 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
3685 kp-0 to ascii equivalents (Bug#4325).
3687 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
3689 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
3691 * eshell/em-hist.el:
3692 * eshell/em-dirs.el (eshell-complete-user-reference):
3693 Declare pcomplete functions and variables to avoid compiler warnings.
3695 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
3697 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
3698 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
3699 * eshell/em-alias.el (eshell-aliases-file):
3700 * eshell/em-hist.el (eshell-history-file-name):
3701 Use expand-file-name instead of concat to make file names (Bug#4308).
3703 2009-09-13 Glenn Morris <rgm@gnu.org>
3705 * ediff-merg.el (ediff-do-merge):
3706 * filesets.el (filesets-run-cmd):
3707 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
3708 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
3709 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
3710 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
3711 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
3712 Replace empty `let's with `progn'.
3714 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3716 * mail/sendmail.el (send-mail-function):
3717 * tooltip.el (tooltip-mode):
3718 * simple.el (transient-mark-mode):
3719 * rfn-eshadow.el (file-name-shadow-mode):
3720 * frame.el (blink-cursor-mode):
3721 * font-core.el (global-font-lock-mode):
3722 * files.el (temporary-file-directory)
3723 (small-temporary-file-directory, auto-save-file-name-transforms):
3724 * epa-hook.el (auto-encryption-mode):
3725 * composite.el (global-auto-composition-mode):
3726 Use custom-initialize-delay.
3727 * startup.el (command-line): Don't explicitly call
3728 custom-reevaluate-setting for all the above vars.
3729 * custom.el (custom-initialize-safe-set)
3730 (custom-initialize-safe-default): Delete.
3732 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3734 * term/x-win.el (x-initialize-window-system):
3735 * term/w32-win.el (w32-initialize-window-system):
3736 * term/ns-win.el (ns-initialize-window-system): Don't call
3737 mouse-wheel-mode since it's enabled globally by default already.
3739 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
3740 actually define the variable, but only silences the byte-compiler.
3741 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
3742 before looking it up.
3743 (mouse-wheel-scroll-amount): Also reset the bindings if this value
3746 2009-09-12 Glenn Morris <rgm@gnu.org>
3748 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
3750 (elint-add-required-env): Don't beep on error.
3751 (elint-forms): In case of error, return ENV unchanged.
3752 (elint-init-env): Skip non-list forms.
3753 (elint-log): Handle unknown file positions.
3755 2009-09-12 Daiki Ueno <ueno@unixuser.org>
3757 * epg.el (epg-make-context): Add autoload cookie.
3758 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
3759 (epg-decrypt-string, epg-start-verify, epg-verify-file)
3760 (epg-verify-string, epg-start-sign, epg-sign-file)
3761 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
3762 (epg-encrypt-string, epg-start-export-keys)
3763 (epg-export-keys-to-file, epg-export-keys-to-string)
3764 (epg-start-import-keys, epg-import-keys-from-file)
3765 (epg-import-keys-from-string, epg-start-receive-keys)
3766 (epg-receive-keys, epg-import-keys-from-server)
3767 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
3768 (epg-sign-keys, epg-start-generate-key)
3769 (epg-generate-key-from-file, epg-generate-key-from-string):
3770 Remove autoload cookie.
3772 2009-09-12 Eli Zaretskii <eliz@gnu.org>
3774 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
3775 reevaluation of trash-directory.
3777 * mwheel.el: Fix last change.
3778 (mouse-wheel-mode): New defvar.
3779 (mouse-wheel-mode): Remove autoload cookie.
3781 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3783 * mwheel.el (mwheel-installed-bindings): New var.
3784 (mouse-wheel-mode): Use it, so as to make sure we really remove all
3785 the bindings we set last time. Use custom-initialize-delay.
3786 * loadup.el: Load mwheel after term/*-win.el.
3787 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
3788 and mouse-wheel-up-event now that their first evaluation is done
3789 sufficiently late to be correct.
3791 * startup.el (tutorial-directory): Make it a defcustom.
3792 Use custom-initialize-delay rather than eval-at-startup to set it.
3793 * image.el (image-load-path): Make it a defcustom.
3794 Use custom-initialize-delay rather than eval-at-startup to set it.
3795 * subr.el (eval-at-startup): Remove.
3796 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
3798 * subr.el (do-after-load-evaluation): Warn the user after loading an
3801 2009-09-12 Glenn Morris <rgm@gnu.org>
3803 * proced.el (proced-mark-alt): Remove alias.
3804 (proced-mode-map): Remove proced-mark-alt.
3806 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
3807 Elint file and directory. Remove initialization entry.
3809 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
3811 (elint-current-buffer): Set mode-line-process.
3812 (elint-init-env): Handle define-derived-mode.
3813 Fix declare-function with unspecified arglist. Guard against odd
3814 defalias statements (eg iso-insert's 8859-1-map).
3815 (elint-add-required-env): Use a temp buffer.
3816 (elint-form): Just print the function/macro name, not the whole form.
3817 Return env unchanged if we fail to parse a macro.
3818 (elint-forms): Guard against parse errors.
3819 (elint-output): New function, to handle batch mode.
3820 (elint-log-message): Add optional argument. Use elint-output.
3821 (elint-set-mode-line): New function.
3823 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
3825 * emacs-lisp/elp.el (elp-not-profilable): Add more
3826 functions (Bug#4233).
3828 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
3830 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
3831 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
3833 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
3835 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
3836 (gdb-var-list-children): Use json parsing.
3838 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
3840 * progmodes/js.el (js--proper-indentation): Handle the case where
3841 char-before is null. Reported by Deniz Dogan.
3843 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
3845 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
3847 2009-09-11 Daiki Ueno <ueno@unixuser.org>
3849 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
3850 (epg-digest-algorithm-alist): Add SHA224.
3851 (epg-context-set-passphrase-callback)
3852 (epg-context-set-progress-callback): Add description about
3855 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3857 * custom.el (custom-delayed-init-variables): New var.
3858 (custom-initialize-delay): New function.
3859 * startup.el (command-line): "Re"evaluate all vars in
3860 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
3861 explicitly any more.
3862 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
3863 to avoid creating a ~/.emacs.d at build-time (bug#4347).
3865 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
3867 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
3869 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
3870 (gdb-var-update-handler): Use json parsing.
3872 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
3874 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
3875 decode annotated text, regardless of language environment. (Bug#2741)
3877 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3879 * Makefile.in (autoloads): Make rmail.el writable as well.
3881 2009-09-11 Glenn Morris <rgm@gnu.org>
3883 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
3885 * dired.el: Regenerate with extracted autoloads.
3886 * Makefile.in (autoloads): Make dired.el writable.
3888 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
3889 * ibuffer.el: Regenerate with extracted autoloads.
3890 * Makefile.in (autoloads): Make ibuffer.el writable.
3892 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
3893 * version.el (emacs-copyright, emacs-major-version)
3894 (emacs-minor-version): Reformat doc-strings for make-docfile.
3896 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
3897 functions and variables, since they must be stuff specific to some other
3899 (apropos-print): Make mouse-click message less specific about button.
3901 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
3902 that records where a macro was defined.
3903 * help-fns.el (describe-function-1): Mention if a function has a
3905 * help-mode.el (help-function-cmacro): New button.
3907 * locate.el (top-level): Always require dired.
3908 (locate-mode-map): Initialize inside the defvar.
3910 * net/ange-ftp.el (dired-compress-file): Declare.
3911 (ange-ftp-dired-compress-file): Add doc string.
3913 * term/ns-win.el (x-display-name, x-setup-function-keys):
3914 Unify doc-strings with X versions.
3916 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3918 * emulation/crisp.el (crisp-mode-map): Move initialization
3920 (crisp-mode): Use define-minor-mode.
3922 * progmodes/xscheme.el (xscheme-evaluation-commands):
3923 Put a :advertised-binding property rather than using
3924 advertised-xscheme-send-previous-expression.
3925 (advertised-xscheme-send-previous-expression): Declare obsolete.
3926 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
3928 (crisp-mode): Add corresponding bindings to
3929 undo's :advertised-binding instead.
3930 * dired.el (dired-mode-map): Put a :advertised-binding property rather
3931 than using dired-advertised-find-file.
3932 (dired-advertised-find-file):
3933 * simple.el (advertised-undo):
3934 * wid-edit.el (advertised-widget-backward): Declare obsolete.
3935 (widget-keymap): Put a :advertised-binding property rather
3936 than using advertised-widget-backward.
3937 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
3938 than using advertised-undo.
3939 * tutorial.el (tutorial--default-keys): Adjust accordingly.
3941 2009-09-10 Simon South <ssouth@slowcomputing.org>
3943 * progmodes/delphi.el (delphi-tab): Indent region when Transient
3944 Mark mode is enabled and region is active; otherwise indent or
3945 insert TAB as usual.
3946 (delphi-mode): Update description of TAB-key binding.
3948 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3950 * subr.el (define-key-rebound-commands): Mark obsolete.
3951 * startup.el (precompute-menubar-bindings): Remove.
3952 (normal-top-level): Remove obsolete code that tried to precompute
3954 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
3955 define-key-rebound-commands and precompute-menubar-bindings.
3957 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
3959 * net/imap.el (imap-interactive-login): Better messages.
3960 (imap-open): Fix bug with renamed buffer on reconnect.
3961 (imap-authenticate): Add buffer-local imap-last-authenticator variable
3962 for easier debugging and cleaner code. On successful (guessed based on
3963 server capabilities) secondary authentication, set imap-state
3965 (imap-last-authenticator): Define imap-last-authenticator as a variable
3968 2009-09-10 Glenn Morris <rgm@gnu.org>
3970 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
3972 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
3973 (byte-compile-file-form-autoload): Don't warn about unknown functions
3974 where the autoload statement comes after the use.
3975 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
3976 that any handlers inside the body (eg require) are in turn respected.
3978 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
3981 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
3982 and syntax and abbrev tables basic docs, if they don't have any.
3984 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
3986 * international/mule-cmds.el (top-level): Require cl when compiling.
3987 (view-hello-file): Use default-value rather than
3988 default-enable-multibyte-characters.
3990 * progmodes/fortran.el: Move all safe and risky properties into the
3993 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
3994 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
3996 Put autoloads in rmail.el rather than loaddefs.el.
3997 * mail/rmail.el: Regenerate with extracted autoloads.
3999 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
4000 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
4002 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
4004 Reported in thread for Bug#4375.
4005 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
4006 "-data-evaluate-expression" instead of print.
4007 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
4008 (gdb-tooltip-print): Parse output from above MI command.
4009 (gdb): Revert 2009-08-11 change. User should detach inferior
4012 Remove the word "separate" from IO functions as inferior
4013 output is now never displayed in the GUD buffer.
4015 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
4017 * startup.el (command-line-normalize-file-name): On Windows and
4018 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
4020 2009-09-10 Juri Linkov <juri@jurta.org>
4022 * isearch.el (isearch-text-char-description): Propertize escape
4023 character sequences with the `escape-glyph' face. (Bug#4344)
4025 * simple.el (shell-command): Set asynchronous process filter to
4026 `comint-output-filter'. (Bug#4343)
4028 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
4029 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
4030 the list. Move "asm" to the bottom.
4031 (grep-find-ignored-directories): Add `choice' with nil value
4032 to empty the list easily.
4033 (grep-find-ignored-files): New option.
4034 (grep-files-history): Set to nil by default instead of '("ch" "el").
4035 (grep-compute-defaults): Add "<X>" to `grep-template'.
4036 (grep-read-files): Bind new local variables `default-alias' and
4037 `default-extension'. Use a list of default values for the file prompt.
4038 (lgrep): Add `--exclude=' command line options composed from
4039 `grep-find-ignored-files'.
4040 (rgrep): Add `-name' command line options composed from
4041 `grep-find-ignored-files'. (Bug#4301)
4043 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
4045 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
4048 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
4050 * calendar/time-date.el (autoload):
4051 Expand define-obsolete-function-alias into defalias and make-obsolete
4052 for old Emacsen that Gnus supports.
4053 (with-no-warnings): Define it for old Emacsen.
4054 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
4056 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
4057 float-time is available; suppress compile warning for time-to-seconds.
4059 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
4061 * net/imap.el (imap-message-map): Docstring fix.
4063 2009-09-09 Glenn Morris <rgm@gnu.org>
4065 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
4066 line numbers too. (Bug#4374)
4068 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
4070 * smerge-mode.el (smerge-remove-props, smerge-refine):
4071 Use with-silent-modifications (bug#4342).
4073 * subr.el (with-silent-modifications): New macro.
4075 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
4077 * files.el (top-level): Require `cl' when compiling.
4079 2009-09-07 Glenn Morris <rgm@gnu.org>
4081 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
4083 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
4084 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
4086 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
4088 * vc-git.el (vc-git-annotate-command): Use separator to parse
4089 arguments correctly.
4091 2009-09-06 Eli Zaretskii <eliz@gnu.org>
4093 * proced.el (proced-mode): Doc fix.
4095 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
4097 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
4099 (tramp-do-file-attributes-with-ls): Check for file existence at
4101 (tramp-do-file-attributes-with-stat): Likewise.
4102 (tramp-convert-file-attributes): Return nil when attr is nil.
4104 2009-09-05 Glenn Morris <rgm@gnu.org>
4106 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
4107 properties to this button.
4108 (diary-fancy-display): Don't extend the button to the final newline.
4109 (diary-fancy-display-mode): Continue to define "q" as a local key.
4111 * calendar/cal-china.el (holiday-chinese): Make it slightly more
4114 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
4116 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
4117 (byte-compile-dest-file-function): New option.
4118 (byte-compile-dest-file): Doc fix.
4119 Obey byte-compile-dest-file-function.
4120 (byte-compile-cl-file-p): New function.
4121 (byte-compile-eval): Only suppress noruntime warnings about cl functions
4122 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
4123 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
4124 than for file being previously loaded.
4125 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
4126 (byte-compile-file-form-require): Handle the case where requiring a file
4127 indirectly causes CL to be loaded.
4129 2009-09-05 Karl Fogel <kfogel@red-bean.com>
4131 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
4132 before killing the old buffer, since by the time `kill-buffer' is
4133 run so many buffer variables have been set to nil that it may not
4134 behave as expected. (Bug#4061)
4136 2009-09-05 Karl Fogel <kfogel@red-bean.com>
4138 * files.el (find-alternate-file): If the old buffer is modified
4139 and visiting a file, behave similarly to `kill-buffer' when
4140 killing it, thus reverting to the pre-1.878 behavior; see
4141 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
4142 for discussion. Also, consult `buffer-file-name' as a variable
4143 not as a function, for consistency with the rest of the code.
4145 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
4147 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
4148 also when adding a new directory.
4150 * net/tramp-compat.el (tramp-compat-line-beginning-position): New
4153 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4155 * files.el (locate-file-completion-table): Make it provide boundary
4156 information, so partial-completion works better.
4158 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
4160 * mail/footnote.el (Footnote-text-under-cursor):
4161 Check footnote-text-marker-alist before using it (bug#4324).
4163 2009-09-04 Glenn Morris <rgm@gnu.org>
4165 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
4166 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
4167 * play/solitaire.el, play/tetris.el:
4168 Remove leading * from defcustom and defface docs.
4170 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
4172 (diary-fancy-overriding-map): New variable.
4173 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
4176 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
4179 2009-09-03 Glenn Morris <rgm@gnu.org>
4181 * arc-mode.el (archive-mode):
4182 * dos-fns.el (set-default-process-coding-system):
4183 * man.el (Man-getpage-in-background):
4184 * menu-bar.el (menu-bar-describe-menu):
4185 * server.el (server-process-filter):
4186 * startup.el (command-line):
4187 * tar-mode.el (tar-header-block-tokenize, tar-extract):
4188 * w32-fns.el (set-default-process-coding-system):
4189 * x-dnd.el (x-dnd-handle-file-name):
4190 * international/mule-cmds.el (mule-menu-keymap)
4191 (set-default-coding-systems, language-info-alist, set-language-info)
4192 (set-language-environment, standard-display-european-internal)
4193 (set-locale-environment):
4194 * international/mule-diag.el (mule-diag):
4195 * mail/emacsbug.el (report-emacs-bug):
4196 * mail/rmail.el (rmail-mode):
4197 * mail/sendmail.el (mail-setup):
4198 Use default-value rather than default-enable-multibyte-characters.
4200 * progmodes/f90.el: Move all safe properties into the defcustoms.
4201 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
4203 * calendar/appt.el (appt-check):
4204 * calendar/diary-lib.el (diary-set-header, diary-live-p)
4205 (diary-check-diary-file, diary-list-entries)
4206 (diary-include-other-diary-files, diary-simple-display)
4207 (diary-fancy-display, diary-print-entries)
4208 (diary-mark-included-diary-files, diary-make-entry):
4209 Don't call substitute-in-file-name on diary-file.
4211 2009-09-03 Eduard Wiebe <usenet@pusto.de>
4212 Stefan Monnier <monnier@iro.umontreal.ca>
4214 * mail/footnote.el (footnote-prefix): Make it a defcustom.
4215 (footnote-mode-map): Move initialization into the declaration.
4216 (footnote-minor-mode-map): Define it rather than changing global-map.
4217 (footnote-mode): Use define-minor-mode.
4219 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
4221 * net/tramp.el (tramp-handle-file-attributes-with-ls)
4222 (tramp-do-file-attributes-with-perl)
4223 (tramp-do-file-attributes-with-stat): Rename from
4224 `tramp-handle-file-attributes-with-*'.
4225 (tramp-handle-file-attributes): Use them.
4226 (tramp-do-directory-files-and-attributes-with-perl)
4227 (tramp-do-directory-files-and-attributes-with-stat): Rename from
4228 `tramp-handle-directory-files-and-attributes-with-*'.
4229 (tramp-handle-directory-files-and-attributes): Use them.
4230 (tramp-method-out-of-band-p): Additional parameter SIZE.
4231 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
4232 (tramp-handle-write-region): Use it.
4233 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
4234 (tramp-handle-vc-registered): Check, whether the first run did
4235 return files to be tested.
4236 (tramp-advice-make-auto-save-file-name): Do not call directly
4237 `tramp-handle-make-auto-save-file-name', because this would bypass
4238 the locking mechanism.
4240 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
4241 (file-remote-p, process-file, start-file-process, set-file-times)
4242 (tramp-compat-file-attributes): Compatibility functions shall not
4243 call directly `tramp-handle-*', because this would bypass the
4245 (tramp-compat-number-sequence): New defun.
4247 2009-09-02 Glenn Morris <rgm@gnu.org>
4249 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
4250 alias for float-time.
4251 (time-to-number-of-days): In Emacs, use float-time.
4252 * net/newst-backend.el (time-add): Suppress warnings from compat
4254 * time.el (emacs-uptime, emacs-init-time):
4255 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
4256 Use float-time rather than time-to-seconds.
4258 * minibuffer.el (completion-initials-expand): Fix typo.
4260 * faces.el (modeline, modeline-inactive, modeline-highlight)
4261 (modeline-buffer-id):
4262 * info.el (info-menu-5): Mark these face aliases as obsolete.
4264 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
4266 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
4268 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
4269 no "--thread" option.
4270 (gdb-stopped): Don't print "Switched to thread" message when it is
4273 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
4275 * minibuffer.el (completion-try-completion)
4276 (completion-all-completions): Remove ill-defined (and
4277 mistakenly installed and luckily never used nor documented)
4278 `completion-styles' property.
4279 (completion-initials-expand, completion-initials-all-completions)
4280 (completion-initials-try-completion): New functions.
4281 (completion-styles-alist): Add doc to each entry.
4282 Add new `initials' entry.
4284 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
4286 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
4287 MI command -var-evaluate-expression.
4288 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
4289 and tweak for case of string child.
4290 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
4292 2009-09-01 Glenn Morris <rgm@gnu.org>
4294 * add-log.el (change-log-date-face, change-log-name-face)
4295 (change-log-email-face, change-log-file-face, change-log-list-face)
4296 (change-log-conditionals-face, change-log-function-face)
4297 (change-log-acknowledgement-face):
4298 * cus-edit.el (custom-invalid-face, custom-rogue-face)
4299 (custom-modified-face, custom-set-face, custom-changed-face)
4300 (custom-saved-face, custom-button-face, custom-button-pressed-face)
4301 (custom-documentation-face, custom-state-face, custom-comment-face)
4302 (custom-comment-tag-face, custom-variable-tag-face)
4303 (custom-variable-button-face, custom-face-tag-face)
4304 (custom-group-tag-face-1, custom-group-tag-face):
4305 * diff-mode.el (diff-header-face, diff-file-header-face)
4306 (diff-index-face, diff-hunk-header-face, diff-removed-face)
4307 (diff-added-face, diff-changed-face, diff-function-face)
4308 (diff-context-face, diff-nonexistent-face):
4309 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
4310 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
4311 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
4312 (Info-title-4-face):
4313 * isearch.el (isearch-lazy-highlight-face):
4314 * log-view.el (log-view-file-face, log-view-message-face):
4315 * paren.el (show-paren-match-face, show-paren-mismatch-face):
4316 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
4317 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
4319 * smerge-mode.el (smerge-mine-face, smerge-other-face)
4320 (smerge-base-face, smerge-markers-face):
4321 * wid-edit.el (widget-documentation-face, widget-button-face)
4322 (widget-field-face, widget-single-line-field-face)
4323 (widget-inactive-face, widget-button-pressed-face):
4324 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
4325 (woman-addition-face):
4326 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
4327 (eshell-ls-executable-face, eshell-ls-readonly-face)
4328 (eshell-ls-unreadable-face, eshell-ls-special-face)
4329 (eshell-ls-missing-face, eshell-ls-archive-face)
4330 (eshell-ls-backup-face, eshell-ls-product-face)
4331 (eshell-ls-clutter-face):
4332 * eshell/em-prompt.el (eshell-prompt-face):
4333 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
4334 * obsolete/old-whitespace.el (whitespace-highlight-face):
4335 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
4336 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
4337 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
4338 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
4339 (antlr-font-lock-literal-face):
4340 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
4341 (ebrowse-root-class-face, ebrowse-file-name-face)
4342 (ebrowse-default-face, ebrowse-member-attribute-face)
4343 (ebrowse-member-class-face, ebrowse-progress-face):
4344 * progmodes/make-mode.el (makefile-space-face):
4345 * progmodes/sh-script.el (sh-heredoc-face):
4346 * textmodes/flyspell.el (flyspell-incorrect-face)
4347 (flyspell-duplicate-face):
4348 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
4349 * textmodes/texinfo.el (texinfo-heading-face):
4350 Mark face aliases with "-face" suffix as obsolete.
4352 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
4355 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
4356 (eudc-bob-sound-menu): Use defvar rather than defconst, since
4357 easy-menu-define wants to modify these.
4359 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
4361 * net/browse-url.el (browse-url-file-url):
4362 * term/internal.el (dos-codepage-setup):
4363 Use default-value rather than default-enable-multibyte-characters.
4365 * progmodes/etags.el (etags-goto-tag-location):
4366 * progmodes/flymake.el (flymake-highlight-line)
4367 (flymake-goto-file-and-line, flymake-goto-line):
4368 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
4369 (gdb-goto-breakpoint):
4370 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
4371 * progmodes/python.el (python-find-function)
4372 (python-pdbtrack-track-stack-file):
4373 * progmodes/verilog-mode.el (verilog-surelint-off):
4374 * term/ns-win.el (ns-open-file-select-line):
4375 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
4376 Use forward-line rather than goto-line.
4378 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
4379 * textmodes/reftex-index.el (reftex-display-index):
4380 * textmodes/reftex-ref.el (reftex-offer-label-menu):
4381 * textmodes/reftex-toc.el (reftex-toc):
4382 Remove unnecessary bindings of default-major-mode (all are followed by
4383 major-mode check and possible mode switch).
4385 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
4387 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
4388 Handle watchpoints (bug#4282).
4389 (def-gdb-thread-buffer-command): Enable thread to be selected by
4390 clicking without selecting threads buffer first.
4391 (gdb-current-context-command): Use selected frame so that "up",
4392 "down" etc work in the GUD buffer.
4393 (gdb-update): Find selected frame before rendering stack buffer.
4394 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
4396 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
4398 * progmodes/sym-comp.el (displayed-completions): Remove.
4399 (symbol-complete): Use minibuffer-complete.
4401 2009-08-31 Glenn Morris <rgm@gnu.org>
4403 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
4405 * apropos.el (apropos-symbols-internal):
4406 Handle (obsolete) face aliases.
4408 * faces.el (describe-face): Adjust the output format to be more like
4409 describe-variable, and to mention (obsolete) face aliases.
4410 Adjust the whitespace so that help-setup-xref works.
4412 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
4413 * calendar/diary-lib.el (diary-button-face):
4414 Mark these face aliases as obsolete.
4416 * calendar/calendar.el (calendar-today): Doc fix.
4418 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
4420 * progmodes/gdb-mi.el (gdb-control-all-threads)
4421 (gdb-control-current-thread): Force tool bar update.
4422 (gdb-non-stop-handler): New function.
4423 (gdb-init-1): Use it to test if non-stop mode is supported.
4424 Remove unused gdbmi buffer type.
4426 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4428 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
4429 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
4431 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
4433 * comint.el (comint-exec-1): Check command is non-null first.
4434 Part of gdb-mi.el change (2009-08-28).
4436 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
4438 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
4440 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
4442 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
4443 instead of `dolist' to avoid a recursive require when bootstrapping.
4445 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
4447 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
4449 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
4451 * net/imap.el (imap-send-command): Simplify.
4452 (imap-wait-for-tag): point-max -> buffer-size.
4454 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
4456 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
4457 with constant argument.
4459 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
4461 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
4463 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
4464 Change default, since most of our files don't have a history.
4465 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
4468 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4471 * calc/calc.el: Improve commenting convention.
4472 (calc-digit-map, toplevel): Simplify.
4474 * comint.el (comint-insert-input): Be careful to only set point if we
4475 don't delegate to some other command.
4477 * proced.el (proced-signal-list): Make it an alist.
4478 (proced-grammar-alist): Capitalize names.
4479 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
4480 Disable undo manually and make it read-only.
4481 Use completion-annotate-function.
4483 * minibuffer.el (minibuffer-message): If the current buffer is not
4484 a minibuffer, insert the message in the echo area rather than at the
4486 (completion-annotate-function): New variable.
4487 (minibuffer-completion-help): Use it.
4488 (completion--embedded-envvar-table): Environment vars are
4489 always case-sensitive.
4491 2009-08-30 Glenn Morris <rgm@gnu.org>
4493 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
4494 from fortran-current-defun.
4495 (fortran-beginning-of-subprogram): Be more precise about finding the
4496 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
4497 (fortran-end-of-subprogram): Simplify.
4498 (fortran-current-defun): Use fortran-start-prog-re.
4500 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
4502 * subr.el (do-after-load-evaluation): Simplify.
4504 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
4506 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
4508 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
4509 (vc-rcs-print-log): Use it.
4511 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
4513 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4515 * paths.el (abbrev-file-name): Move to abbrev.el.
4516 * abbrev.el (abbrev-file-name): Move from paths.el.
4517 Obey user-emacs-directory.
4518 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
4519 user-emacs-directory.
4520 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
4521 abbrev-file-name and calc-settings-file any more.
4522 * startup.el (command-line): Recompute abbrev-file-name and
4523 abbreviated-home-dir.
4524 (normal-no-mouse-startup-screen): Improve the generic code and get rid
4525 of the special code for when C-h bindings haven't been changed.
4526 (display-startup-echo-area-message): Use with-current-buffer.
4527 (command-line-1): Use a list of strings, rather than a list of lists
4528 of strings for longopts.
4530 * files.el (get-free-disk-space): Use / for default-directory.
4532 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
4533 Use with-current-buffer.
4535 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
4536 Recognize immutable variables like most-positive-fixnum.
4537 (byte-compile-setq-default): Check and warn if trying to assign
4538 to an immutable variable, or a non-variable.
4540 * progmodes/cc-vars.el (c-comment-continuation-stars):
4541 * progmodes/cc-engine.el (c-looking-at-bos):
4542 * progmodes/cc-cmds.el (c-toggle-auto-state)
4543 (c-forward-into-nomenclature, c-backward-into-nomenclature)
4544 (c-comment-line-break-function): Add version of obsolescence.
4546 2009-08-28 Juri Linkov <juri@jurta.org>
4548 * files.el (magic-fallback-mode-alist): Add ZIP magic number
4549 associated with `archive-mode'.
4551 * image.el (image-type-header-regexps): Use only JPEG magic number
4552 to determine JPEG images, and don't use `image-jpeg-p' because
4553 Emacs can display non-JFIF non-Exif JPEG images.
4555 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
4557 * arc-mode.el (archive-mode):
4558 * emacs-lisp/re-builder.el (re-builder-unload-function):
4559 Protect against the default value of `major-mode' being nil.
4561 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
4563 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
4564 Fix typos in docstrings.
4566 * progmodes/js.el (js--macro-decl-re): Doc fix.
4567 (js--plain-method-re, js--split-name): Refloc docstring.
4568 (js--class-styles, js--make-merged-item, js--splice-into-items):
4569 Fix typos in docstrings; reflow docstrings.
4570 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
4571 (js--variable-decl-matcher, js--inside-pitem-p)
4572 (js--parse-state-at-point, js--get-all-known-symbols)
4573 (js--symbol-history, js-find-symbol, js--js-references)
4574 (js--moz-interactor, js--js-encode-value, js--read-tab):
4575 Fix typos in docstrings.
4577 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4579 * textmodes/reftex.el (reftex-get-file-buffer-force):
4580 * progmodes/verilog-mode.el (verilog-batch-execute-func):
4581 * emulation/viper.el (viper-go-away, viper-set-hooks):
4582 * emacs-lisp/re-builder.el (re-builder-unload-function):
4583 * emacs-lisp/bytecomp.el (byte-compile-file):
4584 * ses.el (ses-unload-function):
4585 * hexl.el (hexl-find-file):
4586 * files.el (normal-mode):
4587 * ehelp.el (with-electric-help):
4588 * autoinsert.el (auto-insert-alist):
4589 * arc-mode.el (archive-mode):
4590 Use (default-value 'major-mode) instead of default-major-mode.
4592 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
4593 * international/mule.el (load-with-code-conversion):
4594 * emacs-lisp/debug.el (debug):
4595 * ediff-vers.el (ediff-rcs-get-output-buffer):
4596 * dired.el (dired-internal-noselect): Don't let-bind
4597 default-major-mode around code that doesn't use it.
4598 E.g. buffer creation via get-buffer-create doesn't use it.
4600 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
4602 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
4603 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
4604 when writing the temp file. Otherwise, epa-file gets confused.
4605 (tramp-register-file-name-handlers): Make it a defun. Move also
4606 `epa-file-handler' to the front of `file-name-handler-alist'.
4608 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4610 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
4611 start right after a ^M.
4612 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
4613 (tramp-completion-file-name-regexp-separate)
4614 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
4615 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
4616 Don't modify last-coding-system-used by accident.
4617 (tramp-completion-file-name-handler): Apply the checks here,
4618 instead during registration.
4619 (tramp-register-file-name-handlers) Renamed from
4620 `tramp-register-file-name-handler'. Register both
4621 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
4622 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
4624 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
4626 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
4628 (gdb-init-1, gdb-display-separate-io-buffer)
4629 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
4631 (gdb-inferior-io-mode): Use make-comint-in-buffer.
4632 (gdb-inferior-filter): Use comint-output-filter to stop
4633 echoing and remove ^M characters.
4635 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4637 * emulation/viper-init.el (viper-restore-cursor-type):
4638 * emulation/cua-base.el (cua--update-indications):
4639 Replace default-cursor-type with (default-value 'cursor-type).
4641 * mail/sendmail.el (mail-recover-1):
4642 * international/mule-diag.el (describe-current-coding-system-briefly)
4643 (describe-current-coding-system):
4644 * international/mule-cmds.el (select-safe-coding-system)
4645 (select-message-coding-system)
4646 (set-language-environment-coding-systems, set-locale-environment):
4647 * hexl.el (hexl-insert-multibyte-char):
4648 * dos-w32.el (find-buffer-file-type-coding-system):
4649 * simple.el (what-cursor-position):
4650 Replace uses of default-buffer-file-coding-system
4651 with (default-value 'buffer-file-coding-system).
4653 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
4654 Replace uses of default-cursor-in-non-selected-windows
4655 with (default-value 'cursor-in-non-selected-windows).
4656 Use with-current-buffer.
4658 * mail/feedmail.el: Use CL macros.
4659 (feedmail-run-the-queue, feedmail-send-it-immediately):
4660 * dos-w32.el (find-buffer-file-type): Replace uses of
4661 default-buffer-file-type with (default-value 'buffer-file-type).
4663 2009-08-28 Glenn Morris <rgm@gnu.org>
4665 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
4666 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
4667 Use default-value of major-mode rather than default-major-mode.
4669 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4671 * Makefile.in (update-elcfiles): Report left over elc files.
4673 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
4674 expand-file-name and with-current-buffer.
4675 (mail-get-names, mail-directory): Use with-current-buffer.
4677 * vc.el (vc-read-revision): New function.
4678 (vc-version-diff, vc-merge): Use it.
4680 2009-08-27 Sam Steingold <sds@gnu.org>
4682 * simple.el (kill-do-not-save-duplicates): New user option.
4683 (kill-new): When it is non-nil, and the new string is the same as
4684 the latest kill, set replace to t to avoid duplicates in kill-ring.
4686 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
4688 * net/tramp.el (tramp-handle-process-file): Do not flush all
4689 caches when `process-file-side-effects' is set.
4690 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
4691 instead of `tramp-find-file-exists-command'.
4692 Unset `process-file-side-effects'.
4694 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
4696 * net/tramp.el (tramp-methods): New method "rsyncc".
4697 (top): Add completion function for "rsyncc".
4698 (tramp-message-show-message): New defvar.
4699 (tramp-message, tramp-error): Use it.
4700 (tramp-do-copy-or-rename-file-directly): Extend check for direct
4702 (tramp-do-copy-or-rename-file-out-of-band): Handle new
4703 `tramp-methods' entry `copy-env' of "rsyncc".
4704 (tramp-vc-registered-read-file-names): New defconst.
4705 (tramp-vc-registered-file-names): New defvar.
4706 (tramp-handle-vc-registered): Implement optimization strategy.
4707 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
4708 (tramp-vc-file-name-handler): New defun.
4709 (tramp-get-ls-command, tramp-get-test-command)
4710 (tramp-get-file-exists-command, tramp-get-remote-ln)
4711 (tramp-get-remote-perl, tramp-get-remote-stat)
4712 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
4714 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
4715 (tramp-cache-inhibit-cache): Extend doc string. It allows also
4717 (tramp-get-file-property): Check for timestamps in
4718 `tramp-cache-inhibit-cache'.
4719 (tramp-set-file-property): Write timestamp.
4721 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
4723 * language/japan-util.el (japanese-symbol-table): Add entries for
4726 * international/characters.el: Add category `j' to cp932-2-byte.
4728 2009-08-27 Kenichi Handa <handa@m17n.org>
4730 * international/fontset.el (build-default-fontset-data): New macro.
4731 (setup-default-fontset): Use build-default-fontset-data for CJK,
4732 tibetan, ethiopic, and ipa.
4734 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4736 * cus-start.el (default-major-mode): Customize `major-mode' instead.
4737 (enable-multibyte-characters): Not customizable any more.
4739 * subr.el (default-mode-line-format, default-header-line-format)
4740 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
4741 (default-direction-reversed, default-truncate-lines)
4742 (default-left-margin, default-tab-width, default-case-fold-search)
4743 (default-left-margin-width, default-right-margin-width)
4744 (default-left-fringe-width, default-right-fringe-width)
4745 (default-fringes-outside-margins, default-scroll-bar-width)
4746 (default-vertical-scroll-bar, default-indicate-empty-lines)
4747 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
4748 (default-fringe-cursor-alist, default-scroll-up-aggressively)
4749 (default-scroll-down-aggressively, default-fill-column)
4750 (default-cursor-type, default-buffer-file-type)
4751 (default-cursor-in-non-selected-windows)
4752 (default-buffer-file-coding-system, default-major-mode)
4753 (default-enable-multibyte-characters): Mark as obsolete.
4755 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
4757 * vc-dir.el (vc-dir-update): Remove debug helper.
4759 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
4761 2009-08-26 Sam Steingold <sds@gnu.org>
4763 * simple.el (save-interprogram-paste-before-kill): New user option.
4764 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
4765 save the interprogram-paste into kill-ring before overriding it
4766 with the Emacs kill.
4768 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
4770 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
4771 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
4772 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
4773 and move to vc-rcs.el.
4774 (vc-default-next-revision): Rename to vc-rcs-next-revision and
4776 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
4777 (vc-rcs-update-changelog): Remove.
4778 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
4779 and move to vc-rcs.el.
4781 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
4782 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
4784 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
4785 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
4786 vc.el, renamed to be RCS specific.
4788 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
4790 (vc-cvs-update-changelog): Move here from vc.el.
4792 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
4795 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
4797 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
4799 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
4801 * vc-git.el (vc-git-register): Use "git add" for directories.
4802 (vc-git-stash, vc-git-stash-show): New functions.
4803 (vc-git-extra-menu-map): Bind them.
4805 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
4806 directory correctly in case the item is a directory itself.
4808 * vc.el: Document the desired behavior for reverted files in the
4810 (vc-default-prettify-state-info): Remove function, unused.
4812 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
4814 2009-08-26 Glenn Morris <rgm@gnu.org>
4816 * bindings.el (standard-mode-line-format): Reposition dashes in
4817 which-func entry. (Bug#4217)
4819 * files.el (enable-local-variables, enable-local-eval)
4820 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
4822 (auto-mode-alist, ignored-local-variables)
4823 (save-some-buffers-action-alist): Move risky declarations to the
4825 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
4826 (font-lock-defaults, format-alist, imenu--index-alist)
4827 (imenu-generic-expression, input-method-alist, minor-mode-alist)
4828 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
4829 (mode-line-modified, mode-line-mule-info, mode-line-position)
4830 (mode-line-process, mode-line-remote, outline-level)
4831 (parse-time-rules, rmail-output-file-alist)
4832 (special-display-buffer-names, vc-mode):
4833 Move risky declarations to the relevant files.
4834 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
4835 (mode-line-modified, mode-line-process, mode-line-position)
4836 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
4837 * font-core.el (font-lock-defaults):
4838 * format.el (format-alist):
4839 * vc-hooks.el (vc-mode):
4840 * window.el (special-display-buffer-names):
4841 * international/mule-cmds.el (input-method-alist):
4842 Define riskiness here (dumped file) rather than in files.el.
4843 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
4844 * imenu.el (imenu-generic-expression, imenu--index-alist):
4845 * outline.el (outline-level):
4846 * time.el (display-time-string):
4847 * calendar/parse-time.el (parse-time-rules):
4848 * mail/rmailout.el (rmail-output-file-alist):
4849 Autoload riskiness here, rather than placing in files.el.
4851 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
4853 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
4855 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
4857 * simple.el (process-file-side-effects): New defvar.
4859 * dired-aux.el (dired-show-file-type):
4860 * vc.el (vc-diff-internal):
4861 * vc-arch.el (vc-arch-diff):
4862 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
4863 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
4864 * vc-git.el (vc-git-registered, vc-git-working-revision)
4865 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
4866 (vc-git--empty-db-p):
4867 * vc-hooks.el (vc-user-login-name):
4868 * vc-svn.el (vc-svn-registered, vc-svn-state)
4869 (vc-svn-dir-extra-headers, vc-svn-find-revision):
4870 * progmodes/grep.el (grep-probe): Let-bind
4871 `process-file-side-effects' with nil.
4873 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
4875 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
4876 daemon. Replace ping by checking for running service for bluez
4877 and zeroconf. (Bug#4239)
4879 2009-08-25 Kevin Ryde <user42@zip.com.au>
4881 * net/dig.el (dig): Add autoload cookie.
4883 2009-08-25 Glenn Morris <rgm@gnu.org>
4885 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
4886 load-history for absolute file-names.
4887 (byte-compile-file-form-require): Warn about use of the cl package.
4889 * format.el (format-alist): Doc fix.
4891 * play/bubbles.el (top-level): Don't require cl at run-time.
4893 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
4896 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
4898 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
4900 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
4902 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
4904 * calc/calc-alg.el (math-trig-rewrite)
4905 (math-hyperbolic-trig-rewrite): New functions.
4906 (calc-simplify): Simplify trig functions when asked.
4908 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
4910 * diff-mode.el (diff-find-source-location): Avoid goto-line.
4912 2009-08-24 Kenichi Handa <handa@m17n.org>
4914 * language/ind-util.el (mapthread): Delete it.
4915 (combinatorial): New function.
4916 (indian--puthash-cv): Use combinatorial instead of mapthread.
4918 2009-08-22 Kevin Ryde <user42@zip.com.au>
4920 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
4921 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
4922 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
4923 Clarify docstring that the value is strings not symbols.
4924 (checkdoc-list-of-strings-p): New function.
4926 2009-08-22 Glenn Morris <rgm@gnu.org>
4928 * files.el (auto-mode-alist):
4929 * hippie-exp.el (he-concat-directory-file-name):
4930 * lpr.el (lpr-windows-system, printer-name):
4931 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
4932 * ps-print.el (ps-windows-system):
4933 * startup.el (command-line):
4934 * emulation/viper-ex.el (viper-glob-function):
4935 * international/mule-cmds.el (set-language-environment-coding-systems):
4936 * net/ange-ftp.el (ange-ftp-write-region):
4937 * obsolete/fast-lock.el (fast-lock-cache-name):
4938 Remove code for defunct system-types emx, macos, mswindows, next-mach,
4939 unisoft-unix, vax-vms, win32, w32.
4941 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
4942 given name if the pattern is not more specific.
4944 * calendar/lunar.el (lunar-phase-names): New option.
4945 (lunar-phase): Doc fix.
4946 (lunar-cycles-per-year): New constant.
4947 (lunar-index): New function.
4948 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
4949 (lunar-phase-name): Use lunar-phase-names.
4950 (calendar-lunar-phases): Use format.
4951 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
4953 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
4954 Copy imenu-example--name-and-position function here for own use.
4955 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
4957 * bs.el (bs--redisplay):
4958 * cus-edit.el (custom-redraw):
4959 * ibuffer.el (ibuffer-bury-buffer):
4960 * server.el (server-goto-line-column):
4961 * startup.el (command-line-1):
4962 * strokes.el (strokes-xpm-for-stroke):
4963 * term.el (term-display-buffer-line):
4964 * view.el (View-goto-line):
4965 * calc/calc.el (calc-do, calc-trail-buffer):
4966 * play/gamegrid.el (gamegrid-add-score-insecure):
4967 * progmodes/ada-mode.el (ada-compile-goto-error):
4968 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
4969 (ebrowse-select-1st-to-9nth):
4970 * progmodes/cperl-mode.el (cperl-time-fontification):
4971 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
4972 * progmodes/gud.el (gud-display-line):
4973 (idlwave-shell-display-line):
4974 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
4975 * progmodes/make-mode.el (makefile-browser-toggle):
4976 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
4977 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
4978 * textmodes/picture.el (picture-draw-rectangle):
4979 * textmodes/reftex-index.el (reftex-index-goto-letter):
4980 (reftex-select-jump-to-previous):
4981 * textmodes/reftex-sel.el (reftex-find-start-point)
4982 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
4983 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
4984 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
4985 * textmodes/tex-mode.el (tex-compilation-parse-errors):
4986 * textmodes/two-column.el (2C-associated-buffer):
4987 Use forward-line rather than goto-line.
4989 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
4992 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
4993 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
4994 (quick-check-list-to-regexp): Declare.
4996 * progmodes/make-mode.el (makefile-browser-insert-selection):
4997 Use goto-char rather than goto-line.
4999 * progmodes/prolog.el (compilation-error-regexp-alist)
5000 (compilation-forget-errors): Declare.
5002 2009-08-22 Juri Linkov <juri@jurta.org>
5004 * progmodes/grep.el (lgrep, rgrep): At the beginning
5005 set `dir' to `default-directory' unless `dir' is a non-nil
5006 readable directory. (Bug#4052)
5007 (lgrep, rgrep): Change a weird way to report an error
5008 from using `read-string' to using `error'.
5009 Instead of using interactive arguments in the function body,
5010 add new argument `confirm'.
5012 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5014 * textmodes/remember.el (remember-buffer):
5015 * progmodes/cperl-mode.el (cperl-vc-header-alist):
5016 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
5017 (icalendar-extract-ical-from-buffer):
5018 * net/newst-treeview.el (newsticker-groups-filename):
5019 * net/newst-backend.el (newsticker-cache-filename):
5020 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
5021 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
5022 (speedbar-add-ignored-path-regexp, speedbar-line-path)
5023 (speedbar-buffers-line-path, speedbar-path-line)
5024 (speedbar-buffers-line-path):
5025 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
5027 * epa.el (epa-display-verify-result):
5028 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
5030 2009-08-21 Glenn Morris <rgm@gnu.org>
5032 * progmodes/js.el (inferior-moz-process): Fix declaration.
5034 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
5036 * obsolete/rnewspost.el (news-mail-reply):
5037 Use goto-char rather than goto-line.
5039 * term/ns-win.el (ns-open-file-select-line):
5040 Use line-beginning-position rather than goto-line.
5042 * apropos.el (apropos-command):
5043 * ehelp.el (electric-helpify):
5044 * printing.el (pr-show-setup):
5045 * strokes.el (strokes-help):
5046 * tutorial.el (tutorial--describe-nonstandard-key)
5047 (tutorial--detailed-help):
5048 * woman.el (woman-mini-help, woman-display-extended-fonts):
5049 * calc/calc-help.el (calc-describe-key):
5050 * emulation/edt.el (edt-electric-helpify):
5051 * international/mule-diag.el (mule-diag):
5052 * play/yow.el (apropos-zippy):
5053 * progmodes/python.el (python-describe-symbol):
5054 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
5055 * textmodes/table.el (*table--cell-describe-mode)
5056 (*table--cell-describe-bindings):
5057 Use help-print-return-message rather than the now obsolete alias.
5059 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
5060 (calendar-cursor-to-visible-date):
5061 * play/5x5.el (5x5-position-cursor):
5062 * play/decipher.el (decipher):
5063 * play/gomoku.el (gomoku-goto-xy):
5064 * play/landmark.el (lm-goto-xy):
5065 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
5067 Use forward-line, not goto-line.
5069 * mail/rmail.el (rmail-obsolete): Delete custom group.
5070 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
5071 (rmail-remote-password, rmail-remote-password-required):
5072 Remove unneeded :set-after and :set properties.
5074 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
5076 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
5078 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
5080 * loadup.el: Remove leftover macos code.
5082 * vc-git.el (vc-git-annotate-command): Run asynchronously.
5083 Explicitly pass the date format to git blame so that user local
5084 so that the output format can be parsed.
5086 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
5088 * net/dbus.el (top): Don't check for (getenv
5089 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
5091 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
5093 * log-edit.el (log-edit-strip-single-file-name): New var.
5094 (log-edit-insert-changelog): Use it. Bug#3571
5096 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
5098 * subr.el (read-passwd): Use read-key so keypad keys work as well.
5101 * help.el (help-print-return-message): Rename from
5102 print-help-return-message.
5104 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
5105 cvs-mode-map parent hack.
5106 (log-view-mode): Derive from special-mode.
5108 * linum.el (linum-mode): window-size-change-functions is redundant.
5109 Adapt to new window-configuration-change-hook behavior.
5110 (linum-after-size, linum-after-config): Remove.
5112 * imenu.el (imenu-example--name-and-position)
5113 (imenu-example--lisp-extract-index-name)
5114 (imenu-example--create-lisp-index, imenu-example--create-c-index):
5117 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
5118 (inferior-prolog-mode): Use it.
5119 (inferior-prolog-load-file): Reset list of errors.
5121 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
5123 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
5125 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
5127 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
5129 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
5132 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
5134 * subr.el (listify-key-sequence-1): Use normal syntax since those
5135 integers are nowadays always represented by the same (positive) number
5137 (read-key-empty-map): New const.
5138 (read-key-delay): New var.
5139 (read-key): New function.
5140 (force-mode-line-update): Use with-current-buffer.
5141 (locate-user-emacs-file): Don't forget to abbreviate the file name.
5142 (start-process-shell-command, start-file-process-shell-command):
5143 Discourage the use of command-args.
5145 2009-08-19 Glenn Morris <rgm@gnu.org>
5147 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
5149 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
5151 * simple.el (choose-completion-string): Don't rely on
5152 minibuffer-completing-file-name and ad-hoc checks to decide whether
5153 to continue completion or not.
5155 * minibuffer.el (minibuffer-hide-completions): New function.
5156 (completion--do-completion): Use it.
5157 (completions-annotations): New face.
5158 (completion--insert-strings): Use it.
5159 (completion-pcm--delim-wild-regex): Add docstring.
5160 (completion-pcm--string->pattern): Add support for 0-width delimiters
5161 in completion-pcm--delim-wild-regex.
5163 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
5165 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
5166 Remove unused var `buffer-modified-p'.
5168 * minibuffer.el (completion--do-completion): Move point for the #b001
5169 case as well (bug#4176).
5170 (minibuffer-complete, minibuffer-complete-word): Don't move point.
5172 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
5174 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
5177 2009-08-18 Kenichi Handa <handa@m17n.org>
5179 * international/ucs-normalize.el (ucs-normalize-version):
5181 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
5182 (utf-8-hfs): Make it perform normalization on encoding too.
5184 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
5185 (sentence-end-without-space): Delete duplicated chars.
5186 (sentence-end-base): Likewise.
5188 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
5189 (html-mode): Delete duplicated chars from sentence-end-base.
5191 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
5192 (texinfo-mode): Delete duplicated chars from sentence-end-base.
5194 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
5196 * files.el (hack-one-local-variable): If the mode function is for
5197 a minor mode, pass it an argument (Bug#4148).
5199 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
5201 * net/tramp.el (tramp-register-completion-file-name-handler):
5202 Check also for (member 'partial-completion completion-styles).
5204 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
5206 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
5209 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
5211 * progmodes/cperl-mode.el: Merge upstream 6.2.
5212 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
5213 (cperl-forward-re): Check cperl-brace-recursing.
5214 (cperl-highlight-charclass): New function.
5215 (cperl-find-pods-heres): Use it.
5216 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
5217 (cperl-beautify-regexp-piece): Fix column calculation.
5218 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
5219 (cperl-beautify-level): Don't process entire regexp.
5220 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
5222 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
5223 (cperl-init-faces): Build a list in the normal way.
5225 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
5227 * calendar/parse-time.el (parse-time-string-chars): Save match
5230 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
5232 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
5233 (sql-product): Use it.
5234 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
5235 (sql-set-product): Add completion.
5236 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
5237 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
5238 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
5239 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
5240 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
5241 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
5242 (sql-highlight-db2-keywords): Remove.
5243 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5244 (sql-highlight-product): Use derived-mode-p.
5245 (sql-set-sqli-buffer): Use with-current-buffer.
5246 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
5249 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
5251 * term.el: Fix commenting convention, turn comments into docstrings.
5253 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
5255 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
5257 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
5259 * calendar/parse-time.el (parse-time-string-chars): Compute using
5260 character classes, to handle non-ascii characters (Bug#3190).
5262 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
5264 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
5265 another heredoc if the user adds another < (Bug#3226).
5267 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
5268 Don't initialize based on window-system (Bug#4124).
5270 * facemenu.el (facemenu-read-color): Use a completion function
5271 that accepts any defined color, such as RGB triplets (Bug#3677).
5273 * files.el (get-free-disk-space): Change fallback default
5274 directory to /. Expand DIR argument before switching to fallback.
5275 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
5277 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
5279 * files.el (load-library): Doc fix.
5281 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
5283 * viper-cmd.el (viper-insert-isearch-string): New function.
5284 (viper-if-string): Redefine C-s in the minibuffer to insert the last
5285 incremental search string.
5287 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
5290 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
5291 (ediff-merge-region-is-non-clash)
5292 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
5293 Also check if the job is really a merge job.
5295 * ediff.el (ediff-current-file): New function.
5297 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
5299 * progmodes/js.el: Edit docstrings throughout to follow Emacs
5301 (js-insert-and-indent): Delete function.
5302 (js-mode-map): Don't bind keys to js-insert-and-indent.
5303 (js-beginning-of-defun): Rename from js--beginning-of-defun.
5304 (js-end-of-defun): Rename from js--end-of-defun.
5305 (js-auto-indent-flag): Delete variable.
5307 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
5309 * progmodes/js.el: Remove proclaim statement.
5310 Defvar which-func-imenu-joiner-function to silence compiler.
5312 * files.el (auto-mode-alist): Use js-mode for .js files.
5314 * progmodes/js2-mode.el: Remove file.
5316 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
5318 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
5320 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
5322 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
5323 Karl Landstrom <karl.landstrom@brgeight.se>
5325 * progmodes/js.el: New file.
5327 2009-08-14 Mark A. Hershberger <mah@everybody.org>
5329 * timezone.el (timezone-parse-date): Add ability to understand ISO
5330 basic format (minimal separators) dates in addition to the
5331 already-supported extended format dates.
5333 2009-08-14 Eli Zaretskii <eliz@gnu.org>
5335 * international/ucs-normalize.el: Add a `coding' file variable.
5337 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
5339 2009-08-14 Sam Steingold <sds@gnu.org>
5341 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
5343 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
5345 * faces.el (help-argument-name): Define it here instead of
5346 help-fns.el, because in daemon mode help-fns.el may be loaded when
5347 faces are still uninitialized (Bug#1078).
5349 * help-fns.el (help-argument-name): Move defface to faces.el.
5351 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
5353 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
5354 create buffer with a pty but no process so that GDB can make the
5355 inferior the controlling process.
5357 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
5359 * international/ucs-normalize.el: New file.
5361 2009-08-13 Richard Stallman <rms@gnu.org>
5363 * mail/rmail.el (rmail-get-attr-names):
5364 Accept an attribute header that is too short.
5366 * mail/rmail.el (rmail-forget-messages):
5367 Ignore nil elt in rmail-message-vector. Use dotimes.
5369 * progmodes/compile.el (compilation-goto-locus):
5370 Use next-error-move-function.
5372 * simple.el (next-error-move-function): New variable.
5374 2009-08-12 Juri Linkov <juri@jurta.org>
5376 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
5377 always non-nil. (Bug#4052)
5379 * replace.el (read-regexp): Return empty string when
5380 `default-value' is nil.
5381 (keep-lines-read-args): Don't use empty string as the
5382 default value for `read-regexp'. (Bug#2495)
5384 2009-08-12 Juri Linkov <juri@jurta.org>
5386 * international/mule-cmds.el (ucs-insert): Change arguments
5387 from `arg' to `character', `count', `inherit' to be the same
5388 as in `insert-char'. Doc fix. (Bug#4039)
5390 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
5392 2009-08-12 Juri Linkov <juri@jurta.org>
5394 * files-x.el: New file.
5396 * files.el: Move code that deals with adding/deleting
5397 file/directory-local variables to files-x.el.
5399 * Makefile.in (ELCFILES): Add files-x.elc.
5401 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
5403 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
5405 (gdb-place-breakpoints, gdb-get-location): Rewritten without
5407 (gdb-invalidate-disassembly): Do not refresh upon receiving
5408 'update signal. Instead, update all disassembly buffers only after
5410 (gdb): Send -target-detach when buffer is killed (Bug#3794).
5411 (gdb-starting): Moved -data-list-register-names...
5412 (gdb-stopped): ...here so it's sent when first thread stops.
5413 (gdb-registers-handler-custom): Do nothing if register names are
5416 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
5417 from `gdb-mi.el' to avoid extra tangling.
5419 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
5420 change which breaks `gud-def' definitions used in `gdb'.
5421 (gdb-update-gud-running): No extra fuss for updating frame number.
5423 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5425 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
5426 (describe-language-environment-map, setup-language-environment-map)
5427 (set-coding-system-map): Move initialization into declaration.
5428 (set-language-info-alist): Last arg to define-key-after can be skipped.
5430 * international/quail.el (quail-completion-1): Simplify.
5431 (quail-define-rules): Use slightly more compact code.
5432 (quail-insert-decode-map): Propertize keys, compact columns.
5434 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5437 2009-08-10 Miles Bader <miles@gnu.org>
5439 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
5440 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
5441 (js2-instance-member, js2-private-member, js2-private-function-call)
5442 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
5443 (js2-magic-paren, js2-external-variable):
5444 Remove "-face" suffix from face names.
5445 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
5446 (js2-highlight-undeclared-vars, js2-peek-token)
5447 (js2-parse-function-params, js2-mode-show-errors)
5448 (js2-mode-show-warnings, js2-make-magic-delimiter)
5449 (js2-mode-highlight-magic-parens): Update to use new face names.
5451 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
5453 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
5454 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
5456 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
5458 * subr.el: Provide hashtable-print-readable.
5460 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
5461 hs-c-like-adjust-block-beginning.
5462 (hs-hide-block-at-point): Stop hiding at the beginning of
5463 hs-block-end-regexp (Bug#700).
5465 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
5467 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
5469 (gdb-registers-handler-custom): Do not fail when register names
5472 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
5474 * progmodes/gdb-mi.el (gdb-control-all-threads)
5475 (gdb-control-current-thread): Interactive setters for
5476 `gdb-gud-control-all-threads' to use in menu.
5477 (gdb-show-run-p): Show «Go» when process is not active.
5478 (gud-tool-bar-map): Add non-stop/A,T indicator. Uses
5479 gud/thread.xpm and gud/all.xpm.
5481 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
5483 * net/net-utils.el (net-utils-font-lock-keywords): New var.
5484 (nslookup-font-lock-keywords): Make it a variable.
5485 (net-utils-mode): New mode for viewing diagnostic network output.
5486 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
5487 (net-utils-run-simple): New function.
5488 (ifconfig, iwconfig, netstat, arp, route): Use it.
5490 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
5492 * progmodes/gdb-mi.el (gdb-read-memory-custom)
5493 (gdb-memory-set-address, def-gdb-set-positive-number)
5494 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
5495 after changing settings.
5496 (gdb-invalidate-disassembly): Update when first shown.
5497 (gdb-edit-locals-value): Fixed.
5498 (gdb-registers-handler-custom): Print registers in right order and
5499 allow changing register values (only for current thread yet).
5500 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
5501 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
5502 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
5503 (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
5505 (gdb-registers-mode-map): TAB to switch to locals.
5507 2009-08-08 Eli Zaretskii <eliz@gnu.org>
5509 * mail/rmail.el (rmail-add-mbox-headers)
5510 (rmail-set-message-counters-counter): Search for
5511 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
5513 2009-08-08 Glenn Morris <rgm@gnu.org>
5515 * Makefile.in (ELCFILES): Update.
5517 2009-08-07 Eli Zaretskii <eliz@gnu.org>
5519 * mail/sendmail.el (mail-yank-original): Set
5520 buffer-file-coding-system from the one used by the message whose
5523 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
5524 to "windows" when "pgnuplot" is used.
5525 (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
5526 call accept-process-output if "pgnuplot" is used.
5527 (calc-graph-init): Don't send -display and -geometry to
5528 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
5529 running "pgnuplot -V" with shell-command-to-string.
5531 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
5534 2009-08-07 Eli Zaretskii <eliz@gnu.org>
5536 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
5539 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
5541 * vc-dispatcher.el (vc-resynch-window): Update comment.
5543 * term.el (term-handle-ansi-escape): Add comments with the
5544 terminfo capabilities implemented.
5546 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
5548 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
5549 (gdb-var-create-handler): Rewritten using JSON parser.
5550 (gdb-propertize-header): Moved earlier.
5551 (gdb-set-header): Removed to avoid duplication.
5552 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
5553 Refresh disassembly buffers only after threads list have been
5555 (gdb-threads-header, gdb-registers-header): Per-buffer header line
5558 2009-08-04 Juri Linkov <juri@jurta.org>
5560 * files.el: Commands to add/delete file/directory-local variables.
5561 (read-file-local-variable, read-file-local-variable-value)
5562 (read-file-local-variable-mode, modify-file-local-variable)
5563 (modify-file-local-variable-prop-line)
5564 (modify-dir-local-variable): New functions.
5565 (add-file-local-variable, delete-file-local-variable)
5566 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
5567 (add-dir-local-variable, delete-dir-local-variable)
5568 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
5569 (copy-dir-locals-to-file-locals-prop-line): New commands.
5571 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
5573 * abbrev.el (insert-abbrev-table-description): Prettify output.
5574 Suggested by Karl Chen.
5576 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
5578 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
5579 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
5580 (gdb-overlay-arrow-position, gdb-thread-position)
5581 (gdb-disassembly-position): Declare variables.
5582 (gdb-wait-for-pending): Function now.
5583 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
5584 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
5585 compilation goes smoothly.
5586 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
5587 (gdb-non-stop-setting): New customization setting which replaces
5588 `gdb-non-stop' so changing it doesn't break active GDB session.
5589 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
5590 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
5591 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
5592 (gdb-show-threads-by-default): New customization options.
5593 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
5595 (gdb-get-buffer-create): Send buffers update signal when they are
5597 (gdb-invalidate-locals, gdb-invalidate-registers)
5598 (gdb-invalidate-breakpoints)
5599 (gdb-invalidate-threads, gdb-invalidate-disassembly)
5600 (gdb-invalidate-memory): Accept update signal.
5601 (gdb-current-context-command): Use --frame option.
5602 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
5603 Implement `gdb-frame-number' selection logic.
5604 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
5605 whether to show GUD toolbar buttons.
5606 (gdb-thread-exited): Unselect current thread when it exits.
5607 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
5608 (gdb-mark-line): Routine which sets overlay arrow or inverses
5609 video on fringeless displays.
5610 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
5611 to build aligned columns of data in GDB buffers and set text
5612 properties line-by-line.
5613 (gdb-invalidate-breakpoints)
5614 (gdb-breakpoints-list-handler-custom)
5615 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
5616 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
5617 (gdb-registers-handler-custom): Align data columns.
5618 (gdb-locals-handler-custom): Now prints data like in variable
5620 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
5621 Removed confusing buttons.
5622 (gdb-invalidate-threads): Append --frame.
5623 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
5624 between breakpoints/threads buffers.
5625 (gdb-set-window-buffer): Now can ignore dedicated windows.
5626 (gdb-propertize-header): Use `gdb-set-window-buffer'.
5627 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
5628 (def-gdb-thread-buffer-gud-command): Replaces
5629 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
5630 for fine thread control.
5631 (gdb-preempt-existing-or-display-buffer): New function used to
5632 display bound buffers without breaking window layout.
5633 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
5634 (gdb-select-frame): New version of `gdb-frames-select' which now
5635 sets `gdb-frame-number' so commands may use --frame option instead
5636 of inner debugger state.
5637 (gdb-frame-handler): Do not set `gdb-frame-number'.
5638 (gdb-threads-mode-map): Select threads with mouse.
5640 * progmodes/gud.el (gdb-gud-context-call): Declare function to
5641 avoid compilation warning.
5642 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
5645 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
5646 Argument `key' renamed to `buffer-type'.
5647 (gdb-current-context-buffer-name): Do not add thread info to
5648 buffer name when no thread is selected.
5649 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
5651 (gdb-thread-selected): Handle `=thread-selected' notification.
5652 (gdb-wait-for-pending): New macro to deal with congestion problems.
5653 (gdb-breakpoints-list-handler-custom): Don't fail on pending
5655 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
5656 This fixes problem similar to one described in bug 3947.
5657 (gud-menu-map): More menu items.
5658 (gdb-init-1): Reset `gdb-thread-number' to nil.
5660 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
5663 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
5664 (gdb-current-context-command): Do not append --thread if
5665 `gdb-thread-number' is nil.
5666 (gdb-running-threads-count, gdb-stopped-threads-count): New
5668 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
5669 (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
5670 customization options.
5671 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
5673 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
5674 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
5675 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
5676 set `gdb-thread-number' and update `gud-running' properly.
5677 (gdb-running): Update threads list when new threads appear.
5678 (gdb-stopped): Support non-stop operation and new thread switching
5680 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
5681 (gdb-json-partial-output): New set of JSON routines.
5682 (def-gdb-auto-update-trigger): New `signal-list' optional
5684 (gdb-thread-list-handler-custom): Update `gud-running',
5685 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
5686 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
5687 (gdb-continue-thread, gdb-step-thread): New commands for fine
5688 thread execution control.
5689 (gud-menu-map): New menu items to switch non-stop options.
5690 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
5691 (gdb-send): Mimic RET properly (bug 3794).
5693 * progmodes/gdb-mi.el (gdb-rules-name-maker)
5694 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
5696 (def-gdb-auto-update-handler): New nopreserve optional argument.
5697 (gdb-stack-list-frames-custom): Print stack from top to bottom.
5699 * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
5700 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
5701 (gdb-parent-mode): New mode to derive other GDB modes from.
5702 (gdb-display-disassembly-for-thread)
5703 (gdb-frame-disassembly-for-thread): New commands for threads
5706 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
5707 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
5708 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
5709 (gdb-update): We now store all GDB buffers in a list so that they
5710 can be updated by traversing a list instead of calling invalidate
5711 triggers explicitly.
5712 (def-gdb-trigger-and-handler): New macro to define trigger-handler
5713 pair for GDB buffer.
5714 (gdb-stack-buffer-name): Add thread information.
5715 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
5716 handle pending triggers.
5717 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
5718 (def-gdb-thread-buffer-simple-command)
5719 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
5720 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
5721 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
5722 New commands which show buffers bound to thread.
5723 (gdb-stack-list-locals-regexp): Removed unused regexp.
5725 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
5726 (gdb-locals-buffer-name, gdb-registers-buffer-name)
5727 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
5728 to (gud-comint-buffer) in *-buffer-name functions
5729 because (gdb-get-target-string) already does that.
5730 (gdb-locals-handler-custom, gdb-registers-handler-custom)
5731 (gdb-changed-registers-handler): Rewritten without regexps.
5733 * progmodes/gdb-mi.el: Basic thread selection support.
5734 (gdb-thread-number): New variable.
5735 (gdb-current-context-command): New macro which adds --thread
5737 (gdb-threads-mode-map): Select thread with SPC.
5738 (gdb-thread-list-handler-custom): Mark current thread with overlay
5739 arrow. Synchronize GDB thread and Emacs thread.
5740 (gdb-select-thread): New command which selects current thread.
5741 (gdb-invalidate-frames, gdb-invalidate-locals)
5742 (gdb-invalidate-registers): Use --thread option.
5744 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
5746 * net/tramp.el (top): Make check for tramp-gvfs loading more
5748 (tramp-handle-insert-file-contents): `unwind-protect' must be
5749 inside `with-parsed-tramp-file-name'.
5751 * net/tramp-gvfs.el (top): Remove superfluous message when loading
5754 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
5756 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
5757 directory if CLASSPATH is not set.
5759 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
5761 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
5763 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
5765 2009-08-02 Kevin Ryde <user42@zip.com.au>
5767 * net/newst-backend.el (newsticker--raw-url-list-defaults):
5768 Update freshmeat link. Delete newsforge.com as it seems gone.
5770 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
5772 * select.el (x-set-selection): Doc fix (Bug#4021).
5774 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
5776 * help-fns.el (describe-variable): Treat list return values from
5777 dir-locals-find-file properly (Bug#4005).
5779 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
5781 * net/tramp.el (tramp-debug-message): Print also microseconds.
5783 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
5785 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
5787 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
5788 (tramp-get-debug-buffer): Change `outline-regexp' according to new
5791 * net/tramp-cache.el (tramp-cache-inhibit-cache ): New defvar.
5792 (tramp-get-file-property): Use it.
5794 * autorevert.el (auto-revert-handler): Allow
5795 `auto-revert-tail-mode' for remote files.
5797 2009-08-02 Jason Rumney <jasonr@gnu.org>
5799 * minibuffer.el (read-file-name): Treat confirm options to
5800 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
5802 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
5804 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
5805 (font-lock-variable-name-face, font-lock-constant-face): Darken
5806 the colors for light backgrounds.
5808 2009-08-01 Eli Zaretskii <eliz@gnu.org>
5810 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
5811 month names. (Bug#3987)
5813 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
5815 * simple.el (line-move-finish): Pass whole number to
5816 line-move-to-column.
5817 (line-move-visual): Perform hscroll to the recorded position.
5819 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
5821 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
5823 2009-07-29 Alan Mackenzie <acm@muc.de>
5825 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
5827 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
5829 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
5830 (gdb-place-breakpoints): Use full path when setting breakpoints.
5832 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
5834 * calc/calc.el (calc-mode-map): Add keybinding for
5835 `calc-transpose-lines'.
5837 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
5839 * calc/calc-misc.el (calc-transpose-lines): New function.
5841 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
5843 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
5844 Simplify check for out-of-band methods.
5845 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
5846 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
5848 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
5850 * vc-git.el (vc-git-checkin): Fix typo.
5852 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
5854 * progmodes/js2-mode.el: New file.
5856 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
5858 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
5859 (gud-menu-map): Adjust tooltip accordingly.
5861 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
5863 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
5864 (vc-bzr-log-view-mode): Adjust log-view-file-re.
5866 * add-log.el (change-log-mode-map): Add a menu.
5868 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
5870 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
5871 function returns nil.
5872 (dbus-handle-event): Handle special return value :ignore.
5873 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
5875 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
5877 * view.el (view-mode-enable): Don't define Helper-return-blurb if
5880 2009-07-25 Eli Zaretskii <eliz@gnu.org>
5884 * w32-vars.el (x-select-enable-clipboard): Doc fix.
5886 * term/pc-win.el (x-display-name, x-colors)
5887 (x-select-enable-clipboard, x-select-text): Doc fix.
5889 * term/common-win.el (x-display-name, x-colors): Doc fix.
5891 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
5892 (xw-defined-colors): Doc fix.
5894 * w32-fns.el (x-select-text, x-setup-function-keys)
5895 (x-get-selection, x-set-selection): Doc fix.
5897 * term/x-win.el (x-select-text, x-setup-function-keys)
5898 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
5900 * select.el (x-set-selection): Doc fix.
5902 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
5904 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
5905 instead of "IsNSSSupportAvailable". Avahi ought to work also when
5906 "IsNSSSupportAvailable" method is not available. Reported by
5907 Steve Youngs <steve@sxemacs.org>.
5909 2009-07-24 Kenichi Handa <handa@m17n.org>
5911 * international/characters.el: Fix setting of category ?C, ?|, ?K,
5912 and ?H. Fix setting of case for Latin Extended and Greek Extended.
5913 (build-unicode-category-table): Fix range checks.
5915 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
5917 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
5918 the buffer we try to sync is current when calling
5921 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
5922 not show up to date files.
5924 2009-07-24 Glenn Morris <rgm@gnu.org>
5926 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
5927 Add autoload cookies. If necessary, initialize.
5928 (elint-log): Handle non-file buffers.
5929 (elint-initialize): Add optional argument to reinitialize.
5930 (elint-find-builtin-variables): Save excursion.
5932 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
5934 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
5937 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
5939 * vc.el (vc-print-log-internal): New function, split out from ...
5940 (vc-print-log): ... here.
5941 (vc-dir-move-to-goal-column): Declare.
5943 * vc-git.el (vc-git-add-signoff): New variable.
5944 (vc-git-checkin): Use it.
5945 (vc-git-toggle-signoff): New function.
5946 (vc-git-extra-menu-map): Bind it to menu.
5947 (vc-git--run-command-string): Accept a nil FILE argument.
5948 (vc-git-stash-list): New function.
5949 (vc-git-dir-extra-headers): Use it.
5951 2009-07-23 Glenn Morris <rgm@gnu.org>
5953 * help-fns.el (describe-variable): Describe ignored and risky local
5954 variables in a similar way to that in which we describe safe ones.
5956 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
5957 (byte-compile-output-file-form, byte-compile-output-docform)
5958 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
5959 Give some more local variables with common names a "bytecomp-" prefix,
5960 so as not to shadow things during compilation.
5961 * emacs-lisp/cl-macs.el (load-time-value)
5962 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
5963 `outbuffer' to `bytecomp-outbuffer'.
5965 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
5966 since the next two variables cover them automatically now.
5967 (elint-builtin-variables, elint-autoloaded-variables): New.
5968 (elint-unknown-builtin-args): Remove all members, since they can be
5969 parsed automatically now.
5970 (elint-extra-errors): New.
5971 (elint-env-add-env, elint-env-add-macro): Use cadr.
5972 (elint-current-buffer): Use or. Change final message.
5973 (elint-get-top-forms): Use line-end-position.
5974 (elint-init-env): Use cadr. Handle autoload, declare-function,
5976 (elint-add-required-env): Doc fix. Use or. Standardize error.
5977 (regexp-assoc): Remove unused function.
5978 (elint-top-form): Set elint-current-pos, to record the start of the
5979 top-level form, for compilation-mode.
5980 (elint-form): Trap errors in macro expansion. Use dolist.
5981 (elint-unbound-variable): Use elint-builtin-variables and
5982 elint-autoloaded-variables.
5983 (elint-get-args): Use cadr, or.
5984 (elint-check-cond-form): Use dolist, cadr.
5985 (elint-check-condition-case-form): Doc fix. Use cadr.
5986 Use elint-extra-errors.
5987 (elint-log): New function.
5988 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
5989 Distinguish errors and warnings.
5990 (elint-log-message): Use with-current-buffer. Inhibit read-only.
5991 Use a bytecomp-style format.
5992 (elint-clear-log): Preserve default-directory. Inhibit read-only.
5993 (elint-get-log-buffer): Use compilation mode. Disable undo.
5994 Don't truncate lines.
5995 (elint-initialize): Set builtin and autoloaded variable lists.
5996 Only process elint-unknown-builtin-args if non-nil.
5997 (elint-find-builtin-variables, elint-find-autoloaded-variables):
5999 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
6001 2009-07-22 Kevin Ryde <user42@zip.com.au>
6003 * net/newst-backend.el (newsticker--parse-atom-1.0)
6004 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
6005 (newsticker--parse-rss-1.0):
6006 * progmodes/idlwave.el (idlwave-mode):
6007 * progmodes/idlw-shell.el (idlwave-shell-mode):
6008 * progmodes/vera-mode.el (vera-mode):
6009 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
6010 * progmodes/vhdl-mode.el (vhdl-mode):
6011 * textmodes/table.el (table-generate-source)
6012 (table--warn-incompatibility):
6013 Hyperlink urls in docstrings with URL `...'.
6015 2009-07-22 Glenn Morris <rgm@gnu.org>
6017 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
6018 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
6019 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
6020 Remove leading * from defcustom docs.
6022 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
6024 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
6026 (list-load-path-shadows): Optionally, just return shadows as a string.
6028 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
6030 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
6032 * mail/rmailedit.el (rmail-edit-mode): Use
6033 auto-save-include-big-deletions.
6035 * mail/rmail.el (rmail-variables): Use
6036 auto-save-include-big-deletions.
6038 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
6041 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
6043 * calc/calc.el (calc-undo-length): New variable.
6044 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
6046 2009-07-21 Richard Stallman <rms@gnu.org>
6048 * files.el (auto-save-mode): Handle buffer-save-size = -2
6051 2009-07-21 Glenn Morris <rgm@gnu.org>
6053 * textmodes/ispell.el (ispell-looking-back): Update declaration.
6055 * calendar/todo-mode.el (calendar-current-date): Update declaration.
6057 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
6058 silence compiler. Instead...
6059 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
6060 (ps-print-ensure-fontified): Update for above function name changes.
6062 * printing.el (pr-mh-get-msg-num, pr-mh-show)
6063 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
6064 silence compiler. Instead...
6065 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
6066 (mh-show-buffer): Only define for compiler.
6067 (pr-mh-current-message): Update for above function name changes.
6069 * files.el (abort-if-file-too-large): Explicitly pass `filename'
6071 (find-file-noselect, insert-file-1): Update for above change.
6073 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
6075 * mail/mailclient.el (mailclient-send-it): Fix message.
6077 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
6078 (edebug-eval): Check cl-debug-env is bound.
6079 (print-level, print-circle): Don't redefine built-in variables.
6081 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
6082 (custom-print-vectors): Remove old comments from doc.
6084 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
6085 (emerge-version): Make the variable an obsolete alias for the
6086 emacs-version variable. Make the function obsolete.
6087 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
6088 Emerge options, rather than merging in into the main Options menu.
6089 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
6090 and auto advance modes. Disable edit/fast items when not relevant.
6092 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
6094 * term/vt420.el (terminal-init-vt420): Fix typo.
6096 2009-07-20 Sam Steingold <sds@gnu.org>
6098 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
6099 variable (removed from compile.el on 2004-03-11).
6101 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
6103 * files.el (hack-local-variables-filter): Fix last change.
6105 2009-07-19 Juri Linkov <juri@jurta.org>
6107 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
6108 (dir-local-variables-alist): New buffer-local variable.
6109 (hack-local-variables-filter): If variable is not dir-local,
6110 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
6111 because file-local overrides dir-local.
6112 (c-postprocess-file-styles)<declare-function>:
6113 Remove obsolete declaration.
6114 (hack-dir-local-variables): Add dir-local variable/value pair to
6115 `dir-local-variables-alist' and remove duplicates. Doc fix.
6117 * help-fns.el (describe-variable): Add information about
6118 file-local and dir-local variables.
6120 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
6122 * files.el (hack-local-variables-filter): Rewrite.
6124 2009-07-19 Glenn Morris <rgm@gnu.org>
6126 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
6127 Silence compiler by only defining on XEmacs.
6129 * international/mule.el (auto-coding-regexp-alist): Only match
6130 BABYL... at the start of buffer, not of lines. (Bug#3790)
6132 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
6133 non-calendar buffers (Bug#3862). Restore "not on a date" message.
6134 (cal-menu-context-mouse-menu): Doc fix.
6136 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
6138 * simple.el (mail-user-agent): Doc fix. Set :version tag.
6140 2009-07-18 Juri Linkov <juri@jurta.org>
6142 * info.el: Virtual Info keyword finder.
6143 (add-to-list)<Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
6144 (Info-finder-file): New variable.
6145 (Info-finder-find-file): New function.
6146 (finder-known-keywords, finder-package-info)
6147 (find-library-name, lm-commentary): Use defvar and
6148 declare-function to silence compiler warnings.
6149 (Info-finder-find-node): New function.
6150 (info-finder): New command.
6152 * subr.el (process-kill-buffer-query-function): New function.
6153 (add-hook)<kill-buffer-query-functions>: Add hook
6154 `process-kill-buffer-query-function'.
6156 2009-07-18 Alan Mackenzie <acm@muc.de>
6158 * progmodes/cc-mode.el (c-before-hack-hook)
6159 (c-postprocess-file-styles): Give invocation of `c-set-style'
6160 DONT-OVERRIDE parameter of t. Already set style variables will
6161 thus not be overridden by style settings given by `c-file-syle'.
6163 * files.el (hack-local-variables-filter): Remove entries with
6164 duplicate keys from `file-local-variables-alist'.
6166 2009-07-18 Eli Zaretskii <eliz@gnu.org>
6168 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
6169 x-set-selection if display-selections-p returns nil for the
6172 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
6174 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
6176 2009-07-18 Eli Zaretskii <eliz@gnu.org>
6178 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
6179 Accept nil in addition to a regexp.
6180 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
6181 Accept nil in addition to a regexp.
6182 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
6183 buffers that have an associated file. Handle nil values of
6184 desktop-buffers-not-to-save and desktop-files-not-to-save.
6187 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6188 (x-disown-selection-internal): New functions.
6190 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
6192 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
6194 (gdb-breakpoints-header): Move forward to avoid compiler warning.
6195 (gdb-make-header-line-mouse-map): Remove duplicate definition.
6197 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
6199 * simple.el (set-mark): Revert last change.
6201 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
6203 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
6204 rendering of pngs is not possible instead of messaging a long
6207 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
6209 * w32-fns.el (x-selection-owner-p): New function.
6211 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
6212 (mouse-yank-at-click, mouse-yank-primary): If
6213 select-active-regions is non-nil, deactivate the mark before
6216 * simple.el (deactivate-mark, set-mark): Only save selection if we
6219 2009-07-17 Kenichi Handa <handa@m17n.org>
6221 * case-table.el (describe-buffer-case-table): Fix for the case
6224 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
6226 * vc-rcs.el (vc-rcs-find-file-hook):
6227 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
6229 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
6231 * net/tramp.el (tramp-wait-for-output): Handle the case when
6232 commands do not return a newline but a null byte before the shell
6235 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6237 * term/ns-win.el (ns-set-alpha): Don't declare.
6238 (ns-set-background-alpha): Remove function.
6240 2009-07-16 Kevin Ryde <user42@zip.com.au>
6242 * emacs-lisp/copyright.el (copyright-update): Save match-data across
6243 y-or-n-p, for safety.
6245 2009-07-16 Richard Stallman <rms@gnu.org>
6247 * files.el (auto-save-mode): If buffer-saved-size is -2,
6250 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
6251 (rmail-retry-ignored-headers): Add more uninteresting fields.
6253 2009-07-15 Jari Aalto <jari.aalto@cante.net>
6255 * net/rcirc.el (rcirc): Use history variables.
6256 (rcirc-server-name-history, rcirc-nick-name-history)
6257 (rcirc-server-port-history): New variables.
6259 2009-07-15 Kenichi Handa <handa@m17n.org>
6261 * international/mule-cmds.el (set-language-environment-charset):
6262 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
6265 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
6266 Delete unibyte-display.
6268 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
6270 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
6272 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
6274 * simple.el (deactivate-mark): Optional argument FORCE.
6275 (set-mark): Use deactivate-mark.
6277 * info.el (Info-search): No need to check transient-mark-mode
6278 before calling deactivate-mark.
6280 * select.el (x-set-selection): Doc fix.
6281 (x-valid-simple-selection-p): Allow buffer values.
6282 (xselect--selection-bounds): Handle buffer values. Suggested by
6283 David De La Harpe Golden.
6285 * mouse.el (mouse-set-region, mouse-drag-track): Call
6286 copy-region-as-kill before setting the mark, to let
6287 select-active-regions work.
6289 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
6291 * simple.el (deactivate-mark): If select-active-regions is
6292 non-nil, copy the selection data into a string.
6293 (activate-mark): If select-active-regions is non-nil, set the
6294 selection to the current buffer.
6295 (set-mark): Update selection if select-active-regions is non-nil.
6297 * select.el (x-valid-simple-selection-p): Allow buffer values.
6299 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
6301 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
6302 and more featureful message-mode.
6304 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
6306 * select.el (x-set-selection): Doc fix.
6307 (x-valid-simple-selection-p): Disallow selection data consisting
6308 of a list or cons of integers, since that is not used.
6309 (xselect--selection-bounds, xselect--int-to-cons): New functions.
6310 (xselect-convert-to-string, xselect-convert-to-length)
6311 (xselect-convert-to-filename, xselect-convert-to-charpos)
6312 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
6314 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
6316 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
6317 output in -break-info command (Emacs bug #3794).
6319 2009-07-14 Glenn Morris <rgm@gnu.org>
6321 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
6322 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
6323 (edebug-print-length, edebug-print-level, edebug-print-circle)
6324 (edebug-sit-for-seconds, edebug-view-outside)
6325 (edebug-bounce-point, edebug-set-global-break-condition)
6326 (edebug-Go-nonstop-mode, edebug-trace-mode)
6327 (edebug-Trace-fast-mode, edebug-continue-mode)
6328 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
6329 (edebug-visit-eval-list): Doc fixes.
6331 * subr.el (def-edebug-spec): Doc fix.
6333 2009-07-14 Kenichi Handa <handa@m17n.org>
6335 * international/characters.el: Fix setting of category ?C.
6337 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
6339 * term/ns-win.el (x-select-font): defalias x-select-font to
6340 ns-popup-font-panel instead of generate-fontset-menu.
6342 2009-07-12 Eli Zaretskii <eliz@gnu.org>
6344 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
6346 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
6348 * arc-mode.el (archive-find-type): Allow for a PK00 string before
6349 the PK\003\004 header (Bug#3770).
6351 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
6353 * pcomplete.el (pcomplete-comint-setup): Check for
6354 shell-dynamic-complete-filename too.
6356 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
6358 * simple.el (temporary-goal-column): Change the value for
6359 line-move-visual to a cons cell.
6360 (line-move-visual): Record or set the window hscroll, if
6361 necessary (Bug#3494).
6362 (line-move-1): Handle cons value of temporary-goal-column.
6364 2009-07-11 Kenichi Handa <handa@m17n.org>
6366 * international/mule-diag.el (describe-character-set): Don't show
6369 2009-07-10 Sam Steingold <sds@gnu.org>
6371 * progmodes/compile.el (compilation-mode-font-lock-keywords):
6372 Omake sometimes indents the errors it prints, so allow all
6373 regexps to start with spaces.
6375 2009-07-10 Eli Zaretskii <eliz@gnu.org>
6377 * cus-edit.el (customize-changed-options-previous-release):
6378 Bump value to 22.1. (Bug#3804)
6380 2009-07-08 Sam Steingold <sds@gnu.org>
6382 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
6383 to be a cons cell (test . ignored-directory) to selectively ignore
6384 some directories depending on the location of the search.
6386 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
6388 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
6389 remote user is root, on the local host.
6390 (tramp-local-host-p): Either the local user or the remote user
6391 must be root. (Bug#3771)
6393 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
6395 * progmodes/gdb-mi.el (gdb): Remove description of
6396 gdb-use-separate-io-buffer.
6397 (menu): Don't allow toggling of or enable
6398 gdb-use-separate-io-buffer from menubar.
6400 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
6402 * mail/unrmail.el (unrmail): Make sure the message ends with two
6403 newlines (Bug#3769).
6405 2009-07-08 Glenn Morris <rgm@gnu.org>
6407 * calendar/calendar.el (calendar-current-date): Rework previous change.
6409 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
6411 * calendar/calendar.el (calendar-current-date):
6412 Add an optional argument giving an offset from today.
6414 2009-07-08 Glenn Morris <rgm@gnu.org>
6416 * tutorial.el (tutorial--describe-nonstandard-key):
6417 Adjust the message for when a key has been unbound.
6418 (help-with-tutorial): Hide the arch-tag.
6420 2009-07-08 Kenichi Handa <handa@m17n.org>
6422 * international/fontset.el (setup-default-fontset): For each
6423 script, append (not set) font-specs.
6425 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
6428 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
6430 * progmodes/gdb-mi.el (gdb-init-1): Move sending
6431 -data-list-register-names to ...
6432 (gdb-starting): ... here because GDB 7.0 requires execution to
6433 have started when using this MI command.
6434 (gdb-set-header): New function to distinguish select and
6435 unselected tabs in gdb buffers.
6436 (gdb-propertize-header): New macro that uses gdb-set-header.
6437 (gdb-breakpoints-header, gdb-locals-header): Use it.
6438 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
6440 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
6442 * Makefile.in (ELCFILES): Remove fadr.elc.
6444 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
6446 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
6447 may contain frame information, so `string-match' should be used.
6448 (gdb-update): Disassembly is invalidated through
6449 `gdb-get-selected-frame'.
6450 (gdb-pad-string): New function to pad string with spaces.
6451 (gdb-invalidate-disassembly): Invalidate only if the buffer
6453 (gdb-disassembly-handler-custom): Column alignment.
6454 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
6456 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
6458 (gdb-frame-handler): Match convention to for disassembly buffer
6460 (gdb-stack-list-frames-handler): Rewritten without regexps.
6461 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
6462 not highlight breakpoints without line information.
6463 (gdb-input): Add trailing newline to command.
6465 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
6467 (gdb-breakpoints-list-handler-custom): Replacement for
6468 `gdb-break-list-handler'. Using real parser instead of regexps
6470 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
6471 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
6472 to place breakpoints.
6473 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
6475 (gdb-disassembly-handler-custom): Show overlay arrow.
6476 (gdb-disassembly-place-breakpoints): Show breakpoints in
6478 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
6479 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
6480 instead of parsing breakpoints buffer. Fixed old menu references
6485 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
6486 (gdb-memory-address): New variable which holds top address of
6487 memory page shown in memory buffer.
6488 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
6489 customization variables.
6491 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
6492 display the memory buffer.
6493 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
6494 buffer display parameters.
6495 (def-gdb-memory-format, gdb-memory-format-binary)
6496 (gdb-memory-format-octal, gdb-memory-format-unsigned)
6497 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
6498 Functions for setting memory buffer format.
6499 (gdb-memory-unit-word, gdb-memory-unit-halfword)
6500 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
6501 unit size used in memory buffer.
6502 (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
6503 to next/previous page of memory buffer.
6504 Now using (bindat-get-field) instead of fadr functions.
6506 2009-07-07 Sam Steingold <sds@gnu.org>
6508 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
6509 non-top-level files.
6511 2009-07-07 Kenichi Handa <handa@m17n.org>
6513 * international/mule-cmds.el (reset-language-environment): Put
6514 the highset priority to the charset iso-8859-1.
6516 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
6518 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
6519 to the end of the line when locating the block (Bug#700).
6521 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
6523 * net/tramp.el (tramp-handle-write-region): Flush file properties
6524 in case of short track.
6526 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
6528 * verilog-mode.el (verilog-error-regexp-emacs-alist): Coded custom
6529 representation of verilog error regular expressions to work with
6530 Emacs-22's new format.
6531 (verilog-error-regexp-xemacs-alist): Coded custom representation
6532 of verilog error regular expressions to work with XEmacs format.
6533 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
6534 error recognition into XEmacs.
6535 (verilog-error-regexp-add-emacs): Hook routine to install verilog
6536 error recognition into Emacs-22.
6538 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
6540 * woman.el: Remove stand-alone closing parentheses.
6541 (woman-file-name, woman2-format-paragraphs)
6542 (woman-leave-blank-lines): Code cleanup.
6543 (woman-use-own-frame): Change default to nil.
6544 (woman-italic, woman-bold, woman-unknown, woman-addition): Change
6545 defaults to inherit from default faces.
6546 (woman2-process-escapes): Consume the newline after a stand-alone
6547 filler character (Bug#3651).
6549 2009-07-06 Glenn Morris <rgm@gnu.org>
6551 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
6552 (top-level): Move provide to the end.
6553 (ffap): Remove defunct URL from custom group.
6555 * subr.el (eval-after-load): Doc fix.
6557 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
6559 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
6560 `calc-embedded-word' is called twice.
6562 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6564 * files.el (find-alternate-file-other-window, find-alternate-file):
6565 Obey confirm-nonexistent-file-or-buffer.
6567 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
6569 * dired-aux.el (dired-show-file-type): Handle remote files.
6571 2009-07-05 Jari Aalto <jari.aalto@cante.net>
6573 * desktop.el (desktop-globals-to-save):
6574 Add file-name-history (Bug#2750).
6576 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
6578 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
6580 2009-07-04 Johan Bockgård <bojohan@gnu.org>
6582 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
6583 property on entire argument since this is what eshell-lisp-command
6586 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
6588 * net/tramp-gvfs.el (tramp-gvfs-methods)
6589 (tramp-gvfs-zeroconf-domain)
6590 (tramp-bluez-discover-devices-timeout): Add version flag.
6591 (tramp-gvfs-handler-mounted-unmounted)
6592 (tramp-gvfs-connection-mounted-p): Polish handling of
6593 incompatibilities between GVFS 0.2 and 1.0.
6595 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
6597 * cus-start.el (all): Add make-pointer-invisible.
6599 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
6601 * calc-math.el (math-use-emacs-fn): Make sure that the number is
6602 formatted correctly.
6604 2009-07-02 Juri Linkov <juri@jurta.org>
6606 * info.el: Virtual Info files and nodes.
6607 (Info-virtual-files, Info-virtual-nodes): New variables.
6608 (Info-current-node-virtual): New variable.
6609 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
6611 (Info-file-supports-index-cookies): Use Info-virtual-file-p
6612 to check for a virtual file instead of checking a fixed list
6614 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
6615 instead of ad-hoc processing of "dir" and (apropos history toc).
6616 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
6617 instead of ad-hoc processing of "dir" and (apropos history toc).
6618 Reread a file when moving from a virtual node.
6619 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
6620 (Info-directory-toc-nodes, Info-directory-find-file)
6621 (Info-directory-find-node): New functions.
6622 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
6623 (Info-history): Move part of code to
6624 `Info-history-find-node'.
6625 (Info-history-toc-nodes, Info-history-find-file)
6626 (Info-history-find-node): New functions.
6627 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
6628 (Info-toc): Move part of code to `Info-toc-find-node'.
6629 (Info-toc-find-node): New function.
6630 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
6631 the current Info file name to references because now the node
6632 "*TOC*" belongs to the same Info manual.
6633 (Info-toc-build): Rename from `Info-build-toc'.
6634 (Info-toc-nodes): Rename input argument `file' to `filename'.
6635 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
6636 instead of ad-hoc processing of ("dir" apropos history toc).
6637 (Info-index-nodes): Use Info-virtual-file-p
6638 to check for a virtual file instead of checking a fixed list
6640 (Info-index-node): Add check for `Info-current-node-virtual'.
6641 Raise `save-match-data' higher up the tree to contain
6642 `search-forward' too (bug fix).
6643 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
6644 (Info-virtual-index-nodes): New variable.
6645 (Info-virtual-index-find-node, Info-virtual-index): New functions.
6646 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
6647 (Info-apropos-file, Info-apropos-nodes): New variables.
6648 (Info-apropos-toc-nodes, Info-apropos-find-file)
6649 (Info-apropos-find-node, Info-apropos-matches): New functions.
6650 (info-apropos): Move part of code to `Info-apropos-find-node' and
6651 `Info-apropos-matches'.
6652 (Info-mode-map): Bind "I" to `Info-virtual-index'.
6653 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
6654 for a virtual file instead of checking a fixed list of node names.
6656 * simple.el (async-shell-command): New command.
6658 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
6660 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
6661 instead of `mount-info'.
6663 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
6665 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
6666 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
6668 2009-07-02 Kenichi Handa <handa@m17n.org>
6670 * international/mule.el (set-keyboard-coding-system): Force *-unix
6671 coding-system to avoid eol conversion.
6673 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
6675 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6676 Add handler for `process-file', `shell-command' and
6677 `start-file-process'.
6678 (tramp-gvfs-handle-shell-command)
6679 (tramp-gvfs-handle-start-file-process)
6680 (tramp-gvfs-handle-process-file): New defuns.
6681 (tramp-synce-list-devices): Simplify check for existence of property.
6683 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
6685 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
6687 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
6689 * language/korean.el (set-language-info-alist): Add korean-cp949,
6692 2009-07-01 Kenichi Handa <handa@m17n.org>
6694 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
6696 * international/encoded-kb.el: Deleted.
6698 * international/mule.el (set-keyboard-coding-system): Perform the
6699 necessary setup here instead of calling encoded-kbd-setup-display.
6701 2009-07-01 Glenn Morris <rgm@gnu.org>
6703 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
6705 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
6707 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
6709 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
6711 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
6712 Handle also the 'rename case, when setting file modes. (Bug#3712)
6713 (tramp-default-file-modes) Remove execute permissions.
6715 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
6716 (top): Add a default for "synce" in `tramp-default-user-alist'.
6717 Add completion function for "synce" method.
6718 (tramp-hal-service, tramp-hal-path-manager)
6719 (tramp-hal-interface-manager, tramp-hal-interface-device):
6721 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
6722 (tramp-synce-list-devices, tramp-synce-parse-device-names):
6725 * net/trampver.el: Update release number.
6727 2009-06-30 Kenichi Handa <handa@m17n.org>
6729 * international/fontset.el (setup-default-fontset): Add CJK fonts
6730 for symbols and the other miscellaneous characters.
6732 * language/korea-util.el (setup-korean-environment-internal):
6733 Make char-width-table suitable for Korean environments.
6734 (exit-korean-environment): Cancel above.
6736 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
6737 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
6738 setup-funcion to make char-widht-table suitable for respective
6739 environments, and an exit-function to cancel that.
6741 * language/japan-util.el (setup-japanese-environment-internal):
6742 Call use-cjk-char-width-table with arg `ja_JP'.
6744 * international/characters.el (cjk-char-width-table): Delete it.
6745 (cjk-char-width-table-list): New variable.
6746 (use-cjk-char-width-table): New arg local-name.
6747 (use-default-char-width-table): Fix for the case that Emacs is
6748 already using the default char-width-table.
6750 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
6752 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
6753 modes mandatory. (Bug#3712)
6755 2009-06-29 Alan Mackenzie <acm@muc.de>
6757 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
6758 correction between the visible width of TABs and their number of bytes.
6760 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
6762 * server.el (server-buffer-done): Prevent kill-buffer from
6763 prompting by clearing the buffer modification flag (Bug#3696).
6765 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
6767 * verilog-mode.el (verilog-beg-of-statement)
6768 (verilog-endcomment-reason-re): Support unique case and priority case.
6769 (verilog-basic-complete-re): Support localparam lineup.
6770 (verilog-beg-of-statement-1): Fix for robustness, unique case.
6771 (verilog-set-auto-endcomments): Fix for unique case, always_comb
6773 (verilog-leap-to-case-head): Now support *nested* unique &
6774 priority case statements.
6775 (verilog-auto-lineup): Make just declarations the default (as it
6777 (verilog-leap-to-case-head): Support priority/unique case statements.
6778 (verilog-auto-lineup): Rework to give users radio buttons to
6779 select the various styles of automatic lineup.
6780 (verilog-error-regexp-alist): Rework to support the XEmacs style
6781 of error regular expressions from compilers, lint tools &
6782 simulators. Note that GNU Emacs has made it impossible for a mode
6783 to load such things.
6784 (electric-verilog-terminate-line, verilog-indent-declaration)
6785 (verilog-auto-wiure): Rework for radio button selection of
6786 auto-lineup selection of specification of auto lineup.
6787 (verilog-beg-of-statement-1): Redesign to support proper operation
6788 in additional code, based on testing with auto-lineup.
6789 (verilog-calculate-indent, assignments & declarations)
6790 (verilog-backward-token): Enhance to support auto-lineup of
6791 assignments & declarations.
6792 (verilog-in-directive-p, verilog-at-struct-p): New function for
6793 easy test of whether we are.
6794 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
6795 to support safe execution at almost anyline.
6796 (verilog-calc-1): Properly support indenting deep inside generate
6798 (verilog-init-font) Remove definition & use of verilog-init-font,
6799 as it is redundant with font-lock-defaults.
6800 (verilog-mode): Alter the definition of verilog-font-lock-defaults
6801 to avoid circular calls if syntax-ppss is a function (as is the
6802 case now in 22.x GNU Emacs) as that function would sometimes call
6803 itself, leading to (nearly) infinite recursion.
6804 (verilog-ovm-begin-re, verilog-ovm-end-re)
6805 (verilog-ovm-statement-re, verilog-leap-to-head)
6806 (verilog-backward-token): Add support for OVM macros. Some are
6807 complete statements, and others open and close scopes like begin
6809 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
6810 (verilog-defun-level-generate-only-re): Really fix the defun-list
6812 (verilog-calc-1) (verilog-beg-of-statement): Enhance support for
6813 coverpoint, constraint and cross statements.
6814 (verilog-defun-level-list, verilog-generate-defun-level-list)
6815 (verilog-all-defun-level-list): Redo these specifications - it is
6816 too hard to support eval-when compile aggregation of lists also
6817 built at when-compile time.
6818 (verilog-defun-level-list): Place defconsts of variables used in
6819 building regular expressions which are built in eval-when-compile
6820 bodies in the same eval-when-compile body to facilitate compile
6822 (verilog-beg-block-re-ordered): Support indenting
6823 virtual/protected tasks and functions.
6824 (verilog-defun-level-list, verilog-in-generate-region-p)
6825 (verilog-backward-ws&directives, verilog-calc-1): Speed up
6826 indentation of some module items (generate items).
6827 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
6828 across virtual/protected tasks and functions.
6830 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
6832 * verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
6833 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
6834 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
6835 in concatenations. Reported by Yishay Belkind.
6836 (verilog-auto-ascii-enum): Support one-hot state machines in
6837 AUTOASCIIENUM. Suggested by Lloyd Gomez.
6838 (verilog-auto-inst, verilog-auto-inst-port): Include interface
6839 modport in AUTOINST and add vl-modport for users. Reported by
6841 (verilog-auto-inout-module, verilog-auto-inst)
6842 (verilog-decls-get-interfaces, verilog-insert-definition)
6843 (verilog-insert-one-definition, verilog-read-decls)
6844 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
6845 (verilog-sig-modport, verilog-signals-combine-bus)
6846 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
6847 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
6848 Suggested by David Rogoff.
6849 (verilog-repair-open-comma): Fix non-insertion of comma when
6850 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
6851 (verilog-make-width-expression): Simplify [A-1:0] expression
6852 widths to just {A{1'b0}}.
6853 (verilog-mode): Cleanup checkdoc warnings.
6854 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
6855 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
6856 inputs/outputs or data type. Suggested by Vasu Kandadi.
6857 (next-error-last-buffer): Fix byte-compiler warning.
6858 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
6859 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
6860 or shell command text during AUTO expansion. Suggested by Tad Truex.
6861 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
6862 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
6863 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
6864 in AUTOINOUT. Reported by Matthew Lovell.
6865 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
6866 causing use of <= assignments. Reported by Alex Reed.
6867 (verilog-read-decls): Fix triand, trior, wand, wor to be
6868 recognized by AUTOWIRE. Reported by Spencer Isaacson.
6869 (verilog-extended-complete-re): Support import "DPI-C" functions.
6870 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
6871 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
6872 (verilog-insert-date, verilog-insert-year)
6873 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
6874 Windows systems. Reported by Michael Potts.
6875 (verilog-read-module-name): Fix AUTOINST when the child module
6876 declaration's name is a tick define. Reported by Elliot Mednick.
6877 (verilog-read-decls): Fix V2K parameter bit subscripts getting
6878 passed to next parameter's definition. Reported by Bruce T.
6879 (verilog-read-decls): Fix detecting "parameter int" when using
6880 AUTOINSTPARAM. Reported by Bruce T.
6881 (verilog-goto-defun): Fix goto not finding modules unless first
6882 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
6883 (verilog-mode): Expand -f flag arguments on entry to mode so
6884 verilog-goto-defun will work. Reported by Lawrence Butcher.
6885 (verilog-getopt): Expand environment variables in -f file
6886 arguments. Suggested by Lawrence Butcher.
6887 (verilog-set-define): Fix "Symbol's value as variable is void"
6888 when reading enumerations.
6889 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
6890 Suggested by Stephen Peltan.
6891 (verilog-read-defines): Fix reading of enumerations in include
6892 files. Reported by Steve Peltan.
6894 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
6896 * files.el (trash-directory): Fix defcustom type.
6898 2009-06-28 Juri Linkov <juri@jurta.org>
6900 * help-fns.el (describe-function-1): Correctly locate adviced
6901 functions in hyperlink (Bug#2438).
6903 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
6905 * files.el (trash-directory): Change default to nil.
6906 (move-file-to-trash): If trash-directory is nil and
6907 system-move-file-to-trash is unbound, perform freedesktop-style
6910 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
6912 * files.el (move-file-to-trash): Add freedesktop trash
6915 2009-06-28 Glenn Morris <rgm@gnu.org>
6917 * autorevert.el (global-auto-revert-non-file-buffers)
6918 (global-auto-revert-mode): Doc fixes.
6920 2009-06-27 Johan Bockgård <bojohan@gnu.org>
6922 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
6924 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
6926 * faces.el (x-handle-named-frame-geometry): Ensure that we have
6927 opened an X connection before calling x-get-resource (Bug#3194).
6929 * play/doctor.el: Remove reference to obsolete website.
6930 (make-doctor-variables): Correct grammar mistake (Bug#2633).
6932 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
6934 Remove find-file-not-found-hook VC method. (Bug#2757)
6935 * vc-hooks.el (vc-file-not-found-hook)
6936 (vc-default-find-file-not-found-hook): Remove functions.
6937 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
6938 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
6941 * vc-git.el: Do not mention find-file-not-found-hook VC method.
6943 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
6945 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
6946 compatibility function for `looking-back'.
6948 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
6949 Use `ispell-looking-back'.
6951 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
6953 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
6954 rather than `filename'.
6956 2009-06-23 Miles Bader <miles@gnu.org>
6958 * face-remap.el (text-scale-set): New function.
6960 2009-06-23 Glenn Morris <rgm@gnu.org>
6962 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
6964 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
6966 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
6968 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
6970 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
6971 Simplify Persian conditionals.
6973 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
6974 variable `filename'.
6976 * comint.el (comint-insert-input): Doc fix.
6978 * Makefile.in (ELCFILES): Fix typo in previous change.
6980 2009-06-23 Miles Bader <miles@gnu.org>
6982 * cus-start.el: Add entry for `recenter-redisplay'.
6984 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
6986 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
6987 Add an optional argument for the backend, use it instead of
6989 (vc-mode-line): Add an optional argument for the backend.
6990 Pass the backend to vc-state and vc-working-revision. Move code for
6991 special handling for vc-state being a buffer to ...
6993 * vc-rcs.el (vc-rcs-find-file-hook):
6994 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
6996 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
6997 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
6998 vc-stay-local-p and vc-mode-line calls.
7000 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
7001 (vc-cvs-diff, vc-cvs-annotate-command)
7002 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
7003 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
7006 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
7008 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
7009 backend when calling vc-mode-line.
7010 (vc-register): Do not create a closure for calling the vc register
7011 function, call it directly.
7013 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
7015 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
7016 to make it obvious item can be clicked.
7018 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
7020 2009-06-23 Kenichi Handa <handa@m17n.org>
7022 * language/korea-util.el (korean-key-bindings): Change the binding
7023 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
7026 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
7028 Sync with Tramp 2.1.16.
7030 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
7032 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
7033 when a loading of a package fails. Completion function for rsync
7034 is `tramp-completion-function-alist-ssh'.
7035 (all): Replace all calls of `split-string' and
7036 `tramp-split-string' by `tramp-compat-split-string'.
7037 (tramp-default-method): Use `tramp-compat-process-running-p'.
7038 (tramp-default-proxies-alist): Allow also Lisp forms.
7039 (tramp-remote-path): Add choice "Private Directories".
7040 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
7041 (tramp-domain-regexp): Allow also "-", "_" and ".".
7042 (tramp-end-of-output): Remove newlines, and add "$" at the end.
7043 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
7044 (tramp-debug-message): Insert header line in debug buffer.
7045 (tramp-handle-directory-files-and-attributes-with-stat):
7046 Care about filenames with spaces, or starting with "-".
7047 (tramp-handle-dired-uncache): New defun.
7048 (tramp-handle-insert-directory): Don't flush the directory from
7049 cache, this is handled by `dired-uncache' now.
7050 (tramp-handle-insert-file-contents): Improve error handling.
7051 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7052 Quote `tramp-end-of-output'.
7053 (tramp-action-password): Improve trace message.
7054 (tramp-check-for-regexp): Both echoes must be present, before removing.
7055 (tramp-open-connection-setup-interactive-shell): Trace coding system.
7056 (tramp-compute-multi-hops): Eval cons cells of
7057 `tramp-default-proxies-alist'.
7058 (tramp-maybe-open-connection): Use the same command pattern for
7059 first hop and further hops.
7060 (tramp-wait-for-output): Remove handling of newlines.
7061 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
7062 (tramp-split-string): Remove function. It is handled in
7065 * net/tramp-cmds.el (tramp-bug):
7066 Recommend `tramp-cleanup-all-connections' in the bug mail.
7068 * net/tramp-compat.el (tramp-compat-split-string)
7069 (tramp-compat-process-running-p): New defuns.
7071 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
7072 for `dired-uncache'.
7074 * net/tramp-gvfs.el: New package.
7076 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7077 Add handler for `dired-uncache'.
7078 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
7080 * net/trampver.el: Update release number. Make version check fit
7083 2009-06-22 Jim Meyering <meyering@redhat.com>
7085 Automatically handle .xz suffix (XZ-compressed files), too.
7086 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
7087 XZ is the successor to LZMA: <http://tukaani.org/xz/>
7089 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
7090 Nick Roberts <nickrob@snap.net.nz>
7092 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
7093 repository (http://sphinx.net.ru/hg/gdb-mi/).
7095 2009-06-22 Glenn Morris <rgm@gnu.org>
7097 * files.el (dir-locals-collect-mode-variables): Allow for any number of
7098 `mode' and `eval' entries. (Bug#3430)
7100 * Makefile.in (ELCFILES): Add fadr.elc.
7102 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
7103 differing behavior of \n and ^ in strings. (Bug#3385)
7105 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
7107 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
7109 (lisp-indent-function): Make it a defcustom.
7111 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
7113 * progmodes/gdb-ui.el: Replace with ...
7114 * progmodes/gdb-mi.el: ... this file.
7115 * progmodes/gud.el: Modify for gdb-mi.el.
7117 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
7119 * fadr.el: New file.
7121 See ChangeLog.14 for earlier changes.
7127 Copyright (C) 2009 Free Software Foundation, Inc.
7129 This file is part of GNU Emacs.
7131 GNU Emacs is free software: you can redistribute it and/or modify
7132 it under the terms of the GNU General Public License as published by
7133 the Free Software Foundation, either version 3 of the License, or
7134 (at your option) any later version.
7136 GNU Emacs is distributed in the hope that it will be useful,
7137 but WITHOUT ANY WARRANTY; without even the implied warranty of
7138 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7139 GNU General Public License for more details.
7141 You should have received a copy of the GNU General Public License
7142 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
7144 ;; arch-tag: d3e45e38-19e2-49b6-8dc2-7cb26adcc5a1