1 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
4 methods, otherwise ~/.ssh/config would be ignored.
6 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
8 * emacs-lisp/rx.el: Make it a superset of sregex.
9 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
10 of args, add `regex' alias.
11 (rx-info): Add arg to distinguish head and standalone forms.
12 (rx-check, rx-form): Pass the corresponding arg.
14 (rx-repeat): Make it work for any number of args.
15 (rx-syntax): Make it accept syntax chars as is.
16 * obsolete/sregex.el: Move from emacs-lisp/.
17 * emacs-lisp/re-builder.el: Remove sregex support.
18 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
20 2010-12-25 Eli Zaretskii <eliz@gnu.org>
22 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
23 PRIMARY first, then the clipboard. (Bug#7699)
25 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
27 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
30 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
32 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
33 .emacs.elc (Bug#7530).
35 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
36 image spec (Bug#7480).
38 2010-12-21 Daiki Ueno <ueno@unixuser.org>
40 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
41 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
44 2010-12-20 Leo <sdl.web@gmail.com>
46 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
47 always be performed (Bug#7680).
49 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
51 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
52 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
55 * color.el: Move from gnus/.
57 * vc/diff.el (diff-better-file-name): Function deleted.
58 abbreviating file names causes problems with shell-quote-argument.
59 (diff-no-select): Just use expand-file-name.
61 * tool-bar.el (tool-bar--image-expression): New function.
62 (tool-bar-local-item, tool-bar--image-exp): Use it.
63 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
64 Use :enable instead of :visible to avoid changing the tool-bar
65 configuration unnecessarily.
67 * info.el (info-tool-bar-map): Add separators.
69 2010-12-17 Ken Brown <kbrown@cornell.edu>
71 * loadup.el: Use version numbers in Cygwin build.
73 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
75 * ido.el (ido-file-internal): Ask for confirmation before
76 overwriting an existing file (Bug#1238).
78 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
80 * tool-bar.el (tool-bar-setup): Add separators.
82 * menu-bar.el (featurep): Use menu-bar-separator.
84 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
86 Migrate allout encryption provisions from pgg to epg.
88 * allout.el (allout-toggle-current-subtree-encryption)
89 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
90 defaulting policy and other changes. Change fetch-pass to keymode-cue,
91 for simpler universal argument interpretation.
92 (allout-toggle-subtree-encryption): Adjust docstring to describe
93 changed encryption provisions. Change fetch-pass to keymode-cue, for
94 simpler universal argument interpretation. Remove provisions for
95 handling key type and identity - they'll all be within
96 allout-encrypt-string or epg/epg or even contained all the way in gpg.
97 (allout-encrypt-string): Include keymode-cue, for optionally prompting
98 for keypair recipients (universal argument > 1) and, in addition,
99 associating the specified recipients with the outline (universal
100 argument > 4) using a file local variable setting for
101 'epa-file-encrypt-to'.
102 Require epa, for recipients handling.
103 Change how regexp filtering elements are named.
104 Describe the problem with caching of incorrect symmetric-decryption
106 Use the epa-passphrase-callback-function, in case the user is using
108 Support saving of the selected keypair recipients when invoked with a
110 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
112 Establish epg-context with armoring and default epg-protocol.
113 Remove all passphrase cache, verification, and hinting code.
114 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
115 No longer used, delete.
116 (allout-mode): Adjust docstring to describe changed encryption
117 provisions. Describe the problem with caching of incorrect
118 symmetric-decryption keys.
119 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
120 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
121 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
122 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
125 2010-12-16 Daiki Ueno <ueno@unixuser.org>
127 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
128 key selection prompt; make 'silent as default (Bug#7487).
130 2010-12-16 Leo <sdl.web@gmail.com>
132 * eshell/eshell.el (eshell-directory-name): Use
133 locate-user-emacs-file (Bug#7578).
135 2010-12-15 Glenn Morris <rgm@gnu.org>
137 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
139 2010-12-15 Jari Aalto <jari.aalto@cante.net>
140 Scott Evans <gse@antisleep.com>
142 * rect.el (rectange--default-line-number-format)
143 (rectangle-number-line-callback): New functions.
144 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
146 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
148 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
149 Delete unused variables.
150 (move-to-column-force): Remove function obsolete since 21.2.
152 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
154 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
155 (tramp-handle-insert-file-contents): Do not set permanent-local
158 * net/tramp-cache.el (tramp-persistency-file-name): Use
159 `locate-user-emacs-file' if fboundp.
161 * net/tramp-sh.el (tramp-methods): Add "ksu".
162 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
165 2010-12-14 Glenn Morris <rgm@gnu.org>
167 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
168 (find-tag-marker-ring): Declare.
169 (js-find-symbol): Require etags.
171 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
173 (mail-alias-file): Don't autoload. Doc fix.
174 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
175 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
176 Mark as obsolete, and risky.
177 (mail-setup): Simplify.
179 * mail/mailalias.el (build-mail-aliases): Make it interactive.
180 * mail/sendmail.el (build-mail-aliases): Update autoload.
182 * dired.el (dired-trivial-filenames, dired-chown-program)
183 (dired-auto-revert-buffer): Remove autoload cookies.
184 * mail/sendmail.el (mail-recover-1): Require 'dired.
186 * dired.el (dired-subdir-switches, dired-chown-program)
187 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
188 Make into defcustoms.
189 (dired-chown-program): Simplify initialization.
191 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
193 2010-12-13 Romain Francoise <romain@orebokech.com>
195 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
197 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
199 * net/netrc.el (netrc-point-at-eol): Remove the unused
200 netrc-point-at-old and netrc-bound-and-true-p bindings.
201 (netrc-parse): Cache the netrc contents.
203 2010-12-13 Eli Zaretskii <eliz@gnu.org>
205 * subr.el (posn-col-row): Evaluate header-line-format in the
206 context of the POSITION window's buffer.
208 2010-12-13 Glenn Morris <rgm@gnu.org>
210 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
211 (with-silent-modifications): Doc fixes.
213 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
215 * net/tramp.el (tramp-action-password, tramp-process-actions):
216 Revert previous from. Use `save-restriction'.
218 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
220 * calendar/diary-lib.el (diary-list-sexp-entries):
221 Handle case of no newline at end of file. (Bug#7536)
223 2010-12-13 Glenn Morris <rgm@gnu.org>
225 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
227 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
229 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
230 (tramp-process-actions): Do not widen.
232 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
233 Protect buffer-modified value. (Bug#7557)
235 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
237 * log-edit.el (log-edit-changelog-entries):
238 Regexp quote filename. (Bug#7505)
240 2010-12-13 Tom Breton <tehom@panix.com>
242 * cus-edit.el (custom-save-all):
243 Bind print-length and print-level to nil. (Bug#7581)
245 2010-12-13 Glenn Morris <rgm@gnu.org>
247 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
248 Run hooks to update menu contents. (Bug#7586)
250 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
251 file names, for the sake of MS Windows. (Bug#7588)
253 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
255 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
256 empty lines without a leading space.
258 2010-12-13 Leo <sdl.web@gmail.com>
260 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
261 while mapping over marks (Bug#6810).
263 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
265 * image-dired.el (image-dired-db-file)
266 (image-dired-temp-image-file, image-dired-gallery-dir)
267 (image-dired-temp-rotate-image-file): Set default values relative
268 to image-dired-dir (Bug#7518).
270 2010-12-13 Lawrence Mitchell <wence@gmx.li>
272 * format.el (format-decode-run-method): Pass args FROM and TO, not
273 point-min and point-max, to shell-command-on-region (Bug#7488).
275 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
277 * frame.el (blink-cursor-mode): Make default t for ns.
279 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
281 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
283 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
285 * comint.el (comint-dynamic-list-input-ring)
286 (comint-dynamic-complete-filename)
287 (comint-replace-by-expanded-filename)
288 (comint-dynamic-simple-complete)
289 (comint-dynamic-list-filename-completions)
290 (comint-dynamic-list-completions): Doc fix (Bug#7499).
292 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
295 2010-12-13 Martin Rudalics <rudalics@gmx.at>
297 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
300 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
302 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
305 2010-12-13 Eli Zaretskii <eliz@gnu.org>
307 * files.el (file-relative-name): Handle UNC file names on
308 DOS/Windows. (Bug#4674)
310 2010-12-13 Daiki Ueno <ueno@unixuser.org>
312 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
313 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
314 (epg-context-set-passphrase-callback): Mention that the callback
315 is not called when used with GnuPG 2.x.
317 2010-12-13 Glenn Morris <rgm@gnu.org>
319 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
320 Ensure ps-footer-font-size-internal is initialized.
321 Call ps-get-page-dimensions before trying to use ps-font-for-text.
323 2010-12-13 Kenichi Handa <handa@m17n.org>
325 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
326 within condition-case.
327 (rmail-show-mime): Don't use condition-case.
328 (rmail-search-mime-message): New function.
329 (rmail-search-mime-message-function): Set to
330 rmail-search-mime-message.
332 2010-12-13 Leo <sdl.web@gmail.com>
334 * ido.el (ido-common-initialization): New function. (bug#3274)
336 (ido-completing-read): Call it.
338 2010-12-12 Karl Fogel <kfogel@red-bean.com>
340 * bookmark.el (bookmark-name-from-full-record): Rename back to
341 this original name from `bookmark-name-from-record' reverting part
342 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
343 As Drew Adams pointed out, there was no reason to cause churn for
346 2010-12-12 Alan Mackenzie <acm@muc.de>
348 * progmodes/cc-engine.el (c-forward-type): Before scanning a
349 template arglist, check that the current language supports this.
351 2010-12-11 Glenn Morris <rgm@gnu.org>
353 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
354 state of the file matches. (Bug#7544)
355 (vc-bzr-register, vc-bzr-checkin)
356 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
357 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
359 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
361 2010-12-11 Karel Klíč <kklic@redhat.com>
363 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
365 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
367 Derive from prog-mode, use derived-mode-p, and fix up various
368 minor style issues in lisp/progmodes.
370 * progmodes/vhdl-mode.el (vhdl-mode):
371 * progmodes/verilog-mode.el (verilog-mode):
372 * progmodes/vera-mode.el (vera-mode):
373 * progmodes/sql.el (sql-mode):
374 * progmodes/scheme.el (scheme-mode):
375 * progmodes/perl-mode.el (perl-mode):
376 * progmodes/octave-inf.el (inferior-octave-mode):
377 * progmodes/autoconf.el (autoconf-mode):
378 * progmodes/m4-mode.el (m4-mode):
379 * progmodes/inf-lisp.el (inferior-lisp-mode):
380 * progmodes/idlwave.el (idlwave-mode):
381 * progmodes/icon.el (icon-mode):
382 * progmodes/idlw-help.el (idlwave-help-mode):
383 * progmodes/dcl-mode.el (dcl-mode):
384 * progmodes/idlw-shell.el (idlwave-shell-mode):
385 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
386 (ebrowse-member-mode, ebrowse-electric-position-mode):
387 Use define-derived-mode.
389 * progmodes/xscheme.el (exit-scheme-interaction-mode)
390 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
391 (xscheme-debugger-mode-p, xscheme-send-string-1):
392 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
393 (tcl-load-file, tcl-restart-with-file):
394 * progmodes/ps-mode.el (ps-run-running):
395 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
396 * progmodes/js.el (js--get-all-known-symbols):
397 * progmodes/inf-lisp.el (inferior-lisp-proc):
398 * progmodes/idlwave.el (idlwave-beginning-of-statement)
399 (idlwave-template, idlwave-update-buffer-routine-info)
400 (idlwave-update-current-buffer-info)
401 (idlwave-get-routine-info-from-buffers, idlwave-choose)
402 (idlwave-scan-class-info, idlwave-fix-keywords)
403 (idlwave-list-buffer-load-path-shadows):
404 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
405 (idlwave-toolbar-remove):
406 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
407 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
408 (idlwave-shell-menu-def):
409 * progmodes/idlw-complete-structtag.el
410 (idlwave-prepare-structure-tag-completion):
411 * progmodes/gud.el (gud-set-buffer):
412 * progmodes/f90.el (f90-backslash-not-special):
413 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
415 * progmodes/xscheme.el (xscheme-start)
416 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
417 * progmodes/which-func.el (which-function):
418 * progmodes/vhdl-mode.el (vhdl-set-style):
419 * progmodes/verilog-mode.el (verilog-set-compile-command)
420 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
421 (verilog-set-define, verilog-auto-reeval-locals):
422 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
423 * progmodes/simula.el (simula-mode):
424 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
425 * progmodes/python.el (python-check, python-mode):
426 * progmodes/prolog.el (prolog-mode-variables):
427 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
428 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
429 * progmodes/delphi.el (delphi-mode):
430 * progmodes/cc-styles.el (c-setup-paragraph-variables):
431 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
432 (c-font-lock-init): Move make-local-variable to their setq.
434 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
435 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
437 * progmodes/sh-script.el (sh-require-final-newline): Remove.
438 (sh-set-shell): Don't set require-final-newline since it's already done
440 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
441 since we never set it.
442 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
443 Use read-string and standard prompt.
444 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
445 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
446 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
447 (meta-common-mode-map): Rename from meta-mode-map.
448 Remove C-m binding, which is a user preference, not mode specific.
449 (meta-common-mode): New major mode; replace meta-common-initialization.
450 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
451 around with font-lock.
452 * progmodes/etags.el (select-tags-table-mode):
453 Derive from special-mode.
454 * progmodes/octave-mod.el (octave-mode):
455 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
456 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
457 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
458 Let define-derived-mode do its job.
459 * progmodes/cpp.el (cpp-edit-mode-map):
460 Move initialization into declaration.
461 (cpp-edit-mode): Use define-derived-mode.
462 (cpp-edit-load): Use derived-mode-p.
463 * progmodes/mixal-mode.el (mixal-mode):
464 * progmodes/f90.el (f90-mode):
465 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
466 require-final-newline since prog-mode does it already.
467 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
468 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
469 * progmodes/antlr-mode.el: Require cc-mode upfront.
470 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
472 (antlr-directory-dependencies, antlr-show-makefile-rules):
474 (antlr-language-option): Don't assume point-min==1.
475 (antlr-mode): Use define-derived-mode.
476 * progmodes/ada-mode.el: Use derived-mode-p.
477 (ada-mode): Use define-derived-mode.
478 Use hack-local-variables-hook.
480 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
482 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
483 (texinfo-mode): Don't disable adaptive-fill-mode.
484 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
485 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
486 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
487 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
488 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
489 (texinfo-insert-@quotation, texinfo-insert-@samp)
490 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
491 (texinfo-insert-@uref): Use define-skeleton.
492 (texinfo-insert-@-with-arg): Delete.
494 2010-12-10 Eli Zaretskii <eliz@gnu.org>
496 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
497 nil, do quote archive member names. (Bug#6144)
499 2010-12-10 Glenn Morris <rgm@gnu.org>
501 * files.el (diff-no-select): Declare.
503 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
504 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
506 * comint.el (comint-input-ring-file-name): Doc fix.
508 2010-12-09 Eli Zaretskii <eliz@gnu.org>
510 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
512 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
513 Use them instead of `nil' and `>', respectively.
514 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
516 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
517 and menu-bar-positive-p instead of `nil' and `>', respectively.
520 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
522 * whitespace.el (whitespace-newline-mode): Code fix.
524 2010-12-09 Glenn Morris <rgm@gnu.org>
526 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
527 Rename functions without commas, update callers.
529 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
531 * whitespace.el (whitespace-cleanup-region):
532 Clean up spaces before tabs. (Bug#7582)
534 2010-12-08 Karl Fogel <kfogel@red-bean.com>
536 * bookmark.el: Adjust parameter names and doc strings to resolve
537 confusion over whether "bookmark" meant a bookmark name or a
538 bookmark record. Along the way, shorten one function's name for
539 similar reasons. (Issue #7548)
540 (bookmark-name-from-record): New name for
541 `bookmark-name-from-full-record'. All callers changed.
542 (bookmark-get-bookmark, bookmark-get-bookmark-record)
543 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
544 (bookmark-get-annotation, bookmark-set-annotation)
545 (bookmark-get-filename, bookmark-set-filename)
546 (bookmark-get-position, bookmark-set-position)
547 (bookmark-get-front-context-string, bookmark-set-front-context-string)
548 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
549 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
550 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
551 Rename `bookmark' parameter to `bookmark-name-or-record', to
552 clearly show its role, and shorten or adjust doc strings accordingly.
553 (bookmark-set-name): Same, and pass the parameter directly to
554 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
555 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
556 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
557 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
558 and in some cases shorten doc string accordingly.
559 (bookmark-rename): Change `old' and `new' parameters to `old-name'
560 and `new-name', and adjust an internal variable to avoid confusion.
561 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
562 parameter in doc string.
564 2010-12-08 Glenn Morris <rgm@gnu.org>
566 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
567 from gdb's history file. (Bug#7575)
569 * mail/emacsbug.el (report-emacs-bug):
570 Try to handle some other mail clients.
572 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
574 * files.el (dir-locals-collect-variables): Don't let errors stop us.
576 (file-name-version-regexp): New var.
577 (file-name-sans-versions):
578 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
579 (jka-compr-get-compression-info): Use dolist.
580 (jka-compr-compression-info-list): Don't bother specifying
581 version/backup regexps.
583 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
585 * simple.el (just-one-space): Make argument n default to 1 if
588 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
590 * electric.el (electric-indent-post-self-insert-function):
591 Delete trailing newlines even if we don't reindent.
593 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
595 * minibuffer.el (completion-at-point): Remove the `arg'.
596 * bindings.el (complete-symbol): Move back from minibuffer.el.
598 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
600 * simple.el (just-one-space): Delete newlines for negative arg.
602 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
604 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
605 (ansi-color-filter-apply): Simplify.
606 (ansi-color-apply): Use `font-lock-face' rather than `face'.
608 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
610 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
612 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
614 * dired.el (dired-use-ls-dired): Set default to a special
616 (dired-insert-directory): When called the first time, check
617 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
619 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
621 * replace.el: Add "collect" feature to occur.
622 (occur-collect-regexp-history): New var.
623 (occur-read-primary-args): Return a replace string for nlines,
625 (occur): Extend the meaning of nlines.
627 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
629 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
630 (which-func-update-1): Distinguish symbols from strings.
631 (which-function): Stay within 80 columns.
633 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
635 * subr.el (with-demoted-errors): Distinguish symbols from strings.
637 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
639 (comment-style): Use comment-styles's docs to describe values.
641 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
643 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
644 and ns-show-prefs (Bug#7535).
646 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
649 2010-12-03 Glenn Morris <rgm@gnu.org>
651 * nxml/nxml-mode.el: Require rng-nxml.
652 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
655 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
656 * nxml/rng-nxml.el, nxml/rng-valid.el:
657 Remove leading `*' from defcustom docs.
659 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
660 (normal-top-level-add-to-load-path, tty-handle-args):
661 Convert comments to basic doc-strings.
663 * net/browse-url.el (browse-url-url-at-point)
664 (browse-url-default-browser): Remove autoload cookies.
666 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
667 Remove more undefined cl functions.
669 * vc/diff.el (diff-sentinel): Make new arguments optional.
670 * ibuf-ext.el (diff-sentinel): Update declaration.
672 2010-12-03 Daiki Ueno <ueno@unixuser.org>
674 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
675 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
676 (epg-context-set-passphrase-callback): Mention that the callback
677 is not called when used with GnuPG 2.x.
679 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
681 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
682 (tramp-file-name-port): Check also for `tramp-default-port'.
683 (tramp-get-connection-name): New defun.
684 (tramp-get-connection-process): Use it.
685 (tramp-debug-message): Extend function exclude list.
686 (tramp-drop-volume-letter): Fix doc string.
688 * net/tramp-cmds.el: Remove solved todo item.
695 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
696 and `tramp-default-user-alist', respectively.
698 * net/tramp-gw.el (tramp-gw-open-connection):
699 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
701 * net/tramp-imap.el (tramp-imap-make-iht): Use just
702 `tramp-file-name-port'.
704 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
705 and "psftp". Exchange "%k" marker with options.
706 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
707 Compute size of link target.
708 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
709 `tramp-current-*' up due to gateway methods. Optimze computing of
710 copy arguments. Use `tramp-get-connection-name' and
711 `tramp-get-connection-buffer'. Improve debug messages.
712 (tramp-compute-multi-hops): Remove port determination.
713 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
715 * net/trampver.el: Update release number.
717 2010-12-02 Glenn Morris <rgm@gnu.org>
719 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
720 Avoid infinite loop over windows. (Bug#7492)
722 * progmodes/flymake.el (flymake-check-file-limit):
723 Allow nil to mean "no limit".
724 (flymake-check-patch-master-file-buffer): Update for above change.
725 Allow a .tex file-name extension to be optional.
726 (flymake-master-tex-init): Also match \include statements.
728 2010-11-30 Sam Steingold <sds@gnu.org>
730 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
731 (nxml-parent-document-set): A function to set `nxml-parent-document'.
732 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
733 (nxml-mode-hook): Remove `defcustom' (auto-defined by
734 define-derived-mode').
735 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
736 users who want to call `nxml-parent-document-set'.
738 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
740 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
741 stand-alone lines, since that is handled by log-edit-match-to-eoh
744 2010-11-27 Eduard Wiebe <usenet@pusto.de>
746 * dired.el (dired-get-filename): Replace backslashes with slashes
747 in file names on MS-Windows, needed by `locate'. (Bug#7308)
748 * locate.el (locate-default-make-command-line): Don't consider
749 drive letter and root directory part of
750 `directory-listing-before-filename-regexp'. (Bug#7308)
751 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
753 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
755 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
756 of :smie-open/close-alist.
757 (smie-next-sexp): Make it accept a "start token" as argument.
758 (smie-indent-keyword): Be careful not to misidentify tokens that span
759 more than one line, as empty lines. Add argument `token'.
761 2010-11-27 Kenichi Handa <handa@m17n.org>
763 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
764 multipart subtypes, insert all as usual.
766 * mail/rmail.el: Require rfc2047.
768 2010-11-27 Kenichi Handa <handa@m17n.org>
770 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
771 (rmail-mime-entity-disposition)
772 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
773 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
774 (rmail-mime-save): Handle the case that the button's `data' is a
776 (rmail-mime-insert-text): New function.
777 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
778 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
779 (rmail-mime-insert-bulk): New function mostly copied from the old
780 rmail-mime-bulk-handler.
781 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
782 (rmail-mime-process-multipart): New function mostly copied from
783 the old rmail-mime-multipart-handler.
784 (rmail-mime-show): Just call rmail-mime-process.
785 (rmail-mime-process): New function mostly copied from the old
787 (rmail-mime-insert-multipart, rmail-mime-parse)
788 (rmail-mime-insert, rmail-show-mime)
789 (rmail-insert-mime-forwarded-message)
790 (rmail-insert-mime-resent-message): New functions.
791 (rmail-insert-mime-forwarded-message-function): Set to
792 rmail-insert-mime-forwarded-message.
793 (rmail-insert-mime-resent-message-function): Set to
794 rmail-insert-mime-resent-message.
796 * mail/rmailsum.el: Require rfc2047.
797 (rmail-header-summary): Handle multiline Subject: field.
798 (rmail-summary-line-decoder): Change the default to
799 rfc2047-decode-string.
801 * mail/rmail.el (rmail-enable-mime): Change the default to t.
802 (rmail-mime-feature): Change the default to `rmailmm'.
803 (rmail-quit): Delete the specifal code for rmail-enable-mime.
804 (rmail-display-labels): Likewise.
805 (rmail-show-message-1): Check rmail-enable-mime, and use
806 rmail-show-mime-function for a MIME message. Decode the headers
807 according to RFC2047.
809 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
811 * progmodes/which-func.el (which-func-imenu-joiner-function):
812 Return a string, as expected.
813 (which-function-mode): Make sure we stop any previous timer before
816 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
818 * net/tramp.el (tramp-default-method-alist)
819 (tramp-default-user-alist, tramp-default-proxies-alist):
820 Adapt custom options type. (Bug#7445)
822 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
824 * progmodes/python.el: Add Ipython support (Bug#5390).
825 (python-shell-prompt-alist)
826 (python-shell-continuation-prompt-alist): New options.
827 (python--set-prompt-regexp): New function.
828 (inferior-python-mode, run-python, python-shell):
829 Require ansi-color. Use python--set-prompt-regexp to set the comint
830 prompt based on the Python interpreter.
831 (python--prompt-regexp): New var.
832 (python-check-comint-prompt)
833 (python-comint-output-filter-function): Use it.
834 (run-python): Use a pipe (Bug#5694).
836 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
838 * progmodes/python.el (run-python): Doc fix.
839 (python-keep-current-directory-in-path): New var (Bug#7454).
841 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
843 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
844 Prompt user before actually printing.
846 2010-11-27 Glenn Morris <rgm@gnu.org>
848 * startup.el (package-enable-at-startup, package-initialize):
849 Remove unnecessary declarations.
851 2010-11-27 Eli Zaretskii <eliz@gnu.org>
853 * international/characters.el (glyphless-char-display-control):
854 Exclude newline and TAB from the c0-control group.
856 2010-11-27 Glenn Morris <rgm@gnu.org>
858 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
859 (expand-mail-aliases): Remove unnecessary autoload.
861 * allout.el (allout-command-prefix, allout-mode-map): Declare.
863 * shell.el (shell-dir-cookie-re): Move definition before use.
865 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
866 Replace undefined CL functions.
868 2010-11-26 Eli Zaretskii <eliz@gnu.org>
870 * simple.el (prog-mode): Set bidi-paragraph-direction to
873 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
875 2010-11-26 Glenn Morris <rgm@gnu.org>
877 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
878 diary-outlook-formats can be sensitive to calendar-date-style.
879 (diary-outlook-formats): Simplify the default setting.
880 (diary-from-outlook-internal): Pass subject and body as arguments.
881 Use dolist rather than dotimes. Don't save the diary buffer.
882 (diary-from-outlook-gnus, diary-from-outlook-rmail):
883 Pass subject and body as explicit arguments to the -internal function.
885 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
887 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
888 parsing them. This makes mailto:...?subject=foo\nbar work.
890 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
892 * vc/diff.el (diff): Fix last change.
894 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
896 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
897 (pcase--dontcare-upats): New var.
898 (pcase-let, pcase-let*): Generate better code.
899 Accept the same bodies as `let'.
900 (pcase-dolist): New macro.
901 (pcase--trivial-upat-p): New helper function.
902 (pcase--expand): Strip leading "(let nil" if any.
904 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
906 * mail/mailclient.el (browse-url): Require.
907 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
908 use the external browser function to send the mail (bug#7469).
910 * net/browse-url.el (browse-url-browser-function): Revert the
911 default back to the previous value, since the new value broke
913 (browse-url-mailto-function): New variable for mailto: URLs.
914 (browse-url): Use the new variable for mailto: URLs.
916 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
918 * eshell/esh-cmd.el (eshell-parse-command):
919 * eshell/esh-arg.el (eshell-parse-arguments):
920 * eshell/em-script.el (eshell-source-file):
921 Use with-silent-modifications.
923 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
925 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
926 for a merge location.
928 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
929 (vc-bzr-merge-branch): Always prompt.
930 (vc-bzr-async-command): Use the full branch filename.
932 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
934 * shell.el (shell): Use current-buffer by default if it's already
935 a shell mode buffer and its process is dead.
936 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
938 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
940 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
941 Mention that the keywords should be comma separated.
943 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
945 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
946 Accept optional prefix arg meaning to prompt for a command.
947 (vc-update): Use vc-BACKEND-pull if available. Accept optional
948 prefix arg meaning to prompt for a command.
949 (vc-pull): Alias for vc-update.
951 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
952 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
953 (vc-bzr-merge-branch): New functions, implementing merge-branch
956 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
958 * Makefile.in: Fix up last merge.
960 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
961 (diff-sentinel): Get them as arguments instead.
962 (diff-old-file, diff-new-file, diff-extra-args): Remove.
963 (diff-file-local-copy, diff-better-file-name): New funs.
964 (diff-no-select): Rename from diff-into-buffer.
965 Support buffers additionally to files. Move `buf' arg. Don't display buf.
966 Prefer closures to buffer-local variables.
967 (diff): Adjust accordingly.
968 (diff-buffer-with-file): Move from files.el.
969 * files.el (diff-buffer-with-file): Move to vc/diff.el.
970 (diff-buffer-internal): Remove.
971 (diff-buffer-buffer): Remove.
972 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
973 the buffer name used, and so as not to mess up windows and frames.
975 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
977 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
978 (diff-buffer-internal): New function extracted from diff-buffer-with-file
979 (diff-buffer-with-file): Use it.
980 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
983 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
985 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
986 \ref's or \pageref's value as default instead of initial input.
988 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
990 * files.el (backup-by-copying-when-mismatch): The default value is
993 * startup.el (normal-top-level):
994 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
995 `backup-by-copying-when-mismatch'.
997 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
999 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
1001 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1003 * progmodes/python.el (python-font-lock-keywords):
1004 Highlight top-level augmented assignments (Bug#6445).
1006 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
1008 * term/ns-win.el (ns-right-control-modifier)
1009 (ns-right-command-modifier): Defvar them.
1011 * cus-start.el (all): Add ns-right-control-modifier and
1012 ns-right-command-modifier (Bug#7458).
1014 2010-11-20 Glenn Morris <rgm@gnu.org>
1016 * emacs-lisp/authors.el (authors-ignored-files)
1017 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
1019 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
1021 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
1022 (report-emacs-bug-parse-query-results)
1023 (report-emacs-bug-create-existing-bugs-buffer): Pass through
1024 keywords used for querying the bug database to show them in the
1025 existing bugs buffer.
1027 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
1029 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
1031 * info.el (info-tool-bar-map): Add some :vert-only keywords.
1033 2010-11-20 Eli Zaretskii <eliz@gnu.org>
1035 * international/characters.el (glyphless-char-display-control):
1036 Make it a defcustom, with update-glyphless-char-display as its
1038 (top level): Don't call update-glyphless-char-display.
1040 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
1042 Sync with Tramp 2.2.0.
1044 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
1045 `file-remote-p' (due to compatibility).
1047 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
1048 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
1050 * net/trampver.el: Update release number.
1052 2010-11-20 Eli Zaretskii <eliz@gnu.org>
1054 * faces.el (glyphless-char): Define value for `pc'.
1056 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
1058 Implemented a bug querying mechanism.
1059 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
1060 (report-emacs-bug-create-existing-bugs-buffer)
1061 (report-emacs-bug-parse-query-results)
1062 (report-emacs-bug-query-existing-bugs): New functions.
1064 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
1066 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
1067 a \ref{} or \pageref{} macro, then use its value as initial input.
1069 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
1071 * calc/calc-units.el (math-build-units-table-buffer):
1072 calc/README: Mention that the TeX specific units won't use the
1073 `tex' prefix in TeX mode.
1074 calc/calc-lang.el (math-variable-table): Don't use the `tex'
1075 prefix for units in TeX mode.
1077 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1079 * simple.el (kill-new, kill-append, kill-region):
1080 * comint.el (comint-kill-region): Make the yank-handler argument
1083 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1085 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
1086 that are both openers (resp. closers) and something else.
1087 (smie-grammar): Loosen definition of valid values.
1088 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
1089 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
1090 (smie-indent-after-keyword): Adjust users.
1091 (smie-indent-keyword): Don't indent empty lines.
1093 * vc-hg.el (vc-hg-program): New var.
1094 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
1095 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
1097 2010-11-18 Glenn Morris <rgm@gnu.org>
1099 * emacs-lisp/autoload.el (autoload-find-destination): The function
1100 coding-system-eol-type may return non-numeric values. (Bug#7414)
1102 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
1104 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
1106 2010-11-18 Eli Zaretskii <eliz@gnu.org>
1108 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
1110 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
1112 * textmodes/picture.el (picture-mouse-set-point): Don't use
1113 posn-col-row; explicitly compute the motion based on the posn at
1114 the window-start (Bug#7390).
1116 2010-11-18 Glenn Morris <rgm@gnu.org>
1118 * novice.el (disabled-command-function):
1119 Fix 2009-11-15 change. (Bug#7384)
1121 2010-11-18 Glenn Morris <rgm@gnu.org>
1123 * calendar/calendar.el (diary-iso-date-forms): Make elements
1124 mutually exclusive. (Bug#7377)
1126 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1128 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
1129 when filling the remaining "unconstrained" values.
1131 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1133 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
1136 * files.el (safe-local-variable-p): Gracefully handle errors.
1138 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
1139 Use smie-indent-virtual when indenting relative to an opener.
1140 (smie-rule-separator): Use smie-rule-parent.
1141 (smie-indent-keyword): Consult rules, even for openers at bol.
1142 (smie-indent-comment-close): Try to align closer's content.
1144 2010-11-18 Glenn Morris <rgm@gnu.org>
1146 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
1148 2010-11-18 Glenn Morris <rgm@gnu.org>
1150 * printing.el (pr-menu-bind): Doc fix.
1152 * speedbar.el (speedbar-toggle-images): Doc fix.
1154 * progmodes/python.el (python-shell): Doc fix.
1156 * wid-edit.el (widget-field-use-before-change)
1157 (widget-use-overlay-change): Doc fixes.
1159 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1161 Minor cleanup to improve style.
1162 * textmodes/rst.el (rst-update-section): Use point-marker.
1163 (rst-get-decoration): Eliminate unneeded assignment.
1164 (rst-promote-region, rst-straighten-decorations)
1165 (rst-section-tree, rst-adjust): Use point-marker.
1166 (rst-toc-mode-mouse-goto): Avoid setq.
1167 (rst-shift-region-guts, rst-shift-region-left)
1168 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
1169 (rst-convert-bullets-to-enumeration): Use copy-marker.
1171 * minibuffer.el (completion-fail-discreetly): New var.
1172 (completion--do-completion): Use it.
1174 * electric.el (electric-pair-pairs): New var.
1175 (electric-pair-post-self-insert-function): Use it.
1176 (electric-layout-post-self-insert-function): Don't insert a before
1177 newline unless it's actually needed.
1179 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1181 * progmodes/python.el (run-python): Explain why we remove the current
1182 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
1184 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
1186 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1188 * progmodes/octave-mod.el: Rely on elecric-*-modes.
1189 (octave-mode-map): Don't bind ;, SPC, and LF.
1190 (octave-auto-indent, octave-auto-newline): Remove.
1191 (electric-layout-rules): Declare.
1192 (octave-mode): Set electric-layout-rules.
1193 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
1194 (octave-reindent-then-newline-and-indent, octave-electric-semi)
1195 (octave-electric-space): Remove.
1197 * electric.el (electric-layout-mode): New minor mode.
1198 (electric--after-char-pos): New function.
1199 (electric-indent-post-self-insert-function): Use it.
1200 (electric-layout-rules): New var.
1201 (electric-layout-post-self-insert-function): New function.
1202 (electric-indent-mode): Make them interact better.
1204 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1206 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
1207 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
1208 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
1210 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
1212 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
1213 Make sure to check inside the word (Bug#6761).
1215 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
1217 * startup.el (command-line): If the cursorColor resource is set,
1218 change the cursor face-spec (Bug#7392).
1220 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
1222 The main features of the following allout.el changes are:
1223 - implement user customization for the allout key bindings
1224 - add a customization control by which the user can inhibit use of
1225 a trailing Ctrl-H, so by default it's reserved for use with
1226 describe-prefix-bindings
1227 - adapt to new version of called-interactively-p, while
1228 maintaining backwards compatibility with old version
1229 - fix hotspot navigation so i works properly with meta-modified keys
1231 * allout.el (allout-keybindings, allout-bind-keys)
1232 (allout-keybindings-binding, allout-prefixed-keybindings)
1233 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
1234 (allout-keybindings-list, allout-mode-map-adjustments)
1235 (allout-setup-mode-map): Establish allout-mode keymaps as user
1236 customizable settings, and also establish a customizable setting which
1237 regulates whether or not a trailing control-h is reserved for use with
1238 describe-prefix-bindings - and inhibit it by default, so that control-h
1239 *is* reserved for describe-prefix-bindings unless the user changes it.
1241 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
1242 and accurately between modified and unmodified events, and handle
1243 modified events more comprehensively.
1245 * allout.el (allout-substring-no-properties):
1246 Alias to use or provide version of `substring-no-properties'.
1247 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
1249 * allout.el (allout-next-single-char-property-change):
1250 Alias to use or provide version of `next-single-char-property-change'.
1251 (allout-annotate-hidden, allout-hide-by-annotation):
1252 Use `allout-next-single-char-property-change'.
1254 * allout.el (allout-select-safe-coding-system):
1255 Alias to use or provide version of `select-safe-coding-system'.
1256 (allout-toggle-subtree-encryption):
1257 Use `allout-select-safe-coding-system'.
1259 * allout.el (allout-set-buffer-multibyte):
1260 Alias to use or provide version of `set-buffer-multibyte'.
1261 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
1263 * allout.el (allout-called-interactively-p): Macro for using the
1264 different versions of called-interactively-p identically, depending on
1265 the subroutine's argument signature.
1266 (allout-back-to-current-heading, allout-beginning-of-current-entry):
1267 Use `(interactive "p")' instead of `(called-interactively-p)'.
1269 * allout.el (allout-init, allout-ascend, allout-end-of-level)
1270 (allout-previous-visible-heading, allout-forward-current-level)
1271 (allout-backward-current-level, allout-show-children):
1272 Use `allout-called-interactively-p' instead of `called-interactively-p'.
1274 * allout.el (allout-before-change-handler):
1275 Exempt edits to the (overlaid) character after the allout outline
1276 bullet from edit confirmation prompt.
1278 * allout.el (allout-add-resumptions):
1279 Ensure that it respects correct buffer for keybindings.
1281 * allout.el (allout-beginning-of-line):
1282 Use `allout-previous-single-char-property-change' alias for the sake of
1283 diverse compatibility.
1285 * allout.el (allout-end-of-line):
1286 Use `allout-mark-active-p' to encapsulate respect for mark activity.
1288 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
1290 * frame.el (frame-notice-user-settings): Don't clobber other
1291 user-set parameters when calling face-set-after-frame-default in
1292 response to background-color parameter (Bug#7373).
1294 2010-11-13 Eli Zaretskii <eliz@gnu.org>
1296 * international/characters.el (glyphless-char-display-control):
1297 Rename from glyphless-char-control; all users changed. Doc fix.
1298 Signal an error if display method is not one of the recognized
1301 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
1303 * net/tramp-compat.el (tramp-compat-line-beginning-position)
1304 (tramp-compat-line-end-position): Remove them.
1306 * net/tramp.el (tramp-parse-rhosts-group)
1307 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
1308 (tramp-parse-hosts-group, tramp-parse-passwd-group)
1309 (tramp-parse-netrc-group, tramp-parse-putty-group)
1310 * net/tramp-cmds.el (tramp-append-tramp-buffers)
1311 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
1312 (tramp-sh-handle-file-selinux-context)
1313 (tramp-sh-handle-file-name-all-completions)
1314 (tramp-sh-handle-insert-directory)
1315 (tramp-sh-handle-expand-file-name, tramp-find-executable)
1316 (tramp-wait-for-output, tramp-send-command-and-read)
1317 * net/tramp-smb.el (tramp-smb-read-file-entry)
1318 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
1320 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
1322 (tramp-remote-coding-commands): Add an alternative using "base64
1323 -d -i". This is needed for older base64 versions from GNU
1324 coreutils. Reported by Klaus Reichl
1325 <Klaus.Reichl@thalesgroup.com>.
1327 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
1329 * simple.el (count-words-region): New function.
1331 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1333 * shell.el (shell-dir-cookie-re): New custom variable.
1334 (shell-dir-cookie-watcher): New function.
1336 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
1337 and compilation-mode (bug#7350).
1339 * vc/smerge-mode.el (smerge-refine): Choose better default part to
1340 highlight when one of them is empty.
1342 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
1344 (skeleton-newline): New function.
1345 (skeleton-internal-1): Use it.
1347 * simple.el (open-line): `newline' may strip trailing space.
1349 2010-11-12 Kevin Ryde <user42@zip.com.au>
1351 * international/mule-cmds.el (princ-list): Use mapc.
1353 2010-11-12 Glenn Morris <rgm@gnu.org>
1355 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
1356 Use it to replace all instances of "*Compile-Log*"
1358 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1360 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
1363 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1365 * progmodes/modula2.el: Use SMIE and skeleton.
1366 (m2-mode-syntax-table): (*..*) can be nested.
1367 Add //...\n. Fix paren syntax.
1368 (m2-mode-map): Remove LF and TAB bindings.
1369 (m2-indent): Add safety property.
1370 (m2-smie-grammar): New var.
1371 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
1372 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
1373 (m2-mode): Use define-derived-mode.
1374 (m2-newline, m2-tab): Remove.
1375 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
1376 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
1377 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
1378 (m2-import): Use define-skeleton.
1380 2010-11-11 Glenn Morris <rgm@gnu.org>
1382 * obsolete/lucid.el: Don't warn about any CL functions in this file.
1384 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
1385 (ls-lisp-verbosity): Add custom :set-after property.
1386 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
1387 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
1388 (ls-lisp-insert-directory): Update caller.
1389 (ls-lisp-set-options): New function.
1390 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
1393 * play/landmark.el (lm-prompt-for-move):
1394 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
1396 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
1398 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
1399 (idlwave-study-twins): Prefix dynamic local variable `name'.
1400 (idlwave-routine-twin-compare): Update for above change.
1402 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
1403 Prefix dynamic local variables `name', `kwd', and `link'.
1404 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
1405 * progmodes/idlw-complete-structtag.el
1406 (idlwave-complete-structure-tag-help):
1407 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
1408 (idlwave-complete-sysvar-tag-help)
1409 (idlwave-complete-class-structure-tag-help):
1410 Update for above name changes.
1412 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1414 * net/browse-url.el (browse-url-browser-function): Change the
1415 default to use `browse-url-mail' on mailto: URLs.
1417 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
1419 * emacs-lisp/package.el (package-read-all-archive-contents):
1420 Reset package-archive-contents to nil before re-reading.
1422 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
1424 * textmodes/flyspell.el (flyspell-word): Do not re-check words
1425 already found as misspellings by (flyspell-large-region), just
1426 do highlighting (bug#7322).
1428 2010-11-10 Glenn Morris <rgm@gnu.org>
1430 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
1432 * emulation/edt.el (edt-with-position): New macro.
1433 (edt-find-forward, edt-find-backward, edt-find-next-forward)
1434 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
1435 (edt-paragraph-forward, edt-paragraph-backward): Use it.
1437 * emulation/tpu-extras.el (tpu-with-position): New macro.
1438 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
1440 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
1442 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
1443 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
1444 (texinfo-master-menu, texinfo-insert-node-lines)
1445 (texinfo-multiple-files-update):
1446 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
1447 Use line-beginning-position.
1449 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
1450 No recent Emacs supports system-type `emx'.
1452 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
1453 (ada-command-separator, ada-default-prj-properties)
1454 (ada-find-any-references): Update for above name change.
1456 * dirtrack.el (dirtrack-directory-function)
1457 (dirtrack-canonicalize-function):
1458 * filecache.el (file-cache-completion-ignore-case)
1459 (file-cache-case-fold-search, file-cache-ignore-case):
1460 * term.el (serial-port-is-file-p): Cosmetic change.
1462 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
1463 Remove non-existent `windows-95' system-type.
1464 * dired.el (dired-chown-program): Remove non-existent `linux'
1467 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
1468 (ping-program-options): Remove non-existent `linux' system-type.
1470 * startup.el (package-initialize): Update declaration.
1472 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
1473 (ls-lisp-handle-switches): Use time-less-p.
1474 (ls-lisp-format-time): Use float-time.
1476 * textmodes/remember.el (remember-time-to-seconds): Remove.
1477 (remember-store-in-mailbox): Use float-time.
1479 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
1481 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
1482 never a real function.
1483 (with-no-warnings): Remove compat stub, now unused.
1484 (time-less-p): Doc fix.
1485 (time-to-number-of-days): Simplify.
1487 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
1489 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
1490 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
1491 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
1492 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
1493 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
1495 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
1496 (eshell-shuffle-files, eshell-shorthand-tar-command)
1497 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
1498 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
1499 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
1500 Prefix dynamic local variable `matches'.
1502 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
1503 Prefix dynamic local variable `skeleton'.
1505 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
1507 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
1508 in mail buffer; make yank-action always a command that yanks original
1511 2010-11-09 Glenn Morris <rgm@gnu.org>
1513 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
1515 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1517 * minibuffer.el (minibuffer-completion-help): Specify the end of the
1518 completion field (bug#7211).
1520 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
1521 Fix handling of backslash escapes.
1522 (python-quote-syntax): Adjust accordingly.
1524 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
1526 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
1527 (vc-mtn-workfile-branch): Adjust to new output format.
1529 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1531 * international/mule-cmds.el (princ-list): Mark as obsolete.
1533 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1535 * emacs-lisp/smie.el: New package.
1537 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
1539 * files.el (backup-by-copying-when-mismatch):
1540 Set `permanent-local' property.
1542 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
1543 `permanent-local' property for `backup-by-copying-when-mismatch'.
1545 2010-11-09 Eli Zaretskii <eliz@gnu.org>
1547 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
1549 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
1551 * progmodes/verilog-mode.el (verilog-insert-one-definition)
1552 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
1553 AUTOINOUT for SV style multidimensional arrays, bug294.
1554 Reported by Eric Mastromarchi.
1555 (verilog-preprocess): Use with-current-buffer and
1556 font-lock-fontify-buffer to cleanup style issues.
1558 2010-11-09 Glenn Morris <rgm@gnu.org>
1560 * locate.el (locate, locate-mode): Doc fixes.
1562 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
1564 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
1565 user for confirmation.
1566 (server-force-stop): Use it.
1567 (server-start): Use server-force-stop for kill-emacs-hook, to
1568 avoid user interaction while killing Emacs.
1570 2010-11-09 Glenn Morris <rgm@gnu.org>
1572 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
1573 (meta-indent-line): Simplify.
1575 * vc/emerge.el (emerge-line-number-in-buf):
1576 * textmodes/ispell.el (ispell-region):
1577 * textmodes/fill.el (current-fill-column):
1578 * progmodes/xscheme.el (xscheme-send-current-line):
1579 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
1580 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
1581 * progmodes/sh-script.el (sh-handle-prev-do):
1582 * progmodes/meta-mode.el (meta-indent-line):
1583 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
1585 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
1586 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
1587 * progmodes/fortran.el (fortran-looking-at-if-then):
1588 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
1589 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
1590 (cperl-find-pods-heres):
1591 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
1592 * net/quickurl.el (quickurl-list-insert):
1593 * net/ldap.el (ldap-search-internal):
1594 * net/eudc.el (eudc-expand-inline):
1595 * mail/sendmail.el (sendmail-send-it):
1596 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
1597 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
1598 (viper-brac-function):
1599 * calc/calc-yank.el (calc-do-grab-region):
1600 * calc/calc-keypd.el (calc-keypad-press):
1601 * term.el (term-move-columns, term-insert-spaces):
1602 * speedbar.el (speedbar-highlight-one-tag-line):
1603 * simple.el (current-word):
1604 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
1605 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
1607 * hippie-exp.el (he-line-beg):
1608 * epa.el (epa--marked-keys):
1609 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
1610 (dired-update-file-line, dired-add-entry, dired-remove-entry)
1611 (dired-relist-entry):
1612 * buff-menu.el (Buffer-menu-buffer):
1613 * array.el (current-line):
1614 * allout.el (allout-resolve-xref)
1615 (allout-latex-verbatim-quote-curr-line):
1616 Replace yet more uses of end-of-line etc with line-end-position, etc.
1618 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1620 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
1621 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
1622 (checkdoc-syntax-table): Initialize in the declaration.
1623 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
1624 the mode on unconditionally.
1626 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
1627 (extent-end-position, extent-start-position): Remove setf method for
1628 non-existing functions (bug#7319).
1630 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1632 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
1633 (smie-precs->prec2): Rename from smie-precs-precedence-table.
1634 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
1635 (smie-prec2->grammar): Rename from smie-prec2-levels.
1636 (smie-grammar): Rename from smie-op-levels.
1637 (smie-indent--hanging-p): Rename from smie-hanging-p.
1638 (smie-rule-hanging-p): New alias.
1639 (smie-indent--bolp): Rename from smie-bolp.
1640 (smie-indent--hanging-p): New alias.
1641 (smie--token): New dynamically bound variable.
1642 (smie-indent--parent): New function.
1643 (smie-rule-parent-p): Use it; rename from smie-parent-p.
1644 (smie-rule-next-p): Rename from smie-next-p.
1645 (smie-rule-prev-p): Rename from smie-prev-p.
1646 (smie-rule-sibling-p, smie-rule-parent)
1647 (smie-indent--separator-outdent, smie-rule-separator): New functions.
1648 (smie-rule-separator-outdent): New var.
1649 (smie-indent--rule): Merge with smie-indent--column.
1650 (smie-indent-forward-token, smie-indent-backward-token):
1651 Also recognize close parens.
1652 (smie-indent-keyword): Don't use smie-indent--column any more.
1653 (smie-indent-after-keyword): Ignore closers by default.
1654 (smie-indent-line): Use with-demoted-errors.
1655 * progmodes/octave-mod.el (octave-smie-grammar):
1656 Rename from octave-smie-op-levels.
1657 (octave-smie-rules): Adjust to new behavior.
1658 * progmodes/prolog.el (prolog-smie-grammar):
1659 Rename from prolog-smie-op-levels.
1661 2010-11-07 Glenn Morris <rgm@gnu.org>
1663 * eshell/esh-util.el (subst-char-in-string)
1664 (directory-files-and-attributes): These compatibility definitions are
1665 not needed on any version of Emacs since at least 21.4.
1667 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
1668 (verilog-get-end-of-line): Remove.
1669 (verilog-within-string, verilog-re-search-forward-substr)
1670 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
1671 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
1672 Use point-at-bol, point-at-eol.
1673 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
1675 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
1676 (electric-pascal-terminate-line, pascal-set-auto-comments)
1677 (pascal-indent-paramlist, pascal-indent-declaration)
1678 (pascal-get-lineup-indent, pascal-func-completion)
1679 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
1680 Use point-at-bol, point-at-eol.
1681 * progmodes/flymake.el (flymake-line-beginning-position)
1682 (flymake-line-end-position): Remove.
1683 (flymake-highlight-line): Use point-at-bol, point-at-eol.
1684 * eshell/esh-util.el (line-end-position, line-beginning-position):
1685 Remove compat definitions.
1687 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1689 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
1690 Use line-end-position.
1692 * emacs-lisp/chart.el (chart-zap-chars):
1693 * play/decipher.el (decipher-set-map):
1694 * progmodes/ada-mode.el (ada-get-current-indent)
1695 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
1696 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
1697 * progmodes/ada-xref.el (ada-initialize-runtime-library)
1698 (ada-get-all-references):
1699 * progmodes/cperl-mode.el (cperl-electric-paren)
1700 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
1701 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
1702 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
1703 (cperl-word-at-point-hard):
1704 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
1705 (idlwave-shell-filename-string, idlwave-shell-batch-command)
1706 (idlwave-shell-display-line):
1707 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
1708 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
1709 * progmodes/js.el (js--re-search-forward-inner)
1710 (js--re-search-backward-inner):
1711 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
1712 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
1713 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
1714 * textmodes/flyspell.el (flyspell-process-localwords):
1715 * textmodes/ispell.el (ispell-buffer-local-parsing)
1716 (ispell-buffer-local-dict, ispell-buffer-local-words):
1717 Use point-at-bol and point-at-eol.
1719 * speedbar.el (speedbar-generic-item-info)
1720 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
1721 (speedbar-add-indicator, speedbar-check-vc-this-line)
1722 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
1723 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
1724 Replace more uses of end-of-line etc with line-end-position.
1726 2010-11-06 Glenn Morris <rgm@gnu.org>
1728 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
1729 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
1730 (texinfo-delete-existing-pointers, texinfo-find-pointer)
1731 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
1732 (texinfo-multiple-files-update):
1733 * textmodes/table.el (table--probe-cell-left-up)
1734 (table--probe-cell-right-bottom):
1735 * textmodes/picture.el (picture-tab-search):
1736 * textmodes/page-ext.el (pages-copy-header-and-position)
1737 (pages-directory-for-addresses):
1738 * progmodes/vera-mode.el (vera-get-offset):
1739 * progmodes/simula.el (simula-calculate-indent):
1740 * progmodes/python.el (python-pdbtrack-overlay-arrow):
1741 * progmodes/prolog.el (end-of-prolog-clause):
1742 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
1743 * progmodes/icon.el (indent-icon-exp):
1744 * progmodes/etags.el (tag-re-match-p):
1745 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
1746 * progmodes/ebnf2ps.el (ebnf-begin-file):
1747 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
1748 (dcl-save-local-variable):
1749 * play/life.el (life-setup):
1750 * play/gametree.el (gametree-looking-at-ply):
1751 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
1752 * mail/sendmail.el (mail-mode-auto-fill):
1753 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
1754 * emacs-lisp/edebug.el (edebug-overlay-arrow):
1755 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
1756 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
1757 (woman-tab-to-tab-stop, WoMan-warn-ignored):
1758 * type-break.el (type-break-file-keystroke-count):
1759 * term.el (term-replace-by-expanded-history-before-point)
1760 (term-skip-prompt, term-extract-string):
1761 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
1762 (speedbar-contract-line, speedbar-toggle-line-expansion)
1763 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
1764 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
1765 * sort.el (sort-skip-fields):
1766 * skeleton.el (skeleton-internal-list):
1767 * simple.el (line-move-finish, line-move-to-column):
1768 * shell.el (shell-forward-command):
1769 * misc.el (copy-from-above-command):
1770 * makesum.el (double-column):
1771 * ebuff-menu.el (electric-buffer-update-highlight):
1772 * dired.el (dired-move-to-end-of-filename):
1773 * dframe.el (dframe-popup-kludge):
1774 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
1775 * arc-mode.el (archive-get-lineno):
1776 Use line-end-position and line-beginning-position.
1778 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
1779 (idlwave-study-twins): Prefix dynamic local `class'.
1780 (idlwave-routine-twin-compare): Update for above name change.
1782 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
1783 Use boundp tests to silence compiler. Update for changed name of
1784 bytecomp-filename variable.
1786 * emulation/viper-cmd.el (viper-read-string-with-history):
1787 Prefix dynamic local `initial'.
1788 (viper-minibuffer-standard-hook): Update for above name change.
1790 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
1791 (elint-init-form): Update for above name change.
1793 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
1794 local variables `cbeg' and `cend' a prefix.
1795 (mail-extr-voodoo): Update for above name change.
1797 * textmodes/reftex-toc.el (reftex-toc-do-promote)
1798 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
1799 (reftex-toc-promote-action): Doc fix.
1801 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
1802 `prompt', `data' a prefix.
1803 (reftex-select-post-command-hook, reftex-select-callback)
1804 (reftex-select-mouse-accept, reftex-select-read-cite):
1805 Update for above name changes.
1807 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
1808 `refstyle' to reftex-refstyle.
1809 (reftex-offer-label-menu): Update for above name change.
1810 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
1811 `refstyle' name change.
1813 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
1814 with with-current-buffer.
1815 (diff, template): Give dynamic local variables a prefix.
1816 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
1817 (emerge-line-number-in-buf): Update for above name change.
1818 (emerge-combine-versions-internal): Rename local `template' to
1819 emerge-combine-template.
1820 (emerge-combine-versions-edit): Update for above name change.
1822 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
1824 * textmodes/reftex-cite.el
1825 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
1826 entries with whitespace after \bibitem.
1827 (reftex-create-bibtex-file): Match entries containing numbers and
1828 symbol constituents. Make sure that entries with whitespace at
1829 various places are found.
1831 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
1833 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
1835 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
1837 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
1839 2010-11-05 Glenn Morris <rgm@gnu.org>
1841 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
1842 (woman2-roff-buffer): Give local variable `request' a prefix.
1843 (woman0-macro): Rename argument `request' in the same way.
1844 (woman-request): New name for `request' dynamic variable.
1845 (woman-unquote, woman-forward-arg): Update for above name change.
1846 (woman1-roff-buffer): Give local variable `unquote' a prefix.
1847 (woman1-unquote): New name for `unquote' dynamic variable.
1848 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
1849 (woman-translations): Rename from `translations'. No longer global.
1850 (woman2-tr, woman-translate): Update for above name change.
1851 (woman-translate): Check for bound variable.
1852 (woman2-roff-buffer): Give local variable `translations' a prefix.
1854 * play/doctor.el: Give all local variables a prefix. Update callers.
1855 (doc$, doctor-put-meaning): Use backquote.
1857 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
1858 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
1860 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
1861 variables bytes, ptr, op a prefix.
1862 (disassemble-offset): Update for above change.
1864 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
1866 * emacs-lisp/package.el (package-unpack): Remove no-op.
1867 (package--builtins, package--dir): Doc fix.
1868 (package-activate-1, package-activate, package-install)
1869 (package-compute-transaction): Fix error message.
1870 (package-delete): Use delete-directory. Omit system packages.
1871 (package-initialize): Set package-alist to nil first.
1872 (package-menu-mark-delete, package-menu-mark-install): Don't add
1873 symbols that are inconsistent with the package state.
1874 (package-menu-execute): Perform deletions and installations as
1875 single batch operations.
1877 2010-11-03 Glenn Morris <rgm@gnu.org>
1879 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
1880 (props): Remove unnecessary declaration.
1882 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
1883 set-process-query-on-exit-flag.
1885 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
1886 (reftex-toc-do-promote): Remove unused local `mpos'.
1887 (reftex-toc-restore-region): Make `mpos' local to this function.
1889 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
1891 * play/landmark.el (lm-losing-threshold): Correct spelling.
1892 (lm-human-plays): Use new name.
1894 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
1895 (gomoku-human-plays): Use new name.
1897 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
1898 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
1899 (gomoku-score-trans-table, gomoku-winning-threshold)
1900 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
1902 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
1904 * emacs-lisp/package.el: Don't put built-in packages in
1905 package-alist, to avoid loading inefficiencies.
1906 (package-built-in-p): Make VERSION optional, and treat it as a
1907 minimum acceptable version.
1908 (package-activate): Search separately for built-in packages.
1909 Emit a warning if a dependency fails.
1910 (define-package): Handle most common case, where there is no
1911 obsolete package, first.
1912 (package-compute-transaction): Print required version in error.
1913 (package--initialized): New variable.
1914 (list-packages): Use it.
1915 (package-initialize): Optional arg NO-ACTIVATE. Don't put
1916 built-in packages in packages-alist; keep it separate.
1917 Set package--initialized.
1918 (describe-package): Avoid activating packages as a side-effect.
1919 Search separately for built-in packages.
1920 (describe-package-1): Handle the case where an elpa package is
1921 simultaneously built-in and available/installed.
1922 (package-installed-p, package--generate-package-list):
1923 Search separately for built-in packages.
1924 (package-load-descriptor): Doc fix.
1926 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1928 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1929 Handle __DATA__ and __END__.
1931 2010-11-02 Noah Friedman <friedman@splode.com>
1933 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
1934 nil, do not ask to recompile files that are not already compiled,
1935 and do not recompile them.
1937 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
1939 * emacs-lisp/package.el (package-initialize): Ensure that
1940 obsoleted built-in packages are not in package-activated-list
1942 (describe-package-1): Make the "installed" status override
1945 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1947 * subr.el (version-separator, version-regexp-alist): Remove '*'
1949 (version-list-<=, version<=, version=): Doc fix.
1951 2010-11-01 Kenichi Handa <handa@m17n.org>
1953 * faces.el (glyphless-char): Inherit underline for tty.
1955 2010-11-01 Kenichi Handa <handa@m17n.org>
1957 Implement various display methods for glyphless characters.
1959 * international/characters.el (char-acronym-table): New variable.
1960 (glyphless-char-control): New variable.
1961 (update-glyphless-char-display): New funciton.
1963 * faces.el (glyphless-char): New face.
1965 2010-11-01 Glenn Morris <rgm@gnu.org>
1967 * calendar/holidays.el (general-holidays, oriental-holidays)
1968 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
1969 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
1970 the definitions of their targets.
1972 * emacs-lisp/smie.el (smie): New custom group.
1973 (smie-blink-matching-inners, smie-indent-basic): Add :group.
1975 * faces.el (xw-defined-colors, x-setup-function-keys):
1976 * mouse-sel.el (x-select-text):
1977 * term/w32console.el (x-setup-function-keys): Update declarations.
1979 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
1981 * textmodes/ispell.el (comment-add): Declare.
1983 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
1986 * info.el (finder-keywords-hash, package-alist): Declare.
1988 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
1990 * finder.el (finder-compile-keywords): Don't use intern-soft,
1991 since package names may not yet exist in the obarray.
1993 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
1995 * vc/vc-arch.el (vc-arch-checkin):
1996 * vc/vc-cvs.el (vc-cvs-checkin):
1997 * vc/vc-mtn.el (vc-mtn-checkin):
1998 * vc/vc-rcs.el (vc-rcs-checkin):
1999 * vc/vc-sccs.el (vc-sccs-checkin):
2000 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
2001 since 2010-04-21 commit by Stefan Monnier.
2003 2010-11-01 Glenn Morris <rgm@gnu.org>
2005 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
2007 * startup.el (package-enable-at-startup, package-initialize):
2010 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
2013 2010-10-31 Julien Danjou <julien@danjou.info>
2015 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
2016 (byte-recompile-directory):
2017 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
2018 Use `byte-recompile-file'.
2020 2010-10-31 Glenn Morris <rgm@gnu.org>
2022 * cus-start.el: Handle standard values via a keyword.
2023 Only set version property if specified.
2024 (cursor-in-non-selected-windows, menu-bar-mode)
2025 (tool-bar-mode, show-trailing-whitespace):
2026 Do not specify standard values.
2027 (transient-mark-mode, temporary-file-directory): Use :standard.
2029 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
2031 * term/x-win.el (x-get-selection-value): New function that gets
2032 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
2034 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
2036 * net/tramp.el (tramp-handle-insert-file-contents): For root,
2037 preserve owner and group when editing files. (Bug#7289)
2039 2010-10-31 Glenn Morris <rgm@gnu.org>
2041 * speedbar.el (speedbar-mode):
2042 * play/fortune.el (fortune-in-buffer, fortune):
2043 * play/gomoku.el (gomoku-mode):
2044 * play/landmark.el (lm-mode):
2045 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
2046 Replace inappropriate uses of toggle-read-only. (Bug#7292)
2048 * select.el (x-selection): Mark it as an obsolete alias.
2050 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2052 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
2053 major-mode (bug#7284).
2055 2010-10-31 Glenn Morris <rgm@gnu.org>
2057 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
2058 rather than just an unused variable that inherits from the real one.
2060 2010-10-31 Alan Mackenzie <acm@muc.de>
2062 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
2063 This fixes bug #7185.
2065 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
2067 * startup.el (command-line): Search for package directories, and
2068 don't load package.el if none are found.
2070 * emacs-lisp/package.el (describe-package, list-packages):
2071 Call package-initialize if it has not been called yet.
2073 2010-10-30 Alan Mackenzie <acm@muc.de>
2075 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
2076 which fontifies the tail of an enum.
2077 (c-basic-matchers-after): Insert a call to the above new function.
2078 This fixes bug #7264.
2080 2010-10-30 Glenn Morris <rgm@gnu.org>
2082 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
2083 tool-bar-mode, transient-mark-mode. (Bug#7306)
2084 Include the :set property in the dumped Emacs.
2086 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2088 SMIE: change indent rules format, improve smie-setup.
2089 * emacs-lisp/smie.el (smie-precs-precedence-table)
2090 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
2091 Mark them pure so the tables gets built at compile time.
2092 (smie-bnf-precedence-table): Store the closer-alist in the table.
2093 (smie-prec2-levels): Preserve the closer-alist.
2094 (smie-blink-matching-open): Be more forgiving in case of indentation.
2095 (smie-hanging-p): Rename from smie-indent--hanging-p.
2096 (smie-bolp): Rename from smie-indent--bolp.
2097 (smie--parent, smie--after): New dynamic vars.
2098 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
2099 (smie-indent-rules): Remove.
2100 (smie-indent--offset-rule): Remove fun.
2101 (smie-rules-function): New var.
2102 (smie-indent--rule): New fun.
2103 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
2104 (smie-indent-exps): Use it.
2105 (smie-setup): Setup paren blinking; add keyword args for token
2106 functions; extract closer-alist from op-levels.
2107 (smie-indent-debug-log): Remove var.
2108 (smie-indent-debug): Remove fun.
2109 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
2110 (prolog-smie-rules): New fun to replace it.
2111 (prolog-mode-variables): Simplify.
2112 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
2113 it's setup automatically.
2114 (octave-smie-indent-rules): Remove.
2115 (octave-smie-rules): New fun to replace it.
2116 (octave-mode): Simplify.
2118 2010-10-29 Glenn Morris <rgm@gnu.org>
2120 * files.el (temporary-file-directory): Remove (already defined in C).
2121 * cus-start.el: Add temporary-file-directory.
2123 * abbrev.el (abbrev-mode):
2124 * composite.el (auto-composition-mode):
2125 * menu-bar.el (menu-bar-mode):
2126 * simple.el (transient-mark-mode):
2127 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
2128 that they do not define the associated variables twice.
2129 * simple.el (transient-mark-mode): Remove defvar.
2130 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
2131 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
2132 Handle multiple groups, and also custom-delayed-init-variables.
2133 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2135 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2137 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
2138 (pcase-if): Add one minor optimization.
2139 (pcase-split-equal): Rename from pcase-split-eq.
2140 (pcase-split-member): Rename from pcase-split-memq.
2141 (pcase-u1): Add strings to the member optimization.
2142 Add `guard' variant of predicates.
2143 (pcase-q1): Add string patterns.
2145 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2147 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
2149 2010-10-28 Glenn Morris <rgm@gnu.org>
2151 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2152 Move menu-bar related settings to ../menu-bar.el.
2153 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2154 Move ns-specific settings here from term/ns-win.el.
2156 * simple.el (x-selection-owner-p): Remove unused declaration.
2158 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2160 * minibuffer.el (completion-cycling): New var (bug#7266).
2161 (minibuffer-complete, completion--do-completion):
2162 Use completion--flush-all-sorted-completions.
2163 (minibuffer-complete): Only cycle if completion-cycling is set.
2164 (completion--flush-all-sorted-completions): Unset completion-cycling.
2165 (minibuffer-force-complete): Set completion-cycling.
2166 (completion-all-sorted-completions): Move declaration before first use.
2168 2010-10-28 Leo <sdl.web@gmail.com>
2170 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
2171 which changes the order of matches seen by users (bug#7231).
2173 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
2175 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2176 Don't confuse -omega as "-o mega".
2178 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
2180 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
2181 (log-edit-author): New dynamic var.
2182 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
2183 to return the author if different from committer.
2184 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
2186 * play/landmark.el: Adjust commenting convention.
2187 (lm-nil-score): Rename from nil-score.
2188 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
2189 (OOOOscore): Move into a let in lm-score-trans-table.
2190 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
2192 * electric.el (electric-indent-chars): Autoload.
2193 * progmodes/octave-mod.el (octave-mode):
2194 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
2195 (ruby-mode-abbrev-table): Merge initialization and declaration.
2197 2010-10-27 Glenn Morris <rgm@gnu.org>
2199 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
2202 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
2204 * term/ns-win.el: Restore require of cl when compiling.
2205 (menu-bar-final-items): Remove non-existent `windows' menu.
2206 (ns-handle-nxopen): Optionally handle the temp-case.
2207 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
2208 (ns-insert-file, ns-find-file): Use `pop'.
2210 2010-10-26 Glenn Morris <rgm@gnu.org>
2212 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
2214 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
2216 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
2218 * term/common-win.el (x-setup-function-keys): Remove most of the
2219 keymappings. Comment on the remaining ones.
2221 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
2223 * server.el (server-port): New option. (Bug#854)
2224 (server-start): Use server-port.
2226 2010-10-26 Glenn Morris <rgm@gnu.org>
2228 * term/ns-win.el (ns-version-string): Remove unused declaration.
2229 (ns-invocation-args): Change to x-invocation-args.
2230 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
2231 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
2232 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
2233 Use x-invocation-args instead of ns-invocation-args.
2234 (ns-initialize-window-system, handle-args-function-alist):
2235 Use x-handle-args instead of ns-handle-args.
2236 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
2237 * startup.el (command-line-ns-option-alist): Replace
2238 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
2239 ns-handle-iconic with the x- equivalents.
2241 * term/common-win.el (x-select-enable-clipboard):
2242 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
2244 * term/ns-win.el: No need to require cl when compiling.
2245 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
2246 (xw-defined-colors): Use the common-win definitions.
2247 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
2248 (ns-handle-iconic): Make it an alias for x-handle-iconic.
2249 * term/common-win.el (x-select-text, x-alternatives-map)
2250 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
2251 * loadup.el [ns]: Load common-win.
2253 2010-10-26 Daiki Ueno <ueno@unixuser.org>
2255 * epa-mail.el (epa-mail-encrypt): Handle local-part only
2256 recipients; expand mail aliases (Bug#7280).
2258 2010-10-25 Glenn Morris <rgm@gnu.org>
2260 * term/common-win.el (x-handle-switch): Simplify with pop.
2261 Optionally handle numeric switches.
2262 (x-handle-numeric-switch): Just call x-handle-switch.
2263 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
2264 (x-handle-name-switch, x-handle-display, x-handle-args):
2267 * term/ns-win.el: Do not require easymenu.
2268 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
2269 <spell>: Move adjustments to menu-bar.el.
2270 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
2271 <separator-undo, spell>: Move ns-win's adjustments here.
2272 * loadup.el [ns]: Do not load easymenu.
2274 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2276 * image.el (image-checkbox-checked, image-checkbox-unchecked):
2279 * startup.el (fancy-startup-tail): Instead of using inline images,
2280 refer to image files from etc/.
2282 * wid-edit.el (checkbox): Likewise.
2283 (widget-image-find): Center image specs.
2285 2010-10-24 Glenn Morris <rgm@gnu.org>
2287 * term/ns-win.el (x-select-text): Doc fix.
2288 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
2289 (x-select-text): Move to term/common-win.
2290 * term/w32-win.el (xw-defined-colors): Move to common-win.
2291 * term/x-win.el (xw-defined-colors, x-alternatives-map)
2292 (x-setup-function-keys, x-select-text): Move to common-win.
2293 * term/common-win.el (x-select-text, x-alternatives-map)
2294 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
2297 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
2299 * net/mairix.el (mairix-searches-mode-map):
2300 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
2302 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
2304 * verilog-mode.el (verilog-directive-re): Make this variable
2305 auto-built for efficiency of execution and updating.
2306 (verilog-extended-complete-re): Support 'pure' fucntion & task
2307 declarations (these have no bodies).
2308 (verilog-beg-of-statement): General cleanup to enable support of
2309 'pure' fucntion & task declarations (these have no bodies).
2310 These efforts together fix Verilog bug210 from veripool; which was also
2311 noticed by Steve Pearlmutter.
2312 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
2313 (verilog-directive-nest-re, verilog-set-auto-endcomments):
2314 Support `elsif. Reported by Shankar Giri.
2315 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
2316 attribute handling for lining up declarations and assignments.
2317 (verilog-beg-of-statement-1): Fix issue where continued declaration
2318 is indented differently if it is after a begin..end clock.
2319 (verilog-in-attribute-p, verilog-skip-backward-comments)
2320 (verilog-skip-forward-comment-p): Support proper treatment of
2321 attributes by indent code. Reported by Jeff Steele.
2322 (verilog-in-directive-p): Fix comment to correctly describe function.
2323 (verilog-backward-up-list, verilog-in-struct-region-p)
2324 (verilog-backward-token, verilog-in-struct-p)
2325 (verilog-in-coverage-p, verilog-do-indent)
2326 (verilog-pretty-declarations): Use verilog-backward-up-list as
2327 wrapper around backward-up-list inorder to properly skip comments.
2328 Reported by David Rogoff.
2329 (verilog-property-re, verilog-endcomment-reason-re)
2330 (verilog-beg-of-statement, verilog-set-auto-endcomments)
2331 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
2332 of if). Reported by Max Bjurling and
2333 (verilog-calc-1): Fix for clocking block in modport
2334 declaration. Reported by Brian Hunter.
2336 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
2338 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
2339 (verilog-gate-keywords, verilog-read-sub-decls)
2340 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
2341 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
2342 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
2343 (verilog-read-decls): Fix spaces in V2K module parameters causing
2344 mis-identification as interfaces, bug287.
2345 (verilog-read-decls): Fix not treating "parameter string" as a
2346 parameter in AUTOINSTPARAM.
2347 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
2348 treating `elsif similar to `endif inside AUTOSENSE.
2349 (verilog-do-indent): Implement correct automatic or static task or
2350 function end comment highlight. Reported by Steve Pearlmutter.
2351 (verilog-font-lock-keywords-2): Fix highlighting of single
2352 character pins, bug264. Reported by Michael Laajanen.
2353 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
2354 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
2355 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
2356 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
2357 (verilog-pretty-expr): Fix interactive arguments, bug272.
2358 Reported by Mark Johnson.
2359 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
2360 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
2361 bug269. Suggested by Gary Delp.
2362 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
2363 (verilog-preprocessor, verilog-set-compile-command):
2364 Create verilog-preprocess and verilog-preprocessor to show
2365 preprocessed output.
2366 (verilog-get-beg-of-line, verilog-get-end-of-line)
2367 (verilog-modi-file-or-buffer, verilog-modi-name)
2368 (verilog-modi-point, verilog-within-string): Move defmacro's
2369 before first use to avoid warning. Reported by Steve Pearlmutter.
2370 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
2371 (verilog-colorize-region, verilog-highlight-buffer)
2372 (verilog-highlight-includes, verilog-highlight-modules)
2373 (verilog-highlight-region, verilog-mode): Rename colorize to
2374 highlight to match other packages. Disable module highlighting,
2375 as received speed complaints, reenable for experimentation only
2376 using new verilog-highlight-modules.
2377 (verilog-read-decls): Fix regexp stack overflow in very large
2378 AUTO_TEMPLATEs, bug250.
2379 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
2380 (verilog-scan): Create verilog-save-buffer-state to standardize
2381 making insignificant changes that shouldn't call hooks.
2382 (verilog-save-no-change-functions, verilog-save-scan-cache)
2383 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
2384 Create verilog-save-no-change-functions to wrap verilog-scan
2385 preservation, and fix to work with nested preserved calls.
2386 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
2387 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
2388 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
2389 (verilog-submit-bug-report): Update variable list to be complete.
2390 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
2391 breaking on-the-fly font-locking.
2392 (verilog-colorize-buffer, verilog-colorize-include-files)
2393 (verilog-colorize-include-files-buffer, verilog-colorize-region)
2394 (verilog-load-file-at-mouse, verilog-load-file-at-point)
2395 (verilog-mode, verilog-read-inst-module-matcher): With point on a
2396 AUTOINST cell instance name, middle mouse button now finds-file on
2397 it. Suggested by Brad Dobbie.
2398 (verilog-alw-get-temps, verilog-auto-reset)
2399 (verilog-auto-sense-sigs, verilog-read-always-signals)
2400 (verilog-read-always-signals-recurse): Fix loop indexes being
2401 AUTORESET. AUTORESET now assumes any variables in the
2402 initialization section of a for() should be ignored.
2403 Reported by Dan Dever.
2404 (verilog-error-font-lock-keywords)
2405 (verilog-error-regexp-emacs-alist)
2406 (verilog-error-regexp-xemacs-alist): Fix error detection of
2407 Cadence HAL, reported by David Asher. Repair drift between the
2408 three similar error variables.
2409 (verilog-modi-lookup, verilog-modi-lookup-cache)
2410 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
2411 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
2412 Fix slow verilog-auto expansion on very large files.
2413 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
2414 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
2415 "{1*2{...". Broke in last revision.
2416 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
2417 submodule connections with replications "{#{a},#{b}}".
2419 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
2421 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
2422 Fix typo in docstring.
2424 2010-10-24 Kenichi Handa <handa@m17n.org>
2426 * face-remap.el (text-scale-adjust): Call read-event with a proper
2429 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2431 * emacs-lisp/unsafep.el: Don't mark functions that display
2432 messages as safe. Suggested by Johan Bockgård.
2434 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2436 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
2437 Turn comments into docstrings.
2439 * minibuffer.el (completion--replace): Move point where it belongs
2440 when there's a common suffix (bug#7215).
2442 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2444 Merge read-color and facemenu-read-color (Bug#7242).
2446 * faces.el (read-color): Use the completion code from
2447 facemenu-read-color. Require match in completion. Doc fix.
2449 * facemenu.el (facemenu-read-color): Alias for read-color.
2450 (facemenu-set-foreground, facemenu-set-background):
2453 * frame.el (set-background-color, set-foreground-color)
2454 (set-cursor-color, set-mouse-color, set-border-color):
2457 2010-10-24 Leo <sdl.web@gmail.com>
2459 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
2460 argument of delete-file and delete-directory (Bug#7011).
2462 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2464 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
2467 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
2469 * emacs-lisp/package.el (package--generate-package-list): Make the
2470 *Packages* buffer read-only.
2472 2010-10-24 Alan Mackenzie <acm@muc.de>
2474 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
2475 result of `c-beginning-of-decl-1' between invocations of a lambda
2476 function (Bug #7265).
2478 2010-10-24 Daiki Ueno <ueno@unixuser.org>
2480 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
2481 executable is not available on the system (Bug#7268).
2483 2010-10-24 Glenn Morris <rgm@gnu.org>
2485 * select.el (selection-coding-system, next-selection-coding-system):
2486 Sync doc with C versions.
2488 * w32-vars.el (x-select-enable-clipboard):
2489 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
2490 * term/common-win.el (x-select-enable-clipboard): Move here.
2492 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
2493 definition of C variable.
2495 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
2496 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
2497 Don't redefine things that are defined in C.
2498 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
2499 (show-trailing-whitespace, auto-hscroll-mode)
2500 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
2501 Set up the appropriate custom properties.
2503 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2506 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
2507 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
2508 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
2509 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
2511 2010-10-23 Glenn Morris <rgm@gnu.org>
2513 * textmodes/flyspell.el (flyspell-mode): If there was an error,
2516 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
2517 Sync docs with C version.
2519 * term/ns-win.el (xw-defined-colors):
2520 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
2522 * term/pc-win.el (x-select-enable-clipboard):
2523 * term/x-win.el (x-select-enable-clipboard):
2524 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
2526 * comint.el (comint-password-prompt-regexp): Make it less vague.
2529 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
2531 * help.el (finder-by-keyword): Remove unnecessary autoload.
2533 2010-10-22 Glenn Morris <rgm@gnu.org>
2535 * loadup.el: Unconditionally load float-sup.
2536 * paren.el (show-paren-delay):
2537 * emacs-lisp/float-sup.el:
2538 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
2539 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
2540 (lazy-lock-stealth-verbose): Assume float support.
2541 * ps-print.el: Assume float support on Emacs.
2542 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
2543 Remove non-float branch.
2545 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
2546 src/Makefile no longer being pre-processed.
2548 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2550 * emacs-lisp/find-func.el (find-library): Use test-completion.
2552 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2554 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
2556 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
2558 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
2559 space in stat format string.
2560 (tramp-send-command): Unset $PS1 when using here documents, in
2561 order not to get several prompts.
2562 (tramp-get-inline-coding): Return `nil' in case of errors.
2564 2010-10-21 Daiki Ueno <ueno@unixuser.org>
2566 * hexl.el (hexl-mode, hexl-mode-exit):
2567 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
2568 (hexl-revert-buffer-function): New function.
2569 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
2571 2010-10-19 Alan Mackenzie <acm@muc.de>
2573 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
2574 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
2575 that these keywords aren't wrongly matched as identifiers.
2577 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
2578 setting of c-new-BEG and c-new-END from c-before-change to
2579 c-after-change. (Bug#7181)
2581 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
2583 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
2586 * custom.el (custom-theme-set-variables): Likewise.
2587 (load-theme): Add custom-theme-set-faces and
2588 custom-theme-set-variables to safe-functions while loading.
2589 (custom-enabled-themes): Mark as risky.
2591 2010-10-18 Julien Danjou <julien@danjou.info>
2593 * bindings.el: Remove end dashes in default mode-line-format.
2595 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
2597 * bindings.el (global-map): Bind C-d to delete-char and deletechar
2598 to delete-forward-char.
2600 * simple.el (normal-erase-is-backspace-mode): Remap delete to
2601 deletechar, and hence delete-forward-char.
2603 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2605 * repeat.el (repeat): Use read-key (bug#6256).
2607 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
2609 * emacs-lisp/unsafep.el: Don't mark functions that display
2610 messages as safe. Suggested by Johan Bockgård.
2612 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2614 * minibuffer.el (completion--replace): Move point where it belongs
2615 when there's a common suffix (bug#7215).
2617 2010-10-19 Kenichi Handa <handa@m17n.org>
2619 * international/characters.el: Add category '|' (word breakable)
2620 to fullwidth characters.
2622 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
2624 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
2625 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
2626 order to make stat results a float. Patch by Andreas Schwab
2627 <schwab@linux-m68k.org>.
2629 2010-10-18 Julien Danjou <julien@danjou.info>
2631 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
2632 hidden by `make-pointer-invisible'.
2634 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2636 * files.el (locate-file-completion-table): Strip non-matching elements
2637 before checking length of list (bug#7238).
2639 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
2641 * custom.el (custom-theme-set-variables): Mark as a safe function.
2642 (load-theme): Check forms using unsafep.
2644 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
2646 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
2648 * textmodes/ispell.el (ispell-aspell-find-dictionary):
2649 Fix aspell data file searching (bug#7230).
2651 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2653 * cus-theme.el (custom-theme--migrate-settings): New var.
2654 (customize-create-theme): Allow editing the `user' theme.
2655 (custom-theme-add-variable, custom-theme-add-var-1)
2656 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
2657 to the front of each variable or face widget.
2658 (custom-theme-write): Save theme settings in the correct order.
2659 Optionally, remove saved settings from user customizations.
2660 (custom-theme-write-variables, custom-theme-write-faces):
2661 Save only the checked widgets.
2662 (customize-themes): Add a link for migrating custom settings.
2664 * custom.el (custom-declare-theme, provide-theme):
2665 Use custom-theme-name-valid-p.
2666 (custom-theme-name-valid-p): Remove checks that are now
2667 unnecessary since themes no longer obey load-path.
2669 * cus-edit.el (custom-variable-value-create): For the simple
2670 style, hide documentation string when hidden.
2672 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2674 * cus-edit.el (custom-variable, custom-face): Combine the
2675 :inhibit-magic and :display-style properties into a single
2676 :custom-style property.
2677 (custom-toggle-hide-variable, custom-toggle-hide-face):
2678 New functions. If hiding an edited value, save it to :shown-value.
2679 (custom-variable-value-create, custom-face-value-create): Use them.
2680 (custom-magic-reset): Allow magic property to be unset.
2682 * custom.el: Custom themes no longer use load-path.
2683 (custom-theme-load-path): New option. Change built-in theme
2685 (custom-enabled-themes): Add custom-theme-load-path dependency.
2686 (custom-theme--load-path): New function.
2687 (load-theme, custom-available-themes): Use it.
2689 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
2690 (customize-themes): Link to custom-theme-load-path variable.
2691 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
2692 :custom-style property.
2694 * themes/*.el: Moved to etc/.
2696 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
2698 * textmodes/reftex-cite.el
2699 (reftex-extract-bib-entries-from-thebibliography): Do not move
2700 point when searching for \bibitem entries. Match entries with
2701 spaces or tabs in front of arguments.
2703 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2705 * cus-theme.el (customize-create-theme): Delete overlays after
2706 erasing. If given a THEME arg, display only the faces of that arg
2707 instead of custom-theme--listed-faces.
2708 (custom-theme-variable-menu, custom-theme-variable-action)
2709 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
2710 (custom-theme-add-variable, custom-theme-add-face): Apply value
2711 from the theme settings, instead of the current value.
2712 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
2713 (custom-theme-visit-theme): Allow calling outside theme buffers.
2714 (custom-theme-merge-theme): Don't enable the theme when merging.
2715 (custom-theme-write-variables, custom-theme-write-faces): Use the
2716 :shown-value properties to save buffer values, not global ones.
2717 (customize-themes): Display a warning about user customizations.
2719 * cus-edit.el (custom-variable-value-create)
2720 (custom-face-value-create): Obey new special properties
2721 :shown-value and :inhibit-magic.
2723 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
2725 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2726 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
2729 2010-10-14 Kenichi Handa <handa@m17n.org>
2731 * mail/rmail.el (rmail-show-message-1): Catch an error of
2732 base64-decode-region and just show an error message (bug#7165).
2734 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
2735 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
2736 a font-spec (bug#7197).
2738 2010-10-14 Glenn Morris <rgm@gnu.org>
2740 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
2742 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
2744 * international/mule.el (define-coding-system):
2745 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
2746 * composite.el (compose-region): Fix typo in docstring.
2748 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
2750 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
2751 only after checking the theme-face property.
2753 * faces.el (face-spec-reset-face): Reset all attributes in one
2754 single call to set-face-attribute.
2755 (face-spec-match-p): Make it a defsubst.
2756 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
2757 (x-create-frame-with-faces, tty-create-frame-with-faces)
2758 (tty-set-up-initial-frame-faces): Don't recompute face specs in
2759 frame-set-background-mode, since they are recomputed immediately
2760 afterwards in face-set-after-frame-default.
2761 (face-set-after-frame-default): Minor optimization.
2762 (cursor): Provide non-trivial defface spec.
2764 * custom.el (custom-theme-recalc-face): Simplify.
2766 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
2768 * calc/calc-alg.el (math-var): Rename from `var'.
2769 (math-is-polynomial, math-is-poly-rec): Replace `var'
2772 * calc/calcalg2.el (math-var): Rename from `var'.
2773 (calcFunc-table, math-scan-for-limits): Replace `var'
2776 2010-10-13 Glenn Morris <rgm@gnu.org>
2778 * subr.el (last): Deal with dotted lists (reported in bug#7174).
2780 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
2782 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
2784 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2786 * net/tls.el (tls-program): Remove spurious %s from openssl.
2787 (tls-starttls-switches): Remove starttls hack.
2788 (open-tls-stream): Ditto.
2789 (tls-find-starttls-argument): Ditto.
2791 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
2793 * image.el (image-library-alist): Declare as obsolete alias.
2794 (image-type-available-p): Use `dynamic-library-alist'.
2796 * term/w32-win.el (dynamic-library-alist):
2797 Use instead of `image-library-alist'.
2799 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
2801 * subr.el (last): Make it faster. (Bug#7174)
2803 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
2805 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
2807 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
2809 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
2810 (describe-theme-1): Extract doc from unloaded themes.
2812 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
2814 * themes/tango-theme.el:
2815 * themes/tango-dark-theme.el:
2816 * themes/wheatgrass-theme.el: New files.
2818 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
2820 * cus-theme.el (describe-theme, customize-themes)
2821 (custom-theme-save): New commands.
2822 (custom-new-theme-mode-map): Bind C-x C-s.
2823 (custom-new-theme-mode): Use custom--initialize-widget-variables.
2824 (customize-create-theme): New optional arg THEME.
2825 (custom-theme-revert): Use it.
2826 (custom-theme-visit-theme): Remove dead code.
2827 (custom-theme-merge-theme): Use custom-available-themes.
2828 (custom-theme-write): Make interactive.
2829 (custom-theme-write): Use custom-theme-name-valid-p.
2830 (describe-theme-1, custom-theme-choose-revert)
2831 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
2833 (custom-theme-allow-multiple-selections): New option.
2834 (custom-theme-choose-mode): New major mode.
2836 * custom.el (custom-theme-set-variables): Remove dead code.
2837 Obey custom--inhibit-theme-enable.
2838 (custom--inhibit-theme-enable): New var.
2839 (provide-theme): Obey it.
2840 (load-theme): Replace load with manual read/eval, in order to
2841 check for correctness. Use custom-theme-name-valid-p.
2842 (custom-theme-name-valid-p): New function.
2843 (custom-available-themes): Use it.
2845 * cus-edit.el (custom--initialize-widget-variables): New function.
2846 (Custom-mode): Use it.
2848 * cus-face.el (custom-theme-set-faces): Remove dead code.
2849 Obey custom--inhibit-theme-enable.
2851 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
2853 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
2855 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
2857 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
2859 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
2860 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
2861 (mac-right-option-modifier): New alias for ns-right-option-modifier.
2863 * cus-start.el (all): ns-right-alternate-modifier is new.
2865 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2867 * emacs-lisp/lisp.el (lisp-completion-at-point):
2868 Use emacs-lisp-mode-syntax-table for the whole function.
2870 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
2872 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
2873 instead of font-lock-mode before adding keywords.
2874 Remove hi-lock-mode off code. Remove inhibit hack.
2875 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
2876 non-nil; removed hook inhibit hack.
2878 2010-10-12 Glenn Morris <rgm@gnu.org>
2880 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
2881 (load-path-shadows-find): ... to this.
2882 (list-load-path-shadows): Update for above change.
2884 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
2886 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
2888 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
2889 Fix comment for declare-function.
2891 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
2893 * custom.el (custom-fix-face-spec): New function; code moved from
2894 custom-face-edit-fix-value.
2895 (custom-push-theme): Use it when checking if a face has been
2896 changed outside customize.
2897 (custom-available-themes): New function.
2898 (load-theme): Use it.
2900 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
2902 * custom.el (custom-push-theme): Cleanup (use cond).
2903 (disable-theme): Recompute the saved-face property.
2904 (custom-theme-recalc-face): Follow face alias before setting prop.
2906 * image.el (image-checkbox-checked, image-checkbox-unchecked):
2907 New variables, containing checkbox images.
2909 * startup.el (fancy-startup-tail):
2910 * wid-edit.el (checkbox): Use them.
2912 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
2914 * shell.el (shell-mode-map):
2915 * progmodes/modula2.el (m2-mode-map):
2916 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
2917 * play/mpuz.el (mpuz-mode-map):
2918 * play/landmark.el (lm-mode-map):
2919 * play/decipher.el (decipher-mode-map):
2920 * play/5x5.el (5x5-mode-map):
2921 * net/telnet.el (telnet-mode-map):
2922 * net/quickurl.el (quickurl-list-mode-map):
2923 * net/mairix.el (mairix-searches-mode-map):
2924 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
2925 * net/dig.el (dig-mode-map):
2926 * mail/mspools.el (mspools-mode-map):
2927 * hexl.el (hexl-mode-map):
2928 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
2929 (wordstar-C-o-map, wordstar-C-q-map):
2930 * emacs-lisp/edebug.el (edebug-eval-mode-map):
2931 * emacs-lisp/chart.el (chart-map):
2932 * edmacro.el (edmacro-mode-map):
2933 * erc/erc-list.el (erc-list-menu-mode-map):
2934 * array.el (array-mode-map): Declare and define in one step.
2936 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
2938 2010-10-10 Daiki Ueno <ueno@unixuser.org>
2940 * epa.el (epa-passphrase-callback-function): Display filename
2941 passed as the 3rd arg.
2942 * epa-file.el (epa-file-passphrase-callback-function):
2943 Pass filename to epa-passphrase-callback-function.
2945 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
2947 * cus-edit.el (custom-face-widget-to-spec)
2948 (custom-face-get-current-spec, custom-face-state): New functions.
2949 (custom-face-set, custom-face-mark-to-save)
2950 (custom-face-value-create, custom-face-state-set): Use them.
2952 * cus-theme.el (custom-theme--listed-faces): New var.
2953 (customize-create-theme): Use *Custom Theme* as the buffer name.
2954 Set revert-buffer-function. Optional arg BUFFER. Insert all
2955 faces listed in custom-theme--listed-faces.
2956 (custom-theme-revert): New function.
2957 (custom-theme-add-variable, custom-theme-add-face): Insert at the
2959 (custom-theme-write): Prompt for theme name if empty.
2960 (custom-theme-write-variables): Use dolist.
2961 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
2963 2010-10-09 Alan Mackenzie <acm@muc.de>
2965 Enhance fontification of declarators to take account of the
2966 presence/absence of "typedef".
2968 * cc-engine.el (c-forward-type): New &optional param
2970 (c-forward-decl-or-cast-1): cdr of return value now indicates the
2971 presence of either or both of a "struct"-like keyword and "typedef".
2973 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
2974 fontification of declarators which follow a "}".
2975 (c-font-lock-declarations): Fontify declarators according to the
2976 presence/absence of "typedef".
2978 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
2980 (c-typedef-decl-key): New lang variable built from
2981 c-typedef-decl-kwds.
2983 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
2985 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
2986 since that's too annoying. Move the filter groups commands to
2989 * epa.el (epa-passphrase-callback-function): Say what we're
2990 querying the password for.
2992 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
2993 behaviour, don't bury the ibuffer buffer when visiting other buffers.
2995 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
2997 * cus-edit.el (custom-commands, custom-buffer-create-internal)
2998 (custom-magic-value-create): Pad button tags with spaces.
2999 (custom-face-edit): New variable.
3000 (custom-face-value-create): Determine whether to use the usual
3001 face editor here, instead of using custom-face-selected.
3002 Pass face defaults to custom-face-edit widget.
3003 (custom-face-selected, custom-display-unselected): Delete widgets.
3004 (custom-display-unselected-match): Function removed.
3005 (custom-face-set, custom-face-mark-to-save):
3006 Accept custom-face-edit widgets as the direct widget child.
3008 * wid-edit.el (widget--completing-widget): New var.
3009 (widget-default-complete): Bind it when doing completion.
3010 (widget-string-complete, widget-file-complete): Use it.
3012 2010-10-09 Glenn Morris <rgm@gnu.org>
3014 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
3015 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
3016 (holiday-hebrew-misc): Small simplifications.
3018 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
3020 * net/browse-url.el: Don't require thingatpt, term, dired,
3021 executable, or w3-auto when compiling.
3022 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
3024 (browse-url-text-emacs): Require term.
3026 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
3028 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
3030 2010-10-08 Glenn Morris <rgm@gnu.org>
3032 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
3034 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
3035 (shadows-compare-text-p): Make it an obsolete alias for...
3036 (load-path-shadows-compare-text): ... new name.
3037 (find-emacs-lisp-shadows): Update for above name change.
3038 (load-path-shadows-same-file-or-nonexistent): New name for the old
3039 shadow-same-file-or-nonexistent.
3041 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
3043 * minibuffer.el (completion--some, completion--do-completion)
3044 (minibuffer-complete-and-exit, minibuffer-completion-help)
3045 (completion-basic-try-completion)
3046 (completion-basic-all-completions)
3047 (completion-pcm--find-all-completions): Use lexical-let to
3048 avoid some false matches in variable completion (Bug#7056)
3050 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
3052 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
3054 2010-10-08 Leo <sdl.web@gmail.com>
3056 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
3057 return non-nil if the file exists (Bug#7090).
3059 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3061 * minibuffer.el (completion--replace):
3062 Better preserve markers (bug#7138).
3064 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
3066 * server.el (server-process-filter): Doc fix.
3068 2010-10-08 Drew Adams <drew.adams@oracle.com>
3070 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
3072 2010-10-08 Glenn Morris <rgm@gnu.org>
3074 * vc/ediff-wind.el (ediff-setup-control-frame):
3075 * vc/ediff-ptch.el (ediff-default-backup-extension):
3076 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
3077 (ediff-exec-process): Remove system-types emx, windows-95.
3079 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
3081 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
3083 * cus-edit.el (custom-variable, custom-face): Doc fix.
3084 (custom-face-edit): Add value-create attribute.
3085 (custom-face-edit-value-create)
3086 (custom-face-edit-value-visibility-action): New functions.
3087 Hide unused face attributes by default, and add a visibility toggle.
3088 (custom-face-edit-deactivate): Show empty values with shadow face.
3089 (custom-face-selected): Only use this for face specs with default
3091 (custom-face-value-create): Cleanup.
3093 * wid-edit.el (widget-checklist-value-create): Use dolist.
3094 (widget-checklist-match-find): Make second arg optional.
3096 2010-10-07 Glenn Morris <rgm@gnu.org>
3098 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
3101 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
3102 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
3103 load-path-shadows-mode, update references.
3104 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
3105 Rename variable and button.
3106 (list-load-path-shadows): Update button caller.
3108 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3110 * emacs-lisp/smie.el (smie-bnf-classify): New function.
3111 (smie-bnf-precedence-table): Use it to remember the closers/openers.
3112 (smie-merge-prec2s): Handle those new entries.
3113 (smie-prec2-levels): Only set precedence to nil for actual
3115 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
3116 that is now unnecessary.
3118 2010-10-07 Miles Bader <miles@gnu.org>
3120 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
3122 2010-10-07 Glenn Morris <rgm@gnu.org>
3124 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
3125 (mail-position-on-field): Remove declarations.
3126 (mail-position-on-field): Autoload it.
3127 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
3128 and mail-header-end. Don't require sendmail.
3130 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
3131 (shadow-mode): New mode.
3132 (shadow-find-file): New button.
3133 (list-load-path-shadows): Use shadow-mode and buttons.
3135 * iimage.el (iimage-version): Remove.
3136 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
3137 Turn into defcustoms.
3138 (iimage-mode-map): Give it a doc string.
3140 * calendar/appt.el (appt-activate): Give a warning rather than an error
3141 if there is no diary-file.
3143 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
3145 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3146 Use `tramp-handle-find-backup-file-name'.
3148 2010-10-06 Glenn Morris <rgm@gnu.org>
3150 * font-core.el (font-lock-defaults-alist): Remove variable.
3151 (font-lock-mode): Doc fix.
3152 (font-lock-default-function): Do not consult font-lock-defaults-alist.
3153 * font-lock.el (font-lock-refresh-defaults): Doc fix.
3154 (font-lock-set-defaults): Doc fix.
3155 Do not consult font-lock-defaults-alist.
3157 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
3159 * emacs-lisp/cl.el: No longer provide cl-19.
3161 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
3163 * net/tramp.el (tramp-handle-directory-files-and-attributes)
3164 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
3165 New defuns, taken from tramp-smb.el.
3166 (tramp-coding-system-change-eol-conversion)
3167 (tramp-set-process-query-on-exit-flag): Remove.
3169 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
3170 (tramp-compat-coding-system-change-eol-conversion)
3171 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
3174 * net/tramp-gvfs.el:
3175 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
3176 by `tramp-compat-set-process-query-on-exit-flag'.
3178 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
3179 Use `tramp-handle-directory-files-and-attributes',
3180 `tramp-handle-file-exists-p' and
3181 `tramp-handle-file-newer-than-file-p'.
3182 (tramp-imap-handle-file-exists-p)
3183 (tramp-imap-handle-file-executable-p)
3184 (tramp-imap-handle-file-readable-p)
3185 (tramp-imap-handle-directory-files-and-attributes)
3186 (tramp-imap-handle-file-newer-than-file-p): Remove.
3188 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
3189 by `tramp-compat-set-process-query-on-exit-flag' and
3190 `tramp-coding-system-change-eol-conversion' by
3191 `tramp-compat-coding-system-change-eol-conversion'.
3193 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3194 Use `tramp-handle-directory-files-and-attributes',
3195 `tramp-handle-file-exists-p' and
3196 `tramp-handle-file-newer-than-file-p'.
3197 (tramp-smb-handle-directory-files-and-attributes)
3198 (tramp-smb-handle-file-exists-p)
3199 (tramp-smb-handle-file-newer-than-file-p): Remove.
3200 (tramp-smb-maybe-open-connection):
3201 Replace `tramp-set-process-query-on-exit-flag' by
3202 `tramp-compat-set-process-query-on-exit-flag'.
3204 2010-10-05 Glenn Morris <rgm@gnu.org>
3206 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
3208 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
3210 Continue reorganization of load dependencies. (Bug#7156)
3212 * net/tramp.el (tramp-handle-file-local-copy-hook)
3213 (tramp-delete-temp-file-function): Move down.
3214 (tramp-exists-file-name-handler): Move up.
3215 (tramp-register-file-name-handlers): Simplify autoload.
3216 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
3217 (tramp-handle-directory-files, tramp-handle-dired-uncache)
3218 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
3219 (tramp-handle-file-name-completion)
3220 (tramp-handle-file-name-directory)
3221 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
3222 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
3223 (tramp-handle-find-backup-file-name)
3224 (tramp-handle-insert-file-contents, tramp-handle-load)
3225 (tramp-handle-substitute-in-file-name)
3226 (tramp-handle-unhandled-file-name-directory)
3227 (tramp-mode-string-to-int, tramp-local-host-p)
3228 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
3230 * net/tramp-gvfs.el (top):
3231 * net/tramp-smb.el (top): Do not require 'tramp-sh.
3233 * net/tramp-sh.el (all): Move several objects to tramp.el, see
3234 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
3236 2010-10-04 Glenn Morris <rgm@gnu.org>
3238 * calendar/appt.el (appt-add): Ensure reminders are enabled.
3239 (appt-activate): Give status messages.
3241 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
3243 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
3244 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
3245 `gnutls-negotiate' (formerly `starttls-negotiate').
3246 Remove trivial wrapper `starttls-open-stream'.
3248 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
3250 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
3251 log-outgoing commands.
3252 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
3253 to create a buffer local revert-buffer-function variable.
3254 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
3255 revert-buffer-function lambda.
3257 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
3259 * net/gnutls.el (starttls-negotiate): Use the plist interface to
3260 `gnutls-boot'. Make TYPE the only required parameter.
3261 Allow TRUSTFILES and KEYFILES to be lists.
3262 (open-ssl-stream): Use it.
3264 2010-10-03 Glenn Morris <rgm@gnu.org>
3266 * subr.el (directory-sep-char): Remove obsolete variable.
3267 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
3270 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
3271 * vc/vc.el (vc-static-header-alist): Doc fix.
3272 * vc/vc-cvs.el (vc-cvs-header):
3273 * vc/vc-rcs.el (vc-rcs-header):
3274 * vc/vc-sccs.el (vc-sccs-header):
3275 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
3276 * obsolete/vc-mcvs.el (vc-mcvs-header):
3277 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
3280 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
3282 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
3283 Remove obsolete use of binary-overwrite-mode (Bug#7001).
3285 2010-10-03 Glenn Morris <rgm@gnu.org>
3287 * obsolete/x-menu.el: Remove file, obsolete since 21.1
3289 * textmodes/rst.el (rst-font-lock-keywords-function):
3292 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
3294 * printing.el: Drop Emacs 20 code.
3296 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
3297 without having used appt.el already).
3299 * subr.el (make-local-hook): Remove function obsolete since 21.1.
3300 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
3301 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
3303 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
3304 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
3306 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
3307 (charset-width, find-charset-region, chars-in-region, forward-point)
3308 (encode-coding-string, coding-system-p, ccl-execute-on-string)
3309 (define-ccl-program, multibyte-string-p, string-make-multibyte):
3310 Remove compatibility cruft (none of these are used by ps*.el).
3312 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3314 * subr.el (booleanp): Return t instead of a list (Bug#7086).
3316 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
3318 * server.el (server-process-filter, server-return-error):
3319 Give emacsclient time to shut down after receiving an error string.
3321 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
3323 * files.el (remote-file-name-inhibit-cache): New defcustom.
3325 * time.el (display-time-file-nonempty-p):
3326 Use `remote-file-name-inhibit-cache'.
3328 * net/tramp.el (tramp-completion-reread-directory-timeout):
3331 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
3332 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
3333 `remote-file-name-inhibit-cache'. Check also for an integer
3334 value. Add/increase counter when `tramp-verbose' >= 10.
3335 (tramp-set-file-property): Add/increase counter when
3336 `tramp-verbose' >= 10.
3338 * net/tramp-cmds.el (tramp-cleanup-all-connections)
3339 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
3340 (tramp-bug): Set tramp-autoload cookie. Report all interned
3341 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
3342 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
3343 characters only in strings.
3345 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
3346 to backward compatibility.
3348 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
3349 (tramp-handle-file-name-all-completions)
3350 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
3351 (tramp-open-connection-setup-interactive-shell):
3352 Call `tramp-cleanup-connection' directly.
3354 2010-10-02 Glenn Morris <rgm@gnu.org>
3356 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
3358 * subr.el (char-bytes): Remove obsolete function.
3360 * isearch.el (isearch-return-char): Remove obsolete function.
3362 * mouse.el: No longer provide mldrag.
3363 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
3364 Remove obsolete aliases.
3366 * comint.el (comint-kill-output): Remove obsolete alias.
3368 * composite.el (decompose-composite-char): Remove obsolete function.
3369 * ps-def.el (decompose-composite-char): Remove unused function.
3371 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
3373 * outline.el (outline-visible): Remove obsolete function.
3375 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
3376 * faces.el (internal-find-face, internal-get-face)
3377 (frame-update-faces, frame-update-face-colors)
3378 (x-frob-font-weight, x-frob-font-slant)
3379 (internal-frob-font-weight, internal-frob-font-slant)
3380 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
3381 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
3382 (x-make-font-bold-italic): Remove functions and aliases, obsolete
3384 * emulation/viper-util.el (viper-get-face):
3385 * obsolete/lucid.el (find-face, get-face): Use facep.
3386 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
3387 Remove unused functions.
3388 * vc/ediff-util.el (ediff-submit-report): Doc fix.
3390 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
3391 delete tempfile if interrupted during compilation.
3393 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3395 * net/tls.el (tls-starttls-switches): Give up on using starttls with
3397 (tls-program): Add --insecure to be consistent with the defaults from
3398 openssl s_client. Now all three commands are insecure.
3400 2010-10-01 Eli Zaretskii <eliz@gnu.org>
3402 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
3403 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
3404 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
3406 2010-10-01 Glenn Morris <rgm@gnu.org>
3408 * obsolete/sc.el: Remove file.
3410 * files.el (temporary-file-directory): On darwin, also try
3411 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
3413 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
3415 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
3416 Let's not break compatibility gratuitously, shall we?
3418 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3420 * net/tls.el (tls-starttls-switches): New variable.
3421 (tls-find-starttls-argument): Use it.
3422 (open-tls-stream): Ditto.
3424 * net/netrc.el (netrc-credentials): Return the value of the "default"
3426 (netrc-machine): Ditto.
3428 2010-09-30 Eli Zaretskii <eliz@gnu.org>
3430 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
3432 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
3434 * server.el (server-start): Don't write pid to the authentication file.
3435 (server-create-tty-frame): Don't send pid.
3436 (server-process-filter): Send pid at the start of every connection.
3438 2010-09-30 Glenn Morris <rgm@gnu.org>
3440 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
3441 (show-all-diary-entries): Remove obsolete function aliases.
3443 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
3444 Remove options, obsolete since 22.1.
3445 (appt-display-format, appt-display-message):
3446 Remove backwards-compatibility code.
3447 (appt-check): No longer check appt-issue-message.
3448 (appt-make-list): No longer autoload it. Doc fix. No longer
3449 activate the package.
3451 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
3453 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
3454 (starttls-negotiate): Just call boot, and let the handshake be
3455 triggered from the read loop.
3457 2010-09-29 Glenn Morris <rgm@gnu.org>
3459 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
3460 not displaying the diary.
3461 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
3462 * calendar/appt.el (appt-check): No longer need to kill diary.
3464 * calendar/diary-lib.el (diary-list-entries): Move the
3465 "Preparing..." message entirely here.
3466 (diary-simple-display, diary-fancy-display): Move "Preparing..."
3467 messages to diary-list-entries.
3468 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
3469 diary-display-function.
3471 * calendar/diary-lib.el (diary-include-other-diary-files):
3472 Trap some recursive includes.
3474 * calendar/appt.el (appt-activate): Check diary file.
3476 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
3478 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
3481 * calendar/time-date.el: No need to require cl for Emacs 21.
3483 2010-09-28 Glenn Morris <rgm@gnu.org>
3485 * calendar/appt.el (appt-check): Minor simplification.
3487 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
3489 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
3492 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
3494 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3495 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
3497 2010-09-27 Kenichi Handa <handa@m17n.org>
3499 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
3502 2010-09-27 Kenichi Handa <handa@m17n.org>
3504 * international/mule.el (define-coding-system): Docstring fixed.
3506 * international/mule-diag.el (describe-character-set): Use princ
3507 with proper print-length and print-level instead of insert.
3509 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
3511 * window.el (walk-windows): Doc fix (bug#7105).
3513 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3515 * emacs-lisp/float-sup.el (e): Remove.
3517 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
3519 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
3521 (starttls-negotiate): Use it.
3523 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3525 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
3528 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
3530 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
3532 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3534 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
3536 * net/netrc.el (netrc-store-data): New function.
3538 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
3540 * net/gnutls.el: GnuTLS glue code to set up a connection.
3542 2010-09-25 Julien Danjou <julien@danjou.info>
3544 * notifications.el: Call dbus-register-signal only if it is bound.
3546 2010-09-25 Glenn Morris <rgm@gnu.org>
3548 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3549 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3550 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3551 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3552 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3553 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
3554 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
3555 * eshell/esh-util.el, eshell/esh-var.el:
3556 Remove leading `*' from docs of faces and defcustoms.
3558 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
3560 * eshell/em-ls.el (eshell-ls-archive-regexp):
3561 * eshell/esh-util.el (eshell-tar-regexp):
3562 * ibuffer.el (ibuffer-compressed-file-name-regexp):
3563 * info.el (Info-suffix-list):
3564 * international/mule.el (auto-coding-alist):
3565 * woman.el (woman-file-regexp, woman-file-compression-regexp):
3566 * progmodes/etags.el (tags-compression-info-list):
3567 Support xz compression.
3569 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
3571 * files.el (get-free-disk-space): Don't assume the "df" output
3572 columns line up (Bug#6995).
3574 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
3576 * finder.el (finder-unknown-keywords):
3577 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
3578 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
3580 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
3582 * server.el (server-start): Revert part of 2010-08-08 change. Using
3583 address 127.0.0.1 for local host is now done in Fmake_network_process.
3585 2010-09-24 Glenn Morris <rgm@gnu.org>
3587 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
3588 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
3589 * textmodes/css-mode.el, textmodes/dns-mode.el:
3590 Move autoloaded auto-mode-alist entries to files.el.
3591 * files.el (auto-mode-alist): Move entries here.
3593 2010-09-23 Glenn Morris <rgm@gnu.org>
3595 * isearch.el (isearch-lazy-highlight-cleanup)
3596 (isearch-lazy-highlight-initial-delay)
3597 (isearch-lazy-highlight-interval)
3598 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
3599 * net/net-utils.el (ipconfig-program-options):
3600 Move aliases to options before the associated definitions.
3602 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3604 * newcomment.el (comment-normalize-vars): Better test validity of
3607 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3609 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
3610 (float-e): New name for `e'.
3611 (degrees-to-radians, radians-to-degrees):
3612 * calendar/solar.el (solar-longitude):
3613 * calculator.el (calculator-registers, calculator-funcall):
3614 * textmodes/artist.el (artist-spray-random-points):
3615 * play/bubbles.el (bubbles--initialize-images): Use new names.
3617 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
3619 Update to CEDET 1.0's version of EIEIO.
3621 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
3623 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
3624 (eieio-default-eval-maybe): Eval val instead of unquoting only.
3625 (class-precedence-list): If class is nil, return nil.
3626 (eieio-generic-call): If class of first input arg is nil, don't
3627 look up static methods, and do check for primary methods.
3628 (initialize-instance): See if the default needs to be evaluated
3629 during the constructor.
3630 (eieio-perform-slot-validation-for-default): Don't do the check
3631 for values that will eventually be evaluated.
3632 (eieio-eval-default-p): New function.
3633 (eieio-default-eval-maybe): Use it.
3635 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
3637 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
3638 method-invocation-order.
3639 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
3640 (eieio-class-precedence-dfs): Compute class precedence list using
3642 (eieio-class-precedence-bfs): Compute class precedence list using
3644 (eieio-class-precedence-c3): Compute class precedence list using
3646 (class-precedence-list): New function.
3647 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
3648 (inconsistent-class-hierarchy): New error symbol.
3649 (call-next-method): Stow the replacement argument list for future
3650 call-next-method invocations.
3652 2010-09-23 Glenn Morris <rgm@gnu.org>
3654 * calendar/appt.el (appt-check): If not displaying the diary,
3655 use (diary 1) to only get the entries we need.
3656 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
3657 that it is in day order. (Bug#7019)
3659 * calendar/appt.el (appt-check): Rather than showing the diary,
3660 just turn off invisible display, and only if needed.
3662 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
3664 2010-09-23 Glenn Morris <rgm@gnu.org>
3666 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3667 (byte-compile-defvar, byte-compile-cl-warn):
3668 Start warnings with lower-case, like the majority.
3670 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
3672 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
3674 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
3675 * files.el (auto-mode-alist): Move ld-script entries here, further down
3678 * vc/add-log.el: Don't require timezone when compiling.
3679 (timezone-make-date-sortable): Autoload it.
3680 (change-log-sortable-date-at): Don't require timezone.
3681 Use `ignore-errors'.
3683 * comint.el (comint-use-prompt-regexp-instead-of-fields):
3684 Move alias before definition, so it does not need autoloading.
3686 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
3687 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
3688 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
3689 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
3690 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
3691 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
3692 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
3693 * textmodes/tex-mode.el, textmodes/two-column.el:
3694 Remove leading `*' from docs of defcustoms etc.
3696 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
3698 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
3700 2010-09-22 Dan Christensen <jdc@uwo.ca>
3702 * calendar/time-date.el (date-to-time): Try using parse-time-string
3703 first before using the slower timezone-make-date-arpa-standard.
3705 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
3707 * calendar/time-date.el (format-seconds): Comment fix.
3709 2010-09-22 Glenn Morris <rgm@gnu.org>
3711 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
3712 is not automatically buffer-local.
3714 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
3716 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
3717 (smie-indent-comment): Be more careful with comment-start-skip.
3718 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
3719 (smie-indent-functions): Use them.
3721 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
3723 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
3725 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
3727 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
3728 tool-bar-position. Don't modify frame parameters here.
3729 (menu-bar-options-save): Add tool-bar-position.
3731 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
3733 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3735 * textmodes/reftex-parse.el (reftex-what-macro)
3736 (reftex-context-substring): Let-bind forward-sexp-function to nil
3737 since we don't need/want to treat \begin...\end as a block (bug#7053).
3739 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
3741 * simple.el (blink-matching-open): Use syntax-class.
3743 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
3744 Set invisibility spec for pascal's outline mode.
3745 (pascal-outline-change): Clean up calling convention.
3746 (pascal-show-all, pascal-hide-other-defuns): Update callers.
3748 * progmodes/prolog.el (prolog-smie-forward-token)
3749 (prolog-smie-backward-token): New functions.
3750 (prolog-mode-variables): Use them to parse "!," correctly.
3751 Set up smie-blink-matching for ".".
3753 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
3755 (ispell-region, ispell-process-line): Update users.
3757 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
3760 * textmodes/ispell.el: Fix commenting convention.
3761 (ispell-parse-output): Simplify, use push.
3762 (ispell-region): Use match-string-no-properties.
3763 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
3764 (ispell-minor-mode): Use define-minor-mode.
3765 (ispell-message): Remove unused var `skip-regexp'.
3766 (ispell-add-per-file-word-list): Use dynamic let-binding.
3767 Try and use the proper comment marker.
3769 * mail/sendmail.el: Fix commenting convention.
3770 (sendmail-send-it): Use line-beginning-position.
3772 * help-fns.el (describe-variable): Add original value, if applicable.
3774 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
3776 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
3778 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
3780 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3782 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
3783 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
3784 (smie-prec2-levels): Use them to better diagnose precedence cycles.
3785 (smie-blink-matching-check): Don't signal a mismatch if car is t.
3786 (smie-blink-matching-open): Rewrite to remove assumptions, so that
3787 something like "." can also be a closer.
3788 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
3789 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
3790 Rename internal functions to use "--". Update callers.
3792 * frame.el (make-frame-names-alist): Don't list frames on other displays.
3794 * fringe.el (fringe-styles): New var.
3795 (fringe-mode, fringe-query-style): Use it.
3797 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
3799 * progmodes/sql.el: Version 2.8
3800 (sql-login-params): Update widget structure; changes still needed.
3801 (sql-product-alist): Add :list-all and :list-table features for
3802 SQLite, Postgres and MySQL products.
3803 (sql-redirect): Handle default value.
3804 (sql-execute, sql-execute-feature): New functions.
3805 (sql-read-table-name): New function.
3806 (sql-list-all, sql-list-table): New functions. User API.
3807 (sql-mode-map, sql-interactive-mode-map): Add key definitions
3808 for above functions.
3809 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
3810 for above functions.
3811 (sql-postgres-login-params): Add user and database defaults.
3812 (sql-buffer-live-p): Bug fix.
3813 (sql-product-history): New variable.
3814 (sql-read-product): New function. Use it.
3815 (sql-set-product, sql-product-interactive): Use it.
3816 (sql-connection-history): New variable.
3817 (sql-read-connection): New function. Use it.
3818 (sql-connect): New function.
3819 (sql-for-each-login): Redesign function interface.
3820 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
3821 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
3822 (sql-comint): Check for program. Existing live buffer.
3823 (sql-comint-postgres): Add port parameter.
3825 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3827 * emacs-lisp/warnings.el: Fix commenting convention.
3828 (display-warning): Use special mode and make the buffer read-only.
3830 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
3832 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
3833 empty string when it follows a repeated or optional pattern.
3835 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
3837 * indent.el (indent-according-to-mode): Apply syntax-propertize.
3838 (indent-region): Use indent-according-to-mode.
3840 2010-09-18 Eli Zaretskii <eliz@gnu.org>
3842 * fringe.el (fringe-mode): Doc fix.
3844 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
3846 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
3847 refreshing the preview buffer.
3849 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
3851 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
3852 (latex-syntax-propertize-rules): New consts; replace
3853 tex-font-lock-syntactic-keywords.
3854 (tex-env-mark, latex-env-before-change): New functions.
3855 (latex-electric-env-pair-mode): New minor mode.
3856 (tex-font-lock-verb): Change arguments; do move point.
3857 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
3858 representation as a form of comment.
3859 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
3860 (doctex-syntax-propertize-rules): New const; replaces
3861 doctex-font-lock-syntactic-keywords.
3862 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
3864 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
3865 (fortran-make-syntax-propertize-function): New function; replaces
3866 fortran-font-lock-syntactic-keywords.
3867 (fortran-mode): Use it.
3868 (fortran-line-length): Use it. Improve interactive spec.
3870 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
3871 (syntax-propertize-rules): Add var-ref case. Fix offset computation
3872 when adding surrounding \(..\).
3874 * progmodes/js.el (js-mode): Fix last change (bug#7054).
3876 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3878 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
3879 Use with-current-buffer.
3881 * isearch.el (isearch-face): Rename from `isearch'.
3882 (isearch-highlight): Use new name.
3884 2010-09-17 Eli Zaretskii <eliz@gnu.org>
3886 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
3887 5, for `half' width fringes. (Bug#6933)
3889 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3891 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
3892 (byte-compile-defvar): "foo/bar" does not lack a prefix.
3894 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
3896 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
3898 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
3899 in calculating new frame position. Add more space between new and
3900 parent on the left (Bug#7048).
3902 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
3904 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
3907 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
3909 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
3911 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
3912 obsolete alias for x-selection-value.
3914 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
3916 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
3918 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
3921 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
3923 * net/tramp-compat.el (tramp-compat-with-temp-message)
3924 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
3925 (tramp-compat-process-put): New defuns.
3927 * net/tramp.el (top):
3928 * net/tramp-gvfs.el (top):
3929 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
3931 * net/tramp.el (tramp-progress-reporter-update):
3932 Use `tramp-compat-funcall'.
3934 * net/tramp.el (tramp-process-actions):
3935 * net/tramp-gvfs.el (tramp-handle-vc-registered):
3936 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
3937 (tramp-get-remote-stat, tramp-get-remote-readlink):
3938 Use `tramp-compat-with-temp-message'.
3940 * net/tramp-sh.el (top): Require 'cl.
3941 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
3942 (tramp-open-connection-setup-interactive-shell):
3943 Use `tramp-compat-process-put'.
3945 2010-09-15 Alan Mackenzie <acm@muc.de>
3947 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
3949 (c-forward-<>-arglist-recur): Fix an infinite recursion.
3951 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
3953 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
3954 `lexical' for warnings related to lexical scoping.
3955 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
3956 global vars which don't have a prefix and could hence affect lexical
3957 scoping in unrelated files.
3959 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3961 * net/imap.el: Revert back to version
3962 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
3965 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
3967 * obsolete/old-whitespace.el (whitespace-unload-function):
3968 Explicitly pass `obarray' to `unintern' to avoid a warning.
3970 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3972 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
3973 Add `when' argument. Update callers.
3975 * subr.el (unintern): Declare the obarray arg mandatory.
3977 2010-09-14 Glenn Morris <rgm@gnu.org>
3979 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
3982 * calendar/diary-lib.el (diary-included-files): New variable.
3983 (diary-list-entries): Maybe initialize diary-included-files.
3984 (diary-include-other-diary-files): Append to diary-included-files.
3985 * calendar/appt.el (appt-update-list): Also check the members of
3986 diary-included-files. (Bug#6999)
3987 (appt-check): Doc fix.
3989 2010-09-14 David Reitter <david.reitter@gmail.com>
3991 * simple.el (line-move-visual): Do not truncate goal column to
3992 integer size. (Bug#7020)
3994 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3996 * repeat.el (repeat): Allow repeating when the last event is a click.
3997 Suggested by Drew Adams (bug#6256).
3999 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
4001 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
4002 Replace setting HGRCPATH to "" by some less invasive --config options.
4004 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4006 * font-lock.el (font-lock-beginning-of-syntax-function):
4009 2010-09-14 Glenn Morris <rgm@gnu.org>
4011 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
4012 and tool-bar modes. (Bug#6211)
4013 (menu-bar-mode): Move setting of standard-value after the
4014 minor-mode definition, otherwise it seems to have no effect.
4016 2010-09-14 Masatake YAMATO <yamato@redhat.com>
4018 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
4019 Fix typo. (Bug#6976)
4021 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4023 * whitespace.el: Allow cleaning up blanks without blank
4024 visualization (Bug#6651). Adjust help window for
4025 whitespace-toggle-options (Bug#6479). Allow to use fill-column
4026 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
4027 (whitespace-style): Add new value 'face. Adjust docstring.
4028 (whitespace-space, whitespace-hspace, whitespace-tab):
4029 Adjust foreground property face.
4030 (whitespace-line-column): Adjust docstring and type declaration.
4031 (whitespace-style-value-list, whitespace-toggle-option-alist)
4032 (whitespace-help-text): Adjust const initialization.
4033 (whitespace-toggle-options, global-whitespace-toggle-options):
4035 (whitespace-display-window, whitespace-interactive-char)
4036 (whitespace-style-face-p, whitespace-color-on): Adjust code.
4037 (whitespace-help-scroll): New fun.
4039 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
4041 * calendar/time-date.el (format-seconds): Comment fix.
4043 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
4045 * progmodes/sql.el: Version 2.7.
4046 (sql-buffer-live-p): Improve detection.
4047 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
4048 (sql-set-sqli-buffer): Use it.
4049 (sql-product-interactive): Run `sql-set-sqli-hook'.
4050 (sql-rename-buffer): Code cleanup.
4051 (sql-redirect, sql-redirect-value): New functions. More to come.
4053 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
4055 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.
4056 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
4057 (TRAMP_SRC): New macro.
4058 ($(lisp)/net/tramp-loaddefs.el): New target.
4060 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
4062 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
4064 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
4066 * net/tramp.el (top): Don't show loading message. Require just
4067 'tramp-compat, everything else is required there.
4068 Use `ignore-errors' where appropriate.
4069 (tramp-inline-compress-start-size, tramp-copy-size-limit)
4070 (tramp-terminal-type, tramp-end-of-output)
4071 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
4072 (tramp-completion-function-alist-ssh)
4073 (tramp-completion-function-alist-telnet)
4074 (tramp-completion-function-alist-su)
4075 (tramp-completion-function-alist-putty, tramp-remote-path)
4076 (tramp-remote-process-environment, tramp-sh-extra-args)
4077 (tramp-actions-before-shell, tramp-uudecode)
4078 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
4079 (tramp-perl-file-attributes)
4080 (tramp-perl-directory-files-and-attributes)
4081 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
4082 (tramp-perl-encode, tramp-perl-decode)
4083 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
4084 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
4085 (tramp-handle-make-symbolic-link, tramp-handle-load)
4086 (tramp-handle-file-name-as-directory)
4087 (tramp-handle-file-name-directory)
4088 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
4089 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
4090 (tramp-do-file-attributes-with-ls)
4091 (tramp-do-file-attributes-with-perl)
4092 (tramp-do-file-attributes-with-stat)
4093 (tramp-handle-set-visited-file-modtime)
4094 (tramp-handle-verify-visited-file-modtime)
4095 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
4096 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
4097 (tramp-handle-file-selinux-context)
4098 (tramp-handle-set-file-selinux-context)
4099 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
4100 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
4101 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
4102 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
4103 (tramp-handle-file-ownership-preserved-p)
4104 (tramp-handle-directory-file-name, tramp-handle-directory-files)
4105 (tramp-handle-directory-files-and-attributes)
4106 (tramp-do-directory-files-and-attributes-with-perl)
4107 (tramp-do-directory-files-and-attributes-with-stat)
4108 (tramp-handle-file-name-all-completions)
4109 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
4110 (tramp-handle-copy-file, tramp-handle-copy-directory)
4111 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
4112 (tramp-do-copy-or-rename-file-via-buffer)
4113 (tramp-do-copy-or-rename-file-directly)
4114 (tramp-do-copy-or-rename-file-out-of-band)
4115 (tramp-handle-make-directory, tramp-handle-delete-directory)
4116 (tramp-handle-delete-file)
4117 (tramp-handle-dired-recursive-delete-directory)
4118 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
4119 (tramp-handle-insert-directory)
4120 (tramp-handle-unhandled-file-name-directory)
4121 (tramp-handle-expand-file-name)
4122 (tramp-handle-substitute-in-file-name)
4123 (tramp-handle-executable-find, tramp-process-sentinel)
4124 (tramp-handle-start-file-process, tramp-handle-process-file)
4125 (tramp-handle-call-process-region, tramp-handle-shell-command)
4126 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
4127 (tramp-handle-insert-file-contents)
4128 (tramp-handle-insert-file-contents-literally)
4129 (tramp-handle-find-backup-file-name)
4130 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
4131 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
4132 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
4133 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
4134 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
4135 (tramp-find-file-exists-command, tramp-open-shell)
4136 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
4137 (tramp-open-connection-setup-interactive-shell)
4138 (tramp-local-coding-commands, tramp-remote-coding-commands)
4139 (tramp-find-inline-encoding, tramp-call-local-coding-command)
4140 (tramp-inline-compress-commands, tramp-find-inline-compress)
4141 (tramp-compute-multi-hops, tramp-maybe-open-connection)
4142 (tramp-send-command, tramp-wait-for-output)
4143 (tramp-send-command-and-check, tramp-barf-unless-okay)
4144 (tramp-send-command-and-read, tramp-mode-string-to-int)
4145 (tramp-convert-file-attributes, tramp-check-cached-permissions)
4146 (tramp-file-mode-from-int, tramp-file-mode-permissions)
4147 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
4148 (tramp-method-out-of-band-p, tramp-local-host-p)
4149 (tramp-get-remote-path, tramp-get-remote-tmpdir)
4150 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
4151 (tramp-get-test-command, tramp-get-test-nt-command)
4152 (tramp-get-file-exists-command, tramp-get-remote-ln)
4153 (tramp-get-remote-perl, tramp-get-remote-stat)
4154 (tramp-get-remote-readlink, tramp-get-remote-trash)
4155 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
4156 (tramp-get-local-uid, tramp-get-local-gid)
4157 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
4159 (tramp-methods, tramp-default-method-alist)
4160 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
4161 Move initialization to tramp-sh.el.
4162 (tramp-temp-name-prefix): Make it a defconst.
4163 (tramp-dissect-file-name): Don't check anymore for multi-hop
4165 (tramp-debug-outline-regexp): Add a docstring.
4166 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
4167 (tramp-get-debug-buffer): Use it.
4169 * net/tramp-cache.el (top): Set tramp-autoload cookie for
4170 initialization forms.
4171 (tramp-set-connection-property): Don't protect `tramp-message'
4172 call, it isn't necessary any longer.
4173 (tramp-dump-connection-properties): Use `ignore-errors'.
4175 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
4176 'password-cache and 'auth-source.
4178 * net/tramp-gvfs.el (top):
4179 * net/tramp-smb.el (top): Require 'tramp-sh.
4181 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
4183 * net/tramp-sh.el: New file, derived from tramp.el.
4184 (top): Initialize `tramp-methods', `tramp-default-method-alist',
4185 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
4186 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
4187 Use `ignore-errors' where appropriate.
4188 (tramp-sh-file-name-handler-alist): Rename from
4189 `tramp-file-name-handler-alist'.
4190 (tramp-send-command-and-check): Return t or nil. Remove all
4191 `zerop' checks, where called.
4192 (tramp-handle-set-file-modes)
4193 (tramp-do-copy-or-rename-file-directly)
4194 (tramp-handle-delete-directory, tramp-handle-delete-file)
4195 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
4196 (tramp-sh-file-name-handler, tramp-send-command-and-check)
4197 (tramp-get-remote-ln): Set tramp-autoload cookie.
4199 * net/tramp-fish.el: Remove file.
4201 2010-09-13 Daiki Ueno <ueno@unixuser.org>
4203 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
4204 buffer-file-name to avoid file-locking. (Bug#7026)
4206 2010-09-13 Julien Danjou <julien@danjou.info>
4208 * notifications.el (notifications-notify): Add support for
4209 image-path and sound-name.
4210 (notifications-specification-version): Add this variable.
4212 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4214 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
4216 2010-09-12 Leo <sdl.web@gmail.com>
4218 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
4219 (rcirc-completion-start): New variables.
4220 (rcirc-nick-completions): Rename to rcirc-completions.
4221 (rcirc-nick-completion-start-offset): Delete.
4222 (rcirc-completion-at-point): New function for constructing
4223 completion data for both nicks and irc commands. Add to
4224 completion-at-point-functions in rcirc mode.
4225 (rcirc-complete): Rename from rcirc-nick-complete; use
4226 rcirc-completion-at-point.
4227 (defun-rcirc-command): Update rcirc-client-commands.
4229 2010-09-11 Glenn Morris <rgm@gnu.org>
4231 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
4232 atomically, to avoid parallel build errors. (Bug#4196)
4234 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
4236 * progmodes/sql.el: Version 2.6
4237 (sql-dialect): Synonym for "sql-product".
4238 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
4239 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
4240 Set "sql-buffer" to buffer name not buffer object so multiple sql
4241 interactive buffers work properly. Reverts misguided changes in
4243 (sql-comint): Make sure different buffer name is used if "*SQL*"
4244 buffer is for a different product.
4245 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
4247 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
4248 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
4249 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
4250 Accept new buffer name or prompt for one.
4251 (sql-port): Default to zero.
4252 (sql-comint-mysql): Handle "sql-port" as a numeric.
4253 (sql-port-history): Delete unused variable.
4254 (sql-get-login): Default "sql-port" to a number.
4255 (sql-product-alist): Correct Postgres prompt and terminator regexp.
4256 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
4257 "sqlite3" executables.
4258 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
4259 (sql-buffer-live-p): New function.
4260 (sql-mode-menu, sql-send-string): Use it.
4261 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
4263 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
4264 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
4266 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4268 * net/netrc.el (netrc-credentials): New convenience function.
4270 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4272 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
4273 to replace texinfo-font-lock-syntactic-keywords.
4274 (texinfo-mode): Use it.
4276 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
4277 Use syntax-propertize-function.
4279 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
4280 replace sgml-font-lock-syntactic-keywords.
4281 (sgml-mode): Use it.
4283 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
4284 since we don't use it.
4286 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
4288 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
4290 (vhdl-fontify-buffer): Adjust.
4292 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
4293 replace tcl-font-lock-syntactic-keywords.
4296 * progmodes/simula.el (simula-syntax-propertize-function): New var to
4297 replace simula-font-lock-syntactic-keywords.
4298 (simula-mode): Use it.
4300 * progmodes/sh-script.el (sh-st-symbol): Remove.
4301 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
4302 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
4303 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
4304 (sh-font-lock-paren): Set syntax-multiline.
4305 (sh-font-lock-syntactic-keywords): Remove.
4306 (sh-syntax-propertize-function): New function to replace it.
4309 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
4310 Define while compiling.
4311 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4312 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
4313 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
4314 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4315 (ruby-here-doc-end-syntax): Only define when
4316 syntax-propertize is not available.
4317 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
4319 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
4320 (electric-indent-chars): Silence bytecompiler.
4321 (ruby-mode): Use prog-mode, syntax-propertize-function, and
4322 electric-indent-chars.
4324 * progmodes/python.el (python-syntax-propertize-function): New var to
4325 replace python-font-lock-syntactic-keywords.
4326 (python-mode): Use it.
4327 (python-quote-syntax): Simplify and adjust to new use.
4329 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
4330 replace perl-font-lock-syntactic-keywords.
4331 (perl-syntax-propertize-special-constructs): New fun to replace
4332 perl-font-lock-special-syntactic-constructs.
4333 (perl-font-lock-syntactic-face-function): New fun.
4334 (perl-mode): Use it.
4336 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
4337 to replace octave-font-lock-close-quotes.
4338 (octave-syntax-propertize-function): New function to replace
4339 octave-font-lock-syntactic-keywords.
4340 (octave-mode): Use it.
4342 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
4343 replaces mixal-font-lock-syntactic-keywords.
4344 (mixal-mode): Use it.
4346 * progmodes/make-mode.el (makefile-syntax-propertize-function):
4347 New var; replaces makefile-font-lock-syntactic-keywords.
4348 (makefile-mode): Use it.
4349 (makefile-imake-mode): Adjust.
4351 * progmodes/js.el (js--regexp-literal): Define while compiling.
4352 (js-syntax-propertize-function): New var; replaces
4353 js-font-lock-syntactic-keywords.
4356 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
4357 replaces gdb-script-font-lock-syntactic-keywords.
4358 (gdb-script-mode): Use it.
4360 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
4361 (fortran--font-lock-syntactic-keywords): New var.
4362 (fortran-line-length): Update syntax-propertize-function and
4363 fortran--font-lock-syntactic-keywords.
4365 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
4367 * progmodes/cfengine.el (cfengine-mode):
4368 Use syntax-propertize-function.
4369 (cfengine-font-lock-syntactic-keywords): Remove.
4371 * progmodes/autoconf.el (autoconf-mode):
4372 Use syntax-propertize-function.
4373 (autoconf-font-lock-syntactic-keywords): Remove.
4375 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
4376 (ada-after-change-function, ada-initialize-syntax-table-properties)
4377 (ada-handle-syntax-table-properties): Only define when
4378 syntax-propertize is not available.
4379 (ada-mode): Use syntax-propertize-function.
4381 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
4382 (font-lock-fontify-syntactic-keywords-region): Move handling of
4383 font-lock-syntactically-fontified to...
4384 (font-lock-default-fontify-region): ...here.
4385 Let syntax-propertize-function take precedence.
4386 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
4388 * emacs-lisp/syntax.el (syntax-propertize-function)
4389 (syntax-propertize-chunk-size, syntax-propertize--done)
4390 (syntax-propertize-extend-region-functions): New vars.
4391 (syntax-propertize-wholelines, syntax-propertize-multiline)
4392 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
4393 (syntax-propertize): New functions.
4394 (syntax-propertize-rules): New macro.
4395 (syntax-ppss-flush-cache): Set syntax-propertize--done.
4396 (syntax-ppss): Call syntax-propertize.
4398 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
4400 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
4402 * textmodes/ispell.el (ispell-init-process): Improve comments.
4403 XEmacs compatibility changes regarding (add-hook) 'local option
4404 and (set-process-query-on-exit-flag).
4406 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
4408 * net/tramp-cache.el (tramp-parse-connection-properties):
4409 Set tramp-autoload cookie.
4411 2010-09-09 Glenn Morris <rgm@gnu.org>
4413 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
4414 (imagemagick-register-types): Doc fix.
4416 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
4418 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
4420 * progmodes/js.el (require): Require is already "eval-and-compile".
4421 (js--re-search-forward): Avoid `eval'. Preserve the error data.
4422 (js--re-search-backward): Use js--re-search-forward.
4424 * progmodes/fortran.el (fortran-line-length): Don't recompute
4425 syntactic keywords redundantly a second time.
4427 * progmodes/ada-mode.el: Replace "(set '" with setq.
4428 (ada-mode): Simplify.
4429 (ada-create-case-exception, ada-adjust-case-interactive)
4430 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
4431 (ada-search-ignore-string-comment, ada-move-to-start)
4432 (ada-move-to-end): Use with-syntax-table.
4434 * font-lock.el (save-buffer-state): Remove `varlist' arg.
4435 (font-lock-unfontify-region, font-lock-default-fontify-region):
4436 Update usage correspondingly.
4437 (font-lock-fontify-syntactic-keywords-region):
4438 Set parse-sexp-lookup-properties buffer-locally here.
4439 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
4441 * simple.el (blink-matching-open): Don't burp if we can't find a match.
4443 2010-09-08 Glenn Morris <rgm@gnu.org>
4445 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
4446 Error if not compiled with -DBYTE_CODE_METER.
4448 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4449 Ignore dir-locals-file.
4451 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
4453 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4455 (compilation-error-regexp-alist-alist): Rule out ": " in file names
4456 for the `gnu' messages.
4457 (compilation-set-skip-threshold): New command.
4458 (compilation-start): Use \' rather than $.
4459 (compilation-forget-errors): Use clrhash.
4461 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
4463 * textmodes/ispell.el (ispell-valid-dictionary-list):
4466 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
4468 Migrate to Tramp 2.2. Rearrange load dependencies.
4469 (Bug#1529, Bug#5448, Bug#5705)
4471 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
4472 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
4473 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
4475 * net/tramp.el (top): Remove all other tramp-* loads except
4476 tramp-compat.el. Remove all changes to tramp-unload-hook for
4477 other tramp-* packages. Rearrange defun order. Change calls of
4478 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
4479 `tramp-compat-octal-to-decimal' to new function names.
4480 (tramp-terminal-type, tramp-initial-end-of-output)
4481 (tramp-methods, tramp-foreign-file-name-handler-alist)
4482 (tramp-tramp-file-p, tramp-completion-mode-p)
4483 (tramp-send-command-and-check, tramp-get-remote-path)
4484 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
4485 (tramp-shell-quote-argument): Set tramp-autoload cookie.
4486 (with-file-property, with-connection-property): Move to
4488 (tramp-local-call-process, tramp-decimal-to-octal)
4489 (tramp-octal-to-decimal): Move to tramp-compat.el.
4490 (tramp-handle-shell-command): Do not require 'shell.
4491 (tramp-compute-multi-hops): No special handling for tramp-gw-*
4493 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
4495 * net/tramp-cache.el (top): Require 'tramp. Add to
4496 `tramp-unload-hook'.
4497 (tramp-cache-data, tramp-get-file-property)
4498 (tramp-set-file-property, tramp-flush-file-property)
4499 (tramp-flush-directory-property, tramp-get-connection-property)
4500 (tramp-set-connection-property, tramp-flush-connection-property)
4501 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
4503 (with-file-property, with-connection-property): New defuns, moved
4505 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
4508 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
4509 (tramp-version): Set tramp-autoload cookie.
4511 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
4512 changes to tramp-unload-hook for other tramp-* packages. Add to
4513 `tramp-unload-hook'.
4514 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
4515 (tramp-compat-call-process): New defuns, moved from tramp.el.
4517 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
4518 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4519 Add to `tramp-unload-hook'. Change call of
4520 `tramp-compat-decimal-to-octal' to new function name.
4521 (tramp-fish-method): Make it a defconst.
4522 (tramp-fish-file-name-p): Make it a defsubst.
4523 (tramp-fish-method, tramp-fish-file-name-handler)
4524 (tramp-fish-file-name-p): Set tramp-autoload cookie.
4526 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
4527 `tramp-foreign-file-name-handler-alist'. Add to
4528 `tramp-unload-hook'.
4529 (tramp-ftp-method): Make it a defconst.
4530 (tramp-ftp-file-name-p): Make it a defsubst.
4531 (tramp-ftp-method, tramp-ftp-file-name-handler)
4532 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
4534 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
4535 `tramp-foreign-file-name-handler-alist'. Add to
4536 `tramp-unload-hook'. Change checks, whether package can be
4538 (tramp-gvfs-file-name-p): Make it a defsubst.
4539 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
4540 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
4541 (tramp-gvfs-handle-file-directory-p): New defun.
4542 (tramp-gvfs-file-name-handler-alist): Use it.
4544 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
4545 `tramp-foreign-file-name-handler-alist'. Add to
4546 `tramp-unload-hook'.
4547 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
4548 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
4550 (tramp-gw-tunnel-method, tramp-gw-socks-method)
4551 (tramp-gw-open-connection): Set tramp-autoload cookie.
4553 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
4554 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4555 Add to `tramp-unload-hook'. Change checks, whether package can be
4557 (tramp-imap-file-name-p): Make it a defsubst.
4558 (tramp-imap-method, tramp-imaps-method)
4559 (tramp-imap-file-name-handler)
4560 (tramp-imap-file-name-p): Set tramp-autoload cookie.
4562 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
4563 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4564 Add to `tramp-unload-hook'. Change checks, whether package can be
4565 loaded. Change call of `tramp-compat-decimal-to-octal' to new
4567 (tramp-smb-tunnel-method): Make it a defconst.
4568 (tramp-smb-file-name-p): Make it a defsubst.
4569 (tramp-smb-method, tramp-smb-file-name-handler)
4570 (tramp-smb-file-name-p): Set tramp-autoload cookie.
4572 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
4573 (tramp-uuencode-region): Set tramp-autoload cookie.
4575 * net/trampver.el (top) Add to `tramp-unload-hook'.
4576 (tramp-version, tramp-bug-report-address): Set tramp-autoload
4577 cookie. Update release number.
4579 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
4581 * textmodes/ispell.el (ispell-start-process): Make sure original
4582 arg list is properly initialized (Bug#6993, Bug#6994).
4584 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
4586 * files.el (directory-abbrev-alist): Use \` as default regexp.
4588 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
4589 chars like - or ] (bug#6984).
4590 (rx-any-condense-range): Explode 2-char ranges.
4592 2010-09-06 Glenn Morris <rgm@gnu.org>
4594 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
4596 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4598 * textmodes/bibtex.el:
4599 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
4601 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4603 * net/imap.el (imap-message-map): Remove optional buffer parameter,
4604 since no callers use it.
4605 (imap-message-get): Ditto.
4606 (imap-message-put): Ditto.
4607 (imap-mailbox-map): Ditto.
4608 (imap-mailbox-put): Ditto.
4609 (imap-mailbox-get): Ditto.
4610 (imap-mailbox-get): Revert last change for this function.
4612 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4614 * net/imap.el (imap-fetch-safe): Remove function, and alter all
4615 callers to use `imap-fetch' instead. According to the comments, this
4616 should be safe, since all other IMAP clients use the 1:* syntax.
4617 (imap-enable-exchange-bug-workaround): Remove.
4618 (imap-debug): Remove -- doesn't seem very useful.
4620 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4622 * net/imap.el (imap-log): New convenience function used throughout
4623 instead of repeating the same code all over the place.
4625 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
4627 * mouse.el (mouse-save-then-kill): Save region to kill-ring
4628 when mouse-drag-copy-region is non-nil (Bug#6956).
4630 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
4632 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
4633 Improve regexps (Bug#6987).
4634 (dired-sort-toggle): Search more robustly for -t flag.
4636 * files.el (get-free-disk-space): Search more robustly for
4637 "available" column. Suggested by Ehud Karni
4638 <ehud@unix.mvs.co.il>.
4640 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
4642 * international/uni-bidi.el:
4643 * international/uni-category.el:
4644 * international/uni-combining.el:
4645 * international/uni-decimal.el:
4646 * international/uni-mirrored.el:
4647 * international/uni-name.el: Regenerate.
4649 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4651 * electric.el (electric-indent-post-self-insert-function):
4652 Don't reindent with a sloppy indentation function.
4654 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
4655 border case in change-log-mode.
4657 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
4659 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4660 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
4661 Recognize leading tab in gcc-include regexp. Ignore names with
4662 leading "from" or "in" in gnu regexp (Bug#6937).
4664 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4666 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
4667 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
4668 (ispell-start-process): Avoid setq and simplify logic.
4669 (ispell-init-process): Setup kill-buffer-hook locally when needed.
4670 (kill-buffer-hook): Don't use it globally with code that uses
4671 expand-file-name since that may call kill-buffer via
4672 code_conversion_restore.
4674 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
4676 * emacs-lisp/package.el (package-directory-list): Only call
4677 file-name-nondirectory on a string.
4679 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
4681 * emacs-lisp/package.el (package--download-one-archive):
4682 Ensure that archive-contents is valid before saving it.
4683 (package-activate-1, package-mark-obsolete, define-package)
4684 (package-compute-transaction, package-list-maybe-add): Use push.
4686 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4688 Use SMIE's blink-paren for octave-mode.
4689 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
4690 Backslashes do not escape single-quotes, single-quotes do.
4691 (octave-block-else-regexp, octave-block-end-regexp)
4692 (octave-block-match-alist): Remove.
4693 (octave-smie-bnf-table): New var, with old content.
4694 (octave-smie-op-levels): Use it.
4695 (octave-smie-closer-alist): New var.
4696 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
4697 (octave-blink-matching-block-open): Remove.
4698 (octave-reindent-then-newline-and-indent, octave-electric-semi)
4699 (octave-electric-space): Let self-insert-command run expand-abbrev and
4702 * electric.el (electricity): New group.
4703 (electric-indent-chars): New var.
4704 (electric-indent-post-self-insert-function): New fun.
4705 (electric-indent-mode): New minor mode.
4706 (electric-pair-skip-self): New custom.
4707 (electric-pair-post-self-insert-function): New function.
4708 (electric-pair-mode): New minor mode.
4710 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
4711 calcAlg-blink-matching-open.
4712 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
4713 (calc-do-alg-entry): Only touch the part of the keymap that varies.
4714 Use the new blink-matching-check-function.
4716 Provide blink-matching support to SMIE.
4717 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
4718 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
4719 (smie-blink-matching-check, smie-blink-matching-open): New functions.
4721 * simple.el (newline): Fix last change to properly remove itself from
4724 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
4726 * simple.el (newline): Eliminate optimization.
4727 Use post-self-insert-hook to set hard-newline and things before
4728 running post-self-insert-hook.
4729 (blink-matching-check-mismatch): New function.
4730 (blink-matching-check-function): New variable.
4731 (blink-matching-open): Use them.
4732 Skip back forward over prefix chars skipped by forward-sexp.
4733 Don't check if the parens are backslash escaped.
4734 (blink-paren-post-self-insert-function): Check backslash escaping here.
4736 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
4738 * emacs-lisp/package.el (package-menu-mode-map):
4739 Change package-menu-revert bindings to revert-buffer.
4740 (package-menu-mode): Set revert-buffer-function.
4741 (package-menu-revert): Doc fix.
4743 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
4745 * textmodes/ispell.el (ispell-init-process): Use "~/" as
4746 `default-directory' unless using Ispell per-directory personal
4747 dictionaries and not in a mini-buffer under XEmacs.
4748 (kill-buffer-hook): Do not kill ispell process on exit when
4749 `ispell-process-directory' is "~/". (Bug#6143)
4751 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
4753 * simple.el (kill-new): Call interprogram-cut-function with only
4756 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
4757 Remove cut buffer from error message.
4759 * term/x-win.el (x-select-text):
4760 * term/pc-win.el (x-selection-value):
4761 * term/ns-win.el (x-selection-value):
4762 * eshell/em-term.el:
4763 * w32-fns.el (x-get-selection-value):
4764 * mouse-sel.el (mouse-sel-set-selection-function):
4765 * frame.el (display-selections-p): Remove cut-buffer in documentation.
4767 * term/x-win.el: Update documentation for x-last-selected-text-*.
4768 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
4769 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
4770 (x-select-text): Remove argument PUSH, update documentation.
4771 Remove cut-buffer code.
4772 (x-selection-value-internal): Was previously x-selection-value.
4773 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
4774 Update documentation, remove cut-buffer code.
4775 Call x-selection-value-internal.
4776 (x-clipboard-yank): Call x-selection-value-internal.
4777 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
4779 * term/pc-win.el (x-last-selected-text):
4780 x-cut-buffer-or-selection-value renamed to x-selection-value
4781 (x-select-text): Remove argument PUSH, update documentation.
4783 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
4784 x-cut-buffer-or-selection-value renamed to x-selection-value
4785 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
4786 (x-select-text): Remove argument PUSH, update documentation.
4788 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
4790 * w32-fns.el (x-last-selected-text):
4791 x-cut-buffer-or-selection-value renamed to x-selection-value.
4792 (x-cut-buffer-max): Remove.
4793 (x-select-text): Remove argument PUSH, update documentation.
4795 * simple.el (interprogram-cut-function): Remove mention of PUSH.
4797 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
4799 * mouse-sel.el (mouse-sel-get-selection-function):
4800 x-cut-buffer-or-selection-value renamed to x-selection-value.
4801 (x-select-text): Remove optional push.
4803 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
4805 * simple.el (blink-paren-function): Move from C to here.
4806 (blink-paren-post-self-insert-function): New function.
4807 (post-self-insert-hook): Use it.
4809 * emacs-lisp/pcase.el (pcase-split-memq):
4810 Fix overenthusiastic optimisation.
4811 (pcase-u1): Handle the case of a lambda pred.
4813 2010-08-31 Kenichi Handa <handa@m17n.org>
4815 * international/mule-cmds.el (standard-display-european-internal):
4816 Setup standard-display-table for 8-bit characters by storing 8-bit
4817 characters in the element vector.
4819 * disp-table.el (standard-display-8bit):
4820 Setup standard-display-table for 8-bit characters by storing 8-bit
4821 characters in the element vector.
4822 (standard-display-european): Likewise.
4824 2010-08-31 Masatake YAMATO <yamato@redhat.com>
4826 * textmodes/nroff-mode.el (nroff-view): New command.
4827 (nroff-mode-map): Bind it to C-c C-c.
4829 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
4831 * emacs-lisp/smie.el (smie-down-list): New command.
4833 Remove old indentation and navigation code on octave-mode.
4834 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
4835 smie-down-list rather than add a binding for octave-down-block.
4836 (octave-mark-block, octave-blink-matching-block-open):
4837 Rely on forward-sexp-function.
4838 (octave-fill-paragraph): Don't narrow, so you can use
4839 indent-according-to-mode.
4840 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
4841 (octave-in-block-p, octave-re-search-forward-kw)
4842 (octave-re-search-backward-kw, octave-indent-calculate)
4843 (octave-end-as-array-index-p, octave-block-end-offset)
4844 (octave-scan-blocks, octave-forward-block, octave-backward-block)
4845 (octave-down-block, octave-backward-up-block, octave-up-block)
4846 (octave-before-magic-comment-p, octave-indent-line): Remove.
4848 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
4850 * emacs-lisp/package.el (package--read-archive-file): Just use
4851 `read', to avoid copying an additional string.
4852 (package-menu-mode): Set header-line-format here.
4853 (package-menu-refresh, package-menu-revert): Signal an error if
4854 not in the Package Menu.
4855 (package-menu-package-list): New var.
4856 (package--generate-package-list): Operate on the current buffer;
4857 don't assume that it is *Packages*, since the user may rename it.
4858 Allow persistent package listings and sort keys using
4859 package-menu-package-list and package-menu-package-sort-key.
4860 (package-menu--version-predicate): Fix version calculation.
4861 (package-menu-sort-by-column): Don't select the window.
4862 (package--list-packages): Create the *Packages* buffer.
4863 Set package-menu-package-list-key.
4864 (list-packages): Sorting by status is now the default.
4865 (package-buffer-info): Use match-string-no-properties.
4866 (define-package): Add a &rest argument for future proofing, but
4868 (package-install-from-buffer, package-install-buffer-internal):
4869 Merge into a single function, package-install-from-buffer.
4870 (package-install-file): Change caller.
4872 * finder.el: Load finder-inf using `require'.
4873 (finder-list-matches): Sorting by status is now the default.
4874 (finder-compile-keywords): Simpify printing.
4876 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
4878 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
4879 (octave-mode-map): Remove special bindings for forward/backward-block
4880 and octave-backward-up-block. Use smie-close-block.
4881 (octave-continuation-marker-regexp): New var.
4882 (octave-continuation-regexp): Use it.
4883 (octave-operator-table, octave-smie-op-levels)
4884 (octave-operator-regexp, octave-smie-indent-rules): New vars.
4885 (octave-smie-backward-token, octave-smie-forward-token): New funs.
4886 (octave-mode): Use SMIE.
4887 (octave-close-block): Delete.
4889 2010-08-30 Eli Zaretskii <eliz@gnu.org>
4891 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
4892 CLIPBOARD, not in PRIMARY. (Bug#6944)
4894 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
4896 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
4898 (smie-indent-column): Allow indirection through variables.
4900 * composite.el (save-buffer-state): Delete, unused.
4901 * font-lock.el (save-buffer-state): Use with-silent-modifications.
4902 (font-lock-default-fontify-region): Use with-syntax-table.
4903 * jit-lock.el (with-buffer-unmodified): Remove.
4904 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
4906 Use `declare' in defmacros.
4907 * window.el (save-selected-window):
4908 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
4909 * progmodes/python.el (def-python-skeleton):
4910 * net/dbus.el (dbus-ignore-errors):
4911 * jka-cmpr-hook.el (with-auto-compression-mode):
4912 * international/mule.el (with-category-table):
4913 * emacs-lisp/timer.el (with-timeout):
4914 * emacs-lisp/lisp-mnt.el (lm-with-file):
4915 * emacs-lisp/eieio.el (with-slots):
4916 * emacs-lisp/easymenu.el (easy-menu-define):
4917 * emacs-lisp/debug.el (debugger-env-macro):
4918 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
4919 (Multiple-value-call, Multiple-value-prog1):
4920 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
4921 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
4922 edebug rule to definition.
4923 * emacs-lisp/lisp-mode.el (save-selected-window)
4924 (with-current-buffer, combine-after-change-calls)
4925 (with-output-to-string, with-temp-file, with-temp-buffer)
4926 (with-temp-message, with-syntax-table, read-if, eval-after-load)
4927 (dolist, dotimes, when, unless):
4928 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
4930 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
4932 * finder.el: Require `package'.
4933 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
4934 (finder-package-info): Var deleted.
4935 (finder-keywords-hash, finder--builtins-alist): New vars.
4936 (finder-compile-keywords): Compute package--builtins and
4937 finder-keywords-hash instead of finder-keywords-hash, respecting
4938 the "Package" header.
4939 (finder-unknown-keywords, finder-list-matches):
4940 Use finder-keywords-hash and package--list-packages.
4941 (finder-mode): Don't set font-lock-defaults.
4942 (finder-exit): We don't use "*Finder-package*" and "*Finder
4943 Category*" buffers anymore.
4945 * emacs-lisp/package.el (package--builtins-base): Var deleted.
4946 (package--builtins): Set default value to nil.
4947 (package-initialize): Load precomputed value of package--builtins
4949 (package-alist, package-compute-transaction)
4950 (package-download-transaction): Improve docstring.
4951 (package-read-all-archive-contents): Do not change
4952 package--builtins here.
4953 (list-packages): Make package-list-packages an alias for this.
4954 Sort by status by default.
4955 (package--list-packages): Add optional PACKAGES arg.
4956 (describe-package-1): Use font-lock-face property. For built-in
4957 packages, insert file commentary.
4958 (package--generate-package-list): Rename from
4959 package-list-packages-internal; all callers changed. Add optional
4960 PACKAGES arg. Add alphabetical sort fallbacks.
4961 (package-menu--version-predicate, package-menu--status-predicate)
4962 (package-menu--description-predicate)
4963 (package-menu--name-predicate): New functions.
4965 * info.el (Info-finder-find-node): Search package-alist instead of
4966 finder-package-info.
4968 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
4970 * subr.el (version-regexp-alist): Don't use "a" and "b" for
4972 (version-to-list): Handle versions like "10.3d".
4974 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4976 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
4977 (macroexp-accumulate): Use `declare'.
4979 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4981 * whitespace.el (whitespace-style): Adjust type declaration.
4983 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
4985 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
4986 empty argument to gvfs-copy.
4988 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
4990 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
4991 handle new TRASH arg of `delete-file'.
4993 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
4995 * net/tramp.el (tramp-handle-insert-directory): Don't use
4996 `forward-word', its default syntax could be changed.
4998 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
4999 Michael Albinus <michael.albinus@gmx.de>
5001 Implement compression for inline methods.
5003 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
5004 (tramp-copy-size-limit): Allow also nil.
5005 (tramp-inline-compress-commands): New defconst.
5006 (tramp-find-inline-compress, tramp-get-inline-compress)
5007 (tramp-get-inline-coding): New defuns.
5008 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
5009 replaced by `tramp-get-inline-coding'.
5010 (tramp-handle-file-local-copy, tramp-handle-write-region)
5011 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
5013 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
5015 Detect ssh 'ControlMaster' argument automatically in some cases.
5017 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
5018 (tramp-default-method): Use it.
5020 2010-08-26 Karel Klíč <kklic@redhat.com>
5022 * net/tramp.el (tramp-file-name-for-operation):
5023 Add file-selinux-context.
5025 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
5027 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
5029 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5031 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
5034 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
5036 * progmodes/js.el: Make indentation more customizable (Bug#6914).
5037 (js-paren-indent-offset, js-square-indent-offset)
5038 (js-curly-indent-offset): New options.
5039 (js--proper-indentation): Use them.
5041 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
5043 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
5044 instead of inspecting font-lock properties (Bug#6916).
5046 2010-08-26 David Reitter <david.reitter@gmail.com>
5048 * server.el (server-visit-files): Run pre-command-hook and
5049 post-command-hook for each buffer while it is current (Bug#6910).
5050 (server-execute): Do not run hooks here.
5052 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
5054 Sync with Tramp 2.1.19.
5056 * net/tramp-cmds.el (tramp-cleanup-all-connections)
5057 (tramp-reporter-dump-variable, tramp-load-report-modules)
5058 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
5059 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
5061 * net/tramp-compat.el (top): Do not autoload
5062 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
5063 only when `start-file-process' is not bound.
5064 (byte-compile-not-obsolete-vars): Define if not bound.
5065 (tramp-compat-funcall): New defmacro.
5066 (tramp-compat-line-beginning-position)
5067 (tramp-compat-line-end-position)
5068 (tramp-compat-temporary-file-directory)
5069 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
5070 (tramp-compat-copy-file, tramp-compat-copy-directory)
5071 (tramp-compat-delete-file, tramp-compat-delete-directory)
5072 (tramp-compat-number-sequence, tramp-compat-process-running-p):
5074 (tramp-advice-file-expand-wildcards): Do not use
5075 `tramp-handle-file-remote-p'.
5076 (tramp-compat-make-temp-file): Simplify fallback implementation.
5077 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5078 (tramp-compat-copy-tree): Remove function.
5079 (tramp-compat-delete-file): New defun.
5080 (tramp-compat-delete-directory): Provide implementation for older
5082 (tramp-compat-file-attributes): Handle only
5083 `wrong-number-of-arguments' error.
5085 * net/tramp-fish.el (tramp-fish-handle-copy-file):
5086 Add PRESERVE_SELINUX_CONTEXT.
5087 (tramp-fish-handle-delete-file): Add TRASH arg.
5088 (tramp-fish-handle-directory-files-and-attributes):
5089 Do not use `tramp-fish-handle-file-attributes.
5090 (tramp-fish-handle-file-local-copy)
5091 (tramp-fish-handle-insert-file-contents)
5092 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
5094 * net/tramp-gvfs.el (top): Require url-util.
5095 (tramp-gvfs-mount-point): Remove.
5096 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
5097 and `set-file-selinux-context'.
5098 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
5099 (tramp-gvfs-handle-file-selinux-context)
5100 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
5101 (with-tramp-dbus-call-method): Format trace message.
5102 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
5103 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
5104 Implement backup call, when operation on local files fails.
5105 Use progress reporter. Flush properties of changed files.
5106 (tramp-gvfs-handle-delete-file): Add TRASH arg.
5107 Use `tramp-compat-delete-file'.
5108 (tramp-gvfs-handle-expand-file-name): Expand "~/".
5109 (tramp-gvfs-handle-make-directory): Make more traces.
5110 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
5111 (tramp-gvfs-url-file-name): Hexify file name in url.
5112 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
5113 into account for the resulting file name.
5114 (tramp-gvfs-handler-askquestion): Preserve current message, in
5115 order to let progress reporter continue afterwards. (Bug#6257)
5116 Return dummy mountpoint, when the answer is "no".
5117 See `tramp-gvfs-maybe-open-connection'.
5118 (tramp-gvfs-handler-mounted-unmounted)
5119 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
5120 attribute "default_location". Set "prefix" property.
5121 Handle default-location.
5122 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
5123 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
5124 exists. Raise an error, if not (due to a corresponding answer
5125 "no" in interactive questions, for example).
5126 Use `tramp-compat-funcall'.
5128 * net/tramp-imap.el (top): Autoload `epg-make-context'.
5129 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5130 (tramp-imap-do-copy-or-rename-file)
5131 (tramp-imap-handle-insert-file-contents)
5132 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
5133 (tramp-imap-handle-delete-file): Add TRASH arg.
5135 * net/tramp-smb.el (tramp-smb-handle-copy-file):
5136 Add PRESERVE-SELINUX-CONTEXT.
5137 (tramp-smb-handle-copy-file)
5138 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5139 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
5140 Use `with-progress-reporter'.
5141 (tramp-smb-handle-delete-file): Add TRASH arg.
5143 * net/tramp.el (tramp-methods): Move hostname to the end in all
5144 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
5146 (tramp-verbose): Describe verbose level 9.
5147 (tramp-completion-function-alist)
5148 (tramp-file-name-regexp, tramp-chunksize)
5149 (tramp-local-coding-commands, tramp-remote-coding-commands)
5150 (with-connection-property, tramp-completion-mode-p)
5151 (tramp-action-process-alive, tramp-action-out-of-band)
5152 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
5153 (tramp-exists-file-name-handler): Fix docstring.
5154 (tramp-remote-process-environment): Use `format' instead of
5155 `concat'. Protect version string by apostroph.
5156 (tramp-shell-prompt-pattern): Do not use a shy group in case of
5158 (tramp-file-name-regexp-unified)
5159 (tramp-completion-file-name-regexp-unified): On W32 systems, do
5160 not regard the volume letter as remote filename. (Bug#5447)
5161 (tramp-perl-file-attributes)
5162 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
5163 (tramp-vc-registered-read-file-names): Read input as
5164 here-document, otherwise the command could exceed maximum length
5166 (tramp-file-name-handler-alist): Add `file-selinux-context' and
5167 `set-file-selinux-context'.
5168 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
5169 backtrace functions.
5170 (tramp-error-with-buffer): Don't show the connection buffer when
5171 we are in completion mode.
5172 (tramp-progress-reporter-update, tramp-remote-selinux-p)
5173 (tramp-handle-file-selinux-context)
5174 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
5175 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
5177 (with-progress-reporter): New defmacro.
5178 (tramp-debug-outline-regexp): New defconst.
5179 (top, tramp-rfn-eshadow-setup-minibuffer)
5180 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
5181 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
5182 (tramp-completion-mode-p, tramp-check-for-regexp)
5183 (tramp-open-connection-setup-interactive-shell)
5184 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
5185 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
5186 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
5187 Use `tramp-compat-funcall'.
5188 (tramp-handle-make-symbolic-link): Flush file properties.
5189 (tramp-handle-load, tramp-handle-file-local-copy)
5190 (tramp-handle-insert-file-contents, tramp-handle-write-region)
5191 (tramp-handle-vc-registered, tramp-maybe-send-script)
5192 (tramp-find-shell): Use `with-progress-reporter'.
5193 (tramp-do-file-attributes-with-stat): Add space in format string,
5194 in order to work around a bug in pdksh. Reported by Gilles Pion
5196 (tramp-handle-verify-visited-file-modtime): Do not send a command
5197 when the connection is not established.
5198 (tramp-handle-set-file-times): Simplify the check for utc.
5199 (tramp-handle-directory-files-and-attributes)
5200 (tramp-get-remote-path): Use `copy-tree'.
5201 (tramp-completion-handle-file-name-all-completions): Ensure, that
5202 non remote files are still checked. Oops.
5203 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
5204 Handle PRESERVE-SELINUX-CONTEXT.
5205 (tramp-do-copy-or-rename-file): Add progress reporter.
5206 (tramp-do-copy-or-rename-file-directly): Do not use
5207 `tramp-handle-file-remote-p'.
5208 (tramp-do-copy-or-rename-file-out-of-band):
5209 Use `tramp-compat-delete-directory'.
5210 (tramp-do-copy-or-rename-file-out-of-band)
5211 (tramp-compute-multi-hops, tramp-maybe-open-connection):
5212 Use `format-spec-make'.
5213 (tramp-handle-delete-file): Add TRASH arg.
5214 (tramp-handle-dired-uncache): Flush directory cache, not only file
5216 (tramp-handle-expand-file-name)
5217 (tramp-completion-handle-file-name-all-completions)
5218 (tramp-completion-handle-file-name-completion):
5219 Use `tramp-connectable-p'.
5220 (tramp-handle-start-file-process): Set connection property "vec".
5221 Use it, in order to invalidate file caches. Check only for
5222 `remote-tty' process property.
5223 Implement tty setting. (Bug#4604, Bug#6360)
5224 (tramp-file-name-for-operation): Add `call-process-region' and
5225 `set-file-selinux-context'.
5226 (tramp-find-foreign-file-name-handler)
5227 (tramp-advice-make-auto-save-file-name)
5228 (tramp-set-auto-save-file-modes): Remove superfluous check for
5229 `stringp'. This is done inside `tramp-tramp-file-p'.
5230 (tramp-file-name-handler): Trace 'quit. Catch the error for some
5231 operations when we are in completion mode. This gives the user
5232 the chance to correct the file name in the minibuffer.
5233 (tramp-completion-mode-p): Use `non-essential'.
5234 (tramp-handle-file-name-all-completions): Backward/ XEmacs
5235 compatibility: Use `completion-ignore-case' if
5236 `read-file-name-completion-ignore-case' does not exist.
5237 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
5238 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5240 (tramp-action-password): Hide password prompt before next run.
5241 (tramp-process-actions): Widen connection buffer for the trace.
5242 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
5243 process property. Trace stty settings if `tramp-verbose' >= 9.
5244 Apply workaround for IRIX64 bug. Move argument of last
5245 `tramp-send-command' where it belongs to.
5246 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
5247 front of `login-args'.
5248 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
5249 on "/dev/null" instead of "/".
5250 (tramp-get-ls-command-with-dired): Make test for "--dired"
5252 (tramp-set-auto-save-file-modes): Adapt version check.
5253 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
5254 (tramp-handle-process-file): Call the program in a subshell, in
5255 order to preserve working directory.
5256 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
5257 `tramp-remote-sh' from `tramp-methods'.
5258 (tramp-get-ls-command): Make test for "--color=never" stronger.
5259 (tramp-check-for-regexp): Use (forward-line 1).
5261 * net/trampver.el: Update release number.
5263 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5265 * help.el (help-map): Bind `C-h P' to describe-package.
5267 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
5269 * emacs-lisp/package.el (package-refresh-contents): Catch errors
5270 when downloading archives.
5271 (describe-package-1): Add package commentary.
5272 (package-install-button-action): New function.
5273 (package-menu-mode-map): Bind ? to package-menu-describe-package.
5274 (package-menu-view-commentary): Function removed.
5275 (package-list-packages-internal): Hide the `package' package too.
5277 2010-08-25 Kenichi Handa <handa@m17n.org>
5279 * language/misc-lang.el ("Arabic"): New language environment.
5280 Setup composition-function-table for Arabic characters.
5282 * international/fontset.el (setup-default-fontset): Fix typo for
5283 arabic OTF spec (fini->fina).
5285 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
5287 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
5290 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5292 * whitespace.el: Allow cleaning up blanks without blank
5293 visualization (Bug#6651). Adjust help window for
5294 whitespace-toggle-options (Bug#6479). Allow to use fill-column
5295 instead of whitespace-line-column (from EmacsWiki). New version
5297 (whitespace-style): Add new value 'face. Adjust docstring.
5298 (whitespace-space, whitespace-hspace, whitespace-tab):
5299 Adjust foreground property face.
5300 (whitespace-line-column): Adjust docstring and type declaration.
5301 (whitespace-style-value-list, whitespace-toggle-option-alist)
5302 (whitespace-help-text): Adjust const initialization.
5303 (whitespace-toggle-options, global-whitespace-toggle-options):
5305 (whitespace-display-window, whitespace-interactive-char)
5306 (whitespace-style-face-p, whitespace-color-on): Adjust code.
5307 (whitespace-help-scroll): New fun.
5309 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
5311 * emacs-lisp/package.el (list-packages): Alias for
5312 package-list-packages.
5314 2010-08-24 Kevin Ryde <user42@zip.com.au>
5316 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
5319 * progmodes/ruby-mode.el (ruby): Add defgroup.
5321 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
5323 * progmodes/python.el: Add Ipython support (Bug#5390).
5324 (python-shell-prompt-alist)
5325 (python-shell-continuation-prompt-alist): New options.
5326 (python--set-prompt-regexp): New function.
5327 (inferior-python-mode, run-python, python-shell):
5328 Require ansi-color. Use python--set-prompt-regexp to set the comint
5329 prompt based on the Python interpreter.
5330 (python--prompt-regexp): New var.
5331 (python-check-comint-prompt)
5332 (python-comint-output-filter-function): Use it.
5333 (run-python): Use a pipe (Bug#5694).
5335 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
5337 * progmodes/python.el (python-send-region): Send a different
5338 Python command if Ipython is in use.
5339 (python-check-version): Use a Python command to find the version.
5341 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
5343 * mouse.el (mouse-yank-primary): Avoid setting primary when
5344 deactivating the mark (Bug#6872).
5346 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
5348 * progmodes/python.el (python-block-pairs): Allow use of "finally"
5349 with "else" (Bug#3991).
5351 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
5353 * net/dbus.el: Accept UNIX domain sockets as bus address.
5354 (top): Don't initialize `dbus-registered-objects-table' anymore,
5355 this is done in dbusbind,c.
5356 (dbus-check-event): Adapt test for bus.
5357 (dbus-return-values-table, dbus-unregister-service)
5358 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
5361 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
5363 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
5365 2010-08-22 Juri Linkov <juri@jurta.org>
5367 * simple.el (read-extended-command): New function with the logic
5368 for `completing-read' moved to Elisp from `execute-extended-command'.
5369 Use `function-called-at-point' in `minibuffer-default-add-function'
5370 to get a command name for M-n (bug#5364, bug#5214).
5372 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5374 * startup.el (command-line-1): Issue warning for ignored arguments
5375 --unibyte, etc (Bug#6886).
5377 2010-08-22 Leo <sdl.web@gmail.com>
5379 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
5380 (ignore, bright, dim, keyword): Split list of nicknames before
5381 passing to rcirc-add-or-remove (Bug#6894).
5383 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5385 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
5387 2010-08-22 Leo <sdl.web@gmail.com>
5389 Fix buffer-list rename&refresh after killing a buffer in ido.
5390 * ido.el: Revert Óscar's.
5391 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
5392 Remember the buffers at head, rather than their name.
5393 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
5395 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
5396 Stefan Monnier <monnier@iro.umontreal.ca>
5398 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
5399 extra backslash added to each line (bug#6890).
5401 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5403 * subr.el (read-key): Don't echo keystrokes (bug#6883).
5405 2010-08-22 Glenn Morris <rgm@gnu.org>
5407 * menu-bar.el (menu-bar-games-menu): Add landmark.
5409 2010-08-22 Glenn Morris <rgm@gnu.org>
5411 * align.el (align-regexp): Make group and spacing arguments
5412 use the interactive defaults when non-interactive. (Bug#6698)
5414 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
5415 expansion, so as not to need sendmail.
5416 (mail-text-start): Remove declaration.
5417 (rmail-retry-failure): Require sendmail.
5419 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5421 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
5423 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
5425 * progmodes/flymake.el (flymake-start-syntax-check-process):
5426 Use `start-file-process' in order to let it run also on remote hosts.
5428 2010-08-22 Kenichi Handa <handa@m17n.org>
5430 * files.el: Add `word-wrap' as safe local variable.
5432 2010-08-22 Glenn Morris <rgm@gnu.org>
5434 * woman.el (woman-translate): Case matters. (Bug#6849)
5436 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5438 * simple.el (kill-region): Doc fix (Bug#6787).
5440 2010-08-22 Glenn Morris <rgm@gnu.org>
5442 * calendar/diary-lib.el (diary-header-line-format):
5443 Fit it to the window, not the frame.
5445 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
5447 * subr.el (ignore-errors): Add debug declaration.
5449 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
5451 * whitespace.el (whitespace-color-off): Remove post-command-hook
5454 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5456 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
5458 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
5460 * cus-edit.el (custom-group-value-create): Add extra newline
5461 before end line (Bug#6876).
5463 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
5465 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
5466 when extending it. Before killing on the second click, check if
5467 the buffer is the correct one. Doc fix.
5468 (mouse-secondary-save-then-kill): Allow usage without first
5469 calling mouse-start-secondary, by defaulting to point. Don't save
5470 an empty secondary selection. Doc fix.
5472 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5474 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
5475 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
5477 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
5478 Adjust initialization.
5479 (whitespace-bob-marker, whitespace-eob-marker)
5480 (whitespace-buffer-changed): New vars.
5481 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
5482 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
5483 (whitespace-post-command-hook, whitespace-display-char-on):
5485 (whitespace-looking-back, whitespace-buffer-changed): New funs.
5486 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
5488 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
5490 * files.el (locate-file-completion-table): Only list the .el and .elc
5491 extensions if there's no other choice (bug#5955).
5493 * facemenu.el (facemenu-self-insert-data): New var.
5494 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
5496 (facemenu-add-face): Use them.
5498 * simple.el (blink-matching-open): Obey forward-sexp-function.
5500 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
5502 * simple.el (prog-mode-map): New var.
5503 (prog-indent-sexp): New command.
5505 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
5507 * progmodes/prolog.el (smie): Require.
5509 * emacs-lisp/smie.el (smie-default-backward-token)
5510 (smie-default-forward-token): Strip properties.
5511 (smie-next-sexp): Be more careful with associative operators.
5512 (smie-forward-sexp-command): Generalize.
5513 (smie-backward-sexp-command): Simplify.
5514 (smie-closer-alist): New var.
5515 (smie-close-block): New command.
5516 (smie-indent-debug-log): New var.
5517 (smie-indent-offset-rule): Add a few more cases.
5518 (smie-indent-column): New function.
5519 (smie-indent-after-keyword): Use it.
5520 (smie-indent-keyword): Use it.
5521 Fix up the opener code's point position.
5522 (smie-indent-comment): Only applies at BOL.
5523 (smie-indent-debug): New command.
5525 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
5526 declarations that are useful before running the macro.
5528 2010-08-18 Joakim Verona <joakim@verona.se>
5530 * image.el (imagemagick-types-inhibit): New variable.
5531 (imagemagick-register-types): New function.
5532 * image-mode.el (image-transform-properties): New function.
5533 (image-transform-set-scale, image-transform-fit-to-height)
5534 (image-transform-set-rotation, image-transform-set-resize)
5535 (image-transform-fit-to-width, image-transform-fit-to-height):
5537 (image-toggle-display-image): Support image transforms.
5539 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
5541 * image.el (create-animated-image): Don't add heuristic mask to image
5544 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
5546 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
5547 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
5549 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
5551 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
5553 Font-lock '...' strings, plus various simplifications and fixes.
5554 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
5555 (octave-font-lock-close-quotes): New function.
5556 (octave-font-lock-syntactic-keywords): New var.
5557 (octave-mode): Use it. Set beginning-of-defun-function.
5558 (octave-mode-map): Don't override the <foo>-defun commands.
5559 (octave-mode-menu): Pass it directly to easy-menu-define;
5560 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
5561 (octave-block-match-alist): Fix up last change so that
5562 octave-close-block uses the more specific keyword.
5563 (info-lookup-mode): Silence byte-compiler.
5564 (octave-beginning-of-defun): Not interactive any more.
5566 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
5567 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
5568 (octave-completion-at-point-function): Make sure point is within
5570 (octave-reindent-then-newline-and-indent):
5571 Use reindent-then-newline-and-indent.
5572 (octave-add-octave-menu): Remove.
5574 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
5576 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
5577 (report-emacs-bug-can-use-xdg-email): New functions.
5578 (report-emacs-bug): Set can-xdg-email to result of
5579 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
5580 \C-cm to report-emacs-bug-insert-to-mailer and add help text
5583 * net/browse-url.el (browse-url-default-browser): Add cond
5584 for browse-url-xdg-open.
5585 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
5587 2010-08-17 Glenn Morris <rgm@gnu.org>
5589 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
5590 (c-fontify-recorded-types-and-refs): Define for compiler.
5591 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
5594 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
5597 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
5599 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
5601 (tramp-handle-process-file): Call the program in a subshell, in
5602 order to preserve working directory.
5603 (tramp-action-password): Hide password prompt before next run.
5604 (tramp-process-actions): Widen connection buffer for the trace.
5606 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5608 * net/rcirc.el (rcirc-log-process-buffers): New option.
5609 (rcirc-print): Use it.
5610 (rcirc-generate-log-filename): New function.
5611 (rcirc-log-filename-function): Change default to
5612 rcirc-generate-log-filename (Bug#6828).
5614 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
5616 * simple.el (deactivate-mark): If select-active-regions is `only',
5617 only set selection for temporarily active regions.
5619 * cus-start.el: Change defcustom for select-active-regions.
5621 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
5623 * mouse.el (mouse--drag-set-mark-and-point): New function.
5624 (mouse-drag-track): Use LOCATION arg to push-mark.
5625 Use mouse--drag-set-mark-and-point to take click-count into
5626 consideration when updating point and mark (Bug#6840).
5628 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
5630 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5631 Give the Ruby rule a lower priority than Gnu (Bug#6778).
5633 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
5635 * font-lock.el (lisp-font-lock-keywords-2):
5636 Add combine-after-change-calls, condition-case-no-debug,
5637 with-demoted-errors, and with-silent-modifications (Bug#6025).
5639 2010-08-14 Kevin Ryde <user42@zip.com.au>
5641 * emacs-lisp/copyright.el (copyright-update-year)
5642 (copyright-update): Temporary switch-to-buffer to ensure the
5643 buffer change being queried is visible (Bug#5394).
5645 2010-08-14 Tom Tromey <tromey@redhat.com>
5647 * progmodes/etags.el (tags-file-name): Mark safe if stringp
5650 2010-08-14 Eli Zaretskii <eliz@gnu.org>
5652 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
5655 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
5657 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
5658 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
5659 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
5660 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
5661 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
5662 Call menu-bar-set-tool-bar-position.
5664 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5666 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
5667 comment style (bug#6834).
5668 * progmodes/scheme.el (scheme-mode-syntax-table):
5669 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
5670 "b" flag in "' 14b" syntax.
5672 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
5673 for (un)commenting the region and performing completion.
5674 (octave-mode-menu): Use standard commands for help and completion.
5675 (octave-mode-syntax-table): Support %{..%} comments (sort of).
5676 (octave-mode): Use define-derived-mode.
5677 Set completion-at-point-functions and don't set columns.
5678 Don't disable adaptive-fill-regexp.
5679 (octave-describe-major-mode, octave-comment-region)
5680 (octave-uncomment-region, octave-comment-indent)
5681 (octave-indent-for-comment): Remove.
5682 (octave-indent-calculate): Rename from calculate-octave-indent.
5683 (octave-indent-line, octave-fill-paragraph): Update caller.
5684 (octave-initialize-completions): No need to make an alist.
5685 (octave-completion-at-point-function): New function.
5686 (octave-complete-symbol): Use it.
5687 (octave-insert-defun): Use define-skeleton.
5689 * progmodes/octave-mod.el (octave-mode): Set comment-add.
5690 (octave-mode-map): Use comment-dwim (bug#6829).
5692 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
5694 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
5695 indentation of inserted comment.
5697 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
5699 * faces.el (region): Add type gtk that uses gtk colors.
5701 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
5702 Handle theme-name change.
5704 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
5706 * progmodes/sql.el: Version 2.5
5707 (sql-product-alist): Add :prompt-cont-regexp property for several
5709 (sql-prompt-cont-regexp): New variable.
5710 (sql-output-newline-count, sql-output-by-send):
5711 New variables. Record number of newlines in input text.
5712 (sql-send-string): Handle multiple filters and count newlines.
5713 (sql-send-magic-terminator): Count terminator newline.
5714 (sql-interactive-remove-continuation-prompt): Filters output to
5715 remove continuation prompts; one for each newline.
5716 (sql-interactive-mode): Set up new variables, prompt regexp and
5718 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
5719 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
5721 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5723 * emacs-lisp/pcase.el: New file.
5725 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
5727 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
5728 as here-document, otherwise the command could exceed maximum
5729 length of command line.
5730 (tramp-handle-vc-registered): Call script accordingly.
5731 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
5733 2010-08-10 Kenichi Handa <handa@m17n.org>
5735 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
5738 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
5740 * emacs-lisp/package.el (package-version-split)
5741 (package--version-first-nonzero, package-version-compare):
5743 (package-directory-list, package-load-all-descriptors)
5744 (package--built-in, package-activate, define-package)
5745 (package-installed-p, package-compute-transaction)
5746 (package-read-all-archive-contents)
5747 (package--add-to-archive-contents, package-buffer-info)
5748 (package-tar-file-info, package-list-packages-internal):
5749 Use version-to-list and version-list-*.
5751 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5752 Use version-to-list.
5753 (package-upload-buffer-internal): Use version-list-<=.
5755 2010-08-09 Kenichi Handa <handa@m17n.org>
5757 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
5760 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
5762 * tutorial.el (tutorial--default-keys): C-d is now bound to
5763 delete-forward-char (Bug#6826).
5765 * mouse.el (mouse-drag-track): Remove accidentally-removed check
5766 for `double' value of mouse-1-click-follows-link (Bug#6807).
5768 2010-08-08 Johan Bockgård <bojohan@gnu.org>
5770 * replace.el (replace-highlight): Bind isearch-forward and
5771 isearch-error, ensuring that highlighting is updated if the user
5772 switches the search direction (Bug#6808).
5774 * isearch.el (isearch-lazy-highlight-forward): New var.
5775 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5776 (isearch-lazy-highlight-update): Use it.
5778 2010-08-08 Kenichi Handa <handa@m17n.org>
5780 * international/mule.el (define-charset): Store NAME as :base property.
5781 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
5782 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
5783 current priority. Force using the designation of the specific
5784 charset by adding `charset' text property. Improve the whole algorithm.
5786 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5788 * emulation/pc-select.el (pc-selection-mode-hook)
5789 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
5790 (pc-selection-mode): Fix typos in docstrings.
5792 2010-08-08 Kenichi Handa <handa@m17n.org>
5794 * language/cyrillic.el: Don't add "microsoft-cp1251" to
5795 ctext-non-standard-encodings-alist here.
5797 * international/mule.el (ctext-non-standard-encodings-alist):
5798 Add "koi8-r" and "microsoft-cp1251".
5799 (ctext-standard-encodings): New variable.
5800 (ctext-non-standard-encodings-table): List only elements for
5801 non-standard encodings.
5802 (ctext-pre-write-conversion): Adjust for the above change.
5803 Check ctext-standard-encodings.
5805 * international/mule-conf.el (compound-text): Doc fix.
5806 (ctext-no-compositions): Doc fix.
5807 (compound-text-with-extensions): Doc fix.
5809 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5811 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
5813 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5815 * progmodes/which-func.el (which-func-format): Split help-echo text
5816 into lines, like other mode-line tooltips.
5818 * server.el (server-start): When using TCP sockets, force IPv4
5819 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
5821 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5823 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
5825 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5827 * term.el (term-delimiter-argument-list): Reflow docstring.
5828 (term-read-input-ring, term-write-input-ring, term-send-input)
5829 (term-bol, term-erase-in-display, serial-supported-or-barf):
5830 Fix typos in docstrings.
5832 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5834 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
5836 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5838 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
5840 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
5842 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
5843 Fix typo in docstring (bug#6747).
5845 2010-08-08 Leo <sdl.web@gmail.com>
5847 * eshell/esh-io.el (eshell-get-target): Better detection of
5848 read-only file (Bug#6762).
5850 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5852 * align.el (align-default-spacing): Doc fix.
5853 (align-region-heuristic, align-regexp): Fix typos in docstrings.
5855 2010-08-08 Stephen Peters <speters@itasoftware.com>
5857 * calendar/icalendar.el
5858 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
5859 (icalendar--get-weekday-numbers): New.
5860 (icalendar--convert-recurring-to-diary): Handle multiple byday
5861 values in weekly rules. (Bug#6766)
5863 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
5865 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
5866 (icalendar--create-uid, icalendar-export-region)
5867 (icalendar--parse-summary-and-rest): Code formatting.
5869 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
5871 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
5872 to italicize headers.
5873 (calc-highlight-selections-with-faces): New variable.
5874 (calc-selected-face, calc-nonselected-face): New faces.
5876 * calc/calccomp.el (math-comp-highlight-string): Use
5877 `calc-highlight-selections-with-faces' to determine how to highlight
5880 * calc/calc-sel.el (calc-show-selections): Change message to when
5881 using faces to highlight selections.
5883 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
5885 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
5886 Add SQLite 3 keywords, functions and datatypes.
5887 (sql-interactive-mode): Remove `comint-process-echoes' set to t
5890 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
5892 * simple.el (select-active-regions): Move to keyboard.c.
5893 (deactivate-mark): Used saved-region-selection.
5894 (select-active-region): Function removed.
5895 (activate-mark, set-mark, push-mark-command)
5896 (handle-shift-selection): Don't call it.
5897 (keyboard-quit): Avoid adding the region to the window selection.
5899 * mouse.el (mouse-drag-track): Remove hacks to deal with old
5900 select-active-regions implementation.
5901 (mouse-yank-at-click): Doc fix.
5903 * cus-start.el: Add custom declaration for select-active-regions.
5905 2010-08-07 Eli Zaretskii <eliz@gnu.org>
5907 * simple.el (delete-forward-char): Doc fix.
5909 * tutorial.el (help-with-tutorial): Hack safe file-local variables
5910 after reading the tutorial.
5912 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
5914 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
5915 Fix for the case that a C style comment has its delimiters alone on
5916 their respective lines.
5918 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
5920 * net/tramp.el (tramp-handle-start-file-process): Set connection
5922 (tramp-process-sentinel): Use it for flushing the cache.
5923 We cannot do it via the process buffer, the buffer could be deleted
5924 already when running the sentinel.
5926 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
5928 * comint.el (comint-mode): Make directory tracking functions
5929 functional on remote files. (Bug#6764)
5931 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
5933 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
5935 2010-08-05 Eli Zaretskii <eliz@gnu.org>
5937 * emacs-lisp/find-gc.el (find-gc-source-files):
5938 Rename unexec.c => unexcoff.c.
5940 * emacs-lisp/authors.el (authors-fixed-entries):
5941 Rename unexec.c => unexcoff.c.
5943 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
5945 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
5946 cache, not only file cache.
5947 (tramp-process-sentinel): New defun.
5948 (tramp-handle-start-file-process): Use it, in order to invalidate
5951 2010-08-03 Leo <sdl.web@gmail.com>
5953 * server.el (server-start): Simplify loop.
5955 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5957 * frame.el (screen-height, screen-width, set-screen-width)
5958 (set-screen-height): Remove ancient compatibility aliases.
5960 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
5961 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
5963 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
5964 that change current buffer.
5966 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5968 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
5969 beginning of the string. Use `string-match-p'. (Bug#6765)
5971 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
5973 * cus-start.el (x-gtk-use-system-tooltips): New variable.
5975 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
5977 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
5978 (package--builtins): Tweak descriptions.
5979 (package-print-package): Upcase descriptions if necessary.
5980 Show all built-in packages in font-lock-builtin-face.
5981 (package-list-packages-internal): Omit "emacs" package.
5982 Show status of built-in packages as "built-in".
5984 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
5986 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
5987 before killing to preserve the primary selection (Bug#6701).
5989 * term/x-win.el (x-select-text): Doc fix.
5991 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
5993 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
5994 (objc-font-lock-extra-types):
5995 * progmodes/cc-mode.el (c-basic-common-init):
5996 * progmodes/cc-langs.el (c-make-mode-syntax-table)
5997 (c++-make-template-syntax-table)
5998 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
5999 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
6000 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
6001 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
6002 * progmodes/cc-fonts.el (c-make-inverse-face)
6003 (c-basic-matchers-after):
6004 * progmodes/cc-engine.el (c-forward-keyword-clause)
6005 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
6006 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
6007 (c-guess-continued-construct, c-guess-basic-syntax):
6008 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
6009 The above functions were modified or created.
6011 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
6013 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
6015 2010-07-31 Eli Zaretskii <eliz@gnu.org>
6017 * files.el (bidi-paragraph-direction): Define safe local values.
6019 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
6020 language-info-alist. Remove outdated FIXME in a comment.
6022 2010-07-31 Alan Mackenzie <acm@muc.de>
6024 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
6025 Auto-fill broken in C/C++ modes.
6027 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
6029 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6030 (menu-bar-showhide-tool-bar-menu-customize-disable)
6031 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6032 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
6033 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
6034 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
6035 make a menu for Options => toolbar that can move it.
6037 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
6039 * emacs-lisp/package-x.el (package--make-rss-entry):
6040 (package-maint-add-news-item, package--update-news)
6041 (package-upload-buffer-internal): New arg ARCHIVE-URL.
6043 * emacs-lisp/package.el (package-archive-url): Rename from
6045 (package-install): Doc fix.
6046 (package-download-single, package-download-tar, package-install)
6047 (package-menu-view-commentary): Callers changed.
6049 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
6051 * net/tramp.el (tramp-handle-start-file-process): Check only for
6052 `remote-tty' process property.
6053 (tramp-open-shell): Don't check for tty.
6054 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6057 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
6060 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
6062 * emacs-lisp/package.el (package-load-list, package-archives)
6063 (package-archive-contents, package-user-dir)
6064 (package-directory-list, package--builtins, package-alist)
6065 (package-activated-list, package-obsolete-alist): Mark as risky.
6067 2010-07-28 Phil Hagelberg <phil@evri.com>
6069 Add support for non-default package repositories.
6070 * emacs-lisp/package.el (package-archive-base): Var deleted.
6071 (package-archives): New variable.
6072 (package-archive-contents): Doc fix.
6073 (package-load-descriptor): Do nothing if descriptor file is missing.
6074 (package--write-file-no-coding): New function.
6075 (package-unpack-single): Use it.
6076 (package-archive-id): New function.
6077 (package-download-single, package-download-tar)
6078 (package-menu-view-commentary): Use it.
6079 (package-installed-p): Make second argument optional.
6080 (package-read-all-archive-contents): New function.
6081 (package-initialize): Use it.
6082 (package-read-archive-contents): Add ARCHIVE argument.
6083 (package--add-to-archive-contents): New function.
6084 (package-install): Don't call package-read-archive-contents.
6085 (package--download-one-archive): Store archive file in a
6086 subdirectory of package-user-dir.
6087 (package-menu-execute): Remove spurious line movement.
6089 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
6091 * cus-start.el (tool-bar-style): Add text-image-horiz.
6093 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
6095 * progmodes/gud.el (gud-common-init): Check for remoteness of
6096 `file', and not of `default-directory'.
6098 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
6100 * net/tramp.el (tramp-methods): Move hostname to the end in all
6101 ssh `tramp-login-args'.
6102 (tramp-verbose): Describe verbose level 9.
6103 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
6104 (tramp-open-connection-setup-interactive-shell): Trace stty
6105 settings if `tramp-verbose' >= 9.
6106 (tramp-handle-start-file-process): Implement tty setting.
6107 (Bug#4604, Bug#6360)
6109 * net/tramp-cmds.el (tramp-bug): Recommend setting of
6110 `tramp-verbose' to 9.
6112 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
6114 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
6115 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
6116 Remove references to package `lisp-re' (bug#4369).
6118 2010-07-27 Tom Tromey <tromey@redhat.com>
6120 * progmodes/js.el (js-mode):
6121 * progmodes/make-mode.el (makefile-mode):
6122 * progmodes/simula.el (simula-mode):
6123 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
6125 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
6127 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
6129 * time.el (display-time-day-and-date): Remove spurious * in docstring.
6130 (display-time-world-buffer-name, display-time-world-mode-map):
6131 Fix typos in docstrings.
6133 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
6135 * image-mode.el (image-display-size): New function.
6136 (image-forward-hscroll, image-next-line, image-eol, image-eob)
6137 (image-mode-fit-frame): Use it (Bug#6639).
6139 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
6141 * dired.el (dired-buffers-for-dir): Handle list values of
6142 dired-directory (Bug#6636).
6144 2010-07-26 Sam Steingold <sds@gnu.org>
6146 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
6147 Do not call `x-get-selection' the second time, reuse the value.
6149 2010-07-26 Daiki Ueno <ueno@unixuser.org>
6151 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
6152 which consist of control chars only. Suggested by Richard Stallman.
6154 2010-07-25 Daiki Ueno <ueno@unixuser.org>
6156 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
6157 exists before passing an error to find-file-not-found-functions
6160 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
6162 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
6163 Remove leading nil element, adjust values.
6164 (tetris-shapes, tetris-shape-scores):
6165 Change representation of shapes and remove some redundancy.
6166 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
6167 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
6168 Adjust for working with new representation of shapes.
6169 (tetris-shape-rotations): New function.
6170 (tetris-move-bottom, tetris-move-left, tetris-move-right)
6171 (tetris-rotate-prev, tetris-rotate-next):
6172 Adjust for working with the new version of tetris-test-shape.
6174 2010-07-23 Markus Triska <markus.triska@gmx.at>
6176 * progmodes/ps-mode.el: Use comint (bug#5954).
6177 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
6178 (ps-mode-other-newline): Simplify.
6179 (ps-run-mode): Derive from comint-mode instead of
6180 fundamental-mode, yielding input history etc.
6181 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
6182 (ps-run-send-string): Adapt for comint-mode.
6183 (ps-run-newline): Remove now unneeded function.
6185 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6187 * net/tramp.el (tramp-methods): Move hostname to the end in all
6188 plink `tramp-login-args'.
6190 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6192 * net/tramp.el (tramp-open-shell): New defun.
6193 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6196 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6198 * net/tramp.el (tramp-file-name-regexp-unified)
6199 (tramp-completion-file-name-regexp-unified): On W32 systems, do
6200 not regard the volume letter as remote filename. (Bug#5447)
6202 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
6204 * custom.el (custom-declare-variable): Give a clearer error message
6205 when the docstring is missing (bug#6476).
6207 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
6209 * progmodes/sql.el: Version 2.4. Improved Login prompting.
6210 (sql-login-params): New widget definition.
6211 (sql-oracle-login-params, sql-mysql-login-params)
6212 (sql-solid-login-params, sql-sybase-login-params)
6213 (sql-informix-login-params, sql-ingres-login-params)
6214 (sql-ms-login-params, sql-postgres-login-params)
6215 (sql-interbase-login-params, sql-db2-login-params)
6216 (sql-linter-login-params): Use it.
6217 (sql-sqlite-login-params): Use it; Define "database" parameter as
6219 (sql-sqlite-program): Change to "sqlite3".
6220 (sql-comint-sqlite): Make sure database name is complete.
6221 (sql-for-each-login): New function.
6222 (sql-connect, sql-save-connection): Use it.
6223 (sql-get-login-ext): New function.
6224 (sql-get-login): Use it.
6225 (sql-make-alternate-buffer-name): Handle :file parameters.
6227 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
6229 * dired.el (dired-no-confirm): Document value t and fix defcustom to
6230 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
6232 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
6234 * dired.el (dired-mode-map): Use command remapping (bug#6632).
6236 2010-07-22 Lawrence Mitchell <wence@gmx.li>
6238 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
6240 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
6242 * net/tramp.el (tramp-get-ls-command)
6243 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
6246 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
6248 * progmodes/sql.el: Version 2.3.
6249 (sql-connection-alist): Change keys from symbols to strings;
6250 enhanced the widget definition.
6251 (sql-mode-menu): Add submenu to select connections.
6252 (sql-interactive-mode-menu): Add "Save Connection" item.
6253 (sql-add-product): Fix menu item.
6254 (sql-get-product-feature): Improved error handling.
6255 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
6256 (sql-make-alternate-buffer-name): Simplified.
6257 (sql-product-interactive): Handle missing product.
6258 (sql-connect): Support string keys, minor improvements.
6259 (sql-save-connection): New function.
6260 (sql-connection-menu-filter): New function.
6262 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
6264 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
6265 (tramp-open-connection-setup-interactive-shell):
6266 Apply workaround for IRIX64 bug. Move argument of last
6267 `tramp-send-command' where it belongs to.
6269 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
6271 * net/tramp.el (tramp-perl-file-attributes)
6272 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6273 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6274 front of `login-args'.
6276 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
6278 * time.el (display-time-world-mode): Define with `define-derived-mode'.
6279 Set `show-trailing-whitespace' to nil.
6280 (display-time-world-display): Simplify.
6282 2010-07-18 Alan Mackenzie <acm@muc.de>
6284 Enhance `c-file-style' in file/directory local variables.
6285 * progmodes/cc-mode.el (c-count-cfss): New function.
6286 (c-before-hack-hook): Call `c-set-style' differently according to
6287 whether c-file-style was set in file or directory local
6290 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
6292 * progmodes/sql.el: Version 2.2.
6293 (sql-product, sql-user, sql-database, sql-server, sql-port):
6294 Use defcustom :safe keyword rather than putting safe-local-variable
6296 (sql-password): Use defcustom :risky keyword rather than putting
6297 risky-local-variable property.
6298 (sql-oracle-login-params, sql-sqlite-login-params)
6299 (sql-solid-login-params, sql-sybase-login-params)
6300 (sql-informix-login-params, sql-ingres-login-params)
6301 (sql-ms-login-params, sql-postgres-login-params)
6302 (sql-interbase-login-params, sql-db2-login-params)
6303 (sql-linter-login-params): Add `port' option.
6304 (sql-get-product-feature): Add NO-INDIRECT parameter.
6305 (sql-comint-oracle, sql-comint-sybase)
6306 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
6307 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
6308 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
6309 (sql-comint-linter): Rename sql-connect-* functions to
6311 (sql-product-alist, sql-mode-menu): Rename as above and
6312 :sqli-connect-func to :sqli-comint-func.
6313 (sql-connection): New variable.
6314 (sql-interactive-mode): Set it.
6315 (sql-connection-alist): New variable.
6316 (sql-connect): New function.
6317 (sql--alt-buffer-part, sql--alt-if-not-empty)
6318 (sql-make-alternate-buffer-name): Improved alternative buffer name.
6320 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6322 * image-mode.el (image-bookmark-make-record): Do not set context
6323 in an image (Bug#6650).
6325 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
6327 * simple.el (select-active-region): New function.
6328 (push-mark-command, set-mark, activate-mark)
6329 (handle-shift-selection): Use it.
6330 (deactivate-mark): Don't check for size of region.
6332 * mouse.el (mouse-drag-track): Use select-active-region.
6334 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
6336 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
6339 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
6341 * term/x-win.el (x-select-enable-primary): Change default to nil.
6342 (x-select-enable-clipboard): Add :version keyword.
6344 * mouse.el (mouse-drag-copy-region):
6345 * simple.el (select-active-regions): Likewise.
6347 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
6349 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
6350 (vc-coding-system-for-diff): Use it to decide whether to inherit
6351 from the file the EOL format for reading the diffs of that file.
6354 2010-07-16 Eli Zaretskii <eliz@gnu.org>
6356 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
6357 unibyte, so compressed attachments are not compressed again.
6359 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
6361 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
6362 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
6363 (tramp-find-shell): Simplify setting connection property.
6364 (tramp-get-ls-command): Make test for "--color=never" stronger.
6366 2010-07-15 Simon South <ssouth@member.fsf.org>
6368 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
6369 blocks within record declarations (i.e. variant parts) correctly.
6371 2010-07-15 Simon South <ssouth@member.fsf.org>
6373 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
6374 over literal tokens when parsing so newlines aren't "absorbed" by
6375 single-line comments. Corrects the indentation of case blocks
6376 that have a comment on the first line.
6378 2010-07-14 Karl Fogel <kfogel@red-bean.com>
6380 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
6381 by Drew Adams (Bug#5504).
6383 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
6385 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
6386 now that Unicode is used (Bug#6594).
6388 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
6390 * term/x-win.el (x-select-enable-clipboard): Default to t.
6391 (x-initialize-window-system): Don't overwrite Paste menu item.
6393 * simple.el (select-active-regions): Default to t.
6394 (push-mark-command): Don't overwrite primary with empty string.
6396 * mouse.el: Bind mouse-2 to mouse-yank-primary.
6397 (mouse-drag-copy-region): Default to nil.
6399 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
6400 Cut/Copy/Paste menu bar items.
6402 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6404 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
6405 Patch applied by Karl Fogel.
6407 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
6408 and `bookmark-current-buffer' if they have been already set in
6409 another buffer (e.g gnus-art).
6411 2010-07-13 Karl Fogel <kfogel@red-bean.com>
6412 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6414 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
6416 * bookmark.el (bookmark-make-record-default): Allow unneeded
6417 information to be omitted from the record.
6419 Adjust declarations and calls:
6421 * info.el (bookmark-make-record-default): Adjust declaration.
6422 (Info-bookmark-make-record): Adjust call.
6424 * woman.el (bookmark-make-record-default): Adjust declaration.
6425 (woman-bookmark-make-record): Adjust call.
6427 * man.el (bookmark-make-record-default): Adjust declaration.
6428 (Man-bookmark-make-record): Adjust call.
6430 * image-mode.el (bookmark-make-record-default): Adjust declaration.
6432 * doc-view.el (bookmark-make-record-default): Adjust declaration.
6434 2010-07-13 Karl Fogel <kfogel@red-bean.com>
6436 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
6437 This is also from Thierry Volpiatto's patch in bug #6444. However,
6438 because it was extraneous to the functional change in that patch,
6439 and causes a re-indendation, I am committing it separately.
6441 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6443 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
6444 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
6445 Patch applied by Karl Fogel (Bug#6444).
6447 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
6449 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
6451 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
6453 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
6454 Dempsky; bug#5084). Remove incorrect binding for S-tab.
6455 (ns-alternatives-map): Change S-tab binding to backtab
6458 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
6461 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
6463 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
6466 * language/tv-util.el (tai-viet-re): Remove format.
6468 2010-07-12 Kenichi Handa <handa@m17n.org>
6470 * language/hebrew.el: Remove no-byte-compile declaration.
6471 Change coding: tag to utf-8. Register hebrew-shape-gstring in
6472 composition-function-table for 3-character looking back.
6473 (hebrew-font-get-precomposed): New function.
6474 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
6476 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
6478 * mouse.el (mouse-drag-track): Handle select-active-regions
6481 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
6483 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
6484 empty argument to gvfs-copy.
6486 2010-07-10 Glenn Morris <rgm@gnu.org>
6488 * calendar/calendar.el (calendar-week-end-day): New function.
6489 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
6490 Respect calendar-week-start-day. (Bug#6606)
6491 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
6492 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
6493 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
6494 respect calendar-week-start-day.
6496 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
6498 * simple.el (use-region-p): Doc fix (Bug#6607).
6500 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
6502 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6503 Add regexps for cucumber and ruby.
6505 2010-07-08 Daiki Ueno <ueno@unixuser.org>
6507 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
6508 (epa-file-insert-file-contents): Hack to prevent
6509 find-file from opening empty buffer when decryption failed
6512 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
6514 * textmodes/ispell.el (ispell-alternate-dictionary):
6515 Use file-readable-p.
6516 Return nil if no word-list is found at default locations.
6517 (ispell-complete-word-dict): Default to nil.
6518 (ispell-command-loop): Use 'word-list' when using lookup-words.
6519 (lookup-words): Use ispell-complete-word-dict or
6520 ispell-alternate-dictionary. Check for word-list availability
6521 and handle errors if needed with better messages (Bug#6539).
6522 (ispell-complete-word): Use ispell-complete-word-dict or
6523 ispell-alternate-dictionary.
6525 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
6527 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
6528 builtins (BufferError, BytesWarning, WindowsError; callables
6529 bin, bytearray, bytes, format, memoryview, next, print; __package__).
6531 2010-07-07 Glenn Morris <rgm@gnu.org>
6533 * play/zone.el (top-level): Do not require timer, tabify, or cl.
6534 (zone-shift-left): Ignore intangibility, and any errors from
6536 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
6537 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
6538 deleting, and copying text properties.
6539 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
6540 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
6541 to point-max is hard.
6542 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
6543 (zone-fill-out-screen): Ignore intangibility.
6545 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
6547 * menu-bar.el (menu-bar-mode):
6548 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
6551 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
6552 word/line selection (Bug#6565).
6554 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
6556 * net/dbus.el (dbus-send-signal): Declare function.
6558 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
6560 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
6561 (dbus-register-property): New optional argument EMITS-SIGNAL.
6562 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
6564 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
6566 * mouse.el (mouse-drag-overlay): Variable deleted.
6567 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
6568 (mouse--remap-link-click-p): New function.
6569 (mouse-drag-track): Handle dragging by using temporary Transient
6570 Mark mode, instead of a special overlay.
6571 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
6574 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
6577 2010-07-02 Juri Linkov <juri@jurta.org>
6579 * autoinsert.el (auto-insert-alist): Fix readability
6580 by using dotted pair notation for lambda.
6582 2010-07-02 Juri Linkov <juri@jurta.org>
6584 * faces.el (read-face-name): Rename arg `string-describing-default'
6585 to `default'. Doc fix. Display the default value in quotes
6586 in the prompt. With empty input, return the `default' arg,
6587 unless the default value is a string (in which case return nil).
6588 (describe-face): Replace the string `default' arg of `read-face-name'
6589 with the symbol `default'.
6591 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
6593 * emulation/viper-cmd.el (viper-delete-backward-char)
6594 (viper-del-backward-char-in-insert)
6595 (viper-del-backward-char-in-replace, viper-change)
6596 (viper-backward-indent): Replace delete-backward-char with
6597 delete-char (Bug#6552).
6599 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
6601 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
6603 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
6605 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
6606 argument passed to frame-creation-function (Bug#5378).
6608 * faces.el (x-handle-named-frame-geometry)
6609 (x-handle-reverse-video, x-create-frame-with-faces)
6610 (face-set-after-frame-default, tty-create-frame-with-faces):
6611 Don't separately consult default-frame-alist. It is now passed as the
6614 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
6616 * startup.el (command-line): Don't call tool-bar-setup in a
6619 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
6621 * ruler-mode.el (ruler--save-header-line-format): New fun.
6622 (ruler-mode): Use it as a setter function, so as not to overwrite
6623 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
6625 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
6627 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
6628 (vc-root-diff, vc-print-root-log, vc-log-incoming)
6629 (vc-log-outgoing): Use it.
6630 (vc-diff-internal): Set diff-vc-backend.
6632 * vc/diff-mode.el (diff-vc-backend): New var.
6634 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
6636 * dynamic-setting.el (font-setting-change-default-font):
6637 Remove call to message.
6639 2010-06-28 Kenichi Handa <handa@m17n.org>
6641 * international/quail.el (quail-insert-kbd-layout): Fix the
6642 showing of untranslated characters.
6644 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
6646 * simple.el (delete-active-region): New option.
6647 (delete-backward-char): Implement in Lisp.
6648 (delete-forward-char): New command.
6650 * mouse.el (mouse-region-delete-keys): Deleted.
6651 (mouse-show-mark): Simplify.
6653 * bindings.el (global-map): Bind delete and DEL, the former to
6654 delete-forward-char.
6656 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
6658 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
6659 (ruby-mode): Bind indent-line-function (Bug#5119).
6661 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
6663 * startup.el (command-line): Recognize "0" X resource value.
6665 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
6667 * startup.el (command-line): Use X resources to set the value of
6668 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
6670 * menu-bar.el (menu-bar-mode):
6671 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
6672 Set init-value to t.
6674 * frame.el (frame-notice-user-settings): Don't change
6675 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
6676 vice versa (Bug#2249).
6678 2010-06-26 Eli Zaretskii <eliz@gnu.org>
6680 * w32-fns.el (w32-convert-standard-filename): Doc fix.
6682 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
6684 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
6685 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
6687 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
6688 default directories are expanded (Bug#6143).
6690 2010-06-24 Juri Linkov <juri@jurta.org>
6692 * minibuffer.el (completions-format): Change default from nil to
6693 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
6695 2010-06-24 Juri Linkov <juri@jurta.org>
6697 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
6698 buffer-locally to lambda that re-runs the vc diff command.
6701 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
6703 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
6704 echo area is in use (Bug#3412).
6706 2010-06-22 Glenn Morris <rgm@gnu.org>
6708 * textmodes/texinfmt.el (texinfo-format-region)
6709 (texinfo-raise-lower-sections, texinfo-format-separate-node)
6710 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
6711 (texinfo-format-option, texinfo-noindent):
6712 Use line-beginning-position and line-end-position.
6714 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
6715 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
6716 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
6719 2010-06-21 Karl Fogel <kfogel@red-bean.com>
6721 * play/zone.el (zone-fall-through-ws): Fix next-line ->
6722 forward-line fallout.
6724 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
6726 * mouse.el (mouse-appearance-menu): Add docstring.
6728 * help.el (describe-key): Print up-event using key-description.
6730 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
6732 * net/zeroconf.el (zeroconf-resolve-service)
6733 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
6734 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
6736 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
6738 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
6740 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
6742 Avoid displaying files with a nil state in vc-dir.
6743 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
6744 cases that cause insertion.
6745 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
6748 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
6750 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
6752 2010-06-29 Leo <sdl.web@gmail.com>
6754 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
6756 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6758 * generic-x.el (bat-generic-mode): Fix regexp for command line
6759 switches (Bug#5719).
6761 2010-06-27 Masatake YAMATO <yamato@redhat.com>
6763 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
6764 of nconc to avoid pure storage error (Bug#6239).
6766 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
6768 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
6769 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
6770 bindings of bookmark-automatically-show-annotations (Bug#6515).
6772 2010-06-25 Eli Zaretskii <eliz@gnu.org>
6774 * arc-mode.el (archive-zip-extract): Don't quote the file name on
6775 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
6777 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
6779 * comint.el (make-comint, make-comint-in-buffer): Mention return
6780 value in the docstrings. (Bug#6498)
6782 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
6784 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
6785 since it is not present when using some non-default switches.
6787 2010-06-23 Karl Fogel <kfogel@red-bean.com>
6789 * simple.el (compose-mail): Fix doc string to refer to
6790 `compose-mail-user-agent-warnings', instead of to the
6791 nonexistent `compose-mail-check-user-agent'.
6793 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
6795 Fix an indentation bug:
6797 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
6798 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
6801 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
6802 (c-clear->-pair-props-if-match-before): now return t when they've
6803 cleared properties, nil otherwise.
6804 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
6805 by taking account of the existing value.
6807 * progmodes/cc-defs.el
6808 (c-clear-char-property-with-value-function): Fix this to clear the
6809 property rather than overwriting it with nil.
6811 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
6813 * emacs-lisp/package.el (package-print-package): Add link to
6814 package description via describe-package.
6815 (describe-package-1): List package requirements. Add button to
6816 perform installation.
6817 (package-menu-describe-package): New command.
6819 * help-mode.el (help-package): New button type.
6821 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
6823 * emacs-lisp/package.el: Move package-list-packages binding to
6825 (describe-package, describe-package-1, package--dir): New funs.
6826 (package-activate-1): Use package--dir.
6828 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
6830 * help-mode.el (help-package-def): New button type.
6832 * menu-bar.el: Move package-list-packages binding here from
6835 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
6837 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
6839 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6841 * emacs-lisp/edebug.el (edebug-read-list):
6842 Phase out old-style backquotes.
6844 2010-06-17 Juri Linkov <juri@jurta.org>
6846 * help-mode.el (help-mode): Set buffer-local variable
6847 revert-buffer-function to help-mode-revert-buffer.
6848 (help-mode-revert-buffer): New function.
6850 * info.el (Info-revert-find-node): Check for major-mode Info-mode
6851 before popping to "*info*" (like in other Info functions).
6852 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
6853 old-history-forward. Pop to old-buffer-name or "*info*" to
6854 recreate the killed buffer. Set Info-history-forward from
6855 old-history-forward.
6856 (Info-breadcrumbs-depth): Add :group and :version.
6858 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
6860 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
6862 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
6864 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
6865 for languages like Portuguese with pt_{BR,PT} and no plain pt.
6867 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
6869 * emacs-lisp/package.el (package-menu-mode-map):
6870 Move initialization into declaration.
6872 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
6874 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
6876 * emacs-lisp/package.el (package-archive-base): Point to
6878 (package-enable, package-load-list): New defcustoms.
6879 (package-user-dir, package-directory-list): Turn into defcustoms.
6880 Don't include package-user-dir in package-directory-list.
6881 (package--builtins-base): Don't include Emacs as a "package".
6882 (package-subdirectory-regexp): New var.
6883 (package-load-all-descriptors, package-compute-transaction)
6884 (package-download-transaction): Obey package-load-list.
6885 (package-activate-1): Rename from package-do-activate.
6886 (package-list-packages-internal): Check package-load-list.
6887 (package-load-descriptor, package-generate-autoloads)
6888 (package-unpack, package-unpack-single)
6889 (package--read-archive-file, package-delete):
6890 Use expand-file-name.
6892 * emacs-lisp/package-x.el: New file. Package uploading
6893 functionality split out from package.el.
6895 * startup.el (command-line): Load packages after reading init file.
6897 2010-06-17 Tom Tromey <tromey@redhat.com>
6899 * emacs-lisp/package.el: New file.
6901 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
6903 Fix vc-annotate for renamed files when using Git.
6904 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
6905 ls-files. Doe not pass the object as a file name to cat-file, it
6907 (vc-git-annotate-command): Pass the file name using -- to avoid
6908 ambiguity with the revision.
6909 (vc-git-previous-revision): Pass a relative file name.
6911 2010-06-22 Glenn Morris <rgm@gnu.org>
6913 * progmodes/js.el (js-mode-map): Use standard capitalization and
6914 ellipses for menu entries.
6916 * wid-edit.el (widget-complete): Doc fix.
6918 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
6920 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
6922 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
6924 Fix annotating other revisions for renamed files in vc-annotate.
6925 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
6926 VC backend. Use it when non-nil.
6927 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
6930 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
6931 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
6932 Do not pass the file name to the 'previous-revision call when we
6933 don't want a file diff. (Bug#6489)
6935 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
6937 Fix finding revisions for renamed files in vc-annotate.
6938 * vc/vc.el (vc-find-revision): Add an optional argument for
6939 the VC backend. Use it when non-nil.
6940 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
6941 backend to vc-find-revision. (Bug#6487)
6943 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
6945 Fix reading file names in Git annotate buffers.
6946 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
6947 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
6949 2010-06-20 Alan Mackenzie <acm@muc.de>
6951 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
6952 in file local variables, set it first.
6954 2010-06-19 Glenn Morris <rgm@gnu.org>
6956 * descr-text.el (describe-char-unicode-data): Insert separating
6957 space when needed. (Bug#6422)
6959 * progmodes/idlwave.el (idlwave-action-and-binding):
6960 Fix typo in 2009-12-03 change. (Bug#6450)
6962 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6964 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
6965 handling for `lambda' (misunderstanding).
6967 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
6969 * calc/calc-poly.el (math-accum-factors): Make sure that
6970 constants aren't distributed after they are factored out.
6972 2010-06-16 Juri Linkov <juri@jurta.org>
6974 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
6975 `list-colors-print'. (Bug#6332)
6977 * subr.el (read-quoted-char): Fix up last change (bug#6290).
6979 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
6981 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
6982 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
6984 * font-lock.el (font-lock-major-mode): Rename from
6985 font-lock-mode-major-mode to distinguish it from
6986 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
6987 (font-lock-set-defaults):
6988 * font-core.el (font-lock-default-function): Adjust users.
6989 (font-lock-mode): Don't set it at all.
6991 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
6993 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
6995 2010-06-16 Glenn Morris <rgm@gnu.org>
6997 * calendar/appt.el (appt-time-msg-list): Doc fix.
6998 (appt-check): Let-bind appt-warn-time.
6999 (appt-add): Make the 3rd argument optional.
7000 Simplify argument names. Doc fix. Check for integer WARNTIME.
7001 Only add WARNTIME to the output list if non-nil.
7003 2010-06-16 Ivan Kanis <apple@kanis.eu>
7005 * calendar/appt.el (appt-check): Let the 3rd element of
7006 appt-time-msg-list specify the warning time.
7007 (appt-add): Add new argument with the warning time. (Bug#5176)
7009 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
7011 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
7012 older than version 1.6. (Bug#6361)
7014 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
7016 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
7017 used by cl-do-arglist. (Bug#6408)
7019 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
7021 * textmodes/ispell.el (ispell-dictionary-base-alist):
7022 Fix portuguese casechars/not-casechars for missing 'çÇ'.
7023 Suggested by Rolando Pereira (bug#6434).
7025 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
7027 * facemenu.el (list-colors-sort): Doc fix.
7029 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
7031 * progmodes/sql.el (sql-connect-mysql): Fix typo.
7033 2010-06-14 Juri Linkov <juri@jurta.org>
7035 Add sort option `list-colors-sort'. (Bug#6332)
7036 * facemenu.el (color-rgb-to-hsv): New function.
7037 (list-colors-sort): New defcustom.
7038 (list-colors-sort-key): New function.
7039 (list-colors-display): Doc fix. Sort list according to the option
7041 (list-colors-print): Add HSV values to `help-echo' property of
7044 2010-06-14 Juri Linkov <juri@jurta.org>
7046 * compare-w.el: Move to the "vc" subdirectory.
7048 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7050 * image-mode.el (image-mode-map): Remap left-char and right-char.
7052 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
7054 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
7056 * term/common-win.el (x-colors): Add all the color names defined
7057 in rgb.txt (Bug#6332).
7059 * facemenu.el (list-colors-print): Don't print extra names if it
7060 will overflow the window width.
7062 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
7065 2010-06-12 Eli Zaretskii <eliz@gnu.org>
7067 * files.el (make-directory): Doc fix (bug#6396).
7069 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
7071 * net/tramp.el (tramp-remote-process-environment): Protect version
7072 string by apostroph.
7073 (tramp-shell-prompt-pattern): Do not use a shy group in case of
7075 (tramp-file-name-for-operation): Add `call-process-region'.
7076 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
7078 * net/tramp-compat.el (top): Do not autoload
7079 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
7080 only when `start-file-process' is not bound.
7081 (tramp-advice-file-expand-wildcards): Do not use
7082 `tramp-handle-file-remote-p'.
7083 (tramp-compat-make-temp-file): Handle the case, that
7084 `make-temp-file' has no third argument EXTENSION.
7086 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
7088 * makefile.w32-in (WINS_BASIC): Include new directory vc.
7090 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
7092 2010-06-11 Juri Linkov <juri@jurta.org>
7094 * finder.el (finder-known-keywords): Add keyword "vc"
7095 for version control.
7097 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
7098 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
7099 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
7100 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
7102 2010-06-11 Juri Linkov <juri@jurta.org>
7104 Move version control related files to the "vc" subdirectory.
7105 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
7106 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
7107 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
7108 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
7109 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
7110 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
7111 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
7112 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
7113 Move files to the "vc" subdirectory.
7115 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
7117 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
7120 2010-06-11 Stephen Eglen <stephen@gnu.org>
7122 * shell.el: Bind `shell-resync-dirs' to M-RET.
7124 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
7126 * notifications.el: Move file from lisp/net, because it is
7127 supposed to talk locally to the user.
7129 2010-06-10 Julien Danjou <julien@danjou.info>
7131 * net/notifications.el (notifications-on-action-signal)
7132 (notifications-on-closed-signal): Pass notification id as first
7133 argument to the callback functions. Add docstrings.
7134 (notifications-notify): Fix docstring.
7136 2010-06-10 Glenn Morris <rgm@gnu.org>
7138 * emacs-lisp/authors.el (authors-ignored-files)
7139 (authors-valid-file-names): Add some files.
7141 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7143 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
7144 merge conflict, giving preference to the emacs-23 version of the code.
7146 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7148 * emacs-lisp/advice.el (ad-compile-function):
7149 Define warning-suppress-types before we let-bind it (bug#6275).
7151 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
7152 declare it, make it buffer-local and permanent-local (bug#6324).
7153 (vc-resynch-window): Adjust name.
7154 * vc-hooks.el (vc-find-file-hook): Adjust name.
7156 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
7158 * net/notifications.el (notifications-notify): Fix docstring.
7160 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
7162 Update to Unicode 6.0.0 beta.
7163 * international/charprop.el: Update copyright.
7164 * international/mule-cmds.el (ucs-names): Update character ranges.
7165 * international/uni-bidi.el:
7166 * international/uni-category.el:
7167 * international/uni-combining.el:
7168 * international/uni-comment.el:
7169 * international/uni-decimal.el:
7170 * international/uni-decomposition.el:
7171 * international/uni-digit.el:
7172 * international/uni-lowercase.el:
7173 * international/uni-mirrored.el:
7174 * international/uni-name.el:
7175 * international/uni-numeric.el:
7176 * international/uni-old-name.el:
7177 * international/uni-titlecase.el:
7178 * international/uni-uppercase.el: Regenerate.
7180 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
7182 * emacs-lisp/smie.el (comment-string-strip): Declare function.
7183 (smie-precs-precedence-table): Fix typo in docstring.
7185 * vc-mtn.el (log-edit-extract-headers): Declare function.
7187 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
7189 * net/notifications.el (dbus-register-signal): Declare function.
7190 (notifications-notify): Fix typos and reflow docstring.
7192 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
7194 Improve VC create/retrieve tag/branch.
7195 * vc.el (vc-create-tag): Do not read the directory name for VCs
7196 with repository revision granularity. Adjust the tag/branch
7197 prompt. Reset VC properties.
7198 (vc-retrieve-tag): Do not read the directory name for VCs
7199 with repository revision granularity. Reset VC properties.
7201 2010-06-09 Julien Danjou <julien@danjou.info>
7203 * net/notifications.el: New file.
7205 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
7207 Add optional support for resetting VC properties.
7208 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
7209 call vc-file-clearprops when true.
7210 (vc-resynch-buffer): Add new optional argument, pass it down.
7211 (vc-resynch-buffers-in-directory): Likewise.
7213 Improve support for special markup in the VC commit message.
7214 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
7215 * vc-hg.el (vc-hg-checkin): Add support for Date:.
7216 * vc-git.el (vc-git-checkin):
7217 * vc-bzr.el (vc-bzr-checkin): Likewise.
7219 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7221 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
7222 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
7224 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
7226 * iimage.el: Remove images as soon as the underlying text is modified.
7227 (iimage-modification-hook): New function.
7228 (iimage-mode-buffer): Use it.
7230 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7232 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
7233 smie-indent-offset-after. Add :prev case. Make a bit more generic.
7234 (smie-indent-virtual): Remove `virtual' arg. Update callers.
7235 (smie-indent-keyword): Add handling of open-paren keywords.
7236 (smie-indent-comment-continue): Don't assume comment-continue.
7238 2010-06-07 Martin Rudalics <rudalics@gmx.at>
7240 * window.el (pop-to-buffer): Remove the conditional that
7241 compares new-window and old-window, so it will reselect
7242 the selected window unconditionally.
7243 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
7245 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7247 * emacs-lisp/smie.el (smie-indent-offset-after)
7248 (smie-indent-forward-token, smie-indent-backward-token): New functions.
7249 (smie-indent-after-keyword): Use them.
7250 (smie-indent-fixindent): Only applies to the indentation of the BOL.
7251 (smie-indent-keyword): Tweak the black magic.
7252 (smie-indent-comment-continue): Strip comment-continue before use.
7253 (smie-indent-functions): Indent comments before keywords.
7255 2010-06-06 Juri Linkov <juri@jurta.org>
7257 * isearch.el (isearch-lazy-highlight-search): Fix looping
7258 by checking for empty match. This syncs this loop with the
7259 similar loop in `isearch-search'. (Bug#6362)
7261 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
7263 * net/dbus.el (dbus-register-method): Declare function.
7264 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
7265 (dbus-introspect): Doc fix.
7266 (dbus-event-bus-name, dbus-introspect-get-interface)
7267 (dbus-introspect-get-argument): Reflow docstrings.
7269 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
7271 vc-log-incoming/vc-log-outgoing fixes for Git.
7272 * vc-git.el (vc-git-log-view-mode): Fix font lock for
7273 incoming/outgoing logs.
7274 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
7275 instead of vc-git-compute-remote.
7276 (vc-git-compute-remote): Remove.
7278 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
7280 * term/common-win.el (x-colors): Add "dark green" and "dark
7281 turquoise" (Bug#6332).
7283 2010-06-04 Juri Linkov <juri@jurta.org>
7285 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
7286 Instead of setting `replace' to t and replacing the same string
7287 with itself, don't do certain actions when
7288 kill-do-not-save-duplicates is non-nil and string is equal to car
7289 of kill-ring: don't call menu-bar-update-yank-menu, don't push
7290 interprogram-paste strings to kill-ring, and don't push the input
7291 argument `string' to kill-ring.
7292 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
7294 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
7296 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
7298 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
7300 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
7301 (tramp-gvfs-handler-mounted-unmounted)
7302 (tramp-gvfs-connection-mounted-p): Handle default-location.
7304 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
7305 move files to trash.
7307 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
7309 * international/mule-cmds.el (nonascii-insert-offset)
7310 (nonascii-translation-table): Add obsolescence information.
7312 * international/mule.el (make-translation-table-from-vector): Doc fix.
7314 2010-06-03 Glenn Morris <rgm@gnu.org>
7316 * desktop.el (desktop-clear-preserve-buffers):
7317 Add "*Warnings*" buffer. (Bug#6336)
7319 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
7321 vc-log-incoming/vc-log-outgoing improvements for Git.
7322 * vc-git.el (vc-git-log-outgoing): Use the same format as the
7324 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
7326 Add bindings for vc-log-incoming and vc-log-outgoing.
7327 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
7328 and vc-log-outgoing.
7329 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
7330 and vc-log-outgoing.
7332 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
7334 * net/rcirc.el (rcirc-sort-nicknames): Remove.
7335 (rcirc-handler-366): Always sort nicknames.
7337 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
7339 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
7341 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
7343 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
7345 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7347 * net/rcirc.el (rcirc-sort-nicknames): Change default.
7348 (rcirc-sort-nicknames-join): Avoid setq.
7350 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7352 * net/rcirc.el (rcirc-sort-nicknames): New custom.
7353 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
7354 (rcirc-handler-366): Use them.
7356 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7358 Split smie-indent-calculate into more manageable chunks.
7359 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
7360 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
7361 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
7362 (smie-indent-exps): Extract from smie-indent-calculate.
7363 (smie-indent-functions): New var.
7364 (smie-indent-functions): Use them.
7366 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7368 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
7369 (smie-indent-calculate): Simplify and cleanup.
7371 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
7373 * net/tramp-gvfs.el (top): Require url-util.
7374 (tramp-gvfs-mount-point): Remove.
7375 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
7377 (with-tramp-dbus-call-method): Format trace message.
7378 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
7379 Implement backup call, when operation on local files fails.
7380 Use progress reporter. Flush properties of changed files.
7381 (tramp-gvfs-handle-make-directory): Make more traces.
7382 (tramp-gvfs-url-file-name): Hexify file name in url.
7383 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
7384 into account for the resulting file name.
7385 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
7386 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
7387 (tramp-gvfs-handler-mounted-unmounted)
7388 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
7389 attribute "default_location". Set "prefix" property.
7390 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
7391 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
7392 exists. Raise an error, if not (due to a corresponding answer
7393 "no" in interactive questions, for example).
7395 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
7397 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
7399 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
7401 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
7404 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
7406 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
7407 * vc-git.el (vc-git-compute-remote): New function.
7408 (vc-git-log-outgoing): Use it instead of hard coding a value.
7409 (vc-git-log-incoming): New function.
7411 Improve state updating for VC tag commands.
7412 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
7413 to update the state of all buffers in the directory.
7415 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
7417 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7419 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
7420 `file-directory-p' to the filename part rather than to the whole text.
7422 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7424 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
7426 2010-05-31 Drew Adams <drew.adams@oracle.com>
7428 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
7430 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
7432 * subr.el (momentary-string-display): Just use read-event to read
7433 the exit event (Bug#6238).
7435 2010-05-30 Eli Zaretskii <eliz@gnu.org>
7437 * international/mule.el (define-coding-system): Doc fix (bug#6313).
7439 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
7441 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
7442 Suggested by Eli Zaretskii <eliz@gnu.org>.
7444 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7446 * minibuffer.el (completion-file-name-table): Don't return a boundary
7447 past the end of `string' (bug#6299).
7448 (completion--file-name-table): Delegate to completion-file-name-table
7449 for the `boundaries' case.
7451 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
7453 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
7456 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
7457 `path-separator', but maintain compatibility with Emacs 20.2.
7459 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
7461 * server.el (server-process-filter): Receive parent-id argument
7463 (server-create-window-system-frame): New arg. Pass parent-id as
7466 2010-05-29 Eli Zaretskii <eliz@gnu.org>
7468 Bidi-sensitive word movement with arrow keys.
7469 * subr.el (right-arrow-command, left-arrow-command): Move to
7472 * bindings.el (right-char, left-char): Move from subr.el and
7473 rename from right-arrow-command and left-arrow-command.
7474 (right-word, left-word): New functions.
7475 (global-map) <right>: Bind to right-char.
7476 (global-map) <left>: Bind to left-char.
7477 (global-map) <C-right>: Bind to right-word.
7478 (global-map) <C-left>: Bind to left-word.
7480 * ls-lisp.el (ls-lisp-classify-file): New function.
7481 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
7482 (ls-lisp-classify): Call ls-lisp-classify-file.
7483 (insert-directory): Remove blanks from switches.
7485 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
7487 * ansi-color.el: Delete unused escape sequences (Bug#6085).
7488 (ansi-color-drop-regexp): New constant.
7489 (ansi-color-apply, ansi-color-filter-region)
7490 (ansi-color-apply-on-region): Delete unrecognized control sequences.
7491 (ansi-color-apply): Build string list before calling concat.
7493 2010-05-28 Juri Linkov <juri@jurta.org>
7495 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7496 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
7499 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
7501 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
7502 to ignored backtrace functions.
7503 (with-progress-reporter): Expand docstring.
7504 (tramp-handle-delete-file): Implement TRASH argument.
7505 (tramp-get-remote-trash): New defun.
7507 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
7509 * net/tramp-compat.el (tramp-compat-delete-file):
7510 Use `symbol-value' for backward compatibility.
7512 * net/tramp.el (tramp-handle-make-symbolic-link)
7514 (tramp-do-copy-or-rename-file-via-buffer)
7515 (tramp-do-copy-or-rename-file-directly)
7516 (tramp-do-copy-or-rename-file-out-of-band)
7517 (tramp-handle-process-file, tramp-handle-call-process-region)
7518 (tramp-handle-shell-command, tramp-handle-file-local-copy)
7519 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7520 (tramp-delete-temp-file-function): Use `delete-file' instead
7521 of `tramp-compat-delete-file'.
7523 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
7524 (tramp-fish-handle-make-symbolic-link)
7525 (tramp-fish-handle-process-file): Use `delete-file' instead
7526 of `tramp-compat-delete-file'.
7528 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
7529 Use `delete-file' instead of `tramp-compat-delete-file'.
7531 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
7532 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
7533 `tramp-compat-delete-file'.
7535 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
7536 Use `delete-file' instead of `tramp-compat-delete-file'.
7538 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7539 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7540 (tramp-smb-handle-write-region): Use `delete-file' instead of
7541 `tramp-compat-delete-file'.
7542 (tramp-smb-handle-delete-directory): Use 'trash as arg.
7544 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
7546 * dired.el (dired-delete-file): New arg TRASH.
7547 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
7548 (dired-do-flagged-delete, dired-do-delete): Use trash.
7550 * speedbar.el (speedbar-item-delete): Allow trashing.
7552 * files.el (delete-directory): New arg TRASH.
7554 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
7555 (ange-ftp-rename-remote-to-remote)
7556 (ange-ftp-rename-local-to-remote)
7557 (ange-ftp-rename-remote-to-local, ange-ftp-load)
7558 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
7560 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
7563 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
7564 handle new TRASH arg of `delete-file'.
7566 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
7567 (tramp-handle-make-symbolic-link, tramp-handle-load)
7568 (tramp-do-copy-or-rename-file-via-buffer)
7569 (tramp-do-copy-or-rename-file-directly)
7570 (tramp-do-copy-or-rename-file-out-of-band)
7571 (tramp-handle-process-file, tramp-handle-call-process-region)
7572 (tramp-handle-shell-command, tramp-handle-file-local-copy)
7573 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7574 (tramp-delete-temp-file-function): Use null TRASH arg in
7575 tramp-compat-delete-file call.
7577 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
7578 (tramp-fish-handle-delete-file)
7579 (tramp-fish-handle-make-symbolic-link)
7580 (tramp-fish-handle-process-file): Use null TRASH arg in
7581 `tramp-compat-delete-file' call.
7583 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
7584 arg in `tramp-compat-delete-file' call.
7586 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
7587 (tramp-gvfs-handle-write-region): Use null TRASH arg in
7588 `tramp-compat-delete-file' call.
7590 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
7591 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
7592 `tramp-compat-delete-file' call.
7594 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7595 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7596 (tramp-smb-handle-write-region): Use null TRASH arg in
7597 tramp-compat-delete-file call.
7598 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
7599 (tramp-smb-handle-delete-file): Rename arg.
7601 * diff.el (diff-sentinel):
7602 * epg.el (epg--make-temp-file, epg-decrypt-string)
7603 (epg-verify-string, epg-sign-string, epg-encrypt-string):
7604 * jka-compr.el (jka-compr-partial-uncompress)
7605 (jka-compr-call-process, jka-compr-write-region):
7606 * server.el (server-sentinel): Remove optional arg from
7607 delete-file, reverting 2010-05-03 change.
7609 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
7611 * progmodes/verilog-mode.el (verilog-type-font-keywords):
7612 Use font-lock-constant-face, not obsolete font-lock-reference-face.
7614 2010-05-27 Kenichi Handa <handa@m17n.org>
7616 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
7617 element of GSTRING is nil.
7619 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7621 * emacs-lisp/smie.el (smie-forward-token-function)
7622 (smie-backward-token-function): New vars.
7623 (smie-backward-sexp, smie-forward-sexp)
7624 (smie-indent-hanging-p, smie-indent-calculate): Use them.
7625 (smie-default-backward-token): Rename from smie-backward-token and
7627 (smie-default-forward-token): Rename from smie-forward-token and
7629 (smie-next-sexp): Handle nil results from next-token.
7630 (smie-indent-calculate): Add a new case for special `fixindent' comments.
7632 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
7634 * progmodes/verilog-mode.el (verilog-type-font-keywords):
7635 Use font-lock-constant-face, not obsolete font-lock-reference-face.
7637 2010-05-27 Masatake YAMATO <yamato@redhat.com>
7639 * htmlfontify.el (hfy-face-resolve-face): New function.
7640 (hfy-face-to-style): Use it (Bug#6279).
7642 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7644 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
7645 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
7647 2010-05-26 Glenn Morris <rgm@gnu.org>
7649 * emulation/edt.el (edt-load-keys): Use locate-library.
7651 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
7653 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
7654 (log-edit-changelog-entries): Doc fix.
7655 (log-edit-changelog-insert-entries): Args changed.
7656 Rename relative filenames in ChangeLog entries. Delete tabs.
7657 (log-edit-insert-changelog-entries): Reorganize return value of
7658 `log-edit-changelog-entries' to pass filenames to
7659 log-edit-changelog-insert-entries.
7661 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7663 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
7664 `image-dired-dired-insert-marked-thumbs' to
7665 `image-dired-dired-toggle-marked-thumbs'.
7667 * image-dired.el: Require cl when compiling.
7668 (image-dired-dired-toggle-marked-thumbs): Rename from
7669 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
7670 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
7671 to 'no-dir. Skip files whose names don't match
7672 `image-file-name-regexp'. When file has a thumbnail overlay,
7673 delete it. (Bug#5270)
7675 2010-05-25 Juri Linkov <juri@jurta.org>
7677 * image-mode.el (image-mode): Add image-after-revert-hook to
7679 (image-after-revert-hook): New function. (Bug#5669)
7681 2010-05-25 Juri Linkov <juri@jurta.org>
7683 * image.el (image-animated-p): When delay between animated images
7684 is 0, set it to 10 (0.1 sec). (Bug#6258)
7686 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
7688 * net/tramp.el (tramp-handle-insert-directory): Don't use
7689 `forward-word', its default syntax could be changed.
7691 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
7693 * net/tramp.el (tramp-progress-reporter-update): New defun.
7694 (with-progress-reporter): Use it.
7695 (tramp-process-actions):
7696 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7697 Preserve current message, in order to let progress reporter continue
7698 afterwards. (Bug#6257)
7700 2010-05-25 Glenn Morris <rgm@gnu.org>
7702 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
7705 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
7707 * net/rcirc.el (rcirc-default-user-name): Change to "user".
7708 (rcirc-default-full-name): Change to "unknown".
7709 (rcirc-user-name-history): Add variable.
7711 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
7712 Jonathan Rockway <jon@jrock.us>
7714 * net/rcirc.el (rcirc-server-alist): Add :pass.
7715 (rcirc): When prompting for connection parameters, also prompt for
7716 username and password.
7717 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
7718 value to server when connecting.
7720 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7722 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
7723 (smie-merge-prec2s): Pass the tables as separate args.
7724 (smie-bnf-precedence-table): Adjust call accordingly.
7725 (smie-prec2-levels): Set levels at the end.
7727 Replace Lisp calls to delete-backward-char by delete-char.
7728 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
7729 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
7730 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
7731 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
7732 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
7733 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
7734 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
7735 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
7736 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
7737 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
7738 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
7739 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
7740 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
7741 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
7742 delete-backward-char by calls to delete-char.
7744 2010-05-25 Kenichi Handa <handa@m17n.org>
7746 * language/hebrew.el (hebrew-shape-gstring): New function.
7747 Register it in composition-function-table for all Hebrew combining
7750 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7752 * epa.el (epa--select-keys): Don't explicitly delete the window since
7753 that can fail (e.g. sole window in frame). Use dedication instead.
7755 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
7757 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
7759 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
7761 * image.el (image-refresh): Define as an alias for image-flush.
7763 * image-mode.el (image-toggle-display-image): Caller changed.
7765 2010-05-21 Juri Linkov <juri@jurta.org>
7767 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
7768 Remove "all" from grep-files-aliases. Split grep-files-aliases by
7769 whitespace, call wildcard-to-regexp on substrings and concat them
7770 with "\\|". (Bug#6114)
7772 2010-05-21 Alan Mackenzie <acm@muc.de>
7774 * progmodes/cc-engine.el (c-parse-state-get-strategy):
7775 Replace parameter `here' with `here-' and `here-plus', which sandwich
7776 any pertinent CPP construct.
7777 (c-remove-stale-state-cache-backwards): Fix a bug which happens
7778 when doing (c-parse-state) in a CPP construct: Exclude any "new"
7779 CPP construct from taking part in the scanning.
7781 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
7783 * net/tramp.el (tramp-do-copy-or-rename-file)
7784 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
7785 Tune `with-progress-reporter' messages.
7786 (tramp-handle-vc-registered):
7787 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
7788 (tramp-fish-handle-insert-file-contents)
7789 (tramp-fish-maybe-open-connection):
7790 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7791 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
7792 (tramp-imap-handle-insert-file-contents)
7793 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
7795 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
7797 * add-log.el (change-log-font-lock-keywords):
7798 Highlight all authors in multi-author entries.
7800 * smerge-mode.el (smerge-refine-ignore-whitespace)
7801 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
7802 Fix typos in docstrings.
7803 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
7805 2010-05-21 Glenn Morris <rgm@gnu.org>
7807 * progmodes/fortran.el (fortran-mode):
7808 * progmodes/f90.el (f90-mode): Derive from prog-mode.
7810 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
7811 having a relative path in src/Makefile.in.
7813 2010-05-20 Kevin Ryde <user42@zip.com.au>
7815 * help-mode.el (help-make-xrefs): For Info node links turn
7816 newlines into spaces. Link node names with newlines are matched
7817 by help-xref-info-regexp and buttonized, this change ensures they
7818 can be followed successfully with RET. (Bug#6206)
7820 2010-05-20 Juri Linkov <juri@jurta.org>
7822 * locate.el (locate): Use pop-to-buffer instead of
7823 switch-to-buffer-other-window. (Bug#6204)
7825 2010-05-20 Juri Linkov <juri@jurta.org>
7827 * replace.el (replace-highlight): Fix lazy-highlighting
7828 for `M-s w str M-% str RET'.
7830 2009-12-15 Masatake YAMATO <yamato@redhat.com>
7832 * isearch.el (isearch-yank-word-or-char): Pull next subword
7833 when `subword-mode' is activated. (Bug#6220)
7835 2010-05-20 Mark A. Hershberger <mah@everybody.org>
7837 * isearch.el (isearch-update-post-hook): New hook.
7838 (isearch-update): Use the new hook. (Bug#6225)
7840 2010-05-20 Juri Linkov <juri@jurta.org>
7842 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
7843 [f1], [help], and (char-to-string help-char) instead of "\C-h".
7846 2010-05-20 Juri Linkov <juri@jurta.org>
7848 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
7851 2010-05-20 Juri Linkov <juri@jurta.org>
7853 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
7854 FILE-NAME to read from the minibuffer when called interactively
7855 with prefix argument instead of using buffer-file-name.
7856 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
7858 * dired.el: Update autoloads.
7860 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
7862 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
7863 nxml-finish-element, for consistency with SGML mode.
7865 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
7868 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
7870 * composite.el: Require cl when compiling.
7871 (reference-point-alist, compose-gstring-for-graphic)
7872 (compose-gstring-for-terminal): Fix typos in docstrings.
7874 2010-05-19 Juri Linkov <juri@jurta.org>
7876 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
7877 set-window-parameter.
7879 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
7881 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
7883 (tramp-maybe-open-connection): Use it.
7885 2010-05-19 Eli Zaretskii <eliz@gnu.org>
7887 * simple.el (move-end-of-line): Make sure we are at line beginning
7888 before backing up to end of previous line.
7890 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
7892 * password-cache.el (password-cache-remove): Fix docstring.
7894 * net/secrets.el: Autoload the widget functions.
7895 (secrets-search-items, secrets-create-item)
7896 (secrets-get-attributes, secrets-expand-item): Attributes will be
7897 stored on the password database without leading ":", as all other
7899 (secrets-mode): Fix docstring.
7900 (secrets-show-secrets): Provide it as autoloaded command only when
7901 D-Bus support is available. Check existence of Secret Service API.
7903 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
7905 * indent.el (indent-region): Deactivate region (bug#6200).
7907 2010-05-19 Glenn Morris <rgm@gnu.org>
7909 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
7911 2010-05-19 Kenichi Handa <handa@m17n.org>
7913 * composite.el: Register compose-gstring-for-graphic in
7914 composition-function-table only for combining characters (Mn, Mc, Me).
7916 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
7918 * calc/calc-trail.el (calc-trail-isearch-forward)
7919 (calc-trail-isearch-backward): Ensure that the new window
7920 point is set correctly.
7922 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7924 * subr.el (read-quoted-char): Resolve modifiers after key
7925 remapping (bug#6212).
7927 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
7929 Add visualization code for secrets.
7930 * net/secrets.el (secrets-mode): New major mode.
7931 (secrets-show-secrets, secrets-show-collections)
7932 (secrets-expand-collection, secrets-expand-item)
7933 (secrets-tree-widget-after-toggle-function)
7934 (secrets-tree-widget-show-password): New defuns.
7936 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7938 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
7939 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
7940 handled in smie-next-sexp.
7941 (smie-indent-calculate): Provide a starting indentation (so the
7942 recursion is well-founded ;-).
7944 Fix handling of non-associative equal levels.
7945 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
7946 when it's not needed.
7947 (smie-op-left, smie-op-right): New functions.
7948 (smie-next-sexp): New function, extracted from smie-backward-sexp.
7949 Better handle equal levels to distinguish the associative case from
7950 the "multi-keyword construct" case.
7951 (smie-backward-sexp, smie-forward-sexp): Use it.
7953 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
7955 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
7957 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
7958 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
7960 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7962 Provide a simple generic indentation engine and use it for Prolog.
7963 * emacs-lisp/smie.el: New file.
7964 * progmodes/prolog.el (prolog-smie-op-levels)
7965 (prolog-smie-indent-rules): New var.
7966 (prolog-mode-variables): Use them to configure SMIE.
7967 (prolog-indent-line, prolog-indent-level): Remove.
7969 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7971 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
7972 order before computing the averages.
7974 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
7976 * calc/calc-vec.el (calc-histogram):
7977 (calcFunc-histogram): Allow vectors as inputs.
7978 (math-vector-avg): New function.
7980 * calc/calc-ext.el (math-group-float): Have the number of digits
7981 being grouped depend on the radix (Bug#6189).
7983 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
7985 * version.el (emacs-copyright, emacs-version): Don't define here,
7986 now that emacs.c defines it.
7988 2010-05-15 Eli Zaretskii <eliz@gnu.org>
7990 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
7991 "Describe Language Environment" menu item.
7993 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
7995 Bidi-sensitive movement with arrow keys.
7996 * subr.el (right-arrow-command, left-arrow-command): New functions.
7998 * bindings.el (global-map): Bind them to right and left arrow keys.
8000 Don't override standard definition of convert-standard-filename.
8001 * files.el (convert-standard-filename):
8002 Call w32-convert-standard-filename and dos-convert-standard-filename on
8003 the corresponding systems.
8005 * w32-fns.el (w32-convert-standard-filename): Rename from
8006 convert-standard-filename. Doc fix.
8008 * dos-fns.el (dos-convert-standard-filename): Doc fix.
8009 (convert-standard-filename): Don't defalias.
8010 (register-name-alist, make-register, register-value)
8011 (set-register-value, intdos): Obsolete aliases for the
8012 corresponding dos-* functions and variables.
8013 (dos-intdos): Add a doc string.
8015 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
8017 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
8018 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
8019 (math-compose-tex-func):
8020 * calc/calccomp.el (math-compose-expr):
8021 * calc/calc-ext.el (math-format-flat-expr-fancy):
8022 * calc/calc-store.el (calc-read-var-name):
8023 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
8025 * calc/calc.el (var-π, var-φ, var-γ): New variables.
8026 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
8027 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
8028 (math-standard-units): Add units.
8030 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8032 * progmodes/asm-mode.el (asm-mode):
8033 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
8035 * pcomplete.el (pcomplete-completions-at-point): New function,
8036 extracted from pcomplete-std-complete.
8037 (pcomplete-std-complete): Use it.
8039 2010-05-15 Glenn Morris <rgm@gnu.org>
8041 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8042 Remove references to CVS, RCS and Old directories.
8044 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
8046 * calc/calc-bin.el (math-format-twos-complement): Group digits when
8049 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8051 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
8052 (sh-mode-syntax-table): Give it a default value instead.
8053 (sh-header-marker): Make buffer-local.
8054 (sh-mode): Move make-local-variable to the corresponding setq.
8055 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
8056 Use complete-with-action.
8058 * simple.el (prog-mode): New (abstract) major mode.
8059 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
8060 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
8062 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
8064 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
8065 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
8066 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
8067 (sql-make-alternate-buffer-name, sql-placeholders-filter)
8068 (sql-escape-newlines-filter, sql-input-sender)
8069 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
8071 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
8073 Add TeX open-block and close-block keybindings to SGML, and vice versa.
8075 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
8076 latex-open-block and C-c / to latex-close-block.
8078 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
8079 and C-c C-e to sgml-close-tag.
8081 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
8083 * net/tramp.el (with-progress-reporter): Create reporter object
8084 only when the message would be displayed. Handle nested calls.
8085 (tramp-handle-load, tramp-handle-file-local-copy)
8086 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8087 (tramp-maybe-send-script, tramp-find-shell):
8088 Use `with-progress-reporter'.
8089 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
8092 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8093 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8094 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
8095 Use `with-progress-reporter'.
8097 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
8099 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
8100 process everytime when spellchecking from the minibuffer (bug#6143).
8102 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8104 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
8106 * dos-fns.el: Add "dos-" prefix for namespace control.
8107 (convert-standard-filename): Define as alias for
8108 dos-convert-standard-filename but only if applicable.
8110 2010-05-12 Alan Mackenzie <acm@muc.de>
8112 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
8113 Push the mark at the start of these functions when appropriate.
8115 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8117 * minibuffer.el (completion-cycle-threshold): New custom var.
8118 (completion--do-completion): Use it.
8119 (minibuffer-complete): Use cycling if appropriate.
8121 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
8123 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
8124 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
8126 2010-05-11 Juri Linkov <juri@jurta.org>
8128 * scroll-all.el (scroll-all-check-to-scroll):
8129 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
8131 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8133 * iimage.el (iimage-mode-map): Move initialization into declaration.
8134 (iimage-mode-buffer): Use with-silent-modifications.
8135 Simplify calling convention. Adjust callers.
8136 (iimage-mode): Don't run hook redundantly.
8138 * minibuffer.el (completion-pcm--pattern->regex):
8139 Fix last change (bug#6160).
8141 2010-05-10 Juri Linkov <juri@jurta.org>
8143 Remove nodes visited during Isearch from the Info history.
8144 * info.el (Info-isearch-initial-history)
8145 (Info-isearch-initial-history-list): New variables.
8146 (Info-isearch-start): Record initial values of
8147 Info-isearch-initial-history and Info-isearch-initial-history-list.
8148 Add Info-isearch-end to isearch-mode-end-hook.
8149 (Info-isearch-end): New function.
8151 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
8153 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
8154 format string, in order to work around a bug in pdksh.
8155 Reported by Gilles Pion <gpion@lfdj.com>.
8156 (tramp-handle-verify-visited-file-modtime): Do not send a command
8157 when the connection is not established.
8158 (tramp-handle-set-file-times): Simplify the check for utc.
8160 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
8162 Fix use of `filter-buffer-substring' (rework previous change).
8163 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
8164 (cua-repeat-replace-region):
8165 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
8166 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
8167 (cua-cut-region-to-global-mark): Use it.
8169 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
8171 * progmodes/sql.el: Version 2.1.
8172 (sql-product-alist): Redesign structure of product info.
8173 (sql-product, sql-user, sql-server, sql-database): Safe variables.
8174 (sql-port, sql-port-history): New variables.
8175 (sql-interactive-product): New variable.
8176 (sql-send-terminator): New variable.
8177 (sql-imenu-generic-expression): Add "Types" imenu entry.
8178 (sql-oracle-login-params, sql-sqlite-login-params)
8179 (sql-mysql-login-params, sql-solid-login-params)
8180 (sql-sybase-login-params, sql-informix-login-params)
8181 (sql-ingres-login-params, sql-ms-login-params)
8182 (sql-postgres-login-params, sql-interbase-login-params)
8183 (sql-db2-login-params, sql-linter-login-params)
8184 (sql-oracle-scan-on): New variables.
8185 (sql-mode-map): Add C-c C-i to start interactive mode.
8186 (sql-mode-menu): Update existing menu entries.
8187 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
8188 (sql-mode-oracle-font-lock-keywords)
8189 (sql-mode-postgres-font-lock-keywords)
8190 (sql-mode-ms-font-lock-keywords)
8191 (sql-mode-sybase-font-lock-keywords)
8192 (sql-mode-informix-font-lock-keywords)
8193 (sql-mode-interbase-font-lock-keywords)
8194 (sql-mode-ingres-font-lock-keywords)
8195 (sql-mode-solid-font-lock-keywords)
8196 (sql-mode-mysql-font-lock-keywords)
8197 (sql-mode-sqlite-font-lock-keywords)
8198 (sql-mode-db2-font-lock-keywords)
8199 (sql-mode-linter-font-lock-keywords): Update initialization to
8200 reduce run-time complexity.
8201 (sql-add-product, sql-del-product): New functions.
8202 (sql-set-product-feature, sql-get-product-feature): New functions.
8203 (sql-product-font-lock): Update product API.
8204 (sql-add-product-keywords): New function.
8205 (sql-highlight-product): Update product API.
8206 (sql-help-list-products): New function.
8207 (sql-help): Dynamically lists free and non-free products.
8208 (sql-get-login): Correct bug in handling history and added
8210 (sql-copy-column): Copy without properties.
8211 (sqli-input-sender): Apply filters to SQLi input.
8212 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
8213 Implement as a filter.
8214 (sql-escape-newlines-filter): Implement as a filter.
8215 (sql-remove-tabs-filter): New function.
8216 (sql-send-magic-terminator): New function.
8217 (sql-send-string): Implement magic terminator.
8218 (sql-send-region): Use `sql-send-string'.
8219 (sql-interactive-mode): Use product API.
8220 (sql-product-interactive): Use product API.
8221 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
8222 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
8223 (sql-db2, sql-linter): Use `sql-product-interactive'.
8224 (sql-connect): New function.
8225 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
8226 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
8227 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
8228 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
8231 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8233 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
8234 New custom variable.
8235 (completion-pcm--string->pattern): Use it.
8236 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
8237 Make it handle any symbol as `any'.
8238 (completion-pcm--merge-completions): Extract common suffix for the new
8239 `prefix' symbol as well.
8240 (completion-substring--all-completions): Use the new `prefix' symbol.
8242 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
8244 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
8246 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
8247 (tramp-compat-funcall): New defmacro.
8248 (tramp-compat-line-beginning-position)
8249 (tramp-compat-line-end-position)
8250 (tramp-compat-temporary-file-directory)
8251 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
8252 (tramp-compat-copy-file, tramp-compat-copy-directory)
8253 (tramp-compat-delete-file, tramp-compat-delete-directory)
8254 (tramp-compat-number-sequence, tramp-compat-process-running-p)
8255 * net/tramp.el (top, with-progress-reporter)
8256 (tramp-rfn-eshadow-setup-minibuffer)
8257 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
8258 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
8259 (tramp-completion-mode-p, tramp-check-for-regexp)
8260 (tramp-open-connection-setup-interactive-shell)
8261 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
8262 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
8263 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
8264 * net/tramp-cmds.el (tramp-cleanup-all-connections)
8265 (tramp-reporter-dump-variable, tramp-load-report-modules)
8266 (tramp-append-tramp-buffers)
8267 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
8269 * net/tramp-imap.el (top): Autoload `epg-make-context'.
8271 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8273 * progmodes/compile.el (compilation-buffer-modtime): Rename from
8274 buffer-modtime. Adjust users.
8276 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
8278 * international/mule.el (auto-coding-alist): Only purecopy
8279 car of each item, not the whole list (Bug#6083).
8281 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
8283 * progmodes/js.el (js-mode): Make paragraph variables local before
8284 calling c-setup-paragraph-variables (Bug#6071).
8286 2010-05-08 Eli Zaretskii <eliz@gnu.org>
8288 * composite.el (compose-region, reference-point-alist): Fix typos
8291 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8293 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
8294 gnuplot's "set" command.
8296 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
8298 * abbrev.el (last-abbrev-text): Doc fix.
8299 (abbrev-prefix-mark): Don't escape parenthesis.
8301 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
8303 * composite.el (find-composition): Doc fix.
8305 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
8307 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
8308 (sql-oracle-program, sql-sqlite-options)
8309 (sql-query-placeholders-and-send): Doc fixes.
8310 (sql-set-product, sql-interactive-mode): Reflow docstrings.
8311 (sql-imenu-generic-expression, sql-buffer)
8312 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
8313 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
8314 (sql-mode-sybase-font-lock-keywords)
8315 (sql-mode-informix-font-lock-keywords)
8316 (sql-mode-interbase-font-lock-keywords)
8317 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
8318 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
8319 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
8320 (sql-product-feature, sql-highlight-product)
8321 (comint-line-beginning-position, sql-rename-buffer)
8322 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
8323 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
8324 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
8325 Fix typos in docstrings.
8327 2010-05-08 Juri Linkov <juri@jurta.org>
8329 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
8330 property instead of `invisible' and `after-string' (bug#5998).
8332 2010-05-08 Juri Linkov <juri@jurta.org>
8334 * image-mode.el (image-mode-as-text): Fix typo in docstring.
8336 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
8338 * filecache.el (file-cache-add-directory-list)
8339 (file-cache-add-directory-recursively): Fix typos in docstrings.
8341 2010-05-08 Kenichi Handa <handa@m17n.org>
8343 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
8344 (gujarati-composable-pattern): Fix typo.
8346 2010-05-08 Kenichi Handa <handa@m17n.org>
8348 * language/indian.el (oriya-composable-pattern)
8349 (tamil-composable-pattern, malayalam-composable-pattern):
8350 Add two-part vowels to "v" (vowel sign).
8352 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
8354 * files.el (copy-directory): Handle symlinks (Bug#5982).
8356 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
8358 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
8359 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
8362 2010-05-08 Glenn Morris <rgm@gnu.org>
8364 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
8366 * minibuffer.el (completion-at-point): Doc fix.
8368 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8370 * electric.el (Electric-command-loop): Minor tweak.
8372 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
8373 better with dedicated windows.
8375 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
8377 * Version 23.2 released.
8379 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
8380 Stefan Monnier <monnier@iro.umontreal.ca>
8382 Highlight vendor specific properties.
8383 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
8384 (css-proprietary-property): New face.
8385 (css-font-lock-keywords): Use them.
8387 2010-05-07 Eli Zaretskii <eliz@gnu.org>
8389 * cus-start.el (all): Add native condition for tool-bar-* symbols.
8391 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8393 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
8394 * files.el (auto-mode-alist): Remove redundant entries.
8396 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
8397 * simple.el (auto-save-mode): Move from files.el.
8398 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
8400 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
8402 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
8404 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
8406 * mail/binhex.el (binhex-decode-region-internal)
8407 * mail/uudecode.el (uudecode-decode-region-internal)
8408 * net/dns.el (dns-read-string-name, dns-write, dns-read)
8409 (dns-read-type, dns-query)
8410 * pgg-parse.el (pgg-parse-armor)
8411 * pgg.el (pgg-verify-region)
8412 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
8415 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
8417 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
8419 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
8421 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
8422 * emulation/cua-base.el (cua-repeat-replace-region):
8423 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
8424 (cua-cut-region-to-global-mark):
8425 Remove text properties with `set-text-properties'.
8427 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
8429 * net/tramp.el (top, with-progress-reporter):
8430 Use `symbol-function' inside `funcall'.
8432 * net/tramp-compat.el (tramp-compat-file-attributes)
8433 (tramp-compat-delete-file, tramp-compat-delete-directory):
8434 Handle only `wrong-number-of-arguments' error.
8436 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
8437 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
8440 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8442 * minibuffer.el (completion--sreverse, completion--common-suffix):
8444 (completion-pcm--merge-completions): Extract common suffix when safe.
8446 * emacs-lisp/easy-mmode.el (define-minor-mode):
8447 Make :variable more flexible.
8448 * files.el (auto-save-mode): Use it to define using define-minor-mode.
8450 2010-05-05 Juri Linkov <juri@jurta.org>
8452 Add `slow' and `history' tags to the desktop data.
8454 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
8455 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
8456 (Info-finder-find-node): Require `finder.el' to be able
8457 to restore node from the desktop.
8458 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
8459 data `Info-history' and `slow' tag in the assoc list.
8460 (Info-restore-desktop-buffer): Don't restore nodes with the
8461 `slow' tag. Restore `Info-history'.
8463 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
8465 Add FORCE argument to `delete-file'.
8467 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
8468 forcing to delete the temporary file.
8469 (ange-ftp-delete-file): Add FORCE arg.
8470 (ange-ftp-rename-remote-to-remote)
8471 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
8472 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
8473 Force file deletion.
8475 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
8477 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
8478 (tramp-handle-make-symbolic-link, tramp-handle-load)
8479 (tramp-do-copy-or-rename-file-via-buffer)
8480 (tramp-do-copy-or-rename-file-directly)
8481 (tramp-do-copy-or-rename-file-out-of-band)
8482 (tramp-handle-process-file, tramp-handle-call-process-region)
8483 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8484 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8485 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
8487 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
8488 (tramp-fish-handle-make-symbolic-link)
8489 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
8491 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8492 Use `tramp-compat-delete-file'.
8494 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
8495 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
8497 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
8498 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
8500 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
8501 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
8502 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
8503 Use `tramp-compat-delete-file'.
8505 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8508 * subr.el (add-minor-mode): Use push.
8509 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
8510 * emulation/edt.el (edt-select-mode): Simplify.
8512 Use define-minor-mode in more cases.
8513 * term/tvi970.el (tvi970-set-keypad-mode):
8514 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8515 (normal-erase-is-backspace-mode):
8516 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
8517 (set-scroll-bar-mode-1): (Re)move to its sole caller.
8518 (get-scroll-bar-mode): New function.
8519 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
8521 Use define-minor-mode for less obvious cases.
8522 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
8523 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
8524 * international/iso-ascii.el (iso-ascii-mode):
8525 * frame.el (auto-raise-mode, auto-lower-mode):
8526 * composite.el (global-auto-composition-mode): Use define-minor-mode.
8528 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
8530 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
8531 in order to see error messages for failed logins.
8533 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
8535 * diff.el (diff-sentinel):
8537 * epg.el (epg--make-temp-file, epg-decrypt-string)
8538 (epg-verify-string, epg-sign-string, epg-encrypt-string):
8540 * jka-compr.el (jka-compr-partial-uncompress)
8541 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
8543 * server.el (server-sentinel): Use delete-file's new FORCE arg
8546 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8548 Use define-minor-mode where applicable.
8549 * view.el (view-mode):
8550 * type-break.el (type-break-query-mode)
8551 (type-break-mode-line-message-mode):
8552 * textmodes/reftex.el (reftex-mode):
8553 * term/vt100.el (vt100-wide-mode):
8554 * tar-mode.el (tar-subfile-mode):
8555 * savehist.el (savehist-mode):
8556 * ibuf-ext.el (ibuffer-auto-mode):
8557 * composite.el (auto-composition-mode):
8558 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8559 Use define-minor-mode.
8560 (vhdl-mode): Use static mode-line format.
8561 (vhdl-mode-line-update): Delete.
8562 (vhdl-create-mode-menu, vhdl-activate-customizations)
8563 (vhdl-hs-minor-mode): Don't bother calling it.
8565 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
8567 * simple.el (with-wrapper-hook): Move.
8568 (buffer-substring-filters): Mark obsolete.
8569 (filter-buffer-substring-functions): New variable.
8570 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
8572 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
8573 Michael Albinus <michael.albinus@gmx.de>
8575 Implement compression for inline methods.
8577 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
8578 (tramp-copy-size-limit): Allow also nil.
8579 (tramp-inline-compress-commands): New defconst.
8580 (tramp-find-inline-compress, tramp-get-inline-compress)
8581 (tramp-get-inline-coding): New defuns.
8582 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
8583 replaced by `tramp-get-inline-coding'.
8584 (tramp-handle-file-local-copy, tramp-handle-write-region)
8585 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
8587 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8589 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
8590 Remove unused functions.
8592 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
8593 Set find-tag-default-function as a variable rather than a property.
8595 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
8596 * progmodes/etags.el (tags-completion-at-point-function):
8597 Remove left over interactive spec. Add autoloading stub.
8598 (complete-tag): Use tags-completion-at-point-function.
8600 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
8602 * minibuffer.el (tags-completion-at-point-function): Fix return value.
8604 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
8606 * ido.el (ido-init-completion-maps): Remove C-v binding.
8607 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
8609 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
8611 * minibuffer.el (tags-completion-at-point-function): New function.
8612 (completion-at-point-functions): Use it.
8614 * progmodes/etags.el (complete-tag): Revert last change.
8616 2010-04-29 Alan Mackenzie <acm@muc.de>
8618 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
8619 off-by-one error (in end of macro position).
8621 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
8623 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
8624 firefox is absent. Don't autoload.
8625 (browse-url-galeon-program): Don't autoload.
8627 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
8629 * bindings.el (complete-symbol): Move into minibuffer.el.
8631 * minibuffer.el (complete-tag): Move from etags.el. If tags
8632 completion cannot be performed, return nil instead of signalling
8634 (completion-at-point): Make it an alias for complete-symbol.
8635 (complete-symbol): Move from bindings.el, and replace with the
8636 body of completion-at-point.
8638 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
8640 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
8642 * net/tramp.el (tramp-remote-selinux-p): New defun.
8643 (tramp-handle-file-selinux-context)
8644 (tramp-handle-set-file-selinux-context): Use it.
8646 2010-04-28 Sam Steingold <sds@gnu.org>
8648 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
8649 `safe-local-variable' if the value is a string or a symbol with
8650 the property `bug-reference-url-format'.
8652 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
8654 * progmodes/bug-reference.el (bug-reference-url-format):
8655 Revert 2010-04-27 change due to security risk.
8657 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8659 Make it possible to locally disable a globally enabled mode.
8660 * simple.el (fundamental-mode): Run fundamental-mode-hook.
8661 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
8662 rather than kill-all-local-variables so it runs fundamental-mode-hook.
8663 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8664 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
8665 that subsequent hooks get a chance to disable it.
8667 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8669 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8670 Avoid re-enabling a minor mode after the user turned the minor mode
8671 off if MODE-enable-in-buffers is run twice (typically once from
8672 fundamental-mode's after-change-major-mode-hook and a second time from
8673 run-mode-hook's own after-change-major-mode-hook).
8675 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
8677 2010-04-27 Sam Steingold <sds@gnu.org>
8679 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
8680 `safe-local-variable' if the value is a string or a function, as
8681 documented and implemented on 2010-04-02.
8683 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
8685 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
8686 when method is 'kill.
8688 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
8690 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
8691 condition in default directory check.
8692 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
8693 Kill ispell process when killing its associated buffer.
8695 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
8697 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
8698 but we aren't using it.
8700 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
8702 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
8703 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
8705 2010-04-24 Glenn Morris <rgm@gnu.org>
8707 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
8708 Ignore VCS-ignore files, and deleted nextstep preferences files.
8709 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
8710 (authors-ambiguous-files): New list.
8711 (authors-valid-file-names): Add some deleted files.
8712 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
8713 (authors-disambiguate-file-name): New function. (Bug#5501)
8714 (authors-canonical-file-name): Doc fix.
8715 Don't warn about obsolete files.
8716 (authors-canonical-file-name, authors-scan-el):
8717 Use authors-disambiguate-file-name.
8719 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
8720 Add autoload cookies.
8721 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
8722 (generated-autoload-file): Set file-local value to "htmlfontify.el".
8723 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
8724 They have definitions / compiler macros in cl.el.
8725 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
8726 Replace manual autoloads with generated ones.
8727 (htmlfontify-unload-rgb-file): Remove autoload.
8728 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
8730 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8732 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
8733 (byte-compile-setq-default): Optimize for the
8734 single-var case and don't call byte-compile-form in this case to avoid
8735 inf-loop with byte-compile-set-default.
8737 * progmodes/compile.el (compilation-start): Abbreviate default directory.
8739 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
8741 Implement SELINUX backends.
8743 * net/tramp.el (tramp-file-name-handler-alist):
8744 Add `file-selinux-context' and `set-file-selinux-context'.
8745 (tramp-handle-file-selinux-context)
8746 (tramp-handle-set-file-selinux-context): New defuns.
8747 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
8748 Handle PRESERVE-SELINUX-CONTEXT.
8750 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8751 Add `file-selinux-context' and `set-file-selinux-context'.
8752 (tramp-gvfs-handle-file-selinux-context)
8753 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
8754 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
8756 * net/ange-ftp.el (ange-ftp-copy-file):
8757 * net/tramp-fish.el (tramp-fish-handle-copy-file):
8758 * net/tramp-imap.el (tramp-imap-handle-copy-file):
8759 * net/tramp-smb.el (tramp-smb-handle-copy-file):
8760 Add PRESERVE-SELINUX-CONTEXT.
8762 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
8764 Synchronize with Tramp repository.
8766 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
8767 (tramp-action-process-alive, tramp-action-out-of-band)
8768 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
8769 (tramp-exists-file-name-handler): Fix docstring.
8770 (with-progress-reporter): New defmacro.
8771 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
8772 (tramp-maybe-open-connection): Use it.
8774 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
8776 Detect ssh 'ControlMaster' argument automatically in some cases.
8778 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
8779 (tramp-default-method): Use it.
8781 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
8783 * net/tramp.el (tramp-handle-copy-file): Add new optional
8784 parameter `preserve-selinux-context'.
8785 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
8787 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
8789 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
8790 Ensure, that non remote files are still checked. Oops.
8792 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
8796 * icomplete.el (icomplete-completions): Use `non-essential'.
8798 * net/tramp.el (tramp-connectable-p): New defun.
8799 (tramp-handle-expand-file-name)
8800 (tramp-completion-handle-file-name-all-completions)
8801 (tramp-completion-handle-file-name-completion): Use it.
8803 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
8805 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
8807 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
8809 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
8811 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
8813 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
8816 * info.el (info-tool-bar-map): Add labels.
8818 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
8820 * cus-edit.el (custom-commands): Add labels for tool bar.
8821 (custom-buffer-create-internal, Custom-mode): Adjust for
8822 labels in custom-commands.
8824 * dynamic-setting.el: Renamed from font-setting.el.
8826 2010-04-21 John Wiegley <jwiegley@gmail.com>
8828 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
8829 toggles the use of virtual buffers.
8830 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
8831 (ido-toggle-virtual-buffers): New function.
8833 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
8835 Use `define-derived-mode'; fix window selection; doc fixes.
8836 * play/tetris.el (tetris, tetris-update-speed-function)
8837 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
8838 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
8839 (tetris-rotate-next, tetris-end-game, tetris-start-game)
8840 (tetris-pause-game): Fix typos in docstrings.
8841 (tetris-mode-map, tetris-null-map):
8842 Move initialization into declaration.
8843 (tetris-mode): Define with `define-derived-mode';
8844 set show-trailing-whitespace to nil.
8845 (tetris): Prefer window already displaying the "*Tetris*" buffer.
8847 2010-04-21 Karel Klíč <kklic@redhat.com>
8849 * files.el (backup-buffer): Handle SELinux context, and return it
8850 if a backup was made by renaming.
8851 (backup-buffer-copy): Set SELinux context to the target file.
8852 (basic-save-buffer): Set SELinux context of the newly written file.
8853 (basic-save-buffer-1): Now it also returns any SELinux context.
8854 (basic-save-buffer-2): Set SELinux context of the newly created file,
8856 * net/tramp.el (tramp-file-name-for-operation):
8857 Add file-selinux-context.
8859 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
8861 Make the log-edit comments use RFC822 format throughout.
8863 * vc.el (vc-checkin, vc-modify-change-comment):
8864 Adjust to new vc-start/finish-logentry.
8865 (vc-find-conflicted-file): New command.
8866 (vc-transfer-file): Adjust to new vc-checkin.
8867 (vc-next-action): Improve scoping.
8869 * vc-hg.el (vc-hg-log-edit-mode): Remove.
8870 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
8872 * vc-git.el (vc-git-log-edit-mode): Remove.
8873 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
8874 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
8876 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
8877 (vc-start-logentry): Remove argument `extra'.
8878 (vc-finish-logentry): Remove extra args.
8880 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
8881 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
8882 (vc-bzr-conflicted-files): New function.
8884 * log-edit.el (log-edit-extra-flags)
8885 (log-edit-before-checkin-process): Remove.
8886 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
8887 (log-edit-headers-alist): New var.
8888 (log-edit-header-contents-regexp): New const.
8889 (log-edit-match-to-eoh): New function.
8890 (log-edit-font-lock-keywords): Use them.
8891 (log-edit): Insert a "Summary:" header as default.
8892 (log-edit-mode): Mark font-lock rules as case-insensitive.
8893 (log-edit-done): Cleanup headers.
8894 (log-view-process-buffer): Remove.
8895 (log-edit-extract-headers): New function to replace it.
8897 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
8899 * subr.el (default-direction-reversed): Remove obsolescence info.
8901 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8903 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
8906 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
8907 I.e. include text after point in the completion region.
8908 Also, return nil when we're not after/in a symbol.
8910 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
8911 default enable-multibyte-characters.
8913 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8915 * international/mule.el: Help the user choose a valid coding-system.
8916 (read-buffer-file-coding-system): New function.
8917 (set-buffer-file-coding-system): Use it. Prompt the user if the
8918 coding-system cannot encode all the chars.
8920 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
8921 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
8922 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
8923 Don't use *vc-bzr-shelve*.
8925 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
8927 Fix the version number for added files.
8928 * vc-hg.el (vc-hg-working-revision): Check if the file is
8929 registered after hg parent fails (Bug#5961).
8931 2010-04-19 Glenn Morris <rgm@gnu.org>
8933 * htmlfontify.el (htmlfontify-buffer)
8934 (htmlfontify-copy-and-link-dir): Autoload entry points.
8936 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
8938 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
8939 name relative to the project root (Bug#5960).
8941 2010-04-19 Glenn Morris <rgm@gnu.org>
8943 * vc-git.el (vc-git-print-log): Doc fix.
8945 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
8947 * ido.el (ido-file-internal): Fix 2009-12-02 change.
8949 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
8951 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
8952 default settings (Bug#5928).
8954 2010-04-19 Glenn Morris <rgm@gnu.org>
8956 * progmodes/fortran.el (fortran-match-and-skip-declaration):
8958 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
8960 2010-04-19 Kenichi Handa <handa@m17n.org>
8962 * language/indian.el (malayalam-composable-pattern): Fix previous
8963 change (add U+0D4D "SIGN VIRAMA").
8964 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
8965 (tamil-composable-pattern): Fix typo in the regexp.
8966 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
8967 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
8968 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
8970 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
8972 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
8973 paragraph-separate (Bug#5821).
8975 2010-04-19 Juri Linkov <juri@jurta.org>
8977 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
8979 * info.el (Info-find-node-2): Comment out code that skips
8981 (Info-mouse-follow-link): New command.
8982 (Info-link-keymap): New keymap.
8983 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
8984 Return a string with links instead of inserting breadcrumbs
8986 (Info-fontify-node): Comment out code that inserts breadcrumbs.
8987 Instead of putting the `invisible' text property over the Info
8988 header, make an overlay over the Info header with the `invisible'
8989 property and `after-string' set to the string returned by
8992 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
8994 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
8995 Reported by monkey@sandpframing.com.
8997 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8999 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
9000 (tmm-get-keymap): Add key-binding shortcuts now that they're not
9001 available in the "keyseq cache" any more.
9003 * custom.el (defcustom): Add edebug spec.
9005 2010-04-18 Juri Linkov <juri@jurta.org>
9007 Test for special mode-class in view-buffer instead of view-file (bug#5513).
9009 * view.el (view-file, view-buffer): Move test for special mode-class
9010 from view-file to view-buffer.
9012 * tar-mode.el (tar-extract): Turn if's into one cond
9013 like in arc-mode.el.
9015 2010-04-18 Juri Linkov <juri@jurta.org>
9017 Add 7z archive format support (bug#5475).
9019 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
9020 (archive-7z-extract): New defcustom.
9021 (archive-find-type): Add magic string for 7z.
9022 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
9023 If `stderr-file' is non-nil, use `(t stderr-file)' for the
9024 `buffer' arg of `call-process'.
9025 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
9026 call the function `archive-7z-extract' with the variable
9027 `archive-7z-extract' let-bound to `archive-zip-extract'.
9028 (archive-7z-summarize, archive-7z-extract): New functions.
9030 * international/mule.el (auto-coding-alist):
9031 * files.el (auto-mode-alist): Add 7z file extension.
9033 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9035 * loadup.el: Setup hash-cons for pure data.
9037 Fix duplicate entries in cedet's loaddefs.el files.
9038 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
9039 Should make most file-local generated-autoload-file unnecessary.
9040 (print-readably): Silence warnings.
9041 (autoload-find-destination): Take load-name as an arg to make sure
9042 it's the same as the one that will be in the file.
9043 (autoload-generate-file-autoloads): Adjust to above changes.
9044 Try to make the dataflow a bit simpler.
9046 * cvs-status.el (cvs-refontify): Remove unused.
9048 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
9050 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
9052 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
9053 twos-complement mode.
9055 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
9057 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
9058 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
9059 (calc-inverse): Add "Option" to message, as appropriate.
9060 (calc-hyperbolic): Add "Option" to message, as appropriate.
9061 (calc-option, calc-is-option): New functions.
9063 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
9064 (calc-option-prefix-help): New function.
9066 * calc/calc-misc.el (calc-help): Add "Option" entry.
9068 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
9069 (calc-option-flag): New variable.
9070 (calc-do): Set `calc-option-flag to nil.
9071 (calc-set-mode-line): Add "Opt " as appropriate.
9073 2010-04-16 Juri Linkov <juri@jurta.org>
9075 Move scrolling commands from simple.el to window.el
9076 because their primitives are implemented in window.c.
9078 * simple.el (scroll-error-top-bottom)
9079 (scroll-up-command, scroll-down-command, scroll-up-line)
9080 (scroll-down-line, scroll-other-window-down)
9081 (beginning-of-buffer-other-window, end-of-buffer-other-window):
9082 * window.el (scroll-error-top-bottom)
9083 (scroll-up-command, scroll-down-command, scroll-up-line)
9084 (scroll-down-line, scroll-other-window-down)
9085 (beginning-of-buffer-other-window, end-of-buffer-other-window):
9086 Move from simple.el to window.el because their primitives are
9087 implemented in window.c.
9089 2010-04-16 Juri Linkov <juri@jurta.org>
9091 * isearch.el (isearch-lookup-scroll-key): Check both
9092 `isearch-scroll' and `scroll-command' properties.
9093 (scroll-up, scroll-down): Remove `isearch-scroll' property.
9095 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
9097 * simple.el (scroll-up-command, scroll-down-command)
9098 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
9100 2010-04-15 Juri Linkov <juri@jurta.org>
9102 * simple.el (scroll-up-command, scroll-down-command)
9103 (scroll-up-line, scroll-down-line): Put `scroll-command'
9104 property on the these symbols. Remove them from
9105 `scroll-preserve-screen-position-commands'.
9107 * mwheel.el (mwheel-scroll): Put `scroll-command' and
9108 `isearch-scroll' properties on the `mwheel-scroll' symbol.
9109 Remove it from `scroll-preserve-screen-position-commands'.
9111 * isearch.el (isearch-allow-scroll): Doc fix.
9113 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
9115 * net/tramp.el (tramp-error-with-buffer): Don't show the
9116 connection buffer when we are in completion mode.
9117 (tramp-file-name-handler): Catch the error for some operations
9118 when we are in completion mode. This gives the user the chance to
9119 correct the file name in the minibuffer.
9121 2010-04-15 Glenn Morris <rgm@gnu.org>
9123 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
9125 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
9127 Simplify by using `define-derived-mode'.
9128 * info.el (Info-mode):
9129 * calendar/todo-mode.el (todo-mode):
9130 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
9131 (gomoku-mode-map): Move initialization into declaration.
9133 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
9136 * ido.el (ido-file-name-all-completions-1):
9137 * minibuffer.el (minibuffer-completion-help):
9138 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
9140 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9142 * simple.el (non-essential): New var.
9144 Add a new field `location' to bookmarks for non-file bookmarks.
9145 * bookmark.el (bookmark-location): Use the new field, if present.
9146 (bookmark-insert-location): Undo last change, not needed any more.
9147 * man.el (Man-bookmark-make-record):
9148 * woman.el (woman-bookmark-make-record): Add `location' field.
9150 2010-04-14 Juri Linkov <juri@jurta.org>
9152 * simple.el (scroll-error-top-bottom): New defcustom.
9153 (scroll-up-command, scroll-down-command): Use it. Doc fix.
9155 * emulation/pc-select.el (pc-select-override-scroll-error):
9156 Obsolete in favor of `scroll-error-top-bottom'.
9158 2010-04-14 Juri Linkov <juri@jurta.org>
9160 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
9161 `scroll-up-command' and `M-v' to `scroll-down-command'.
9163 * emulation/cua-rect.el (cua--init-rectangles):
9164 * forms.el (forms--change-commands):
9165 * image-mode.el (image-mode-map):
9166 Remap scroll-down-command and scroll-up-command
9167 in addition to scroll-down and scroll-up.
9169 2010-04-14 Juri Linkov <juri@jurta.org>
9171 * mwheel.el (scroll-preserve-screen-position-commands):
9172 Add mwheel-scroll to this list of commands.
9174 * simple.el (scroll-preserve-screen-position-commands):
9175 Add scroll-up-command, scroll-down-command, scroll-up-line,
9176 scroll-down-line to this list of commands.
9178 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9180 * obsolete/complete.el: Move from lisp/complete.el.
9182 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
9184 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
9185 to the minor mode function now turns the mode ON unconditionally.
9187 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9189 * vc-dir.el (vc-dir-kill-line): New command.
9190 (vc-dir-mode-map): Bind it to C-k.
9192 * bookmark.el (bookmark-insert-location): Handle a nil filename.
9194 * woman.el: Add bookmark declarations to silence the compiler.
9195 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
9196 step to compatibility between man and woman bookmarks.
9197 Adjust for Man-default-bookmark-title renaming.
9198 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
9200 * man.el: Add bookmark declarations to silence the compiler.
9201 (Man-name-local-regexp): Make it match NAME as well.
9202 (Man-getpage-in-background): Return the buffer.
9203 (Man-notify-when-ready): Use `case'.
9204 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
9205 Don't hardcode "NAME". Simplify.
9206 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
9207 Rename from Man-bookmark-make-record.
9208 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
9209 we have the actual man-args. Use Man-getpage-in-background rather
9210 than `man' since the arg is already processed. Let bookmark.el do the
9211 window handling. Only wait for the relevant process.
9212 Don't forget to autoload.
9214 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
9216 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9218 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
9220 (woman-mode): Setup bookmark support.
9222 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
9223 (man-bookmark-jump): New functions.
9224 (Man-mode): Setup bookmark support.
9226 2010-04-10 Jari Aalto <jari.aalto@cante.net>
9228 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
9229 recognize ssh-keygen prompt (Bug#2817).
9231 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
9233 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
9235 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
9237 Synchronize with Tramp repository.
9239 * net/tramp.el (tramp-completion-function-alist)
9240 (tramp-file-name-regexp, tramp-chunksize)
9241 (tramp-local-coding-commands, tramp-remote-coding-commands):
9243 (tramp-remote-process-environment): Use `format' instead of `concat'.
9244 (tramp-handle-directory-files-and-attributes)
9245 (tramp-get-remote-path): Use `copy-tree'.
9246 (tramp-handle-file-name-all-completions): Backward/ XEmacs
9247 compatibility: Use `completion-ignore-case' if
9248 `read-file-name-completion-ignore-case' does not exist.
9249 (tramp-do-copy-or-rename-file-directly): Do not use
9250 `tramp-handle-file-remote-p'.
9251 (tramp-do-copy-or-rename-file-out-of-band):
9252 Use `tramp-compat-delete-directory'.
9253 (tramp-do-copy-or-rename-file-out-of-band)
9254 (tramp-compute-multi-hops, tramp-maybe-open-connection):
9255 Use `format-spec-make'.
9256 (tramp-find-foreign-file-name-handler)
9257 (tramp-advice-make-auto-save-file-name)
9258 (tramp-set-auto-save-file-modes): Remove superfluous check for
9259 `stringp'. This is done inside `tramp-tramp-file-p'.
9260 (tramp-debug-outline-regexp): New defconst.
9261 (tramp-get-debug-buffer): Use it.
9262 (tramp-check-for-regexp): Use (forward-line 1).
9263 (tramp-set-auto-save-file-modes): Adapt version check.
9265 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
9266 Wrap call of `featurep' for 2nd argument.
9267 (tramp-compat-make-temp-file): Simplify fallback implementation.
9268 (tramp-compat-copy-tree): Remove function.
9269 (tramp-compat-delete-directory): Provide implementation for older
9272 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
9273 Do not use `tramp-fish-handle-file-attributes.
9275 * net/trampver.el: Update release number.
9277 2010-04-10 Glenn Morris <rgm@gnu.org>
9279 * progmodes/compile.el (compilation-save-buffers-predicate):
9280 Add missing :version tag.
9282 2010-04-09 Sam Steingold <sds@gnu.org>
9284 * progmodes/compile.el (compilation-save-buffers-predicate):
9285 Remove the "autoload" cookie.
9287 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
9288 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
9289 and `bug-reference-prog-mode' can be used in hooks directly.
9291 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
9293 Add --author support to git commit.
9294 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
9295 (vc-git-log-edit-mode): New minor mode.
9296 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
9299 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
9301 * vc-hooks.el, vc-git.el: Improve documentation comments.
9303 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9305 Fix some of the problems in defsubst* (bug#5728).
9306 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
9307 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
9309 2010-04-07 Sam Steingold <sds@gnu.org>
9311 * progmodes/compile.el (compilation-save-buffers-predicate):
9312 New custom variable.
9313 (compile, recompile): Pass it to `save-some-buffers'.
9315 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
9317 * wid-edit.el (widget-choose): Move cursor to the second line of
9318 the buffer (Bug#5695).
9320 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
9322 Add new VC methods: vc-log-incoming and vc-log-outgoing.
9323 * vc.el (vc-print-log-setup-buttons): New function split out from
9324 vc-print-log-internal.
9325 (vc-log-internal-common): New function, a parametrized version of
9326 vc-print-log-internal.
9327 (vc-print-log-internal): Just call vc-log-internal-common with the
9329 (vc-incoming-outgoing-internal):
9330 (vc-log-incoming, vc-log-outgoing): New functions.
9331 (vc-log-view-type): New permanent local variable.
9333 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
9335 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
9336 of the dynamic bound vc-short-log.
9337 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
9339 * vc-git.el (vc-git-log-outgoing): New function.
9340 (vc-git-log-view-mode): Use vc-log-view-type instead
9341 of the dynamic bound vc-short-log.
9343 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
9344 of the dynamic bound vc-short-log. Highlight the tag.
9345 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
9346 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
9347 (vc-hg-incoming-mode): Remove.
9348 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
9350 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
9352 Fix default-directory for vc-root-diff.
9353 * vc.el (vc-root-diff): Bind default-directory to the root
9354 directory for the diff command.
9356 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
9358 * progmodes/verilog-mode.el (verilog-forward-sexp):
9359 (verilog-calc-1): Support "disable fork" and "fork wait" multi
9360 word keywords, suggested by Steve Pearlmutter.
9361 (verilog-pretty-declarations): Support lineup of declarations in
9363 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
9364 fix bug for /* / comments.
9365 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
9366 Speed up and simplfy as this is never called with a bound.
9367 (verilog-pretty-declarations): Enhance to line up declarations
9368 inside a parameter list, suggested by Alan Morgan.
9369 (verilog-pretty-expr): Tune assignment regular expression match
9370 string for corner cases; also use markers instead of character
9371 number as indent changes the later.
9373 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
9375 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
9377 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
9378 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
9379 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
9380 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
9383 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
9384 1800-2009 keywords, including "global.".
9386 2010-04-06 John Wiegley <jwiegley@gmail.com>
9388 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
9389 appearing in buffer list (if a live buffer name matched a recentf
9390 file basename). Should use uniquify to offer a real solution.
9392 2010-04-06 John Wiegley <jwiegley@gmail.com>
9394 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
9395 comment to code, and add a :version tag.
9396 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
9398 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
9400 Enable recentf-mode if using virtual buffers.
9401 * ido.el (recentf-list): Declare for byte-compiler.
9402 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
9403 (ido-make-buffer-list): Simplify.
9404 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
9406 2010-04-05 Juri Linkov <juri@jurta.org>
9408 Scrolling commands which scroll a line instead of full screen.
9409 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
9411 * simple.el (scroll-up-line, scroll-down-line): New commands.
9412 Put property isearch-scroll=t on them.
9414 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
9417 2010-04-05 Juri Linkov <juri@jurta.org>
9419 Scrolling commands which do not signal errors at top/bottom.
9420 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
9422 * simple.el (scroll-up-command, scroll-down-command): New commands.
9423 Put property isearch-scroll=t on them.
9425 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
9426 `scroll-down-command' and [next] from `scroll-up' to
9427 `scroll-up-command'.
9429 * emulation/cua-base.el: Put property CUA=move on
9430 `scroll-up-command' and `scroll-down-command'.
9431 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
9432 and `scroll-down-command' to `cua-scroll-down'.
9434 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
9436 * help.el (describe-mode): Return nil.
9438 2010-04-04 John Wiegley <jwiegley@gmail.com>
9440 * ido.el (ido-use-virtual-buffers): New variable to indicate
9441 whether "virtual buffer" support is enabled for IDO.
9442 (ido-virtual): Face used to indicate virtual buffers in the list.
9443 (ido-buffer-internal): If a buffer is chosen, and no such buffer
9444 exists, but a virtual buffer of that name does (which would be why
9445 it was in the list), recreate the buffer by reopening the file.
9446 (ido-make-buffer-list): If virtual buffers are being used, call
9447 `ido-add-virtual-buffers-to-list' before the make list hook.
9448 (ido-virtual-buffers): New variable which contains a copy of the
9449 current contents of the `recentf-list', albeit pared down for the
9450 sake of speed, and with proper faces applied.
9451 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
9452 create a list of "virtual buffers" to present to the user in
9453 addition to the currently open set. Note that this logic could
9454 get rather slow if that list is too large. With the default
9455 `recentf-max-saved-items' of 200, there is little speed penalty.
9457 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
9459 * font-lock.el: Require CL when compiling.
9460 (font-lock-turn-on-thing-lock): Use `case'.
9462 2010-04-03 Eli Zaretskii <eliz@gnu.org>
9464 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
9467 2010-04-02 Juri Linkov <juri@jurta.org>
9469 * ehelp.el (electric-help-orig-major-mode):
9470 New buffer-local variable.
9471 (electric-help-mode): Set it to original major-mode. Doc fix.
9472 (with-electric-help): Use `electric-help-orig-major-mode' instead
9473 of (default-value 'major-mode). Doc fix.
9474 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
9476 2010-04-02 Sam Steingold <sds@gnu.org>
9478 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
9479 `vc-hg-command' with a list of flags.
9481 * progmodes/bug-reference.el (bug-reference-bug-regexp):
9482 Also accept "patch" and "RFE".
9483 (bug-reference-fontify): `bug-reference-url-format' can also be a
9484 function to be able to handle the bug kind.
9485 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
9487 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
9489 * tmm.el (tmm-get-keymap): Check with symbolp before passing
9490 value to fboundp, it may not be a symbol.
9492 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9494 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
9496 2010-03-31 Juri Linkov <juri@jurta.org>
9498 * simple.el (next-line, previous-line): Re-throw a signal
9499 with `signal' instead of using `ding'.
9500 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
9502 2010-03-31 Juri Linkov <juri@jurta.org>
9504 * simple.el (keyboard-escape-quit): Raise deselecting the active
9505 region higher than exiting the minibuffer.
9506 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
9508 2010-03-31 Juri Linkov <juri@jurta.org>
9510 * image.el (image-animated-p): Use `image-metadata' instead of
9511 `image-extension-data'. Get GIF extenstion data from metadata
9512 property `extension-data'.
9514 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9516 * simple.el (append-to-buffer): Simplify.
9518 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
9520 * textmodes/artist.el (artist-mode): Fix typo in docstring.
9521 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
9523 2010-03-31 Kenichi Handa <handa@m17n.org>
9525 * language/sinhala.el (composition-function-table): Fix regexp for
9526 the new Unicode specification.
9528 * language/indian.el (devanagari-composable-pattern)
9529 (tamil-composable-pattern, kannada-composable-pattern)
9530 (malayalam-composable-pattern): Adjust for the new Unicode
9532 (bengali-composable-pattern, gurmukhi-composable-pattern)
9533 (gujarati-composable-pattern, oriya-composable-pattern)
9534 (telugu-composable-pattern): New variables to cope with the new
9535 Unicode specification. Use them in composition-function-table.
9537 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9539 Make tmm-menubar work for the Buffers menu again (bug#5726).
9540 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
9541 vectors rather than cons cells, as used in menu-bar-update-buffers.
9543 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9545 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
9546 (js-insert-and-indent): Revert 2009-08-15 change, restoring
9547 electric punctuation for "{}();,:" (Bug#5586).
9549 * mail/sendmail.el (mail-default-directory): Doc fix.
9551 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9553 * mail/sendmail.el (mail-default-directory): Doc fix.
9555 2010-03-31 Eli Zaretskii <eliz@gnu.org>
9557 * subr.el (version-regexp-alist, version-to-list)
9558 (version-list-<, version-list-=, version-list-<=)
9559 (version-list-not-zero, version<, version<=, version=): Doc fix.
9562 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
9564 * vc.el (vc-root-diff): Doc fix.
9566 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9568 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
9570 * simple.el (append-to-buffer): Fix last change.
9572 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9574 * simple.el (append-to-buffer): Ensure that point is preserved if
9575 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
9578 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9580 * files.el (auto-mode-case-fold): Change default to t.
9582 2010-03-30 Juri Linkov <juri@jurta.org>
9584 * dired-x.el (dired-omit-mode): Doc fix.
9586 2010-03-30 Juri Linkov <juri@jurta.org>
9588 * replace.el (occur-accumulate-lines): Move occur-engine related
9589 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
9590 to be located after `occur-engine'.
9592 2010-03-30 Juri Linkov <juri@jurta.org>
9594 Make occur handle multi-line matches cleanly with context.
9595 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
9597 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
9598 (occur-engine): Add local variables `ret', `prev-after-lines',
9599 `prev-lines'. Use more arguments for `occur-context-lines'.
9600 Set first elem of its returned list to `data', and the second elem
9601 to `prev-after-lines'. Don't print the separator line.
9602 In the end, print remaining context after-lines.
9603 (occur-context-lines): Add new arguments `begpt', `endpt',
9604 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
9605 after-lines of the previous match with before-lines of the
9606 current match and not overlap them. Return a list with two
9607 values: the output line and the list of context after-lines.
9609 2010-03-30 Juri Linkov <juri@jurta.org>
9611 * replace.el (occur-accumulate-lines): Fix a bug where the first
9612 context line at the beginning of the buffer was missing.
9614 2010-03-30 Eli Zaretskii <eliz@gnu.org>
9616 * files.el: Make bidi-display-reordering safe variable for boolean
9619 2010-03-29 Phil Hagelberg <phil@evri.com>
9620 Chong Yidong <cyd@stupidchicken.com>
9622 * subr.el: Extend progress reporters to perform "spinning".
9623 (progress-reporter-update, progress-reporter-do-update):
9624 Handle non-numeric value arguments.
9625 (progress-reporter--pulse-characters): New var.
9627 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
9629 * progmodes/compile.el (compilation-start): Fix regexp detection
9630 of initial cd command (Bug#5771).
9632 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
9634 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
9636 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
9638 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
9639 * progmodes/gdb-mi.el: Restore.
9640 * progmodes/gdb-ui.el: Remove.
9641 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
9643 2010-03-25 Glenn Morris <rgm@gnu.org>
9645 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
9646 all dired buffers, even tramp ones. (Bug#5755)
9648 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9650 Add "union tags" in mpc.el.
9651 * mpc.el: Remove backward compatibility code.
9652 (mpc-browser-tags): Change default.
9653 (mpc--find-memoize-union-tags): New var.
9654 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
9655 (mpc-cmd-find): Handle the case where the playlist does not exist.
9657 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
9658 (mpc-cmd-add): Use mpc-cmd-flush.
9659 (mpc-tagbrowser-tag-name): New fun.
9660 (mpc-tagbrowser-buf): Use it.
9661 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
9663 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
9666 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
9667 Use replace-regexp-in-string.
9668 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
9669 (makefile-imake-mode-syntax-table): Move init into defvar.
9670 (makefile-mode): Use define-derived-mode.
9672 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
9673 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
9674 not be present any more.
9676 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
9678 * faces.el (set-face-attribute): Fix typo in docstring.
9679 (face-valid-attribute-values): Reflow docstring.
9681 2010-03-24 Glenn Morris <rgm@gnu.org>
9683 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
9685 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
9687 * indent.el (indent-for-tab-command): Doc fix.
9689 2010-03-24 Alan Mackenzie <acm@muc.de>
9691 * progmodes/cc-engine.el (c-remove-stale-state-cache):
9692 Fix off-by-one error. Fixes bug #5747.
9694 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
9696 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
9697 (image-dired-read-comment): Doc fix.
9699 * json.el (json-object-type, json-array-type, json-key-type)
9700 (json-false, json-null, json-read-number):
9701 * minibuffer.el (completion-in-region-functions):
9702 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
9703 (cal-tex-cursor-week):
9704 * emacs-lisp/trace.el (trace-function):
9705 * eshell/em-basic.el (eshell/printnl):
9706 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
9707 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
9708 * obsolete/levents.el (allocate-event, event-key, event-object)
9709 (event-point, event-process, event-timestamp, event-to-character)
9710 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
9711 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
9712 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
9713 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
9714 (reftex-highlight-selection): Fix typos in docstrings.
9716 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
9718 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
9720 2010-03-24 Glenn Morris <rgm@gnu.org>
9722 * mail/rmail.el (rmail-highlight-face): Restore option deleted
9723 2008-02-13 without comment; mark it obsolete.
9724 (rmail-highlight-headers): Use rmail-highlight-face once more.
9726 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
9728 * woman.el (woman2-process-escapes): Only consume the newline if
9729 the filler character is on a line by itself (Bug#5729).
9731 2010-03-24 Kenichi Handa <handa@m17n.org>
9733 * language/indian.el (devanagari-composable-pattern): Add more
9736 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
9738 * net/trampver.el: Update release number.
9740 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
9742 * net/tramp.el (tramp-find-executable):
9743 Use `tramp-get-connection-buffer'. Make the regexp for checking
9744 output of "wc -l" more robust.
9745 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
9746 (tramp-open-connection-setup-interactive-shell): Remove workaround
9747 for OpenSolaris bug, it is not needed anymore.
9749 2010-03-24 Glenn Morris <rgm@gnu.org>
9751 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
9753 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
9755 * files.el (auto-mode-alist): Accept more verilog file patterns.
9757 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
9759 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
9761 2010-03-24 Glenn Morris <rgm@gnu.org>
9763 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
9764 log-edit-before-checkin-process.
9766 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
9768 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
9770 * vc-dispatcher.el (vc-start-logentry): Doc fix.
9771 (log-view-process-buffer, log-edit-extra-flags): Declare.
9773 * log-edit.el (log-edit-before-checkin-process): Doc fix.
9775 2010-03-23 Sam Steingold <sds@gnu.org>
9777 Fix bug#5620: recalculate all markers on compilation buffer
9778 modifications, not on file modifications.
9779 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
9780 variable: the buffer modification time, for buffers not associated with
9782 (compilation-mode): Create it.
9783 (compilation-filter): Update it.
9784 (compilation-next-error-function): Use it instead of
9785 `visited-file-modtime' for timestamp.
9787 2010-03-23 Juri Linkov <juri@jurta.org>
9789 Implement Occur multi-line matches.
9790 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
9792 * replace.el (occur): Doc fix.
9793 (occur-engine): Set `begpt' to the beginning of the first line.
9794 Set `endpt' to the end of the last match line. At first, count
9795 line numbers between `origpt' and `begpt'. Split out code from
9796 `out-line' variable to new let-bindings `match-prefix' and
9797 `match-str'. In `out-line' add non-numeric prefix to all
9798 non-first lines of multi-line matches. Finally, count lines
9799 between `begpt' and `endpt' and add to `lines'.
9801 2010-03-23 Juri Linkov <juri@jurta.org>
9803 * replace.el (occur-accumulate-lines, occur-engine):
9804 Use `occur-engine-line' instead of duplicate code.
9805 (occur-engine-line): New function created from duplicate code
9806 in `occur-accumulate-lines' and `occur-engine'.
9808 * replace.el (occur-engine-line): Add optional arg `keep-props'.
9809 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
9811 2010-03-23 Juri Linkov <juri@jurta.org>
9813 * finder.el: Remove TODO tasks.
9815 * info.el (Info-finder-find-node): Add node "all"
9816 with all package info. Handle a list of multiple keywords
9818 (info-finder): In interactive use with a prefix argument,
9819 use `completing-read-multiple' to read a list of keywords
9822 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9824 Add a new completion style `substring'.
9825 * minibuffer.el (completion-basic--pattern): New function.
9826 (completion-basic-try-completion, completion-basic-all-completions):
9828 (completion-substring--all-completions)
9829 (completion-substring-try-completion)
9830 (completion-substring-all-completions): New functions.
9831 (completion-styles-alist): New style `substring'.
9833 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
9835 Get rid of .elc files after removal of the corresponding .el.
9836 * Makefile.in (compile-clean): New target.
9837 (compile-main): Use it.
9839 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
9841 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
9842 don't do make there. When compiling with separate object dir, there
9843 is no Makefile there.
9845 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
9847 Get rid of the ELCFILES abomination, again.
9848 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
9849 (all, compile): Don't call compile-last.
9850 (compile-main): Build the "elcfiles" list dynamically.
9851 (compile-targets): New (internal) target.
9853 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
9855 * Makefile.in (top_srcdir): Define.
9856 (abs_top_builddir): Define.
9857 (srcdir): Don't append `/..'.
9858 (EMACS): Use ${abs_top_builddir}.
9859 (all, compile, compile-always, compile-last): Don't set emacswd.
9860 (update-subdirs, update-authors): Use $(top_srcdir) instead of
9862 (lisp): Use $(srcdir) instead of @srcdir@.
9864 2010-03-21 Juri Linkov <juri@jurta.org>
9866 Fix message of multi-line occur regexps and multi-buffer header lines.
9867 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
9869 * replace.el (occur-1): Don't display regexp if it is longer
9870 than window-width. Use `query-replace-descr' to display regexp.
9871 (occur-engine): Don't display regexp in the buffer header for
9872 multi-buffer occur. Display a separate header line with total
9873 match count and regexp for multi-buffer occur.
9874 Use `query-replace-descr' to display regexp.
9876 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
9878 * net/secrets.el: Fix parenthesis.
9879 (secrets-enabled): Fix parenthesis.
9881 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9883 Use more relative file and directory names.
9884 * Makefile.in (EMACS): Arrange for it to work when we chdir.
9885 (setwins, setwins_almost, setwins_for_subdirs):
9886 Don't `cd'; output relative names.
9887 (all, compile, compile-always, compile-last): Set emacswd.
9888 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
9889 Just cd to the lisp source dir so we can use relative file names.
9891 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
9893 2010-03-20 Glenn Morris <rgm@gnu.org>
9895 * textmodes/rst.el: Use faces for font-lock customization, and make the
9896 old -face variables obsolete.
9897 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
9898 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
9899 (rst-block-face, rst-external-face, rst-definition-face)
9900 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
9901 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
9903 (rst-font-lock-keywords-function): Update for above changes.
9905 2010-03-20 Juri Linkov <juri@jurta.org>
9908 * obsolete/s-region.el: Move to obsolete.
9910 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
9912 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
9914 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
9916 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
9918 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
9920 Add special markup processing for commit logs.
9921 * log-edit.el (log-edit-extra-flags): New variable.
9922 (log-edit): Add new argument MODE. Use that mode when non-nil
9923 instead of the log-view-mode.
9924 (log-view-process-buffer): New function.
9926 * vc.el: Document that the checkin method takes optional
9927 arguments. Document new backend specific method: log-view-mode.
9928 (vc-default-log-edit-mode): New function.
9929 (vc-checkin): Use a backend specific log-view-mode.
9930 Pass extra arguments to the checkin method.
9931 (vc-modify-change-comment): Pass a dummy extra argument.
9933 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
9935 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
9936 (vc-finish-logentry): Process the log buffer before passing it
9937 down. Pass log-edit-extra-flags.
9939 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
9941 (log-edit-extra-flags, log-edit-before-checkin-process):
9944 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
9946 (log-edit-extra-flags, log-edit-before-checkin-process):
9948 (vc-hg-log-edit-mode): New derived mode.
9950 * vc-arch.el (vc-arch-checkin):
9951 * vc-cvs.el (vc-cvs-checkin):
9952 * vc-git.el (vc-git-checkin):
9953 * vc-mtn.el (vc-mtn-checkin):
9954 * vc-rcs.el (vc-rcs-checkin):
9955 * vc-sccs.el (vc-sccs-checkin):
9956 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
9958 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9960 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
9963 2010-03-19 Glenn Morris <rgm@gnu.org>
9965 * password-cache.el (password-cache, password-cache-expiry): Autoload.
9967 2010-03-18 Glenn Morris <rgm@gnu.org>
9969 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
9971 * replace.el (query-replace-history): Give it a doc string.
9972 (map-query-replace-regexp): Use query-replace-from-history-variable
9973 and query-replace-to-history-variable.
9975 * mail/hashcash.el (declare-function): Remove duplicate definition.
9977 * mail/emacsbug.el (report-emacs-bug-pretest-address):
9978 Make it an obsolete alias for report-emacs-bug-address.
9979 (message-strip-special-text-properties): Declare.
9980 (report-emacs-bug): Remove test for a pretest bug address.
9981 Combine message-mode-specific code.
9983 * mail/supercite.el: Don't require sendmail.
9984 (mh-in-header-p): Declare rather than using with-no-warnings.
9985 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
9986 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
9988 * calendar/cal-french.el: Convert to utf-8.
9990 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
9993 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
9995 * net/secrets.el (secrets-enabled): New variable. Use it instead
9998 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
10000 * net/secrets.el (top): Register the D-Bus signals only when the
10001 service "org.freedesktop.secrets" can be pinged.
10002 Provide subfeature `enabled'.
10004 2010-03-14 Juri Linkov <juri@jurta.org>
10006 Add finder unknown keywords.
10008 * finder.el (finder-unknown-keywords): New function.
10010 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
10011 to create a Finder node with unknown keywords.
10013 2010-03-14 Juri Linkov <juri@jurta.org>
10015 * finder.el (finder-compile-keywords): Replace `princ' with
10016 `prin1' on a list of symbols interned from keyword strings.
10018 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
10019 a comma, then split keywords using a comma and optional whitespace.
10020 Otherwise, split by whitespace.
10028 * progmodes/mixal-mode.el: Fix keywords.
10030 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
10032 * Makefile.in (ELCFILES): Add net/secrets.elc.
10034 * net/secrets.el: New file.
10036 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10038 * facemenu.el (list-colors-display, list-colors-print): New arg
10039 callback. Use it to allow selecting colors.
10041 * wid-edit.el (widget-image-insert): Insert image prop even if the
10042 current display is non-graphic.
10043 (widget-field-value-set): New fun.
10044 (editable-field): Use it.
10045 (widget-field-value-get): Clean up unused var.
10046 (widget-color-value-create, widget-color--choose-action):
10047 New funs. Allow using list-colors-display to choose color.
10049 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10051 * cus-edit.el: Resort topmost custom groups.
10052 (custom-buffer-sort-alphabetically): Default to t.
10053 (customize-apropos): Use apropos-parse-pattern.
10054 (custom-search-field): New var.
10055 (custom-buffer-create-internal): Add custom-apropos search field.
10056 (custom-add-parent-links): Don't display parent doc.
10057 (custom-group-value-create): Don't sort top-level custom group.
10058 (custom-magic-value-create): Show visibility button before option name.
10060 (custom-variable-state): New fun, from custom-variable-state-set.
10061 (custom-variable-state-set): Use it.
10062 (custom-group-value-create): Hide options with standard values
10063 using the :hidden-states property. Use progress reporter.
10065 (custom-show): Simplify.
10066 (custom-visibility): Disable images by default.
10067 (custom-variable): New property :hidden-states.
10068 (custom-variable-value-create): Enable images for
10069 custom-visibility widgets. Use :hidden-states property to
10070 determine initial visibility.
10072 * wid-edit.el (widget-image-find): Give images center ascent.
10073 (visibility): Add :on-image and :off-image properties.
10074 (widget-visibility-value-create): Use them.
10076 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10078 * cus-edit.el (processes): Remove from development group.
10079 (oop, hypermedia): Delete group.
10080 (comm): Promote to top-level group.
10082 * net/browse-url.el (browse-url):
10083 * net/xesam.el (xesam):
10084 * net/tramp.el (tramp):
10085 * net/goto-addr.el (goto-address):
10086 * net/ange-ftp.el (ange-ftp): Put in comm group.
10088 * view.el (view): Remove from editing group.
10090 * uniquify.el (uniquify): Put in files group.
10092 * net/browse-url.el (browse-url):
10093 * ps-print.el (postscript): Put in external group.
10095 * cus-edit.el (outlines):
10096 * textmodes/text-mode.el (text-mode-hook):
10097 * textmodes/table.el (table):
10098 * textmodes/picture.el (picture):
10099 * outline.el (outlines): Put in wp group.
10101 * nxml/nxml-mode.el (nxml): Remove from wp group.
10103 * net/tramp-imap.el (tramp-imap): Put in tramp group.
10105 * mail/metamail.el (metamail): Remove from hypermedia group.
10107 * cus-edit.el (abbrev):
10108 * whitespace.el (whitespace):
10109 * vcursor.el (vcursor):
10110 * reveal.el (reveal):
10111 * hl-line.el (hl-line): Put in convenience group.
10113 * epg-config.el (epg): Put in data group.
10115 * emulation/pc-select.el (pc-select): Put in emulations group.
10117 * calculator.el (calculator): Put in applications group.
10119 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
10121 Add .dir-locals.el support for file-less buffers.
10122 * files.el (hack-local-variables): Split out code to apply local
10123 variable settings ...
10124 (hack-local-variables-apply): ... here. New function.
10125 (hack-dir-local-variables): Use the default directory for when the
10126 buffer does not have an associated file.
10127 (hack-dir-local-variables-non-file-buffer): New function.
10128 * diff-mode.el (diff-mode):
10129 * vc-annotate.el (vc-annotate-mode):
10130 * vc-dir.el (vc-dir-mode):
10131 * log-edit.el (log-edit-mode):
10132 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
10134 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
10136 Add support for shelving snapshots and for showing shelves.
10137 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
10138 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
10140 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
10141 (vc-bzr-extra-menu-map): Map them.
10143 2010-03-11 Glenn Morris <rgm@gnu.org>
10145 * cus-edit.el (customize-changed-options-previous-release):
10148 * image.el (image-animate-max-time): Fix :version tag.
10150 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
10154 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
10156 * vc-git.el (vc-git-revision-table): Include remote branches.
10158 2010-03-10 Kim F. Storm <storm@cua.dk>
10160 Animated image API.
10161 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
10163 * image.el (image-animate-max-time): New defcustom.
10164 (image-animated-types): New defconst.
10165 (create-animated-image, image-animate-timer)
10166 (image-animate-start, image-animate-stop, image-animate-timeout)
10167 (image-animated-p): New functions.
10169 * image-mode.el (image-toggle-display-image):
10170 Replace `create-image' with `create-animated-image'.
10172 2010-03-09 Miles Bader <miles@gnu.org>
10174 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
10175 instead of "format:"; this ensures that the output is
10176 newline-terminated.
10178 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
10180 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
10181 that all errors are caught, and that the return value is always a
10184 2010-03-08 Kenichi Handa <handa@m17n.org>
10186 * language/misc-lang.el (windows-1256): New coding system.
10187 (cp1256): New alias of windows-1256 (bug#5690).
10189 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
10191 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
10192 call to rfc822-bad-address. (Bug#5692)
10194 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
10196 * vc-git.el (vc-git-annotate-extract-revision-at-line):
10197 Use vc-git-root as default directory for revision path (Bug#5657).
10199 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
10201 * calculator.el (calculator): Don't bind split-window-keep-point
10204 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
10206 * vc-git.el: Re-flow to fit into 80 columns.
10207 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
10208 Remove spurious `quote' element in each case alternative.
10209 (vc-git-show-log-entry): Use prog1.
10210 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
10212 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
10214 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
10216 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
10218 * macros.el (insert-kbd-macro): Look up keyboard macro using the
10219 definition, not the name (Bug#5481).
10221 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
10223 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
10224 argument with a local variable. (Bug#5670)
10226 2010-03-02 Juri Linkov <juri@jurta.org>
10228 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
10230 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
10232 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
10233 error when FILENAME and NEWNAME are existing remote directories.
10235 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
10236 parameter DIR-FLAG.
10238 2010-03-02 Glenn Morris <rgm@gnu.org>
10240 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
10241 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
10243 2010-03-01 Kenichi Handa <handa@m17n.org>
10245 * language/burmese.el (burmese-composable-pattern): Rename from
10246 myanmar-composable-pattern.
10248 * international/characters.el (script-list):
10249 * international/fontset.el (script-representative-chars):
10250 Change myanmar to burmese.
10251 (otf-script-alist): Likewise.
10252 (setup-default-fontset): Likewise. Re-fix :otf spec.
10254 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
10256 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
10258 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
10260 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
10262 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
10264 * net/tramp.el (tramp-handle-write-region): START can be a string.
10265 Take care in the checks. Reported by Dan Davison
10266 <davison@stats.ox.ac.uk>.
10268 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
10270 * net/dbus.el (dbus-introspect, dbus-get-property)
10271 (dbus-set-property, dbus-get-all-properties):
10272 Use `dbus-call-method' when noninteractive. (Bug#5645)
10274 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
10276 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
10277 * emacs-lisp/elint.el (elint-add-required-env):
10278 * calendar/icalendar.el (icalendar--add-diary-entry):
10279 * calc/calcalg2.el (math-tracing-integral):
10280 * files.el (recover-session-finish): Use with-current-buffer
10281 instead of save-excursion.
10283 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
10285 Fix in-buffer completion when after-change-functions modify the buffer.
10286 * minibuffer.el (completion--replace): New function.
10287 (completion--do-completion): Use it and use relative movement.
10289 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
10291 * international/fontset.el (setup-default-fontset): Fix :otf spec.
10293 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
10295 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
10296 Allow the characters _<> in the stack entry (Bug#5653).
10298 2010-02-26 Kenichi Handa <handa@m17n.org>
10300 * language/burmese.el: Fix entries in composition-function-table.
10301 (myanmar-composable-pattern): New variable.
10303 * international/fontset.el (setup-default-fontset): Add an entry
10306 * international/characters.el (script-list): Add Myanmar
10309 2010-02-26 Glenn Morris <rgm@gnu.org>
10311 * custom.el (custom-initialize-delay): Doc fix.
10313 * mail/sendmail.el (send-mail-function): Autoload the call
10314 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
10316 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
10318 * files.el (hack-local-variables-filter): For eval forms, also
10319 check safe-local-variable-p (Bug#5636).
10321 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
10323 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
10324 setting the modes by `ignore-errors'. It might fail, for example
10325 if the file is not owned by the user but the group.
10326 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
10328 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
10330 * files.el (directory-listing-before-filename-regexp):
10331 Use stricter matching for iso-style dates, to avoid false matches with
10332 date-like filenames (Bug#5597).
10334 * htmlfontify.el (htmlfontify): Doc fix.
10336 * eshell/eshell.el (eshell): Doc fix.
10338 * startup.el (fancy-about-screen): In mode-line, apply
10339 mode-line-buffer-id face only to the buffer name (Bug#5613).
10341 2010-02-20 Kevin Ryde <user42@zip.com.au>
10343 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10344 In `watcom' anchor regexp to start of line, to avoid slowness
10347 2010-02-20 Eli Zaretskii <eliz@gnu.org>
10349 * subr.el (remove-yank-excluded-properties): Explain in a comment
10350 why `category' property is removed.
10352 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
10354 * isearch.el (isearch-update-post-hook, isearch-update):
10355 Revert 2010-02-17 change.
10357 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
10359 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
10360 (icalendar--convert-weekly-to-ical)
10361 (icalendar--convert-yearly-to-ical)
10362 (icalendar--convert-block-to-ical)
10363 (icalendar--convert-cyclic-to-ical)
10364 (icalendar--convert-anniversary-to-ical): Take care of time
10365 specifications where hour has 1-digit only (Bug#5549).
10367 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
10369 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
10370 of disassemble output in GDB 7.1.
10372 2010-02-19 Glenn Morris <rgm@gnu.org>
10374 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
10375 property. (Bug#5593)
10377 2010-02-18 Sam Steingold <sds@gnu.org>
10379 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
10381 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
10383 Use abbreviated file names in bookmarks (bug#5591).
10384 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
10385 calls to expand-file-name.
10386 (bookmark-relocate): Use abbreviated file names in bookmarks.
10387 (bookmark-load): Use abbreviated file names in messages.
10389 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
10391 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
10392 expand "." and "..". Reported by Thierry Volpiatto
10393 <thierry.volpiatto@gmail.com>.
10395 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
10397 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
10398 permissions of the temporary file to "0600". In case the remote
10399 file has no read permissions for the owner, there might be
10400 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
10402 22010-02-18 Glenn Morris <rgm@gnu.org>
10404 * emacs-lisp/authors.el (authors-renamed-files-alist):
10405 Add entries for INSTALL.CVS.
10407 2010-02-17 Mark A. Hershberger <mah@everybody.org>
10409 * vc-bzr.el: Fix typo in Known Bugs section.
10411 * isearch.el (isearch-update-post-hook): New hook.
10412 (isearch-update): Use the new hook.
10414 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
10416 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
10417 Fix errors in copying directories.
10418 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
10419 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
10420 (tramp-handle-delete-file)
10421 (tramp-handle-dired-recursive-delete-directory)
10422 (tramp-handle-write-region): Flush also the cache for the upper
10425 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
10427 * simple.el (save-interprogram-paste-before-kill): Doc fix.
10429 * cus-edit.el (hardware): Doc fix.
10431 * man.el (man): Add to external custom group.
10433 * delim-col.el (columns): Move to wp custom group.
10435 * doc-view.el (doc-view): Add to data custom group.
10437 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
10439 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
10440 by ispell-parse-output (Bug#5575).
10442 2010-02-16 Kenichi Handa <handa@m17n.org>
10444 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
10445 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
10446 (skkdic-convert): Use `euc-japan' coding system for writing.
10448 2010-02-16 Glenn Morris <rgm@gnu.org>
10450 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
10451 tex-main-file before using it. (Bug#5562)
10453 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
10455 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
10456 warnings, since it is annoying for the user to see them each time he
10459 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
10461 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
10462 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
10463 instead of PROC for caching "first-password-request". Otherwise,
10464 new processes would not profit from passwords already entered.
10466 * net/tramp-cache.el (tramp-dump-connection-properties):
10467 Don't save "first-password-request" property.
10469 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
10471 * outline.el (outline-head-from-level):
10472 * simple.el (with-wrapper-hook):
10473 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
10474 (elint-defun, elint-buffer-env, elint-top-form-logged)
10475 (elint-unbound-variable):
10476 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
10477 Fix typos in docstrings.
10479 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
10481 * files.el (insert-directory): When WILDCARD-REGEXP and
10482 FULL-DIRECTORY-P are nil, insert the file entry instead of the
10483 whole directory. (Bug#5551)
10485 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
10486 dired's alignment sanity. (Bug#5516)
10488 2010-02-14 Juri Linkov <juri@jurta.org>
10490 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
10491 Remove remaining ^H with their preceding chars. (Bug#5566)
10493 2010-02-13 Glenn Morris <rgm@gnu.org>
10495 * simple.el (transpose-subr): Give it a doc-string.
10497 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
10500 2010-02-12 Juri Linkov <juri@jurta.org>
10502 * arc-mode.el (archive-unique-fname): Make directories for nested
10503 archives. (Bug#5540)
10505 2010-02-12 Juri Linkov <juri@jurta.org>
10507 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
10509 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
10511 * subr.el (copy-overlay): Handle deleted overlays.
10513 * man.el (Man-completion-table): Don't signal an error if we can't run
10514 manual-program (bug#4056).
10516 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
10518 * textmodes/artist.el (artist-mt): Fix typos in docstring.
10520 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10522 * info.el (Info-bookmark-jump): Simplify.
10524 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
10525 (bookmark-default-handler): Accept new bookmark field `buffer'.
10527 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
10529 * iswitchb.el (iswitchb-completions): Revert last change.
10531 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
10533 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
10534 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
10535 This prevents file names like "~/" being listed literally.
10537 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
10539 * term/xterm.el (xterm-maybe-set-dark-background-mode):
10540 Remove dead code. (Bug#5546)
10542 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
10544 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
10545 correctly (Bug#5548).
10547 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
10549 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
10550 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
10552 2010-02-08 Kenichi Handa <handa@m17n.org>
10554 * international/mule-util.el (with-coding-priority): Add autoload
10555 cookie for putting `lisp-indent-function'.
10557 2010-02-07 Glenn Morris <rgm@gnu.org>
10559 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
10560 Move F2003 named interfaces from keywords-2 to keywords-1, and
10561 use function-name-face rather than constant-face.
10562 Simplify "abstract interface" regexp.
10564 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
10566 * eshell/esh-util.el (eshell-file-attributes): New optional arg
10567 ID-FORMAT. Pass it to `file-attributes'.
10569 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
10571 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
10573 * faces.el (set-face-attribute): Allow calling
10574 internal-set-lisp-face-attribute with 'unspecified family and
10575 foundry argument (Bug#5536).
10577 2010-02-07 Glenn Morris <rgm@gnu.org>
10579 * progmodes/f90.el (f90-font-lock-keywords-2)
10580 (f90-looking-at-type-like, f90-looking-at-program-block-end):
10581 Handle F2003 named interfaces.
10583 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
10585 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
10586 beg and end before calling c-get-state-before-change-functions.
10588 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
10590 * vc-bzr.el (vc-bzr-dir-extra-headers):
10591 Disable the pending merges header.
10593 2010-02-05 Juri Linkov <juri@jurta.org>
10595 * doc-view.el (doc-view-mode):
10596 * image-mode.el (image-mode): Put property mode-class=special.
10599 2010-02-05 Mark A. Hershberger <mah@everybody.org>
10601 * vc-svn.el (vc-svn-revision-table): New function.
10603 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
10605 * net/ange-ftp.el (ange-ftp-insert-directory):
10606 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
10607 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
10608 Handle also directories. (Bug#5478)
10610 2010-02-05 Glenn Morris <rgm@gnu.org>
10612 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
10614 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
10616 * startup.el (command-line-1): Convert options beginning with a
10617 single dash as well (Bug#5519).
10619 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
10621 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
10622 * minibuffer.el (completion-initials-expand): Only check the presence
10623 of delims *within* the boundaries, since otherwise the / delim is
10624 always found for files.
10626 Fix up various corner case problems.
10627 * doc-view.el (doc-view-last-page-number): New function.
10628 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
10629 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
10630 (doc-view-kill-proc): Avoid inf-loop in freak cases.
10631 (doc-view-reconvert-doc): Use the new recursive delete-directory.
10632 (doc-view-convert-current-doc): Don't create the resolution.el file
10634 (doc-view-pdf/ps->png): Do it here instead.
10635 (doc-view-already-converted-p): Check that resolution.el is present.
10636 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
10637 windows that are not yet showing images.
10639 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
10641 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
10642 `dired-uncache' for every elemnt which is an absolute file name.
10644 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
10645 directory, handle its directory component.
10646 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
10647 function is called permanently and creates noise, otherwise.
10649 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
10650 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
10651 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
10653 2010-02-04 David Burger <dburger@google.com> (tiny change)
10655 * macros.el (apply-macro-to-region-lines):
10656 Minor simplification. (Bug#5485)
10658 2010-02-04 Glenn Morris <rgm@gnu.org>
10660 * mail/rmail.el (rmail-show-message-1): Handle malformed
10661 quoted-printable text. (Bug#5441)
10663 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
10665 * simple.el (visual-line-mode): Capitalize lighter.
10667 2010-02-03 John Wiegley <jwiegley@gmail.com>
10669 * iswitchb.el (iswitchb-completions): Add bookmark files to the
10670 list of files considered for "virtual buffer" completions.
10672 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
10674 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
10675 also in case of (and (not full) (not wildcard)). This is needed
10676 when dired is called with a list of files, which are not in
10677 `default-directory'. (Bug#5478)
10679 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
10681 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
10683 2010-02-02 Juri Linkov <juri@jurta.org>
10685 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
10686 from unidiff to allow function-line after @@.
10688 2010-02-02 Juri Linkov <juri@jurta.org>
10690 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
10691 '(RCS SCCS) with inverted condition.
10693 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
10695 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
10698 2010-02-01 Juri Linkov <juri@jurta.org>
10700 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
10701 compare with "pkunzip" and "pkzip" instead of only "pkzip".
10702 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
10703 only when (car archive-zip-extract) is "unzip". (Bug#5475)
10705 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
10707 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
10708 (doc-view-revert-buffer): New command.
10709 (doc-view-mode-map): Use it.
10711 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
10713 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
10714 pending merge is detected.
10716 2010-01-31 Juri Linkov <juri@jurta.org>
10718 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
10719 beginning of interactive spec like all other grep commands do.
10720 Put "all" in front of "gz". (Bug#5260)
10722 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
10724 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
10726 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
10728 * dirtrack.el (dirtrack): Warn instead of signalling error if the
10729 regexp is incorrect (Bug#5476).
10731 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
10733 * net/tramp.el (tramp-handle-insert-directory): Handle also
10734 symlinks, when FILENAME is not in `default-directory'.
10736 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
10738 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
10739 FILE is not in `default-directory'. (Bug#5478)
10741 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
10742 of SWITCHES. Handle the case, FILENAME is not in
10743 `default-directory'. (Bug#5478)
10744 (tramp-register-file-name-handlers): Add safe-magic property.
10746 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
10748 * arc-mode.el (archive-zip-extract): Quote the argument passed to
10751 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
10753 * progmodes/flymake.el (flymake-allowed-file-name-masks)
10754 (flymake-master-make-header-init): Add other C++ filename masks.
10755 (flymake-find-possible-master-files)
10756 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
10758 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
10760 Fix some busybox annoyances.
10762 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
10763 not responding." string.
10764 (tramp-open-connection-setup-interactive-shell): Dump stty
10765 settings. Enable "neveropen" arg for all `tramp-send-command'
10766 calls. Handle "=" in variable values properly.
10767 (tramp-find-inline-encoding): Raise an error, when no encoding is
10769 (tramp-wait-for-output): Check, whether PROC buffer is available.
10770 Remove spurious " ^H" sequences, sent by busybox.
10771 (tramp-get-ls-command): Suppress coloring, if possible.
10773 2010-01-28 Glenn Morris <rgm@gnu.org>
10775 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
10777 * log-edit.el (log-edit-strip-single-file-name): Add missing
10778 :safe, :group, and :version tags.
10780 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
10782 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
10783 buffers. (Bug#5477)
10785 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
10787 * files.el (delete-directory): Handle moving to trash without
10788 first doing recursion (Bug#5436).
10790 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
10792 * vc-hooks.el (vc-path): Mark as obsolete.
10794 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
10796 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
10799 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
10801 (vc-bzr-log-view-mode): Adjust regexp for the above change.
10803 2010-01-25 Mark A. Hershberger <mah@everybody.org>
10805 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
10807 * vc-bzr.el (vc-bzr-revision-table): New function.
10809 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
10811 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
10812 diff-index command. This requires at least git-1.5.5. (Bug#1589).
10814 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
10816 Remove support for adding --signoff on commit.
10817 Future support will use an incompatible generic mechanism.
10818 * vc-git.el (vc-git-add-signoff): Remove variable.
10819 (vc-git-toggle-signoff): Remove function.
10820 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
10822 * term/xterm.el (xterm-maybe-set-dark-background-mode):
10823 Rename from xterm-set-background-mode. Return t if the background mode
10825 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
10826 earlier, call it again in case the background mode has changed.
10828 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
10830 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
10833 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
10835 * emacs-lisp/assoc.el (aelement): Doc fix.
10836 (aput, adelete, amake): Use lexical-let (Bug#5450).
10838 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
10840 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
10841 is the same as subprogram call, not declaration. (Bug#5435).
10843 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
10845 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
10846 (tramp-smb-maybe-open-connection): Use it.
10848 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
10850 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
10852 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
10854 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
10855 just because we see "encoding: 8bit".
10856 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
10858 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
10860 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
10862 2010-01-22 Eli Zaretskii <eliz@gnu.org>
10864 * jka-compr.el (jka-compr-load): If load-file is not in
10865 load-history, try its file-truename version. (bug#5447)
10867 2010-01-21 Alan Mackenzie <acm@muc.de>
10869 Fix a situation where deletion of a cpp construct throws an error.
10870 * progmodes/cc-engine.el (c-invalidate-state-cache):
10871 Before invoking c-with-all-but-one-cpps-commented-out, check that the
10872 special cpp construct is still in the buffer.
10873 (c-parse-state): Record the special cpp with markers, not numbers.
10875 2010-01-21 Kenichi Handa <handa@m17n.org>
10877 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
10878 process last-command-event, as it is now decoded first (Bug#5380).
10880 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
10882 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
10884 2010-01-20 Glenn Morris <rgm@gnu.org>
10886 * indent.el (tab-always-indent): Fix custom-type.
10888 2010-01-19 Alan Mackenzie <acm@muc.de>
10890 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
10891 buffer throws "args out of range".
10892 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
10893 playing the role of delimiter.
10895 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
10897 * progmodes/ada-mode.el: Fix bug#5400.
10898 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
10899 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
10900 changed. Delete RECURSIVE parameter; never used. Improve doc string.
10901 Improve comments in "is" portion. Handle null procedure declaration.
10902 (ada-move-to-end): Improve doc string.
10904 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
10906 * ido.el (ido-cur-list): Initialize to nil.
10907 Remove obsolete information from commentary.
10908 (ido-choice-list): Initialize to nil.
10909 (ido-get-bufname): Reject minibuffers.
10910 (ido-make-buffer-list): If "default" is a nonexistent
10911 buffer, ignore it, as per the function's comment.
10912 (ido-kill-buffer-internal): New function.
10913 (ido-kill-buffer-at-head): Use it.
10914 (ido-visit-buffer): Likewise.
10916 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
10918 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
10920 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
10922 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
10923 Fix typos in chart titles.
10925 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
10926 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
10927 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
10928 (describe-class, eieio-describe-generic, describe-generic):
10929 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
10930 (eieio-speedbar-expand):
10931 * emulation/viper-cmd.el (viper-exec-form-in-vi)
10932 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
10933 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
10934 (viper-del-backward-char-in-replace, viper-backward-indent)
10935 (viper-brac-function, viper-register-to-point, viper-submit-report):
10936 * net/tramp.el (tramp-remote-coding-commands):
10937 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
10938 Fix typos in docstrings.
10940 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
10942 * mail/sendmail.el (mail-yank-original): Set the mark if the
10943 specified function for yanking does not do it.
10945 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
10947 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
10949 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
10950 resyncing a directory.
10952 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
10954 * progmodes/ada-mode.el: Fix bug#1920.
10955 (ada-ident-re): Delete ., allow multibyte characters.
10956 (ada-goto-label-re): New; matches goto labels.
10957 (ada-block-label-re): New; matches block labels.
10958 (ada-label-re): New; matches both.
10959 (ada-named-block-re): Deleted; callers changed to use
10960 `ada-block-label-re' instead.
10961 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
10962 Use `ada-block-label-re'.
10963 (ada-indent-on-previous-lines): Improve handling of goto labels.
10964 (ada-get-indent-block-start): Special-case block label.
10965 (ada-get-indent-label): Split into `ada-indent-block-label' and
10966 `ada-indent-goto-label'.
10967 (ada-goto-stmt-start, ada-goto-next-non-ws):
10968 Optionally ignore goto labels.
10969 (ada-goto-next-word): Simplify.
10970 (ada-indent-newline-indent-conditional): Insert newline before
10971 trying to fix indentation; doc fix.
10973 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
10975 * calc/calc.el (calc-command-flags): Give it an initial value.
10977 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
10979 * files.el (minibuffer-with-setup-hook):
10980 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
10981 (artist-key-draw-continously, artist-key-do-continously-continously)
10982 (artist-key-set-point-continously, artist-mouse-draw-continously):
10983 Fix typos in docstrings.
10985 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
10987 * nxml/nxml-mode.el (nxml-extend-after-change-region):
10988 Never return t (Bug#3898).
10990 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
10992 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
10993 can parse the output of the external commands (Bug#5279).
10995 2010-01-16 Jari Aalto <jari.aalto@cante.net>
10997 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
10999 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
11001 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
11003 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
11005 * startup.el (command-line): Remove unused --icon-type arg.
11006 Handle --display arg, passing it to command-line-1 (Bug#5392).
11008 2010-01-16 Mario Lang <mlang@delysid.org>
11010 * emacs-lisp/chart.el (chart-translate-namezone):
11011 * textmodes/artist.el (artist-compute-popup-menu-table):
11012 Remove duplicated words in doc-strings.
11014 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
11016 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
11017 to mairix-search to suppress threading (Bug#5342).
11019 2010-01-15 Kenichi Handa <handa@m17n.org>
11021 * international/mule-cmds.el (canonicalize-coding-system-name):
11022 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
11024 2010-01-15 Glenn Morris <rgm@gnu.org>
11026 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
11028 * wid-edit.el (widget-keymap): Doc fix.
11030 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
11031 former seems to be more widely accepted by various svn versions.
11033 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11035 * find-cmd.el (find-constituents):
11036 * vc-arch.el (vc-arch-root):
11037 * window.el (window-body-height, pop-up-frames):
11038 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
11039 * progmodes/ada-stmt.el (ada-if):
11040 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
11041 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
11042 (ispell-encoding8-command, ispell-aspell-supports-utf8)
11043 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
11045 * progmodes/flymake.el (flymake-post-syntax-check):
11046 Fix typo in error message.
11048 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11050 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
11051 which is always a string. (Bug#5313)
11053 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11055 * progmodes/ada-xref.el (ada-default-prj-properties):
11056 Simplify previous change.
11058 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11060 * progmodes/ada-xref.el (ada-default-prj-properties):
11061 Default ada_project_path to $ADA_PROJECT_PATH.
11063 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11065 * progmodes/ada-mode.el (ada-create-keymap):
11066 Override `narrow-to-defun' with `ada-narrow-to-defun'.
11068 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11070 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
11071 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
11072 (ada-get-current-indent, ada-imenu-generic-expression)
11073 (ada-which-function): Check for it.
11075 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11077 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
11078 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
11080 2010-01-14 Glenn Morris <rgm@gnu.org>
11082 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
11084 2010-01-14 Kenichi Handa <handa@m17n.org>
11086 * composite.el (auto-composition-mode): Make it a buffer local
11087 variable (permanent-local).
11088 (auto-composition-function): Set the default value to
11089 auto-compose-chars.
11090 (auto-composition-mode): Make it a simple function, not a minor mode.
11091 (global-auto-composition-mode): Likewise.
11092 (turn-on-auto-composition-if-enabled): Delete it.
11094 2010-01-13 Karl Fogel <kfogel@red-bean.com>
11096 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
11098 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
11100 * files.el (copy-directory): Compute target for recursive
11101 directories with identical names. (Bug#5343)
11103 2010-01-12 Glenn Morris <rgm@gnu.org>
11105 * mail/emacsbug.el (report-emacs-bug-pretest-address):
11106 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
11108 2010-01-11 Sam Steingold <sds@gnu.org>
11110 * imenu.el (imenu-default-create-index-function): Detect infinite
11111 loops caused by imenu-prev-index-position-function.
11113 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
11115 * htmlfontify.el (htmlfontify-load-rgb-file)
11116 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
11117 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
11118 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
11119 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
11120 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
11121 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
11122 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
11123 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
11124 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
11125 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
11126 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
11127 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
11128 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
11129 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
11130 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
11131 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
11132 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
11133 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
11134 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
11135 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
11136 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
11137 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
11138 backslash-quoting from parentheses, etc.
11140 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
11142 * progmodes/js.el: Autoload javascript-mode alias.
11144 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
11146 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
11147 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
11148 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
11149 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
11150 Fix typos in docstrings.
11151 (ffap-url-regexp): Doc fix.
11152 (ffap-at-mouse): Fix typo in message.
11154 2010-01-11 Glenn Morris <rgm@gnu.org>
11156 * version.el (emacs-copyright): Set copyright year to 2010.
11158 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
11160 * format.el (format-annotate-function): Only set
11161 write-region-post-annotation-function after running to-fn so as not to
11162 affect nested write-region calls (bug#5273).
11164 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
11166 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
11169 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
11171 * man.el (Man-goto-section): Signal error if the section is not
11174 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
11176 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
11177 URLs with a leading triple slash in the file: scheme. (Bug#5345)
11179 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
11181 * progmodes/compile.el: Don't treat compile-command as safe if
11182 compilation-read-command might be nil (Bug#4218).
11184 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
11186 * startup.el (command-line-1): Use orig-argi to check for ignored X and
11189 2010-01-08 Kenichi Handa <handa@m17n.org>
11191 * international/fontset.el (build-default-fontset-data):
11192 Exclude characters in scripts kana, hangul, han, or cjk-misc.
11194 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
11196 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
11197 to `create-file-buffer' as it expects, not just a buffer name.
11198 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
11199 to help uniquify. (Bug#3224)
11201 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
11203 * font-setting.el (font-setting-change-default-font): Use user-spec
11206 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
11208 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
11210 2010-01-05 Tom Tromey <tromey@redhat.com>
11212 * progmodes/python.el (python-font-lock-keywords):
11213 Handle qualified decorators (Bug#881).
11215 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
11217 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
11218 in a lightweight checkout.
11220 2010-01-05 Kenichi Handa <handa@m17n.org>
11222 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
11224 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
11226 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
11228 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
11230 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
11231 checkouts. (Bug#618)
11232 (vc-bzr-log-view-mode): Also highlight the author.
11233 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
11234 (vc-bzr-shelve-menu-map):
11235 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
11236 (vc-bzr-shelve-apply): Make prompt more explicit.
11238 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
11240 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
11241 They are valid characters in URL paths (rfc3986), and at least
11242 Firefox does not understand the encoded version (Bug#3166).
11244 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
11246 * progmodes/octave-mod.el (octave-end-keywords)
11247 (octave-block-begin-or-end-regexp, octave-block-match-alist):
11248 Add "end" keyword (Bug#3061).
11249 (octave-end-as-array-index-p): New function.
11250 (calculate-octave-indent): Use it.
11252 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11254 * bookmark.el: Consistently put the text property on the bookmark name.
11255 (bookmark-bmenu-marks-width): Bump back to 2, to include
11257 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
11258 property on the bookmark name, instead of not putting it at all.
11259 (bookmark-bmenu-list): Fix where we put the text property.
11261 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11263 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
11264 for showing buffer modified state (as added in the previous change).
11266 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11268 * bookmark.el: Show modified state of bookmark buffer more accurately.
11269 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
11270 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
11271 (with-buffer-modified-unmodified): New macro.
11272 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
11273 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
11274 Use new macro to preserve the buffer modified state.
11276 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11278 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
11279 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
11280 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
11281 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
11282 (bookmark-bmenu-rename, bookmark-bmenu-locate)
11283 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
11284 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
11286 2010-01-02 Eli Zaretskii <eliz@gnu.org>
11288 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11289 Make the lines in the generated doc string shorter. (Bug#4668)
11291 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
11293 * net/rcirc.el: Add follow-link binding (Bug#4738).
11295 2010-01-02 Eli Zaretskii <eliz@gnu.org>
11297 * Makefile.in (bzr-update): Rename from cvs-update.
11298 (cvs-update): New target for backward compatibility.
11300 * makefile.w32-in (bzr-update): Rename from cvs-update.
11301 (cvs-update): New target for backward compatibility.
11303 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11305 * bookmark.el: Remove gratuitous gratitude.
11307 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11309 * bookmark.el (bookmark-bmenu-any-marks): New function.
11310 (bookmark-bmenu-save): Clear buffer modification if no marks.
11312 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11314 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
11315 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
11316 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
11317 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
11319 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
11320 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
11321 To: emacs-devel {_AT_} gnu.org
11322 Subject: bookmark.el bug report
11323 Date: Mon, 28 Dec 2009 14:19:16 +0800
11324 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
11326 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11328 * bookmark.el: Improvements suggested by Drew Adams:
11329 (bookmark-bmenu-ensure-position): New name for
11330 `bookmark-bmenu-check-position'. Just ensure the position,
11331 don't return any meaningful value.
11332 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
11335 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
11337 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
11338 (bookmark-yank-point, bookmark-bmenu-check-position):
11339 Fix typos in docstrings.
11340 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
11341 (bookmark-name-from-full-record, bookmark-get-position)
11342 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
11343 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
11344 Remove useless quoting of parenthesis, etc. in docstrings.
11346 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
11347 (ediff-append-custom-diff): Fix typo in error message.
11348 (ediff-meta-mark-equal-files): Fix typos in messages.
11350 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
11352 * net/imap-hash.el (imap-hash-make): Doc fix.
11353 (imap-hash-test): Fix typo in error message; reflow docstring.
11354 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
11355 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
11356 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
11357 Fix typos in docstrings.
11358 (imap-hash-open-connection): Fix typo in error message.
11360 * play/gomoku.el (gomoku): Fix typos in docstring.
11362 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
11363 (gdb-jsonify-buffer): Fix typos in docstring.
11364 (gdb-goto-breakpoint): Fix typo in error message.
11365 ("Display Other Windows"): Fix typo in help message.
11366 (gdb-speedbar-expand-node): Fix typo in question.
11368 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
11369 (idlwave-html-system-help-location, idlwave-html-help-location)
11370 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
11371 (idlwave-help-browser-generic-args, idlwave-help-directory)
11372 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
11373 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
11374 (idlwave-online-help, idlwave-help-html-link)
11375 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
11376 Fix typos in docstrings.
11377 (idlwave-help-with-source, idlwave-help-find-routine-definition):
11379 (idlwave-help-assistant-start): Fix typo in error message.
11381 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
11382 (octave-electric-space): Fix typos in docstrings.
11384 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
11386 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
11388 2010-01-01 Juri Linkov <juri@jurta.org>
11390 * comint.el (comint-input-ring-size): Make it a defcustom and
11391 increase the default to 500 (Bug#5148).
11393 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
11395 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
11396 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
11397 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
11399 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
11401 Show working revision correctly for mercurial.
11402 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
11403 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
11405 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
11407 Declare some functions for the byte-compiler.
11408 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
11409 (speedbar-timer-fn, speedbar-change-expand-button-char)
11410 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
11412 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
11414 This changeset reverts GDB Graphical Interface to use annotations.
11415 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
11417 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
11419 Make vc-dir work on subdirectories of the bzr root.
11420 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
11421 Return file names relative to it.
11422 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
11423 relative directory to vc-bzr-after-dir-status.
11425 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
11427 * font-lock.el (font-lock-refresh-defaults): New function, which
11428 can be used to let font-lock react to external changes in
11429 variables like font-lock-defaults and keywords.
11430 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
11432 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
11434 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
11436 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
11438 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
11440 Supersede color.diff settings in git log (bug#5211).
11442 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
11443 escape chars in its output when the user has color.diff set to `always'.
11444 This fix works on git 1.4.2 and newer (released on 2006-08-13).
11446 2009-12-26 Kevin Ryde <user42@zip.com.au>
11448 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
11449 node. Keep previous "Index" name to work with past coreutils too.
11451 * man.el (man): Revise docstring a bit to show -a and -l as
11452 examples. Add -k description since support for it has otherwise
11453 been a secret. (Further to bug#3717.)
11454 (Man-bgproc-sentinel): When "-k foo" produces no output show error
11455 "no matches" rather than "Can't find manpage", as the latter reads
11456 like -k was interpreted as a page name, which is not so. (Bug#5431)
11458 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
11460 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
11461 switches. Check also for //SUBDIRED// line.
11463 2009-12-25 Kenichi Handa <handa@m17n.org>
11465 * language/indian.el (devanagari-composable-pattern): Fix to
11466 handle ZWNJ and ZWJ. Use it in composition-function-table for
11468 (malayalam-composable-pattern): Fix previous change.
11470 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11472 * ps-print.el (ps-face-attributes): It was not returning the
11473 attribute face for faces specified as string. Reported by harven
11474 <harven@free.fr>. (Bug#5254)
11475 (ps-print-version): New version 7.3.5.
11477 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
11479 * calendar/icalendar.el (icalendar--convert-tz-offset):
11480 Fix timezone names.
11481 (icalendar--convert-tz-offset): Fix the "last-day-problem".
11482 (icalendar--add-diary-entry): Remove the trailing blank that
11483 diary-make-entry inserts.
11485 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
11487 Make `file-expand-wildcards' work for remote files.
11489 * files.el (file-expand-wildcards): In case of remote files, check
11490 only local file name part for wildcards. Provide feature 'files
11491 and subfeature 'remote-wildcards. (Bug#5198)
11493 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
11494 if there is already an established connection.
11495 (tramp-advice-file-expand-wildcards): Remove it.
11497 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
11498 (tramp-advice-file-expand-wildcards): Move from tramp.el.
11499 Activate advice for older GNU Emacs versions. (Bug#5237)
11501 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
11503 Some doc fixes (more needed).
11505 * find-cmd.el (find-constituents): Reflow docstring.
11506 (find-cmd, find-prune, find-command): Fix typos in docstrings.
11507 (find-generic): Doc fix.
11509 2009-12-17 Juri Linkov <juri@jurta.org>
11511 Fix regression from 23.1 to allow multiple modes in Local Variables.
11513 * files.el (hack-local-variables-filter): While ignoring duplicates,
11514 don't take `mode' into account.
11515 (hack-local-variables-filter, hack-dir-local-variables):
11516 Don't remove duplicate `mode' from local-variables-alist (like `eval').
11518 2009-12-17 Juri Linkov <juri@jurta.org>
11520 Make `dired-diff' safer. (Bug#5225)
11522 * dired-aux.el (dired-diff): Signal an error when `file' equals to
11523 `current' or when `file' is a directory of the `current' file.
11525 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
11527 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
11528 unconditionally preloaded files.
11530 2009-12-16 Juri Linkov <juri@jurta.org>
11532 Revert to old 23.1 logic of using the file at the mark as default.
11533 * dired-aux.el (dired-diff): Use the file at the mark as default
11534 if it's not the same as the current file, and the target dir is
11535 the current dir or the mark is active. Add the current file
11536 as the arg of `dired-dwim-target-defaults'. Use the default file
11537 in the prompt. (Bug#5225)
11539 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
11541 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
11542 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
11543 (tramp-check-for-regexp): Check also, when an echoing shell stops
11544 to echo sent commands.
11546 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
11548 * Makefile.in: Revert last change (Bug#5191).
11550 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
11552 * vc-hg.el (vc-hg-print-log): Fix argument order.
11553 (vc-hg-working-revision): Make sure the command is executed in a
11554 known environment so that we can parse the output. (Bug#4417)
11556 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
11558 * progmodes/python.el (python-symbol-completions): Remove text
11559 properties from symbol string before calling python-send-receive.
11561 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
11563 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
11564 when there are values for both file and line. (Bug#5060)
11566 2009-12-14 Juri Linkov <juri@jurta.org>
11568 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
11569 whitespace after the file name of the first line of unified format,
11570 because git-diff doesn't output whitespace and file modification time
11571 after the file name.
11573 2009-12-14 David Kastrup <dak@gnu.org>
11575 * info.el (Info-hide-cookies-node): Before hiding a cookie,
11576 check if it already has the `display' property added by
11577 `Info-display-images-node', and not put the `invisible' property
11580 2009-12-13 Glenn Morris <rgm@gnu.org>
11582 * mail/emacsbug.el (message-sort-headers): Define for compiler.
11583 (report-emacs-bug): In message-mode, sort manually before storing
11584 original report text. (Bug#5178)
11585 Remove superfluous save-excursion.
11587 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
11589 * net/dbus.el (dbus-property-handler): Filter lambda forms out
11590 when responding to "GetAll" properties.
11592 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
11594 * simple.el (compose-mail): Remove mail-setup-with-from from
11595 customization checks.
11597 2009-12-12 Eli Zaretskii <eliz@gnu.org>
11599 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
11600 RAR archives created on Unix systems.
11602 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
11604 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
11605 the varalias that was accidentally removed by the 2009-11-19 change
11608 2009-12-12 Kenichi Handa <handa@m17n.org>
11610 * language/indian.el (indian-compose-regexp): New function.
11611 (malayalam-composable-pattern): Fix the pattern.
11612 (composition-function-table): Set malayalam-composable-pattern for
11613 Malayalam characters.
11615 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
11617 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
11618 rather than down-mouse-1, based on follow-link conventions.
11620 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
11623 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
11625 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
11626 (verilog-vmm-statement-re, verilog-ovm-statement-re)
11627 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
11628 (verilog-leap-to-head, verilog-backward-token):
11629 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
11631 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
11633 * progmodes/verilog-mode.el (verilog-auto-lineup)
11634 (verilog-nameable-item-re): Cleanup user-visible spelling and
11635 documentation errors. One reported by Gary Delp.
11636 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
11637 (verilog-read-decls): Fix AUTOWIRE with types declared in a
11638 package, bug195. Reported by Pierre-David Pfister.
11640 2009-12-11 Glenn Morris <rgm@gnu.org>
11642 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
11644 * mail/emacsbug.el: No longer require sendmail.
11645 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
11646 (report-emacs-bug-orig-text): Doc fix.
11647 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
11648 New local variables, to adapt to different mail-user-agents.
11649 (report-emacs-bug): Fix test for a gnu.org address.
11650 Use overlays for emphasis, since font-lock defeats 'face property.
11651 Pretest bugs also end up at the newsgroup these days.
11652 Stop message-mode stripping text properties.
11653 Set and use the new buffer-local variables.
11654 (report-emacs-bug-hook): Add doc-string.
11655 Remove some unnecessary save-excursions and simplify.
11656 Use the appropriate hook and send-command.
11658 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
11659 capitalization of some menu entries.
11661 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11663 * whitespace.el (whitespace-display-char-on):
11664 Ensure `buffer-display-table' is unique when two or more windows are
11665 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
11668 2009-12-10 Eli Zaretskii <eliz@gnu.org>
11670 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
11671 characters in the Attribute field.
11673 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
11675 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
11677 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
11679 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
11680 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11681 Disregard autoload-excludes.
11682 (update-directory-autoloads): Obey autoload-excludes here instead.
11683 But don't store its contents in no-autoloads and remove entries that
11684 refer to excludes files.
11686 2009-12-10 Glenn Morris <rgm@gnu.org>
11688 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
11689 (expand-mail-aliases): Define for compiler.
11691 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
11692 Define for compiler.
11694 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
11695 appropriate for the mail-user-agent in use.
11697 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
11699 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
11701 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
11703 Fix short log parsing and fontification.
11704 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
11705 Fix fontification for the [merge] label.
11707 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
11709 Drop some properties to avoid surprises (bug#5002).
11710 * htmlfontify.el (hfy-ignored-properties): New defcustom.
11711 (hfy-fontify-buffer): Use it.
11713 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
11716 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
11717 Adjust all callers.
11718 (ffap-locate-file): Remove unused arg `dir-ok' and make other
11719 args compulsory. Adjust callers.
11720 (ffap-gopher-at-point): Remove unused var `name'.
11722 Get rid of the ELCFILES abomination.
11723 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
11724 (compile-elcfiles): New phony target.
11725 (compile-main): Compute ELCFILES dynamically.
11726 (compile-clean): New target to remove left-over elc files.
11727 (compile, all): Use it.
11729 2009-12-09 Kenichi Handa <handa@etlken>
11731 * international/mule-diag.el: Require help-mode instead of help-fns.
11733 2009-12-09 Kenichi Handa <handa@m17n.org>
11735 * international/mule-cmds.el (ucs-names): Supply sufficiently
11736 fine ranges instead of pre-calculating accurate ranges.
11737 Iterate with bigger gc-cons-threshold.
11739 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
11741 Add support for stashing a snapshot of the current tree.
11742 * vc-git.el (vc-git-stash-snapshot): New function.
11743 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
11745 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
11747 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
11748 instead of `(beginning|end)-of-line'.
11750 2009-12-08 Glenn Morris <rgm@gnu.org>
11752 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
11754 * Makefile.in (ELCFILES): Regenerate.
11756 2009-12-07 Juri Linkov <juri@jurta.org>
11758 Don't lazy-highlight the comint output in history Isearch mode.
11760 * comint.el (comint-history-isearch-search): Instead of
11761 `comint-line-beginning-position', use `comint-after-pmark-p'
11762 to check if point if before the process mark, and go to
11763 `process-mark' in this case.
11765 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
11767 * textmodes/tex-mode.el (latex-complete)
11768 (latex-indent-or-complete): Remove.
11769 (latex-mode): Set completion-at-point-functions instead.
11771 Provide a standard completion command and hook it into TAB.
11772 * minibuffer.el (completion-at-point-functions): New var.
11773 (completion-at-point): New command.
11774 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
11775 * progmodes/python.el (python-mode-map): Use completion-at-point.
11776 (python-completion-at-point): Rename from python-partial-symbol and
11777 adjust for use in completion-at-point-functions.
11778 (python-mode): Setup completion-at-point for Python completion.
11779 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
11780 extracted from lisp-complete-symbol.
11781 (lisp-complete-symbol): Use it.
11782 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
11783 setup completion-at-point for Elisp completion.
11784 (emacs-lisp-mode-map, lisp-interaction-mode-map):
11785 Use completion-at-point.
11786 * ielm.el (ielm-map): Use completion-at-point.
11787 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
11788 * progmodes/sym-comp.el: Move to...
11789 * obsolete/sym-comp.el: Move from progmodes.
11791 2009-12-07 Eli Zaretskii <eliz@gnu.org>
11793 Prevent save-buffer in Rmail buffers from using the coding-system
11794 of the current message, and from clobbering the encoding mnemonics
11795 in the mode line (Bug#4623).
11797 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
11799 (rmail-message-encoding): New variable.
11800 (rmail-write-region-annotate): Record the encoding of the current
11801 message in rmail-message-encoding.
11802 (rmail-after-save-hook): New function, restores the encoding of
11803 the current message after the message collection is saved.
11805 2009-12-07 Juri Linkov <juri@jurta.org>
11807 * progmodes/grep.el (grep-read-files): Use `completing-read'
11808 instead of `read-string'. Set its `collection' arg to
11809 `read-file-name-internal'. (Bug#4301)
11811 2009-12-07 Juri Linkov <juri@jurta.org>
11813 Correctly restore original Isearch point. (Bug#4994)
11815 * isearch.el (isearch-mode): Move `isearch-push-state' after
11816 `(run-hooks 'isearch-mode-hook)'.
11817 (isearch-cancel): When `isearch-push-state-function' is defined,
11818 let-bind `isearch-cmds' to the first state (the last element of
11819 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
11820 function and restores the original point). Otherwise, move point
11821 to `isearch-opoint'.
11823 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
11825 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
11826 chars that don't have names, so the table can be built much faster at
11829 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
11831 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
11832 change. Suggested by David Kastrup.
11834 * simple.el (compose-mail): Check for incompatibilities and warn.
11835 (compose-mail-user-agent-warnings): New option.
11837 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
11839 Support showing a single log entry from vc-annotate.
11840 * vc.el (print-log): Add a new argument: START-REVISION.
11841 (vc-print-log-internal): Add a new optional argument and
11842 pass it to the backend.
11843 (vc-print-log, vc-print-root-log): Adjust callers.
11844 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
11845 buffer already displays the requested log entry, use it.
11846 Otherwise display only the log entry in question.
11847 * vc-svn.el (vc-svn-print-log):
11848 * vc-mtn.el (vc-mtn-print-log):
11849 * vc-hg.el (vc-hg-state):
11850 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
11851 (vc-git-show-log-entry): Return t on success.
11852 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
11853 (vc-bzr-show-log-entry): Return t on success.
11854 * vc-rcs.el (vc-rcs-print-log):
11855 * vc-sccs.el (vc-sccs-print-log):
11856 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
11858 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
11860 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
11861 Add menus to the meta mode. (Bug#5043)
11863 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
11865 * ediff-init.el (ediff-event-key): Use event-to-character instead of
11868 * ediff.el (ediff-buffers-internal): Add unwind-protect.
11870 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
11872 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
11873 Berbain <raphael.berbain@gmail.com>.
11875 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
11877 (tramp-initial-end-of-output): New defconst.
11878 (tramp-methods, tramp-find-shell)
11879 (tramp-open-connection-setup-interactive-shell)
11880 (tramp-maybe-open-connection): Use it.
11881 (tramp-shell-prompt-pattern, tramp-wait-for-output):
11882 Handle existence of `#' and `$'.
11884 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
11885 Use `tramp-initial-end-of-output'.
11887 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
11889 Get the background mode from the terminal for xterm, and set
11891 * term/xterm.el (xterm-set-background-mode): New function.
11892 (terminal-init-xterm): Use it in case xterm supports background
11893 color queries. Recompute faces after getting the background
11896 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
11898 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
11899 number comment back on its own line, for easier parsing.
11901 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
11903 Make it work for non-file buffers (bug#5102).
11904 * doc-view.el (doc-view-current-cache-dir):
11905 Use doc-view-buffer-file-name rather than buffer-file-name.
11906 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
11908 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
11910 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
11911 author field is too short.
11913 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
11915 * vc-git.el (vc-git-print-log): Handle a limit argument.
11916 Display the short log in graph form and with labels.
11917 (vc-git-log-view-mode): Handle labels.
11919 Make vc-revert change VC state from 'added to 'unregistered.
11920 * vc-git.el (vc-git-revert): Call git reset first.
11922 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
11924 * net/newst-backend.el, net/newst-plainview.el:
11925 * net/newst-reader.el, net/newst-ticker.el:
11926 * net/newst-treeview.el, net/newsticker.el:
11927 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
11929 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
11931 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
11933 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
11934 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
11935 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
11936 Update annotation regexp.
11938 * simple.el (beginning-of-visual-line): Constrain to field
11939 boundaries (Bug#5106).
11941 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
11943 * xml.el (xml-substitute-numeric-entities):
11944 Move newsticker--decode-numeric-entities in newst-backend.el to
11945 xml-substitute-numeric-entities in xml.el. (Bug#5008)
11946 * net/newst-backend.el (newsticker--parse-generic-feed)
11947 (newsticker--parse-generic-items)
11948 (newsticker--decode-numeric-entities):
11949 Move newsticker--decode-numeric-entities in newst-backend.el to
11950 xml-substitute-numeric-entities in xml.el. (Bug#5008)
11952 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
11954 * progmodes/js.el (js--js-not): Add null to the list of values.
11956 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
11958 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
11960 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
11962 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
11963 delimiter if it is at the end of the current line.
11964 (bibtex-generate-url-list): Fix docstring.
11966 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11968 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
11969 minibuffer's content with itself.
11970 Fold the confirm-after-completion case into the `confirm' case.
11971 (completion-pcm-word-delimiters): Add : and / to the delimiters.
11973 2009-12-06 Kevin Ryde <user42@zip.com.au>
11975 * ffap.el (ffap-rfc-path): Make this a defcustom since
11976 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
11978 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
11979 manuals, similar to existing setup for help-mode. (Bug#3913.)
11981 2009-12-05 Juri Linkov <juri@jurta.org>
11983 Save and restore dired buffer's point positions too. (Bug#4880)
11985 * dired.el (dired-save-positions): Return in the first element
11986 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
11988 (dired-restore-positions): First restore buffer's position.
11989 While restoring window's positions, check if window still displays
11990 the original buffer.
11992 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
11994 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
11997 * shell.el (shell): Require ansi-color (Bug#5113).
11999 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
12001 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
12003 2009-12-05 Alan Mackenzie <acm@muc.de>
12005 * progmodes/cc-mode.el (c-before-hack-hook)
12006 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
12007 `c-file-style' to work again. This reversion restores the current
12008 software to its state in Emacs 23.1. (Bug#4146)
12010 2009-12-05 Kevin Ryde <user42@zip.com.au>
12012 * textmodes/sgml-mode.el (sgml-lexical-context):
12013 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
12015 2009-12-05 Juri Linkov <juri@jurta.org>
12017 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
12018 for virtual nodes. (Bug#4147)
12019 (Info-find-node-2): Set `Info-current-node-virtual' to nil
12020 when moving from a virtual node.
12021 (Info-mode-menu): Add `Info-virtual-index' to the menu.
12022 (Info-mode): Add `Info-virtual-index' to the docstring.
12024 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12026 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
12027 track of the buffer position of the end of a BibTeX entry as this
12028 position may change during reformatting.
12029 (bibtex-format-entry): Remove whitespace before processing
12030 numerical fields so that we recognize the latter properly.
12031 (bibtex-reformat): Do not use push which changes the global value
12032 of bibtex-entry-format.
12033 (bibtex-field-braces-alist, bibtex-field-strings-alist)
12034 (bibtex-field-re-init): Replace only space characters by regexp
12036 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
12037 (bibtex-initialize): Also update bibtex-strings.
12038 (bibtex-kill-field): Preserve white space at end of entry.
12039 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
12040 Update bibtex-reference-keys.
12042 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
12044 * minibuffer.el (completion-pcm--merge-try): Also consider placing
12045 point after a star, if that's the only place where modifications can
12048 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
12050 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
12053 2009-12-04 Juri Linkov <juri@jurta.org>
12055 * proced.el (proced): Call `(proced-update t)' to update process
12056 information instead of only running proced-post-display-hook.
12057 (proced-send-signal): Add a leading space to the buffer name
12058 " *Marked Processes*" to make this buffer ephemeral.
12060 2009-12-04 Juri Linkov <juri@jurta.org>
12062 * dired.el (dired-auto-revert-buffer): New defcustom.
12063 (dired-internal-noselect): Use it.
12065 2009-12-04 Juri Linkov <juri@jurta.org>
12067 Change roles of modes and functions in image-mode.el (Bug#5062).
12069 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
12070 in `auto-mode-alist'.
12071 (image-mode-previous-major-mode): New variable.
12072 (image-minor-mode-map): Rename from `image-mode-text-map'.
12073 (image-mode): Move graceful error-handling code from
12074 `image-minor-mode' to here. On errors call `image-mode-as-text'.
12075 (image-minor-mode): Remove all image-handling code.
12076 Replace `image-mode-text-map' with `image-minor-mode-map'.
12077 Check for `image-type' in mode-line format string.
12078 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
12079 (image-mode-as-text): New function with most code from
12080 `image-mode-maybe'.
12081 (image-toggle-display-text): Move code that removes image
12082 properties from `image-toggle-display' to here.
12083 (image-toggle-display-image): New function with code that adds
12084 image properties copied from `image-toggle-display'.
12085 (image-toggle-display): Remove most code with leaving only code
12086 that toggles between `image-mode-as-text' and `image-mode'.
12088 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
12090 * net/newst-treeview.el
12091 (newsticker--treeview-list-highlight-start): Restored call to
12092 save-excursion: Selected item was stuck.
12093 (newsticker--treeview-list-select): New.
12094 (newsticker--treeview-item-show-text)
12095 (newsticker--treeview-item-show)
12096 (newsticker--treeview-item-update): Use new
12097 newsticker-treeview-item-mode.
12098 (newsticker-treeview-update): Keep current item.
12099 (newsticker-treeview-next-new-or-immortal-item): Doc change.
12100 (newsticker--treeview-first-feed): Doc change.
12101 (newsticker-treeview-list-menu)
12102 (newsticker-treeview-item-menu): Add menu entries.
12103 (newsticker-treeview-item-mode): New.
12105 * net/newst-backend.el (newsticker-customize): Delete other
12108 2009-12-04 Sam Steingold <sds@gnu.org>
12110 * log-view.el (log-view-mode-map): "q" calls quit-window,
12111 like in all the other non-self-insert buffers.
12113 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
12116 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
12117 key decoding rather than do it manually via last-input-event +
12119 (term-exec): Use delete-and-extract-region.
12120 (term-handle-ansi-terminal-messages): Remove unused var `end'.
12121 (term-process-pager): Remove unused var `i'.
12122 (term-dynamic-simple-complete): Make obsolete.
12123 (serial-update-config-menu): Remove unused vars `y' and `str'.
12124 (term-update-mode-line): Remove unused var `temp'.
12126 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12128 Limit the number of log entries displayed by default.
12129 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
12130 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
12131 using a prefix argument.
12133 2009-12-03 Glenn Morris <rgm@gnu.org>
12135 * progmodes/idlwave.el (class): Restore still useful declaration.
12137 2009-12-03 Alan Mackenzie <acm@muc.de>
12139 Enhance `c-parse-state' to run efficiently in "brace deserts".
12141 * progmodes/cc-mode.el (c-basic-common-init):
12142 Call c-state-cache-init.
12143 (c-neutralize-syntax-in-and-mark-CPP): Rename from
12144 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
12145 placing `category' properties value 'c-cpp-delimiter at its boundaries.
12147 * progmodes/cc-langs.el (c-before-font-lock-function):
12148 c-extend-and-neutralize-syntax-in-CPP has been renamed
12149 c-neutralize-syntax-in-and-mark-CPP.
12151 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
12152 with `category' properties now, not `syntax-table' ones.
12154 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
12155 enhanced (but slower) version of c-end-of-macro that won't land
12156 inside a literal or on another awkward character.
12157 (c-state-cache-too-far, c-state-cache-start)
12158 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
12159 (c-state-nonlit-pos-cache-limit, c-state-point-min)
12160 (c-state-point-min-lit-type, c-state-point-min-lit-start)
12161 (c-state-min-scan-pos, c-state-brace-pair-desert)
12162 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
12163 buffer local variables.
12164 (c-state-literal-at, c-state-lit-beg)
12165 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
12166 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
12167 (c-state-cache-top-paren, c-state-cache-after-top-paren)
12168 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
12169 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
12170 (c-renarrow-state-cache)
12171 (c-append-lower-brace-pair-to-state-cache)
12172 (c-state-push-any-brace-pair, c-append-to-state-cache)
12173 (c-remove-stale-state-cache)
12174 (c-remove-stale-state-cache-backwards, c-state-cache-init)
12175 (c-invalidate-state-cache-1, c-parse-state-1)
12176 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
12177 (c-parse-state): Enhance and refactor.
12178 (c-debug-parse-state): Amend to deal with all the new variables.
12180 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
12181 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
12182 modify to use category text properties rather than syntax-table ones.
12183 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
12184 to switch off/on the syntactic paren property of C++ template
12185 delimiters using the category property.
12186 (c-with-<->-as-parens-suppressed): Macro to invoke code with
12187 template delims suppressed.
12188 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
12189 New constant/macros which apply category properties to the start
12190 and end of preprocessor constructs.
12191 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
12192 "comment out" the syntactic value of characters in preprocessor
12194 (c-with-cpps-commented-out)
12195 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
12196 with characters in all or all but one preprocessor constructs
12199 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12201 * proced.el (proced-filter-alist): Use regexp-quote.
12203 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
12206 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
12207 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
12208 arguments. Expand `default-directory'.
12210 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
12211 the benefit of returning an expanded localname.
12212 (tramp-tramp-file-p): Handle the case NAME is not a string.
12214 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12216 Add support for bzr shelve/unshelve.
12217 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12218 (vc-bzr-extra-menu-map): New variables.
12219 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
12220 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
12221 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
12222 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
12223 (vc-bzr-dir-extra-headers): Display shelves.
12225 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
12227 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12229 * textmodes/bibtex.el (bibtex-complete-internal):
12230 Use completion-in-region.
12231 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
12233 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12235 Support applying stashes. Improve UI.
12236 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
12237 (vc-git-stash-apply, vc-git-stash-pop)
12238 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
12239 (vc-git-stash-menu): New functions.
12240 (vc-git-stash-menu-map): New variable.
12241 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
12243 2009-12-03 Glenn Morris <rgm@gnu.org>
12245 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
12246 (vc-print-log-internal): Fix previous change.
12247 (vc-revert): Correct pluralization.
12249 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12251 * progmodes/make-mode.el (makefile-special-targets-list): No need for
12252 it to be an alist any more.
12253 (makefile-complete): Use completion-in-region.
12255 * progmodes/octave-mod.el (octave-complete-symbol):
12256 Use completion-in-region.
12259 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
12260 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
12261 (idlwave-complete-class): Don't quote lambda.
12262 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
12263 (idlwave-mode-map): Move initialization into declaration.
12264 (idlwave-action-and-binding): Use backquotes.
12265 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
12267 (idlwave-is-pointer-dereference): Remove unused var `pos'.
12268 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
12269 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
12270 `parts', and `all-parts'.
12271 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
12272 (idlwave-convert-xml-system-routine-info): Remove unused string
12274 (idlwave-display-user-catalog-widget): Use dolist.
12275 (idlwave-scanning-lib): Declare dynamically-scoped var.
12276 (idlwave-scan-library-catalogs): Remove unused var `flags'.
12277 (completion-highlight-first-word-only): Declare to silence bytecomp.
12278 (idlwave-popup-select): Tighten scope of `resp'.
12279 (idlwave-find-struct-tag): Remove unused var `beg'.
12280 (idlwave-after-load-rinfo-hook): Declare.
12281 (idlwave-sintern-class-info): Remove unused var `taglist'.
12282 (idlwave-find-class-definition): Remove unused var `list'.
12283 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
12284 (idlwave-what-module-find-class): Remove unused var `classes'.
12286 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
12288 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
12290 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12292 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
12293 buffers visited. Remove redundant current-buffer-saving.
12295 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12297 Use completion-in-buffer and remove uses of dynamic scoping.
12298 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
12299 (pascal-buffer-to-use, pascal-flag): Don't declare.
12300 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
12301 (pascal-get-completion-decl, pascal-keyword-completion):
12302 Add `pascal-str' argument, save-excursion,
12303 return the found completions, and don't filter with pascal-pred.
12304 (pascal-completion-cache): New var.
12305 (pascal-completion): Don't switch buffer any more (it was never
12306 necessary). Don't save-excursion any more (it's done by the called
12307 subroutines). Use a cache to avoid redundant computations.
12308 Use complete-with-action rather than pascal-completion-response and
12309 let it apply the predicate as well.
12310 (pascal-complete-word): Use completion-in-buffer when
12311 pascal-toggle-completions is nil.
12312 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
12314 (pascal-comp-defun): Don't change buffer any more.
12315 Use complete-with-action rather than pascal-completion-response and
12316 let it apply the predicate as well.
12317 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
12320 2009-12-02 Kenichi Handa <handa@m17n.org>
12322 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
12323 shape for all Indic scripts.
12325 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12327 Use completion-in-buffer.
12328 * wid-edit.el (widget-field-text-end): New function.
12329 (widget-field-value-get): Use it.
12330 (widget-string-complete, widget-file-complete)
12331 (widget-color-complete): Use it and completion-in-region.
12332 (widget-complete): Don't narrow the buffer.
12334 2009-12-02 Glenn Morris <rgm@gnu.org>
12336 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
12337 (rmail-select-summary): Use rmail-pop-to-buffer.
12338 * mail/rmailsum.el: Replace all pop-to-buffer calls with
12339 rmail-pop-to-buffer, to prevent horizontal splits.
12341 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
12342 save-excursion with save-current-buffer.
12343 Widen before searching. (Bug#5093)
12344 (diary-list-sexp-entries): Remove superfluous save-excursion.
12346 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
12348 * woman.el (woman-make-bufname): Handle man-pages with "." in the
12351 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
12353 * ido.el (ido-file-internal): Handle filenames at point that do
12354 not have a directory part. (Bug#5049)
12356 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
12358 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
12359 (mpc-songs-jump-to, mpc-resume): Doc fixes.
12361 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
12363 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
12364 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
12367 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12369 * comint.el (comint-insert-input): Ignore clicks to the right of
12370 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
12372 * vc.el (vc-print-log-internal): Don't wait for the process to
12373 terminate before setting up the major mode.
12375 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
12378 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
12381 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
12383 2009-12-01 Glenn Morris <rgm@gnu.org>
12385 * window.el (window--display-buffer-2): Fix previous changes.
12387 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
12389 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
12391 2009-12-01 Glenn Morris <rgm@gnu.org>
12393 * Makefile.in (ELCFILES): Add mpc.elc.
12395 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12397 * mpc.el: New file.
12399 2009-12-01 Glenn Morris <rgm@gnu.org>
12401 * window.el (window-to-use): Define for compiler.
12403 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
12404 consistent with others (no final period).
12406 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
12407 (rmail-mime-show): Downcase the encoding. (Bug#5070)
12409 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
12411 Make vc-print-log buttons work.
12412 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
12414 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
12416 * savehist.el (savehist-autosave-interval): Allow setting to nil
12417 through customize. (Bug#5056)
12419 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
12421 Fix references to jit-lock properties.
12422 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
12423 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
12424 (perl-font-lock-special-syntactic-constructs):
12425 Quote jit-lock-defer-multiline property.
12427 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
12429 * vc-git.el (vc-git-registered): Call vc-git-root only once.
12431 2009-11-30 Juri Linkov <juri@jurta.org>
12433 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
12434 value `buffer' of `multi-isearch-next-buffer-current-function'.
12435 Use `(current-buffer)' when `buffer' is nil.
12436 (multi-isearch-next-buffer-from-list): Don't fallback to
12437 `(current-buffer)' when `buffer' is nil. (Bug#4947)
12439 2009-11-30 Juri Linkov <juri@jurta.org>
12441 * misearch.el (multi-isearch-read-buffers): Move canonicalization
12442 of buffers with `get-buffer' to `multi-isearch-buffers'.
12443 (multi-isearch-buffers, multi-isearch-buffers-regexp):
12444 Canonicalize BUFFERS with `get-buffer'. Doc fix.
12445 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
12446 FILES with `expand-file-name' converting relative file names
12447 to absolute. Doc fix. (Bug#4727)
12449 2009-11-30 Juri Linkov <juri@jurta.org>
12451 * misearch.el (multi-isearch-read-buffers)
12452 (multi-isearch-read-matching-buffers): New functions.
12453 (multi-isearch-buffers, multi-isearch-buffers-regexp):
12454 Use them in the `interactive' spec. Doc fix.
12455 (multi-isearch-read-files, multi-isearch-read-matching-files):
12457 (multi-isearch-files, multi-isearch-files-regexp):
12458 Use them in the `interactive' spec. Doc fix. (Bug#4725)
12460 2009-11-30 Juri Linkov <juri@jurta.org>
12462 * doc-view.el (doc-view-continuous):
12463 Rename from `doc-view-continuous-mode'.
12464 (doc-view-menu): Move "Toggle display" to the top.
12465 Add submenu "Continuous" with radio buttons "Off"/"On"
12466 and "Save as Default".
12467 (doc-view-scroll-up-or-next-page)
12468 (doc-view-scroll-down-or-previous-page)
12469 (doc-view-next-line-or-next-page)
12470 (doc-view-previous-line-or-previous-page):
12471 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
12473 2009-11-30 Juri Linkov <juri@jurta.org>
12475 * comint.el (comint-mode-map): Rebind `M-r' from
12476 `comint-previous-matching-input' to
12477 `comint-history-isearch-backward-regexp'.
12478 Unbind `M-s' to allow global key binding `M-s'.
12479 Add menu items for `comint-history-isearch-backward' and
12480 `comint-history-isearch-backward-regexp'. (Bug#3746)
12482 2009-11-30 Juri Linkov <juri@jurta.org>
12484 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
12485 For def=recenter, replace `recenter' with `recenter-top-bottom'
12486 that is called with `this-command' and `last-command' let-bound
12487 to `recenter-top-bottom'. When the last `def' was not `recenter',
12488 set `recenter-last-op' to nil. (Bug#4981)
12490 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
12492 Minor cleanup and simplification.
12493 * filecache.el (file-cache-add-directory)
12494 (file-cache-add-directory-recursively)
12495 (file-cache-add-from-file-cache-buffer)
12496 (file-cache-delete-file-regexp, file-cache-delete-directory)
12497 (file-cache-files-matching-internal, file-cache-display): Use dolist.
12498 (file-cache-temp-minibuffer-message): Delete function.
12499 (file-cache-minibuffer-complete): Use minibuffer-message instead.
12501 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
12502 Don't signal an error when bumping into EOB in tr, s, or y.
12504 2009-11-29 Juri Linkov <juri@jurta.org>
12506 * startup.el (fancy-about-text): Fix wording of Guided Tour.
12509 * descr-text.el (describe-char-unidata-list): Use lowercase name
12510 for "Unicode name" like in other tags.
12512 2009-11-29 Juri Linkov <juri@jurta.org>
12514 * ediff-util.el (ediff-minibuffer-with-setup-hook):
12515 New compatibility macro.
12516 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
12518 2009-11-29 Juri Linkov <juri@jurta.org>
12520 Add defcustom to define the cycling order of `recenter-top-bottom'.
12523 * window.el (recenter-last-op): Doc fix.
12524 (recenter-positions): New defcustom.
12525 (recenter-top-bottom): Rewrite to use `recenter-positions'.
12526 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
12528 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
12530 Improve integration of Tramp and ange-ftp in eshell.
12532 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
12533 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
12534 (eshell/sudo): Flatten args. Let-bind `default-directory'.
12536 * eshell/esh-util.el (top): Require also Tramp when compiling.
12537 (eshell-directory-files-and-attributes): Check for FTP remote
12539 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
12540 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
12541 (eshell-file-attributes): Handle ".". Return `entry'.
12543 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
12544 (ange-ftp-directory-files-and-attributes)
12545 (ange-ftp-real-directory-files-and-attributes): New defuns.
12547 * net/tramp.el (tramp-maybe-open-connection): Open the remote
12548 shell with "exec" when possible. This prevents trailing prompts
12549 in `start-file-process'.
12551 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12553 Try and remove assumptions about point-min==1.
12554 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
12555 (rng-compute-mode-line-string): Show the validation percentage in
12556 terms of the narrowed text, not the widened text.
12557 (rng-do-some-validation): Don't catch internal errors when debugging.
12558 (rng-first-error): Simplify.
12559 (rng-after-change-function): Remove work around. AFAIK the bug has
12560 been fixed a while ago.
12562 * image-mode.el (image-minor-mode): Exit more gracefully when the image
12563 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
12565 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
12567 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
12568 `cd' doesn't always do it for us (bug#5067).
12570 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
12571 on 2009-10-25 as part of some other change (bug#5067).
12573 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
12575 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
12577 (byte-compile-warnings): Use byte-compile-warning-types.
12578 (byte-compile-save-excursion): Warn about use of set-buffer right
12579 after save-excursion.
12581 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
12582 the excursion as well.
12584 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
12586 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
12587 providing a Tramp related implementation of "su" and "sudo".
12588 (eshell-unix-initialize): Add "su" and "sudo".
12590 2009-11-27 Daiki Ueno <ueno@unixuser.org>
12592 * net/socks.el (socks-send-command): Convert binary request to
12593 unibyte before sending. This fixes mishandling of some port
12594 numbers such as 129.
12596 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
12598 * help.el (describe-bindings-internal): Remove `interactive'.
12600 * man.el (Man-completion-table): Trim a terminating "(".
12601 Remove the space between name page a section.
12602 Add the command's description on the `help-echo' property.
12603 Remove `process-connection-type' binding since it's unused by
12605 Provide completion for the "<section> <name>" format as well.
12606 (Man-default-man-entry): Remove spurious var shadowing the argument.
12608 2009-11-26 Kevin Ryde <user42@zip.com.au>
12610 * log-view.el: Add "Keywords: tools", since its other keywords
12611 aren't in finder-known-keywords, and following vc.el.
12613 * sha1.el (sha1-string-external): default-directory "/" in case
12614 otherwise non-existent. process-connection-type pipe for touch of
12615 efficiency recommended by elisp manual. (An aside in Bug#3911.)
12617 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
12619 Misc coding convention cleanups.
12620 * htmlfontify.el (hfy-init-kludge-hook): Rename from
12621 hfy-init-kludge-hooks.
12622 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
12623 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
12624 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
12626 (hfy-slant, hfy-weight): Use tables rather than code.
12627 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
12628 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
12629 (hfy-face-attr-for-class): Initialize `face-spec' directly.
12630 (hfy-face-to-css): Remove `nconc' with single arg.
12631 (hfy-p-to-face-lennart): Use `or'.
12632 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
12633 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
12634 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
12635 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
12636 (hfy-force-fontification): Use run-hooks.
12638 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
12640 Various minor fixes.
12641 * htmlfontify.el (hfy-default-header): Add toggle_invis since
12642 Javascript belongs in the header, not the body.
12643 (hfy-javascript): Remove.
12644 (hfy-fontify-buffer): Don't insert it any more.
12645 (hfy-face-at): Handle (face0 face1 face2) style face properties.
12646 Fix bug in invis handling when there were no invis props in a chunk.
12648 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
12650 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
12652 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
12654 * finder.el (finder-mode-map): Add a menu.
12656 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
12658 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
12659 "unsigned" structs.
12661 (verilog-leap-to-head, verilog-backward-token): Handle "disable
12662 fork" statement better.
12664 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
12666 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
12667 (verilog-delete-auto, verilog-delete-empty-auto-pair)
12668 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
12669 Reported by Clay Douglass.
12671 (verilog-auto-inst, verilog-auto-star-safe)
12672 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
12673 Fix removing "// Interfaces" when saving .* expansions.
12674 Reported by Pierre-David Pfister.
12676 2009-11-26 Glenn Morris <rgm@gnu.org>
12678 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
12681 2009-11-25 Johan Bockgård <bojohan@gnu.org>
12683 * vc-annotate.el (vc-annotate-revision-previous-to-line):
12684 Really use previous revision.
12686 2009-11-25 Kevin Ryde <user42@zip.com.au>
12688 * man.el (Man-completion-table): default-directory "/" in case
12689 doesn't otherwise exist. process-environment COLUMNS=999 so as
12690 not to truncate long names. process-connection-type pipe to avoid
12691 any chance of hitting the pseudo-tty TIOCGWINSZ.
12692 (man): completion-ignore-case t for friendliness and since man
12693 itself is case-insensitive on the command line.
12694 Further to Bug#3717.
12696 * arc-mode.el: Add "Keywords: files", so the details in its
12697 commentary can be reached from finder-by-keyword.
12698 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
12699 editing mode, but it's comms related and sgml-mode.el has "comm"
12701 * textmodes/bibtex-style.el: Add "Keywords: tex".
12702 * international/isearch-x.el, international/ja-dic-cnv.el:
12703 * international/ja-dic-utl.el, international/kkc.el:
12704 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
12706 2009-11-25 Juri Linkov <juri@jurta.org>
12708 * man.el (Man-completion-table): Modify regexp to include
12709 section names to completion strings. (Bug#3717)
12711 2009-11-25 Juri Linkov <juri@jurta.org>
12713 Search recursively in gzipped files. (Bug#4982)
12715 * progmodes/grep.el (grep-highlight-matches): Add new options
12716 `always' and `auto'. Doc fix.
12717 (grep-process-setup): Check `grep-highlight-matches' for
12718 `auto-detect' to determine the need to compute grep defaults.
12719 Move Windows/DOS specific --colors settings handling
12720 to `grep-compute-defaults'. Check `grep-highlight-matches'
12721 to get the value of "--color=".
12722 (grep-compute-defaults): Compute `grep-highlight-matches' when it
12723 has the value `auto-detect'. Move Windows/DOS specific settings
12724 from `grep-process-setup'.
12725 (zrgrep): New command with alias `rzgrep'.
12727 2009-11-25 Juri Linkov <juri@jurta.org>
12729 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
12730 to nil instead of switching off view-mode. (Bug#4896)
12732 2009-11-25 Juri Linkov <juri@jurta.org>
12734 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
12736 * mwheel.el (mwheel-scroll-up-function)
12737 (mwheel-scroll-down-function): New defvars.
12738 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
12739 `scroll-up', and `mwheel-scroll-down-function' instead of
12742 * doc-view.el (doc-view-scroll-up-or-next-page)
12743 (doc-view-scroll-down-or-previous-page): Add optional ARG.
12744 Use this ARG in the call to image-scroll-up/image-scroll-down.
12745 Change `interactive' spec to "P". Goto next/previous page only
12746 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
12747 SPC/DEL case). Doc fix.
12748 (doc-view-next-line-or-next-page)
12749 (doc-view-previous-line-or-previous-page): Rename arg to ARG
12751 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
12752 `doc-view-scroll-up-or-next-page', and buffer-local
12753 `mwheel-scroll-down-function' to
12754 `doc-view-scroll-down-or-previous-page'.
12756 2009-11-25 Juri Linkov <juri@jurta.org>
12758 Provide additional default values (directories at other Dired
12759 windows) via M-n in the minibuffer of some Dired commands.
12761 * dired-aux.el (dired-diff, dired-compare-directories)
12762 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
12763 `minibuffer-default' in `minibuffer-with-setup-hook'.
12764 (dired-dwim-target-directory): Find a window that displays Dired
12765 buffer instead of failing when the next window is not Dired.
12766 Use `get-window-with-predicate' to find for the next Dired window.
12767 (dired-dwim-target-defaults): New function.
12769 * ediff-util.el (ediff-read-file-name):
12770 Use `dired-dwim-target-defaults' to set `minibuffer-default'
12771 in `minibuffer-with-setup-hook'.
12773 2009-11-25 Juri Linkov <juri@jurta.org>
12775 Provide additional default values (file name at point or at the
12776 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
12778 * minibuffer.el (read-file-name-defaults): New function.
12779 (read-file-name): Reset `minibuffer-default' to nil when
12780 it duplicates initial input `insdef'.
12781 Bind `minibuffer-default-add-function' to lambda that
12782 calls `read-file-name-defaults' in `minibuffer-selected-window'.
12783 (minibuffer-insert-file-name-at-point): New command.
12785 * files.el (file-name-at-point-functions): New defcustom.
12786 (find-file-default): Remove defvar.
12787 (find-file-read-args): Don't use `find-file-default'.
12788 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
12789 to `read-file-name'.
12790 (find-file-literally): Use `read-file-name' with
12791 `confirm-nonexistent-file-or-buffer'.
12793 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
12795 * dired.el (dired-read-dir-and-switches):
12796 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
12797 to `read-file-name'.
12798 (dired-file-name-at-point): New function.
12799 (dired-mode): Add hook `dired-file-name-at-point' to
12800 `file-name-at-point-functions'.
12802 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
12804 Really make the *Completions* window soft-dedicated (bug#5030).
12805 * window.el (window--display-buffer-2): Add `dedicated' argument.
12806 (display-buffer): Pass it when needed so the dedicated flag is set
12807 after calling set-window-buffer, which would otherwise reset it.
12809 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
12811 * progmodes/meta-mode.el (meta-complete-symbol):
12812 * progmodes/etags.el (complete-tag):
12813 * mail/mailabbrev.el (mail-abbrev-complete-alias):
12814 Use completion-in-region.
12816 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
12817 (dabbrev-completion): Use completion-in-region.
12818 (dabbrev--abbrev-at-point): Simplify regexp.
12820 * abbrev.el (abbrev--before-point): Use word-motion functions
12821 if :regexp is not specified (bug#5031).
12823 * subr.el (string-prefix-p): New function.
12825 * man.el (Man-completion-cache): New var.
12826 (Man-completion-table): Use it.
12828 * vc.el (vc-print-log-internal): Make `limit' optional for better
12829 compatibility (e.g. with vc-annotate.el).
12831 2009-11-24 Kevin Ryde <user42@zip.com.au>
12833 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
12834 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
12836 * emacs-lisp/elint.el (elint-add-required-env): Better error message
12837 when .el source file not found or other error.
12839 2009-11-24 Markus Triska <markus.triska@gmx.at>
12841 * linum.el (linum-update-window): Ignore intangible (bug#4996).
12843 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
12845 Handle the [back] button properly (bug#4979).
12846 * descr-text.el (describe-text-properties): Add a `buffer' argument.
12847 Use help-setup-xref, help-buffer, and with-help-window.
12848 (describe-char): Add `buffer' argument.
12849 Pass proper command to help-setup-xref. Don't meddle with
12850 help-xref-stack-item directly.
12851 (describe-text-category): Use with-help-window and help-buffer.
12853 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
12854 for the displayed buffer (bug#4887).
12856 * man.el (Man-completion-table): New function.
12859 2009-11-24 David Reitter <david.reitter@gmail.com>
12861 * vc-git.el (vc-git-registered): Use checkout directory (where
12862 .git is) rather than the file's directory and a relative path spec
12863 to work around a bug in git.
12865 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
12867 Improve handling of processes on remote hosts.
12869 * eshell/esh-util.el (eshell-path-env): New defvar.
12870 (eshell-parse-colon-path): New defun.
12871 (eshell-file-attributes): Use `eshell-parse-colon-path'.
12873 * eshell/esh-ext.el (eshell-search-path):
12874 Use `eshell-parse-colon-path'.
12875 (eshell-remote-command): Remove argument HANDLER.
12876 (eshell-external-command): Check for FTP remote connection.
12878 * eshell/esh-proc.el (eshell-gather-process-output):
12879 Use `file-truename', in order to start also symlinked files.
12880 Apply `start-file-process' instead of `start-process'.
12881 Shorten `command' to the local file name part.
12883 * eshell/em-cmpl.el (eshell-complete-commands-list):
12884 Use `eshell-parse-colon-path'.
12886 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
12888 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
12889 to `eshell-directory-change-hook'.
12891 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
12893 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
12894 because it could be enabled automatically if view-read-only is non-nil.
12896 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
12898 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
12899 made on 2009-11-22.
12901 2009-11-24 Glenn Morris <rgm@gnu.org>
12903 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
12904 deleted variable bookmark-bmenu-bookmark-column.
12906 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
12908 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
12910 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
12912 * net/browse-url.el (browse-url-filename-alist): On Windows, add
12913 two slashes to the "file:" prefix.
12914 (browse-url-file-url): De-munge Cygwin filenames before passing
12915 them to Windows browser.
12916 (browse-url-default-windows-browser): Use call-process.
12918 2009-11-23 Juri Linkov <juri@jurta.org>
12920 Implement DocView Continuous mode. (Bug#4896)
12921 * doc-view.el (doc-view-continuous-mode): New defcustom.
12922 (doc-view-mode-map): Bind C-n/<down> to
12923 `doc-view-next-line-or-next-page', C-p/<up> to
12924 `doc-view-previous-line-or-previous-page'.
12925 (doc-view-next-line-or-next-page)
12926 (doc-view-previous-line-or-previous-page): New commands.
12928 2009-11-23 Juri Linkov <juri@jurta.org>
12930 Implement Isearch in comint input history. (Bug#3746)
12931 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
12932 `isearch-mode-hook'.
12933 (comint-history-isearch): New defcustom.
12934 (comint-history-isearch-backward)
12935 (comint-history-isearch-backward-regexp): New commands.
12936 (comint-history-isearch-message-overlay): New buffer-local variable.
12937 (comint-history-isearch-setup, comint-history-isearch-end)
12938 (comint-goto-input, comint-history-isearch-search)
12939 (comint-history-isearch-message, comint-history-isearch-wrap)
12940 (comint-history-isearch-push-state)
12941 (comint-history-isearch-pop-state): New functions.
12943 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
12945 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
12947 (tramp-handle-make-symbolic-link)
12948 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
12950 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
12951 (tramp-handle-process-file): Use it.
12953 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
12955 * window.el (move-to-window-line-last-op): Remove.
12956 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
12958 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
12960 Make M-r mirror the new cycling behavior of C-l.
12961 * window.el (move-to-window-line-last-op): New var.
12962 (move-to-window-line-top-bottom): New command.
12963 (global-map): Bind M-r move-to-window-line-top-bottom.
12965 2009-11-23 Sven Joachim <svenjoac@gmx.de>
12967 * dired-x.el (dired-guess-shell-alist-default):
12968 Support xz format. (Bug#4953)
12970 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
12972 * emulation/viper-cmd.el: Use viper-last-command-char instead of
12973 last-command-char/last-command-event.
12974 (viper-prefix-arg-value): Do correct conversion of event-char for
12977 * emulation/viper-util.el, emulation/viper.el:
12978 Use viper-last-command-char instead of
12979 last-command-char/last-command-event.
12981 * ediff-init.el, ediff-mult.el, ediff-util.el:
12982 Replace last-command-char and last-command-event
12983 with (ediff-last-command-char) everywhere.
12985 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
12986 created in fundamental mode.
12988 * ediff.el (ediff-version): Revert the change of interactive-p to
12989 called-interactively-p.
12991 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
12993 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
12994 generation from word-movement command names.
12996 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
12998 * cus-start.el (all): Add native condition for font-use-system-font.
13000 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
13002 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
13003 Correct the patch from 2009-11-18. (Bug#3910)
13005 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
13007 * progmodes/subword.el: Rename from lisp/subword.el.
13009 * subword.el: Rename to progmodes/subword.el.
13011 * Makefile.in (ELCFILES): Adapt to subword.el move.
13013 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13014 Stefan Monnier <monnier@iro.umontreal.ca>
13016 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
13017 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
13018 (bookmark-bmenu-show-filenames): Use push.
13019 (bookmark-bmenu-hide-filenames): Use local var instead of
13020 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
13021 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
13022 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
13023 filenames now that the bookmark names are always available.
13025 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
13027 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
13028 (bookmark-search-pattern): Move and leave unbound.
13029 (bookmark-bmenu-mode-map): Change binding.
13030 (bookmark-read-search-input): Simplify.
13031 Don't use text-char-description. Don't error on non-char events.
13032 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
13033 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
13034 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
13035 Use a local var for the timer.
13036 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
13037 (i.e. bookmark-bmenu-search).
13039 2009-11-21 Glenn Morris <rgm@gnu.org>
13041 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
13043 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
13045 * net/browse-url.el (browse-url-default-windows-browser):
13046 Use cygstart for cygwin.
13048 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
13050 * bookmark.el: Formatting and doc fixes only:
13051 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
13052 (bookmark-bmenu-search): Wrap to fit within 80 columns.
13053 Minor grammar and punctuation fixes in doc string.
13054 (bookmark-read-search-input): Adjust to fit within 80 columns.
13056 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
13058 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
13059 (c-backward-into-nomenclature): Adapt to subword renaming.
13061 * subword.el (subword-forward, subword-backward, subword-mark)
13062 (subword-kill, subword-backward-kill, subword-transpose)
13063 (subword-downcase, subword-upcase, subword-capitalize)
13064 (subword-forward-internal, subword-backward-internal):
13065 Rename from forward-subword, backward-subword, mark-subword,
13066 kill-subword, backward-kill-subword, transpose-subwords,
13067 downcase-subword, upcase-subword, capitalize-subword,
13068 forward-subword-internal, backward-subword-internal.
13070 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13072 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
13074 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
13076 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
13077 (bookmark-bmenu-filter-alist-by-regexp)
13078 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
13079 (bookmark-bmenu-search): New command.
13080 (bookmark-bmenu-mode-map): Bind it.
13082 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
13084 * progmodes/cc-cmds.el: declare-functioned forward-subword and
13085 backward-subword to quit the byte-compiler.
13087 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
13089 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
13091 * progmodes/cc-cmds.el (c-update-modeline)
13092 (c-forward-into-nomenclature, c-backward-into-nomenclature):
13093 Refer to subword.el functions instead of cc-subword.el.
13095 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
13096 subword.el functions instead of cc-subword.el.
13098 * progmodes/cc-subword.el: Rename to subword.el.
13099 * subword.el: Rename from progmodes/cc-subword.el.
13100 (subword-mode-map): Rename from c-subword-mode-map.
13101 (subword-mode): Rename from c-subword-mode.
13102 (global-subword-mode): New global minor mode.
13103 (forward-subword): Rename from c-forward-subword.
13104 (backward-subword): Rename from c-backward-subword.
13105 (mark-subword): Rename from c-mark-subword.
13106 (kill-subword): Rename from c-kill-subword.
13107 (backward-kill-subword): Rename from c-backward-kill-subword.
13108 (transpose-subwords): Rename from c-tranpose-subword.
13109 (downcase-subword): Rename from c-downcase-subword.
13110 (capitalize-subword): Rename from c-capitalize-subword.
13111 (forward-subword-internal): Rename from c-forward-subword-internal.
13112 (backward-subword-internal): Rename from c-backward-subword-internal.
13114 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
13116 * vc.el (vc-deduce-fileset): Allow non-state changing operations
13117 from a dired buffer.
13118 (vc-dired-deduce-fileset): New function.
13119 (vc-root-diff, vc-print-root-log): Use it.
13121 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
13122 nil LIMIT argument to vc-print-log-internal.
13124 2009-11-20 Glenn Morris <rgm@gnu.org>
13126 * Makefile.in (ELCFILES): Regenerate.
13128 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
13130 * calc/calc.el (calc-set-mode-line):
13131 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13132 (math-format-number): Rename `math-format-complement-signed' to
13133 `math-format-twos-complement'.
13135 * calc/calc-bin.el (math-format-twos-complement): Rename from
13136 math-format-complement-signed.
13137 (calc-radix): Rename `calc-complement-signed-mode' to
13138 `calc-twos-complement-mode'.
13139 (calc-octal-radix, calc-hex-radix): Add an argument for
13142 * calc/calc-embed.el (calc-embedded-mode-vars):
13143 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13145 * calc/calc-ext.el (calc-init-extensions):
13146 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13147 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
13149 * calc/calc-units.el (math-build-units-table-buffer):
13150 Let `calc-twos-complement-mode' be nil.
13152 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
13155 * calc/calc-vec.el (calcFunc-vunpack):
13156 * calc/calc-aent.el (calc-do-calc-eval):
13157 * calc/calc-forms.el (math-format-date):
13158 * calc/calc-graph.el (calc-graph-plot):
13159 * calc/calc-math.el (math-use-emacs-fn):
13160 * calc/calccomp.el (math-compose-expr):
13161 Let `calc-twos-complement-mode' be nil.
13163 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
13165 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
13166 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
13167 * minibuffer.el (completion-in-region-functions): New hook.
13168 (completion-in-region): New function.
13169 * emacs-lisp/lisp.el (lisp-complete-symbol):
13170 * pcomplete.el (pcomplete-std-complete): Use it.
13172 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
13174 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
13175 (latex-complete-alist): New vars.
13176 (latex-string-prefix-p, latex-complete-bibtex-keys)
13177 (latex-complete-envnames, latex-complete-refkeys)
13178 (latex-complete-data): New functions.
13179 (latex-complete, latex-indent-or-complete): New commands.
13181 * window.el (display-buffer-mark-dedicated): New var.
13182 (display-buffer): Obey it.
13183 * minibuffer.el (minibuffer-completion-help): Use it.
13185 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
13187 * filecache.el (file-cache-add-file): Use push and cons.
13188 (file-cache-delete-file-regexp): Use push.
13189 (file-cache-complete): Use completion-in-region.
13191 * simple.el (with-wrapper-hook): Fix thinko.
13193 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
13194 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
13195 Use with-current-buffer and string-to-number.
13196 (hfy-fallback-colour-values): Use assoc-string.
13197 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
13198 (hfy-face-at): Remove unused var `found-face'.
13199 (hfy-compile-stylesheet): Remove unused var `css'.
13200 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
13202 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
13203 Use with-current-buffer.
13204 (hfy-text-p): Use expand-file-name and fewer setq.
13206 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
13208 * htmlfontify.el, hfy-cmap.el: New files.
13210 2009-11-19 Juri Linkov <juri@jurta.org>
13212 * minibuffer.el (completions-format): New defcustom.
13213 (completion--insert-strings): Implement vertical format.
13215 * simple.el (switch-to-completions): Move point to the first
13216 completion when point was at the beginning of the buffer.
13218 2009-11-19 Juri Linkov <juri@jurta.org>
13220 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
13222 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
13224 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
13226 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
13227 (mail-signature): Change default to t.
13228 (mail-from-style): Deprecate `system-default' value.
13229 (mail-insert-from-field): For default value of mail-from-style,
13230 default to `angles' unless `angles' needs quoting and `parens'
13232 (mail-citation-prefix-regexp): Use citation regexp from
13235 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
13237 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13238 Set variables for computing the prompt for reading password.
13240 2009-11-19 Glenn Morris <rgm@gnu.org>
13242 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
13244 * textmodes/flyspell.el (sgml-lexical-context): Declare.
13246 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
13247 (newsticker-treeview-listwindow-height): Fix custom type.
13249 2009-11-19 Kenichi Handa <handa@m17n.org>
13251 * descr-text.el (describe-char-padded-string): Compose with TAB
13252 only if there's a font for CH.
13253 (describe-char): Fix the condition for detecting a trivial composition.
13255 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
13257 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
13258 more accurate version of the regexp. (Bug#3910)
13260 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
13262 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
13264 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
13266 * font-setting.el (font-use-system-font): Declare for byte-compiler.
13267 (font-setting-change-default-font): Fix typo in docstring.
13269 2009-11-18 Alan Mackenzie <acm@muc.de>
13271 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
13273 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
13275 * font-setting.el (font-use-system-font): Move ...
13277 * cus-start.el (all): ... to here.
13279 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
13281 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
13282 Don't set `ad-return-value' if `ad-do-it' doesn't.
13284 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
13287 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
13289 * menu-bar.el: Put "Use system font" in Option-menu.
13290 (menu-bar-options-save): Add font-use-system-font.
13292 * loadup.el: If feature system-font-setting or font-render-setting is
13293 there, load font-setting.
13295 * Makefile.in (ELCFILES): Add font-settings.el.
13296 * font-setting.el: New file.
13298 2009-11-17 Glenn Morris <rgm@gnu.org>
13300 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
13302 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
13303 Preserve point in the list buffer. (Bug#4939)
13305 (newsticker--treeview-list-update-highlight)
13306 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
13308 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
13310 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
13313 * calc/calc-ext.el (calc-init-extensions): Remove references to
13316 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
13318 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
13319 * calc/calc-help.el (calc-b-prefix-help): Remove references to
13322 2009-11-16 Kevin Ryde <user42@zip.com.au>
13324 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
13325 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
13327 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
13328 (lm-keywords-list): Allow comma-only separator like "foo,bar".
13329 Ignore trailing spaces by omit-nulls to split-string (fixing
13330 regression from Emacs 21 due to the incompatible split-string
13331 change). (Bug #4928.)
13333 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
13335 * vc.el (vc-log-show-limit): Default to 2000.
13336 (vc-print-log-internal): Insert buttons to request more entries
13337 when limiting the output.
13339 * vc-sccs.el (vc-sccs-print-log):
13340 * vc-rcs.el (vc-rcs-print-log):
13341 * vc-cvs.el (vc-cvs-print-log):
13342 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
13345 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
13347 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
13348 error when `tramp-gvfs-dbus-event-vector' is set.
13349 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
13351 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
13353 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
13355 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
13357 * net/dbus.el (dbus-unregister-service): New defun.
13358 (dbus-register-property): Register the handlers of
13359 "org.freedesktop.DBus.Properties" for SERVICE.
13360 (dbus-property-handler): Fix docstring.
13362 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13364 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
13365 Quote doc string reference in defvaralias as it is not in special form.
13366 (byte-compile-output-docform): Doc fix.
13368 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
13370 * calc/calc.el (math-2-word-size, math-half-2-word-size)
13371 (calc-complement-signed-mode): New variables.
13372 (calc-set-mode-line): Add indicator for twos-complements.
13373 (math-format-number): Format twos-complement notation.
13375 * calc/calc-bin.el (calc-word-size): Reset the variables
13376 `math-2-word-size' and `math-half-2-word-size'.
13377 (math-format-complement-signed, math-symclip, calcFunc-symclip)
13378 (calc-symclip): New functions.
13380 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
13382 * calc/calc-embed.el (calc-embedded-mode-vars):
13383 Add `calc-complement-signed-mode' to the list of modes.
13385 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
13386 (calc-b-oper-keys): Add `calc-symclip' to list.
13388 * calc/calc-ext.el (math-read-number-fancy): Read complement
13390 (calc-init-extensions): Add binding for `calc-symclip'.
13391 Add autoload for `calcFunc-symclip' and `calc-symclip'.
13393 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
13395 (calc-modes-menu): Add item for twos complement mode.
13397 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
13399 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
13401 * register.el (jump-to-register, insert-register): Handle Semantic
13402 tags. From commented-out advice in semantic/senator.el.
13404 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
13406 * vc.el (vc-log-show-limit): New variable.
13407 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
13408 when using a prefix argument.
13409 (vc-print-log-internal): Add new argument LIMIT.
13411 * vc-svn.el (vc-svn-print-log):
13412 * vc-mtn.el (vc-mtn-print-log):
13413 * vc-hg.el (vc-hg-print-log):
13414 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
13415 pass it to the log command when set. Make the BUFFER argument
13418 * vc-sccs.el (vc-sccs-print-log):
13419 * vc-rcs.el (vc-rcs-print-log):
13420 * vc-git.el (vc-git-print-log):
13421 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
13422 ignore it. Make the BUFFER argument non-optional
13424 * bindings.el (mode-line-buffer-identification): Do not purecopy.
13426 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
13428 * dired.el (dired-mode-map): Move encryption items to "Operate"
13431 * strokes.el (strokes-update-window-configuration): Make strokes
13432 buffer current before erasing (Bug#4906).
13434 2009-11-15 Juri Linkov <juri@jurta.org>
13436 * simple.el (set-mark-default-inactive): Add :type, :group
13437 and :version. (Bug#4876)
13439 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
13441 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
13442 (archive-unique-fname): ... here. (Bug#4929)
13444 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
13446 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
13449 * novice.el (disabled-command-function): Add useful args.
13450 Setup the help buffer so that [back] works.
13451 Remove redundant call to help-mode.
13452 (disabled-command-function): Use `case'.
13453 (en/disable-command): New function extracted from enable-command.
13454 (enable-command, disable-command): Use it.
13456 2009-11-14 Glenn Morris <rgm@gnu.org>
13458 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
13459 constants. (Bug#4913)
13461 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
13463 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
13465 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
13466 defined in C that have no doc-strings. (Bug#1063)
13468 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
13470 * cus-edit.el (data, files):
13471 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
13473 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
13475 * simple.el (shell-command): Doc fix (Bug#4891).
13477 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
13479 2009-11-14 Glenn Morris <rgm@gnu.org>
13481 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
13482 statements for vc-diff, emerge-quit, and rmail-cease-edit.
13483 If they are already loaded, eval-after-load will do the right thing.
13485 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
13488 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
13490 * simple.el (x-selection-owner-p): Declare.
13491 (read-mail-command): Use custom radio type rather than choice.
13492 (completion-no-auto-exit): Doc fix.
13494 * custom.el (defgroup):
13495 * epg-config.el (epg): Doc fixes.
13497 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
13499 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
13500 * international/ccl.el (define-ccl-program): Do not purecopy the
13501 docstring, defconst does it anyway.
13503 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
13505 * add-log.el (add-change-log-entry): Avoid displaying the changelog
13508 * x-dnd.el (x-dnd-maybe-call-test-function):
13509 * window.el (split-window-vertically):
13510 * whitespace.el (whitespace-help-on):
13511 * vc-rcs.el (vc-rcs-consult-headers):
13512 * userlock.el (ask-user-about-lock-help)
13513 (ask-user-about-supersession-help):
13514 * type-break.el (type-break-force-mode-line-update):
13515 * time-stamp.el (time-stamp-conv-warn):
13516 * terminal.el (te-set-output-log, te-more-break, te-filter)
13517 (te-sentinel, terminal-emulator):
13518 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
13519 (term-write-input-ring, term-check-source, term-start-output-log):
13520 (term-display-buffer-line, term-dynamic-list-completions):
13521 (term-ansi-make-term, serial-term):
13522 * subr.el (selective-display):
13523 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
13524 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
13525 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
13526 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
13527 (speedbar-remove-localized-speedbar-support)
13528 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
13529 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
13530 (speedbar-buffers-line-directory):
13531 * simple.el (shell-command-on-region, append-to-buffer)
13532 (prepend-to-buffer):
13533 * shadowfile.el (shadow-save-todo-file):
13534 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
13535 (scroll-bar-maybe-set-window-start):
13536 * sb-image.el (speedbar-image-dump):
13537 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
13538 (load-save-place-alist-from-file):
13539 * ps-samp.el (ps-print-message-from-summary):
13540 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
13541 (ps-background-image, ps-begin-job, ps-do-despool):
13542 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
13543 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
13544 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
13545 (pr-call-process, pr-file-list, pr-interface-save):
13546 * novice.el (disabled-command-function)
13547 (enable-command, disable-command):
13548 * mouse.el (mouse-buffer-menu-alist):
13549 * mouse-copy.el (mouse-kill-preserving-secondary):
13550 * macros.el (kbd-macro-query):
13551 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
13552 * informat.el (batch-info-validate):
13553 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
13554 * hippie-exp.el (try-expand-dabbrev-visible):
13555 * help-mode.el (help-make-xrefs):
13556 * help-fns.el (describe-variable):
13557 * generic-x.el (bat-generic-mode-run-as-comint):
13558 * finder.el (finder-mouse-select):
13559 * find-dired.el (find-dired-sentinel):
13560 * filesets.el (filesets-file-close):
13561 * files.el (list-directory):
13562 * faces.el (list-faces-display, describe-face):
13563 * facemenu.el (list-colors-display):
13564 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
13565 * epg.el (epg--process-filter, epg-cancel):
13566 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
13567 (epa--read-signature-type):
13568 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
13569 (emerge-file-names):
13570 * ehelp.el (electric-helpify):
13571 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
13572 * ediff-vers.el (rcs-ediff-view-revision):
13573 * ediff-util.el (ediff-setup):
13574 * ediff-mult.el (ediff-append-custom-diff):
13575 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
13577 * echistory.el (Electric-command-history-redo-expression):
13578 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
13579 * disp-table.el (describe-display-table):
13580 * dired.el (dired-find-buffer-nocreate):
13581 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
13582 * dabbrev.el (dabbrev--same-major-mode-p):
13583 * chistory.el (list-command-history):
13584 * apropos.el (apropos-documentation):
13585 * allout.el (allout-obtain-passphrase):
13586 (allout-copy-exposed-to-buffer):
13587 (allout-verify-passphrase): Use with-current-buffer.
13589 2009-11-13 Glenn Morris <rgm@gnu.org>
13591 * Makefile.in (ELCFILES): Regenerate.
13593 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
13595 * net/dbus.el (dbus-registered-objects-table): Rename from
13596 `dbus-registered-functions-table', because it contains also properties.
13597 (dbus-unregister-object): Unregister also properties.
13598 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13599 Use a timeout of 500 msec, in order to not block.
13600 (dbus-register-property, dbus-property-handler): New defuns.
13602 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
13604 * simple.el (minibuffer-default-add-completions): Drop deprecated
13607 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
13609 * textmodes/artist.el (artist-mouse-choose-operation):
13610 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
13611 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
13612 (artist-compute-up-event-key): New function.
13613 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
13615 2009-11-13 Kenichi Handa <handa@m17n.org>
13617 * language/japan-util.el: Make sure that the value of jisx0208
13618 property is jisx0208 character.
13620 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
13622 * international/mule.el (auto-coding-regexp-alist): Only purecopy
13623 car or each item, not the whole list.
13625 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
13627 * minibuffer.el (minibuffer-completion-help):
13628 Use minibuffer-hide-completions.
13630 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
13632 * dired.el (dired-save-positions, dired-restore-positions): New funs.
13633 (dired-revert): Use them (bug#4880).
13635 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
13637 * tooltip.el (tooltip-frame-parameters): Undo previous change.
13639 2009-11-12 Juri Linkov <juri@jurta.org>
13641 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
13643 (find-file-literally-at-point): Alias of `ffap-literally'.
13645 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
13647 * textmodes/ispell.el (ispell-skip-region-alist):
13648 * textmodes/css-mode.el (auto-mode-alist):
13649 * progmodes/compile.el (auto-mode-alist):
13650 * international/mule.el (ctext-non-standard-encodings-alist)
13651 (ctext-non-standard-encodings-regexp):
13652 * simple.el (shell-command-switch, text-read-only):
13653 * replace.el (occur-mode-map):
13654 * paths.el (rmail-file-name):
13655 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
13656 * find-file.el (ff-special-constructs):
13657 * files.el (file-name-handler-alist):
13658 * composite.el: Purecopy strings.
13660 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
13662 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
13664 * widget.el (define-widget): Purecopy the docstring.
13665 * international/mule-cmds.el (charset): Do not purecopy the
13666 docstring here, define-widget does it.
13668 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
13669 * textmodes/bibtex-style.el (auto-mode-alist):
13670 * progmodes/inf-lisp.el (inferior-lisp-prompt):
13671 * progmodes/compile.el (compile-command):
13672 * language/korea-util.el (default-korean-keyboard):
13673 * international/mule-conf.el (file-coding-system-alist):
13674 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
13675 * tooltip.el (tooltip-frame-parameters):
13676 * newcomment.el (comment-end, comment-padding):
13677 * dired.el (dired-trivial-filenames):
13678 * comint.el (comint-file-name-prefix): Purecopy initial values.
13680 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
13682 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
13683 (tramp-advice-minibuffer-electric-tilde): Unload advices via
13685 (tramp-advice-make-auto-save-file-name)
13686 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
13687 after removing the advice.
13689 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
13691 * progmodes/grep.el (grep-regexp-alist):
13692 * international/mule-cmds.el (iso-2022-control-alist):
13693 * emacs-lisp/timer.el (timer-duration-words):
13694 * subr.el (version-separator, version-regexp-alist):
13695 * minibuffer.el (completion-styles-alist):
13696 * faces.el (face-attribute-name-alist, list-faces-sample-text):
13697 Change defvars to defconsts.
13699 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
13700 * loadup.el ("international/mule-conf"): Load the byte compiled version.
13701 * international/mule-conf.el: Allow to be byte compiled.
13703 * international/mule.el (define-charset): Purecopy props.
13704 (load-with-code-conversion): Purecopy doc string and file name.
13705 (put-charset-property): Purecopy strings.
13706 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
13708 * international/mule-cmds.el (register-input-method): Purecopy arguments.
13709 (define-char-code-property): Correctly purecopy the table.
13711 * international/ccl.el (define-ccl-program): Purecopy the docstring.
13713 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
13715 * subr.el (add-hook): Purecopy strings.
13716 (eval-after-load): Purecopy load-history-regexp and the form.
13718 * custom.el (custom-declare-group): Purecopy load-file-name.
13720 * subr.el (menu-bar-separator): New defconst.
13721 * net/eudc.el (eudc-tools-menu):
13722 * international/mule-cmds.el (set-coding-system-map)
13723 (mule-menu-keymap):
13724 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
13725 * vc-hooks.el (vc-menu-map):
13726 * replace.el (occur-mode-map):
13727 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
13728 (menu-bar-edit-menu, menu-bar-goto-menu)
13729 (menu-bar-custom-menu, menu-bar-showhide-menu)
13730 (menu-bar-options-menu, menu-bar-tools-menu)
13731 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
13732 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
13733 (menu-bar-help-menu):
13734 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
13735 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
13737 * term/x-win.el (x-gtk-stock-map):
13738 * progmodes/vera-mode.el (auto-mode-alist):
13739 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
13740 (inferior-lisp-program, inferior-lisp-load-command):
13741 * progmodes/hideshow.el (hs-special-modes-alist):
13742 * progmodes/gud.el (same-window-regexps):
13743 * progmodes/grep.el (grep-program, find-program, xargs-program):
13744 * net/telnet.el (same-window-regexps):
13745 * net/rlogin.el (same-window-regexps):
13746 * language/ethiopic.el (font-ccl-encoder-alist):
13747 * vc-sccs.el (vc-sccs-master-templates):
13748 * vc-rcs.el (vc-rcs-master-templates):
13749 * subr.el (cl-assertion-failed):
13750 * simple.el (next-error-overlay-arrow-position):
13751 * lpr.el (lpr-command):
13752 * locate.el (locate-ls-subdir-switches):
13753 * info.el (same-window-regexps, info)
13754 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
13755 * image-mode.el (image-mode, auto-mode-alist):
13756 * hippie-exp.el (hippie-expand-ignore-buffers):
13757 * format.el (format-alist):
13758 * find-dired.el (find-ls-subdir-switches, find-grep-options)
13760 * facemenu.el (facemenu-keybindings):
13761 * dired.el (dired-listing-switches, dired-chown-program):
13762 * diff.el (diff-switches, diff-command):
13763 * cus-edit.el (same-window-regexps):
13764 * bindings.el (mode-line-mule-info)
13765 (mode-line-buffer-identification): Purecopy strings.
13767 2009-11-11 Juri Linkov <juri@jurta.org>
13769 * simple.el (dired-get-filename) <declare-function>:
13770 Tell the byte-compiler about dired-get-filename.
13771 (shell-command): In Dired mode, get filename from the current line
13772 as the default value.
13774 2009-11-10 Glenn Morris <rgm@gnu.org>
13776 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
13777 * calendar/holidays.el, progmodes/cperl-mode.el:
13778 Update x-popup-menu declarations.
13780 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
13781 (list-load-path-shadows): Use dolist.
13782 (list-load-path-shadows): Use with-current-buffer.
13784 2009-11-10 Juri Linkov <juri@jurta.org>
13786 * minibuffer.el (read-file-name): Support a list of default values
13787 in `default-filename'. Use the first file name where only one
13788 element is required. Doc fix.
13790 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
13792 * net/dbus.el (dbus-unregister-object): Release service, if no
13793 other method is registered for it.
13795 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
13797 * bookmark.el (bookmark-completing-read): Sort bookmark names if
13798 bookmark-sort-flag is non-nil (Bug#4653).
13800 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
13802 * emulation/cua-base.el: Add CUA property to some CC mode commands
13805 2009-11-08 Kevin Ryde <user42@zip.com.au>
13807 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
13808 at end of sentence (Bug#4818).
13810 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
13812 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13813 Handle "see declaration of" MSFT statements (Bug#4100).
13815 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
13817 * net/tramp.el (tramp-advice-make-auto-save-file-name)
13818 (tramp-advice-file-expand-wildcards): Unload via
13819 `ad-remove-advice'.
13821 * net/trampver.el: Update release number.
13823 2009-11-08 Kevin Ryde <user42@zip.com.au>
13825 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
13828 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
13830 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
13831 in order to keep context in SELinux.
13833 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
13835 * dired-aux.el (dired-query): Place cursor in echo area and allow
13838 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
13839 menu item if not on a directory (Bug#4701).
13841 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
13843 Sync with Tramp 2.1.17.
13845 * net/tramp.el (tramp-handle-copy-directory): Don't use
13846 `file-remote-p' (due to compatibility).
13848 * net/tramp-compat.el (tramp-compat-copy-directory)
13849 (tramp-compat-delete-directory): New defuns.
13851 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
13852 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
13853 Use `tramp-compat-delete-directory'.
13855 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
13856 (tramp-smb-handle-delete-directory):
13857 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
13859 * net/trampver.el: Update release number.
13861 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
13863 * tar-mode.el (tar-copy): Call write-region on the right buffer
13866 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
13867 by hand, if necessary (Bug#4878).
13869 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
13871 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
13872 align size column (Bug#4839).
13874 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
13877 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
13879 * progmodes/ld-script.el (auto-mode-alist):
13880 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
13882 * cus-face.el (custom-declare-face): Purecopy face spec.
13884 2009-11-06 Kenichi Handa <handa@m17n.org>
13886 * international/uni-bidi.el: Re-generated.
13887 * international/uni-category.el: Re-generated.
13888 * international/uni-combining.el: Re-generated.
13889 * international/uni-mirrored.el: Re-generated.
13891 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
13893 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
13894 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
13895 (tex-start-options, slitex-run-command, latex-run-command)
13896 (tex-run-command, tex-directory):
13897 * textmodes/ispell.el (ispell-html-skip-alists)
13898 (ispell-tex-skip-alists, ispell-tex-skip-alists):
13899 * textmodes/fill.el (adaptive-fill-first-line-regexp):
13900 (adaptive-fill-regexp):
13901 * textmodes/dns-mode.el (auto-mode-alist):
13902 * progmodes/python.el (interpreter-mode-alist):
13903 * progmodes/etags.el (tags-compression-info-list):
13904 * progmodes/etags.el (tags-file-name):
13905 * net/browse-url.el (browse-url-galeon-program)
13906 (browse-url-firefox-program):
13907 * mail/sendmail.el (mail-signature-file)
13908 (mail-citation-prefix-regexp):
13909 * international/mule-conf.el (eight-bit):
13910 * international/latexenc.el (latex-inputenc-coding-alist):
13911 * international/fontset.el (x-pixel-size-width-font-regexp):
13912 * emacs-lisp/warnings.el (warning-type-format):
13913 * emacs-lisp/trace.el (trace-buffer):
13914 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
13915 (emacs-lisp-mode-map):
13916 * calendar/holidays.el (holiday-solar-holidays)
13917 (holiday-bahai-holidays, holiday-islamic-holidays)
13918 (holiday-christian-holidays, holiday-hebrew-holidays)
13919 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
13920 (hebrew-holidays-1, holiday-oriental-holidays)
13921 (holiday-general-holidays):
13922 * x-dnd.el (x-dnd-known-types):
13923 * tool-bar.el (tool-bar):
13924 * startup.el (site-run-file):
13925 * shell.el (shell-dumb-shell-regexp):
13926 * rfn-eshadow.el (file-name-shadow-tty-properties)
13927 (file-name-shadow-properties):
13928 * paths.el (remote-shell-program, news-directory):
13929 * mouse.el ([C-down-mouse-3]):
13930 * menu-bar.el (menu-bar-tools-menu):
13931 * jka-cmpr-hook.el (jka-compr-load-suffixes)
13932 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
13933 (jka-compr-compression-info-list):
13934 * isearch.el (search-whitespace-regexp):
13935 * image-file.el (image-file-name-extensions):
13936 * find-dired.el (find-ls-option):
13937 * files.el (directory-listing-before-filename-regexp)
13938 (directory-free-space-args, insert-directory-program)
13939 (list-directory-brief-switches, magic-fallback-mode-alist)
13940 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
13941 (automount-dir-prefix):
13942 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
13943 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
13944 (face-font-registry-alternatives, face-font-registry-alternatives)
13945 (face-font-family-alternatives):
13946 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
13947 (facemenu-foreground-menu, facemenu-face-menu):
13948 * epa-hook.el (epa-file-name-regexp):
13949 * dnd.el (dnd-protocol-alist):
13950 * textmodes/rst.el (auto-mode-alist):
13951 * button.el (default-button): Purecopy strings.
13953 2009-11-06 Glenn Morris <rgm@gnu.org>
13955 * Makefile.in (ELCFILES): Update.
13957 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
13959 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
13960 * emacs-lisp/levents.el: Move to obsolete/levents.el.
13962 * nxml/xsd-regexp.el (xsdre-gen-categories):
13963 * nxml/xmltok.el (xmltok-parse-entity):
13964 * nxml/rng-parse.el (rng-parse-validate-file):
13965 * nxml/rng-maint.el (rng-format-manual)
13966 (rng-manual-output-force-new-line):
13967 * nxml/rng-loc.el (rng-save-schema-location-1):
13968 * nxml/rng-cmpct.el (rng-c-parse-file):
13969 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
13970 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
13972 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
13974 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
13975 Remove extra save-excursions and make-variable-buffer-local's.
13976 Suggested by Stefan Monnier.
13978 (verilog-getopt-file, verilog-module-inside-filename-p)
13979 (verilog-set-define): Merge GNU 1.35 and repair changes from
13980 switching to using with-current-buffer.
13982 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
13983 being treated as a number and confusing AUTORESET.
13984 Reported by Dan Dever.
13986 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
13987 Add verilog-auto-ignore-concat to fix backward compatibility with
13988 older verilog-modes. Reported by Dan Katz.
13990 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
13991 containing closing anchors "...$".
13993 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
13994 Reported by Wade Smith.
13996 (verilog-batch-execute-func): Comment on function usage.
13998 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
14000 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
14003 (verilog-label-re, verilog-calc-1): Support proper indent of named
14006 (verilog-backward-token, verilog-basic-complete-re)
14007 (verilog-beg-of-statement, verilog-indent-re): Support proper
14008 indent of the assert statement at the beginning of a block of text.
14010 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
14011 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
14014 2009-11-05 Glenn Morris <rgm@gnu.org>
14016 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
14017 Emacs 19. (Bug#1531)
14018 (byte-compile-fix-header): Update for the above change.
14019 Drop test for epoch::version.
14021 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
14022 * cus-dep.el (custom-make-dependencies):
14023 * finder.el (finder-compile-keywords):
14024 Use autoload-rubric's feature argument.
14026 * calendar/diary-lib.el (top-level): Make load behave more like require.
14028 * vc-git.el (vc-git-stash-map): Move definition before use.
14030 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
14032 * custom.el (custom-declare-group): Purecopy standard-value.
14033 (custom-declare-group): Purecopy custom-prefix.
14035 * international/mule.el (load-with-code-conversion):
14036 Call do-after-load-evaluation unconditionally.
14038 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
14040 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
14042 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
14044 2009-11-04 Glenn Morris <rgm@gnu.org>
14046 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
14047 (byte-compile-compatibility): Remove option.
14048 (byte-compile-close-variables, byte-compile-fix-header)
14049 (byte-compile-insert-header, byte-compile-output-docform)
14050 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
14051 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
14052 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
14053 (byte-compile-insert, byte-compile-defun):
14054 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
14055 (byte-defop-compiler19): Remove.
14056 Without byte-compile-compatibility, the 'emacs19-opcode property is not
14057 used by anything. Replace all calls with byte-defop-compiler.
14059 2009-11-04 Juri Linkov <juri@jurta.org>
14061 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
14062 (menu-bar-options-menu): Don't quote the `prop' arg of
14063 `menu-bar-make-mm-toggle'.
14065 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
14067 * calendar/calendar.el (cal-loaddefs):
14068 * calendar/diary-lib.el (diary-loaddefs):
14069 * calendar/holidays.el (hol-loaddefs):
14070 * eshell/esh-module.el (esh-groups): Load rather than require.
14072 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
14074 * calendar/todo-mode.el (todo-add-category): Don't hardcode
14076 (todo-top-priorities): Only display-buffer when called interactively.
14077 (todo-item-start): Don't save excursion point.
14078 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
14079 (todo-insert-item-here, todo-file-item, todo-remove-item):
14080 Adjust uses of todo-item-start and todo-item-end.
14082 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
14083 (autoload-rubric): Don't use any more.
14085 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
14086 and only put a prop if it is non-nil.
14088 2009-11-03 Juri Linkov <juri@jurta.org>
14090 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
14091 (menu-bar-options-menu): Fix list quoting (Bug#4429).
14093 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
14094 and "Menu" to make top-level menu item visually one unit (like
14095 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
14096 multi-word menu items). Fix :help string for quit-window.
14098 2009-11-03 Glenn Morris <rgm@gnu.org>
14100 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
14101 (byte-compile-file-form-define-abbrev-table)
14102 (byte-compile-file-form-custom-declare-variable)
14103 (byte-compile-variable-ref, byte-compile-defvar):
14104 Whether or not a warning is enabled should only affect whether we issue
14105 the warning, not whether or not we collect the relevant data.
14106 Eg warnings can be turned on and off throughout the course of a file.
14108 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
14109 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
14111 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
14113 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
14114 * play/mpuz.el (mpuz-create-buffer):
14115 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
14116 (lm-print-y,s,noise, lm-print-w0, lm-init):
14117 * play/gomoku.el (gomoku-prompt-for-move):
14118 * play/fortune.el (fortune-in-buffer):
14119 * play/dissociate.el (dissociated-press):
14120 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
14121 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
14122 * mail/supercite.el (sc-eref-show):
14123 * mail/smtpmail.el (smtpmail-send-it):
14124 * mail/rmailsum.el (rmail-summary-next-labeled-message)
14125 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
14126 (rmail-summary-undelete-many, rmail-summary-rmail-update)
14127 (rmail-summary-goto-msg, rmail-summary-expunge)
14128 (rmail-summary-get-new-mail, rmail-summary-search-backward)
14129 (rmail-summary-add-label, rmail-summary-output-menu)
14130 (rmail-summary-output-body):
14131 * mail/rfc822.el (rfc822-addresses):
14132 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
14133 * mail/mailpost.el (post-mail-send-it):
14134 * mail/hashcash.el (hashcash-generate-payment):
14135 * mail/feedmail.el (feedmail-run-the-queue)
14136 (feedmail-queue-send-edit-prompt-help-first)
14137 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
14138 (feedmail-deduce-address-list):
14139 * eshell/esh-ext.el (eshell-remote-command):
14140 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
14141 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
14142 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
14143 (viper-save-string-in-file, viper-valid-marker):
14144 * emulation/viper-keym.el (viper-toggle-key):
14145 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
14146 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
14147 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
14148 * emulation/viper-cmd.el (viper-exec-form-in-vi)
14149 (viper-exec-form-in-emacs, viper-brac-function):
14150 * emulation/viper.el (viper-delocalize-var):
14151 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
14152 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
14153 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
14154 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
14155 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
14156 * emulation/edt.el (edt-electric-helpify):
14157 * emulation/cua-rect.el (cua--rectangle-aux-replace):
14158 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
14159 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
14160 (cua-indent-to-global-mark-column):
14161 * calendar/diary-lib.el (calendar-mark-1):
14162 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
14163 Use with-current-buffer.
14164 * emulation/viper.el (viper-delocalize-var): Use dolist.
14166 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
14168 * comint.el (comint-replace-by-expanded-history-before-point):
14169 Replace !! with the previous input string literally (Bug#1795).
14171 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
14173 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
14174 to be made up of whitespace.
14176 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
14178 * minibuffer.el (read-file-name): Don't use file dialogs for
14179 remote directories (Bug#99).
14181 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
14183 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
14185 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
14187 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
14188 instead of deleting the window or frame.
14190 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
14192 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
14193 Support face colors.
14195 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
14196 New function. Support face colors (Bug#1168).
14197 (tex-common-initialization): Use it.
14199 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
14200 mode allows it (Bug#1168).
14202 2009-10-31 Juri Linkov <juri@jurta.org>
14204 * facemenu.el (list-colors-display): Don't mark buffer as
14205 modified (Bug#3948).
14207 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
14209 * international/mule-diag.el (list-character-sets-1):
14210 Minor message fix (Bug#3526).
14212 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
14213 Fix face property (Bug#4834).
14214 (etags-list-tags, etags-tags-apropos-additional)
14215 (etags-tags-apropos, tags-select-tags-table): Add follow-link
14218 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
14221 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
14223 * textmodes/two-column.el (2C-split):
14224 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
14225 * textmodes/tex-mode.el (tex-set-buffer-directory):
14226 * textmodes/spell.el (spell-region, spell-string):
14227 * textmodes/reftex.el (reftex-erase-buffer):
14228 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
14229 * textmodes/reftex-toc.el (reftex-toc-promote-action):
14230 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
14231 (reftex-select-item):
14232 * textmodes/reftex-ref.el (reftex-label-info-update)
14233 (reftex-offer-label-menu):
14234 * textmodes/reftex-index.el (reftex-index-change-entry)
14235 (reftex-index-phrases-info):
14236 * textmodes/reftex-global.el (reftex-create-tags-file)
14237 (reftex-save-all-document-buffers, reftex-ensure-write-access):
14238 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
14239 (reftex-view-crossref-from-bibtex):
14240 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
14241 (reftex-extract-bib-entries-from-thebibliography)
14242 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
14243 * textmodes/refbib.el (r2b-capitalize-title):
14244 (r2b-convert-buffer, r2b-help):
14245 * textmodes/page-ext.el (pages-directory)
14246 (pages-directory-goto-with-mouse):
14247 * textmodes/bibtex.el (bibtex-validate-globally):
14248 * textmodes/bib-mode.el (bib-capitalize-title):
14249 * textmodes/artist.el (artist-clear-buffer, artist-system):
14250 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
14251 (local-set-scheme-interaction-buffer, xscheme-process-filter)
14252 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
14253 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
14254 (xscheme-send-control-g-interrupt, xscheme-start-process)
14255 (xscheme-process-sentinel, xscheme-cd):
14256 * progmodes/verilog-mode.el (verilog-read-always-signals)
14257 (verilog-set-define, verilog-getopt-file)
14258 (verilog-module-inside-filename-p):
14259 * progmodes/sh-script.el:
14260 * progmodes/python.el (python-pdbtrack-get-source-buffer)
14261 (python-pdbtrack-grub-for-buffer, python-execute-file):
14262 * progmodes/octave-inf.el (inferior-octave):
14263 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14264 (idlwave-shell-compile-helper-routines, idlwave-set-local)
14265 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
14266 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
14267 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
14268 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
14269 (idlwave-shell-filter, idlwave-shell-examine-highlight)
14270 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
14271 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
14272 (idlwave-shell-examine-display, idlwave-shell-run-region)
14273 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
14274 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
14275 * progmodes/idlw-help.el (idlwave-help-get-special-help)
14276 (idlwave-help-get-help-buffer):
14277 * progmodes/gud.el (gud-basic-call, gud-find-class)
14278 (gud-tooltip-activate-mouse-motions-if-enabled):
14279 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
14280 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
14281 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
14282 (ebrowse-tags-next-file):
14283 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
14284 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
14285 (ebnf-eps-finish-and-write):
14286 * progmodes/cpp.el (cpp-edit-save):
14287 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
14288 * progmodes/cc-defs.el (c-emacs-features):
14289 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
14290 (antlr-directory-dependencies):
14291 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
14292 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
14293 (ada-find-any-references, ada-make-filename-from-adaname)
14294 (ada-make-body-gnatstub):
14295 * obsolete/rnews.el (news-list-news-groups):
14296 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
14297 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
14298 * net/rcirc.el (rcirc-debug):
14299 * net/newst-treeview.el (newsticker--treeview-list-add-item)
14300 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
14301 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
14302 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
14303 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
14304 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
14305 (newsticker--treeview-list-clear-highlight)
14306 (newsticker--treeview-list-update-highlight)
14307 (newsticker--treeview-list-highlight-start)
14308 (newsticker--treeview-tree-update-highlight)
14309 (newsticker--treeview-get-selected-item)
14310 (newsticker-treeview-mark-list-items-old)
14311 (newsticker--treeview-set-current-node):
14312 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
14313 * net/newst-backend.el (newsticker--get-news-by-funcall)
14314 (newsticker--get-news-by-wget, newsticker--image-get)
14315 (newsticker--image-sentinel):
14316 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
14317 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
14318 (eudc-ph-close-session):
14319 * net/eudc.el (eudc-save-options):
14320 * language/thai-word.el (thai-update-word-table):
14321 * language/japan-util.el (japanese-string-conversion):
14322 * international/titdic-cnv.el (tsang-quick-converter)
14323 (ziranma-converter, ctlau-converter):
14324 * international/mule-cmds.el (describe-language-environment):
14325 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
14326 (skkdic-convert-postfix, skkdic-convert-prefix):
14327 (skkdic-convert-okuri-nasi, skkdic-convert):
14328 * emacs-lisp/re-builder.el (reb-update-overlays):
14329 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
14330 * emacs-lisp/gulp.el (gulp-send-requests):
14331 * emacs-lisp/find-gc.el (trace-call-tree):
14332 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
14333 (eieio-describe-generic):
14334 * emacs-lisp/eieio-base.el (eieio-persistent-read):
14335 * emacs-lisp/edebug.el (edebug-outside-excursion):
14336 * emacs-lisp/debug.el (debugger-make-xrefs):
14337 * emacs-lisp/cust-print.el (custom-prin1-to-string):
14338 * emacs-lisp/chart.el (chart-new-buffer):
14339 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
14340 Use with-current-buffer.
14341 * textmodes/artist.el (artist-system): Don't call
14342 copy-sequence on a fresh string.
14343 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
14345 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
14347 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
14348 is no item to edit. (Bug#4820)
14349 (todo-top-priorities): Restore point and restore narrowing in Todo
14352 2009-10-31 Glenn Morris <rgm@gnu.org>
14354 * net/ange-ftp.el (top-level): Don't require dired when compiling.
14355 (comint-last-output-start, comint-last-input-start)
14356 (comint-last-input-end): Don't defvar when compiling.
14357 (ange-ftp-process-file): Use bound-and-true-p.
14359 * pcmpl-rpm.el (top-level): Move provide statement to end.
14360 (pcmpl-rpm): Remove unused custom group.
14362 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
14364 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
14366 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
14367 (byte-compile-warnings): Add `constants' as an option.
14368 (byte-compile-callargs-warn, byte-compile-arglist-warn)
14369 (display-call-tree): Update for byte-compile-fdefinition possibly
14370 returning `(macro lambda ...)'. (Bug#4778)
14371 (byte-compile-variable-ref, byte-compile-setq-default):
14372 Respect `constants' member of byte-compile-warnings.
14374 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
14376 * vc-bzr.el (vc-bzr-revision-keywords): New var.
14377 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
14380 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
14382 * textmodes/ispell.el (ispell-skip-region-alist):
14383 * international/mule-conf.el (eight-bit):
14384 * international/fontset.el (font-encoding-alist):
14385 * startup.el (pure-space-overflow-message):
14386 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
14387 * paths.el (gnus-nntp-service, rmail-spool-directory)
14388 (term-file-prefix):
14389 * files.el (save-some-buffers-action-alist):
14390 * cmuscheme.el (same-window-buffer-names):
14391 * ielm.el (same-window-buffer-names):
14392 * shell.el (same-window-buffer-names):
14393 * mail/sendmail.el (same-window-buffer-names):
14394 * progmodes/inf-lisp.el (same-window-buffer-names):
14395 * bindings.el (mode-line-client)
14396 (mode-line-column-line-number-mode-map):
14397 * language/tibetan.el (tibetan-precomposition-rule-regexp)
14398 (tibetan-precomposed-regexp): Purecopy string arguments.
14400 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14402 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
14403 (calcDigit-nondigit):
14404 * calc/calc-yank.el (calc-copy-to-buffer):
14405 * calc/calc-units.el (calc-invalidate-units-table):
14406 * calc/calc-trail.el (calc-trail-yank):
14407 * calc/calc-store.el (calc-insert-variables):
14408 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
14409 * calc/calc-prog.el (calc-read-parse-table):
14410 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
14411 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
14412 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
14413 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
14414 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
14415 (calc-graph-name, calc-graph-find-command, calc-graph-view)
14416 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
14417 * calc/calc-ext.el (calc-realign):
14418 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
14419 (calc-embedded-finish-edit, calc-embedded-make-info)
14420 (calc-embedded-finish-command, calc-embedded-stack-change):
14421 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
14423 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
14424 shell-dynamic-complete-filename in preference to
14425 comint-dynamic-complete-filename.
14427 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
14428 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
14429 Don't consider whether the display supports colors.
14430 (bookmark-import-new-list): Use dolist.
14431 (bookmark-bmenu-mode-map): Move initialization into declaration.
14432 (bookmark-bmenu-list): Use dolist, simplify.
14433 (bookmark-show-all-annotations): Use save-selected-window and dolist.
14434 (menu-bar-final-items): Use push.
14436 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
14438 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
14439 it works on remote files.
14440 (vc-hg-diff): Don't pass any `--cwd' argument.
14442 2009-10-27 Kevin Ryde <user42@zip.com.au>
14444 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
14445 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
14446 (Further to Bug#3921).
14448 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
14450 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
14451 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
14452 calling `tramp-imap-put-file'. Add file size to the call.
14453 (tramp-imap-get-file-entries): Compute also user name, file size,
14455 (tramp-imap-handle-insert-directory): Insert uid and gid.
14456 (tramp-imap-handle-file-attributes): Transform uid and gid
14457 according to `id-format'.
14458 (tramp-imap-put-file): New optional parameter SIZE. Encode file
14459 size in header X-Size.
14461 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
14463 * simple.el (transpose-subr): Give clearer error when the mark
14464 is not set. (Bug#4807)
14466 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
14468 * net/tramp.el (tramp-perl-file-truename): New defconst.
14469 Perl code contributed by yary <not.com@gmail.com> (tiny change).
14470 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
14471 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
14472 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
14474 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
14475 Ignore `dired-call-process'.
14476 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
14478 2009-10-26 Julian Scheid <julians37@gmail.com>
14480 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
14481 (tramp-get-remote-readlink): New defun.
14482 (tramp-handle-file-truename): Use it.
14483 (tramp-handle-file-exists-p): Check file-attributes cache, assume
14484 file exists if cache value present.
14485 (tramp-check-cached-permissions): New defun.
14486 (tramp-handle-file-readable-p): Use it.
14487 (tramp-handle-file-writable-p): Likewise.
14488 (tramp-handle-file-executable-p): Likewise.
14489 (tramp-handle-file-name-all-completions): Try using Perl to get
14490 partial completions. When perl not available, combine `cd' and
14491 `ls' into single remote operation and use shell expansion to get
14492 partial remote directory contents. Set `file-exists-p' cache for
14493 directory and any files returned by ls. Change cache handling to
14494 support partial directory contents. Use error message emitted by
14495 remote `cd' or Perl code for local tramp-error.
14496 (tramp-do-copy-or-rename-file-directly): Avoid separate
14497 tramp-send-command-and-check call.
14498 (tramp-handle-process-file): Merge three remote ops into one.
14499 Do not flush all caches when `process-file-side-effects' is set.
14500 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
14501 file-attributes shows uid/gid to be set already.
14503 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
14505 * textmodes/tex-mode.el (tex-dvi-view-command)
14506 (tex-show-queue-command, tex-open-quote):
14507 * progmodes/ruby-mode.el (auto-mode-alist)
14508 (interpreter-mode-alist): Purecopy strings.
14510 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
14512 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
14513 string for the hook, keymap and abbrev table.
14515 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
14517 * x-dnd.el (x-dnd-xdnd-to-action):
14518 * startup.el (fancy-startup-text, fancy-about-text): Change to
14519 defconst from defvar.
14521 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
14523 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
14524 Purecopy initialization strings.
14526 * mail/sendmail.el (mail-header-separator)
14527 (mail-personal-alias-file):
14528 * mail/rmail.el (rmail-default-dont-reply-to-names)
14529 (rmail-ignored-headers, rmail-retry-ignored-headers)
14530 (rmail-highlighted-headers, rmail-secondary-file-directory)
14531 (rmail-secondary-file-regexp):
14532 * files.el (null-device, file-name-invalid-regexp)
14533 (locate-dominating-stop-dir-regexp)
14534 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
14535 (interpreter-mode-alist): Use mapcar instead of mapc.
14537 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
14539 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
14540 (completion-ignored-extensions):
14541 (debug-ignored-errors): Purecopy strings.
14543 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
14545 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
14546 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
14547 (pcomplete--here): Use push.
14549 * subr.el (all-completions): Declare the 4th arg obsolete.
14551 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
14553 * pcomplete.el (pcomplete-unquote-argument-function): New var.
14554 (pcomplete-unquote-argument): New function.
14555 (pcomplete--common-suffix): Always pay attention to case.
14556 (pcomplete--table-subvert): Quote and unquote the text.
14557 (pcomplete--common-quoted-suffix): New function.
14558 (pcomplete-std-complete): Use it and pcomplete-begin.
14560 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
14561 we're inside a dedicated or minibuffer window.
14563 2009-10-24 Karl Fogel <kfogel@red-bean.com>
14565 * bookmark.el: Update documentation, especially documentation
14566 of `bookmark-alist' and of the bookmark file format.
14567 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
14569 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
14571 * mail/emacsbug.el (report-emacs-bug): Clarify that the
14572 keybindings apply to the mail buffer (Bug#4003). Shrink help
14575 * whitespace.el (whitespace-mode, whitespace-newline-mode)
14576 (global-whitespace-mode, global-whitespace-newline-mode)
14577 (whitespace-toggle-options, global-whitespace-toggle-options):
14578 Doc fix (Bug#3660).
14580 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
14581 of xmltok-start before the end tag was inserted (Bug#2840).
14583 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
14584 patterns that are preceded by an open-paren (Bug#1320).
14586 2009-10-24 Sven Joachim <svenjoac@gmx.de>
14588 * files.el (delete-directory): Delete symlinks to directories with
14589 delete-file (Bug#4739).
14591 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
14593 * vc.el (vc-backend-for-registration): Rename from
14594 vc-get-backend-for-registration. Update callers.
14596 * international/mule-cmds.el (set-language-info-alist):
14598 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
14599 (charset): Purecopy the name.
14600 (define-char-code-property): Purecopy string arguments.
14602 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14603 Purecopy string arguments.
14605 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14606 * ediff-hook.el (menu-bar-ediff-menu):
14607 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
14608 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
14610 2009-10-24 Glenn Morris <rgm@gnu.org>
14612 * comint.el (comint-dynamic-list-completions):
14613 * term.el (term-dynamic-list-completions): Use choose-completion rather
14614 than obsolete alias mouse-choose-completion.
14616 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
14617 file-cache-choose-completion.
14618 (file-cache-choose-completion): Handle an optional event argument.
14619 (file-cache-mouse-choose-completion): Make it an obsolete alias.
14621 * progmodes/octave-mod.el (octave-complete-symbol):
14622 Use choose-completion if mouse-choose-completion is ever removed.
14624 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
14627 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
14630 * vc-hooks.el (vc-responsible-backend): Fix declaration.
14632 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
14634 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
14635 Ignore `pred' now that we receive one.
14636 Handle test-completion specially.
14638 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
14640 * vc.el (vc-responsible-backend): Throw an error if not backend is
14641 found. Remove the REGISTER argument. Move the code dealing with
14643 (vc-get-backend-for-registration): ... here. New function.
14644 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
14645 of vc-responsible-backend, pass the file name instead of the
14648 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
14650 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
14652 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
14653 (pcomplete-comint-setup): Don't modify a global var via
14654 accidental side-effects.
14655 (pcomplete-shell-setup): Adjust call accordingly.
14656 (pcomplete-parse-comint-arguments): Use push.
14658 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
14660 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
14661 Allow uncapitalized info node names (Bug#3921).
14663 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
14664 to the DEBUG file (Bug#3781).
14666 2009-10-23 Jari Aalto <jari.aalto@cante.net>
14668 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
14669 dictionary entry (Bug#4579).
14671 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
14673 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
14674 from `rfn-eshadow-update-overlay-hook' when unloading.
14675 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
14676 "rsyncc". Adjust doc string.
14677 (tramp-temp-buffer-file-name): New buffer-local defvar.
14678 (tramp-handle-insert-file-contents, tramp-handle-write-region):
14679 Keep temporary file when indicated by method ("rsync" and
14681 (tramp-handle-write-region): Handle APPEND.
14682 (tramp-delete-temp-file-function): New defun. Added to
14683 `kill-buffer-hook'.
14685 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
14687 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
14689 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
14691 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
14692 (color-name-rgb-alist, tty-standard-colors)
14693 (tty-color-mode-alist): Change to defconst.
14695 * simple.el (mark-inactive): Purecopy message.
14697 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
14698 (global-map, yank-menu):
14699 * textmodes/ispell.el (ispell-menu-map):
14700 * net/eudc.el (eudc-tools-menu):
14701 * international/mule-cmds.el (describe-language-environment-map)
14702 (setup-language-environment-map, set-coding-system-map)
14703 (mule-menu-keymap):
14704 * vc-hooks.el (vc-menu-entry, vc-menu-map):
14705 * replace.el (occur-mode-map):
14706 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
14708 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
14710 * calc/calc.el (math-read-number, math-read-number-simple):
14711 Use `save-match-data'.
14713 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
14715 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
14716 rather than fiddling with global-map bindings, since it should only
14717 affect per-terminal settings.
14718 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
14720 * minibuffer.el (completion-table-with-terminator): Allow to specify
14721 the terminator-regexp.
14723 * simple.el (switch-to-completions): Look for *Completions* in other
14726 * pcomplete.el: Allow the use of completion-tables.
14727 (pcomplete-std-complete): New command.
14728 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
14729 (pcomplete--here): Use a function for `form' rather than an expression,
14730 so it can be byte-compiled.
14731 (pcomplete-here, pcomplete-here*): Adjust accordingly.
14732 Add edebug declaration.
14733 (pcomplete-show-completions): Remove unused var `curbuf'.
14734 (pcomplete-do-complete, pcomplete-stub):
14735 Don't assume `completions' is a list of strings any more.
14737 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
14739 * find-dired.el (find-name-arg): Fix typo in docstring.
14741 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
14743 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
14744 (pcmpl-linux-fs-types): Same, and update to new modules layout.
14746 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
14749 * comint.el (comint-read-input-ring, comint-write-input-ring)
14750 (comint-substitute-in-file-name)
14751 (comint-dynamic-complete-as-filename)
14752 (comint-dynamic-simple-complete)
14753 (comint-dynamic-list-filename-completions)
14754 (comint-dynamic-list-completions)
14755 (comint-redirect-results-list-from-process): Minor simplifications.
14757 2009-10-21 Kevin Ryde <user42@zip.com.au>
14759 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
14760 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
14761 the first form. And insert a blank line after ";;; Code" since
14762 that's usual style. (Bug#4612)
14764 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
14766 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
14768 * minibuffer.el (completion-table-with-terminator): Properly implement
14769 boundaries, in case `terminator' appears in the suffix.
14770 (completion--embedded-envvar-table): Don't return boundaries if
14771 there's no valid completion. Simplify.
14772 (completion-file-name-table): New completion table extracted from
14773 completion--file-name-table.
14774 (completion--file-name-table): Use it.
14775 (read-file-name-predicate): Declare obsolete.
14776 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
14777 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
14778 completion-file-name-table, and use the `pred' argument.
14779 * files.el (locate-file-completion-table): Use the `pred' arg rather
14780 than read-file-name-predicate.
14781 (abbreviate-file-name): Use \` rather than ^ for BOS.
14783 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
14785 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
14786 vc-responsible-backend to register, it causes problems.
14788 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
14790 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
14792 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
14794 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
14795 (tramp-smb-handle-file-attributes): Use it.
14796 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
14797 (tramp-smb-handle-insert-directory): Use `mapc' rather than
14798 `mapcar'. Use `tramp-smb-get-stat-capability'.
14799 Add `dired-filename' text properties.
14800 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
14801 (tramp-smb-maybe-open-connection): Simplify check for smbclient
14804 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
14806 * subr.el (read-key-delay): Reduce to 0.01.
14807 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
14810 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
14812 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
14814 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
14815 (Info-menu): Remove unused vars `last' and `completions'.
14816 (Info-index-nodes): Remove unused var `node'.
14818 * info.el (Info-complete-menu-item): Use complete-with-action.
14820 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
14822 Make vc-annotate work through copies and renames.
14823 * vc-annotate.el (vc-annotate-extract-revision-at-line):
14824 Return the file name too.
14825 (vc-annotate-revision-at-line)
14826 (vc-annotate-find-revision-at-line)
14827 (vc-annotate-revision-previous-to-line)
14828 (vc-annotate-show-log-revision-at-line): Update to get the file
14829 name from vc-annotate-extract-revision-at-line.
14830 (vc-annotate-show-diff-revision-at-line-internal): Change the
14831 argument to mean whether to show a file diff or not. Get the file
14832 name from vc-annotate-extract-revision-at-line.
14833 (vc-annotate-show-diff-revision-at-line):
14834 Update vc-annotate-show-diff-revision-at-line call.
14835 (vc-annotate-warp-revision): Add an optional file argument.
14837 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
14838 (vc-git-annotate-extract-revision-at-line): Also return the file
14841 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
14842 command. Remove unused code.
14843 (vc-hg-annotate-re): Update to match --follow output.
14844 (vc-hg-annotate-extract-revision-at-line): Also return the file
14847 * vc.el: Update annotate-extract-revision-at-line documentation.
14849 2009-10-18 Kevin Ryde <user42@zip.com.au>
14851 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
14852 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
14854 * net/browse-url.el (browse-url): Identify alist with "consp and
14855 not functionp" and let all other things go down the `apply' leg,
14856 as suggested by Stefan. (Further to bug#4531.)
14858 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
14860 * minibuffer.el (read-file-name): Check for repeat before putting
14861 a default argument in file-name-history (Bug#4657).
14863 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
14864 read syntax (Bug#4737).
14866 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
14868 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14870 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
14871 (html-tag-alist, html-tag-help): Add descriptions for undocumented
14872 entries and make note of obsolete tags.
14874 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
14876 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
14878 2009-10-18 Glenn Morris <rgm@gnu.org>
14880 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
14881 grep, so that binary files (eg international/uni-bidi.el) can match.
14882 Remove test for "UnicodeData" files, since it is hopefully unnecessary
14883 now, and in any case the file header format has changed.
14885 2009-10-17 Glenn Morris <rgm@gnu.org>
14887 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
14888 (flyspell-get-word, flyspell-large-region)
14889 (flyspell-auto-correct-previous-word): Doc/error message fixes.
14891 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
14893 * Makefile.in (ELCFILES): Add ede/shell.
14895 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
14897 * term/common-win.el (x-colors): Purecopy it.
14899 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14901 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
14902 permissive for when the buffer is empty.
14903 (tar-header-block-tokenize): Decode the username and groupname.
14904 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
14906 2009-10-17 Eric Ludlam <zappo@gnu.org>
14908 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
14909 contains multibyte characters, choose first applicable coding
14910 system automatically.
14912 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14914 * international/mule-cmds.el (select-safe-coding-system): If the file
14915 has a coding cookie, use it regardless of any other setting (bug#4712).
14917 2009-10-17 Glenn Morris <rgm@gnu.org>
14919 * foldout.el (foldout-mouse-swallow-events):
14920 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
14922 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
14923 (dired-keep-marker-copy, dired-keep-marker-hardlink)
14924 (dired-keep-marker-symlink, dired-dwim-target)
14925 (dired-copy-preserve-time): Do not autoload these defcustoms.
14927 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
14928 messages from messing up the file coding. (Bug#4623)
14930 2009-10-17 Jari Aalto <jari.aalto@cante.net>
14932 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
14933 if no match is found for the current dictionary. (Bug#4578)
14935 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
14936 optional, since that is how it is documented, and this is often called
14937 with a nil argument. (Bug#4577)
14938 (flyspell-external-point-words, flyspell-auto-correct-word)
14939 (flyspell-correct-word-before-point, flyspell-word-search-forward)
14940 (flyspell-word-search-backward): Remove nil argument in calls to
14941 flyspell-get-word, since it is not needed now.
14943 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
14945 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
14947 2009-10-16 Glenn Morris <rgm@gnu.org>
14949 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
14951 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
14953 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
14954 (ange-ftp-file-size): New function.
14955 (ange-ftp-file-attributes): Use it.
14957 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
14959 * net/tramp-smb.el (tramp-smb-version): New defvar.
14960 (tramp-smb-maybe-open-connection): Use it, in order to avoid
14963 2009-10-16 Glenn Morris <rgm@gnu.org>
14965 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
14966 Maybe copy some custom properties from old to new name. (Bug#4706)
14968 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
14970 * subr.el (error, sit-for, start-process-shell-command)
14971 (start-file-process-shell-command): Set the calling convention
14972 after the function definition.
14974 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
14976 * subr.el (error, sit-for, start-process-shell-command)
14977 (start-file-process-shell-command): Use the new
14978 set-advertised-calling-convention feature.
14980 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
14982 * international/ucs-normalize.el (ucs-normalize-version):
14984 (check-range): Adjust for Unicode 5.2.
14986 2009-10-15 Juri Linkov <juri@jurta.org>
14988 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
14989 to the `menu-item' format.
14991 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
14993 * net/tramp.el (tramp-replace-environment-variables): Do not fail
14994 if the environment variable does not exist.
14996 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14997 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
14999 (tramp-smb-handle-add-name-to-file)
15000 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15001 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15002 (tramp-smb-handle-file-attributes)
15003 (tramp-smb-do-file-attributes-with-stat)
15004 (tramp-smb-handle-file-local-copy)
15005 (tramp-smb-handle-insert-directory)
15006 (tramp-smb-handle-make-directory)
15007 (tramp-smb-handle-make-directory-internal)
15008 (tramp-smb-handle-make-symbolic-link)
15009 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
15010 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
15011 (tramp-smb-maybe-open-connection): Apply the changed parameters.
15012 (tramp-smb-read-file-entry): Read Disk names in compressed format.
15013 Handle long file names.
15014 (tramp-smb-get-cifs-capabilities): Check, whether the connection
15015 process is running.
15016 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
15017 Read share names with "-g" option.
15019 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
15021 * net/rcirc.el (rcirc-view-log-file): New command.
15022 (rcirc-track-minor-mode-map): Remove C-c ` binding.
15023 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
15026 2009-10-15 Glenn Morris <rgm@gnu.org>
15028 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
15029 from the second command-line argument.
15030 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
15031 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
15032 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
15033 w32-batch-update-autoloads.
15034 * emacs-lisp/autoload.el (autoload-make-program): New variable.
15035 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
15037 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
15038 the headers cannot be located. Simplify, subtracting superflous
15041 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
15043 Replace completion-base-size by completion-base-position to fix bugs
15044 such as (bug#4699).
15045 * simple.el (completion-base-position): New var.
15046 (completion-base-size): Mark as obsolete.
15047 (choose-completion): Make it work for mouse events as well.
15048 Pass the new base-position to choose-completion-string.
15049 (choose-completion-guess-base-position): New function, extracted from
15050 choose-completion-delete-max-match.
15051 (choose-completion-delete-max-match): Use it. Make obsolete.
15052 (choose-completion-string): Use the new base-position info.
15053 (completion-root-regexp): Delete.
15054 (completion-setup-function): Preserve completion-base-position.
15055 Eliminate obsolete base-size manipulation.
15056 * minibuffer.el (display-completion-list): Don't mess with base-size.
15057 (minibuffer-completion-help): Set completion-base-position instead.
15058 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
15060 * textmodes/bibtex.el (bibtex-complete):
15061 * emacs-lisp/crm.el (crm--choose-completion-string):
15062 Adjust to new calling convention.
15063 * complete.el (partial-completion-mode): Use minibufferp to avoid
15064 bumping into incompatible change to choose-completion-string-functions.
15065 * ido.el (ido-choose-completion-string): Make its calling convention
15067 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
15068 base-size manipulation.
15069 (comint-dynamic-list-input-ring): Use dotimes and push.
15070 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
15071 fundamental-mode. Use `or'.
15073 2009-10-14 Juri Linkov <juri@jurta.org>
15075 * misearch.el (multi-isearch-next-buffer-from-list)
15076 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
15078 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15080 * Makefile.in (compile-onefile): Load `bytecomp' rather than
15083 * minibuffer.el (completion-pcm--merge-completions): Make sure the
15084 string we return is all made up of text from the completions rather
15085 than part from the completions and part from the input (bug#4219).
15087 * ido.el (ido-everywhere): Use define-minor-mode.
15089 * buff-menu.el (list-buffers, ctl-x-map):
15090 Mark the entry points with ;;;###autoload cookies.
15092 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
15094 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
15095 correctly in the detached head case.
15096 (vc-git-print-log): Remove unused binding.
15098 * vc.el (vc-responsible-backend): When a directory is passed for
15099 for registration create a VC repository if no backend is
15100 responsible for the directory argument.
15101 (vc-deduce-fileset): Tell vc-responsible-backend to register.
15103 * vc.el: Move comments about RCS and SCCS ...
15105 * vc-sccs.el: ... here, respectively.
15107 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15109 * minibuffer.el (completion--file-name-table): Return nil if there's
15110 no file completion, even if substitute-in-file-name changed
15111 the string (bug#4708).
15113 2009-10-13 Juri Linkov <juri@jurta.org>
15115 * files-x.el (read-file-local-variable-value): Don't filter out
15116 minor modes from mode name completion (bug#4664).
15118 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
15120 * international/mule-cmds.el (ucs-names): Remove exclusion of
15121 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
15123 2009-10-13 Kenichi Handa <handa@m17n.org>
15125 * international/uni-name.el: Regenerated.
15127 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
15129 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
15130 should be automatically buffer-local, but isn't.)
15132 2009-10-12 Sam Steingold <sds@gnu.org>
15134 * progmodes/compile.el (compilation-next-error-function): Fix the
15135 timestamps if the buffer has been visited before.
15136 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
15137 non-anchored patterns, like the perl one (bug#3928).
15139 2009-10-12 Glenn Morris <rgm@gnu.org>
15141 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
15144 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
15146 * proced.el (proced-unload-function): New function.
15148 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
15149 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
15152 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
15154 2009-10-11 Juri Linkov <juri@jurta.org>
15156 * files-x.el (read-file-local-variable-value):
15157 Provide default value only for bound variables (bug#4664).
15159 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
15161 * net/tramp.el (tramp-local-host-p): Function shall return nil for
15162 connection methods like smb.
15164 * net/tramp-cache.el (tramp-flush-connection-property): The hash
15167 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15168 (tramp-smb-file-name-handler-alist): Add handlers for
15169 `add-name-to-file', `make-symbolic-link'.
15170 (tramp-smb-handle-add-name-to-file)
15171 (tramp-smb-do-file-attributes-with-stat)
15172 (tramp-smb-handle-make-symbolic-link)
15173 (tramp-smb-get-cifs-capabilities): New defuns.
15174 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15175 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15176 (tramp-smb-handle-file-local-copy)
15177 (tramp-smb-handle-make-directory-internal)
15178 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
15179 The file name syntax depends on cifs capabilities.
15180 (tramp-smb-handle-file-attributes):
15181 Call `tramp-smb-do-file-attributes-with-stat' if possible.
15182 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
15183 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
15185 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
15187 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
15188 (eieio-defclass): Apply deftype handler and setf-method properties
15190 (eieio-add-new-slot): Avoid union function from cl library.
15191 (eieio--typep): New function.
15192 (eieio-perform-slot-validation): Use it.
15194 2009-10-10 Karl Fogel <kfogel@red-bean.com>
15196 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
15197 Update documentation to refer to the variables documented in r1.135.
15200 2009-10-10 Karl Fogel <kfogel@red-bean.com>
15202 * bookmark.el (Info-suffix-list): Remove this unused variable.
15203 (bookmark-current-point): Remove this obsolete variable.
15204 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
15205 Adjust for removal of bookmark-current-point.
15207 (bookmarks-already-loaded, bookmark-current-buffer)
15208 (bookmark-yank-point): Document. (Bug#4188)
15210 2009-10-10 Glenn Morris <rgm@gnu.org>
15212 * frame.el (frame-height): Doc fix.
15214 * calendar/calendar.el (calendar-split-width-threshold): New option.
15215 (calendar-basic-setup): Use calendar-split-width-threshold.
15217 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
15219 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
15220 Ideographic Supplement" range (U+1F200..U+1F2FF).
15222 2009-10-09 Karl Fogel <kfogel@red-bean.com>
15224 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
15225 since the list will have been rebuilt anyway. (Bug#4349)
15227 2009-10-09 Karl Fogel <kfogel@red-bean.com>
15229 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
15230 (bookmark-bmenu-execute-deletions): Don't save here, as
15231 bookmark-delete will now do so if necessary.
15232 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
15235 2009-10-09 Glenn Morris <rgm@gnu.org>
15237 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
15239 2009-10-09 Karl Fogel <kfogel@red-bean.com>
15241 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
15242 (bookmark-jump-other-window): Just invoke bookmark-jump with new
15243 argument now, so the two function's behaviors will match. (Bug#3645)
15245 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
15247 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
15248 (tramp-file-name-real-host, tramp-file-name-port):
15249 Apply `save-match-data'.
15251 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
15252 case both directories are remote.
15253 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
15254 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
15256 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
15258 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
15260 2009-10-07 Glenn Morris <rgm@gnu.org>
15262 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
15265 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
15267 * files-x.el (read-file-local-variable): Include some
15268 non-user-variables in the completion table (bug#4664).
15270 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
15272 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
15275 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15276 (tramp-smb-file-name-handler-alist): Add handler for
15277 `copy-directory', `expand-file-name', `set-file-modes'.
15278 (tramp-smb-handle-copy-directory)
15279 (tramp-smb-handle-expand-file-name)
15280 (tramp-smb-handle-set-file-modes): New defuns.
15281 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
15282 (tramp-smb-handle-file-attributes): Simplify check for retrieving
15284 (tramp-smb-handle-insert-directory): Don't flush the cache.
15285 (tramp-smb-maybe-open-connection): Check for samba client and
15288 2009-10-07 Eli Zaretskii <eliz@gnu.org>
15290 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
15291 to not error out of search for "^lisp=" fails.
15293 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
15295 * makefile.w32-in (WINS_UPDATES): New macro.
15296 (custom-deps, finder-data, autoloads): Use it.
15298 2009-10-07 Glenn Morris <rgm@gnu.org>
15300 * Makefile.in (autoloads): Revert previous change.
15301 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
15302 the list of preloaded files passed on the command-line, get
15303 it from src/Makefile.
15305 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
15306 show the original buffer rather than a random one.
15308 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
15310 * help.el (describe-no-warranty): Place point in a slightly better
15311 position in the GPLv3 text.
15313 2009-10-06 Sam Steingold <sds@gnu.org>
15315 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
15316 the comm attribute is present before calling regexp-quote.
15318 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
15320 * play/animate.el (animate-string): For good effect, make sure
15321 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
15323 * play/animate.el (animate-sequence, animate-birthday-present):
15324 * misc.el (butterfly): Don't set `indent-tabs-mode'.
15326 2009-10-06 Glenn Morris <rgm@gnu.org>
15328 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
15330 * emacs-lisp/autoload.el (autoload-excludes): New variable.
15331 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
15332 (batch-update-autoloads): Process a string value of autoload-excludes,
15333 set during the build process.
15334 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
15336 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
15337 inside with-parsed... macro so that `v' is defined.
15339 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
15340 * progmodes/fortran.el (fortran-end-of-block)
15341 (fortran-beginning-of-block):
15342 Also push mark in the macro case.
15344 * emerge.el (emerge-show-file-name):
15345 * calc/calc.el (calc-quit):
15346 * calc/calc-misc.el (calc-big-or-small):
15347 * calc/calc-graph.el (calc-graph-view):
15348 * calc/calc-ext.el (calc-reset):
15349 * calendar/calendar.el (calendar-basic-setup):
15350 Use window-full-height-p.
15352 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
15353 header we don't understand, don't insert another. (Bug#4624)
15354 If changing mime charset, insert the new one in the right place.
15356 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
15358 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
15359 (cal-tex-cursor-month): Correctly increment the end date for diary and
15360 holiday listing. (Bug#4626)
15362 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15364 * help-fns.el (describe-function-1): Don't burp if the function is not
15367 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
15369 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
15370 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
15371 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
15372 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
15374 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
15375 (eieio-default-superclass): Reflow docstrings.
15376 (this, class-option-assoc, defclass, eieio-class-un-autoload)
15377 (eieio-unbind-method-implementations, defmethod)
15378 (eieio-validate-slot-value, eieio-validate-class-slot-value)
15379 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
15380 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
15381 (eieio-slot-originating-class-p, eieio-slot-name-index)
15382 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
15383 (constructor, initialize-instance, no-next-method, object-print)
15384 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
15385 Fix typos in docstrings.
15386 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
15387 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
15388 (next-method-p): Doc fixes.
15389 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
15390 Fix typos in error messages.
15391 (eieio-defmethod): Fix typo in description of generic method.
15393 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
15394 (eieio-persistent-save-interactive, slot-missing):
15395 Fix typos in docstrings.
15396 (eieio-instance-inheritor-slot-boundp): Doc fix.
15398 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
15399 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
15401 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
15402 (eieio-custom-object-apply-reset):
15403 Fix typos in docstrings and error messages.
15405 * emacs-lisp/eieio-datadebug.el (data-debug-show):
15406 Fix typo in docstring.
15408 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
15409 (eieio-browse-tree): Doc fix.
15410 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
15411 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
15412 Fix typos in docstrings.
15414 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
15415 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
15416 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
15417 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
15420 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
15422 * vc-hg.el (log-view-vc-backend): Declare for compiler.
15423 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
15424 Set log-view-vc-backend so that diff can work.
15426 * log-view.el (log-view-diff): Use vc-diff-internal instead of
15428 (vc-diff-internal): Autoload this instead of vc-version-diff.
15430 2009-10-05 Eli Zaretskii <eliz@gnu.org>
15432 * simple.el (eval-expression): Doc fix.
15434 * progmodes/cwarn.el (cwarn-mode): Doc fix.
15436 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
15438 * files.el (directory-files-no-dot-files-regexp): New defconst.
15439 (delete-directory): Use it.
15440 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
15442 * net/tramp.el (tramp-verbose): Fix docstring.
15443 (tramp-methods): Add recursive option to `tramp-copy-args'.
15444 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
15445 "scp1_old", "scp2_old", "rsync", "rsyncc".
15446 (tramp-default-method): Check also for `auth-source-user-or-password'.
15447 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
15448 Add handler for `copy-directory'.
15449 (tramp-handle-copy-directory): New defun.
15450 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
15451 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
15452 Optimize sent command.
15454 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15456 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
15457 window if necessary.
15459 * calendar/calendar.el (calendar-basic-setup): Don't call
15460 switch-to-buffer in a dedicated window.
15462 2009-10-05 Karl Fogel <kfogel@red-bean.com>
15464 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
15465 don't do anything related to relocating, just return nil.
15466 (bookmark-error-no-filename): New error.
15467 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
15468 bookmark has no file. Don't even attempt to handle things that
15469 are not files; the whole point of custom handlers is to keep that
15470 knowledge elsewhere anyway. Tighten some comments.
15471 (bookmark-file-or-variation-thereof): Remove now-unused function.
15472 (bookmark-location): Doc string fix.
15475 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15477 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
15478 don't use a file dialog, because they usually don't know how to read
15479 a directory target from the user. (Bug#4230)
15480 Also, make sure the prompt can display directories as well as files.
15482 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15484 * bookmark.el (bookmark-set, bookmark-buffer-name):
15485 Improve doc strings. (Bug#1193)
15487 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15489 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
15490 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
15491 (bookmark-get-annotation, bookmark-set-annotation)
15492 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
15493 (bookmark-set-position, bookmark-get-front-context-string)
15494 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
15495 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
15496 (bookmark-jump-other-window, bookmark-handle-bookmark)
15497 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
15498 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
15499 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
15500 Improve doc strings to say whether bookmark can be a string or
15501 a record or both, and make other consistency and clarity fixes.
15502 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
15503 (bookmark-default-annotation-text, bookmark-yank-word)
15504 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
15505 (bookmark-import-new-list, bookmark-maybe-rename)
15506 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
15507 (bookmark-bmenu-bookmark): Give these doc strings.
15508 (bookmark-bmenu-check-position): Give this a doc string, but also
15509 add a FIXME comment about how the function may be pointless.
15510 (bookmark-default-handler): Rework doc string and change a
15511 parameter name, to clarify that this takes a bookmark record
15512 not a bookmark name.
15513 (bookmark-set): Change a parameter name to indicate its meaning,
15514 and improve the doc string a bit.
15517 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15519 * bookmark.el (bookmark-alist): Document the new `handler' element
15520 in the param alist.
15521 (bookmark-make-record-function): Adjust documentation for above.
15524 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15526 * info.el (Info-bookmark-make-record): Document this function.
15527 (Info-bookmark-jump): Document with a doc string, not just a comment.
15530 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
15532 * files.el (copy-directory): New defun.
15534 * dired-aux.el (dired-copy-file-recursive): Use it.
15536 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
15538 * files-x.el (modify-dir-local-variable)
15539 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
15542 * recentf.el (recentf-unload-function): New function.
15544 2009-10-04 Glenn Morris <rgm@gnu.org>
15546 * window.el (window-full-height-p): Add doc string.
15548 2009-10-04 Martin Rudalics <rudalics@gmx.at>
15550 * window.el (window-full-height-p): New function. (Bug#4543)
15552 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
15554 * vc.el: Remove commented out code.
15555 (vc-derived-from-dir-mode): Remove, unused.
15556 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
15558 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
15560 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
15561 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
15562 there could be recursive loading when `default-directory' is a
15563 remote file name. (Bug#4614)
15565 2009-10-03 Glenn Morris <rgm@gnu.org>
15567 * calendar/calendar.el (calendar-basic-setup): Handle the case where
15569 (calendar-generate-window): Test for shrinkability rather than width.
15571 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
15572 reusing existing buffers, in case we happen to visit two files with the
15573 same basename. (Bug#4593)
15575 2009-10-02 Eli Zaretskii <eliz@gnu.org>
15577 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
15578 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
15579 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
15580 subdirs of cedet as well.
15581 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
15583 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
15585 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
15586 Obey advertised-signature-table.
15588 * help-fns.el (help-function-arglist): Don't check
15589 advertised-signature-table.
15590 (describe-function-1): Do it here instead so it also applies to subrs.
15592 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
15594 * simple.el (start-file-process): Say in the doc-string, that file
15595 handlers might not support pty association, if PROGRAM is nil.
15597 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
15598 HOST and USER are strings. They are nil, when there are
15599 incomplete entries in ~/.netrc, for example.
15600 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
15601 root directory ("device busy" error otherwise).
15603 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
15604 Flush file properties of created directory.
15606 2009-10-02 Eli Zaretskii <eliz@gnu.org>
15608 * makefile.w32-in (WINS_BASIC): Remove cedet.
15609 (WINS_CEDET): Add cedet.
15610 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
15612 2009-10-02 Kevin Ryde <user42@zip.com.au>
15614 * net/browse-url.el (browse-url): Pass any symbol in
15615 browse-url-browser-function to `apply', since if you've mistakenly put
15616 an unbound symbol then the error is clearer. (Bug#4531)
15618 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
15620 * allout.el (allout-init, allout-back-to-current-heading)
15621 (allout-beginning-of-current-entry, allout-ascend-to-depth)
15622 (allout-ascend, allout-up-current-level, allout-end-of-level)
15623 (allout-previous-visible-heading, allout-forward-current-level)
15624 (allout-backward-current-level, allout-show-children):
15625 * apropos.el (apropos-describe-plist):
15626 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
15627 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
15628 * completion.el (add-completion, add-permanent-completion):
15629 * descr-text.el (describe-text-category, describe-char):
15630 * desktop.el (desktop-lazy-abort):
15631 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
15632 * dired.el (dired-build-subdir-alist):
15633 * ediff.el (ediff-version):
15634 * elide-head.el (elide-head, elide-head-show):
15635 * emerge.el (emerge-version):
15637 * face-remap.el (variable-pitch-mode):
15638 * faces.el (describe-face):
15639 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
15641 * files.el (find-file-existing, auto-save-mode):
15642 * font-lock.el (font-lock-fontify-buffer):
15643 * help-fns.el (describe-function, describe-variable)
15644 (describe-syntax, describe-categories):
15645 * help.el (view-lossage, describe-bindings, describe-key)
15647 * hexl.el (hexl-current-address):
15648 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
15649 * info.el (Info-goto-emacs-key-command-node):
15650 * log-edit.el (log-edit-insert-cvs-template)
15651 (log-edit-insert-cvs-rcstemplate):
15652 * menu-bar.el (menu-bar-mode):
15653 * mouse.el (mouse-appearance-menu):
15654 * newcomment.el (comment-indent-new-line):
15655 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
15656 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
15657 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
15658 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
15659 * recentf.el (recentf-mode):
15660 * savehist.el (savehist-mode, savehist-save):
15661 * shadowfile.el (shadow-copy-files):
15662 * simple.el (kill-ring-save, next-line, previous-line)
15663 (normal-erase-is-backspace-mode):
15664 * strokes.el (strokes-update-window-configuration)
15665 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
15666 (strokes-xpm-for-stroke):
15667 * time.el (emacs-uptime, emacs-init-time):
15668 * tutorial.el (tutorial--describe-nonstandard-key)
15669 (tutorial--detailed-help):
15670 * type-break.el (type-break-mode)
15671 (type-break-mode-line-message-mode, type-break-query-mode)
15672 (type-break-guesstimate-keystroke-threshold):
15673 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
15674 * version.el (emacs-version):
15675 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
15676 * winner.el (winner-mode):
15677 * calendar/timeclock.el (timeclock-in, timeclock-out)
15678 (timeclock-status-string, timeclock-change)
15679 (timeclock-workday-remaining-string)
15680 (timeclock-workday-elapsed-string)
15681 (timeclock-when-to-leave-string):
15682 * calendar/todo-mode.el (todo-add-category):
15683 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
15684 * emacs-lisp/autoload.el (update-file-autoloads):
15685 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
15686 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
15687 (checkdoc-message-text, checkdoc-defun):
15688 * emacs-lisp/debug.el (debugger-list-functions):
15689 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
15690 * emacs-lisp/eieio-opt.el (eieio-describe-class)
15691 (eieio-describe-generic):
15692 * emacs-lisp/lisp-mnt.el (lm-synopsis):
15693 * emacs-lisp/shadow.el (list-load-path-shadows):
15694 * emulation/cua-base.el (cua-mode):
15695 * emulation/edt.el (edt-set-scroll-margins):
15696 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
15697 (tpu-toggle-regexp, tpu-toggle-search-direction)
15698 (tpu-toggle-rectangle, tpu-toggle-control-keys):
15699 * emulation/tpu-extras.el (tpu-set-scroll-margins):
15700 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
15701 (viper-set-parsing-style-toggling-macro)
15702 (viper-set-emacs-state-searchstyle-macros):
15703 * emulation/viper.el (viper-set-hooks):
15704 * eshell/esh-mode.el (eshell-truncate-buffer):
15705 * international/mule-cmds.el (prefer-coding-system)
15706 (describe-input-method, describe-language-environment):
15707 * international/mule-diag.el (list-character-sets)
15708 (describe-character-set, describe-coding-system)
15709 (describe-fontset, list-fontsets, list-input-methods):
15710 * mail/sendmail.el (mail-signature):
15711 * net/ange-ftp.el (ange-ftp-copy-file):
15712 * net/browse-url.el (browse-url):
15713 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
15714 * net/quickurl.el (quickurl-add-url):
15715 * net/rcirc.el (names, topic):
15716 * net/xesam.el (xesam-mode):
15717 * play/5x5.el (5x5-new-game):
15718 * play/yow.el (apropos-zippy):
15719 * progmodes/ada-mode.el (ada-mode-version):
15720 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
15722 (f90-beginning-of-block):
15723 * progmodes/fortran.el (fortran-end-of-block)
15724 (fortran-beginning-of-block):
15725 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
15726 * progmodes/python.el (python-describe-symbol, python-shell):
15727 * term/ns-win.el (ns-print-buffer):
15728 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
15729 * textmodes/flyspell.el (flyspell-mode-on):
15730 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
15731 (pages-directory-for-addresses):
15732 * textmodes/table.el (table-recognize-cell)
15733 (table-query-dimension, table-generate-source)
15734 (table-insert-sequence, table--warn-incompatibility):
15735 * textmodes/tex-mode.el (tex-validate-buffer):
15736 * textmodes/texinfmt.el (texinfmt-version)
15737 (texinfo-format-buffer):
15738 Use `called-interactively-p' instead of `interactive-p'.
15740 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
15742 * image-mode.el (image-toggle-display):
15743 * emacs-lisp/elp.el (elp-instrument-function):
15744 * emacs-lisp/advice.el (ad-make-advised-definition):
15745 * emacs-lisp/easy-mmode.el (define-minor-mode):
15746 * net/browse-url.el (browse-url-maybe-new-window):
15747 * progmodes/sh-script.el (sh-learn-buffer-indent):
15748 Pass new argument 'any to `called-interactively-p'.
15750 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
15752 * international/uni-bidi.el:
15753 * international/uni-category.el:
15754 * international/uni-combining.el:
15755 * international/uni-comment.el:
15756 * international/uni-decimal.el:
15757 * international/uni-decomposition.el:
15758 * international/uni-digit.el:
15759 * international/uni-lowercase.el:
15760 * international/uni-mirrored.el:
15761 * international/uni-name.el:
15762 * international/uni-numeric.el:
15763 * international/uni-old-name.el:
15764 * international/uni-titlecase.el:
15765 * international/uni-uppercase.el:
15766 Regenerate from Unicode 5.2.0 data.
15768 2009-10-01 Glenn Morris <rgm@gnu.org>
15770 * Makefile.in (ELCFILES): Regenerate.
15772 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
15774 * subr.el (interactive-p): Mark obsolete.
15775 (called-interactively-p): Make the optional-ness of `kind' obsolete.
15776 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
15777 advertised-signature-table for subroutines as well.
15779 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
15780 (set-advertised-calling-convention): New function.
15781 (make-obsolete, define-obsolete-function-alias)
15782 (make-obsolete-variable, define-obsolete-variable-alias):
15783 Make the optional-ness of `when' obsolete.
15784 (define-obsolete-face-alias): Make `when' non-optional.
15785 * help-fns.el (help-function-arglist):
15786 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
15787 Use advertised-signature-table.
15789 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
15791 * files.el (delete-directory): New defun. The original function
15792 in fileio.c has been renamed to `delete-directory-internal'.
15794 * dired.el (dired-delete-file): Call `delete-directory' with
15795 RECURSIVE parameter.
15797 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
15798 parameter RECURSIVE. Implementation is missing.
15800 * net/tramp.el (tramp-handle-make-directory): Flush upper
15801 directory's file properties.
15802 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
15803 (tramp-handle-dired-recursive-delete-directory): Flush directory
15804 properties after the remove command only.
15806 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
15807 Handle optional parameter RECURSIVE.
15809 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
15810 Handle optional parameter RECURSIVE.
15812 * net/tramp-smb.el (tramp-smb-errors): Add error message for
15813 connection timeout.
15814 (tramp-smb-handle-delete-directory): Handle optional parameter
15817 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
15819 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
15820 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
15821 (byte-compile-defmacro): Use backquotes.
15823 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
15825 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
15826 has no associated file.
15827 (vc-resynch-buffer): Use vc-dir-buffers.
15829 2009-10-01 Glenn Morris <rgm@gnu.org>
15831 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
15832 (chart-file-count):
15833 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
15834 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
15835 * emacs-lisp/eieio-opt.el (eieio-describe-class):
15836 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
15837 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
15838 (eieio-copy-parents-into-subclass, make-instance, class-children)
15839 (eieio-generic-form):
15841 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
15842 match-data. (Bug#4555).
15844 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
15845 rather than parsing it as a regexp. This relaxes the layout
15846 requirements and makes errors easier to detect.
15847 (check-declare-verify): Check file is regular.
15848 (check-declare-directory): Doc fix.
15849 * subr.el (declare-function): Doc fix.
15851 * ibuffer.el (ibuffer-format-qualifier):
15852 * isearch.el (hi-lock-regexp-okay):
15853 * calc/calc.el (math-zerop):
15854 * mail/uce.el (rmail-msgbeg, rmail-msgend):
15855 * term/w32-win.el (setup-default-fontset, set-fontset-font):
15856 Remove unused declarations.
15858 2009-09-30 Eric Ludlam <zappo@gnu.org>
15860 * emacs-lisp/eieio.el (boolean-p): Delete.
15862 2009-09-30 Glenn Morris <rgm@gnu.org>
15864 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
15866 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
15867 filename is not a string.
15869 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
15871 * files.el (safe-local-eval-forms): Fix typo.
15873 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
15875 * vc-hooks.el (vc-dir-buffers): New var.
15876 (vc-state-refresh): New function.
15877 (vc-state): Use it.
15878 (vc-after-save): Always ask the backend to recompute the new state.
15879 Always call vc-dir if necessary, using vc-dir-buffers.
15880 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
15881 Use vc-dir-buffers.
15882 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
15883 (vc-dir-prepare-status-buffer, vc-dir-update)
15884 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
15885 Don't call expand-file-name on default-directory.
15887 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
15889 * speedbar.el (speedbar-item-delete):
15890 * calc/calc-prog.el (calc-kbd-if):
15891 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
15893 * epa.el (epa-key-list-mode-map):
15894 * hi-lock.el (hi-lock-menu): Fix typos in menus.
15896 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
15897 (hs-show-hook): Fix typo in docstring.
15899 2009-09-29 Glenn Morris <rgm@gnu.org>
15901 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
15902 file-name-nondirectory call preventing location of cedet files.
15903 (check-declare-verify): Use literal search rather than re-search.
15904 Add basic defmethod and defclass, and define-overloadable-function.
15906 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
15907 Use tramp-compat-file-attributes rather than nonexistent
15908 tramp-compat-handle-file-attributes.
15910 * Makefile.in (lisptagsfiles4): New.
15911 (AUTOGENEL): Add cedet loaddefs files.
15912 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
15913 (update-elclist, compile-always, backup-compiled-files)
15914 (bootstrap-clean): Add yet another directory level.
15915 (update-elclist): Use LC_COLLATE rather than COLLATE.
15916 (ELCFILES): Update, via `make update-elclist'.
15918 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
15920 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
15921 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
15922 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
15924 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
15926 * Makefile.in (lisptagsfiles3): Define.
15927 (TAGS, TAGS-LISP): Use it.
15928 (update-elclist): Add third directory level to look for elc files.
15929 (compile-always): Likewise.
15930 (backup-compiled-files): Likewise.
15931 (bootstrap-clean): Likewise.
15932 (ELCFILES): Update.
15934 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
15936 * Makefile.in (ELCFILES): Add CEDET files.
15938 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
15940 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
15942 * net/tramp.el (top): Require tramp-imap.
15944 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
15945 Use `tramp-compat-handle-file-attributes'.
15947 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
15949 * net/tramp-imap.el: New package.
15951 2009-09-28 Eric Ludlam <zappo@gnu.org>
15953 * emacs-lisp/chart.el:
15954 * emacs-lisp/eieio-base.el:
15955 * emacs-lisp/eieio-comp.el:
15956 * emacs-lisp/eieio-custom.el:
15957 * emacs-lisp/eieio-datadebug.el:
15958 * emacs-lisp/eieio-opt.el:
15959 * emacs-lisp/eieio-speedbar.el:
15960 * emacs-lisp/eieio.el: New files.
15962 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15964 * whitespace.el (whitespace-trailing-regexp)
15965 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
15968 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
15970 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
15973 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
15974 menu-bar-ediff-menu.
15976 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
15977 define-overloadable-function.
15979 * progmodes/autoconf.el: Provide autoconf as well, so that this
15980 file can be `require'd.
15982 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
15984 * emacs-lisp/autoload.el (generated-autoload-feature)
15985 (generated-autoload-load-name): New vars.
15986 (autoload-rubric, autoload-generate-file-autoloads): Use them.
15987 (make-autoload): Recognize define-overloadable-function and
15988 defclass forms (for EIEIO).
15990 * Makefile.in (update-subdirs): Exclude cedet directory.
15992 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
15994 * term/ns-win.el: Don't set the region face background. (Bug#4381)
15996 * faces.el: Default light-background background for region face to
15997 ns_selection_color under NS.
15999 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
16001 * net/imap-hash.el: New library, see NEWS.
16003 * Makefile.in (ELCFILES): Add imap-hash.el.
16005 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
16007 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
16008 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
16009 * help-macro.el (make-help-screen): Avoid using an ambiguous function
16010 definition where the docstring could be taken for the return value.
16012 2009-09-26 Glenn Morris <rgm@gnu.org>
16014 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
16015 Add option to only show images below a certain size.
16016 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
16017 save-excursion calls.
16019 2009-09-26 Eli Zaretskii <eliz@gnu.org>
16021 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
16022 subdirectories) and eieio.
16024 2009-09-26 Alan Mackenzie <acm@muc.de>
16026 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16027 Correct buggy bracketing. (Bug#4289)
16029 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
16030 character constants (as case labels). (Bug#4289)
16032 2009-09-25 Juri Linkov <juri@jurta.org>
16034 * files.el (safe-local-eval-forms): Allow time-stamp in
16035 before-save-hook (Bug#4554).
16037 2009-09-25 Drew Adams <drew.adams@oracle.com>
16039 * menu-bar.el (list-buffers-directory): Doc fix.
16041 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
16043 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
16044 Try and avoid copying twice the same paragraph.
16045 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
16046 Remove save-excursion.
16047 (log-edit-changelog-entry): Do it here instead.
16049 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
16051 * bs.el (bs--get-file-name): Use `list-buffers-directory'
16052 when available, instead of hardcoding mode names. Doc fix.
16054 * menu-bar.el (list-buffers-directory): Add docstring.
16055 Make automatically buffer-local.
16057 * dired.el (dired-mode):
16058 * files.el (cd-absolute):
16059 * pcvs.el (cvs-temp-buffer):
16060 * pcvs-util.el (cvs-get-buffer-create):
16061 * shell.el (shell-mode):
16062 * vc-dir.el (vc-dir-mode):
16063 Don't make `list-buffers-directory' buffer local.
16065 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
16067 * comint.el (comint-exec, comint-run, make-comint):
16068 Doc fixes (Bug#4542).
16070 2009-09-25 Glenn Morris <rgm@gnu.org>
16072 * mail/rmailmm.el (rmail-mime): New custom group.
16073 Move all defcustoms in this file into this group.
16074 (rmail-mime-media-type-handlers-alist): Revert previous change.
16075 (rmail-mime-show-images): New option.
16076 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
16077 references to it, since it wasn't actually used for anything.
16078 (rmail-mime-insert-image): New function.
16079 (rmail-mime-image): Use rmail-mime-insert-image.
16080 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
16081 obey the value of `rmail-mime-show-images' option. Print the size of
16084 2009-09-25 David Engster <deng@randomsample.de>
16086 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
16088 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16090 * whitespace.el: Does not highlight trailing spaces While point is
16091 at end of line. Does not highligt spaces at beginning of buffer
16092 while point is at beginning of buffer. Does not highlight spaces
16093 at end of buffer while point is at end of buffer. (Bug#4177)
16095 (whitespace-display-mappings): Adjust initialization.
16096 (whitespace-point, whitespace-font-lock-refontify): New vars.
16097 (whitespace-color-on, whitespace-color-off): Adjust code.
16098 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
16099 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
16100 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
16102 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
16104 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
16106 * textmodes/sgml-mode.el: Remove xml-mode alias.
16108 * files.el (auto-mode-alist, conf-mode-maybe)
16109 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
16111 2009-09-24 Alan Mackenzie <acm@muc.de>
16113 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
16114 c-forward-conditionals, but it doesn't move point and doesn't set
16116 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
16117 (c-down-conditional-with-else, c-backward-conditional)
16118 (c-forward-conditional): Refactor to use c-scan-conditionals.
16120 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
16122 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
16123 (help-default-arg-highlight): Remove.
16124 (help-highlight-arg): New function.
16125 (help-do-arg-highlight): Use it.
16126 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
16128 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
16130 * term.el (term-set-scroll-region, term-handle-ansi-escape):
16131 Undo last change, which didn't fix the problem and introduced others.
16133 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
16135 * progmodes/gdb-mi.el: Don't require speedbar.
16136 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
16138 2009-09-24 Glenn Morris <rgm@gnu.org>
16140 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
16142 * term/ns-win.el (ns-reg-to-script): Define for compiler.
16144 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
16145 there is no newline after the final mime boundary. (Bug#4539)
16146 Move markers on insertion so that any buttons inserted don't end up in
16147 the next part of a multipart message.
16148 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
16149 (rmail-mime-bulk-handler): Optionally handle images.
16150 (rmail-mime-image): New button action.
16151 (rmail-mime-image-handler): New function.
16152 (rmail-mime-mode): New mode.
16153 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
16155 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
16157 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
16158 than just dropping elements from it (bug#4504).
16160 * term.el (term-set-scroll-region): Don't move cursor any more.
16161 (term-handle-ansi-escape): Call term-goto here instead.
16162 Suggested by Ivan Kanis <apple@kanis.eu>.
16164 * term.el: Require CL.
16165 (term-ansi-reset): New function.
16166 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
16167 (term-handle-colors-array): Simplify.
16169 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
16171 * allout.el (allout-overlay-interior-modification-handler)
16172 (allout-obtain-passphrase):
16173 * epa-file.el (epa-file-write-region):
16174 * ps-print.el (ps-begin-job):
16175 * vc-hooks.el (vc-toggle-read-only):
16176 * vc-rcs.el (vc-rcs-rollback):
16177 * vc-sccs.el (vc-sccs-rollback):
16178 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
16179 (vc-version-diff, vc-revert, vc-rollback):
16180 * wdired.el (wdired-check-kill-buffer):
16181 * emacs-lisp/authors.el (authors):
16182 * net/socks.el (socks-open-connection):
16183 * net/zeroconf.el (zeroconf-service-add-hook):
16184 * obsolete/vc-mcvs.el (vc-mcvs-register):
16185 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
16186 (gdb-select-frame):
16187 * progmodes/grep.el (lgrep, rgrep):
16188 * progmodes/idlw-help.el (idlwave-help-check-locations)
16189 (idlwave-help-html-link, idlwave-help-assistant-open-link):
16190 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
16191 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
16192 (reftex-toc-rename-label): Fix typos in error messages.
16194 * dired-aux.el (dired-do-shell-command): Reflow docstring.
16195 (dired-copy-how-to-fn): Doc fix.
16196 (dired-files-attributes, dired-read-shell-command):
16197 Fix typos in docstrings.
16199 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
16200 (dired-x-find-file-other-window): Reflow docstrings.
16201 (dired-omit-marker-char, dired-read-shell-command)
16202 (dired-x-submit-report): Fix typos in docstrings.
16204 * shell.el (shell-mode-hook):
16205 * view.el (View-scroll-line-forward):
16206 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
16207 Fix typos in docstrings.
16209 * net/dig.el (dig-invoke): Fix typo in docstring.
16210 (query-dig): Reflow docstring.
16212 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
16213 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
16214 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
16215 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
16216 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
16217 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
16218 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
16219 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
16220 (idlwave-completion-map, idlwave-current-indent)
16221 (idlwave-custom-ampersand-surround, idlwave-customize)
16222 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
16223 (idlwave-define-abbrev, idlwave-determine-class-special)
16224 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
16225 (idlwave-end-block-reg, idlwave-end-of-statement)
16226 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
16227 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
16228 (idlwave-explicit-class-listed, idlwave-file-header)
16229 (idlwave-fill-paragraph, idlwave-find-class-definition)
16230 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
16231 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
16232 (idlwave-in-quote, idlwave-indent-action-table)
16233 (idlwave-indent-expand-table, idlwave-indent-line)
16234 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
16235 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
16236 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
16237 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
16238 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
16239 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
16240 (idlwave-outlawed-buffers, idlwave-popup-select)
16241 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
16242 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
16243 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
16244 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
16245 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
16246 (idlwave-statement-type, idlwave-struct-skip)
16247 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
16248 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
16249 (idlwave-what-module-find-class): Fix typos in docstrings.
16250 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
16251 (idlwave-calculate-cont-indent, idlwave-expand-equal)
16252 (idlwave-find-module, idlwave-find-structure-definition)
16253 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
16254 (idlwave-list-load-path-shadows, idlwave-next-statement)
16255 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
16256 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
16257 (idlwave-template): Reflow docstrings.
16259 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
16260 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
16261 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
16262 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
16263 (idlwave-shell-display-line, idlwave-shell-display-wframe)
16264 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
16265 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
16266 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
16267 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
16268 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
16269 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
16270 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
16271 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
16272 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
16273 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
16274 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
16275 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
16276 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
16277 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
16278 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
16279 Fix typos in docstrings.
16280 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
16281 (idlwave-shell-hide-output, idlwave-shell-mode)
16282 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
16285 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
16287 2009-09-24 Ivan Kanis <apple@kanis.eu>
16289 * term.el (term-bold-attribute): New var.
16290 (term-handle-colors-array): Use it.
16292 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
16294 * progmodes/gdb-mi.el (gdb-version): New variable.
16295 (gdb-non-stop-handler): Set gdb-version.
16296 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
16297 Condition "--thread" option on gdb-version.
16298 (gdb-invalidate-threads): Remove unused argument.
16300 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16302 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
16303 to looking-back to avoid ridiculous slow down in large files (bug#4511).
16305 2009-09-23 Glenn Morris <rgm@gnu.org>
16307 * mail/rmail.el (rmail-reply): Don't try to add a References header when
16308 replying to mail without References or Message-Id. (Bug#4525)
16310 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
16312 * term/ns-win.el (ns-reg-to-script): New variable.
16314 2009-09-23 Daiki Ueno <ueno@unixuser.org>
16316 * epg.el (epg-wait-for-status): Preserve existing 'error results.
16318 2009-09-22 Sam Steingold <sds@gnu.org>
16320 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
16321 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
16322 to 1 because hg returns status 1 when nothing is found.
16323 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
16325 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
16327 * textmodes/fill.el: Convert to utf-8 encoding.
16328 (fill-french-nobreak-p): Remove redundant » and « inherited from our
16331 * add-log.el (change-log-fill-forward-paragraph): New function.
16332 (change-log-mode): Use it so fill-region DTRT.
16333 Set fill-indent-according-to-mode here rather than in
16334 change-log-fill-paragraph.
16335 (change-log-fill-paragraph): Remove.
16337 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
16339 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
16340 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
16342 2009-09-22 Glenn Morris <rgm@gnu.org>
16344 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
16345 the scroll-bar scroll the calendar window rather than the buffer.
16347 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
16348 commands that move point (as opposed to scrolling).
16350 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
16352 * emacs-lisp/elint.el (elint): New custom group.
16353 (elint-log-buffer): Make it a defcustom.
16354 (elint-scan-preloaded, elint-ignored-warnings)
16355 (elint-directory-skip-re): New options.
16356 (elint-builtin-variables): Doc fix.
16357 (elint-preloaded-env): New variable.
16358 (elint-unknown-builtin-args): Add an entry for encode-time.
16359 (elint-extra-errors): Make it a variable rather than a constant.
16360 (elint-preloaded-skip-re): New constant.
16361 (elint-directory): Skip files matching elint-directory-skip-re.
16362 (elint-features): New variable, local to linted buffers.
16363 (elint-update-env): Initialize elint-features. Possibly add
16364 elint-preloaded-env to the buffer's environment.
16365 (elint-get-top-forms): Bind elint-current-pos, for log messages.
16367 (elint-init-form): New function, extracted from elint-init-env.
16368 Make non-list forms a warning rather than an error.
16369 Add the mode-map for define-derived-mode. Handle define-minor-mode,
16370 easy-menu-define, put that adds an error-condition, and provide.
16371 When requiring cl, also require cl-macs. Really require cl, to handle
16372 some cl macros. Store required libraries in the list elint-features,
16373 so as not to re-load them. Treat cc-require like require.
16374 (elint-init-env): Call elint-init-form to do the work.
16375 Handle eval-and-compile and such like.
16376 (elint-add-required-env): Do not clear messages.
16377 (elint-special-forms): Add handlers for function, defalias, if, when,
16379 (elint-form): Add optional argument to ignore elint-special-forms,
16380 useful to prevent recursive calls from handlers. Doc fix.
16381 Respect elint-ignored-warnings.
16382 (elint-form): Respect elint-ignored-warnings.
16383 (elint-bound-variable, elint-bound-function): New variables.
16384 (elint-unbound-variable): Respect elint-bound-variable.
16385 (elint-get-args): Respect elint-bound-function.
16386 (elint-check-cond-form): Add some simple handling for (f)boundp and
16388 (elint-check-defalias-form): New handler.
16389 (elint-check-let-form): Make an empty let a warning rather than an
16391 (elint-check-setq-form): Make an empty setq a warning rather than an
16392 error. Respect elint-ignored-warnings.
16393 (elint-check-defvar-form): Accept null doc-strings.
16394 (elint-check-conditional-form): New handler. Does some simple-minded
16395 checking of featurep and (f)boundp tests.
16396 (elint-put-function-args): New function.
16397 (elint-initialize): Use elint-scan-doc-file rather than
16398 elint-find-builtin-variables. Use elint-put-function-args.
16399 Possibly scan preloaded-file-list.
16400 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
16401 extend to handle functions as well.
16403 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
16405 * linum.el (linum-delete-overlays, linum-update-window):
16406 Do not modify the right margin. (Bug#3971)
16408 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
16410 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
16411 Use nxml-mode instead of xml-mode.
16413 2009-09-21 Kevin Ryde <user42@zip.com.au>
16415 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
16417 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
16419 * net/dig.el (dig-mode): Use define-derived-mode.
16421 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
16423 * vc-dispatcher.el (vc-do-command): Return the process object in
16424 the asynchronous case. Use when instead of if. Do not run
16425 vc-exec-after to display a message if not enabled. (Bug#4463)
16427 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
16428 properties to the stash strings.
16429 (vc-git-stash-list): Return a list of strings.
16430 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
16431 (vc-git-stash-show-at-point): New functions.
16432 (vc-git-stash-map): New keymap.
16434 * register.el (ctl-x-r-map): Define the keys here instead of
16437 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
16439 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
16440 list, to workaround performance problem (bug#4485).
16442 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
16444 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
16446 2009-09-20 Daiki Ueno <ueno@unixuser.org>
16448 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
16449 Document that this option is not recommended to use.
16451 2009-09-19 Glenn Morris <rgm@gnu.org>
16453 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
16456 * calc/calc-alg.el (var):
16457 * calc/calcalg2.el (var): Define for compiler.
16459 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
16461 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
16462 Doc fix (Bug#3932).
16464 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
16466 * time-stamp.el (time-stamp-month-dd-yyyy)
16467 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
16468 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
16469 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
16470 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
16471 Remove functions that have been obsolete since 1995 (Bug#4436).
16473 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
16474 indent buffer only if called interactively (Bug#4452).
16476 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
16477 Eli Zaretskii <eliz@gnu.org>
16479 This fixes bug#4197 (merged to bug#865, though not identical).
16480 * server.el (server-auth-dir): Add docstring note about FAT32.
16481 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
16482 but warn against using them.
16484 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
16486 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
16487 older GDB where there is no has_more field.
16489 2009-09-19 Glenn Morris <rgm@gnu.org>
16491 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
16493 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
16495 * files.el (auto-mode-alist): Change default for XML files to nXML
16498 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
16500 * server.el (server-ensure-safe-dir): Pass 'integer
16501 to `file-attributes', as suggested.
16503 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
16505 * dired-aux.el (dired-query-alist): Remove spurious backslash.
16506 (dired-query): Use read-key.
16508 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
16510 * cus-start.el (ns-use-qd-smoothing): Remove.
16512 2009-09-18 Glenn Morris <rgm@gnu.org>
16514 * allout.el (top-level): Remove unnecessary progn.
16516 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
16518 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
16519 definition of abbrev table.
16521 * speedbar.el (speedbar-track-mouse):
16522 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
16523 * net/eudc.el (eudc-expand-inline):
16524 * net/newst-backend.el (newsticker--cache-read-feed):
16525 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
16526 condition-case handlers.
16528 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
16530 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
16531 (gdb-var-list): Add an element for has_more field.
16532 (gdb-non-stop-handler): Enable pretty printing for STL containers.
16533 (gdb-var-create-handler, gdb-var-list-children-handler-1)
16534 (gdb-var-update-handler-1): Parse output of dynamic variable
16535 objects (STL containers).
16536 (gdb-var-delete-1): Pass var1 as an explicit second argument.
16537 (gdb-get-field): Delete alias. Use bindat-get-field directly.
16539 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
16541 (gud-speedbar-buttons): Make node expandable if expression "has more"
16544 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
16546 * startup.el (emacs-quick-startup): Remove variable and all uses.
16547 (command-line): Set `inhibit-x-resources' instead.
16548 (command-line-1): Use `inhibit-x-resources' instead.
16550 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
16552 * subr.el: Fix last change to avoid using the `unless' macro,
16553 which breaks bootstrapping.
16555 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
16557 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
16558 extended definitions, in case we reload subr.el after having
16560 (eval-next-after-load): Mark as obsolete.
16562 2009-09-17 Juri Linkov <juri@jurta.org>
16564 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
16565 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
16566 (menu-bar-showhide-menu, menu-bar-tools-menu)
16567 (menu-bar-describe-menu, menu-bar-help-menu)
16568 (minibuffer-local-completion-map, minibuffer-local-map):
16571 2009-09-17 Glenn Morris <rgm@gnu.org>
16573 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
16574 arguments, whether or not it has a handler.
16576 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
16578 * simple.el (hard-newline): Give it a doc-string.
16580 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16581 (lisp-mode-syntax-table): Give them doc-strings.
16583 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
16585 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
16586 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
16587 (menu-bar-options-menu, menu-bar-showhide-menu)
16588 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
16589 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
16590 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
16591 (menu-bar-options-menu, menu-bar-tools-menu)
16592 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
16593 (menu-bar-help-menu):
16594 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
16597 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
16598 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
16599 calls for the menu names and :help.
16601 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
16603 * mouse.el (minor-mode-menu-from-indicator): Pay attention
16604 to :minor-mode-function (bug#4455).
16606 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
16608 * startup.el (command-line): Initialize the window-system after
16609 processing the command-line.
16611 * textmodes/page.el (what-page): Make sure we don't inf-loop if
16612 page-delimiter matches the empty string.
16614 2009-09-16 Glenn Morris <rgm@gnu.org>
16616 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
16617 byte-compile-not-obsolete-var. It's a list now.
16618 (byte-compile-not-obsolete-funcs): New variable.
16619 (byte-compile-warn-obsolete): Don't warn about functions if they are in
16620 byte-compile-not-obsolete-funcs.
16621 (byte-compile-variable-ref, byte-compile-defvar): Update for
16622 byte-compile-not-obsolete-vars name-change and list nature.
16623 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
16624 and variables behind (f)boundp tests.
16625 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
16627 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
16629 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
16631 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
16633 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
16634 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
16637 2009-09-15 Stephen Eglen <stephen@gnu.org>
16639 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
16640 the virtual-buffers, use the name of the buffer specified by
16641 find-file-noselect, as the match may be a symlink. (This was a
16642 problem if the target and the symlink had different names.)
16644 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
16646 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
16648 * desktop.el (desktop-path): Check user-emacs-directory.
16650 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
16652 * loadup.el: Use after-load-functions to GC after loading each file.
16653 Remove the explicit GC calls that used to be sprinkled around.
16655 * subr.el (after-load-functions): New hook.
16656 (do-after-load-evaluation): Run it. Use string-match-p to detect
16657 `obsolete' packages, rather than painfully extracting the relevant
16660 2009-09-15 Glenn Morris <rgm@gnu.org>
16662 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
16663 free variable `doc'.
16665 * dired.el (dired-mode-map): Add menu entry for async shell command.
16667 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
16668 variables, also consider the .elc files, since the .el files are
16669 normally gzipped (subsequent code locates the .el.gz from the .elc).
16671 * calc/calc-prog.el (arglist): Define for compiler.
16673 * calendar/diary-lib.el (diary-display-function): Change the default to
16675 (body): Define for compiler.
16677 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
16678 (byte-compile-file-form, byte-compile-lambda)
16679 (byte-compile-top-level-body, byte-compile-form)
16680 (byte-compile-variable-ref, byte-compile-setq)
16681 (byte-compile-setq-default, byte-compile-body)
16682 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
16683 (batch-byte-compile): Give some more local variables with common names
16684 a "bytecomp-" prefix to avoid masking warnings about free variables.
16686 * startup.el (command-line-1): Give local variables with common names a
16687 distinguishing prefix, so as not to hide free variable warnings during
16690 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
16691 clever and add a suffix to make a unique name, just let the user decide
16692 whether or not to overwrite it. If the input is a directory, write the
16693 default filename to that directory. (Bug#4388)
16694 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
16695 is a filename-as-a-directory.
16697 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
16699 * textmodes/page.el (what-page): Don't move to beginning of line.
16700 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
16702 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
16704 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
16706 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
16708 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
16709 * help.el (help-for-help-internal): Add purecopy calls for text.
16711 * vc.el (top): print-log method now takes an optional SHORTLOG
16712 argument. Add a new method: root.
16713 (vc-root-diff, vc-print-root-log): New functions.
16714 (vc-log-short-style): New variable.
16715 (vc-print-log-internal): Add support for showing short logs.
16717 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
16718 vc-print-root-log and vc-print-root-diff.
16720 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
16721 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
16722 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
16725 * vc-cvs.el (vc-cvs-print-log):
16726 * vc-mtn.el (vc-mtn-print-log):
16727 * vc-rcs.el (vc-rcs-print-log):
16728 * vc-sccs.el (vc-sccs-print-log):
16729 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
16730 that is ignored for now.
16732 * vc-mtn.el (vc-mtn-annotate-command):
16733 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
16735 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
16737 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
16738 to function-key-map, and give them ascii-character property.
16739 * term/x-win.el (x-alternatives-map):
16740 * term/ns-win.el (ns-alternatives-map):
16741 * term/internal.el (msdos-key-remapping-map):
16742 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
16744 2009-09-14 Glenn Morris <rgm@gnu.org>
16746 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
16747 temp-buffers (2009-09-12).
16749 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
16751 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
16752 the new read-key function.
16754 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
16756 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
16757 is defined (Bug#4405).
16759 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
16761 * recentf.el (recentf-cleanup): Use a hash table to find
16762 duplicates (Bug#4407).
16764 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
16766 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
16767 kp-0 to ascii equivalents (Bug#4325).
16769 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
16771 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
16773 * eshell/em-hist.el:
16774 * eshell/em-dirs.el (eshell-complete-user-reference):
16775 Declare pcomplete functions and variables to avoid compiler warnings.
16777 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
16779 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
16780 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
16781 * eshell/em-alias.el (eshell-aliases-file):
16782 * eshell/em-hist.el (eshell-history-file-name):
16783 Use expand-file-name instead of concat to make file names (Bug#4308).
16785 2009-09-13 Glenn Morris <rgm@gnu.org>
16787 * ediff-merg.el (ediff-do-merge):
16788 * filesets.el (filesets-run-cmd):
16789 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
16790 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
16791 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
16792 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
16793 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
16794 Replace empty `let's with `progn'.
16796 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
16798 * mail/sendmail.el (send-mail-function):
16799 * tooltip.el (tooltip-mode):
16800 * simple.el (transient-mark-mode):
16801 * rfn-eshadow.el (file-name-shadow-mode):
16802 * frame.el (blink-cursor-mode):
16803 * font-core.el (global-font-lock-mode):
16804 * files.el (temporary-file-directory)
16805 (small-temporary-file-directory, auto-save-file-name-transforms):
16806 * epa-hook.el (auto-encryption-mode):
16807 * composite.el (global-auto-composition-mode):
16808 Use custom-initialize-delay.
16809 * startup.el (command-line): Don't explicitly call
16810 custom-reevaluate-setting for all the above vars.
16811 * custom.el (custom-initialize-safe-set)
16812 (custom-initialize-safe-default): Delete.
16814 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16816 * term/x-win.el (x-initialize-window-system):
16817 * term/w32-win.el (w32-initialize-window-system):
16818 * term/ns-win.el (ns-initialize-window-system): Don't call
16819 mouse-wheel-mode since it's enabled globally by default already.
16821 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
16822 actually define the variable, but only silences the byte-compiler.
16823 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
16824 before looking it up.
16825 (mouse-wheel-scroll-amount): Also reset the bindings if this value
16828 2009-09-12 Glenn Morris <rgm@gnu.org>
16830 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
16832 (elint-add-required-env): Don't beep on error.
16833 (elint-forms): In case of error, return ENV unchanged.
16834 (elint-init-env): Skip non-list forms.
16835 (elint-log): Handle unknown file positions.
16837 2009-09-12 Daiki Ueno <ueno@unixuser.org>
16839 * epg.el (epg-make-context): Add autoload cookie.
16840 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
16841 (epg-decrypt-string, epg-start-verify, epg-verify-file)
16842 (epg-verify-string, epg-start-sign, epg-sign-file)
16843 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
16844 (epg-encrypt-string, epg-start-export-keys)
16845 (epg-export-keys-to-file, epg-export-keys-to-string)
16846 (epg-start-import-keys, epg-import-keys-from-file)
16847 (epg-import-keys-from-string, epg-start-receive-keys)
16848 (epg-receive-keys, epg-import-keys-from-server)
16849 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
16850 (epg-sign-keys, epg-start-generate-key)
16851 (epg-generate-key-from-file, epg-generate-key-from-string):
16852 Remove autoload cookie.
16854 2009-09-12 Eli Zaretskii <eliz@gnu.org>
16856 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
16857 reevaluation of trash-directory.
16859 * mwheel.el: Fix last change.
16860 (mouse-wheel-mode): New defvar.
16861 (mouse-wheel-mode): Remove autoload cookie.
16863 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16865 * mwheel.el (mwheel-installed-bindings): New var.
16866 (mouse-wheel-mode): Use it, so as to make sure we really remove all
16867 the bindings we set last time. Use custom-initialize-delay.
16868 * loadup.el: Load mwheel after term/*-win.el.
16869 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
16870 and mouse-wheel-up-event now that their first evaluation is done
16871 sufficiently late to be correct.
16873 * startup.el (tutorial-directory): Make it a defcustom.
16874 Use custom-initialize-delay rather than eval-at-startup to set it.
16875 * image.el (image-load-path): Make it a defcustom.
16876 Use custom-initialize-delay rather than eval-at-startup to set it.
16877 * subr.el (eval-at-startup): Remove.
16878 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
16880 * subr.el (do-after-load-evaluation): Warn the user after loading an
16883 2009-09-12 Glenn Morris <rgm@gnu.org>
16885 * proced.el (proced-mark-alt): Remove alias.
16886 (proced-mode-map): Remove proced-mark-alt.
16888 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
16889 Elint file and directory. Remove initialization entry.
16891 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
16893 (elint-current-buffer): Set mode-line-process.
16894 (elint-init-env): Handle define-derived-mode.
16895 Fix declare-function with unspecified arglist. Guard against odd
16896 defalias statements (eg iso-insert's 8859-1-map).
16897 (elint-add-required-env): Use a temp buffer.
16898 (elint-form): Just print the function/macro name, not the whole form.
16899 Return env unchanged if we fail to parse a macro.
16900 (elint-forms): Guard against parse errors.
16901 (elint-output): New function, to handle batch mode.
16902 (elint-log-message): Add optional argument. Use elint-output.
16903 (elint-set-mode-line): New function.
16905 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
16907 * emacs-lisp/elp.el (elp-not-profilable): Add more
16908 functions (Bug#4233).
16910 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
16912 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
16913 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
16915 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
16917 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
16918 (gdb-var-list-children): Use json parsing.
16920 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
16922 * progmodes/js.el (js--proper-indentation): Handle the case where
16923 char-before is null. Reported by Deniz Dogan.
16925 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
16927 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
16929 2009-09-11 Daiki Ueno <ueno@unixuser.org>
16931 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
16932 (epg-digest-algorithm-alist): Add SHA224.
16933 (epg-context-set-passphrase-callback)
16934 (epg-context-set-progress-callback): Add description about
16937 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16939 * custom.el (custom-delayed-init-variables): New var.
16940 (custom-initialize-delay): New function.
16941 * startup.el (command-line): "Re"evaluate all vars in
16942 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
16943 explicitly any more.
16944 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
16945 to avoid creating a ~/.emacs.d at build-time (bug#4347).
16947 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
16949 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
16951 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
16952 (gdb-var-update-handler): Use json parsing.
16954 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
16956 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
16957 decode annotated text, regardless of language environment. (Bug#2741)
16959 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16961 * Makefile.in (autoloads): Make rmail.el writable as well.
16963 2009-09-11 Glenn Morris <rgm@gnu.org>
16965 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
16967 * dired.el: Regenerate with extracted autoloads.
16968 * Makefile.in (autoloads): Make dired.el writable.
16970 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
16971 * ibuffer.el: Regenerate with extracted autoloads.
16972 * Makefile.in (autoloads): Make ibuffer.el writable.
16974 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
16975 * version.el (emacs-copyright, emacs-major-version)
16976 (emacs-minor-version): Reformat doc-strings for make-docfile.
16978 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
16979 functions and variables, since they must be stuff specific to some other
16981 (apropos-print): Make mouse-click message less specific about button.
16983 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
16984 that records where a macro was defined.
16985 * help-fns.el (describe-function-1): Mention if a function has a
16987 * help-mode.el (help-function-cmacro): New button.
16989 * locate.el (top-level): Always require dired.
16990 (locate-mode-map): Initialize inside the defvar.
16992 * net/ange-ftp.el (dired-compress-file): Declare.
16993 (ange-ftp-dired-compress-file): Add doc string.
16995 * term/ns-win.el (x-display-name, x-setup-function-keys):
16996 Unify doc-strings with X versions.
16998 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17000 * emulation/crisp.el (crisp-mode-map): Move initialization
17002 (crisp-mode): Use define-minor-mode.
17004 * progmodes/xscheme.el (xscheme-evaluation-commands):
17005 Put a :advertised-binding property rather than using
17006 advertised-xscheme-send-previous-expression.
17007 (advertised-xscheme-send-previous-expression): Declare obsolete.
17008 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
17010 (crisp-mode): Add corresponding bindings to
17011 undo's :advertised-binding instead.
17012 * dired.el (dired-mode-map): Put a :advertised-binding property rather
17013 than using dired-advertised-find-file.
17014 (dired-advertised-find-file):
17015 * simple.el (advertised-undo):
17016 * wid-edit.el (advertised-widget-backward): Declare obsolete.
17017 (widget-keymap): Put a :advertised-binding property rather
17018 than using advertised-widget-backward.
17019 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
17020 than using advertised-undo.
17021 * tutorial.el (tutorial--default-keys): Adjust accordingly.
17023 2009-09-10 Simon South <ssouth@slowcomputing.org>
17025 * progmodes/delphi.el (delphi-tab): Indent region when Transient
17026 Mark mode is enabled and region is active; otherwise indent or
17027 insert TAB as usual.
17028 (delphi-mode): Update description of TAB-key binding.
17030 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
17032 * subr.el (define-key-rebound-commands): Mark obsolete.
17033 * startup.el (precompute-menubar-bindings): Remove.
17034 (normal-top-level): Remove obsolete code that tried to precompute
17036 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
17037 define-key-rebound-commands and precompute-menubar-bindings.
17039 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
17041 * net/imap.el (imap-interactive-login): Better messages.
17042 (imap-open): Fix bug with renamed buffer on reconnect.
17043 (imap-authenticate): Add buffer-local imap-last-authenticator variable
17044 for easier debugging and cleaner code. On successful (guessed based on
17045 server capabilities) secondary authentication, set imap-state
17047 (imap-last-authenticator): Define imap-last-authenticator as a variable
17050 2009-09-10 Glenn Morris <rgm@gnu.org>
17052 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
17054 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
17055 (byte-compile-file-form-autoload): Don't warn about unknown functions
17056 where the autoload statement comes after the use.
17057 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
17058 that any handlers inside the body (eg require) are in turn respected.
17060 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
17063 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
17064 and syntax and abbrev tables basic docs, if they don't have any.
17066 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
17068 * international/mule-cmds.el (top-level): Require cl when compiling.
17069 (view-hello-file): Use default-value rather than
17070 default-enable-multibyte-characters.
17072 * progmodes/fortran.el: Move all safe and risky properties into the
17075 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
17076 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
17077 * mail/undigest.el:
17078 Put autoloads in rmail.el rather than loaddefs.el.
17079 * mail/rmail.el: Regenerate with extracted autoloads.
17081 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
17082 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
17084 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
17086 Reported in thread for Bug#4375.
17087 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
17088 "-data-evaluate-expression" instead of print.
17089 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
17090 (gdb-tooltip-print): Parse output from above MI command.
17091 (gdb): Revert 2009-08-11 change. User should detach inferior
17094 Remove the word "separate" from IO functions as inferior
17095 output is now never displayed in the GUD buffer.
17097 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
17099 * startup.el (command-line-normalize-file-name): On Windows and
17100 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
17102 2009-09-10 Juri Linkov <juri@jurta.org>
17104 * isearch.el (isearch-text-char-description): Propertize escape
17105 character sequences with the `escape-glyph' face. (Bug#4344)
17107 * simple.el (shell-command): Set asynchronous process filter to
17108 `comint-output-filter'. (Bug#4343)
17110 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
17111 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
17112 the list. Move "asm" to the bottom.
17113 (grep-find-ignored-directories): Add `choice' with nil value
17114 to empty the list easily.
17115 (grep-find-ignored-files): New option.
17116 (grep-files-history): Set to nil by default instead of '("ch" "el").
17117 (grep-compute-defaults): Add "<X>" to `grep-template'.
17118 (grep-read-files): Bind new local variables `default-alias' and
17119 `default-extension'. Use a list of default values for the file prompt.
17120 (lgrep): Add `--exclude=' command line options composed from
17121 `grep-find-ignored-files'.
17122 (rgrep): Add `-name' command line options composed from
17123 `grep-find-ignored-files'. (Bug#4301)
17125 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
17127 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
17130 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
17132 * calendar/time-date.el (autoload):
17133 Expand define-obsolete-function-alias into defalias and make-obsolete
17134 for old Emacsen that Gnus supports.
17135 (with-no-warnings): Define it for old Emacsen.
17136 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
17138 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
17139 float-time is available; suppress compile warning for time-to-seconds.
17141 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
17143 * net/imap.el (imap-message-map): Docstring fix.
17145 2009-09-09 Glenn Morris <rgm@gnu.org>
17147 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
17148 line numbers too. (Bug#4374)
17150 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
17152 * smerge-mode.el (smerge-remove-props, smerge-refine):
17153 Use with-silent-modifications (bug#4342).
17155 * subr.el (with-silent-modifications): New macro.
17157 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
17159 * files.el (top-level): Require `cl' when compiling.
17161 2009-09-07 Glenn Morris <rgm@gnu.org>
17163 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
17165 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
17166 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
17168 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
17170 * vc-git.el (vc-git-annotate-command): Use separator to parse
17171 arguments correctly.
17173 2009-09-06 Eli Zaretskii <eliz@gnu.org>
17175 * proced.el (proced-mode): Doc fix.
17177 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
17179 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
17181 (tramp-do-file-attributes-with-ls): Check for file existence at
17183 (tramp-do-file-attributes-with-stat): Likewise.
17184 (tramp-convert-file-attributes): Return nil when attr is nil.
17186 2009-09-05 Glenn Morris <rgm@gnu.org>
17188 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
17189 properties to this button.
17190 (diary-fancy-display): Don't extend the button to the final newline.
17191 (diary-fancy-display-mode): Continue to define "q" as a local key.
17193 * calendar/cal-china.el (holiday-chinese): Make it slightly more
17196 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
17198 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
17199 (byte-compile-dest-file-function): New option.
17200 (byte-compile-dest-file): Doc fix.
17201 Obey byte-compile-dest-file-function.
17202 (byte-compile-cl-file-p): New function.
17203 (byte-compile-eval): Only suppress noruntime warnings about cl functions
17204 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
17205 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
17206 than for file being previously loaded.
17207 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
17208 (byte-compile-file-form-require): Handle the case where requiring a file
17209 indirectly causes CL to be loaded.
17211 2009-09-05 Karl Fogel <kfogel@red-bean.com>
17213 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
17214 before killing the old buffer, since by the time `kill-buffer' is
17215 run so many buffer variables have been set to nil that it may not
17216 behave as expected. (Bug#4061)
17218 2009-09-05 Karl Fogel <kfogel@red-bean.com>
17220 * files.el (find-alternate-file): If the old buffer is modified
17221 and visiting a file, behave similarly to `kill-buffer' when
17222 killing it, thus reverting to the pre-1.878 behavior; see
17223 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
17224 for discussion. Also, consult `buffer-file-name' as a variable
17225 not as a function, for consistency with the rest of the code.
17227 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
17229 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
17230 also when adding a new directory.
17232 * net/tramp-compat.el (tramp-compat-line-beginning-position):
17235 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
17237 * files.el (locate-file-completion-table): Make it provide boundary
17238 information, so partial-completion works better.
17240 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
17242 * mail/footnote.el (Footnote-text-under-cursor):
17243 Check footnote-text-marker-alist before using it (bug#4324).
17245 2009-09-04 Glenn Morris <rgm@gnu.org>
17247 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
17248 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
17249 * play/solitaire.el, play/tetris.el:
17250 Remove leading * from defcustom and defface docs.
17252 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
17254 (diary-fancy-overriding-map): New variable.
17255 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
17258 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
17261 2009-09-03 Glenn Morris <rgm@gnu.org>
17263 * arc-mode.el (archive-mode):
17264 * dos-fns.el (set-default-process-coding-system):
17265 * man.el (Man-getpage-in-background):
17266 * menu-bar.el (menu-bar-describe-menu):
17267 * server.el (server-process-filter):
17268 * startup.el (command-line):
17269 * tar-mode.el (tar-header-block-tokenize, tar-extract):
17270 * w32-fns.el (set-default-process-coding-system):
17271 * x-dnd.el (x-dnd-handle-file-name):
17272 * international/mule-cmds.el (mule-menu-keymap)
17273 (set-default-coding-systems, language-info-alist, set-language-info)
17274 (set-language-environment, standard-display-european-internal)
17275 (set-locale-environment):
17276 * international/mule-diag.el (mule-diag):
17277 * mail/emacsbug.el (report-emacs-bug):
17278 * mail/rmail.el (rmail-mode):
17279 * mail/sendmail.el (mail-setup):
17280 Use default-value rather than default-enable-multibyte-characters.
17282 * progmodes/f90.el: Move all safe properties into the defcustoms.
17283 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
17285 * calendar/appt.el (appt-check):
17286 * calendar/diary-lib.el (diary-set-header, diary-live-p)
17287 (diary-check-diary-file, diary-list-entries)
17288 (diary-include-other-diary-files, diary-simple-display)
17289 (diary-fancy-display, diary-print-entries)
17290 (diary-mark-included-diary-files, diary-make-entry):
17291 Don't call substitute-in-file-name on diary-file.
17293 2009-09-03 Eduard Wiebe <usenet@pusto.de>
17294 Stefan Monnier <monnier@iro.umontreal.ca>
17296 * mail/footnote.el (footnote-prefix): Make it a defcustom.
17297 (footnote-mode-map): Move initialization into the declaration.
17298 (footnote-minor-mode-map): Define it rather than changing global-map.
17299 (footnote-mode): Use define-minor-mode.
17301 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
17303 * net/tramp.el (tramp-handle-file-attributes-with-ls)
17304 (tramp-do-file-attributes-with-perl)
17305 (tramp-do-file-attributes-with-stat): Rename from
17306 `tramp-handle-file-attributes-with-*'.
17307 (tramp-handle-file-attributes): Use them.
17308 (tramp-do-directory-files-and-attributes-with-perl)
17309 (tramp-do-directory-files-and-attributes-with-stat): Rename from
17310 `tramp-handle-directory-files-and-attributes-with-*'.
17311 (tramp-handle-directory-files-and-attributes): Use them.
17312 (tramp-method-out-of-band-p): Additional parameter SIZE.
17313 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
17314 (tramp-handle-write-region): Use it.
17315 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
17316 (tramp-handle-vc-registered): Check, whether the first run did
17317 return files to be tested.
17318 (tramp-advice-make-auto-save-file-name): Do not call directly
17319 `tramp-handle-make-auto-save-file-name', because this would bypass
17320 the locking mechanism.
17322 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
17323 (file-remote-p, process-file, start-file-process, set-file-times)
17324 (tramp-compat-file-attributes): Compatibility functions shall not
17325 call directly `tramp-handle-*', because this would bypass the
17327 (tramp-compat-number-sequence): New defun.
17329 2009-09-02 Glenn Morris <rgm@gnu.org>
17331 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
17332 alias for float-time.
17333 (time-to-number-of-days): In Emacs, use float-time.
17334 * net/newst-backend.el (time-add): Suppress warnings from compat
17336 * time.el (emacs-uptime, emacs-init-time):
17337 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
17338 Use float-time rather than time-to-seconds.
17340 * minibuffer.el (completion-initials-expand): Fix typo.
17342 * faces.el (modeline, modeline-inactive, modeline-highlight)
17343 (modeline-buffer-id):
17344 * info.el (info-menu-5): Mark these face aliases as obsolete.
17346 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
17348 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
17350 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
17351 no "--thread" option.
17352 (gdb-stopped): Don't print "Switched to thread" message when it is
17355 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
17357 * minibuffer.el (completion-try-completion)
17358 (completion-all-completions): Remove ill-defined (and
17359 mistakenly installed and luckily never used nor documented)
17360 `completion-styles' property.
17361 (completion-initials-expand, completion-initials-all-completions)
17362 (completion-initials-try-completion): New functions.
17363 (completion-styles-alist): Add doc to each entry.
17364 Add new `initials' entry.
17366 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
17368 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
17369 MI command -var-evaluate-expression.
17370 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
17371 and tweak for case of string child.
17372 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
17374 2009-09-01 Glenn Morris <rgm@gnu.org>
17376 * add-log.el (change-log-date-face, change-log-name-face)
17377 (change-log-email-face, change-log-file-face, change-log-list-face)
17378 (change-log-conditionals-face, change-log-function-face)
17379 (change-log-acknowledgement-face):
17380 * cus-edit.el (custom-invalid-face, custom-rogue-face)
17381 (custom-modified-face, custom-set-face, custom-changed-face)
17382 (custom-saved-face, custom-button-face, custom-button-pressed-face)
17383 (custom-documentation-face, custom-state-face, custom-comment-face)
17384 (custom-comment-tag-face, custom-variable-tag-face)
17385 (custom-variable-button-face, custom-face-tag-face)
17386 (custom-group-tag-face-1, custom-group-tag-face):
17387 * diff-mode.el (diff-header-face, diff-file-header-face)
17388 (diff-index-face, diff-hunk-header-face, diff-removed-face)
17389 (diff-added-face, diff-changed-face, diff-function-face)
17390 (diff-context-face, diff-nonexistent-face):
17391 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
17392 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
17393 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
17394 (Info-title-4-face):
17395 * isearch.el (isearch-lazy-highlight-face):
17396 * log-view.el (log-view-file-face, log-view-message-face):
17397 * paren.el (show-paren-match-face, show-paren-mismatch-face):
17398 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
17399 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
17401 * smerge-mode.el (smerge-mine-face, smerge-other-face)
17402 (smerge-base-face, smerge-markers-face):
17403 * wid-edit.el (widget-documentation-face, widget-button-face)
17404 (widget-field-face, widget-single-line-field-face)
17405 (widget-inactive-face, widget-button-pressed-face):
17406 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
17407 (woman-addition-face):
17408 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
17409 (eshell-ls-executable-face, eshell-ls-readonly-face)
17410 (eshell-ls-unreadable-face, eshell-ls-special-face)
17411 (eshell-ls-missing-face, eshell-ls-archive-face)
17412 (eshell-ls-backup-face, eshell-ls-product-face)
17413 (eshell-ls-clutter-face):
17414 * eshell/em-prompt.el (eshell-prompt-face):
17415 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
17416 * obsolete/old-whitespace.el (whitespace-highlight-face):
17417 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
17418 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
17419 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
17420 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
17421 (antlr-font-lock-literal-face):
17422 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
17423 (ebrowse-root-class-face, ebrowse-file-name-face)
17424 (ebrowse-default-face, ebrowse-member-attribute-face)
17425 (ebrowse-member-class-face, ebrowse-progress-face):
17426 * progmodes/make-mode.el (makefile-space-face):
17427 * progmodes/sh-script.el (sh-heredoc-face):
17428 * textmodes/flyspell.el (flyspell-incorrect-face)
17429 (flyspell-duplicate-face):
17430 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
17431 * textmodes/texinfo.el (texinfo-heading-face):
17432 Mark face aliases with "-face" suffix as obsolete.
17434 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
17437 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
17438 (eudc-bob-sound-menu): Use defvar rather than defconst, since
17439 easy-menu-define wants to modify these.
17441 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
17443 * net/browse-url.el (browse-url-file-url):
17444 * term/internal.el (dos-codepage-setup):
17445 Use default-value rather than default-enable-multibyte-characters.
17447 * progmodes/etags.el (etags-goto-tag-location):
17448 * progmodes/flymake.el (flymake-highlight-line)
17449 (flymake-goto-file-and-line, flymake-goto-line):
17450 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
17451 (gdb-goto-breakpoint):
17452 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
17453 * progmodes/python.el (python-find-function)
17454 (python-pdbtrack-track-stack-file):
17455 * progmodes/verilog-mode.el (verilog-surelint-off):
17456 * term/ns-win.el (ns-open-file-select-line):
17457 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
17458 Use forward-line rather than goto-line.
17460 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
17461 * textmodes/reftex-index.el (reftex-display-index):
17462 * textmodes/reftex-ref.el (reftex-offer-label-menu):
17463 * textmodes/reftex-toc.el (reftex-toc):
17464 Remove unnecessary bindings of default-major-mode (all are followed by
17465 major-mode check and possible mode switch).
17467 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
17469 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
17470 Handle watchpoints (bug#4282).
17471 (def-gdb-thread-buffer-command): Enable thread to be selected by
17472 clicking without selecting threads buffer first.
17473 (gdb-current-context-command): Use selected frame so that "up",
17474 "down" etc work in the GUD buffer.
17475 (gdb-update): Find selected frame before rendering stack buffer.
17476 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
17478 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
17480 * progmodes/sym-comp.el (displayed-completions): Remove.
17481 (symbol-complete): Use minibuffer-complete.
17483 2009-08-31 Glenn Morris <rgm@gnu.org>
17485 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
17487 * apropos.el (apropos-symbols-internal):
17488 Handle (obsolete) face aliases.
17490 * faces.el (describe-face): Adjust the output format to be more like
17491 describe-variable, and to mention (obsolete) face aliases.
17492 Adjust the whitespace so that help-setup-xref works.
17494 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
17495 * calendar/diary-lib.el (diary-button-face):
17496 Mark these face aliases as obsolete.
17498 * calendar/calendar.el (calendar-today): Doc fix.
17500 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
17502 * progmodes/gdb-mi.el (gdb-control-all-threads)
17503 (gdb-control-current-thread): Force tool bar update.
17504 (gdb-non-stop-handler): New function.
17505 (gdb-init-1): Use it to test if non-stop mode is supported.
17506 Remove unused gdbmi buffer type.
17508 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
17510 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
17511 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
17513 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
17515 * comint.el (comint-exec-1): Check command is non-null first.
17516 Part of gdb-mi.el change (2009-08-28).
17518 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17520 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
17522 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
17524 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
17525 instead of `dolist' to avoid a recursive require when bootstrapping.
17527 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17529 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
17531 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
17533 * net/imap.el (imap-send-command): Simplify.
17534 (imap-wait-for-tag): point-max -> buffer-size.
17536 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
17538 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
17539 with constant argument.
17541 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
17543 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
17545 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
17546 Change default, since most of our files don't have a history.
17547 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
17550 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17553 * calc/calc.el: Improve commenting convention.
17554 (calc-digit-map, toplevel): Simplify.
17556 * comint.el (comint-insert-input): Be careful to only set point if we
17557 don't delegate to some other command.
17559 * proced.el (proced-signal-list): Make it an alist.
17560 (proced-grammar-alist): Capitalize names.
17561 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
17562 Disable undo manually and make it read-only.
17563 Use completion-annotate-function.
17565 * minibuffer.el (minibuffer-message): If the current buffer is not
17566 a minibuffer, insert the message in the echo area rather than at the
17568 (completion-annotate-function): New variable.
17569 (minibuffer-completion-help): Use it.
17570 (completion--embedded-envvar-table): Environment vars are
17571 always case-sensitive.
17573 2009-08-30 Glenn Morris <rgm@gnu.org>
17575 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
17576 from fortran-current-defun.
17577 (fortran-beginning-of-subprogram): Be more precise about finding the
17578 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
17579 (fortran-end-of-subprogram): Simplify.
17580 (fortran-current-defun): Use fortran-start-prog-re.
17582 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
17584 * subr.el (do-after-load-evaluation): Simplify.
17586 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
17588 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
17590 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
17591 (vc-rcs-print-log): Use it.
17593 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
17595 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
17597 * paths.el (abbrev-file-name): Move to abbrev.el.
17598 * abbrev.el (abbrev-file-name): Move from paths.el.
17599 Obey user-emacs-directory.
17600 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
17601 user-emacs-directory.
17602 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
17603 abbrev-file-name and calc-settings-file any more.
17604 * startup.el (command-line): Recompute abbrev-file-name and
17605 abbreviated-home-dir.
17606 (normal-no-mouse-startup-screen): Improve the generic code and get rid
17607 of the special code for when C-h bindings haven't been changed.
17608 (display-startup-echo-area-message): Use with-current-buffer.
17609 (command-line-1): Use a list of strings, rather than a list of lists
17610 of strings for longopts.
17612 * files.el (get-free-disk-space): Use / for default-directory.
17614 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
17615 Use with-current-buffer.
17617 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
17618 Recognize immutable variables like most-positive-fixnum.
17619 (byte-compile-setq-default): Check and warn if trying to assign
17620 to an immutable variable, or a non-variable.
17622 * progmodes/cc-vars.el (c-comment-continuation-stars):
17623 * progmodes/cc-engine.el (c-looking-at-bos):
17624 * progmodes/cc-cmds.el (c-toggle-auto-state)
17625 (c-forward-into-nomenclature, c-backward-into-nomenclature)
17626 (c-comment-line-break-function): Add version of obsolescence.
17628 2009-08-28 Juri Linkov <juri@jurta.org>
17630 * files.el (magic-fallback-mode-alist): Add ZIP magic number
17631 associated with `archive-mode'.
17633 * image.el (image-type-header-regexps): Use only JPEG magic number
17634 to determine JPEG images, and don't use `image-jpeg-p' because
17635 Emacs can display non-JFIF non-Exif JPEG images.
17637 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
17639 * arc-mode.el (archive-mode):
17640 * emacs-lisp/re-builder.el (re-builder-unload-function):
17641 Protect against the default value of `major-mode' being nil.
17643 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
17645 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
17646 Fix typos in docstrings.
17648 * progmodes/js.el (js--macro-decl-re): Doc fix.
17649 (js--plain-method-re, js--split-name): Refloc docstring.
17650 (js--class-styles, js--make-merged-item, js--splice-into-items):
17651 Fix typos in docstrings; reflow docstrings.
17652 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
17653 (js--variable-decl-matcher, js--inside-pitem-p)
17654 (js--parse-state-at-point, js--get-all-known-symbols)
17655 (js--symbol-history, js-find-symbol, js--js-references)
17656 (js--moz-interactor, js--js-encode-value, js--read-tab):
17657 Fix typos in docstrings.
17659 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17661 * textmodes/reftex.el (reftex-get-file-buffer-force):
17662 * progmodes/verilog-mode.el (verilog-batch-execute-func):
17663 * emulation/viper.el (viper-go-away, viper-set-hooks):
17664 * emacs-lisp/re-builder.el (re-builder-unload-function):
17665 * emacs-lisp/bytecomp.el (byte-compile-file):
17666 * ses.el (ses-unload-function):
17667 * hexl.el (hexl-find-file):
17668 * files.el (normal-mode):
17669 * ehelp.el (with-electric-help):
17670 * autoinsert.el (auto-insert-alist):
17671 * arc-mode.el (archive-mode):
17672 Use (default-value 'major-mode) instead of default-major-mode.
17674 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
17675 * international/mule.el (load-with-code-conversion):
17676 * emacs-lisp/debug.el (debug):
17677 * ediff-vers.el (ediff-rcs-get-output-buffer):
17678 * dired.el (dired-internal-noselect): Don't let-bind
17679 default-major-mode around code that doesn't use it.
17680 E.g. buffer creation via get-buffer-create doesn't use it.
17682 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
17684 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
17685 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
17686 when writing the temp file. Otherwise, epa-file gets confused.
17687 (tramp-register-file-name-handlers): Make it a defun. Move also
17688 `epa-file-handler' to the front of `file-name-handler-alist'.
17690 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17692 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
17693 start right after a ^M.
17694 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
17695 (tramp-completion-file-name-regexp-separate)
17696 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
17697 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
17698 Don't modify last-coding-system-used by accident.
17699 (tramp-completion-file-name-handler): Apply the checks here,
17700 instead during registration.
17701 (tramp-register-file-name-handlers): Rename from
17702 `tramp-register-file-name-handler'. Register both
17703 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
17704 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
17706 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
17708 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
17709 Remove variable ...
17710 (gdb-init-1, gdb-display-separate-io-buffer)
17711 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
17713 (gdb-inferior-io-mode): Use make-comint-in-buffer.
17714 (gdb-inferior-filter): Use comint-output-filter to stop
17715 echoing and remove ^M characters.
17717 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17719 * emulation/viper-init.el (viper-restore-cursor-type):
17720 * emulation/cua-base.el (cua--update-indications):
17721 Replace default-cursor-type with (default-value 'cursor-type).
17723 * mail/sendmail.el (mail-recover-1):
17724 * international/mule-diag.el (describe-current-coding-system-briefly)
17725 (describe-current-coding-system):
17726 * international/mule-cmds.el (select-safe-coding-system)
17727 (select-message-coding-system)
17728 (set-language-environment-coding-systems, set-locale-environment):
17729 * hexl.el (hexl-insert-multibyte-char):
17730 * dos-w32.el (find-buffer-file-type-coding-system):
17731 * simple.el (what-cursor-position):
17732 Replace uses of default-buffer-file-coding-system
17733 with (default-value 'buffer-file-coding-system).
17735 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
17736 Replace uses of default-cursor-in-non-selected-windows
17737 with (default-value 'cursor-in-non-selected-windows).
17738 Use with-current-buffer.
17740 * mail/feedmail.el: Use CL macros.
17741 (feedmail-run-the-queue, feedmail-send-it-immediately):
17742 * dos-w32.el (find-buffer-file-type): Replace uses of
17743 default-buffer-file-type with (default-value 'buffer-file-type).
17745 2009-08-28 Glenn Morris <rgm@gnu.org>
17747 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
17748 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
17749 Use default-value of major-mode rather than default-major-mode.
17751 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
17753 * Makefile.in (update-elcfiles): Report left over elc files.
17755 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
17756 expand-file-name and with-current-buffer.
17757 (mail-get-names, mail-directory): Use with-current-buffer.
17759 * vc.el (vc-read-revision): New function.
17760 (vc-version-diff, vc-merge): Use it.
17762 2009-08-27 Sam Steingold <sds@gnu.org>
17764 * simple.el (kill-do-not-save-duplicates): New user option.
17765 (kill-new): When it is non-nil, and the new string is the same as
17766 the latest kill, set replace to t to avoid duplicates in kill-ring.
17768 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
17770 * net/tramp.el (tramp-handle-process-file): Do not flush all
17771 caches when `process-file-side-effects' is set.
17772 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
17773 instead of `tramp-find-file-exists-command'.
17774 Unset `process-file-side-effects'.
17776 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
17778 * net/tramp.el (tramp-methods): New method "rsyncc".
17779 (top): Add completion function for "rsyncc".
17780 (tramp-message-show-message): New defvar.
17781 (tramp-message, tramp-error): Use it.
17782 (tramp-do-copy-or-rename-file-directly): Extend check for direct
17784 (tramp-do-copy-or-rename-file-out-of-band): Handle new
17785 `tramp-methods' entry `copy-env' of "rsyncc".
17786 (tramp-vc-registered-read-file-names): New defconst.
17787 (tramp-vc-registered-file-names): New defvar.
17788 (tramp-handle-vc-registered): Implement optimization strategy.
17789 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
17790 (tramp-vc-file-name-handler): New defun.
17791 (tramp-get-ls-command, tramp-get-test-command)
17792 (tramp-get-file-exists-command, tramp-get-remote-ln)
17793 (tramp-get-remote-perl, tramp-get-remote-stat)
17794 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
17796 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
17797 (tramp-cache-inhibit-cache): Extend doc string. It allows also
17799 (tramp-get-file-property): Check for timestamps in
17800 `tramp-cache-inhibit-cache'.
17801 (tramp-set-file-property): Write timestamp.
17803 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
17805 * language/japan-util.el (japanese-symbol-table): Add entries for
17808 * international/characters.el: Add category `j' to cp932-2-byte.
17810 2009-08-27 Kenichi Handa <handa@m17n.org>
17812 * international/fontset.el (build-default-fontset-data): New macro.
17813 (setup-default-fontset): Use build-default-fontset-data for CJK,
17814 tibetan, ethiopic, and ipa.
17816 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
17818 * cus-start.el (default-major-mode): Customize `major-mode' instead.
17819 (enable-multibyte-characters): Not customizable any more.
17821 * subr.el (default-mode-line-format, default-header-line-format)
17822 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
17823 (default-direction-reversed, default-truncate-lines)
17824 (default-left-margin, default-tab-width, default-case-fold-search)
17825 (default-left-margin-width, default-right-margin-width)
17826 (default-left-fringe-width, default-right-fringe-width)
17827 (default-fringes-outside-margins, default-scroll-bar-width)
17828 (default-vertical-scroll-bar, default-indicate-empty-lines)
17829 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
17830 (default-fringe-cursor-alist, default-scroll-up-aggressively)
17831 (default-scroll-down-aggressively, default-fill-column)
17832 (default-cursor-type, default-buffer-file-type)
17833 (default-cursor-in-non-selected-windows)
17834 (default-buffer-file-coding-system, default-major-mode)
17835 (default-enable-multibyte-characters): Mark as obsolete.
17837 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
17839 * vc-dir.el (vc-dir-update): Remove debug helper.
17841 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
17843 2009-08-26 Sam Steingold <sds@gnu.org>
17845 * simple.el (save-interprogram-paste-before-kill): New user option.
17846 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
17847 save the interprogram-paste into kill-ring before overriding it
17848 with the Emacs kill.
17850 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
17852 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
17853 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
17854 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
17855 and move to vc-rcs.el.
17856 (vc-default-next-revision): Rename to vc-rcs-next-revision and
17858 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
17859 (vc-rcs-update-changelog): Remove.
17860 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
17861 and move to vc-rcs.el.
17863 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
17864 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
17866 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
17867 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
17868 vc.el, renamed to be RCS specific.
17870 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
17872 (vc-cvs-update-changelog): Move here from vc.el.
17874 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
17877 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
17879 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
17881 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
17883 * vc-git.el (vc-git-register): Use "git add" for directories.
17884 (vc-git-stash, vc-git-stash-show): New functions.
17885 (vc-git-extra-menu-map): Bind them.
17887 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
17888 directory correctly in case the item is a directory itself.
17890 * vc.el: Document the desired behavior for reverted files in the
17892 (vc-default-prettify-state-info): Remove function, unused.
17894 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
17896 2009-08-26 Glenn Morris <rgm@gnu.org>
17898 * bindings.el (standard-mode-line-format): Reposition dashes in
17899 which-func entry. (Bug#4217)
17901 * files.el (enable-local-variables, enable-local-eval)
17902 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
17904 (auto-mode-alist, ignored-local-variables)
17905 (save-some-buffers-action-alist): Move risky declarations to the
17907 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
17908 (font-lock-defaults, format-alist, imenu--index-alist)
17909 (imenu-generic-expression, input-method-alist, minor-mode-alist)
17910 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
17911 (mode-line-modified, mode-line-mule-info, mode-line-position)
17912 (mode-line-process, mode-line-remote, outline-level)
17913 (parse-time-rules, rmail-output-file-alist)
17914 (special-display-buffer-names, vc-mode):
17915 Move risky declarations to the relevant files.
17916 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
17917 (mode-line-modified, mode-line-process, mode-line-position)
17918 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
17919 * font-core.el (font-lock-defaults):
17920 * format.el (format-alist):
17921 * vc-hooks.el (vc-mode):
17922 * window.el (special-display-buffer-names):
17923 * international/mule-cmds.el (input-method-alist):
17924 Define riskiness here (dumped file) rather than in files.el.
17925 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
17926 * imenu.el (imenu-generic-expression, imenu--index-alist):
17927 * outline.el (outline-level):
17928 * time.el (display-time-string):
17929 * calendar/parse-time.el (parse-time-rules):
17930 * mail/rmailout.el (rmail-output-file-alist):
17931 Autoload riskiness here, rather than placing in files.el.
17933 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
17935 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
17937 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
17939 * simple.el (process-file-side-effects): New defvar.
17941 * dired-aux.el (dired-show-file-type):
17942 * vc.el (vc-diff-internal):
17943 * vc-arch.el (vc-arch-diff):
17944 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
17945 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
17946 * vc-git.el (vc-git-registered, vc-git-working-revision)
17947 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
17948 (vc-git--empty-db-p):
17949 * vc-hooks.el (vc-user-login-name):
17950 * vc-svn.el (vc-svn-registered, vc-svn-state)
17951 (vc-svn-dir-extra-headers, vc-svn-find-revision):
17952 * progmodes/grep.el (grep-probe): Let-bind
17953 `process-file-side-effects' with nil.
17955 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
17957 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
17958 daemon. Replace ping by checking for running service for bluez
17959 and zeroconf. (Bug#4239)
17961 2009-08-25 Kevin Ryde <user42@zip.com.au>
17963 * net/dig.el (dig): Add autoload cookie.
17965 2009-08-25 Glenn Morris <rgm@gnu.org>
17967 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
17968 load-history for absolute file-names.
17969 (byte-compile-file-form-require): Warn about use of the cl package.
17971 * format.el (format-alist): Doc fix.
17973 * play/bubbles.el (top-level): Don't require cl at run-time.
17975 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
17978 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
17980 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
17982 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
17984 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
17986 * calc/calc-alg.el (math-trig-rewrite)
17987 (math-hyperbolic-trig-rewrite): New functions.
17988 (calc-simplify): Simplify trig functions when asked.
17990 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
17992 * diff-mode.el (diff-find-source-location): Avoid goto-line.
17994 2009-08-24 Kenichi Handa <handa@m17n.org>
17996 * language/ind-util.el (mapthread): Delete it.
17997 (combinatorial): New function.
17998 (indian--puthash-cv): Use combinatorial instead of mapthread.
18000 2009-08-22 Kevin Ryde <user42@zip.com.au>
18002 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
18003 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
18004 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
18005 Clarify docstring that the value is strings not symbols.
18006 (checkdoc-list-of-strings-p): New function.
18008 2009-08-22 Glenn Morris <rgm@gnu.org>
18010 * files.el (auto-mode-alist):
18011 * hippie-exp.el (he-concat-directory-file-name):
18012 * lpr.el (lpr-windows-system, printer-name):
18013 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
18014 * ps-print.el (ps-windows-system):
18015 * startup.el (command-line):
18016 * emulation/viper-ex.el (viper-glob-function):
18017 * international/mule-cmds.el (set-language-environment-coding-systems):
18018 * net/ange-ftp.el (ange-ftp-write-region):
18019 * obsolete/fast-lock.el (fast-lock-cache-name):
18020 Remove code for defunct system-types emx, macos, mswindows, next-mach,
18021 unisoft-unix, vax-vms, win32, w32.
18023 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
18024 given name if the pattern is not more specific.
18026 * calendar/lunar.el (lunar-phase-names): New option.
18027 (lunar-phase): Doc fix.
18028 (lunar-cycles-per-year): New constant.
18029 (lunar-index): New function.
18030 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
18031 (lunar-phase-name): Use lunar-phase-names.
18032 (calendar-lunar-phases): Use format.
18033 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
18035 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
18036 Copy imenu-example--name-and-position function here for own use.
18037 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
18039 * bs.el (bs--redisplay):
18040 * cus-edit.el (custom-redraw):
18041 * ibuffer.el (ibuffer-bury-buffer):
18042 * server.el (server-goto-line-column):
18043 * startup.el (command-line-1):
18044 * strokes.el (strokes-xpm-for-stroke):
18045 * term.el (term-display-buffer-line):
18046 * view.el (View-goto-line):
18047 * calc/calc.el (calc-do, calc-trail-buffer):
18048 * play/gamegrid.el (gamegrid-add-score-insecure):
18049 * progmodes/ada-mode.el (ada-compile-goto-error):
18050 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
18051 (ebrowse-select-1st-to-9nth):
18052 * progmodes/cperl-mode.el (cperl-time-fontification):
18053 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
18054 * progmodes/gud.el (gud-display-line):
18055 (idlwave-shell-display-line):
18056 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
18057 * progmodes/make-mode.el (makefile-browser-toggle):
18058 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
18059 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
18060 * textmodes/picture.el (picture-draw-rectangle):
18061 * textmodes/reftex-index.el (reftex-index-goto-letter):
18062 (reftex-select-jump-to-previous):
18063 * textmodes/reftex-sel.el (reftex-find-start-point)
18064 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
18065 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
18066 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
18067 * textmodes/tex-mode.el (tex-compilation-parse-errors):
18068 * textmodes/two-column.el (2C-associated-buffer):
18069 Use forward-line rather than goto-line.
18071 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
18074 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
18075 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
18076 (quick-check-list-to-regexp): Declare.
18078 * progmodes/make-mode.el (makefile-browser-insert-selection):
18079 Use goto-char rather than goto-line.
18081 * progmodes/prolog.el (compilation-error-regexp-alist)
18082 (compilation-forget-errors): Declare.
18084 2009-08-22 Juri Linkov <juri@jurta.org>
18086 * progmodes/grep.el (lgrep, rgrep): At the beginning
18087 set `dir' to `default-directory' unless `dir' is a non-nil
18088 readable directory. (Bug#4052)
18089 (lgrep, rgrep): Change a weird way to report an error
18090 from using `read-string' to using `error'.
18091 Instead of using interactive arguments in the function body,
18092 add new argument `confirm'.
18094 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
18096 * textmodes/remember.el (remember-buffer):
18097 * progmodes/cperl-mode.el (cperl-vc-header-alist):
18098 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
18099 (icalendar-extract-ical-from-buffer):
18100 * net/newst-treeview.el (newsticker-groups-filename):
18101 * net/newst-backend.el (newsticker-cache-filename):
18102 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
18103 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
18104 (speedbar-add-ignored-path-regexp, speedbar-line-path)
18105 (speedbar-buffers-line-path, speedbar-path-line)
18106 (speedbar-buffers-line-path):
18107 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
18109 * epa.el (epa-display-verify-result):
18110 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
18112 2009-08-21 Glenn Morris <rgm@gnu.org>
18114 * progmodes/js.el (inferior-moz-process): Fix declaration.
18116 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
18118 * obsolete/rnewspost.el (news-mail-reply):
18119 Use goto-char rather than goto-line.
18121 * term/ns-win.el (ns-open-file-select-line):
18122 Use line-beginning-position rather than goto-line.
18124 * apropos.el (apropos-command):
18125 * ehelp.el (electric-helpify):
18126 * printing.el (pr-show-setup):
18127 * strokes.el (strokes-help):
18128 * tutorial.el (tutorial--describe-nonstandard-key)
18129 (tutorial--detailed-help):
18130 * woman.el (woman-mini-help, woman-display-extended-fonts):
18131 * calc/calc-help.el (calc-describe-key):
18132 * emulation/edt.el (edt-electric-helpify):
18133 * international/mule-diag.el (mule-diag):
18134 * play/yow.el (apropos-zippy):
18135 * progmodes/python.el (python-describe-symbol):
18136 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
18137 * textmodes/table.el (*table--cell-describe-mode)
18138 (*table--cell-describe-bindings):
18139 Use help-print-return-message rather than the now obsolete alias.
18141 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
18142 (calendar-cursor-to-visible-date):
18143 * play/5x5.el (5x5-position-cursor):
18144 * play/decipher.el (decipher):
18145 * play/gomoku.el (gomoku-goto-xy):
18146 * play/landmark.el (lm-goto-xy):
18147 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
18148 (mpuz-paint-digit):
18149 Use forward-line, not goto-line.
18151 * mail/rmail.el (rmail-obsolete): Delete custom group.
18152 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
18153 (rmail-remote-password, rmail-remote-password-required):
18154 Remove unneeded :set-after and :set properties.
18156 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
18158 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
18160 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
18162 * loadup.el: Remove leftover macos code.
18164 * vc-git.el (vc-git-annotate-command): Run asynchronously.
18165 Explicitly pass the date format to git blame so that user local
18166 so that the output format can be parsed.
18168 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
18170 * net/dbus.el (top): Don't check for (getenv
18171 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
18173 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
18175 * log-edit.el (log-edit-strip-single-file-name): New var.
18176 (log-edit-insert-changelog): Use it. Bug#3571
18178 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18180 * subr.el (read-passwd): Use read-key so keypad keys work as well.
18183 * help.el (help-print-return-message): Rename from
18184 print-help-return-message.
18186 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
18187 cvs-mode-map parent hack.
18188 (log-view-mode): Derive from special-mode.
18190 * linum.el (linum-mode): window-size-change-functions is redundant.
18191 Adapt to new window-configuration-change-hook behavior.
18192 (linum-after-size, linum-after-config): Remove.
18194 * imenu.el (imenu-example--name-and-position)
18195 (imenu-example--lisp-extract-index-name)
18196 (imenu-example--create-lisp-index, imenu-example--create-c-index):
18199 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
18200 (inferior-prolog-mode): Use it.
18201 (inferior-prolog-load-file): Reset list of errors.
18203 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
18205 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
18207 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
18209 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
18211 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
18212 is running already.
18214 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18216 * subr.el (listify-key-sequence-1): Use normal syntax since those
18217 integers are nowadays always represented by the same (positive) number
18219 (read-key-empty-map): New const.
18220 (read-key-delay): New var.
18221 (read-key): New function.
18222 (force-mode-line-update): Use with-current-buffer.
18223 (locate-user-emacs-file): Don't forget to abbreviate the file name.
18224 (start-process-shell-command, start-file-process-shell-command):
18225 Discourage the use of command-args.
18227 2009-08-19 Glenn Morris <rgm@gnu.org>
18229 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
18231 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18233 * simple.el (choose-completion-string): Don't rely on
18234 minibuffer-completing-file-name and ad-hoc checks to decide whether
18235 to continue completion or not.
18237 * minibuffer.el (minibuffer-hide-completions): New function.
18238 (completion--do-completion): Use it.
18239 (completions-annotations): New face.
18240 (completion--insert-strings): Use it.
18241 (completion-pcm--delim-wild-regex): Add docstring.
18242 (completion-pcm--string->pattern): Add support for 0-width delimiters
18243 in completion-pcm--delim-wild-regex.
18245 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
18247 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
18248 Remove unused var `buffer-modified-p'.
18250 * minibuffer.el (completion--do-completion): Move point for the #b001
18251 case as well (bug#4176).
18252 (minibuffer-complete, minibuffer-complete-word): Don't move point.
18254 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
18256 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
18257 and :session buses.
18259 2009-08-18 Kenichi Handa <handa@m17n.org>
18261 * international/ucs-normalize.el (ucs-normalize-version):
18263 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
18264 (utf-8-hfs): Make it perform normalization on encoding too.
18266 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
18267 (sentence-end-without-space): Delete duplicated chars.
18268 (sentence-end-base): Likewise.
18270 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
18271 (html-mode): Delete duplicated chars from sentence-end-base.
18273 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
18274 (texinfo-mode): Delete duplicated chars from sentence-end-base.
18276 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
18278 * files.el (hack-one-local-variable): If the mode function is for
18279 a minor mode, pass it an argument (Bug#4148).
18281 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
18283 * net/tramp.el (tramp-register-completion-file-name-handler):
18284 Check also for (member 'partial-completion completion-styles).
18286 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
18288 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
18291 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
18293 * progmodes/cperl-mode.el: Merge upstream 6.2.
18294 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
18295 (cperl-forward-re): Check cperl-brace-recursing.
18296 (cperl-highlight-charclass): New function.
18297 (cperl-find-pods-heres): Use it.
18298 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
18299 (cperl-beautify-regexp-piece): Fix column calculation.
18300 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
18301 (cperl-beautify-level): Don't process entire regexp.
18302 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
18304 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
18305 (cperl-init-faces): Build a list in the normal way.
18307 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
18309 * calendar/parse-time.el (parse-time-string-chars): Save match
18312 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
18314 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
18315 (sql-product): Use it.
18316 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
18317 (sql-set-product): Add completion.
18318 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
18319 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
18320 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
18321 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
18322 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
18323 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
18324 (sql-highlight-db2-keywords): Remove.
18325 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
18326 (sql-highlight-product): Use derived-mode-p.
18327 (sql-set-sqli-buffer): Use with-current-buffer.
18328 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
18331 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
18333 * term.el: Fix commenting convention, turn comments into docstrings.
18335 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
18337 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
18339 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
18341 * calendar/parse-time.el (parse-time-string-chars): Compute using
18342 character classes, to handle non-ascii characters (Bug#3190).
18344 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
18346 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
18347 another heredoc if the user adds another < (Bug#3226).
18349 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
18350 Don't initialize based on window-system (Bug#4124).
18352 * facemenu.el (facemenu-read-color): Use a completion function
18353 that accepts any defined color, such as RGB triplets (Bug#3677).
18355 * files.el (get-free-disk-space): Change fallback default
18356 directory to /. Expand DIR argument before switching to fallback.
18357 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
18359 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
18361 * files.el (load-library): Doc fix.
18363 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
18365 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
18366 (viper-if-string): Redefine C-s in the minibuffer to insert the last
18367 incremental search string.
18369 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
18372 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
18373 (ediff-merge-region-is-non-clash)
18374 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
18375 Also check if the job is really a merge job.
18377 * ediff.el (ediff-current-file): New function.
18379 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
18381 * progmodes/js.el: Edit docstrings throughout to follow Emacs
18383 (js-insert-and-indent): Delete function.
18384 (js-mode-map): Don't bind keys to js-insert-and-indent.
18385 (js-beginning-of-defun): Rename from js--beginning-of-defun.
18386 (js-end-of-defun): Rename from js--end-of-defun.
18387 (js-auto-indent-flag): Delete variable.
18389 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
18391 * progmodes/js.el: Remove proclaim statement.
18392 Defvar which-func-imenu-joiner-function to silence compiler.
18394 * files.el (auto-mode-alist): Use js-mode for .js files.
18396 * progmodes/js2-mode.el: Remove file.
18398 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
18400 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
18402 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
18404 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
18405 Karl Landstrom <karl.landstrom@brgeight.se>
18407 * progmodes/js.el: New file.
18409 2009-08-14 Mark A. Hershberger <mah@everybody.org>
18411 * timezone.el (timezone-parse-date): Add ability to understand ISO
18412 basic format (minimal separators) dates in addition to the
18413 already-supported extended format dates.
18415 2009-08-14 Eli Zaretskii <eliz@gnu.org>
18417 * international/ucs-normalize.el: Add a `coding' file variable.
18419 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
18421 2009-08-14 Sam Steingold <sds@gnu.org>
18423 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
18425 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
18427 * faces.el (help-argument-name): Define it here instead of
18428 help-fns.el, because in daemon mode help-fns.el may be loaded when
18429 faces are still uninitialized (Bug#1078).
18431 * help-fns.el (help-argument-name): Move defface to faces.el.
18433 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
18435 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
18436 create buffer with a pty but no process so that GDB can make the
18437 inferior the controlling process.
18439 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
18441 * international/ucs-normalize.el: New file.
18443 2009-08-13 Richard Stallman <rms@gnu.org>
18445 * mail/rmail.el (rmail-get-attr-names):
18446 Accept an attribute header that is too short.
18448 * mail/rmail.el (rmail-forget-messages):
18449 Ignore nil elt in rmail-message-vector. Use dotimes.
18451 * progmodes/compile.el (compilation-goto-locus):
18452 Use next-error-move-function.
18454 * simple.el (next-error-move-function): New variable.
18456 2009-08-12 Juri Linkov <juri@jurta.org>
18458 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
18459 always non-nil. (Bug#4052)
18461 * replace.el (read-regexp): Return empty string when
18462 `default-value' is nil.
18463 (keep-lines-read-args): Don't use empty string as the
18464 default value for `read-regexp'. (Bug#2495)
18466 2009-08-12 Juri Linkov <juri@jurta.org>
18468 * international/mule-cmds.el (ucs-insert): Change arguments
18469 from `arg' to `character', `count', `inherit' to be the same
18470 as in `insert-char'. Doc fix. (Bug#4039)
18472 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
18474 2009-08-12 Juri Linkov <juri@jurta.org>
18476 * files-x.el: New file.
18478 * files.el: Move code that deals with adding/deleting
18479 file/directory-local variables to files-x.el.
18481 * Makefile.in (ELCFILES): Add files-x.elc.
18483 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
18485 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
18486 to use `goto-line'.
18487 (gdb-place-breakpoints, gdb-get-location): Rewritten without
18489 (gdb-invalidate-disassembly): Do not refresh upon receiving
18490 'update signal. Instead, update all disassembly buffers only after
18492 (gdb): Send -target-detach when buffer is killed (Bug#3794).
18493 (gdb-starting): Move -data-list-register-names...
18494 (gdb-stopped): ...here so it's sent when first thread stops.
18495 (gdb-registers-handler-custom): Do nothing if register names are
18498 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
18499 from `gdb-mi.el' to avoid extra tangling.
18501 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
18502 change which breaks `gud-def' definitions used in `gdb'.
18503 (gdb-update-gud-running): No extra fuss for updating frame number.
18505 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
18507 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
18508 (describe-language-environment-map, setup-language-environment-map)
18509 (set-coding-system-map): Move initialization into declaration.
18510 (set-language-info-alist): Last arg to define-key-after can be skipped.
18512 * international/quail.el (quail-completion-1): Simplify.
18513 (quail-define-rules): Use slightly more compact code.
18514 (quail-insert-decode-map): Propertize keys, compact columns.
18516 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18519 2009-08-10 Miles Bader <miles@gnu.org>
18521 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
18522 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
18523 (js2-instance-member, js2-private-member, js2-private-function-call)
18524 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
18525 (js2-magic-paren, js2-external-variable):
18526 Remove "-face" suffix from face names.
18527 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
18528 (js2-highlight-undeclared-vars, js2-peek-token)
18529 (js2-parse-function-params, js2-mode-show-errors)
18530 (js2-mode-show-warnings, js2-make-magic-delimiter)
18531 (js2-mode-highlight-magic-parens): Update to use new face names.
18533 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
18535 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
18536 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
18538 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
18540 * subr.el: Provide hashtable-print-readable.
18542 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
18543 hs-c-like-adjust-block-beginning.
18544 (hs-hide-block-at-point): Stop hiding at the beginning of
18545 hs-block-end-regexp (Bug#700).
18547 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
18549 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
18551 (gdb-registers-handler-custom): Do not fail when register names
18554 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
18556 * progmodes/gdb-mi.el (gdb-control-all-threads)
18557 (gdb-control-current-thread): Interactive setters for
18558 `gdb-gud-control-all-threads' to use in menu.
18559 (gdb-show-run-p): Show «Go» when process is not active.
18560 (gud-tool-bar-map): Add non-stop/A,T indicator.
18561 Uses gud/thread.xpm and gud/all.xpm.
18563 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
18565 * net/net-utils.el (net-utils-font-lock-keywords): New var.
18566 (nslookup-font-lock-keywords): Make it a variable.
18567 (net-utils-mode): New mode for viewing diagnostic network output.
18568 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
18569 (net-utils-run-simple): New function.
18570 (ifconfig, iwconfig, netstat, arp, route): Use it.
18572 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
18574 * progmodes/gdb-mi.el (gdb-read-memory-custom)
18575 (gdb-memory-set-address, def-gdb-set-positive-number)
18576 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
18577 after changing settings.
18578 (gdb-invalidate-disassembly): Update when first shown.
18579 (gdb-edit-locals-value): Fixed.
18580 (gdb-registers-handler-custom): Print registers in right order and
18581 allow changing register values (only for current thread yet).
18582 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
18583 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
18584 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
18585 (gdb-locals-handler-custom, gdb-registers-handler-custom):
18586 Thread info in mode name.
18587 (gdb-registers-mode-map): TAB to switch to locals.
18589 2009-08-08 Eli Zaretskii <eliz@gnu.org>
18591 * mail/rmail.el (rmail-add-mbox-headers)
18592 (rmail-set-message-counters-counter): Search for
18593 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
18595 2009-08-08 Glenn Morris <rgm@gnu.org>
18597 * Makefile.in (ELCFILES): Update.
18599 2009-08-07 Eli Zaretskii <eliz@gnu.org>
18601 * mail/sendmail.el (mail-yank-original):
18602 Set buffer-file-coding-system from the one used by the message whose
18605 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
18606 to "windows" when "pgnuplot" is used.
18607 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
18608 Don't call accept-process-output if "pgnuplot" is used.
18609 (calc-graph-init): Don't send -display and -geometry to
18610 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
18611 running "pgnuplot -V" with shell-command-to-string.
18613 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
18616 2009-08-07 Eli Zaretskii <eliz@gnu.org>
18618 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
18621 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
18623 * vc-dispatcher.el (vc-resynch-window): Update comment.
18625 * term.el (term-handle-ansi-escape): Add comments with the
18626 terminfo capabilities implemented.
18628 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
18630 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
18631 (gdb-var-create-handler): Rewritten using JSON parser.
18632 (gdb-propertize-header): Move earlier.
18633 (gdb-set-header): Remove to avoid duplication.
18634 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
18635 Refresh disassembly buffers only after threads list have been
18637 (gdb-threads-header, gdb-registers-header): Per-buffer header line
18640 2009-08-04 Juri Linkov <juri@jurta.org>
18642 * files.el: Commands to add/delete file/directory-local variables.
18643 (read-file-local-variable, read-file-local-variable-value)
18644 (read-file-local-variable-mode, modify-file-local-variable)
18645 (modify-file-local-variable-prop-line)
18646 (modify-dir-local-variable): New functions.
18647 (add-file-local-variable, delete-file-local-variable)
18648 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
18649 (add-dir-local-variable, delete-dir-local-variable)
18650 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
18651 (copy-dir-locals-to-file-locals-prop-line): New commands.
18653 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
18655 * abbrev.el (insert-abbrev-table-description): Prettify output.
18656 Suggested by Karl Chen.
18658 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
18660 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
18661 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
18662 (gdb-overlay-arrow-position, gdb-thread-position)
18663 (gdb-disassembly-position): Declare variables.
18664 (gdb-wait-for-pending): Function now.
18665 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
18666 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
18667 compilation goes smoothly.
18668 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
18669 (gdb-non-stop-setting): New customization setting which replaces
18670 `gdb-non-stop' so changing it doesn't break active GDB session.
18671 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
18672 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
18673 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
18674 (gdb-show-threads-by-default): New customization options.
18675 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
18677 (gdb-get-buffer-create): Send buffers update signal when they are
18679 (gdb-invalidate-locals, gdb-invalidate-registers)
18680 (gdb-invalidate-breakpoints)
18681 (gdb-invalidate-threads, gdb-invalidate-disassembly)
18682 (gdb-invalidate-memory): Accept update signal.
18683 (gdb-current-context-command): Use --frame option.
18684 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
18685 Implement `gdb-frame-number' selection logic.
18686 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
18687 whether to show GUD toolbar buttons.
18688 (gdb-thread-exited): Unselect current thread when it exits.
18689 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
18690 (gdb-mark-line): Routine which sets overlay arrow or inverses
18691 video on fringeless displays.
18692 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
18693 to build aligned columns of data in GDB buffers and set text
18694 properties line-by-line.
18695 (gdb-invalidate-breakpoints)
18696 (gdb-breakpoints-list-handler-custom)
18697 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
18698 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
18699 (gdb-registers-handler-custom): Align data columns.
18700 (gdb-locals-handler-custom): Now prints data like in variable
18702 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
18703 Remove confusing buttons.
18704 (gdb-invalidate-threads): Append --frame.
18705 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
18706 between breakpoints/threads buffers.
18707 (gdb-set-window-buffer): Now can ignore dedicated windows.
18708 (gdb-propertize-header): Use `gdb-set-window-buffer'.
18709 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
18710 (def-gdb-thread-buffer-gud-command): Replaces
18711 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
18712 for fine thread control.
18713 (gdb-preempt-existing-or-display-buffer): New function used to
18714 display bound buffers without breaking window layout.
18715 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
18716 (gdb-select-frame): New version of `gdb-frames-select' which now
18717 sets `gdb-frame-number' so commands may use --frame option instead
18718 of inner debugger state.
18719 (gdb-frame-handler): Do not set `gdb-frame-number'.
18720 (gdb-threads-mode-map): Select threads with mouse.
18722 * progmodes/gud.el (gdb-gud-context-call): Declare function to
18723 avoid compilation warning.
18724 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
18727 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
18728 Argument `key' renamed to `buffer-type'.
18729 (gdb-current-context-buffer-name): Do not add thread info to
18730 buffer name when no thread is selected.
18731 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
18732 command (bug 3794).
18733 (gdb-thread-selected): Handle `=thread-selected' notification.
18734 (gdb-wait-for-pending): New macro to deal with congestion problems.
18735 (gdb-breakpoints-list-handler-custom): Don't fail on pending
18737 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
18738 This fixes problem similar to one described in bug 3947.
18739 (gud-menu-map): More menu items.
18740 (gdb-init-1): Reset `gdb-thread-number' to nil.
18742 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
18745 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
18746 (gdb-current-context-command): Do not append --thread if
18747 `gdb-thread-number' is nil.
18748 (gdb-running-threads-count, gdb-stopped-threads-count):
18750 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
18751 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
18752 New customization options.
18753 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
18755 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
18756 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
18757 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
18758 set `gdb-thread-number' and update `gud-running' properly.
18759 (gdb-running): Update threads list when new threads appear.
18760 (gdb-stopped): Support non-stop operation and new thread switching
18762 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
18763 (gdb-json-partial-output): New set of JSON routines.
18764 (def-gdb-auto-update-trigger): New `signal-list' optional
18766 (gdb-thread-list-handler-custom): Update `gud-running',
18767 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
18768 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
18769 (gdb-continue-thread, gdb-step-thread): New commands for fine
18770 thread execution control.
18771 (gud-menu-map): New menu items to switch non-stop options.
18772 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
18773 (gdb-send): Mimic RET properly (bug 3794).
18775 * progmodes/gdb-mi.el (gdb-rules-name-maker)
18776 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
18778 (def-gdb-auto-update-handler): New nopreserve optional argument.
18779 (gdb-stack-list-frames-custom): Print stack from top to bottom.
18781 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
18782 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
18783 (gdb-parent-mode): New mode to derive other GDB modes from.
18784 (gdb-display-disassembly-for-thread)
18785 (gdb-frame-disassembly-for-thread): New commands for threads
18788 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
18789 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
18790 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
18791 (gdb-update): We now store all GDB buffers in a list so that they
18792 can be updated by traversing a list instead of calling invalidate
18793 triggers explicitly.
18794 (def-gdb-trigger-and-handler): New macro to define trigger-handler
18795 pair for GDB buffer.
18796 (gdb-stack-buffer-name): Add thread information.
18797 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
18798 handle pending triggers.
18799 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
18800 (def-gdb-thread-buffer-simple-command)
18801 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
18802 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
18803 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
18804 New commands which show buffers bound to thread.
18805 (gdb-stack-list-locals-regexp): Remove unused regexp.
18807 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
18808 (gdb-locals-buffer-name, gdb-registers-buffer-name)
18809 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
18810 to (gud-comint-buffer) in *-buffer-name functions
18811 because (gdb-get-target-string) already does that.
18812 (gdb-locals-handler-custom, gdb-registers-handler-custom)
18813 (gdb-changed-registers-handler): Rewritten without regexps.
18815 * progmodes/gdb-mi.el: Basic thread selection support.
18816 (gdb-thread-number): New variable.
18817 (gdb-current-context-command): New macro which adds --thread
18819 (gdb-threads-mode-map): Select thread with SPC.
18820 (gdb-thread-list-handler-custom): Mark current thread with overlay
18821 arrow. Synchronize GDB thread and Emacs thread.
18822 (gdb-select-thread): New command which selects current thread.
18823 (gdb-invalidate-frames, gdb-invalidate-locals)
18824 (gdb-invalidate-registers): Use --thread option.
18826 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
18828 * net/tramp.el (top): Make check for tramp-gvfs loading more
18830 (tramp-handle-insert-file-contents): `unwind-protect' must be
18831 inside `with-parsed-tramp-file-name'.
18833 * net/tramp-gvfs.el (top): Remove superfluous message when loading
18836 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
18838 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
18839 directory if CLASSPATH is not set.
18841 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
18843 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
18845 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
18847 2009-08-02 Kevin Ryde <user42@zip.com.au>
18849 * net/newst-backend.el (newsticker--raw-url-list-defaults):
18850 Update freshmeat link. Delete newsforge.com as it seems gone.
18852 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
18854 * select.el (x-set-selection): Doc fix (Bug#4021).
18856 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
18858 * help-fns.el (describe-variable): Treat list return values from
18859 dir-locals-find-file properly (Bug#4005).
18861 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
18863 * net/tramp.el (tramp-debug-message): Print also microseconds.
18865 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
18867 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
18869 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
18870 (tramp-get-debug-buffer): Change `outline-regexp' according to new
18873 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
18874 (tramp-get-file-property): Use it.
18876 * autorevert.el (auto-revert-handler):
18877 Allow `auto-revert-tail-mode' for remote files.
18879 2009-08-02 Jason Rumney <jasonr@gnu.org>
18881 * minibuffer.el (read-file-name): Treat confirm options to
18882 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
18884 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
18886 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
18887 (font-lock-variable-name-face, font-lock-constant-face):
18888 Darken the colors for light backgrounds.
18890 2009-08-01 Eli Zaretskii <eliz@gnu.org>
18892 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
18893 month names. (Bug#3987)
18895 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
18897 * simple.el (line-move-finish): Pass whole number to
18898 line-move-to-column.
18899 (line-move-visual): Perform hscroll to the recorded position.
18901 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
18903 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
18905 2009-07-29 Alan Mackenzie <acm@muc.de>
18907 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
18909 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
18911 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
18912 (gdb-place-breakpoints): Use full path when setting breakpoints.
18914 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
18916 * calc/calc.el (calc-mode-map): Add keybinding for
18917 `calc-transpose-lines'.
18919 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
18921 * calc/calc-misc.el (calc-transpose-lines): New function.
18923 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
18925 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
18926 Simplify check for out-of-band methods.
18927 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
18928 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
18930 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
18932 * vc-git.el (vc-git-checkin): Fix typo.
18934 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
18936 * progmodes/js2-mode.el: New file.
18938 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
18940 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
18941 (gud-menu-map): Adjust tooltip accordingly.
18943 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
18945 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
18946 (vc-bzr-log-view-mode): Adjust log-view-file-re.
18948 * add-log.el (change-log-mode-map): Add a menu.
18950 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
18952 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
18953 function returns nil.
18954 (dbus-handle-event): Handle special return value :ignore.
18955 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
18957 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
18959 * view.el (view-mode-enable): Don't define Helper-return-blurb if
18962 2009-07-25 Eli Zaretskii <eliz@gnu.org>
18966 * w32-vars.el (x-select-enable-clipboard): Doc fix.
18968 * term/pc-win.el (x-display-name, x-colors)
18969 (x-select-enable-clipboard, x-select-text): Doc fix.
18971 * term/common-win.el (x-display-name, x-colors): Doc fix.
18973 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
18974 (xw-defined-colors): Doc fix.
18976 * w32-fns.el (x-select-text, x-setup-function-keys)
18977 (x-get-selection, x-set-selection): Doc fix.
18979 * term/x-win.el (x-select-text, x-setup-function-keys)
18980 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
18982 * select.el (x-set-selection): Doc fix.
18984 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
18986 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
18987 instead of "IsNSSSupportAvailable". Avahi ought to work also when
18988 "IsNSSSupportAvailable" method is not available.
18989 Reported by Steve Youngs <steve@sxemacs.org>.
18991 2009-07-24 Kenichi Handa <handa@m17n.org>
18993 * international/characters.el: Fix setting of category ?C, ?|, ?K,
18994 and ?H. Fix setting of case for Latin Extended and Greek Extended.
18995 (build-unicode-category-table): Fix range checks.
18997 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
18999 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
19000 the buffer we try to sync is current when calling
19003 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
19004 not show up to date files.
19006 2009-07-24 Glenn Morris <rgm@gnu.org>
19008 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
19009 Add autoload cookies. If necessary, initialize.
19010 (elint-log): Handle non-file buffers.
19011 (elint-initialize): Add optional argument to reinitialize.
19012 (elint-find-builtin-variables): Save excursion.
19014 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
19016 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
19019 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
19021 * vc.el (vc-print-log-internal): New function, split out from ...
19022 (vc-print-log): ... here.
19023 (vc-dir-move-to-goal-column): Declare.
19025 * vc-git.el (vc-git-add-signoff): New variable.
19026 (vc-git-checkin): Use it.
19027 (vc-git-toggle-signoff): New function.
19028 (vc-git-extra-menu-map): Bind it to menu.
19029 (vc-git--run-command-string): Accept a nil FILE argument.
19030 (vc-git-stash-list): New function.
19031 (vc-git-dir-extra-headers): Use it.
19033 2009-07-23 Glenn Morris <rgm@gnu.org>
19035 * help-fns.el (describe-variable): Describe ignored and risky local
19036 variables in a similar way to that in which we describe safe ones.
19038 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
19039 (byte-compile-output-file-form, byte-compile-output-docform)
19040 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
19041 Give some more local variables with common names a "bytecomp-" prefix,
19042 so as not to shadow things during compilation.
19043 * emacs-lisp/cl-macs.el (load-time-value)
19044 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
19045 `outbuffer' to `bytecomp-outbuffer'.
19047 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
19048 since the next two variables cover them automatically now.
19049 (elint-builtin-variables, elint-autoloaded-variables): New.
19050 (elint-unknown-builtin-args): Remove all members, since they can be
19051 parsed automatically now.
19052 (elint-extra-errors): New.
19053 (elint-env-add-env, elint-env-add-macro): Use cadr.
19054 (elint-current-buffer): Use or. Change final message.
19055 (elint-get-top-forms): Use line-end-position.
19056 (elint-init-env): Use cadr. Handle autoload, declare-function,
19058 (elint-add-required-env): Doc fix. Use or. Standardize error.
19059 (regexp-assoc): Remove unused function.
19060 (elint-top-form): Set elint-current-pos, to record the start of the
19061 top-level form, for compilation-mode.
19062 (elint-form): Trap errors in macro expansion. Use dolist.
19063 (elint-unbound-variable): Use elint-builtin-variables and
19064 elint-autoloaded-variables.
19065 (elint-get-args): Use cadr, or.
19066 (elint-check-cond-form): Use dolist, cadr.
19067 (elint-check-condition-case-form): Doc fix. Use cadr.
19068 Use elint-extra-errors.
19069 (elint-log): New function.
19070 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
19071 Distinguish errors and warnings.
19072 (elint-log-message): Use with-current-buffer. Inhibit read-only.
19073 Use a bytecomp-style format.
19074 (elint-clear-log): Preserve default-directory. Inhibit read-only.
19075 (elint-get-log-buffer): Use compilation mode. Disable undo.
19076 Don't truncate lines.
19077 (elint-initialize): Set builtin and autoloaded variable lists.
19078 Only process elint-unknown-builtin-args if non-nil.
19079 (elint-find-builtin-variables, elint-find-autoloaded-variables):
19081 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
19083 2009-07-22 Kevin Ryde <user42@zip.com.au>
19085 * net/newst-backend.el (newsticker--parse-atom-1.0)
19086 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
19087 (newsticker--parse-rss-1.0):
19088 * progmodes/idlwave.el (idlwave-mode):
19089 * progmodes/idlw-shell.el (idlwave-shell-mode):
19090 * progmodes/vera-mode.el (vera-mode):
19091 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
19092 * progmodes/vhdl-mode.el (vhdl-mode):
19093 * textmodes/table.el (table-generate-source)
19094 (table--warn-incompatibility):
19095 Hyperlink urls in docstrings with URL `...'.
19097 2009-07-22 Glenn Morris <rgm@gnu.org>
19099 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
19100 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
19101 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
19102 Remove leading * from defcustom docs.
19104 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
19106 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
19108 (list-load-path-shadows): Optionally, just return shadows as a string.
19110 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
19112 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
19114 * mail/rmailedit.el (rmail-edit-mode):
19115 Use auto-save-include-big-deletions.
19117 * mail/rmail.el (rmail-variables):
19118 Use auto-save-include-big-deletions.
19120 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
19123 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
19125 * calc/calc.el (calc-undo-length): New variable.
19126 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
19128 2009-07-21 Richard Stallman <rms@gnu.org>
19130 * files.el (auto-save-mode): Handle buffer-save-size = -2
19133 2009-07-21 Glenn Morris <rgm@gnu.org>
19135 * textmodes/ispell.el (ispell-looking-back): Update declaration.
19137 * calendar/todo-mode.el (calendar-current-date): Update declaration.
19139 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
19140 silence compiler. Instead...
19141 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
19142 (ps-print-ensure-fontified): Update for above function name changes.
19144 * printing.el (pr-mh-get-msg-num, pr-mh-show)
19145 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
19146 silence compiler. Instead...
19147 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
19148 (mh-show-buffer): Only define for compiler.
19149 (pr-mh-current-message): Update for above function name changes.
19151 * files.el (abort-if-file-too-large): Explicitly pass `filename'
19153 (find-file-noselect, insert-file-1): Update for above change.
19155 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
19157 * mail/mailclient.el (mailclient-send-it): Fix message.
19159 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
19160 (edebug-eval): Check cl-debug-env is bound.
19161 (print-level, print-circle): Don't redefine built-in variables.
19163 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
19164 (custom-print-vectors): Remove old comments from doc.
19166 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
19167 (emerge-version): Make the variable an obsolete alias for the
19168 emacs-version variable. Make the function obsolete.
19169 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
19170 Emerge options, rather than merging in into the main Options menu.
19171 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
19172 and auto advance modes. Disable edit/fast items when not relevant.
19174 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
19176 * term/vt420.el (terminal-init-vt420): Fix typo.
19178 2009-07-20 Sam Steingold <sds@gnu.org>
19180 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
19181 variable (removed from compile.el on 2004-03-11).
19183 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
19185 * files.el (hack-local-variables-filter): Fix last change.
19187 2009-07-19 Juri Linkov <juri@jurta.org>
19189 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
19190 (dir-local-variables-alist): New buffer-local variable.
19191 (hack-local-variables-filter): If variable is not dir-local,
19192 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
19193 because file-local overrides dir-local.
19194 (c-postprocess-file-styles) <declare-function>:
19195 Remove obsolete declaration.
19196 (hack-dir-local-variables): Add dir-local variable/value pair to
19197 `dir-local-variables-alist' and remove duplicates. Doc fix.
19199 * help-fns.el (describe-variable): Add information about
19200 file-local and dir-local variables.
19202 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
19204 * files.el (hack-local-variables-filter): Rewrite.
19206 2009-07-19 Glenn Morris <rgm@gnu.org>
19208 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
19209 Silence compiler by only defining on XEmacs.
19211 * international/mule.el (auto-coding-regexp-alist): Only match
19212 BABYL... at the start of buffer, not of lines. (Bug#3790)
19214 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
19215 non-calendar buffers (Bug#3862). Restore "not on a date" message.
19216 (cal-menu-context-mouse-menu): Doc fix.
19218 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
19220 * simple.el (mail-user-agent): Doc fix. Set :version tag.
19222 2009-07-18 Juri Linkov <juri@jurta.org>
19224 * info.el: Virtual Info keyword finder.
19225 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
19226 (Info-finder-file): New variable.
19227 (Info-finder-find-file): New function.
19228 (finder-known-keywords, finder-package-info)
19229 (find-library-name, lm-commentary): Use defvar and
19230 declare-function to silence compiler warnings.
19231 (Info-finder-find-node): New function.
19232 (info-finder): New command.
19234 * subr.el (process-kill-buffer-query-function): New function.
19235 (add-hook)<kill-buffer-query-functions>: Add hook
19236 `process-kill-buffer-query-function'.
19238 2009-07-18 Alan Mackenzie <acm@muc.de>
19240 * progmodes/cc-mode.el (c-before-hack-hook)
19241 (c-postprocess-file-styles): Give invocation of `c-set-style'
19242 DONT-OVERRIDE parameter of t. Already set style variables will
19243 thus not be overridden by style settings given by `c-file-syle'.
19245 * files.el (hack-local-variables-filter): Remove entries with
19246 duplicate keys from `file-local-variables-alist'.
19248 2009-07-18 Eli Zaretskii <eliz@gnu.org>
19250 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
19251 x-set-selection if display-selections-p returns nil for the
19254 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
19256 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
19258 2009-07-18 Eli Zaretskii <eliz@gnu.org>
19260 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
19261 Accept nil in addition to a regexp.
19262 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
19263 Accept nil in addition to a regexp.
19264 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
19265 buffers that have an associated file. Handle nil values of
19266 desktop-buffers-not-to-save and desktop-files-not-to-save.
19269 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
19270 (x-disown-selection-internal): New functions.
19272 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
19274 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
19276 (gdb-breakpoints-header): Move forward to avoid compiler warning.
19277 (gdb-make-header-line-mouse-map): Remove duplicate definition.
19279 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
19281 * simple.el (set-mark): Revert last change.
19283 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
19285 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
19286 rendering of pngs is not possible instead of messaging a long
19289 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
19291 * w32-fns.el (x-selection-owner-p): New function.
19293 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
19294 (mouse-yank-at-click, mouse-yank-primary):
19295 If select-active-regions is non-nil, deactivate the mark before
19298 * simple.el (deactivate-mark, set-mark): Only save selection if we
19301 2009-07-17 Kenichi Handa <handa@m17n.org>
19303 * case-table.el (describe-buffer-case-table): Fix for the case
19304 that KEY is a cons.
19306 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
19308 * vc-rcs.el (vc-rcs-find-file-hook):
19309 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
19311 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
19313 * net/tramp.el (tramp-wait-for-output): Handle the case when
19314 commands do not return a newline but a null byte before the shell
19317 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
19319 * term/ns-win.el (ns-set-alpha): Don't declare.
19320 (ns-set-background-alpha): Remove function.
19322 2009-07-16 Kevin Ryde <user42@zip.com.au>
19324 * emacs-lisp/copyright.el (copyright-update): Save match-data across
19325 y-or-n-p, for safety.
19327 2009-07-16 Richard Stallman <rms@gnu.org>
19329 * files.el (auto-save-mode): If buffer-saved-size is -2,
19332 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
19333 (rmail-retry-ignored-headers): Add more uninteresting fields.
19335 2009-07-15 Jari Aalto <jari.aalto@cante.net>
19337 * net/rcirc.el (rcirc): Use history variables.
19338 (rcirc-server-name-history, rcirc-nick-name-history)
19339 (rcirc-server-port-history): New variables.
19341 2009-07-15 Kenichi Handa <handa@m17n.org>
19343 * international/mule-cmds.el (set-language-environment-charset):
19344 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
19347 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
19348 Delete unibyte-display.
19350 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
19352 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
19354 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
19356 * simple.el (deactivate-mark): Optional argument FORCE.
19357 (set-mark): Use deactivate-mark.
19359 * info.el (Info-search): No need to check transient-mark-mode
19360 before calling deactivate-mark.
19362 * select.el (x-set-selection): Doc fix.
19363 (x-valid-simple-selection-p): Allow buffer values.
19364 (xselect--selection-bounds): Handle buffer values.
19365 Suggested by David De La Harpe Golden.
19367 * mouse.el (mouse-set-region, mouse-drag-track):
19368 Call copy-region-as-kill before setting the mark, to let
19369 select-active-regions work.
19371 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
19373 * simple.el (deactivate-mark): If select-active-regions is
19374 non-nil, copy the selection data into a string.
19375 (activate-mark): If select-active-regions is non-nil, set the
19376 selection to the current buffer.
19377 (set-mark): Update selection if select-active-regions is non-nil.
19379 * select.el (x-valid-simple-selection-p): Allow buffer values.
19381 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
19383 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
19384 and more featureful message-mode.
19386 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
19388 * select.el (x-set-selection): Doc fix.
19389 (x-valid-simple-selection-p): Disallow selection data consisting
19390 of a list or cons of integers, since that is not used.
19391 (xselect--selection-bounds, xselect--int-to-cons): New functions.
19392 (xselect-convert-to-string, xselect-convert-to-length)
19393 (xselect-convert-to-filename, xselect-convert-to-charpos)
19394 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
19396 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
19398 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
19399 output in -break-info command (Emacs bug #3794).
19401 2009-07-14 Glenn Morris <rgm@gnu.org>
19403 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
19404 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
19405 (edebug-print-length, edebug-print-level, edebug-print-circle)
19406 (edebug-sit-for-seconds, edebug-view-outside)
19407 (edebug-bounce-point, edebug-set-global-break-condition)
19408 (edebug-Go-nonstop-mode, edebug-trace-mode)
19409 (edebug-Trace-fast-mode, edebug-continue-mode)
19410 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
19411 (edebug-visit-eval-list): Doc fixes.
19413 * subr.el (def-edebug-spec): Doc fix.
19415 2009-07-14 Kenichi Handa <handa@m17n.org>
19417 * international/characters.el: Fix setting of category ?C.
19419 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
19421 * term/ns-win.el (x-select-font): defalias x-select-font to
19422 ns-popup-font-panel instead of generate-fontset-menu.
19424 2009-07-12 Eli Zaretskii <eliz@gnu.org>
19426 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
19428 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
19430 * arc-mode.el (archive-find-type): Allow for a PK00 string before
19431 the PK\003\004 header (Bug#3770).
19433 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
19435 * pcomplete.el (pcomplete-comint-setup): Check for
19436 shell-dynamic-complete-filename too.
19438 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
19440 * simple.el (temporary-goal-column): Change the value for
19441 line-move-visual to a cons cell.
19442 (line-move-visual): Record or set the window hscroll, if
19443 necessary (Bug#3494).
19444 (line-move-1): Handle cons value of temporary-goal-column.
19446 2009-07-11 Kenichi Handa <handa@m17n.org>
19448 * international/mule-diag.el (describe-character-set): Don't show
19451 2009-07-10 Sam Steingold <sds@gnu.org>
19453 * progmodes/compile.el (compilation-mode-font-lock-keywords):
19454 Omake sometimes indents the errors it prints, so allow all
19455 regexps to start with spaces.
19457 2009-07-10 Eli Zaretskii <eliz@gnu.org>
19459 * cus-edit.el (customize-changed-options-previous-release):
19460 Bump value to 22.1. (Bug#3804)
19462 2009-07-08 Sam Steingold <sds@gnu.org>
19464 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
19465 to be a cons cell (test . ignored-directory) to selectively ignore
19466 some directories depending on the location of the search.
19468 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
19470 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
19471 remote user is root, on the local host.
19472 (tramp-local-host-p): Either the local user or the remote user
19473 must be root. (Bug#3771)
19475 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
19477 * progmodes/gdb-mi.el (gdb): Remove description of
19478 gdb-use-separate-io-buffer.
19479 (menu): Don't allow toggling of or enable
19480 gdb-use-separate-io-buffer from menubar.
19482 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
19484 * mail/unrmail.el (unrmail): Make sure the message ends with two
19485 newlines (Bug#3769).
19487 2009-07-08 Glenn Morris <rgm@gnu.org>
19489 * calendar/calendar.el (calendar-current-date): Rework previous change.
19491 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
19493 * calendar/calendar.el (calendar-current-date):
19494 Add an optional argument giving an offset from today.
19496 2009-07-08 Glenn Morris <rgm@gnu.org>
19498 * tutorial.el (tutorial--describe-nonstandard-key):
19499 Adjust the message for when a key has been unbound.
19500 (help-with-tutorial): Hide the arch-tag.
19502 2009-07-08 Kenichi Handa <handa@m17n.org>
19504 * international/fontset.el (setup-default-fontset): For each
19505 script, append (not set) font-specs.
19507 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
19510 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
19512 * progmodes/gdb-mi.el (gdb-init-1): Move sending
19513 -data-list-register-names to ...
19514 (gdb-starting): ... here because GDB 7.0 requires execution to
19515 have started when using this MI command.
19516 (gdb-set-header): New function to distinguish select and
19517 unselected tabs in gdb buffers.
19518 (gdb-propertize-header): New macro that uses gdb-set-header.
19519 (gdb-breakpoints-header, gdb-locals-header): Use it.
19520 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
19522 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
19524 * Makefile.in (ELCFILES): Remove fadr.elc.
19526 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
19528 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
19529 may contain frame information, so `string-match' should be used.
19530 (gdb-update): Disassembly is invalidated through
19531 `gdb-get-selected-frame'.
19532 (gdb-pad-string): New function to pad string with spaces.
19533 (gdb-invalidate-disassembly): Invalidate only if the buffer
19535 (gdb-disassembly-handler-custom): Column alignment.
19536 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
19538 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
19540 (gdb-frame-handler): Match convention to for disassembly buffer
19542 (gdb-stack-list-frames-handler): Rewritten without regexps.
19543 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
19544 not highlight breakpoints without line information.
19545 (gdb-input): Add trailing newline to command.
19547 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
19549 (gdb-breakpoints-list-handler-custom): Replacement for
19550 `gdb-break-list-handler'. Using real parser instead of regexps
19552 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
19553 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
19554 to place breakpoints.
19555 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
19557 (gdb-disassembly-handler-custom): Show overlay arrow.
19558 (gdb-disassembly-place-breakpoints): Show breakpoints in
19559 disassembly buffer.
19560 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
19561 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
19562 instead of parsing breakpoints buffer. Fixed old menu references
19567 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
19568 (gdb-memory-address): New variable which holds top address of
19569 memory page shown in memory buffer.
19570 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
19571 New customization variables.
19573 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
19574 display the memory buffer.
19575 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
19576 buffer display parameters.
19577 (def-gdb-memory-format, gdb-memory-format-binary)
19578 (gdb-memory-format-octal, gdb-memory-format-unsigned)
19579 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
19580 Functions for setting memory buffer format.
19581 (gdb-memory-unit-word, gdb-memory-unit-halfword)
19582 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
19583 unit size used in memory buffer.
19584 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
19585 Switch to next/previous page of memory buffer.
19586 Now using (bindat-get-field) instead of fadr functions.
19588 2009-07-07 Sam Steingold <sds@gnu.org>
19590 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
19591 non-top-level files.
19593 2009-07-07 Kenichi Handa <handa@m17n.org>
19595 * international/mule-cmds.el (reset-language-environment):
19596 Put the highset priority to the charset iso-8859-1.
19598 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
19600 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
19601 to the end of the line when locating the block (Bug#700).
19603 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
19605 * net/tramp.el (tramp-handle-write-region): Flush file properties
19606 in case of short track.
19608 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
19610 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
19611 Coded custom representation of verilog error regular expressions
19612 to work with Emacs-22's new format.
19613 (verilog-error-regexp-xemacs-alist): Coded custom representation
19614 of verilog error regular expressions to work with XEmacs format.
19615 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
19616 error recognition into XEmacs.
19617 (verilog-error-regexp-add-emacs): Hook routine to install verilog
19618 error recognition into Emacs-22.
19620 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
19622 * woman.el: Remove stand-alone closing parentheses.
19623 (woman-file-name, woman2-format-paragraphs)
19624 (woman-leave-blank-lines): Code cleanup.
19625 (woman-use-own-frame): Change default to nil.
19626 (woman-italic, woman-bold, woman-unknown, woman-addition):
19627 Change defaults to inherit from default faces.
19628 (woman2-process-escapes): Consume the newline after a stand-alone
19629 filler character (Bug#3651).
19631 2009-07-06 Glenn Morris <rgm@gnu.org>
19633 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
19634 (top-level): Move provide to the end.
19635 (ffap): Remove defunct URL from custom group.
19637 * subr.el (eval-after-load): Doc fix.
19639 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
19641 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
19642 `calc-embedded-word' is called twice.
19644 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19646 * files.el (find-alternate-file-other-window, find-alternate-file):
19647 Obey confirm-nonexistent-file-or-buffer.
19649 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
19651 * dired-aux.el (dired-show-file-type): Handle remote files.
19653 2009-07-05 Jari Aalto <jari.aalto@cante.net>
19655 * desktop.el (desktop-globals-to-save):
19656 Add file-name-history (Bug#2750).
19658 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
19660 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
19662 2009-07-04 Johan Bockgård <bojohan@gnu.org>
19664 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
19665 property on entire argument since this is what eshell-lisp-command
19668 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
19670 * net/tramp-gvfs.el (tramp-gvfs-methods)
19671 (tramp-gvfs-zeroconf-domain)
19672 (tramp-bluez-discover-devices-timeout): Add version flag.
19673 (tramp-gvfs-handler-mounted-unmounted)
19674 (tramp-gvfs-connection-mounted-p): Polish handling of
19675 incompatibilities between GVFS 0.2 and 1.0.
19677 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
19679 * cus-start.el (all): Add make-pointer-invisible.
19681 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
19683 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
19684 formatted correctly.
19686 2009-07-02 Juri Linkov <juri@jurta.org>
19688 * info.el: Virtual Info files and nodes.
19689 (Info-virtual-files, Info-virtual-nodes): New variables.
19690 (Info-current-node-virtual): New variable.
19691 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
19693 (Info-file-supports-index-cookies): Use Info-virtual-file-p
19694 to check for a virtual file instead of checking a fixed list
19696 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
19697 instead of ad-hoc processing of "dir" and (apropos history toc).
19698 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
19699 instead of ad-hoc processing of "dir" and (apropos history toc).
19700 Reread a file when moving from a virtual node.
19701 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
19702 (Info-directory-toc-nodes, Info-directory-find-file)
19703 (Info-directory-find-node): New functions.
19704 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
19705 (Info-history): Move part of code to
19706 `Info-history-find-node'.
19707 (Info-history-toc-nodes, Info-history-find-file)
19708 (Info-history-find-node): New functions.
19709 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
19710 (Info-toc): Move part of code to `Info-toc-find-node'.
19711 (Info-toc-find-node): New function.
19712 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
19713 the current Info file name to references because now the node
19714 "*TOC*" belongs to the same Info manual.
19715 (Info-toc-build): Rename from `Info-build-toc'.
19716 (Info-toc-nodes): Rename input argument `file' to `filename'.
19717 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
19718 instead of ad-hoc processing of ("dir" apropos history toc).
19719 (Info-index-nodes): Use Info-virtual-file-p
19720 to check for a virtual file instead of checking a fixed list
19722 (Info-index-node): Add check for `Info-current-node-virtual'.
19723 Raise `save-match-data' higher up the tree to contain
19724 `search-forward' too (bug fix).
19725 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
19726 (Info-virtual-index-nodes): New variable.
19727 (Info-virtual-index-find-node, Info-virtual-index): New functions.
19728 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
19729 (Info-apropos-file, Info-apropos-nodes): New variables.
19730 (Info-apropos-toc-nodes, Info-apropos-find-file)
19731 (Info-apropos-find-node, Info-apropos-matches): New functions.
19732 (info-apropos): Move part of code to `Info-apropos-find-node' and
19733 `Info-apropos-matches'.
19734 (Info-mode-map): Bind "I" to `Info-virtual-index'.
19735 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
19736 for a virtual file instead of checking a fixed list of node names.
19738 * simple.el (async-shell-command): New command.
19740 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
19742 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
19743 instead of `mount-info'.
19745 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
19747 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
19748 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
19750 2009-07-02 Kenichi Handa <handa@m17n.org>
19752 * international/mule.el (set-keyboard-coding-system): Force *-unix
19753 coding-system to avoid eol conversion.
19755 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
19757 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
19758 Add handler for `process-file', `shell-command' and
19759 `start-file-process'.
19760 (tramp-gvfs-handle-shell-command)
19761 (tramp-gvfs-handle-start-file-process)
19762 (tramp-gvfs-handle-process-file): New defuns.
19763 (tramp-synce-list-devices): Simplify check for existence of property.
19765 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
19767 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
19769 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
19771 * language/korean.el (set-language-info-alist): Add korean-cp949,
19774 2009-07-01 Kenichi Handa <handa@m17n.org>
19776 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
19778 * international/encoded-kb.el: Deleted.
19780 * international/mule.el (set-keyboard-coding-system): Perform the
19781 necessary setup here instead of calling encoded-kbd-setup-display.
19783 2009-07-01 Glenn Morris <rgm@gnu.org>
19785 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
19787 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
19789 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
19791 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
19793 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
19794 Handle also the 'rename case, when setting file modes. (Bug#3712)
19795 (tramp-default-file-modes): Remove execute permissions.
19797 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
19798 (top): Add a default for "synce" in `tramp-default-user-alist'.
19799 Add completion function for "synce" method.
19800 (tramp-hal-service, tramp-hal-path-manager)
19801 (tramp-hal-interface-manager, tramp-hal-interface-device):
19803 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
19804 (tramp-synce-list-devices, tramp-synce-parse-device-names):
19807 * net/trampver.el: Update release number.
19809 2009-06-30 Kenichi Handa <handa@m17n.org>
19811 * international/fontset.el (setup-default-fontset): Add CJK fonts
19812 for symbols and the other miscellaneous characters.
19814 * language/korea-util.el (setup-korean-environment-internal):
19815 Make char-width-table suitable for Korean environments.
19816 (exit-korean-environment): Cancel above.
19818 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
19819 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
19820 setup-function to make char-width-table suitable for respective
19821 environments, and an exit-function to cancel that.
19823 * language/japan-util.el (setup-japanese-environment-internal):
19824 Call use-cjk-char-width-table with arg `ja_JP'.
19826 * international/characters.el (cjk-char-width-table): Delete it.
19827 (cjk-char-width-table-list): New variable.
19828 (use-cjk-char-width-table): New arg local-name.
19829 (use-default-char-width-table): Fix for the case that Emacs is
19830 already using the default char-width-table.
19832 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
19834 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
19835 modes mandatory. (Bug#3712)
19837 2009-06-29 Alan Mackenzie <acm@muc.de>
19839 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
19840 correction between the visible width of TABs and their number of bytes.
19842 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
19844 * server.el (server-buffer-done): Prevent kill-buffer from
19845 prompting by clearing the buffer modification flag (Bug#3696).
19847 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
19849 * progmodes/verilog-mode.el (verilog-beg-of-statement)
19850 (verilog-endcomment-reason-re): Support unique case and priority case.
19851 (verilog-basic-complete-re): Support localparam lineup.
19852 (verilog-beg-of-statement-1): Fix for robustness, unique case.
19853 (verilog-set-auto-endcomments): Fix for unique case, always_comb
19855 (verilog-leap-to-case-head): Now support *nested* unique &
19856 priority case statements.
19857 (verilog-auto-lineup): Make just declarations the default (as it
19859 (verilog-leap-to-case-head): Support priority/unique case statements.
19860 (verilog-auto-lineup): Rework to give users radio buttons to
19861 select the various styles of automatic lineup.
19862 (verilog-error-regexp-alist): Rework to support the XEmacs style
19863 of error regular expressions from compilers, lint tools &
19864 simulators. Note that GNU Emacs has made it impossible for a mode
19865 to load such things.
19866 (electric-verilog-terminate-line, verilog-indent-declaration)
19867 (verilog-auto-wiure): Rework for radio button selection of
19868 auto-lineup selection of specification of auto lineup.
19869 (verilog-beg-of-statement-1): Redesign to support proper operation
19870 in additional code, based on testing with auto-lineup.
19871 (verilog-calculate-indent, assignments & declarations)
19872 (verilog-backward-token): Enhance to support auto-lineup of
19873 assignments & declarations.
19874 (verilog-in-directive-p, verilog-at-struct-p): New function for
19875 easy test of whether we are.
19876 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
19877 to support safe execution at almost anyline.
19878 (verilog-calc-1): Properly support indenting deep inside generate
19880 (verilog-init-font): Remove definition & use of verilog-init-font,
19881 as it is redundant with font-lock-defaults.
19882 (verilog-mode): Alter the definition of verilog-font-lock-defaults
19883 to avoid circular calls if syntax-ppss is a function (as is the
19884 case now in 22.x GNU Emacs) as that function would sometimes call
19885 itself, leading to (nearly) infinite recursion.
19886 (verilog-ovm-begin-re, verilog-ovm-end-re)
19887 (verilog-ovm-statement-re, verilog-leap-to-head)
19888 (verilog-backward-token): Add support for OVM macros. Some are
19889 complete statements, and others open and close scopes like begin
19891 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
19892 (verilog-defun-level-generate-only-re): Really fix the defun-list
19894 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
19895 coverpoint, constraint and cross statements.
19896 (verilog-defun-level-list, verilog-generate-defun-level-list)
19897 (verilog-all-defun-level-list): Redo these specifications - it is
19898 too hard to support eval-when compile aggregation of lists also
19899 built at when-compile time.
19900 (verilog-defun-level-list): Place defconsts of variables used in
19901 building regular expressions which are built in eval-when-compile
19902 bodies in the same eval-when-compile body to facilitate compile
19904 (verilog-beg-block-re-ordered): Support indenting
19905 virtual/protected tasks and functions.
19906 (verilog-defun-level-list, verilog-in-generate-region-p)
19907 (verilog-backward-ws&directives, verilog-calc-1): Speed up
19908 indentation of some module items (generate items).
19909 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
19910 across virtual/protected tasks and functions.
19912 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
19914 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
19915 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
19916 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
19917 in concatenations. Reported by Yishay Belkind.
19918 (verilog-auto-ascii-enum): Support one-hot state machines in
19919 AUTOASCIIENUM. Suggested by Lloyd Gomez.
19920 (verilog-auto-inst, verilog-auto-inst-port): Include interface
19921 modport in AUTOINST and add vl-modport for users.
19922 Reported by David Rogoff.
19923 (verilog-auto-inout-module, verilog-auto-inst)
19924 (verilog-decls-get-interfaces, verilog-insert-definition)
19925 (verilog-insert-one-definition, verilog-read-decls)
19926 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
19927 (verilog-sig-modport, verilog-signals-combine-bus)
19928 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
19929 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
19930 Suggested by David Rogoff.
19931 (verilog-repair-open-comma): Fix non-insertion of comma when
19932 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
19933 (verilog-make-width-expression): Simplify [A-1:0] expression
19934 widths to just {A{1'b0}}.
19935 (verilog-mode): Cleanup checkdoc warnings.
19936 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
19937 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
19938 inputs/outputs or data type. Suggested by Vasu Kandadi.
19939 (next-error-last-buffer): Fix byte-compiler warning.
19940 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
19941 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
19942 or shell command text during AUTO expansion. Suggested by Tad Truex.
19943 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
19944 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
19945 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
19946 in AUTOINOUT. Reported by Matthew Lovell.
19947 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
19948 causing use of <= assignments. Reported by Alex Reed.
19949 (verilog-read-decls): Fix triand, trior, wand, wor to be
19950 recognized by AUTOWIRE. Reported by Spencer Isaacson.
19951 (verilog-extended-complete-re): Support import "DPI-C" functions.
19952 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
19953 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
19954 (verilog-insert-date, verilog-insert-year)
19955 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
19956 Windows systems. Reported by Michael Potts.
19957 (verilog-read-module-name): Fix AUTOINST when the child module
19958 declaration's name is a tick define. Reported by Elliot Mednick.
19959 (verilog-read-decls): Fix V2K parameter bit subscripts getting
19960 passed to next parameter's definition. Reported by Bruce T.
19961 (verilog-read-decls): Fix detecting "parameter int" when using
19962 AUTOINSTPARAM. Reported by Bruce T.
19963 (verilog-goto-defun): Fix goto not finding modules unless first
19964 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
19965 (verilog-mode): Expand -f flag arguments on entry to mode so
19966 verilog-goto-defun will work. Reported by Lawrence Butcher.
19967 (verilog-getopt): Expand environment variables in -f file
19968 arguments. Suggested by Lawrence Butcher.
19969 (verilog-set-define): Fix "Symbol's value as variable is void"
19970 when reading enumerations.
19971 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
19972 Suggested by Stephen Peltan.
19973 (verilog-read-defines): Fix reading of enumerations in include
19974 files. Reported by Steve Peltan.
19976 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
19978 * files.el (trash-directory): Fix defcustom type.
19980 2009-06-28 Juri Linkov <juri@jurta.org>
19982 * help-fns.el (describe-function-1): Correctly locate adviced
19983 functions in hyperlink (Bug#2438).
19985 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
19987 * files.el (trash-directory): Change default to nil.
19988 (move-file-to-trash): If trash-directory is nil and
19989 system-move-file-to-trash is unbound, perform freedesktop-style
19992 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
19994 * files.el (move-file-to-trash): Add freedesktop trash
19997 2009-06-28 Glenn Morris <rgm@gnu.org>
19999 * autorevert.el (global-auto-revert-non-file-buffers)
20000 (global-auto-revert-mode): Doc fixes.
20002 2009-06-27 Johan Bockgård <bojohan@gnu.org>
20004 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
20006 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
20008 * faces.el (x-handle-named-frame-geometry): Ensure that we have
20009 opened an X connection before calling x-get-resource (Bug#3194).
20011 * play/doctor.el: Remove reference to obsolete website.
20012 (make-doctor-variables): Correct grammar mistake (Bug#2633).
20014 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
20016 Remove find-file-not-found-hook VC method. (Bug#2757)
20017 * vc-hooks.el (vc-file-not-found-hook)
20018 (vc-default-find-file-not-found-hook): Remove functions.
20019 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
20020 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
20023 * vc-git.el: Do not mention find-file-not-found-hook VC method.
20025 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
20027 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
20028 compatibility function for `looking-back'.
20030 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
20031 Use `ispell-looking-back'.
20033 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
20035 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
20036 rather than `filename'.
20038 2009-06-23 Miles Bader <miles@gnu.org>
20040 * face-remap.el (text-scale-set): New function.
20042 2009-06-23 Glenn Morris <rgm@gnu.org>
20044 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
20046 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
20048 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
20050 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
20052 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
20053 Simplify Persian conditionals.
20055 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
20056 variable `filename'.
20058 * comint.el (comint-insert-input): Doc fix.
20060 * Makefile.in (ELCFILES): Fix typo in previous change.
20062 2009-06-23 Miles Bader <miles@gnu.org>
20064 * cus-start.el: Add entry for `recenter-redisplay'.
20066 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
20068 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
20069 Add an optional argument for the backend, use it instead of
20070 calling vc-backend.
20071 (vc-mode-line): Add an optional argument for the backend.
20072 Pass the backend to vc-state and vc-working-revision. Move code for
20073 special handling for vc-state being a buffer to ...
20075 * vc-rcs.el (vc-rcs-find-file-hook):
20076 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
20078 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
20079 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
20080 vc-stay-local-p and vc-mode-line calls.
20082 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
20083 (vc-cvs-diff, vc-cvs-annotate-command)
20084 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
20085 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
20086 vc-mode-line calls.
20088 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
20090 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
20091 backend when calling vc-mode-line.
20092 (vc-register): Do not create a closure for calling the vc register
20093 function, call it directly.
20095 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
20097 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
20098 to make it obvious item can be clicked.
20100 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
20102 2009-06-23 Kenichi Handa <handa@m17n.org>
20104 * language/korea-util.el (korean-key-bindings): Change the binding
20105 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
20108 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
20110 Sync with Tramp 2.1.16.
20112 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
20114 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
20115 when a loading of a package fails. Completion function for rsync
20116 is `tramp-completion-function-alist-ssh'.
20117 (all): Replace all calls of `split-string' and
20118 `tramp-split-string' by `tramp-compat-split-string'.
20119 (tramp-default-method): Use `tramp-compat-process-running-p'.
20120 (tramp-default-proxies-alist): Allow also Lisp forms.
20121 (tramp-remote-path): Add choice "Private Directories".
20122 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
20123 (tramp-domain-regexp): Allow also "-", "_" and ".".
20124 (tramp-end-of-output): Remove newlines, and add "$" at the end.
20125 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
20126 (tramp-debug-message): Insert header line in debug buffer.
20127 (tramp-handle-directory-files-and-attributes-with-stat):
20128 Care about filenames with spaces, or starting with "-".
20129 (tramp-handle-dired-uncache): New defun.
20130 (tramp-handle-insert-directory): Don't flush the directory from
20131 cache, this is handled by `dired-uncache' now.
20132 (tramp-handle-insert-file-contents): Improve error handling.
20133 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20134 Quote `tramp-end-of-output'.
20135 (tramp-action-password): Improve trace message.
20136 (tramp-check-for-regexp): Both echoes must be present, before removing.
20137 (tramp-open-connection-setup-interactive-shell): Trace coding system.
20138 (tramp-compute-multi-hops): Eval cons cells of
20139 `tramp-default-proxies-alist'.
20140 (tramp-maybe-open-connection): Use the same command pattern for
20141 first hop and further hops.
20142 (tramp-wait-for-output): Remove handling of newlines.
20143 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
20144 (tramp-split-string): Remove function. It is handled in
20147 * net/tramp-cmds.el (tramp-bug):
20148 Recommend `tramp-cleanup-all-connections' in the bug mail.
20150 * net/tramp-compat.el (tramp-compat-split-string)
20151 (tramp-compat-process-running-p): New defuns.
20153 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
20154 for `dired-uncache'.
20156 * net/tramp-gvfs.el: New package.
20158 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20159 Add handler for `dired-uncache'.
20160 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
20162 * net/trampver.el: Update release number. Make version check fit
20165 2009-06-22 Jim Meyering <meyering@redhat.com>
20167 Automatically handle .xz suffix (XZ-compressed files), too.
20168 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
20169 XZ is the successor to LZMA: <http://tukaani.org/xz/>
20171 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
20172 Nick Roberts <nickrob@snap.net.nz>
20174 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
20175 repository (http://sphinx.net.ru/hg/gdb-mi/).
20177 2009-06-22 Glenn Morris <rgm@gnu.org>
20179 * files.el (dir-locals-collect-mode-variables): Allow for any number of
20180 `mode' and `eval' entries. (Bug#3430)
20182 * Makefile.in (ELCFILES): Add fadr.elc.
20184 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
20185 differing behavior of \n and ^ in strings. (Bug#3385)
20187 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
20189 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
20191 (lisp-indent-function): Make it a defcustom.
20193 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
20195 * progmodes/gdb-ui.el: Replace with ...
20196 * progmodes/gdb-mi.el: ... this file.
20197 * progmodes/gud.el: Modify for gdb-mi.el.
20199 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
20201 * fadr.el: New file.
20203 See ChangeLog.14 for earlier changes.
20205 ;; Local Variables:
20209 Copyright (C) 2009, 2010 Free Software Foundation, Inc.
20211 This file is part of GNU Emacs.
20213 GNU Emacs is free software: you can redistribute it and/or modify
20214 it under the terms of the GNU General Public License as published by
20215 the Free Software Foundation, either version 3 of the License, or
20216 (at your option) any later version.
20218 GNU Emacs is distributed in the hope that it will be useful,
20219 but WITHOUT ANY WARRANTY; without even the implied warranty of
20220 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20221 GNU General Public License for more details.
20223 You should have received a copy of the GNU General Public License
20224 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.