1 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
3 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
6 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
9 2010-12-21 Daiki Ueno <ueno@unixuser.org>
11 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
12 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el: Move
15 2010-12-20 Leo <sdl.web@gmail.com>
17 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
18 always be performed (Bug#7680).
20 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
22 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
23 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
26 * color.el: Move from gnus/.
28 * vc/diff.el (diff-better-file-name): Function deleted.
29 abbreviating file names causes problems with shell-quote-argument.
30 (diff-no-select): Just use expand-file-name.
32 * tool-bar.el (tool-bar--image-expression): New function.
33 (tool-bar-local-item, tool-bar--image-exp): Use it.
34 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
35 Use :enable instead of :visible to avoid changing the tool-bar
36 configuration unnecessarily.
38 * info.el (info-tool-bar-map): Add separators.
40 2010-12-17 Ken Brown <kbrown@cornell.edu>
42 * loadup.el: Use version numbers in Cygwin build.
44 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
46 * ido.el (ido-file-internal): Ask for confirmation before
47 overwriting an existing file (Bug#1238).
49 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
51 * tool-bar.el (tool-bar-setup): Add separators.
53 * menu-bar.el (featurep): Use menu-bar-separator.
55 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
57 Migrate allout encryption provisions from pgg to epg.
59 * allout.el (allout-toggle-current-subtree-encryption)
60 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
61 defaulting policy and other changes. Change fetch-pass to keymode-cue,
62 for simpler universal argument interpretation.
63 (allout-toggle-subtree-encryption): Adjust docstring to describe
64 changed encryption provisions. Change fetch-pass to keymode-cue, for
65 simpler universal argument interpretation. Remove provisions for
66 handling key type and identity - they'll all be within
67 allout-encrypt-string or epg/epg or even contained all the way in gpg.
68 (allout-encrypt-string): Include keymode-cue, for optionally prompting
69 for keypair recipients (universal argument > 1) and, in addition,
70 associating the specified recipients with the outline (universal
71 argument > 4) using a file local variable setting for
72 'epa-file-encrypt-to'.
73 Require epa, for recipients handling.
74 Change how regexp filtering elements are named.
75 Describe the problem with caching of incorrect symmetric-decryption
77 Use the epa-passphrase-callback-function, in case the user is using
79 Support saving of the selected keypair recipients when invoked with a
81 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
83 Establish epg-context with armoring and default epg-protocol.
84 Remove all passphrase cache, verification, and hinting code.
85 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
86 No longer used, delete.
87 (allout-mode): Adjust docstring to describe changed encryption
88 provisions. Describe the problem with caching of incorrect
89 symmetric-decryption keys.
90 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
91 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
92 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
93 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
96 2010-12-16 Daiki Ueno <ueno@unixuser.org>
98 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
99 key selection prompt; make 'silent as default (Bug#7487).
101 2010-12-16 Leo <sdl.web@gmail.com>
103 * eshell/eshell.el (eshell-directory-name): Use
104 locate-user-emacs-file (Bug#7578).
106 2010-12-15 Glenn Morris <rgm@gnu.org>
108 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
110 2010-12-15 Jari Aalto <jari.aalto@cante.net>
111 Scott Evans <gse@antisleep.com>
113 * rect.el (rectange--default-line-number-format)
114 (rectangle-number-line-callback): New functions.
115 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
117 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
119 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
120 Delete unused variables.
121 (move-to-column-force): Remove function obsolete since 21.2.
123 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
125 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
126 (tramp-handle-insert-file-contents): Do not set permanent-local
129 * net/tramp-cache.el (tramp-persistency-file-name): Use
130 `locate-user-emacs-file' if fboundp.
132 * net/tramp-sh.el (tramp-methods): Add "ksu".
133 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
136 2010-12-14 Glenn Morris <rgm@gnu.org>
138 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
139 (find-tag-marker-ring): Declare.
140 (js-find-symbol): Require etags.
142 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
144 (mail-alias-file): Don't autoload. Doc fix.
145 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
146 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
147 Mark as obsolete, and risky.
148 (mail-setup): Simplify.
150 * mail/mailalias.el (build-mail-aliases): Make it interactive.
151 * mail/sendmail.el (build-mail-aliases): Update autoload.
153 * dired.el (dired-trivial-filenames, dired-chown-program)
154 (dired-auto-revert-buffer): Remove autoload cookies.
155 * mail/sendmail.el (mail-recover-1): Require 'dired.
157 * dired.el (dired-subdir-switches, dired-chown-program)
158 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
159 Make into defcustoms.
160 (dired-chown-program): Simplify initialization.
162 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
164 2010-12-13 Romain Francoise <romain@orebokech.com>
166 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
168 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
170 * net/netrc.el (netrc-point-at-eol): Remove the unused
171 netrc-point-at-old and netrc-bound-and-true-p bindings.
172 (netrc-parse): Cache the netrc contents.
174 2010-12-13 Eli Zaretskii <eliz@gnu.org>
176 * subr.el (posn-col-row): Evaluate header-line-format in the
177 context of the POSITION window's buffer.
179 2010-12-13 Glenn Morris <rgm@gnu.org>
181 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
182 (with-silent-modifications): Doc fixes.
184 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
186 * net/tramp.el (tramp-action-password, tramp-process-actions):
187 Revert previous from. Use `save-restriction'.
189 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
191 * calendar/diary-lib.el (diary-list-sexp-entries):
192 Handle case of no newline at end of file. (Bug#7536)
194 2010-12-13 Glenn Morris <rgm@gnu.org>
196 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
198 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
200 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
201 (tramp-process-actions): Do not widen.
203 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
204 Protect buffer-modified value. (Bug#7557)
206 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
208 * log-edit.el (log-edit-changelog-entries):
209 Regexp quote filename. (Bug#7505)
211 2010-12-13 Tom Breton <tehom@panix.com>
213 * cus-edit.el (custom-save-all):
214 Bind print-length and print-level to nil. (Bug#7581)
216 2010-12-13 Glenn Morris <rgm@gnu.org>
218 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
219 Run hooks to update menu contents. (Bug#7586)
221 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
222 file names, for the sake of MS Windows. (Bug#7588)
224 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
226 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
227 empty lines without a leading space.
229 2010-12-13 Leo <sdl.web@gmail.com>
231 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
232 while mapping over marks (Bug#6810).
234 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
236 * image-dired.el (image-dired-db-file)
237 (image-dired-temp-image-file, image-dired-gallery-dir)
238 (image-dired-temp-rotate-image-file): Set default values relative
239 to image-dired-dir (Bug#7518).
241 2010-12-13 Lawrence Mitchell <wence@gmx.li>
243 * format.el (format-decode-run-method): Pass args FROM and TO, not
244 point-min and point-max, to shell-command-on-region (Bug#7488).
246 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
248 * frame.el (blink-cursor-mode): Make default t for ns.
250 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
252 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
254 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
256 * comint.el (comint-dynamic-list-input-ring)
257 (comint-dynamic-complete-filename)
258 (comint-replace-by-expanded-filename)
259 (comint-dynamic-simple-complete)
260 (comint-dynamic-list-filename-completions)
261 (comint-dynamic-list-completions): Doc fix (Bug#7499).
263 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
266 2010-12-13 Martin Rudalics <rudalics@gmx.at>
268 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
271 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
273 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
276 2010-12-13 Eli Zaretskii <eliz@gnu.org>
278 * files.el (file-relative-name): Handle UNC file names on
279 DOS/Windows. (Bug#4674)
281 2010-12-13 Daiki Ueno <ueno@unixuser.org>
283 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
284 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
285 (epg-context-set-passphrase-callback): Mention that the callback
286 is not called when used with GnuPG 2.x.
288 2010-12-13 Glenn Morris <rgm@gnu.org>
290 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
291 Ensure ps-footer-font-size-internal is initialized.
292 Call ps-get-page-dimensions before trying to use ps-font-for-text.
294 2010-12-13 Kenichi Handa <handa@m17n.org>
296 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
297 within condition-case.
298 (rmail-show-mime): Don't use condition-case.
299 (rmail-search-mime-message): New function.
300 (rmail-search-mime-message-function): Set to
301 rmail-search-mime-message.
303 2010-12-13 Leo <sdl.web@gmail.com>
305 * ido.el (ido-common-initialization): New function. (bug#3274)
307 (ido-completing-read): Call it.
309 2010-12-12 Karl Fogel <kfogel@red-bean.com>
311 * bookmark.el (bookmark-name-from-full-record): Rename back to
312 this original name from `bookmark-name-from-record' reverting part
313 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
314 As Drew Adams pointed out, there was no reason to cause churn for
317 2010-12-12 Alan Mackenzie <acm@muc.de>
319 * progmodes/cc-engine.el (c-forward-type): Before scanning a
320 template arglist, check that the current language supports this.
322 2010-12-11 Glenn Morris <rgm@gnu.org>
324 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
325 state of the file matches. (Bug#7544)
326 (vc-bzr-register, vc-bzr-checkin)
327 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
328 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
330 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
332 2010-12-11 Karel Klíč <kklic@redhat.com>
334 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
336 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
338 Derive from prog-mode, use derived-mode-p, and fix up various
339 minor style issues in lisp/progmodes.
341 * progmodes/vhdl-mode.el (vhdl-mode):
342 * progmodes/verilog-mode.el (verilog-mode):
343 * progmodes/vera-mode.el (vera-mode):
344 * progmodes/sql.el (sql-mode):
345 * progmodes/scheme.el (scheme-mode):
346 * progmodes/perl-mode.el (perl-mode):
347 * progmodes/octave-inf.el (inferior-octave-mode):
348 * progmodes/autoconf.el (autoconf-mode):
349 * progmodes/m4-mode.el (m4-mode):
350 * progmodes/inf-lisp.el (inferior-lisp-mode):
351 * progmodes/idlwave.el (idlwave-mode):
352 * progmodes/icon.el (icon-mode):
353 * progmodes/idlw-help.el (idlwave-help-mode):
354 * progmodes/dcl-mode.el (dcl-mode):
355 * progmodes/idlw-shell.el (idlwave-shell-mode):
356 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
357 (ebrowse-member-mode, ebrowse-electric-position-mode):
358 Use define-derived-mode.
360 * progmodes/xscheme.el (exit-scheme-interaction-mode)
361 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
362 (xscheme-debugger-mode-p, xscheme-send-string-1):
363 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
364 (tcl-load-file, tcl-restart-with-file):
365 * progmodes/ps-mode.el (ps-run-running):
366 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
367 * progmodes/js.el (js--get-all-known-symbols):
368 * progmodes/inf-lisp.el (inferior-lisp-proc):
369 * progmodes/idlwave.el (idlwave-beginning-of-statement)
370 (idlwave-template, idlwave-update-buffer-routine-info)
371 (idlwave-update-current-buffer-info)
372 (idlwave-get-routine-info-from-buffers, idlwave-choose)
373 (idlwave-scan-class-info, idlwave-fix-keywords)
374 (idlwave-list-buffer-load-path-shadows):
375 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
376 (idlwave-toolbar-remove):
377 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
378 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
379 (idlwave-shell-menu-def):
380 * progmodes/idlw-complete-structtag.el
381 (idlwave-prepare-structure-tag-completion):
382 * progmodes/gud.el (gud-set-buffer):
383 * progmodes/f90.el (f90-backslash-not-special):
384 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
386 * progmodes/xscheme.el (xscheme-start)
387 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
388 * progmodes/which-func.el (which-function):
389 * progmodes/vhdl-mode.el (vhdl-set-style):
390 * progmodes/verilog-mode.el (verilog-set-compile-command)
391 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
392 (verilog-set-define, verilog-auto-reeval-locals):
393 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
394 * progmodes/simula.el (simula-mode):
395 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
396 * progmodes/python.el (python-check, python-mode):
397 * progmodes/prolog.el (prolog-mode-variables):
398 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
399 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
400 * progmodes/delphi.el (delphi-mode):
401 * progmodes/cc-styles.el (c-setup-paragraph-variables):
402 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
403 (c-font-lock-init): Move make-local-variable to their setq.
405 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
406 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
408 * progmodes/sh-script.el (sh-require-final-newline): Remove.
409 (sh-set-shell): Don't set require-final-newline since it's already done
411 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
412 since we never set it.
413 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
414 Use read-string and standard prompt.
415 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
416 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
417 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
418 (meta-common-mode-map): Rename from meta-mode-map.
419 Remove C-m binding, which is a user preference, not mode specific.
420 (meta-common-mode): New major mode; replace meta-common-initialization.
421 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
422 around with font-lock.
423 * progmodes/etags.el (select-tags-table-mode):
424 Derive from special-mode.
425 * progmodes/octave-mod.el (octave-mode):
426 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
427 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
428 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
429 Let define-derived-mode do its job.
430 * progmodes/cpp.el (cpp-edit-mode-map):
431 Move initialization into declaration.
432 (cpp-edit-mode): Use define-derived-mode.
433 (cpp-edit-load): Use derived-mode-p.
434 * progmodes/mixal-mode.el (mixal-mode):
435 * progmodes/f90.el (f90-mode):
436 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
437 require-final-newline since prog-mode does it already.
438 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
439 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
440 * progmodes/antlr-mode.el: Require cc-mode upfront.
441 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
443 (antlr-directory-dependencies, antlr-show-makefile-rules):
445 (antlr-language-option): Don't assume point-min==1.
446 (antlr-mode): Use define-derived-mode.
447 * progmodes/ada-mode.el: Use derived-mode-p.
448 (ada-mode): Use define-derived-mode.
449 Use hack-local-variables-hook.
451 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
453 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
454 (texinfo-mode): Don't disable adaptive-fill-mode.
455 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
456 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
457 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
458 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
459 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
460 (texinfo-insert-@quotation, texinfo-insert-@samp)
461 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
462 (texinfo-insert-@uref): Use define-skeleton.
463 (texinfo-insert-@-with-arg): Delete.
465 2010-12-10 Eli Zaretskii <eliz@gnu.org>
467 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
468 nil, do quote archive member names. (Bug#6144)
470 2010-12-10 Glenn Morris <rgm@gnu.org>
472 * files.el (diff-no-select): Declare.
474 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
475 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
477 * comint.el (comint-input-ring-file-name): Doc fix.
479 2010-12-09 Eli Zaretskii <eliz@gnu.org>
481 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
483 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
484 Use them instead of `nil' and `>', respectively.
485 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
487 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
488 and menu-bar-positive-p instead of `nil' and `>', respectively.
491 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
493 * whitespace.el (whitespace-newline-mode): Code fix.
495 2010-12-09 Glenn Morris <rgm@gnu.org>
497 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
498 Rename functions without commas, update callers.
500 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
502 * whitespace.el (whitespace-cleanup-region):
503 Clean up spaces before tabs. (Bug#7582)
505 2010-12-08 Karl Fogel <kfogel@red-bean.com>
507 * bookmark.el: Adjust parameter names and doc strings to resolve
508 confusion over whether "bookmark" meant a bookmark name or a
509 bookmark record. Along the way, shorten one function's name for
510 similar reasons. (Issue #7548)
511 (bookmark-name-from-record): New name for
512 `bookmark-name-from-full-record'. All callers changed.
513 (bookmark-get-bookmark, bookmark-get-bookmark-record)
514 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
515 (bookmark-get-annotation, bookmark-set-annotation)
516 (bookmark-get-filename, bookmark-set-filename)
517 (bookmark-get-position, bookmark-set-position)
518 (bookmark-get-front-context-string, bookmark-set-front-context-string)
519 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
520 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
521 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
522 Rename `bookmark' parameter to `bookmark-name-or-record', to
523 clearly show its role, and shorten or adjust doc strings accordingly.
524 (bookmark-set-name): Same, and pass the parameter directly to
525 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
526 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
527 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
528 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
529 and in some cases shorten doc string accordingly.
530 (bookmark-rename): Change `old' and `new' parameters to `old-name'
531 and `new-name', and adjust an internal variable to avoid confusion.
532 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
533 parameter in doc string.
535 2010-12-08 Glenn Morris <rgm@gnu.org>
537 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
538 from gdb's history file. (Bug#7575)
540 * mail/emacsbug.el (report-emacs-bug):
541 Try to handle some other mail clients.
543 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
545 * files.el (dir-locals-collect-variables): Don't let errors stop us.
547 (file-name-version-regexp): New var.
548 (file-name-sans-versions):
549 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
550 (jka-compr-get-compression-info): Use dolist.
551 (jka-compr-compression-info-list): Don't bother specifying
552 version/backup regexps.
554 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
556 * simple.el (just-one-space): Make argument n default to 1 if
559 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
561 * electric.el (electric-indent-post-self-insert-function):
562 Delete trailing newlines even if we don't reindent.
564 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
566 * minibuffer.el (completion-at-point): Remove the `arg'.
567 * bindings.el (complete-symbol): Move back from minibuffer.el.
569 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
571 * simple.el (just-one-space): Delete newlines for negative arg.
573 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
575 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
576 (ansi-color-filter-apply): Simplify.
577 (ansi-color-apply): Use `font-lock-face' rather than `face'.
579 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
581 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
583 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
585 * dired.el (dired-use-ls-dired): Set default to a special
587 (dired-insert-directory): When called the first time, check
588 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
590 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
592 * replace.el: Add "collect" feature to occur.
593 (occur-collect-regexp-history): New var.
594 (occur-read-primary-args): Return a replace string for nlines,
596 (occur): Extend the meaning of nlines.
598 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
600 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
601 (which-func-update-1): Distinguish symbols from strings.
602 (which-function): Stay within 80 columns.
604 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
606 * subr.el (with-demoted-errors): Distinguish symbols from strings.
608 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
610 (comment-style): Use comment-styles's docs to describe values.
612 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
614 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
615 and ns-show-prefs (Bug#7535).
617 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
620 2010-12-03 Glenn Morris <rgm@gnu.org>
622 * nxml/nxml-mode.el: Require rng-nxml.
623 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
626 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
627 * nxml/rng-nxml.el, nxml/rng-valid.el:
628 Remove leading `*' from defcustom docs.
630 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
631 (normal-top-level-add-to-load-path, tty-handle-args):
632 Convert comments to basic doc-strings.
634 * net/browse-url.el (browse-url-url-at-point)
635 (browse-url-default-browser): Remove autoload cookies.
637 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
638 Remove more undefined cl functions.
640 * vc/diff.el (diff-sentinel): Make new arguments optional.
641 * ibuf-ext.el (diff-sentinel): Update declaration.
643 2010-12-03 Daiki Ueno <ueno@unixuser.org>
645 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
646 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
647 (epg-context-set-passphrase-callback): Mention that the callback
648 is not called when used with GnuPG 2.x.
650 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
652 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
653 (tramp-file-name-port): Check also for `tramp-default-port'.
654 (tramp-get-connection-name): New defun.
655 (tramp-get-connection-process): Use it.
656 (tramp-debug-message): Extend function exclude list.
657 (tramp-drop-volume-letter): Fix doc string.
659 * net/tramp-cmds.el: Remove solved todo item.
666 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
667 and `tramp-default-user-alist', respectively.
669 * net/tramp-gw.el (tramp-gw-open-connection):
670 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
672 * net/tramp-imap.el (tramp-imap-make-iht): Use just
673 `tramp-file-name-port'.
675 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
676 and "psftp". Exchange "%k" marker with options.
677 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
678 Compute size of link target.
679 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
680 `tramp-current-*' up due to gateway methods. Optimze computing of
681 copy arguments. Use `tramp-get-connection-name' and
682 `tramp-get-connection-buffer'. Improve debug messages.
683 (tramp-compute-multi-hops): Remove port determination.
684 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
686 * net/trampver.el: Update release number.
688 2010-12-02 Glenn Morris <rgm@gnu.org>
690 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
691 Avoid infinite loop over windows. (Bug#7492)
693 * progmodes/flymake.el (flymake-check-file-limit):
694 Allow nil to mean "no limit".
695 (flymake-check-patch-master-file-buffer): Update for above change.
696 Allow a .tex file-name extension to be optional.
697 (flymake-master-tex-init): Also match \include statements.
699 2010-11-30 Sam Steingold <sds@gnu.org>
701 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
702 (nxml-parent-document-set): A function to set `nxml-parent-document'.
703 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
704 (nxml-mode-hook): Remove `defcustom' (auto-defined by
705 define-derived-mode').
706 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
707 users who want to call `nxml-parent-document-set'.
709 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
711 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
712 stand-alone lines, since that is handled by log-edit-match-to-eoh
715 2010-11-27 Eduard Wiebe <usenet@pusto.de>
717 * dired.el (dired-get-filename): Replace backslashes with slashes
718 in file names on MS-Windows, needed by `locate'. (Bug#7308)
719 * locate.el (locate-default-make-command-line): Don't consider
720 drive letter and root directory part of
721 `directory-listing-before-filename-regexp'. (Bug#7308)
722 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
724 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
726 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
727 of :smie-open/close-alist.
728 (smie-next-sexp): Make it accept a "start token" as argument.
729 (smie-indent-keyword): Be careful not to misidentify tokens that span
730 more than one line, as empty lines. Add argument `token'.
732 2010-11-27 Kenichi Handa <handa@m17n.org>
734 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
735 multipart subtypes, insert all as usual.
737 * mail/rmail.el: Require rfc2047.
739 2010-11-27 Kenichi Handa <handa@m17n.org>
741 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
742 (rmail-mime-entity-disposition)
743 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
744 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
745 (rmail-mime-save): Handle the case that the button's `data' is a
747 (rmail-mime-insert-text): New function.
748 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
749 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
750 (rmail-mime-insert-bulk): New function mostly copied from the old
751 rmail-mime-bulk-handler.
752 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
753 (rmail-mime-process-multipart): New function mostly copied from
754 the old rmail-mime-multipart-handler.
755 (rmail-mime-show): Just call rmail-mime-process.
756 (rmail-mime-process): New function mostly copied from the old
758 (rmail-mime-insert-multipart, rmail-mime-parse)
759 (rmail-mime-insert, rmail-show-mime)
760 (rmail-insert-mime-forwarded-message)
761 (rmail-insert-mime-resent-message): New functions.
762 (rmail-insert-mime-forwarded-message-function): Set to
763 rmail-insert-mime-forwarded-message.
764 (rmail-insert-mime-resent-message-function): Set to
765 rmail-insert-mime-resent-message.
767 * mail/rmailsum.el: Require rfc2047.
768 (rmail-header-summary): Handle multiline Subject: field.
769 (rmail-summary-line-decoder): Change the default to
770 rfc2047-decode-string.
772 * mail/rmail.el (rmail-enable-mime): Change the default to t.
773 (rmail-mime-feature): Change the default to `rmailmm'.
774 (rmail-quit): Delete the specifal code for rmail-enable-mime.
775 (rmail-display-labels): Likewise.
776 (rmail-show-message-1): Check rmail-enable-mime, and use
777 rmail-show-mime-function for a MIME message. Decode the headers
778 according to RFC2047.
780 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
782 * progmodes/which-func.el (which-func-imenu-joiner-function):
783 Return a string, as expected.
784 (which-function-mode): Make sure we stop any previous timer before
787 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
789 * net/tramp.el (tramp-default-method-alist)
790 (tramp-default-user-alist, tramp-default-proxies-alist):
791 Adapt custom options type. (Bug#7445)
793 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
795 * progmodes/python.el: Add Ipython support (Bug#5390).
796 (python-shell-prompt-alist)
797 (python-shell-continuation-prompt-alist): New options.
798 (python--set-prompt-regexp): New function.
799 (inferior-python-mode, run-python, python-shell):
800 Require ansi-color. Use python--set-prompt-regexp to set the comint
801 prompt based on the Python interpreter.
802 (python--prompt-regexp): New var.
803 (python-check-comint-prompt)
804 (python-comint-output-filter-function): Use it.
805 (run-python): Use a pipe (Bug#5694).
807 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
809 * progmodes/python.el (run-python): Doc fix.
810 (python-keep-current-directory-in-path): New var (Bug#7454).
812 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
814 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
815 Prompt user before actually printing.
817 2010-11-27 Glenn Morris <rgm@gnu.org>
819 * startup.el (package-enable-at-startup, package-initialize):
820 Remove unnecessary declarations.
822 2010-11-27 Eli Zaretskii <eliz@gnu.org>
824 * international/characters.el (glyphless-char-display-control):
825 Exclude newline and TAB from the c0-control group.
827 2010-11-27 Glenn Morris <rgm@gnu.org>
829 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
830 (expand-mail-aliases): Remove unnecessary autoload.
832 * allout.el (allout-command-prefix, allout-mode-map): Declare.
834 * shell.el (shell-dir-cookie-re): Move definition before use.
836 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
837 Replace undefined CL functions.
839 2010-11-26 Eli Zaretskii <eliz@gnu.org>
841 * simple.el (prog-mode): Set bidi-paragraph-direction to
844 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
846 2010-11-26 Glenn Morris <rgm@gnu.org>
848 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
849 diary-outlook-formats can be sensitive to calendar-date-style.
850 (diary-outlook-formats): Simplify the default setting.
851 (diary-from-outlook-internal): Pass subject and body as arguments.
852 Use dolist rather than dotimes. Don't save the diary buffer.
853 (diary-from-outlook-gnus, diary-from-outlook-rmail):
854 Pass subject and body as explicit arguments to the -internal function.
856 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
858 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
859 parsing them. This makes mailto:...?subject=foo\nbar work.
861 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
863 * vc/diff.el (diff): Fix last change.
865 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
867 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
868 (pcase--dontcare-upats): New var.
869 (pcase-let, pcase-let*): Generate better code.
870 Accept the same bodies as `let'.
871 (pcase-dolist): New macro.
872 (pcase--trivial-upat-p): New helper function.
873 (pcase--expand): Strip leading "(let nil" if any.
875 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
877 * mail/mailclient.el (browse-url): Require.
878 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
879 use the external browser function to send the mail (bug#7469).
881 * net/browse-url.el (browse-url-browser-function): Revert the
882 default back to the previous value, since the new value broke
884 (browse-url-mailto-function): New variable for mailto: URLs.
885 (browse-url): Use the new variable for mailto: URLs.
887 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
889 * eshell/esh-cmd.el (eshell-parse-command):
890 * eshell/esh-arg.el (eshell-parse-arguments):
891 * eshell/em-script.el (eshell-source-file):
892 Use with-silent-modifications.
894 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
896 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
897 for a merge location.
899 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
900 (vc-bzr-merge-branch): Always prompt.
901 (vc-bzr-async-command): Use the full branch filename.
903 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
905 * shell.el (shell): Use current-buffer by default if it's already
906 a shell mode buffer and its process is dead.
907 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
909 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
911 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
912 Mention that the keywords should be comma separated.
914 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
916 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
917 Accept optional prefix arg meaning to prompt for a command.
918 (vc-update): Use vc-BACKEND-pull if available. Accept optional
919 prefix arg meaning to prompt for a command.
920 (vc-pull): Alias for vc-update.
922 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
923 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
924 (vc-bzr-merge-branch): New functions, implementing merge-branch
927 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
929 * Makefile.in: Fix up last merge.
931 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
932 (diff-sentinel): Get them as arguments instead.
933 (diff-old-file, diff-new-file, diff-extra-args): Remove.
934 (diff-file-local-copy, diff-better-file-name): New funs.
935 (diff-no-select): Rename from diff-into-buffer.
936 Support buffers additionally to files. Move `buf' arg. Don't display buf.
937 Prefer closures to buffer-local variables.
938 (diff): Adjust accordingly.
939 (diff-buffer-with-file): Move from files.el.
940 * files.el (diff-buffer-with-file): Move to vc/diff.el.
941 (diff-buffer-internal): Remove.
942 (diff-buffer-buffer): Remove.
943 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
944 the buffer name used, and so as not to mess up windows and frames.
946 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
948 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
949 (diff-buffer-internal): New function extracted from diff-buffer-with-file
950 (diff-buffer-with-file): Use it.
951 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
954 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
956 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
957 \ref's or \pageref's value as default instead of initial input.
959 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
961 * files.el (backup-by-copying-when-mismatch): The default value is
964 * startup.el (normal-top-level):
965 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
966 `backup-by-copying-when-mismatch'.
968 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
970 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
972 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
974 * progmodes/python.el (python-font-lock-keywords):
975 Highlight top-level augmented assignments (Bug#6445).
977 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
979 * term/ns-win.el (ns-right-control-modifier)
980 (ns-right-command-modifier): Defvar them.
982 * cus-start.el (all): Add ns-right-control-modifier and
983 ns-right-command-modifier (Bug#7458).
985 2010-11-20 Glenn Morris <rgm@gnu.org>
987 * emacs-lisp/authors.el (authors-ignored-files)
988 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
990 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
992 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
993 (report-emacs-bug-parse-query-results)
994 (report-emacs-bug-create-existing-bugs-buffer): Pass through
995 keywords used for querying the bug database to show them in the
996 existing bugs buffer.
998 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
1000 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
1002 * info.el (info-tool-bar-map): Add some :vert-only keywords.
1004 2010-11-20 Eli Zaretskii <eliz@gnu.org>
1006 * international/characters.el (glyphless-char-display-control):
1007 Make it a defcustom, with update-glyphless-char-display as its
1009 (top level): Don't call update-glyphless-char-display.
1011 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
1013 Sync with Tramp 2.2.0.
1015 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
1016 `file-remote-p' (due to compatibility).
1018 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
1019 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
1021 * net/trampver.el: Update release number.
1023 2010-11-20 Eli Zaretskii <eliz@gnu.org>
1025 * faces.el (glyphless-char): Define value for `pc'.
1027 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
1029 Implemented a bug querying mechanism.
1030 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
1031 (report-emacs-bug-create-existing-bugs-buffer)
1032 (report-emacs-bug-parse-query-results)
1033 (report-emacs-bug-query-existing-bugs): New functions.
1035 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
1037 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
1038 a \ref{} or \pageref{} macro, then use its value as initial input.
1040 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
1042 * calc/calc-units.el (math-build-units-table-buffer):
1043 calc/README: Mention that the TeX specific units won't use the
1044 `tex' prefix in TeX mode.
1045 calc/calc-lang.el (math-variable-table): Don't use the `tex'
1046 prefix for units in TeX mode.
1048 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1050 * simple.el (kill-new, kill-append, kill-region):
1051 * comint.el (comint-kill-region): Make the yank-handler argument
1054 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1056 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
1057 that are both openers (resp. closers) and something else.
1058 (smie-grammar): Loosen definition of valid values.
1059 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
1060 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
1061 (smie-indent-after-keyword): Adjust users.
1062 (smie-indent-keyword): Don't indent empty lines.
1064 * vc-hg.el (vc-hg-program): New var.
1065 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
1066 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
1068 2010-11-18 Glenn Morris <rgm@gnu.org>
1070 * emacs-lisp/autoload.el (autoload-find-destination): The function
1071 coding-system-eol-type may return non-numeric values. (Bug#7414)
1073 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
1075 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
1077 2010-11-18 Eli Zaretskii <eliz@gnu.org>
1079 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
1081 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
1083 * textmodes/picture.el (picture-mouse-set-point): Don't use
1084 posn-col-row; explicitly compute the motion based on the posn at
1085 the window-start (Bug#7390).
1087 2010-11-18 Glenn Morris <rgm@gnu.org>
1089 * novice.el (disabled-command-function):
1090 Fix 2009-11-15 change. (Bug#7384)
1092 2010-11-18 Glenn Morris <rgm@gnu.org>
1094 * calendar/calendar.el (diary-iso-date-forms): Make elements
1095 mutually exclusive. (Bug#7377)
1097 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1099 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
1100 when filling the remaining "unconstrained" values.
1102 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1104 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
1107 * files.el (safe-local-variable-p): Gracefully handle errors.
1109 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
1110 Use smie-indent-virtual when indenting relative to an opener.
1111 (smie-rule-separator): Use smie-rule-parent.
1112 (smie-indent-keyword): Consult rules, even for openers at bol.
1113 (smie-indent-comment-close): Try to align closer's content.
1115 2010-11-18 Glenn Morris <rgm@gnu.org>
1117 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
1119 2010-11-18 Glenn Morris <rgm@gnu.org>
1121 * printing.el (pr-menu-bind): Doc fix.
1123 * speedbar.el (speedbar-toggle-images): Doc fix.
1125 * progmodes/python.el (python-shell): Doc fix.
1127 * wid-edit.el (widget-field-use-before-change)
1128 (widget-use-overlay-change): Doc fixes.
1130 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1132 Minor cleanup to improve style.
1133 * textmodes/rst.el (rst-update-section): Use point-marker.
1134 (rst-get-decoration): Eliminate unneeded assignment.
1135 (rst-promote-region, rst-straighten-decorations)
1136 (rst-section-tree, rst-adjust): Use point-marker.
1137 (rst-toc-mode-mouse-goto): Avoid setq.
1138 (rst-shift-region-guts, rst-shift-region-left)
1139 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
1140 (rst-convert-bullets-to-enumeration): Use copy-marker.
1142 * minibuffer.el (completion-fail-discreetly): New var.
1143 (completion--do-completion): Use it.
1145 * electric.el (electric-pair-pairs): New var.
1146 (electric-pair-post-self-insert-function): Use it.
1147 (electric-layout-post-self-insert-function): Don't insert a before
1148 newline unless it's actually needed.
1150 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1152 * progmodes/python.el (run-python): Explain why we remove the current
1153 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
1155 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
1157 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1159 * progmodes/octave-mod.el: Rely on elecric-*-modes.
1160 (octave-mode-map): Don't bind ;, SPC, and LF.
1161 (octave-auto-indent, octave-auto-newline): Remove.
1162 (electric-layout-rules): Declare.
1163 (octave-mode): Set electric-layout-rules.
1164 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
1165 (octave-reindent-then-newline-and-indent, octave-electric-semi)
1166 (octave-electric-space): Remove.
1168 * electric.el (electric-layout-mode): New minor mode.
1169 (electric--after-char-pos): New function.
1170 (electric-indent-post-self-insert-function): Use it.
1171 (electric-layout-rules): New var.
1172 (electric-layout-post-self-insert-function): New function.
1173 (electric-indent-mode): Make them interact better.
1175 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1177 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
1178 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
1179 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
1181 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
1183 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
1184 Make sure to check inside the word (Bug#6761).
1186 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
1188 * startup.el (command-line): If the cursorColor resource is set,
1189 change the cursor face-spec (Bug#7392).
1191 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
1193 The main features of the following allout.el changes are:
1194 - implement user customization for the allout key bindings
1195 - add a customization control by which the user can inhibit use of
1196 a trailing Ctrl-H, so by default it's reserved for use with
1197 describe-prefix-bindings
1198 - adapt to new version of called-interactively-p, while
1199 maintaining backwards compatibility with old version
1200 - fix hotspot navigation so i works properly with meta-modified keys
1202 * allout.el (allout-keybindings, allout-bind-keys)
1203 (allout-keybindings-binding, allout-prefixed-keybindings)
1204 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
1205 (allout-keybindings-list, allout-mode-map-adjustments)
1206 (allout-setup-mode-map): Establish allout-mode keymaps as user
1207 customizable settings, and also establish a customizable setting which
1208 regulates whether or not a trailing control-h is reserved for use with
1209 describe-prefix-bindings - and inhibit it by default, so that control-h
1210 *is* reserved for describe-prefix-bindings unless the user changes it.
1212 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
1213 and accurately between modified and unmodified events, and handle
1214 modified events more comprehensively.
1216 * allout.el (allout-substring-no-properties):
1217 Alias to use or provide version of `substring-no-properties'.
1218 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
1220 * allout.el (allout-next-single-char-property-change):
1221 Alias to use or provide version of `next-single-char-property-change'.
1222 (allout-annotate-hidden, allout-hide-by-annotation):
1223 Use `allout-next-single-char-property-change'.
1225 * allout.el (allout-select-safe-coding-system):
1226 Alias to use or provide version of `select-safe-coding-system'.
1227 (allout-toggle-subtree-encryption):
1228 Use `allout-select-safe-coding-system'.
1230 * allout.el (allout-set-buffer-multibyte):
1231 Alias to use or provide version of `set-buffer-multibyte'.
1232 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
1234 * allout.el (allout-called-interactively-p): Macro for using the
1235 different versions of called-interactively-p identically, depending on
1236 the subroutine's argument signature.
1237 (allout-back-to-current-heading, allout-beginning-of-current-entry):
1238 Use `(interactive "p")' instead of `(called-interactively-p)'.
1240 * allout.el (allout-init, allout-ascend, allout-end-of-level)
1241 (allout-previous-visible-heading, allout-forward-current-level)
1242 (allout-backward-current-level, allout-show-children):
1243 Use `allout-called-interactively-p' instead of `called-interactively-p'.
1245 * allout.el (allout-before-change-handler):
1246 Exempt edits to the (overlaid) character after the allout outline
1247 bullet from edit confirmation prompt.
1249 * allout.el (allout-add-resumptions):
1250 Ensure that it respects correct buffer for keybindings.
1252 * allout.el (allout-beginning-of-line):
1253 Use `allout-previous-single-char-property-change' alias for the sake of
1254 diverse compatibility.
1256 * allout.el (allout-end-of-line):
1257 Use `allout-mark-active-p' to encapsulate respect for mark activity.
1259 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
1261 * frame.el (frame-notice-user-settings): Don't clobber other
1262 user-set parameters when calling face-set-after-frame-default in
1263 response to background-color parameter (Bug#7373).
1265 2010-11-13 Eli Zaretskii <eliz@gnu.org>
1267 * international/characters.el (glyphless-char-display-control):
1268 Rename from glyphless-char-control; all users changed. Doc fix.
1269 Signal an error if display method is not one of the recognized
1272 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
1274 * net/tramp-compat.el (tramp-compat-line-beginning-position)
1275 (tramp-compat-line-end-position): Remove them.
1277 * net/tramp.el (tramp-parse-rhosts-group)
1278 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
1279 (tramp-parse-hosts-group, tramp-parse-passwd-group)
1280 (tramp-parse-netrc-group, tramp-parse-putty-group)
1281 * net/tramp-cmds.el (tramp-append-tramp-buffers)
1282 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
1283 (tramp-sh-handle-file-selinux-context)
1284 (tramp-sh-handle-file-name-all-completions)
1285 (tramp-sh-handle-insert-directory)
1286 (tramp-sh-handle-expand-file-name, tramp-find-executable)
1287 (tramp-wait-for-output, tramp-send-command-and-read)
1288 * net/tramp-smb.el (tramp-smb-read-file-entry)
1289 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
1291 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
1293 (tramp-remote-coding-commands): Add an alternative using "base64
1294 -d -i". This is needed for older base64 versions from GNU
1295 coreutils. Reported by Klaus Reichl
1296 <Klaus.Reichl@thalesgroup.com>.
1298 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
1300 * simple.el (count-words-region): New function.
1302 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1304 * shell.el (shell-dir-cookie-re): New custom variable.
1305 (shell-dir-cookie-watcher): New function.
1307 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
1308 and compilation-mode (bug#7350).
1310 * vc/smerge-mode.el (smerge-refine): Choose better default part to
1311 highlight when one of them is empty.
1313 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
1315 (skeleton-newline): New function.
1316 (skeleton-internal-1): Use it.
1318 * simple.el (open-line): `newline' may strip trailing space.
1320 2010-11-12 Kevin Ryde <user42@zip.com.au>
1322 * international/mule-cmds.el (princ-list): Use mapc.
1324 2010-11-12 Glenn Morris <rgm@gnu.org>
1326 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
1327 Use it to replace all instances of "*Compile-Log*"
1329 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1331 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
1334 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1336 * progmodes/modula2.el: Use SMIE and skeleton.
1337 (m2-mode-syntax-table): (*..*) can be nested.
1338 Add //...\n. Fix paren syntax.
1339 (m2-mode-map): Remove LF and TAB bindings.
1340 (m2-indent): Add safety property.
1341 (m2-smie-grammar): New var.
1342 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
1343 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
1344 (m2-mode): Use define-derived-mode.
1345 (m2-newline, m2-tab): Remove.
1346 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
1347 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
1348 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
1349 (m2-import): Use define-skeleton.
1351 2010-11-11 Glenn Morris <rgm@gnu.org>
1353 * obsolete/lucid.el: Don't warn about any CL functions in this file.
1355 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
1356 (ls-lisp-verbosity): Add custom :set-after property.
1357 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
1358 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
1359 (ls-lisp-insert-directory): Update caller.
1360 (ls-lisp-set-options): New function.
1361 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
1364 * play/landmark.el (lm-prompt-for-move):
1365 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
1367 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
1369 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
1370 (idlwave-study-twins): Prefix dynamic local variable `name'.
1371 (idlwave-routine-twin-compare): Update for above change.
1373 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
1374 Prefix dynamic local variables `name', `kwd', and `link'.
1375 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
1376 * progmodes/idlw-complete-structtag.el
1377 (idlwave-complete-structure-tag-help):
1378 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
1379 (idlwave-complete-sysvar-tag-help)
1380 (idlwave-complete-class-structure-tag-help):
1381 Update for above name changes.
1383 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1385 * net/browse-url.el (browse-url-browser-function): Change the
1386 default to use `browse-url-mail' on mailto: URLs.
1388 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
1390 * emacs-lisp/package.el (package-read-all-archive-contents):
1391 Reset package-archive-contents to nil before re-reading.
1393 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
1395 * textmodes/flyspell.el (flyspell-word): Do not re-check words
1396 already found as misspellings by (flyspell-large-region), just
1397 do highlighting (bug#7322).
1399 2010-11-10 Glenn Morris <rgm@gnu.org>
1401 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
1403 * emulation/edt.el (edt-with-position): New macro.
1404 (edt-find-forward, edt-find-backward, edt-find-next-forward)
1405 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
1406 (edt-paragraph-forward, edt-paragraph-backward): Use it.
1408 * emulation/tpu-extras.el (tpu-with-position): New macro.
1409 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
1411 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
1413 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
1414 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
1415 (texinfo-master-menu, texinfo-insert-node-lines)
1416 (texinfo-multiple-files-update):
1417 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
1418 Use line-beginning-position.
1420 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
1421 No recent Emacs supports system-type `emx'.
1423 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
1424 (ada-command-separator, ada-default-prj-properties)
1425 (ada-find-any-references): Update for above name change.
1427 * dirtrack.el (dirtrack-directory-function)
1428 (dirtrack-canonicalize-function):
1429 * filecache.el (file-cache-completion-ignore-case)
1430 (file-cache-case-fold-search, file-cache-ignore-case):
1431 * term.el (serial-port-is-file-p): Cosmetic change.
1433 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
1434 Remove non-existent `windows-95' system-type.
1435 * dired.el (dired-chown-program): Remove non-existent `linux'
1438 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
1439 (ping-program-options): Remove non-existent `linux' system-type.
1441 * startup.el (package-initialize): Update declaration.
1443 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
1444 (ls-lisp-handle-switches): Use time-less-p.
1445 (ls-lisp-format-time): Use float-time.
1447 * textmodes/remember.el (remember-time-to-seconds): Remove.
1448 (remember-store-in-mailbox): Use float-time.
1450 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
1452 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
1453 never a real function.
1454 (with-no-warnings): Remove compat stub, now unused.
1455 (time-less-p): Doc fix.
1456 (time-to-number-of-days): Simplify.
1458 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
1460 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
1461 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
1462 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
1463 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
1464 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
1466 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
1467 (eshell-shuffle-files, eshell-shorthand-tar-command)
1468 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
1469 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
1470 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
1471 Prefix dynamic local variable `matches'.
1473 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
1474 Prefix dynamic local variable `skeleton'.
1476 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
1478 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
1479 in mail buffer; make yank-action always a command that yanks original
1482 2010-11-09 Glenn Morris <rgm@gnu.org>
1484 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
1486 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1488 * minibuffer.el (minibuffer-completion-help): Specify the end of the
1489 completion field (bug#7211).
1491 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
1492 Fix handling of backslash escapes.
1493 (python-quote-syntax): Adjust accordingly.
1495 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
1497 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
1498 (vc-mtn-workfile-branch): Adjust to new output format.
1500 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1502 * international/mule-cmds.el (princ-list): Mark as obsolete.
1504 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1506 * emacs-lisp/smie.el: New package.
1508 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
1510 * files.el (backup-by-copying-when-mismatch):
1511 Set `permanent-local' property.
1513 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
1514 `permanent-local' property for `backup-by-copying-when-mismatch'.
1516 2010-11-09 Eli Zaretskii <eliz@gnu.org>
1518 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
1520 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
1522 * progmodes/verilog-mode.el (verilog-insert-one-definition)
1523 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
1524 AUTOINOUT for SV style multidimensional arrays, bug294.
1525 Reported by Eric Mastromarchi.
1526 (verilog-preprocess): Use with-current-buffer and
1527 font-lock-fontify-buffer to cleanup style issues.
1529 2010-11-09 Glenn Morris <rgm@gnu.org>
1531 * locate.el (locate, locate-mode): Doc fixes.
1533 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
1535 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
1536 user for confirmation.
1537 (server-force-stop): Use it.
1538 (server-start): Use server-force-stop for kill-emacs-hook, to
1539 avoid user interaction while killing Emacs.
1541 2010-11-09 Glenn Morris <rgm@gnu.org>
1543 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
1544 (meta-indent-line): Simplify.
1546 * vc/emerge.el (emerge-line-number-in-buf):
1547 * textmodes/ispell.el (ispell-region):
1548 * textmodes/fill.el (current-fill-column):
1549 * progmodes/xscheme.el (xscheme-send-current-line):
1550 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
1551 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
1552 * progmodes/sh-script.el (sh-handle-prev-do):
1553 * progmodes/meta-mode.el (meta-indent-line):
1554 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
1556 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
1557 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
1558 * progmodes/fortran.el (fortran-looking-at-if-then):
1559 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
1560 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
1561 (cperl-find-pods-heres):
1562 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
1563 * net/quickurl.el (quickurl-list-insert):
1564 * net/ldap.el (ldap-search-internal):
1565 * net/eudc.el (eudc-expand-inline):
1566 * mail/sendmail.el (sendmail-send-it):
1567 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
1568 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
1569 (viper-brac-function):
1570 * calc/calc-yank.el (calc-do-grab-region):
1571 * calc/calc-keypd.el (calc-keypad-press):
1572 * term.el (term-move-columns, term-insert-spaces):
1573 * speedbar.el (speedbar-highlight-one-tag-line):
1574 * simple.el (current-word):
1575 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
1576 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
1578 * hippie-exp.el (he-line-beg):
1579 * epa.el (epa--marked-keys):
1580 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
1581 (dired-update-file-line, dired-add-entry, dired-remove-entry)
1582 (dired-relist-entry):
1583 * buff-menu.el (Buffer-menu-buffer):
1584 * array.el (current-line):
1585 * allout.el (allout-resolve-xref)
1586 (allout-latex-verbatim-quote-curr-line):
1587 Replace yet more uses of end-of-line etc with line-end-position, etc.
1589 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1591 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
1592 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
1593 (checkdoc-syntax-table): Initialize in the declaration.
1594 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
1595 the mode on unconditionally.
1597 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
1598 (extent-end-position, extent-start-position): Remove setf method for
1599 non-existing functions (bug#7319).
1601 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1603 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
1604 (smie-precs->prec2): Rename from smie-precs-precedence-table.
1605 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
1606 (smie-prec2->grammar): Rename from smie-prec2-levels.
1607 (smie-grammar): Rename from smie-op-levels.
1608 (smie-indent--hanging-p): Rename from smie-hanging-p.
1609 (smie-rule-hanging-p): New alias.
1610 (smie-indent--bolp): Rename from smie-bolp.
1611 (smie-indent--hanging-p): New alias.
1612 (smie--token): New dynamically bound variable.
1613 (smie-indent--parent): New function.
1614 (smie-rule-parent-p): Use it; rename from smie-parent-p.
1615 (smie-rule-next-p): Rename from smie-next-p.
1616 (smie-rule-prev-p): Rename from smie-prev-p.
1617 (smie-rule-sibling-p, smie-rule-parent)
1618 (smie-indent--separator-outdent, smie-rule-separator): New functions.
1619 (smie-rule-separator-outdent): New var.
1620 (smie-indent--rule): Merge with smie-indent--column.
1621 (smie-indent-forward-token, smie-indent-backward-token):
1622 Also recognize close parens.
1623 (smie-indent-keyword): Don't use smie-indent--column any more.
1624 (smie-indent-after-keyword): Ignore closers by default.
1625 (smie-indent-line): Use with-demoted-errors.
1626 * progmodes/octave-mod.el (octave-smie-grammar):
1627 Rename from octave-smie-op-levels.
1628 (octave-smie-rules): Adjust to new behavior.
1629 * progmodes/prolog.el (prolog-smie-grammar):
1630 Rename from prolog-smie-op-levels.
1632 2010-11-07 Glenn Morris <rgm@gnu.org>
1634 * eshell/esh-util.el (subst-char-in-string)
1635 (directory-files-and-attributes): These compatibility definitions are
1636 not needed on any version of Emacs since at least 21.4.
1638 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
1639 (verilog-get-end-of-line): Remove.
1640 (verilog-within-string, verilog-re-search-forward-substr)
1641 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
1642 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
1643 Use point-at-bol, point-at-eol.
1644 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
1646 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
1647 (electric-pascal-terminate-line, pascal-set-auto-comments)
1648 (pascal-indent-paramlist, pascal-indent-declaration)
1649 (pascal-get-lineup-indent, pascal-func-completion)
1650 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
1651 Use point-at-bol, point-at-eol.
1652 * progmodes/flymake.el (flymake-line-beginning-position)
1653 (flymake-line-end-position): Remove.
1654 (flymake-highlight-line): Use point-at-bol, point-at-eol.
1655 * eshell/esh-util.el (line-end-position, line-beginning-position):
1656 Remove compat definitions.
1658 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1660 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
1661 Use line-end-position.
1663 * emacs-lisp/chart.el (chart-zap-chars):
1664 * play/decipher.el (decipher-set-map):
1665 * progmodes/ada-mode.el (ada-get-current-indent)
1666 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
1667 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
1668 * progmodes/ada-xref.el (ada-initialize-runtime-library)
1669 (ada-get-all-references):
1670 * progmodes/cperl-mode.el (cperl-electric-paren)
1671 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
1672 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
1673 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
1674 (cperl-word-at-point-hard):
1675 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
1676 (idlwave-shell-filename-string, idlwave-shell-batch-command)
1677 (idlwave-shell-display-line):
1678 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
1679 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
1680 * progmodes/js.el (js--re-search-forward-inner)
1681 (js--re-search-backward-inner):
1682 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
1683 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
1684 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
1685 * textmodes/flyspell.el (flyspell-process-localwords):
1686 * textmodes/ispell.el (ispell-buffer-local-parsing)
1687 (ispell-buffer-local-dict, ispell-buffer-local-words):
1688 Use point-at-bol and point-at-eol.
1690 * speedbar.el (speedbar-generic-item-info)
1691 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
1692 (speedbar-add-indicator, speedbar-check-vc-this-line)
1693 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
1694 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
1695 Replace more uses of end-of-line etc with line-end-position.
1697 2010-11-06 Glenn Morris <rgm@gnu.org>
1699 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
1700 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
1701 (texinfo-delete-existing-pointers, texinfo-find-pointer)
1702 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
1703 (texinfo-multiple-files-update):
1704 * textmodes/table.el (table--probe-cell-left-up)
1705 (table--probe-cell-right-bottom):
1706 * textmodes/picture.el (picture-tab-search):
1707 * textmodes/page-ext.el (pages-copy-header-and-position)
1708 (pages-directory-for-addresses):
1709 * progmodes/vera-mode.el (vera-get-offset):
1710 * progmodes/simula.el (simula-calculate-indent):
1711 * progmodes/python.el (python-pdbtrack-overlay-arrow):
1712 * progmodes/prolog.el (end-of-prolog-clause):
1713 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
1714 * progmodes/icon.el (indent-icon-exp):
1715 * progmodes/etags.el (tag-re-match-p):
1716 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
1717 * progmodes/ebnf2ps.el (ebnf-begin-file):
1718 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
1719 (dcl-save-local-variable):
1720 * play/life.el (life-setup):
1721 * play/gametree.el (gametree-looking-at-ply):
1722 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
1723 * mail/sendmail.el (mail-mode-auto-fill):
1724 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
1725 * emacs-lisp/edebug.el (edebug-overlay-arrow):
1726 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
1727 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
1728 (woman-tab-to-tab-stop, WoMan-warn-ignored):
1729 * type-break.el (type-break-file-keystroke-count):
1730 * term.el (term-replace-by-expanded-history-before-point)
1731 (term-skip-prompt, term-extract-string):
1732 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
1733 (speedbar-contract-line, speedbar-toggle-line-expansion)
1734 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
1735 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
1736 * sort.el (sort-skip-fields):
1737 * skeleton.el (skeleton-internal-list):
1738 * simple.el (line-move-finish, line-move-to-column):
1739 * shell.el (shell-forward-command):
1740 * misc.el (copy-from-above-command):
1741 * makesum.el (double-column):
1742 * ebuff-menu.el (electric-buffer-update-highlight):
1743 * dired.el (dired-move-to-end-of-filename):
1744 * dframe.el (dframe-popup-kludge):
1745 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
1746 * arc-mode.el (archive-get-lineno):
1747 Use line-end-position and line-beginning-position.
1749 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
1750 (idlwave-study-twins): Prefix dynamic local `class'.
1751 (idlwave-routine-twin-compare): Update for above name change.
1753 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
1754 Use boundp tests to silence compiler. Update for changed name of
1755 bytecomp-filename variable.
1757 * emulation/viper-cmd.el (viper-read-string-with-history):
1758 Prefix dynamic local `initial'.
1759 (viper-minibuffer-standard-hook): Update for above name change.
1761 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
1762 (elint-init-form): Update for above name change.
1764 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
1765 local variables `cbeg' and `cend' a prefix.
1766 (mail-extr-voodoo): Update for above name change.
1768 * textmodes/reftex-toc.el (reftex-toc-do-promote)
1769 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
1770 (reftex-toc-promote-action): Doc fix.
1772 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
1773 `prompt', `data' a prefix.
1774 (reftex-select-post-command-hook, reftex-select-callback)
1775 (reftex-select-mouse-accept, reftex-select-read-cite):
1776 Update for above name changes.
1778 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
1779 `refstyle' to reftex-refstyle.
1780 (reftex-offer-label-menu): Update for above name change.
1781 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
1782 `refstyle' name change.
1784 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
1785 with with-current-buffer.
1786 (diff, template): Give dynamic local variables a prefix.
1787 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
1788 (emerge-line-number-in-buf): Update for above name change.
1789 (emerge-combine-versions-internal): Rename local `template' to
1790 emerge-combine-template.
1791 (emerge-combine-versions-edit): Update for above name change.
1793 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
1795 * textmodes/reftex-cite.el
1796 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
1797 entries with whitespace after \bibitem.
1798 (reftex-create-bibtex-file): Match entries containing numbers and
1799 symbol constituents. Make sure that entries with whitespace at
1800 various places are found.
1802 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
1804 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
1806 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
1808 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
1810 2010-11-05 Glenn Morris <rgm@gnu.org>
1812 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
1813 (woman2-roff-buffer): Give local variable `request' a prefix.
1814 (woman0-macro): Rename argument `request' in the same way.
1815 (woman-request): New name for `request' dynamic variable.
1816 (woman-unquote, woman-forward-arg): Update for above name change.
1817 (woman1-roff-buffer): Give local variable `unquote' a prefix.
1818 (woman1-unquote): New name for `unquote' dynamic variable.
1819 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
1820 (woman-translations): Rename from `translations'. No longer global.
1821 (woman2-tr, woman-translate): Update for above name change.
1822 (woman-translate): Check for bound variable.
1823 (woman2-roff-buffer): Give local variable `translations' a prefix.
1825 * play/doctor.el: Give all local variables a prefix. Update callers.
1826 (doc$, doctor-put-meaning): Use backquote.
1828 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
1829 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
1831 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
1832 variables bytes, ptr, op a prefix.
1833 (disassemble-offset): Update for above change.
1835 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
1837 * emacs-lisp/package.el (package-unpack): Remove no-op.
1838 (package--builtins, package--dir): Doc fix.
1839 (package-activate-1, package-activate, package-install)
1840 (package-compute-transaction): Fix error message.
1841 (package-delete): Use delete-directory. Omit system packages.
1842 (package-initialize): Set package-alist to nil first.
1843 (package-menu-mark-delete, package-menu-mark-install): Don't add
1844 symbols that are inconsistent with the package state.
1845 (package-menu-execute): Perform deletions and installations as
1846 single batch operations.
1848 2010-11-03 Glenn Morris <rgm@gnu.org>
1850 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
1851 (props): Remove unnecessary declaration.
1853 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
1854 set-process-query-on-exit-flag.
1856 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
1857 (reftex-toc-do-promote): Remove unused local `mpos'.
1858 (reftex-toc-restore-region): Make `mpos' local to this function.
1860 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
1862 * play/landmark.el (lm-losing-threshold): Correct spelling.
1863 (lm-human-plays): Use new name.
1865 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
1866 (gomoku-human-plays): Use new name.
1868 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
1869 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
1870 (gomoku-score-trans-table, gomoku-winning-threshold)
1871 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
1873 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
1875 * emacs-lisp/package.el: Don't put built-in packages in
1876 package-alist, to avoid loading inefficiencies.
1877 (package-built-in-p): Make VERSION optional, and treat it as a
1878 minimum acceptable version.
1879 (package-activate): Search separately for built-in packages.
1880 Emit a warning if a dependency fails.
1881 (define-package): Handle most common case, where there is no
1882 obsolete package, first.
1883 (package-compute-transaction): Print required version in error.
1884 (package--initialized): New variable.
1885 (list-packages): Use it.
1886 (package-initialize): Optional arg NO-ACTIVATE. Don't put
1887 built-in packages in packages-alist; keep it separate.
1888 Set package--initialized.
1889 (describe-package): Avoid activating packages as a side-effect.
1890 Search separately for built-in packages.
1891 (describe-package-1): Handle the case where an elpa package is
1892 simultaneously built-in and available/installed.
1893 (package-installed-p, package--generate-package-list):
1894 Search separately for built-in packages.
1895 (package-load-descriptor): Doc fix.
1897 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1899 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1900 Handle __DATA__ and __END__.
1902 2010-11-02 Noah Friedman <friedman@splode.com>
1904 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
1905 nil, do not ask to recompile files that are not already compiled,
1906 and do not recompile them.
1908 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
1910 * emacs-lisp/package.el (package-initialize): Ensure that
1911 obsoleted built-in packages are not in package-activated-list
1913 (describe-package-1): Make the "installed" status override
1916 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1918 * subr.el (version-separator, version-regexp-alist): Remove '*'
1920 (version-list-<=, version<=, version=): Doc fix.
1922 2010-11-01 Kenichi Handa <handa@m17n.org>
1924 * faces.el (glyphless-char): Inherit underline for tty.
1926 2010-11-01 Kenichi Handa <handa@m17n.org>
1928 Implement various display methods for glyphless characters.
1930 * international/characters.el (char-acronym-table): New variable.
1931 (glyphless-char-control): New variable.
1932 (update-glyphless-char-display): New funciton.
1934 * faces.el (glyphless-char): New face.
1936 2010-11-01 Glenn Morris <rgm@gnu.org>
1938 * calendar/holidays.el (general-holidays, oriental-holidays)
1939 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
1940 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
1941 the definitions of their targets.
1943 * emacs-lisp/smie.el (smie): New custom group.
1944 (smie-blink-matching-inners, smie-indent-basic): Add :group.
1946 * faces.el (xw-defined-colors, x-setup-function-keys):
1947 * mouse-sel.el (x-select-text):
1948 * term/w32console.el (x-setup-function-keys): Update declarations.
1950 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
1952 * textmodes/ispell.el (comment-add): Declare.
1954 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
1957 * info.el (finder-keywords-hash, package-alist): Declare.
1959 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
1961 * finder.el (finder-compile-keywords): Don't use intern-soft,
1962 since package names may not yet exist in the obarray.
1964 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
1966 * vc/vc-arch.el (vc-arch-checkin):
1967 * vc/vc-cvs.el (vc-cvs-checkin):
1968 * vc/vc-mtn.el (vc-mtn-checkin):
1969 * vc/vc-rcs.el (vc-rcs-checkin):
1970 * vc/vc-sccs.el (vc-sccs-checkin):
1971 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
1972 since 2010-04-21 commit by Stefan Monnier.
1974 2010-11-01 Glenn Morris <rgm@gnu.org>
1976 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
1978 * startup.el (package-enable-at-startup, package-initialize):
1981 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
1984 2010-10-31 Julien Danjou <julien@danjou.info>
1986 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
1987 (byte-recompile-directory):
1988 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
1989 Use `byte-recompile-file'.
1991 2010-10-31 Glenn Morris <rgm@gnu.org>
1993 * cus-start.el: Handle standard values via a keyword.
1994 Only set version property if specified.
1995 (cursor-in-non-selected-windows, menu-bar-mode)
1996 (tool-bar-mode, show-trailing-whitespace):
1997 Do not specify standard values.
1998 (transient-mark-mode, temporary-file-directory): Use :standard.
2000 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
2002 * term/x-win.el (x-get-selection-value): New function that gets
2003 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
2005 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
2007 * net/tramp.el (tramp-handle-insert-file-contents): For root,
2008 preserve owner and group when editing files. (Bug#7289)
2010 2010-10-31 Glenn Morris <rgm@gnu.org>
2012 * speedbar.el (speedbar-mode):
2013 * play/fortune.el (fortune-in-buffer, fortune):
2014 * play/gomoku.el (gomoku-mode):
2015 * play/landmark.el (lm-mode):
2016 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
2017 Replace inappropriate uses of toggle-read-only. (Bug#7292)
2019 * select.el (x-selection): Mark it as an obsolete alias.
2021 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2023 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
2024 major-mode (bug#7284).
2026 2010-10-31 Glenn Morris <rgm@gnu.org>
2028 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
2029 rather than just an unused variable that inherits from the real one.
2031 2010-10-31 Alan Mackenzie <acm@muc.de>
2033 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
2034 This fixes bug #7185.
2036 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
2038 * startup.el (command-line): Search for package directories, and
2039 don't load package.el if none are found.
2041 * emacs-lisp/package.el (describe-package, list-packages):
2042 Call package-initialize if it has not been called yet.
2044 2010-10-30 Alan Mackenzie <acm@muc.de>
2046 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
2047 which fontifies the tail of an enum.
2048 (c-basic-matchers-after): Insert a call to the above new function.
2049 This fixes bug #7264.
2051 2010-10-30 Glenn Morris <rgm@gnu.org>
2053 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
2054 tool-bar-mode, transient-mark-mode. (Bug#7306)
2055 Include the :set property in the dumped Emacs.
2057 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2059 SMIE: change indent rules format, improve smie-setup.
2060 * emacs-lisp/smie.el (smie-precs-precedence-table)
2061 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
2062 Mark them pure so the tables gets built at compile time.
2063 (smie-bnf-precedence-table): Store the closer-alist in the table.
2064 (smie-prec2-levels): Preserve the closer-alist.
2065 (smie-blink-matching-open): Be more forgiving in case of indentation.
2066 (smie-hanging-p): Rename from smie-indent--hanging-p.
2067 (smie-bolp): Rename from smie-indent--bolp.
2068 (smie--parent, smie--after): New dynamic vars.
2069 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
2070 (smie-indent-rules): Remove.
2071 (smie-indent--offset-rule): Remove fun.
2072 (smie-rules-function): New var.
2073 (smie-indent--rule): New fun.
2074 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
2075 (smie-indent-exps): Use it.
2076 (smie-setup): Setup paren blinking; add keyword args for token
2077 functions; extract closer-alist from op-levels.
2078 (smie-indent-debug-log): Remove var.
2079 (smie-indent-debug): Remove fun.
2080 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
2081 (prolog-smie-rules): New fun to replace it.
2082 (prolog-mode-variables): Simplify.
2083 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
2084 it's setup automatically.
2085 (octave-smie-indent-rules): Remove.
2086 (octave-smie-rules): New fun to replace it.
2087 (octave-mode): Simplify.
2089 2010-10-29 Glenn Morris <rgm@gnu.org>
2091 * files.el (temporary-file-directory): Remove (already defined in C).
2092 * cus-start.el: Add temporary-file-directory.
2094 * abbrev.el (abbrev-mode):
2095 * composite.el (auto-composition-mode):
2096 * menu-bar.el (menu-bar-mode):
2097 * simple.el (transient-mark-mode):
2098 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
2099 that they do not define the associated variables twice.
2100 * simple.el (transient-mark-mode): Remove defvar.
2101 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
2102 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
2103 Handle multiple groups, and also custom-delayed-init-variables.
2104 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2106 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2108 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
2109 (pcase-if): Add one minor optimization.
2110 (pcase-split-equal): Rename from pcase-split-eq.
2111 (pcase-split-member): Rename from pcase-split-memq.
2112 (pcase-u1): Add strings to the member optimization.
2113 Add `guard' variant of predicates.
2114 (pcase-q1): Add string patterns.
2116 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2118 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
2120 2010-10-28 Glenn Morris <rgm@gnu.org>
2122 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2123 Move menu-bar related settings to ../menu-bar.el.
2124 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2125 Move ns-specific settings here from term/ns-win.el.
2127 * simple.el (x-selection-owner-p): Remove unused declaration.
2129 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2131 * minibuffer.el (completion-cycling): New var (bug#7266).
2132 (minibuffer-complete, completion--do-completion):
2133 Use completion--flush-all-sorted-completions.
2134 (minibuffer-complete): Only cycle if completion-cycling is set.
2135 (completion--flush-all-sorted-completions): Unset completion-cycling.
2136 (minibuffer-force-complete): Set completion-cycling.
2137 (completion-all-sorted-completions): Move declaration before first use.
2139 2010-10-28 Leo <sdl.web@gmail.com>
2141 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
2142 which changes the order of matches seen by users (bug#7231).
2144 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
2146 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2147 Don't confuse -omega as "-o mega".
2149 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
2151 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
2152 (log-edit-author): New dynamic var.
2153 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
2154 to return the author if different from committer.
2155 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
2157 * play/landmark.el: Adjust commenting convention.
2158 (lm-nil-score): Rename from nil-score.
2159 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
2160 (OOOOscore): Move into a let in lm-score-trans-table.
2161 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
2163 * electric.el (electric-indent-chars): Autoload.
2164 * progmodes/octave-mod.el (octave-mode):
2165 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
2166 (ruby-mode-abbrev-table): Merge initialization and declaration.
2168 2010-10-27 Glenn Morris <rgm@gnu.org>
2170 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
2173 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
2175 * term/ns-win.el: Restore require of cl when compiling.
2176 (menu-bar-final-items): Remove non-existent `windows' menu.
2177 (ns-handle-nxopen): Optionally handle the temp-case.
2178 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
2179 (ns-insert-file, ns-find-file): Use `pop'.
2181 2010-10-26 Glenn Morris <rgm@gnu.org>
2183 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
2185 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
2187 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
2189 * term/common-win.el (x-setup-function-keys): Remove most of the
2190 keymappings. Comment on the remaining ones.
2192 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
2194 * server.el (server-port): New option. (Bug#854)
2195 (server-start): Use server-port.
2197 2010-10-26 Glenn Morris <rgm@gnu.org>
2199 * term/ns-win.el (ns-version-string): Remove unused declaration.
2200 (ns-invocation-args): Change to x-invocation-args.
2201 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
2202 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
2203 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
2204 Use x-invocation-args instead of ns-invocation-args.
2205 (ns-initialize-window-system, handle-args-function-alist):
2206 Use x-handle-args instead of ns-handle-args.
2207 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
2208 * startup.el (command-line-ns-option-alist): Replace
2209 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
2210 ns-handle-iconic with the x- equivalents.
2212 * term/common-win.el (x-select-enable-clipboard):
2213 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
2215 * term/ns-win.el: No need to require cl when compiling.
2216 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
2217 (xw-defined-colors): Use the common-win definitions.
2218 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
2219 (ns-handle-iconic): Make it an alias for x-handle-iconic.
2220 * term/common-win.el (x-select-text, x-alternatives-map)
2221 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
2222 * loadup.el [ns]: Load common-win.
2224 2010-10-26 Daiki Ueno <ueno@unixuser.org>
2226 * epa-mail.el (epa-mail-encrypt): Handle local-part only
2227 recipients; expand mail aliases (Bug#7280).
2229 2010-10-25 Glenn Morris <rgm@gnu.org>
2231 * term/common-win.el (x-handle-switch): Simplify with pop.
2232 Optionally handle numeric switches.
2233 (x-handle-numeric-switch): Just call x-handle-switch.
2234 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
2235 (x-handle-name-switch, x-handle-display, x-handle-args):
2238 * term/ns-win.el: Do not require easymenu.
2239 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
2240 <spell>: Move adjustments to menu-bar.el.
2241 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
2242 <separator-undo, spell>: Move ns-win's adjustments here.
2243 * loadup.el [ns]: Do not load easymenu.
2245 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2247 * image.el (image-checkbox-checked, image-checkbox-unchecked):
2250 * startup.el (fancy-startup-tail): Instead of using inline images,
2251 refer to image files from etc/.
2253 * wid-edit.el (checkbox): Likewise.
2254 (widget-image-find): Center image specs.
2256 2010-10-24 Glenn Morris <rgm@gnu.org>
2258 * term/ns-win.el (x-select-text): Doc fix.
2259 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
2260 (x-select-text): Move to term/common-win.
2261 * term/w32-win.el (xw-defined-colors): Move to common-win.
2262 * term/x-win.el (xw-defined-colors, x-alternatives-map)
2263 (x-setup-function-keys, x-select-text): Move to common-win.
2264 * term/common-win.el (x-select-text, x-alternatives-map)
2265 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
2268 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
2270 * net/mairix.el (mairix-searches-mode-map):
2271 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
2273 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
2275 * verilog-mode.el (verilog-directive-re): Make this variable
2276 auto-built for efficiency of execution and updating.
2277 (verilog-extended-complete-re): Support 'pure' fucntion & task
2278 declarations (these have no bodies).
2279 (verilog-beg-of-statement): General cleanup to enable support of
2280 'pure' fucntion & task declarations (these have no bodies).
2281 These efforts together fix Verilog bug210 from veripool; which was also
2282 noticed by Steve Pearlmutter.
2283 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
2284 (verilog-directive-nest-re, verilog-set-auto-endcomments):
2285 Support `elsif. Reported by Shankar Giri.
2286 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
2287 attribute handling for lining up declarations and assignments.
2288 (verilog-beg-of-statement-1): Fix issue where continued declaration
2289 is indented differently if it is after a begin..end clock.
2290 (verilog-in-attribute-p, verilog-skip-backward-comments)
2291 (verilog-skip-forward-comment-p): Support proper treatment of
2292 attributes by indent code. Reported by Jeff Steele.
2293 (verilog-in-directive-p): Fix comment to correctly describe function.
2294 (verilog-backward-up-list, verilog-in-struct-region-p)
2295 (verilog-backward-token, verilog-in-struct-p)
2296 (verilog-in-coverage-p, verilog-do-indent)
2297 (verilog-pretty-declarations): Use verilog-backward-up-list as
2298 wrapper around backward-up-list inorder to properly skip comments.
2299 Reported by David Rogoff.
2300 (verilog-property-re, verilog-endcomment-reason-re)
2301 (verilog-beg-of-statement, verilog-set-auto-endcomments)
2302 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
2303 of if). Reported by Max Bjurling and
2304 (verilog-calc-1): Fix for clocking block in modport
2305 declaration. Reported by Brian Hunter.
2307 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
2309 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
2310 (verilog-gate-keywords, verilog-read-sub-decls)
2311 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
2312 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
2313 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
2314 (verilog-read-decls): Fix spaces in V2K module parameters causing
2315 mis-identification as interfaces, bug287.
2316 (verilog-read-decls): Fix not treating "parameter string" as a
2317 parameter in AUTOINSTPARAM.
2318 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
2319 treating `elsif similar to `endif inside AUTOSENSE.
2320 (verilog-do-indent): Implement correct automatic or static task or
2321 function end comment highlight. Reported by Steve Pearlmutter.
2322 (verilog-font-lock-keywords-2): Fix highlighting of single
2323 character pins, bug264. Reported by Michael Laajanen.
2324 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
2325 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
2326 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
2327 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
2328 (verilog-pretty-expr): Fix interactive arguments, bug272.
2329 Reported by Mark Johnson.
2330 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
2331 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
2332 bug269. Suggested by Gary Delp.
2333 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
2334 (verilog-preprocessor, verilog-set-compile-command):
2335 Create verilog-preprocess and verilog-preprocessor to show
2336 preprocessed output.
2337 (verilog-get-beg-of-line, verilog-get-end-of-line)
2338 (verilog-modi-file-or-buffer, verilog-modi-name)
2339 (verilog-modi-point, verilog-within-string): Move defmacro's
2340 before first use to avoid warning. Reported by Steve Pearlmutter.
2341 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
2342 (verilog-colorize-region, verilog-highlight-buffer)
2343 (verilog-highlight-includes, verilog-highlight-modules)
2344 (verilog-highlight-region, verilog-mode): Rename colorize to
2345 highlight to match other packages. Disable module highlighting,
2346 as received speed complaints, reenable for experimentation only
2347 using new verilog-highlight-modules.
2348 (verilog-read-decls): Fix regexp stack overflow in very large
2349 AUTO_TEMPLATEs, bug250.
2350 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
2351 (verilog-scan): Create verilog-save-buffer-state to standardize
2352 making insignificant changes that shouldn't call hooks.
2353 (verilog-save-no-change-functions, verilog-save-scan-cache)
2354 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
2355 Create verilog-save-no-change-functions to wrap verilog-scan
2356 preservation, and fix to work with nested preserved calls.
2357 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
2358 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
2359 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
2360 (verilog-submit-bug-report): Update variable list to be complete.
2361 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
2362 breaking on-the-fly font-locking.
2363 (verilog-colorize-buffer, verilog-colorize-include-files)
2364 (verilog-colorize-include-files-buffer, verilog-colorize-region)
2365 (verilog-load-file-at-mouse, verilog-load-file-at-point)
2366 (verilog-mode, verilog-read-inst-module-matcher): With point on a
2367 AUTOINST cell instance name, middle mouse button now finds-file on
2368 it. Suggested by Brad Dobbie.
2369 (verilog-alw-get-temps, verilog-auto-reset)
2370 (verilog-auto-sense-sigs, verilog-read-always-signals)
2371 (verilog-read-always-signals-recurse): Fix loop indexes being
2372 AUTORESET. AUTORESET now assumes any variables in the
2373 initialization section of a for() should be ignored.
2374 Reported by Dan Dever.
2375 (verilog-error-font-lock-keywords)
2376 (verilog-error-regexp-emacs-alist)
2377 (verilog-error-regexp-xemacs-alist): Fix error detection of
2378 Cadence HAL, reported by David Asher. Repair drift between the
2379 three similar error variables.
2380 (verilog-modi-lookup, verilog-modi-lookup-cache)
2381 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
2382 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
2383 Fix slow verilog-auto expansion on very large files.
2384 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
2385 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
2386 "{1*2{...". Broke in last revision.
2387 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
2388 submodule connections with replications "{#{a},#{b}}".
2390 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
2392 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
2393 Fix typo in docstring.
2395 2010-10-24 Kenichi Handa <handa@m17n.org>
2397 * face-remap.el (text-scale-adjust): Call read-event with a proper
2400 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2402 * emacs-lisp/unsafep.el: Don't mark functions that display
2403 messages as safe. Suggested by Johan Bockgård.
2405 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2407 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
2408 Turn comments into docstrings.
2410 * minibuffer.el (completion--replace): Move point where it belongs
2411 when there's a common suffix (bug#7215).
2413 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2415 Merge read-color and facemenu-read-color (Bug#7242).
2417 * faces.el (read-color): Use the completion code from
2418 facemenu-read-color. Require match in completion. Doc fix.
2420 * facemenu.el (facemenu-read-color): Alias for read-color.
2421 (facemenu-set-foreground, facemenu-set-background):
2424 * frame.el (set-background-color, set-foreground-color)
2425 (set-cursor-color, set-mouse-color, set-border-color):
2428 2010-10-24 Leo <sdl.web@gmail.com>
2430 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
2431 argument of delete-file and delete-directory (Bug#7011).
2433 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2435 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
2438 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
2440 * emacs-lisp/package.el (package--generate-package-list): Make the
2441 *Packages* buffer read-only.
2443 2010-10-24 Alan Mackenzie <acm@muc.de>
2445 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
2446 result of `c-beginning-of-decl-1' between invocations of a lambda
2447 function (Bug #7265).
2449 2010-10-24 Daiki Ueno <ueno@unixuser.org>
2451 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
2452 executable is not available on the system (Bug#7268).
2454 2010-10-24 Glenn Morris <rgm@gnu.org>
2456 * select.el (selection-coding-system, next-selection-coding-system):
2457 Sync doc with C versions.
2459 * w32-vars.el (x-select-enable-clipboard):
2460 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
2461 * term/common-win.el (x-select-enable-clipboard): Move here.
2463 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
2464 definition of C variable.
2466 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
2467 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
2468 Don't redefine things that are defined in C.
2469 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
2470 (show-trailing-whitespace, auto-hscroll-mode)
2471 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
2472 Set up the appropriate custom properties.
2474 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2477 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
2478 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
2479 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
2480 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
2482 2010-10-23 Glenn Morris <rgm@gnu.org>
2484 * textmodes/flyspell.el (flyspell-mode): If there was an error,
2487 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
2488 Sync docs with C version.
2490 * term/ns-win.el (xw-defined-colors):
2491 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
2493 * term/pc-win.el (x-select-enable-clipboard):
2494 * term/x-win.el (x-select-enable-clipboard):
2495 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
2497 * comint.el (comint-password-prompt-regexp): Make it less vague.
2500 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
2502 * help.el (finder-by-keyword): Remove unnecessary autoload.
2504 2010-10-22 Glenn Morris <rgm@gnu.org>
2506 * loadup.el: Unconditionally load float-sup.
2507 * paren.el (show-paren-delay):
2508 * emacs-lisp/float-sup.el:
2509 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
2510 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
2511 (lazy-lock-stealth-verbose): Assume float support.
2512 * ps-print.el: Assume float support on Emacs.
2513 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
2514 Remove non-float branch.
2516 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
2517 src/Makefile no longer being pre-processed.
2519 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2521 * emacs-lisp/find-func.el (find-library): Use test-completion.
2523 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2525 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
2527 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
2529 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
2530 space in stat format string.
2531 (tramp-send-command): Unset $PS1 when using here documents, in
2532 order not to get several prompts.
2533 (tramp-get-inline-coding): Return `nil' in case of errors.
2535 2010-10-21 Daiki Ueno <ueno@unixuser.org>
2537 * hexl.el (hexl-mode, hexl-mode-exit):
2538 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
2539 (hexl-revert-buffer-function): New function.
2540 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
2542 2010-10-19 Alan Mackenzie <acm@muc.de>
2544 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
2545 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
2546 that these keywords aren't wrongly matched as identifiers.
2548 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
2549 setting of c-new-BEG and c-new-END from c-before-change to
2550 c-after-change. (Bug#7181)
2552 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
2554 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
2557 * custom.el (custom-theme-set-variables): Likewise.
2558 (load-theme): Add custom-theme-set-faces and
2559 custom-theme-set-variables to safe-functions while loading.
2560 (custom-enabled-themes): Mark as risky.
2562 2010-10-18 Julien Danjou <julien@danjou.info>
2564 * bindings.el: Remove end dashes in default mode-line-format.
2566 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
2568 * bindings.el (global-map): Bind C-d to delete-char and deletechar
2569 to delete-forward-char.
2571 * simple.el (normal-erase-is-backspace-mode): Remap delete to
2572 deletechar, and hence delete-forward-char.
2574 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2576 * repeat.el (repeat): Use read-key (bug#6256).
2578 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
2580 * emacs-lisp/unsafep.el: Don't mark functions that display
2581 messages as safe. Suggested by Johan Bockgård.
2583 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2585 * minibuffer.el (completion--replace): Move point where it belongs
2586 when there's a common suffix (bug#7215).
2588 2010-10-19 Kenichi Handa <handa@m17n.org>
2590 * international/characters.el: Add category '|' (word breakable)
2591 to fullwidth characters.
2593 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
2595 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
2596 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
2597 order to make stat results a float. Patch by Andreas Schwab
2598 <schwab@linux-m68k.org>.
2600 2010-10-18 Julien Danjou <julien@danjou.info>
2602 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
2603 hidden by `make-pointer-invisible'.
2605 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2607 * files.el (locate-file-completion-table): Strip non-matching elements
2608 before checking length of list (bug#7238).
2610 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
2612 * custom.el (custom-theme-set-variables): Mark as a safe function.
2613 (load-theme): Check forms using unsafep.
2615 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
2617 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
2619 * textmodes/ispell.el (ispell-aspell-find-dictionary):
2620 Fix aspell data file searching (bug#7230).
2622 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2624 * cus-theme.el (custom-theme--migrate-settings): New var.
2625 (customize-create-theme): Allow editing the `user' theme.
2626 (custom-theme-add-variable, custom-theme-add-var-1)
2627 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
2628 to the front of each variable or face widget.
2629 (custom-theme-write): Save theme settings in the correct order.
2630 Optionally, remove saved settings from user customizations.
2631 (custom-theme-write-variables, custom-theme-write-faces):
2632 Save only the checked widgets.
2633 (customize-themes): Add a link for migrating custom settings.
2635 * custom.el (custom-declare-theme, provide-theme):
2636 Use custom-theme-name-valid-p.
2637 (custom-theme-name-valid-p): Remove checks that are now
2638 unnecessary since themes no longer obey load-path.
2640 * cus-edit.el (custom-variable-value-create): For the simple
2641 style, hide documentation string when hidden.
2643 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2645 * cus-edit.el (custom-variable, custom-face): Combine the
2646 :inhibit-magic and :display-style properties into a single
2647 :custom-style property.
2648 (custom-toggle-hide-variable, custom-toggle-hide-face):
2649 New functions. If hiding an edited value, save it to :shown-value.
2650 (custom-variable-value-create, custom-face-value-create): Use them.
2651 (custom-magic-reset): Allow magic property to be unset.
2653 * custom.el: Custom themes no longer use load-path.
2654 (custom-theme-load-path): New option. Change built-in theme
2656 (custom-enabled-themes): Add custom-theme-load-path dependency.
2657 (custom-theme--load-path): New function.
2658 (load-theme, custom-available-themes): Use it.
2660 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
2661 (customize-themes): Link to custom-theme-load-path variable.
2662 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
2663 :custom-style property.
2665 * themes/*.el: Moved to etc/.
2667 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
2669 * textmodes/reftex-cite.el
2670 (reftex-extract-bib-entries-from-thebibliography): Do not move
2671 point when searching for \bibitem entries. Match entries with
2672 spaces or tabs in front of arguments.
2674 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2676 * cus-theme.el (customize-create-theme): Delete overlays after
2677 erasing. If given a THEME arg, display only the faces of that arg
2678 instead of custom-theme--listed-faces.
2679 (custom-theme-variable-menu, custom-theme-variable-action)
2680 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
2681 (custom-theme-add-variable, custom-theme-add-face): Apply value
2682 from the theme settings, instead of the current value.
2683 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
2684 (custom-theme-visit-theme): Allow calling outside theme buffers.
2685 (custom-theme-merge-theme): Don't enable the theme when merging.
2686 (custom-theme-write-variables, custom-theme-write-faces): Use the
2687 :shown-value properties to save buffer values, not global ones.
2688 (customize-themes): Display a warning about user customizations.
2690 * cus-edit.el (custom-variable-value-create)
2691 (custom-face-value-create): Obey new special properties
2692 :shown-value and :inhibit-magic.
2694 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
2696 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2697 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
2700 2010-10-14 Kenichi Handa <handa@m17n.org>
2702 * mail/rmail.el (rmail-show-message-1): Catch an error of
2703 base64-decode-region and just show an error message (bug#7165).
2705 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
2706 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
2707 a font-spec (bug#7197).
2709 2010-10-14 Glenn Morris <rgm@gnu.org>
2711 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
2713 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
2715 * international/mule.el (define-coding-system):
2716 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
2717 * composite.el (compose-region): Fix typo in docstring.
2719 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
2721 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
2722 only after checking the theme-face property.
2724 * faces.el (face-spec-reset-face): Reset all attributes in one
2725 single call to set-face-attribute.
2726 (face-spec-match-p): Make it a defsubst.
2727 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
2728 (x-create-frame-with-faces, tty-create-frame-with-faces)
2729 (tty-set-up-initial-frame-faces): Don't recompute face specs in
2730 frame-set-background-mode, since they are recomputed immediately
2731 afterwards in face-set-after-frame-default.
2732 (face-set-after-frame-default): Minor optimization.
2733 (cursor): Provide non-trivial defface spec.
2735 * custom.el (custom-theme-recalc-face): Simplify.
2737 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
2739 * calc/calc-alg.el (math-var): Rename from `var'.
2740 (math-is-polynomial, math-is-poly-rec): Replace `var'
2743 * calc/calcalg2.el (math-var): Rename from `var'.
2744 (calcFunc-table, math-scan-for-limits): Replace `var'
2747 2010-10-13 Glenn Morris <rgm@gnu.org>
2749 * subr.el (last): Deal with dotted lists (reported in bug#7174).
2751 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
2753 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
2755 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2757 * net/tls.el (tls-program): Remove spurious %s from openssl.
2758 (tls-starttls-switches): Remove starttls hack.
2759 (open-tls-stream): Ditto.
2760 (tls-find-starttls-argument): Ditto.
2762 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
2764 * image.el (image-library-alist): Declare as obsolete alias.
2765 (image-type-available-p): Use `dynamic-library-alist'.
2767 * term/w32-win.el (dynamic-library-alist):
2768 Use instead of `image-library-alist'.
2770 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
2772 * subr.el (last): Make it faster. (Bug#7174)
2774 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
2776 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
2778 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
2780 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
2781 (describe-theme-1): Extract doc from unloaded themes.
2783 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
2785 * themes/tango-theme.el:
2786 * themes/tango-dark-theme.el:
2787 * themes/wheatgrass-theme.el: New files.
2789 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
2791 * cus-theme.el (describe-theme, customize-themes)
2792 (custom-theme-save): New commands.
2793 (custom-new-theme-mode-map): Bind C-x C-s.
2794 (custom-new-theme-mode): Use custom--initialize-widget-variables.
2795 (customize-create-theme): New optional arg THEME.
2796 (custom-theme-revert): Use it.
2797 (custom-theme-visit-theme): Remove dead code.
2798 (custom-theme-merge-theme): Use custom-available-themes.
2799 (custom-theme-write): Make interactive.
2800 (custom-theme-write): Use custom-theme-name-valid-p.
2801 (describe-theme-1, custom-theme-choose-revert)
2802 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
2804 (custom-theme-allow-multiple-selections): New option.
2805 (custom-theme-choose-mode): New major mode.
2807 * custom.el (custom-theme-set-variables): Remove dead code.
2808 Obey custom--inhibit-theme-enable.
2809 (custom--inhibit-theme-enable): New var.
2810 (provide-theme): Obey it.
2811 (load-theme): Replace load with manual read/eval, in order to
2812 check for correctness. Use custom-theme-name-valid-p.
2813 (custom-theme-name-valid-p): New function.
2814 (custom-available-themes): Use it.
2816 * cus-edit.el (custom--initialize-widget-variables): New function.
2817 (Custom-mode): Use it.
2819 * cus-face.el (custom-theme-set-faces): Remove dead code.
2820 Obey custom--inhibit-theme-enable.
2822 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
2824 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
2826 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
2828 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
2830 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
2831 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
2832 (mac-right-option-modifier): New alias for ns-right-option-modifier.
2834 * cus-start.el (all): ns-right-alternate-modifier is new.
2836 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2838 * emacs-lisp/lisp.el (lisp-completion-at-point):
2839 Use emacs-lisp-mode-syntax-table for the whole function.
2841 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
2843 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
2844 instead of font-lock-mode before adding keywords.
2845 Remove hi-lock-mode off code. Remove inhibit hack.
2846 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
2847 non-nil; removed hook inhibit hack.
2849 2010-10-12 Glenn Morris <rgm@gnu.org>
2851 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
2852 (load-path-shadows-find): ... to this.
2853 (list-load-path-shadows): Update for above change.
2855 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
2857 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
2859 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
2860 Fix comment for declare-function.
2862 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
2864 * custom.el (custom-fix-face-spec): New function; code moved from
2865 custom-face-edit-fix-value.
2866 (custom-push-theme): Use it when checking if a face has been
2867 changed outside customize.
2868 (custom-available-themes): New function.
2869 (load-theme): Use it.
2871 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
2873 * custom.el (custom-push-theme): Cleanup (use cond).
2874 (disable-theme): Recompute the saved-face property.
2875 (custom-theme-recalc-face): Follow face alias before setting prop.
2877 * image.el (image-checkbox-checked, image-checkbox-unchecked):
2878 New variables, containing checkbox images.
2880 * startup.el (fancy-startup-tail):
2881 * wid-edit.el (checkbox): Use them.
2883 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
2885 * shell.el (shell-mode-map):
2886 * progmodes/modula2.el (m2-mode-map):
2887 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
2888 * play/mpuz.el (mpuz-mode-map):
2889 * play/landmark.el (lm-mode-map):
2890 * play/decipher.el (decipher-mode-map):
2891 * play/5x5.el (5x5-mode-map):
2892 * net/telnet.el (telnet-mode-map):
2893 * net/quickurl.el (quickurl-list-mode-map):
2894 * net/mairix.el (mairix-searches-mode-map):
2895 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
2896 * net/dig.el (dig-mode-map):
2897 * mail/mspools.el (mspools-mode-map):
2898 * hexl.el (hexl-mode-map):
2899 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
2900 (wordstar-C-o-map, wordstar-C-q-map):
2901 * emacs-lisp/edebug.el (edebug-eval-mode-map):
2902 * emacs-lisp/chart.el (chart-map):
2903 * edmacro.el (edmacro-mode-map):
2904 * erc/erc-list.el (erc-list-menu-mode-map):
2905 * array.el (array-mode-map): Declare and define in one step.
2907 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
2909 2010-10-10 Daiki Ueno <ueno@unixuser.org>
2911 * epa.el (epa-passphrase-callback-function): Display filename
2912 passed as the 3rd arg.
2913 * epa-file.el (epa-file-passphrase-callback-function):
2914 Pass filename to epa-passphrase-callback-function.
2916 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
2918 * cus-edit.el (custom-face-widget-to-spec)
2919 (custom-face-get-current-spec, custom-face-state): New functions.
2920 (custom-face-set, custom-face-mark-to-save)
2921 (custom-face-value-create, custom-face-state-set): Use them.
2923 * cus-theme.el (custom-theme--listed-faces): New var.
2924 (customize-create-theme): Use *Custom Theme* as the buffer name.
2925 Set revert-buffer-function. Optional arg BUFFER. Insert all
2926 faces listed in custom-theme--listed-faces.
2927 (custom-theme-revert): New function.
2928 (custom-theme-add-variable, custom-theme-add-face): Insert at the
2930 (custom-theme-write): Prompt for theme name if empty.
2931 (custom-theme-write-variables): Use dolist.
2932 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
2934 2010-10-09 Alan Mackenzie <acm@muc.de>
2936 Enhance fontification of declarators to take account of the
2937 presence/absence of "typedef".
2939 * cc-engine.el (c-forward-type): New &optional param
2941 (c-forward-decl-or-cast-1): cdr of return value now indicates the
2942 presence of either or both of a "struct"-like keyword and "typedef".
2944 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
2945 fontification of declarators which follow a "}".
2946 (c-font-lock-declarations): Fontify declarators according to the
2947 presence/absence of "typedef".
2949 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
2951 (c-typedef-decl-key): New lang variable built from
2952 c-typedef-decl-kwds.
2954 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
2956 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
2957 since that's too annoying. Move the filter groups commands to
2960 * epa.el (epa-passphrase-callback-function): Say what we're
2961 querying the password for.
2963 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
2964 behaviour, don't bury the ibuffer buffer when visiting other buffers.
2966 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
2968 * cus-edit.el (custom-commands, custom-buffer-create-internal)
2969 (custom-magic-value-create): Pad button tags with spaces.
2970 (custom-face-edit): New variable.
2971 (custom-face-value-create): Determine whether to use the usual
2972 face editor here, instead of using custom-face-selected.
2973 Pass face defaults to custom-face-edit widget.
2974 (custom-face-selected, custom-display-unselected): Delete widgets.
2975 (custom-display-unselected-match): Function removed.
2976 (custom-face-set, custom-face-mark-to-save):
2977 Accept custom-face-edit widgets as the direct widget child.
2979 * wid-edit.el (widget--completing-widget): New var.
2980 (widget-default-complete): Bind it when doing completion.
2981 (widget-string-complete, widget-file-complete): Use it.
2983 2010-10-09 Glenn Morris <rgm@gnu.org>
2985 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
2986 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
2987 (holiday-hebrew-misc): Small simplifications.
2989 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
2991 * net/browse-url.el: Don't require thingatpt, term, dired,
2992 executable, or w3-auto when compiling.
2993 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
2995 (browse-url-text-emacs): Require term.
2997 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
2999 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
3001 2010-10-08 Glenn Morris <rgm@gnu.org>
3003 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
3005 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
3006 (shadows-compare-text-p): Make it an obsolete alias for...
3007 (load-path-shadows-compare-text): ... new name.
3008 (find-emacs-lisp-shadows): Update for above name change.
3009 (load-path-shadows-same-file-or-nonexistent): New name for the old
3010 shadow-same-file-or-nonexistent.
3012 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
3014 * minibuffer.el (completion--some, completion--do-completion)
3015 (minibuffer-complete-and-exit, minibuffer-completion-help)
3016 (completion-basic-try-completion)
3017 (completion-basic-all-completions)
3018 (completion-pcm--find-all-completions): Use lexical-let to
3019 avoid some false matches in variable completion (Bug#7056)
3021 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
3023 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
3025 2010-10-08 Leo <sdl.web@gmail.com>
3027 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
3028 return non-nil if the file exists (Bug#7090).
3030 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3032 * minibuffer.el (completion--replace):
3033 Better preserve markers (bug#7138).
3035 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
3037 * server.el (server-process-filter): Doc fix.
3039 2010-10-08 Drew Adams <drew.adams@oracle.com>
3041 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
3043 2010-10-08 Glenn Morris <rgm@gnu.org>
3045 * vc/ediff-wind.el (ediff-setup-control-frame):
3046 * vc/ediff-ptch.el (ediff-default-backup-extension):
3047 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
3048 (ediff-exec-process): Remove system-types emx, windows-95.
3050 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
3052 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
3054 * cus-edit.el (custom-variable, custom-face): Doc fix.
3055 (custom-face-edit): Add value-create attribute.
3056 (custom-face-edit-value-create)
3057 (custom-face-edit-value-visibility-action): New functions.
3058 Hide unused face attributes by default, and add a visibility toggle.
3059 (custom-face-edit-deactivate): Show empty values with shadow face.
3060 (custom-face-selected): Only use this for face specs with default
3062 (custom-face-value-create): Cleanup.
3064 * wid-edit.el (widget-checklist-value-create): Use dolist.
3065 (widget-checklist-match-find): Make second arg optional.
3067 2010-10-07 Glenn Morris <rgm@gnu.org>
3069 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
3072 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
3073 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
3074 load-path-shadows-mode, update references.
3075 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
3076 Rename variable and button.
3077 (list-load-path-shadows): Update button caller.
3079 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3081 * emacs-lisp/smie.el (smie-bnf-classify): New function.
3082 (smie-bnf-precedence-table): Use it to remember the closers/openers.
3083 (smie-merge-prec2s): Handle those new entries.
3084 (smie-prec2-levels): Only set precedence to nil for actual
3086 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
3087 that is now unnecessary.
3089 2010-10-07 Miles Bader <miles@gnu.org>
3091 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
3093 2010-10-07 Glenn Morris <rgm@gnu.org>
3095 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
3096 (mail-position-on-field): Remove declarations.
3097 (mail-position-on-field): Autoload it.
3098 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
3099 and mail-header-end. Don't require sendmail.
3101 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
3102 (shadow-mode): New mode.
3103 (shadow-find-file): New button.
3104 (list-load-path-shadows): Use shadow-mode and buttons.
3106 * iimage.el (iimage-version): Remove.
3107 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
3108 Turn into defcustoms.
3109 (iimage-mode-map): Give it a doc string.
3111 * calendar/appt.el (appt-activate): Give a warning rather than an error
3112 if there is no diary-file.
3114 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
3116 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3117 Use `tramp-handle-find-backup-file-name'.
3119 2010-10-06 Glenn Morris <rgm@gnu.org>
3121 * font-core.el (font-lock-defaults-alist): Remove variable.
3122 (font-lock-mode): Doc fix.
3123 (font-lock-default-function): Do not consult font-lock-defaults-alist.
3124 * font-lock.el (font-lock-refresh-defaults): Doc fix.
3125 (font-lock-set-defaults): Doc fix.
3126 Do not consult font-lock-defaults-alist.
3128 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
3130 * emacs-lisp/cl.el: No longer provide cl-19.
3132 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
3134 * net/tramp.el (tramp-handle-directory-files-and-attributes)
3135 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
3136 New defuns, taken from tramp-smb.el.
3137 (tramp-coding-system-change-eol-conversion)
3138 (tramp-set-process-query-on-exit-flag): Remove.
3140 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
3141 (tramp-compat-coding-system-change-eol-conversion)
3142 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
3145 * net/tramp-gvfs.el:
3146 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
3147 by `tramp-compat-set-process-query-on-exit-flag'.
3149 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
3150 Use `tramp-handle-directory-files-and-attributes',
3151 `tramp-handle-file-exists-p' and
3152 `tramp-handle-file-newer-than-file-p'.
3153 (tramp-imap-handle-file-exists-p)
3154 (tramp-imap-handle-file-executable-p)
3155 (tramp-imap-handle-file-readable-p)
3156 (tramp-imap-handle-directory-files-and-attributes)
3157 (tramp-imap-handle-file-newer-than-file-p): Remove.
3159 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
3160 by `tramp-compat-set-process-query-on-exit-flag' and
3161 `tramp-coding-system-change-eol-conversion' by
3162 `tramp-compat-coding-system-change-eol-conversion'.
3164 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3165 Use `tramp-handle-directory-files-and-attributes',
3166 `tramp-handle-file-exists-p' and
3167 `tramp-handle-file-newer-than-file-p'.
3168 (tramp-smb-handle-directory-files-and-attributes)
3169 (tramp-smb-handle-file-exists-p)
3170 (tramp-smb-handle-file-newer-than-file-p): Remove.
3171 (tramp-smb-maybe-open-connection):
3172 Replace `tramp-set-process-query-on-exit-flag' by
3173 `tramp-compat-set-process-query-on-exit-flag'.
3175 2010-10-05 Glenn Morris <rgm@gnu.org>
3177 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
3179 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
3181 Continue reorganization of load dependencies. (Bug#7156)
3183 * net/tramp.el (tramp-handle-file-local-copy-hook)
3184 (tramp-delete-temp-file-function): Move down.
3185 (tramp-exists-file-name-handler): Move up.
3186 (tramp-register-file-name-handlers): Simplify autoload.
3187 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
3188 (tramp-handle-directory-files, tramp-handle-dired-uncache)
3189 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
3190 (tramp-handle-file-name-completion)
3191 (tramp-handle-file-name-directory)
3192 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
3193 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
3194 (tramp-handle-find-backup-file-name)
3195 (tramp-handle-insert-file-contents, tramp-handle-load)
3196 (tramp-handle-substitute-in-file-name)
3197 (tramp-handle-unhandled-file-name-directory)
3198 (tramp-mode-string-to-int, tramp-local-host-p)
3199 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
3201 * net/tramp-gvfs.el (top):
3202 * net/tramp-smb.el (top): Do not require 'tramp-sh.
3204 * net/tramp-sh.el (all): Move several objects to tramp.el, see
3205 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
3207 2010-10-04 Glenn Morris <rgm@gnu.org>
3209 * calendar/appt.el (appt-add): Ensure reminders are enabled.
3210 (appt-activate): Give status messages.
3212 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
3214 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
3215 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
3216 `gnutls-negotiate' (formerly `starttls-negotiate').
3217 Remove trivial wrapper `starttls-open-stream'.
3219 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
3221 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
3222 log-outgoing commands.
3223 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
3224 to create a buffer local revert-buffer-function variable.
3225 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
3226 revert-buffer-function lambda.
3228 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
3230 * net/gnutls.el (starttls-negotiate): Use the plist interface to
3231 `gnutls-boot'. Make TYPE the only required parameter.
3232 Allow TRUSTFILES and KEYFILES to be lists.
3233 (open-ssl-stream): Use it.
3235 2010-10-03 Glenn Morris <rgm@gnu.org>
3237 * subr.el (directory-sep-char): Remove obsolete variable.
3238 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
3241 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
3242 * vc/vc.el (vc-static-header-alist): Doc fix.
3243 * vc/vc-cvs.el (vc-cvs-header):
3244 * vc/vc-rcs.el (vc-rcs-header):
3245 * vc/vc-sccs.el (vc-sccs-header):
3246 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
3247 * obsolete/vc-mcvs.el (vc-mcvs-header):
3248 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
3251 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
3253 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
3254 Remove obsolete use of binary-overwrite-mode (Bug#7001).
3256 2010-10-03 Glenn Morris <rgm@gnu.org>
3258 * obsolete/x-menu.el: Remove file, obsolete since 21.1
3260 * textmodes/rst.el (rst-font-lock-keywords-function):
3263 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
3265 * printing.el: Drop Emacs 20 code.
3267 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
3268 without having used appt.el already).
3270 * subr.el (make-local-hook): Remove function obsolete since 21.1.
3271 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
3272 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
3274 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
3275 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
3277 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
3278 (charset-width, find-charset-region, chars-in-region, forward-point)
3279 (encode-coding-string, coding-system-p, ccl-execute-on-string)
3280 (define-ccl-program, multibyte-string-p, string-make-multibyte):
3281 Remove compatibility cruft (none of these are used by ps*.el).
3283 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3285 * subr.el (booleanp): Return t instead of a list (Bug#7086).
3287 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
3289 * server.el (server-process-filter, server-return-error):
3290 Give emacsclient time to shut down after receiving an error string.
3292 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
3294 * files.el (remote-file-name-inhibit-cache): New defcustom.
3296 * time.el (display-time-file-nonempty-p):
3297 Use `remote-file-name-inhibit-cache'.
3299 * net/tramp.el (tramp-completion-reread-directory-timeout):
3302 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
3303 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
3304 `remote-file-name-inhibit-cache'. Check also for an integer
3305 value. Add/increase counter when `tramp-verbose' >= 10.
3306 (tramp-set-file-property): Add/increase counter when
3307 `tramp-verbose' >= 10.
3309 * net/tramp-cmds.el (tramp-cleanup-all-connections)
3310 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
3311 (tramp-bug): Set tramp-autoload cookie. Report all interned
3312 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
3313 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
3314 characters only in strings.
3316 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
3317 to backward compatibility.
3319 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
3320 (tramp-handle-file-name-all-completions)
3321 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
3322 (tramp-open-connection-setup-interactive-shell):
3323 Call `tramp-cleanup-connection' directly.
3325 2010-10-02 Glenn Morris <rgm@gnu.org>
3327 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
3329 * subr.el (char-bytes): Remove obsolete function.
3331 * isearch.el (isearch-return-char): Remove obsolete function.
3333 * mouse.el: No longer provide mldrag.
3334 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
3335 Remove obsolete aliases.
3337 * comint.el (comint-kill-output): Remove obsolete alias.
3339 * composite.el (decompose-composite-char): Remove obsolete function.
3340 * ps-def.el (decompose-composite-char): Remove unused function.
3342 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
3344 * outline.el (outline-visible): Remove obsolete function.
3346 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
3347 * faces.el (internal-find-face, internal-get-face)
3348 (frame-update-faces, frame-update-face-colors)
3349 (x-frob-font-weight, x-frob-font-slant)
3350 (internal-frob-font-weight, internal-frob-font-slant)
3351 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
3352 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
3353 (x-make-font-bold-italic): Remove functions and aliases, obsolete
3355 * emulation/viper-util.el (viper-get-face):
3356 * obsolete/lucid.el (find-face, get-face): Use facep.
3357 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
3358 Remove unused functions.
3359 * vc/ediff-util.el (ediff-submit-report): Doc fix.
3361 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
3362 delete tempfile if interrupted during compilation.
3364 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3366 * net/tls.el (tls-starttls-switches): Give up on using starttls with
3368 (tls-program): Add --insecure to be consistent with the defaults from
3369 openssl s_client. Now all three commands are insecure.
3371 2010-10-01 Eli Zaretskii <eliz@gnu.org>
3373 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
3374 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
3375 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
3377 2010-10-01 Glenn Morris <rgm@gnu.org>
3379 * obsolete/sc.el: Remove file.
3381 * files.el (temporary-file-directory): On darwin, also try
3382 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
3384 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
3386 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
3387 Let's not break compatibility gratuitously, shall we?
3389 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3391 * net/tls.el (tls-starttls-switches): New variable.
3392 (tls-find-starttls-argument): Use it.
3393 (open-tls-stream): Ditto.
3395 * net/netrc.el (netrc-credentials): Return the value of the "default"
3397 (netrc-machine): Ditto.
3399 2010-09-30 Eli Zaretskii <eliz@gnu.org>
3401 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
3403 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
3405 * server.el (server-start): Don't write pid to the authentication file.
3406 (server-create-tty-frame): Don't send pid.
3407 (server-process-filter): Send pid at the start of every connection.
3409 2010-09-30 Glenn Morris <rgm@gnu.org>
3411 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
3412 (show-all-diary-entries): Remove obsolete function aliases.
3414 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
3415 Remove options, obsolete since 22.1.
3416 (appt-display-format, appt-display-message):
3417 Remove backwards-compatibility code.
3418 (appt-check): No longer check appt-issue-message.
3419 (appt-make-list): No longer autoload it. Doc fix. No longer
3420 activate the package.
3422 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
3424 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
3425 (starttls-negotiate): Just call boot, and let the handshake be
3426 triggered from the read loop.
3428 2010-09-29 Glenn Morris <rgm@gnu.org>
3430 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
3431 not displaying the diary.
3432 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
3433 * calendar/appt.el (appt-check): No longer need to kill diary.
3435 * calendar/diary-lib.el (diary-list-entries): Move the
3436 "Preparing..." message entirely here.
3437 (diary-simple-display, diary-fancy-display): Move "Preparing..."
3438 messages to diary-list-entries.
3439 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
3440 diary-display-function.
3442 * calendar/diary-lib.el (diary-include-other-diary-files):
3443 Trap some recursive includes.
3445 * calendar/appt.el (appt-activate): Check diary file.
3447 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
3449 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
3452 * calendar/time-date.el: No need to require cl for Emacs 21.
3454 2010-09-28 Glenn Morris <rgm@gnu.org>
3456 * calendar/appt.el (appt-check): Minor simplification.
3458 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
3460 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
3463 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
3465 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3466 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
3468 2010-09-27 Kenichi Handa <handa@m17n.org>
3470 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
3473 2010-09-27 Kenichi Handa <handa@m17n.org>
3475 * international/mule.el (define-coding-system): Docstring fixed.
3477 * international/mule-diag.el (describe-character-set): Use princ
3478 with proper print-length and print-level instead of insert.
3480 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
3482 * window.el (walk-windows): Doc fix (bug#7105).
3484 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3486 * emacs-lisp/float-sup.el (e): Remove.
3488 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
3490 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
3492 (starttls-negotiate): Use it.
3494 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3496 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
3499 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
3501 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
3503 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3505 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
3507 * net/netrc.el (netrc-store-data): New function.
3509 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
3511 * net/gnutls.el: GnuTLS glue code to set up a connection.
3513 2010-09-25 Julien Danjou <julien@danjou.info>
3515 * notifications.el: Call dbus-register-signal only if it is bound.
3517 2010-09-25 Glenn Morris <rgm@gnu.org>
3519 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3520 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3521 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3522 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3523 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3524 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
3525 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
3526 * eshell/esh-util.el, eshell/esh-var.el:
3527 Remove leading `*' from docs of faces and defcustoms.
3529 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
3531 * eshell/em-ls.el (eshell-ls-archive-regexp):
3532 * eshell/esh-util.el (eshell-tar-regexp):
3533 * ibuffer.el (ibuffer-compressed-file-name-regexp):
3534 * info.el (Info-suffix-list):
3535 * international/mule.el (auto-coding-alist):
3536 * woman.el (woman-file-regexp, woman-file-compression-regexp):
3537 * progmodes/etags.el (tags-compression-info-list):
3538 Support xz compression.
3540 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
3542 * files.el (get-free-disk-space): Don't assume the "df" output
3543 columns line up (Bug#6995).
3545 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
3547 * finder.el (finder-unknown-keywords):
3548 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
3549 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
3551 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
3553 * server.el (server-start): Revert part of 2010-08-08 change. Using
3554 address 127.0.0.1 for local host is now done in Fmake_network_process.
3556 2010-09-24 Glenn Morris <rgm@gnu.org>
3558 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
3559 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
3560 * textmodes/css-mode.el, textmodes/dns-mode.el:
3561 Move autoloaded auto-mode-alist entries to files.el.
3562 * files.el (auto-mode-alist): Move entries here.
3564 2010-09-23 Glenn Morris <rgm@gnu.org>
3566 * isearch.el (isearch-lazy-highlight-cleanup)
3567 (isearch-lazy-highlight-initial-delay)
3568 (isearch-lazy-highlight-interval)
3569 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
3570 * net/net-utils.el (ipconfig-program-options):
3571 Move aliases to options before the associated definitions.
3573 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3575 * newcomment.el (comment-normalize-vars): Better test validity of
3578 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3580 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
3581 (float-e): New name for `e'.
3582 (degrees-to-radians, radians-to-degrees):
3583 * calendar/solar.el (solar-longitude):
3584 * calculator.el (calculator-registers, calculator-funcall):
3585 * textmodes/artist.el (artist-spray-random-points):
3586 * play/bubbles.el (bubbles--initialize-images): Use new names.
3588 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
3590 Update to CEDET 1.0's version of EIEIO.
3592 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
3594 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
3595 (eieio-default-eval-maybe): Eval val instead of unquoting only.
3596 (class-precedence-list): If class is nil, return nil.
3597 (eieio-generic-call): If class of first input arg is nil, don't
3598 look up static methods, and do check for primary methods.
3599 (initialize-instance): See if the default needs to be evaluated
3600 during the constructor.
3601 (eieio-perform-slot-validation-for-default): Don't do the check
3602 for values that will eventually be evaluated.
3603 (eieio-eval-default-p): New function.
3604 (eieio-default-eval-maybe): Use it.
3606 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
3608 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
3609 method-invocation-order.
3610 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
3611 (eieio-class-precedence-dfs): Compute class precedence list using
3613 (eieio-class-precedence-bfs): Compute class precedence list using
3615 (eieio-class-precedence-c3): Compute class precedence list using
3617 (class-precedence-list): New function.
3618 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
3619 (inconsistent-class-hierarchy): New error symbol.
3620 (call-next-method): Stow the replacement argument list for future
3621 call-next-method invocations.
3623 2010-09-23 Glenn Morris <rgm@gnu.org>
3625 * calendar/appt.el (appt-check): If not displaying the diary,
3626 use (diary 1) to only get the entries we need.
3627 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
3628 that it is in day order. (Bug#7019)
3630 * calendar/appt.el (appt-check): Rather than showing the diary,
3631 just turn off invisible display, and only if needed.
3633 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
3635 2010-09-23 Glenn Morris <rgm@gnu.org>
3637 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3638 (byte-compile-defvar, byte-compile-cl-warn):
3639 Start warnings with lower-case, like the majority.
3641 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
3643 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
3645 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
3646 * files.el (auto-mode-alist): Move ld-script entries here, further down
3649 * vc/add-log.el: Don't require timezone when compiling.
3650 (timezone-make-date-sortable): Autoload it.
3651 (change-log-sortable-date-at): Don't require timezone.
3652 Use `ignore-errors'.
3654 * comint.el (comint-use-prompt-regexp-instead-of-fields):
3655 Move alias before definition, so it does not need autoloading.
3657 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
3658 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
3659 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
3660 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
3661 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
3662 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
3663 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
3664 * textmodes/tex-mode.el, textmodes/two-column.el:
3665 Remove leading `*' from docs of defcustoms etc.
3667 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
3669 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
3671 2010-09-22 Dan Christensen <jdc@uwo.ca>
3673 * calendar/time-date.el (date-to-time): Try using parse-time-string
3674 first before using the slower timezone-make-date-arpa-standard.
3676 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
3678 * calendar/time-date.el (format-seconds): Comment fix.
3680 2010-09-22 Glenn Morris <rgm@gnu.org>
3682 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
3683 is not automatically buffer-local.
3685 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
3687 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
3688 (smie-indent-comment): Be more careful with comment-start-skip.
3689 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
3690 (smie-indent-functions): Use them.
3692 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
3694 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
3696 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
3698 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
3699 tool-bar-position. Don't modify frame parameters here.
3700 (menu-bar-options-save): Add tool-bar-position.
3702 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
3704 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3706 * textmodes/reftex-parse.el (reftex-what-macro)
3707 (reftex-context-substring): Let-bind forward-sexp-function to nil
3708 since we don't need/want to treat \begin...\end as a block (bug#7053).
3710 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
3712 * simple.el (blink-matching-open): Use syntax-class.
3714 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
3715 Set invisibility spec for pascal's outline mode.
3716 (pascal-outline-change): Clean up calling convention.
3717 (pascal-show-all, pascal-hide-other-defuns): Update callers.
3719 * progmodes/prolog.el (prolog-smie-forward-token)
3720 (prolog-smie-backward-token): New functions.
3721 (prolog-mode-variables): Use them to parse "!," correctly.
3722 Set up smie-blink-matching for ".".
3724 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
3726 (ispell-region, ispell-process-line): Update users.
3728 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
3731 * textmodes/ispell.el: Fix commenting convention.
3732 (ispell-parse-output): Simplify, use push.
3733 (ispell-region): Use match-string-no-properties.
3734 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
3735 (ispell-minor-mode): Use define-minor-mode.
3736 (ispell-message): Remove unused var `skip-regexp'.
3737 (ispell-add-per-file-word-list): Use dynamic let-binding.
3738 Try and use the proper comment marker.
3740 * mail/sendmail.el: Fix commenting convention.
3741 (sendmail-send-it): Use line-beginning-position.
3743 * help-fns.el (describe-variable): Add original value, if applicable.
3745 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
3747 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
3749 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
3751 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3753 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
3754 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
3755 (smie-prec2-levels): Use them to better diagnose precedence cycles.
3756 (smie-blink-matching-check): Don't signal a mismatch if car is t.
3757 (smie-blink-matching-open): Rewrite to remove assumptions, so that
3758 something like "." can also be a closer.
3759 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
3760 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
3761 Rename internal functions to use "--". Update callers.
3763 * frame.el (make-frame-names-alist): Don't list frames on other displays.
3765 * fringe.el (fringe-styles): New var.
3766 (fringe-mode, fringe-query-style): Use it.
3768 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
3770 * progmodes/sql.el: Version 2.8
3771 (sql-login-params): Update widget structure; changes still needed.
3772 (sql-product-alist): Add :list-all and :list-table features for
3773 SQLite, Postgres and MySQL products.
3774 (sql-redirect): Handle default value.
3775 (sql-execute, sql-execute-feature): New functions.
3776 (sql-read-table-name): New function.
3777 (sql-list-all, sql-list-table): New functions. User API.
3778 (sql-mode-map, sql-interactive-mode-map): Add key definitions
3779 for above functions.
3780 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
3781 for above functions.
3782 (sql-postgres-login-params): Add user and database defaults.
3783 (sql-buffer-live-p): Bug fix.
3784 (sql-product-history): New variable.
3785 (sql-read-product): New function. Use it.
3786 (sql-set-product, sql-product-interactive): Use it.
3787 (sql-connection-history): New variable.
3788 (sql-read-connection): New function. Use it.
3789 (sql-connect): New function.
3790 (sql-for-each-login): Redesign function interface.
3791 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
3792 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
3793 (sql-comint): Check for program. Existing live buffer.
3794 (sql-comint-postgres): Add port parameter.
3796 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3798 * emacs-lisp/warnings.el: Fix commenting convention.
3799 (display-warning): Use special mode and make the buffer read-only.
3801 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
3803 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
3804 empty string when it follows a repeated or optional pattern.
3806 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
3808 * indent.el (indent-according-to-mode): Apply syntax-propertize.
3809 (indent-region): Use indent-according-to-mode.
3811 2010-09-18 Eli Zaretskii <eliz@gnu.org>
3813 * fringe.el (fringe-mode): Doc fix.
3815 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
3817 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
3818 refreshing the preview buffer.
3820 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
3822 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
3823 (latex-syntax-propertize-rules): New consts; replace
3824 tex-font-lock-syntactic-keywords.
3825 (tex-env-mark, latex-env-before-change): New functions.
3826 (latex-electric-env-pair-mode): New minor mode.
3827 (tex-font-lock-verb): Change arguments; do move point.
3828 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
3829 representation as a form of comment.
3830 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
3831 (doctex-syntax-propertize-rules): New const; replaces
3832 doctex-font-lock-syntactic-keywords.
3833 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
3835 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
3836 (fortran-make-syntax-propertize-function): New function; replaces
3837 fortran-font-lock-syntactic-keywords.
3838 (fortran-mode): Use it.
3839 (fortran-line-length): Use it. Improve interactive spec.
3841 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
3842 (syntax-propertize-rules): Add var-ref case. Fix offset computation
3843 when adding surrounding \(..\).
3845 * progmodes/js.el (js-mode): Fix last change (bug#7054).
3847 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3849 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
3850 Use with-current-buffer.
3852 * isearch.el (isearch-face): Rename from `isearch'.
3853 (isearch-highlight): Use new name.
3855 2010-09-17 Eli Zaretskii <eliz@gnu.org>
3857 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
3858 5, for `half' width fringes. (Bug#6933)
3860 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3862 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
3863 (byte-compile-defvar): "foo/bar" does not lack a prefix.
3865 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
3867 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
3869 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
3870 in calculating new frame position. Add more space between new and
3871 parent on the left (Bug#7048).
3873 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
3875 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
3878 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
3880 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
3882 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
3883 obsolete alias for x-selection-value.
3885 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
3887 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
3889 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
3892 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
3894 * net/tramp-compat.el (tramp-compat-with-temp-message)
3895 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
3896 (tramp-compat-process-put): New defuns.
3898 * net/tramp.el (top):
3899 * net/tramp-gvfs.el (top):
3900 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
3902 * net/tramp.el (tramp-progress-reporter-update):
3903 Use `tramp-compat-funcall'.
3905 * net/tramp.el (tramp-process-actions):
3906 * net/tramp-gvfs.el (tramp-handle-vc-registered):
3907 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
3908 (tramp-get-remote-stat, tramp-get-remote-readlink):
3909 Use `tramp-compat-with-temp-message'.
3911 * net/tramp-sh.el (top): Require 'cl.
3912 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
3913 (tramp-open-connection-setup-interactive-shell):
3914 Use `tramp-compat-process-put'.
3916 2010-09-15 Alan Mackenzie <acm@muc.de>
3918 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
3920 (c-forward-<>-arglist-recur): Fix an infinite recursion.
3922 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
3924 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
3925 `lexical' for warnings related to lexical scoping.
3926 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
3927 global vars which don't have a prefix and could hence affect lexical
3928 scoping in unrelated files.
3930 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3932 * net/imap.el: Revert back to version
3933 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
3936 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
3938 * obsolete/old-whitespace.el (whitespace-unload-function):
3939 Explicitly pass `obarray' to `unintern' to avoid a warning.
3941 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3943 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
3944 Add `when' argument. Update callers.
3946 * subr.el (unintern): Declare the obarray arg mandatory.
3948 2010-09-14 Glenn Morris <rgm@gnu.org>
3950 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
3953 * calendar/diary-lib.el (diary-included-files): New variable.
3954 (diary-list-entries): Maybe initialize diary-included-files.
3955 (diary-include-other-diary-files): Append to diary-included-files.
3956 * calendar/appt.el (appt-update-list): Also check the members of
3957 diary-included-files. (Bug#6999)
3958 (appt-check): Doc fix.
3960 2010-09-14 David Reitter <david.reitter@gmail.com>
3962 * simple.el (line-move-visual): Do not truncate goal column to
3963 integer size. (Bug#7020)
3965 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3967 * repeat.el (repeat): Allow repeating when the last event is a click.
3968 Suggested by Drew Adams (bug#6256).
3970 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
3972 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
3973 Replace setting HGRCPATH to "" by some less invasive --config options.
3975 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3977 * font-lock.el (font-lock-beginning-of-syntax-function):
3980 2010-09-14 Glenn Morris <rgm@gnu.org>
3982 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
3983 and tool-bar modes. (Bug#6211)
3984 (menu-bar-mode): Move setting of standard-value after the
3985 minor-mode definition, otherwise it seems to have no effect.
3987 2010-09-14 Masatake YAMATO <yamato@redhat.com>
3989 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
3990 Fix typo. (Bug#6976)
3992 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3994 * whitespace.el: Allow cleaning up blanks without blank
3995 visualization (Bug#6651). Adjust help window for
3996 whitespace-toggle-options (Bug#6479). Allow to use fill-column
3997 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
3998 (whitespace-style): Add new value 'face. Adjust docstring.
3999 (whitespace-space, whitespace-hspace, whitespace-tab):
4000 Adjust foreground property face.
4001 (whitespace-line-column): Adjust docstring and type declaration.
4002 (whitespace-style-value-list, whitespace-toggle-option-alist)
4003 (whitespace-help-text): Adjust const initialization.
4004 (whitespace-toggle-options, global-whitespace-toggle-options):
4006 (whitespace-display-window, whitespace-interactive-char)
4007 (whitespace-style-face-p, whitespace-color-on): Adjust code.
4008 (whitespace-help-scroll): New fun.
4010 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
4012 * calendar/time-date.el (format-seconds): Comment fix.
4014 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
4016 * progmodes/sql.el: Version 2.7.
4017 (sql-buffer-live-p): Improve detection.
4018 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
4019 (sql-set-sqli-buffer): Use it.
4020 (sql-product-interactive): Run `sql-set-sqli-hook'.
4021 (sql-rename-buffer): Code cleanup.
4022 (sql-redirect, sql-redirect-value): New functions. More to come.
4024 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
4026 Port tramp-related Makefile changes of 2010-09-08T14:42:54Z!michael.albinus@gmx.de, 2010-09-13T15:17:01Z!michael.albinus@gmx.de to Windows.
4027 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
4028 (TRAMP_SRC): New macro.
4029 ($(lisp)/net/tramp-loaddefs.el): New target.
4031 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
4033 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
4035 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
4037 * net/tramp.el (top): Don't show loading message. Require just
4038 'tramp-compat, everything else is required there.
4039 Use `ignore-errors' where appropriate.
4040 (tramp-inline-compress-start-size, tramp-copy-size-limit)
4041 (tramp-terminal-type, tramp-end-of-output)
4042 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
4043 (tramp-completion-function-alist-ssh)
4044 (tramp-completion-function-alist-telnet)
4045 (tramp-completion-function-alist-su)
4046 (tramp-completion-function-alist-putty, tramp-remote-path)
4047 (tramp-remote-process-environment, tramp-sh-extra-args)
4048 (tramp-actions-before-shell, tramp-uudecode)
4049 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
4050 (tramp-perl-file-attributes)
4051 (tramp-perl-directory-files-and-attributes)
4052 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
4053 (tramp-perl-encode, tramp-perl-decode)
4054 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
4055 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
4056 (tramp-handle-make-symbolic-link, tramp-handle-load)
4057 (tramp-handle-file-name-as-directory)
4058 (tramp-handle-file-name-directory)
4059 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
4060 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
4061 (tramp-do-file-attributes-with-ls)
4062 (tramp-do-file-attributes-with-perl)
4063 (tramp-do-file-attributes-with-stat)
4064 (tramp-handle-set-visited-file-modtime)
4065 (tramp-handle-verify-visited-file-modtime)
4066 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
4067 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
4068 (tramp-handle-file-selinux-context)
4069 (tramp-handle-set-file-selinux-context)
4070 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
4071 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
4072 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
4073 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
4074 (tramp-handle-file-ownership-preserved-p)
4075 (tramp-handle-directory-file-name, tramp-handle-directory-files)
4076 (tramp-handle-directory-files-and-attributes)
4077 (tramp-do-directory-files-and-attributes-with-perl)
4078 (tramp-do-directory-files-and-attributes-with-stat)
4079 (tramp-handle-file-name-all-completions)
4080 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
4081 (tramp-handle-copy-file, tramp-handle-copy-directory)
4082 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
4083 (tramp-do-copy-or-rename-file-via-buffer)
4084 (tramp-do-copy-or-rename-file-directly)
4085 (tramp-do-copy-or-rename-file-out-of-band)
4086 (tramp-handle-make-directory, tramp-handle-delete-directory)
4087 (tramp-handle-delete-file)
4088 (tramp-handle-dired-recursive-delete-directory)
4089 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
4090 (tramp-handle-insert-directory)
4091 (tramp-handle-unhandled-file-name-directory)
4092 (tramp-handle-expand-file-name)
4093 (tramp-handle-substitute-in-file-name)
4094 (tramp-handle-executable-find, tramp-process-sentinel)
4095 (tramp-handle-start-file-process, tramp-handle-process-file)
4096 (tramp-handle-call-process-region, tramp-handle-shell-command)
4097 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
4098 (tramp-handle-insert-file-contents)
4099 (tramp-handle-insert-file-contents-literally)
4100 (tramp-handle-find-backup-file-name)
4101 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
4102 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
4103 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
4104 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
4105 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
4106 (tramp-find-file-exists-command, tramp-open-shell)
4107 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
4108 (tramp-open-connection-setup-interactive-shell)
4109 (tramp-local-coding-commands, tramp-remote-coding-commands)
4110 (tramp-find-inline-encoding, tramp-call-local-coding-command)
4111 (tramp-inline-compress-commands, tramp-find-inline-compress)
4112 (tramp-compute-multi-hops, tramp-maybe-open-connection)
4113 (tramp-send-command, tramp-wait-for-output)
4114 (tramp-send-command-and-check, tramp-barf-unless-okay)
4115 (tramp-send-command-and-read, tramp-mode-string-to-int)
4116 (tramp-convert-file-attributes, tramp-check-cached-permissions)
4117 (tramp-file-mode-from-int, tramp-file-mode-permissions)
4118 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
4119 (tramp-method-out-of-band-p, tramp-local-host-p)
4120 (tramp-get-remote-path, tramp-get-remote-tmpdir)
4121 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
4122 (tramp-get-test-command, tramp-get-test-nt-command)
4123 (tramp-get-file-exists-command, tramp-get-remote-ln)
4124 (tramp-get-remote-perl, tramp-get-remote-stat)
4125 (tramp-get-remote-readlink, tramp-get-remote-trash)
4126 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
4127 (tramp-get-local-uid, tramp-get-local-gid)
4128 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
4130 (tramp-methods, tramp-default-method-alist)
4131 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
4132 Move initialization to tramp-sh.el.
4133 (tramp-temp-name-prefix): Make it a defconst.
4134 (tramp-dissect-file-name): Don't check anymore for multi-hop
4136 (tramp-debug-outline-regexp): Add a docstring.
4137 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
4138 (tramp-get-debug-buffer): Use it.
4140 * net/tramp-cache.el (top): Set tramp-autoload cookie for
4141 initialization forms.
4142 (tramp-set-connection-property): Don't protect `tramp-message'
4143 call, it isn't necessary any longer.
4144 (tramp-dump-connection-properties): Use `ignore-errors'.
4146 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
4147 'password-cache and 'auth-source.
4149 * net/tramp-gvfs.el (top):
4150 * net/tramp-smb.el (top): Require 'tramp-sh.
4152 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
4154 * net/tramp-sh.el: New file, derived from tramp.el.
4155 (top): Initialize `tramp-methods', `tramp-default-method-alist',
4156 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
4157 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
4158 Use `ignore-errors' where appropriate.
4159 (tramp-sh-file-name-handler-alist): Rename from
4160 `tramp-file-name-handler-alist'.
4161 (tramp-send-command-and-check): Return t or nil. Remove all
4162 `zerop' checks, where called.
4163 (tramp-handle-set-file-modes)
4164 (tramp-do-copy-or-rename-file-directly)
4165 (tramp-handle-delete-directory, tramp-handle-delete-file)
4166 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
4167 (tramp-sh-file-name-handler, tramp-send-command-and-check)
4168 (tramp-get-remote-ln): Set tramp-autoload cookie.
4170 * net/tramp-fish.el: Remove file.
4172 2010-09-13 Daiki Ueno <ueno@unixuser.org>
4174 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
4175 buffer-file-name to avoid file-locking. (Bug#7026)
4177 2010-09-13 Julien Danjou <julien@danjou.info>
4179 * notifications.el (notifications-notify): Add support for
4180 image-path and sound-name.
4181 (notifications-specification-version): Add this variable.
4183 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4185 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
4187 2010-09-12 Leo <sdl.web@gmail.com>
4189 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
4190 (rcirc-completion-start): New variables.
4191 (rcirc-nick-completions): Rename to rcirc-completions.
4192 (rcirc-nick-completion-start-offset): Delete.
4193 (rcirc-completion-at-point): New function for constructing
4194 completion data for both nicks and irc commands. Add to
4195 completion-at-point-functions in rcirc mode.
4196 (rcirc-complete): Rename from rcirc-nick-complete; use
4197 rcirc-completion-at-point.
4198 (defun-rcirc-command): Update rcirc-client-commands.
4200 2010-09-11 Glenn Morris <rgm@gnu.org>
4202 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
4203 atomically, to avoid parallel build errors. (Bug#4196)
4205 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
4207 * progmodes/sql.el: Version 2.6
4208 (sql-dialect): Synonym for "sql-product".
4209 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
4210 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
4211 Set "sql-buffer" to buffer name not buffer object so multiple sql
4212 interactive buffers work properly. Reverts misguided changes in
4214 (sql-comint): Make sure different buffer name is used if "*SQL*"
4215 buffer is for a different product.
4216 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
4218 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
4219 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
4220 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
4221 Accept new buffer name or prompt for one.
4222 (sql-port): Default to zero.
4223 (sql-comint-mysql): Handle "sql-port" as a numeric.
4224 (sql-port-history): Delete unused variable.
4225 (sql-get-login): Default "sql-port" to a number.
4226 (sql-product-alist): Correct Postgres prompt and terminator regexp.
4227 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
4228 "sqlite3" executables.
4229 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
4230 (sql-buffer-live-p): New function.
4231 (sql-mode-menu, sql-send-string): Use it.
4232 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
4234 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
4235 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
4237 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4239 * net/netrc.el (netrc-credentials): New convenience function.
4241 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4243 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
4244 to replace texinfo-font-lock-syntactic-keywords.
4245 (texinfo-mode): Use it.
4247 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
4248 Use syntax-propertize-function.
4250 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
4251 replace sgml-font-lock-syntactic-keywords.
4252 (sgml-mode): Use it.
4254 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
4255 since we don't use it.
4257 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
4259 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
4261 (vhdl-fontify-buffer): Adjust.
4263 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
4264 replace tcl-font-lock-syntactic-keywords.
4267 * progmodes/simula.el (simula-syntax-propertize-function): New var to
4268 replace simula-font-lock-syntactic-keywords.
4269 (simula-mode): Use it.
4271 * progmodes/sh-script.el (sh-st-symbol): Remove.
4272 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
4273 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
4274 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
4275 (sh-font-lock-paren): Set syntax-multiline.
4276 (sh-font-lock-syntactic-keywords): Remove.
4277 (sh-syntax-propertize-function): New function to replace it.
4280 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
4281 Define while compiling.
4282 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4283 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
4284 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
4285 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4286 (ruby-here-doc-end-syntax): Only define when
4287 syntax-propertize is not available.
4288 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
4290 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
4291 (electric-indent-chars): Silence bytecompiler.
4292 (ruby-mode): Use prog-mode, syntax-propertize-function, and
4293 electric-indent-chars.
4295 * progmodes/python.el (python-syntax-propertize-function): New var to
4296 replace python-font-lock-syntactic-keywords.
4297 (python-mode): Use it.
4298 (python-quote-syntax): Simplify and adjust to new use.
4300 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
4301 replace perl-font-lock-syntactic-keywords.
4302 (perl-syntax-propertize-special-constructs): New fun to replace
4303 perl-font-lock-special-syntactic-constructs.
4304 (perl-font-lock-syntactic-face-function): New fun.
4305 (perl-mode): Use it.
4307 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
4308 to replace octave-font-lock-close-quotes.
4309 (octave-syntax-propertize-function): New function to replace
4310 octave-font-lock-syntactic-keywords.
4311 (octave-mode): Use it.
4313 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
4314 replaces mixal-font-lock-syntactic-keywords.
4315 (mixal-mode): Use it.
4317 * progmodes/make-mode.el (makefile-syntax-propertize-function):
4318 New var; replaces makefile-font-lock-syntactic-keywords.
4319 (makefile-mode): Use it.
4320 (makefile-imake-mode): Adjust.
4322 * progmodes/js.el (js--regexp-literal): Define while compiling.
4323 (js-syntax-propertize-function): New var; replaces
4324 js-font-lock-syntactic-keywords.
4327 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
4328 replaces gdb-script-font-lock-syntactic-keywords.
4329 (gdb-script-mode): Use it.
4331 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
4332 (fortran--font-lock-syntactic-keywords): New var.
4333 (fortran-line-length): Update syntax-propertize-function and
4334 fortran--font-lock-syntactic-keywords.
4336 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
4338 * progmodes/cfengine.el (cfengine-mode):
4339 Use syntax-propertize-function.
4340 (cfengine-font-lock-syntactic-keywords): Remove.
4342 * progmodes/autoconf.el (autoconf-mode):
4343 Use syntax-propertize-function.
4344 (autoconf-font-lock-syntactic-keywords): Remove.
4346 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
4347 (ada-after-change-function, ada-initialize-syntax-table-properties)
4348 (ada-handle-syntax-table-properties): Only define when
4349 syntax-propertize is not available.
4350 (ada-mode): Use syntax-propertize-function.
4352 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
4353 (font-lock-fontify-syntactic-keywords-region): Move handling of
4354 font-lock-syntactically-fontified to...
4355 (font-lock-default-fontify-region): ...here.
4356 Let syntax-propertize-function take precedence.
4357 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
4359 * emacs-lisp/syntax.el (syntax-propertize-function)
4360 (syntax-propertize-chunk-size, syntax-propertize--done)
4361 (syntax-propertize-extend-region-functions): New vars.
4362 (syntax-propertize-wholelines, syntax-propertize-multiline)
4363 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
4364 (syntax-propertize): New functions.
4365 (syntax-propertize-rules): New macro.
4366 (syntax-ppss-flush-cache): Set syntax-propertize--done.
4367 (syntax-ppss): Call syntax-propertize.
4369 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
4371 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
4373 * textmodes/ispell.el (ispell-init-process): Improve comments.
4374 XEmacs compatibility changes regarding (add-hook) 'local option
4375 and (set-process-query-on-exit-flag).
4377 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
4379 * net/tramp-cache.el (tramp-parse-connection-properties):
4380 Set tramp-autoload cookie.
4382 2010-09-09 Glenn Morris <rgm@gnu.org>
4384 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
4385 (imagemagick-register-types): Doc fix.
4387 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
4389 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
4391 * progmodes/js.el (require): Require is already "eval-and-compile".
4392 (js--re-search-forward): Avoid `eval'. Preserve the error data.
4393 (js--re-search-backward): Use js--re-search-forward.
4395 * progmodes/fortran.el (fortran-line-length): Don't recompute
4396 syntactic keywords redundantly a second time.
4398 * progmodes/ada-mode.el: Replace "(set '" with setq.
4399 (ada-mode): Simplify.
4400 (ada-create-case-exception, ada-adjust-case-interactive)
4401 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
4402 (ada-search-ignore-string-comment, ada-move-to-start)
4403 (ada-move-to-end): Use with-syntax-table.
4405 * font-lock.el (save-buffer-state): Remove `varlist' arg.
4406 (font-lock-unfontify-region, font-lock-default-fontify-region):
4407 Update usage correspondingly.
4408 (font-lock-fontify-syntactic-keywords-region):
4409 Set parse-sexp-lookup-properties buffer-locally here.
4410 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
4412 * simple.el (blink-matching-open): Don't burp if we can't find a match.
4414 2010-09-08 Glenn Morris <rgm@gnu.org>
4416 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
4417 Error if not compiled with -DBYTE_CODE_METER.
4419 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4420 Ignore dir-locals-file.
4422 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
4424 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4426 (compilation-error-regexp-alist-alist): Rule out ": " in file names
4427 for the `gnu' messages.
4428 (compilation-set-skip-threshold): New command.
4429 (compilation-start): Use \' rather than $.
4430 (compilation-forget-errors): Use clrhash.
4432 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
4434 * textmodes/ispell.el (ispell-valid-dictionary-list):
4437 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
4439 Migrate to Tramp 2.2. Rearrange load dependencies.
4440 (Bug#1529, Bug#5448, Bug#5705)
4442 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
4443 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
4444 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
4446 * net/tramp.el (top): Remove all other tramp-* loads except
4447 tramp-compat.el. Remove all changes to tramp-unload-hook for
4448 other tramp-* packages. Rearrange defun order. Change calls of
4449 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
4450 `tramp-compat-octal-to-decimal' to new function names.
4451 (tramp-terminal-type, tramp-initial-end-of-output)
4452 (tramp-methods, tramp-foreign-file-name-handler-alist)
4453 (tramp-tramp-file-p, tramp-completion-mode-p)
4454 (tramp-send-command-and-check, tramp-get-remote-path)
4455 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
4456 (tramp-shell-quote-argument): Set tramp-autoload cookie.
4457 (with-file-property, with-connection-property): Move to
4459 (tramp-local-call-process, tramp-decimal-to-octal)
4460 (tramp-octal-to-decimal): Move to tramp-compat.el.
4461 (tramp-handle-shell-command): Do not require 'shell.
4462 (tramp-compute-multi-hops): No special handling for tramp-gw-*
4464 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
4466 * net/tramp-cache.el (top): Require 'tramp. Add to
4467 `tramp-unload-hook'.
4468 (tramp-cache-data, tramp-get-file-property)
4469 (tramp-set-file-property, tramp-flush-file-property)
4470 (tramp-flush-directory-property, tramp-get-connection-property)
4471 (tramp-set-connection-property, tramp-flush-connection-property)
4472 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
4474 (with-file-property, with-connection-property): New defuns, moved
4476 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
4479 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
4480 (tramp-version): Set tramp-autoload cookie.
4482 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
4483 changes to tramp-unload-hook for other tramp-* packages. Add to
4484 `tramp-unload-hook'.
4485 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
4486 (tramp-compat-call-process): New defuns, moved from tramp.el.
4488 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
4489 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4490 Add to `tramp-unload-hook'. Change call of
4491 `tramp-compat-decimal-to-octal' to new function name.
4492 (tramp-fish-method): Make it a defconst.
4493 (tramp-fish-file-name-p): Make it a defsubst.
4494 (tramp-fish-method, tramp-fish-file-name-handler)
4495 (tramp-fish-file-name-p): Set tramp-autoload cookie.
4497 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
4498 `tramp-foreign-file-name-handler-alist'. Add to
4499 `tramp-unload-hook'.
4500 (tramp-ftp-method): Make it a defconst.
4501 (tramp-ftp-file-name-p): Make it a defsubst.
4502 (tramp-ftp-method, tramp-ftp-file-name-handler)
4503 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
4505 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
4506 `tramp-foreign-file-name-handler-alist'. Add to
4507 `tramp-unload-hook'. Change checks, whether package can be
4509 (tramp-gvfs-file-name-p): Make it a defsubst.
4510 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
4511 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
4512 (tramp-gvfs-handle-file-directory-p): New defun.
4513 (tramp-gvfs-file-name-handler-alist): Use it.
4515 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
4516 `tramp-foreign-file-name-handler-alist'. Add to
4517 `tramp-unload-hook'.
4518 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
4519 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
4521 (tramp-gw-tunnel-method, tramp-gw-socks-method)
4522 (tramp-gw-open-connection): Set tramp-autoload cookie.
4524 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
4525 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4526 Add to `tramp-unload-hook'. Change checks, whether package can be
4528 (tramp-imap-file-name-p): Make it a defsubst.
4529 (tramp-imap-method, tramp-imaps-method)
4530 (tramp-imap-file-name-handler)
4531 (tramp-imap-file-name-p): Set tramp-autoload cookie.
4533 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
4534 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4535 Add to `tramp-unload-hook'. Change checks, whether package can be
4536 loaded. Change call of `tramp-compat-decimal-to-octal' to new
4538 (tramp-smb-tunnel-method): Make it a defconst.
4539 (tramp-smb-file-name-p): Make it a defsubst.
4540 (tramp-smb-method, tramp-smb-file-name-handler)
4541 (tramp-smb-file-name-p): Set tramp-autoload cookie.
4543 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
4544 (tramp-uuencode-region): Set tramp-autoload cookie.
4546 * net/trampver.el (top) Add to `tramp-unload-hook'.
4547 (tramp-version, tramp-bug-report-address): Set tramp-autoload
4548 cookie. Update release number.
4550 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
4552 * textmodes/ispell.el (ispell-start-process): Make sure original
4553 arg list is properly initialized (Bug#6993, Bug#6994).
4555 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
4557 * files.el (directory-abbrev-alist): Use \` as default regexp.
4559 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
4560 chars like - or ] (bug#6984).
4561 (rx-any-condense-range): Explode 2-char ranges.
4563 2010-09-06 Glenn Morris <rgm@gnu.org>
4565 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
4567 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4569 * textmodes/bibtex.el:
4570 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
4572 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4574 * net/imap.el (imap-message-map): Remove optional buffer parameter,
4575 since no callers use it.
4576 (imap-message-get): Ditto.
4577 (imap-message-put): Ditto.
4578 (imap-mailbox-map): Ditto.
4579 (imap-mailbox-put): Ditto.
4580 (imap-mailbox-get): Ditto.
4581 (imap-mailbox-get): Revert last change for this function.
4583 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4585 * net/imap.el (imap-fetch-safe): Remove function, and alter all
4586 callers to use `imap-fetch' instead. According to the comments, this
4587 should be safe, since all other IMAP clients use the 1:* syntax.
4588 (imap-enable-exchange-bug-workaround): Remove.
4589 (imap-debug): Remove -- doesn't seem very useful.
4591 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4593 * net/imap.el (imap-log): New convenience function used throughout
4594 instead of repeating the same code all over the place.
4596 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
4598 * mouse.el (mouse-save-then-kill): Save region to kill-ring
4599 when mouse-drag-copy-region is non-nil (Bug#6956).
4601 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
4603 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
4604 Improve regexps (Bug#6987).
4605 (dired-sort-toggle): Search more robustly for -t flag.
4607 * files.el (get-free-disk-space): Search more robustly for
4608 "available" column. Suggested by Ehud Karni
4609 <ehud@unix.mvs.co.il>.
4611 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
4613 * international/uni-bidi.el:
4614 * international/uni-category.el:
4615 * international/uni-combining.el:
4616 * international/uni-decimal.el:
4617 * international/uni-mirrored.el:
4618 * international/uni-name.el: Regenerate.
4620 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4622 * electric.el (electric-indent-post-self-insert-function):
4623 Don't reindent with a sloppy indentation function.
4625 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
4626 border case in change-log-mode.
4628 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
4630 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4631 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
4632 Recognize leading tab in gcc-include regexp. Ignore names with
4633 leading "from" or "in" in gnu regexp (Bug#6937).
4635 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4637 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
4638 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
4639 (ispell-start-process): Avoid setq and simplify logic.
4640 (ispell-init-process): Setup kill-buffer-hook locally when needed.
4641 (kill-buffer-hook): Don't use it globally with code that uses
4642 expand-file-name since that may call kill-buffer via
4643 code_conversion_restore.
4645 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
4647 * emacs-lisp/package.el (package-directory-list): Only call
4648 file-name-nondirectory on a string.
4650 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
4652 * emacs-lisp/package.el (package--download-one-archive):
4653 Ensure that archive-contents is valid before saving it.
4654 (package-activate-1, package-mark-obsolete, define-package)
4655 (package-compute-transaction, package-list-maybe-add): Use push.
4657 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4659 Use SMIE's blink-paren for octave-mode.
4660 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
4661 Backslashes do not escape single-quotes, single-quotes do.
4662 (octave-block-else-regexp, octave-block-end-regexp)
4663 (octave-block-match-alist): Remove.
4664 (octave-smie-bnf-table): New var, with old content.
4665 (octave-smie-op-levels): Use it.
4666 (octave-smie-closer-alist): New var.
4667 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
4668 (octave-blink-matching-block-open): Remove.
4669 (octave-reindent-then-newline-and-indent, octave-electric-semi)
4670 (octave-electric-space): Let self-insert-command run expand-abbrev and
4673 * electric.el (electricity): New group.
4674 (electric-indent-chars): New var.
4675 (electric-indent-post-self-insert-function): New fun.
4676 (electric-indent-mode): New minor mode.
4677 (electric-pair-skip-self): New custom.
4678 (electric-pair-post-self-insert-function): New function.
4679 (electric-pair-mode): New minor mode.
4681 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
4682 calcAlg-blink-matching-open.
4683 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
4684 (calc-do-alg-entry): Only touch the part of the keymap that varies.
4685 Use the new blink-matching-check-function.
4687 Provide blink-matching support to SMIE.
4688 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
4689 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
4690 (smie-blink-matching-check, smie-blink-matching-open): New functions.
4692 * simple.el (newline): Fix last change to properly remove itself from
4695 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
4697 * simple.el (newline): Eliminate optimization.
4698 Use post-self-insert-hook to set hard-newline and things before
4699 running post-self-insert-hook.
4700 (blink-matching-check-mismatch): New function.
4701 (blink-matching-check-function): New variable.
4702 (blink-matching-open): Use them.
4703 Skip back forward over prefix chars skipped by forward-sexp.
4704 Don't check if the parens are backslash escaped.
4705 (blink-paren-post-self-insert-function): Check backslash escaping here.
4707 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
4709 * emacs-lisp/package.el (package-menu-mode-map):
4710 Change package-menu-revert bindings to revert-buffer.
4711 (package-menu-mode): Set revert-buffer-function.
4712 (package-menu-revert): Doc fix.
4714 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
4716 * textmodes/ispell.el (ispell-init-process): Use "~/" as
4717 `default-directory' unless using Ispell per-directory personal
4718 dictionaries and not in a mini-buffer under XEmacs.
4719 (kill-buffer-hook): Do not kill ispell process on exit when
4720 `ispell-process-directory' is "~/". (Bug#6143)
4722 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
4724 * simple.el (kill-new): Call interprogram-cut-function with only
4727 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
4728 Remove cut buffer from error message.
4730 * term/x-win.el (x-select-text):
4731 * term/pc-win.el (x-selection-value):
4732 * term/ns-win.el (x-selection-value):
4733 * eshell/em-term.el:
4734 * w32-fns.el (x-get-selection-value):
4735 * mouse-sel.el (mouse-sel-set-selection-function):
4736 * frame.el (display-selections-p): Remove cut-buffer in documentation.
4738 * term/x-win.el: Update documentation for x-last-selected-text-*.
4739 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
4740 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
4741 (x-select-text): Remove argument PUSH, update documentation.
4742 Remove cut-buffer code.
4743 (x-selection-value-internal): Was previously x-selection-value.
4744 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
4745 Update documentation, remove cut-buffer code.
4746 Call x-selection-value-internal.
4747 (x-clipboard-yank): Call x-selection-value-internal.
4748 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
4750 * term/pc-win.el (x-last-selected-text):
4751 x-cut-buffer-or-selection-value renamed to x-selection-value
4752 (x-select-text): Remove argument PUSH, update documentation.
4754 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
4755 x-cut-buffer-or-selection-value renamed to x-selection-value
4756 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
4757 (x-select-text): Remove argument PUSH, update documentation.
4759 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
4761 * w32-fns.el (x-last-selected-text):
4762 x-cut-buffer-or-selection-value renamed to x-selection-value.
4763 (x-cut-buffer-max): Remove.
4764 (x-select-text): Remove argument PUSH, update documentation.
4766 * simple.el (interprogram-cut-function): Remove mention of PUSH.
4768 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
4770 * mouse-sel.el (mouse-sel-get-selection-function):
4771 x-cut-buffer-or-selection-value renamed to x-selection-value.
4772 (x-select-text): Remove optional push.
4774 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
4776 * simple.el (blink-paren-function): Move from C to here.
4777 (blink-paren-post-self-insert-function): New function.
4778 (post-self-insert-hook): Use it.
4780 * emacs-lisp/pcase.el (pcase-split-memq):
4781 Fix overenthusiastic optimisation.
4782 (pcase-u1): Handle the case of a lambda pred.
4784 2010-08-31 Kenichi Handa <handa@m17n.org>
4786 * international/mule-cmds.el (standard-display-european-internal):
4787 Setup standard-display-table for 8-bit characters by storing 8-bit
4788 characters in the element vector.
4790 * disp-table.el (standard-display-8bit):
4791 Setup standard-display-table for 8-bit characters by storing 8-bit
4792 characters in the element vector.
4793 (standard-display-european): Likewise.
4795 2010-08-31 Masatake YAMATO <yamato@redhat.com>
4797 * textmodes/nroff-mode.el (nroff-view): New command.
4798 (nroff-mode-map): Bind it to C-c C-c.
4800 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
4802 * emacs-lisp/smie.el (smie-down-list): New command.
4804 Remove old indentation and navigation code on octave-mode.
4805 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
4806 smie-down-list rather than add a binding for octave-down-block.
4807 (octave-mark-block, octave-blink-matching-block-open):
4808 Rely on forward-sexp-function.
4809 (octave-fill-paragraph): Don't narrow, so you can use
4810 indent-according-to-mode.
4811 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
4812 (octave-in-block-p, octave-re-search-forward-kw)
4813 (octave-re-search-backward-kw, octave-indent-calculate)
4814 (octave-end-as-array-index-p, octave-block-end-offset)
4815 (octave-scan-blocks, octave-forward-block, octave-backward-block)
4816 (octave-down-block, octave-backward-up-block, octave-up-block)
4817 (octave-before-magic-comment-p, octave-indent-line): Remove.
4819 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
4821 * emacs-lisp/package.el (package--read-archive-file): Just use
4822 `read', to avoid copying an additional string.
4823 (package-menu-mode): Set header-line-format here.
4824 (package-menu-refresh, package-menu-revert): Signal an error if
4825 not in the Package Menu.
4826 (package-menu-package-list): New var.
4827 (package--generate-package-list): Operate on the current buffer;
4828 don't assume that it is *Packages*, since the user may rename it.
4829 Allow persistent package listings and sort keys using
4830 package-menu-package-list and package-menu-package-sort-key.
4831 (package-menu--version-predicate): Fix version calculation.
4832 (package-menu-sort-by-column): Don't select the window.
4833 (package--list-packages): Create the *Packages* buffer.
4834 Set package-menu-package-list-key.
4835 (list-packages): Sorting by status is now the default.
4836 (package-buffer-info): Use match-string-no-properties.
4837 (define-package): Add a &rest argument for future proofing, but
4839 (package-install-from-buffer, package-install-buffer-internal):
4840 Merge into a single function, package-install-from-buffer.
4841 (package-install-file): Change caller.
4843 * finder.el: Load finder-inf using `require'.
4844 (finder-list-matches): Sorting by status is now the default.
4845 (finder-compile-keywords): Simpify printing.
4847 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
4849 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
4850 (octave-mode-map): Remove special bindings for forward/backward-block
4851 and octave-backward-up-block. Use smie-close-block.
4852 (octave-continuation-marker-regexp): New var.
4853 (octave-continuation-regexp): Use it.
4854 (octave-operator-table, octave-smie-op-levels)
4855 (octave-operator-regexp, octave-smie-indent-rules): New vars.
4856 (octave-smie-backward-token, octave-smie-forward-token): New funs.
4857 (octave-mode): Use SMIE.
4858 (octave-close-block): Delete.
4860 2010-08-30 Eli Zaretskii <eliz@gnu.org>
4862 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
4863 CLIPBOARD, not in PRIMARY. (Bug#6944)
4865 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
4867 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
4869 (smie-indent-column): Allow indirection through variables.
4871 * composite.el (save-buffer-state): Delete, unused.
4872 * font-lock.el (save-buffer-state): Use with-silent-modifications.
4873 (font-lock-default-fontify-region): Use with-syntax-table.
4874 * jit-lock.el (with-buffer-unmodified): Remove.
4875 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
4877 Use `declare' in defmacros.
4878 * window.el (save-selected-window):
4879 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
4880 * progmodes/python.el (def-python-skeleton):
4881 * net/dbus.el (dbus-ignore-errors):
4882 * jka-cmpr-hook.el (with-auto-compression-mode):
4883 * international/mule.el (with-category-table):
4884 * emacs-lisp/timer.el (with-timeout):
4885 * emacs-lisp/lisp-mnt.el (lm-with-file):
4886 * emacs-lisp/eieio.el (with-slots):
4887 * emacs-lisp/easymenu.el (easy-menu-define):
4888 * emacs-lisp/debug.el (debugger-env-macro):
4889 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
4890 (Multiple-value-call, Multiple-value-prog1):
4891 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
4892 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
4893 edebug rule to definition.
4894 * emacs-lisp/lisp-mode.el (save-selected-window)
4895 (with-current-buffer, combine-after-change-calls)
4896 (with-output-to-string, with-temp-file, with-temp-buffer)
4897 (with-temp-message, with-syntax-table, read-if, eval-after-load)
4898 (dolist, dotimes, when, unless):
4899 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
4901 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
4903 * finder.el: Require `package'.
4904 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
4905 (finder-package-info): Var deleted.
4906 (finder-keywords-hash, finder--builtins-alist): New vars.
4907 (finder-compile-keywords): Compute package--builtins and
4908 finder-keywords-hash instead of finder-keywords-hash, respecting
4909 the "Package" header.
4910 (finder-unknown-keywords, finder-list-matches):
4911 Use finder-keywords-hash and package--list-packages.
4912 (finder-mode): Don't set font-lock-defaults.
4913 (finder-exit): We don't use "*Finder-package*" and "*Finder
4914 Category*" buffers anymore.
4916 * emacs-lisp/package.el (package--builtins-base): Var deleted.
4917 (package--builtins): Set default value to nil.
4918 (package-initialize): Load precomputed value of package--builtins
4920 (package-alist, package-compute-transaction)
4921 (package-download-transaction): Improve docstring.
4922 (package-read-all-archive-contents): Do not change
4923 package--builtins here.
4924 (list-packages): Make package-list-packages an alias for this.
4925 Sort by status by default.
4926 (package--list-packages): Add optional PACKAGES arg.
4927 (describe-package-1): Use font-lock-face property. For built-in
4928 packages, insert file commentary.
4929 (package--generate-package-list): Rename from
4930 package-list-packages-internal; all callers changed. Add optional
4931 PACKAGES arg. Add alphabetical sort fallbacks.
4932 (package-menu--version-predicate, package-menu--status-predicate)
4933 (package-menu--description-predicate)
4934 (package-menu--name-predicate): New functions.
4936 * info.el (Info-finder-find-node): Search package-alist instead of
4937 finder-package-info.
4939 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
4941 * subr.el (version-regexp-alist): Don't use "a" and "b" for
4943 (version-to-list): Handle versions like "10.3d".
4945 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4947 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
4948 (macroexp-accumulate): Use `declare'.
4950 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4952 * whitespace.el (whitespace-style): Adjust type declaration.
4954 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
4956 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
4957 empty argument to gvfs-copy.
4959 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
4961 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
4962 handle new TRASH arg of `delete-file'.
4964 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
4966 * net/tramp.el (tramp-handle-insert-directory): Don't use
4967 `forward-word', its default syntax could be changed.
4969 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
4970 Michael Albinus <michael.albinus@gmx.de>
4972 Implement compression for inline methods.
4974 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
4975 (tramp-copy-size-limit): Allow also nil.
4976 (tramp-inline-compress-commands): New defconst.
4977 (tramp-find-inline-compress, tramp-get-inline-compress)
4978 (tramp-get-inline-coding): New defuns.
4979 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
4980 replaced by `tramp-get-inline-coding'.
4981 (tramp-handle-file-local-copy, tramp-handle-write-region)
4982 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
4984 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
4986 Detect ssh 'ControlMaster' argument automatically in some cases.
4988 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
4989 (tramp-default-method): Use it.
4991 2010-08-26 Karel Klíč <kklic@redhat.com>
4993 * net/tramp.el (tramp-file-name-for-operation):
4994 Add file-selinux-context.
4996 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
4998 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
5000 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5002 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
5005 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
5007 * progmodes/js.el: Make indentation more customizable (Bug#6914).
5008 (js-paren-indent-offset, js-square-indent-offset)
5009 (js-curly-indent-offset): New options.
5010 (js--proper-indentation): Use them.
5012 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
5014 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
5015 instead of inspecting font-lock properties (Bug#6916).
5017 2010-08-26 David Reitter <david.reitter@gmail.com>
5019 * server.el (server-visit-files): Run pre-command-hook and
5020 post-command-hook for each buffer while it is current (Bug#6910).
5021 (server-execute): Do not run hooks here.
5023 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
5025 Sync with Tramp 2.1.19.
5027 * net/tramp-cmds.el (tramp-cleanup-all-connections)
5028 (tramp-reporter-dump-variable, tramp-load-report-modules)
5029 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
5030 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
5032 * net/tramp-compat.el (top): Do not autoload
5033 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
5034 only when `start-file-process' is not bound.
5035 (byte-compile-not-obsolete-vars): Define if not bound.
5036 (tramp-compat-funcall): New defmacro.
5037 (tramp-compat-line-beginning-position)
5038 (tramp-compat-line-end-position)
5039 (tramp-compat-temporary-file-directory)
5040 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
5041 (tramp-compat-copy-file, tramp-compat-copy-directory)
5042 (tramp-compat-delete-file, tramp-compat-delete-directory)
5043 (tramp-compat-number-sequence, tramp-compat-process-running-p):
5045 (tramp-advice-file-expand-wildcards): Do not use
5046 `tramp-handle-file-remote-p'.
5047 (tramp-compat-make-temp-file): Simplify fallback implementation.
5048 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5049 (tramp-compat-copy-tree): Remove function.
5050 (tramp-compat-delete-file): New defun.
5051 (tramp-compat-delete-directory): Provide implementation for older
5053 (tramp-compat-file-attributes): Handle only
5054 `wrong-number-of-arguments' error.
5056 * net/tramp-fish.el (tramp-fish-handle-copy-file):
5057 Add PRESERVE_SELINUX_CONTEXT.
5058 (tramp-fish-handle-delete-file): Add TRASH arg.
5059 (tramp-fish-handle-directory-files-and-attributes):
5060 Do not use `tramp-fish-handle-file-attributes.
5061 (tramp-fish-handle-file-local-copy)
5062 (tramp-fish-handle-insert-file-contents)
5063 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
5065 * net/tramp-gvfs.el (top): Require url-util.
5066 (tramp-gvfs-mount-point): Remove.
5067 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
5068 and `set-file-selinux-context'.
5069 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
5070 (tramp-gvfs-handle-file-selinux-context)
5071 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
5072 (with-tramp-dbus-call-method): Format trace message.
5073 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
5074 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
5075 Implement backup call, when operation on local files fails.
5076 Use progress reporter. Flush properties of changed files.
5077 (tramp-gvfs-handle-delete-file): Add TRASH arg.
5078 Use `tramp-compat-delete-file'.
5079 (tramp-gvfs-handle-expand-file-name): Expand "~/".
5080 (tramp-gvfs-handle-make-directory): Make more traces.
5081 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
5082 (tramp-gvfs-url-file-name): Hexify file name in url.
5083 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
5084 into account for the resulting file name.
5085 (tramp-gvfs-handler-askquestion): Preserve current message, in
5086 order to let progress reporter continue afterwards. (Bug#6257)
5087 Return dummy mountpoint, when the answer is "no".
5088 See `tramp-gvfs-maybe-open-connection'.
5089 (tramp-gvfs-handler-mounted-unmounted)
5090 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
5091 attribute "default_location". Set "prefix" property.
5092 Handle default-location.
5093 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
5094 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
5095 exists. Raise an error, if not (due to a corresponding answer
5096 "no" in interactive questions, for example).
5097 Use `tramp-compat-funcall'.
5099 * net/tramp-imap.el (top): Autoload `epg-make-context'.
5100 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5101 (tramp-imap-do-copy-or-rename-file)
5102 (tramp-imap-handle-insert-file-contents)
5103 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
5104 (tramp-imap-handle-delete-file): Add TRASH arg.
5106 * net/tramp-smb.el (tramp-smb-handle-copy-file):
5107 Add PRESERVE-SELINUX-CONTEXT.
5108 (tramp-smb-handle-copy-file)
5109 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5110 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
5111 Use `with-progress-reporter'.
5112 (tramp-smb-handle-delete-file): Add TRASH arg.
5114 * net/tramp.el (tramp-methods): Move hostname to the end in all
5115 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
5117 (tramp-verbose): Describe verbose level 9.
5118 (tramp-completion-function-alist)
5119 (tramp-file-name-regexp, tramp-chunksize)
5120 (tramp-local-coding-commands, tramp-remote-coding-commands)
5121 (with-connection-property, tramp-completion-mode-p)
5122 (tramp-action-process-alive, tramp-action-out-of-band)
5123 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
5124 (tramp-exists-file-name-handler): Fix docstring.
5125 (tramp-remote-process-environment): Use `format' instead of
5126 `concat'. Protect version string by apostroph.
5127 (tramp-shell-prompt-pattern): Do not use a shy group in case of
5129 (tramp-file-name-regexp-unified)
5130 (tramp-completion-file-name-regexp-unified): On W32 systems, do
5131 not regard the volume letter as remote filename. (Bug#5447)
5132 (tramp-perl-file-attributes)
5133 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
5134 (tramp-vc-registered-read-file-names): Read input as
5135 here-document, otherwise the command could exceed maximum length
5137 (tramp-file-name-handler-alist): Add `file-selinux-context' and
5138 `set-file-selinux-context'.
5139 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
5140 backtrace functions.
5141 (tramp-error-with-buffer): Don't show the connection buffer when
5142 we are in completion mode.
5143 (tramp-progress-reporter-update, tramp-remote-selinux-p)
5144 (tramp-handle-file-selinux-context)
5145 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
5146 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
5148 (with-progress-reporter): New defmacro.
5149 (tramp-debug-outline-regexp): New defconst.
5150 (top, tramp-rfn-eshadow-setup-minibuffer)
5151 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
5152 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
5153 (tramp-completion-mode-p, tramp-check-for-regexp)
5154 (tramp-open-connection-setup-interactive-shell)
5155 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
5156 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
5157 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
5158 Use `tramp-compat-funcall'.
5159 (tramp-handle-make-symbolic-link): Flush file properties.
5160 (tramp-handle-load, tramp-handle-file-local-copy)
5161 (tramp-handle-insert-file-contents, tramp-handle-write-region)
5162 (tramp-handle-vc-registered, tramp-maybe-send-script)
5163 (tramp-find-shell): Use `with-progress-reporter'.
5164 (tramp-do-file-attributes-with-stat): Add space in format string,
5165 in order to work around a bug in pdksh. Reported by Gilles Pion
5167 (tramp-handle-verify-visited-file-modtime): Do not send a command
5168 when the connection is not established.
5169 (tramp-handle-set-file-times): Simplify the check for utc.
5170 (tramp-handle-directory-files-and-attributes)
5171 (tramp-get-remote-path): Use `copy-tree'.
5172 (tramp-completion-handle-file-name-all-completions): Ensure, that
5173 non remote files are still checked. Oops.
5174 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
5175 Handle PRESERVE-SELINUX-CONTEXT.
5176 (tramp-do-copy-or-rename-file): Add progress reporter.
5177 (tramp-do-copy-or-rename-file-directly): Do not use
5178 `tramp-handle-file-remote-p'.
5179 (tramp-do-copy-or-rename-file-out-of-band):
5180 Use `tramp-compat-delete-directory'.
5181 (tramp-do-copy-or-rename-file-out-of-band)
5182 (tramp-compute-multi-hops, tramp-maybe-open-connection):
5183 Use `format-spec-make'.
5184 (tramp-handle-delete-file): Add TRASH arg.
5185 (tramp-handle-dired-uncache): Flush directory cache, not only file
5187 (tramp-handle-expand-file-name)
5188 (tramp-completion-handle-file-name-all-completions)
5189 (tramp-completion-handle-file-name-completion):
5190 Use `tramp-connectable-p'.
5191 (tramp-handle-start-file-process): Set connection property "vec".
5192 Use it, in order to invalidate file caches. Check only for
5193 `remote-tty' process property.
5194 Implement tty setting. (Bug#4604, Bug#6360)
5195 (tramp-file-name-for-operation): Add `call-process-region' and
5196 `set-file-selinux-context'.
5197 (tramp-find-foreign-file-name-handler)
5198 (tramp-advice-make-auto-save-file-name)
5199 (tramp-set-auto-save-file-modes): Remove superfluous check for
5200 `stringp'. This is done inside `tramp-tramp-file-p'.
5201 (tramp-file-name-handler): Trace 'quit. Catch the error for some
5202 operations when we are in completion mode. This gives the user
5203 the chance to correct the file name in the minibuffer.
5204 (tramp-completion-mode-p): Use `non-essential'.
5205 (tramp-handle-file-name-all-completions): Backward/ XEmacs
5206 compatibility: Use `completion-ignore-case' if
5207 `read-file-name-completion-ignore-case' does not exist.
5208 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
5209 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5211 (tramp-action-password): Hide password prompt before next run.
5212 (tramp-process-actions): Widen connection buffer for the trace.
5213 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
5214 process property. Trace stty settings if `tramp-verbose' >= 9.
5215 Apply workaround for IRIX64 bug. Move argument of last
5216 `tramp-send-command' where it belongs to.
5217 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
5218 front of `login-args'.
5219 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
5220 on "/dev/null" instead of "/".
5221 (tramp-get-ls-command-with-dired): Make test for "--dired"
5223 (tramp-set-auto-save-file-modes): Adapt version check.
5224 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
5225 (tramp-handle-process-file): Call the program in a subshell, in
5226 order to preserve working directory.
5227 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
5228 `tramp-remote-sh' from `tramp-methods'.
5229 (tramp-get-ls-command): Make test for "--color=never" stronger.
5230 (tramp-check-for-regexp): Use (forward-line 1).
5232 * net/trampver.el: Update release number.
5234 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5236 * help.el (help-map): Bind `C-h P' to describe-package.
5238 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
5240 * emacs-lisp/package.el (package-refresh-contents): Catch errors
5241 when downloading archives.
5242 (describe-package-1): Add package commentary.
5243 (package-install-button-action): New function.
5244 (package-menu-mode-map): Bind ? to package-menu-describe-package.
5245 (package-menu-view-commentary): Function removed.
5246 (package-list-packages-internal): Hide the `package' package too.
5248 2010-08-25 Kenichi Handa <handa@m17n.org>
5250 * language/misc-lang.el ("Arabic"): New language environment.
5251 Setup composition-function-table for Arabic characters.
5253 * international/fontset.el (setup-default-fontset): Fix typo for
5254 arabic OTF spec (fini->fina).
5256 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
5258 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
5261 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5263 * whitespace.el: Allow cleaning up blanks without blank
5264 visualization (Bug#6651). Adjust help window for
5265 whitespace-toggle-options (Bug#6479). Allow to use fill-column
5266 instead of whitespace-line-column (from EmacsWiki). New version
5268 (whitespace-style): Add new value 'face. Adjust docstring.
5269 (whitespace-space, whitespace-hspace, whitespace-tab):
5270 Adjust foreground property face.
5271 (whitespace-line-column): Adjust docstring and type declaration.
5272 (whitespace-style-value-list, whitespace-toggle-option-alist)
5273 (whitespace-help-text): Adjust const initialization.
5274 (whitespace-toggle-options, global-whitespace-toggle-options):
5276 (whitespace-display-window, whitespace-interactive-char)
5277 (whitespace-style-face-p, whitespace-color-on): Adjust code.
5278 (whitespace-help-scroll): New fun.
5280 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
5282 * emacs-lisp/package.el (list-packages): Alias for
5283 package-list-packages.
5285 2010-08-24 Kevin Ryde <user42@zip.com.au>
5287 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
5290 * progmodes/ruby-mode.el (ruby): Add defgroup.
5292 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
5294 * progmodes/python.el: Add Ipython support (Bug#5390).
5295 (python-shell-prompt-alist)
5296 (python-shell-continuation-prompt-alist): New options.
5297 (python--set-prompt-regexp): New function.
5298 (inferior-python-mode, run-python, python-shell):
5299 Require ansi-color. Use python--set-prompt-regexp to set the comint
5300 prompt based on the Python interpreter.
5301 (python--prompt-regexp): New var.
5302 (python-check-comint-prompt)
5303 (python-comint-output-filter-function): Use it.
5304 (run-python): Use a pipe (Bug#5694).
5306 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
5308 * progmodes/python.el (python-send-region): Send a different
5309 Python command if Ipython is in use.
5310 (python-check-version): Use a Python command to find the version.
5312 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
5314 * mouse.el (mouse-yank-primary): Avoid setting primary when
5315 deactivating the mark (Bug#6872).
5317 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
5319 * progmodes/python.el (python-block-pairs): Allow use of "finally"
5320 with "else" (Bug#3991).
5322 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
5324 * net/dbus.el: Accept UNIX domain sockets as bus address.
5325 (top): Don't initialize `dbus-registered-objects-table' anymore,
5326 this is done in dbusbind,c.
5327 (dbus-check-event): Adapt test for bus.
5328 (dbus-return-values-table, dbus-unregister-service)
5329 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
5332 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
5334 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
5336 2010-08-22 Juri Linkov <juri@jurta.org>
5338 * simple.el (read-extended-command): New function with the logic
5339 for `completing-read' moved to Elisp from `execute-extended-command'.
5340 Use `function-called-at-point' in `minibuffer-default-add-function'
5341 to get a command name for M-n (bug#5364, bug#5214).
5343 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5345 * startup.el (command-line-1): Issue warning for ignored arguments
5346 --unibyte, etc (Bug#6886).
5348 2010-08-22 Leo <sdl.web@gmail.com>
5350 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
5351 (ignore, bright, dim, keyword): Split list of nicknames before
5352 passing to rcirc-add-or-remove (Bug#6894).
5354 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5356 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
5358 2010-08-22 Leo <sdl.web@gmail.com>
5360 Fix buffer-list rename&refresh after killing a buffer in ido.
5361 * ido.el: Revert Óscar's.
5362 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
5363 Remember the buffers at head, rather than their name.
5364 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
5366 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
5367 Stefan Monnier <monnier@iro.umontreal.ca>
5369 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
5370 extra backslash added to each line (bug#6890).
5372 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5374 * subr.el (read-key): Don't echo keystrokes (bug#6883).
5376 2010-08-22 Glenn Morris <rgm@gnu.org>
5378 * menu-bar.el (menu-bar-games-menu): Add landmark.
5380 2010-08-22 Glenn Morris <rgm@gnu.org>
5382 * align.el (align-regexp): Make group and spacing arguments
5383 use the interactive defaults when non-interactive. (Bug#6698)
5385 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
5386 expansion, so as not to need sendmail.
5387 (mail-text-start): Remove declaration.
5388 (rmail-retry-failure): Require sendmail.
5390 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5392 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
5394 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
5396 * progmodes/flymake.el (flymake-start-syntax-check-process):
5397 Use `start-file-process' in order to let it run also on remote hosts.
5399 2010-08-22 Kenichi Handa <handa@m17n.org>
5401 * files.el: Add `word-wrap' as safe local variable.
5403 2010-08-22 Glenn Morris <rgm@gnu.org>
5405 * woman.el (woman-translate): Case matters. (Bug#6849)
5407 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5409 * simple.el (kill-region): Doc fix (Bug#6787).
5411 2010-08-22 Glenn Morris <rgm@gnu.org>
5413 * calendar/diary-lib.el (diary-header-line-format):
5414 Fit it to the window, not the frame.
5416 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
5418 * subr.el (ignore-errors): Add debug declaration.
5420 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
5422 * whitespace.el (whitespace-color-off): Remove post-command-hook
5425 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5427 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
5429 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
5431 * cus-edit.el (custom-group-value-create): Add extra newline
5432 before end line (Bug#6876).
5434 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
5436 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
5437 when extending it. Before killing on the second click, check if
5438 the buffer is the correct one. Doc fix.
5439 (mouse-secondary-save-then-kill): Allow usage without first
5440 calling mouse-start-secondary, by defaulting to point. Don't save
5441 an empty secondary selection. Doc fix.
5443 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5445 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
5446 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
5448 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
5449 Adjust initialization.
5450 (whitespace-bob-marker, whitespace-eob-marker)
5451 (whitespace-buffer-changed): New vars.
5452 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
5453 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
5454 (whitespace-post-command-hook, whitespace-display-char-on):
5456 (whitespace-looking-back, whitespace-buffer-changed): New funs.
5457 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
5459 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
5461 * files.el (locate-file-completion-table): Only list the .el and .elc
5462 extensions if there's no other choice (bug#5955).
5464 * facemenu.el (facemenu-self-insert-data): New var.
5465 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
5467 (facemenu-add-face): Use them.
5469 * simple.el (blink-matching-open): Obey forward-sexp-function.
5471 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
5473 * simple.el (prog-mode-map): New var.
5474 (prog-indent-sexp): New command.
5476 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
5478 * progmodes/prolog.el (smie): Require.
5480 * emacs-lisp/smie.el (smie-default-backward-token)
5481 (smie-default-forward-token): Strip properties.
5482 (smie-next-sexp): Be more careful with associative operators.
5483 (smie-forward-sexp-command): Generalize.
5484 (smie-backward-sexp-command): Simplify.
5485 (smie-closer-alist): New var.
5486 (smie-close-block): New command.
5487 (smie-indent-debug-log): New var.
5488 (smie-indent-offset-rule): Add a few more cases.
5489 (smie-indent-column): New function.
5490 (smie-indent-after-keyword): Use it.
5491 (smie-indent-keyword): Use it.
5492 Fix up the opener code's point position.
5493 (smie-indent-comment): Only applies at BOL.
5494 (smie-indent-debug): New command.
5496 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
5497 declarations that are useful before running the macro.
5499 2010-08-18 Joakim Verona <joakim@verona.se>
5501 * image.el (imagemagick-types-inhibit): New variable.
5502 (imagemagick-register-types): New function.
5503 * image-mode.el (image-transform-properties): New function.
5504 (image-transform-set-scale, image-transform-fit-to-height)
5505 (image-transform-set-rotation, image-transform-set-resize)
5506 (image-transform-fit-to-width, image-transform-fit-to-height):
5508 (image-toggle-display-image): Support image transforms.
5510 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
5512 * image.el (create-animated-image): Don't add heuristic mask to image
5515 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
5517 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
5518 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
5520 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
5522 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
5524 Font-lock '...' strings, plus various simplifications and fixes.
5525 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
5526 (octave-font-lock-close-quotes): New function.
5527 (octave-font-lock-syntactic-keywords): New var.
5528 (octave-mode): Use it. Set beginning-of-defun-function.
5529 (octave-mode-map): Don't override the <foo>-defun commands.
5530 (octave-mode-menu): Pass it directly to easy-menu-define;
5531 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
5532 (octave-block-match-alist): Fix up last change so that
5533 octave-close-block uses the more specific keyword.
5534 (info-lookup-mode): Silence byte-compiler.
5535 (octave-beginning-of-defun): Not interactive any more.
5537 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
5538 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
5539 (octave-completion-at-point-function): Make sure point is within
5541 (octave-reindent-then-newline-and-indent):
5542 Use reindent-then-newline-and-indent.
5543 (octave-add-octave-menu): Remove.
5545 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
5547 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
5548 (report-emacs-bug-can-use-xdg-email): New functions.
5549 (report-emacs-bug): Set can-xdg-email to result of
5550 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
5551 \C-cm to report-emacs-bug-insert-to-mailer and add help text
5554 * net/browse-url.el (browse-url-default-browser): Add cond
5555 for browse-url-xdg-open.
5556 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
5558 2010-08-17 Glenn Morris <rgm@gnu.org>
5560 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
5561 (c-fontify-recorded-types-and-refs): Define for compiler.
5562 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
5565 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
5568 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
5570 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
5572 (tramp-handle-process-file): Call the program in a subshell, in
5573 order to preserve working directory.
5574 (tramp-action-password): Hide password prompt before next run.
5575 (tramp-process-actions): Widen connection buffer for the trace.
5577 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5579 * net/rcirc.el (rcirc-log-process-buffers): New option.
5580 (rcirc-print): Use it.
5581 (rcirc-generate-log-filename): New function.
5582 (rcirc-log-filename-function): Change default to
5583 rcirc-generate-log-filename (Bug#6828).
5585 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
5587 * simple.el (deactivate-mark): If select-active-regions is `only',
5588 only set selection for temporarily active regions.
5590 * cus-start.el: Change defcustom for select-active-regions.
5592 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
5594 * mouse.el (mouse--drag-set-mark-and-point): New function.
5595 (mouse-drag-track): Use LOCATION arg to push-mark.
5596 Use mouse--drag-set-mark-and-point to take click-count into
5597 consideration when updating point and mark (Bug#6840).
5599 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
5601 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5602 Give the Ruby rule a lower priority than Gnu (Bug#6778).
5604 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
5606 * font-lock.el (lisp-font-lock-keywords-2):
5607 Add combine-after-change-calls, condition-case-no-debug,
5608 with-demoted-errors, and with-silent-modifications (Bug#6025).
5610 2010-08-14 Kevin Ryde <user42@zip.com.au>
5612 * emacs-lisp/copyright.el (copyright-update-year)
5613 (copyright-update): Temporary switch-to-buffer to ensure the
5614 buffer change being queried is visible (Bug#5394).
5616 2010-08-14 Tom Tromey <tromey@redhat.com>
5618 * progmodes/etags.el (tags-file-name): Mark safe if stringp
5621 2010-08-14 Eli Zaretskii <eliz@gnu.org>
5623 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
5626 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
5628 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
5629 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
5630 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
5631 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
5632 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
5633 Call menu-bar-set-tool-bar-position.
5635 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5637 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
5638 comment style (bug#6834).
5639 * progmodes/scheme.el (scheme-mode-syntax-table):
5640 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
5641 "b" flag in "' 14b" syntax.
5643 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
5644 for (un)commenting the region and performing completion.
5645 (octave-mode-menu): Use standard commands for help and completion.
5646 (octave-mode-syntax-table): Support %{..%} comments (sort of).
5647 (octave-mode): Use define-derived-mode.
5648 Set completion-at-point-functions and don't set columns.
5649 Don't disable adaptive-fill-regexp.
5650 (octave-describe-major-mode, octave-comment-region)
5651 (octave-uncomment-region, octave-comment-indent)
5652 (octave-indent-for-comment): Remove.
5653 (octave-indent-calculate): Rename from calculate-octave-indent.
5654 (octave-indent-line, octave-fill-paragraph): Update caller.
5655 (octave-initialize-completions): No need to make an alist.
5656 (octave-completion-at-point-function): New function.
5657 (octave-complete-symbol): Use it.
5658 (octave-insert-defun): Use define-skeleton.
5660 * progmodes/octave-mod.el (octave-mode): Set comment-add.
5661 (octave-mode-map): Use comment-dwim (bug#6829).
5663 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
5665 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
5666 indentation of inserted comment.
5668 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
5670 * faces.el (region): Add type gtk that uses gtk colors.
5672 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
5673 Handle theme-name change.
5675 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
5677 * progmodes/sql.el: Version 2.5
5678 (sql-product-alist): Add :prompt-cont-regexp property for several
5680 (sql-prompt-cont-regexp): New variable.
5681 (sql-output-newline-count, sql-output-by-send):
5682 New variables. Record number of newlines in input text.
5683 (sql-send-string): Handle multiple filters and count newlines.
5684 (sql-send-magic-terminator): Count terminator newline.
5685 (sql-interactive-remove-continuation-prompt): Filters output to
5686 remove continuation prompts; one for each newline.
5687 (sql-interactive-mode): Set up new variables, prompt regexp and
5689 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
5690 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
5692 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5694 * emacs-lisp/pcase.el: New file.
5696 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
5698 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
5699 as here-document, otherwise the command could exceed maximum
5700 length of command line.
5701 (tramp-handle-vc-registered): Call script accordingly.
5702 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
5704 2010-08-10 Kenichi Handa <handa@m17n.org>
5706 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
5709 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
5711 * emacs-lisp/package.el (package-version-split)
5712 (package--version-first-nonzero, package-version-compare):
5714 (package-directory-list, package-load-all-descriptors)
5715 (package--built-in, package-activate, define-package)
5716 (package-installed-p, package-compute-transaction)
5717 (package-read-all-archive-contents)
5718 (package--add-to-archive-contents, package-buffer-info)
5719 (package-tar-file-info, package-list-packages-internal):
5720 Use version-to-list and version-list-*.
5722 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5723 Use version-to-list.
5724 (package-upload-buffer-internal): Use version-list-<=.
5726 2010-08-09 Kenichi Handa <handa@m17n.org>
5728 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
5731 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
5733 * tutorial.el (tutorial--default-keys): C-d is now bound to
5734 delete-forward-char (Bug#6826).
5736 * mouse.el (mouse-drag-track): Remove accidentally-removed check
5737 for `double' value of mouse-1-click-follows-link (Bug#6807).
5739 2010-08-08 Johan Bockgård <bojohan@gnu.org>
5741 * replace.el (replace-highlight): Bind isearch-forward and
5742 isearch-error, ensuring that highlighting is updated if the user
5743 switches the search direction (Bug#6808).
5745 * isearch.el (isearch-lazy-highlight-forward): New var.
5746 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5747 (isearch-lazy-highlight-update): Use it.
5749 2010-08-08 Kenichi Handa <handa@m17n.org>
5751 * international/mule.el (define-charset): Store NAME as :base property.
5752 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
5753 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
5754 current priority. Force using the designation of the specific
5755 charset by adding `charset' text property. Improve the whole algorithm.
5757 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5759 * emulation/pc-select.el (pc-selection-mode-hook)
5760 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
5761 (pc-selection-mode): Fix typos in docstrings.
5763 2010-08-08 Kenichi Handa <handa@m17n.org>
5765 * language/cyrillic.el: Don't add "microsoft-cp1251" to
5766 ctext-non-standard-encodings-alist here.
5768 * international/mule.el (ctext-non-standard-encodings-alist):
5769 Add "koi8-r" and "microsoft-cp1251".
5770 (ctext-standard-encodings): New variable.
5771 (ctext-non-standard-encodings-table): List only elements for
5772 non-standard encodings.
5773 (ctext-pre-write-conversion): Adjust for the above change.
5774 Check ctext-standard-encodings.
5776 * international/mule-conf.el (compound-text): Doc fix.
5777 (ctext-no-compositions): Doc fix.
5778 (compound-text-with-extensions): Doc fix.
5780 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5782 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
5784 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5786 * progmodes/which-func.el (which-func-format): Split help-echo text
5787 into lines, like other mode-line tooltips.
5789 * server.el (server-start): When using TCP sockets, force IPv4
5790 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
5792 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5794 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
5796 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5798 * term.el (term-delimiter-argument-list): Reflow docstring.
5799 (term-read-input-ring, term-write-input-ring, term-send-input)
5800 (term-bol, term-erase-in-display, serial-supported-or-barf):
5801 Fix typos in docstrings.
5803 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5805 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
5807 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5809 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
5811 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
5813 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
5814 Fix typo in docstring (bug#6747).
5816 2010-08-08 Leo <sdl.web@gmail.com>
5818 * eshell/esh-io.el (eshell-get-target): Better detection of
5819 read-only file (Bug#6762).
5821 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5823 * align.el (align-default-spacing): Doc fix.
5824 (align-region-heuristic, align-regexp): Fix typos in docstrings.
5826 2010-08-08 Stephen Peters <speters@itasoftware.com>
5828 * calendar/icalendar.el
5829 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
5830 (icalendar--get-weekday-numbers): New.
5831 (icalendar--convert-recurring-to-diary): Handle multiple byday
5832 values in weekly rules. (Bug#6766)
5834 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
5836 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
5837 (icalendar--create-uid, icalendar-export-region)
5838 (icalendar--parse-summary-and-rest): Code formatting.
5840 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
5842 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
5843 to italicize headers.
5844 (calc-highlight-selections-with-faces): New variable.
5845 (calc-selected-face, calc-nonselected-face): New faces.
5847 * calc/calccomp.el (math-comp-highlight-string): Use
5848 `calc-highlight-selections-with-faces' to determine how to highlight
5851 * calc/calc-sel.el (calc-show-selections): Change message to when
5852 using faces to highlight selections.
5854 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
5856 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
5857 Add SQLite 3 keywords, functions and datatypes.
5858 (sql-interactive-mode): Remove `comint-process-echoes' set to t
5861 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
5863 * simple.el (select-active-regions): Move to keyboard.c.
5864 (deactivate-mark): Used saved-region-selection.
5865 (select-active-region): Function removed.
5866 (activate-mark, set-mark, push-mark-command)
5867 (handle-shift-selection): Don't call it.
5868 (keyboard-quit): Avoid adding the region to the window selection.
5870 * mouse.el (mouse-drag-track): Remove hacks to deal with old
5871 select-active-regions implementation.
5872 (mouse-yank-at-click): Doc fix.
5874 * cus-start.el: Add custom declaration for select-active-regions.
5876 2010-08-07 Eli Zaretskii <eliz@gnu.org>
5878 * simple.el (delete-forward-char): Doc fix.
5880 * tutorial.el (help-with-tutorial): Hack safe file-local variables
5881 after reading the tutorial.
5883 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
5885 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
5886 Fix for the case that a C style comment has its delimiters alone on
5887 their respective lines.
5889 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
5891 * net/tramp.el (tramp-handle-start-file-process): Set connection
5893 (tramp-process-sentinel): Use it for flushing the cache.
5894 We cannot do it via the process buffer, the buffer could be deleted
5895 already when running the sentinel.
5897 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
5899 * comint.el (comint-mode): Make directory tracking functions
5900 functional on remote files. (Bug#6764)
5902 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
5904 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
5906 2010-08-05 Eli Zaretskii <eliz@gnu.org>
5908 * emacs-lisp/find-gc.el (find-gc-source-files):
5909 Rename unexec.c => unexcoff.c.
5911 * emacs-lisp/authors.el (authors-fixed-entries):
5912 Rename unexec.c => unexcoff.c.
5914 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
5916 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
5917 cache, not only file cache.
5918 (tramp-process-sentinel): New defun.
5919 (tramp-handle-start-file-process): Use it, in order to invalidate
5922 2010-08-03 Leo <sdl.web@gmail.com>
5924 * server.el (server-start): Simplify loop.
5926 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5928 * frame.el (screen-height, screen-width, set-screen-width)
5929 (set-screen-height): Remove ancient compatibility aliases.
5931 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
5932 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
5934 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
5935 that change current buffer.
5937 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5939 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
5940 beginning of the string. Use `string-match-p'. (Bug#6765)
5942 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
5944 * cus-start.el (x-gtk-use-system-tooltips): New variable.
5946 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
5948 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
5949 (package--builtins): Tweak descriptions.
5950 (package-print-package): Upcase descriptions if necessary.
5951 Show all built-in packages in font-lock-builtin-face.
5952 (package-list-packages-internal): Omit "emacs" package.
5953 Show status of built-in packages as "built-in".
5955 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
5957 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
5958 before killing to preserve the primary selection (Bug#6701).
5960 * term/x-win.el (x-select-text): Doc fix.
5962 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
5964 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
5965 (objc-font-lock-extra-types):
5966 * progmodes/cc-mode.el (c-basic-common-init):
5967 * progmodes/cc-langs.el (c-make-mode-syntax-table)
5968 (c++-make-template-syntax-table)
5969 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
5970 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
5971 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
5972 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
5973 * progmodes/cc-fonts.el (c-make-inverse-face)
5974 (c-basic-matchers-after):
5975 * progmodes/cc-engine.el (c-forward-keyword-clause)
5976 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
5977 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
5978 (c-guess-continued-construct, c-guess-basic-syntax):
5979 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
5980 The above functions were modified or created.
5982 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
5984 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
5986 2010-07-31 Eli Zaretskii <eliz@gnu.org>
5988 * files.el (bidi-paragraph-direction): Define safe local values.
5990 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
5991 language-info-alist. Remove outdated FIXME in a comment.
5993 2010-07-31 Alan Mackenzie <acm@muc.de>
5995 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
5996 Auto-fill broken in C/C++ modes.
5998 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
6000 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6001 (menu-bar-showhide-tool-bar-menu-customize-disable)
6002 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6003 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
6004 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
6005 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
6006 make a menu for Options => toolbar that can move it.
6008 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
6010 * emacs-lisp/package-x.el (package--make-rss-entry):
6011 (package-maint-add-news-item, package--update-news)
6012 (package-upload-buffer-internal): New arg ARCHIVE-URL.
6014 * emacs-lisp/package.el (package-archive-url): Rename from
6016 (package-install): Doc fix.
6017 (package-download-single, package-download-tar, package-install)
6018 (package-menu-view-commentary): Callers changed.
6020 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
6022 * net/tramp.el (tramp-handle-start-file-process): Check only for
6023 `remote-tty' process property.
6024 (tramp-open-shell): Don't check for tty.
6025 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6028 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
6031 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
6033 * emacs-lisp/package.el (package-load-list, package-archives)
6034 (package-archive-contents, package-user-dir)
6035 (package-directory-list, package--builtins, package-alist)
6036 (package-activated-list, package-obsolete-alist): Mark as risky.
6038 2010-07-28 Phil Hagelberg <phil@evri.com>
6040 Add support for non-default package repositories.
6041 * emacs-lisp/package.el (package-archive-base): Var deleted.
6042 (package-archives): New variable.
6043 (package-archive-contents): Doc fix.
6044 (package-load-descriptor): Do nothing if descriptor file is missing.
6045 (package--write-file-no-coding): New function.
6046 (package-unpack-single): Use it.
6047 (package-archive-id): New function.
6048 (package-download-single, package-download-tar)
6049 (package-menu-view-commentary): Use it.
6050 (package-installed-p): Make second argument optional.
6051 (package-read-all-archive-contents): New function.
6052 (package-initialize): Use it.
6053 (package-read-archive-contents): Add ARCHIVE argument.
6054 (package--add-to-archive-contents): New function.
6055 (package-install): Don't call package-read-archive-contents.
6056 (package--download-one-archive): Store archive file in a
6057 subdirectory of package-user-dir.
6058 (package-menu-execute): Remove spurious line movement.
6060 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
6062 * cus-start.el (tool-bar-style): Add text-image-horiz.
6064 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
6066 * progmodes/gud.el (gud-common-init): Check for remoteness of
6067 `file', and not of `default-directory'.
6069 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
6071 * net/tramp.el (tramp-methods): Move hostname to the end in all
6072 ssh `tramp-login-args'.
6073 (tramp-verbose): Describe verbose level 9.
6074 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
6075 (tramp-open-connection-setup-interactive-shell): Trace stty
6076 settings if `tramp-verbose' >= 9.
6077 (tramp-handle-start-file-process): Implement tty setting.
6078 (Bug#4604, Bug#6360)
6080 * net/tramp-cmds.el (tramp-bug): Recommend setting of
6081 `tramp-verbose' to 9.
6083 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
6085 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
6086 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
6087 Remove references to package `lisp-re' (bug#4369).
6089 2010-07-27 Tom Tromey <tromey@redhat.com>
6091 * progmodes/js.el (js-mode):
6092 * progmodes/make-mode.el (makefile-mode):
6093 * progmodes/simula.el (simula-mode):
6094 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
6096 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
6098 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
6100 * time.el (display-time-day-and-date): Remove spurious * in docstring.
6101 (display-time-world-buffer-name, display-time-world-mode-map):
6102 Fix typos in docstrings.
6104 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
6106 * image-mode.el (image-display-size): New function.
6107 (image-forward-hscroll, image-next-line, image-eol, image-eob)
6108 (image-mode-fit-frame): Use it (Bug#6639).
6110 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
6112 * dired.el (dired-buffers-for-dir): Handle list values of
6113 dired-directory (Bug#6636).
6115 2010-07-26 Sam Steingold <sds@gnu.org>
6117 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
6118 Do not call `x-get-selection' the second time, reuse the value.
6120 2010-07-26 Daiki Ueno <ueno@unixuser.org>
6122 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
6123 which consist of control chars only. Suggested by Richard Stallman.
6125 2010-07-25 Daiki Ueno <ueno@unixuser.org>
6127 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
6128 exists before passing an error to find-file-not-found-functions
6131 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
6133 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
6134 Remove leading nil element, adjust values.
6135 (tetris-shapes, tetris-shape-scores):
6136 Change representation of shapes and remove some redundancy.
6137 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
6138 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
6139 Adjust for working with new representation of shapes.
6140 (tetris-shape-rotations): New function.
6141 (tetris-move-bottom, tetris-move-left, tetris-move-right)
6142 (tetris-rotate-prev, tetris-rotate-next):
6143 Adjust for working with the new version of tetris-test-shape.
6145 2010-07-23 Markus Triska <markus.triska@gmx.at>
6147 * progmodes/ps-mode.el: Use comint (bug#5954).
6148 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
6149 (ps-mode-other-newline): Simplify.
6150 (ps-run-mode): Derive from comint-mode instead of
6151 fundamental-mode, yielding input history etc.
6152 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
6153 (ps-run-send-string): Adapt for comint-mode.
6154 (ps-run-newline): Remove now unneeded function.
6156 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6158 * net/tramp.el (tramp-methods): Move hostname to the end in all
6159 plink `tramp-login-args'.
6161 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6163 * net/tramp.el (tramp-open-shell): New defun.
6164 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6167 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6169 * net/tramp.el (tramp-file-name-regexp-unified)
6170 (tramp-completion-file-name-regexp-unified): On W32 systems, do
6171 not regard the volume letter as remote filename. (Bug#5447)
6173 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
6175 * custom.el (custom-declare-variable): Give a clearer error message
6176 when the docstring is missing (bug#6476).
6178 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
6180 * progmodes/sql.el: Version 2.4. Improved Login prompting.
6181 (sql-login-params): New widget definition.
6182 (sql-oracle-login-params, sql-mysql-login-params)
6183 (sql-solid-login-params, sql-sybase-login-params)
6184 (sql-informix-login-params, sql-ingres-login-params)
6185 (sql-ms-login-params, sql-postgres-login-params)
6186 (sql-interbase-login-params, sql-db2-login-params)
6187 (sql-linter-login-params): Use it.
6188 (sql-sqlite-login-params): Use it; Define "database" parameter as
6190 (sql-sqlite-program): Change to "sqlite3".
6191 (sql-comint-sqlite): Make sure database name is complete.
6192 (sql-for-each-login): New function.
6193 (sql-connect, sql-save-connection): Use it.
6194 (sql-get-login-ext): New function.
6195 (sql-get-login): Use it.
6196 (sql-make-alternate-buffer-name): Handle :file parameters.
6198 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
6200 * dired.el (dired-no-confirm): Document value t and fix defcustom to
6201 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
6203 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
6205 * dired.el (dired-mode-map): Use command remapping (bug#6632).
6207 2010-07-22 Lawrence Mitchell <wence@gmx.li>
6209 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
6211 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
6213 * net/tramp.el (tramp-get-ls-command)
6214 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
6217 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
6219 * progmodes/sql.el: Version 2.3.
6220 (sql-connection-alist): Change keys from symbols to strings;
6221 enhanced the widget definition.
6222 (sql-mode-menu): Add submenu to select connections.
6223 (sql-interactive-mode-menu): Add "Save Connection" item.
6224 (sql-add-product): Fix menu item.
6225 (sql-get-product-feature): Improved error handling.
6226 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
6227 (sql-make-alternate-buffer-name): Simplified.
6228 (sql-product-interactive): Handle missing product.
6229 (sql-connect): Support string keys, minor improvements.
6230 (sql-save-connection): New function.
6231 (sql-connection-menu-filter): New function.
6233 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
6235 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
6236 (tramp-open-connection-setup-interactive-shell):
6237 Apply workaround for IRIX64 bug. Move argument of last
6238 `tramp-send-command' where it belongs to.
6240 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
6242 * net/tramp.el (tramp-perl-file-attributes)
6243 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6244 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6245 front of `login-args'.
6247 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
6249 * time.el (display-time-world-mode): Define with `define-derived-mode'.
6250 Set `show-trailing-whitespace' to nil.
6251 (display-time-world-display): Simplify.
6253 2010-07-18 Alan Mackenzie <acm@muc.de>
6255 Enhance `c-file-style' in file/directory local variables.
6256 * progmodes/cc-mode.el (c-count-cfss): New function.
6257 (c-before-hack-hook): Call `c-set-style' differently according to
6258 whether c-file-style was set in file or directory local
6261 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
6263 * progmodes/sql.el: Version 2.2.
6264 (sql-product, sql-user, sql-database, sql-server, sql-port):
6265 Use defcustom :safe keyword rather than putting safe-local-variable
6267 (sql-password): Use defcustom :risky keyword rather than putting
6268 risky-local-variable property.
6269 (sql-oracle-login-params, sql-sqlite-login-params)
6270 (sql-solid-login-params, sql-sybase-login-params)
6271 (sql-informix-login-params, sql-ingres-login-params)
6272 (sql-ms-login-params, sql-postgres-login-params)
6273 (sql-interbase-login-params, sql-db2-login-params)
6274 (sql-linter-login-params): Add `port' option.
6275 (sql-get-product-feature): Add NO-INDIRECT parameter.
6276 (sql-comint-oracle, sql-comint-sybase)
6277 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
6278 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
6279 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
6280 (sql-comint-linter): Rename sql-connect-* functions to
6282 (sql-product-alist, sql-mode-menu): Rename as above and
6283 :sqli-connect-func to :sqli-comint-func.
6284 (sql-connection): New variable.
6285 (sql-interactive-mode): Set it.
6286 (sql-connection-alist): New variable.
6287 (sql-connect): New function.
6288 (sql--alt-buffer-part, sql--alt-if-not-empty)
6289 (sql-make-alternate-buffer-name): Improved alternative buffer name.
6291 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6293 * image-mode.el (image-bookmark-make-record): Do not set context
6294 in an image (Bug#6650).
6296 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
6298 * simple.el (select-active-region): New function.
6299 (push-mark-command, set-mark, activate-mark)
6300 (handle-shift-selection): Use it.
6301 (deactivate-mark): Don't check for size of region.
6303 * mouse.el (mouse-drag-track): Use select-active-region.
6305 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
6307 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
6310 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
6312 * term/x-win.el (x-select-enable-primary): Change default to nil.
6313 (x-select-enable-clipboard): Add :version keyword.
6315 * mouse.el (mouse-drag-copy-region):
6316 * simple.el (select-active-regions): Likewise.
6318 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
6320 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
6321 (vc-coding-system-for-diff): Use it to decide whether to inherit
6322 from the file the EOL format for reading the diffs of that file.
6325 2010-07-16 Eli Zaretskii <eliz@gnu.org>
6327 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
6328 unibyte, so compressed attachments are not compressed again.
6330 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
6332 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
6333 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
6334 (tramp-find-shell): Simplify setting connection property.
6335 (tramp-get-ls-command): Make test for "--color=never" stronger.
6337 2010-07-15 Simon South <ssouth@member.fsf.org>
6339 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
6340 blocks within record declarations (i.e. variant parts) correctly.
6342 2010-07-15 Simon South <ssouth@member.fsf.org>
6344 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
6345 over literal tokens when parsing so newlines aren't "absorbed" by
6346 single-line comments. Corrects the indentation of case blocks
6347 that have a comment on the first line.
6349 2010-07-14 Karl Fogel <kfogel@red-bean.com>
6351 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
6352 by Drew Adams (Bug#5504).
6354 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
6356 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
6357 now that Unicode is used (Bug#6594).
6359 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
6361 * term/x-win.el (x-select-enable-clipboard): Default to t.
6362 (x-initialize-window-system): Don't overwrite Paste menu item.
6364 * simple.el (select-active-regions): Default to t.
6365 (push-mark-command): Don't overwrite primary with empty string.
6367 * mouse.el: Bind mouse-2 to mouse-yank-primary.
6368 (mouse-drag-copy-region): Default to nil.
6370 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
6371 Cut/Copy/Paste menu bar items.
6373 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6375 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
6376 Patch applied by Karl Fogel.
6378 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
6379 and `bookmark-current-buffer' if they have been already set in
6380 another buffer (e.g gnus-art).
6382 2010-07-13 Karl Fogel <kfogel@red-bean.com>
6383 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6385 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
6387 * bookmark.el (bookmark-make-record-default): Allow unneeded
6388 information to be omitted from the record.
6390 Adjust declarations and calls:
6392 * info.el (bookmark-make-record-default): Adjust declaration.
6393 (Info-bookmark-make-record): Adjust call.
6395 * woman.el (bookmark-make-record-default): Adjust declaration.
6396 (woman-bookmark-make-record): Adjust call.
6398 * man.el (bookmark-make-record-default): Adjust declaration.
6399 (Man-bookmark-make-record): Adjust call.
6401 * image-mode.el (bookmark-make-record-default): Adjust declaration.
6403 * doc-view.el (bookmark-make-record-default): Adjust declaration.
6405 2010-07-13 Karl Fogel <kfogel@red-bean.com>
6407 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
6408 This is also from Thierry Volpiatto's patch in bug #6444. However,
6409 because it was extraneous to the functional change in that patch,
6410 and causes a re-indendation, I am committing it separately.
6412 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6414 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
6415 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
6416 Patch applied by Karl Fogel (Bug#6444).
6418 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
6420 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
6422 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
6424 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
6425 Dempsky; bug#5084). Remove incorrect binding for S-tab.
6426 (ns-alternatives-map): Change S-tab binding to backtab
6429 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
6432 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
6434 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
6437 * language/tv-util.el (tai-viet-re): Remove format.
6439 2010-07-12 Kenichi Handa <handa@m17n.org>
6441 * language/hebrew.el: Remove no-byte-compile declaration.
6442 Change coding: tag to utf-8. Register hebrew-shape-gstring in
6443 composition-function-table for 3-character looking back.
6444 (hebrew-font-get-precomposed): New function.
6445 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
6447 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
6449 * mouse.el (mouse-drag-track): Handle select-active-regions
6452 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
6454 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
6455 empty argument to gvfs-copy.
6457 2010-07-10 Glenn Morris <rgm@gnu.org>
6459 * calendar/calendar.el (calendar-week-end-day): New function.
6460 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
6461 Respect calendar-week-start-day. (Bug#6606)
6462 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
6463 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
6464 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
6465 respect calendar-week-start-day.
6467 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
6469 * simple.el (use-region-p): Doc fix (Bug#6607).
6471 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
6473 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6474 Add regexps for cucumber and ruby.
6476 2010-07-08 Daiki Ueno <ueno@unixuser.org>
6478 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
6479 (epa-file-insert-file-contents): Hack to prevent
6480 find-file from opening empty buffer when decryption failed
6483 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
6485 * textmodes/ispell.el (ispell-alternate-dictionary):
6486 Use file-readable-p.
6487 Return nil if no word-list is found at default locations.
6488 (ispell-complete-word-dict): Default to nil.
6489 (ispell-command-loop): Use 'word-list' when using lookup-words.
6490 (lookup-words): Use ispell-complete-word-dict or
6491 ispell-alternate-dictionary. Check for word-list availability
6492 and handle errors if needed with better messages (Bug#6539).
6493 (ispell-complete-word): Use ispell-complete-word-dict or
6494 ispell-alternate-dictionary.
6496 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
6498 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
6499 builtins (BufferError, BytesWarning, WindowsError; callables
6500 bin, bytearray, bytes, format, memoryview, next, print; __package__).
6502 2010-07-07 Glenn Morris <rgm@gnu.org>
6504 * play/zone.el (top-level): Do not require timer, tabify, or cl.
6505 (zone-shift-left): Ignore intangibility, and any errors from
6507 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
6508 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
6509 deleting, and copying text properties.
6510 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
6511 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
6512 to point-max is hard.
6513 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
6514 (zone-fill-out-screen): Ignore intangibility.
6516 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
6518 * menu-bar.el (menu-bar-mode):
6519 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
6522 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
6523 word/line selection (Bug#6565).
6525 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
6527 * net/dbus.el (dbus-send-signal): Declare function.
6529 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
6531 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
6532 (dbus-register-property): New optional argument EMITS-SIGNAL.
6533 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
6535 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
6537 * mouse.el (mouse-drag-overlay): Variable deleted.
6538 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
6539 (mouse--remap-link-click-p): New function.
6540 (mouse-drag-track): Handle dragging by using temporary Transient
6541 Mark mode, instead of a special overlay.
6542 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
6545 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
6548 2010-07-02 Juri Linkov <juri@jurta.org>
6550 * autoinsert.el (auto-insert-alist): Fix readability
6551 by using dotted pair notation for lambda.
6553 2010-07-02 Juri Linkov <juri@jurta.org>
6555 * faces.el (read-face-name): Rename arg `string-describing-default'
6556 to `default'. Doc fix. Display the default value in quotes
6557 in the prompt. With empty input, return the `default' arg,
6558 unless the default value is a string (in which case return nil).
6559 (describe-face): Replace the string `default' arg of `read-face-name'
6560 with the symbol `default'.
6562 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
6564 * emulation/viper-cmd.el (viper-delete-backward-char)
6565 (viper-del-backward-char-in-insert)
6566 (viper-del-backward-char-in-replace, viper-change)
6567 (viper-backward-indent): Replace delete-backward-char with
6568 delete-char (Bug#6552).
6570 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
6572 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
6574 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
6576 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
6577 argument passed to frame-creation-function (Bug#5378).
6579 * faces.el (x-handle-named-frame-geometry)
6580 (x-handle-reverse-video, x-create-frame-with-faces)
6581 (face-set-after-frame-default, tty-create-frame-with-faces):
6582 Don't separately consult default-frame-alist. It is now passed as the
6585 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
6587 * startup.el (command-line): Don't call tool-bar-setup in a
6590 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
6592 * ruler-mode.el (ruler--save-header-line-format): New fun.
6593 (ruler-mode): Use it as a setter function, so as not to overwrite
6594 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
6596 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
6598 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
6599 (vc-root-diff, vc-print-root-log, vc-log-incoming)
6600 (vc-log-outgoing): Use it.
6601 (vc-diff-internal): Set diff-vc-backend.
6603 * vc/diff-mode.el (diff-vc-backend): New var.
6605 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
6607 * dynamic-setting.el (font-setting-change-default-font):
6608 Remove call to message.
6610 2010-06-28 Kenichi Handa <handa@m17n.org>
6612 * international/quail.el (quail-insert-kbd-layout): Fix the
6613 showing of untranslated characters.
6615 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
6617 * simple.el (delete-active-region): New option.
6618 (delete-backward-char): Implement in Lisp.
6619 (delete-forward-char): New command.
6621 * mouse.el (mouse-region-delete-keys): Deleted.
6622 (mouse-show-mark): Simplify.
6624 * bindings.el (global-map): Bind delete and DEL, the former to
6625 delete-forward-char.
6627 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
6629 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
6630 (ruby-mode): Bind indent-line-function (Bug#5119).
6632 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
6634 * startup.el (command-line): Recognize "0" X resource value.
6636 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
6638 * startup.el (command-line): Use X resources to set the value of
6639 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
6641 * menu-bar.el (menu-bar-mode):
6642 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
6643 Set init-value to t.
6645 * frame.el (frame-notice-user-settings): Don't change
6646 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
6647 vice versa (Bug#2249).
6649 2010-06-26 Eli Zaretskii <eliz@gnu.org>
6651 * w32-fns.el (w32-convert-standard-filename): Doc fix.
6653 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
6655 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
6656 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
6658 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
6659 default directories are expanded (Bug#6143).
6661 2010-06-24 Juri Linkov <juri@jurta.org>
6663 * minibuffer.el (completions-format): Change default from nil to
6664 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
6666 2010-06-24 Juri Linkov <juri@jurta.org>
6668 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
6669 buffer-locally to lambda that re-runs the vc diff command.
6672 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
6674 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
6675 echo area is in use (Bug#3412).
6677 2010-06-22 Glenn Morris <rgm@gnu.org>
6679 * textmodes/texinfmt.el (texinfo-format-region)
6680 (texinfo-raise-lower-sections, texinfo-format-separate-node)
6681 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
6682 (texinfo-format-option, texinfo-noindent):
6683 Use line-beginning-position and line-end-position.
6685 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
6686 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
6687 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
6690 2010-06-21 Karl Fogel <kfogel@red-bean.com>
6692 * play/zone.el (zone-fall-through-ws): Fix next-line ->
6693 forward-line fallout.
6695 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
6697 * mouse.el (mouse-appearance-menu): Add docstring.
6699 * help.el (describe-key): Print up-event using key-description.
6701 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
6703 * net/zeroconf.el (zeroconf-resolve-service)
6704 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
6705 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
6707 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
6709 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
6711 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
6713 Avoid displaying files with a nil state in vc-dir.
6714 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
6715 cases that cause insertion.
6716 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
6719 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
6721 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
6723 2010-06-29 Leo <sdl.web@gmail.com>
6725 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
6727 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6729 * generic-x.el (bat-generic-mode): Fix regexp for command line
6730 switches (Bug#5719).
6732 2010-06-27 Masatake YAMATO <yamato@redhat.com>
6734 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
6735 of nconc to avoid pure storage error (Bug#6239).
6737 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
6739 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
6740 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
6741 bindings of bookmark-automatically-show-annotations (Bug#6515).
6743 2010-06-25 Eli Zaretskii <eliz@gnu.org>
6745 * arc-mode.el (archive-zip-extract): Don't quote the file name on
6746 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
6748 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
6750 * comint.el (make-comint, make-comint-in-buffer): Mention return
6751 value in the docstrings. (Bug#6498)
6753 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
6755 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
6756 since it is not present when using some non-default switches.
6758 2010-06-23 Karl Fogel <kfogel@red-bean.com>
6760 * simple.el (compose-mail): Fix doc string to refer to
6761 `compose-mail-user-agent-warnings', instead of to the
6762 nonexistent `compose-mail-check-user-agent'.
6764 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
6766 Fix an indentation bug:
6768 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
6769 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
6772 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
6773 (c-clear->-pair-props-if-match-before): now return t when they've
6774 cleared properties, nil otherwise.
6775 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
6776 by taking account of the existing value.
6778 * progmodes/cc-defs.el
6779 (c-clear-char-property-with-value-function): Fix this to clear the
6780 property rather than overwriting it with nil.
6782 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
6784 * emacs-lisp/package.el (package-print-package): Add link to
6785 package description via describe-package.
6786 (describe-package-1): List package requirements. Add button to
6787 perform installation.
6788 (package-menu-describe-package): New command.
6790 * help-mode.el (help-package): New button type.
6792 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
6794 * emacs-lisp/package.el: Move package-list-packages binding to
6796 (describe-package, describe-package-1, package--dir): New funs.
6797 (package-activate-1): Use package--dir.
6799 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
6801 * help-mode.el (help-package-def): New button type.
6803 * menu-bar.el: Move package-list-packages binding here from
6806 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
6808 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
6810 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6812 * emacs-lisp/edebug.el (edebug-read-list):
6813 Phase out old-style backquotes.
6815 2010-06-17 Juri Linkov <juri@jurta.org>
6817 * help-mode.el (help-mode): Set buffer-local variable
6818 revert-buffer-function to help-mode-revert-buffer.
6819 (help-mode-revert-buffer): New function.
6821 * info.el (Info-revert-find-node): Check for major-mode Info-mode
6822 before popping to "*info*" (like in other Info functions).
6823 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
6824 old-history-forward. Pop to old-buffer-name or "*info*" to
6825 recreate the killed buffer. Set Info-history-forward from
6826 old-history-forward.
6827 (Info-breadcrumbs-depth): Add :group and :version.
6829 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
6831 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
6833 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
6835 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
6836 for languages like Portuguese with pt_{BR,PT} and no plain pt.
6838 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
6840 * emacs-lisp/package.el (package-menu-mode-map):
6841 Move initialization into declaration.
6843 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
6845 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
6847 * emacs-lisp/package.el (package-archive-base): Point to
6849 (package-enable, package-load-list): New defcustoms.
6850 (package-user-dir, package-directory-list): Turn into defcustoms.
6851 Don't include package-user-dir in package-directory-list.
6852 (package--builtins-base): Don't include Emacs as a "package".
6853 (package-subdirectory-regexp): New var.
6854 (package-load-all-descriptors, package-compute-transaction)
6855 (package-download-transaction): Obey package-load-list.
6856 (package-activate-1): Rename from package-do-activate.
6857 (package-list-packages-internal): Check package-load-list.
6858 (package-load-descriptor, package-generate-autoloads)
6859 (package-unpack, package-unpack-single)
6860 (package--read-archive-file, package-delete):
6861 Use expand-file-name.
6863 * emacs-lisp/package-x.el: New file. Package uploading
6864 functionality split out from package.el.
6866 * startup.el (command-line): Load packages after reading init file.
6868 2010-06-17 Tom Tromey <tromey@redhat.com>
6870 * emacs-lisp/package.el: New file.
6872 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
6874 Fix vc-annotate for renamed files when using Git.
6875 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
6876 ls-files. Doe not pass the object as a file name to cat-file, it
6878 (vc-git-annotate-command): Pass the file name using -- to avoid
6879 ambiguity with the revision.
6880 (vc-git-previous-revision): Pass a relative file name.
6882 2010-06-22 Glenn Morris <rgm@gnu.org>
6884 * progmodes/js.el (js-mode-map): Use standard capitalization and
6885 ellipses for menu entries.
6887 * wid-edit.el (widget-complete): Doc fix.
6889 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
6891 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
6893 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
6895 Fix annotating other revisions for renamed files in vc-annotate.
6896 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
6897 VC backend. Use it when non-nil.
6898 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
6901 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
6902 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
6903 Do not pass the file name to the 'previous-revision call when we
6904 don't want a file diff. (Bug#6489)
6906 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
6908 Fix finding revisions for renamed files in vc-annotate.
6909 * vc/vc.el (vc-find-revision): Add an optional argument for
6910 the VC backend. Use it when non-nil.
6911 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
6912 backend to vc-find-revision. (Bug#6487)
6914 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
6916 Fix reading file names in Git annotate buffers.
6917 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
6918 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
6920 2010-06-20 Alan Mackenzie <acm@muc.de>
6922 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
6923 in file local variables, set it first.
6925 2010-06-19 Glenn Morris <rgm@gnu.org>
6927 * descr-text.el (describe-char-unicode-data): Insert separating
6928 space when needed. (Bug#6422)
6930 * progmodes/idlwave.el (idlwave-action-and-binding):
6931 Fix typo in 2009-12-03 change. (Bug#6450)
6933 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6935 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
6936 handling for `lambda' (misunderstanding).
6938 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
6940 * calc/calc-poly.el (math-accum-factors): Make sure that
6941 constants aren't distributed after they are factored out.
6943 2010-06-16 Juri Linkov <juri@jurta.org>
6945 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
6946 `list-colors-print'. (Bug#6332)
6948 * subr.el (read-quoted-char): Fix up last change (bug#6290).
6950 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
6952 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
6953 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
6955 * font-lock.el (font-lock-major-mode): Rename from
6956 font-lock-mode-major-mode to distinguish it from
6957 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
6958 (font-lock-set-defaults):
6959 * font-core.el (font-lock-default-function): Adjust users.
6960 (font-lock-mode): Don't set it at all.
6962 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
6964 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
6966 2010-06-16 Glenn Morris <rgm@gnu.org>
6968 * calendar/appt.el (appt-time-msg-list): Doc fix.
6969 (appt-check): Let-bind appt-warn-time.
6970 (appt-add): Make the 3rd argument optional.
6971 Simplify argument names. Doc fix. Check for integer WARNTIME.
6972 Only add WARNTIME to the output list if non-nil.
6974 2010-06-16 Ivan Kanis <apple@kanis.eu>
6976 * calendar/appt.el (appt-check): Let the 3rd element of
6977 appt-time-msg-list specify the warning time.
6978 (appt-add): Add new argument with the warning time. (Bug#5176)
6980 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
6982 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
6983 older than version 1.6. (Bug#6361)
6985 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
6987 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
6988 used by cl-do-arglist. (Bug#6408)
6990 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
6992 * textmodes/ispell.el (ispell-dictionary-base-alist):
6993 Fix portuguese casechars/not-casechars for missing 'çÇ'.
6994 Suggested by Rolando Pereira (bug#6434).
6996 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
6998 * facemenu.el (list-colors-sort): Doc fix.
7000 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
7002 * progmodes/sql.el (sql-connect-mysql): Fix typo.
7004 2010-06-14 Juri Linkov <juri@jurta.org>
7006 Add sort option `list-colors-sort'. (Bug#6332)
7007 * facemenu.el (color-rgb-to-hsv): New function.
7008 (list-colors-sort): New defcustom.
7009 (list-colors-sort-key): New function.
7010 (list-colors-display): Doc fix. Sort list according to the option
7012 (list-colors-print): Add HSV values to `help-echo' property of
7015 2010-06-14 Juri Linkov <juri@jurta.org>
7017 * compare-w.el: Move to the "vc" subdirectory.
7019 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7021 * image-mode.el (image-mode-map): Remap left-char and right-char.
7023 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
7025 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
7027 * term/common-win.el (x-colors): Add all the color names defined
7028 in rgb.txt (Bug#6332).
7030 * facemenu.el (list-colors-print): Don't print extra names if it
7031 will overflow the window width.
7033 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
7036 2010-06-12 Eli Zaretskii <eliz@gnu.org>
7038 * files.el (make-directory): Doc fix (bug#6396).
7040 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
7042 * net/tramp.el (tramp-remote-process-environment): Protect version
7043 string by apostroph.
7044 (tramp-shell-prompt-pattern): Do not use a shy group in case of
7046 (tramp-file-name-for-operation): Add `call-process-region'.
7047 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
7049 * net/tramp-compat.el (top): Do not autoload
7050 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
7051 only when `start-file-process' is not bound.
7052 (tramp-advice-file-expand-wildcards): Do not use
7053 `tramp-handle-file-remote-p'.
7054 (tramp-compat-make-temp-file): Handle the case, that
7055 `make-temp-file' has no third argument EXTENSION.
7057 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
7059 * makefile.w32-in (WINS_BASIC): Include new directory vc.
7061 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
7063 2010-06-11 Juri Linkov <juri@jurta.org>
7065 * finder.el (finder-known-keywords): Add keyword "vc"
7066 for version control.
7068 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
7069 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
7070 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
7071 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
7073 2010-06-11 Juri Linkov <juri@jurta.org>
7075 Move version control related files to the "vc" subdirectory.
7076 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
7077 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
7078 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
7079 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
7080 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
7081 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
7082 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
7083 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
7084 Move files to the "vc" subdirectory.
7086 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
7088 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
7091 2010-06-11 Stephen Eglen <stephen@gnu.org>
7093 * shell.el: Bind `shell-resync-dirs' to M-RET.
7095 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
7097 * notifications.el: Move file from lisp/net, because it is
7098 supposed to talk locally to the user.
7100 2010-06-10 Julien Danjou <julien@danjou.info>
7102 * net/notifications.el (notifications-on-action-signal)
7103 (notifications-on-closed-signal): Pass notification id as first
7104 argument to the callback functions. Add docstrings.
7105 (notifications-notify): Fix docstring.
7107 2010-06-10 Glenn Morris <rgm@gnu.org>
7109 * emacs-lisp/authors.el (authors-ignored-files)
7110 (authors-valid-file-names): Add some files.
7112 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7114 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
7115 merge conflict, giving preference to the emacs-23 version of the code.
7117 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7119 * emacs-lisp/advice.el (ad-compile-function):
7120 Define warning-suppress-types before we let-bind it (bug#6275).
7122 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
7123 declare it, make it buffer-local and permanent-local (bug#6324).
7124 (vc-resynch-window): Adjust name.
7125 * vc-hooks.el (vc-find-file-hook): Adjust name.
7127 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
7129 * net/notifications.el (notifications-notify): Fix docstring.
7131 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
7133 Update to Unicode 6.0.0 beta.
7134 * international/charprop.el: Update copyright.
7135 * international/mule-cmds.el (ucs-names): Update character ranges.
7136 * international/uni-bidi.el:
7137 * international/uni-category.el:
7138 * international/uni-combining.el:
7139 * international/uni-comment.el:
7140 * international/uni-decimal.el:
7141 * international/uni-decomposition.el:
7142 * international/uni-digit.el:
7143 * international/uni-lowercase.el:
7144 * international/uni-mirrored.el:
7145 * international/uni-name.el:
7146 * international/uni-numeric.el:
7147 * international/uni-old-name.el:
7148 * international/uni-titlecase.el:
7149 * international/uni-uppercase.el: Regenerate.
7151 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
7153 * emacs-lisp/smie.el (comment-string-strip): Declare function.
7154 (smie-precs-precedence-table): Fix typo in docstring.
7156 * vc-mtn.el (log-edit-extract-headers): Declare function.
7158 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
7160 * net/notifications.el (dbus-register-signal): Declare function.
7161 (notifications-notify): Fix typos and reflow docstring.
7163 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
7165 Improve VC create/retrieve tag/branch.
7166 * vc.el (vc-create-tag): Do not read the directory name for VCs
7167 with repository revision granularity. Adjust the tag/branch
7168 prompt. Reset VC properties.
7169 (vc-retrieve-tag): Do not read the directory name for VCs
7170 with repository revision granularity. Reset VC properties.
7172 2010-06-09 Julien Danjou <julien@danjou.info>
7174 * net/notifications.el: New file.
7176 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
7178 Add optional support for resetting VC properties.
7179 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
7180 call vc-file-clearprops when true.
7181 (vc-resynch-buffer): Add new optional argument, pass it down.
7182 (vc-resynch-buffers-in-directory): Likewise.
7184 Improve support for special markup in the VC commit message.
7185 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
7186 * vc-hg.el (vc-hg-checkin): Add support for Date:.
7187 * vc-git.el (vc-git-checkin):
7188 * vc-bzr.el (vc-bzr-checkin): Likewise.
7190 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7192 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
7193 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
7195 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
7197 * iimage.el: Remove images as soon as the underlying text is modified.
7198 (iimage-modification-hook): New function.
7199 (iimage-mode-buffer): Use it.
7201 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7203 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
7204 smie-indent-offset-after. Add :prev case. Make a bit more generic.
7205 (smie-indent-virtual): Remove `virtual' arg. Update callers.
7206 (smie-indent-keyword): Add handling of open-paren keywords.
7207 (smie-indent-comment-continue): Don't assume comment-continue.
7209 2010-06-07 Martin Rudalics <rudalics@gmx.at>
7211 * window.el (pop-to-buffer): Remove the conditional that
7212 compares new-window and old-window, so it will reselect
7213 the selected window unconditionally.
7214 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
7216 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7218 * emacs-lisp/smie.el (smie-indent-offset-after)
7219 (smie-indent-forward-token, smie-indent-backward-token): New functions.
7220 (smie-indent-after-keyword): Use them.
7221 (smie-indent-fixindent): Only applies to the indentation of the BOL.
7222 (smie-indent-keyword): Tweak the black magic.
7223 (smie-indent-comment-continue): Strip comment-continue before use.
7224 (smie-indent-functions): Indent comments before keywords.
7226 2010-06-06 Juri Linkov <juri@jurta.org>
7228 * isearch.el (isearch-lazy-highlight-search): Fix looping
7229 by checking for empty match. This syncs this loop with the
7230 similar loop in `isearch-search'. (Bug#6362)
7232 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
7234 * net/dbus.el (dbus-register-method): Declare function.
7235 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
7236 (dbus-introspect): Doc fix.
7237 (dbus-event-bus-name, dbus-introspect-get-interface)
7238 (dbus-introspect-get-argument): Reflow docstrings.
7240 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
7242 vc-log-incoming/vc-log-outgoing fixes for Git.
7243 * vc-git.el (vc-git-log-view-mode): Fix font lock for
7244 incoming/outgoing logs.
7245 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
7246 instead of vc-git-compute-remote.
7247 (vc-git-compute-remote): Remove.
7249 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
7251 * term/common-win.el (x-colors): Add "dark green" and "dark
7252 turquoise" (Bug#6332).
7254 2010-06-04 Juri Linkov <juri@jurta.org>
7256 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
7257 Instead of setting `replace' to t and replacing the same string
7258 with itself, don't do certain actions when
7259 kill-do-not-save-duplicates is non-nil and string is equal to car
7260 of kill-ring: don't call menu-bar-update-yank-menu, don't push
7261 interprogram-paste strings to kill-ring, and don't push the input
7262 argument `string' to kill-ring.
7263 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
7265 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
7267 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
7269 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
7271 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
7272 (tramp-gvfs-handler-mounted-unmounted)
7273 (tramp-gvfs-connection-mounted-p): Handle default-location.
7275 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
7276 move files to trash.
7278 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
7280 * international/mule-cmds.el (nonascii-insert-offset)
7281 (nonascii-translation-table): Add obsolescence information.
7283 * international/mule.el (make-translation-table-from-vector): Doc fix.
7285 2010-06-03 Glenn Morris <rgm@gnu.org>
7287 * desktop.el (desktop-clear-preserve-buffers):
7288 Add "*Warnings*" buffer. (Bug#6336)
7290 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
7292 vc-log-incoming/vc-log-outgoing improvements for Git.
7293 * vc-git.el (vc-git-log-outgoing): Use the same format as the
7295 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
7297 Add bindings for vc-log-incoming and vc-log-outgoing.
7298 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
7299 and vc-log-outgoing.
7300 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
7301 and vc-log-outgoing.
7303 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
7305 * net/rcirc.el (rcirc-sort-nicknames): Remove.
7306 (rcirc-handler-366): Always sort nicknames.
7308 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
7310 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
7312 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
7314 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
7316 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7318 * net/rcirc.el (rcirc-sort-nicknames): Change default.
7319 (rcirc-sort-nicknames-join): Avoid setq.
7321 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7323 * net/rcirc.el (rcirc-sort-nicknames): New custom.
7324 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
7325 (rcirc-handler-366): Use them.
7327 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7329 Split smie-indent-calculate into more manageable chunks.
7330 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
7331 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
7332 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
7333 (smie-indent-exps): Extract from smie-indent-calculate.
7334 (smie-indent-functions): New var.
7335 (smie-indent-functions): Use them.
7337 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7339 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
7340 (smie-indent-calculate): Simplify and cleanup.
7342 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
7344 * net/tramp-gvfs.el (top): Require url-util.
7345 (tramp-gvfs-mount-point): Remove.
7346 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
7348 (with-tramp-dbus-call-method): Format trace message.
7349 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
7350 Implement backup call, when operation on local files fails.
7351 Use progress reporter. Flush properties of changed files.
7352 (tramp-gvfs-handle-make-directory): Make more traces.
7353 (tramp-gvfs-url-file-name): Hexify file name in url.
7354 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
7355 into account for the resulting file name.
7356 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
7357 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
7358 (tramp-gvfs-handler-mounted-unmounted)
7359 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
7360 attribute "default_location". Set "prefix" property.
7361 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
7362 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
7363 exists. Raise an error, if not (due to a corresponding answer
7364 "no" in interactive questions, for example).
7366 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
7368 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
7370 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
7372 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
7375 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
7377 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
7378 * vc-git.el (vc-git-compute-remote): New function.
7379 (vc-git-log-outgoing): Use it instead of hard coding a value.
7380 (vc-git-log-incoming): New function.
7382 Improve state updating for VC tag commands.
7383 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
7384 to update the state of all buffers in the directory.
7386 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
7388 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7390 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
7391 `file-directory-p' to the filename part rather than to the whole text.
7393 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7395 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
7397 2010-05-31 Drew Adams <drew.adams@oracle.com>
7399 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
7401 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
7403 * subr.el (momentary-string-display): Just use read-event to read
7404 the exit event (Bug#6238).
7406 2010-05-30 Eli Zaretskii <eliz@gnu.org>
7408 * international/mule.el (define-coding-system): Doc fix (bug#6313).
7410 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
7412 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
7413 Suggested by Eli Zaretskii <eliz@gnu.org>.
7415 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7417 * minibuffer.el (completion-file-name-table): Don't return a boundary
7418 past the end of `string' (bug#6299).
7419 (completion--file-name-table): Delegate to completion-file-name-table
7420 for the `boundaries' case.
7422 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
7424 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
7427 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
7428 `path-separator', but maintain compatibility with Emacs 20.2.
7430 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
7432 * server.el (server-process-filter): Receive parent-id argument
7434 (server-create-window-system-frame): New arg. Pass parent-id as
7437 2010-05-29 Eli Zaretskii <eliz@gnu.org>
7439 Bidi-sensitive word movement with arrow keys.
7440 * subr.el (right-arrow-command, left-arrow-command): Move to
7443 * bindings.el (right-char, left-char): Move from subr.el and
7444 rename from right-arrow-command and left-arrow-command.
7445 (right-word, left-word): New functions.
7446 (global-map) <right>: Bind to right-char.
7447 (global-map) <left>: Bind to left-char.
7448 (global-map) <C-right>: Bind to right-word.
7449 (global-map) <C-left>: Bind to left-word.
7451 * ls-lisp.el (ls-lisp-classify-file): New function.
7452 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
7453 (ls-lisp-classify): Call ls-lisp-classify-file.
7454 (insert-directory): Remove blanks from switches.
7456 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
7458 * ansi-color.el: Delete unused escape sequences (Bug#6085).
7459 (ansi-color-drop-regexp): New constant.
7460 (ansi-color-apply, ansi-color-filter-region)
7461 (ansi-color-apply-on-region): Delete unrecognized control sequences.
7462 (ansi-color-apply): Build string list before calling concat.
7464 2010-05-28 Juri Linkov <juri@jurta.org>
7466 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7467 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
7470 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
7472 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
7473 to ignored backtrace functions.
7474 (with-progress-reporter): Expand docstring.
7475 (tramp-handle-delete-file): Implement TRASH argument.
7476 (tramp-get-remote-trash): New defun.
7478 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
7480 * net/tramp-compat.el (tramp-compat-delete-file):
7481 Use `symbol-value' for backward compatibility.
7483 * net/tramp.el (tramp-handle-make-symbolic-link)
7485 (tramp-do-copy-or-rename-file-via-buffer)
7486 (tramp-do-copy-or-rename-file-directly)
7487 (tramp-do-copy-or-rename-file-out-of-band)
7488 (tramp-handle-process-file, tramp-handle-call-process-region)
7489 (tramp-handle-shell-command, tramp-handle-file-local-copy)
7490 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7491 (tramp-delete-temp-file-function): Use `delete-file' instead
7492 of `tramp-compat-delete-file'.
7494 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
7495 (tramp-fish-handle-make-symbolic-link)
7496 (tramp-fish-handle-process-file): Use `delete-file' instead
7497 of `tramp-compat-delete-file'.
7499 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
7500 Use `delete-file' instead of `tramp-compat-delete-file'.
7502 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
7503 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
7504 `tramp-compat-delete-file'.
7506 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
7507 Use `delete-file' instead of `tramp-compat-delete-file'.
7509 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7510 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7511 (tramp-smb-handle-write-region): Use `delete-file' instead of
7512 `tramp-compat-delete-file'.
7513 (tramp-smb-handle-delete-directory): Use 'trash as arg.
7515 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
7517 * dired.el (dired-delete-file): New arg TRASH.
7518 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
7519 (dired-do-flagged-delete, dired-do-delete): Use trash.
7521 * speedbar.el (speedbar-item-delete): Allow trashing.
7523 * files.el (delete-directory): New arg TRASH.
7525 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
7526 (ange-ftp-rename-remote-to-remote)
7527 (ange-ftp-rename-local-to-remote)
7528 (ange-ftp-rename-remote-to-local, ange-ftp-load)
7529 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
7531 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
7534 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
7535 handle new TRASH arg of `delete-file'.
7537 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
7538 (tramp-handle-make-symbolic-link, tramp-handle-load)
7539 (tramp-do-copy-or-rename-file-via-buffer)
7540 (tramp-do-copy-or-rename-file-directly)
7541 (tramp-do-copy-or-rename-file-out-of-band)
7542 (tramp-handle-process-file, tramp-handle-call-process-region)
7543 (tramp-handle-shell-command, tramp-handle-file-local-copy)
7544 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7545 (tramp-delete-temp-file-function): Use null TRASH arg in
7546 tramp-compat-delete-file call.
7548 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
7549 (tramp-fish-handle-delete-file)
7550 (tramp-fish-handle-make-symbolic-link)
7551 (tramp-fish-handle-process-file): Use null TRASH arg in
7552 `tramp-compat-delete-file' call.
7554 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
7555 arg in `tramp-compat-delete-file' call.
7557 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
7558 (tramp-gvfs-handle-write-region): Use null TRASH arg in
7559 `tramp-compat-delete-file' call.
7561 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
7562 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
7563 `tramp-compat-delete-file' call.
7565 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7566 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7567 (tramp-smb-handle-write-region): Use null TRASH arg in
7568 tramp-compat-delete-file call.
7569 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
7570 (tramp-smb-handle-delete-file): Rename arg.
7572 * diff.el (diff-sentinel):
7573 * epg.el (epg--make-temp-file, epg-decrypt-string)
7574 (epg-verify-string, epg-sign-string, epg-encrypt-string):
7575 * jka-compr.el (jka-compr-partial-uncompress)
7576 (jka-compr-call-process, jka-compr-write-region):
7577 * server.el (server-sentinel): Remove optional arg from
7578 delete-file, reverting 2010-05-03 change.
7580 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
7582 * progmodes/verilog-mode.el (verilog-type-font-keywords):
7583 Use font-lock-constant-face, not obsolete font-lock-reference-face.
7585 2010-05-27 Kenichi Handa <handa@m17n.org>
7587 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
7588 element of GSTRING is nil.
7590 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7592 * emacs-lisp/smie.el (smie-forward-token-function)
7593 (smie-backward-token-function): New vars.
7594 (smie-backward-sexp, smie-forward-sexp)
7595 (smie-indent-hanging-p, smie-indent-calculate): Use them.
7596 (smie-default-backward-token): Rename from smie-backward-token and
7598 (smie-default-forward-token): Rename from smie-forward-token and
7600 (smie-next-sexp): Handle nil results from next-token.
7601 (smie-indent-calculate): Add a new case for special `fixindent' comments.
7603 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
7605 * progmodes/verilog-mode.el (verilog-type-font-keywords):
7606 Use font-lock-constant-face, not obsolete font-lock-reference-face.
7608 2010-05-27 Masatake YAMATO <yamato@redhat.com>
7610 * htmlfontify.el (hfy-face-resolve-face): New function.
7611 (hfy-face-to-style): Use it (Bug#6279).
7613 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7615 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
7616 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
7618 2010-05-26 Glenn Morris <rgm@gnu.org>
7620 * emulation/edt.el (edt-load-keys): Use locate-library.
7622 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
7624 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
7625 (log-edit-changelog-entries): Doc fix.
7626 (log-edit-changelog-insert-entries): Args changed.
7627 Rename relative filenames in ChangeLog entries. Delete tabs.
7628 (log-edit-insert-changelog-entries): Reorganize return value of
7629 `log-edit-changelog-entries' to pass filenames to
7630 log-edit-changelog-insert-entries.
7632 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7634 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
7635 `image-dired-dired-insert-marked-thumbs' to
7636 `image-dired-dired-toggle-marked-thumbs'.
7638 * image-dired.el: Require cl when compiling.
7639 (image-dired-dired-toggle-marked-thumbs): Rename from
7640 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
7641 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
7642 to 'no-dir. Skip files whose names don't match
7643 `image-file-name-regexp'. When file has a thumbnail overlay,
7644 delete it. (Bug#5270)
7646 2010-05-25 Juri Linkov <juri@jurta.org>
7648 * image-mode.el (image-mode): Add image-after-revert-hook to
7650 (image-after-revert-hook): New function. (Bug#5669)
7652 2010-05-25 Juri Linkov <juri@jurta.org>
7654 * image.el (image-animated-p): When delay between animated images
7655 is 0, set it to 10 (0.1 sec). (Bug#6258)
7657 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
7659 * net/tramp.el (tramp-handle-insert-directory): Don't use
7660 `forward-word', its default syntax could be changed.
7662 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
7664 * net/tramp.el (tramp-progress-reporter-update): New defun.
7665 (with-progress-reporter): Use it.
7666 (tramp-process-actions):
7667 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7668 Preserve current message, in order to let progress reporter continue
7669 afterwards. (Bug#6257)
7671 2010-05-25 Glenn Morris <rgm@gnu.org>
7673 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
7676 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
7678 * net/rcirc.el (rcirc-default-user-name): Change to "user".
7679 (rcirc-default-full-name): Change to "unknown".
7680 (rcirc-user-name-history): Add variable.
7682 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
7683 Jonathan Rockway <jon@jrock.us>
7685 * net/rcirc.el (rcirc-server-alist): Add :pass.
7686 (rcirc): When prompting for connection parameters, also prompt for
7687 username and password.
7688 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
7689 value to server when connecting.
7691 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7693 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
7694 (smie-merge-prec2s): Pass the tables as separate args.
7695 (smie-bnf-precedence-table): Adjust call accordingly.
7696 (smie-prec2-levels): Set levels at the end.
7698 Replace Lisp calls to delete-backward-char by delete-char.
7699 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
7700 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
7701 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
7702 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
7703 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
7704 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
7705 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
7706 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
7707 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
7708 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
7709 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
7710 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
7711 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
7712 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
7713 delete-backward-char by calls to delete-char.
7715 2010-05-25 Kenichi Handa <handa@m17n.org>
7717 * language/hebrew.el (hebrew-shape-gstring): New function.
7718 Register it in composition-function-table for all Hebrew combining
7721 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7723 * epa.el (epa--select-keys): Don't explicitly delete the window since
7724 that can fail (e.g. sole window in frame). Use dedication instead.
7726 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
7728 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
7730 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
7732 * image.el (image-refresh): Define as an alias for image-flush.
7734 * image-mode.el (image-toggle-display-image): Caller changed.
7736 2010-05-21 Juri Linkov <juri@jurta.org>
7738 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
7739 Remove "all" from grep-files-aliases. Split grep-files-aliases by
7740 whitespace, call wildcard-to-regexp on substrings and concat them
7741 with "\\|". (Bug#6114)
7743 2010-05-21 Alan Mackenzie <acm@muc.de>
7745 * progmodes/cc-engine.el (c-parse-state-get-strategy):
7746 Replace parameter `here' with `here-' and `here-plus', which sandwich
7747 any pertinent CPP construct.
7748 (c-remove-stale-state-cache-backwards): Fix a bug which happens
7749 when doing (c-parse-state) in a CPP construct: Exclude any "new"
7750 CPP construct from taking part in the scanning.
7752 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
7754 * net/tramp.el (tramp-do-copy-or-rename-file)
7755 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
7756 Tune `with-progress-reporter' messages.
7757 (tramp-handle-vc-registered):
7758 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
7759 (tramp-fish-handle-insert-file-contents)
7760 (tramp-fish-maybe-open-connection):
7761 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7762 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
7763 (tramp-imap-handle-insert-file-contents)
7764 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
7766 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
7768 * add-log.el (change-log-font-lock-keywords):
7769 Highlight all authors in multi-author entries.
7771 * smerge-mode.el (smerge-refine-ignore-whitespace)
7772 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
7773 Fix typos in docstrings.
7774 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
7776 2010-05-21 Glenn Morris <rgm@gnu.org>
7778 * progmodes/fortran.el (fortran-mode):
7779 * progmodes/f90.el (f90-mode): Derive from prog-mode.
7781 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
7782 having a relative path in src/Makefile.in.
7784 2010-05-20 Kevin Ryde <user42@zip.com.au>
7786 * help-mode.el (help-make-xrefs): For Info node links turn
7787 newlines into spaces. Link node names with newlines are matched
7788 by help-xref-info-regexp and buttonized, this change ensures they
7789 can be followed successfully with RET. (Bug#6206)
7791 2010-05-20 Juri Linkov <juri@jurta.org>
7793 * locate.el (locate): Use pop-to-buffer instead of
7794 switch-to-buffer-other-window. (Bug#6204)
7796 2010-05-20 Juri Linkov <juri@jurta.org>
7798 * replace.el (replace-highlight): Fix lazy-highlighting
7799 for `M-s w str M-% str RET'.
7801 2009-12-15 Masatake YAMATO <yamato@redhat.com>
7803 * isearch.el (isearch-yank-word-or-char): Pull next subword
7804 when `subword-mode' is activated. (Bug#6220)
7806 2010-05-20 Mark A. Hershberger <mah@everybody.org>
7808 * isearch.el (isearch-update-post-hook): New hook.
7809 (isearch-update): Use the new hook. (Bug#6225)
7811 2010-05-20 Juri Linkov <juri@jurta.org>
7813 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
7814 [f1], [help], and (char-to-string help-char) instead of "\C-h".
7817 2010-05-20 Juri Linkov <juri@jurta.org>
7819 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
7822 2010-05-20 Juri Linkov <juri@jurta.org>
7824 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
7825 FILE-NAME to read from the minibuffer when called interactively
7826 with prefix argument instead of using buffer-file-name.
7827 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
7829 * dired.el: Update autoloads.
7831 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
7833 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
7834 nxml-finish-element, for consistency with SGML mode.
7836 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
7839 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
7841 * composite.el: Require cl when compiling.
7842 (reference-point-alist, compose-gstring-for-graphic)
7843 (compose-gstring-for-terminal): Fix typos in docstrings.
7845 2010-05-19 Juri Linkov <juri@jurta.org>
7847 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
7848 set-window-parameter.
7850 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
7852 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
7854 (tramp-maybe-open-connection): Use it.
7856 2010-05-19 Eli Zaretskii <eliz@gnu.org>
7858 * simple.el (move-end-of-line): Make sure we are at line beginning
7859 before backing up to end of previous line.
7861 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
7863 * password-cache.el (password-cache-remove): Fix docstring.
7865 * net/secrets.el: Autoload the widget functions.
7866 (secrets-search-items, secrets-create-item)
7867 (secrets-get-attributes, secrets-expand-item): Attributes will be
7868 stored on the password database without leading ":", as all other
7870 (secrets-mode): Fix docstring.
7871 (secrets-show-secrets): Provide it as autoloaded command only when
7872 D-Bus support is available. Check existence of Secret Service API.
7874 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
7876 * indent.el (indent-region): Deactivate region (bug#6200).
7878 2010-05-19 Glenn Morris <rgm@gnu.org>
7880 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
7882 2010-05-19 Kenichi Handa <handa@m17n.org>
7884 * composite.el: Register compose-gstring-for-graphic in
7885 composition-function-table only for combining characters (Mn, Mc, Me).
7887 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
7889 * calc/calc-trail.el (calc-trail-isearch-forward)
7890 (calc-trail-isearch-backward): Ensure that the new window
7891 point is set correctly.
7893 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7895 * subr.el (read-quoted-char): Resolve modifiers after key
7896 remapping (bug#6212).
7898 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
7900 Add visualization code for secrets.
7901 * net/secrets.el (secrets-mode): New major mode.
7902 (secrets-show-secrets, secrets-show-collections)
7903 (secrets-expand-collection, secrets-expand-item)
7904 (secrets-tree-widget-after-toggle-function)
7905 (secrets-tree-widget-show-password): New defuns.
7907 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7909 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
7910 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
7911 handled in smie-next-sexp.
7912 (smie-indent-calculate): Provide a starting indentation (so the
7913 recursion is well-founded ;-).
7915 Fix handling of non-associative equal levels.
7916 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
7917 when it's not needed.
7918 (smie-op-left, smie-op-right): New functions.
7919 (smie-next-sexp): New function, extracted from smie-backward-sexp.
7920 Better handle equal levels to distinguish the associative case from
7921 the "multi-keyword construct" case.
7922 (smie-backward-sexp, smie-forward-sexp): Use it.
7924 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
7926 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
7928 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
7929 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
7931 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7933 Provide a simple generic indentation engine and use it for Prolog.
7934 * emacs-lisp/smie.el: New file.
7935 * progmodes/prolog.el (prolog-smie-op-levels)
7936 (prolog-smie-indent-rules): New var.
7937 (prolog-mode-variables): Use them to configure SMIE.
7938 (prolog-indent-line, prolog-indent-level): Remove.
7940 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7942 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
7943 order before computing the averages.
7945 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
7947 * calc/calc-vec.el (calc-histogram):
7948 (calcFunc-histogram): Allow vectors as inputs.
7949 (math-vector-avg): New function.
7951 * calc/calc-ext.el (math-group-float): Have the number of digits
7952 being grouped depend on the radix (Bug#6189).
7954 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
7956 * version.el (emacs-copyright, emacs-version): Don't define here,
7957 now that emacs.c defines it.
7959 2010-05-15 Eli Zaretskii <eliz@gnu.org>
7961 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
7962 "Describe Language Environment" menu item.
7964 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
7966 Bidi-sensitive movement with arrow keys.
7967 * subr.el (right-arrow-command, left-arrow-command): New functions.
7969 * bindings.el (global-map): Bind them to right and left arrow keys.
7971 Don't override standard definition of convert-standard-filename.
7972 * files.el (convert-standard-filename):
7973 Call w32-convert-standard-filename and dos-convert-standard-filename on
7974 the corresponding systems.
7976 * w32-fns.el (w32-convert-standard-filename): Rename from
7977 convert-standard-filename. Doc fix.
7979 * dos-fns.el (dos-convert-standard-filename): Doc fix.
7980 (convert-standard-filename): Don't defalias.
7981 (register-name-alist, make-register, register-value)
7982 (set-register-value, intdos): Obsolete aliases for the
7983 corresponding dos-* functions and variables.
7984 (dos-intdos): Add a doc string.
7986 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
7988 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
7989 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
7990 (math-compose-tex-func):
7991 * calc/calccomp.el (math-compose-expr):
7992 * calc/calc-ext.el (math-format-flat-expr-fancy):
7993 * calc/calc-store.el (calc-read-var-name):
7994 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
7996 * calc/calc.el (var-π, var-φ, var-γ): New variables.
7997 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
7998 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
7999 (math-standard-units): Add units.
8001 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8003 * progmodes/asm-mode.el (asm-mode):
8004 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
8006 * pcomplete.el (pcomplete-completions-at-point): New function,
8007 extracted from pcomplete-std-complete.
8008 (pcomplete-std-complete): Use it.
8010 2010-05-15 Glenn Morris <rgm@gnu.org>
8012 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8013 Remove references to CVS, RCS and Old directories.
8015 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
8017 * calc/calc-bin.el (math-format-twos-complement): Group digits when
8020 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8022 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
8023 (sh-mode-syntax-table): Give it a default value instead.
8024 (sh-header-marker): Make buffer-local.
8025 (sh-mode): Move make-local-variable to the corresponding setq.
8026 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
8027 Use complete-with-action.
8029 * simple.el (prog-mode): New (abstract) major mode.
8030 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
8031 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
8033 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
8035 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
8036 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
8037 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
8038 (sql-make-alternate-buffer-name, sql-placeholders-filter)
8039 (sql-escape-newlines-filter, sql-input-sender)
8040 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
8042 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
8044 Add TeX open-block and close-block keybindings to SGML, and vice versa.
8046 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
8047 latex-open-block and C-c / to latex-close-block.
8049 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
8050 and C-c C-e to sgml-close-tag.
8052 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
8054 * net/tramp.el (with-progress-reporter): Create reporter object
8055 only when the message would be displayed. Handle nested calls.
8056 (tramp-handle-load, tramp-handle-file-local-copy)
8057 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8058 (tramp-maybe-send-script, tramp-find-shell):
8059 Use `with-progress-reporter'.
8060 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
8063 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8064 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8065 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
8066 Use `with-progress-reporter'.
8068 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
8070 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
8071 process everytime when spellchecking from the minibuffer (bug#6143).
8073 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8075 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
8077 * dos-fns.el: Add "dos-" prefix for namespace control.
8078 (convert-standard-filename): Define as alias for
8079 dos-convert-standard-filename but only if applicable.
8081 2010-05-12 Alan Mackenzie <acm@muc.de>
8083 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
8084 Push the mark at the start of these functions when appropriate.
8086 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8088 * minibuffer.el (completion-cycle-threshold): New custom var.
8089 (completion--do-completion): Use it.
8090 (minibuffer-complete): Use cycling if appropriate.
8092 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
8094 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
8095 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
8097 2010-05-11 Juri Linkov <juri@jurta.org>
8099 * scroll-all.el (scroll-all-check-to-scroll):
8100 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
8102 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8104 * iimage.el (iimage-mode-map): Move initialization into declaration.
8105 (iimage-mode-buffer): Use with-silent-modifications.
8106 Simplify calling convention. Adjust callers.
8107 (iimage-mode): Don't run hook redundantly.
8109 * minibuffer.el (completion-pcm--pattern->regex):
8110 Fix last change (bug#6160).
8112 2010-05-10 Juri Linkov <juri@jurta.org>
8114 Remove nodes visited during Isearch from the Info history.
8115 * info.el (Info-isearch-initial-history)
8116 (Info-isearch-initial-history-list): New variables.
8117 (Info-isearch-start): Record initial values of
8118 Info-isearch-initial-history and Info-isearch-initial-history-list.
8119 Add Info-isearch-end to isearch-mode-end-hook.
8120 (Info-isearch-end): New function.
8122 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
8124 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
8125 format string, in order to work around a bug in pdksh.
8126 Reported by Gilles Pion <gpion@lfdj.com>.
8127 (tramp-handle-verify-visited-file-modtime): Do not send a command
8128 when the connection is not established.
8129 (tramp-handle-set-file-times): Simplify the check for utc.
8131 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
8133 Fix use of `filter-buffer-substring' (rework previous change).
8134 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
8135 (cua-repeat-replace-region):
8136 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
8137 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
8138 (cua-cut-region-to-global-mark): Use it.
8140 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
8142 * progmodes/sql.el: Version 2.1.
8143 (sql-product-alist): Redesign structure of product info.
8144 (sql-product, sql-user, sql-server, sql-database): Safe variables.
8145 (sql-port, sql-port-history): New variables.
8146 (sql-interactive-product): New variable.
8147 (sql-send-terminator): New variable.
8148 (sql-imenu-generic-expression): Add "Types" imenu entry.
8149 (sql-oracle-login-params, sql-sqlite-login-params)
8150 (sql-mysql-login-params, sql-solid-login-params)
8151 (sql-sybase-login-params, sql-informix-login-params)
8152 (sql-ingres-login-params, sql-ms-login-params)
8153 (sql-postgres-login-params, sql-interbase-login-params)
8154 (sql-db2-login-params, sql-linter-login-params)
8155 (sql-oracle-scan-on): New variables.
8156 (sql-mode-map): Add C-c C-i to start interactive mode.
8157 (sql-mode-menu): Update existing menu entries.
8158 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
8159 (sql-mode-oracle-font-lock-keywords)
8160 (sql-mode-postgres-font-lock-keywords)
8161 (sql-mode-ms-font-lock-keywords)
8162 (sql-mode-sybase-font-lock-keywords)
8163 (sql-mode-informix-font-lock-keywords)
8164 (sql-mode-interbase-font-lock-keywords)
8165 (sql-mode-ingres-font-lock-keywords)
8166 (sql-mode-solid-font-lock-keywords)
8167 (sql-mode-mysql-font-lock-keywords)
8168 (sql-mode-sqlite-font-lock-keywords)
8169 (sql-mode-db2-font-lock-keywords)
8170 (sql-mode-linter-font-lock-keywords): Update initialization to
8171 reduce run-time complexity.
8172 (sql-add-product, sql-del-product): New functions.
8173 (sql-set-product-feature, sql-get-product-feature): New functions.
8174 (sql-product-font-lock): Update product API.
8175 (sql-add-product-keywords): New function.
8176 (sql-highlight-product): Update product API.
8177 (sql-help-list-products): New function.
8178 (sql-help): Dynamically lists free and non-free products.
8179 (sql-get-login): Correct bug in handling history and added
8181 (sql-copy-column): Copy without properties.
8182 (sqli-input-sender): Apply filters to SQLi input.
8183 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
8184 Implement as a filter.
8185 (sql-escape-newlines-filter): Implement as a filter.
8186 (sql-remove-tabs-filter): New function.
8187 (sql-send-magic-terminator): New function.
8188 (sql-send-string): Implement magic terminator.
8189 (sql-send-region): Use `sql-send-string'.
8190 (sql-interactive-mode): Use product API.
8191 (sql-product-interactive): Use product API.
8192 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
8193 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
8194 (sql-db2, sql-linter): Use `sql-product-interactive'.
8195 (sql-connect): New function.
8196 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
8197 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
8198 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
8199 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
8202 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8204 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
8205 New custom variable.
8206 (completion-pcm--string->pattern): Use it.
8207 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
8208 Make it handle any symbol as `any'.
8209 (completion-pcm--merge-completions): Extract common suffix for the new
8210 `prefix' symbol as well.
8211 (completion-substring--all-completions): Use the new `prefix' symbol.
8213 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
8215 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
8217 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
8218 (tramp-compat-funcall): New defmacro.
8219 (tramp-compat-line-beginning-position)
8220 (tramp-compat-line-end-position)
8221 (tramp-compat-temporary-file-directory)
8222 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
8223 (tramp-compat-copy-file, tramp-compat-copy-directory)
8224 (tramp-compat-delete-file, tramp-compat-delete-directory)
8225 (tramp-compat-number-sequence, tramp-compat-process-running-p)
8226 * net/tramp.el (top, with-progress-reporter)
8227 (tramp-rfn-eshadow-setup-minibuffer)
8228 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
8229 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
8230 (tramp-completion-mode-p, tramp-check-for-regexp)
8231 (tramp-open-connection-setup-interactive-shell)
8232 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
8233 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
8234 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
8235 * net/tramp-cmds.el (tramp-cleanup-all-connections)
8236 (tramp-reporter-dump-variable, tramp-load-report-modules)
8237 (tramp-append-tramp-buffers)
8238 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
8240 * net/tramp-imap.el (top): Autoload `epg-make-context'.
8242 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8244 * progmodes/compile.el (compilation-buffer-modtime): Rename from
8245 buffer-modtime. Adjust users.
8247 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
8249 * international/mule.el (auto-coding-alist): Only purecopy
8250 car of each item, not the whole list (Bug#6083).
8252 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
8254 * progmodes/js.el (js-mode): Make paragraph variables local before
8255 calling c-setup-paragraph-variables (Bug#6071).
8257 2010-05-08 Eli Zaretskii <eliz@gnu.org>
8259 * composite.el (compose-region, reference-point-alist): Fix typos
8262 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8264 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
8265 gnuplot's "set" command.
8267 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
8269 * abbrev.el (last-abbrev-text): Doc fix.
8270 (abbrev-prefix-mark): Don't escape parenthesis.
8272 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
8274 * composite.el (find-composition): Doc fix.
8276 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
8278 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
8279 (sql-oracle-program, sql-sqlite-options)
8280 (sql-query-placeholders-and-send): Doc fixes.
8281 (sql-set-product, sql-interactive-mode): Reflow docstrings.
8282 (sql-imenu-generic-expression, sql-buffer)
8283 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
8284 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
8285 (sql-mode-sybase-font-lock-keywords)
8286 (sql-mode-informix-font-lock-keywords)
8287 (sql-mode-interbase-font-lock-keywords)
8288 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
8289 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
8290 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
8291 (sql-product-feature, sql-highlight-product)
8292 (comint-line-beginning-position, sql-rename-buffer)
8293 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
8294 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
8295 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
8296 Fix typos in docstrings.
8298 2010-05-08 Juri Linkov <juri@jurta.org>
8300 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
8301 property instead of `invisible' and `after-string' (bug#5998).
8303 2010-05-08 Juri Linkov <juri@jurta.org>
8305 * image-mode.el (image-mode-as-text): Fix typo in docstring.
8307 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
8309 * filecache.el (file-cache-add-directory-list)
8310 (file-cache-add-directory-recursively): Fix typos in docstrings.
8312 2010-05-08 Kenichi Handa <handa@m17n.org>
8314 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
8315 (gujarati-composable-pattern): Fix typo.
8317 2010-05-08 Kenichi Handa <handa@m17n.org>
8319 * language/indian.el (oriya-composable-pattern)
8320 (tamil-composable-pattern, malayalam-composable-pattern):
8321 Add two-part vowels to "v" (vowel sign).
8323 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
8325 * files.el (copy-directory): Handle symlinks (Bug#5982).
8327 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
8329 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
8330 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
8333 2010-05-08 Glenn Morris <rgm@gnu.org>
8335 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
8337 * minibuffer.el (completion-at-point): Doc fix.
8339 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8341 * electric.el (Electric-command-loop): Minor tweak.
8343 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
8344 better with dedicated windows.
8346 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
8348 * Version 23.2 released.
8350 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
8351 Stefan Monnier <monnier@iro.umontreal.ca>
8353 Highlight vendor specific properties.
8354 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
8355 (css-proprietary-property): New face.
8356 (css-font-lock-keywords): Use them.
8358 2010-05-07 Eli Zaretskii <eliz@gnu.org>
8360 * cus-start.el (all): Add native condition for tool-bar-* symbols.
8362 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8364 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
8365 * files.el (auto-mode-alist): Remove redundant entries.
8367 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
8368 * simple.el (auto-save-mode): Move from files.el.
8369 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
8371 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
8373 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
8375 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
8377 * mail/binhex.el (binhex-decode-region-internal)
8378 * mail/uudecode.el (uudecode-decode-region-internal)
8379 * net/dns.el (dns-read-string-name, dns-write, dns-read)
8380 (dns-read-type, dns-query)
8381 * pgg-parse.el (pgg-parse-armor)
8382 * pgg.el (pgg-verify-region)
8383 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
8386 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
8388 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
8390 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
8392 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
8393 * emulation/cua-base.el (cua-repeat-replace-region):
8394 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
8395 (cua-cut-region-to-global-mark):
8396 Remove text properties with `set-text-properties'.
8398 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
8400 * net/tramp.el (top, with-progress-reporter):
8401 Use `symbol-function' inside `funcall'.
8403 * net/tramp-compat.el (tramp-compat-file-attributes)
8404 (tramp-compat-delete-file, tramp-compat-delete-directory):
8405 Handle only `wrong-number-of-arguments' error.
8407 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
8408 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
8411 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8413 * minibuffer.el (completion--sreverse, completion--common-suffix):
8415 (completion-pcm--merge-completions): Extract common suffix when safe.
8417 * emacs-lisp/easy-mmode.el (define-minor-mode):
8418 Make :variable more flexible.
8419 * files.el (auto-save-mode): Use it to define using define-minor-mode.
8421 2010-05-05 Juri Linkov <juri@jurta.org>
8423 Add `slow' and `history' tags to the desktop data.
8425 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
8426 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
8427 (Info-finder-find-node): Require `finder.el' to be able
8428 to restore node from the desktop.
8429 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
8430 data `Info-history' and `slow' tag in the assoc list.
8431 (Info-restore-desktop-buffer): Don't restore nodes with the
8432 `slow' tag. Restore `Info-history'.
8434 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
8436 Add FORCE argument to `delete-file'.
8438 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
8439 forcing to delete the temporary file.
8440 (ange-ftp-delete-file): Add FORCE arg.
8441 (ange-ftp-rename-remote-to-remote)
8442 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
8443 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
8444 Force file deletion.
8446 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
8448 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
8449 (tramp-handle-make-symbolic-link, tramp-handle-load)
8450 (tramp-do-copy-or-rename-file-via-buffer)
8451 (tramp-do-copy-or-rename-file-directly)
8452 (tramp-do-copy-or-rename-file-out-of-band)
8453 (tramp-handle-process-file, tramp-handle-call-process-region)
8454 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8455 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8456 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
8458 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
8459 (tramp-fish-handle-make-symbolic-link)
8460 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
8462 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8463 Use `tramp-compat-delete-file'.
8465 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
8466 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
8468 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
8469 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
8471 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
8472 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
8473 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
8474 Use `tramp-compat-delete-file'.
8476 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8479 * subr.el (add-minor-mode): Use push.
8480 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
8481 * emulation/edt.el (edt-select-mode): Simplify.
8483 Use define-minor-mode in more cases.
8484 * term/tvi970.el (tvi970-set-keypad-mode):
8485 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8486 (normal-erase-is-backspace-mode):
8487 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
8488 (set-scroll-bar-mode-1): (Re)move to its sole caller.
8489 (get-scroll-bar-mode): New function.
8490 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
8492 Use define-minor-mode for less obvious cases.
8493 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
8494 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
8495 * international/iso-ascii.el (iso-ascii-mode):
8496 * frame.el (auto-raise-mode, auto-lower-mode):
8497 * composite.el (global-auto-composition-mode): Use define-minor-mode.
8499 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
8501 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
8502 in order to see error messages for failed logins.
8504 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
8506 * diff.el (diff-sentinel):
8508 * epg.el (epg--make-temp-file, epg-decrypt-string)
8509 (epg-verify-string, epg-sign-string, epg-encrypt-string):
8511 * jka-compr.el (jka-compr-partial-uncompress)
8512 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
8514 * server.el (server-sentinel): Use delete-file's new FORCE arg
8517 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8519 Use define-minor-mode where applicable.
8520 * view.el (view-mode):
8521 * type-break.el (type-break-query-mode)
8522 (type-break-mode-line-message-mode):
8523 * textmodes/reftex.el (reftex-mode):
8524 * term/vt100.el (vt100-wide-mode):
8525 * tar-mode.el (tar-subfile-mode):
8526 * savehist.el (savehist-mode):
8527 * ibuf-ext.el (ibuffer-auto-mode):
8528 * composite.el (auto-composition-mode):
8529 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8530 Use define-minor-mode.
8531 (vhdl-mode): Use static mode-line format.
8532 (vhdl-mode-line-update): Delete.
8533 (vhdl-create-mode-menu, vhdl-activate-customizations)
8534 (vhdl-hs-minor-mode): Don't bother calling it.
8536 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
8538 * simple.el (with-wrapper-hook): Move.
8539 (buffer-substring-filters): Mark obsolete.
8540 (filter-buffer-substring-functions): New variable.
8541 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
8543 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
8544 Michael Albinus <michael.albinus@gmx.de>
8546 Implement compression for inline methods.
8548 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
8549 (tramp-copy-size-limit): Allow also nil.
8550 (tramp-inline-compress-commands): New defconst.
8551 (tramp-find-inline-compress, tramp-get-inline-compress)
8552 (tramp-get-inline-coding): New defuns.
8553 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
8554 replaced by `tramp-get-inline-coding'.
8555 (tramp-handle-file-local-copy, tramp-handle-write-region)
8556 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
8558 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8560 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
8561 Remove unused functions.
8563 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
8564 Set find-tag-default-function as a variable rather than a property.
8566 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
8567 * progmodes/etags.el (tags-completion-at-point-function):
8568 Remove left over interactive spec. Add autoloading stub.
8569 (complete-tag): Use tags-completion-at-point-function.
8571 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
8573 * minibuffer.el (tags-completion-at-point-function): Fix return value.
8575 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
8577 * ido.el (ido-init-completion-maps): Remove C-v binding.
8578 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
8580 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
8582 * minibuffer.el (tags-completion-at-point-function): New function.
8583 (completion-at-point-functions): Use it.
8585 * progmodes/etags.el (complete-tag): Revert last change.
8587 2010-04-29 Alan Mackenzie <acm@muc.de>
8589 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
8590 off-by-one error (in end of macro position).
8592 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
8594 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
8595 firefox is absent. Don't autoload.
8596 (browse-url-galeon-program): Don't autoload.
8598 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
8600 * bindings.el (complete-symbol): Move into minibuffer.el.
8602 * minibuffer.el (complete-tag): Move from etags.el. If tags
8603 completion cannot be performed, return nil instead of signalling
8605 (completion-at-point): Make it an alias for complete-symbol.
8606 (complete-symbol): Move from bindings.el, and replace with the
8607 body of completion-at-point.
8609 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
8611 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
8613 * net/tramp.el (tramp-remote-selinux-p): New defun.
8614 (tramp-handle-file-selinux-context)
8615 (tramp-handle-set-file-selinux-context): Use it.
8617 2010-04-28 Sam Steingold <sds@gnu.org>
8619 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
8620 `safe-local-variable' if the value is a string or a symbol with
8621 the property `bug-reference-url-format'.
8623 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
8625 * progmodes/bug-reference.el (bug-reference-url-format):
8626 Revert 2010-04-27 change due to security risk.
8628 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8630 Make it possible to locally disable a globally enabled mode.
8631 * simple.el (fundamental-mode): Run fundamental-mode-hook.
8632 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
8633 rather than kill-all-local-variables so it runs fundamental-mode-hook.
8634 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8635 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
8636 that subsequent hooks get a chance to disable it.
8638 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8640 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8641 Avoid re-enabling a minor mode after the user turned the minor mode
8642 off if MODE-enable-in-buffers is run twice (typically once from
8643 fundamental-mode's after-change-major-mode-hook and a second time from
8644 run-mode-hook's own after-change-major-mode-hook).
8646 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
8648 2010-04-27 Sam Steingold <sds@gnu.org>
8650 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
8651 `safe-local-variable' if the value is a string or a function, as
8652 documented and implemented on 2010-04-02.
8654 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
8656 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
8657 when method is 'kill.
8659 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
8661 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
8662 condition in default directory check.
8663 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
8664 Kill ispell process when killing its associated buffer.
8666 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
8668 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
8669 but we aren't using it.
8671 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
8673 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
8674 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
8676 2010-04-24 Glenn Morris <rgm@gnu.org>
8678 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
8679 Ignore VCS-ignore files, and deleted nextstep preferences files.
8680 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
8681 (authors-ambiguous-files): New list.
8682 (authors-valid-file-names): Add some deleted files.
8683 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
8684 (authors-disambiguate-file-name): New function. (Bug#5501)
8685 (authors-canonical-file-name): Doc fix.
8686 Don't warn about obsolete files.
8687 (authors-canonical-file-name, authors-scan-el):
8688 Use authors-disambiguate-file-name.
8690 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
8691 Add autoload cookies.
8692 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
8693 (generated-autoload-file): Set file-local value to "htmlfontify.el".
8694 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
8695 They have definitions / compiler macros in cl.el.
8696 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
8697 Replace manual autoloads with generated ones.
8698 (htmlfontify-unload-rgb-file): Remove autoload.
8699 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
8701 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8703 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
8704 (byte-compile-setq-default): Optimize for the
8705 single-var case and don't call byte-compile-form in this case to avoid
8706 inf-loop with byte-compile-set-default.
8708 * progmodes/compile.el (compilation-start): Abbreviate default directory.
8710 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
8712 Implement SELINUX backends.
8714 * net/tramp.el (tramp-file-name-handler-alist):
8715 Add `file-selinux-context' and `set-file-selinux-context'.
8716 (tramp-handle-file-selinux-context)
8717 (tramp-handle-set-file-selinux-context): New defuns.
8718 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
8719 Handle PRESERVE-SELINUX-CONTEXT.
8721 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8722 Add `file-selinux-context' and `set-file-selinux-context'.
8723 (tramp-gvfs-handle-file-selinux-context)
8724 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
8725 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
8727 * net/ange-ftp.el (ange-ftp-copy-file):
8728 * net/tramp-fish.el (tramp-fish-handle-copy-file):
8729 * net/tramp-imap.el (tramp-imap-handle-copy-file):
8730 * net/tramp-smb.el (tramp-smb-handle-copy-file):
8731 Add PRESERVE-SELINUX-CONTEXT.
8733 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
8735 Synchronize with Tramp repository.
8737 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
8738 (tramp-action-process-alive, tramp-action-out-of-band)
8739 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
8740 (tramp-exists-file-name-handler): Fix docstring.
8741 (with-progress-reporter): New defmacro.
8742 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
8743 (tramp-maybe-open-connection): Use it.
8745 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
8747 Detect ssh 'ControlMaster' argument automatically in some cases.
8749 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
8750 (tramp-default-method): Use it.
8752 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
8754 * net/tramp.el (tramp-handle-copy-file): Add new optional
8755 parameter `preserve-selinux-context'.
8756 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
8758 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
8760 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
8761 Ensure, that non remote files are still checked. Oops.
8763 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
8767 * icomplete.el (icomplete-completions): Use `non-essential'.
8769 * net/tramp.el (tramp-connectable-p): New defun.
8770 (tramp-handle-expand-file-name)
8771 (tramp-completion-handle-file-name-all-completions)
8772 (tramp-completion-handle-file-name-completion): Use it.
8774 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
8776 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
8778 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
8780 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
8782 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
8784 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
8787 * info.el (info-tool-bar-map): Add labels.
8789 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
8791 * cus-edit.el (custom-commands): Add labels for tool bar.
8792 (custom-buffer-create-internal, Custom-mode): Adjust for
8793 labels in custom-commands.
8795 * dynamic-setting.el: Renamed from font-setting.el.
8797 2010-04-21 John Wiegley <jwiegley@gmail.com>
8799 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
8800 toggles the use of virtual buffers.
8801 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
8802 (ido-toggle-virtual-buffers): New function.
8804 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
8806 Use `define-derived-mode'; fix window selection; doc fixes.
8807 * play/tetris.el (tetris, tetris-update-speed-function)
8808 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
8809 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
8810 (tetris-rotate-next, tetris-end-game, tetris-start-game)
8811 (tetris-pause-game): Fix typos in docstrings.
8812 (tetris-mode-map, tetris-null-map):
8813 Move initialization into declaration.
8814 (tetris-mode): Define with `define-derived-mode';
8815 set show-trailing-whitespace to nil.
8816 (tetris): Prefer window already displaying the "*Tetris*" buffer.
8818 2010-04-21 Karel Klíč <kklic@redhat.com>
8820 * files.el (backup-buffer): Handle SELinux context, and return it
8821 if a backup was made by renaming.
8822 (backup-buffer-copy): Set SELinux context to the target file.
8823 (basic-save-buffer): Set SELinux context of the newly written file.
8824 (basic-save-buffer-1): Now it also returns any SELinux context.
8825 (basic-save-buffer-2): Set SELinux context of the newly created file,
8827 * net/tramp.el (tramp-file-name-for-operation):
8828 Add file-selinux-context.
8830 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
8832 Make the log-edit comments use RFC822 format throughout.
8834 * vc.el (vc-checkin, vc-modify-change-comment):
8835 Adjust to new vc-start/finish-logentry.
8836 (vc-find-conflicted-file): New command.
8837 (vc-transfer-file): Adjust to new vc-checkin.
8838 (vc-next-action): Improve scoping.
8840 * vc-hg.el (vc-hg-log-edit-mode): Remove.
8841 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
8843 * vc-git.el (vc-git-log-edit-mode): Remove.
8844 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
8845 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
8847 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
8848 (vc-start-logentry): Remove argument `extra'.
8849 (vc-finish-logentry): Remove extra args.
8851 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
8852 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
8853 (vc-bzr-conflicted-files): New function.
8855 * log-edit.el (log-edit-extra-flags)
8856 (log-edit-before-checkin-process): Remove.
8857 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
8858 (log-edit-headers-alist): New var.
8859 (log-edit-header-contents-regexp): New const.
8860 (log-edit-match-to-eoh): New function.
8861 (log-edit-font-lock-keywords): Use them.
8862 (log-edit): Insert a "Summary:" header as default.
8863 (log-edit-mode): Mark font-lock rules as case-insensitive.
8864 (log-edit-done): Cleanup headers.
8865 (log-view-process-buffer): Remove.
8866 (log-edit-extract-headers): New function to replace it.
8868 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
8870 * subr.el (default-direction-reversed): Remove obsolescence info.
8872 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8874 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
8877 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
8878 I.e. include text after point in the completion region.
8879 Also, return nil when we're not after/in a symbol.
8881 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
8882 default enable-multibyte-characters.
8884 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8886 * international/mule.el: Help the user choose a valid coding-system.
8887 (read-buffer-file-coding-system): New function.
8888 (set-buffer-file-coding-system): Use it. Prompt the user if the
8889 coding-system cannot encode all the chars.
8891 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
8892 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
8893 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
8894 Don't use *vc-bzr-shelve*.
8896 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
8898 Fix the version number for added files.
8899 * vc-hg.el (vc-hg-working-revision): Check if the file is
8900 registered after hg parent fails (Bug#5961).
8902 2010-04-19 Glenn Morris <rgm@gnu.org>
8904 * htmlfontify.el (htmlfontify-buffer)
8905 (htmlfontify-copy-and-link-dir): Autoload entry points.
8907 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
8909 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
8910 name relative to the project root (Bug#5960).
8912 2010-04-19 Glenn Morris <rgm@gnu.org>
8914 * vc-git.el (vc-git-print-log): Doc fix.
8916 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
8918 * ido.el (ido-file-internal): Fix 2009-12-02 change.
8920 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
8922 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
8923 default settings (Bug#5928).
8925 2010-04-19 Glenn Morris <rgm@gnu.org>
8927 * progmodes/fortran.el (fortran-match-and-skip-declaration):
8929 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
8931 2010-04-19 Kenichi Handa <handa@m17n.org>
8933 * language/indian.el (malayalam-composable-pattern): Fix previous
8934 change (add U+0D4D "SIGN VIRAMA").
8935 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
8936 (tamil-composable-pattern): Fix typo in the regexp.
8937 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
8938 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
8939 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
8941 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
8943 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
8944 paragraph-separate (Bug#5821).
8946 2010-04-19 Juri Linkov <juri@jurta.org>
8948 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
8950 * info.el (Info-find-node-2): Comment out code that skips
8952 (Info-mouse-follow-link): New command.
8953 (Info-link-keymap): New keymap.
8954 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
8955 Return a string with links instead of inserting breadcrumbs
8957 (Info-fontify-node): Comment out code that inserts breadcrumbs.
8958 Instead of putting the `invisible' text property over the Info
8959 header, make an overlay over the Info header with the `invisible'
8960 property and `after-string' set to the string returned by
8963 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
8965 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
8966 Reported by monkey@sandpframing.com.
8968 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8970 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
8971 (tmm-get-keymap): Add key-binding shortcuts now that they're not
8972 available in the "keyseq cache" any more.
8974 * custom.el (defcustom): Add edebug spec.
8976 2010-04-18 Juri Linkov <juri@jurta.org>
8978 Test for special mode-class in view-buffer instead of view-file (bug#5513).
8980 * view.el (view-file, view-buffer): Move test for special mode-class
8981 from view-file to view-buffer.
8983 * tar-mode.el (tar-extract): Turn if's into one cond
8984 like in arc-mode.el.
8986 2010-04-18 Juri Linkov <juri@jurta.org>
8988 Add 7z archive format support (bug#5475).
8990 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
8991 (archive-7z-extract): New defcustom.
8992 (archive-find-type): Add magic string for 7z.
8993 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
8994 If `stderr-file' is non-nil, use `(t stderr-file)' for the
8995 `buffer' arg of `call-process'.
8996 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
8997 call the function `archive-7z-extract' with the variable
8998 `archive-7z-extract' let-bound to `archive-zip-extract'.
8999 (archive-7z-summarize, archive-7z-extract): New functions.
9001 * international/mule.el (auto-coding-alist):
9002 * files.el (auto-mode-alist): Add 7z file extension.
9004 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9006 * loadup.el: Setup hash-cons for pure data.
9008 Fix duplicate entries in cedet's loaddefs.el files.
9009 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
9010 Should make most file-local generated-autoload-file unnecessary.
9011 (print-readably): Silence warnings.
9012 (autoload-find-destination): Take load-name as an arg to make sure
9013 it's the same as the one that will be in the file.
9014 (autoload-generate-file-autoloads): Adjust to above changes.
9015 Try to make the dataflow a bit simpler.
9017 * cvs-status.el (cvs-refontify): Remove unused.
9019 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
9021 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
9023 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
9024 twos-complement mode.
9026 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
9028 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
9029 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
9030 (calc-inverse): Add "Option" to message, as appropriate.
9031 (calc-hyperbolic): Add "Option" to message, as appropriate.
9032 (calc-option, calc-is-option): New functions.
9034 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
9035 (calc-option-prefix-help): New function.
9037 * calc/calc-misc.el (calc-help): Add "Option" entry.
9039 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
9040 (calc-option-flag): New variable.
9041 (calc-do): Set `calc-option-flag to nil.
9042 (calc-set-mode-line): Add "Opt " as appropriate.
9044 2010-04-16 Juri Linkov <juri@jurta.org>
9046 Move scrolling commands from simple.el to window.el
9047 because their primitives are implemented in window.c.
9049 * simple.el (scroll-error-top-bottom)
9050 (scroll-up-command, scroll-down-command, scroll-up-line)
9051 (scroll-down-line, scroll-other-window-down)
9052 (beginning-of-buffer-other-window, end-of-buffer-other-window):
9053 * window.el (scroll-error-top-bottom)
9054 (scroll-up-command, scroll-down-command, scroll-up-line)
9055 (scroll-down-line, scroll-other-window-down)
9056 (beginning-of-buffer-other-window, end-of-buffer-other-window):
9057 Move from simple.el to window.el because their primitives are
9058 implemented in window.c.
9060 2010-04-16 Juri Linkov <juri@jurta.org>
9062 * isearch.el (isearch-lookup-scroll-key): Check both
9063 `isearch-scroll' and `scroll-command' properties.
9064 (scroll-up, scroll-down): Remove `isearch-scroll' property.
9066 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
9068 * simple.el (scroll-up-command, scroll-down-command)
9069 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
9071 2010-04-15 Juri Linkov <juri@jurta.org>
9073 * simple.el (scroll-up-command, scroll-down-command)
9074 (scroll-up-line, scroll-down-line): Put `scroll-command'
9075 property on the these symbols. Remove them from
9076 `scroll-preserve-screen-position-commands'.
9078 * mwheel.el (mwheel-scroll): Put `scroll-command' and
9079 `isearch-scroll' properties on the `mwheel-scroll' symbol.
9080 Remove it from `scroll-preserve-screen-position-commands'.
9082 * isearch.el (isearch-allow-scroll): Doc fix.
9084 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
9086 * net/tramp.el (tramp-error-with-buffer): Don't show the
9087 connection buffer when we are in completion mode.
9088 (tramp-file-name-handler): Catch the error for some operations
9089 when we are in completion mode. This gives the user the chance to
9090 correct the file name in the minibuffer.
9092 2010-04-15 Glenn Morris <rgm@gnu.org>
9094 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
9096 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
9098 Simplify by using `define-derived-mode'.
9099 * info.el (Info-mode):
9100 * calendar/todo-mode.el (todo-mode):
9101 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
9102 (gomoku-mode-map): Move initialization into declaration.
9104 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
9107 * ido.el (ido-file-name-all-completions-1):
9108 * minibuffer.el (minibuffer-completion-help):
9109 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
9111 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9113 * simple.el (non-essential): New var.
9115 Add a new field `location' to bookmarks for non-file bookmarks.
9116 * bookmark.el (bookmark-location): Use the new field, if present.
9117 (bookmark-insert-location): Undo last change, not needed any more.
9118 * man.el (Man-bookmark-make-record):
9119 * woman.el (woman-bookmark-make-record): Add `location' field.
9121 2010-04-14 Juri Linkov <juri@jurta.org>
9123 * simple.el (scroll-error-top-bottom): New defcustom.
9124 (scroll-up-command, scroll-down-command): Use it. Doc fix.
9126 * emulation/pc-select.el (pc-select-override-scroll-error):
9127 Obsolete in favor of `scroll-error-top-bottom'.
9129 2010-04-14 Juri Linkov <juri@jurta.org>
9131 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
9132 `scroll-up-command' and `M-v' to `scroll-down-command'.
9134 * emulation/cua-rect.el (cua--init-rectangles):
9135 * forms.el (forms--change-commands):
9136 * image-mode.el (image-mode-map):
9137 Remap scroll-down-command and scroll-up-command
9138 in addition to scroll-down and scroll-up.
9140 2010-04-14 Juri Linkov <juri@jurta.org>
9142 * mwheel.el (scroll-preserve-screen-position-commands):
9143 Add mwheel-scroll to this list of commands.
9145 * simple.el (scroll-preserve-screen-position-commands):
9146 Add scroll-up-command, scroll-down-command, scroll-up-line,
9147 scroll-down-line to this list of commands.
9149 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9151 * obsolete/complete.el: Move from lisp/complete.el.
9153 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
9155 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
9156 to the minor mode function now turns the mode ON unconditionally.
9158 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9160 * vc-dir.el (vc-dir-kill-line): New command.
9161 (vc-dir-mode-map): Bind it to C-k.
9163 * bookmark.el (bookmark-insert-location): Handle a nil filename.
9165 * woman.el: Add bookmark declarations to silence the compiler.
9166 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
9167 step to compatibility between man and woman bookmarks.
9168 Adjust for Man-default-bookmark-title renaming.
9169 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
9171 * man.el: Add bookmark declarations to silence the compiler.
9172 (Man-name-local-regexp): Make it match NAME as well.
9173 (Man-getpage-in-background): Return the buffer.
9174 (Man-notify-when-ready): Use `case'.
9175 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
9176 Don't hardcode "NAME". Simplify.
9177 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
9178 Rename from Man-bookmark-make-record.
9179 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
9180 we have the actual man-args. Use Man-getpage-in-background rather
9181 than `man' since the arg is already processed. Let bookmark.el do the
9182 window handling. Only wait for the relevant process.
9183 Don't forget to autoload.
9185 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
9187 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9189 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
9191 (woman-mode): Setup bookmark support.
9193 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
9194 (man-bookmark-jump): New functions.
9195 (Man-mode): Setup bookmark support.
9197 2010-04-10 Jari Aalto <jari.aalto@cante.net>
9199 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
9200 recognize ssh-keygen prompt (Bug#2817).
9202 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
9204 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
9206 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
9208 Synchronize with Tramp repository.
9210 * net/tramp.el (tramp-completion-function-alist)
9211 (tramp-file-name-regexp, tramp-chunksize)
9212 (tramp-local-coding-commands, tramp-remote-coding-commands):
9214 (tramp-remote-process-environment): Use `format' instead of `concat'.
9215 (tramp-handle-directory-files-and-attributes)
9216 (tramp-get-remote-path): Use `copy-tree'.
9217 (tramp-handle-file-name-all-completions): Backward/ XEmacs
9218 compatibility: Use `completion-ignore-case' if
9219 `read-file-name-completion-ignore-case' does not exist.
9220 (tramp-do-copy-or-rename-file-directly): Do not use
9221 `tramp-handle-file-remote-p'.
9222 (tramp-do-copy-or-rename-file-out-of-band):
9223 Use `tramp-compat-delete-directory'.
9224 (tramp-do-copy-or-rename-file-out-of-band)
9225 (tramp-compute-multi-hops, tramp-maybe-open-connection):
9226 Use `format-spec-make'.
9227 (tramp-find-foreign-file-name-handler)
9228 (tramp-advice-make-auto-save-file-name)
9229 (tramp-set-auto-save-file-modes): Remove superfluous check for
9230 `stringp'. This is done inside `tramp-tramp-file-p'.
9231 (tramp-debug-outline-regexp): New defconst.
9232 (tramp-get-debug-buffer): Use it.
9233 (tramp-check-for-regexp): Use (forward-line 1).
9234 (tramp-set-auto-save-file-modes): Adapt version check.
9236 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
9237 Wrap call of `featurep' for 2nd argument.
9238 (tramp-compat-make-temp-file): Simplify fallback implementation.
9239 (tramp-compat-copy-tree): Remove function.
9240 (tramp-compat-delete-directory): Provide implementation for older
9243 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
9244 Do not use `tramp-fish-handle-file-attributes.
9246 * net/trampver.el: Update release number.
9248 2010-04-10 Glenn Morris <rgm@gnu.org>
9250 * progmodes/compile.el (compilation-save-buffers-predicate):
9251 Add missing :version tag.
9253 2010-04-09 Sam Steingold <sds@gnu.org>
9255 * progmodes/compile.el (compilation-save-buffers-predicate):
9256 Remove the "autoload" cookie.
9258 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
9259 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
9260 and `bug-reference-prog-mode' can be used in hooks directly.
9262 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
9264 Add --author support to git commit.
9265 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
9266 (vc-git-log-edit-mode): New minor mode.
9267 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
9270 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
9272 * vc-hooks.el, vc-git.el: Improve documentation comments.
9274 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9276 Fix some of the problems in defsubst* (bug#5728).
9277 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
9278 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
9280 2010-04-07 Sam Steingold <sds@gnu.org>
9282 * progmodes/compile.el (compilation-save-buffers-predicate):
9283 New custom variable.
9284 (compile, recompile): Pass it to `save-some-buffers'.
9286 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
9288 * wid-edit.el (widget-choose): Move cursor to the second line of
9289 the buffer (Bug#5695).
9291 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
9293 Add new VC methods: vc-log-incoming and vc-log-outgoing.
9294 * vc.el (vc-print-log-setup-buttons): New function split out from
9295 vc-print-log-internal.
9296 (vc-log-internal-common): New function, a parametrized version of
9297 vc-print-log-internal.
9298 (vc-print-log-internal): Just call vc-log-internal-common with the
9300 (vc-incoming-outgoing-internal):
9301 (vc-log-incoming, vc-log-outgoing): New functions.
9302 (vc-log-view-type): New permanent local variable.
9304 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
9306 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
9307 of the dynamic bound vc-short-log.
9308 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
9310 * vc-git.el (vc-git-log-outgoing): New function.
9311 (vc-git-log-view-mode): Use vc-log-view-type instead
9312 of the dynamic bound vc-short-log.
9314 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
9315 of the dynamic bound vc-short-log. Highlight the tag.
9316 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
9317 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
9318 (vc-hg-incoming-mode): Remove.
9319 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
9321 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
9323 Fix default-directory for vc-root-diff.
9324 * vc.el (vc-root-diff): Bind default-directory to the root
9325 directory for the diff command.
9327 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
9329 * progmodes/verilog-mode.el (verilog-forward-sexp):
9330 (verilog-calc-1): Support "disable fork" and "fork wait" multi
9331 word keywords, suggested by Steve Pearlmutter.
9332 (verilog-pretty-declarations): Support lineup of declarations in
9334 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
9335 fix bug for /* / comments.
9336 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
9337 Speed up and simplfy as this is never called with a bound.
9338 (verilog-pretty-declarations): Enhance to line up declarations
9339 inside a parameter list, suggested by Alan Morgan.
9340 (verilog-pretty-expr): Tune assignment regular expression match
9341 string for corner cases; also use markers instead of character
9342 number as indent changes the later.
9344 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
9346 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
9348 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
9349 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
9350 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
9351 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
9354 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
9355 1800-2009 keywords, including "global.".
9357 2010-04-06 John Wiegley <jwiegley@gmail.com>
9359 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
9360 appearing in buffer list (if a live buffer name matched a recentf
9361 file basename). Should use uniquify to offer a real solution.
9363 2010-04-06 John Wiegley <jwiegley@gmail.com>
9365 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
9366 comment to code, and add a :version tag.
9367 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
9369 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
9371 Enable recentf-mode if using virtual buffers.
9372 * ido.el (recentf-list): Declare for byte-compiler.
9373 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
9374 (ido-make-buffer-list): Simplify.
9375 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
9377 2010-04-05 Juri Linkov <juri@jurta.org>
9379 Scrolling commands which scroll a line instead of full screen.
9380 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
9382 * simple.el (scroll-up-line, scroll-down-line): New commands.
9383 Put property isearch-scroll=t on them.
9385 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
9388 2010-04-05 Juri Linkov <juri@jurta.org>
9390 Scrolling commands which do not signal errors at top/bottom.
9391 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
9393 * simple.el (scroll-up-command, scroll-down-command): New commands.
9394 Put property isearch-scroll=t on them.
9396 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
9397 `scroll-down-command' and [next] from `scroll-up' to
9398 `scroll-up-command'.
9400 * emulation/cua-base.el: Put property CUA=move on
9401 `scroll-up-command' and `scroll-down-command'.
9402 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
9403 and `scroll-down-command' to `cua-scroll-down'.
9405 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
9407 * help.el (describe-mode): Return nil.
9409 2010-04-04 John Wiegley <jwiegley@gmail.com>
9411 * ido.el (ido-use-virtual-buffers): New variable to indicate
9412 whether "virtual buffer" support is enabled for IDO.
9413 (ido-virtual): Face used to indicate virtual buffers in the list.
9414 (ido-buffer-internal): If a buffer is chosen, and no such buffer
9415 exists, but a virtual buffer of that name does (which would be why
9416 it was in the list), recreate the buffer by reopening the file.
9417 (ido-make-buffer-list): If virtual buffers are being used, call
9418 `ido-add-virtual-buffers-to-list' before the make list hook.
9419 (ido-virtual-buffers): New variable which contains a copy of the
9420 current contents of the `recentf-list', albeit pared down for the
9421 sake of speed, and with proper faces applied.
9422 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
9423 create a list of "virtual buffers" to present to the user in
9424 addition to the currently open set. Note that this logic could
9425 get rather slow if that list is too large. With the default
9426 `recentf-max-saved-items' of 200, there is little speed penalty.
9428 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
9430 * font-lock.el: Require CL when compiling.
9431 (font-lock-turn-on-thing-lock): Use `case'.
9433 2010-04-03 Eli Zaretskii <eliz@gnu.org>
9435 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
9438 2010-04-02 Juri Linkov <juri@jurta.org>
9440 * ehelp.el (electric-help-orig-major-mode):
9441 New buffer-local variable.
9442 (electric-help-mode): Set it to original major-mode. Doc fix.
9443 (with-electric-help): Use `electric-help-orig-major-mode' instead
9444 of (default-value 'major-mode). Doc fix.
9445 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
9447 2010-04-02 Sam Steingold <sds@gnu.org>
9449 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
9450 `vc-hg-command' with a list of flags.
9452 * progmodes/bug-reference.el (bug-reference-bug-regexp):
9453 Also accept "patch" and "RFE".
9454 (bug-reference-fontify): `bug-reference-url-format' can also be a
9455 function to be able to handle the bug kind.
9456 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
9458 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
9460 * tmm.el (tmm-get-keymap): Check with symbolp before passing
9461 value to fboundp, it may not be a symbol.
9463 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9465 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
9467 2010-03-31 Juri Linkov <juri@jurta.org>
9469 * simple.el (next-line, previous-line): Re-throw a signal
9470 with `signal' instead of using `ding'.
9471 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
9473 2010-03-31 Juri Linkov <juri@jurta.org>
9475 * simple.el (keyboard-escape-quit): Raise deselecting the active
9476 region higher than exiting the minibuffer.
9477 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
9479 2010-03-31 Juri Linkov <juri@jurta.org>
9481 * image.el (image-animated-p): Use `image-metadata' instead of
9482 `image-extension-data'. Get GIF extenstion data from metadata
9483 property `extension-data'.
9485 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9487 * simple.el (append-to-buffer): Simplify.
9489 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
9491 * textmodes/artist.el (artist-mode): Fix typo in docstring.
9492 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
9494 2010-03-31 Kenichi Handa <handa@m17n.org>
9496 * language/sinhala.el (composition-function-table): Fix regexp for
9497 the new Unicode specification.
9499 * language/indian.el (devanagari-composable-pattern)
9500 (tamil-composable-pattern, kannada-composable-pattern)
9501 (malayalam-composable-pattern): Adjust for the new Unicode
9503 (bengali-composable-pattern, gurmukhi-composable-pattern)
9504 (gujarati-composable-pattern, oriya-composable-pattern)
9505 (telugu-composable-pattern): New variables to cope with the new
9506 Unicode specification. Use them in composition-function-table.
9508 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9510 Make tmm-menubar work for the Buffers menu again (bug#5726).
9511 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
9512 vectors rather than cons cells, as used in menu-bar-update-buffers.
9514 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9516 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
9517 (js-insert-and-indent): Revert 2009-08-15 change, restoring
9518 electric punctuation for "{}();,:" (Bug#5586).
9520 * mail/sendmail.el (mail-default-directory): Doc fix.
9522 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9524 * mail/sendmail.el (mail-default-directory): Doc fix.
9526 2010-03-31 Eli Zaretskii <eliz@gnu.org>
9528 * subr.el (version-regexp-alist, version-to-list)
9529 (version-list-<, version-list-=, version-list-<=)
9530 (version-list-not-zero, version<, version<=, version=): Doc fix.
9533 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
9535 * vc.el (vc-root-diff): Doc fix.
9537 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9539 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
9541 * simple.el (append-to-buffer): Fix last change.
9543 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9545 * simple.el (append-to-buffer): Ensure that point is preserved if
9546 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
9549 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9551 * files.el (auto-mode-case-fold): Change default to t.
9553 2010-03-30 Juri Linkov <juri@jurta.org>
9555 * dired-x.el (dired-omit-mode): Doc fix.
9557 2010-03-30 Juri Linkov <juri@jurta.org>
9559 * replace.el (occur-accumulate-lines): Move occur-engine related
9560 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
9561 to be located after `occur-engine'.
9563 2010-03-30 Juri Linkov <juri@jurta.org>
9565 Make occur handle multi-line matches cleanly with context.
9566 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
9568 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
9569 (occur-engine): Add local variables `ret', `prev-after-lines',
9570 `prev-lines'. Use more arguments for `occur-context-lines'.
9571 Set first elem of its returned list to `data', and the second elem
9572 to `prev-after-lines'. Don't print the separator line.
9573 In the end, print remaining context after-lines.
9574 (occur-context-lines): Add new arguments `begpt', `endpt',
9575 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
9576 after-lines of the previous match with before-lines of the
9577 current match and not overlap them. Return a list with two
9578 values: the output line and the list of context after-lines.
9580 2010-03-30 Juri Linkov <juri@jurta.org>
9582 * replace.el (occur-accumulate-lines): Fix a bug where the first
9583 context line at the beginning of the buffer was missing.
9585 2010-03-30 Eli Zaretskii <eliz@gnu.org>
9587 * files.el: Make bidi-display-reordering safe variable for boolean
9590 2010-03-29 Phil Hagelberg <phil@evri.com>
9591 Chong Yidong <cyd@stupidchicken.com>
9593 * subr.el: Extend progress reporters to perform "spinning".
9594 (progress-reporter-update, progress-reporter-do-update):
9595 Handle non-numeric value arguments.
9596 (progress-reporter--pulse-characters): New var.
9598 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
9600 * progmodes/compile.el (compilation-start): Fix regexp detection
9601 of initial cd command (Bug#5771).
9603 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
9605 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
9607 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
9609 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
9610 * progmodes/gdb-mi.el: Restore.
9611 * progmodes/gdb-ui.el: Remove.
9612 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
9614 2010-03-25 Glenn Morris <rgm@gnu.org>
9616 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
9617 all dired buffers, even tramp ones. (Bug#5755)
9619 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9621 Add "union tags" in mpc.el.
9622 * mpc.el: Remove backward compatibility code.
9623 (mpc-browser-tags): Change default.
9624 (mpc--find-memoize-union-tags): New var.
9625 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
9626 (mpc-cmd-find): Handle the case where the playlist does not exist.
9628 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
9629 (mpc-cmd-add): Use mpc-cmd-flush.
9630 (mpc-tagbrowser-tag-name): New fun.
9631 (mpc-tagbrowser-buf): Use it.
9632 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
9634 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
9637 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
9638 Use replace-regexp-in-string.
9639 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
9640 (makefile-imake-mode-syntax-table): Move init into defvar.
9641 (makefile-mode): Use define-derived-mode.
9643 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
9644 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
9645 not be present any more.
9647 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
9649 * faces.el (set-face-attribute): Fix typo in docstring.
9650 (face-valid-attribute-values): Reflow docstring.
9652 2010-03-24 Glenn Morris <rgm@gnu.org>
9654 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
9656 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
9658 * indent.el (indent-for-tab-command): Doc fix.
9660 2010-03-24 Alan Mackenzie <acm@muc.de>
9662 * progmodes/cc-engine.el (c-remove-stale-state-cache):
9663 Fix off-by-one error. Fixes bug #5747.
9665 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
9667 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
9668 (image-dired-read-comment): Doc fix.
9670 * json.el (json-object-type, json-array-type, json-key-type)
9671 (json-false, json-null, json-read-number):
9672 * minibuffer.el (completion-in-region-functions):
9673 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
9674 (cal-tex-cursor-week):
9675 * emacs-lisp/trace.el (trace-function):
9676 * eshell/em-basic.el (eshell/printnl):
9677 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
9678 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
9679 * obsolete/levents.el (allocate-event, event-key, event-object)
9680 (event-point, event-process, event-timestamp, event-to-character)
9681 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
9682 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
9683 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
9684 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
9685 (reftex-highlight-selection): Fix typos in docstrings.
9687 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
9689 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
9691 2010-03-24 Glenn Morris <rgm@gnu.org>
9693 * mail/rmail.el (rmail-highlight-face): Restore option deleted
9694 2008-02-13 without comment; mark it obsolete.
9695 (rmail-highlight-headers): Use rmail-highlight-face once more.
9697 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
9699 * woman.el (woman2-process-escapes): Only consume the newline if
9700 the filler character is on a line by itself (Bug#5729).
9702 2010-03-24 Kenichi Handa <handa@m17n.org>
9704 * language/indian.el (devanagari-composable-pattern): Add more
9707 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
9709 * net/trampver.el: Update release number.
9711 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
9713 * net/tramp.el (tramp-find-executable):
9714 Use `tramp-get-connection-buffer'. Make the regexp for checking
9715 output of "wc -l" more robust.
9716 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
9717 (tramp-open-connection-setup-interactive-shell): Remove workaround
9718 for OpenSolaris bug, it is not needed anymore.
9720 2010-03-24 Glenn Morris <rgm@gnu.org>
9722 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
9724 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
9726 * files.el (auto-mode-alist): Accept more verilog file patterns.
9728 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
9730 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
9732 2010-03-24 Glenn Morris <rgm@gnu.org>
9734 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
9735 log-edit-before-checkin-process.
9737 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
9739 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
9741 * vc-dispatcher.el (vc-start-logentry): Doc fix.
9742 (log-view-process-buffer, log-edit-extra-flags): Declare.
9744 * log-edit.el (log-edit-before-checkin-process): Doc fix.
9746 2010-03-23 Sam Steingold <sds@gnu.org>
9748 Fix bug#5620: recalculate all markers on compilation buffer
9749 modifications, not on file modifications.
9750 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
9751 variable: the buffer modification time, for buffers not associated with
9753 (compilation-mode): Create it.
9754 (compilation-filter): Update it.
9755 (compilation-next-error-function): Use it instead of
9756 `visited-file-modtime' for timestamp.
9758 2010-03-23 Juri Linkov <juri@jurta.org>
9760 Implement Occur multi-line matches.
9761 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
9763 * replace.el (occur): Doc fix.
9764 (occur-engine): Set `begpt' to the beginning of the first line.
9765 Set `endpt' to the end of the last match line. At first, count
9766 line numbers between `origpt' and `begpt'. Split out code from
9767 `out-line' variable to new let-bindings `match-prefix' and
9768 `match-str'. In `out-line' add non-numeric prefix to all
9769 non-first lines of multi-line matches. Finally, count lines
9770 between `begpt' and `endpt' and add to `lines'.
9772 2010-03-23 Juri Linkov <juri@jurta.org>
9774 * replace.el (occur-accumulate-lines, occur-engine):
9775 Use `occur-engine-line' instead of duplicate code.
9776 (occur-engine-line): New function created from duplicate code
9777 in `occur-accumulate-lines' and `occur-engine'.
9779 * replace.el (occur-engine-line): Add optional arg `keep-props'.
9780 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
9782 2010-03-23 Juri Linkov <juri@jurta.org>
9784 * finder.el: Remove TODO tasks.
9786 * info.el (Info-finder-find-node): Add node "all"
9787 with all package info. Handle a list of multiple keywords
9789 (info-finder): In interactive use with a prefix argument,
9790 use `completing-read-multiple' to read a list of keywords
9793 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9795 Add a new completion style `substring'.
9796 * minibuffer.el (completion-basic--pattern): New function.
9797 (completion-basic-try-completion, completion-basic-all-completions):
9799 (completion-substring--all-completions)
9800 (completion-substring-try-completion)
9801 (completion-substring-all-completions): New functions.
9802 (completion-styles-alist): New style `substring'.
9804 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
9806 Get rid of .elc files after removal of the corresponding .el.
9807 * Makefile.in (compile-clean): New target.
9808 (compile-main): Use it.
9810 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
9812 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
9813 don't do make there. When compiling with separate object dir, there
9814 is no Makefile there.
9816 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
9818 Get rid of the ELCFILES abomination, again.
9819 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
9820 (all, compile): Don't call compile-last.
9821 (compile-main): Build the "elcfiles" list dynamically.
9822 (compile-targets): New (internal) target.
9824 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
9826 * Makefile.in (top_srcdir): Define.
9827 (abs_top_builddir): Define.
9828 (srcdir): Don't append `/..'.
9829 (EMACS): Use ${abs_top_builddir}.
9830 (all, compile, compile-always, compile-last): Don't set emacswd.
9831 (update-subdirs, update-authors): Use $(top_srcdir) instead of
9833 (lisp): Use $(srcdir) instead of @srcdir@.
9835 2010-03-21 Juri Linkov <juri@jurta.org>
9837 Fix message of multi-line occur regexps and multi-buffer header lines.
9838 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
9840 * replace.el (occur-1): Don't display regexp if it is longer
9841 than window-width. Use `query-replace-descr' to display regexp.
9842 (occur-engine): Don't display regexp in the buffer header for
9843 multi-buffer occur. Display a separate header line with total
9844 match count and regexp for multi-buffer occur.
9845 Use `query-replace-descr' to display regexp.
9847 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
9849 * net/secrets.el: Fix parenthesis.
9850 (secrets-enabled): Fix parenthesis.
9852 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9854 Use more relative file and directory names.
9855 * Makefile.in (EMACS): Arrange for it to work when we chdir.
9856 (setwins, setwins_almost, setwins_for_subdirs):
9857 Don't `cd'; output relative names.
9858 (all, compile, compile-always, compile-last): Set emacswd.
9859 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
9860 Just cd to the lisp source dir so we can use relative file names.
9862 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
9864 2010-03-20 Glenn Morris <rgm@gnu.org>
9866 * textmodes/rst.el: Use faces for font-lock customization, and make the
9867 old -face variables obsolete.
9868 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
9869 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
9870 (rst-block-face, rst-external-face, rst-definition-face)
9871 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
9872 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
9874 (rst-font-lock-keywords-function): Update for above changes.
9876 2010-03-20 Juri Linkov <juri@jurta.org>
9879 * obsolete/s-region.el: Move to obsolete.
9881 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
9883 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
9885 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
9887 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
9889 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
9891 Add special markup processing for commit logs.
9892 * log-edit.el (log-edit-extra-flags): New variable.
9893 (log-edit): Add new argument MODE. Use that mode when non-nil
9894 instead of the log-view-mode.
9895 (log-view-process-buffer): New function.
9897 * vc.el: Document that the checkin method takes optional
9898 arguments. Document new backend specific method: log-view-mode.
9899 (vc-default-log-edit-mode): New function.
9900 (vc-checkin): Use a backend specific log-view-mode.
9901 Pass extra arguments to the checkin method.
9902 (vc-modify-change-comment): Pass a dummy extra argument.
9904 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
9906 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
9907 (vc-finish-logentry): Process the log buffer before passing it
9908 down. Pass log-edit-extra-flags.
9910 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
9912 (log-edit-extra-flags, log-edit-before-checkin-process):
9915 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
9917 (log-edit-extra-flags, log-edit-before-checkin-process):
9919 (vc-hg-log-edit-mode): New derived mode.
9921 * vc-arch.el (vc-arch-checkin):
9922 * vc-cvs.el (vc-cvs-checkin):
9923 * vc-git.el (vc-git-checkin):
9924 * vc-mtn.el (vc-mtn-checkin):
9925 * vc-rcs.el (vc-rcs-checkin):
9926 * vc-sccs.el (vc-sccs-checkin):
9927 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
9929 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9931 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
9934 2010-03-19 Glenn Morris <rgm@gnu.org>
9936 * password-cache.el (password-cache, password-cache-expiry): Autoload.
9938 2010-03-18 Glenn Morris <rgm@gnu.org>
9940 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
9942 * replace.el (query-replace-history): Give it a doc string.
9943 (map-query-replace-regexp): Use query-replace-from-history-variable
9944 and query-replace-to-history-variable.
9946 * mail/hashcash.el (declare-function): Remove duplicate definition.
9948 * mail/emacsbug.el (report-emacs-bug-pretest-address):
9949 Make it an obsolete alias for report-emacs-bug-address.
9950 (message-strip-special-text-properties): Declare.
9951 (report-emacs-bug): Remove test for a pretest bug address.
9952 Combine message-mode-specific code.
9954 * mail/supercite.el: Don't require sendmail.
9955 (mh-in-header-p): Declare rather than using with-no-warnings.
9956 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
9957 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
9959 * calendar/cal-french.el: Convert to utf-8.
9961 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
9964 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
9966 * net/secrets.el (secrets-enabled): New variable. Use it instead
9969 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
9971 * net/secrets.el (top): Register the D-Bus signals only when the
9972 service "org.freedesktop.secrets" can be pinged.
9973 Provide subfeature `enabled'.
9975 2010-03-14 Juri Linkov <juri@jurta.org>
9977 Add finder unknown keywords.
9979 * finder.el (finder-unknown-keywords): New function.
9981 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
9982 to create a Finder node with unknown keywords.
9984 2010-03-14 Juri Linkov <juri@jurta.org>
9986 * finder.el (finder-compile-keywords): Replace `princ' with
9987 `prin1' on a list of symbols interned from keyword strings.
9989 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
9990 a comma, then split keywords using a comma and optional whitespace.
9991 Otherwise, split by whitespace.
9999 * progmodes/mixal-mode.el: Fix keywords.
10001 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
10003 * Makefile.in (ELCFILES): Add net/secrets.elc.
10005 * net/secrets.el: New file.
10007 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10009 * facemenu.el (list-colors-display, list-colors-print): New arg
10010 callback. Use it to allow selecting colors.
10012 * wid-edit.el (widget-image-insert): Insert image prop even if the
10013 current display is non-graphic.
10014 (widget-field-value-set): New fun.
10015 (editable-field): Use it.
10016 (widget-field-value-get): Clean up unused var.
10017 (widget-color-value-create, widget-color--choose-action):
10018 New funs. Allow using list-colors-display to choose color.
10020 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10022 * cus-edit.el: Resort topmost custom groups.
10023 (custom-buffer-sort-alphabetically): Default to t.
10024 (customize-apropos): Use apropos-parse-pattern.
10025 (custom-search-field): New var.
10026 (custom-buffer-create-internal): Add custom-apropos search field.
10027 (custom-add-parent-links): Don't display parent doc.
10028 (custom-group-value-create): Don't sort top-level custom group.
10029 (custom-magic-value-create): Show visibility button before option name.
10031 (custom-variable-state): New fun, from custom-variable-state-set.
10032 (custom-variable-state-set): Use it.
10033 (custom-group-value-create): Hide options with standard values
10034 using the :hidden-states property. Use progress reporter.
10036 (custom-show): Simplify.
10037 (custom-visibility): Disable images by default.
10038 (custom-variable): New property :hidden-states.
10039 (custom-variable-value-create): Enable images for
10040 custom-visibility widgets. Use :hidden-states property to
10041 determine initial visibility.
10043 * wid-edit.el (widget-image-find): Give images center ascent.
10044 (visibility): Add :on-image and :off-image properties.
10045 (widget-visibility-value-create): Use them.
10047 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10049 * cus-edit.el (processes): Remove from development group.
10050 (oop, hypermedia): Delete group.
10051 (comm): Promote to top-level group.
10053 * net/browse-url.el (browse-url):
10054 * net/xesam.el (xesam):
10055 * net/tramp.el (tramp):
10056 * net/goto-addr.el (goto-address):
10057 * net/ange-ftp.el (ange-ftp): Put in comm group.
10059 * view.el (view): Remove from editing group.
10061 * uniquify.el (uniquify): Put in files group.
10063 * net/browse-url.el (browse-url):
10064 * ps-print.el (postscript): Put in external group.
10066 * cus-edit.el (outlines):
10067 * textmodes/text-mode.el (text-mode-hook):
10068 * textmodes/table.el (table):
10069 * textmodes/picture.el (picture):
10070 * outline.el (outlines): Put in wp group.
10072 * nxml/nxml-mode.el (nxml): Remove from wp group.
10074 * net/tramp-imap.el (tramp-imap): Put in tramp group.
10076 * mail/metamail.el (metamail): Remove from hypermedia group.
10078 * cus-edit.el (abbrev):
10079 * whitespace.el (whitespace):
10080 * vcursor.el (vcursor):
10081 * reveal.el (reveal):
10082 * hl-line.el (hl-line): Put in convenience group.
10084 * epg-config.el (epg): Put in data group.
10086 * emulation/pc-select.el (pc-select): Put in emulations group.
10088 * calculator.el (calculator): Put in applications group.
10090 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
10092 Add .dir-locals.el support for file-less buffers.
10093 * files.el (hack-local-variables): Split out code to apply local
10094 variable settings ...
10095 (hack-local-variables-apply): ... here. New function.
10096 (hack-dir-local-variables): Use the default directory for when the
10097 buffer does not have an associated file.
10098 (hack-dir-local-variables-non-file-buffer): New function.
10099 * diff-mode.el (diff-mode):
10100 * vc-annotate.el (vc-annotate-mode):
10101 * vc-dir.el (vc-dir-mode):
10102 * log-edit.el (log-edit-mode):
10103 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
10105 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
10107 Add support for shelving snapshots and for showing shelves.
10108 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
10109 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
10111 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
10112 (vc-bzr-extra-menu-map): Map them.
10114 2010-03-11 Glenn Morris <rgm@gnu.org>
10116 * cus-edit.el (customize-changed-options-previous-release):
10119 * image.el (image-animate-max-time): Fix :version tag.
10121 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
10125 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
10127 * vc-git.el (vc-git-revision-table): Include remote branches.
10129 2010-03-10 Kim F. Storm <storm@cua.dk>
10131 Animated image API.
10132 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
10134 * image.el (image-animate-max-time): New defcustom.
10135 (image-animated-types): New defconst.
10136 (create-animated-image, image-animate-timer)
10137 (image-animate-start, image-animate-stop, image-animate-timeout)
10138 (image-animated-p): New functions.
10140 * image-mode.el (image-toggle-display-image):
10141 Replace `create-image' with `create-animated-image'.
10143 2010-03-09 Miles Bader <miles@gnu.org>
10145 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
10146 instead of "format:"; this ensures that the output is
10147 newline-terminated.
10149 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
10151 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
10152 that all errors are caught, and that the return value is always a
10155 2010-03-08 Kenichi Handa <handa@m17n.org>
10157 * language/misc-lang.el (windows-1256): New coding system.
10158 (cp1256): New alias of windows-1256 (bug#5690).
10160 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
10162 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
10163 call to rfc822-bad-address. (Bug#5692)
10165 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
10167 * vc-git.el (vc-git-annotate-extract-revision-at-line):
10168 Use vc-git-root as default directory for revision path (Bug#5657).
10170 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
10172 * calculator.el (calculator): Don't bind split-window-keep-point
10175 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
10177 * vc-git.el: Re-flow to fit into 80 columns.
10178 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
10179 Remove spurious `quote' element in each case alternative.
10180 (vc-git-show-log-entry): Use prog1.
10181 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
10183 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
10185 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
10187 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
10189 * macros.el (insert-kbd-macro): Look up keyboard macro using the
10190 definition, not the name (Bug#5481).
10192 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
10194 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
10195 argument with a local variable. (Bug#5670)
10197 2010-03-02 Juri Linkov <juri@jurta.org>
10199 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
10201 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
10203 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
10204 error when FILENAME and NEWNAME are existing remote directories.
10206 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
10207 parameter DIR-FLAG.
10209 2010-03-02 Glenn Morris <rgm@gnu.org>
10211 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
10212 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
10214 2010-03-01 Kenichi Handa <handa@m17n.org>
10216 * language/burmese.el (burmese-composable-pattern): Rename from
10217 myanmar-composable-pattern.
10219 * international/characters.el (script-list):
10220 * international/fontset.el (script-representative-chars):
10221 Change myanmar to burmese.
10222 (otf-script-alist): Likewise.
10223 (setup-default-fontset): Likewise. Re-fix :otf spec.
10225 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
10227 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
10229 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
10231 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
10233 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
10235 * net/tramp.el (tramp-handle-write-region): START can be a string.
10236 Take care in the checks. Reported by Dan Davison
10237 <davison@stats.ox.ac.uk>.
10239 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
10241 * net/dbus.el (dbus-introspect, dbus-get-property)
10242 (dbus-set-property, dbus-get-all-properties):
10243 Use `dbus-call-method' when noninteractive. (Bug#5645)
10245 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
10247 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
10248 * emacs-lisp/elint.el (elint-add-required-env):
10249 * calendar/icalendar.el (icalendar--add-diary-entry):
10250 * calc/calcalg2.el (math-tracing-integral):
10251 * files.el (recover-session-finish): Use with-current-buffer
10252 instead of save-excursion.
10254 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
10256 Fix in-buffer completion when after-change-functions modify the buffer.
10257 * minibuffer.el (completion--replace): New function.
10258 (completion--do-completion): Use it and use relative movement.
10260 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
10262 * international/fontset.el (setup-default-fontset): Fix :otf spec.
10264 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
10266 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
10267 Allow the characters _<> in the stack entry (Bug#5653).
10269 2010-02-26 Kenichi Handa <handa@m17n.org>
10271 * language/burmese.el: Fix entries in composition-function-table.
10272 (myanmar-composable-pattern): New variable.
10274 * international/fontset.el (setup-default-fontset): Add an entry
10277 * international/characters.el (script-list): Add Myanmar
10280 2010-02-26 Glenn Morris <rgm@gnu.org>
10282 * custom.el (custom-initialize-delay): Doc fix.
10284 * mail/sendmail.el (send-mail-function): Autoload the call
10285 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
10287 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
10289 * files.el (hack-local-variables-filter): For eval forms, also
10290 check safe-local-variable-p (Bug#5636).
10292 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
10294 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
10295 setting the modes by `ignore-errors'. It might fail, for example
10296 if the file is not owned by the user but the group.
10297 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
10299 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
10301 * files.el (directory-listing-before-filename-regexp):
10302 Use stricter matching for iso-style dates, to avoid false matches with
10303 date-like filenames (Bug#5597).
10305 * htmlfontify.el (htmlfontify): Doc fix.
10307 * eshell/eshell.el (eshell): Doc fix.
10309 * startup.el (fancy-about-screen): In mode-line, apply
10310 mode-line-buffer-id face only to the buffer name (Bug#5613).
10312 2010-02-20 Kevin Ryde <user42@zip.com.au>
10314 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10315 In `watcom' anchor regexp to start of line, to avoid slowness
10318 2010-02-20 Eli Zaretskii <eliz@gnu.org>
10320 * subr.el (remove-yank-excluded-properties): Explain in a comment
10321 why `category' property is removed.
10323 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
10325 * isearch.el (isearch-update-post-hook, isearch-update):
10326 Revert 2010-02-17 change.
10328 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
10330 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
10331 (icalendar--convert-weekly-to-ical)
10332 (icalendar--convert-yearly-to-ical)
10333 (icalendar--convert-block-to-ical)
10334 (icalendar--convert-cyclic-to-ical)
10335 (icalendar--convert-anniversary-to-ical): Take care of time
10336 specifications where hour has 1-digit only (Bug#5549).
10338 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
10340 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
10341 of disassemble output in GDB 7.1.
10343 2010-02-19 Glenn Morris <rgm@gnu.org>
10345 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
10346 property. (Bug#5593)
10348 2010-02-18 Sam Steingold <sds@gnu.org>
10350 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
10352 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
10354 Use abbreviated file names in bookmarks (bug#5591).
10355 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
10356 calls to expand-file-name.
10357 (bookmark-relocate): Use abbreviated file names in bookmarks.
10358 (bookmark-load): Use abbreviated file names in messages.
10360 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
10362 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
10363 expand "." and "..". Reported by Thierry Volpiatto
10364 <thierry.volpiatto@gmail.com>.
10366 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
10368 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
10369 permissions of the temporary file to "0600". In case the remote
10370 file has no read permissions for the owner, there might be
10371 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
10373 22010-02-18 Glenn Morris <rgm@gnu.org>
10375 * emacs-lisp/authors.el (authors-renamed-files-alist):
10376 Add entries for INSTALL.CVS.
10378 2010-02-17 Mark A. Hershberger <mah@everybody.org>
10380 * vc-bzr.el: Fix typo in Known Bugs section.
10382 * isearch.el (isearch-update-post-hook): New hook.
10383 (isearch-update): Use the new hook.
10385 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
10387 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
10388 Fix errors in copying directories.
10389 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
10390 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
10391 (tramp-handle-delete-file)
10392 (tramp-handle-dired-recursive-delete-directory)
10393 (tramp-handle-write-region): Flush also the cache for the upper
10396 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
10398 * simple.el (save-interprogram-paste-before-kill): Doc fix.
10400 * cus-edit.el (hardware): Doc fix.
10402 * man.el (man): Add to external custom group.
10404 * delim-col.el (columns): Move to wp custom group.
10406 * doc-view.el (doc-view): Add to data custom group.
10408 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
10410 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
10411 by ispell-parse-output (Bug#5575).
10413 2010-02-16 Kenichi Handa <handa@m17n.org>
10415 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
10416 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
10417 (skkdic-convert): Use `euc-japan' coding system for writing.
10419 2010-02-16 Glenn Morris <rgm@gnu.org>
10421 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
10422 tex-main-file before using it. (Bug#5562)
10424 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
10426 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
10427 warnings, since it is annoying for the user to see them each time he
10430 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
10432 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
10433 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
10434 instead of PROC for caching "first-password-request". Otherwise,
10435 new processes would not profit from passwords already entered.
10437 * net/tramp-cache.el (tramp-dump-connection-properties):
10438 Don't save "first-password-request" property.
10440 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
10442 * outline.el (outline-head-from-level):
10443 * simple.el (with-wrapper-hook):
10444 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
10445 (elint-defun, elint-buffer-env, elint-top-form-logged)
10446 (elint-unbound-variable):
10447 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
10448 Fix typos in docstrings.
10450 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
10452 * files.el (insert-directory): When WILDCARD-REGEXP and
10453 FULL-DIRECTORY-P are nil, insert the file entry instead of the
10454 whole directory. (Bug#5551)
10456 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
10457 dired's alignment sanity. (Bug#5516)
10459 2010-02-14 Juri Linkov <juri@jurta.org>
10461 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
10462 Remove remaining ^H with their preceding chars. (Bug#5566)
10464 2010-02-13 Glenn Morris <rgm@gnu.org>
10466 * simple.el (transpose-subr): Give it a doc-string.
10468 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
10471 2010-02-12 Juri Linkov <juri@jurta.org>
10473 * arc-mode.el (archive-unique-fname): Make directories for nested
10474 archives. (Bug#5540)
10476 2010-02-12 Juri Linkov <juri@jurta.org>
10478 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
10480 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
10482 * subr.el (copy-overlay): Handle deleted overlays.
10484 * man.el (Man-completion-table): Don't signal an error if we can't run
10485 manual-program (bug#4056).
10487 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
10489 * textmodes/artist.el (artist-mt): Fix typos in docstring.
10491 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10493 * info.el (Info-bookmark-jump): Simplify.
10495 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
10496 (bookmark-default-handler): Accept new bookmark field `buffer'.
10498 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
10500 * iswitchb.el (iswitchb-completions): Revert last change.
10502 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
10504 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
10505 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
10506 This prevents file names like "~/" being listed literally.
10508 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
10510 * term/xterm.el (xterm-maybe-set-dark-background-mode):
10511 Remove dead code. (Bug#5546)
10513 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
10515 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
10516 correctly (Bug#5548).
10518 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
10520 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
10521 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
10523 2010-02-08 Kenichi Handa <handa@m17n.org>
10525 * international/mule-util.el (with-coding-priority): Add autoload
10526 cookie for putting `lisp-indent-function'.
10528 2010-02-07 Glenn Morris <rgm@gnu.org>
10530 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
10531 Move F2003 named interfaces from keywords-2 to keywords-1, and
10532 use function-name-face rather than constant-face.
10533 Simplify "abstract interface" regexp.
10535 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
10537 * eshell/esh-util.el (eshell-file-attributes): New optional arg
10538 ID-FORMAT. Pass it to `file-attributes'.
10540 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
10542 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
10544 * faces.el (set-face-attribute): Allow calling
10545 internal-set-lisp-face-attribute with 'unspecified family and
10546 foundry argument (Bug#5536).
10548 2010-02-07 Glenn Morris <rgm@gnu.org>
10550 * progmodes/f90.el (f90-font-lock-keywords-2)
10551 (f90-looking-at-type-like, f90-looking-at-program-block-end):
10552 Handle F2003 named interfaces.
10554 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
10556 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
10557 beg and end before calling c-get-state-before-change-functions.
10559 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
10561 * vc-bzr.el (vc-bzr-dir-extra-headers):
10562 Disable the pending merges header.
10564 2010-02-05 Juri Linkov <juri@jurta.org>
10566 * doc-view.el (doc-view-mode):
10567 * image-mode.el (image-mode): Put property mode-class=special.
10570 2010-02-05 Mark A. Hershberger <mah@everybody.org>
10572 * vc-svn.el (vc-svn-revision-table): New function.
10574 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
10576 * net/ange-ftp.el (ange-ftp-insert-directory):
10577 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
10578 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
10579 Handle also directories. (Bug#5478)
10581 2010-02-05 Glenn Morris <rgm@gnu.org>
10583 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
10585 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
10587 * startup.el (command-line-1): Convert options beginning with a
10588 single dash as well (Bug#5519).
10590 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
10592 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
10593 * minibuffer.el (completion-initials-expand): Only check the presence
10594 of delims *within* the boundaries, since otherwise the / delim is
10595 always found for files.
10597 Fix up various corner case problems.
10598 * doc-view.el (doc-view-last-page-number): New function.
10599 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
10600 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
10601 (doc-view-kill-proc): Avoid inf-loop in freak cases.
10602 (doc-view-reconvert-doc): Use the new recursive delete-directory.
10603 (doc-view-convert-current-doc): Don't create the resolution.el file
10605 (doc-view-pdf/ps->png): Do it here instead.
10606 (doc-view-already-converted-p): Check that resolution.el is present.
10607 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
10608 windows that are not yet showing images.
10610 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
10612 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
10613 `dired-uncache' for every elemnt which is an absolute file name.
10615 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
10616 directory, handle its directory component.
10617 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
10618 function is called permanently and creates noise, otherwise.
10620 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
10621 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
10622 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
10624 2010-02-04 David Burger <dburger@google.com> (tiny change)
10626 * macros.el (apply-macro-to-region-lines):
10627 Minor simplification. (Bug#5485)
10629 2010-02-04 Glenn Morris <rgm@gnu.org>
10631 * mail/rmail.el (rmail-show-message-1): Handle malformed
10632 quoted-printable text. (Bug#5441)
10634 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
10636 * simple.el (visual-line-mode): Capitalize lighter.
10638 2010-02-03 John Wiegley <jwiegley@gmail.com>
10640 * iswitchb.el (iswitchb-completions): Add bookmark files to the
10641 list of files considered for "virtual buffer" completions.
10643 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
10645 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
10646 also in case of (and (not full) (not wildcard)). This is needed
10647 when dired is called with a list of files, which are not in
10648 `default-directory'. (Bug#5478)
10650 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
10652 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
10654 2010-02-02 Juri Linkov <juri@jurta.org>
10656 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
10657 from unidiff to allow function-line after @@.
10659 2010-02-02 Juri Linkov <juri@jurta.org>
10661 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
10662 '(RCS SCCS) with inverted condition.
10664 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
10666 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
10669 2010-02-01 Juri Linkov <juri@jurta.org>
10671 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
10672 compare with "pkunzip" and "pkzip" instead of only "pkzip".
10673 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
10674 only when (car archive-zip-extract) is "unzip". (Bug#5475)
10676 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
10678 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
10679 (doc-view-revert-buffer): New command.
10680 (doc-view-mode-map): Use it.
10682 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
10684 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
10685 pending merge is detected.
10687 2010-01-31 Juri Linkov <juri@jurta.org>
10689 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
10690 beginning of interactive spec like all other grep commands do.
10691 Put "all" in front of "gz". (Bug#5260)
10693 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
10695 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
10697 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
10699 * dirtrack.el (dirtrack): Warn instead of signalling error if the
10700 regexp is incorrect (Bug#5476).
10702 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
10704 * net/tramp.el (tramp-handle-insert-directory): Handle also
10705 symlinks, when FILENAME is not in `default-directory'.
10707 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
10709 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
10710 FILE is not in `default-directory'. (Bug#5478)
10712 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
10713 of SWITCHES. Handle the case, FILENAME is not in
10714 `default-directory'. (Bug#5478)
10715 (tramp-register-file-name-handlers): Add safe-magic property.
10717 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
10719 * arc-mode.el (archive-zip-extract): Quote the argument passed to
10722 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
10724 * progmodes/flymake.el (flymake-allowed-file-name-masks)
10725 (flymake-master-make-header-init): Add other C++ filename masks.
10726 (flymake-find-possible-master-files)
10727 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
10729 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
10731 Fix some busybox annoyances.
10733 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
10734 not responding." string.
10735 (tramp-open-connection-setup-interactive-shell): Dump stty
10736 settings. Enable "neveropen" arg for all `tramp-send-command'
10737 calls. Handle "=" in variable values properly.
10738 (tramp-find-inline-encoding): Raise an error, when no encoding is
10740 (tramp-wait-for-output): Check, whether PROC buffer is available.
10741 Remove spurious " ^H" sequences, sent by busybox.
10742 (tramp-get-ls-command): Suppress coloring, if possible.
10744 2010-01-28 Glenn Morris <rgm@gnu.org>
10746 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
10748 * log-edit.el (log-edit-strip-single-file-name): Add missing
10749 :safe, :group, and :version tags.
10751 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
10753 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
10754 buffers. (Bug#5477)
10756 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
10758 * files.el (delete-directory): Handle moving to trash without
10759 first doing recursion (Bug#5436).
10761 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
10763 * vc-hooks.el (vc-path): Mark as obsolete.
10765 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
10767 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
10770 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
10772 (vc-bzr-log-view-mode): Adjust regexp for the above change.
10774 2010-01-25 Mark A. Hershberger <mah@everybody.org>
10776 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
10778 * vc-bzr.el (vc-bzr-revision-table): New function.
10780 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
10782 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
10783 diff-index command. This requires at least git-1.5.5. (Bug#1589).
10785 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
10787 Remove support for adding --signoff on commit.
10788 Future support will use an incompatible generic mechanism.
10789 * vc-git.el (vc-git-add-signoff): Remove variable.
10790 (vc-git-toggle-signoff): Remove function.
10791 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
10793 * term/xterm.el (xterm-maybe-set-dark-background-mode):
10794 Rename from xterm-set-background-mode. Return t if the background mode
10796 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
10797 earlier, call it again in case the background mode has changed.
10799 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
10801 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
10804 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
10806 * emacs-lisp/assoc.el (aelement): Doc fix.
10807 (aput, adelete, amake): Use lexical-let (Bug#5450).
10809 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
10811 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
10812 is the same as subprogram call, not declaration. (Bug#5435).
10814 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
10816 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
10817 (tramp-smb-maybe-open-connection): Use it.
10819 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
10821 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
10823 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
10825 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
10826 just because we see "encoding: 8bit".
10827 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
10829 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
10831 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
10833 2010-01-22 Eli Zaretskii <eliz@gnu.org>
10835 * jka-compr.el (jka-compr-load): If load-file is not in
10836 load-history, try its file-truename version. (bug#5447)
10838 2010-01-21 Alan Mackenzie <acm@muc.de>
10840 Fix a situation where deletion of a cpp construct throws an error.
10841 * progmodes/cc-engine.el (c-invalidate-state-cache):
10842 Before invoking c-with-all-but-one-cpps-commented-out, check that the
10843 special cpp construct is still in the buffer.
10844 (c-parse-state): Record the special cpp with markers, not numbers.
10846 2010-01-21 Kenichi Handa <handa@m17n.org>
10848 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
10849 process last-command-event, as it is now decoded first (Bug#5380).
10851 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
10853 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
10855 2010-01-20 Glenn Morris <rgm@gnu.org>
10857 * indent.el (tab-always-indent): Fix custom-type.
10859 2010-01-19 Alan Mackenzie <acm@muc.de>
10861 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
10862 buffer throws "args out of range".
10863 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
10864 playing the role of delimiter.
10866 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
10868 * progmodes/ada-mode.el: Fix bug#5400.
10869 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
10870 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
10871 changed. Delete RECURSIVE parameter; never used. Improve doc string.
10872 Improve comments in "is" portion. Handle null procedure declaration.
10873 (ada-move-to-end): Improve doc string.
10875 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
10877 * ido.el (ido-cur-list): Initialize to nil.
10878 Remove obsolete information from commentary.
10879 (ido-choice-list): Initialize to nil.
10880 (ido-get-bufname): Reject minibuffers.
10881 (ido-make-buffer-list): If "default" is a nonexistent
10882 buffer, ignore it, as per the function's comment.
10883 (ido-kill-buffer-internal): New function.
10884 (ido-kill-buffer-at-head): Use it.
10885 (ido-visit-buffer): Likewise.
10887 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
10889 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
10891 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
10893 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
10894 Fix typos in chart titles.
10896 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
10897 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
10898 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
10899 (describe-class, eieio-describe-generic, describe-generic):
10900 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
10901 (eieio-speedbar-expand):
10902 * emulation/viper-cmd.el (viper-exec-form-in-vi)
10903 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
10904 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
10905 (viper-del-backward-char-in-replace, viper-backward-indent)
10906 (viper-brac-function, viper-register-to-point, viper-submit-report):
10907 * net/tramp.el (tramp-remote-coding-commands):
10908 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
10909 Fix typos in docstrings.
10911 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
10913 * mail/sendmail.el (mail-yank-original): Set the mark if the
10914 specified function for yanking does not do it.
10916 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
10918 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
10920 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
10921 resyncing a directory.
10923 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
10925 * progmodes/ada-mode.el: Fix bug#1920.
10926 (ada-ident-re): Delete ., allow multibyte characters.
10927 (ada-goto-label-re): New; matches goto labels.
10928 (ada-block-label-re): New; matches block labels.
10929 (ada-label-re): New; matches both.
10930 (ada-named-block-re): Deleted; callers changed to use
10931 `ada-block-label-re' instead.
10932 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
10933 Use `ada-block-label-re'.
10934 (ada-indent-on-previous-lines): Improve handling of goto labels.
10935 (ada-get-indent-block-start): Special-case block label.
10936 (ada-get-indent-label): Split into `ada-indent-block-label' and
10937 `ada-indent-goto-label'.
10938 (ada-goto-stmt-start, ada-goto-next-non-ws):
10939 Optionally ignore goto labels.
10940 (ada-goto-next-word): Simplify.
10941 (ada-indent-newline-indent-conditional): Insert newline before
10942 trying to fix indentation; doc fix.
10944 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
10946 * calc/calc.el (calc-command-flags): Give it an initial value.
10948 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
10950 * files.el (minibuffer-with-setup-hook):
10951 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
10952 (artist-key-draw-continously, artist-key-do-continously-continously)
10953 (artist-key-set-point-continously, artist-mouse-draw-continously):
10954 Fix typos in docstrings.
10956 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
10958 * nxml/nxml-mode.el (nxml-extend-after-change-region):
10959 Never return t (Bug#3898).
10961 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
10963 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
10964 can parse the output of the external commands (Bug#5279).
10966 2010-01-16 Jari Aalto <jari.aalto@cante.net>
10968 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
10970 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
10972 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
10974 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
10976 * startup.el (command-line): Remove unused --icon-type arg.
10977 Handle --display arg, passing it to command-line-1 (Bug#5392).
10979 2010-01-16 Mario Lang <mlang@delysid.org>
10981 * emacs-lisp/chart.el (chart-translate-namezone):
10982 * textmodes/artist.el (artist-compute-popup-menu-table):
10983 Remove duplicated words in doc-strings.
10985 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
10987 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
10988 to mairix-search to suppress threading (Bug#5342).
10990 2010-01-15 Kenichi Handa <handa@m17n.org>
10992 * international/mule-cmds.el (canonicalize-coding-system-name):
10993 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
10995 2010-01-15 Glenn Morris <rgm@gnu.org>
10997 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
10999 * wid-edit.el (widget-keymap): Doc fix.
11001 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
11002 former seems to be more widely accepted by various svn versions.
11004 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11006 * find-cmd.el (find-constituents):
11007 * vc-arch.el (vc-arch-root):
11008 * window.el (window-body-height, pop-up-frames):
11009 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
11010 * progmodes/ada-stmt.el (ada-if):
11011 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
11012 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
11013 (ispell-encoding8-command, ispell-aspell-supports-utf8)
11014 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
11016 * progmodes/flymake.el (flymake-post-syntax-check):
11017 Fix typo in error message.
11019 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11021 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
11022 which is always a string. (Bug#5313)
11024 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11026 * progmodes/ada-xref.el (ada-default-prj-properties):
11027 Simplify previous change.
11029 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11031 * progmodes/ada-xref.el (ada-default-prj-properties):
11032 Default ada_project_path to $ADA_PROJECT_PATH.
11034 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11036 * progmodes/ada-mode.el (ada-create-keymap):
11037 Override `narrow-to-defun' with `ada-narrow-to-defun'.
11039 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11041 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
11042 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
11043 (ada-get-current-indent, ada-imenu-generic-expression)
11044 (ada-which-function): Check for it.
11046 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11048 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
11049 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
11051 2010-01-14 Glenn Morris <rgm@gnu.org>
11053 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
11055 2010-01-14 Kenichi Handa <handa@m17n.org>
11057 * composite.el (auto-composition-mode): Make it a buffer local
11058 variable (permanent-local).
11059 (auto-composition-function): Set the default value to
11060 auto-compose-chars.
11061 (auto-composition-mode): Make it a simple function, not a minor mode.
11062 (global-auto-composition-mode): Likewise.
11063 (turn-on-auto-composition-if-enabled): Delete it.
11065 2010-01-13 Karl Fogel <kfogel@red-bean.com>
11067 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
11069 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
11071 * files.el (copy-directory): Compute target for recursive
11072 directories with identical names. (Bug#5343)
11074 2010-01-12 Glenn Morris <rgm@gnu.org>
11076 * mail/emacsbug.el (report-emacs-bug-pretest-address):
11077 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
11079 2010-01-11 Sam Steingold <sds@gnu.org>
11081 * imenu.el (imenu-default-create-index-function): Detect infinite
11082 loops caused by imenu-prev-index-position-function.
11084 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
11086 * htmlfontify.el (htmlfontify-load-rgb-file)
11087 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
11088 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
11089 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
11090 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
11091 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
11092 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
11093 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
11094 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
11095 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
11096 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
11097 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
11098 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
11099 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
11100 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
11101 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
11102 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
11103 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
11104 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
11105 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
11106 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
11107 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
11108 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
11109 backslash-quoting from parentheses, etc.
11111 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
11113 * progmodes/js.el: Autoload javascript-mode alias.
11115 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
11117 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
11118 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
11119 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
11120 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
11121 Fix typos in docstrings.
11122 (ffap-url-regexp): Doc fix.
11123 (ffap-at-mouse): Fix typo in message.
11125 2010-01-11 Glenn Morris <rgm@gnu.org>
11127 * version.el (emacs-copyright): Set copyright year to 2010.
11129 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
11131 * format.el (format-annotate-function): Only set
11132 write-region-post-annotation-function after running to-fn so as not to
11133 affect nested write-region calls (bug#5273).
11135 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
11137 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
11140 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
11142 * man.el (Man-goto-section): Signal error if the section is not
11145 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
11147 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
11148 URLs with a leading triple slash in the file: scheme. (Bug#5345)
11150 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
11152 * progmodes/compile.el: Don't treat compile-command as safe if
11153 compilation-read-command might be nil (Bug#4218).
11155 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
11157 * startup.el (command-line-1): Use orig-argi to check for ignored X and
11160 2010-01-08 Kenichi Handa <handa@m17n.org>
11162 * international/fontset.el (build-default-fontset-data):
11163 Exclude characters in scripts kana, hangul, han, or cjk-misc.
11165 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
11167 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
11168 to `create-file-buffer' as it expects, not just a buffer name.
11169 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
11170 to help uniquify. (Bug#3224)
11172 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
11174 * font-setting.el (font-setting-change-default-font): Use user-spec
11177 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
11179 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
11181 2010-01-05 Tom Tromey <tromey@redhat.com>
11183 * progmodes/python.el (python-font-lock-keywords):
11184 Handle qualified decorators (Bug#881).
11186 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
11188 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
11189 in a lightweight checkout.
11191 2010-01-05 Kenichi Handa <handa@m17n.org>
11193 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
11195 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
11197 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
11199 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
11201 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
11202 checkouts. (Bug#618)
11203 (vc-bzr-log-view-mode): Also highlight the author.
11204 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
11205 (vc-bzr-shelve-menu-map):
11206 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
11207 (vc-bzr-shelve-apply): Make prompt more explicit.
11209 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
11211 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
11212 They are valid characters in URL paths (rfc3986), and at least
11213 Firefox does not understand the encoded version (Bug#3166).
11215 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
11217 * progmodes/octave-mod.el (octave-end-keywords)
11218 (octave-block-begin-or-end-regexp, octave-block-match-alist):
11219 Add "end" keyword (Bug#3061).
11220 (octave-end-as-array-index-p): New function.
11221 (calculate-octave-indent): Use it.
11223 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11225 * bookmark.el: Consistently put the text property on the bookmark name.
11226 (bookmark-bmenu-marks-width): Bump back to 2, to include
11228 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
11229 property on the bookmark name, instead of not putting it at all.
11230 (bookmark-bmenu-list): Fix where we put the text property.
11232 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11234 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
11235 for showing buffer modified state (as added in the previous change).
11237 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11239 * bookmark.el: Show modified state of bookmark buffer more accurately.
11240 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
11241 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
11242 (with-buffer-modified-unmodified): New macro.
11243 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
11244 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
11245 Use new macro to preserve the buffer modified state.
11247 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11249 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
11250 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
11251 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
11252 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
11253 (bookmark-bmenu-rename, bookmark-bmenu-locate)
11254 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
11255 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
11257 2010-01-02 Eli Zaretskii <eliz@gnu.org>
11259 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11260 Make the lines in the generated doc string shorter. (Bug#4668)
11262 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
11264 * net/rcirc.el: Add follow-link binding (Bug#4738).
11266 2010-01-02 Eli Zaretskii <eliz@gnu.org>
11268 * Makefile.in (bzr-update): Rename from cvs-update.
11269 (cvs-update): New target for backward compatibility.
11271 * makefile.w32-in (bzr-update): Rename from cvs-update.
11272 (cvs-update): New target for backward compatibility.
11274 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11276 * bookmark.el: Remove gratuitous gratitude.
11278 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11280 * bookmark.el (bookmark-bmenu-any-marks): New function.
11281 (bookmark-bmenu-save): Clear buffer modification if no marks.
11283 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11285 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
11286 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
11287 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
11288 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
11290 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
11291 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
11292 To: emacs-devel {_AT_} gnu.org
11293 Subject: bookmark.el bug report
11294 Date: Mon, 28 Dec 2009 14:19:16 +0800
11295 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
11297 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11299 * bookmark.el: Improvements suggested by Drew Adams:
11300 (bookmark-bmenu-ensure-position): New name for
11301 `bookmark-bmenu-check-position'. Just ensure the position,
11302 don't return any meaningful value.
11303 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
11306 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
11308 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
11309 (bookmark-yank-point, bookmark-bmenu-check-position):
11310 Fix typos in docstrings.
11311 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
11312 (bookmark-name-from-full-record, bookmark-get-position)
11313 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
11314 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
11315 Remove useless quoting of parenthesis, etc. in docstrings.
11317 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
11318 (ediff-append-custom-diff): Fix typo in error message.
11319 (ediff-meta-mark-equal-files): Fix typos in messages.
11321 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
11323 * net/imap-hash.el (imap-hash-make): Doc fix.
11324 (imap-hash-test): Fix typo in error message; reflow docstring.
11325 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
11326 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
11327 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
11328 Fix typos in docstrings.
11329 (imap-hash-open-connection): Fix typo in error message.
11331 * play/gomoku.el (gomoku): Fix typos in docstring.
11333 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
11334 (gdb-jsonify-buffer): Fix typos in docstring.
11335 (gdb-goto-breakpoint): Fix typo in error message.
11336 ("Display Other Windows"): Fix typo in help message.
11337 (gdb-speedbar-expand-node): Fix typo in question.
11339 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
11340 (idlwave-html-system-help-location, idlwave-html-help-location)
11341 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
11342 (idlwave-help-browser-generic-args, idlwave-help-directory)
11343 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
11344 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
11345 (idlwave-online-help, idlwave-help-html-link)
11346 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
11347 Fix typos in docstrings.
11348 (idlwave-help-with-source, idlwave-help-find-routine-definition):
11350 (idlwave-help-assistant-start): Fix typo in error message.
11352 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
11353 (octave-electric-space): Fix typos in docstrings.
11355 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
11357 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
11359 2010-01-01 Juri Linkov <juri@jurta.org>
11361 * comint.el (comint-input-ring-size): Make it a defcustom and
11362 increase the default to 500 (Bug#5148).
11364 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
11366 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
11367 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
11368 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
11370 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
11372 Show working revision correctly for mercurial.
11373 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
11374 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
11376 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
11378 Declare some functions for the byte-compiler.
11379 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
11380 (speedbar-timer-fn, speedbar-change-expand-button-char)
11381 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
11383 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
11385 This changeset reverts GDB Graphical Interface to use annotations.
11386 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
11388 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
11390 Make vc-dir work on subdirectories of the bzr root.
11391 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
11392 Return file names relative to it.
11393 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
11394 relative directory to vc-bzr-after-dir-status.
11396 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
11398 * font-lock.el (font-lock-refresh-defaults): New function, which
11399 can be used to let font-lock react to external changes in
11400 variables like font-lock-defaults and keywords.
11401 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
11403 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
11405 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
11407 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
11409 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
11411 Supersede color.diff settings in git log (bug#5211).
11413 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
11414 escape chars in its output when the user has color.diff set to `always'.
11415 This fix works on git 1.4.2 and newer (released on 2006-08-13).
11417 2009-12-26 Kevin Ryde <user42@zip.com.au>
11419 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
11420 node. Keep previous "Index" name to work with past coreutils too.
11422 * man.el (man): Revise docstring a bit to show -a and -l as
11423 examples. Add -k description since support for it has otherwise
11424 been a secret. (Further to bug#3717.)
11425 (Man-bgproc-sentinel): When "-k foo" produces no output show error
11426 "no matches" rather than "Can't find manpage", as the latter reads
11427 like -k was interpreted as a page name, which is not so. (Bug#5431)
11429 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
11431 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
11432 switches. Check also for //SUBDIRED// line.
11434 2009-12-25 Kenichi Handa <handa@m17n.org>
11436 * language/indian.el (devanagari-composable-pattern): Fix to
11437 handle ZWNJ and ZWJ. Use it in composition-function-table for
11439 (malayalam-composable-pattern): Fix previous change.
11441 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11443 * ps-print.el (ps-face-attributes): It was not returning the
11444 attribute face for faces specified as string. Reported by harven
11445 <harven@free.fr>. (Bug#5254)
11446 (ps-print-version): New version 7.3.5.
11448 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
11450 * calendar/icalendar.el (icalendar--convert-tz-offset):
11451 Fix timezone names.
11452 (icalendar--convert-tz-offset): Fix the "last-day-problem".
11453 (icalendar--add-diary-entry): Remove the trailing blank that
11454 diary-make-entry inserts.
11456 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
11458 Make `file-expand-wildcards' work for remote files.
11460 * files.el (file-expand-wildcards): In case of remote files, check
11461 only local file name part for wildcards. Provide feature 'files
11462 and subfeature 'remote-wildcards. (Bug#5198)
11464 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
11465 if there is already an established connection.
11466 (tramp-advice-file-expand-wildcards): Remove it.
11468 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
11469 (tramp-advice-file-expand-wildcards): Move from tramp.el.
11470 Activate advice for older GNU Emacs versions. (Bug#5237)
11472 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
11474 Some doc fixes (more needed).
11476 * find-cmd.el (find-constituents): Reflow docstring.
11477 (find-cmd, find-prune, find-command): Fix typos in docstrings.
11478 (find-generic): Doc fix.
11480 2009-12-17 Juri Linkov <juri@jurta.org>
11482 Fix regression from 23.1 to allow multiple modes in Local Variables.
11484 * files.el (hack-local-variables-filter): While ignoring duplicates,
11485 don't take `mode' into account.
11486 (hack-local-variables-filter, hack-dir-local-variables):
11487 Don't remove duplicate `mode' from local-variables-alist (like `eval').
11489 2009-12-17 Juri Linkov <juri@jurta.org>
11491 Make `dired-diff' safer. (Bug#5225)
11493 * dired-aux.el (dired-diff): Signal an error when `file' equals to
11494 `current' or when `file' is a directory of the `current' file.
11496 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
11498 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
11499 unconditionally preloaded files.
11501 2009-12-16 Juri Linkov <juri@jurta.org>
11503 Revert to old 23.1 logic of using the file at the mark as default.
11504 * dired-aux.el (dired-diff): Use the file at the mark as default
11505 if it's not the same as the current file, and the target dir is
11506 the current dir or the mark is active. Add the current file
11507 as the arg of `dired-dwim-target-defaults'. Use the default file
11508 in the prompt. (Bug#5225)
11510 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
11512 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
11513 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
11514 (tramp-check-for-regexp): Check also, when an echoing shell stops
11515 to echo sent commands.
11517 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
11519 * Makefile.in: Revert last change (Bug#5191).
11521 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
11523 * vc-hg.el (vc-hg-print-log): Fix argument order.
11524 (vc-hg-working-revision): Make sure the command is executed in a
11525 known environment so that we can parse the output. (Bug#4417)
11527 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
11529 * progmodes/python.el (python-symbol-completions): Remove text
11530 properties from symbol string before calling python-send-receive.
11532 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
11534 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
11535 when there are values for both file and line. (Bug#5060)
11537 2009-12-14 Juri Linkov <juri@jurta.org>
11539 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
11540 whitespace after the file name of the first line of unified format,
11541 because git-diff doesn't output whitespace and file modification time
11542 after the file name.
11544 2009-12-14 David Kastrup <dak@gnu.org>
11546 * info.el (Info-hide-cookies-node): Before hiding a cookie,
11547 check if it already has the `display' property added by
11548 `Info-display-images-node', and not put the `invisible' property
11551 2009-12-13 Glenn Morris <rgm@gnu.org>
11553 * mail/emacsbug.el (message-sort-headers): Define for compiler.
11554 (report-emacs-bug): In message-mode, sort manually before storing
11555 original report text. (Bug#5178)
11556 Remove superfluous save-excursion.
11558 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
11560 * net/dbus.el (dbus-property-handler): Filter lambda forms out
11561 when responding to "GetAll" properties.
11563 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
11565 * simple.el (compose-mail): Remove mail-setup-with-from from
11566 customization checks.
11568 2009-12-12 Eli Zaretskii <eliz@gnu.org>
11570 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
11571 RAR archives created on Unix systems.
11573 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
11575 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
11576 the varalias that was accidentally removed by the 2009-11-19 change
11579 2009-12-12 Kenichi Handa <handa@m17n.org>
11581 * language/indian.el (indian-compose-regexp): New function.
11582 (malayalam-composable-pattern): Fix the pattern.
11583 (composition-function-table): Set malayalam-composable-pattern for
11584 Malayalam characters.
11586 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
11588 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
11589 rather than down-mouse-1, based on follow-link conventions.
11591 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
11594 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
11596 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
11597 (verilog-vmm-statement-re, verilog-ovm-statement-re)
11598 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
11599 (verilog-leap-to-head, verilog-backward-token):
11600 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
11602 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
11604 * progmodes/verilog-mode.el (verilog-auto-lineup)
11605 (verilog-nameable-item-re): Cleanup user-visible spelling and
11606 documentation errors. One reported by Gary Delp.
11607 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
11608 (verilog-read-decls): Fix AUTOWIRE with types declared in a
11609 package, bug195. Reported by Pierre-David Pfister.
11611 2009-12-11 Glenn Morris <rgm@gnu.org>
11613 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
11615 * mail/emacsbug.el: No longer require sendmail.
11616 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
11617 (report-emacs-bug-orig-text): Doc fix.
11618 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
11619 New local variables, to adapt to different mail-user-agents.
11620 (report-emacs-bug): Fix test for a gnu.org address.
11621 Use overlays for emphasis, since font-lock defeats 'face property.
11622 Pretest bugs also end up at the newsgroup these days.
11623 Stop message-mode stripping text properties.
11624 Set and use the new buffer-local variables.
11625 (report-emacs-bug-hook): Add doc-string.
11626 Remove some unnecessary save-excursions and simplify.
11627 Use the appropriate hook and send-command.
11629 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
11630 capitalization of some menu entries.
11632 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11634 * whitespace.el (whitespace-display-char-on):
11635 Ensure `buffer-display-table' is unique when two or more windows are
11636 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
11639 2009-12-10 Eli Zaretskii <eliz@gnu.org>
11641 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
11642 characters in the Attribute field.
11644 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
11646 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
11648 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
11650 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
11651 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11652 Disregard autoload-excludes.
11653 (update-directory-autoloads): Obey autoload-excludes here instead.
11654 But don't store its contents in no-autoloads and remove entries that
11655 refer to excludes files.
11657 2009-12-10 Glenn Morris <rgm@gnu.org>
11659 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
11660 (expand-mail-aliases): Define for compiler.
11662 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
11663 Define for compiler.
11665 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
11666 appropriate for the mail-user-agent in use.
11668 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
11670 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
11672 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
11674 Fix short log parsing and fontification.
11675 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
11676 Fix fontification for the [merge] label.
11678 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
11680 Drop some properties to avoid surprises (bug#5002).
11681 * htmlfontify.el (hfy-ignored-properties): New defcustom.
11682 (hfy-fontify-buffer): Use it.
11684 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
11687 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
11688 Adjust all callers.
11689 (ffap-locate-file): Remove unused arg `dir-ok' and make other
11690 args compulsory. Adjust callers.
11691 (ffap-gopher-at-point): Remove unused var `name'.
11693 Get rid of the ELCFILES abomination.
11694 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
11695 (compile-elcfiles): New phony target.
11696 (compile-main): Compute ELCFILES dynamically.
11697 (compile-clean): New target to remove left-over elc files.
11698 (compile, all): Use it.
11700 2009-12-09 Kenichi Handa <handa@etlken>
11702 * international/mule-diag.el: Require help-mode instead of help-fns.
11704 2009-12-09 Kenichi Handa <handa@m17n.org>
11706 * international/mule-cmds.el (ucs-names): Supply sufficiently
11707 fine ranges instead of pre-calculating accurate ranges.
11708 Iterate with bigger gc-cons-threshold.
11710 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
11712 Add support for stashing a snapshot of the current tree.
11713 * vc-git.el (vc-git-stash-snapshot): New function.
11714 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
11716 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
11718 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
11719 instead of `(beginning|end)-of-line'.
11721 2009-12-08 Glenn Morris <rgm@gnu.org>
11723 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
11725 * Makefile.in (ELCFILES): Regenerate.
11727 2009-12-07 Juri Linkov <juri@jurta.org>
11729 Don't lazy-highlight the comint output in history Isearch mode.
11731 * comint.el (comint-history-isearch-search): Instead of
11732 `comint-line-beginning-position', use `comint-after-pmark-p'
11733 to check if point if before the process mark, and go to
11734 `process-mark' in this case.
11736 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
11738 * textmodes/tex-mode.el (latex-complete)
11739 (latex-indent-or-complete): Remove.
11740 (latex-mode): Set completion-at-point-functions instead.
11742 Provide a standard completion command and hook it into TAB.
11743 * minibuffer.el (completion-at-point-functions): New var.
11744 (completion-at-point): New command.
11745 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
11746 * progmodes/python.el (python-mode-map): Use completion-at-point.
11747 (python-completion-at-point): Rename from python-partial-symbol and
11748 adjust for use in completion-at-point-functions.
11749 (python-mode): Setup completion-at-point for Python completion.
11750 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
11751 extracted from lisp-complete-symbol.
11752 (lisp-complete-symbol): Use it.
11753 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
11754 setup completion-at-point for Elisp completion.
11755 (emacs-lisp-mode-map, lisp-interaction-mode-map):
11756 Use completion-at-point.
11757 * ielm.el (ielm-map): Use completion-at-point.
11758 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
11759 * progmodes/sym-comp.el: Move to...
11760 * obsolete/sym-comp.el: Move from progmodes.
11762 2009-12-07 Eli Zaretskii <eliz@gnu.org>
11764 Prevent save-buffer in Rmail buffers from using the coding-system
11765 of the current message, and from clobbering the encoding mnemonics
11766 in the mode line (Bug#4623).
11768 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
11770 (rmail-message-encoding): New variable.
11771 (rmail-write-region-annotate): Record the encoding of the current
11772 message in rmail-message-encoding.
11773 (rmail-after-save-hook): New function, restores the encoding of
11774 the current message after the message collection is saved.
11776 2009-12-07 Juri Linkov <juri@jurta.org>
11778 * progmodes/grep.el (grep-read-files): Use `completing-read'
11779 instead of `read-string'. Set its `collection' arg to
11780 `read-file-name-internal'. (Bug#4301)
11782 2009-12-07 Juri Linkov <juri@jurta.org>
11784 Correctly restore original Isearch point. (Bug#4994)
11786 * isearch.el (isearch-mode): Move `isearch-push-state' after
11787 `(run-hooks 'isearch-mode-hook)'.
11788 (isearch-cancel): When `isearch-push-state-function' is defined,
11789 let-bind `isearch-cmds' to the first state (the last element of
11790 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
11791 function and restores the original point). Otherwise, move point
11792 to `isearch-opoint'.
11794 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
11796 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
11797 chars that don't have names, so the table can be built much faster at
11800 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
11802 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
11803 change. Suggested by David Kastrup.
11805 * simple.el (compose-mail): Check for incompatibilities and warn.
11806 (compose-mail-user-agent-warnings): New option.
11808 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
11810 Support showing a single log entry from vc-annotate.
11811 * vc.el (print-log): Add a new argument: START-REVISION.
11812 (vc-print-log-internal): Add a new optional argument and
11813 pass it to the backend.
11814 (vc-print-log, vc-print-root-log): Adjust callers.
11815 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
11816 buffer already displays the requested log entry, use it.
11817 Otherwise display only the log entry in question.
11818 * vc-svn.el (vc-svn-print-log):
11819 * vc-mtn.el (vc-mtn-print-log):
11820 * vc-hg.el (vc-hg-state):
11821 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
11822 (vc-git-show-log-entry): Return t on success.
11823 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
11824 (vc-bzr-show-log-entry): Return t on success.
11825 * vc-rcs.el (vc-rcs-print-log):
11826 * vc-sccs.el (vc-sccs-print-log):
11827 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
11829 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
11831 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
11832 Add menus to the meta mode. (Bug#5043)
11834 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
11836 * ediff-init.el (ediff-event-key): Use event-to-character instead of
11839 * ediff.el (ediff-buffers-internal): Add unwind-protect.
11841 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
11843 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
11844 Berbain <raphael.berbain@gmail.com>.
11846 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
11848 (tramp-initial-end-of-output): New defconst.
11849 (tramp-methods, tramp-find-shell)
11850 (tramp-open-connection-setup-interactive-shell)
11851 (tramp-maybe-open-connection): Use it.
11852 (tramp-shell-prompt-pattern, tramp-wait-for-output):
11853 Handle existence of `#' and `$'.
11855 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
11856 Use `tramp-initial-end-of-output'.
11858 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
11860 Get the background mode from the terminal for xterm, and set
11862 * term/xterm.el (xterm-set-background-mode): New function.
11863 (terminal-init-xterm): Use it in case xterm supports background
11864 color queries. Recompute faces after getting the background
11867 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
11869 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
11870 number comment back on its own line, for easier parsing.
11872 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
11874 Make it work for non-file buffers (bug#5102).
11875 * doc-view.el (doc-view-current-cache-dir):
11876 Use doc-view-buffer-file-name rather than buffer-file-name.
11877 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
11879 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
11881 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
11882 author field is too short.
11884 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
11886 * vc-git.el (vc-git-print-log): Handle a limit argument.
11887 Display the short log in graph form and with labels.
11888 (vc-git-log-view-mode): Handle labels.
11890 Make vc-revert change VC state from 'added to 'unregistered.
11891 * vc-git.el (vc-git-revert): Call git reset first.
11893 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
11895 * net/newst-backend.el, net/newst-plainview.el:
11896 * net/newst-reader.el, net/newst-ticker.el:
11897 * net/newst-treeview.el, net/newsticker.el:
11898 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
11900 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
11902 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
11904 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
11905 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
11906 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
11907 Update annotation regexp.
11909 * simple.el (beginning-of-visual-line): Constrain to field
11910 boundaries (Bug#5106).
11912 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
11914 * xml.el (xml-substitute-numeric-entities):
11915 Move newsticker--decode-numeric-entities in newst-backend.el to
11916 xml-substitute-numeric-entities in xml.el. (Bug#5008)
11917 * net/newst-backend.el (newsticker--parse-generic-feed)
11918 (newsticker--parse-generic-items)
11919 (newsticker--decode-numeric-entities):
11920 Move newsticker--decode-numeric-entities in newst-backend.el to
11921 xml-substitute-numeric-entities in xml.el. (Bug#5008)
11923 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
11925 * progmodes/js.el (js--js-not): Add null to the list of values.
11927 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
11929 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
11931 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
11933 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
11934 delimiter if it is at the end of the current line.
11935 (bibtex-generate-url-list): Fix docstring.
11937 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11939 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
11940 minibuffer's content with itself.
11941 Fold the confirm-after-completion case into the `confirm' case.
11942 (completion-pcm-word-delimiters): Add : and / to the delimiters.
11944 2009-12-06 Kevin Ryde <user42@zip.com.au>
11946 * ffap.el (ffap-rfc-path): Make this a defcustom since
11947 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
11949 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
11950 manuals, similar to existing setup for help-mode. (Bug#3913.)
11952 2009-12-05 Juri Linkov <juri@jurta.org>
11954 Save and restore dired buffer's point positions too. (Bug#4880)
11956 * dired.el (dired-save-positions): Return in the first element
11957 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
11959 (dired-restore-positions): First restore buffer's position.
11960 While restoring window's positions, check if window still displays
11961 the original buffer.
11963 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
11965 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
11968 * shell.el (shell): Require ansi-color (Bug#5113).
11970 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
11972 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
11974 2009-12-05 Alan Mackenzie <acm@muc.de>
11976 * progmodes/cc-mode.el (c-before-hack-hook)
11977 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
11978 `c-file-style' to work again. This reversion restores the current
11979 software to its state in Emacs 23.1. (Bug#4146)
11981 2009-12-05 Kevin Ryde <user42@zip.com.au>
11983 * textmodes/sgml-mode.el (sgml-lexical-context):
11984 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
11986 2009-12-05 Juri Linkov <juri@jurta.org>
11988 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
11989 for virtual nodes. (Bug#4147)
11990 (Info-find-node-2): Set `Info-current-node-virtual' to nil
11991 when moving from a virtual node.
11992 (Info-mode-menu): Add `Info-virtual-index' to the menu.
11993 (Info-mode): Add `Info-virtual-index' to the docstring.
11995 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
11997 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
11998 track of the buffer position of the end of a BibTeX entry as this
11999 position may change during reformatting.
12000 (bibtex-format-entry): Remove whitespace before processing
12001 numerical fields so that we recognize the latter properly.
12002 (bibtex-reformat): Do not use push which changes the global value
12003 of bibtex-entry-format.
12004 (bibtex-field-braces-alist, bibtex-field-strings-alist)
12005 (bibtex-field-re-init): Replace only space characters by regexp
12007 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
12008 (bibtex-initialize): Also update bibtex-strings.
12009 (bibtex-kill-field): Preserve white space at end of entry.
12010 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
12011 Update bibtex-reference-keys.
12013 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
12015 * minibuffer.el (completion-pcm--merge-try): Also consider placing
12016 point after a star, if that's the only place where modifications can
12019 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
12021 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
12024 2009-12-04 Juri Linkov <juri@jurta.org>
12026 * proced.el (proced): Call `(proced-update t)' to update process
12027 information instead of only running proced-post-display-hook.
12028 (proced-send-signal): Add a leading space to the buffer name
12029 " *Marked Processes*" to make this buffer ephemeral.
12031 2009-12-04 Juri Linkov <juri@jurta.org>
12033 * dired.el (dired-auto-revert-buffer): New defcustom.
12034 (dired-internal-noselect): Use it.
12036 2009-12-04 Juri Linkov <juri@jurta.org>
12038 Change roles of modes and functions in image-mode.el (Bug#5062).
12040 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
12041 in `auto-mode-alist'.
12042 (image-mode-previous-major-mode): New variable.
12043 (image-minor-mode-map): Rename from `image-mode-text-map'.
12044 (image-mode): Move graceful error-handling code from
12045 `image-minor-mode' to here. On errors call `image-mode-as-text'.
12046 (image-minor-mode): Remove all image-handling code.
12047 Replace `image-mode-text-map' with `image-minor-mode-map'.
12048 Check for `image-type' in mode-line format string.
12049 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
12050 (image-mode-as-text): New function with most code from
12051 `image-mode-maybe'.
12052 (image-toggle-display-text): Move code that removes image
12053 properties from `image-toggle-display' to here.
12054 (image-toggle-display-image): New function with code that adds
12055 image properties copied from `image-toggle-display'.
12056 (image-toggle-display): Remove most code with leaving only code
12057 that toggles between `image-mode-as-text' and `image-mode'.
12059 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
12061 * net/newst-treeview.el
12062 (newsticker--treeview-list-highlight-start): Restored call to
12063 save-excursion: Selected item was stuck.
12064 (newsticker--treeview-list-select): New.
12065 (newsticker--treeview-item-show-text)
12066 (newsticker--treeview-item-show)
12067 (newsticker--treeview-item-update): Use new
12068 newsticker-treeview-item-mode.
12069 (newsticker-treeview-update): Keep current item.
12070 (newsticker-treeview-next-new-or-immortal-item): Doc change.
12071 (newsticker--treeview-first-feed): Doc change.
12072 (newsticker-treeview-list-menu)
12073 (newsticker-treeview-item-menu): Add menu entries.
12074 (newsticker-treeview-item-mode): New.
12076 * net/newst-backend.el (newsticker-customize): Delete other
12079 2009-12-04 Sam Steingold <sds@gnu.org>
12081 * log-view.el (log-view-mode-map): "q" calls quit-window,
12082 like in all the other non-self-insert buffers.
12084 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
12087 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
12088 key decoding rather than do it manually via last-input-event +
12090 (term-exec): Use delete-and-extract-region.
12091 (term-handle-ansi-terminal-messages): Remove unused var `end'.
12092 (term-process-pager): Remove unused var `i'.
12093 (term-dynamic-simple-complete): Make obsolete.
12094 (serial-update-config-menu): Remove unused vars `y' and `str'.
12095 (term-update-mode-line): Remove unused var `temp'.
12097 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12099 Limit the number of log entries displayed by default.
12100 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
12101 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
12102 using a prefix argument.
12104 2009-12-03 Glenn Morris <rgm@gnu.org>
12106 * progmodes/idlwave.el (class): Restore still useful declaration.
12108 2009-12-03 Alan Mackenzie <acm@muc.de>
12110 Enhance `c-parse-state' to run efficiently in "brace deserts".
12112 * progmodes/cc-mode.el (c-basic-common-init):
12113 Call c-state-cache-init.
12114 (c-neutralize-syntax-in-and-mark-CPP): Rename from
12115 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
12116 placing `category' properties value 'c-cpp-delimiter at its boundaries.
12118 * progmodes/cc-langs.el (c-before-font-lock-function):
12119 c-extend-and-neutralize-syntax-in-CPP has been renamed
12120 c-neutralize-syntax-in-and-mark-CPP.
12122 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
12123 with `category' properties now, not `syntax-table' ones.
12125 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
12126 enhanced (but slower) version of c-end-of-macro that won't land
12127 inside a literal or on another awkward character.
12128 (c-state-cache-too-far, c-state-cache-start)
12129 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
12130 (c-state-nonlit-pos-cache-limit, c-state-point-min)
12131 (c-state-point-min-lit-type, c-state-point-min-lit-start)
12132 (c-state-min-scan-pos, c-state-brace-pair-desert)
12133 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
12134 buffer local variables.
12135 (c-state-literal-at, c-state-lit-beg)
12136 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
12137 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
12138 (c-state-cache-top-paren, c-state-cache-after-top-paren)
12139 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
12140 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
12141 (c-renarrow-state-cache)
12142 (c-append-lower-brace-pair-to-state-cache)
12143 (c-state-push-any-brace-pair, c-append-to-state-cache)
12144 (c-remove-stale-state-cache)
12145 (c-remove-stale-state-cache-backwards, c-state-cache-init)
12146 (c-invalidate-state-cache-1, c-parse-state-1)
12147 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
12148 (c-parse-state): Enhance and refactor.
12149 (c-debug-parse-state): Amend to deal with all the new variables.
12151 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
12152 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
12153 modify to use category text properties rather than syntax-table ones.
12154 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
12155 to switch off/on the syntactic paren property of C++ template
12156 delimiters using the category property.
12157 (c-with-<->-as-parens-suppressed): Macro to invoke code with
12158 template delims suppressed.
12159 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
12160 New constant/macros which apply category properties to the start
12161 and end of preprocessor constructs.
12162 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
12163 "comment out" the syntactic value of characters in preprocessor
12165 (c-with-cpps-commented-out)
12166 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
12167 with characters in all or all but one preprocessor constructs
12170 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12172 * proced.el (proced-filter-alist): Use regexp-quote.
12174 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
12177 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
12178 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
12179 arguments. Expand `default-directory'.
12181 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
12182 the benefit of returning an expanded localname.
12183 (tramp-tramp-file-p): Handle the case NAME is not a string.
12185 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12187 Add support for bzr shelve/unshelve.
12188 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12189 (vc-bzr-extra-menu-map): New variables.
12190 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
12191 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
12192 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
12193 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
12194 (vc-bzr-dir-extra-headers): Display shelves.
12196 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
12198 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12200 * textmodes/bibtex.el (bibtex-complete-internal):
12201 Use completion-in-region.
12202 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
12204 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12206 Support applying stashes. Improve UI.
12207 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
12208 (vc-git-stash-apply, vc-git-stash-pop)
12209 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
12210 (vc-git-stash-menu): New functions.
12211 (vc-git-stash-menu-map): New variable.
12212 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
12214 2009-12-03 Glenn Morris <rgm@gnu.org>
12216 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
12217 (vc-print-log-internal): Fix previous change.
12218 (vc-revert): Correct pluralization.
12220 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12222 * progmodes/make-mode.el (makefile-special-targets-list): No need for
12223 it to be an alist any more.
12224 (makefile-complete): Use completion-in-region.
12226 * progmodes/octave-mod.el (octave-complete-symbol):
12227 Use completion-in-region.
12230 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
12231 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
12232 (idlwave-complete-class): Don't quote lambda.
12233 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
12234 (idlwave-mode-map): Move initialization into declaration.
12235 (idlwave-action-and-binding): Use backquotes.
12236 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
12238 (idlwave-is-pointer-dereference): Remove unused var `pos'.
12239 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
12240 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
12241 `parts', and `all-parts'.
12242 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
12243 (idlwave-convert-xml-system-routine-info): Remove unused string
12245 (idlwave-display-user-catalog-widget): Use dolist.
12246 (idlwave-scanning-lib): Declare dynamically-scoped var.
12247 (idlwave-scan-library-catalogs): Remove unused var `flags'.
12248 (completion-highlight-first-word-only): Declare to silence bytecomp.
12249 (idlwave-popup-select): Tighten scope of `resp'.
12250 (idlwave-find-struct-tag): Remove unused var `beg'.
12251 (idlwave-after-load-rinfo-hook): Declare.
12252 (idlwave-sintern-class-info): Remove unused var `taglist'.
12253 (idlwave-find-class-definition): Remove unused var `list'.
12254 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
12255 (idlwave-what-module-find-class): Remove unused var `classes'.
12257 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
12259 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
12261 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12263 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
12264 buffers visited. Remove redundant current-buffer-saving.
12266 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12268 Use completion-in-buffer and remove uses of dynamic scoping.
12269 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
12270 (pascal-buffer-to-use, pascal-flag): Don't declare.
12271 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
12272 (pascal-get-completion-decl, pascal-keyword-completion):
12273 Add `pascal-str' argument, save-excursion,
12274 return the found completions, and don't filter with pascal-pred.
12275 (pascal-completion-cache): New var.
12276 (pascal-completion): Don't switch buffer any more (it was never
12277 necessary). Don't save-excursion any more (it's done by the called
12278 subroutines). Use a cache to avoid redundant computations.
12279 Use complete-with-action rather than pascal-completion-response and
12280 let it apply the predicate as well.
12281 (pascal-complete-word): Use completion-in-buffer when
12282 pascal-toggle-completions is nil.
12283 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
12285 (pascal-comp-defun): Don't change buffer any more.
12286 Use complete-with-action rather than pascal-completion-response and
12287 let it apply the predicate as well.
12288 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
12291 2009-12-02 Kenichi Handa <handa@m17n.org>
12293 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
12294 shape for all Indic scripts.
12296 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12298 Use completion-in-buffer.
12299 * wid-edit.el (widget-field-text-end): New function.
12300 (widget-field-value-get): Use it.
12301 (widget-string-complete, widget-file-complete)
12302 (widget-color-complete): Use it and completion-in-region.
12303 (widget-complete): Don't narrow the buffer.
12305 2009-12-02 Glenn Morris <rgm@gnu.org>
12307 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
12308 (rmail-select-summary): Use rmail-pop-to-buffer.
12309 * mail/rmailsum.el: Replace all pop-to-buffer calls with
12310 rmail-pop-to-buffer, to prevent horizontal splits.
12312 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
12313 save-excursion with save-current-buffer.
12314 Widen before searching. (Bug#5093)
12315 (diary-list-sexp-entries): Remove superfluous save-excursion.
12317 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
12319 * woman.el (woman-make-bufname): Handle man-pages with "." in the
12322 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
12324 * ido.el (ido-file-internal): Handle filenames at point that do
12325 not have a directory part. (Bug#5049)
12327 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
12329 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
12330 (mpc-songs-jump-to, mpc-resume): Doc fixes.
12332 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
12334 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
12335 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
12338 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12340 * comint.el (comint-insert-input): Ignore clicks to the right of
12341 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
12343 * vc.el (vc-print-log-internal): Don't wait for the process to
12344 terminate before setting up the major mode.
12346 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
12349 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
12352 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
12354 2009-12-01 Glenn Morris <rgm@gnu.org>
12356 * window.el (window--display-buffer-2): Fix previous changes.
12358 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
12360 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
12362 2009-12-01 Glenn Morris <rgm@gnu.org>
12364 * Makefile.in (ELCFILES): Add mpc.elc.
12366 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12368 * mpc.el: New file.
12370 2009-12-01 Glenn Morris <rgm@gnu.org>
12372 * window.el (window-to-use): Define for compiler.
12374 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
12375 consistent with others (no final period).
12377 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
12378 (rmail-mime-show): Downcase the encoding. (Bug#5070)
12380 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
12382 Make vc-print-log buttons work.
12383 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
12385 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
12387 * savehist.el (savehist-autosave-interval): Allow setting to nil
12388 through customize. (Bug#5056)
12390 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
12392 Fix references to jit-lock properties.
12393 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
12394 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
12395 (perl-font-lock-special-syntactic-constructs):
12396 Quote jit-lock-defer-multiline property.
12398 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
12400 * vc-git.el (vc-git-registered): Call vc-git-root only once.
12402 2009-11-30 Juri Linkov <juri@jurta.org>
12404 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
12405 value `buffer' of `multi-isearch-next-buffer-current-function'.
12406 Use `(current-buffer)' when `buffer' is nil.
12407 (multi-isearch-next-buffer-from-list): Don't fallback to
12408 `(current-buffer)' when `buffer' is nil. (Bug#4947)
12410 2009-11-30 Juri Linkov <juri@jurta.org>
12412 * misearch.el (multi-isearch-read-buffers): Move canonicalization
12413 of buffers with `get-buffer' to `multi-isearch-buffers'.
12414 (multi-isearch-buffers, multi-isearch-buffers-regexp):
12415 Canonicalize BUFFERS with `get-buffer'. Doc fix.
12416 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
12417 FILES with `expand-file-name' converting relative file names
12418 to absolute. Doc fix. (Bug#4727)
12420 2009-11-30 Juri Linkov <juri@jurta.org>
12422 * misearch.el (multi-isearch-read-buffers)
12423 (multi-isearch-read-matching-buffers): New functions.
12424 (multi-isearch-buffers, multi-isearch-buffers-regexp):
12425 Use them in the `interactive' spec. Doc fix.
12426 (multi-isearch-read-files, multi-isearch-read-matching-files):
12428 (multi-isearch-files, multi-isearch-files-regexp):
12429 Use them in the `interactive' spec. Doc fix. (Bug#4725)
12431 2009-11-30 Juri Linkov <juri@jurta.org>
12433 * doc-view.el (doc-view-continuous):
12434 Rename from `doc-view-continuous-mode'.
12435 (doc-view-menu): Move "Toggle display" to the top.
12436 Add submenu "Continuous" with radio buttons "Off"/"On"
12437 and "Save as Default".
12438 (doc-view-scroll-up-or-next-page)
12439 (doc-view-scroll-down-or-previous-page)
12440 (doc-view-next-line-or-next-page)
12441 (doc-view-previous-line-or-previous-page):
12442 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
12444 2009-11-30 Juri Linkov <juri@jurta.org>
12446 * comint.el (comint-mode-map): Rebind `M-r' from
12447 `comint-previous-matching-input' to
12448 `comint-history-isearch-backward-regexp'.
12449 Unbind `M-s' to allow global key binding `M-s'.
12450 Add menu items for `comint-history-isearch-backward' and
12451 `comint-history-isearch-backward-regexp'. (Bug#3746)
12453 2009-11-30 Juri Linkov <juri@jurta.org>
12455 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
12456 For def=recenter, replace `recenter' with `recenter-top-bottom'
12457 that is called with `this-command' and `last-command' let-bound
12458 to `recenter-top-bottom'. When the last `def' was not `recenter',
12459 set `recenter-last-op' to nil. (Bug#4981)
12461 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
12463 Minor cleanup and simplification.
12464 * filecache.el (file-cache-add-directory)
12465 (file-cache-add-directory-recursively)
12466 (file-cache-add-from-file-cache-buffer)
12467 (file-cache-delete-file-regexp, file-cache-delete-directory)
12468 (file-cache-files-matching-internal, file-cache-display): Use dolist.
12469 (file-cache-temp-minibuffer-message): Delete function.
12470 (file-cache-minibuffer-complete): Use minibuffer-message instead.
12472 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
12473 Don't signal an error when bumping into EOB in tr, s, or y.
12475 2009-11-29 Juri Linkov <juri@jurta.org>
12477 * startup.el (fancy-about-text): Fix wording of Guided Tour.
12480 * descr-text.el (describe-char-unidata-list): Use lowercase name
12481 for "Unicode name" like in other tags.
12483 2009-11-29 Juri Linkov <juri@jurta.org>
12485 * ediff-util.el (ediff-minibuffer-with-setup-hook):
12486 New compatibility macro.
12487 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
12489 2009-11-29 Juri Linkov <juri@jurta.org>
12491 Add defcustom to define the cycling order of `recenter-top-bottom'.
12494 * window.el (recenter-last-op): Doc fix.
12495 (recenter-positions): New defcustom.
12496 (recenter-top-bottom): Rewrite to use `recenter-positions'.
12497 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
12499 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
12501 Improve integration of Tramp and ange-ftp in eshell.
12503 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
12504 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
12505 (eshell/sudo): Flatten args. Let-bind `default-directory'.
12507 * eshell/esh-util.el (top): Require also Tramp when compiling.
12508 (eshell-directory-files-and-attributes): Check for FTP remote
12510 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
12511 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
12512 (eshell-file-attributes): Handle ".". Return `entry'.
12514 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
12515 (ange-ftp-directory-files-and-attributes)
12516 (ange-ftp-real-directory-files-and-attributes): New defuns.
12518 * net/tramp.el (tramp-maybe-open-connection): Open the remote
12519 shell with "exec" when possible. This prevents trailing prompts
12520 in `start-file-process'.
12522 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12524 Try and remove assumptions about point-min==1.
12525 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
12526 (rng-compute-mode-line-string): Show the validation percentage in
12527 terms of the narrowed text, not the widened text.
12528 (rng-do-some-validation): Don't catch internal errors when debugging.
12529 (rng-first-error): Simplify.
12530 (rng-after-change-function): Remove work around. AFAIK the bug has
12531 been fixed a while ago.
12533 * image-mode.el (image-minor-mode): Exit more gracefully when the image
12534 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
12536 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
12538 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
12539 `cd' doesn't always do it for us (bug#5067).
12541 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
12542 on 2009-10-25 as part of some other change (bug#5067).
12544 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
12546 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
12548 (byte-compile-warnings): Use byte-compile-warning-types.
12549 (byte-compile-save-excursion): Warn about use of set-buffer right
12550 after save-excursion.
12552 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
12553 the excursion as well.
12555 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
12557 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
12558 providing a Tramp related implementation of "su" and "sudo".
12559 (eshell-unix-initialize): Add "su" and "sudo".
12561 2009-11-27 Daiki Ueno <ueno@unixuser.org>
12563 * net/socks.el (socks-send-command): Convert binary request to
12564 unibyte before sending. This fixes mishandling of some port
12565 numbers such as 129.
12567 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
12569 * help.el (describe-bindings-internal): Remove `interactive'.
12571 * man.el (Man-completion-table): Trim a terminating "(".
12572 Remove the space between name page a section.
12573 Add the command's description on the `help-echo' property.
12574 Remove `process-connection-type' binding since it's unused by
12576 Provide completion for the "<section> <name>" format as well.
12577 (Man-default-man-entry): Remove spurious var shadowing the argument.
12579 2009-11-26 Kevin Ryde <user42@zip.com.au>
12581 * log-view.el: Add "Keywords: tools", since its other keywords
12582 aren't in finder-known-keywords, and following vc.el.
12584 * sha1.el (sha1-string-external): default-directory "/" in case
12585 otherwise non-existent. process-connection-type pipe for touch of
12586 efficiency recommended by elisp manual. (An aside in Bug#3911.)
12588 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
12590 Misc coding convention cleanups.
12591 * htmlfontify.el (hfy-init-kludge-hook): Rename from
12592 hfy-init-kludge-hooks.
12593 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
12594 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
12595 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
12597 (hfy-slant, hfy-weight): Use tables rather than code.
12598 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
12599 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
12600 (hfy-face-attr-for-class): Initialize `face-spec' directly.
12601 (hfy-face-to-css): Remove `nconc' with single arg.
12602 (hfy-p-to-face-lennart): Use `or'.
12603 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
12604 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
12605 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
12606 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
12607 (hfy-force-fontification): Use run-hooks.
12609 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
12611 Various minor fixes.
12612 * htmlfontify.el (hfy-default-header): Add toggle_invis since
12613 Javascript belongs in the header, not the body.
12614 (hfy-javascript): Remove.
12615 (hfy-fontify-buffer): Don't insert it any more.
12616 (hfy-face-at): Handle (face0 face1 face2) style face properties.
12617 Fix bug in invis handling when there were no invis props in a chunk.
12619 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
12621 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
12623 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
12625 * finder.el (finder-mode-map): Add a menu.
12627 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
12629 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
12630 "unsigned" structs.
12632 (verilog-leap-to-head, verilog-backward-token): Handle "disable
12633 fork" statement better.
12635 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
12637 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
12638 (verilog-delete-auto, verilog-delete-empty-auto-pair)
12639 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
12640 Reported by Clay Douglass.
12642 (verilog-auto-inst, verilog-auto-star-safe)
12643 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
12644 Fix removing "// Interfaces" when saving .* expansions.
12645 Reported by Pierre-David Pfister.
12647 2009-11-26 Glenn Morris <rgm@gnu.org>
12649 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
12652 2009-11-25 Johan Bockgård <bojohan@gnu.org>
12654 * vc-annotate.el (vc-annotate-revision-previous-to-line):
12655 Really use previous revision.
12657 2009-11-25 Kevin Ryde <user42@zip.com.au>
12659 * man.el (Man-completion-table): default-directory "/" in case
12660 doesn't otherwise exist. process-environment COLUMNS=999 so as
12661 not to truncate long names. process-connection-type pipe to avoid
12662 any chance of hitting the pseudo-tty TIOCGWINSZ.
12663 (man): completion-ignore-case t for friendliness and since man
12664 itself is case-insensitive on the command line.
12665 Further to Bug#3717.
12667 * arc-mode.el: Add "Keywords: files", so the details in its
12668 commentary can be reached from finder-by-keyword.
12669 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
12670 editing mode, but it's comms related and sgml-mode.el has "comm"
12672 * textmodes/bibtex-style.el: Add "Keywords: tex".
12673 * international/isearch-x.el, international/ja-dic-cnv.el:
12674 * international/ja-dic-utl.el, international/kkc.el:
12675 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
12677 2009-11-25 Juri Linkov <juri@jurta.org>
12679 * man.el (Man-completion-table): Modify regexp to include
12680 section names to completion strings. (Bug#3717)
12682 2009-11-25 Juri Linkov <juri@jurta.org>
12684 Search recursively in gzipped files. (Bug#4982)
12686 * progmodes/grep.el (grep-highlight-matches): Add new options
12687 `always' and `auto'. Doc fix.
12688 (grep-process-setup): Check `grep-highlight-matches' for
12689 `auto-detect' to determine the need to compute grep defaults.
12690 Move Windows/DOS specific --colors settings handling
12691 to `grep-compute-defaults'. Check `grep-highlight-matches'
12692 to get the value of "--color=".
12693 (grep-compute-defaults): Compute `grep-highlight-matches' when it
12694 has the value `auto-detect'. Move Windows/DOS specific settings
12695 from `grep-process-setup'.
12696 (zrgrep): New command with alias `rzgrep'.
12698 2009-11-25 Juri Linkov <juri@jurta.org>
12700 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
12701 to nil instead of switching off view-mode. (Bug#4896)
12703 2009-11-25 Juri Linkov <juri@jurta.org>
12705 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
12707 * mwheel.el (mwheel-scroll-up-function)
12708 (mwheel-scroll-down-function): New defvars.
12709 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
12710 `scroll-up', and `mwheel-scroll-down-function' instead of
12713 * doc-view.el (doc-view-scroll-up-or-next-page)
12714 (doc-view-scroll-down-or-previous-page): Add optional ARG.
12715 Use this ARG in the call to image-scroll-up/image-scroll-down.
12716 Change `interactive' spec to "P". Goto next/previous page only
12717 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
12718 SPC/DEL case). Doc fix.
12719 (doc-view-next-line-or-next-page)
12720 (doc-view-previous-line-or-previous-page): Rename arg to ARG
12722 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
12723 `doc-view-scroll-up-or-next-page', and buffer-local
12724 `mwheel-scroll-down-function' to
12725 `doc-view-scroll-down-or-previous-page'.
12727 2009-11-25 Juri Linkov <juri@jurta.org>
12729 Provide additional default values (directories at other Dired
12730 windows) via M-n in the minibuffer of some Dired commands.
12732 * dired-aux.el (dired-diff, dired-compare-directories)
12733 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
12734 `minibuffer-default' in `minibuffer-with-setup-hook'.
12735 (dired-dwim-target-directory): Find a window that displays Dired
12736 buffer instead of failing when the next window is not Dired.
12737 Use `get-window-with-predicate' to find for the next Dired window.
12738 (dired-dwim-target-defaults): New function.
12740 * ediff-util.el (ediff-read-file-name):
12741 Use `dired-dwim-target-defaults' to set `minibuffer-default'
12742 in `minibuffer-with-setup-hook'.
12744 2009-11-25 Juri Linkov <juri@jurta.org>
12746 Provide additional default values (file name at point or at the
12747 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
12749 * minibuffer.el (read-file-name-defaults): New function.
12750 (read-file-name): Reset `minibuffer-default' to nil when
12751 it duplicates initial input `insdef'.
12752 Bind `minibuffer-default-add-function' to lambda that
12753 calls `read-file-name-defaults' in `minibuffer-selected-window'.
12754 (minibuffer-insert-file-name-at-point): New command.
12756 * files.el (file-name-at-point-functions): New defcustom.
12757 (find-file-default): Remove defvar.
12758 (find-file-read-args): Don't use `find-file-default'.
12759 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
12760 to `read-file-name'.
12761 (find-file-literally): Use `read-file-name' with
12762 `confirm-nonexistent-file-or-buffer'.
12764 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
12766 * dired.el (dired-read-dir-and-switches):
12767 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
12768 to `read-file-name'.
12769 (dired-file-name-at-point): New function.
12770 (dired-mode): Add hook `dired-file-name-at-point' to
12771 `file-name-at-point-functions'.
12773 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
12775 Really make the *Completions* window soft-dedicated (bug#5030).
12776 * window.el (window--display-buffer-2): Add `dedicated' argument.
12777 (display-buffer): Pass it when needed so the dedicated flag is set
12778 after calling set-window-buffer, which would otherwise reset it.
12780 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
12782 * progmodes/meta-mode.el (meta-complete-symbol):
12783 * progmodes/etags.el (complete-tag):
12784 * mail/mailabbrev.el (mail-abbrev-complete-alias):
12785 Use completion-in-region.
12787 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
12788 (dabbrev-completion): Use completion-in-region.
12789 (dabbrev--abbrev-at-point): Simplify regexp.
12791 * abbrev.el (abbrev--before-point): Use word-motion functions
12792 if :regexp is not specified (bug#5031).
12794 * subr.el (string-prefix-p): New function.
12796 * man.el (Man-completion-cache): New var.
12797 (Man-completion-table): Use it.
12799 * vc.el (vc-print-log-internal): Make `limit' optional for better
12800 compatibility (e.g. with vc-annotate.el).
12802 2009-11-24 Kevin Ryde <user42@zip.com.au>
12804 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
12805 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
12807 * emacs-lisp/elint.el (elint-add-required-env): Better error message
12808 when .el source file not found or other error.
12810 2009-11-24 Markus Triska <markus.triska@gmx.at>
12812 * linum.el (linum-update-window): Ignore intangible (bug#4996).
12814 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
12816 Handle the [back] button properly (bug#4979).
12817 * descr-text.el (describe-text-properties): Add a `buffer' argument.
12818 Use help-setup-xref, help-buffer, and with-help-window.
12819 (describe-char): Add `buffer' argument.
12820 Pass proper command to help-setup-xref. Don't meddle with
12821 help-xref-stack-item directly.
12822 (describe-text-category): Use with-help-window and help-buffer.
12824 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
12825 for the displayed buffer (bug#4887).
12827 * man.el (Man-completion-table): New function.
12830 2009-11-24 David Reitter <david.reitter@gmail.com>
12832 * vc-git.el (vc-git-registered): Use checkout directory (where
12833 .git is) rather than the file's directory and a relative path spec
12834 to work around a bug in git.
12836 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
12838 Improve handling of processes on remote hosts.
12840 * eshell/esh-util.el (eshell-path-env): New defvar.
12841 (eshell-parse-colon-path): New defun.
12842 (eshell-file-attributes): Use `eshell-parse-colon-path'.
12844 * eshell/esh-ext.el (eshell-search-path):
12845 Use `eshell-parse-colon-path'.
12846 (eshell-remote-command): Remove argument HANDLER.
12847 (eshell-external-command): Check for FTP remote connection.
12849 * eshell/esh-proc.el (eshell-gather-process-output):
12850 Use `file-truename', in order to start also symlinked files.
12851 Apply `start-file-process' instead of `start-process'.
12852 Shorten `command' to the local file name part.
12854 * eshell/em-cmpl.el (eshell-complete-commands-list):
12855 Use `eshell-parse-colon-path'.
12857 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
12859 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
12860 to `eshell-directory-change-hook'.
12862 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
12864 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
12865 because it could be enabled automatically if view-read-only is non-nil.
12867 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
12869 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
12870 made on 2009-11-22.
12872 2009-11-24 Glenn Morris <rgm@gnu.org>
12874 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
12875 deleted variable bookmark-bmenu-bookmark-column.
12877 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
12879 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
12881 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
12883 * net/browse-url.el (browse-url-filename-alist): On Windows, add
12884 two slashes to the "file:" prefix.
12885 (browse-url-file-url): De-munge Cygwin filenames before passing
12886 them to Windows browser.
12887 (browse-url-default-windows-browser): Use call-process.
12889 2009-11-23 Juri Linkov <juri@jurta.org>
12891 Implement DocView Continuous mode. (Bug#4896)
12892 * doc-view.el (doc-view-continuous-mode): New defcustom.
12893 (doc-view-mode-map): Bind C-n/<down> to
12894 `doc-view-next-line-or-next-page', C-p/<up> to
12895 `doc-view-previous-line-or-previous-page'.
12896 (doc-view-next-line-or-next-page)
12897 (doc-view-previous-line-or-previous-page): New commands.
12899 2009-11-23 Juri Linkov <juri@jurta.org>
12901 Implement Isearch in comint input history. (Bug#3746)
12902 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
12903 `isearch-mode-hook'.
12904 (comint-history-isearch): New defcustom.
12905 (comint-history-isearch-backward)
12906 (comint-history-isearch-backward-regexp): New commands.
12907 (comint-history-isearch-message-overlay): New buffer-local variable.
12908 (comint-history-isearch-setup, comint-history-isearch-end)
12909 (comint-goto-input, comint-history-isearch-search)
12910 (comint-history-isearch-message, comint-history-isearch-wrap)
12911 (comint-history-isearch-push-state)
12912 (comint-history-isearch-pop-state): New functions.
12914 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
12916 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
12918 (tramp-handle-make-symbolic-link)
12919 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
12921 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
12922 (tramp-handle-process-file): Use it.
12924 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
12926 * window.el (move-to-window-line-last-op): Remove.
12927 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
12929 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
12931 Make M-r mirror the new cycling behavior of C-l.
12932 * window.el (move-to-window-line-last-op): New var.
12933 (move-to-window-line-top-bottom): New command.
12934 (global-map): Bind M-r move-to-window-line-top-bottom.
12936 2009-11-23 Sven Joachim <svenjoac@gmx.de>
12938 * dired-x.el (dired-guess-shell-alist-default):
12939 Support xz format. (Bug#4953)
12941 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
12943 * emulation/viper-cmd.el: Use viper-last-command-char instead of
12944 last-command-char/last-command-event.
12945 (viper-prefix-arg-value): Do correct conversion of event-char for
12948 * emulation/viper-util.el, emulation/viper.el:
12949 Use viper-last-command-char instead of
12950 last-command-char/last-command-event.
12952 * ediff-init.el, ediff-mult.el, ediff-util.el:
12953 Replace last-command-char and last-command-event
12954 with (ediff-last-command-char) everywhere.
12956 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
12957 created in fundamental mode.
12959 * ediff.el (ediff-version): Revert the change of interactive-p to
12960 called-interactively-p.
12962 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
12964 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
12965 generation from word-movement command names.
12967 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
12969 * cus-start.el (all): Add native condition for font-use-system-font.
12971 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
12973 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
12974 Correct the patch from 2009-11-18. (Bug#3910)
12976 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
12978 * progmodes/subword.el: Rename from lisp/subword.el.
12980 * subword.el: Rename to progmodes/subword.el.
12982 * Makefile.in (ELCFILES): Adapt to subword.el move.
12984 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12985 Stefan Monnier <monnier@iro.umontreal.ca>
12987 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
12988 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
12989 (bookmark-bmenu-show-filenames): Use push.
12990 (bookmark-bmenu-hide-filenames): Use local var instead of
12991 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
12992 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
12993 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
12994 filenames now that the bookmark names are always available.
12996 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12998 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
12999 (bookmark-search-pattern): Move and leave unbound.
13000 (bookmark-bmenu-mode-map): Change binding.
13001 (bookmark-read-search-input): Simplify.
13002 Don't use text-char-description. Don't error on non-char events.
13003 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
13004 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
13005 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
13006 Use a local var for the timer.
13007 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
13008 (i.e. bookmark-bmenu-search).
13010 2009-11-21 Glenn Morris <rgm@gnu.org>
13012 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
13014 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
13016 * net/browse-url.el (browse-url-default-windows-browser):
13017 Use cygstart for cygwin.
13019 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
13021 * bookmark.el: Formatting and doc fixes only:
13022 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
13023 (bookmark-bmenu-search): Wrap to fit within 80 columns.
13024 Minor grammar and punctuation fixes in doc string.
13025 (bookmark-read-search-input): Adjust to fit within 80 columns.
13027 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
13029 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
13030 (c-backward-into-nomenclature): Adapt to subword renaming.
13032 * subword.el (subword-forward, subword-backward, subword-mark)
13033 (subword-kill, subword-backward-kill, subword-transpose)
13034 (subword-downcase, subword-upcase, subword-capitalize)
13035 (subword-forward-internal, subword-backward-internal):
13036 Rename from forward-subword, backward-subword, mark-subword,
13037 kill-subword, backward-kill-subword, transpose-subwords,
13038 downcase-subword, upcase-subword, capitalize-subword,
13039 forward-subword-internal, backward-subword-internal.
13041 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13043 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
13045 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
13047 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
13048 (bookmark-bmenu-filter-alist-by-regexp)
13049 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
13050 (bookmark-bmenu-search): New command.
13051 (bookmark-bmenu-mode-map): Bind it.
13053 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
13055 * progmodes/cc-cmds.el: declare-functioned forward-subword and
13056 backward-subword to quit the byte-compiler.
13058 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
13060 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
13062 * progmodes/cc-cmds.el (c-update-modeline)
13063 (c-forward-into-nomenclature, c-backward-into-nomenclature):
13064 Refer to subword.el functions instead of cc-subword.el.
13066 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
13067 subword.el functions instead of cc-subword.el.
13069 * progmodes/cc-subword.el: Rename to subword.el.
13070 * subword.el: Rename from progmodes/cc-subword.el.
13071 (subword-mode-map): Rename from c-subword-mode-map.
13072 (subword-mode): Rename from c-subword-mode.
13073 (global-subword-mode): New global minor mode.
13074 (forward-subword): Rename from c-forward-subword.
13075 (backward-subword): Rename from c-backward-subword.
13076 (mark-subword): Rename from c-mark-subword.
13077 (kill-subword): Rename from c-kill-subword.
13078 (backward-kill-subword): Rename from c-backward-kill-subword.
13079 (transpose-subwords): Rename from c-tranpose-subword.
13080 (downcase-subword): Rename from c-downcase-subword.
13081 (capitalize-subword): Rename from c-capitalize-subword.
13082 (forward-subword-internal): Rename from c-forward-subword-internal.
13083 (backward-subword-internal): Rename from c-backward-subword-internal.
13085 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
13087 * vc.el (vc-deduce-fileset): Allow non-state changing operations
13088 from a dired buffer.
13089 (vc-dired-deduce-fileset): New function.
13090 (vc-root-diff, vc-print-root-log): Use it.
13092 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
13093 nil LIMIT argument to vc-print-log-internal.
13095 2009-11-20 Glenn Morris <rgm@gnu.org>
13097 * Makefile.in (ELCFILES): Regenerate.
13099 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
13101 * calc/calc.el (calc-set-mode-line):
13102 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13103 (math-format-number): Rename `math-format-complement-signed' to
13104 `math-format-twos-complement'.
13106 * calc/calc-bin.el (math-format-twos-complement): Rename from
13107 math-format-complement-signed.
13108 (calc-radix): Rename `calc-complement-signed-mode' to
13109 `calc-twos-complement-mode'.
13110 (calc-octal-radix, calc-hex-radix): Add an argument for
13113 * calc/calc-embed.el (calc-embedded-mode-vars):
13114 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13116 * calc/calc-ext.el (calc-init-extensions):
13117 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13118 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
13120 * calc/calc-units.el (math-build-units-table-buffer):
13121 Let `calc-twos-complement-mode' be nil.
13123 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
13126 * calc/calc-vec.el (calcFunc-vunpack):
13127 * calc/calc-aent.el (calc-do-calc-eval):
13128 * calc/calc-forms.el (math-format-date):
13129 * calc/calc-graph.el (calc-graph-plot):
13130 * calc/calc-math.el (math-use-emacs-fn):
13131 * calc/calccomp.el (math-compose-expr):
13132 Let `calc-twos-complement-mode' be nil.
13134 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
13136 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
13137 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
13138 * minibuffer.el (completion-in-region-functions): New hook.
13139 (completion-in-region): New function.
13140 * emacs-lisp/lisp.el (lisp-complete-symbol):
13141 * pcomplete.el (pcomplete-std-complete): Use it.
13143 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
13145 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
13146 (latex-complete-alist): New vars.
13147 (latex-string-prefix-p, latex-complete-bibtex-keys)
13148 (latex-complete-envnames, latex-complete-refkeys)
13149 (latex-complete-data): New functions.
13150 (latex-complete, latex-indent-or-complete): New commands.
13152 * window.el (display-buffer-mark-dedicated): New var.
13153 (display-buffer): Obey it.
13154 * minibuffer.el (minibuffer-completion-help): Use it.
13156 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
13158 * filecache.el (file-cache-add-file): Use push and cons.
13159 (file-cache-delete-file-regexp): Use push.
13160 (file-cache-complete): Use completion-in-region.
13162 * simple.el (with-wrapper-hook): Fix thinko.
13164 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
13165 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
13166 Use with-current-buffer and string-to-number.
13167 (hfy-fallback-colour-values): Use assoc-string.
13168 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
13169 (hfy-face-at): Remove unused var `found-face'.
13170 (hfy-compile-stylesheet): Remove unused var `css'.
13171 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
13173 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
13174 Use with-current-buffer.
13175 (hfy-text-p): Use expand-file-name and fewer setq.
13177 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
13179 * htmlfontify.el, hfy-cmap.el: New files.
13181 2009-11-19 Juri Linkov <juri@jurta.org>
13183 * minibuffer.el (completions-format): New defcustom.
13184 (completion--insert-strings): Implement vertical format.
13186 * simple.el (switch-to-completions): Move point to the first
13187 completion when point was at the beginning of the buffer.
13189 2009-11-19 Juri Linkov <juri@jurta.org>
13191 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
13193 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
13195 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
13197 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
13198 (mail-signature): Change default to t.
13199 (mail-from-style): Deprecate `system-default' value.
13200 (mail-insert-from-field): For default value of mail-from-style,
13201 default to `angles' unless `angles' needs quoting and `parens'
13203 (mail-citation-prefix-regexp): Use citation regexp from
13206 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
13208 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13209 Set variables for computing the prompt for reading password.
13211 2009-11-19 Glenn Morris <rgm@gnu.org>
13213 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
13215 * textmodes/flyspell.el (sgml-lexical-context): Declare.
13217 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
13218 (newsticker-treeview-listwindow-height): Fix custom type.
13220 2009-11-19 Kenichi Handa <handa@m17n.org>
13222 * descr-text.el (describe-char-padded-string): Compose with TAB
13223 only if there's a font for CH.
13224 (describe-char): Fix the condition for detecting a trivial composition.
13226 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
13228 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
13229 more accurate version of the regexp. (Bug#3910)
13231 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
13233 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
13235 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
13237 * font-setting.el (font-use-system-font): Declare for byte-compiler.
13238 (font-setting-change-default-font): Fix typo in docstring.
13240 2009-11-18 Alan Mackenzie <acm@muc.de>
13242 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
13244 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
13246 * font-setting.el (font-use-system-font): Move ...
13248 * cus-start.el (all): ... to here.
13250 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
13252 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
13253 Don't set `ad-return-value' if `ad-do-it' doesn't.
13255 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
13258 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
13260 * menu-bar.el: Put "Use system font" in Option-menu.
13261 (menu-bar-options-save): Add font-use-system-font.
13263 * loadup.el: If feature system-font-setting or font-render-setting is
13264 there, load font-setting.
13266 * Makefile.in (ELCFILES): Add font-settings.el.
13267 * font-setting.el: New file.
13269 2009-11-17 Glenn Morris <rgm@gnu.org>
13271 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
13273 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
13274 Preserve point in the list buffer. (Bug#4939)
13276 (newsticker--treeview-list-update-highlight)
13277 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
13279 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
13281 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
13284 * calc/calc-ext.el (calc-init-extensions): Remove references to
13287 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
13289 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
13290 * calc/calc-help.el (calc-b-prefix-help): Remove references to
13293 2009-11-16 Kevin Ryde <user42@zip.com.au>
13295 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
13296 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
13298 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
13299 (lm-keywords-list): Allow comma-only separator like "foo,bar".
13300 Ignore trailing spaces by omit-nulls to split-string (fixing
13301 regression from Emacs 21 due to the incompatible split-string
13302 change). (Bug #4928.)
13304 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
13306 * vc.el (vc-log-show-limit): Default to 2000.
13307 (vc-print-log-internal): Insert buttons to request more entries
13308 when limiting the output.
13310 * vc-sccs.el (vc-sccs-print-log):
13311 * vc-rcs.el (vc-rcs-print-log):
13312 * vc-cvs.el (vc-cvs-print-log):
13313 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
13316 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
13318 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
13319 error when `tramp-gvfs-dbus-event-vector' is set.
13320 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
13322 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
13324 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
13326 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
13328 * net/dbus.el (dbus-unregister-service): New defun.
13329 (dbus-register-property): Register the handlers of
13330 "org.freedesktop.DBus.Properties" for SERVICE.
13331 (dbus-property-handler): Fix docstring.
13333 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13335 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
13336 Quote doc string reference in defvaralias as it is not in special form.
13337 (byte-compile-output-docform): Doc fix.
13339 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
13341 * calc/calc.el (math-2-word-size, math-half-2-word-size)
13342 (calc-complement-signed-mode): New variables.
13343 (calc-set-mode-line): Add indicator for twos-complements.
13344 (math-format-number): Format twos-complement notation.
13346 * calc/calc-bin.el (calc-word-size): Reset the variables
13347 `math-2-word-size' and `math-half-2-word-size'.
13348 (math-format-complement-signed, math-symclip, calcFunc-symclip)
13349 (calc-symclip): New functions.
13351 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
13353 * calc/calc-embed.el (calc-embedded-mode-vars):
13354 Add `calc-complement-signed-mode' to the list of modes.
13356 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
13357 (calc-b-oper-keys): Add `calc-symclip' to list.
13359 * calc/calc-ext.el (math-read-number-fancy): Read complement
13361 (calc-init-extensions): Add binding for `calc-symclip'.
13362 Add autoload for `calcFunc-symclip' and `calc-symclip'.
13364 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
13366 (calc-modes-menu): Add item for twos complement mode.
13368 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
13370 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
13372 * register.el (jump-to-register, insert-register): Handle Semantic
13373 tags. From commented-out advice in semantic/senator.el.
13375 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
13377 * vc.el (vc-log-show-limit): New variable.
13378 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
13379 when using a prefix argument.
13380 (vc-print-log-internal): Add new argument LIMIT.
13382 * vc-svn.el (vc-svn-print-log):
13383 * vc-mtn.el (vc-mtn-print-log):
13384 * vc-hg.el (vc-hg-print-log):
13385 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
13386 pass it to the log command when set. Make the BUFFER argument
13389 * vc-sccs.el (vc-sccs-print-log):
13390 * vc-rcs.el (vc-rcs-print-log):
13391 * vc-git.el (vc-git-print-log):
13392 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
13393 ignore it. Make the BUFFER argument non-optional
13395 * bindings.el (mode-line-buffer-identification): Do not purecopy.
13397 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
13399 * dired.el (dired-mode-map): Move encryption items to "Operate"
13402 * strokes.el (strokes-update-window-configuration): Make strokes
13403 buffer current before erasing (Bug#4906).
13405 2009-11-15 Juri Linkov <juri@jurta.org>
13407 * simple.el (set-mark-default-inactive): Add :type, :group
13408 and :version. (Bug#4876)
13410 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
13412 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
13413 (archive-unique-fname): ... here. (Bug#4929)
13415 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
13417 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
13420 * novice.el (disabled-command-function): Add useful args.
13421 Setup the help buffer so that [back] works.
13422 Remove redundant call to help-mode.
13423 (disabled-command-function): Use `case'.
13424 (en/disable-command): New function extracted from enable-command.
13425 (enable-command, disable-command): Use it.
13427 2009-11-14 Glenn Morris <rgm@gnu.org>
13429 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
13430 constants. (Bug#4913)
13432 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
13434 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
13436 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
13437 defined in C that have no doc-strings. (Bug#1063)
13439 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
13441 * cus-edit.el (data, files):
13442 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
13444 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
13446 * simple.el (shell-command): Doc fix (Bug#4891).
13448 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
13450 2009-11-14 Glenn Morris <rgm@gnu.org>
13452 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
13453 statements for vc-diff, emerge-quit, and rmail-cease-edit.
13454 If they are already loaded, eval-after-load will do the right thing.
13456 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
13459 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
13461 * simple.el (x-selection-owner-p): Declare.
13462 (read-mail-command): Use custom radio type rather than choice.
13463 (completion-no-auto-exit): Doc fix.
13465 * custom.el (defgroup):
13466 * epg-config.el (epg): Doc fixes.
13468 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
13470 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
13471 * international/ccl.el (define-ccl-program): Do not purecopy the
13472 docstring, defconst does it anyway.
13474 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
13476 * add-log.el (add-change-log-entry): Avoid displaying the changelog
13479 * x-dnd.el (x-dnd-maybe-call-test-function):
13480 * window.el (split-window-vertically):
13481 * whitespace.el (whitespace-help-on):
13482 * vc-rcs.el (vc-rcs-consult-headers):
13483 * userlock.el (ask-user-about-lock-help)
13484 (ask-user-about-supersession-help):
13485 * type-break.el (type-break-force-mode-line-update):
13486 * time-stamp.el (time-stamp-conv-warn):
13487 * terminal.el (te-set-output-log, te-more-break, te-filter)
13488 (te-sentinel, terminal-emulator):
13489 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
13490 (term-write-input-ring, term-check-source, term-start-output-log):
13491 (term-display-buffer-line, term-dynamic-list-completions):
13492 (term-ansi-make-term, serial-term):
13493 * subr.el (selective-display):
13494 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
13495 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
13496 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
13497 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
13498 (speedbar-remove-localized-speedbar-support)
13499 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
13500 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
13501 (speedbar-buffers-line-directory):
13502 * simple.el (shell-command-on-region, append-to-buffer)
13503 (prepend-to-buffer):
13504 * shadowfile.el (shadow-save-todo-file):
13505 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
13506 (scroll-bar-maybe-set-window-start):
13507 * sb-image.el (speedbar-image-dump):
13508 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
13509 (load-save-place-alist-from-file):
13510 * ps-samp.el (ps-print-message-from-summary):
13511 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
13512 (ps-background-image, ps-begin-job, ps-do-despool):
13513 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
13514 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
13515 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
13516 (pr-call-process, pr-file-list, pr-interface-save):
13517 * novice.el (disabled-command-function)
13518 (enable-command, disable-command):
13519 * mouse.el (mouse-buffer-menu-alist):
13520 * mouse-copy.el (mouse-kill-preserving-secondary):
13521 * macros.el (kbd-macro-query):
13522 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
13523 * informat.el (batch-info-validate):
13524 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
13525 * hippie-exp.el (try-expand-dabbrev-visible):
13526 * help-mode.el (help-make-xrefs):
13527 * help-fns.el (describe-variable):
13528 * generic-x.el (bat-generic-mode-run-as-comint):
13529 * finder.el (finder-mouse-select):
13530 * find-dired.el (find-dired-sentinel):
13531 * filesets.el (filesets-file-close):
13532 * files.el (list-directory):
13533 * faces.el (list-faces-display, describe-face):
13534 * facemenu.el (list-colors-display):
13535 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
13536 * epg.el (epg--process-filter, epg-cancel):
13537 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
13538 (epa--read-signature-type):
13539 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
13540 (emerge-file-names):
13541 * ehelp.el (electric-helpify):
13542 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
13543 * ediff-vers.el (rcs-ediff-view-revision):
13544 * ediff-util.el (ediff-setup):
13545 * ediff-mult.el (ediff-append-custom-diff):
13546 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
13548 * echistory.el (Electric-command-history-redo-expression):
13549 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
13550 * disp-table.el (describe-display-table):
13551 * dired.el (dired-find-buffer-nocreate):
13552 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
13553 * dabbrev.el (dabbrev--same-major-mode-p):
13554 * chistory.el (list-command-history):
13555 * apropos.el (apropos-documentation):
13556 * allout.el (allout-obtain-passphrase):
13557 (allout-copy-exposed-to-buffer):
13558 (allout-verify-passphrase): Use with-current-buffer.
13560 2009-11-13 Glenn Morris <rgm@gnu.org>
13562 * Makefile.in (ELCFILES): Regenerate.
13564 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
13566 * net/dbus.el (dbus-registered-objects-table): Rename from
13567 `dbus-registered-functions-table', because it contains also properties.
13568 (dbus-unregister-object): Unregister also properties.
13569 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13570 Use a timeout of 500 msec, in order to not block.
13571 (dbus-register-property, dbus-property-handler): New defuns.
13573 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
13575 * simple.el (minibuffer-default-add-completions): Drop deprecated
13578 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
13580 * textmodes/artist.el (artist-mouse-choose-operation):
13581 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
13582 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
13583 (artist-compute-up-event-key): New function.
13584 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
13586 2009-11-13 Kenichi Handa <handa@m17n.org>
13588 * language/japan-util.el: Make sure that the value of jisx0208
13589 property is jisx0208 character.
13591 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
13593 * international/mule.el (auto-coding-regexp-alist): Only purecopy
13594 car or each item, not the whole list.
13596 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
13598 * minibuffer.el (minibuffer-completion-help):
13599 Use minibuffer-hide-completions.
13601 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
13603 * dired.el (dired-save-positions, dired-restore-positions): New funs.
13604 (dired-revert): Use them (bug#4880).
13606 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
13608 * tooltip.el (tooltip-frame-parameters): Undo previous change.
13610 2009-11-12 Juri Linkov <juri@jurta.org>
13612 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
13614 (find-file-literally-at-point): Alias of `ffap-literally'.
13616 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
13618 * textmodes/ispell.el (ispell-skip-region-alist):
13619 * textmodes/css-mode.el (auto-mode-alist):
13620 * progmodes/compile.el (auto-mode-alist):
13621 * international/mule.el (ctext-non-standard-encodings-alist)
13622 (ctext-non-standard-encodings-regexp):
13623 * simple.el (shell-command-switch, text-read-only):
13624 * replace.el (occur-mode-map):
13625 * paths.el (rmail-file-name):
13626 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
13627 * find-file.el (ff-special-constructs):
13628 * files.el (file-name-handler-alist):
13629 * composite.el: Purecopy strings.
13631 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
13633 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
13635 * widget.el (define-widget): Purecopy the docstring.
13636 * international/mule-cmds.el (charset): Do not purecopy the
13637 docstring here, define-widget does it.
13639 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
13640 * textmodes/bibtex-style.el (auto-mode-alist):
13641 * progmodes/inf-lisp.el (inferior-lisp-prompt):
13642 * progmodes/compile.el (compile-command):
13643 * language/korea-util.el (default-korean-keyboard):
13644 * international/mule-conf.el (file-coding-system-alist):
13645 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
13646 * tooltip.el (tooltip-frame-parameters):
13647 * newcomment.el (comment-end, comment-padding):
13648 * dired.el (dired-trivial-filenames):
13649 * comint.el (comint-file-name-prefix): Purecopy initial values.
13651 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
13653 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
13654 (tramp-advice-minibuffer-electric-tilde): Unload advices via
13656 (tramp-advice-make-auto-save-file-name)
13657 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
13658 after removing the advice.
13660 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
13662 * progmodes/grep.el (grep-regexp-alist):
13663 * international/mule-cmds.el (iso-2022-control-alist):
13664 * emacs-lisp/timer.el (timer-duration-words):
13665 * subr.el (version-separator, version-regexp-alist):
13666 * minibuffer.el (completion-styles-alist):
13667 * faces.el (face-attribute-name-alist, list-faces-sample-text):
13668 Change defvars to defconsts.
13670 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
13671 * loadup.el ("international/mule-conf"): Load the byte compiled version.
13672 * international/mule-conf.el: Allow to be byte compiled.
13674 * international/mule.el (define-charset): Purecopy props.
13675 (load-with-code-conversion): Purecopy doc string and file name.
13676 (put-charset-property): Purecopy strings.
13677 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
13679 * international/mule-cmds.el (register-input-method): Purecopy arguments.
13680 (define-char-code-property): Correctly purecopy the table.
13682 * international/ccl.el (define-ccl-program): Purecopy the docstring.
13684 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
13686 * subr.el (add-hook): Purecopy strings.
13687 (eval-after-load): Purecopy load-history-regexp and the form.
13689 * custom.el (custom-declare-group): Purecopy load-file-name.
13691 * subr.el (menu-bar-separator): New defconst.
13692 * net/eudc.el (eudc-tools-menu):
13693 * international/mule-cmds.el (set-coding-system-map)
13694 (mule-menu-keymap):
13695 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
13696 * vc-hooks.el (vc-menu-map):
13697 * replace.el (occur-mode-map):
13698 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
13699 (menu-bar-edit-menu, menu-bar-goto-menu)
13700 (menu-bar-custom-menu, menu-bar-showhide-menu)
13701 (menu-bar-options-menu, menu-bar-tools-menu)
13702 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
13703 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
13704 (menu-bar-help-menu):
13705 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
13706 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
13708 * term/x-win.el (x-gtk-stock-map):
13709 * progmodes/vera-mode.el (auto-mode-alist):
13710 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
13711 (inferior-lisp-program, inferior-lisp-load-command):
13712 * progmodes/hideshow.el (hs-special-modes-alist):
13713 * progmodes/gud.el (same-window-regexps):
13714 * progmodes/grep.el (grep-program, find-program, xargs-program):
13715 * net/telnet.el (same-window-regexps):
13716 * net/rlogin.el (same-window-regexps):
13717 * language/ethiopic.el (font-ccl-encoder-alist):
13718 * vc-sccs.el (vc-sccs-master-templates):
13719 * vc-rcs.el (vc-rcs-master-templates):
13720 * subr.el (cl-assertion-failed):
13721 * simple.el (next-error-overlay-arrow-position):
13722 * lpr.el (lpr-command):
13723 * locate.el (locate-ls-subdir-switches):
13724 * info.el (same-window-regexps, info)
13725 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
13726 * image-mode.el (image-mode, auto-mode-alist):
13727 * hippie-exp.el (hippie-expand-ignore-buffers):
13728 * format.el (format-alist):
13729 * find-dired.el (find-ls-subdir-switches, find-grep-options)
13731 * facemenu.el (facemenu-keybindings):
13732 * dired.el (dired-listing-switches, dired-chown-program):
13733 * diff.el (diff-switches, diff-command):
13734 * cus-edit.el (same-window-regexps):
13735 * bindings.el (mode-line-mule-info)
13736 (mode-line-buffer-identification): Purecopy strings.
13738 2009-11-11 Juri Linkov <juri@jurta.org>
13740 * simple.el (dired-get-filename) <declare-function>:
13741 Tell the byte-compiler about dired-get-filename.
13742 (shell-command): In Dired mode, get filename from the current line
13743 as the default value.
13745 2009-11-10 Glenn Morris <rgm@gnu.org>
13747 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
13748 * calendar/holidays.el, progmodes/cperl-mode.el:
13749 Update x-popup-menu declarations.
13751 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
13752 (list-load-path-shadows): Use dolist.
13753 (list-load-path-shadows): Use with-current-buffer.
13755 2009-11-10 Juri Linkov <juri@jurta.org>
13757 * minibuffer.el (read-file-name): Support a list of default values
13758 in `default-filename'. Use the first file name where only one
13759 element is required. Doc fix.
13761 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
13763 * net/dbus.el (dbus-unregister-object): Release service, if no
13764 other method is registered for it.
13766 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
13768 * bookmark.el (bookmark-completing-read): Sort bookmark names if
13769 bookmark-sort-flag is non-nil (Bug#4653).
13771 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
13773 * emulation/cua-base.el: Add CUA property to some CC mode commands
13776 2009-11-08 Kevin Ryde <user42@zip.com.au>
13778 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
13779 at end of sentence (Bug#4818).
13781 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
13783 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13784 Handle "see declaration of" MSFT statements (Bug#4100).
13786 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
13788 * net/tramp.el (tramp-advice-make-auto-save-file-name)
13789 (tramp-advice-file-expand-wildcards): Unload via
13790 `ad-remove-advice'.
13792 * net/trampver.el: Update release number.
13794 2009-11-08 Kevin Ryde <user42@zip.com.au>
13796 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
13799 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
13801 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
13802 in order to keep context in SELinux.
13804 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
13806 * dired-aux.el (dired-query): Place cursor in echo area and allow
13809 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
13810 menu item if not on a directory (Bug#4701).
13812 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
13814 Sync with Tramp 2.1.17.
13816 * net/tramp.el (tramp-handle-copy-directory): Don't use
13817 `file-remote-p' (due to compatibility).
13819 * net/tramp-compat.el (tramp-compat-copy-directory)
13820 (tramp-compat-delete-directory): New defuns.
13822 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
13823 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
13824 Use `tramp-compat-delete-directory'.
13826 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
13827 (tramp-smb-handle-delete-directory):
13828 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
13830 * net/trampver.el: Update release number.
13832 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
13834 * tar-mode.el (tar-copy): Call write-region on the right buffer
13837 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
13838 by hand, if necessary (Bug#4878).
13840 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
13842 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
13843 align size column (Bug#4839).
13845 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
13848 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
13850 * progmodes/ld-script.el (auto-mode-alist):
13851 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
13853 * cus-face.el (custom-declare-face): Purecopy face spec.
13855 2009-11-06 Kenichi Handa <handa@m17n.org>
13857 * international/uni-bidi.el: Re-generated.
13858 * international/uni-category.el: Re-generated.
13859 * international/uni-combining.el: Re-generated.
13860 * international/uni-mirrored.el: Re-generated.
13862 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
13864 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
13865 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
13866 (tex-start-options, slitex-run-command, latex-run-command)
13867 (tex-run-command, tex-directory):
13868 * textmodes/ispell.el (ispell-html-skip-alists)
13869 (ispell-tex-skip-alists, ispell-tex-skip-alists):
13870 * textmodes/fill.el (adaptive-fill-first-line-regexp):
13871 (adaptive-fill-regexp):
13872 * textmodes/dns-mode.el (auto-mode-alist):
13873 * progmodes/python.el (interpreter-mode-alist):
13874 * progmodes/etags.el (tags-compression-info-list):
13875 * progmodes/etags.el (tags-file-name):
13876 * net/browse-url.el (browse-url-galeon-program)
13877 (browse-url-firefox-program):
13878 * mail/sendmail.el (mail-signature-file)
13879 (mail-citation-prefix-regexp):
13880 * international/mule-conf.el (eight-bit):
13881 * international/latexenc.el (latex-inputenc-coding-alist):
13882 * international/fontset.el (x-pixel-size-width-font-regexp):
13883 * emacs-lisp/warnings.el (warning-type-format):
13884 * emacs-lisp/trace.el (trace-buffer):
13885 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
13886 (emacs-lisp-mode-map):
13887 * calendar/holidays.el (holiday-solar-holidays)
13888 (holiday-bahai-holidays, holiday-islamic-holidays)
13889 (holiday-christian-holidays, holiday-hebrew-holidays)
13890 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
13891 (hebrew-holidays-1, holiday-oriental-holidays)
13892 (holiday-general-holidays):
13893 * x-dnd.el (x-dnd-known-types):
13894 * tool-bar.el (tool-bar):
13895 * startup.el (site-run-file):
13896 * shell.el (shell-dumb-shell-regexp):
13897 * rfn-eshadow.el (file-name-shadow-tty-properties)
13898 (file-name-shadow-properties):
13899 * paths.el (remote-shell-program, news-directory):
13900 * mouse.el ([C-down-mouse-3]):
13901 * menu-bar.el (menu-bar-tools-menu):
13902 * jka-cmpr-hook.el (jka-compr-load-suffixes)
13903 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
13904 (jka-compr-compression-info-list):
13905 * isearch.el (search-whitespace-regexp):
13906 * image-file.el (image-file-name-extensions):
13907 * find-dired.el (find-ls-option):
13908 * files.el (directory-listing-before-filename-regexp)
13909 (directory-free-space-args, insert-directory-program)
13910 (list-directory-brief-switches, magic-fallback-mode-alist)
13911 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
13912 (automount-dir-prefix):
13913 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
13914 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
13915 (face-font-registry-alternatives, face-font-registry-alternatives)
13916 (face-font-family-alternatives):
13917 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
13918 (facemenu-foreground-menu, facemenu-face-menu):
13919 * epa-hook.el (epa-file-name-regexp):
13920 * dnd.el (dnd-protocol-alist):
13921 * textmodes/rst.el (auto-mode-alist):
13922 * button.el (default-button): Purecopy strings.
13924 2009-11-06 Glenn Morris <rgm@gnu.org>
13926 * Makefile.in (ELCFILES): Update.
13928 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
13930 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
13931 * emacs-lisp/levents.el: Move to obsolete/levents.el.
13933 * nxml/xsd-regexp.el (xsdre-gen-categories):
13934 * nxml/xmltok.el (xmltok-parse-entity):
13935 * nxml/rng-parse.el (rng-parse-validate-file):
13936 * nxml/rng-maint.el (rng-format-manual)
13937 (rng-manual-output-force-new-line):
13938 * nxml/rng-loc.el (rng-save-schema-location-1):
13939 * nxml/rng-cmpct.el (rng-c-parse-file):
13940 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
13941 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
13943 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
13945 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
13946 Remove extra save-excursions and make-variable-buffer-local's.
13947 Suggested by Stefan Monnier.
13949 (verilog-getopt-file, verilog-module-inside-filename-p)
13950 (verilog-set-define): Merge GNU 1.35 and repair changes from
13951 switching to using with-current-buffer.
13953 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
13954 being treated as a number and confusing AUTORESET.
13955 Reported by Dan Dever.
13957 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
13958 Add verilog-auto-ignore-concat to fix backward compatibility with
13959 older verilog-modes. Reported by Dan Katz.
13961 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
13962 containing closing anchors "...$".
13964 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
13965 Reported by Wade Smith.
13967 (verilog-batch-execute-func): Comment on function usage.
13969 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
13971 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
13974 (verilog-label-re, verilog-calc-1): Support proper indent of named
13977 (verilog-backward-token, verilog-basic-complete-re)
13978 (verilog-beg-of-statement, verilog-indent-re): Support proper
13979 indent of the assert statement at the beginning of a block of text.
13981 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
13982 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
13985 2009-11-05 Glenn Morris <rgm@gnu.org>
13987 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
13988 Emacs 19. (Bug#1531)
13989 (byte-compile-fix-header): Update for the above change.
13990 Drop test for epoch::version.
13992 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
13993 * cus-dep.el (custom-make-dependencies):
13994 * finder.el (finder-compile-keywords):
13995 Use autoload-rubric's feature argument.
13997 * calendar/diary-lib.el (top-level): Make load behave more like require.
13999 * vc-git.el (vc-git-stash-map): Move definition before use.
14001 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
14003 * custom.el (custom-declare-group): Purecopy standard-value.
14004 (custom-declare-group): Purecopy custom-prefix.
14006 * international/mule.el (load-with-code-conversion):
14007 Call do-after-load-evaluation unconditionally.
14009 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
14011 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
14013 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
14015 2009-11-04 Glenn Morris <rgm@gnu.org>
14017 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
14018 (byte-compile-compatibility): Remove option.
14019 (byte-compile-close-variables, byte-compile-fix-header)
14020 (byte-compile-insert-header, byte-compile-output-docform)
14021 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
14022 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
14023 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
14024 (byte-compile-insert, byte-compile-defun):
14025 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
14026 (byte-defop-compiler19): Remove.
14027 Without byte-compile-compatibility, the 'emacs19-opcode property is not
14028 used by anything. Replace all calls with byte-defop-compiler.
14030 2009-11-04 Juri Linkov <juri@jurta.org>
14032 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
14033 (menu-bar-options-menu): Don't quote the `prop' arg of
14034 `menu-bar-make-mm-toggle'.
14036 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
14038 * calendar/calendar.el (cal-loaddefs):
14039 * calendar/diary-lib.el (diary-loaddefs):
14040 * calendar/holidays.el (hol-loaddefs):
14041 * eshell/esh-module.el (esh-groups): Load rather than require.
14043 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
14045 * calendar/todo-mode.el (todo-add-category): Don't hardcode
14047 (todo-top-priorities): Only display-buffer when called interactively.
14048 (todo-item-start): Don't save excursion point.
14049 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
14050 (todo-insert-item-here, todo-file-item, todo-remove-item):
14051 Adjust uses of todo-item-start and todo-item-end.
14053 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
14054 (autoload-rubric): Don't use any more.
14056 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
14057 and only put a prop if it is non-nil.
14059 2009-11-03 Juri Linkov <juri@jurta.org>
14061 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
14062 (menu-bar-options-menu): Fix list quoting (Bug#4429).
14064 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
14065 and "Menu" to make top-level menu item visually one unit (like
14066 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
14067 multi-word menu items). Fix :help string for quit-window.
14069 2009-11-03 Glenn Morris <rgm@gnu.org>
14071 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
14072 (byte-compile-file-form-define-abbrev-table)
14073 (byte-compile-file-form-custom-declare-variable)
14074 (byte-compile-variable-ref, byte-compile-defvar):
14075 Whether or not a warning is enabled should only affect whether we issue
14076 the warning, not whether or not we collect the relevant data.
14077 Eg warnings can be turned on and off throughout the course of a file.
14079 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
14080 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
14082 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
14084 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
14085 * play/mpuz.el (mpuz-create-buffer):
14086 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
14087 (lm-print-y,s,noise, lm-print-w0, lm-init):
14088 * play/gomoku.el (gomoku-prompt-for-move):
14089 * play/fortune.el (fortune-in-buffer):
14090 * play/dissociate.el (dissociated-press):
14091 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
14092 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
14093 * mail/supercite.el (sc-eref-show):
14094 * mail/smtpmail.el (smtpmail-send-it):
14095 * mail/rmailsum.el (rmail-summary-next-labeled-message)
14096 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
14097 (rmail-summary-undelete-many, rmail-summary-rmail-update)
14098 (rmail-summary-goto-msg, rmail-summary-expunge)
14099 (rmail-summary-get-new-mail, rmail-summary-search-backward)
14100 (rmail-summary-add-label, rmail-summary-output-menu)
14101 (rmail-summary-output-body):
14102 * mail/rfc822.el (rfc822-addresses):
14103 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
14104 * mail/mailpost.el (post-mail-send-it):
14105 * mail/hashcash.el (hashcash-generate-payment):
14106 * mail/feedmail.el (feedmail-run-the-queue)
14107 (feedmail-queue-send-edit-prompt-help-first)
14108 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
14109 (feedmail-deduce-address-list):
14110 * eshell/esh-ext.el (eshell-remote-command):
14111 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
14112 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
14113 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
14114 (viper-save-string-in-file, viper-valid-marker):
14115 * emulation/viper-keym.el (viper-toggle-key):
14116 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
14117 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
14118 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
14119 * emulation/viper-cmd.el (viper-exec-form-in-vi)
14120 (viper-exec-form-in-emacs, viper-brac-function):
14121 * emulation/viper.el (viper-delocalize-var):
14122 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
14123 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
14124 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
14125 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
14126 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
14127 * emulation/edt.el (edt-electric-helpify):
14128 * emulation/cua-rect.el (cua--rectangle-aux-replace):
14129 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
14130 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
14131 (cua-indent-to-global-mark-column):
14132 * calendar/diary-lib.el (calendar-mark-1):
14133 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
14134 Use with-current-buffer.
14135 * emulation/viper.el (viper-delocalize-var): Use dolist.
14137 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
14139 * comint.el (comint-replace-by-expanded-history-before-point):
14140 Replace !! with the previous input string literally (Bug#1795).
14142 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
14144 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
14145 to be made up of whitespace.
14147 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
14149 * minibuffer.el (read-file-name): Don't use file dialogs for
14150 remote directories (Bug#99).
14152 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
14154 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
14156 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
14158 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
14159 instead of deleting the window or frame.
14161 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
14163 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
14164 Support face colors.
14166 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
14167 New function. Support face colors (Bug#1168).
14168 (tex-common-initialization): Use it.
14170 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
14171 mode allows it (Bug#1168).
14173 2009-10-31 Juri Linkov <juri@jurta.org>
14175 * facemenu.el (list-colors-display): Don't mark buffer as
14176 modified (Bug#3948).
14178 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
14180 * international/mule-diag.el (list-character-sets-1):
14181 Minor message fix (Bug#3526).
14183 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
14184 Fix face property (Bug#4834).
14185 (etags-list-tags, etags-tags-apropos-additional)
14186 (etags-tags-apropos, tags-select-tags-table): Add follow-link
14189 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
14192 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
14194 * textmodes/two-column.el (2C-split):
14195 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
14196 * textmodes/tex-mode.el (tex-set-buffer-directory):
14197 * textmodes/spell.el (spell-region, spell-string):
14198 * textmodes/reftex.el (reftex-erase-buffer):
14199 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
14200 * textmodes/reftex-toc.el (reftex-toc-promote-action):
14201 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
14202 (reftex-select-item):
14203 * textmodes/reftex-ref.el (reftex-label-info-update)
14204 (reftex-offer-label-menu):
14205 * textmodes/reftex-index.el (reftex-index-change-entry)
14206 (reftex-index-phrases-info):
14207 * textmodes/reftex-global.el (reftex-create-tags-file)
14208 (reftex-save-all-document-buffers, reftex-ensure-write-access):
14209 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
14210 (reftex-view-crossref-from-bibtex):
14211 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
14212 (reftex-extract-bib-entries-from-thebibliography)
14213 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
14214 * textmodes/refbib.el (r2b-capitalize-title):
14215 (r2b-convert-buffer, r2b-help):
14216 * textmodes/page-ext.el (pages-directory)
14217 (pages-directory-goto-with-mouse):
14218 * textmodes/bibtex.el (bibtex-validate-globally):
14219 * textmodes/bib-mode.el (bib-capitalize-title):
14220 * textmodes/artist.el (artist-clear-buffer, artist-system):
14221 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
14222 (local-set-scheme-interaction-buffer, xscheme-process-filter)
14223 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
14224 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
14225 (xscheme-send-control-g-interrupt, xscheme-start-process)
14226 (xscheme-process-sentinel, xscheme-cd):
14227 * progmodes/verilog-mode.el (verilog-read-always-signals)
14228 (verilog-set-define, verilog-getopt-file)
14229 (verilog-module-inside-filename-p):
14230 * progmodes/sh-script.el:
14231 * progmodes/python.el (python-pdbtrack-get-source-buffer)
14232 (python-pdbtrack-grub-for-buffer, python-execute-file):
14233 * progmodes/octave-inf.el (inferior-octave):
14234 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14235 (idlwave-shell-compile-helper-routines, idlwave-set-local)
14236 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
14237 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
14238 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
14239 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
14240 (idlwave-shell-filter, idlwave-shell-examine-highlight)
14241 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
14242 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
14243 (idlwave-shell-examine-display, idlwave-shell-run-region)
14244 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
14245 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
14246 * progmodes/idlw-help.el (idlwave-help-get-special-help)
14247 (idlwave-help-get-help-buffer):
14248 * progmodes/gud.el (gud-basic-call, gud-find-class)
14249 (gud-tooltip-activate-mouse-motions-if-enabled):
14250 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
14251 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
14252 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
14253 (ebrowse-tags-next-file):
14254 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
14255 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
14256 (ebnf-eps-finish-and-write):
14257 * progmodes/cpp.el (cpp-edit-save):
14258 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
14259 * progmodes/cc-defs.el (c-emacs-features):
14260 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
14261 (antlr-directory-dependencies):
14262 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
14263 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
14264 (ada-find-any-references, ada-make-filename-from-adaname)
14265 (ada-make-body-gnatstub):
14266 * obsolete/rnews.el (news-list-news-groups):
14267 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
14268 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
14269 * net/rcirc.el (rcirc-debug):
14270 * net/newst-treeview.el (newsticker--treeview-list-add-item)
14271 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
14272 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
14273 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
14274 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
14275 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
14276 (newsticker--treeview-list-clear-highlight)
14277 (newsticker--treeview-list-update-highlight)
14278 (newsticker--treeview-list-highlight-start)
14279 (newsticker--treeview-tree-update-highlight)
14280 (newsticker--treeview-get-selected-item)
14281 (newsticker-treeview-mark-list-items-old)
14282 (newsticker--treeview-set-current-node):
14283 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
14284 * net/newst-backend.el (newsticker--get-news-by-funcall)
14285 (newsticker--get-news-by-wget, newsticker--image-get)
14286 (newsticker--image-sentinel):
14287 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
14288 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
14289 (eudc-ph-close-session):
14290 * net/eudc.el (eudc-save-options):
14291 * language/thai-word.el (thai-update-word-table):
14292 * language/japan-util.el (japanese-string-conversion):
14293 * international/titdic-cnv.el (tsang-quick-converter)
14294 (ziranma-converter, ctlau-converter):
14295 * international/mule-cmds.el (describe-language-environment):
14296 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
14297 (skkdic-convert-postfix, skkdic-convert-prefix):
14298 (skkdic-convert-okuri-nasi, skkdic-convert):
14299 * emacs-lisp/re-builder.el (reb-update-overlays):
14300 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
14301 * emacs-lisp/gulp.el (gulp-send-requests):
14302 * emacs-lisp/find-gc.el (trace-call-tree):
14303 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
14304 (eieio-describe-generic):
14305 * emacs-lisp/eieio-base.el (eieio-persistent-read):
14306 * emacs-lisp/edebug.el (edebug-outside-excursion):
14307 * emacs-lisp/debug.el (debugger-make-xrefs):
14308 * emacs-lisp/cust-print.el (custom-prin1-to-string):
14309 * emacs-lisp/chart.el (chart-new-buffer):
14310 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
14311 Use with-current-buffer.
14312 * textmodes/artist.el (artist-system): Don't call
14313 copy-sequence on a fresh string.
14314 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
14316 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
14318 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
14319 is no item to edit. (Bug#4820)
14320 (todo-top-priorities): Restore point and restore narrowing in Todo
14323 2009-10-31 Glenn Morris <rgm@gnu.org>
14325 * net/ange-ftp.el (top-level): Don't require dired when compiling.
14326 (comint-last-output-start, comint-last-input-start)
14327 (comint-last-input-end): Don't defvar when compiling.
14328 (ange-ftp-process-file): Use bound-and-true-p.
14330 * pcmpl-rpm.el (top-level): Move provide statement to end.
14331 (pcmpl-rpm): Remove unused custom group.
14333 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
14335 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
14337 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
14338 (byte-compile-warnings): Add `constants' as an option.
14339 (byte-compile-callargs-warn, byte-compile-arglist-warn)
14340 (display-call-tree): Update for byte-compile-fdefinition possibly
14341 returning `(macro lambda ...)'. (Bug#4778)
14342 (byte-compile-variable-ref, byte-compile-setq-default):
14343 Respect `constants' member of byte-compile-warnings.
14345 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
14347 * vc-bzr.el (vc-bzr-revision-keywords): New var.
14348 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
14351 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
14353 * textmodes/ispell.el (ispell-skip-region-alist):
14354 * international/mule-conf.el (eight-bit):
14355 * international/fontset.el (font-encoding-alist):
14356 * startup.el (pure-space-overflow-message):
14357 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
14358 * paths.el (gnus-nntp-service, rmail-spool-directory)
14359 (term-file-prefix):
14360 * files.el (save-some-buffers-action-alist):
14361 * cmuscheme.el (same-window-buffer-names):
14362 * ielm.el (same-window-buffer-names):
14363 * shell.el (same-window-buffer-names):
14364 * mail/sendmail.el (same-window-buffer-names):
14365 * progmodes/inf-lisp.el (same-window-buffer-names):
14366 * bindings.el (mode-line-client)
14367 (mode-line-column-line-number-mode-map):
14368 * language/tibetan.el (tibetan-precomposition-rule-regexp)
14369 (tibetan-precomposed-regexp): Purecopy string arguments.
14371 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14373 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
14374 (calcDigit-nondigit):
14375 * calc/calc-yank.el (calc-copy-to-buffer):
14376 * calc/calc-units.el (calc-invalidate-units-table):
14377 * calc/calc-trail.el (calc-trail-yank):
14378 * calc/calc-store.el (calc-insert-variables):
14379 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
14380 * calc/calc-prog.el (calc-read-parse-table):
14381 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
14382 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
14383 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
14384 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
14385 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
14386 (calc-graph-name, calc-graph-find-command, calc-graph-view)
14387 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
14388 * calc/calc-ext.el (calc-realign):
14389 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
14390 (calc-embedded-finish-edit, calc-embedded-make-info)
14391 (calc-embedded-finish-command, calc-embedded-stack-change):
14392 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
14394 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
14395 shell-dynamic-complete-filename in preference to
14396 comint-dynamic-complete-filename.
14398 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
14399 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
14400 Don't consider whether the display supports colors.
14401 (bookmark-import-new-list): Use dolist.
14402 (bookmark-bmenu-mode-map): Move initialization into declaration.
14403 (bookmark-bmenu-list): Use dolist, simplify.
14404 (bookmark-show-all-annotations): Use save-selected-window and dolist.
14405 (menu-bar-final-items): Use push.
14407 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
14409 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
14410 it works on remote files.
14411 (vc-hg-diff): Don't pass any `--cwd' argument.
14413 2009-10-27 Kevin Ryde <user42@zip.com.au>
14415 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
14416 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
14417 (Further to Bug#3921).
14419 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
14421 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
14422 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
14423 calling `tramp-imap-put-file'. Add file size to the call.
14424 (tramp-imap-get-file-entries): Compute also user name, file size,
14426 (tramp-imap-handle-insert-directory): Insert uid and gid.
14427 (tramp-imap-handle-file-attributes): Transform uid and gid
14428 according to `id-format'.
14429 (tramp-imap-put-file): New optional parameter SIZE. Encode file
14430 size in header X-Size.
14432 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
14434 * simple.el (transpose-subr): Give clearer error when the mark
14435 is not set. (Bug#4807)
14437 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
14439 * net/tramp.el (tramp-perl-file-truename): New defconst.
14440 Perl code contributed by yary <not.com@gmail.com> (tiny change).
14441 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
14442 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
14443 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
14445 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
14446 Ignore `dired-call-process'.
14447 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
14449 2009-10-26 Julian Scheid <julians37@gmail.com>
14451 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
14452 (tramp-get-remote-readlink): New defun.
14453 (tramp-handle-file-truename): Use it.
14454 (tramp-handle-file-exists-p): Check file-attributes cache, assume
14455 file exists if cache value present.
14456 (tramp-check-cached-permissions): New defun.
14457 (tramp-handle-file-readable-p): Use it.
14458 (tramp-handle-file-writable-p): Likewise.
14459 (tramp-handle-file-executable-p): Likewise.
14460 (tramp-handle-file-name-all-completions): Try using Perl to get
14461 partial completions. When perl not available, combine `cd' and
14462 `ls' into single remote operation and use shell expansion to get
14463 partial remote directory contents. Set `file-exists-p' cache for
14464 directory and any files returned by ls. Change cache handling to
14465 support partial directory contents. Use error message emitted by
14466 remote `cd' or Perl code for local tramp-error.
14467 (tramp-do-copy-or-rename-file-directly): Avoid separate
14468 tramp-send-command-and-check call.
14469 (tramp-handle-process-file): Merge three remote ops into one.
14470 Do not flush all caches when `process-file-side-effects' is set.
14471 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
14472 file-attributes shows uid/gid to be set already.
14474 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
14476 * textmodes/tex-mode.el (tex-dvi-view-command)
14477 (tex-show-queue-command, tex-open-quote):
14478 * progmodes/ruby-mode.el (auto-mode-alist)
14479 (interpreter-mode-alist): Purecopy strings.
14481 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
14483 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
14484 string for the hook, keymap and abbrev table.
14486 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
14488 * x-dnd.el (x-dnd-xdnd-to-action):
14489 * startup.el (fancy-startup-text, fancy-about-text): Change to
14490 defconst from defvar.
14492 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
14494 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
14495 Purecopy initialization strings.
14497 * mail/sendmail.el (mail-header-separator)
14498 (mail-personal-alias-file):
14499 * mail/rmail.el (rmail-default-dont-reply-to-names)
14500 (rmail-ignored-headers, rmail-retry-ignored-headers)
14501 (rmail-highlighted-headers, rmail-secondary-file-directory)
14502 (rmail-secondary-file-regexp):
14503 * files.el (null-device, file-name-invalid-regexp)
14504 (locate-dominating-stop-dir-regexp)
14505 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
14506 (interpreter-mode-alist): Use mapcar instead of mapc.
14508 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
14510 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
14511 (completion-ignored-extensions):
14512 (debug-ignored-errors): Purecopy strings.
14514 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
14516 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
14517 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
14518 (pcomplete--here): Use push.
14520 * subr.el (all-completions): Declare the 4th arg obsolete.
14522 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
14524 * pcomplete.el (pcomplete-unquote-argument-function): New var.
14525 (pcomplete-unquote-argument): New function.
14526 (pcomplete--common-suffix): Always pay attention to case.
14527 (pcomplete--table-subvert): Quote and unquote the text.
14528 (pcomplete--common-quoted-suffix): New function.
14529 (pcomplete-std-complete): Use it and pcomplete-begin.
14531 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
14532 we're inside a dedicated or minibuffer window.
14534 2009-10-24 Karl Fogel <kfogel@red-bean.com>
14536 * bookmark.el: Update documentation, especially documentation
14537 of `bookmark-alist' and of the bookmark file format.
14538 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
14540 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
14542 * mail/emacsbug.el (report-emacs-bug): Clarify that the
14543 keybindings apply to the mail buffer (Bug#4003). Shrink help
14546 * whitespace.el (whitespace-mode, whitespace-newline-mode)
14547 (global-whitespace-mode, global-whitespace-newline-mode)
14548 (whitespace-toggle-options, global-whitespace-toggle-options):
14549 Doc fix (Bug#3660).
14551 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
14552 of xmltok-start before the end tag was inserted (Bug#2840).
14554 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
14555 patterns that are preceded by an open-paren (Bug#1320).
14557 2009-10-24 Sven Joachim <svenjoac@gmx.de>
14559 * files.el (delete-directory): Delete symlinks to directories with
14560 delete-file (Bug#4739).
14562 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
14564 * vc.el (vc-backend-for-registration): Rename from
14565 vc-get-backend-for-registration. Update callers.
14567 * international/mule-cmds.el (set-language-info-alist):
14569 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
14570 (charset): Purecopy the name.
14571 (define-char-code-property): Purecopy string arguments.
14573 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14574 Purecopy string arguments.
14576 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14577 * ediff-hook.el (menu-bar-ediff-menu):
14578 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
14579 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
14581 2009-10-24 Glenn Morris <rgm@gnu.org>
14583 * comint.el (comint-dynamic-list-completions):
14584 * term.el (term-dynamic-list-completions): Use choose-completion rather
14585 than obsolete alias mouse-choose-completion.
14587 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
14588 file-cache-choose-completion.
14589 (file-cache-choose-completion): Handle an optional event argument.
14590 (file-cache-mouse-choose-completion): Make it an obsolete alias.
14592 * progmodes/octave-mod.el (octave-complete-symbol):
14593 Use choose-completion if mouse-choose-completion is ever removed.
14595 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
14598 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
14601 * vc-hooks.el (vc-responsible-backend): Fix declaration.
14603 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
14605 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
14606 Ignore `pred' now that we receive one.
14607 Handle test-completion specially.
14609 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
14611 * vc.el (vc-responsible-backend): Throw an error if not backend is
14612 found. Remove the REGISTER argument. Move the code dealing with
14614 (vc-get-backend-for-registration): ... here. New function.
14615 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
14616 of vc-responsible-backend, pass the file name instead of the
14619 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
14621 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
14623 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
14624 (pcomplete-comint-setup): Don't modify a global var via
14625 accidental side-effects.
14626 (pcomplete-shell-setup): Adjust call accordingly.
14627 (pcomplete-parse-comint-arguments): Use push.
14629 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
14631 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
14632 Allow uncapitalized info node names (Bug#3921).
14634 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
14635 to the DEBUG file (Bug#3781).
14637 2009-10-23 Jari Aalto <jari.aalto@cante.net>
14639 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
14640 dictionary entry (Bug#4579).
14642 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
14644 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
14645 from `rfn-eshadow-update-overlay-hook' when unloading.
14646 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
14647 "rsyncc". Adjust doc string.
14648 (tramp-temp-buffer-file-name): New buffer-local defvar.
14649 (tramp-handle-insert-file-contents, tramp-handle-write-region):
14650 Keep temporary file when indicated by method ("rsync" and
14652 (tramp-handle-write-region): Handle APPEND.
14653 (tramp-delete-temp-file-function): New defun. Added to
14654 `kill-buffer-hook'.
14656 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
14658 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
14660 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
14662 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
14663 (color-name-rgb-alist, tty-standard-colors)
14664 (tty-color-mode-alist): Change to defconst.
14666 * simple.el (mark-inactive): Purecopy message.
14668 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
14669 (global-map, yank-menu):
14670 * textmodes/ispell.el (ispell-menu-map):
14671 * net/eudc.el (eudc-tools-menu):
14672 * international/mule-cmds.el (describe-language-environment-map)
14673 (setup-language-environment-map, set-coding-system-map)
14674 (mule-menu-keymap):
14675 * vc-hooks.el (vc-menu-entry, vc-menu-map):
14676 * replace.el (occur-mode-map):
14677 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
14679 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
14681 * calc/calc.el (math-read-number, math-read-number-simple):
14682 Use `save-match-data'.
14684 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
14686 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
14687 rather than fiddling with global-map bindings, since it should only
14688 affect per-terminal settings.
14689 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
14691 * minibuffer.el (completion-table-with-terminator): Allow to specify
14692 the terminator-regexp.
14694 * simple.el (switch-to-completions): Look for *Completions* in other
14697 * pcomplete.el: Allow the use of completion-tables.
14698 (pcomplete-std-complete): New command.
14699 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
14700 (pcomplete--here): Use a function for `form' rather than an expression,
14701 so it can be byte-compiled.
14702 (pcomplete-here, pcomplete-here*): Adjust accordingly.
14703 Add edebug declaration.
14704 (pcomplete-show-completions): Remove unused var `curbuf'.
14705 (pcomplete-do-complete, pcomplete-stub):
14706 Don't assume `completions' is a list of strings any more.
14708 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
14710 * find-dired.el (find-name-arg): Fix typo in docstring.
14712 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
14714 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
14715 (pcmpl-linux-fs-types): Same, and update to new modules layout.
14717 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
14720 * comint.el (comint-read-input-ring, comint-write-input-ring)
14721 (comint-substitute-in-file-name)
14722 (comint-dynamic-complete-as-filename)
14723 (comint-dynamic-simple-complete)
14724 (comint-dynamic-list-filename-completions)
14725 (comint-dynamic-list-completions)
14726 (comint-redirect-results-list-from-process): Minor simplifications.
14728 2009-10-21 Kevin Ryde <user42@zip.com.au>
14730 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
14731 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
14732 the first form. And insert a blank line after ";;; Code" since
14733 that's usual style. (Bug#4612)
14735 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
14737 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
14739 * minibuffer.el (completion-table-with-terminator): Properly implement
14740 boundaries, in case `terminator' appears in the suffix.
14741 (completion--embedded-envvar-table): Don't return boundaries if
14742 there's no valid completion. Simplify.
14743 (completion-file-name-table): New completion table extracted from
14744 completion--file-name-table.
14745 (completion--file-name-table): Use it.
14746 (read-file-name-predicate): Declare obsolete.
14747 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
14748 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
14749 completion-file-name-table, and use the `pred' argument.
14750 * files.el (locate-file-completion-table): Use the `pred' arg rather
14751 than read-file-name-predicate.
14752 (abbreviate-file-name): Use \` rather than ^ for BOS.
14754 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
14756 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
14757 vc-responsible-backend to register, it causes problems.
14759 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
14761 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
14763 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
14765 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
14766 (tramp-smb-handle-file-attributes): Use it.
14767 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
14768 (tramp-smb-handle-insert-directory): Use `mapc' rather than
14769 `mapcar'. Use `tramp-smb-get-stat-capability'.
14770 Add `dired-filename' text properties.
14771 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
14772 (tramp-smb-maybe-open-connection): Simplify check for smbclient
14775 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
14777 * subr.el (read-key-delay): Reduce to 0.01.
14778 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
14781 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
14783 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
14785 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
14786 (Info-menu): Remove unused vars `last' and `completions'.
14787 (Info-index-nodes): Remove unused var `node'.
14789 * info.el (Info-complete-menu-item): Use complete-with-action.
14791 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
14793 Make vc-annotate work through copies and renames.
14794 * vc-annotate.el (vc-annotate-extract-revision-at-line):
14795 Return the file name too.
14796 (vc-annotate-revision-at-line)
14797 (vc-annotate-find-revision-at-line)
14798 (vc-annotate-revision-previous-to-line)
14799 (vc-annotate-show-log-revision-at-line): Update to get the file
14800 name from vc-annotate-extract-revision-at-line.
14801 (vc-annotate-show-diff-revision-at-line-internal): Change the
14802 argument to mean whether to show a file diff or not. Get the file
14803 name from vc-annotate-extract-revision-at-line.
14804 (vc-annotate-show-diff-revision-at-line):
14805 Update vc-annotate-show-diff-revision-at-line call.
14806 (vc-annotate-warp-revision): Add an optional file argument.
14808 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
14809 (vc-git-annotate-extract-revision-at-line): Also return the file
14812 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
14813 command. Remove unused code.
14814 (vc-hg-annotate-re): Update to match --follow output.
14815 (vc-hg-annotate-extract-revision-at-line): Also return the file
14818 * vc.el: Update annotate-extract-revision-at-line documentation.
14820 2009-10-18 Kevin Ryde <user42@zip.com.au>
14822 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
14823 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
14825 * net/browse-url.el (browse-url): Identify alist with "consp and
14826 not functionp" and let all other things go down the `apply' leg,
14827 as suggested by Stefan. (Further to bug#4531.)
14829 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
14831 * minibuffer.el (read-file-name): Check for repeat before putting
14832 a default argument in file-name-history (Bug#4657).
14834 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
14835 read syntax (Bug#4737).
14837 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
14839 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14841 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
14842 (html-tag-alist, html-tag-help): Add descriptions for undocumented
14843 entries and make note of obsolete tags.
14845 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
14847 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
14849 2009-10-18 Glenn Morris <rgm@gnu.org>
14851 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
14852 grep, so that binary files (eg international/uni-bidi.el) can match.
14853 Remove test for "UnicodeData" files, since it is hopefully unnecessary
14854 now, and in any case the file header format has changed.
14856 2009-10-17 Glenn Morris <rgm@gnu.org>
14858 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
14859 (flyspell-get-word, flyspell-large-region)
14860 (flyspell-auto-correct-previous-word): Doc/error message fixes.
14862 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
14864 * Makefile.in (ELCFILES): Add ede/shell.
14866 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
14868 * term/common-win.el (x-colors): Purecopy it.
14870 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14872 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
14873 permissive for when the buffer is empty.
14874 (tar-header-block-tokenize): Decode the username and groupname.
14875 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
14877 2009-10-17 Eric Ludlam <zappo@gnu.org>
14879 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
14880 contains multibyte characters, choose first applicable coding
14881 system automatically.
14883 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14885 * international/mule-cmds.el (select-safe-coding-system): If the file
14886 has a coding cookie, use it regardless of any other setting (bug#4712).
14888 2009-10-17 Glenn Morris <rgm@gnu.org>
14890 * foldout.el (foldout-mouse-swallow-events):
14891 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
14893 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
14894 (dired-keep-marker-copy, dired-keep-marker-hardlink)
14895 (dired-keep-marker-symlink, dired-dwim-target)
14896 (dired-copy-preserve-time): Do not autoload these defcustoms.
14898 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
14899 messages from messing up the file coding. (Bug#4623)
14901 2009-10-17 Jari Aalto <jari.aalto@cante.net>
14903 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
14904 if no match is found for the current dictionary. (Bug#4578)
14906 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
14907 optional, since that is how it is documented, and this is often called
14908 with a nil argument. (Bug#4577)
14909 (flyspell-external-point-words, flyspell-auto-correct-word)
14910 (flyspell-correct-word-before-point, flyspell-word-search-forward)
14911 (flyspell-word-search-backward): Remove nil argument in calls to
14912 flyspell-get-word, since it is not needed now.
14914 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
14916 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
14918 2009-10-16 Glenn Morris <rgm@gnu.org>
14920 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
14922 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
14924 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
14925 (ange-ftp-file-size): New function.
14926 (ange-ftp-file-attributes): Use it.
14928 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
14930 * net/tramp-smb.el (tramp-smb-version): New defvar.
14931 (tramp-smb-maybe-open-connection): Use it, in order to avoid
14934 2009-10-16 Glenn Morris <rgm@gnu.org>
14936 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
14937 Maybe copy some custom properties from old to new name. (Bug#4706)
14939 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
14941 * subr.el (error, sit-for, start-process-shell-command)
14942 (start-file-process-shell-command): Set the calling convention
14943 after the function definition.
14945 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
14947 * subr.el (error, sit-for, start-process-shell-command)
14948 (start-file-process-shell-command): Use the new
14949 set-advertised-calling-convention feature.
14951 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
14953 * international/ucs-normalize.el (ucs-normalize-version):
14955 (check-range): Adjust for Unicode 5.2.
14957 2009-10-15 Juri Linkov <juri@jurta.org>
14959 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
14960 to the `menu-item' format.
14962 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
14964 * net/tramp.el (tramp-replace-environment-variables): Do not fail
14965 if the environment variable does not exist.
14967 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14968 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
14970 (tramp-smb-handle-add-name-to-file)
14971 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
14972 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
14973 (tramp-smb-handle-file-attributes)
14974 (tramp-smb-do-file-attributes-with-stat)
14975 (tramp-smb-handle-file-local-copy)
14976 (tramp-smb-handle-insert-directory)
14977 (tramp-smb-handle-make-directory)
14978 (tramp-smb-handle-make-directory-internal)
14979 (tramp-smb-handle-make-symbolic-link)
14980 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
14981 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
14982 (tramp-smb-maybe-open-connection): Apply the changed parameters.
14983 (tramp-smb-read-file-entry): Read Disk names in compressed format.
14984 Handle long file names.
14985 (tramp-smb-get-cifs-capabilities): Check, whether the connection
14986 process is running.
14987 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
14988 Read share names with "-g" option.
14990 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
14992 * net/rcirc.el (rcirc-view-log-file): New command.
14993 (rcirc-track-minor-mode-map): Remove C-c ` binding.
14994 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
14997 2009-10-15 Glenn Morris <rgm@gnu.org>
14999 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
15000 from the second command-line argument.
15001 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
15002 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
15003 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
15004 w32-batch-update-autoloads.
15005 * emacs-lisp/autoload.el (autoload-make-program): New variable.
15006 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
15008 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
15009 the headers cannot be located. Simplify, subtracting superflous
15012 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
15014 Replace completion-base-size by completion-base-position to fix bugs
15015 such as (bug#4699).
15016 * simple.el (completion-base-position): New var.
15017 (completion-base-size): Mark as obsolete.
15018 (choose-completion): Make it work for mouse events as well.
15019 Pass the new base-position to choose-completion-string.
15020 (choose-completion-guess-base-position): New function, extracted from
15021 choose-completion-delete-max-match.
15022 (choose-completion-delete-max-match): Use it. Make obsolete.
15023 (choose-completion-string): Use the new base-position info.
15024 (completion-root-regexp): Delete.
15025 (completion-setup-function): Preserve completion-base-position.
15026 Eliminate obsolete base-size manipulation.
15027 * minibuffer.el (display-completion-list): Don't mess with base-size.
15028 (minibuffer-completion-help): Set completion-base-position instead.
15029 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
15031 * textmodes/bibtex.el (bibtex-complete):
15032 * emacs-lisp/crm.el (crm--choose-completion-string):
15033 Adjust to new calling convention.
15034 * complete.el (partial-completion-mode): Use minibufferp to avoid
15035 bumping into incompatible change to choose-completion-string-functions.
15036 * ido.el (ido-choose-completion-string): Make its calling convention
15038 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
15039 base-size manipulation.
15040 (comint-dynamic-list-input-ring): Use dotimes and push.
15041 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
15042 fundamental-mode. Use `or'.
15044 2009-10-14 Juri Linkov <juri@jurta.org>
15046 * misearch.el (multi-isearch-next-buffer-from-list)
15047 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
15049 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15051 * Makefile.in (compile-onefile): Load `bytecomp' rather than
15054 * minibuffer.el (completion-pcm--merge-completions): Make sure the
15055 string we return is all made up of text from the completions rather
15056 than part from the completions and part from the input (bug#4219).
15058 * ido.el (ido-everywhere): Use define-minor-mode.
15060 * buff-menu.el (list-buffers, ctl-x-map):
15061 Mark the entry points with ;;;###autoload cookies.
15063 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
15065 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
15066 correctly in the detached head case.
15067 (vc-git-print-log): Remove unused binding.
15069 * vc.el (vc-responsible-backend): When a directory is passed for
15070 for registration create a VC repository if no backend is
15071 responsible for the directory argument.
15072 (vc-deduce-fileset): Tell vc-responsible-backend to register.
15074 * vc.el: Move comments about RCS and SCCS ...
15076 * vc-sccs.el: ... here, respectively.
15078 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15080 * minibuffer.el (completion--file-name-table): Return nil if there's
15081 no file completion, even if substitute-in-file-name changed
15082 the string (bug#4708).
15084 2009-10-13 Juri Linkov <juri@jurta.org>
15086 * files-x.el (read-file-local-variable-value): Don't filter out
15087 minor modes from mode name completion (bug#4664).
15089 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
15091 * international/mule-cmds.el (ucs-names): Remove exclusion of
15092 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
15094 2009-10-13 Kenichi Handa <handa@m17n.org>
15096 * international/uni-name.el: Regenerated.
15098 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
15100 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
15101 should be automatically buffer-local, but isn't.)
15103 2009-10-12 Sam Steingold <sds@gnu.org>
15105 * progmodes/compile.el (compilation-next-error-function): Fix the
15106 timestamps if the buffer has been visited before.
15107 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
15108 non-anchored patterns, like the perl one (bug#3928).
15110 2009-10-12 Glenn Morris <rgm@gnu.org>
15112 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
15115 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
15117 * proced.el (proced-unload-function): New function.
15119 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
15120 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
15123 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
15125 2009-10-11 Juri Linkov <juri@jurta.org>
15127 * files-x.el (read-file-local-variable-value):
15128 Provide default value only for bound variables (bug#4664).
15130 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
15132 * net/tramp.el (tramp-local-host-p): Function shall return nil for
15133 connection methods like smb.
15135 * net/tramp-cache.el (tramp-flush-connection-property): The hash
15138 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15139 (tramp-smb-file-name-handler-alist): Add handlers for
15140 `add-name-to-file', `make-symbolic-link'.
15141 (tramp-smb-handle-add-name-to-file)
15142 (tramp-smb-do-file-attributes-with-stat)
15143 (tramp-smb-handle-make-symbolic-link)
15144 (tramp-smb-get-cifs-capabilities): New defuns.
15145 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15146 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15147 (tramp-smb-handle-file-local-copy)
15148 (tramp-smb-handle-make-directory-internal)
15149 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
15150 The file name syntax depends on cifs capabilities.
15151 (tramp-smb-handle-file-attributes):
15152 Call `tramp-smb-do-file-attributes-with-stat' if possible.
15153 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
15154 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
15156 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
15158 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
15159 (eieio-defclass): Apply deftype handler and setf-method properties
15161 (eieio-add-new-slot): Avoid union function from cl library.
15162 (eieio--typep): New function.
15163 (eieio-perform-slot-validation): Use it.
15165 2009-10-10 Karl Fogel <kfogel@red-bean.com>
15167 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
15168 Update documentation to refer to the variables documented in r1.135.
15171 2009-10-10 Karl Fogel <kfogel@red-bean.com>
15173 * bookmark.el (Info-suffix-list): Remove this unused variable.
15174 (bookmark-current-point): Remove this obsolete variable.
15175 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
15176 Adjust for removal of bookmark-current-point.
15178 (bookmarks-already-loaded, bookmark-current-buffer)
15179 (bookmark-yank-point): Document. (Bug#4188)
15181 2009-10-10 Glenn Morris <rgm@gnu.org>
15183 * frame.el (frame-height): Doc fix.
15185 * calendar/calendar.el (calendar-split-width-threshold): New option.
15186 (calendar-basic-setup): Use calendar-split-width-threshold.
15188 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
15190 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
15191 Ideographic Supplement" range (U+1F200..U+1F2FF).
15193 2009-10-09 Karl Fogel <kfogel@red-bean.com>
15195 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
15196 since the list will have been rebuilt anyway. (Bug#4349)
15198 2009-10-09 Karl Fogel <kfogel@red-bean.com>
15200 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
15201 (bookmark-bmenu-execute-deletions): Don't save here, as
15202 bookmark-delete will now do so if necessary.
15203 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
15206 2009-10-09 Glenn Morris <rgm@gnu.org>
15208 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
15210 2009-10-09 Karl Fogel <kfogel@red-bean.com>
15212 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
15213 (bookmark-jump-other-window): Just invoke bookmark-jump with new
15214 argument now, so the two function's behaviors will match. (Bug#3645)
15216 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
15218 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
15219 (tramp-file-name-real-host, tramp-file-name-port):
15220 Apply `save-match-data'.
15222 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
15223 case both directories are remote.
15224 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
15225 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
15227 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
15229 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
15231 2009-10-07 Glenn Morris <rgm@gnu.org>
15233 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
15236 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
15238 * files-x.el (read-file-local-variable): Include some
15239 non-user-variables in the completion table (bug#4664).
15241 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
15243 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
15246 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15247 (tramp-smb-file-name-handler-alist): Add handler for
15248 `copy-directory', `expand-file-name', `set-file-modes'.
15249 (tramp-smb-handle-copy-directory)
15250 (tramp-smb-handle-expand-file-name)
15251 (tramp-smb-handle-set-file-modes): New defuns.
15252 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
15253 (tramp-smb-handle-file-attributes): Simplify check for retrieving
15255 (tramp-smb-handle-insert-directory): Don't flush the cache.
15256 (tramp-smb-maybe-open-connection): Check for samba client and
15259 2009-10-07 Eli Zaretskii <eliz@gnu.org>
15261 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
15262 to not error out of search for "^lisp=" fails.
15264 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
15266 * makefile.w32-in (WINS_UPDATES): New macro.
15267 (custom-deps, finder-data, autoloads): Use it.
15269 2009-10-07 Glenn Morris <rgm@gnu.org>
15271 * Makefile.in (autoloads): Revert previous change.
15272 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
15273 the list of preloaded files passed on the command-line, get
15274 it from src/Makefile.
15276 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
15277 show the original buffer rather than a random one.
15279 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
15281 * help.el (describe-no-warranty): Place point in a slightly better
15282 position in the GPLv3 text.
15284 2009-10-06 Sam Steingold <sds@gnu.org>
15286 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
15287 the comm attribute is present before calling regexp-quote.
15289 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
15291 * play/animate.el (animate-string): For good effect, make sure
15292 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
15294 * play/animate.el (animate-sequence, animate-birthday-present):
15295 * misc.el (butterfly): Don't set `indent-tabs-mode'.
15297 2009-10-06 Glenn Morris <rgm@gnu.org>
15299 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
15301 * emacs-lisp/autoload.el (autoload-excludes): New variable.
15302 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
15303 (batch-update-autoloads): Process a string value of autoload-excludes,
15304 set during the build process.
15305 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
15307 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
15308 inside with-parsed... macro so that `v' is defined.
15310 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
15311 * progmodes/fortran.el (fortran-end-of-block)
15312 (fortran-beginning-of-block):
15313 Also push mark in the macro case.
15315 * emerge.el (emerge-show-file-name):
15316 * calc/calc.el (calc-quit):
15317 * calc/calc-misc.el (calc-big-or-small):
15318 * calc/calc-graph.el (calc-graph-view):
15319 * calc/calc-ext.el (calc-reset):
15320 * calendar/calendar.el (calendar-basic-setup):
15321 Use window-full-height-p.
15323 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
15324 header we don't understand, don't insert another. (Bug#4624)
15325 If changing mime charset, insert the new one in the right place.
15327 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
15329 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
15330 (cal-tex-cursor-month): Correctly increment the end date for diary and
15331 holiday listing. (Bug#4626)
15333 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15335 * help-fns.el (describe-function-1): Don't burp if the function is not
15338 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
15340 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
15341 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
15342 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
15343 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
15345 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
15346 (eieio-default-superclass): Reflow docstrings.
15347 (this, class-option-assoc, defclass, eieio-class-un-autoload)
15348 (eieio-unbind-method-implementations, defmethod)
15349 (eieio-validate-slot-value, eieio-validate-class-slot-value)
15350 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
15351 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
15352 (eieio-slot-originating-class-p, eieio-slot-name-index)
15353 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
15354 (constructor, initialize-instance, no-next-method, object-print)
15355 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
15356 Fix typos in docstrings.
15357 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
15358 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
15359 (next-method-p): Doc fixes.
15360 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
15361 Fix typos in error messages.
15362 (eieio-defmethod): Fix typo in description of generic method.
15364 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
15365 (eieio-persistent-save-interactive, slot-missing):
15366 Fix typos in docstrings.
15367 (eieio-instance-inheritor-slot-boundp): Doc fix.
15369 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
15370 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
15372 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
15373 (eieio-custom-object-apply-reset):
15374 Fix typos in docstrings and error messages.
15376 * emacs-lisp/eieio-datadebug.el (data-debug-show):
15377 Fix typo in docstring.
15379 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
15380 (eieio-browse-tree): Doc fix.
15381 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
15382 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
15383 Fix typos in docstrings.
15385 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
15386 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
15387 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
15388 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
15391 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
15393 * vc-hg.el (log-view-vc-backend): Declare for compiler.
15394 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
15395 Set log-view-vc-backend so that diff can work.
15397 * log-view.el (log-view-diff): Use vc-diff-internal instead of
15399 (vc-diff-internal): Autoload this instead of vc-version-diff.
15401 2009-10-05 Eli Zaretskii <eliz@gnu.org>
15403 * simple.el (eval-expression): Doc fix.
15405 * progmodes/cwarn.el (cwarn-mode): Doc fix.
15407 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
15409 * files.el (directory-files-no-dot-files-regexp): New defconst.
15410 (delete-directory): Use it.
15411 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
15413 * net/tramp.el (tramp-verbose): Fix docstring.
15414 (tramp-methods): Add recursive option to `tramp-copy-args'.
15415 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
15416 "scp1_old", "scp2_old", "rsync", "rsyncc".
15417 (tramp-default-method): Check also for `auth-source-user-or-password'.
15418 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
15419 Add handler for `copy-directory'.
15420 (tramp-handle-copy-directory): New defun.
15421 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
15422 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
15423 Optimize sent command.
15425 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15427 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
15428 window if necessary.
15430 * calendar/calendar.el (calendar-basic-setup): Don't call
15431 switch-to-buffer in a dedicated window.
15433 2009-10-05 Karl Fogel <kfogel@red-bean.com>
15435 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
15436 don't do anything related to relocating, just return nil.
15437 (bookmark-error-no-filename): New error.
15438 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
15439 bookmark has no file. Don't even attempt to handle things that
15440 are not files; the whole point of custom handlers is to keep that
15441 knowledge elsewhere anyway. Tighten some comments.
15442 (bookmark-file-or-variation-thereof): Remove now-unused function.
15443 (bookmark-location): Doc string fix.
15446 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15448 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
15449 don't use a file dialog, because they usually don't know how to read
15450 a directory target from the user. (Bug#4230)
15451 Also, make sure the prompt can display directories as well as files.
15453 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15455 * bookmark.el (bookmark-set, bookmark-buffer-name):
15456 Improve doc strings. (Bug#1193)
15458 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15460 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
15461 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
15462 (bookmark-get-annotation, bookmark-set-annotation)
15463 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
15464 (bookmark-set-position, bookmark-get-front-context-string)
15465 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
15466 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
15467 (bookmark-jump-other-window, bookmark-handle-bookmark)
15468 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
15469 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
15470 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
15471 Improve doc strings to say whether bookmark can be a string or
15472 a record or both, and make other consistency and clarity fixes.
15473 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
15474 (bookmark-default-annotation-text, bookmark-yank-word)
15475 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
15476 (bookmark-import-new-list, bookmark-maybe-rename)
15477 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
15478 (bookmark-bmenu-bookmark): Give these doc strings.
15479 (bookmark-bmenu-check-position): Give this a doc string, but also
15480 add a FIXME comment about how the function may be pointless.
15481 (bookmark-default-handler): Rework doc string and change a
15482 parameter name, to clarify that this takes a bookmark record
15483 not a bookmark name.
15484 (bookmark-set): Change a parameter name to indicate its meaning,
15485 and improve the doc string a bit.
15488 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15490 * bookmark.el (bookmark-alist): Document the new `handler' element
15491 in the param alist.
15492 (bookmark-make-record-function): Adjust documentation for above.
15495 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15497 * info.el (Info-bookmark-make-record): Document this function.
15498 (Info-bookmark-jump): Document with a doc string, not just a comment.
15501 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
15503 * files.el (copy-directory): New defun.
15505 * dired-aux.el (dired-copy-file-recursive): Use it.
15507 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
15509 * files-x.el (modify-dir-local-variable)
15510 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
15513 * recentf.el (recentf-unload-function): New function.
15515 2009-10-04 Glenn Morris <rgm@gnu.org>
15517 * window.el (window-full-height-p): Add doc string.
15519 2009-10-04 Martin Rudalics <rudalics@gmx.at>
15521 * window.el (window-full-height-p): New function. (Bug#4543)
15523 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
15525 * vc.el: Remove commented out code.
15526 (vc-derived-from-dir-mode): Remove, unused.
15527 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
15529 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
15531 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
15532 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
15533 there could be recursive loading when `default-directory' is a
15534 remote file name. (Bug#4614)
15536 2009-10-03 Glenn Morris <rgm@gnu.org>
15538 * calendar/calendar.el (calendar-basic-setup): Handle the case where
15540 (calendar-generate-window): Test for shrinkability rather than width.
15542 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
15543 reusing existing buffers, in case we happen to visit two files with the
15544 same basename. (Bug#4593)
15546 2009-10-02 Eli Zaretskii <eliz@gnu.org>
15548 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
15549 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
15550 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
15551 subdirs of cedet as well.
15552 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
15554 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
15556 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
15557 Obey advertised-signature-table.
15559 * help-fns.el (help-function-arglist): Don't check
15560 advertised-signature-table.
15561 (describe-function-1): Do it here instead so it also applies to subrs.
15563 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
15565 * simple.el (start-file-process): Say in the doc-string, that file
15566 handlers might not support pty association, if PROGRAM is nil.
15568 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
15569 HOST and USER are strings. They are nil, when there are
15570 incomplete entries in ~/.netrc, for example.
15571 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
15572 root directory ("device busy" error otherwise).
15574 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
15575 Flush file properties of created directory.
15577 2009-10-02 Eli Zaretskii <eliz@gnu.org>
15579 * makefile.w32-in (WINS_BASIC): Remove cedet.
15580 (WINS_CEDET): Add cedet.
15581 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
15583 2009-10-02 Kevin Ryde <user42@zip.com.au>
15585 * net/browse-url.el (browse-url): Pass any symbol in
15586 browse-url-browser-function to `apply', since if you've mistakenly put
15587 an unbound symbol then the error is clearer. (Bug#4531)
15589 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
15591 * allout.el (allout-init, allout-back-to-current-heading)
15592 (allout-beginning-of-current-entry, allout-ascend-to-depth)
15593 (allout-ascend, allout-up-current-level, allout-end-of-level)
15594 (allout-previous-visible-heading, allout-forward-current-level)
15595 (allout-backward-current-level, allout-show-children):
15596 * apropos.el (apropos-describe-plist):
15597 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
15598 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
15599 * completion.el (add-completion, add-permanent-completion):
15600 * descr-text.el (describe-text-category, describe-char):
15601 * desktop.el (desktop-lazy-abort):
15602 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
15603 * dired.el (dired-build-subdir-alist):
15604 * ediff.el (ediff-version):
15605 * elide-head.el (elide-head, elide-head-show):
15606 * emerge.el (emerge-version):
15608 * face-remap.el (variable-pitch-mode):
15609 * faces.el (describe-face):
15610 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
15612 * files.el (find-file-existing, auto-save-mode):
15613 * font-lock.el (font-lock-fontify-buffer):
15614 * help-fns.el (describe-function, describe-variable)
15615 (describe-syntax, describe-categories):
15616 * help.el (view-lossage, describe-bindings, describe-key)
15618 * hexl.el (hexl-current-address):
15619 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
15620 * info.el (Info-goto-emacs-key-command-node):
15621 * log-edit.el (log-edit-insert-cvs-template)
15622 (log-edit-insert-cvs-rcstemplate):
15623 * menu-bar.el (menu-bar-mode):
15624 * mouse.el (mouse-appearance-menu):
15625 * newcomment.el (comment-indent-new-line):
15626 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
15627 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
15628 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
15629 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
15630 * recentf.el (recentf-mode):
15631 * savehist.el (savehist-mode, savehist-save):
15632 * shadowfile.el (shadow-copy-files):
15633 * simple.el (kill-ring-save, next-line, previous-line)
15634 (normal-erase-is-backspace-mode):
15635 * strokes.el (strokes-update-window-configuration)
15636 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
15637 (strokes-xpm-for-stroke):
15638 * time.el (emacs-uptime, emacs-init-time):
15639 * tutorial.el (tutorial--describe-nonstandard-key)
15640 (tutorial--detailed-help):
15641 * type-break.el (type-break-mode)
15642 (type-break-mode-line-message-mode, type-break-query-mode)
15643 (type-break-guesstimate-keystroke-threshold):
15644 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
15645 * version.el (emacs-version):
15646 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
15647 * winner.el (winner-mode):
15648 * calendar/timeclock.el (timeclock-in, timeclock-out)
15649 (timeclock-status-string, timeclock-change)
15650 (timeclock-workday-remaining-string)
15651 (timeclock-workday-elapsed-string)
15652 (timeclock-when-to-leave-string):
15653 * calendar/todo-mode.el (todo-add-category):
15654 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
15655 * emacs-lisp/autoload.el (update-file-autoloads):
15656 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
15657 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
15658 (checkdoc-message-text, checkdoc-defun):
15659 * emacs-lisp/debug.el (debugger-list-functions):
15660 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
15661 * emacs-lisp/eieio-opt.el (eieio-describe-class)
15662 (eieio-describe-generic):
15663 * emacs-lisp/lisp-mnt.el (lm-synopsis):
15664 * emacs-lisp/shadow.el (list-load-path-shadows):
15665 * emulation/cua-base.el (cua-mode):
15666 * emulation/edt.el (edt-set-scroll-margins):
15667 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
15668 (tpu-toggle-regexp, tpu-toggle-search-direction)
15669 (tpu-toggle-rectangle, tpu-toggle-control-keys):
15670 * emulation/tpu-extras.el (tpu-set-scroll-margins):
15671 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
15672 (viper-set-parsing-style-toggling-macro)
15673 (viper-set-emacs-state-searchstyle-macros):
15674 * emulation/viper.el (viper-set-hooks):
15675 * eshell/esh-mode.el (eshell-truncate-buffer):
15676 * international/mule-cmds.el (prefer-coding-system)
15677 (describe-input-method, describe-language-environment):
15678 * international/mule-diag.el (list-character-sets)
15679 (describe-character-set, describe-coding-system)
15680 (describe-fontset, list-fontsets, list-input-methods):
15681 * mail/sendmail.el (mail-signature):
15682 * net/ange-ftp.el (ange-ftp-copy-file):
15683 * net/browse-url.el (browse-url):
15684 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
15685 * net/quickurl.el (quickurl-add-url):
15686 * net/rcirc.el (names, topic):
15687 * net/xesam.el (xesam-mode):
15688 * play/5x5.el (5x5-new-game):
15689 * play/yow.el (apropos-zippy):
15690 * progmodes/ada-mode.el (ada-mode-version):
15691 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
15693 (f90-beginning-of-block):
15694 * progmodes/fortran.el (fortran-end-of-block)
15695 (fortran-beginning-of-block):
15696 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
15697 * progmodes/python.el (python-describe-symbol, python-shell):
15698 * term/ns-win.el (ns-print-buffer):
15699 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
15700 * textmodes/flyspell.el (flyspell-mode-on):
15701 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
15702 (pages-directory-for-addresses):
15703 * textmodes/table.el (table-recognize-cell)
15704 (table-query-dimension, table-generate-source)
15705 (table-insert-sequence, table--warn-incompatibility):
15706 * textmodes/tex-mode.el (tex-validate-buffer):
15707 * textmodes/texinfmt.el (texinfmt-version)
15708 (texinfo-format-buffer):
15709 Use `called-interactively-p' instead of `interactive-p'.
15711 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
15713 * image-mode.el (image-toggle-display):
15714 * emacs-lisp/elp.el (elp-instrument-function):
15715 * emacs-lisp/advice.el (ad-make-advised-definition):
15716 * emacs-lisp/easy-mmode.el (define-minor-mode):
15717 * net/browse-url.el (browse-url-maybe-new-window):
15718 * progmodes/sh-script.el (sh-learn-buffer-indent):
15719 Pass new argument 'any to `called-interactively-p'.
15721 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
15723 * international/uni-bidi.el:
15724 * international/uni-category.el:
15725 * international/uni-combining.el:
15726 * international/uni-comment.el:
15727 * international/uni-decimal.el:
15728 * international/uni-decomposition.el:
15729 * international/uni-digit.el:
15730 * international/uni-lowercase.el:
15731 * international/uni-mirrored.el:
15732 * international/uni-name.el:
15733 * international/uni-numeric.el:
15734 * international/uni-old-name.el:
15735 * international/uni-titlecase.el:
15736 * international/uni-uppercase.el:
15737 Regenerate from Unicode 5.2.0 data.
15739 2009-10-01 Glenn Morris <rgm@gnu.org>
15741 * Makefile.in (ELCFILES): Regenerate.
15743 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
15745 * subr.el (interactive-p): Mark obsolete.
15746 (called-interactively-p): Make the optional-ness of `kind' obsolete.
15747 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
15748 advertised-signature-table for subroutines as well.
15750 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
15751 (set-advertised-calling-convention): New function.
15752 (make-obsolete, define-obsolete-function-alias)
15753 (make-obsolete-variable, define-obsolete-variable-alias):
15754 Make the optional-ness of `when' obsolete.
15755 (define-obsolete-face-alias): Make `when' non-optional.
15756 * help-fns.el (help-function-arglist):
15757 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
15758 Use advertised-signature-table.
15760 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
15762 * files.el (delete-directory): New defun. The original function
15763 in fileio.c has been renamed to `delete-directory-internal'.
15765 * dired.el (dired-delete-file): Call `delete-directory' with
15766 RECURSIVE parameter.
15768 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
15769 parameter RECURSIVE. Implementation is missing.
15771 * net/tramp.el (tramp-handle-make-directory): Flush upper
15772 directory's file properties.
15773 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
15774 (tramp-handle-dired-recursive-delete-directory): Flush directory
15775 properties after the remove command only.
15777 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
15778 Handle optional parameter RECURSIVE.
15780 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
15781 Handle optional parameter RECURSIVE.
15783 * net/tramp-smb.el (tramp-smb-errors): Add error message for
15784 connection timeout.
15785 (tramp-smb-handle-delete-directory): Handle optional parameter
15788 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
15790 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
15791 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
15792 (byte-compile-defmacro): Use backquotes.
15794 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
15796 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
15797 has no associated file.
15798 (vc-resynch-buffer): Use vc-dir-buffers.
15800 2009-10-01 Glenn Morris <rgm@gnu.org>
15802 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
15803 (chart-file-count):
15804 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
15805 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
15806 * emacs-lisp/eieio-opt.el (eieio-describe-class):
15807 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
15808 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
15809 (eieio-copy-parents-into-subclass, make-instance, class-children)
15810 (eieio-generic-form):
15812 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
15813 match-data. (Bug#4555).
15815 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
15816 rather than parsing it as a regexp. This relaxes the layout
15817 requirements and makes errors easier to detect.
15818 (check-declare-verify): Check file is regular.
15819 (check-declare-directory): Doc fix.
15820 * subr.el (declare-function): Doc fix.
15822 * ibuffer.el (ibuffer-format-qualifier):
15823 * isearch.el (hi-lock-regexp-okay):
15824 * calc/calc.el (math-zerop):
15825 * mail/uce.el (rmail-msgbeg, rmail-msgend):
15826 * term/w32-win.el (setup-default-fontset, set-fontset-font):
15827 Remove unused declarations.
15829 2009-09-30 Eric Ludlam <zappo@gnu.org>
15831 * emacs-lisp/eieio.el (boolean-p): Delete.
15833 2009-09-30 Glenn Morris <rgm@gnu.org>
15835 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
15837 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
15838 filename is not a string.
15840 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
15842 * files.el (safe-local-eval-forms): Fix typo.
15844 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
15846 * vc-hooks.el (vc-dir-buffers): New var.
15847 (vc-state-refresh): New function.
15848 (vc-state): Use it.
15849 (vc-after-save): Always ask the backend to recompute the new state.
15850 Always call vc-dir if necessary, using vc-dir-buffers.
15851 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
15852 Use vc-dir-buffers.
15853 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
15854 (vc-dir-prepare-status-buffer, vc-dir-update)
15855 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
15856 Don't call expand-file-name on default-directory.
15858 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
15860 * speedbar.el (speedbar-item-delete):
15861 * calc/calc-prog.el (calc-kbd-if):
15862 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
15864 * epa.el (epa-key-list-mode-map):
15865 * hi-lock.el (hi-lock-menu): Fix typos in menus.
15867 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
15868 (hs-show-hook): Fix typo in docstring.
15870 2009-09-29 Glenn Morris <rgm@gnu.org>
15872 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
15873 file-name-nondirectory call preventing location of cedet files.
15874 (check-declare-verify): Use literal search rather than re-search.
15875 Add basic defmethod and defclass, and define-overloadable-function.
15877 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
15878 Use tramp-compat-file-attributes rather than nonexistent
15879 tramp-compat-handle-file-attributes.
15881 * Makefile.in (lisptagsfiles4): New.
15882 (AUTOGENEL): Add cedet loaddefs files.
15883 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
15884 (update-elclist, compile-always, backup-compiled-files)
15885 (bootstrap-clean): Add yet another directory level.
15886 (update-elclist): Use LC_COLLATE rather than COLLATE.
15887 (ELCFILES): Update, via `make update-elclist'.
15889 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
15891 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
15892 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
15893 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
15895 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
15897 * Makefile.in (lisptagsfiles3): Define.
15898 (TAGS, TAGS-LISP): Use it.
15899 (update-elclist): Add third directory level to look for elc files.
15900 (compile-always): Likewise.
15901 (backup-compiled-files): Likewise.
15902 (bootstrap-clean): Likewise.
15903 (ELCFILES): Update.
15905 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
15907 * Makefile.in (ELCFILES): Add CEDET files.
15909 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
15911 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
15913 * net/tramp.el (top): Require tramp-imap.
15915 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
15916 Use `tramp-compat-handle-file-attributes'.
15918 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
15920 * net/tramp-imap.el: New package.
15922 2009-09-28 Eric Ludlam <zappo@gnu.org>
15924 * emacs-lisp/chart.el:
15925 * emacs-lisp/eieio-base.el:
15926 * emacs-lisp/eieio-comp.el:
15927 * emacs-lisp/eieio-custom.el:
15928 * emacs-lisp/eieio-datadebug.el:
15929 * emacs-lisp/eieio-opt.el:
15930 * emacs-lisp/eieio-speedbar.el:
15931 * emacs-lisp/eieio.el: New files.
15933 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15935 * whitespace.el (whitespace-trailing-regexp)
15936 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
15939 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
15941 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
15944 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
15945 menu-bar-ediff-menu.
15947 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
15948 define-overloadable-function.
15950 * progmodes/autoconf.el: Provide autoconf as well, so that this
15951 file can be `require'd.
15953 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
15955 * emacs-lisp/autoload.el (generated-autoload-feature)
15956 (generated-autoload-load-name): New vars.
15957 (autoload-rubric, autoload-generate-file-autoloads): Use them.
15958 (make-autoload): Recognize define-overloadable-function and
15959 defclass forms (for EIEIO).
15961 * Makefile.in (update-subdirs): Exclude cedet directory.
15963 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
15965 * term/ns-win.el: Don't set the region face background. (Bug#4381)
15967 * faces.el: Default light-background background for region face to
15968 ns_selection_color under NS.
15970 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
15972 * net/imap-hash.el: New library, see NEWS.
15974 * Makefile.in (ELCFILES): Add imap-hash.el.
15976 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
15978 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
15979 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
15980 * help-macro.el (make-help-screen): Avoid using an ambiguous function
15981 definition where the docstring could be taken for the return value.
15983 2009-09-26 Glenn Morris <rgm@gnu.org>
15985 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
15986 Add option to only show images below a certain size.
15987 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
15988 save-excursion calls.
15990 2009-09-26 Eli Zaretskii <eliz@gnu.org>
15992 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
15993 subdirectories) and eieio.
15995 2009-09-26 Alan Mackenzie <acm@muc.de>
15997 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15998 Correct buggy bracketing. (Bug#4289)
16000 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
16001 character constants (as case labels). (Bug#4289)
16003 2009-09-25 Juri Linkov <juri@jurta.org>
16005 * files.el (safe-local-eval-forms): Allow time-stamp in
16006 before-save-hook (Bug#4554).
16008 2009-09-25 Drew Adams <drew.adams@oracle.com>
16010 * menu-bar.el (list-buffers-directory): Doc fix.
16012 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
16014 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
16015 Try and avoid copying twice the same paragraph.
16016 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
16017 Remove save-excursion.
16018 (log-edit-changelog-entry): Do it here instead.
16020 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
16022 * bs.el (bs--get-file-name): Use `list-buffers-directory'
16023 when available, instead of hardcoding mode names. Doc fix.
16025 * menu-bar.el (list-buffers-directory): Add docstring.
16026 Make automatically buffer-local.
16028 * dired.el (dired-mode):
16029 * files.el (cd-absolute):
16030 * pcvs.el (cvs-temp-buffer):
16031 * pcvs-util.el (cvs-get-buffer-create):
16032 * shell.el (shell-mode):
16033 * vc-dir.el (vc-dir-mode):
16034 Don't make `list-buffers-directory' buffer local.
16036 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
16038 * comint.el (comint-exec, comint-run, make-comint):
16039 Doc fixes (Bug#4542).
16041 2009-09-25 Glenn Morris <rgm@gnu.org>
16043 * mail/rmailmm.el (rmail-mime): New custom group.
16044 Move all defcustoms in this file into this group.
16045 (rmail-mime-media-type-handlers-alist): Revert previous change.
16046 (rmail-mime-show-images): New option.
16047 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
16048 references to it, since it wasn't actually used for anything.
16049 (rmail-mime-insert-image): New function.
16050 (rmail-mime-image): Use rmail-mime-insert-image.
16051 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
16052 obey the value of `rmail-mime-show-images' option. Print the size of
16055 2009-09-25 David Engster <deng@randomsample.de>
16057 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
16059 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16061 * whitespace.el: Does not highlight trailing spaces While point is
16062 at end of line. Does not highligt spaces at beginning of buffer
16063 while point is at beginning of buffer. Does not highlight spaces
16064 at end of buffer while point is at end of buffer. (Bug#4177)
16066 (whitespace-display-mappings): Adjust initialization.
16067 (whitespace-point, whitespace-font-lock-refontify): New vars.
16068 (whitespace-color-on, whitespace-color-off): Adjust code.
16069 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
16070 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
16071 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
16073 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
16075 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
16077 * textmodes/sgml-mode.el: Remove xml-mode alias.
16079 * files.el (auto-mode-alist, conf-mode-maybe)
16080 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
16082 2009-09-24 Alan Mackenzie <acm@muc.de>
16084 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
16085 c-forward-conditionals, but it doesn't move point and doesn't set
16087 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
16088 (c-down-conditional-with-else, c-backward-conditional)
16089 (c-forward-conditional): Refactor to use c-scan-conditionals.
16091 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
16093 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
16094 (help-default-arg-highlight): Remove.
16095 (help-highlight-arg): New function.
16096 (help-do-arg-highlight): Use it.
16097 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
16099 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
16101 * term.el (term-set-scroll-region, term-handle-ansi-escape):
16102 Undo last change, which didn't fix the problem and introduced others.
16104 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
16106 * progmodes/gdb-mi.el: Don't require speedbar.
16107 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
16109 2009-09-24 Glenn Morris <rgm@gnu.org>
16111 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
16113 * term/ns-win.el (ns-reg-to-script): Define for compiler.
16115 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
16116 there is no newline after the final mime boundary. (Bug#4539)
16117 Move markers on insertion so that any buttons inserted don't end up in
16118 the next part of a multipart message.
16119 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
16120 (rmail-mime-bulk-handler): Optionally handle images.
16121 (rmail-mime-image): New button action.
16122 (rmail-mime-image-handler): New function.
16123 (rmail-mime-mode): New mode.
16124 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
16126 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
16128 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
16129 than just dropping elements from it (bug#4504).
16131 * term.el (term-set-scroll-region): Don't move cursor any more.
16132 (term-handle-ansi-escape): Call term-goto here instead.
16133 Suggested by Ivan Kanis <apple@kanis.eu>.
16135 * term.el: Require CL.
16136 (term-ansi-reset): New function.
16137 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
16138 (term-handle-colors-array): Simplify.
16140 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
16142 * allout.el (allout-overlay-interior-modification-handler)
16143 (allout-obtain-passphrase):
16144 * epa-file.el (epa-file-write-region):
16145 * ps-print.el (ps-begin-job):
16146 * vc-hooks.el (vc-toggle-read-only):
16147 * vc-rcs.el (vc-rcs-rollback):
16148 * vc-sccs.el (vc-sccs-rollback):
16149 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
16150 (vc-version-diff, vc-revert, vc-rollback):
16151 * wdired.el (wdired-check-kill-buffer):
16152 * emacs-lisp/authors.el (authors):
16153 * net/socks.el (socks-open-connection):
16154 * net/zeroconf.el (zeroconf-service-add-hook):
16155 * obsolete/vc-mcvs.el (vc-mcvs-register):
16156 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
16157 (gdb-select-frame):
16158 * progmodes/grep.el (lgrep, rgrep):
16159 * progmodes/idlw-help.el (idlwave-help-check-locations)
16160 (idlwave-help-html-link, idlwave-help-assistant-open-link):
16161 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
16162 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
16163 (reftex-toc-rename-label): Fix typos in error messages.
16165 * dired-aux.el (dired-do-shell-command): Reflow docstring.
16166 (dired-copy-how-to-fn): Doc fix.
16167 (dired-files-attributes, dired-read-shell-command):
16168 Fix typos in docstrings.
16170 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
16171 (dired-x-find-file-other-window): Reflow docstrings.
16172 (dired-omit-marker-char, dired-read-shell-command)
16173 (dired-x-submit-report): Fix typos in docstrings.
16175 * shell.el (shell-mode-hook):
16176 * view.el (View-scroll-line-forward):
16177 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
16178 Fix typos in docstrings.
16180 * net/dig.el (dig-invoke): Fix typo in docstring.
16181 (query-dig): Reflow docstring.
16183 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
16184 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
16185 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
16186 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
16187 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
16188 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
16189 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
16190 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
16191 (idlwave-completion-map, idlwave-current-indent)
16192 (idlwave-custom-ampersand-surround, idlwave-customize)
16193 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
16194 (idlwave-define-abbrev, idlwave-determine-class-special)
16195 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
16196 (idlwave-end-block-reg, idlwave-end-of-statement)
16197 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
16198 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
16199 (idlwave-explicit-class-listed, idlwave-file-header)
16200 (idlwave-fill-paragraph, idlwave-find-class-definition)
16201 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
16202 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
16203 (idlwave-in-quote, idlwave-indent-action-table)
16204 (idlwave-indent-expand-table, idlwave-indent-line)
16205 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
16206 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
16207 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
16208 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
16209 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
16210 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
16211 (idlwave-outlawed-buffers, idlwave-popup-select)
16212 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
16213 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
16214 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
16215 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
16216 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
16217 (idlwave-statement-type, idlwave-struct-skip)
16218 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
16219 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
16220 (idlwave-what-module-find-class): Fix typos in docstrings.
16221 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
16222 (idlwave-calculate-cont-indent, idlwave-expand-equal)
16223 (idlwave-find-module, idlwave-find-structure-definition)
16224 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
16225 (idlwave-list-load-path-shadows, idlwave-next-statement)
16226 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
16227 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
16228 (idlwave-template): Reflow docstrings.
16230 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
16231 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
16232 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
16233 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
16234 (idlwave-shell-display-line, idlwave-shell-display-wframe)
16235 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
16236 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
16237 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
16238 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
16239 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
16240 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
16241 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
16242 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
16243 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
16244 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
16245 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
16246 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
16247 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
16248 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
16249 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
16250 Fix typos in docstrings.
16251 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
16252 (idlwave-shell-hide-output, idlwave-shell-mode)
16253 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
16256 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
16258 2009-09-24 Ivan Kanis <apple@kanis.eu>
16260 * term.el (term-bold-attribute): New var.
16261 (term-handle-colors-array): Use it.
16263 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
16265 * progmodes/gdb-mi.el (gdb-version): New variable.
16266 (gdb-non-stop-handler): Set gdb-version.
16267 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
16268 Condition "--thread" option on gdb-version.
16269 (gdb-invalidate-threads): Remove unused argument.
16271 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16273 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
16274 to looking-back to avoid ridiculous slow down in large files (bug#4511).
16276 2009-09-23 Glenn Morris <rgm@gnu.org>
16278 * mail/rmail.el (rmail-reply): Don't try to add a References header when
16279 replying to mail without References or Message-Id. (Bug#4525)
16281 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
16283 * term/ns-win.el (ns-reg-to-script): New variable.
16285 2009-09-23 Daiki Ueno <ueno@unixuser.org>
16287 * epg.el (epg-wait-for-status): Preserve existing 'error results.
16289 2009-09-22 Sam Steingold <sds@gnu.org>
16291 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
16292 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
16293 to 1 because hg returns status 1 when nothing is found.
16294 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
16296 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
16298 * textmodes/fill.el: Convert to utf-8 encoding.
16299 (fill-french-nobreak-p): Remove redundant » and « inherited from our
16302 * add-log.el (change-log-fill-forward-paragraph): New function.
16303 (change-log-mode): Use it so fill-region DTRT.
16304 Set fill-indent-according-to-mode here rather than in
16305 change-log-fill-paragraph.
16306 (change-log-fill-paragraph): Remove.
16308 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
16310 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
16311 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
16313 2009-09-22 Glenn Morris <rgm@gnu.org>
16315 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
16316 the scroll-bar scroll the calendar window rather than the buffer.
16318 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
16319 commands that move point (as opposed to scrolling).
16321 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
16323 * emacs-lisp/elint.el (elint): New custom group.
16324 (elint-log-buffer): Make it a defcustom.
16325 (elint-scan-preloaded, elint-ignored-warnings)
16326 (elint-directory-skip-re): New options.
16327 (elint-builtin-variables): Doc fix.
16328 (elint-preloaded-env): New variable.
16329 (elint-unknown-builtin-args): Add an entry for encode-time.
16330 (elint-extra-errors): Make it a variable rather than a constant.
16331 (elint-preloaded-skip-re): New constant.
16332 (elint-directory): Skip files matching elint-directory-skip-re.
16333 (elint-features): New variable, local to linted buffers.
16334 (elint-update-env): Initialize elint-features. Possibly add
16335 elint-preloaded-env to the buffer's environment.
16336 (elint-get-top-forms): Bind elint-current-pos, for log messages.
16338 (elint-init-form): New function, extracted from elint-init-env.
16339 Make non-list forms a warning rather than an error.
16340 Add the mode-map for define-derived-mode. Handle define-minor-mode,
16341 easy-menu-define, put that adds an error-condition, and provide.
16342 When requiring cl, also require cl-macs. Really require cl, to handle
16343 some cl macros. Store required libraries in the list elint-features,
16344 so as not to re-load them. Treat cc-require like require.
16345 (elint-init-env): Call elint-init-form to do the work.
16346 Handle eval-and-compile and such like.
16347 (elint-add-required-env): Do not clear messages.
16348 (elint-special-forms): Add handlers for function, defalias, if, when,
16350 (elint-form): Add optional argument to ignore elint-special-forms,
16351 useful to prevent recursive calls from handlers. Doc fix.
16352 Respect elint-ignored-warnings.
16353 (elint-form): Respect elint-ignored-warnings.
16354 (elint-bound-variable, elint-bound-function): New variables.
16355 (elint-unbound-variable): Respect elint-bound-variable.
16356 (elint-get-args): Respect elint-bound-function.
16357 (elint-check-cond-form): Add some simple handling for (f)boundp and
16359 (elint-check-defalias-form): New handler.
16360 (elint-check-let-form): Make an empty let a warning rather than an
16362 (elint-check-setq-form): Make an empty setq a warning rather than an
16363 error. Respect elint-ignored-warnings.
16364 (elint-check-defvar-form): Accept null doc-strings.
16365 (elint-check-conditional-form): New handler. Does some simple-minded
16366 checking of featurep and (f)boundp tests.
16367 (elint-put-function-args): New function.
16368 (elint-initialize): Use elint-scan-doc-file rather than
16369 elint-find-builtin-variables. Use elint-put-function-args.
16370 Possibly scan preloaded-file-list.
16371 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
16372 extend to handle functions as well.
16374 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
16376 * linum.el (linum-delete-overlays, linum-update-window):
16377 Do not modify the right margin. (Bug#3971)
16379 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
16381 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
16382 Use nxml-mode instead of xml-mode.
16384 2009-09-21 Kevin Ryde <user42@zip.com.au>
16386 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
16388 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
16390 * net/dig.el (dig-mode): Use define-derived-mode.
16392 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
16394 * vc-dispatcher.el (vc-do-command): Return the process object in
16395 the asynchronous case. Use when instead of if. Do not run
16396 vc-exec-after to display a message if not enabled. (Bug#4463)
16398 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
16399 properties to the stash strings.
16400 (vc-git-stash-list): Return a list of strings.
16401 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
16402 (vc-git-stash-show-at-point): New functions.
16403 (vc-git-stash-map): New keymap.
16405 * register.el (ctl-x-r-map): Define the keys here instead of
16408 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
16410 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
16411 list, to workaround performance problem (bug#4485).
16413 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
16415 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
16417 2009-09-20 Daiki Ueno <ueno@unixuser.org>
16419 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
16420 Document that this option is not recommended to use.
16422 2009-09-19 Glenn Morris <rgm@gnu.org>
16424 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
16427 * calc/calc-alg.el (var):
16428 * calc/calcalg2.el (var): Define for compiler.
16430 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
16432 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
16433 Doc fix (Bug#3932).
16435 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
16437 * time-stamp.el (time-stamp-month-dd-yyyy)
16438 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
16439 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
16440 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
16441 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
16442 Remove functions that have been obsolete since 1995 (Bug#4436).
16444 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
16445 indent buffer only if called interactively (Bug#4452).
16447 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
16448 Eli Zaretskii <eliz@gnu.org>
16450 This fixes bug#4197 (merged to bug#865, though not identical).
16451 * server.el (server-auth-dir): Add docstring note about FAT32.
16452 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
16453 but warn against using them.
16455 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
16457 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
16458 older GDB where there is no has_more field.
16460 2009-09-19 Glenn Morris <rgm@gnu.org>
16462 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
16464 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
16466 * files.el (auto-mode-alist): Change default for XML files to nXML
16469 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
16471 * server.el (server-ensure-safe-dir): Pass 'integer
16472 to `file-attributes', as suggested.
16474 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
16476 * dired-aux.el (dired-query-alist): Remove spurious backslash.
16477 (dired-query): Use read-key.
16479 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
16481 * cus-start.el (ns-use-qd-smoothing): Remove.
16483 2009-09-18 Glenn Morris <rgm@gnu.org>
16485 * allout.el (top-level): Remove unnecessary progn.
16487 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
16489 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
16490 definition of abbrev table.
16492 * speedbar.el (speedbar-track-mouse):
16493 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
16494 * net/eudc.el (eudc-expand-inline):
16495 * net/newst-backend.el (newsticker--cache-read-feed):
16496 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
16497 condition-case handlers.
16499 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
16501 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
16502 (gdb-var-list): Add an element for has_more field.
16503 (gdb-non-stop-handler): Enable pretty printing for STL containers.
16504 (gdb-var-create-handler, gdb-var-list-children-handler-1)
16505 (gdb-var-update-handler-1): Parse output of dynamic variable
16506 objects (STL containers).
16507 (gdb-var-delete-1): Pass var1 as an explicit second argument.
16508 (gdb-get-field): Delete alias. Use bindat-get-field directly.
16510 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
16512 (gud-speedbar-buttons): Make node expandable if expression "has more"
16515 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
16517 * startup.el (emacs-quick-startup): Remove variable and all uses.
16518 (command-line): Set `inhibit-x-resources' instead.
16519 (command-line-1): Use `inhibit-x-resources' instead.
16521 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
16523 * subr.el: Fix last change to avoid using the `unless' macro,
16524 which breaks bootstrapping.
16526 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
16528 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
16529 extended definitions, in case we reload subr.el after having
16531 (eval-next-after-load): Mark as obsolete.
16533 2009-09-17 Juri Linkov <juri@jurta.org>
16535 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
16536 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
16537 (menu-bar-showhide-menu, menu-bar-tools-menu)
16538 (menu-bar-describe-menu, menu-bar-help-menu)
16539 (minibuffer-local-completion-map, minibuffer-local-map):
16542 2009-09-17 Glenn Morris <rgm@gnu.org>
16544 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
16545 arguments, whether or not it has a handler.
16547 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
16549 * simple.el (hard-newline): Give it a doc-string.
16551 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16552 (lisp-mode-syntax-table): Give them doc-strings.
16554 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
16556 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
16557 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
16558 (menu-bar-options-menu, menu-bar-showhide-menu)
16559 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
16560 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
16561 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
16562 (menu-bar-options-menu, menu-bar-tools-menu)
16563 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
16564 (menu-bar-help-menu):
16565 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
16568 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
16569 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
16570 calls for the menu names and :help.
16572 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
16574 * mouse.el (minor-mode-menu-from-indicator): Pay attention
16575 to :minor-mode-function (bug#4455).
16577 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
16579 * startup.el (command-line): Initialize the window-system after
16580 processing the command-line.
16582 * textmodes/page.el (what-page): Make sure we don't inf-loop if
16583 page-delimiter matches the empty string.
16585 2009-09-16 Glenn Morris <rgm@gnu.org>
16587 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
16588 byte-compile-not-obsolete-var. It's a list now.
16589 (byte-compile-not-obsolete-funcs): New variable.
16590 (byte-compile-warn-obsolete): Don't warn about functions if they are in
16591 byte-compile-not-obsolete-funcs.
16592 (byte-compile-variable-ref, byte-compile-defvar): Update for
16593 byte-compile-not-obsolete-vars name-change and list nature.
16594 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
16595 and variables behind (f)boundp tests.
16596 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
16598 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
16600 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
16602 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
16604 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
16605 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
16608 2009-09-15 Stephen Eglen <stephen@gnu.org>
16610 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
16611 the virtual-buffers, use the name of the buffer specified by
16612 find-file-noselect, as the match may be a symlink. (This was a
16613 problem if the target and the symlink had different names.)
16615 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
16617 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
16619 * desktop.el (desktop-path): Check user-emacs-directory.
16621 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
16623 * loadup.el: Use after-load-functions to GC after loading each file.
16624 Remove the explicit GC calls that used to be sprinkled around.
16626 * subr.el (after-load-functions): New hook.
16627 (do-after-load-evaluation): Run it. Use string-match-p to detect
16628 `obsolete' packages, rather than painfully extracting the relevant
16631 2009-09-15 Glenn Morris <rgm@gnu.org>
16633 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
16634 free variable `doc'.
16636 * dired.el (dired-mode-map): Add menu entry for async shell command.
16638 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
16639 variables, also consider the .elc files, since the .el files are
16640 normally gzipped (subsequent code locates the .el.gz from the .elc).
16642 * calc/calc-prog.el (arglist): Define for compiler.
16644 * calendar/diary-lib.el (diary-display-function): Change the default to
16646 (body): Define for compiler.
16648 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
16649 (byte-compile-file-form, byte-compile-lambda)
16650 (byte-compile-top-level-body, byte-compile-form)
16651 (byte-compile-variable-ref, byte-compile-setq)
16652 (byte-compile-setq-default, byte-compile-body)
16653 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
16654 (batch-byte-compile): Give some more local variables with common names
16655 a "bytecomp-" prefix to avoid masking warnings about free variables.
16657 * startup.el (command-line-1): Give local variables with common names a
16658 distinguishing prefix, so as not to hide free variable warnings during
16661 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
16662 clever and add a suffix to make a unique name, just let the user decide
16663 whether or not to overwrite it. If the input is a directory, write the
16664 default filename to that directory. (Bug#4388)
16665 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
16666 is a filename-as-a-directory.
16668 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
16670 * textmodes/page.el (what-page): Don't move to beginning of line.
16671 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
16673 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
16675 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
16677 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
16679 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
16680 * help.el (help-for-help-internal): Add purecopy calls for text.
16682 * vc.el (top): print-log method now takes an optional SHORTLOG
16683 argument. Add a new method: root.
16684 (vc-root-diff, vc-print-root-log): New functions.
16685 (vc-log-short-style): New variable.
16686 (vc-print-log-internal): Add support for showing short logs.
16688 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
16689 vc-print-root-log and vc-print-root-diff.
16691 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
16692 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
16693 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
16696 * vc-cvs.el (vc-cvs-print-log):
16697 * vc-mtn.el (vc-mtn-print-log):
16698 * vc-rcs.el (vc-rcs-print-log):
16699 * vc-sccs.el (vc-sccs-print-log):
16700 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
16701 that is ignored for now.
16703 * vc-mtn.el (vc-mtn-annotate-command):
16704 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
16706 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
16708 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
16709 to function-key-map, and give them ascii-character property.
16710 * term/x-win.el (x-alternatives-map):
16711 * term/ns-win.el (ns-alternatives-map):
16712 * term/internal.el (msdos-key-remapping-map):
16713 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
16715 2009-09-14 Glenn Morris <rgm@gnu.org>
16717 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
16718 temp-buffers (2009-09-12).
16720 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
16722 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
16723 the new read-key function.
16725 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
16727 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
16728 is defined (Bug#4405).
16730 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
16732 * recentf.el (recentf-cleanup): Use a hash table to find
16733 duplicates (Bug#4407).
16735 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
16737 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
16738 kp-0 to ascii equivalents (Bug#4325).
16740 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
16742 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
16744 * eshell/em-hist.el:
16745 * eshell/em-dirs.el (eshell-complete-user-reference):
16746 Declare pcomplete functions and variables to avoid compiler warnings.
16748 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
16750 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
16751 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
16752 * eshell/em-alias.el (eshell-aliases-file):
16753 * eshell/em-hist.el (eshell-history-file-name):
16754 Use expand-file-name instead of concat to make file names (Bug#4308).
16756 2009-09-13 Glenn Morris <rgm@gnu.org>
16758 * ediff-merg.el (ediff-do-merge):
16759 * filesets.el (filesets-run-cmd):
16760 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
16761 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
16762 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
16763 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
16764 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
16765 Replace empty `let's with `progn'.
16767 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
16769 * mail/sendmail.el (send-mail-function):
16770 * tooltip.el (tooltip-mode):
16771 * simple.el (transient-mark-mode):
16772 * rfn-eshadow.el (file-name-shadow-mode):
16773 * frame.el (blink-cursor-mode):
16774 * font-core.el (global-font-lock-mode):
16775 * files.el (temporary-file-directory)
16776 (small-temporary-file-directory, auto-save-file-name-transforms):
16777 * epa-hook.el (auto-encryption-mode):
16778 * composite.el (global-auto-composition-mode):
16779 Use custom-initialize-delay.
16780 * startup.el (command-line): Don't explicitly call
16781 custom-reevaluate-setting for all the above vars.
16782 * custom.el (custom-initialize-safe-set)
16783 (custom-initialize-safe-default): Delete.
16785 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16787 * term/x-win.el (x-initialize-window-system):
16788 * term/w32-win.el (w32-initialize-window-system):
16789 * term/ns-win.el (ns-initialize-window-system): Don't call
16790 mouse-wheel-mode since it's enabled globally by default already.
16792 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
16793 actually define the variable, but only silences the byte-compiler.
16794 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
16795 before looking it up.
16796 (mouse-wheel-scroll-amount): Also reset the bindings if this value
16799 2009-09-12 Glenn Morris <rgm@gnu.org>
16801 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
16803 (elint-add-required-env): Don't beep on error.
16804 (elint-forms): In case of error, return ENV unchanged.
16805 (elint-init-env): Skip non-list forms.
16806 (elint-log): Handle unknown file positions.
16808 2009-09-12 Daiki Ueno <ueno@unixuser.org>
16810 * epg.el (epg-make-context): Add autoload cookie.
16811 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
16812 (epg-decrypt-string, epg-start-verify, epg-verify-file)
16813 (epg-verify-string, epg-start-sign, epg-sign-file)
16814 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
16815 (epg-encrypt-string, epg-start-export-keys)
16816 (epg-export-keys-to-file, epg-export-keys-to-string)
16817 (epg-start-import-keys, epg-import-keys-from-file)
16818 (epg-import-keys-from-string, epg-start-receive-keys)
16819 (epg-receive-keys, epg-import-keys-from-server)
16820 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
16821 (epg-sign-keys, epg-start-generate-key)
16822 (epg-generate-key-from-file, epg-generate-key-from-string):
16823 Remove autoload cookie.
16825 2009-09-12 Eli Zaretskii <eliz@gnu.org>
16827 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
16828 reevaluation of trash-directory.
16830 * mwheel.el: Fix last change.
16831 (mouse-wheel-mode): New defvar.
16832 (mouse-wheel-mode): Remove autoload cookie.
16834 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16836 * mwheel.el (mwheel-installed-bindings): New var.
16837 (mouse-wheel-mode): Use it, so as to make sure we really remove all
16838 the bindings we set last time. Use custom-initialize-delay.
16839 * loadup.el: Load mwheel after term/*-win.el.
16840 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
16841 and mouse-wheel-up-event now that their first evaluation is done
16842 sufficiently late to be correct.
16844 * startup.el (tutorial-directory): Make it a defcustom.
16845 Use custom-initialize-delay rather than eval-at-startup to set it.
16846 * image.el (image-load-path): Make it a defcustom.
16847 Use custom-initialize-delay rather than eval-at-startup to set it.
16848 * subr.el (eval-at-startup): Remove.
16849 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
16851 * subr.el (do-after-load-evaluation): Warn the user after loading an
16854 2009-09-12 Glenn Morris <rgm@gnu.org>
16856 * proced.el (proced-mark-alt): Remove alias.
16857 (proced-mode-map): Remove proced-mark-alt.
16859 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
16860 Elint file and directory. Remove initialization entry.
16862 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
16864 (elint-current-buffer): Set mode-line-process.
16865 (elint-init-env): Handle define-derived-mode.
16866 Fix declare-function with unspecified arglist. Guard against odd
16867 defalias statements (eg iso-insert's 8859-1-map).
16868 (elint-add-required-env): Use a temp buffer.
16869 (elint-form): Just print the function/macro name, not the whole form.
16870 Return env unchanged if we fail to parse a macro.
16871 (elint-forms): Guard against parse errors.
16872 (elint-output): New function, to handle batch mode.
16873 (elint-log-message): Add optional argument. Use elint-output.
16874 (elint-set-mode-line): New function.
16876 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
16878 * emacs-lisp/elp.el (elp-not-profilable): Add more
16879 functions (Bug#4233).
16881 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
16883 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
16884 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
16886 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
16888 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
16889 (gdb-var-list-children): Use json parsing.
16891 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
16893 * progmodes/js.el (js--proper-indentation): Handle the case where
16894 char-before is null. Reported by Deniz Dogan.
16896 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
16898 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
16900 2009-09-11 Daiki Ueno <ueno@unixuser.org>
16902 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
16903 (epg-digest-algorithm-alist): Add SHA224.
16904 (epg-context-set-passphrase-callback)
16905 (epg-context-set-progress-callback): Add description about
16908 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16910 * custom.el (custom-delayed-init-variables): New var.
16911 (custom-initialize-delay): New function.
16912 * startup.el (command-line): "Re"evaluate all vars in
16913 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
16914 explicitly any more.
16915 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
16916 to avoid creating a ~/.emacs.d at build-time (bug#4347).
16918 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
16920 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
16922 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
16923 (gdb-var-update-handler): Use json parsing.
16925 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
16927 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
16928 decode annotated text, regardless of language environment. (Bug#2741)
16930 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16932 * Makefile.in (autoloads): Make rmail.el writable as well.
16934 2009-09-11 Glenn Morris <rgm@gnu.org>
16936 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
16938 * dired.el: Regenerate with extracted autoloads.
16939 * Makefile.in (autoloads): Make dired.el writable.
16941 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
16942 * ibuffer.el: Regenerate with extracted autoloads.
16943 * Makefile.in (autoloads): Make ibuffer.el writable.
16945 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
16946 * version.el (emacs-copyright, emacs-major-version)
16947 (emacs-minor-version): Reformat doc-strings for make-docfile.
16949 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
16950 functions and variables, since they must be stuff specific to some other
16952 (apropos-print): Make mouse-click message less specific about button.
16954 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
16955 that records where a macro was defined.
16956 * help-fns.el (describe-function-1): Mention if a function has a
16958 * help-mode.el (help-function-cmacro): New button.
16960 * locate.el (top-level): Always require dired.
16961 (locate-mode-map): Initialize inside the defvar.
16963 * net/ange-ftp.el (dired-compress-file): Declare.
16964 (ange-ftp-dired-compress-file): Add doc string.
16966 * term/ns-win.el (x-display-name, x-setup-function-keys):
16967 Unify doc-strings with X versions.
16969 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16971 * emulation/crisp.el (crisp-mode-map): Move initialization
16973 (crisp-mode): Use define-minor-mode.
16975 * progmodes/xscheme.el (xscheme-evaluation-commands):
16976 Put a :advertised-binding property rather than using
16977 advertised-xscheme-send-previous-expression.
16978 (advertised-xscheme-send-previous-expression): Declare obsolete.
16979 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
16981 (crisp-mode): Add corresponding bindings to
16982 undo's :advertised-binding instead.
16983 * dired.el (dired-mode-map): Put a :advertised-binding property rather
16984 than using dired-advertised-find-file.
16985 (dired-advertised-find-file):
16986 * simple.el (advertised-undo):
16987 * wid-edit.el (advertised-widget-backward): Declare obsolete.
16988 (widget-keymap): Put a :advertised-binding property rather
16989 than using advertised-widget-backward.
16990 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
16991 than using advertised-undo.
16992 * tutorial.el (tutorial--default-keys): Adjust accordingly.
16994 2009-09-10 Simon South <ssouth@slowcomputing.org>
16996 * progmodes/delphi.el (delphi-tab): Indent region when Transient
16997 Mark mode is enabled and region is active; otherwise indent or
16998 insert TAB as usual.
16999 (delphi-mode): Update description of TAB-key binding.
17001 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
17003 * subr.el (define-key-rebound-commands): Mark obsolete.
17004 * startup.el (precompute-menubar-bindings): Remove.
17005 (normal-top-level): Remove obsolete code that tried to precompute
17007 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
17008 define-key-rebound-commands and precompute-menubar-bindings.
17010 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
17012 * net/imap.el (imap-interactive-login): Better messages.
17013 (imap-open): Fix bug with renamed buffer on reconnect.
17014 (imap-authenticate): Add buffer-local imap-last-authenticator variable
17015 for easier debugging and cleaner code. On successful (guessed based on
17016 server capabilities) secondary authentication, set imap-state
17018 (imap-last-authenticator): Define imap-last-authenticator as a variable
17021 2009-09-10 Glenn Morris <rgm@gnu.org>
17023 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
17025 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
17026 (byte-compile-file-form-autoload): Don't warn about unknown functions
17027 where the autoload statement comes after the use.
17028 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
17029 that any handlers inside the body (eg require) are in turn respected.
17031 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
17034 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
17035 and syntax and abbrev tables basic docs, if they don't have any.
17037 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
17039 * international/mule-cmds.el (top-level): Require cl when compiling.
17040 (view-hello-file): Use default-value rather than
17041 default-enable-multibyte-characters.
17043 * progmodes/fortran.el: Move all safe and risky properties into the
17046 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
17047 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
17048 * mail/undigest.el:
17049 Put autoloads in rmail.el rather than loaddefs.el.
17050 * mail/rmail.el: Regenerate with extracted autoloads.
17052 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
17053 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
17055 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
17057 Reported in thread for Bug#4375.
17058 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
17059 "-data-evaluate-expression" instead of print.
17060 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
17061 (gdb-tooltip-print): Parse output from above MI command.
17062 (gdb): Revert 2009-08-11 change. User should detach inferior
17065 Remove the word "separate" from IO functions as inferior
17066 output is now never displayed in the GUD buffer.
17068 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
17070 * startup.el (command-line-normalize-file-name): On Windows and
17071 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
17073 2009-09-10 Juri Linkov <juri@jurta.org>
17075 * isearch.el (isearch-text-char-description): Propertize escape
17076 character sequences with the `escape-glyph' face. (Bug#4344)
17078 * simple.el (shell-command): Set asynchronous process filter to
17079 `comint-output-filter'. (Bug#4343)
17081 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
17082 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
17083 the list. Move "asm" to the bottom.
17084 (grep-find-ignored-directories): Add `choice' with nil value
17085 to empty the list easily.
17086 (grep-find-ignored-files): New option.
17087 (grep-files-history): Set to nil by default instead of '("ch" "el").
17088 (grep-compute-defaults): Add "<X>" to `grep-template'.
17089 (grep-read-files): Bind new local variables `default-alias' and
17090 `default-extension'. Use a list of default values for the file prompt.
17091 (lgrep): Add `--exclude=' command line options composed from
17092 `grep-find-ignored-files'.
17093 (rgrep): Add `-name' command line options composed from
17094 `grep-find-ignored-files'. (Bug#4301)
17096 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
17098 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
17101 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
17103 * calendar/time-date.el (autoload):
17104 Expand define-obsolete-function-alias into defalias and make-obsolete
17105 for old Emacsen that Gnus supports.
17106 (with-no-warnings): Define it for old Emacsen.
17107 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
17109 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
17110 float-time is available; suppress compile warning for time-to-seconds.
17112 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
17114 * net/imap.el (imap-message-map): Docstring fix.
17116 2009-09-09 Glenn Morris <rgm@gnu.org>
17118 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
17119 line numbers too. (Bug#4374)
17121 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
17123 * smerge-mode.el (smerge-remove-props, smerge-refine):
17124 Use with-silent-modifications (bug#4342).
17126 * subr.el (with-silent-modifications): New macro.
17128 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
17130 * files.el (top-level): Require `cl' when compiling.
17132 2009-09-07 Glenn Morris <rgm@gnu.org>
17134 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
17136 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
17137 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
17139 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
17141 * vc-git.el (vc-git-annotate-command): Use separator to parse
17142 arguments correctly.
17144 2009-09-06 Eli Zaretskii <eliz@gnu.org>
17146 * proced.el (proced-mode): Doc fix.
17148 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
17150 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
17152 (tramp-do-file-attributes-with-ls): Check for file existence at
17154 (tramp-do-file-attributes-with-stat): Likewise.
17155 (tramp-convert-file-attributes): Return nil when attr is nil.
17157 2009-09-05 Glenn Morris <rgm@gnu.org>
17159 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
17160 properties to this button.
17161 (diary-fancy-display): Don't extend the button to the final newline.
17162 (diary-fancy-display-mode): Continue to define "q" as a local key.
17164 * calendar/cal-china.el (holiday-chinese): Make it slightly more
17167 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
17169 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
17170 (byte-compile-dest-file-function): New option.
17171 (byte-compile-dest-file): Doc fix.
17172 Obey byte-compile-dest-file-function.
17173 (byte-compile-cl-file-p): New function.
17174 (byte-compile-eval): Only suppress noruntime warnings about cl functions
17175 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
17176 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
17177 than for file being previously loaded.
17178 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
17179 (byte-compile-file-form-require): Handle the case where requiring a file
17180 indirectly causes CL to be loaded.
17182 2009-09-05 Karl Fogel <kfogel@red-bean.com>
17184 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
17185 before killing the old buffer, since by the time `kill-buffer' is
17186 run so many buffer variables have been set to nil that it may not
17187 behave as expected. (Bug#4061)
17189 2009-09-05 Karl Fogel <kfogel@red-bean.com>
17191 * files.el (find-alternate-file): If the old buffer is modified
17192 and visiting a file, behave similarly to `kill-buffer' when
17193 killing it, thus reverting to the pre-1.878 behavior; see
17194 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
17195 for discussion. Also, consult `buffer-file-name' as a variable
17196 not as a function, for consistency with the rest of the code.
17198 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
17200 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
17201 also when adding a new directory.
17203 * net/tramp-compat.el (tramp-compat-line-beginning-position):
17206 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
17208 * files.el (locate-file-completion-table): Make it provide boundary
17209 information, so partial-completion works better.
17211 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
17213 * mail/footnote.el (Footnote-text-under-cursor):
17214 Check footnote-text-marker-alist before using it (bug#4324).
17216 2009-09-04 Glenn Morris <rgm@gnu.org>
17218 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
17219 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
17220 * play/solitaire.el, play/tetris.el:
17221 Remove leading * from defcustom and defface docs.
17223 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
17225 (diary-fancy-overriding-map): New variable.
17226 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
17229 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
17232 2009-09-03 Glenn Morris <rgm@gnu.org>
17234 * arc-mode.el (archive-mode):
17235 * dos-fns.el (set-default-process-coding-system):
17236 * man.el (Man-getpage-in-background):
17237 * menu-bar.el (menu-bar-describe-menu):
17238 * server.el (server-process-filter):
17239 * startup.el (command-line):
17240 * tar-mode.el (tar-header-block-tokenize, tar-extract):
17241 * w32-fns.el (set-default-process-coding-system):
17242 * x-dnd.el (x-dnd-handle-file-name):
17243 * international/mule-cmds.el (mule-menu-keymap)
17244 (set-default-coding-systems, language-info-alist, set-language-info)
17245 (set-language-environment, standard-display-european-internal)
17246 (set-locale-environment):
17247 * international/mule-diag.el (mule-diag):
17248 * mail/emacsbug.el (report-emacs-bug):
17249 * mail/rmail.el (rmail-mode):
17250 * mail/sendmail.el (mail-setup):
17251 Use default-value rather than default-enable-multibyte-characters.
17253 * progmodes/f90.el: Move all safe properties into the defcustoms.
17254 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
17256 * calendar/appt.el (appt-check):
17257 * calendar/diary-lib.el (diary-set-header, diary-live-p)
17258 (diary-check-diary-file, diary-list-entries)
17259 (diary-include-other-diary-files, diary-simple-display)
17260 (diary-fancy-display, diary-print-entries)
17261 (diary-mark-included-diary-files, diary-make-entry):
17262 Don't call substitute-in-file-name on diary-file.
17264 2009-09-03 Eduard Wiebe <usenet@pusto.de>
17265 Stefan Monnier <monnier@iro.umontreal.ca>
17267 * mail/footnote.el (footnote-prefix): Make it a defcustom.
17268 (footnote-mode-map): Move initialization into the declaration.
17269 (footnote-minor-mode-map): Define it rather than changing global-map.
17270 (footnote-mode): Use define-minor-mode.
17272 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
17274 * net/tramp.el (tramp-handle-file-attributes-with-ls)
17275 (tramp-do-file-attributes-with-perl)
17276 (tramp-do-file-attributes-with-stat): Rename from
17277 `tramp-handle-file-attributes-with-*'.
17278 (tramp-handle-file-attributes): Use them.
17279 (tramp-do-directory-files-and-attributes-with-perl)
17280 (tramp-do-directory-files-and-attributes-with-stat): Rename from
17281 `tramp-handle-directory-files-and-attributes-with-*'.
17282 (tramp-handle-directory-files-and-attributes): Use them.
17283 (tramp-method-out-of-band-p): Additional parameter SIZE.
17284 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
17285 (tramp-handle-write-region): Use it.
17286 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
17287 (tramp-handle-vc-registered): Check, whether the first run did
17288 return files to be tested.
17289 (tramp-advice-make-auto-save-file-name): Do not call directly
17290 `tramp-handle-make-auto-save-file-name', because this would bypass
17291 the locking mechanism.
17293 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
17294 (file-remote-p, process-file, start-file-process, set-file-times)
17295 (tramp-compat-file-attributes): Compatibility functions shall not
17296 call directly `tramp-handle-*', because this would bypass the
17298 (tramp-compat-number-sequence): New defun.
17300 2009-09-02 Glenn Morris <rgm@gnu.org>
17302 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
17303 alias for float-time.
17304 (time-to-number-of-days): In Emacs, use float-time.
17305 * net/newst-backend.el (time-add): Suppress warnings from compat
17307 * time.el (emacs-uptime, emacs-init-time):
17308 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
17309 Use float-time rather than time-to-seconds.
17311 * minibuffer.el (completion-initials-expand): Fix typo.
17313 * faces.el (modeline, modeline-inactive, modeline-highlight)
17314 (modeline-buffer-id):
17315 * info.el (info-menu-5): Mark these face aliases as obsolete.
17317 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
17319 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
17321 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
17322 no "--thread" option.
17323 (gdb-stopped): Don't print "Switched to thread" message when it is
17326 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
17328 * minibuffer.el (completion-try-completion)
17329 (completion-all-completions): Remove ill-defined (and
17330 mistakenly installed and luckily never used nor documented)
17331 `completion-styles' property.
17332 (completion-initials-expand, completion-initials-all-completions)
17333 (completion-initials-try-completion): New functions.
17334 (completion-styles-alist): Add doc to each entry.
17335 Add new `initials' entry.
17337 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
17339 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
17340 MI command -var-evaluate-expression.
17341 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
17342 and tweak for case of string child.
17343 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
17345 2009-09-01 Glenn Morris <rgm@gnu.org>
17347 * add-log.el (change-log-date-face, change-log-name-face)
17348 (change-log-email-face, change-log-file-face, change-log-list-face)
17349 (change-log-conditionals-face, change-log-function-face)
17350 (change-log-acknowledgement-face):
17351 * cus-edit.el (custom-invalid-face, custom-rogue-face)
17352 (custom-modified-face, custom-set-face, custom-changed-face)
17353 (custom-saved-face, custom-button-face, custom-button-pressed-face)
17354 (custom-documentation-face, custom-state-face, custom-comment-face)
17355 (custom-comment-tag-face, custom-variable-tag-face)
17356 (custom-variable-button-face, custom-face-tag-face)
17357 (custom-group-tag-face-1, custom-group-tag-face):
17358 * diff-mode.el (diff-header-face, diff-file-header-face)
17359 (diff-index-face, diff-hunk-header-face, diff-removed-face)
17360 (diff-added-face, diff-changed-face, diff-function-face)
17361 (diff-context-face, diff-nonexistent-face):
17362 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
17363 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
17364 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
17365 (Info-title-4-face):
17366 * isearch.el (isearch-lazy-highlight-face):
17367 * log-view.el (log-view-file-face, log-view-message-face):
17368 * paren.el (show-paren-match-face, show-paren-mismatch-face):
17369 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
17370 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
17372 * smerge-mode.el (smerge-mine-face, smerge-other-face)
17373 (smerge-base-face, smerge-markers-face):
17374 * wid-edit.el (widget-documentation-face, widget-button-face)
17375 (widget-field-face, widget-single-line-field-face)
17376 (widget-inactive-face, widget-button-pressed-face):
17377 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
17378 (woman-addition-face):
17379 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
17380 (eshell-ls-executable-face, eshell-ls-readonly-face)
17381 (eshell-ls-unreadable-face, eshell-ls-special-face)
17382 (eshell-ls-missing-face, eshell-ls-archive-face)
17383 (eshell-ls-backup-face, eshell-ls-product-face)
17384 (eshell-ls-clutter-face):
17385 * eshell/em-prompt.el (eshell-prompt-face):
17386 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
17387 * obsolete/old-whitespace.el (whitespace-highlight-face):
17388 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
17389 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
17390 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
17391 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
17392 (antlr-font-lock-literal-face):
17393 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
17394 (ebrowse-root-class-face, ebrowse-file-name-face)
17395 (ebrowse-default-face, ebrowse-member-attribute-face)
17396 (ebrowse-member-class-face, ebrowse-progress-face):
17397 * progmodes/make-mode.el (makefile-space-face):
17398 * progmodes/sh-script.el (sh-heredoc-face):
17399 * textmodes/flyspell.el (flyspell-incorrect-face)
17400 (flyspell-duplicate-face):
17401 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
17402 * textmodes/texinfo.el (texinfo-heading-face):
17403 Mark face aliases with "-face" suffix as obsolete.
17405 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
17408 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
17409 (eudc-bob-sound-menu): Use defvar rather than defconst, since
17410 easy-menu-define wants to modify these.
17412 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
17414 * net/browse-url.el (browse-url-file-url):
17415 * term/internal.el (dos-codepage-setup):
17416 Use default-value rather than default-enable-multibyte-characters.
17418 * progmodes/etags.el (etags-goto-tag-location):
17419 * progmodes/flymake.el (flymake-highlight-line)
17420 (flymake-goto-file-and-line, flymake-goto-line):
17421 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
17422 (gdb-goto-breakpoint):
17423 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
17424 * progmodes/python.el (python-find-function)
17425 (python-pdbtrack-track-stack-file):
17426 * progmodes/verilog-mode.el (verilog-surelint-off):
17427 * term/ns-win.el (ns-open-file-select-line):
17428 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
17429 Use forward-line rather than goto-line.
17431 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
17432 * textmodes/reftex-index.el (reftex-display-index):
17433 * textmodes/reftex-ref.el (reftex-offer-label-menu):
17434 * textmodes/reftex-toc.el (reftex-toc):
17435 Remove unnecessary bindings of default-major-mode (all are followed by
17436 major-mode check and possible mode switch).
17438 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
17440 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
17441 Handle watchpoints (bug#4282).
17442 (def-gdb-thread-buffer-command): Enable thread to be selected by
17443 clicking without selecting threads buffer first.
17444 (gdb-current-context-command): Use selected frame so that "up",
17445 "down" etc work in the GUD buffer.
17446 (gdb-update): Find selected frame before rendering stack buffer.
17447 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
17449 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
17451 * progmodes/sym-comp.el (displayed-completions): Remove.
17452 (symbol-complete): Use minibuffer-complete.
17454 2009-08-31 Glenn Morris <rgm@gnu.org>
17456 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
17458 * apropos.el (apropos-symbols-internal):
17459 Handle (obsolete) face aliases.
17461 * faces.el (describe-face): Adjust the output format to be more like
17462 describe-variable, and to mention (obsolete) face aliases.
17463 Adjust the whitespace so that help-setup-xref works.
17465 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
17466 * calendar/diary-lib.el (diary-button-face):
17467 Mark these face aliases as obsolete.
17469 * calendar/calendar.el (calendar-today): Doc fix.
17471 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
17473 * progmodes/gdb-mi.el (gdb-control-all-threads)
17474 (gdb-control-current-thread): Force tool bar update.
17475 (gdb-non-stop-handler): New function.
17476 (gdb-init-1): Use it to test if non-stop mode is supported.
17477 Remove unused gdbmi buffer type.
17479 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
17481 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
17482 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
17484 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
17486 * comint.el (comint-exec-1): Check command is non-null first.
17487 Part of gdb-mi.el change (2009-08-28).
17489 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17491 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
17493 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
17495 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
17496 instead of `dolist' to avoid a recursive require when bootstrapping.
17498 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17500 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
17502 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
17504 * net/imap.el (imap-send-command): Simplify.
17505 (imap-wait-for-tag): point-max -> buffer-size.
17507 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
17509 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
17510 with constant argument.
17512 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
17514 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
17516 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
17517 Change default, since most of our files don't have a history.
17518 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
17521 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17524 * calc/calc.el: Improve commenting convention.
17525 (calc-digit-map, toplevel): Simplify.
17527 * comint.el (comint-insert-input): Be careful to only set point if we
17528 don't delegate to some other command.
17530 * proced.el (proced-signal-list): Make it an alist.
17531 (proced-grammar-alist): Capitalize names.
17532 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
17533 Disable undo manually and make it read-only.
17534 Use completion-annotate-function.
17536 * minibuffer.el (minibuffer-message): If the current buffer is not
17537 a minibuffer, insert the message in the echo area rather than at the
17539 (completion-annotate-function): New variable.
17540 (minibuffer-completion-help): Use it.
17541 (completion--embedded-envvar-table): Environment vars are
17542 always case-sensitive.
17544 2009-08-30 Glenn Morris <rgm@gnu.org>
17546 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
17547 from fortran-current-defun.
17548 (fortran-beginning-of-subprogram): Be more precise about finding the
17549 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
17550 (fortran-end-of-subprogram): Simplify.
17551 (fortran-current-defun): Use fortran-start-prog-re.
17553 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
17555 * subr.el (do-after-load-evaluation): Simplify.
17557 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
17559 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
17561 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
17562 (vc-rcs-print-log): Use it.
17564 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
17566 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
17568 * paths.el (abbrev-file-name): Move to abbrev.el.
17569 * abbrev.el (abbrev-file-name): Move from paths.el.
17570 Obey user-emacs-directory.
17571 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
17572 user-emacs-directory.
17573 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
17574 abbrev-file-name and calc-settings-file any more.
17575 * startup.el (command-line): Recompute abbrev-file-name and
17576 abbreviated-home-dir.
17577 (normal-no-mouse-startup-screen): Improve the generic code and get rid
17578 of the special code for when C-h bindings haven't been changed.
17579 (display-startup-echo-area-message): Use with-current-buffer.
17580 (command-line-1): Use a list of strings, rather than a list of lists
17581 of strings for longopts.
17583 * files.el (get-free-disk-space): Use / for default-directory.
17585 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
17586 Use with-current-buffer.
17588 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
17589 Recognize immutable variables like most-positive-fixnum.
17590 (byte-compile-setq-default): Check and warn if trying to assign
17591 to an immutable variable, or a non-variable.
17593 * progmodes/cc-vars.el (c-comment-continuation-stars):
17594 * progmodes/cc-engine.el (c-looking-at-bos):
17595 * progmodes/cc-cmds.el (c-toggle-auto-state)
17596 (c-forward-into-nomenclature, c-backward-into-nomenclature)
17597 (c-comment-line-break-function): Add version of obsolescence.
17599 2009-08-28 Juri Linkov <juri@jurta.org>
17601 * files.el (magic-fallback-mode-alist): Add ZIP magic number
17602 associated with `archive-mode'.
17604 * image.el (image-type-header-regexps): Use only JPEG magic number
17605 to determine JPEG images, and don't use `image-jpeg-p' because
17606 Emacs can display non-JFIF non-Exif JPEG images.
17608 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
17610 * arc-mode.el (archive-mode):
17611 * emacs-lisp/re-builder.el (re-builder-unload-function):
17612 Protect against the default value of `major-mode' being nil.
17614 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
17616 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
17617 Fix typos in docstrings.
17619 * progmodes/js.el (js--macro-decl-re): Doc fix.
17620 (js--plain-method-re, js--split-name): Refloc docstring.
17621 (js--class-styles, js--make-merged-item, js--splice-into-items):
17622 Fix typos in docstrings; reflow docstrings.
17623 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
17624 (js--variable-decl-matcher, js--inside-pitem-p)
17625 (js--parse-state-at-point, js--get-all-known-symbols)
17626 (js--symbol-history, js-find-symbol, js--js-references)
17627 (js--moz-interactor, js--js-encode-value, js--read-tab):
17628 Fix typos in docstrings.
17630 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17632 * textmodes/reftex.el (reftex-get-file-buffer-force):
17633 * progmodes/verilog-mode.el (verilog-batch-execute-func):
17634 * emulation/viper.el (viper-go-away, viper-set-hooks):
17635 * emacs-lisp/re-builder.el (re-builder-unload-function):
17636 * emacs-lisp/bytecomp.el (byte-compile-file):
17637 * ses.el (ses-unload-function):
17638 * hexl.el (hexl-find-file):
17639 * files.el (normal-mode):
17640 * ehelp.el (with-electric-help):
17641 * autoinsert.el (auto-insert-alist):
17642 * arc-mode.el (archive-mode):
17643 Use (default-value 'major-mode) instead of default-major-mode.
17645 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
17646 * international/mule.el (load-with-code-conversion):
17647 * emacs-lisp/debug.el (debug):
17648 * ediff-vers.el (ediff-rcs-get-output-buffer):
17649 * dired.el (dired-internal-noselect): Don't let-bind
17650 default-major-mode around code that doesn't use it.
17651 E.g. buffer creation via get-buffer-create doesn't use it.
17653 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
17655 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
17656 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
17657 when writing the temp file. Otherwise, epa-file gets confused.
17658 (tramp-register-file-name-handlers): Make it a defun. Move also
17659 `epa-file-handler' to the front of `file-name-handler-alist'.
17661 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17663 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
17664 start right after a ^M.
17665 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
17666 (tramp-completion-file-name-regexp-separate)
17667 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
17668 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
17669 Don't modify last-coding-system-used by accident.
17670 (tramp-completion-file-name-handler): Apply the checks here,
17671 instead during registration.
17672 (tramp-register-file-name-handlers): Rename from
17673 `tramp-register-file-name-handler'. Register both
17674 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
17675 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
17677 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
17679 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
17680 Remove variable ...
17681 (gdb-init-1, gdb-display-separate-io-buffer)
17682 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
17684 (gdb-inferior-io-mode): Use make-comint-in-buffer.
17685 (gdb-inferior-filter): Use comint-output-filter to stop
17686 echoing and remove ^M characters.
17688 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17690 * emulation/viper-init.el (viper-restore-cursor-type):
17691 * emulation/cua-base.el (cua--update-indications):
17692 Replace default-cursor-type with (default-value 'cursor-type).
17694 * mail/sendmail.el (mail-recover-1):
17695 * international/mule-diag.el (describe-current-coding-system-briefly)
17696 (describe-current-coding-system):
17697 * international/mule-cmds.el (select-safe-coding-system)
17698 (select-message-coding-system)
17699 (set-language-environment-coding-systems, set-locale-environment):
17700 * hexl.el (hexl-insert-multibyte-char):
17701 * dos-w32.el (find-buffer-file-type-coding-system):
17702 * simple.el (what-cursor-position):
17703 Replace uses of default-buffer-file-coding-system
17704 with (default-value 'buffer-file-coding-system).
17706 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
17707 Replace uses of default-cursor-in-non-selected-windows
17708 with (default-value 'cursor-in-non-selected-windows).
17709 Use with-current-buffer.
17711 * mail/feedmail.el: Use CL macros.
17712 (feedmail-run-the-queue, feedmail-send-it-immediately):
17713 * dos-w32.el (find-buffer-file-type): Replace uses of
17714 default-buffer-file-type with (default-value 'buffer-file-type).
17716 2009-08-28 Glenn Morris <rgm@gnu.org>
17718 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
17719 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
17720 Use default-value of major-mode rather than default-major-mode.
17722 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
17724 * Makefile.in (update-elcfiles): Report left over elc files.
17726 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
17727 expand-file-name and with-current-buffer.
17728 (mail-get-names, mail-directory): Use with-current-buffer.
17730 * vc.el (vc-read-revision): New function.
17731 (vc-version-diff, vc-merge): Use it.
17733 2009-08-27 Sam Steingold <sds@gnu.org>
17735 * simple.el (kill-do-not-save-duplicates): New user option.
17736 (kill-new): When it is non-nil, and the new string is the same as
17737 the latest kill, set replace to t to avoid duplicates in kill-ring.
17739 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
17741 * net/tramp.el (tramp-handle-process-file): Do not flush all
17742 caches when `process-file-side-effects' is set.
17743 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
17744 instead of `tramp-find-file-exists-command'.
17745 Unset `process-file-side-effects'.
17747 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
17749 * net/tramp.el (tramp-methods): New method "rsyncc".
17750 (top): Add completion function for "rsyncc".
17751 (tramp-message-show-message): New defvar.
17752 (tramp-message, tramp-error): Use it.
17753 (tramp-do-copy-or-rename-file-directly): Extend check for direct
17755 (tramp-do-copy-or-rename-file-out-of-band): Handle new
17756 `tramp-methods' entry `copy-env' of "rsyncc".
17757 (tramp-vc-registered-read-file-names): New defconst.
17758 (tramp-vc-registered-file-names): New defvar.
17759 (tramp-handle-vc-registered): Implement optimization strategy.
17760 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
17761 (tramp-vc-file-name-handler): New defun.
17762 (tramp-get-ls-command, tramp-get-test-command)
17763 (tramp-get-file-exists-command, tramp-get-remote-ln)
17764 (tramp-get-remote-perl, tramp-get-remote-stat)
17765 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
17767 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
17768 (tramp-cache-inhibit-cache): Extend doc string. It allows also
17770 (tramp-get-file-property): Check for timestamps in
17771 `tramp-cache-inhibit-cache'.
17772 (tramp-set-file-property): Write timestamp.
17774 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
17776 * language/japan-util.el (japanese-symbol-table): Add entries for
17779 * international/characters.el: Add category `j' to cp932-2-byte.
17781 2009-08-27 Kenichi Handa <handa@m17n.org>
17783 * international/fontset.el (build-default-fontset-data): New macro.
17784 (setup-default-fontset): Use build-default-fontset-data for CJK,
17785 tibetan, ethiopic, and ipa.
17787 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
17789 * cus-start.el (default-major-mode): Customize `major-mode' instead.
17790 (enable-multibyte-characters): Not customizable any more.
17792 * subr.el (default-mode-line-format, default-header-line-format)
17793 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
17794 (default-direction-reversed, default-truncate-lines)
17795 (default-left-margin, default-tab-width, default-case-fold-search)
17796 (default-left-margin-width, default-right-margin-width)
17797 (default-left-fringe-width, default-right-fringe-width)
17798 (default-fringes-outside-margins, default-scroll-bar-width)
17799 (default-vertical-scroll-bar, default-indicate-empty-lines)
17800 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
17801 (default-fringe-cursor-alist, default-scroll-up-aggressively)
17802 (default-scroll-down-aggressively, default-fill-column)
17803 (default-cursor-type, default-buffer-file-type)
17804 (default-cursor-in-non-selected-windows)
17805 (default-buffer-file-coding-system, default-major-mode)
17806 (default-enable-multibyte-characters): Mark as obsolete.
17808 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
17810 * vc-dir.el (vc-dir-update): Remove debug helper.
17812 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
17814 2009-08-26 Sam Steingold <sds@gnu.org>
17816 * simple.el (save-interprogram-paste-before-kill): New user option.
17817 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
17818 save the interprogram-paste into kill-ring before overriding it
17819 with the Emacs kill.
17821 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
17823 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
17824 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
17825 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
17826 and move to vc-rcs.el.
17827 (vc-default-next-revision): Rename to vc-rcs-next-revision and
17829 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
17830 (vc-rcs-update-changelog): Remove.
17831 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
17832 and move to vc-rcs.el.
17834 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
17835 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
17837 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
17838 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
17839 vc.el, renamed to be RCS specific.
17841 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
17843 (vc-cvs-update-changelog): Move here from vc.el.
17845 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
17848 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
17850 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
17852 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
17854 * vc-git.el (vc-git-register): Use "git add" for directories.
17855 (vc-git-stash, vc-git-stash-show): New functions.
17856 (vc-git-extra-menu-map): Bind them.
17858 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
17859 directory correctly in case the item is a directory itself.
17861 * vc.el: Document the desired behavior for reverted files in the
17863 (vc-default-prettify-state-info): Remove function, unused.
17865 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
17867 2009-08-26 Glenn Morris <rgm@gnu.org>
17869 * bindings.el (standard-mode-line-format): Reposition dashes in
17870 which-func entry. (Bug#4217)
17872 * files.el (enable-local-variables, enable-local-eval)
17873 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
17875 (auto-mode-alist, ignored-local-variables)
17876 (save-some-buffers-action-alist): Move risky declarations to the
17878 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
17879 (font-lock-defaults, format-alist, imenu--index-alist)
17880 (imenu-generic-expression, input-method-alist, minor-mode-alist)
17881 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
17882 (mode-line-modified, mode-line-mule-info, mode-line-position)
17883 (mode-line-process, mode-line-remote, outline-level)
17884 (parse-time-rules, rmail-output-file-alist)
17885 (special-display-buffer-names, vc-mode):
17886 Move risky declarations to the relevant files.
17887 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
17888 (mode-line-modified, mode-line-process, mode-line-position)
17889 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
17890 * font-core.el (font-lock-defaults):
17891 * format.el (format-alist):
17892 * vc-hooks.el (vc-mode):
17893 * window.el (special-display-buffer-names):
17894 * international/mule-cmds.el (input-method-alist):
17895 Define riskiness here (dumped file) rather than in files.el.
17896 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
17897 * imenu.el (imenu-generic-expression, imenu--index-alist):
17898 * outline.el (outline-level):
17899 * time.el (display-time-string):
17900 * calendar/parse-time.el (parse-time-rules):
17901 * mail/rmailout.el (rmail-output-file-alist):
17902 Autoload riskiness here, rather than placing in files.el.
17904 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
17906 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
17908 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
17910 * simple.el (process-file-side-effects): New defvar.
17912 * dired-aux.el (dired-show-file-type):
17913 * vc.el (vc-diff-internal):
17914 * vc-arch.el (vc-arch-diff):
17915 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
17916 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
17917 * vc-git.el (vc-git-registered, vc-git-working-revision)
17918 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
17919 (vc-git--empty-db-p):
17920 * vc-hooks.el (vc-user-login-name):
17921 * vc-svn.el (vc-svn-registered, vc-svn-state)
17922 (vc-svn-dir-extra-headers, vc-svn-find-revision):
17923 * progmodes/grep.el (grep-probe): Let-bind
17924 `process-file-side-effects' with nil.
17926 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
17928 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
17929 daemon. Replace ping by checking for running service for bluez
17930 and zeroconf. (Bug#4239)
17932 2009-08-25 Kevin Ryde <user42@zip.com.au>
17934 * net/dig.el (dig): Add autoload cookie.
17936 2009-08-25 Glenn Morris <rgm@gnu.org>
17938 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
17939 load-history for absolute file-names.
17940 (byte-compile-file-form-require): Warn about use of the cl package.
17942 * format.el (format-alist): Doc fix.
17944 * play/bubbles.el (top-level): Don't require cl at run-time.
17946 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
17949 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
17951 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
17953 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
17955 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
17957 * calc/calc-alg.el (math-trig-rewrite)
17958 (math-hyperbolic-trig-rewrite): New functions.
17959 (calc-simplify): Simplify trig functions when asked.
17961 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
17963 * diff-mode.el (diff-find-source-location): Avoid goto-line.
17965 2009-08-24 Kenichi Handa <handa@m17n.org>
17967 * language/ind-util.el (mapthread): Delete it.
17968 (combinatorial): New function.
17969 (indian--puthash-cv): Use combinatorial instead of mapthread.
17971 2009-08-22 Kevin Ryde <user42@zip.com.au>
17973 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
17974 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
17975 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
17976 Clarify docstring that the value is strings not symbols.
17977 (checkdoc-list-of-strings-p): New function.
17979 2009-08-22 Glenn Morris <rgm@gnu.org>
17981 * files.el (auto-mode-alist):
17982 * hippie-exp.el (he-concat-directory-file-name):
17983 * lpr.el (lpr-windows-system, printer-name):
17984 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
17985 * ps-print.el (ps-windows-system):
17986 * startup.el (command-line):
17987 * emulation/viper-ex.el (viper-glob-function):
17988 * international/mule-cmds.el (set-language-environment-coding-systems):
17989 * net/ange-ftp.el (ange-ftp-write-region):
17990 * obsolete/fast-lock.el (fast-lock-cache-name):
17991 Remove code for defunct system-types emx, macos, mswindows, next-mach,
17992 unisoft-unix, vax-vms, win32, w32.
17994 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
17995 given name if the pattern is not more specific.
17997 * calendar/lunar.el (lunar-phase-names): New option.
17998 (lunar-phase): Doc fix.
17999 (lunar-cycles-per-year): New constant.
18000 (lunar-index): New function.
18001 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
18002 (lunar-phase-name): Use lunar-phase-names.
18003 (calendar-lunar-phases): Use format.
18004 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
18006 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
18007 Copy imenu-example--name-and-position function here for own use.
18008 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
18010 * bs.el (bs--redisplay):
18011 * cus-edit.el (custom-redraw):
18012 * ibuffer.el (ibuffer-bury-buffer):
18013 * server.el (server-goto-line-column):
18014 * startup.el (command-line-1):
18015 * strokes.el (strokes-xpm-for-stroke):
18016 * term.el (term-display-buffer-line):
18017 * view.el (View-goto-line):
18018 * calc/calc.el (calc-do, calc-trail-buffer):
18019 * play/gamegrid.el (gamegrid-add-score-insecure):
18020 * progmodes/ada-mode.el (ada-compile-goto-error):
18021 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
18022 (ebrowse-select-1st-to-9nth):
18023 * progmodes/cperl-mode.el (cperl-time-fontification):
18024 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
18025 * progmodes/gud.el (gud-display-line):
18026 (idlwave-shell-display-line):
18027 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
18028 * progmodes/make-mode.el (makefile-browser-toggle):
18029 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
18030 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
18031 * textmodes/picture.el (picture-draw-rectangle):
18032 * textmodes/reftex-index.el (reftex-index-goto-letter):
18033 (reftex-select-jump-to-previous):
18034 * textmodes/reftex-sel.el (reftex-find-start-point)
18035 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
18036 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
18037 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
18038 * textmodes/tex-mode.el (tex-compilation-parse-errors):
18039 * textmodes/two-column.el (2C-associated-buffer):
18040 Use forward-line rather than goto-line.
18042 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
18045 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
18046 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
18047 (quick-check-list-to-regexp): Declare.
18049 * progmodes/make-mode.el (makefile-browser-insert-selection):
18050 Use goto-char rather than goto-line.
18052 * progmodes/prolog.el (compilation-error-regexp-alist)
18053 (compilation-forget-errors): Declare.
18055 2009-08-22 Juri Linkov <juri@jurta.org>
18057 * progmodes/grep.el (lgrep, rgrep): At the beginning
18058 set `dir' to `default-directory' unless `dir' is a non-nil
18059 readable directory. (Bug#4052)
18060 (lgrep, rgrep): Change a weird way to report an error
18061 from using `read-string' to using `error'.
18062 Instead of using interactive arguments in the function body,
18063 add new argument `confirm'.
18065 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
18067 * textmodes/remember.el (remember-buffer):
18068 * progmodes/cperl-mode.el (cperl-vc-header-alist):
18069 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
18070 (icalendar-extract-ical-from-buffer):
18071 * net/newst-treeview.el (newsticker-groups-filename):
18072 * net/newst-backend.el (newsticker-cache-filename):
18073 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
18074 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
18075 (speedbar-add-ignored-path-regexp, speedbar-line-path)
18076 (speedbar-buffers-line-path, speedbar-path-line)
18077 (speedbar-buffers-line-path):
18078 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
18080 * epa.el (epa-display-verify-result):
18081 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
18083 2009-08-21 Glenn Morris <rgm@gnu.org>
18085 * progmodes/js.el (inferior-moz-process): Fix declaration.
18087 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
18089 * obsolete/rnewspost.el (news-mail-reply):
18090 Use goto-char rather than goto-line.
18092 * term/ns-win.el (ns-open-file-select-line):
18093 Use line-beginning-position rather than goto-line.
18095 * apropos.el (apropos-command):
18096 * ehelp.el (electric-helpify):
18097 * printing.el (pr-show-setup):
18098 * strokes.el (strokes-help):
18099 * tutorial.el (tutorial--describe-nonstandard-key)
18100 (tutorial--detailed-help):
18101 * woman.el (woman-mini-help, woman-display-extended-fonts):
18102 * calc/calc-help.el (calc-describe-key):
18103 * emulation/edt.el (edt-electric-helpify):
18104 * international/mule-diag.el (mule-diag):
18105 * play/yow.el (apropos-zippy):
18106 * progmodes/python.el (python-describe-symbol):
18107 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
18108 * textmodes/table.el (*table--cell-describe-mode)
18109 (*table--cell-describe-bindings):
18110 Use help-print-return-message rather than the now obsolete alias.
18112 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
18113 (calendar-cursor-to-visible-date):
18114 * play/5x5.el (5x5-position-cursor):
18115 * play/decipher.el (decipher):
18116 * play/gomoku.el (gomoku-goto-xy):
18117 * play/landmark.el (lm-goto-xy):
18118 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
18119 (mpuz-paint-digit):
18120 Use forward-line, not goto-line.
18122 * mail/rmail.el (rmail-obsolete): Delete custom group.
18123 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
18124 (rmail-remote-password, rmail-remote-password-required):
18125 Remove unneeded :set-after and :set properties.
18127 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
18129 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
18131 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
18133 * loadup.el: Remove leftover macos code.
18135 * vc-git.el (vc-git-annotate-command): Run asynchronously.
18136 Explicitly pass the date format to git blame so that user local
18137 so that the output format can be parsed.
18139 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
18141 * net/dbus.el (top): Don't check for (getenv
18142 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
18144 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
18146 * log-edit.el (log-edit-strip-single-file-name): New var.
18147 (log-edit-insert-changelog): Use it. Bug#3571
18149 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18151 * subr.el (read-passwd): Use read-key so keypad keys work as well.
18154 * help.el (help-print-return-message): Rename from
18155 print-help-return-message.
18157 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
18158 cvs-mode-map parent hack.
18159 (log-view-mode): Derive from special-mode.
18161 * linum.el (linum-mode): window-size-change-functions is redundant.
18162 Adapt to new window-configuration-change-hook behavior.
18163 (linum-after-size, linum-after-config): Remove.
18165 * imenu.el (imenu-example--name-and-position)
18166 (imenu-example--lisp-extract-index-name)
18167 (imenu-example--create-lisp-index, imenu-example--create-c-index):
18170 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
18171 (inferior-prolog-mode): Use it.
18172 (inferior-prolog-load-file): Reset list of errors.
18174 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
18176 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
18178 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
18180 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
18182 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
18183 is running already.
18185 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18187 * subr.el (listify-key-sequence-1): Use normal syntax since those
18188 integers are nowadays always represented by the same (positive) number
18190 (read-key-empty-map): New const.
18191 (read-key-delay): New var.
18192 (read-key): New function.
18193 (force-mode-line-update): Use with-current-buffer.
18194 (locate-user-emacs-file): Don't forget to abbreviate the file name.
18195 (start-process-shell-command, start-file-process-shell-command):
18196 Discourage the use of command-args.
18198 2009-08-19 Glenn Morris <rgm@gnu.org>
18200 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
18202 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18204 * simple.el (choose-completion-string): Don't rely on
18205 minibuffer-completing-file-name and ad-hoc checks to decide whether
18206 to continue completion or not.
18208 * minibuffer.el (minibuffer-hide-completions): New function.
18209 (completion--do-completion): Use it.
18210 (completions-annotations): New face.
18211 (completion--insert-strings): Use it.
18212 (completion-pcm--delim-wild-regex): Add docstring.
18213 (completion-pcm--string->pattern): Add support for 0-width delimiters
18214 in completion-pcm--delim-wild-regex.
18216 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
18218 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
18219 Remove unused var `buffer-modified-p'.
18221 * minibuffer.el (completion--do-completion): Move point for the #b001
18222 case as well (bug#4176).
18223 (minibuffer-complete, minibuffer-complete-word): Don't move point.
18225 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
18227 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
18228 and :session buses.
18230 2009-08-18 Kenichi Handa <handa@m17n.org>
18232 * international/ucs-normalize.el (ucs-normalize-version):
18234 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
18235 (utf-8-hfs): Make it perform normalization on encoding too.
18237 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
18238 (sentence-end-without-space): Delete duplicated chars.
18239 (sentence-end-base): Likewise.
18241 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
18242 (html-mode): Delete duplicated chars from sentence-end-base.
18244 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
18245 (texinfo-mode): Delete duplicated chars from sentence-end-base.
18247 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
18249 * files.el (hack-one-local-variable): If the mode function is for
18250 a minor mode, pass it an argument (Bug#4148).
18252 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
18254 * net/tramp.el (tramp-register-completion-file-name-handler):
18255 Check also for (member 'partial-completion completion-styles).
18257 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
18259 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
18262 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
18264 * progmodes/cperl-mode.el: Merge upstream 6.2.
18265 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
18266 (cperl-forward-re): Check cperl-brace-recursing.
18267 (cperl-highlight-charclass): New function.
18268 (cperl-find-pods-heres): Use it.
18269 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
18270 (cperl-beautify-regexp-piece): Fix column calculation.
18271 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
18272 (cperl-beautify-level): Don't process entire regexp.
18273 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
18275 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
18276 (cperl-init-faces): Build a list in the normal way.
18278 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
18280 * calendar/parse-time.el (parse-time-string-chars): Save match
18283 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
18285 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
18286 (sql-product): Use it.
18287 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
18288 (sql-set-product): Add completion.
18289 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
18290 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
18291 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
18292 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
18293 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
18294 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
18295 (sql-highlight-db2-keywords): Remove.
18296 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
18297 (sql-highlight-product): Use derived-mode-p.
18298 (sql-set-sqli-buffer): Use with-current-buffer.
18299 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
18302 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
18304 * term.el: Fix commenting convention, turn comments into docstrings.
18306 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
18308 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
18310 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
18312 * calendar/parse-time.el (parse-time-string-chars): Compute using
18313 character classes, to handle non-ascii characters (Bug#3190).
18315 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
18317 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
18318 another heredoc if the user adds another < (Bug#3226).
18320 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
18321 Don't initialize based on window-system (Bug#4124).
18323 * facemenu.el (facemenu-read-color): Use a completion function
18324 that accepts any defined color, such as RGB triplets (Bug#3677).
18326 * files.el (get-free-disk-space): Change fallback default
18327 directory to /. Expand DIR argument before switching to fallback.
18328 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
18330 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
18332 * files.el (load-library): Doc fix.
18334 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
18336 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
18337 (viper-if-string): Redefine C-s in the minibuffer to insert the last
18338 incremental search string.
18340 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
18343 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
18344 (ediff-merge-region-is-non-clash)
18345 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
18346 Also check if the job is really a merge job.
18348 * ediff.el (ediff-current-file): New function.
18350 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
18352 * progmodes/js.el: Edit docstrings throughout to follow Emacs
18354 (js-insert-and-indent): Delete function.
18355 (js-mode-map): Don't bind keys to js-insert-and-indent.
18356 (js-beginning-of-defun): Rename from js--beginning-of-defun.
18357 (js-end-of-defun): Rename from js--end-of-defun.
18358 (js-auto-indent-flag): Delete variable.
18360 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
18362 * progmodes/js.el: Remove proclaim statement.
18363 Defvar which-func-imenu-joiner-function to silence compiler.
18365 * files.el (auto-mode-alist): Use js-mode for .js files.
18367 * progmodes/js2-mode.el: Remove file.
18369 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
18371 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
18373 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
18375 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
18376 Karl Landstrom <karl.landstrom@brgeight.se>
18378 * progmodes/js.el: New file.
18380 2009-08-14 Mark A. Hershberger <mah@everybody.org>
18382 * timezone.el (timezone-parse-date): Add ability to understand ISO
18383 basic format (minimal separators) dates in addition to the
18384 already-supported extended format dates.
18386 2009-08-14 Eli Zaretskii <eliz@gnu.org>
18388 * international/ucs-normalize.el: Add a `coding' file variable.
18390 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
18392 2009-08-14 Sam Steingold <sds@gnu.org>
18394 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
18396 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
18398 * faces.el (help-argument-name): Define it here instead of
18399 help-fns.el, because in daemon mode help-fns.el may be loaded when
18400 faces are still uninitialized (Bug#1078).
18402 * help-fns.el (help-argument-name): Move defface to faces.el.
18404 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
18406 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
18407 create buffer with a pty but no process so that GDB can make the
18408 inferior the controlling process.
18410 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
18412 * international/ucs-normalize.el: New file.
18414 2009-08-13 Richard Stallman <rms@gnu.org>
18416 * mail/rmail.el (rmail-get-attr-names):
18417 Accept an attribute header that is too short.
18419 * mail/rmail.el (rmail-forget-messages):
18420 Ignore nil elt in rmail-message-vector. Use dotimes.
18422 * progmodes/compile.el (compilation-goto-locus):
18423 Use next-error-move-function.
18425 * simple.el (next-error-move-function): New variable.
18427 2009-08-12 Juri Linkov <juri@jurta.org>
18429 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
18430 always non-nil. (Bug#4052)
18432 * replace.el (read-regexp): Return empty string when
18433 `default-value' is nil.
18434 (keep-lines-read-args): Don't use empty string as the
18435 default value for `read-regexp'. (Bug#2495)
18437 2009-08-12 Juri Linkov <juri@jurta.org>
18439 * international/mule-cmds.el (ucs-insert): Change arguments
18440 from `arg' to `character', `count', `inherit' to be the same
18441 as in `insert-char'. Doc fix. (Bug#4039)
18443 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
18445 2009-08-12 Juri Linkov <juri@jurta.org>
18447 * files-x.el: New file.
18449 * files.el: Move code that deals with adding/deleting
18450 file/directory-local variables to files-x.el.
18452 * Makefile.in (ELCFILES): Add files-x.elc.
18454 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
18456 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
18457 to use `goto-line'.
18458 (gdb-place-breakpoints, gdb-get-location): Rewritten without
18460 (gdb-invalidate-disassembly): Do not refresh upon receiving
18461 'update signal. Instead, update all disassembly buffers only after
18463 (gdb): Send -target-detach when buffer is killed (Bug#3794).
18464 (gdb-starting): Move -data-list-register-names...
18465 (gdb-stopped): ...here so it's sent when first thread stops.
18466 (gdb-registers-handler-custom): Do nothing if register names are
18469 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
18470 from `gdb-mi.el' to avoid extra tangling.
18472 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
18473 change which breaks `gud-def' definitions used in `gdb'.
18474 (gdb-update-gud-running): No extra fuss for updating frame number.
18476 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
18478 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
18479 (describe-language-environment-map, setup-language-environment-map)
18480 (set-coding-system-map): Move initialization into declaration.
18481 (set-language-info-alist): Last arg to define-key-after can be skipped.
18483 * international/quail.el (quail-completion-1): Simplify.
18484 (quail-define-rules): Use slightly more compact code.
18485 (quail-insert-decode-map): Propertize keys, compact columns.
18487 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18490 2009-08-10 Miles Bader <miles@gnu.org>
18492 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
18493 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
18494 (js2-instance-member, js2-private-member, js2-private-function-call)
18495 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
18496 (js2-magic-paren, js2-external-variable):
18497 Remove "-face" suffix from face names.
18498 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
18499 (js2-highlight-undeclared-vars, js2-peek-token)
18500 (js2-parse-function-params, js2-mode-show-errors)
18501 (js2-mode-show-warnings, js2-make-magic-delimiter)
18502 (js2-mode-highlight-magic-parens): Update to use new face names.
18504 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
18506 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
18507 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
18509 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
18511 * subr.el: Provide hashtable-print-readable.
18513 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
18514 hs-c-like-adjust-block-beginning.
18515 (hs-hide-block-at-point): Stop hiding at the beginning of
18516 hs-block-end-regexp (Bug#700).
18518 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
18520 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
18522 (gdb-registers-handler-custom): Do not fail when register names
18525 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
18527 * progmodes/gdb-mi.el (gdb-control-all-threads)
18528 (gdb-control-current-thread): Interactive setters for
18529 `gdb-gud-control-all-threads' to use in menu.
18530 (gdb-show-run-p): Show «Go» when process is not active.
18531 (gud-tool-bar-map): Add non-stop/A,T indicator.
18532 Uses gud/thread.xpm and gud/all.xpm.
18534 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
18536 * net/net-utils.el (net-utils-font-lock-keywords): New var.
18537 (nslookup-font-lock-keywords): Make it a variable.
18538 (net-utils-mode): New mode for viewing diagnostic network output.
18539 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
18540 (net-utils-run-simple): New function.
18541 (ifconfig, iwconfig, netstat, arp, route): Use it.
18543 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
18545 * progmodes/gdb-mi.el (gdb-read-memory-custom)
18546 (gdb-memory-set-address, def-gdb-set-positive-number)
18547 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
18548 after changing settings.
18549 (gdb-invalidate-disassembly): Update when first shown.
18550 (gdb-edit-locals-value): Fixed.
18551 (gdb-registers-handler-custom): Print registers in right order and
18552 allow changing register values (only for current thread yet).
18553 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
18554 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
18555 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
18556 (gdb-locals-handler-custom, gdb-registers-handler-custom):
18557 Thread info in mode name.
18558 (gdb-registers-mode-map): TAB to switch to locals.
18560 2009-08-08 Eli Zaretskii <eliz@gnu.org>
18562 * mail/rmail.el (rmail-add-mbox-headers)
18563 (rmail-set-message-counters-counter): Search for
18564 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
18566 2009-08-08 Glenn Morris <rgm@gnu.org>
18568 * Makefile.in (ELCFILES): Update.
18570 2009-08-07 Eli Zaretskii <eliz@gnu.org>
18572 * mail/sendmail.el (mail-yank-original):
18573 Set buffer-file-coding-system from the one used by the message whose
18576 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
18577 to "windows" when "pgnuplot" is used.
18578 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
18579 Don't call accept-process-output if "pgnuplot" is used.
18580 (calc-graph-init): Don't send -display and -geometry to
18581 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
18582 running "pgnuplot -V" with shell-command-to-string.
18584 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
18587 2009-08-07 Eli Zaretskii <eliz@gnu.org>
18589 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
18592 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
18594 * vc-dispatcher.el (vc-resynch-window): Update comment.
18596 * term.el (term-handle-ansi-escape): Add comments with the
18597 terminfo capabilities implemented.
18599 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
18601 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
18602 (gdb-var-create-handler): Rewritten using JSON parser.
18603 (gdb-propertize-header): Move earlier.
18604 (gdb-set-header): Remove to avoid duplication.
18605 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
18606 Refresh disassembly buffers only after threads list have been
18608 (gdb-threads-header, gdb-registers-header): Per-buffer header line
18611 2009-08-04 Juri Linkov <juri@jurta.org>
18613 * files.el: Commands to add/delete file/directory-local variables.
18614 (read-file-local-variable, read-file-local-variable-value)
18615 (read-file-local-variable-mode, modify-file-local-variable)
18616 (modify-file-local-variable-prop-line)
18617 (modify-dir-local-variable): New functions.
18618 (add-file-local-variable, delete-file-local-variable)
18619 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
18620 (add-dir-local-variable, delete-dir-local-variable)
18621 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
18622 (copy-dir-locals-to-file-locals-prop-line): New commands.
18624 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
18626 * abbrev.el (insert-abbrev-table-description): Prettify output.
18627 Suggested by Karl Chen.
18629 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
18631 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
18632 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
18633 (gdb-overlay-arrow-position, gdb-thread-position)
18634 (gdb-disassembly-position): Declare variables.
18635 (gdb-wait-for-pending): Function now.
18636 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
18637 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
18638 compilation goes smoothly.
18639 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
18640 (gdb-non-stop-setting): New customization setting which replaces
18641 `gdb-non-stop' so changing it doesn't break active GDB session.
18642 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
18643 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
18644 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
18645 (gdb-show-threads-by-default): New customization options.
18646 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
18648 (gdb-get-buffer-create): Send buffers update signal when they are
18650 (gdb-invalidate-locals, gdb-invalidate-registers)
18651 (gdb-invalidate-breakpoints)
18652 (gdb-invalidate-threads, gdb-invalidate-disassembly)
18653 (gdb-invalidate-memory): Accept update signal.
18654 (gdb-current-context-command): Use --frame option.
18655 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
18656 Implement `gdb-frame-number' selection logic.
18657 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
18658 whether to show GUD toolbar buttons.
18659 (gdb-thread-exited): Unselect current thread when it exits.
18660 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
18661 (gdb-mark-line): Routine which sets overlay arrow or inverses
18662 video on fringeless displays.
18663 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
18664 to build aligned columns of data in GDB buffers and set text
18665 properties line-by-line.
18666 (gdb-invalidate-breakpoints)
18667 (gdb-breakpoints-list-handler-custom)
18668 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
18669 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
18670 (gdb-registers-handler-custom): Align data columns.
18671 (gdb-locals-handler-custom): Now prints data like in variable
18673 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
18674 Remove confusing buttons.
18675 (gdb-invalidate-threads): Append --frame.
18676 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
18677 between breakpoints/threads buffers.
18678 (gdb-set-window-buffer): Now can ignore dedicated windows.
18679 (gdb-propertize-header): Use `gdb-set-window-buffer'.
18680 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
18681 (def-gdb-thread-buffer-gud-command): Replaces
18682 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
18683 for fine thread control.
18684 (gdb-preempt-existing-or-display-buffer): New function used to
18685 display bound buffers without breaking window layout.
18686 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
18687 (gdb-select-frame): New version of `gdb-frames-select' which now
18688 sets `gdb-frame-number' so commands may use --frame option instead
18689 of inner debugger state.
18690 (gdb-frame-handler): Do not set `gdb-frame-number'.
18691 (gdb-threads-mode-map): Select threads with mouse.
18693 * progmodes/gud.el (gdb-gud-context-call): Declare function to
18694 avoid compilation warning.
18695 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
18698 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
18699 Argument `key' renamed to `buffer-type'.
18700 (gdb-current-context-buffer-name): Do not add thread info to
18701 buffer name when no thread is selected.
18702 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
18703 command (bug 3794).
18704 (gdb-thread-selected): Handle `=thread-selected' notification.
18705 (gdb-wait-for-pending): New macro to deal with congestion problems.
18706 (gdb-breakpoints-list-handler-custom): Don't fail on pending
18708 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
18709 This fixes problem similar to one described in bug 3947.
18710 (gud-menu-map): More menu items.
18711 (gdb-init-1): Reset `gdb-thread-number' to nil.
18713 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
18716 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
18717 (gdb-current-context-command): Do not append --thread if
18718 `gdb-thread-number' is nil.
18719 (gdb-running-threads-count, gdb-stopped-threads-count):
18721 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
18722 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
18723 New customization options.
18724 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
18726 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
18727 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
18728 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
18729 set `gdb-thread-number' and update `gud-running' properly.
18730 (gdb-running): Update threads list when new threads appear.
18731 (gdb-stopped): Support non-stop operation and new thread switching
18733 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
18734 (gdb-json-partial-output): New set of JSON routines.
18735 (def-gdb-auto-update-trigger): New `signal-list' optional
18737 (gdb-thread-list-handler-custom): Update `gud-running',
18738 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
18739 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
18740 (gdb-continue-thread, gdb-step-thread): New commands for fine
18741 thread execution control.
18742 (gud-menu-map): New menu items to switch non-stop options.
18743 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
18744 (gdb-send): Mimic RET properly (bug 3794).
18746 * progmodes/gdb-mi.el (gdb-rules-name-maker)
18747 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
18749 (def-gdb-auto-update-handler): New nopreserve optional argument.
18750 (gdb-stack-list-frames-custom): Print stack from top to bottom.
18752 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
18753 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
18754 (gdb-parent-mode): New mode to derive other GDB modes from.
18755 (gdb-display-disassembly-for-thread)
18756 (gdb-frame-disassembly-for-thread): New commands for threads
18759 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
18760 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
18761 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
18762 (gdb-update): We now store all GDB buffers in a list so that they
18763 can be updated by traversing a list instead of calling invalidate
18764 triggers explicitly.
18765 (def-gdb-trigger-and-handler): New macro to define trigger-handler
18766 pair for GDB buffer.
18767 (gdb-stack-buffer-name): Add thread information.
18768 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
18769 handle pending triggers.
18770 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
18771 (def-gdb-thread-buffer-simple-command)
18772 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
18773 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
18774 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
18775 New commands which show buffers bound to thread.
18776 (gdb-stack-list-locals-regexp): Remove unused regexp.
18778 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
18779 (gdb-locals-buffer-name, gdb-registers-buffer-name)
18780 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
18781 to (gud-comint-buffer) in *-buffer-name functions
18782 because (gdb-get-target-string) already does that.
18783 (gdb-locals-handler-custom, gdb-registers-handler-custom)
18784 (gdb-changed-registers-handler): Rewritten without regexps.
18786 * progmodes/gdb-mi.el: Basic thread selection support.
18787 (gdb-thread-number): New variable.
18788 (gdb-current-context-command): New macro which adds --thread
18790 (gdb-threads-mode-map): Select thread with SPC.
18791 (gdb-thread-list-handler-custom): Mark current thread with overlay
18792 arrow. Synchronize GDB thread and Emacs thread.
18793 (gdb-select-thread): New command which selects current thread.
18794 (gdb-invalidate-frames, gdb-invalidate-locals)
18795 (gdb-invalidate-registers): Use --thread option.
18797 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
18799 * net/tramp.el (top): Make check for tramp-gvfs loading more
18801 (tramp-handle-insert-file-contents): `unwind-protect' must be
18802 inside `with-parsed-tramp-file-name'.
18804 * net/tramp-gvfs.el (top): Remove superfluous message when loading
18807 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
18809 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
18810 directory if CLASSPATH is not set.
18812 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
18814 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
18816 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
18818 2009-08-02 Kevin Ryde <user42@zip.com.au>
18820 * net/newst-backend.el (newsticker--raw-url-list-defaults):
18821 Update freshmeat link. Delete newsforge.com as it seems gone.
18823 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
18825 * select.el (x-set-selection): Doc fix (Bug#4021).
18827 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
18829 * help-fns.el (describe-variable): Treat list return values from
18830 dir-locals-find-file properly (Bug#4005).
18832 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
18834 * net/tramp.el (tramp-debug-message): Print also microseconds.
18836 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
18838 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
18840 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
18841 (tramp-get-debug-buffer): Change `outline-regexp' according to new
18844 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
18845 (tramp-get-file-property): Use it.
18847 * autorevert.el (auto-revert-handler):
18848 Allow `auto-revert-tail-mode' for remote files.
18850 2009-08-02 Jason Rumney <jasonr@gnu.org>
18852 * minibuffer.el (read-file-name): Treat confirm options to
18853 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
18855 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
18857 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
18858 (font-lock-variable-name-face, font-lock-constant-face):
18859 Darken the colors for light backgrounds.
18861 2009-08-01 Eli Zaretskii <eliz@gnu.org>
18863 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
18864 month names. (Bug#3987)
18866 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
18868 * simple.el (line-move-finish): Pass whole number to
18869 line-move-to-column.
18870 (line-move-visual): Perform hscroll to the recorded position.
18872 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
18874 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
18876 2009-07-29 Alan Mackenzie <acm@muc.de>
18878 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
18880 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
18882 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
18883 (gdb-place-breakpoints): Use full path when setting breakpoints.
18885 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
18887 * calc/calc.el (calc-mode-map): Add keybinding for
18888 `calc-transpose-lines'.
18890 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
18892 * calc/calc-misc.el (calc-transpose-lines): New function.
18894 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
18896 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
18897 Simplify check for out-of-band methods.
18898 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
18899 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
18901 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
18903 * vc-git.el (vc-git-checkin): Fix typo.
18905 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
18907 * progmodes/js2-mode.el: New file.
18909 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
18911 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
18912 (gud-menu-map): Adjust tooltip accordingly.
18914 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
18916 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
18917 (vc-bzr-log-view-mode): Adjust log-view-file-re.
18919 * add-log.el (change-log-mode-map): Add a menu.
18921 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
18923 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
18924 function returns nil.
18925 (dbus-handle-event): Handle special return value :ignore.
18926 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
18928 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
18930 * view.el (view-mode-enable): Don't define Helper-return-blurb if
18933 2009-07-25 Eli Zaretskii <eliz@gnu.org>
18937 * w32-vars.el (x-select-enable-clipboard): Doc fix.
18939 * term/pc-win.el (x-display-name, x-colors)
18940 (x-select-enable-clipboard, x-select-text): Doc fix.
18942 * term/common-win.el (x-display-name, x-colors): Doc fix.
18944 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
18945 (xw-defined-colors): Doc fix.
18947 * w32-fns.el (x-select-text, x-setup-function-keys)
18948 (x-get-selection, x-set-selection): Doc fix.
18950 * term/x-win.el (x-select-text, x-setup-function-keys)
18951 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
18953 * select.el (x-set-selection): Doc fix.
18955 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
18957 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
18958 instead of "IsNSSSupportAvailable". Avahi ought to work also when
18959 "IsNSSSupportAvailable" method is not available.
18960 Reported by Steve Youngs <steve@sxemacs.org>.
18962 2009-07-24 Kenichi Handa <handa@m17n.org>
18964 * international/characters.el: Fix setting of category ?C, ?|, ?K,
18965 and ?H. Fix setting of case for Latin Extended and Greek Extended.
18966 (build-unicode-category-table): Fix range checks.
18968 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
18970 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
18971 the buffer we try to sync is current when calling
18974 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
18975 not show up to date files.
18977 2009-07-24 Glenn Morris <rgm@gnu.org>
18979 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
18980 Add autoload cookies. If necessary, initialize.
18981 (elint-log): Handle non-file buffers.
18982 (elint-initialize): Add optional argument to reinitialize.
18983 (elint-find-builtin-variables): Save excursion.
18985 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
18987 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
18990 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
18992 * vc.el (vc-print-log-internal): New function, split out from ...
18993 (vc-print-log): ... here.
18994 (vc-dir-move-to-goal-column): Declare.
18996 * vc-git.el (vc-git-add-signoff): New variable.
18997 (vc-git-checkin): Use it.
18998 (vc-git-toggle-signoff): New function.
18999 (vc-git-extra-menu-map): Bind it to menu.
19000 (vc-git--run-command-string): Accept a nil FILE argument.
19001 (vc-git-stash-list): New function.
19002 (vc-git-dir-extra-headers): Use it.
19004 2009-07-23 Glenn Morris <rgm@gnu.org>
19006 * help-fns.el (describe-variable): Describe ignored and risky local
19007 variables in a similar way to that in which we describe safe ones.
19009 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
19010 (byte-compile-output-file-form, byte-compile-output-docform)
19011 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
19012 Give some more local variables with common names a "bytecomp-" prefix,
19013 so as not to shadow things during compilation.
19014 * emacs-lisp/cl-macs.el (load-time-value)
19015 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
19016 `outbuffer' to `bytecomp-outbuffer'.
19018 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
19019 since the next two variables cover them automatically now.
19020 (elint-builtin-variables, elint-autoloaded-variables): New.
19021 (elint-unknown-builtin-args): Remove all members, since they can be
19022 parsed automatically now.
19023 (elint-extra-errors): New.
19024 (elint-env-add-env, elint-env-add-macro): Use cadr.
19025 (elint-current-buffer): Use or. Change final message.
19026 (elint-get-top-forms): Use line-end-position.
19027 (elint-init-env): Use cadr. Handle autoload, declare-function,
19029 (elint-add-required-env): Doc fix. Use or. Standardize error.
19030 (regexp-assoc): Remove unused function.
19031 (elint-top-form): Set elint-current-pos, to record the start of the
19032 top-level form, for compilation-mode.
19033 (elint-form): Trap errors in macro expansion. Use dolist.
19034 (elint-unbound-variable): Use elint-builtin-variables and
19035 elint-autoloaded-variables.
19036 (elint-get-args): Use cadr, or.
19037 (elint-check-cond-form): Use dolist, cadr.
19038 (elint-check-condition-case-form): Doc fix. Use cadr.
19039 Use elint-extra-errors.
19040 (elint-log): New function.
19041 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
19042 Distinguish errors and warnings.
19043 (elint-log-message): Use with-current-buffer. Inhibit read-only.
19044 Use a bytecomp-style format.
19045 (elint-clear-log): Preserve default-directory. Inhibit read-only.
19046 (elint-get-log-buffer): Use compilation mode. Disable undo.
19047 Don't truncate lines.
19048 (elint-initialize): Set builtin and autoloaded variable lists.
19049 Only process elint-unknown-builtin-args if non-nil.
19050 (elint-find-builtin-variables, elint-find-autoloaded-variables):
19052 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
19054 2009-07-22 Kevin Ryde <user42@zip.com.au>
19056 * net/newst-backend.el (newsticker--parse-atom-1.0)
19057 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
19058 (newsticker--parse-rss-1.0):
19059 * progmodes/idlwave.el (idlwave-mode):
19060 * progmodes/idlw-shell.el (idlwave-shell-mode):
19061 * progmodes/vera-mode.el (vera-mode):
19062 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
19063 * progmodes/vhdl-mode.el (vhdl-mode):
19064 * textmodes/table.el (table-generate-source)
19065 (table--warn-incompatibility):
19066 Hyperlink urls in docstrings with URL `...'.
19068 2009-07-22 Glenn Morris <rgm@gnu.org>
19070 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
19071 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
19072 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
19073 Remove leading * from defcustom docs.
19075 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
19077 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
19079 (list-load-path-shadows): Optionally, just return shadows as a string.
19081 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
19083 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
19085 * mail/rmailedit.el (rmail-edit-mode):
19086 Use auto-save-include-big-deletions.
19088 * mail/rmail.el (rmail-variables):
19089 Use auto-save-include-big-deletions.
19091 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
19094 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
19096 * calc/calc.el (calc-undo-length): New variable.
19097 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
19099 2009-07-21 Richard Stallman <rms@gnu.org>
19101 * files.el (auto-save-mode): Handle buffer-save-size = -2
19104 2009-07-21 Glenn Morris <rgm@gnu.org>
19106 * textmodes/ispell.el (ispell-looking-back): Update declaration.
19108 * calendar/todo-mode.el (calendar-current-date): Update declaration.
19110 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
19111 silence compiler. Instead...
19112 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
19113 (ps-print-ensure-fontified): Update for above function name changes.
19115 * printing.el (pr-mh-get-msg-num, pr-mh-show)
19116 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
19117 silence compiler. Instead...
19118 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
19119 (mh-show-buffer): Only define for compiler.
19120 (pr-mh-current-message): Update for above function name changes.
19122 * files.el (abort-if-file-too-large): Explicitly pass `filename'
19124 (find-file-noselect, insert-file-1): Update for above change.
19126 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
19128 * mail/mailclient.el (mailclient-send-it): Fix message.
19130 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
19131 (edebug-eval): Check cl-debug-env is bound.
19132 (print-level, print-circle): Don't redefine built-in variables.
19134 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
19135 (custom-print-vectors): Remove old comments from doc.
19137 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
19138 (emerge-version): Make the variable an obsolete alias for the
19139 emacs-version variable. Make the function obsolete.
19140 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
19141 Emerge options, rather than merging in into the main Options menu.
19142 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
19143 and auto advance modes. Disable edit/fast items when not relevant.
19145 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
19147 * term/vt420.el (terminal-init-vt420): Fix typo.
19149 2009-07-20 Sam Steingold <sds@gnu.org>
19151 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
19152 variable (removed from compile.el on 2004-03-11).
19154 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
19156 * files.el (hack-local-variables-filter): Fix last change.
19158 2009-07-19 Juri Linkov <juri@jurta.org>
19160 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
19161 (dir-local-variables-alist): New buffer-local variable.
19162 (hack-local-variables-filter): If variable is not dir-local,
19163 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
19164 because file-local overrides dir-local.
19165 (c-postprocess-file-styles) <declare-function>:
19166 Remove obsolete declaration.
19167 (hack-dir-local-variables): Add dir-local variable/value pair to
19168 `dir-local-variables-alist' and remove duplicates. Doc fix.
19170 * help-fns.el (describe-variable): Add information about
19171 file-local and dir-local variables.
19173 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
19175 * files.el (hack-local-variables-filter): Rewrite.
19177 2009-07-19 Glenn Morris <rgm@gnu.org>
19179 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
19180 Silence compiler by only defining on XEmacs.
19182 * international/mule.el (auto-coding-regexp-alist): Only match
19183 BABYL... at the start of buffer, not of lines. (Bug#3790)
19185 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
19186 non-calendar buffers (Bug#3862). Restore "not on a date" message.
19187 (cal-menu-context-mouse-menu): Doc fix.
19189 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
19191 * simple.el (mail-user-agent): Doc fix. Set :version tag.
19193 2009-07-18 Juri Linkov <juri@jurta.org>
19195 * info.el: Virtual Info keyword finder.
19196 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
19197 (Info-finder-file): New variable.
19198 (Info-finder-find-file): New function.
19199 (finder-known-keywords, finder-package-info)
19200 (find-library-name, lm-commentary): Use defvar and
19201 declare-function to silence compiler warnings.
19202 (Info-finder-find-node): New function.
19203 (info-finder): New command.
19205 * subr.el (process-kill-buffer-query-function): New function.
19206 (add-hook)<kill-buffer-query-functions>: Add hook
19207 `process-kill-buffer-query-function'.
19209 2009-07-18 Alan Mackenzie <acm@muc.de>
19211 * progmodes/cc-mode.el (c-before-hack-hook)
19212 (c-postprocess-file-styles): Give invocation of `c-set-style'
19213 DONT-OVERRIDE parameter of t. Already set style variables will
19214 thus not be overridden by style settings given by `c-file-syle'.
19216 * files.el (hack-local-variables-filter): Remove entries with
19217 duplicate keys from `file-local-variables-alist'.
19219 2009-07-18 Eli Zaretskii <eliz@gnu.org>
19221 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
19222 x-set-selection if display-selections-p returns nil for the
19225 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
19227 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
19229 2009-07-18 Eli Zaretskii <eliz@gnu.org>
19231 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
19232 Accept nil in addition to a regexp.
19233 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
19234 Accept nil in addition to a regexp.
19235 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
19236 buffers that have an associated file. Handle nil values of
19237 desktop-buffers-not-to-save and desktop-files-not-to-save.
19240 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
19241 (x-disown-selection-internal): New functions.
19243 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
19245 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
19247 (gdb-breakpoints-header): Move forward to avoid compiler warning.
19248 (gdb-make-header-line-mouse-map): Remove duplicate definition.
19250 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
19252 * simple.el (set-mark): Revert last change.
19254 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
19256 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
19257 rendering of pngs is not possible instead of messaging a long
19260 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
19262 * w32-fns.el (x-selection-owner-p): New function.
19264 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
19265 (mouse-yank-at-click, mouse-yank-primary):
19266 If select-active-regions is non-nil, deactivate the mark before
19269 * simple.el (deactivate-mark, set-mark): Only save selection if we
19272 2009-07-17 Kenichi Handa <handa@m17n.org>
19274 * case-table.el (describe-buffer-case-table): Fix for the case
19275 that KEY is a cons.
19277 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
19279 * vc-rcs.el (vc-rcs-find-file-hook):
19280 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
19282 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
19284 * net/tramp.el (tramp-wait-for-output): Handle the case when
19285 commands do not return a newline but a null byte before the shell
19288 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
19290 * term/ns-win.el (ns-set-alpha): Don't declare.
19291 (ns-set-background-alpha): Remove function.
19293 2009-07-16 Kevin Ryde <user42@zip.com.au>
19295 * emacs-lisp/copyright.el (copyright-update): Save match-data across
19296 y-or-n-p, for safety.
19298 2009-07-16 Richard Stallman <rms@gnu.org>
19300 * files.el (auto-save-mode): If buffer-saved-size is -2,
19303 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
19304 (rmail-retry-ignored-headers): Add more uninteresting fields.
19306 2009-07-15 Jari Aalto <jari.aalto@cante.net>
19308 * net/rcirc.el (rcirc): Use history variables.
19309 (rcirc-server-name-history, rcirc-nick-name-history)
19310 (rcirc-server-port-history): New variables.
19312 2009-07-15 Kenichi Handa <handa@m17n.org>
19314 * international/mule-cmds.el (set-language-environment-charset):
19315 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
19318 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
19319 Delete unibyte-display.
19321 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
19323 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
19325 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
19327 * simple.el (deactivate-mark): Optional argument FORCE.
19328 (set-mark): Use deactivate-mark.
19330 * info.el (Info-search): No need to check transient-mark-mode
19331 before calling deactivate-mark.
19333 * select.el (x-set-selection): Doc fix.
19334 (x-valid-simple-selection-p): Allow buffer values.
19335 (xselect--selection-bounds): Handle buffer values.
19336 Suggested by David De La Harpe Golden.
19338 * mouse.el (mouse-set-region, mouse-drag-track):
19339 Call copy-region-as-kill before setting the mark, to let
19340 select-active-regions work.
19342 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
19344 * simple.el (deactivate-mark): If select-active-regions is
19345 non-nil, copy the selection data into a string.
19346 (activate-mark): If select-active-regions is non-nil, set the
19347 selection to the current buffer.
19348 (set-mark): Update selection if select-active-regions is non-nil.
19350 * select.el (x-valid-simple-selection-p): Allow buffer values.
19352 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
19354 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
19355 and more featureful message-mode.
19357 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
19359 * select.el (x-set-selection): Doc fix.
19360 (x-valid-simple-selection-p): Disallow selection data consisting
19361 of a list or cons of integers, since that is not used.
19362 (xselect--selection-bounds, xselect--int-to-cons): New functions.
19363 (xselect-convert-to-string, xselect-convert-to-length)
19364 (xselect-convert-to-filename, xselect-convert-to-charpos)
19365 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
19367 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
19369 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
19370 output in -break-info command (Emacs bug #3794).
19372 2009-07-14 Glenn Morris <rgm@gnu.org>
19374 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
19375 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
19376 (edebug-print-length, edebug-print-level, edebug-print-circle)
19377 (edebug-sit-for-seconds, edebug-view-outside)
19378 (edebug-bounce-point, edebug-set-global-break-condition)
19379 (edebug-Go-nonstop-mode, edebug-trace-mode)
19380 (edebug-Trace-fast-mode, edebug-continue-mode)
19381 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
19382 (edebug-visit-eval-list): Doc fixes.
19384 * subr.el (def-edebug-spec): Doc fix.
19386 2009-07-14 Kenichi Handa <handa@m17n.org>
19388 * international/characters.el: Fix setting of category ?C.
19390 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
19392 * term/ns-win.el (x-select-font): defalias x-select-font to
19393 ns-popup-font-panel instead of generate-fontset-menu.
19395 2009-07-12 Eli Zaretskii <eliz@gnu.org>
19397 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
19399 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
19401 * arc-mode.el (archive-find-type): Allow for a PK00 string before
19402 the PK\003\004 header (Bug#3770).
19404 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
19406 * pcomplete.el (pcomplete-comint-setup): Check for
19407 shell-dynamic-complete-filename too.
19409 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
19411 * simple.el (temporary-goal-column): Change the value for
19412 line-move-visual to a cons cell.
19413 (line-move-visual): Record or set the window hscroll, if
19414 necessary (Bug#3494).
19415 (line-move-1): Handle cons value of temporary-goal-column.
19417 2009-07-11 Kenichi Handa <handa@m17n.org>
19419 * international/mule-diag.el (describe-character-set): Don't show
19422 2009-07-10 Sam Steingold <sds@gnu.org>
19424 * progmodes/compile.el (compilation-mode-font-lock-keywords):
19425 Omake sometimes indents the errors it prints, so allow all
19426 regexps to start with spaces.
19428 2009-07-10 Eli Zaretskii <eliz@gnu.org>
19430 * cus-edit.el (customize-changed-options-previous-release):
19431 Bump value to 22.1. (Bug#3804)
19433 2009-07-08 Sam Steingold <sds@gnu.org>
19435 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
19436 to be a cons cell (test . ignored-directory) to selectively ignore
19437 some directories depending on the location of the search.
19439 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
19441 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
19442 remote user is root, on the local host.
19443 (tramp-local-host-p): Either the local user or the remote user
19444 must be root. (Bug#3771)
19446 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
19448 * progmodes/gdb-mi.el (gdb): Remove description of
19449 gdb-use-separate-io-buffer.
19450 (menu): Don't allow toggling of or enable
19451 gdb-use-separate-io-buffer from menubar.
19453 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
19455 * mail/unrmail.el (unrmail): Make sure the message ends with two
19456 newlines (Bug#3769).
19458 2009-07-08 Glenn Morris <rgm@gnu.org>
19460 * calendar/calendar.el (calendar-current-date): Rework previous change.
19462 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
19464 * calendar/calendar.el (calendar-current-date):
19465 Add an optional argument giving an offset from today.
19467 2009-07-08 Glenn Morris <rgm@gnu.org>
19469 * tutorial.el (tutorial--describe-nonstandard-key):
19470 Adjust the message for when a key has been unbound.
19471 (help-with-tutorial): Hide the arch-tag.
19473 2009-07-08 Kenichi Handa <handa@m17n.org>
19475 * international/fontset.el (setup-default-fontset): For each
19476 script, append (not set) font-specs.
19478 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
19481 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
19483 * progmodes/gdb-mi.el (gdb-init-1): Move sending
19484 -data-list-register-names to ...
19485 (gdb-starting): ... here because GDB 7.0 requires execution to
19486 have started when using this MI command.
19487 (gdb-set-header): New function to distinguish select and
19488 unselected tabs in gdb buffers.
19489 (gdb-propertize-header): New macro that uses gdb-set-header.
19490 (gdb-breakpoints-header, gdb-locals-header): Use it.
19491 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
19493 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
19495 * Makefile.in (ELCFILES): Remove fadr.elc.
19497 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
19499 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
19500 may contain frame information, so `string-match' should be used.
19501 (gdb-update): Disassembly is invalidated through
19502 `gdb-get-selected-frame'.
19503 (gdb-pad-string): New function to pad string with spaces.
19504 (gdb-invalidate-disassembly): Invalidate only if the buffer
19506 (gdb-disassembly-handler-custom): Column alignment.
19507 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
19509 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
19511 (gdb-frame-handler): Match convention to for disassembly buffer
19513 (gdb-stack-list-frames-handler): Rewritten without regexps.
19514 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
19515 not highlight breakpoints without line information.
19516 (gdb-input): Add trailing newline to command.
19518 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
19520 (gdb-breakpoints-list-handler-custom): Replacement for
19521 `gdb-break-list-handler'. Using real parser instead of regexps
19523 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
19524 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
19525 to place breakpoints.
19526 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
19528 (gdb-disassembly-handler-custom): Show overlay arrow.
19529 (gdb-disassembly-place-breakpoints): Show breakpoints in
19530 disassembly buffer.
19531 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
19532 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
19533 instead of parsing breakpoints buffer. Fixed old menu references
19538 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
19539 (gdb-memory-address): New variable which holds top address of
19540 memory page shown in memory buffer.
19541 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
19542 New customization variables.
19544 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
19545 display the memory buffer.
19546 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
19547 buffer display parameters.
19548 (def-gdb-memory-format, gdb-memory-format-binary)
19549 (gdb-memory-format-octal, gdb-memory-format-unsigned)
19550 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
19551 Functions for setting memory buffer format.
19552 (gdb-memory-unit-word, gdb-memory-unit-halfword)
19553 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
19554 unit size used in memory buffer.
19555 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
19556 Switch to next/previous page of memory buffer.
19557 Now using (bindat-get-field) instead of fadr functions.
19559 2009-07-07 Sam Steingold <sds@gnu.org>
19561 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
19562 non-top-level files.
19564 2009-07-07 Kenichi Handa <handa@m17n.org>
19566 * international/mule-cmds.el (reset-language-environment):
19567 Put the highset priority to the charset iso-8859-1.
19569 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
19571 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
19572 to the end of the line when locating the block (Bug#700).
19574 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
19576 * net/tramp.el (tramp-handle-write-region): Flush file properties
19577 in case of short track.
19579 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
19581 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
19582 Coded custom representation of verilog error regular expressions
19583 to work with Emacs-22's new format.
19584 (verilog-error-regexp-xemacs-alist): Coded custom representation
19585 of verilog error regular expressions to work with XEmacs format.
19586 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
19587 error recognition into XEmacs.
19588 (verilog-error-regexp-add-emacs): Hook routine to install verilog
19589 error recognition into Emacs-22.
19591 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
19593 * woman.el: Remove stand-alone closing parentheses.
19594 (woman-file-name, woman2-format-paragraphs)
19595 (woman-leave-blank-lines): Code cleanup.
19596 (woman-use-own-frame): Change default to nil.
19597 (woman-italic, woman-bold, woman-unknown, woman-addition):
19598 Change defaults to inherit from default faces.
19599 (woman2-process-escapes): Consume the newline after a stand-alone
19600 filler character (Bug#3651).
19602 2009-07-06 Glenn Morris <rgm@gnu.org>
19604 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
19605 (top-level): Move provide to the end.
19606 (ffap): Remove defunct URL from custom group.
19608 * subr.el (eval-after-load): Doc fix.
19610 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
19612 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
19613 `calc-embedded-word' is called twice.
19615 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19617 * files.el (find-alternate-file-other-window, find-alternate-file):
19618 Obey confirm-nonexistent-file-or-buffer.
19620 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
19622 * dired-aux.el (dired-show-file-type): Handle remote files.
19624 2009-07-05 Jari Aalto <jari.aalto@cante.net>
19626 * desktop.el (desktop-globals-to-save):
19627 Add file-name-history (Bug#2750).
19629 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
19631 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
19633 2009-07-04 Johan Bockgård <bojohan@gnu.org>
19635 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
19636 property on entire argument since this is what eshell-lisp-command
19639 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
19641 * net/tramp-gvfs.el (tramp-gvfs-methods)
19642 (tramp-gvfs-zeroconf-domain)
19643 (tramp-bluez-discover-devices-timeout): Add version flag.
19644 (tramp-gvfs-handler-mounted-unmounted)
19645 (tramp-gvfs-connection-mounted-p): Polish handling of
19646 incompatibilities between GVFS 0.2 and 1.0.
19648 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
19650 * cus-start.el (all): Add make-pointer-invisible.
19652 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
19654 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
19655 formatted correctly.
19657 2009-07-02 Juri Linkov <juri@jurta.org>
19659 * info.el: Virtual Info files and nodes.
19660 (Info-virtual-files, Info-virtual-nodes): New variables.
19661 (Info-current-node-virtual): New variable.
19662 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
19664 (Info-file-supports-index-cookies): Use Info-virtual-file-p
19665 to check for a virtual file instead of checking a fixed list
19667 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
19668 instead of ad-hoc processing of "dir" and (apropos history toc).
19669 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
19670 instead of ad-hoc processing of "dir" and (apropos history toc).
19671 Reread a file when moving from a virtual node.
19672 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
19673 (Info-directory-toc-nodes, Info-directory-find-file)
19674 (Info-directory-find-node): New functions.
19675 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
19676 (Info-history): Move part of code to
19677 `Info-history-find-node'.
19678 (Info-history-toc-nodes, Info-history-find-file)
19679 (Info-history-find-node): New functions.
19680 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
19681 (Info-toc): Move part of code to `Info-toc-find-node'.
19682 (Info-toc-find-node): New function.
19683 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
19684 the current Info file name to references because now the node
19685 "*TOC*" belongs to the same Info manual.
19686 (Info-toc-build): Rename from `Info-build-toc'.
19687 (Info-toc-nodes): Rename input argument `file' to `filename'.
19688 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
19689 instead of ad-hoc processing of ("dir" apropos history toc).
19690 (Info-index-nodes): Use Info-virtual-file-p
19691 to check for a virtual file instead of checking a fixed list
19693 (Info-index-node): Add check for `Info-current-node-virtual'.
19694 Raise `save-match-data' higher up the tree to contain
19695 `search-forward' too (bug fix).
19696 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
19697 (Info-virtual-index-nodes): New variable.
19698 (Info-virtual-index-find-node, Info-virtual-index): New functions.
19699 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
19700 (Info-apropos-file, Info-apropos-nodes): New variables.
19701 (Info-apropos-toc-nodes, Info-apropos-find-file)
19702 (Info-apropos-find-node, Info-apropos-matches): New functions.
19703 (info-apropos): Move part of code to `Info-apropos-find-node' and
19704 `Info-apropos-matches'.
19705 (Info-mode-map): Bind "I" to `Info-virtual-index'.
19706 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
19707 for a virtual file instead of checking a fixed list of node names.
19709 * simple.el (async-shell-command): New command.
19711 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
19713 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
19714 instead of `mount-info'.
19716 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
19718 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
19719 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
19721 2009-07-02 Kenichi Handa <handa@m17n.org>
19723 * international/mule.el (set-keyboard-coding-system): Force *-unix
19724 coding-system to avoid eol conversion.
19726 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
19728 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
19729 Add handler for `process-file', `shell-command' and
19730 `start-file-process'.
19731 (tramp-gvfs-handle-shell-command)
19732 (tramp-gvfs-handle-start-file-process)
19733 (tramp-gvfs-handle-process-file): New defuns.
19734 (tramp-synce-list-devices): Simplify check for existence of property.
19736 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
19738 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
19740 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
19742 * language/korean.el (set-language-info-alist): Add korean-cp949,
19745 2009-07-01 Kenichi Handa <handa@m17n.org>
19747 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
19749 * international/encoded-kb.el: Deleted.
19751 * international/mule.el (set-keyboard-coding-system): Perform the
19752 necessary setup here instead of calling encoded-kbd-setup-display.
19754 2009-07-01 Glenn Morris <rgm@gnu.org>
19756 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
19758 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
19760 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
19762 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
19764 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
19765 Handle also the 'rename case, when setting file modes. (Bug#3712)
19766 (tramp-default-file-modes): Remove execute permissions.
19768 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
19769 (top): Add a default for "synce" in `tramp-default-user-alist'.
19770 Add completion function for "synce" method.
19771 (tramp-hal-service, tramp-hal-path-manager)
19772 (tramp-hal-interface-manager, tramp-hal-interface-device):
19774 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
19775 (tramp-synce-list-devices, tramp-synce-parse-device-names):
19778 * net/trampver.el: Update release number.
19780 2009-06-30 Kenichi Handa <handa@m17n.org>
19782 * international/fontset.el (setup-default-fontset): Add CJK fonts
19783 for symbols and the other miscellaneous characters.
19785 * language/korea-util.el (setup-korean-environment-internal):
19786 Make char-width-table suitable for Korean environments.
19787 (exit-korean-environment): Cancel above.
19789 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
19790 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
19791 setup-function to make char-width-table suitable for respective
19792 environments, and an exit-function to cancel that.
19794 * language/japan-util.el (setup-japanese-environment-internal):
19795 Call use-cjk-char-width-table with arg `ja_JP'.
19797 * international/characters.el (cjk-char-width-table): Delete it.
19798 (cjk-char-width-table-list): New variable.
19799 (use-cjk-char-width-table): New arg local-name.
19800 (use-default-char-width-table): Fix for the case that Emacs is
19801 already using the default char-width-table.
19803 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
19805 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
19806 modes mandatory. (Bug#3712)
19808 2009-06-29 Alan Mackenzie <acm@muc.de>
19810 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
19811 correction between the visible width of TABs and their number of bytes.
19813 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
19815 * server.el (server-buffer-done): Prevent kill-buffer from
19816 prompting by clearing the buffer modification flag (Bug#3696).
19818 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
19820 * progmodes/verilog-mode.el (verilog-beg-of-statement)
19821 (verilog-endcomment-reason-re): Support unique case and priority case.
19822 (verilog-basic-complete-re): Support localparam lineup.
19823 (verilog-beg-of-statement-1): Fix for robustness, unique case.
19824 (verilog-set-auto-endcomments): Fix for unique case, always_comb
19826 (verilog-leap-to-case-head): Now support *nested* unique &
19827 priority case statements.
19828 (verilog-auto-lineup): Make just declarations the default (as it
19830 (verilog-leap-to-case-head): Support priority/unique case statements.
19831 (verilog-auto-lineup): Rework to give users radio buttons to
19832 select the various styles of automatic lineup.
19833 (verilog-error-regexp-alist): Rework to support the XEmacs style
19834 of error regular expressions from compilers, lint tools &
19835 simulators. Note that GNU Emacs has made it impossible for a mode
19836 to load such things.
19837 (electric-verilog-terminate-line, verilog-indent-declaration)
19838 (verilog-auto-wiure): Rework for radio button selection of
19839 auto-lineup selection of specification of auto lineup.
19840 (verilog-beg-of-statement-1): Redesign to support proper operation
19841 in additional code, based on testing with auto-lineup.
19842 (verilog-calculate-indent, assignments & declarations)
19843 (verilog-backward-token): Enhance to support auto-lineup of
19844 assignments & declarations.
19845 (verilog-in-directive-p, verilog-at-struct-p): New function for
19846 easy test of whether we are.
19847 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
19848 to support safe execution at almost anyline.
19849 (verilog-calc-1): Properly support indenting deep inside generate
19851 (verilog-init-font): Remove definition & use of verilog-init-font,
19852 as it is redundant with font-lock-defaults.
19853 (verilog-mode): Alter the definition of verilog-font-lock-defaults
19854 to avoid circular calls if syntax-ppss is a function (as is the
19855 case now in 22.x GNU Emacs) as that function would sometimes call
19856 itself, leading to (nearly) infinite recursion.
19857 (verilog-ovm-begin-re, verilog-ovm-end-re)
19858 (verilog-ovm-statement-re, verilog-leap-to-head)
19859 (verilog-backward-token): Add support for OVM macros. Some are
19860 complete statements, and others open and close scopes like begin
19862 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
19863 (verilog-defun-level-generate-only-re): Really fix the defun-list
19865 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
19866 coverpoint, constraint and cross statements.
19867 (verilog-defun-level-list, verilog-generate-defun-level-list)
19868 (verilog-all-defun-level-list): Redo these specifications - it is
19869 too hard to support eval-when compile aggregation of lists also
19870 built at when-compile time.
19871 (verilog-defun-level-list): Place defconsts of variables used in
19872 building regular expressions which are built in eval-when-compile
19873 bodies in the same eval-when-compile body to facilitate compile
19875 (verilog-beg-block-re-ordered): Support indenting
19876 virtual/protected tasks and functions.
19877 (verilog-defun-level-list, verilog-in-generate-region-p)
19878 (verilog-backward-ws&directives, verilog-calc-1): Speed up
19879 indentation of some module items (generate items).
19880 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
19881 across virtual/protected tasks and functions.
19883 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
19885 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
19886 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
19887 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
19888 in concatenations. Reported by Yishay Belkind.
19889 (verilog-auto-ascii-enum): Support one-hot state machines in
19890 AUTOASCIIENUM. Suggested by Lloyd Gomez.
19891 (verilog-auto-inst, verilog-auto-inst-port): Include interface
19892 modport in AUTOINST and add vl-modport for users.
19893 Reported by David Rogoff.
19894 (verilog-auto-inout-module, verilog-auto-inst)
19895 (verilog-decls-get-interfaces, verilog-insert-definition)
19896 (verilog-insert-one-definition, verilog-read-decls)
19897 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
19898 (verilog-sig-modport, verilog-signals-combine-bus)
19899 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
19900 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
19901 Suggested by David Rogoff.
19902 (verilog-repair-open-comma): Fix non-insertion of comma when
19903 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
19904 (verilog-make-width-expression): Simplify [A-1:0] expression
19905 widths to just {A{1'b0}}.
19906 (verilog-mode): Cleanup checkdoc warnings.
19907 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
19908 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
19909 inputs/outputs or data type. Suggested by Vasu Kandadi.
19910 (next-error-last-buffer): Fix byte-compiler warning.
19911 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
19912 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
19913 or shell command text during AUTO expansion. Suggested by Tad Truex.
19914 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
19915 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
19916 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
19917 in AUTOINOUT. Reported by Matthew Lovell.
19918 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
19919 causing use of <= assignments. Reported by Alex Reed.
19920 (verilog-read-decls): Fix triand, trior, wand, wor to be
19921 recognized by AUTOWIRE. Reported by Spencer Isaacson.
19922 (verilog-extended-complete-re): Support import "DPI-C" functions.
19923 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
19924 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
19925 (verilog-insert-date, verilog-insert-year)
19926 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
19927 Windows systems. Reported by Michael Potts.
19928 (verilog-read-module-name): Fix AUTOINST when the child module
19929 declaration's name is a tick define. Reported by Elliot Mednick.
19930 (verilog-read-decls): Fix V2K parameter bit subscripts getting
19931 passed to next parameter's definition. Reported by Bruce T.
19932 (verilog-read-decls): Fix detecting "parameter int" when using
19933 AUTOINSTPARAM. Reported by Bruce T.
19934 (verilog-goto-defun): Fix goto not finding modules unless first
19935 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
19936 (verilog-mode): Expand -f flag arguments on entry to mode so
19937 verilog-goto-defun will work. Reported by Lawrence Butcher.
19938 (verilog-getopt): Expand environment variables in -f file
19939 arguments. Suggested by Lawrence Butcher.
19940 (verilog-set-define): Fix "Symbol's value as variable is void"
19941 when reading enumerations.
19942 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
19943 Suggested by Stephen Peltan.
19944 (verilog-read-defines): Fix reading of enumerations in include
19945 files. Reported by Steve Peltan.
19947 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
19949 * files.el (trash-directory): Fix defcustom type.
19951 2009-06-28 Juri Linkov <juri@jurta.org>
19953 * help-fns.el (describe-function-1): Correctly locate adviced
19954 functions in hyperlink (Bug#2438).
19956 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
19958 * files.el (trash-directory): Change default to nil.
19959 (move-file-to-trash): If trash-directory is nil and
19960 system-move-file-to-trash is unbound, perform freedesktop-style
19963 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
19965 * files.el (move-file-to-trash): Add freedesktop trash
19968 2009-06-28 Glenn Morris <rgm@gnu.org>
19970 * autorevert.el (global-auto-revert-non-file-buffers)
19971 (global-auto-revert-mode): Doc fixes.
19973 2009-06-27 Johan Bockgård <bojohan@gnu.org>
19975 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
19977 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
19979 * faces.el (x-handle-named-frame-geometry): Ensure that we have
19980 opened an X connection before calling x-get-resource (Bug#3194).
19982 * play/doctor.el: Remove reference to obsolete website.
19983 (make-doctor-variables): Correct grammar mistake (Bug#2633).
19985 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
19987 Remove find-file-not-found-hook VC method. (Bug#2757)
19988 * vc-hooks.el (vc-file-not-found-hook)
19989 (vc-default-find-file-not-found-hook): Remove functions.
19990 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
19991 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
19994 * vc-git.el: Do not mention find-file-not-found-hook VC method.
19996 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
19998 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
19999 compatibility function for `looking-back'.
20001 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
20002 Use `ispell-looking-back'.
20004 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
20006 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
20007 rather than `filename'.
20009 2009-06-23 Miles Bader <miles@gnu.org>
20011 * face-remap.el (text-scale-set): New function.
20013 2009-06-23 Glenn Morris <rgm@gnu.org>
20015 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
20017 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
20019 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
20021 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
20023 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
20024 Simplify Persian conditionals.
20026 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
20027 variable `filename'.
20029 * comint.el (comint-insert-input): Doc fix.
20031 * Makefile.in (ELCFILES): Fix typo in previous change.
20033 2009-06-23 Miles Bader <miles@gnu.org>
20035 * cus-start.el: Add entry for `recenter-redisplay'.
20037 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
20039 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
20040 Add an optional argument for the backend, use it instead of
20041 calling vc-backend.
20042 (vc-mode-line): Add an optional argument for the backend.
20043 Pass the backend to vc-state and vc-working-revision. Move code for
20044 special handling for vc-state being a buffer to ...
20046 * vc-rcs.el (vc-rcs-find-file-hook):
20047 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
20049 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
20050 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
20051 vc-stay-local-p and vc-mode-line calls.
20053 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
20054 (vc-cvs-diff, vc-cvs-annotate-command)
20055 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
20056 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
20057 vc-mode-line calls.
20059 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
20061 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
20062 backend when calling vc-mode-line.
20063 (vc-register): Do not create a closure for calling the vc register
20064 function, call it directly.
20066 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
20068 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
20069 to make it obvious item can be clicked.
20071 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
20073 2009-06-23 Kenichi Handa <handa@m17n.org>
20075 * language/korea-util.el (korean-key-bindings): Change the binding
20076 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
20079 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
20081 Sync with Tramp 2.1.16.
20083 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
20085 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
20086 when a loading of a package fails. Completion function for rsync
20087 is `tramp-completion-function-alist-ssh'.
20088 (all): Replace all calls of `split-string' and
20089 `tramp-split-string' by `tramp-compat-split-string'.
20090 (tramp-default-method): Use `tramp-compat-process-running-p'.
20091 (tramp-default-proxies-alist): Allow also Lisp forms.
20092 (tramp-remote-path): Add choice "Private Directories".
20093 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
20094 (tramp-domain-regexp): Allow also "-", "_" and ".".
20095 (tramp-end-of-output): Remove newlines, and add "$" at the end.
20096 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
20097 (tramp-debug-message): Insert header line in debug buffer.
20098 (tramp-handle-directory-files-and-attributes-with-stat):
20099 Care about filenames with spaces, or starting with "-".
20100 (tramp-handle-dired-uncache): New defun.
20101 (tramp-handle-insert-directory): Don't flush the directory from
20102 cache, this is handled by `dired-uncache' now.
20103 (tramp-handle-insert-file-contents): Improve error handling.
20104 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20105 Quote `tramp-end-of-output'.
20106 (tramp-action-password): Improve trace message.
20107 (tramp-check-for-regexp): Both echoes must be present, before removing.
20108 (tramp-open-connection-setup-interactive-shell): Trace coding system.
20109 (tramp-compute-multi-hops): Eval cons cells of
20110 `tramp-default-proxies-alist'.
20111 (tramp-maybe-open-connection): Use the same command pattern for
20112 first hop and further hops.
20113 (tramp-wait-for-output): Remove handling of newlines.
20114 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
20115 (tramp-split-string): Remove function. It is handled in
20118 * net/tramp-cmds.el (tramp-bug):
20119 Recommend `tramp-cleanup-all-connections' in the bug mail.
20121 * net/tramp-compat.el (tramp-compat-split-string)
20122 (tramp-compat-process-running-p): New defuns.
20124 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
20125 for `dired-uncache'.
20127 * net/tramp-gvfs.el: New package.
20129 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20130 Add handler for `dired-uncache'.
20131 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
20133 * net/trampver.el: Update release number. Make version check fit
20136 2009-06-22 Jim Meyering <meyering@redhat.com>
20138 Automatically handle .xz suffix (XZ-compressed files), too.
20139 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
20140 XZ is the successor to LZMA: <http://tukaani.org/xz/>
20142 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
20143 Nick Roberts <nickrob@snap.net.nz>
20145 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
20146 repository (http://sphinx.net.ru/hg/gdb-mi/).
20148 2009-06-22 Glenn Morris <rgm@gnu.org>
20150 * files.el (dir-locals-collect-mode-variables): Allow for any number of
20151 `mode' and `eval' entries. (Bug#3430)
20153 * Makefile.in (ELCFILES): Add fadr.elc.
20155 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
20156 differing behavior of \n and ^ in strings. (Bug#3385)
20158 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
20160 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
20162 (lisp-indent-function): Make it a defcustom.
20164 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
20166 * progmodes/gdb-ui.el: Replace with ...
20167 * progmodes/gdb-mi.el: ... this file.
20168 * progmodes/gud.el: Modify for gdb-mi.el.
20170 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
20172 * fadr.el: New file.
20174 See ChangeLog.14 for earlier changes.
20176 ;; Local Variables:
20180 Copyright (C) 2009, 2010 Free Software Foundation, Inc.
20182 This file is part of GNU Emacs.
20184 GNU Emacs is free software: you can redistribute it and/or modify
20185 it under the terms of the GNU General Public License as published by
20186 the Free Software Foundation, either version 3 of the License, or
20187 (at your option) any later version.
20189 GNU Emacs is distributed in the hope that it will be useful,
20190 but WITHOUT ANY WARRANTY; without even the implied warranty of
20191 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20192 GNU General Public License for more details.
20194 You should have received a copy of the GNU General Public License
20195 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.