Calendar fix for scroll-bar scrolling (b#8305).
[emacs.git] / lisp / ChangeLog
blob072f35e528a26654e25335fa9fa9eb8cd8f67211
1 2011-04-06  Glenn Morris  <rgm@gnu.org>
3         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
4         * calendar/calendar.el (calendar-mode-map):
5         Check for toolkit scroll bars.  (Bug#8305)
7 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
9         * minibuffer.el (completion-in-region--postch)
10         (completion-in-region-mode): Remove unnecessary messages.
12 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
14         * font-lock.el (font-lock-refresh-defaults):
15         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
16         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
18         * info.el (Info-directory-list, Info-read-node-name-2)
19         (Info-split-parameter-string): Doc fixes.
20         (Info-virtual-nodes): Reflow docstring.
21         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
22         (Info-apropos-toc-nodes, info-finder, Info-get-token)
23         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
24         Fix typos in docstrings.
25         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
26         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
27         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
28         (Info-restore-desktop-buffer): Mark unused parameters.
29         (Info-directory-find-file, Info-directory-find-node)
30         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
31         (Info-virtual-index-find-node, Info-apropos-find-file)
32         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33         Mark unused parameters; fix typos in docstrings.
34         (Info-virtual-index): Remove unused local variable `nodename'.
36 2011-04-05  Deniz Dogan  <deniz@dogan.se>
38         * net/rcirc.el: Update my e-mail address.
39         (rcirc-mode-map): Remove M-o binding.
41 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
43         * startup.el (command-line): Save the cursor's theme-face
44         directly, instead of using face-override-spec.
46         * custom.el (load-theme): Minor optimization in assigning faces.
48 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
50         * help-fns.el (describe-variable): Complete all variables having
51         documentation, including keywords.
52         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
54 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
56         Convert to lexical-binding.
58         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
59         (bs--get-marked-string, bs--get-modified-string)
60         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
61         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
62         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
64         * ehelp.el (electric-help-execute-extended)
65         (electric-help-ctrl-x-prefix):
66         * hexl.el (hexl-revert-buffer-function):
67         * linum.el (linum-after-change, linum-after-scroll):
68         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
70         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
72 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
74         * epa-dired.el:
75         * epa-mail.el:
76         * epa-hook.el:
77         * epa-file.el:
78         * epa.el:
79         * epg.el: Use lexical binding.
81 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
83         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
85         * textmodes/flyspell.el (flyspell-word): Recognize default
86         dictionary case for flyspell-mark-duplications-exceptions.  Use
87         regexp matching for languages.
88         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
89         default dictionary (Bug#7926).
91 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
93         * emacs-lisp/package.el (package--with-work-buffer): Recognize
94         https URLs.
96         * net/network-stream.el: Move from gnus/proto-stream.el.  Change
97         prefix to network-stream throughout.
98         (open-protocol-stream): Merge into open-network-stream, leaving
99         open-protocol-stream as an alias.  Handle nil BUFFER args.
101         * subr.el (open-network-stream): Move to net/network-stream.el.
103 2011-04-02  Glenn Morris  <rgm@gnu.org>
105         * find-dired.el (find-exec-terminator): New option.
106         (find-ls-option): Test for -ls support.
107         (find-ls-subdir-switches): Test for -b in find-ls-option.
108         (find-dired, find-grep-dired): Doc fixes.
109         (find-dired): Use find-exec-terminator.
111         * find-dired.el (find-ls-option, find-ls-subdir-switches)
112         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
113         (find-name-arg): Remove purecopy.
115         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
116         (grep-compute-defaults): Check for `-exec COMMAND +' support.
117         Set grep-find-use-xargs, grep-find-command, and grep-find-template
118         accordingly.  Don't add the null-device if not needed.
120         * files.el (save-some-buffers): Doc fix.
122 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
124         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
126 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
128         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
129         Use `dolist' rather than `mapcar'.
131 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
133         Add lexical binding.
135         * subr.el (apply-partially): Use new closures rather than CL.
136         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
137         (dolist, dotimes): Use slightly different expansion for lexical code.
138         (functionp): Move to C.
139         (letrec): New macro.
140         (with-wrapper-hook): Use it and apply-partially instead of CL.
141         (eval-after-load): Preserve lexical-binding.
142         (save-window-excursion, with-output-to-temp-buffer): Turn them
143         into macros.
145         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
147         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
148         than the arglist.
149         (help-add-fundoc-usage): Don't add `Not documented'.
150         (help-function-arglist): Handle closures, subroutines, and new
151         byte-code-functions.
152         (help-make-usage): Remove leading underscores.
153         (describe-function-1): Handle closures.
154         (describe-variable): Use special-variable-p for completion.
156         * files.el (lexical-binding): Declare safe.
158         * emacs-lisp/pcase.el: Don't use destructuring-bind.
159         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
160         (pcase): Add `let' pattern.
161         Change memoization so it actually works.
162         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
163         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
164         <let>: New case.
166         * emacs-lisp/macroexp.el: Use lexical binding.
167         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
168         Don't convert ' to #' without checking that it's indeed quoting
169         a lambda.
171         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
172         Use eval-sexp-add-defvars.
173         (eval-sexp-add-defvars): New fun.
175         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
177         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
178         Don't autoload.
179         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
180         than the internal `byte-compile-lambda'.
181         (defmethod): Don't hide code under quotes.
182         (eieio-defmethod): New `code' argument.
184         * emacs-lisp/eieio-comp.el: Remove.
186         * emacs-lisp/edebug.el (edebug-eval-defun)
187         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
188         (edebug-toggle): Avoid `eval'.
190         * emacs-lisp/disass.el (disassemble-internal): Handle new
191         `closure' objects.
192         (disassemble-1): Handle new byte codes.
194         * emacs-lisp/cl.el (pushnew): Silence warning.
196         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
197         (cl-byte-compile-throw): Remove.
198         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
200         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
201         closures.
203         * emacs-lisp/cconv.el: New file.
205         * emacs-lisp/bytecomp.el: Use lexical binding instead of
206         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
207         (byte-compile-initial-macro-environment):
208         Handle declare-function here.
209         (byte-compile--lexical-environment): New var.
210         (byte-stack-ref, byte-stack-set, byte-discardN)
211         (byte-discardN-preserve-tos): New lap codes.
212         (byte-interactive-p): Don't use any more.
213         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
214         New macros.
215         (byte-compile-lapcode): Use them and handle new lap codes.
216         (byte-compile-obsolete): Remove.
217         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
218         (byte-compile-arglist-warn): Check late def of inlinable funs.
219         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
220         since they should have been expanded by now.
221         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
222         (byte-compile-from-buffer): Remove unused second arg.
223         (byte-compile-preprocess): New function.
224         (byte-compile-toplevel-file-form): New function to distinguish
225         file-form calls from outside from file-form calls from hunk-handlers.
226         (byte-compile-file-form): Simplify.
227         (byte-compile-file-form-defsubst): Remove.
228         (byte-compile-file-form-defmumble): Simplify now that
229         byte-compile-lambda always returns a byte-code-function.
230         (byte-compile): Preprocess.
231         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
232         Remove, not used any more.
233         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
234         (byte-compile-make-args-desc): New funs.
235         (byte-compile-lambda): Handle lexical functions.  Always return
236         a byte-code-function.
237         (byte-compile-reserved-constants): New var, to make up room for
238         closed-over variables.
239         (byte-compile-constants-vector): Obey it.
240         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
241         (byte-compile-macroexpand-declare-function): New function.
242         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
243         byte-code-functions.
244         (byte-compile-form): Check obsolescence here.
245         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
246         (byte-compile-variable-ref): Remove.
247         (byte-compile-dynamic-variable-op): New fun.
248         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
249         (byte-compile-variable-set): New funs.
250         (byte-compile-discard): Add 2 args.
251         (byte-compile-stack-ref, byte-compile-stack-set)
252         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
253         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
254         macroexpand-all instead.
255         (byte-compile-quote-form): Remove.
256         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
257         (byte-compile-bind, byte-compile-unbind): New funs.
258         (byte-compile-let): Handle let* and lexical binding.
259         (byte-compile-let*): Remove.
260         (byte-compile-catch, byte-compile-unwind-protect)
261         (byte-compile-track-mouse, byte-compile-condition-case):
262         Handle a new :fun-body form, used for lexical scoping.
263         (byte-compile-save-window-excursion)
264         (byte-compile-with-output-to-temp-buffer): Remove.
265         (byte-compile-defun): Simplify.
266         (byte-compile-stack-adjustment): New fun.
267         (byte-compile-out): Use it.
268         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
270         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
271         handler any more.
273         * emacs-lisp/byte-opt.el: Use lexical binding.
274         (byte-inline-lapcode): Remove (to bytecomp).
275         (byte-compile-inline-expand): Pay attention to inlining to/from
276         lexically bound code.
277         (byte-compile-unfold-lambda): Don't handle byte-code-functions
278         any more.
279         (byte-optimize-form-code-walker): Don't handle save-window-excursion
280         any more and don't call compiler-macros.
281         (byte-compile-splice-in-already-compiled-code): Remove.
282         (byte-code): Don't inline any more.
283         (disassemble-offset): Receive `bytes' as argument rather than via
284         dynamic scoping.
285         (byte-compile-tag-number): Declare before first use.
286         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
287         `return' even if make-spliceable.
288         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
289         obsolete interactive-p.
290         (byte-optimize-lapcode): Optimize new lap-codes.
291         Don't trip up on new form of `byte-constant' lap code.
293         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
295         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
297         * custom.el (custom-initialize-default, custom-declare-variable):
298         Use `defvar'.
300         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
301         New variables.
302         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
303         (COMPILE_FIRST): Add macroexp and cconv.
304         * makefile.w32-in: Mirror changes in Makefile.in.
306         * vc/cvs-status.el:
307         * vc/diff-mode.el:
308         * vc/log-edit.el:
309         * vc/log-view.el:
310         * vc/smerge-mode.el:
311         * textmodes/bibtex-style.el:
312         * textmodes/css.el:
313         * startup.el:
314         * uniquify.el:
315         * minibuffer.el:
316         * newcomment.el:
317         * reveal.el:
318         * server.el:
319         * mpc.el:
320         * emacs-lisp/smie.el:
321         * doc-view.el:
322         * dired.el:
323         * abbrev.el: Use lexical binding.
325 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
327         * info.el (info-display-manual): New function.
329 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
331         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
333 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
335         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
336         an entry for that server in rcirc-authinfo.  (Bug#8385)
338 2011-03-31  Glenn Morris  <rgm@gnu.org>
340         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
342         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
344 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
346         * progmodes/python.el (python-default-interpreter)
347         (python-python-command-args, python-jython-command-args)
348         (python-which-shell, python-which-args, python-which-bufname)
349         (python-file-queue, python-comint-output-filter-function)
350         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
351         variables and functions.
353 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
355         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
356         (completion-in-region-mode): New minor mode.
357         (completion-in-region): Use it.
358         (completion-in-region--data, completion-in-region-mode-map): New vars.
359         (completion-in-region--postch): New function.
360         (completion--capf-misbehave-funs, completion--capf-safe-funs):
361         New vars.
362         (completion--capf-wrapper): New function.
363         (completion-at-point): Use it to track well-behavedness of
364         hook functions.
365         (completion-help-at-point): New command.
367 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
369         * vc/add-log.el (add-change-log-entry): Don't use whitespace
370         syntax class to search for whitespace on a single line
371         (Message-ID: <4D938140.4030905@redhat.com>).
373 2011-03-30  Leo Liu  <sdl.web@gmail.com>
375         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
376         New commands.
377         (edit-abbrevs-map): Bind them here.
378         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
380 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
382         * allout.el (allout-hide-by-annotation, allout-flag-region):
383         Reduce possibility of overlay leakage by making them volatile.
385         * allout-widgets.el (allout-widgets-tally): Define as nil so the
386         hash is not shared between buffers.  Mode initialization is
387         responsible for giving it a useful starting value.
388         (allout-item-span): Reduce possibility of overlay leakage by
389         making them volatile.
390         (allout-widgets-count-buttons-in-region): Add diagnostic function
391         for tracking down button overlay leaks.
393 2011-03-29  Leo Liu  <sdl.web@gmail.com>
395         * ido.el (ido-read-internal): Use the default history var
396         minibuffer-history if no HISTORY is specified.
398 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
400         * net/imap.el (imap-shell-open, imap-process-connection-type):
401         Use imap-process-connection-type for 'shell' streams as well as
402         Kerberos, SSL, other subprocesses.
404 2011-03-28  Leo Liu  <sdl.web@gmail.com>
406         * abbrev.el (abbrev-table-empty-p): New function.
407         (prepare-abbrev-list-buffer): Place empty abbrev tables after
408         nonempty ones.  (Bug#5937)
410 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
412         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
414 2011-03-27  Leo Liu  <sdl.web@gmail.com>
416         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
417         for foreground and background colors.
418         (ansi-color-make-color-map): Adapt.
420 2011-03-25  Leo Liu  <sdl.web@gmail.com>
422         * midnight.el (midnight-time-float): Remove.  Note it calculates
423         the microsecond component incorrectly and seconds-to-time does the
424         same job.
425         Remove redundant (require 'timer).
427         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
428         (ido-completions): Remove unused arguments.  (Bug#8329)
430 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
432         * minibuffer.el (completion--flush-all-sorted-completions):
433         Remove itself from hook.
434         (completion-at-point): Let the functions perform the completion
435         immediately and return nil or t.
436         * comint.el (comint-dynamic-complete-functions): Now identical to
437         completion-at-point-functions.
438         (comint-dynamic-list-input-ring): Remove unused var `index'.
439         (comint--match-partial-filename, comint--unquote&expand-filename):
440         New funs, split from comint-match-partial-filename.
441         (comint-dynamic-complete): Use completion-at-point.
442         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
444 2011-03-24  Drew Adams  <drew.adams@oracle.com>
446         * thingatpt.el: Support `defun'.
448 2011-03-23  Leo Liu  <sdl.web@gmail.com>
450         * abbrevlist.el: Move to obsolete/abbrevlist.el.
452         * help-mode.el (help-mode-finish): Tweak regexp.
454 2011-03-23  Glenn Morris  <rgm@gnu.org>
456         * eshell/esh-opt.el (eshell-eval-using-options):
457         Do not bind unused local variable `eshell-option-stub'.
459         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
461 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
463         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
464         keymap variable in `with-no-warnings' to avoid a warning when the
465         keymap has been already `defconst'ed.
467 2011-03-22  Leo Liu  <sdl.web@gmail.com>
469         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
470         encode all chars in abbrevs; otherwise use emacs-mule or
471         utf-8-emacs.  (Bug#8308)
473 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
475         * simple.el (backward-delete-char-untabify):
476         Avoid warning about using `delete-backward-char'.
478         * image.el (image-type-file-name-regexps): Make it variable.
479         `imagemagick-register-types' modifies it, and the user may want
480         to add new extensions for known image types.
481         (imagemagick-register-types): Throw error if not using ImageMagick.
483 2011-03-22  Leo Liu  <sdl.web@gmail.com>
485         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
486         located before rcirc-prompt-end-marker.
487         (rcirc-complete): Error if point is not after rcirc prompt.
488         Handle the case when table is nil.
489         (rcirc-user-authenticated): Define to fix compiler warning.
491 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
493         * custom.el (custom--inhibit-theme-enable): Make it affect only
494         custom-theme-set-variables and custom-theme-set-faces.
495         (provide-theme): Ignore custom--inhibit-theme-enable.
496         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
497         (custom-enabling-themes): Delete variable.
498         (enable-theme): Accept only loaded themes as arguments.
499         Ignore the special custom-enabled-themes variable.
500         (custom-enabled-themes): Forbid themes from setting this.
501         Eliminate use of custom-enabling-themes.
502         (custom-push-theme): Quote "changed" custom var entry.
504 2011-03-21  Leo Liu  <sdl.web@gmail.com>
506         * ido.el (ido-read-internal): Add ido-selected to history instead
507         of user input.
509 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
511         * subr.el (deferred-action-list, deferred-action-function):
512         Mark obsolete.
514 2011-03-21  Leo Liu  <sdl.web@gmail.com>
516         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
517         change on 2011-02-13 (bug#8309).
519         * minibuffer.el (read-file-name-function): Change default value.
520         (read-file-name--defaults): Rename from read-file-name-defaults.
521         (read-file-name-default): Rename from read-file-name.
522         (read-file-name): Call read-file-name-function.
524 2011-03-21  Glenn Morris  <rgm@gnu.org>
526         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
527         Doc fixes.
529 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
531         * cus-theme.el: Add missing provide statement.
532         (customize-create-theme): Extract theme value correctly.
533         (custom-theme-visit-theme): Autoload.
534         (customize-create-theme): Prompt before inserting default faces.
536 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
538         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
539         units and musical notes.
541 2011-03-20  Leo  <sdl.web@gmail.com>
543         * ido.el (ido-read-internal): Use completing-read-default.
544         (ido-completing-read): Fix compatibility with completing-read.
546 2011-03-20  Christian Ohler  <ohler@gnu.org>
548         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
549         (ert-delete-all-tests): Use `called-interactively-p' rather than
550         `interactive-p'.
551         (ert--make-xrefs-region): Respect END.
553 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
555         * dired-aux.el (dired-create-directory): Signal an error if the
556         directory already exists (Bug#8246).
558         * facemenu.el (list-colors-display): Call list-faces-display
559         inside with-help-window.
560         (list-colors-print): Use display property to align the final
561         column, instead of checking window-width.
563 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
565         * emerge.el (emerge-metachars): Separate value for ms-dos and
566         windows-nt systems.
567         (emerge-protect-metachars): Quote correctly for ms-dos and
568         windows-nt systems.
570 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
572         * info.el (info-initialize): Replace all uses of `:' with
573         path-separator for compatibility with non-Unix systems.
574         Cache quoting of path-separator.  (Bug#8258)
576 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
578         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
579         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
580         (mouse-avoidance-mode): Fix typos in docstrings.
582 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
584         * startup.el (package-subdirectory-regexp): Move from package.el.
585         Omit \\` and \\', and let callers add them.
587         * emacs-lisp/package.el (package-strip-version)
588         (package-load-all-descriptors): Add \\` and \\' to
589         package-subdirectory-regexp before using it.
590         (package-untar-buffer): New arg DIR; ensure that file untars only
591         into this expected directory.  Remove superfluous delete-region.
592         (package-unpack): Caller changed.
593         (package-tar-file-info): Use package-subdirectory-regexp.
595 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
597         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
598         diff-mode-shared-map (bug#8284).
599         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
601 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
603         * calendar/time-date.el (format-seconds): Use assoc instead of
604         assoc-string, since assoc-string doesn't exist in XEmacs.
606 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
608         * custom.el (custom-known-themes): Reflow docstring.
609         (custom-theme-load-path): Fix typo in docstring.
610         (load-theme): Fix typo in error message.
611         (custom-available-themes, custom-variable-theme-value):
612         Use `let', not `let*'.
614 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
616         * calc/README: Mention inclusion of musical notes.
618         * calc/calc-units.el (calc-lu-quant): Rename from
619         `calc-logunits-quantity'.
620         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
621         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
622         (calc-db): Rename from `calc-dblevel'.
623         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
624         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
625         (calc-np): Rename from `calc-nplevel'.
626         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
627         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
628         (calc-lu-plus): Rename from `calc-logunits-add'.
629         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
630         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
631         (calc-lu-minus): Rename from `calc-logunits-sub'.
632         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
633         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
634         (calc-lu-times): Rename from `calc-logunits-mul'.
635         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
636         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
637         (calc-lu-divide): Rename from `calc-logunits-div'.
638         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
639         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
641         * calc/calc-ext.el (calc-init-extensions): Update the names of the
642         functions being autoloaded.
644         * calc/calc.el (calc-lu-power-reference): Rename from
645         `calc-logunits-power-reference'.
646         (calc-lu-field-reference): Rename from
647         `calc-logunits-field-reference'.
649         * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
651 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
653         * minibuffer.el (completion-all-sorted-completions):
654         Use :completion-cycle-penalty text property if present.
656 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
658         * allout.el (allout-yank-processing): Adjust for new rebulleting
659         regime so bullet being yanked is used without prompting the user
660         for a choice.
662 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
664         * startup.el (command-line): Warn the user that _emacs is deprecated.
666 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
668         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
669         (delphi-verbose, delphi-comment-face, delphi-string-face)
670         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
671         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
672         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
673         (delphi-new-comment-line, delphi-font-lock-defaults)
674         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
675         Fix typos in docstrings.
677 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
679         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
680         Invert the roles of character and string values for INSTEAD, so a
681         string is used for the more common case of a defaulting prompt.
683 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
685         * progmodes/ruby-mode.el (ruby-backward-sexp):
686         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
687         * play/gamegrid.el (gamegrid-make-face):
688         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
689         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
690         * notifications.el (notifications-notify):
691         * net/xesam.el (xesam-search-engines):
692         * net/quickurl.el (quickurl-list-insert):
693         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
695 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
697         * startup.el (command-line): Update package subdirectory regexp.
699 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
701         * allout.el (allout-abbreviate-flattened-numbering)
702         (allout-mode-deactivate-hook): Fix up obsolescence "date".
704         * subr.el (read-char-choice): Only show the cursor after the prompt,
705         not after the answer.
707 2011-03-15  Kevin Ryde  <user42@zip.com.au>
709         * help-fns.el (variable-at-point): Skip leading quotes, if any
710         (bug#8253).
712 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
714         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
715         warning message.
717 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
719         * shell.el (shell): When called interactively, offer to change the
720         shell file name on remote hosts.
722 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
724         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
725         integration for LDAP parameters.  The host, base, user or binddn,
726         and secret tokens can be specified in a netrc file, for instance.
727         This is optional because an `auth-source' parameter must be
728         specified in the search attributes.
730 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
732         * help.el (describe-mode): Link to the mode's definition (bug#8185).
734 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
736         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
737         into declaration.  Remove redundant and harmful binding.
739 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
741         * files.el (file-ownership-preserved-p): Pass `integer' as an
742         explicit 2nd argument to `file-attributes'.  If the file's owner
743         is the Administrators group on Windows, and the current user is
744         Administrator, consider that a match.
746         * server.el (server-ensure-safe-dir): Consider server directory
747         safe on MS-Windows if its owner is the Administrators group while
748         the current Emacs user is Administrator.  Use `=' to compare
749         numerical UIDs, since they could be integers or floats.
751 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
753         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
755 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
757         Sync with Tramp 2.2.1.
759         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
761         * net/trampver.el: Update release number.
763 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
765         * progmodes/compile.el (compilation--previous-directory): Fix up
766         various nil/dead-marker mismatches (bug#8014).
767         (compilation-directory-properties, compilation-error-properties):
768         Don't call it at a position past the one we're about to change.
770         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
771         Disable obsolescence warnings in the file that declares it.
773 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
775         * allout-widgets.el (allout-widgets-tally): Initialize
776         allout-widgets-tally as a hash table rather than nil to prevent
777         mode-line redisplay warnings.
778         Also, clarify the module description and fix a comment typo.
780 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
782         * help-fns.el (describe-variable): Don't complete keywords.
783         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
785 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
787         * emacs-lisp/package.el (package-version-join): Impose a standard
788         string representation for pre/alpha/beta version lists.
789         (package-unpack-single): Standardize the directory name by passing
790         it through package-version-join.
791         (package-strip-rcs-id): Accept any version string that does not
792         signal an error in version-to-list.
794 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
796         * simple.el (delete-trailing-whitespace): Return nil for the
797         benefit of `write-file-functions'.
799 2011-03-10  Glenn Morris  <rgm@gnu.org>
801         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
803         * vc/vc-git.el (vc-git-program): New option.
804         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
805         (vc-git--call): Use it.
807         * eshell/esh-util.el (eshell-condition-case): Doc fix.
809         * cus-edit.el (Custom-newline): If no button at point, look
810         for a subgroup button at start-of-line.  (Bug#2298)
812         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
814 2011-03-10  Julien Danjou  <julien@danjou.info>
816         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
817         `cursor-type' is nil.
819 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
821         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
823 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
825         * allout.el Summary: Change so yank of distinctive-bullet items
826         preserves the existing header prefix, rebulleting it if necessary,
827         rather than replacing it.  This is necessary for proper operation
828         of cooperative addons like allout-widgets.
829         (allout-make-topic-prefix, allout-rebullet-heading): Change
830         SOLICIT arg to INSTEAD, and interpret additionally a string value
831         as alternate bullet to be used, instead of prompting the user for
832         a bullet character.
834 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
836         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
837         Do not use `tramp-file-name-port', because this returns also
838         `tramp-default-port'.
840 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
842         * net/rcirc.el (rcirc-handler-001): Remove useless
843         with-rcirc-process-buffer.
844         (rcirc-check-auth-status): Swap arguments to string-match.
846 2011-03-09  Glenn Morris  <rgm@gnu.org>
848         * shell.el (shell-mode):
849         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
851         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
852         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
854 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
856         * emacs-lisp/package.el (package-refresh-contents)
857         (package-menu-execute): Use condition-case-no-debug.
859 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
861         * simple.el (shell-command-to-string): Use `process-file'.
863         * emacs-lisp/package.el (package-tar-file-info): Handle also
864         remote files.
866         * emacs-lisp/package-x.el (package-upload-buffer-internal):
867         Use `equal' for upload base check.
869 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
871         * textmodes/texinfo.el (texinfo-environments):
872         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
874 2011-03-08  Glenn Morris  <rgm@gnu.org>
876         * cus-start.el (cursor-in-non-selected-windows):
877         Fix :set quoting oddness.  (Bug#8192)
879         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
880         in some setf expressions.  (Bug#2159)
882 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
884         * custom.el (custom-available-themes): Return themes in
885         alphabetical order.
887 2011-03-07  Chong Yidong  <cyd@stupidchicken.com>
889         * progmodes/cc-cmds.el (c-beginning-of-statement): Fix incorrect
890         application of patch from Alan Mackenzie (Bug#7595).
892 2011-03-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
894         * net/rcirc.el (rcirc-connect): Fix PASS bug.
896 2011-03-07  Glenn Morris  <rgm@gnu.org>
898         * vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt.
899         Give an explicit error if failed to make writable.  (Bug#6146)
901 2011-03-07  Ed Reingold  <reingold@emr.cs.iit.edu>
903         * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
904         Add optional `after-sunset' argument.  (Bug#8190)
906 2011-03-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
908         * play/morse.el (nato-alphabet, nato-region, denato-region):
909         New variable and functions.  (Bug#2288)
910         (morse-region, unmorse-region): Barf if read-only.
912 2011-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
914         * progmodes/gud.el (gdb-script-syntax-propertize-function):
915         Don't change the syntax of a \n that closes a comment (bug#8169).
917 2011-03-06  Chong Yidong  <cyd@stupidchicken.com>
919         * emacs-lisp/package-x.el (package-archive-upload-base): Make it a
920         defcustom.
921         (package--update-file): Doc fix.  Accept relative file names.
922         (package--archive-contents-from-file): Remove the argument, since
923         it's necessarily always "archive-contents".
924         (package-maint-add-news-item): Pass relative file name args to
925         package--update-file.
926         (package-upload-buffer-internal): Prompt for a destination if
927         package-archive-upload-base is invalid.  Create the directory if
928         it does not exist.
929         (package-upload-buffer, package-upload-file): Doc fix.
931 2011-03-06  Chong Yidong  <cyd@stupidchicken.com>
933         * isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill,
934         and move isearch-yank-line to M-s C-e (Bug#8183).
936 2011-03-06  Alan Mackenzie  <acm@muc.de>
938         * progmodes/cc-engine.el (c-guess-basic-syntax): Reindent.
939         (c-guess-basic-syntax): Move CASE 19 to a different place,
940         correctly to process template-args-cont lines.
942 2011-03-06  Jay Belanger  <jay.p.belanger@gmail.com>
944         * calc/calc-ext.el (calc-init-extensions):
945         Rename calc-logunits-dblevel and calc-logunits-nplevel to calc-dblevel
946         and calc-nplevel, respectively.  Add keybindings for calc-spn,
947         calc-midi and calc-freq.  Add autoloads for calcFunc-spn,
948         calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.
950         * calc/calc-units.el (calc-dblevel): Rename from
951         calc-logunits-dblevel.
952         (calc-nplevel): Rename from calc-logunits-nplevel.
953         (math-midi-round, math-freqp, math-midip, math-spnp)
954         (math-spn-to-midi, math-midi-to-spn, math-freq-to-spn)
955         (math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi)
956         (calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions.
957         (math-notes): New variable.
959         * calc/calc.el (calc-note-threshold): New variable.
961 2011-03-06  Chong Yidong  <cyd@stupidchicken.com>
963         * emacs-lisp/package.el (package-archives): Accept either ordinary
964         directory names, in addition to HTTP URLs.
965         (package--with-work-buffer): New macro.   Handle normal directories.
966         (package-handle-response): Don't display the failing buffer.
967         (package-download-single, package-download-tar)
968         (package--download-one-archive): Use package--with-work-buffer.
969         (package-archive-base): Rename from package-archive-url.
971 2011-03-06  Glenn Morris  <rgm@gnu.org>
973         * generic-x.el (generic-unix-modes): Add xmodmap-generic-mode.
974         (xmodmap-generic-mode): Respect generic-extras-enable-list.
976 2011-03-06  Daniel Clemente  <dcl441-bugs@yahoo.com>  (tiny change)
978         * generic-x.el (xmodmap-generic-mode): New.  (Bug#2065)
980 2011-03-06  Juanma Barranquero  <lekktu@gmail.com>
982         * allout.el (allout-init, allout-prefixed-keybindings)
983         (allout-unprefixed-keybindings):
984         * progmodes/prolog.el (prolog-find-term):
985         Fix typos in docstrings.
987 2011-03-06  Nikolaj Schumacher  <me@nschum.de>  (tiny change)
989         * emacs-lisp/elp.el (elp-results): Fix off-by-one in header.  (Bug#2746)
991 2011-03-06  Kevin Ryde  <user42@zip.com.au>
993         * textmodes/sgml-mode.el (sgml-fill-nobreak): Give it a doc.  (Bug#5326)
995 2011-03-06  Michael Shields  <shields@msrl.com>  (tiny change)
997         * window.el (one-window-p, walk-windows, display-buffer):
998         Doc fixes.  (Bug#5567)
1000 2011-03-06  Jay Belanger  <jay.p.belanger@gmail.com>
1002         * cus-edit.el (custom-prompt-variable): Use the `custom-get' property
1003         of the variable if it exists.
1005 2011-03-06  Juanma Barranquero  <lekktu@gmail.com>
1007         * bookmark.el:
1008         * desktop.el:
1009         * emacs-lock.el:
1010         * ps-print.el:
1011         * saveplace.el:
1012         * net/tramp-cache.el:
1013         * obsolete/fast-lock.el:
1014         * textmodes/reftex.el:
1015         Don't set `kill-emacs-hook' on noninteractive sessions (bug#8137).
1017 2011-03-05  Antoine Levitt  <antoine.levitt@gmail.com>
1019         * files.el (delete-directory, copy-directory, list-directory):
1020         Use read-directory-name.
1022         * find-file.el (ff-find-the-other-file):
1023         * net/ange-ftp.el (ange-ftp-make-directory):
1024         * printing.el (pr-interactive-dir):
1025         * progmodes/ada-prj.el (ada-prj-load-directory):
1026         * progmodes/ebnf2ps.el (ebnf-print-directory)
1027         (ebnf-spool-directory, ebnf-eps-directory)
1028         (ebnf-syntax-directory):
1029         * shell.el (shell):
1030         * speedbar.el (speedbar-create-directory):
1031         * vc/emerge.el (emerge-merge-directories):
1032         * vc/vc-dir.el (vc-dir):
1033         * vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
1035 2011-03-05  Chong Yidong  <cyd@stupidchicken.com>
1037         * help-mode.el (help-buffer): If we are to return the current
1038         buffer, signal an error if it's not in Help mode (Bug#8147).
1040 2011-03-05  Reuben Thomas  <rrt@sc3d.org>
1042         * files.el (file-name-version-regexp): Handle backup files of the
1043         form `foo.js.~HEAD~1~' (Bug#8159).
1045 2011-03-05  Glenn Morris  <rgm@gnu.org>
1047         * eshell/esh-var.el: Don't require esh-test when compiling.
1048         * eshell/em-banner.el, eshell/esh-cmd.el, eshell/esh-mode.el:
1049         * eshell/esh-var.el, eshell/eshell.el: Move tests to esh-test.
1050         * eshell/esh-test.el: Move to ../../test/eshell.el.
1052 2011-03-05  David Engster  <deng@randomsample.de>
1054         * files.el (save-some-buffers): Report the names of buffers saved
1055         automatically due to buffer-save-without-query (Bug#8134).
1057 2011-03-05  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1059         * net/rcirc.el: Add QuakeNet authentication support.
1060         (rcirc-authinfo, rcirc-check-auth-status)
1061         (rcirc-authenticate): Support QuakeNet.
1063 2011-03-05  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1065         * net/rcirc.el: Add functionality to authenticate before
1066         autojoining channels.
1067         (rcirc-authenticate-before-join): New option.
1068         (rcirc-authenticated-hook): New variable.
1069         (rcirc-connect): Make local variable rcirc-user-authenticated.
1070         (rcirc-handler-001): Respect rcirc-authenticate-before-join.
1071         (rcirc-check-auth-status, rcirc-join-channels-post-auth):
1072         New functions.
1073         (rcirc-handler-PRIVMSG, rcirc-handler-NOTICE):
1074         Call rcirc-check-auth-status.
1076 2011-03-05  Alex Harsanyi  <AlexHarsanyi@gmail.com>
1078         * net/soap-client.el (soap-namespace-put-link): Check if the target
1079         name is fully qualified -- use only the name part.
1080         (soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
1081         types, treated the same as xsd:sequence.  (Bug#8166)
1083 2011-03-05  Eli Zaretskii  <eliz@gnu.org>
1085         * files.el (find-file-noselect): Don't ask about re-visiting
1086         non-literally if the file is already visited in image-mode.
1087         (Bug#8177)
1089 2011-03-05  Glenn Morris  <rgm@gnu.org>
1091         * eshell/esh-mode.el (eshell-kill-buffer-function): New function.
1092         (eshell-mode): Use eshell-kill-buffer-function.
1093         Run the -initialize functions independently of the -load-hooks.
1094         * eshell/esh-proc.el (eshell-kill-process-function): New function.
1095         (eshell-gather-process-output, eshell-sentinel)
1096         (eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
1097         Use eshell-kill-process-function.
1098         * eshell/em-alias.el (eshell-alias-load-hook):
1099         * eshell/em-banner.el (eshell-banner-load-hook):
1100         * eshell/em-cmpl.el (eshell-cmpl-load-hook):
1101         * eshell/em-dirs.el (eshell-dirs-load-hook):
1102         * eshell/em-glob.el (eshell-glob-load-hook):
1103         * eshell/em-hist.el (eshell-hist-load-hook):
1104         * eshell/em-pred.el (eshell-pred-load-hook):
1105         * eshell/em-prompt.el (eshell-prompt-load-hook):
1106         * eshell/em-rebind.el (eshell-rebind-load-hook):
1107         * eshell/em-script.el (eshell-script-load-hook):
1108         * eshell/em-smart.el (eshell-smart-load-hook):
1109         * eshell/em-term.el (eshell-term-load-hook):
1110         * eshell/em-unix.el (eshell-unix-load-hook):
1111         * eshell/esh-arg.el (eshell-arg-load-hook):
1112         * eshell/esh-cmd.el (eshell-cmd-load-hook):
1113         * eshell/esh-ext.el (eshell-ext-load-hook):
1114         * eshell/esh-io.el (eshell-io-load-hook):
1115         * eshell/esh-mode.el (eshell-exit-hook):
1116         * eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
1117         * eshell/esh-var.el (eshell-var-load-hook):
1118         Set default hook values to nil.  (Bug#5375)
1120         * eshell/esh-module.el (eshell-module-unload-hook)
1121         (eshell-modules-list): Remove leading * from defcustom docs.
1123         * eshell/esh-util.el (eshell-for): Make it obsolete.
1124         * eshell/em-alias.el (eshell/alias, eshell-alias-completions):
1125         * eshell/em-dirs.el (eshell-save-some-last-dir):
1126         * eshell/em-hist.el (eshell-save-some-history)
1127         (eshell-hist-parse-modifier):
1128         * eshell/em-ls.el (eshell-ls-dir, eshell-ls-files)
1129         (eshell-ls-entries):
1130         * eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
1131         * eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval)
1132         (eshell/which):
1133         * eshell/esh-ext.el (eshell-find-interpreter):
1134         * eshell/esh-mode.el (eshell-mode):
1135         * eshell/esh-module.el (eshell-unload-extension-modules):
1136         * eshell/esh-proc.el (eshell-process-interact):
1137         * eshell/esh-test.el (eshell-test):
1138         * eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
1139         * eshell/esh-var.el (eshell/env, eshell-environment-variables)
1140         (eshell-variables-list):
1141         * eshell/eshell.el (eshell-unload-all-modules):
1142         Replace eshell-for with dolist.
1144 2011-03-04  Glenn Morris  <rgm@gnu.org>
1146         * vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0.  (Bug#8170)
1148 2011-03-04  Tom Tromey  <tromey@redhat.com>
1150         * progmodes/gud.el (gdb-script-mode): Derive from prog-mode.
1152 2011-03-04  Glenn Morris  <rgm@gnu.org>
1154         * outline.el (outline-regexp): No longer allow nil.
1155         (outline-heading-end-regexp): Add safety predicate.  (Bug#7619)
1157         * net/browse-url.el (browse-url):
1158         Handle deleted default-directory.  (Bug#6077)
1160         * recentf.el (recentf-include-p): In case of a buggy predicate,
1161         err on the side of including, not excluding.  (Bug#5843)
1163 2011-03-04  Jay Belanger  <jay.p.belanger@gmail.com>
1165         * calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
1166         variables as units.
1168 2011-03-04  Bob Rogers  <rogers@rgrjr.dyndns.org>
1170         * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
1171         if there is no node.  (Bug#3261)
1173 2011-03-04  Leo  <sdl.web@gmail.com>
1175         * vc/diff-mode.el (diff-mode): Fix whitespace-style.  (Bug#8139)
1177         * time.el (display-time-world-list): Fix typo.  (Bug#7571)
1179 2011-03-04  Zachary Kanfer  <zkanfer@gmail.com>  (tiny change)
1181         * cus-edit.el (custom-buffer-create-internal):
1182         Split search string before passing it to `customize-apropos' (bug#8136).
1184 2011-03-04  Drew Adams  <drew.adams@oracle.com>
1186         * image-dired.el (image-dired-cmd-read-exif-data-options):
1187         Fix typo in docstring (bug#8156).
1189 2011-03-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1191         * net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
1193 2011-03-03  Christian Ohler  <ohler@gnu.org>
1195         * emacs-lisp/ert.el (ert--explain-equal): New function.
1196         (ert--explain-equal-rec): Rename from `ert--explain-not-equal'.
1197         All callers changed.
1198         (ert--explain-equal-including-properties): Rename from
1199         `ert--explain-not-equal-including-properties'.  All callers
1200         changed.
1202 2011-03-03  Christian Ohler  <ohler@gnu.org>
1204         * emacs-lisp/ert.el (ert--stats-set-test-and-result)
1205         (ert-char-for-test-result, ert-string-for-test-result)
1206         (ert-run-tests-batch, ert--print-test-for-ewoc):
1207         Handle `ert-test-quit'.
1209 2011-03-03  David Abrahams  <dave@boostpro.com>  (tiny change)
1211         * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1212         Move ediff-defvar-local calls after defcustoms.  (Bug#1821)
1214 2011-03-03  Glenn Morris  <rgm@gnu.org>
1216         * files.el (file-truename): Doc fix.  (Bug#2341)
1218 2011-03-03  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
1220         * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e (Bug#7349).
1222 2011-03-03  Vagn Johansen  <gonz808@hotmail.com>  (tiny change)
1224         * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
1225         programs output backslashes.  (Bug#7663)
1227 2011-03-03  Glenn Morris  <rgm@gnu.org>
1229         * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
1230         (mail-mode): Remove mail-sent-via from the doc.
1231         (mail-sent-via): Make it obsolete.  (Bug#1776)
1233         * progmodes/grep.el (grep-highlight-matches): Doc fix.
1234         (grep-process-setup): No highlighting without font-lock.  (Bug#8084)
1236         * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
1237         with no parents.  (Bug#8025)
1239 2011-03-02  Teodor Zlatanov  <tzz@lifelogs.com>
1241         * password-cache.el (password-in-cache-p): Add autoload.
1243 2011-03-02  Glenn Morris  <rgm@gnu.org>
1245         * man.el (Man-support-local-filenames): Also handle Red Hat's man.
1246         * dired-x.el (Man-support-local-filenames): Autoload it.
1247         (dired-guess-shell-alist-default): Also handle Red Hat's man.
1249         * dired-x.el (dired-default-directory-alist, dired-default-directory):
1250         Mark as obsolete.
1251         (dired-smart-shell-command): Just call dired-current-directory.
1253         * dired-x.el (dired-jump-other-window): Add autoload.
1254         (dired-default-directory-alist, dired-default-directory): Doc fixes.
1255         (dired-default-directory-alist): Mark as risky.
1257         * dired-x.el (dired-omit-here-always): Make it obsolete.
1259 2011-03-02  Chong Yidong  <cyd@stupidchicken.com>
1261         * textmodes/artist.el (artist-curr-go): Default to pen-line.
1262         (artist-select-op-pen-line): New function.
1263         (artist-menu-map): New variable.
1264         (artist-mode-map): Add a menu to the menu-bar.
1266 2011-03-02  Jay Belanger  <jay.p.belanger@gmail.com>
1268         * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
1269         when evaluating.
1271         * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
1272         New function.
1273         (math-logunits-add, math-logunits-mul, math-logunits-divide):
1274         (math-logunits-quant, math-logunits-level):
1275         Use `math-conditional-apply' and `math-conditional-pow' to evaluate
1276         functions.
1277         (math-logunits-level): Extract units from ratio.
1279 2011-03-01  Juanma Barranquero  <lekktu@gmail.com>
1281         * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
1283 2011-03-01  Glenn Morris  <rgm@gnu.org>
1285         * calendar/cal-hebrew.el (calendar-hebrew-birthday)
1286         (diary-hebrew-birthday): Rename and rework functions added
1287         in previous change.
1289 2011-03-01  Ed Reingold  <reingold@emr.cs.iit.edu>
1291         * calendar/cal-hebrew.el (hebrew-calendar-birthday)
1292         (diary-hebrew-birthday): New functions.
1294 2011-03-01  Glenn Morris  <rgm@gnu.org>
1296         * dired.el (dired-safe-switches-p): Beef it up.
1297         (dired-actual-switches): Use it for the safe-local prop.  (Bug#3230)
1299 2011-03-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1301         * dired.el (dired-safe-switches-p): New function.
1303 2011-03-01  Glenn Morris  <rgm@gnu.org>
1305         * files.el (dir-locals-collect-variables):
1306         Add the ability to exclude subdirectories.  (Bug#8100)
1308         * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
1310 2011-02-28  Christoph Scholtes  <cschol2112@googlemail.com>
1312         * ido.el (ido-everywhere): Doc fix.
1313         (ido-mode): Doc fix.
1315 2011-02-28  Glenn Morris  <rgm@gnu.org>
1317         * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
1319 2011-02-28  Michael Albinus  <michael.albinus@gmx.de>
1321         * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
1322         shadows.
1324 2011-02-28  Antoine Levitt  <antoine.levitt@gmail.com>
1326         * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
1328 2011-02-28  Juanma Barranquero  <lekktu@gmail.com>
1330         * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
1331         Fix typos in docstrings.
1333 2011-02-28  Stephen Berman  <stephen.berman@gmx.net>
1335         * dired-aux.el (dired-update-file-line):
1336         Fix 2010-11-09 change.  (Bug#8131)
1338 2011-02-28  Eli Zaretskii  <eliz@gnu.org>
1340         * international/mule-cmds.el (set-default-coding-systems): Use the
1341         -unix variant of encoding in default-keyboard-coding-system.
1342         (Bug#8122)
1344 2011-02-27  Chong Yidong  <cyd@stupidchicken.com>
1346         * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
1348 2011-02-27  Prestoo Ten  <prestooten@gmail.com>  (tiny change)
1350         * term/screen.el: New file (Bug#2650).
1352 2011-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1354         * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
1355         (pcase-mutually-exclusive-predicates): New var.
1356         (pcase--split-consp, pcase--split-pred): Use it.
1357         (pcase--split-equal, pcase--split-member): When splitting against
1358         a pure predicate, run it to know the outcome.
1359         (pcase--u1): Mark vars that are actually used.
1360         (pcase--q1): Avoid introducing unused vars.
1362 2011-02-27  Jay Belanger  <jay.p.belanger@gmail.com>
1364         * calc/calc-ext.el (calc-init-extensions):
1365         Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
1367         * calc/calc-math.el (calcFunc-log10): Don't signal an error in
1368         symbolic mode.
1370         * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
1371         argument is a variable.
1373 2011-02-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1375         * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
1376         (aput, adelete, amake): Replace `eval' -> `symbol-value'.
1377         Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
1379 2011-02-25  Teodor Zlatanov  <tzz@lifelogs.com>
1381         * password-cache.el (password-in-cache-p): Convenience function to
1382         check if a key is in the cache, even if the value is nil.
1384 2011-02-25  Jambunathan K  <kjambunathan@gmail.com>
1386         * emacs-lisp/package-x.el (package--archive-contents-from-url)
1387         (package--archive-contents-from-file): New functions.
1388         (package-update-news-on-upload): New var.
1389         (package-upload-buffer-internal): Extract archive-contents from
1390         package-archive-upload-base if it is not found at archive-url.
1391         Obey package-update-news-on-upload.
1392         (package-upload-buffer, package-upload-file): Doc fix.
1394 2011-02-24  Glenn Morris  <rgm@gnu.org>
1396         * files-x.el (modify-dir-local-variable): Handle dir-locals from
1397         the cache, and from non-file sources.
1399         * help-fns.el (describe-variable): Return consistent results when a
1400         dir-local from a file came from the cache or did not.  (Bug#8095)
1401         If a dir-local has no associated file, say it came from a "directory".
1403         * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
1404         (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
1406         * files.el (dir-locals-find-file): Doc fix.
1407         Fix the check for cache elements that have no associated file,
1408         and the mtime check for those that do.  (Bug#8095)
1410         * dired-x.el (dired-hack-local-variables):
1411         Handle interrupts during hacking local variables.  (Bug#5216)
1413         * emacs-lisp/autoload.el (autoload-save-buffers)
1414         (autoload-find-destination, update-directory-autoloads):
1415         Avoid prompts when updating autoloads.
1417 2011-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1419         * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
1421 2011-02-23  Kenichi Handa  <handa@m17n.org>
1423         * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
1424         error when a multipart boundary in the nested multipart is found.
1426         * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
1427         header components.
1429 2011-02-23  Glenn Morris  <rgm@gnu.org>
1431         * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
1432         * dired-x.el (dired-omit-mode): Safe if boolean.
1433         (dired-enable-local-variables): Fix doc and custom type.
1434         (dired-enable-local-variables, dired-local-variables-file)
1435         (dired-hack-local-variables): Make obsolete.
1436         (dired-omit-here-always): Use dir-locals.el instead.
1438         * files.el (safe-local-eval-forms): Add the write-file-hooks version.
1440 2011-02-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1442         * help-fns.el (describe-function-1): Don't signal an error just because
1443         the DOC file disappeared.
1445 2011-02-22  Seppo Sade  <sepposade1@gmail.com>  (tiny change)
1447         * eshell/esh-ext.el (eshell-external-command): Do not restrict
1448         remote check to "ftp".  (Bug#8089)
1450 2011-02-21  Alan Mackenzie  <acm@muc.de>
1452         Fix bug #7930.
1453         * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
1454         in macros finding their way into c-state-nonlit-pos-cache.
1455         Strengthen the comments.
1456         (c-state-dump): New commented out diagnostic routine.
1458 2011-02-21  Michael Albinus  <michael.albinus@gmx.de>
1460         * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
1461         `field' property of `rfn-eshadow-overlay'.
1463 2011-02-21  Lars Ingebrigtsen  <larsi@gnus.org>
1465         * net/netrc.el (netrc-parse): Comment fix.
1467 2011-02-21  Chong Yidong  <cyd@stupidchicken.com>
1469         * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
1470         Autoload.  Add optional arg FRAME, and pass it to color-values.
1471         (color-complement): Caller changed.  Doc fix.
1472         (color-gradient): Rewrite for better clarity and efficiency.
1474         * faces.el (color-values): Use cond for clarity.  Doc fix.
1476         * facemenu.el (color-rgb-to-hsv): Delete; use the version in
1477         color.el instead.
1478         (list-colors-sort-key, list-colors-print):
1479         Use color-normalized-values.
1481 2011-02-20  Drew Adams  <drew.adams@oracle.com>
1483         * color.el: First part of merge from hexrgb.el.
1484         (color-rgb-to-hex): Rename from color-rgb->hex.
1485         (color-rgb-to-hsv): Rename from color-rgb->hsv.  Force hue and
1486         saturation to zero if the value is too small.
1487         (color-rgb-to-hsl): Rename from color-rgb->hsl.
1488         (color-srgb-to-xyz): Rename from color-srgb->xyz.  Doc fix.
1489         (color-xyz-to-srgb): Rename from color-xyz->srgb.  Doc fix.
1490         (color-xyz-to-lab): Rename from color-xyz->lab.  Doc fix.
1491         (color-lab-to-xyz): Rename from color-lab->xyz.  Doc fix.
1492         (color-lab-to-srgb): Rename from color-lab->srgb.  Doc fix.
1493         (color-cie-de2000): Doc fix.
1495 2011-02-20  Alan Mackenzie  <acm@muc.de>
1497         * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
1498         locating the beginning of a macro.  (Bug#7595)
1500 2011-02-20  Glenn Morris  <rgm@gnu.org>
1502         * edmacro.el (edmacro-eight-bits): Make it a defcustom.
1503         Don't autoload it.
1505         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1506         (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
1508 2011-02-19  Dmitry Bolshakov  <dmitry.bolshakov@bridge-quest.com>
1509             Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
1511         * progmodes/hideshow.el (hs-find-block-beginning)
1512         (hs-hide-level-recursive): Ignore comments when parsing braces
1513         (Bug#8036).
1515 2011-02-19  Chong Yidong  <cyd@stupidchicken.com>
1517         * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
1518         (vc-bzr-pull): Use it.
1520 2011-02-19  Chong Yidong  <cyd@stupidchicken.com>
1522         * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
1523         (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
1524         but returning an alist.  Ignore comments in bzr conffile.
1525         (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
1526         (vc-bzr-error-regex-alist): New var.
1527         (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
1529         * vc/vc-dispatcher.el (vc-do-async-command):
1530         Bind inhibit-read-only to t.
1532         * progmodes/compile.el (compilation--flush-directory-cache):
1533         Handle the case where cdr of compilation--flush-directory-cache
1534         points to no buffer, which can occur if we previously switched to
1535         compilation-mode in a pregenerated buffer.
1537 2011-02-19  Kenichi Handa  <handa@m17n.org>
1539         * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
1540         get the header copy into the temporary buffer.
1541         (rmail-mime-insert-decoded-text): Ignore us-ascii.
1542         (rmail-show-mime): When rmail-mime-coding-system is nil, set
1543         buffer-file-coding-system to undecided.
1545 2011-02-19  Eli Zaretskii  <eliz@gnu.org>
1547         * international/mule-cmds.el (read-char-by-name, ucs-insert):
1548         Document completion with asterisk and a substring.
1550 2011-02-19  Glenn Morris  <rgm@gnu.org>
1552         * files.el (find-file-literally): Doc fix.
1554         * simple.el (rfc822-goto-eoh): Give it a doc-string.
1556         * log-edit.el (log-edit-insert-changelog):
1557         Fix `log-edit-strip-single-file-name' functionality.  (Bug#8057)
1559 2011-02-19  Glenn Morris  <rgm@gnu.org>
1561         * dired-x.el: Don't require dired-aux.
1562         (dired-do-create-files, dired-mark-read-regexp)
1563         (dired-do-create-files-regexp): Autoload from dired-aux.
1565         * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
1566         * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
1568         * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
1569         * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
1571         * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
1572         * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
1573         (dired-clean-up-buffers-too): Declare.
1575         * dired-x.el (dired-initial-position): Merge into dired.el's version.
1576         * dired.el (dired-initial-position): Merge dired-x's version here.
1577         (dired-find-subdir): Declare.
1579         * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
1580         * dired-aux.el (dired-add-entry): Give it a doc-string.
1581         Merge dired-x's dired-omit handling here.
1582         (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
1584         * international/mule-diag.el (list-input-methods-1):
1585         Indent all lines of multi-line doc-strings.  (Bug#8066)
1587 2011-02-18  Chong Yidong  <cyd@stupidchicken.com>
1589         Fix 2011-02-02 changes.
1591         * apropos.el (apropos-print): Call apropos-mode before setting up
1592         buffer variables.  Use inhibit-read-only.
1594         * emacs-lisp/package.el (package--list-packages):
1595         Call package-menu-mode before setting up buffer variables.
1597         * play/solitaire.el (solitaire): Call solitaire-mode before
1598         setting up buffer variables.  Use inhibit-read-only.
1600 2011-02-18  Lawrence Mitchell  <wence@gmx.li>
1602         * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
1603         Bind case-fold-search to nil when looking for end of here-doc.
1605 2011-02-18  Eli Zaretskii  <eliz@gnu.org>
1607         * image-mode.el (image-toggle-display-image):
1608         Set find-file-literally non-nil in buffers visiting binary image
1609         files.  (Bug#8047)
1611 2011-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1613         * files.el (cd): Make completion obey cd-path (bug#7924).
1615 2011-02-18  Glenn Morris  <rgm@gnu.org>
1617         * progmodes/prolog.el: Don't require compile when compiling.
1618         (compilation-shell-minor-mode, compilation-error-regexp-alist)
1619         (compilation-forget-errors, compilation-fake-loc)
1620         (compilation-parse-errors-function, compilation-error-list): Declare.
1621         (prolog-inferior-mode): Require 'compile.
1623         * emulation/cua-base.el (pc-selection-mode): Declare.
1625         * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
1626         (customize-object): Add autoload cookie.
1627         * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
1628         (eieio-browse, describe-class, eieio-describe-class)
1629         (eieio-describe-constructor, describe-generic, eieio-describe-generic)
1630         (eieio-help-mode-augmentation-maybee): Add autoload cookies.
1631         * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
1632         * Makefile.in (autoloads): Make eieio.el writable.
1634         * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
1635         (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
1636         (dired-hack-local-variables): Use inhibit-read-only.
1637         (dired-guess-default): Simplify.
1638         (dired-make-relative-symlink): Use dotimes.
1639         (dired-simultaneous-find-file): Use dolist.
1640         (dired-mark-sexp): Remove unneeded `if'.  Use line-end-position.
1641         (dired-x-hands-off-my-keys): Doc fix.
1642         (dired-x-bind-find-file): Doc fix.  Use remapping.
1643         (after-init-hook): No need to add dired-x-bind-find-file.
1644         (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
1645         No need to call expand-file-name.
1646         (dired-filename-at-point): Remove unused locals `end', `filename'.
1648 2011-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1650         * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
1652 2011-02-18  Christian Ohler  <ohler@gnu.org>
1654         * emacs-lisp/ert.el (ert--setup-results-buffer)
1655         (ert-results-pop-to-backtrace-for-test-at-point)
1656         (ert-results-pop-to-messages-for-test-at-point)
1657         (ert-results-pop-to-should-forms-for-test-at-point)
1658         (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
1659         were incorrect and unnecessary.  This should make `make check'
1660         pass again.
1662 2011-02-17  Ken Manheimer  <ken.manheimer@gmail.com>
1664         * lisp/allout-widgets.el (allout-widgets-icons-light-subdir)
1665         (allout-widgets-icons-dark-subdir): Track relocations of icons.
1666         * lisp/allout.el: Remove commentary about remove encryption
1667         passphrase mnemonic support and verification.
1668         (allout-encrypt-string): Recognize epg failure to decrypt gpg2
1669         armored text using gpg1, and indicate that the gpg version *might*
1670         be the problem in the error message.
1672 2011-02-17  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1674         * net/rcirc.el (rcirc-float-time): New function.
1675         (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
1676         (rcirc-ctcp-sender-PING): Use it.
1678 2011-02-17  Glenn Morris  <rgm@gnu.org>
1680         * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
1681         (speedbar-update-flag, speedbar-fetch-etags-command)
1682         (speedbar-fetch-etags-arguments):
1683         * term.el (term-buffer-maximum-size, term-input-chunk-size)
1684         (term-completion-autolist, term-completion-addsuffix)
1685         (term-completion-recexact, term-completion-fignore):
1686         * term/sup-mouse.el (sup-mouse-fast-select-window):
1687         * term/x-win.el (x-select-request-type):
1688         Convert some defvars with "*" to defcustoms.
1690         * shell.el (shell-delimiter-argument-list): Set it to nil.  (Bug#8027)
1692         * vc/vc.el (vc-default-previous-version):
1693         Remove alias that points nowhere.  (Bug#4496)
1695         * dired-x.el (dired-clean-up-after-deletion):
1696         kill-buffer does not need save-excursion.
1697         (dired-do-run-mail): Doc fix.
1698         (dired-filename-at-point): Doc fix.
1699         Use looking-at, and skip-chars rather than re search.
1701         * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
1703 2011-02-16  Ken Manheimer  <ken.manheimer@gmail.com>
1705         * allout-widgets.el: New allout extension that shows allout
1706         outline structure with graphical widgets.  'allout-widgets'
1707         customize group is an 'allout' subgroup, for easy discovery.
1709         * allout.el: Include PGP and GnuPG in Keywords, and other
1710         commentary refinements.
1711         (allout-abbreviate-flattened-numbering): Rename to
1712         allout-flattened-numbering-abbreviation, and
1713         define-obsolete-variable-alias the old name.
1714         (allout-flattened-numbering-abbreviation): Rename from
1715         allout-abbreviate-flattened-numbering.
1716         (allout-mode-p): Include among autoloads, for use by other modes
1717         with impunity.
1718         (allout-listify-exposed):
1719         Use allout-flattened-numbering-abbreviation.
1720         (allout-encrypt-string): Use set-buffer-multibyte directly.
1721         (allout-set-buffer-multibyte): Remove.
1723 2011-02-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1725         * simple.el (just-one-space): Remove useless `or' call.
1727 2011-02-16  Alex Harsanyi  <AlexHarsanyi@gmail.com>
1729         * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
1730         (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
1731         (soap-decoded-multi-refs, soap-current-wsdl)
1732         (soap-encoded-namespaces): Rename CL-style *...* variables.
1734 2011-02-16  Michael Albinus  <michael.albinus@gmx.de>
1736         * net/soap-client.el: Add "comm" and "hypermedia" to the
1737         keywords.  Reflow too long lines.
1739         * net/soap-inspect.el: Ditto.  Require 'cl.
1741 2011-02-16  Bastien Guerry  <bzg@altern.org>
1743         * play/doctor.el (doctor-mode): Bugfix: escape the "," character
1744         in a `doctor-type' argument.
1746 2011-02-16  Alex Harsanyi  <AlexHarsanyi@gmail.com>
1748         * net/soap-client.el:
1749         * net/soap-inspect.el: New files.
1751 2011-02-16  Leo  <sdl.web@gmail.com>
1753         * dired-x.el (dired-mode-map, dired-extra-startup):
1754         Remove dired-copy-filename-as-kill since it's already in dired.el.
1756 2011-02-16  Glenn Morris  <rgm@gnu.org>
1758         * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
1759         Doc fixes.  Add :set property, replacing top-level calls.
1760         (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
1761         (dired-guess-shell-gnutar): Test tar version rather than system-type.
1762         (dired-extra-startup, dired-man, dired-info): Doc fixes.
1763         (dired-clean-up-after-deletion): Use when and dolist.
1764         (dired-jump): Use unless and when.
1765         (dired-virtual): Use line-end-position.
1766         (dired-default-directory-alist): Rename from default-directory-alist.
1767         (dired-default-directory): Update for above name change.
1768         (dired-vm): Drop VM < 5 and simplify.
1769         (dired-buffer-more-recently-used-p): Rewrite.
1770         (dired-filename-at-point): Use when and or.
1771         (dired-x-read-filename-at-point): Rename from read-filename-at-point.
1772         Update callers.
1774 2011-02-15  Glenn Morris  <rgm@gnu.org>
1776         * dired-x.el: Use easymenu for menu items.  Fix item capitalization.
1778 2011-02-14  Chong Yidong  <cyd@stupidchicken.com>
1780         * vc/vc-git.el (vc-git-root-log-format): New option for
1781         customizing log format.
1782         (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
1783         (vc-git-log-view-mode): Use it.
1784         (vc-git-expanded-log-entry): New function.
1785         (vc-git-log-view-mode): Use it.  Truncate lines in root log.
1787         * vc/vc-hg.el (vc-hg-root-log-template): New option for
1788         customizing log format.
1789         (vc-hg-print-log): Use it.
1790         (vc-hg-expanded-log-entry): New function.
1791         (vc-hg-log-view-mode): Use vc-hg-root-log-template and
1792         vc-hg-expanded-log-entry.  Truncate lines in root log.
1794         * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
1796         * vc/log-view.el (log-view-mode-menu):
1797         Add log-view-toggle-entry-display.
1799 2011-02-14  Glenn Morris  <rgm@gnu.org>
1801         * dired-x.el: Don't require man when compiling.
1802         (dired-omit-extensions, dired-local-variables-file)
1803         (dired-x-hands-off-my-keys): Make them defcustoms.
1804         (Man-support-local-filenames, Man-getpage-in-background): Declare.
1805         (vm-visit-folder): Declare rather than defining.
1806         (dired-x-help-address, dired-x-variable-list): Remove.
1807         (dired-x-submit-report): Make it an obsolete alias.
1809 2011-02-14  Juanma Barranquero  <lekktu@gmail.com>
1811         * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
1813 2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
1815         * net/imap.el: Bring it back.
1817 2011-02-13  Alan Mackenzie  <acm@muc.de>
1819         * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
1820         narrow-to-region call that cuts context off the end (Bug#7722).
1822         * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
1823         Refactor nested if-forms with a simple cond.
1824         (c-forward-<>-arglist): Revert 2011-01-31 change.
1826 2011-02-13  Chong Yidong  <cyd@stupidchicken.com>
1828         * vc/log-view.el: New command log-view-toggle-entry-display for
1829         toggling log entries between concise and detailed forms.
1830         (log-view-toggle-entry-display): New command.
1831         (log-view-mode-map): Bind RET to it.
1832         (log-view-expanded-log-entry-function): New variable.
1833         (log-view-current-entry, log-view-inside-comment-p)
1834         (log-view-current-tag): New functions.
1835         (log-view-toggle-mark-entry): Use log-view-current-entry and
1836         log-view-end-of-defun instead of searching directly with
1837         log-view-message-re.
1838         (log-view-end-of-defun): Likewise.  Add optional ARG for
1839         compatibility with end-of-defun.
1840         (log-view-end-of-defun): Ignore comments and VC buttons.
1842         * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
1843         (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
1845 2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
1847         * net/imap.el: Remove file.  All the functionality is in nnimap.el.
1849         * net/imap-hash.el: Remove file.
1851 2011-02-13  Michael Albinus  <michael.albinus@gmx.de>
1853         * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
1855         * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
1856         call.
1858         * net/tramp-imap.el: Remove file.
1860 2011-02-13  Chong Yidong  <cyd@stupidchicken.com>
1862         * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
1863         widget library for buttons, just use button.el.
1865         * vc/log-view.el (log-view-mode-map): Don't inherit from
1866         widget-keymap.
1868 2011-02-12  Glenn Morris  <rgm@gnu.org>
1870         * emacs-lisp/cl-seq.el (union, nunion, intersection)
1871         (nintersection, set-difference, nset-difference)
1872         (set-exclusive-or, nset-exclusive-or): Doc fix.
1874         * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
1876         * faces.el (face-attr-match-p): Handle the obsolete :bold and
1877         :italic props, so that frame-set-background-mode works.  (Bug#7966)
1879         * simple.el (next-error): Doc fix.
1881 2011-02-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1883         * dired-aux.el (dired-create-files): Adapt destination name to
1884         match the new behavior of copy-directory.
1886 2011-02-12  Chong Yidong  <cyd@stupidchicken.com>
1888         * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
1889         from rmail-dont-reply-to-names.  Callers changed.
1890         (mail-dont-reply-to): Rename from mail-dont-reply-to.
1891         (rmail-dont-reply-to): Make it an obsolete alias.
1893         * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
1894         nil, and make obsolete (Bug#7888).
1895         (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
1897         * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
1899         * mail/rmailsort.el (rmail-sort-by-correspondent)
1900         (rmail-select-correspondent): Doc fix.  Use mail-dont-reply-to.
1902         * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
1904 2011-02-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1906         * files.el (copy-directory): New argument COPY-CONTENTS for
1907         copying directory contents into another existing directory.
1909 2011-02-12  Tassilo Horn  <tassilo@member.fsf.org>
1911         * minibuffer.el (completion-table-case-fold): New function for
1912         creating a case-insensitive completion table.
1914 2011-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
1916         * net/tramp.el (tramp-default-method): Also check if
1917         `auth-source-search' is bound.
1918         (tramp-read-passwd): Use `auth-source-search' instead of
1919         `auto-source-user-or-password'.
1921         * net/tramp-imap.el: Autoload `auto-source-search' instead of
1922         `auto-source-user-or-password.
1923         (tramp-imap-passphrase-callback-function): Use it.
1925         * net/imap-hash.el: Autoload `auto-source-search' instead of
1926         `auto-source-user-or-password.
1927         (imap-hash-open-connection): Use it.
1929         * mail/smtpmail.el: Autoload `auto-source-search' instead of
1930         `auto-source-user-or-password.
1931         (smtpmail-try-auth-methods): Use it.
1933 2011-02-12  Phil Hagelberg  <phil@hagelb.org>
1935         * emacs-lisp/package.el: Allow packages to be reinstalled.
1936         (package--write-file-no-coding): Remove EXCL arg.
1937         (package-unpack-single): Don't use it.
1939 2011-02-12  Karl Pflästerer  <k@rl.pflaesterer.de>  (tiny change)
1941         * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
1942         in each sub directory.
1943         (vc-svn-registered): Use vc-svn-root.
1944         (vc-svn-root): New function.  Make vc-svn-responsible-p an alias.
1945         (vc-svn-repository-hostname): Use "svn info".
1947 2011-02-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1949         * simple.el (delete-trailing-whitespace): New optional buffer
1950         bound parameters.
1952 2011-02-11  Bastien Guerry  <bzg@altern.org>
1954         * files.el (basic-save-buffer): save unmodified buffers when
1955         the file pointed by buffer-file-name doesn't exist.
1957 2011-02-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1959         * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
1961 2011-02-11  Glenn Morris  <rgm@gnu.org>
1963         * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
1965 2011-02-11  Juanma Barranquero  <lekktu@gmail.com>
1967         * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
1969 2011-02-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1971         * server.el (server-process-filter): Use pcase.
1973         * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
1974         conflicting ways.
1975         (smie-indent--parent): Extend to "parent of arg".
1976         (smie-indent-inside-string): New function.
1977         (smie-indent-functions): Use it.
1979         * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
1980         bzr locking race condition.
1982         * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
1983         still valid before using it.
1985         * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
1986         `message' -> `compilation-message' rename (bug#8004).
1988         Move keymap initialization into declaration.
1989         * textmodes/enriched.el (enriched-mode-map):
1990         * textmodes/bib-mode.el (bib-mode-map):
1991         * term/lk201.el (lk201-function-map):
1992         * tar-mode.el (tar-mode-map):
1993         * replace.el (occur-mode-map):
1994         * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
1995         * progmodes/idlw-help.el (idlwave-help-mode-map):
1996         * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
1997         * play/solitaire.el (solitaire-mode-map):
1998         * play/snake.el (snake-mode-map, snake-null-map):
1999         * play/pong.el (pong-mode-map):
2000         * play/handwrite.el (menu-bar-handwrite-map):
2001         * play/gametree.el (gametree-mode-map):
2002         * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
2003         (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
2004         * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
2005         (newsticker--url-keymap):
2006         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
2007         * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
2008         (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
2009         (menu-bar-edit-menu, menu-bar-custom-menu)
2010         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
2011         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
2012         (menu-bar-line-wrapping-menu, menu-bar-options-menu)
2013         (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
2014         (menu-bar-tools-menu, menu-bar-describe-menu)
2015         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
2016         (menu-bar-help-menu):
2017         * mail/rmailsum.el (rmail-summary-mode-map):
2018         * kmacro.el (kmacro-step-edit-map):
2019         * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
2020         (ibuffer-mode-operate-map):
2021         * hi-lock.el (hi-lock-menu, hi-lock-map):
2022         * emulation/vip.el (vip-mode-map):
2023         * emacs-lisp/re-builder.el (reb-lisp-mode-map):
2024         * bookmark.el (bookmark-bmenu-mode-map):
2025         * help-mode.el (help-mode-map): Move initialization into declaration.
2027 2011-02-10  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
2029         * net/rcirc.el: Add PRIVMSG and CTCP functions.
2030         (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
2031         (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
2032         (rcirc-cmd-me, rcirc-authenticate): Use them.
2034 2011-02-10  Ken Manheimer  <ken.manheimer@gmail.com>
2036         * allout.el: Synopsis: Change allout user configuration so
2037         auto-activation is controlled solely by customization
2038         `allout-auto-activation'.
2040         (allout-auto-activation-helper, allout-setup): New autoloads
2041         implement new custom set procedure for allout-auto-activation.
2042         Also, explicitly invoke (allout-setup) after allout-auto-activation
2043         is custom-defined, to affect the settings in emacs sessions besides
2044         the few where allout-auto-activation customization is done.
2045         (allout-auto-activation): Use allout-auto-activation-helper to
2046         :set.  Revise the docstring.
2047         (allout-init): Reduce functionality to just customizing
2048         allout-auto-activation, and mark obsolete.
2049         (allout-mode): Respect string values for allout-auto-activation.
2050         Run allout-after-copy-or-kill-hook without any args.
2051         (allout-mode, allout-layout, allout-default-layout)
2052         (outlineify-sticky): Adjust docstring for new scheme.
2053         (allout-after-copy-or-kill-hook): No arguments - hook implementers
2054         should concentrate on the kill ring.
2056 2011-02-09  Teodor Zlatanov  <tzz@lifelogs.com>
2058         * password-cache.el (password-cache-remove): Accept secrets that are
2059         not strings.
2061 2011-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2063         * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
2064         of here-doc that immediately follows a comment.
2066 2011-02-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
2068         * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
2070         * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
2071         available.
2072         (rcirc-ctcp-sender-PING): New function.
2074 2011-02-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2076         * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
2077         Remove the mark/nomark handling, and activate shift-select-mode instead.
2079         * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
2081 2011-02-07  Jay Belanger  <jay.p.belanger@gmail.com>
2083         * calc/calc-units.el (math-logunits-quant): Add support for
2084         non-logarithmic units.
2086 2011-02-07  Ken Manheimer  <ken.manheimer@gmail.com>
2088         * allout.el (allout-after-copy-or-kill-hook): New hook for
2089         extension-specific processing of killed text.
2090         (allout-mode): Include new allout-after-copy-or-kill-hook among
2091         mentioned hooks.
2092         (allout-kill-line, allout-kill-topic): Ensure that processing
2093         after kill happens even if barf-if-buffer-read-only is raised.
2094         Include new allout-after-copy-or-kill-hook among that subsequent
2095         processing.
2096         (allout-deannotate-hidden): Actually remove the annotation text
2097         properties.
2099         * allout.el (allout-listify-exposed): Copy text sans text properties.
2101 2011-02-07  Michael Albinus  <michael.albinus@gmx.de>
2103         * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
2105 2011-02-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
2107         * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
2109 2011-02-06  Jay Belanger  <jay.p.belanger@gmail.com>
2111         * calc/calc.el (calc-logunits-field-reference): Rename from
2112         `calc-default-field-reference-level'.
2113         (calc-logunits-power-reference): Rename from
2114         `calc-default-power-reference-level'.
2116         * calc/calc-units.el (math-logunits-quant): Rename from
2117         `math-logunits-level'
2118         (math-logunits-plus): Rename from math-logcombine.
2119         (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
2120         (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
2121         (calcFunc-lufieldsub, calc-logunits-add, calc-logunits-sub):
2122         New functions.
2123         (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
2124         (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
2125         (calc-logunits-quantity): Rename from `calc-level'.
2126         (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
2127         (calcFunc-nppowerlevel, calc-logunits-dblevel, calc-logunits-nplevel)
2128         (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
2129         (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
2130         (calcFunc-lupowerdiv, calc-logunits-divide, math-logunits-level):
2131         New functions.
2133         * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
2134         (calc-ul-prefix-help): Remove.
2135         (calc-l-prefix-help): New function.
2136         (calc-full-help): Add reference to `calc-l-prefix-help'.
2138         * calc/calc-ext.el (calc-init-extensions): Update autoloads.
2140         * calc/README: Mention logarithmic units.
2142 2011-02-06  Chong Yidong  <cyd@stupidchicken.com>
2144         * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
2145         non-ASCII characters (Bug#7925).
2147 2011-02-05  Glenn Morris  <rgm@gnu.org>
2149         * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
2151         * calendar/diary-lib.el (diary-font-lock-keywords):
2152         Tweak diary-time-regexp match.  (Bug#7891)
2154         * progmodes/f90.el (f90-find-tag-default): New function.  (Bug#7919)
2155         (f90-mode): Use it for mode's `find-tag-default-function' property.
2157         * ibuf-ext.el (ibuffer-filter-disable): Make it work.  (Bug#7969)
2159         * faces.el (set-face-attribute): Doc fix.  (Bug#2659)
2161 2011-02-05  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
2163         * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
2164         (Bug#6386).
2166 2011-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2168         * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
2169         font-lock-syntax-table remappings.
2170         (sh-here-doc-markers, sh-here-doc-re): Remove.
2171         (sh-font-lock-close-heredoc): Remove.
2172         (sh-syntax-propertize-here-doc): New function.
2173         (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
2174         instead of the sh-here-doc-re.
2175         (sh-font-lock-paren): Don't do anything in comments or strings.
2176         Handle line continuations.  Accept a few more chars.
2177         Don't rely on the font-lock-syntax-table remappings.
2178         `esac' is not a valid pattern.
2179         (sh-syntax-propertize-function): Handle here-docs differently, so we
2180         don't bother syntax-propertizing the insides.
2182         * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
2183         Handle new bashisms ";&" and ";;&" (bug#7947).
2185 2011-02-05  Michael Albinus  <michael.albinus@gmx.de>
2187         * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
2188         Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
2190 2011-02-05  Era Eriksson  <era+tramp@iki.fi>  (tiny change)
2192         * net/tramp.el (tramp-postfix-method-format)
2193         (tramp-postfix-method-regexp, tramp-prefix-domain-format)
2194         (tramp-prefix-domain-regexp, tramp-postfix-user-format)
2195         (tramp-postfix-user-regexp, tramp-prefix-port-format)
2196         (tramp-prefix-port-regexp, tramp-postfix-host-format)
2197         (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
2198         Doc fix.
2200 2011-02-04  Sam Steingold  <sds@gnu.org>
2202         * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
2204 2011-02-04  Andreas Schwab  <schwab@linux-m68k.org>
2206         * international/mule-util.el (with-coding-priority): Doc fix.
2208 2011-02-04  Eli Zaretskii  <eliz@gnu.org>
2210         * arc-mode.el (archive-mode-map): Fix a typo in last change.
2212 2011-02-03  Sam Steingold  <sds@gnu.org>
2214         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2215         Do not error out when `func' is nil.
2217 2011-02-03  Michael Albinus  <michael.albinus@gmx.de>
2219         * net/tramp-sh.el (tramp-remote-path): Add default settings for
2220         `tramp-default-remote-path' to the docstring.
2221         (tramp-get-remote-path): Suppress error message when `getconf
2222         PATH' fails.
2224         * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
2226 2011-02-03  Glenn Morris  <rgm@gnu.org>
2228         * vc/vc-hg.el (vc-hg-command): Doc fix.
2230         * term/w32-win.el (libpng-version): Declare for compiler.
2232         * msb.el: No need to load dired while compiling.
2234         * emacs-lisp/elint.el (elint-standard-variables):
2235         Remove a couple of built-ins that now have doc-strings.
2237         * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
2238         `require' is automatically `eval-and-compile'd.
2240         * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
2241         (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
2243         * strokes.el (strokes-fill-current-buffer-with-whitespace):
2244         Move definition before use.
2245         (strokes-report-bug): Make it obsolete.
2247 2011-02-02  Sam Steingold  <sds@gnu.org>
2249         * apropos.el (apropos-print): Now that `apropos-mode' inherits
2250         from `special-mode', entering it makes the buffer read-only, so
2251         call it only when everything has been already inserted.
2252         * emacs-lisp/ert.el (ert--setup-results-buffer)
2253         (ert-results-pop-to-backtrace-for-test-at-point)
2254         (ert-results-pop-to-messages-for-test-at-point)
2255         (ert-results-pop-to-timings): Ditto.
2256         * emacs-lisp/package.el (package--list-packages): Ditto.
2257         * play/solitaire.el (solitaire): Ditto.
2259 2011-02-02  Chong Yidong  <cyd@stupidchicken.com>
2261         * progmodes/compile.el: Make all faces inherit.
2262         (compilation-warning): Inherit from font-lock-variable-name-face.
2263         (compilation-info): Inherit from font-lock-type-face.
2264         (compilation-line-number): Reassign to font-lock-keyword-face.
2265         (compilation-column-number): Reassign to font-lock-doc-face.
2266         (compilation-leave-directory-face): Reassign to
2267         font-lock-builtin-face.
2269 2011-02-02  Eli Zaretskii  <eliz@gnu.org>
2271         * dired.el (dired-insert-directory): Don't invoke `ls' when
2272         ls-lisp.el is used to emulate it.
2274 2011-02-01  Julien Danjou  <julien@danjou.info>
2276         * color.el (color-gradient): Add a color-gradient function.
2278 2011-02-01  Sam Steingold  <sds@gnu.org>
2280         * simple.el (special-mode-map): Bind "h" to `describe-mode';
2281         bind "z" to `kill-this-buffer'.
2282         (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
2283         * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
2284         (apropos-mode): Inherit from `special-mode'.
2285         * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
2286         * bookmark.el (bookmark-bmenu-mode): Define using
2287         `define-derived-mode' inheriting from `special-mode'.
2288         * dired.el (dired-mode-map): Inherit from `special-mode-map'.
2289         * image-mode.el (image-mode-map): Ditto.
2290         * replace.el (occur-mode): Define using
2291         `define-derived-mode' inheriting from `special-mode'.
2292         * tar-mode.el (tar-mode): Inherit from `special-mode'.
2293         * calendar/diary-lib.el (diary-fancy-display-mode):
2294         Inherit from `special-mode-map'.
2295         * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
2296         Inherit from `special-mode'.
2297         * emacs-lisp/package.el (package-menu-mode-map): Copy from
2298         `special-mode-map'.
2299         (package-menu-mode): Define using `define-derived-mode'
2300         inheriting from `special-mode'.
2301         * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
2302         * net/xesam.el (xesam-mode): Inherit from `special-mode'.
2303         (xesam-mode-map): Define separately.
2304         * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
2305         * progmodes/compile.el (compilation-minor-mode-map)
2306         (compilation-mode-map): Inherit from `special-mode-map'.
2307         * vc/diff-mode.el (diff-mode-shared-map):
2308         Inherit from `special-mode-map'.
2309         * vc/log-view.el (log-view-mode-map): Add a comment.
2311 2011-02-01  Chong Yidong  <cyd@stupidchicken.com>
2313         * custom.el (load-theme): Define return value.  Drop use of
2314         unsafep; call custom-theme-load-confirm for non-known-safe themes.
2315         (custom-theme-load-confirm): Scroll in the correct window.
2316         (custom-enabled-themes): Add custom-safe-themes to :set-after.
2318         * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
2319         checkbox if load-theme fails.
2321 2011-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2323         * progmodes/compile.el (compilation-next-error): Check there's
2324         a message before using it (bug#7941).
2326 2011-02-01  Jay Belanger  <jay.p.belanger@gmail.com>
2328         * calc/calc-mtx.el (math-lud-pivot-check): New function.
2329         (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
2330         of potential pivots.
2332 2011-01-31  Alan Mackenzie  <acm@muc.de>
2334         * progmodes/cc-cmds.el (c-forward-over-illiterals):
2335         Continue parsing if we encounter a naked # (Bug#7595).
2336         (c-beginning-of-statement): Avoid loop in locating the beginning
2337         of a macro.  (Not actually committed until 2011-02-20, see above).
2339 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
2341         * files.el (copy-directory): Fix arguments to recursive call.
2343 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
2345         * files.el (copy-directory): If destination is an existing
2346         directory, copy into a subdirectory there.
2348 2011-01-31  Andreas Schwab  <schwab@linux-m68k.org>
2350         * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
2351         files.
2353 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
2355         * image-dired.el (image-dired-mouse-display-image): No-op if no
2356         file is found (Bug#7817).
2358         * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
2360 2011-01-31  Kenichi Handa  <handa@m17n.org>
2362         * international/quail.el (quail-keyboard-layout-alist):
2363         Remove superfluous SPC for "pc105-uk" (bug#7927).
2365 2011-01-31  Glenn Morris  <rgm@gnu.org>
2367         * msb.el (msb-menu-bar-update-buffers): Update for changed
2368         argument handling of menu-bar-select-frame.  (Bug#7902)
2370 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
2372         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
2373         to the recursion depth (Bug#7722).
2375 2011-01-31  Roy Liu  <carsomyr@gmail.com>  (tiny change)
2377         * term/ns-win.el (ns-find-file): Expand ns-input-file with
2378         command-line-default-directory (Bug#7872).
2380 2011-01-31  Stefan Monnier  <monnier@iro.umontreal.ca>
2382         * progmodes/compile.el (compilation--flush-directory-cache):
2383         New function, extracted from compilation--remove-properties.
2384         (compilation--remove-properties, compilation--parse-region): Use it.
2385         (compilation--previous-directory): Handle one more case.
2386         (compilation-enable-debug-messages): Remove.
2387         (compilation-parse-errors, compilation--flush-parse): Just remove the
2388         left over debug messages.
2390 2011-01-31  Sam Steingold  <sds@gnu.org>
2392         * progmodes/compile.el (compilation-enable-debug-messages):
2393         Add a variable to make the parsing messages introduced in
2394         2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
2395         (compilation-parse-errors, compilation--flush-parse): Use it.
2397 2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
2399         * net/rcirc.el: New customizable nick completion format.  (Bug#6314)
2400         (rcirc-nick-completion-format): New defcustom.
2401         (rcirc-complete): Use it.
2403 2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
2405         * net/rcirc.el: Clean log filenames (Bug#7933).
2406         (rcirc-log-write): Use convert-standard-filename.
2407         (rcirc-log-filename-function): Documentation updates.
2409 2011-01-30  Jan Djärv  <jan.h.d@swipnet.se>
2411         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
2412         Check report-emacs-bug-can-use-osx-open and use that if t.
2413         (report-emacs-bug-can-use-osx-open): New function.
2414         (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
2415         Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
2417 2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
2419         * vc/vc-dispatcher.el (vc-set-async-update): New function for
2420         updating Dired or VC-dir buffers after async command completes.
2422         * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
2423         (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
2425         * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
2426         completions if it exists.  Use vc-set-async-update.
2427         (vc-git-pull): Use vc-set-async-update.
2429         * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
2430         read-shell-command.  Use vc-set-async-update.
2431         (vc-hg-merge-branch): Use vc-set-async-update.
2433 2011-01-29  Daiki Ueno  <ueno@unixuser.org>
2435         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
2436         Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
2437         (Bug#7931).
2439 2011-01-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2441         * progmodes/compile.el: Avoid an N² behavior in grep.
2442         (compilation--previous-directory): New fun.
2443         (compilation--previous-directory-cache): New var.
2444         (compilation--remove-properties): Flush it.
2445         (compilation-directory-properties, compilation-error-properties):
2446         Use the new fun to speed up looking for the current directory.
2448 2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
2450         * vc/vc-hg.el (vc-hg-history): New var.
2451         (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
2452         (vc-hg-merge-branch): New function.
2454         * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
2455         the other way around.
2457         * vc/vc-git.el (vc-git-branches, vc-git-pull)
2458         (vc-git-merge-branch): New functions.
2459         (vc-git-history): New var.
2461 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
2463         * vc/vc-dispatcher.el (vc-do-async-command): New function.
2465         * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
2466         vc-do-async-command.
2468         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
2469         Callers changed.
2471 2011-01-28  Leo  <sdl.web@gmail.com>
2473         * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
2474         highlighting to the "this function is advised" message.
2476         * help-mode.el (help-mode-finish): Apply highlighting here, to
2477         avoid clobbering by substitute-command-keys (Bug#6304).
2479 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
2481         * woman.el (woman0-roff-buffer): Process roff escape sequences
2482         occurring prior to the first request (Bug#7843).
2484 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2486         * progmodes/compile.el: Don't use font-lock any more.
2487         (compilation-error-regexp-alist-alist): Change handling of makepp
2488         so it preserves the warning/error distinction on subsequent files.
2489         Simplify various rules.
2490         (compilation-directory-properties): Use font-lock-face.
2491         Add a compilation-message property.
2492         (compilation-internal-error-properties): Use font-lock-face.
2493         Don't set the compilation-debug property here.
2494         (compilation--put-prop, compilation--remove-properties)
2495         (compilation--parse-region, compilation--ensure-parse)
2496         (compilation--ensure-parse): New functions.
2497         (compilation-parse-errors): New function, largely inspired of
2498         compilation-mode-font-lock-keywords.  Set compilation-debug here.
2499         (compilation--parsed): New var.
2500         (compilation--flush-parse): Use compilation--ensure-parse.
2501         (compilation-start): Don't call font-lock.
2502         (compilation-turn-on-font-lock): Remove.
2503         (compilation-setup): Don't set font-lock-extra-managed-props not change
2504         other font-lock settings, other than keywords.
2505         Don't activate font-lock-mode.
2506         Set change-major-mode-hook and before-change-functions.
2507         (compilation--unsetup): Remove properties and hooks.
2508         (compilation-next-single-property-change): New function.
2509         (compilation-next-error): Use it to parse when needed.
2510         (compile-goto-error): Parse buffer as needed.
2511         (compilation--compat-error-properties): Don't need a dummy `face'
2512         property any more.
2514 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2516         * progmodes/compile.el: Use accessors for clarity and fix omake hack.
2517         (compilation-process-setup-function): Fix docstring's false promises.
2518         (compilation-error-regexp-alist-alist): Catch omake's continuous
2519         recompilation message and avoid reuse of old markers.
2520         (compilation-parse-errors-function): Declare obsolete.
2521         (compilation-buffer-modtime): Remove.
2522         (compilation--make-cdrloc, compilation--loc->col)
2523         (compilation--loc->line, compilation--loc->file-struct)
2524         (compilation--loc->marker, compilation--loc->visited)
2525         (compilation--make-file-struct, compilation--file-struct->file-spec)
2526         (compilation--file-struct->formats)
2527         (compilation--file-struct->loc-tree): New macros.  Use them.
2528         (compilation--message): New defstruct.  Use them.
2529         (compilation-next-error-function): Don't mess with timestamps to try
2530         and guess when to reparse.
2532 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2534         * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
2535         (tex-old-error-file-name): New function,
2536         extracted from tex-compilation-parse-errors.
2537         (tex-compilation-parse-errors): Remove.
2538         (tex-error-regexp-alist): New var.
2539         (tex-shell): Use it to avoid compilation-parse-errors-function.
2541         * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
2542         (grep-mode-font-lock-keywords): Remove regexp that seems like
2543         a left-over from before we used compile.el.
2544         (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
2545         modifying the buffer within with-silent-modifications.
2547         * progmodes/compile.el: Cleanup text-properties namespace by using
2548         `compilation-message' instead of `message', `compilation-directory'
2549         instead of `directory', and `compilation-debug' instead of `debug'.
2550         (compilation-last-buffer, compilation-parsing-end)
2551         (compilation-error-list, compilation-old-error-list): Move to the
2552         compatibility part of the code.
2553         (compilation-error-properties): If `file' is a function, let it return
2554         a file name.
2555         (compilation-mode-font-lock-keywords): Be more conservative with the
2556         omake "^ *" pattern prefix, to try and minimize the risk of
2557         pathologically slow regexp matching.
2558         (compilation-start): Use inhibit-read-only.
2559         (compilation--unsetup): New function.
2560         (compilation-shell-minor-mode, compilation-minor-mode): Use it.
2561         (compilation-filter): Minor tweaks.
2562         (compilation-next-error-function): Try and avoid abusing variables.
2563         (compilation--flush-file-structure): New fun.
2564         (compilation-fake-loc): Use it to improve behavior when file is reused.
2565         (debug-ignored-errors): Add "Moved past last ...".
2566         (compilation--compat-error-properties)
2567         (compilation--compat-parse-errors): Rename by doubling the "-".
2569         Port features from the previous prolog.el to the new one.
2570         * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
2571         (prolog-program-name, prolog-program-switches, prolog-consult-string)
2572         (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
2573         variable and use a function to compute the value dynamically.
2574         (prolog-prompt-regexp): Add regexp for GNU Prolog.
2575         (prolog-continued-prompt-regexp): Remove, unused.
2576         (prolog-find-value-by-system): Try and use the value of prolog-system
2577         in the *prolog* buffer if it helps.
2578         (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
2579         (prolog-zip-on): ..and check prolog-system and version here instead.
2580         (prolog-inferior-self-insert-command): New command.
2581         (prolog-inferior-mode-map): Use it.
2582         (prolog-inferior-error-regexp-alist): New var.
2583         (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
2584         (prolog-input-filter): Use derived-mode-p.
2585         (prolog-inferior-guess-flavor): New function.
2586         (prolog-ensure-process): Use it.  Use make-comint-in-buffer rather than
2587         make-comint to avoid running comint-mode twice.
2588         (prolog-inferior-buffer): New fun.
2589         (prolog-old-process-region, prolog-old-process-file):
2590         Don't call prolog-bsts here...
2591         (prolog-build-prolog-command): ...do it here instead.
2592         (prolog-old-process-region, prolog-old-process-file):
2593         Use compilation-fake-loc and compilation-forget-errors.
2594         (prolog-consult-compile-region): Use bolp.
2596 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
2598         * image-mode.el (image-display-size): Doc fix (Bug#7820).
2600 2011-01-27  Sam Steingold  <sds@gnu.org>
2602         * midnight.el (clean-buffer-list-kill-never-buffer-names):
2603         Remove "*server*" which is never created by emacs server.
2605 2011-01-27  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
2607         * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
2608         there are some diff switches.
2610 2011-01-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2612         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2613         Copy change made to ruby-font-lock-syntactic-keywords.
2615         * htmlfontify.el: Make it obey the font-lock-face text property.
2616         Miscellaneous cleanup such as:
2617         - Don't hide expressions after a closing paren.
2618         - Move initial setq into let.
2619         - Hoist common parts out of ifs.
2620         (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
2621         (hfy-face-at): Use get-text-property instead.
2622         (hfy-prop-invisible-p): Use invisible-p if available.
2623         (htmlfontify-manual): Use \\[...].
2624         (hfy-html-quote-regex): Use [...].
2625         (hfy-combined-face-spec): Simplify.
2626         (hfy-compile-face-map): Don't presume point-min==1.
2627         (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
2628         match end of string.
2629         (hfy-text-p): η-reduce.
2630         (hfy-tags-for-file): Receive cache-hash directly.
2631         (hfy-mark-tag-names): Adjust call.
2633 2011-01-27  Glenn Morris  <rgm@gnu.org>
2635         * msb.el (msb-after-load-hooks): Make it an obsolete alias.
2636         (msb-after-load-hook): Remove eval-after-load wackiness.
2638 2011-01-25  Sam Steingold  <sds@gnu.org>
2640         * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
2641         literal "diff" (important for windows-nt).
2643 2011-01-25  Glenn Morris  <rgm@gnu.org>
2645         * emacs-lisp/copyright.el (copyright-at-end-flag)
2646         (copyright-names-regexp): Add safety properties.
2647         (copyright-year-ranges): New option.
2648         (copyright-find-end): New function, split from copyright-update-year.
2649         (copyright-update-year): Use copyright-find-end.
2650         (copyright-fix-years): Optionally, convert years to ranges.
2651         Handle years continued over comment lines.
2652         Do not mess with the fill-prefix.
2653         Do not call copyright-update.
2654         (copyright-update-directory): Optionally, fix years rather than update.
2655         Skip directories.  Find files with only safe local vars.
2657 2011-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2659         * files.el (file-name-non-special): Only change buffer-file-name after
2660         insert-file-contents if it's `visit'ing the file (bug#7854).
2662 2011-01-25  Chong Yidong  <cyd@stupidchicken.com>
2664         * dired.el (dired-revert): Doc fix (Bug#7758).
2666         * simple.el (line-move-visual): Doc fix (Bug#7594).
2668 2011-01-25  Nobuyoshi Nakada  <nobu@ruby-lang.org>
2670         * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
2671         here-doc which ends with an underscore.
2672         (ruby-mode-set-encoding): Skip shebang line always.
2673         (ruby-mode-map): Bind C-c C-c to comment-region.
2674         (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
2675         (ruby-forward-sexp): Stop after literal hash key labels.
2676         (ruby-font-lock-syntactic-keywords): Highlight regexp after open
2677         bracket.
2679 2011-01-25  Keitaro Miyazaki  <keitaro.miyazaki@gmail.com>  (tiny change)
2681         * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
2682         the correct buffer (Bug#7650).
2684 2011-01-25  Glenn Morris  <rgm@gnu.org>
2686         * comint.el (comint-mode): Doc fix.  (Bug#7897)
2688         * simple.el (do-auto-fill): Give it a doc string.
2690         * button.el (make-text-button): Doc fix.  (See bug#7881)
2692 2011-01-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2694         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2695         Don't move backward, so as not to fall in an inf-loop (bug#7736).
2697         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
2698         Handle ?" and friends differently (e.g. don't use backrefs).
2700 2011-01-24  Jay Belanger  <jay.p.belanger@gmail.com>
2702         * calc/calc.el (calc-default-power-reference-level)
2703         (calc-default-field-reference-level): New variables.
2704         * calc/calc-units.el (math-standard-units): Add dB and Np.
2705         (math-logunits): New variable.
2706         (math-extract-logunits, math-logcombine, calcFunc-luplus)
2707         (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
2708         (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
2709         New functions.
2710         (math-find-base-units-rec): Add entry for ln(10).
2711         * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
2712         (calc-ul-prefix-help): New function.
2713         * calc/calc-ext.el (calc-init-extensions): Autoload new units
2714         functions.  Add keybindings for new units functions.
2716 2011-01-22  Giorgos Keramidas  <keramida@ceid.upatras.gr>  (tiny change)
2718         * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
2719         rcirc buffers.  (Bug#4940)
2721 2011-01-22  Glenn Morris  <rgm@gnu.org>
2723         * emacs-lisp/copyright.el (copyright-find-copyright): New function,
2724         split out from copyright-update-year.
2725         (copyright-update): Don't mess with the GPL version if we don't own the
2726         copyright.  Update license regexp, and remove no longer needed
2727         Esperanto stuff.
2728         (copyright-fix-years): Use copyright-find-copyright.
2730 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
2732         * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
2734 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
2736         * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
2737         (lm): Rename to landmark.
2738         (lm-test-run): Rename to landmark-test-run.
2740 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
2742         * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
2743         "Case sensitive" menu item.
2745 2011-01-22  Roland McGrath  <roland@frob.com>
2747         * comint.el (comint-replace-by-expanded-history-before-point): Fix
2748         expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
2750 2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2752         * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
2754 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
2756         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2757         Assume foo(bar) is a manpage reference rather than some unquoted
2758         symbol (bug#7705).
2760 2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2762         * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
2763         Suggested by Flo <sensorflo@gmail.com>.
2765 2011-01-22  Glenn Morris  <rgm@gnu.org>
2767         * progmodes/compile.el (compilation-error-regexp-alist):
2768         Fix custom type.  (Bug#7812)
2770 2011-01-22  Ken Manheimer  <ken.manheimer@gmail.com>
2772         * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
2773         allout-number-siblings, in keeping with what obtained due to
2774         (now-defunct) allout-keybindings-list.  Ditch repeat binding to
2775         (prefixed) ?i.
2776         (allout-before-change-handler): Better expose spots affected by
2777         undo.
2779 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
2781         * man.el (Man-highlight-references0): Use make-button (Bug#7881).
2783 2011-01-22  Phil Hagelberg  <phil@evri.com>
2785         * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
2786         (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
2787         (pcmpl-ssh-config-hosts): New function.
2788         (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
2789         pcmpl-ssh-known-hosts.
2791 2011-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
2793         * calc/calc-undo.el (calc-undo): Autoload it.
2794         * calc/calc-ext.el (calc-init-extensions): Remove keybindings
2795         and autoload for `calc-undo'.
2796         * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
2797         * calc/calc-prog.el:
2798         * calc/calc-graph.el:
2799         * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
2801 2011-01-21  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
2803         * calc/calc-ext.el (calc-init-extensions): Map all `undo'
2804         keybindings to `calc-undo'.
2806 2011-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2808         Don't mess with *temp*.
2809         * obsolete/spell.el: Move from textmodes/spell.el.
2810         (spell-string):
2811         * term.el (term-read-input-ring):
2812         * startup.el (display-startup-echo-area-message):
2813         * progmodes/antlr-mode.el (antlr-directory-dependencies):
2814         * comint.el (comint-read-input-ring): Use with-temp-buffer.
2815         * international/mule.el (ctext-pre-write-conversion): Don't hardcode
2816         point-min==1.
2818 2011-01-20  Ken Manheimer  <ken.manheimer@gmail.com>
2820         * allout.el (allout-institute-keymap): Use fset instead of
2821         reapplying defalias.
2823         (allout-hotspot-key-handler): Check for non-control-modified
2824         bindings for hotspot characters if there are no control-modified
2825         versions.
2827         * allout.el: Summary - migrate to defining allout mode using
2828         define-minor-mode instead of defun.  Significantly clean-up
2829         internal keymap provisions, refactoring and, in the process,
2830         removing a lot of accumulated cruft.
2832         allout-mode-map is now a keymap by virtue of being a defalias to
2833         allout-mode-map-value, which contains the actual keymap structure.
2835         (allout-mode): Use define-minor-mode rather than defun.
2836         Remove now-unnecessary minor-mode setup activities from the body.
2837         Specify :keymap as allout-mode-map so the minor-mode-map-alist
2838         entry will be '(allout-mode . allout-mode-map) - see
2839         allout-mode-map-value, below.  Adjust docstring to track changes.
2840         (allout-minor-mode): Remove this defalias, now that we're using
2841         define-minor-mode.
2842         (allout-mode-map): Set value to be 'allout-mode-map.  The actual
2843         keymap is allout-mode-map-value, via defalias.
2844         (allout-mode-map-value): The variable holding the actual mode
2845         keymap structure, by virtue of defalias from allout-mode-map.
2846         (allout-compose-and-institute-keymap): Rename from
2847         allout-bind-keys, and including the binding-composition
2848         functionality of the former produce-allout-mode-map and
2849         allout-setup-mode-map.
2850         (allout-institute-keymap): Take over the "setup" part of the former
2851         allout-setup-mode-map.  Reassign allout-mode-map-value value and
2852         update the defalias.
2853         (allout-command-prefix, allout-prefixed-keybindings)
2854         (allout-unprefixed-keybindings):
2855         Use allout-compose-and-institute-keymap to process the bindings.
2856         (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
2857         (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
2858         user can customize if they want to use that binding.
2859         Bind allout-copy-topic-as-kill to (prefixed) \M-k.
2860         Bind allout-up-current-level to (prefixed) \C-u.  (I think i mistakenly
2861         elided that, previously, instead of the one for \C-h.)
2862         (allout-hotspot-key-handler): Remove attempt to resolve the key
2863         through the literal key-string lookup on allout-keybindings-list.
2864         That probably hasn't worked for a Long Time, and removal of
2865         allout-keybindings-list further simplifies the keybindings situation.
2866         (allout-pre-command-business): Use allout-mode-map-value instead
2867         of allout-mode-map.
2868         (allout-preempt-trailing-ctrl-h): Remove.  The user can customize
2869         the bindings if they want to use a keybinding having a trailing
2870         \C-h.  No deprecation needed since this feature was never in a release.
2871         (allout-keybindings-list): Remove.  It's not been useful for a
2872         while.  (See allout-hotspot-key-handler changes, above.)
2873         (produce-allout-mode-map): Remove.  Consolidate into
2874         allout-compose-and-institute-keymap.
2875         (allout-mode-map-adjustments): Remove.  No longer necessary with
2876         removal of allout-preempt-trailing-ctrl-h.
2877         (allout-setup-mode-map): Remove.  Consolidate into
2878         allout-compose-and-institute-keymap and allout-institute-keymap.
2880 2011-01-20  Glenn Morris  <rgm@gnu.org>
2882         * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
2884         * simple.el (read-expression-history): Remove, it's in minibuf.c.
2886 2011-01-20  Chong Yidong  <cyd@stupidchicken.com>
2888         * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
2890         * files.el (find-alternate-file, basic-save-buffer)
2891         (basic-save-buffer-2, revert-buffer, recover-file)
2892         (kill-buffer-ask, abort-if-file-too-large)
2893         (set-visited-file-name, write-file, backup-buffer)
2894         (basic-save-buffer, save-some-buffers):
2895         * dired-aux.el (dired-compress-file): Callers changed.
2897 2011-01-19  Glenn Morris  <rgm@gnu.org>
2899         * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
2900         Also check the property status.  (Bug#7861)
2902 2011-01-18  Michael Albinus  <michael.albinus@gmx.de>
2904         * net/tramp.el (tramp-debug-message): Extend function exclude
2905         list.  Use `regexp-opt'.
2907 2011-01-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2909         * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
2910         highlighting doesn't spill over subsequent lines.
2912         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
2913         keymap expression.  Improve docstring.
2915         * electric.el (electric-indent-post-self-insert-function):
2916         Don't auto-indent for indent-to-left-margin, it's too often
2917         counter-productive.
2919 2011-01-16  Tassilo Horn  <tassilo@member.fsf.org>
2921         * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
2922         spaces if the frame was resized, so that the full visible buffer
2923         serves as canvas for strokes.
2925 2011-01-16  Glenn Morris  <rgm@gnu.org>
2927         * info-xref.el (info-xref-docstrings): Replace cl function.
2928         Also skip directories.
2930 2011-01-16  Kevin Ryde  <user42@zip.com.au>
2932         * info-xref.el: Version 3.
2933         (info-xref-check, info-xref-check-all): Move commentary details
2934         into docstrings for better visibility.
2935         Use compilation-mode for the results buffer.
2936         (info-xref-output, info-xref-output-error, info-xref-with-output)
2937         (info-xref-filename, info-xref-in-progress):
2938         New internals for this.
2939         (info-xref-check-list, info-xref-check-buffer)
2940         (info-xref-check-all-custom): Use those.
2941         (info-xref-output-buffer): Rename from info-xref-results-buffer.
2942         (info-xref-output-heading): Rename from info-xref-filename-heading.
2943         (info-xref-good, info-xref-bad, info-xref-xfile-alist)
2944         (info-xref-filename-heading): Move to output managing section.
2945         (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
2946         (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
2947         (info-xref-subfile-p): Move to generic section with those two.
2948         (info-xref-check-node): New function split from
2949         info-xref-check-buffer, shared by info-xref-docstrings.
2950         (info-xref-goto-node-p): Move to a checking section with that func.
2951         (info-xref-unavail): New counter.
2952         (info-xref-check-node): Use it.
2953         (info-xref-with-output): Show count of unavailables at end of output.
2954         (info-xref-all-info-files): Exclude ".*" dotfiles.  Ignore broken
2955         symlinks.  Exclude .texi files.  Exclude Emacs backup files.
2956         (info-xref-check-all-custom): Fix quietening viper-mode and
2957         gnus-registry-install -- use setq not let so as not to unbind
2958         after load.
2960 2011-01-16  Juri Linkov  <juri@jurta.org>
2962         * isearch.el (isearch-abort): Don't quit if search has
2963         an incomplete regexp (isearch-error is non-nil).  (Bug#7534)
2965 2011-01-15  Mark Diekhans  <markd@soe.ucsc.edu>
2967         * files.el (backup-buffer): Make last-resort backup file in
2968         .emacs.d (Bug#6953).
2970         * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
2971         make it with permission 700.
2973 2011-01-15  Kenichi Handa  <handa@m17n.org>
2975         * mail/rmailmm.el (rmail-mime-insert-header):
2976         Set rmail-mime-coding-system to a cons whose car is the last coding
2977         system used to decode the header.
2978         (rmail-mime-find-header-encoding): New function.
2979         (rmail-mime-insert-decoded-text):
2980         Override rmail-mime-coding-system if it is a cons.
2981         (rmail-show-mime): If only a header part was decoded, find the
2982         coding system while ignoring mm-charset-override-alist.
2984 2011-01-15  Chong Yidong  <cyd@stupidchicken.com>
2986         * subr.el (event-start, event-end): Doc fix (Bug#7826).
2988 2011-01-15  Kenichi Handa  <handa@m17n.org>
2990         * mail/rmailmm.el (rmail-mime-next-item)
2991         (rmail-mime-previous-item): Delete them.
2992         (rmail-mime-shown-mode): Recursively call for children.
2993         (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
2994         Callers changed.
2995         (rmail-mime-raw-mode): Recursively call for children.
2996         (rmail-mode-map): Change mapping of tab and backtab to
2997         forward-button and backward-button respectively.
2998         (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
2999         button.
3000         (rmail-mime-update-tagline): New function.
3001         (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
3002         body display is changed.
3003         (rmail-mime-toggle-button): Rename from rmail-mime-image.
3004         (rmail-mime-image): Delete this button type.
3005         (rmail-mime-toggle): New button type.
3006         (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
3007         body display is changed.  Change the save button label to "Save".
3008         Don't process show/hide button here.
3009         (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
3010         the body display is changed.  Unconditionally call
3011         rmail-mime-insert for children.
3012         (rmail-mime-handle): Update `display' vector of the just inserted
3013         entity.
3014         (rmail-mime-process): If mail-header-parse-content-type returns
3015         nil, use "text/plain" as the fallback type.
3016         (rmail-mime-insert): For raw-mode, recursively call
3017         rmail-mim-insert for children.
3018         (rmail-mime): Handle the case that the current buffer is not rmail
3019         buffer (e.g. in summary buffer).
3021 2011-01-15  Kenichi Handa  <handa@m17n.org>
3023         * mail/rmailmm.el (rmail-mime-next-item)
3024         (rmail-mime-previous-item): Skip the body of a non-multipart
3025         entity if a tagline is shown.
3027 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3029         * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
3030         (tmm-prompt): Simplify.
3031         (tmm-add-prompt): Remove unused var `win'.
3033         * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
3034         to minor mode which used nil accidentally to mean "turn off".
3036 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
3038         * net/tramp-sh.el (tramp-find-inline-compress)
3039         (tramp-get-inline-coding): Quote command after pipe symbol for
3040         local calls under W32.  (Bug#6784)
3042 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
3044         * net/tramp.el (tramp-default-method): Initialize with pscp/plink
3045         only when running under W32.
3047 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
3049         * progmodes/grep.el (grep-compute-defaults): Quote the program
3050         file name after the pipe symbol in Grep templates.  (Bug#6784)
3051         * jka-compr.el (jka-compr-partial-uncompress): Likewise.
3053 2011-01-15  Lennart Borgman  <lennart.borgman@gmail.com>
3055         * buff-menu.el (Buffer-menu-buffer-list): New var.
3056         (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
3057         restricted buffer list is not lost on revert (Bug#7749).
3059 2011-01-15  Eric Hanchrow  <eric.hanchrow@gmail.com>
3061         * net/ldap.el (ldap-search-internal): Discard stderr output.
3063 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
3065         * files.el (directory-abbrev-alist): Doc fix.  (Bug#7777)
3067 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3069         * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
3071 2011-01-15  Kenichi Handa  <handa@m17n.org>
3073         * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
3074         part as a plain text.
3075         (rmail-mime-process-multipart): Set the default content-type to
3076         nil for unknown multipart subtypes (bug#7651).
3078 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3080         * hexl.el (hexl-mode-old-*): Remove.
3081         (hexl-mode--old-var-vals): New var to replace them.
3082         (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
3083         (hexl-mode, hexl-follow-line, hexl-activate-ruler):
3084         Use them to set local vars (bug#7846).
3085         (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
3086         (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
3087         (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
3089         * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
3090         (smerge-resolve--normalize-re): New var.
3091         (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
3092         (smerge-resolve): Use them.
3093         * newcomment.el (comment-only-p): New function.
3094         (comment-or-uncomment-region): Use it.
3096 2011-01-14  Brent Goodrick  <bgoodr@gmail.com>  (tiny change)
3098         * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
3099         table, get the value before switching to the output buffer.  (Bug#7733)
3101 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3103         * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
3105 2011-01-14  Kim F. Storm  <storm@cua.dk>
3107         * emulation/cua-base.el (cua--init-keymaps):
3108         Remap exchange-point-and-mark in cua-global-keymap.
3110 2011-01-14  Tassilo Horn  <tassilo@member.fsf.org>
3112         * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
3113         loop keyword.
3115 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3117         * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
3118         Require CL.
3119         (easy-menu-create-menu, easy-menu-convert-item-1):
3120         Use :label rather than nil for labels.  Use `case'.
3121         Add :enable as alias for :active.
3122         (easy-menu-binding): Obey :label.
3124 2011-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3126         Use run-mode-hooks for major mode hooks (bug#513).
3127         * textmodes/reftex-toc.el (reftex-toc-mode-map):
3128         Rename from reftex-toc-map.
3129         (reftex-toc-mode): Use define-derived-mode.
3130         * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
3131         (reftex-select-label-mode-map, reftex-select-bib-mode-map):
3132         Rename from reftex-select-(label|bib)-map.  Move init into declaration.
3133         (reftex-select-label-mode, reftex-select-bib-mode):
3134         Use define-derived-mode.
3135         * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
3136         (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
3137         Move init into delcaration.
3138         (reftex-index-mode, reftex-index-phrases-mode):
3139         Use define-derived-mode.
3140         * speedbar.el (speedbar-mode-syntax-table): Renaqme from
3141         speedbar-syntax-table.  Move init into declaration.
3142         (speedbar-mode-map): Rename from speedbar-key-map.
3143         Move init into declaration.
3144         (speedbar-file-key-map): Move init into declaration.
3145         (speedbar-mode): Use define-derived-mode.
3146         * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
3147         * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
3148         * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
3149         (chart-face-list): Move initialization into declaration.
3150         (chart-mode): Use define-derived-mode.
3151         * calculator.el (calculator-mode-map): Move init into declaration.
3152         (calculator-mode): Use define-derived-mode.
3154         * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
3155         work for nested comments.
3157         * progmodes/prolog.el: Use syntax-propertize.  Further code cleanup.
3158         (prolog-use-prolog-tokenizer-flag): Change default when
3159         syntax-propertize can be used.
3160         (prolog-syntax-propertize-function): New var.
3161         (prolog-mode-variables): Move make-local-variable into `set'.
3162         Don't make comment-column local since we don't set it.
3163         Set comment-add (as it was in previous prolog.el).  Use dolist.
3164         Set syntax-propertize-function.
3165         (prolog-mode, prolog-inferior-mode):
3166         Call prolog(-inferior)-menu directly, not through the mode-hook.
3167         (prolog-buffer-module, prolog-indent-level)
3168         (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
3169         (prolog-comment-limits, prolog-goto-comment-column):
3170         Use line-(end|beginning)-position.
3171         (prolog-build-prolog-command): Tighten up regexp.
3172         (prolog-consult-compile): Move make-local-variable into `set'.
3173         (prolog-consult-compile-filter, prolog-goto-next-paren)
3174         (prolog-help-on-predicate, prolog-clause-info)
3175         (prolog-mark-predicate): Don't let+setq.
3176         (prolog-indent-line): Use indent-line-to.
3177         Only call prolog-goto-comment-column if necessary.
3178         (prolog-indent-level): Use bobp.
3179         (prolog-first-pos-on-line): Remove, not used any more.
3180         (prolog-in-string-or-comment): Use syntax-ppss if available.
3181         (prolog-help-on-predicate): Use read-string.
3182         (prolog-goto-predicate-info): Simplify.
3183         (prolog-read-predicate): Use `default' rather than `initial'.
3184         (prolog-temporary-file): Use make-temp-file to close a security hole.
3185         (prolog-toggle-sicstus-sd): New command.
3186         (prolog-electric-underscore, prolog-variables-to-anonymous):
3187         Use dynamic-scoping as it was meant.
3188         (prolog-menu): Move menu definitions to top-level.
3189         Use a toggle-button for Sicstus's source debugger.
3190         Change "Code" to the more usual "Prolog", and hence change "Prolog"
3191         to "System".
3192         (prolog-inferior-menu): Reuse prolog-menu's help menu.
3193         Move other menu definition to top-level.
3195 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
3197         * doc-view.el (doc-view-open-text): Use meaningful text buffer
3198         name.  Keep original document's directory as default-directory
3199         (bug#6446).
3200         (doc-view-initiate-display): Fall back to normal mode when
3201         doc-view-mode cannot be enabled, also when extracting the document
3202         text into a separate buffer (bug#6446).
3204         * simple.el (shell-command): Don't error out if shell command
3205         buffer contains text with non-nil read-only property when erasing
3206         the buffer.
3208 2011-01-13  Kim F. Storm  <storm@cua.dk>
3210         * ido.el (ido-may-cache-directory): Move "too-big" check later.
3211         (ido-next-match, ido-prev-match): Fix stray reordering of matching
3212         items when cycling through the matches.
3214 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
3216         * dired-x.el (dired-omit-verbose): New defcustom that allows
3217         disabling the omit messages.
3218         (dired-omit-expunge): Use it.
3220 2011-01-13  Christian Ohler  <ohler@gnu.org>
3222         * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
3224 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
3226         * font-lock.el (font-lock-verbose): Default to nil.
3228 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
3230         * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
3231         (compose-mail): New arg RETURN-ACTION.
3232         (compose-mail-other-window, compose-mail-other-frame): Likewise.
3234         * mail/sendmail.el (mail-return-action): New var.
3235         (mail-mode): Make it buffer-local.
3236         (mail-bury): Obey it.  Move special Rmail window handling to
3237         rmail-mail-return.
3238         (mail, mail-setup): New arg RETURN-ACTION.
3239         (sendmail-user-agent-compose): Move from simple.el.
3241         * mail/rmail.el (rmail-mail-return): New function.
3242         (rmail-start-mail): Pass it to compose-mail.
3244 2011-01-12  Chong Yidong  <cyd@stupidchicken.com>
3246         * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
3247         menus.  Add menu item for customize-themes.
3249         * cus-theme.el (customize-themes):
3250         * emacs-lisp/package.el (package--list-packages):
3251         Use switch-to-buffer.
3253 2011-01-11  Johan Bockgård  <bojohan@gnu.org>
3255         * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
3257 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3259         * progmodes/prolog.el: Fix up coding convention and such.
3260         (prolog-indent-width): Use the same default as in
3261         previous prolog.el rather than tab-width which depends on which buffer
3262         is current when the file is loaded.
3263         (prolog-electric-newline-flag): Only enable if electric-indent-mode
3264         is not available.
3265         (prolog-emacs): Remove.  Use (featurep 'xemacs) instead.
3266         (prolog-known-systems): Remove.
3267         (prolog-mode-syntax-table, prolog-inferior-mode-map):
3268         Move initialization into declaration.
3269         (prolog-mode-map): Move initialization into declaration.
3270         Remove system-specific mode-map vars, since they referred to the same
3271         keymap anyway.
3272         (prolog-mode-variables): Obey the user's preference w.r.t
3273         adaptive-fill-mode.  Prefer symbol-value to `eval'.
3274         (prolog-mode-keybindings-edit): Add compatibility bindings.
3275         (prolog-mode): Use define-derived-mode.  Don't handle mercury here.
3276         (mercury-mode-map): New var.
3277         (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
3278         (prolog-ensure-process, prolog-process-insert-string)
3279         (prolog-consult-compile): Use with-current-buffer.
3280         (prolog-guess-fill-prefix): Simplify data flow.
3281         (prolog-replace-in-string): New function to use instead of
3282         replace-in-string.
3283         (prolog-enable-sicstus-sd): Don't abuse `eval'.
3284         (prolog-uncomment-region): Use `uncomment-region' when available.
3285         (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
3286         (prolog-int-to-char, prolog-char-to-int): New functions to use instead
3287         of int-to-char and char-to-int.
3288         (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
3290 2011-01-11  Stefan Bruda  <stefan@bruda.ca>
3292         * progmodes/prolog.el: Replace by a whole new file.
3294 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3296         * subr.el (eval-after-load): Fix timing for features (bug#7769).
3297         (declare-function, undefined, insert-for-yank)
3298         (replace-regexp-in-string): Follow checkdoc's recommendations.
3300 2011-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3302         * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
3303         refreshing the diary buffer.
3305 2011-01-10  Ken Manheimer  <ken.manheimer@gmail.com>
3307         * allout.el: Add 2011 to the file copyright.
3308         (allout-encrypt-string): Prevent encryption from adding an extra
3309         newline at the end of the topic body.
3310         (allout-version): Increment to 2.3.
3312 2011-01-10  Michael Albinus  <michael.albinus@gmx.de>
3314         * net/dbus.el (dbus-unregister-service): Complete doc.
3315         Fix call of dbus-error signal.
3316         (dbus-register-property): Use `dont-register' keyword.
3318 2011-01-10  Jan Moringen  <jan.moringen@uni-bielefeld.de>
3320         * net/dbus.el (dbus-unregister-service): Translate returned
3321         integer into a symbol.
3322         (dbus-register-property): Use `dbus-register-service' to do the
3323         name registration.
3325 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
3327         * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
3328         Suggested by Joakim Verona.
3330         * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
3332         * wid-edit.el (visibility): Replace :on-image and :off-image
3333         widget properties with :on-glyph and :off-glyph, for consistency
3334         with the `visibility' widget.
3335         (widget-toggle-value-create, widget-visibility-value-create):
3336         Merge into a single function `widget-toggle-value-create'.
3338         * cus-edit.el (custom-variable-value-create, custom-visibility)
3339         (custom-face-edit-value-create, custom-face-value-create):
3340         Replace :on-image and :off-image widget properties with :on-glyph and
3341         :off-glyph, for consistency with the `visibility' widget.
3343 2011-01-09  Andreas Schwab  <schwab@linux-m68k.org>
3345         * net/ldap.el (ldap-search-internal): Don't use eval.
3347 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
3349         * subr.el (read-char-choice): Use read-key.
3351         * custom.el (custom-safe-themes): Rename from
3352         custom-safe-theme-files.  Add :risky tag.
3353         (load-theme, custom-theme-load-confirm): Save sha1 hashes to
3354         custom-safe-themes, not filenames.  Suggested by Stefan Monnier.
3356 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
3358         * tool-bar.el (tool-bar-setup): Remove Help button.  Remove label
3359         from Search and add a label to Undo.
3361         * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
3362         inappropriate buttons and adding :vert-only tags.
3364         * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
3365         removal of Help tool-bar button.  Remove Undo button for space.
3367         * info.el (info-tool-bar-map): Add :vert-only tags.
3369 2011-01-08  Tassilo Horn  <tassilo@member.fsf.org>
3371         * doc-view.el (doc-view-mode-p): Check for png or imagemagick
3372         image backend support.  Either of them is fine.
3374 2011-01-08  Chong Yidong  <cyd@stupidchicken.com>
3376         * subr.el (y-or-n-p): Doc fix.
3378         * custom.el (custom-safe-theme-files): New defcustom.
3379         (custom-theme-load-confirm): New function.
3380         (load-theme): Load theme using `load', confirming with
3381         custom-theme-load-confirm if necessary.
3383         * subr.el (read-char-choice): New function, factored out from
3384         dired-query and hack-local-variables-confirm.
3386         * dired-aux.el (dired-query):
3387         * files.el (hack-local-variables-confirm): Use it.
3389         * dired-aux.el (dired-compress-file):
3390         * files.el (abort-if-file-too-large, find-alternate-file)
3391         (set-visited-file-name, write-file, backup-buffer)
3392         (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
3393         (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
3394         Use new format string args for y-or-n-p and yes-or-no-p.
3396 2011-01-08  Andreas Schwab  <schwab@linux-m68k.org>
3398         * progmodes/compile.el (compilation-error-regexp-alist-alist)
3399         [gcc-include]: Tighten file name match, add match for column
3400         number.  (Bug#7806)
3401         [gnu]: Remove unused group.
3403 2011-01-08  Glenn Morris  <rgm@gnu.org>
3405         * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
3407         * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
3409 2011-01-07  Sam Steingold  <sds@gnu.org>
3411         * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
3412         the `explicit-shell-file-name' because that is the
3413         non-interactive shell.
3415 2011-01-07  Chong Yidong  <cyd@stupidchicken.com>
3417         * subr.el (y-or-n-p): Accept format string args.
3419 2011-01-07  Glenn Morris  <rgm@gnu.org>
3421         * Makefile.in (EMACSOPT): Add --no-site-lisp.
3423 2011-01-06  Ken Manheimer  <ken.manheimer@gmail.com>
3425         * allout.el (allout-back-to-current-heading): Ensure return to
3426         the visible containing topic, rather than a collapsed one.
3427         (allout-view-change-hook): Remove hook that was deprecated long ago.
3428         (allout-exposure-change-hook): Remove documentation remarks
3429         concerning removed allout-view-change-hook.
3430         (allout-flag-region): Remove invocation of and documentation
3431         remarks concerning allout-view-change-hook.
3433 2011-01-06  Glenn Morris  <rgm@gnu.org>
3435         * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
3436         (vc-bzr-annotate-extract-revision-at-line):
3437         Handle authors with embedded spaces.  (Bug#7792)
3439 2011-01-05  Tassilo Horn  <tassilo@member.fsf.org>
3441         * doc-view.el (doc-view-image-width): New variable.
3442         (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
3443         backend for PNG images, and do dynamic rescaling instead of
3444         reconverting the whole doc.
3446 2011-01-05  Glenn Morris  <rgm@gnu.org>
3448         * emacs-lisp/rx.el (rx-repeat): Replace CL function.
3450 2011-01-04  Ken Manheimer  <ken.manheimer@gmail.com>
3452         * allout.el: Reconcile with changes in line movement behavior for
3453         long text lines that cross more than a single physical window
3454         line, ie when truncate-lines is nil.
3455         (allout-next-visible-heading): Provide for change in line-move
3456         behavior on long lines when truncate-lines is nil.  In that case,
3457         line-move can wind up on the same textual line when it moves to
3458         the next window line, and moving to the bullet position after the
3459         move yields zero advancement.  Add logic to detect and compensate
3460         for the lack of progress.
3461         (allout-current-topic-collapsed-p): move-end-of-line respect for
3462         field boundaries is different when operating with body lines
3463         shorter than window width versus ones greater than window width,
3464         which can yield false negatives in this function.  Avoid
3465         difference by applying move-end-of-line while field-text-motion is
3466         inhibited.
3468 2011-01-04  Glenn Morris  <rgm@gnu.org>
3470         * textmodes/rst.el (rst-compile-toolsets):
3471         Add pdf and s5 to option alist.
3473 2011-01-04  Jan Moringen  <jan.moringen@uni-bielefeld.de>
3475         * net/dbus.el (dbus-register-property): Add optional parameter
3476         dont-register-service.  Updated docstring accordingly.
3478 2011-01-04  Andreas Schwab  <schwab@linux-m68k.org>
3480         * textmodes/rst.el (rst-compile-pdf-preview)
3481         (rst-compile-slides-preview): Remove extra line.
3483 2011-01-04  Glenn Morris  <rgm@gnu.org>
3485         * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
3486         Add `pdf' and `s5' entries.  Use `prog.py' if found, otherwise
3487         default to `prog' without a .py extension.
3488         (rst-compile-pdf-preview, rst-compile-slides-preview):
3489         Use program names from rst-compile-toolsets, rather than hard-coding.
3490         (rst-portable-mark-active-p): Fix presumed typo.
3492 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
3494         * term/w32-win.el (dynamic-library-alist): Set up correctly for
3495         libpng versions both before and after 1.4.0.  (Bug#7716)
3497 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
3499         * time.el (display-time-mode): Mention display-time-interval in
3500         the doc string.  (Bug#7713)
3502 2011-01-02  Kenichi Handa  <handa@m17n.org>
3504         * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
3505         condition-case and return an error message string if something
3506         goes wrong.
3507         (rmail-show-mime): Adjust for the above change.  Insert the
3508         header by rmail-mime-insert-header.
3510 2011-01-02  Kenichi Handa  <handa@m17n.org>
3512         * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
3513         rmail-mime-previous-item, and rmail-mime-toggle-hidden.
3514         (rmail-mime-mbox-buffer)
3515         (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
3516         (rmail-mime-entity): Argument changed.  All codes handling an
3517         entity object are changed.
3518         (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
3519         the above change.
3520         (rmail-mime-entity-children, rmail-mime-entity-handler)
3521         (rmail-mime-entity-tagline): New functions.
3522         (rmail-mime-message-p): New function.
3523         (rmail-mime-save): Bind rmail-mime-mbox-buffer.
3524         (rmail-mime-entity-segment, rmail-mime-next-item)
3525         (rmail-mime-previous-item, rmail-mime-shown-mode)
3526         (rmail-mime-hidden-mode, rmail-mime-raw-mode)
3527         (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
3528         (rmail-mime-insert-tagline, rmail-mime-insert-header):
3529         New functions.
3530         (rmail-mime-text-handler): Call rmail-mime-insert-text.
3531         (rmail-mime-insert-decoded-text): New function.
3532         (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
3533         (rmail-mime-insert-image): Argument changed.  Caller changed.
3534         (rmail-mime-image): Call rmail-mime-toggle-hidden.
3535         (rmail-mime-set-bulk-data): New function.
3536         (rmail-mime-insert-bulk): Argument changed.
3537         (rmail-mime-multipart-handler): Return t.
3538         (rmail-mime-process-multipart): Argument changed.
3539         Handle "multipart/alternative" here.
3540         (rmail-mime-process): Argument changed.
3541         (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
3542         (rmail-mime-insert): Argument changed.  Handle raw display mode.
3543         (rmail-mime): Argument changed.  Handle toggling of raw display
3544         mode.
3545         (rmail-show-mime): Bind rmail-mime-mbox-buffer and
3546         rmail-mime-view-buffer.
3547         (rmail-insert-mime-forwarded-message): Likewise.
3548         (rmail-search-mime-message): Likewise.  Don't bind rmail-buffer.
3550         * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
3551         non-nil, handle the header in rmail-show-mime-function.
3553 2011-01-02  Leo  <sdl.web@gmail.com>
3555         * help-fns.el (describe-variable): Fix previous change.
3557 2011-01-02  Juri Linkov  <juri@jurta.org>
3559         * isearch.el (isearch-lazy-highlight-error): New variable.
3560         (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
3561         `isearch-lazy-highlight-error'.  Set `isearch-lazy-highlight-error'
3562         to the current value of `isearch-error' (Bug#7468).
3564 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
3566         * help-fns.el (describe-variable): Don't emit trailing whitespace
3567         (Bug#7511).
3569 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
3571         * textmodes/rst.el (rst-compile-pdf-preview)
3572         (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
3574 2011-01-02  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
3576         * emulation/edt-mapper.el: Override mapping of function keys so
3577         that the later call to read-key-sequence works.
3579 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
3581         * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
3582         Unix EOLs.  (Bug#7589)
3584 2011-01-02  Leo  <sdl.web@gmail.com>
3586         * eshell/em-hist.el (eshell-previous-matching-input): Signal error
3587         if point is not behind eshell-last-output-end (Bug#7585).
3589 2011-01-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3591         * files.el (file-local-variables-alist):
3592         Make permanent-local (bug#7767).
3594 2011-01-02  Glenn Morris  <rgm@gnu.org>
3596         * version.el (emacs-copyright): Set short copyright year to 2011.
3598 2011-01-02  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
3600         * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
3601         an existing temp buffer.  (Bug#7746)
3603 2011-01-02  Glenn Morris  <rgm@gnu.org>
3605         * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
3606         multiple addresses.  (Bug#7760)
3608 2011-01-01  Ken Manheimer  <ken.manheimer@gmail.com>
3610         * allout.el (allout-auto-fill): Do not infinitely recurse - use
3611         do-auto-fill if everything points back to allout-auto-fill.
3612         (allout-mode-deactivate-hook): Declare obsolete, in favor of
3613         standard-formed minor-mode deactivate hook, allout-mode-off-hook.
3615 2010-12-31  Michael Albinus  <michael.albinus@gmx.de>
3617         * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
3618         and "scpx".
3620 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
3622         * doc-view.el (doc-view-set-doc-type): New function refactored
3623         from doc-view-mode.
3624         (doc-view-fallback-mode): New function.
3625         (doc-view-mode): Use it.
3626         (doc-view-mode-maybe): New function that checks if doc-view-mode
3627         can be used and falls back to the next best mode otherwise.
3629         * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
3630         DVI, OpenDocument, and MS Office files.
3632 2010-12-30  Andreas Schwab  <schwab@linux-m68k.org>
3634         * emacs-lisp/rx.el (rx-syntax): Fix typo.
3636 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
3638         * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
3639         on a copy of auto-mode-alist, because that deletes with side
3640         effects.
3642 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
3644         * doc-view.el (doc-view-mode, doc-view-toggle-display):
3645         Use normal-mode without doc-view-mode bindings in auto-mode-alist as
3646         fallback instead of hard coding fundamental mode.
3648 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
3650         * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
3651         Office) files also for searching.
3653 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
3655         * doc-view.el: Implement viewing of OpenDocument (and Microsoft
3656         Office) files.  Not yet enabled via auto-mode-list.
3657         (doc-view-unoconv-program): New custom variable.
3658         (doc-view-mode-p): Handle new odf document type.
3659         (doc-view-odf->pdf): New conversion function.
3660         (doc-view-convert-current-doc): Call it for odf files.
3661         (doc-view-mode): Recognize newly supported file extensions.
3663 2010-12-30  Michael Albinus  <michael.albinus@gmx.de>
3665         * net/tramp.el (tramp-default-method-alist)
3666         (tramp-default-user-alist)
3667         (tramp-local-host-regexp, tramp-prefix-domain-format)
3668         (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
3670         * net/tramp-ftp.el:
3671         * net/tramp-gvfs.el:
3672         * net/tramp-gw.el:
3673         * net/tramp-imap.el:
3674         * net/tramp-sh.el:
3675         * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
3676         code of `tramp-default-method-alist' and `tramp-default-user-alist'.
3678 2010-12-29  Karl Fogel  <kfogel@red-bean.com>
3680         * saveplace.el (save-place-alist-to-file): Save list sorted and
3681         pretty-printed, so that it is mergeable by line-based text merging,
3682         as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
3684 2010-12-28  Ken Manheimer  <ken.manheimer@gmail.com>
3686         * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
3687         (allout-mode): Argument "toggle" => "force".
3688         Refine the docstring.
3689         Remove special provisions for reactivation, besides the 'force'
3690         argument.
3691         Consolidate layout provisions coce directly into the activation
3692         condition branch, now that we've removed those provisions.
3693         (allout-unload-function): Explicitly activate the mode before
3694         deactivating, if it's initially deactivated.
3695         (allout-set-buffer-multibyte): Properly prevent byte-compiler
3696         warnings for version of function used only where
3697         set-buffer-multibyte is unavailable.
3699 2010-12-28  Chong Yidong  <cyd@stupidchicken.com>
3701         * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
3702         are handled by the menu-bar entries.  As before, don't use
3703         :visibile to avoid changing the tool-bar.
3705 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
3707         * net/secrets.el (secrets-delete-alias): New defun.
3709 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
3711         * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
3712         methods, otherwise ~/.ssh/config would be ignored.
3714 2010-12-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3716         * emacs-lisp/rx.el: Make it a superset of sregex.
3717         (rx-constituents): Add `any => "."', mark `repeat' as taking any number
3718         of args, add `regex' alias.
3719         (rx-info): Add arg to distinguish head and standalone forms.
3720         (rx-check, rx-form): Pass the corresponding arg.
3721         (rx-**): Simplify.
3722         (rx-repeat): Make it work for any number of args.
3723         (rx-syntax): Make it accept syntax chars as is.
3724         * obsolete/sregex.el: Move from emacs-lisp/.
3725         * emacs-lisp/re-builder.el: Remove sregex support.
3726         * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
3728 2010-12-25  Eli Zaretskii  <eliz@gnu.org>
3730         * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
3731         PRIMARY first, then the clipboard.  (Bug#7699)
3733 2010-12-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3735         * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
3736         print-number-table.
3738 2010-12-21  Chong Yidong  <cyd@stupidchicken.com>
3740         * help-fns.el (find-lisp-object-file-name): Locate .emacs from
3741         .emacs.elc (Bug#7530).
3743         * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
3744         image spec (Bug#7480).
3746 2010-12-21  Daiki Ueno  <ueno@unixuser.org>
3748         * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
3749         * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
3750         Move from lisp/.
3752 2010-12-20  Leo  <sdl.web@gmail.com>
3754         * dnd.el (dnd-get-local-file-name): Unhex of file name shall
3755         always be performed (Bug#7680).
3757 2010-12-20  Chong Yidong  <cyd@stupidchicken.com>
3759         * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
3760         (menu-bar-edit-menu): Bind "Copy" to kill-ring-save.  Don't use
3761         mouse-region-match.
3763         * color.el: Move from gnus/.
3765         * vc/diff.el (diff-better-file-name): Function deleted.
3766         abbreviating file names causes problems with shell-quote-argument.
3767         (diff-no-select): Just use expand-file-name.
3769         * tool-bar.el (tool-bar--image-expression): New function.
3770         (tool-bar-local-item, tool-bar--image-exp): Use it.
3771         (tool-bar-setup): Initialize tool-bar-separator-image-expression.
3772         Use :enable instead of :visible to avoid changing the tool-bar
3773         configuration unnecessarily.
3775         * info.el (info-tool-bar-map): Add separators.
3777 2010-12-17  Ken Brown  <kbrown@cornell.edu>
3779         * loadup.el: Use version numbers in Cygwin build.
3781 2010-12-17  Ryan Twitchell  <metatheorem@gmail.com>  (tiny change)
3783         * ido.el (ido-file-internal): Ask for confirmation before
3784         overwriting an existing file (Bug#1238).
3786 2010-12-16  Chong Yidong  <cyd@stupidchicken.com>
3788         * tool-bar.el (tool-bar-setup): Add separators.
3790         * menu-bar.el (featurep): Use menu-bar-separator.
3792 2010-12-16  Ken Manheimer  <ken.manheimer@gmail.com>
3794         Migrate allout encryption provisions from pgg to epg.
3796         * allout.el (allout-toggle-current-subtree-encryption)
3797         (allout-toggle-subtree-encryption): Adjust docstrings to reflect
3798         defaulting policy and other changes.  Change fetch-pass to keymode-cue,
3799         for simpler universal argument interpretation.
3800         (allout-toggle-subtree-encryption): Adjust docstring to describe
3801         changed encryption provisions.  Change fetch-pass to keymode-cue, for
3802         simpler universal argument interpretation.  Remove provisions for
3803         handling key type and identity - they'll all be within
3804         allout-encrypt-string or epg/epg or even contained all the way in gpg.
3805         (allout-encrypt-string): Include keymode-cue, for optionally prompting
3806         for keypair recipients (universal argument > 1) and, in addition,
3807         associating the specified recipients with the outline (universal
3808         argument > 4) using a file local variable setting for
3809         'epa-file-encrypt-to'.
3810         Require epa, for recipients handling.
3811         Change how regexp filtering elements are named.
3812         Describe the problem with caching of incorrect symmetric-decryption
3813         keys.
3814         Use the epa-passphrase-callback-function, in case the user is using
3815         GnuPG v1.
3816         Support saving of the selected keypair recipients when invoked with a
3817         keymode-cue > 4.
3818         Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
3819         Require 'epa.
3820         Establish epg-context with armoring and default epg-protocol.
3821         Remove all passphrase cache, verification, and hinting code.
3822         (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
3823         No longer used, delete.
3824         (allout-mode): Adjust docstring to describe changed encryption
3825         provisions.  Describe the problem with caching of incorrect
3826         symmetric-decryption keys.
3827         (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
3828         (allout-make-passphrase-state, allout-passphrase-state-passphrase)
3829         (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
3830         (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
3831         Obsolete, remove.
3833 2010-12-16  Daiki Ueno  <ueno@unixuser.org>
3835         * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
3836         key selection prompt; make 'silent as default (Bug#7487).
3838 2010-12-16  Leo  <sdl.web@gmail.com>
3840         * eshell/eshell.el (eshell-directory-name):
3841         Use locate-user-emacs-file (Bug#7578).
3843 2010-12-15  Glenn Morris  <rgm@gnu.org>
3845         * loadup.el (symbol-file-load-history-loaded): Remove; unused.
3847 2010-12-15  Jari Aalto  <jari.aalto@cante.net>
3848             Scott Evans  <gse@antisleep.com>
3850         * rect.el (rectange--default-line-number-format)
3851         (rectangle-number-line-callback): New functions.
3852         (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
3854 2010-12-15  Chong Yidong  <cyd@stupidchicken.com>
3856         * rect.el (operate-on-rectangle-lines, string-rectangle-string):
3857         Delete unused variables.
3858         (move-to-column-force): Remove function obsolete since 21.2.
3860 2010-12-14  Michael Albinus  <michael.albinus@gmx.de>
3862         * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
3863         (tramp-handle-insert-file-contents): Do not set permanent-local
3864         property.
3866         * net/tramp-cache.el (tramp-persistency-file-name):
3867         Use `locate-user-emacs-file' if fboundp.
3869         * net/tramp-sh.el (tramp-methods): Add "ksu".
3870         (tramp-default-user-alist): Add "ksu".  Use `regexp-opt' for
3871         method list.
3873 2010-12-14  Glenn Morris  <rgm@gnu.org>
3875         * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
3876         (find-tag-marker-ring): Declare.
3877         (js-find-symbol): Require etags.
3879         * mail/sendmail.el: Don't require rmail or mailalias when compiling.
3880         Require mail-utils.
3881         (mail-alias-file): Don't autoload.  Doc fix.
3882         (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
3883         (mail-mailer-swallows-blank-line): Default to nil.  Doc fix.
3884         Mark as obsolete, and risky.
3885         (mail-setup): Simplify.
3887         * mail/mailalias.el (build-mail-aliases): Make it interactive.
3888         * mail/sendmail.el (build-mail-aliases): Update autoload.
3890         * dired.el (dired-trivial-filenames, dired-chown-program)
3891         (dired-auto-revert-buffer): Remove autoload cookies.
3892         * mail/sendmail.el (mail-recover-1): Require 'dired.
3894         * dired.el (dired-subdir-switches, dired-chown-program)
3895         (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
3896         Make into defcustoms.
3897         (dired-chown-program): Simplify initialization.
3899         * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
3901 2010-12-13  Romain Francoise  <romain@orebokech.com>
3903         * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
3905 2010-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3907         * net/netrc.el (netrc-point-at-eol): Remove the unused
3908         netrc-point-at-old and netrc-bound-and-true-p bindings.
3909         (netrc-parse): Cache the netrc contents.
3911 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
3913         * subr.el (posn-col-row): Evaluate header-line-format in the
3914         context of the POSITION window's buffer.
3916 2010-12-13  Glenn Morris  <rgm@gnu.org>
3918         * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
3919         (with-silent-modifications): Doc fixes.
3921 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
3923         * net/tramp.el (tramp-action-password, tramp-process-actions):
3924         Revert previous from.  Use `save-restriction'.
3926 2010-12-13  Stephen Berman  <stephen.berman@gmx.net>
3928         * calendar/diary-lib.el (diary-list-sexp-entries):
3929         Handle case of no newline at end of file.  (Bug#7536)
3931 2010-12-13  Glenn Morris  <rgm@gnu.org>
3933         * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
3935 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
3937         * net/tramp.el (tramp-action-password): Delete region, do not narrow.
3938         (tramp-process-actions): Do not widen.
3940         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3941         Protect buffer-modified value.  (Bug#7557)
3943 2010-12-13   Jan Moringen  <jmoringe@techfak.uni-bielefeld.de>
3945         * log-edit.el (log-edit-changelog-entries):
3946         Regexp quote filename.  (Bug#7505)
3948 2010-12-13  Tom Breton  <tehom@panix.com>
3950         * cus-edit.el (custom-save-all):
3951         Bind print-length and print-level to nil.  (Bug#7581)
3953 2010-12-13  Glenn Morris  <rgm@gnu.org>
3955         * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
3956         Run hooks to update menu contents.  (Bug#7586)
3958         * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
3959         file names, for the sake of MS Windows.  (Bug#7588)
3961 2010-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3963         * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
3964         empty lines without a leading space.
3966 2010-12-13  Leo  <sdl.web@gmail.com>
3968         * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
3969         while mapping over marks (Bug#6810).
3971 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
3973         * image-dired.el (image-dired-db-file)
3974         (image-dired-temp-image-file, image-dired-gallery-dir)
3975         (image-dired-temp-rotate-image-file): Set default values relative
3976         to image-dired-dir (Bug#7518).
3978 2010-12-13  Lawrence Mitchell  <wence@gmx.li>
3980         * format.el (format-decode-run-method): Pass args FROM and TO, not
3981         point-min and point-max, to shell-command-on-region (Bug#7488).
3983 2010-12-13  Jan Djärv  <jan.h.d@swipnet.se>
3985         * frame.el (blink-cursor-mode): Make default t for ns.
3987 2010-12-13  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
3989         * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3991 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
3993         * comint.el (comint-dynamic-list-input-ring)
3994         (comint-dynamic-complete-filename)
3995         (comint-replace-by-expanded-filename)
3996         (comint-dynamic-simple-complete)
3997         (comint-dynamic-list-filename-completions)
3998         (comint-dynamic-list-completions): Doc fix (Bug#7499).
4000         * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
4001         Doc fix (Bug#7471).
4003 2010-12-13  Martin Rudalics  <rudalics@gmx.at>
4005         * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
4006         (Bug#7533).
4008 2010-12-13  W. Martin Borgert  <debacle@debian.org>  (tiny change)
4010         * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
4011         (Bug#7491).
4013 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
4015         * files.el (file-relative-name): Handle UNC file names on
4016         DOS/Windows.  (Bug#4674)
4018 2010-12-13  Daiki Ueno  <ueno@unixuser.org>
4020         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
4021         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
4022         (epg-context-set-passphrase-callback): Mention that the callback
4023         is not called when used with GnuPG 2.x.
4025 2010-12-13  Glenn Morris  <rgm@gnu.org>
4027         * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
4028         Ensure ps-footer-font-size-internal is initialized.
4029         Call ps-get-page-dimensions before trying to use ps-font-for-text.
4031 2010-12-13  Kenichi Handa  <handa@m17n.org>
4033         * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
4034         within condition-case.
4035         (rmail-show-mime): Don't use condition-case.
4036         (rmail-search-mime-message): New function.
4037         (rmail-search-mime-message-function): Set to
4038         rmail-search-mime-message.
4040 2010-12-13  Leo  <sdl.web@gmail.com>
4042         * ido.el (ido-common-initialization): New function.  (bug#3274)
4043         (ido-mode): Use it.
4044         (ido-completing-read): Call it.
4046 2010-12-12  Karl Fogel  <kfogel@red-bean.com>
4048         * bookmark.el (bookmark-name-from-full-record): Rename back to
4049         this original name from `bookmark-name-from-record' reverting part
4050         of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
4051         As Drew Adams pointed out, there was no reason to cause churn for
4052         third-party callers.  (Bug#7609)
4054 2010-12-12  Alan Mackenzie  <acm@muc.de>
4056         * progmodes/cc-engine.el (c-forward-type): Before scanning a
4057         template arglist, check that the current language supports this.
4059 2010-12-11  Glenn Morris  <rgm@gnu.org>
4061         * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
4062         state of the file matches.  (Bug#7544)
4063         (vc-bzr-register, vc-bzr-checkin)
4064         (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
4065         (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
4067         * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
4069 2010-12-11  Karel Klíč  <kklic@redhat.com>
4071         * files.el (auto-mode-alist): Use html-mode for *.xhtml.  (Bug#7606)
4073 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4075         Derive from prog-mode, use derived-mode-p, and fix up various
4076         minor style issues in lisp/progmodes.
4078         * progmodes/vhdl-mode.el (vhdl-mode):
4079         * progmodes/verilog-mode.el (verilog-mode):
4080         * progmodes/vera-mode.el (vera-mode):
4081         * progmodes/sql.el (sql-mode):
4082         * progmodes/scheme.el (scheme-mode):
4083         * progmodes/perl-mode.el (perl-mode):
4084         * progmodes/octave-inf.el (inferior-octave-mode):
4085         * progmodes/autoconf.el (autoconf-mode):
4086         * progmodes/m4-mode.el (m4-mode):
4087         * progmodes/inf-lisp.el (inferior-lisp-mode):
4088         * progmodes/idlwave.el (idlwave-mode):
4089         * progmodes/icon.el (icon-mode):
4090         * progmodes/idlw-help.el (idlwave-help-mode):
4091         * progmodes/dcl-mode.el (dcl-mode):
4092         * progmodes/idlw-shell.el (idlwave-shell-mode):
4093         * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
4094         (ebrowse-member-mode, ebrowse-electric-position-mode):
4095         Use define-derived-mode.
4097         * progmodes/xscheme.el (exit-scheme-interaction-mode)
4098         (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
4099         (xscheme-debugger-mode-p, xscheme-send-string-1):
4100         * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
4101         (tcl-load-file, tcl-restart-with-file):
4102         * progmodes/ps-mode.el (ps-run-running):
4103         * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
4104         * progmodes/js.el (js--get-all-known-symbols):
4105         * progmodes/inf-lisp.el (inferior-lisp-proc):
4106         * progmodes/idlwave.el (idlwave-beginning-of-statement)
4107         (idlwave-template, idlwave-update-buffer-routine-info)
4108         (idlwave-update-current-buffer-info)
4109         (idlwave-get-routine-info-from-buffers, idlwave-choose)
4110         (idlwave-scan-class-info, idlwave-fix-keywords)
4111         (idlwave-list-buffer-load-path-shadows):
4112         * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
4113         (idlwave-toolbar-remove):
4114         * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
4115         (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
4116         (idlwave-shell-menu-def):
4117         * progmodes/idlw-complete-structtag.el
4118         (idlwave-prepare-structure-tag-completion):
4119         * progmodes/gud.el (gud-set-buffer):
4120         * progmodes/f90.el (f90-backslash-not-special):
4121         * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
4123         * progmodes/xscheme.el (xscheme-start)
4124         (local-set-scheme-interaction-buffer, scheme-interaction-mode):
4125         * progmodes/which-func.el (which-function):
4126         * progmodes/vhdl-mode.el (vhdl-set-style):
4127         * progmodes/verilog-mode.el (verilog-set-compile-command)
4128         (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
4129         (verilog-set-define, verilog-auto-reeval-locals):
4130         * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
4131         * progmodes/simula.el (simula-mode):
4132         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
4133         * progmodes/python.el (python-check, python-mode):
4134         * progmodes/prolog.el (prolog-mode-variables):
4135         * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
4136         * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
4137         * progmodes/delphi.el (delphi-mode):
4138         * progmodes/cc-styles.el (c-setup-paragraph-variables):
4139         * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
4140         (c-font-lock-init): Move make-local-variable to their setq.
4142         * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
4143         (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
4144         make-local-hook.
4145         * progmodes/sh-script.el (sh-require-final-newline): Remove.
4146         (sh-set-shell): Don't set require-final-newline since it's already done
4147         by prog-mode.
4148         * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
4149         since we never set it.
4150         * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
4151         Use read-string and standard prompt.
4152         * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
4153         * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
4154         (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
4155         (meta-common-mode-map): Rename from meta-mode-map.
4156         Remove C-m binding, which is a user preference, not mode specific.
4157         (meta-common-mode): New major mode; replace meta-common-initialization.
4158         * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
4159         around with font-lock.
4160         * progmodes/etags.el (select-tags-table-mode):
4161         Derive from special-mode.
4162         * progmodes/octave-mod.el (octave-mode):
4163         * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
4164         (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
4165         (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
4166         Let define-derived-mode do its job.
4167         * progmodes/cpp.el (cpp-edit-mode-map):
4168         Move initialization into declaration.
4169         (cpp-edit-mode): Use define-derived-mode.
4170         (cpp-edit-load): Use derived-mode-p.
4171         * progmodes/mixal-mode.el (mixal-mode):
4172         * progmodes/f90.el (f90-mode):
4173         * progmodes/cfengine.el (cfengine-mode): Don't bother setting
4174         require-final-newline since prog-mode does it already.
4175         * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
4176         * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
4177         * progmodes/antlr-mode.el: Require cc-mode upfront.
4178         (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
4179         the declaration.
4180         (antlr-directory-dependencies, antlr-show-makefile-rules):
4181         Use derived-mode-p.
4182         (antlr-language-option): Don't assume point-min==1.
4183         (antlr-mode): Use define-derived-mode.
4184         * progmodes/ada-mode.el: Use derived-mode-p.
4185         (ada-mode): Use define-derived-mode.
4186         Use hack-local-variables-hook.
4188 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4190         * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
4191         (texinfo-mode): Don't disable adaptive-fill-mode.
4192         (texinfo-insert-block): Adjust cursor placement for blocks with arg.
4193         (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
4194         (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
4195         (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
4196         (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
4197         (texinfo-insert-@quotation, texinfo-insert-@samp)
4198         (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
4199         (texinfo-insert-@uref): Use define-skeleton.
4200         (texinfo-insert-@-with-arg): Delete.
4202 2010-12-10  Eli Zaretskii  <eliz@gnu.org>
4204         * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
4205         nil, do quote archive member names.  (Bug#6144)
4207 2010-12-10  Glenn Morris  <rgm@gnu.org>
4209         * files.el (diff-no-select): Declare.
4211         * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
4212         (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
4214         * comint.el (comint-input-ring-file-name): Doc fix.
4216 2010-12-09  Eli Zaretskii  <eliz@gnu.org>
4218         * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
4219         New functions.
4220         (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
4221         Use them instead of `nil' and `>', respectively.
4222         (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
4223         instead of `nil'.
4224         (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
4225         and menu-bar-positive-p instead of `nil' and `>', respectively.
4226         (Bug#1077)
4228 2010-12-09  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4230         * whitespace.el (whitespace-newline-mode): Code fix.
4232 2010-12-09  Glenn Morris  <rgm@gnu.org>
4234         * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
4235         Rename functions without commas, update callers.
4237 2010-12-08  Jeff Dairiki  <dairiki@dairiki.org>  (tiny change)
4239         * whitespace.el (whitespace-cleanup-region):
4240         Clean up spaces before tabs.  (Bug#7582)
4242 2010-12-08  Karl Fogel  <kfogel@red-bean.com>
4244         * bookmark.el: Adjust parameter names and doc strings to resolve
4245         confusion over whether "bookmark" meant a bookmark name or a
4246         bookmark record.  Along the way, shorten one function's name for
4247         similar reasons.  (Issue #7548)
4248         (bookmark-name-from-record): New name for
4249         `bookmark-name-from-full-record'.  All callers changed.
4250         (bookmark-get-bookmark, bookmark-get-bookmark-record)
4251         (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
4252         (bookmark-get-annotation, bookmark-set-annotation)
4253         (bookmark-get-filename, bookmark-set-filename)
4254         (bookmark-get-position, bookmark-set-position)
4255         (bookmark-get-front-context-string, bookmark-set-front-context-string)
4256         (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
4257         (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
4258         (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
4259         Rename `bookmark' parameter to `bookmark-name-or-record', to
4260         clearly show its role, and shorten or adjust doc strings accordingly.
4261         (bookmark-set-name): Same, and pass the parameter directly to
4262         `bookmark-get-bookmark' instead of redundantly doing the callee's work.
4263         (bookmark-default-annotation-text, bookmark-send-edited-annotation)
4264         (bookmark-relocate, bookmark-insert-location, bookmark-insert)
4265         (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
4266         and in some cases shorten doc string accordingly.
4267         (bookmark-rename): Change `old' and `new' parameters to `old-name'
4268         and `new-name', and adjust an internal variable to avoid confusion.
4269         (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
4270         parameter in doc string.
4272 2010-12-08  Glenn Morris  <rgm@gnu.org>
4274         * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
4275         from gdb's history file.  (Bug#7575)
4277         * mail/emacsbug.el (report-emacs-bug):
4278         Try to handle some other mail clients.
4280 2010-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4282         * files.el (dir-locals-collect-variables): Don't let errors stop us.
4283         Use string-prefix-p.
4284         (file-name-version-regexp): New var.
4285         (file-name-sans-versions):
4286         * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
4287         (jka-compr-get-compression-info): Use dolist.
4288         (jka-compr-compression-info-list): Don't bother specifying
4289         version/backup regexps.
4291 2010-12-07  Tassilo Horn  <tassilo@member.fsf.org>
4293         * simple.el (just-one-space): Make argument n default to 1 if
4294         omitted.
4296 2010-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4298         * electric.el (electric-indent-post-self-insert-function):
4299         Delete trailing newlines even if we don't reindent.
4301 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4303         * minibuffer.el (completion-at-point): Remove the `arg'.
4304         * bindings.el (complete-symbol): Move back from minibuffer.el.
4306 2010-12-06  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
4308         * simple.el (just-one-space): Delete newlines for negative arg.
4310 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4312         * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
4313         (ansi-color-filter-apply): Simplify.
4314         (ansi-color-apply): Use `font-lock-face' rather than `face'.
4316 2010-12-05  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
4318         * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
4320 2010-12-04  Chong Yidong  <cyd@stupidchicken.com>
4322         * dired.el (dired-use-ls-dired): Set default to a special
4323         "unspecified" value.
4324         (dired-insert-directory): When called the first time, check
4325         whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
4327 2010-12-04  Tak Ota  <Takaaki.Ota@am.sony.com>
4329         * replace.el: Add "collect" feature to occur.
4330         (occur-collect-regexp-history): New var.
4331         (occur-read-primary-args): Return a replace string for nlines,
4332         if needed.
4333         (occur): Extend the meaning of nlines.
4335 2010-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4337         * progmodes/which-func.el (which-func-ff-hook): Log the error message.
4338         (which-func-update-1): Distinguish symbols from strings.
4339         (which-function): Stay within 80 columns.
4341 2010-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4343         * subr.el (with-demoted-errors): Distinguish symbols from strings.
4345         * newcomment.el (comment-styles): Add docs to each style (bug#7509).
4346         Improve docstring.
4347         (comment-style): Use comment-styles's docs to describe values.
4349 2010-12-03  Jan Djärv  <jan.h.d@swipnet.se>
4351         * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
4352         and ns-show-prefs (Bug#7535).
4354         * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
4355         bindings (Bug#7535).
4357 2010-12-03  Glenn Morris  <rgm@gnu.org>
4359         * nxml/nxml-mode.el: Require rng-nxml.
4360         (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
4361         Remove declarations.
4363         * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
4364         * nxml/rng-nxml.el, nxml/rng-valid.el:
4365         Remove leading `*' from defcustom docs.
4367         * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
4368         (normal-top-level-add-to-load-path, tty-handle-args):
4369         Convert comments to basic doc-strings.
4371         * net/browse-url.el (browse-url-url-at-point)
4372         (browse-url-default-browser): Remove autoload cookies.
4374         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
4375         Remove more undefined cl functions.
4377         * vc/diff.el (diff-sentinel): Make new arguments optional.
4378         * ibuf-ext.el (diff-sentinel): Update declaration.
4380 2010-12-03  Daiki Ueno  <ueno@unixuser.org>
4382         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
4383         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
4384         (epg-context-set-passphrase-callback): Mention that the callback
4385         is not called when used with GnuPG 2.x.
4387 2010-12-02  Michael Albinus  <michael.albinus@gmx.de>
4389         * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
4390         (tramp-file-name-port): Check also for `tramp-default-port'.
4391         (tramp-get-connection-name): New defun.
4392         (tramp-get-connection-process): Use it.
4393         (tramp-debug-message): Extend function exclude list.
4394         (tramp-drop-volume-letter): Fix doc string.
4396         * net/tramp-cmds.el: Remove solved todo item.
4398         * net/tramp-ftp.el:
4399         * net/tramp-gvfs.el:
4400         * net/tramp-gw.el:
4401         * net/tramp-imap.el:
4402         * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
4403         and `tramp-default-user-alist', respectively.
4405         * net/tramp-gw.el (tramp-gw-open-connection):
4406         Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
4408         * net/tramp-imap.el (tramp-imap-make-iht): Use just
4409         `tramp-file-name-port'.
4411         * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
4412         and "psftp".  Exchange "%k" marker with options.
4413         (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
4414         Compute size of link target.
4415         (tramp-do-copy-or-rename-file-out-of-band): Move setting of
4416         `tramp-current-*' up due to gateway methods.  Optimize computing of
4417         copy arguments.  Use `tramp-get-connection-name' and
4418         `tramp-get-connection-buffer'.  Improve debug messages.
4419         (tramp-compute-multi-hops): Remove port determination.
4420         (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
4422         * net/trampver.el: Update release number.
4424 2010-12-02  Glenn Morris  <rgm@gnu.org>
4426         * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
4427         Avoid infinite loop over windows.  (Bug#7492)
4429         * progmodes/flymake.el (flymake-check-file-limit):
4430         Allow nil to mean "no limit".
4431         (flymake-check-patch-master-file-buffer): Update for above change.
4432         Allow a .tex file-name extension to be optional.
4433         (flymake-master-tex-init): Also match \include statements.
4435 2010-11-30  Sam Steingold  <sds@gnu.org>
4437         * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
4438         (nxml-parent-document-set): A function to set `nxml-parent-document'.
4439         (nxml-mode): Define using `define-derived-mode' instead of `defun'.
4440         (nxml-mode-hook): Remove `defcustom' (auto-defined by
4441         define-derived-mode').
4442         * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
4443         users who want to call `nxml-parent-document-set'.
4445 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
4447         * log-edit.el (log-edit-font-lock-keywords): Don't try matching
4448         stand-alone lines, since that is handled by log-edit-match-to-eoh
4449         (Bug#6465).
4451 2010-11-27  Eduard Wiebe  <usenet@pusto.de>
4453         * dired.el (dired-get-filename): Replace backslashes with slashes
4454         in file names on MS-Windows, needed by `locate'.  (Bug#7308)
4455         * locate.el (locate-default-make-command-line): Don't consider
4456         drive letter and root directory part of
4457         `directory-listing-before-filename-regexp'.  (Bug#7308)
4458         (locate-post-command-hook, locate-post-command-hook): New defcustoms.
4460 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4462         * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
4463         of :smie-open/close-alist.
4464         (smie-next-sexp): Make it accept a "start token" as argument.
4465         (smie-indent-keyword): Be careful not to misidentify tokens that span
4466         more than one line, as empty lines.  Add argument `token'.
4468 2010-11-27  Kenichi Handa  <handa@m17n.org>
4470         * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
4471         multipart subtypes, insert all as usual.
4473         * mail/rmail.el: Require rfc2047.
4475 2010-11-27  Kenichi Handa  <handa@m17n.org>
4477         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
4478         (rmail-mime-entity-disposition)
4479         (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
4480         (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
4481         (rmail-mime-save): Handle the case that the button's `data' is a
4482         MIME entity.
4483         (rmail-mime-insert-text): New function.
4484         (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
4485         (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
4486         (rmail-mime-insert-bulk): New function mostly copied from the old
4487         rmail-mime-bulk-handler.
4488         (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
4489         (rmail-mime-process-multipart): New function mostly copied from
4490         the old rmail-mime-multipart-handler.
4491         (rmail-mime-show): Just call rmail-mime-process.
4492         (rmail-mime-process): New function mostly copied from the old
4493         rmail-mime-show.
4494         (rmail-mime-insert-multipart, rmail-mime-parse)
4495         (rmail-mime-insert, rmail-show-mime)
4496         (rmail-insert-mime-forwarded-message)
4497         (rmail-insert-mime-resent-message): New functions.
4498         (rmail-insert-mime-forwarded-message-function): Set to
4499         rmail-insert-mime-forwarded-message.
4500         (rmail-insert-mime-resent-message-function): Set to
4501         rmail-insert-mime-resent-message.
4503         * mail/rmailsum.el: Require rfc2047.
4504         (rmail-header-summary): Handle multiline Subject: field.
4505         (rmail-summary-line-decoder): Change the default to
4506         rfc2047-decode-string.
4508         * mail/rmail.el (rmail-enable-mime): Change the default to t.
4509         (rmail-mime-feature): Change the default to `rmailmm'.
4510         (rmail-quit): Delete the specifal code for rmail-enable-mime.
4511         (rmail-display-labels): Likewise.
4512         (rmail-show-message-1): Check rmail-enable-mime, and use
4513         rmail-show-mime-function for a MIME message.  Decode the headers
4514         according to RFC2047.
4516 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4518         * progmodes/which-func.el (which-func-imenu-joiner-function):
4519         Return a string, as expected.
4520         (which-function-mode): Make sure we stop any previous timer before
4521         starting a new one.
4523 2010-11-27  Michael Albinus  <michael.albinus@gmx.de>
4525         * net/tramp.el (tramp-default-method-alist)
4526         (tramp-default-user-alist, tramp-default-proxies-alist):
4527         Adapt custom options type.  (Bug#7445)
4529 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
4531         * progmodes/python.el: Add Ipython support (Bug#5390).
4532         (python-shell-prompt-alist)
4533         (python-shell-continuation-prompt-alist): New options.
4534         (python--set-prompt-regexp): New function.
4535         (inferior-python-mode, run-python, python-shell):
4536         Require ansi-color.  Use python--set-prompt-regexp to set the comint
4537         prompt based on the Python interpreter.
4538         (python--prompt-regexp): New var.
4539         (python-check-comint-prompt)
4540         (python-comint-output-filter-function): Use it.
4541         (run-python): Use a pipe (Bug#5694).
4543 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
4545         * progmodes/python.el (run-python): Doc fix.
4546         (python-keep-current-directory-in-path): New var (Bug#7454).
4548 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
4550         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4551         Prompt user before actually printing.
4553 2010-11-27  Glenn Morris  <rgm@gnu.org>
4555         * startup.el (package-enable-at-startup, package-initialize):
4556         Remove unnecessary declarations.
4558 2010-11-27  Eli Zaretskii  <eliz@gnu.org>
4560         * international/characters.el (glyphless-char-display-control):
4561         Exclude newline and TAB from the c0-control group.
4563 2010-11-27  Glenn Morris  <rgm@gnu.org>
4565         * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
4566         (expand-mail-aliases): Remove unnecessary autoload.
4568         * allout.el (allout-command-prefix, allout-mode-map): Declare.
4570         * shell.el (shell-dir-cookie-re): Move definition before use.
4572         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
4573         Replace undefined CL functions.
4575 2010-11-26  Eli Zaretskii  <eliz@gnu.org>
4577         * simple.el (prog-mode): Set bidi-paragraph-direction to
4578         left-to-right.
4580         * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
4582 2010-11-26  Glenn Morris  <rgm@gnu.org>
4584         * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
4585         diary-outlook-formats can be sensitive to calendar-date-style.
4586         (diary-outlook-formats): Simplify the default setting.
4587         (diary-from-outlook-internal): Pass subject and body as arguments.
4588         Use dolist rather than dotimes.  Don't save the diary buffer.
4589         (diary-from-outlook-gnus, diary-from-outlook-rmail):
4590         Pass subject and body as explicit arguments to the -internal function.
4592 2010-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4594         * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
4595         parsing them.  This makes mailto:...?subject=foo\nbar work.
4597 2010-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4599         * vc/diff.el (diff): Fix last change.
4601 2010-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
4603         * emacs-lisp/pcase.el: Improve pcase-let.  Use "pcase--" prefix.
4604         (pcase--dontcare-upats): New var.
4605         (pcase-let, pcase-let*): Generate better code.
4606         Accept the same bodies as `let'.
4607         (pcase-dolist): New macro.
4608         (pcase--trivial-upat-p): New helper function.
4609         (pcase--expand): Strip leading "(let nil" if any.
4611 2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4613         * mail/mailclient.el (browse-url): Require.
4614         (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
4615         use the external browser function to send the mail (bug#7469).
4617         * net/browse-url.el (browse-url-browser-function): Revert the
4618         default back to the previous value, since the new value broke
4619         mailclient.el.
4620         (browse-url-mailto-function): New variable for mailto: URLs.
4621         (browse-url): Use the new variable for mailto: URLs.
4623 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4625         * eshell/esh-cmd.el (eshell-parse-command):
4626         * eshell/esh-arg.el (eshell-parse-arguments):
4627         * eshell/em-script.el (eshell-source-file):
4628         Use with-silent-modifications.
4630 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
4632         * vc/vc.el (vc-merge): Remove optional arg PROMPT.  Always prompt
4633         for a merge location.
4635         * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
4636         (vc-bzr-merge-branch): Always prompt.
4637         (vc-bzr-async-command): Use the full branch filename.
4639 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4641         * shell.el (shell): Use current-buffer by default if it's already
4642         a shell mode buffer and its process is dead.
4643         Suggested by Jose E. Marchesi <jemarch@gnu.org>.
4645 2010-11-23  Tassilo Horn  <tassilo@member.fsf.org>
4647         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4648         Mention that the keywords should be comma separated.
4650 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
4652         * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
4653         Accept optional prefix arg meaning to prompt for a command.
4654         (vc-update): Use vc-BACKEND-pull if available.  Accept optional
4655         prefix arg meaning to prompt for a command.
4656         (vc-pull): Alias for vc-update.
4658         * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
4659         (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
4660         (vc-bzr-merge-branch): New functions, implementing merge-branch
4661         and pull operations.
4663 2010-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4665         * Makefile.in: Fix up last merge.
4667         * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
4668         (diff-sentinel): Get them as arguments instead.
4669         (diff-old-file, diff-new-file, diff-extra-args): Remove.
4670         (diff-file-local-copy, diff-better-file-name): New funs.
4671         (diff-no-select): Rename from diff-into-buffer.
4672         Support buffers additionally to files.  Move `buf' arg.  Don't display buf.
4673         Prefer closures to buffer-local variables.
4674         (diff): Adjust accordingly.
4675         (diff-buffer-with-file): Move from files.el.
4676         * files.el (diff-buffer-with-file): Move to vc/diff.el.
4677         (diff-buffer-internal): Remove.
4678         (diff-buffer-buffer): Remove.
4679         (save-some-buffers-action-alist): Use diff-no-select so as not to guess
4680         the buffer name used, and so as not to mess up windows and frames.
4682 2010-11-22  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
4684         * files.el: Make revert work with diff-buffer-with-file (bug#7277).
4685         (diff-buffer-internal): New function extracted from diff-buffer-with-file
4686         (diff-buffer-with-file): Use it.
4687         * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
4688         (diff): Use it.
4690 2010-11-22  Tassilo Horn  <tassilo@member.fsf.org>
4692         * textmodes/reftex-ref.el (reftex-goto-label): Use the current
4693         \ref's or \pageref's value as default instead of initial input.
4695 2010-11-21  Michael Albinus  <michael.albinus@gmx.de>
4697         * files.el (backup-by-copying-when-mismatch): The default value is
4698         now t.
4700         * startup.el (normal-top-level):
4701         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4702         `backup-by-copying-when-mismatch'.
4704 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
4706         * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
4708 2010-11-21  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
4710         * progmodes/python.el (python-font-lock-keywords):
4711         Highlight top-level augmented assignments (Bug#6445).
4713 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
4715         * term/ns-win.el (ns-right-control-modifier)
4716         (ns-right-command-modifier): Defvar them.
4718         * cus-start.el (all): Add ns-right-control-modifier and
4719         ns-right-command-modifier (Bug#7458).
4721 2010-11-20  Glenn Morris  <rgm@gnu.org>
4723         * emacs-lisp/authors.el (authors-ignored-files)
4724         (authors-valid-file-names, authors-renamed-files-alist): Add entries.
4726 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
4728         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
4729         (report-emacs-bug-parse-query-results)
4730         (report-emacs-bug-create-existing-bugs-buffer): Pass through
4731         keywords used for querying the bug database to show them in the
4732         existing bugs buffer.
4734 2010-11-20  Jan Djärv  <jan.h.d@swipnet.se>
4736         * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
4738         * info.el (info-tool-bar-map): Add some :vert-only keywords.
4740 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
4742         * international/characters.el (glyphless-char-display-control):
4743         Make it a defcustom, with update-glyphless-char-display as its
4744         :set attribute.
4745         (top level): Don't call update-glyphless-char-display.
4747 2010-11-20  Michael Albinus  <michael.albinus@gmx.de>
4749         Sync with Tramp 2.2.0.
4751         * net/tramp.el (tramp-handle-insert-file-contents): Don't use
4752         `file-remote-p' (due to compatibility).
4754         * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
4755         (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
4757         * net/trampver.el: Update release number.
4759 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
4761         * faces.el (glyphless-char): Define value for `pc'.
4763 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
4765         Implemented a bug querying mechanism.
4766         * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
4767         (report-emacs-bug-create-existing-bugs-buffer)
4768         (report-emacs-bug-parse-query-results)
4769         (report-emacs-bug-query-existing-bugs): New functions.
4771 2010-11-19  Tassilo Horn  <tassilo@member.fsf.org>
4773         * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
4774         a \ref{} or \pageref{} macro, then use its value as initial input.
4776 2010-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
4778         * calc/calc-units.el (math-build-units-table-buffer):
4779         calc/README: Mention that the TeX specific units won't use the
4780         `tex' prefix in TeX mode.
4781         calc/calc-lang.el (math-variable-table): Don't use the `tex'
4782         prefix for units in TeX mode.
4784 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4786         * simple.el (kill-new, kill-append, kill-region):
4787         * comint.el (comint-kill-region): Make the yank-handler argument
4788         obsolete.
4790 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4792         * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
4793         that are both openers (resp. closers) and something else.
4794         (smie-grammar): Loosen definition of valid values.
4795         (smie-next-sexp, smie-down-list, smie-blink-matching-open)
4796         (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
4797         (smie-indent-after-keyword): Adjust users.
4798         (smie-indent-keyword): Don't indent empty lines.
4800         * vc-hg.el (vc-hg-program): New var.
4801         Suggested by Norman Gray <norman@astro.gla.ac.uk>.
4802         (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
4804 2010-11-18  Glenn Morris  <rgm@gnu.org>
4806         * emacs-lisp/autoload.el (autoload-find-destination): The function
4807         coding-system-eol-type may return non-numeric values.  (Bug#7414)
4809 2010-11-18  Ulrich Mueller  <ulm@gentoo.org>
4811         * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
4813 2010-11-18  Eli Zaretskii  <eliz@gnu.org>
4815         * subr.el (posn-col-row): Pay attention to header line.  (Bug#7390)
4817 2010-11-18  Chong Yidong  <cyd@stupidchicken.com>
4819         * textmodes/picture.el (picture-mouse-set-point): Don't use
4820         posn-col-row; explicitly compute the motion based on the posn at
4821         the window-start (Bug#7390).
4823 2010-11-18  Glenn Morris  <rgm@gnu.org>
4825         * novice.el (disabled-command-function):
4826         Fix 2009-11-15 change.  (Bug#7384)
4828 2010-11-18  Glenn Morris  <rgm@gnu.org>
4830         * calendar/calendar.el (diary-iso-date-forms): Make elements
4831         mutually exclusive.  (Bug#7377)
4833 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4835         * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
4836         when filling the remaining "unconstrained" values.
4838 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4840         * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
4841         safety predicate.
4843         * files.el (safe-local-variable-p): Gracefully handle errors.
4845         * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
4846         Use smie-indent-virtual when indenting relative to an opener.
4847         (smie-rule-separator): Use smie-rule-parent.
4848         (smie-indent-keyword): Consult rules, even for openers at bol.
4849         (smie-indent-comment-close): Try to align closer's content.
4851 2010-11-18  Glenn Morris  <rgm@gnu.org>
4853         * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
4855 2010-11-18  Glenn Morris  <rgm@gnu.org>
4857         * printing.el (pr-menu-bind): Doc fix.
4859         * speedbar.el (speedbar-toggle-images): Doc fix.
4861         * progmodes/python.el (python-shell): Doc fix.
4863         * wid-edit.el (widget-field-use-before-change)
4864         (widget-use-overlay-change): Doc fixes.
4866 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4868         Minor cleanup to improve style.
4869         * textmodes/rst.el (rst-update-section): Use point-marker.
4870         (rst-get-decoration): Eliminate unneeded assignment.
4871         (rst-promote-region, rst-straighten-decorations)
4872         (rst-section-tree, rst-adjust): Use point-marker.
4873         (rst-toc-mode-mouse-goto): Avoid setq.
4874         (rst-shift-region-guts, rst-shift-region-left)
4875         (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
4876         (rst-convert-bullets-to-enumeration): Use copy-marker.
4878         * minibuffer.el (completion-fail-discreetly): New var.
4879         (completion--do-completion): Use it.
4881         * electric.el (electric-pair-pairs): New var.
4882         (electric-pair-post-self-insert-function): Use it.
4883         (electric-layout-post-self-insert-function): Don't insert a before
4884         newline unless it's actually needed.
4886 2010-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4888         * progmodes/python.el (run-python): Explain why we remove the current
4889         directory from sys.path.  Suggested by Eric Hanchrow <erich@cozi.com>.
4891         * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
4893 2010-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4895         * progmodes/octave-mod.el: Rely on elecric-*-modes.
4896         (octave-mode-map): Don't bind ;, SPC, and LF.
4897         (octave-auto-indent, octave-auto-newline): Remove.
4898         (electric-layout-rules): Declare.
4899         (octave-mode): Set electric-layout-rules.
4900         (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
4901         (octave-reindent-then-newline-and-indent, octave-electric-semi)
4902         (octave-electric-space): Remove.
4904         * electric.el (electric-layout-mode): New minor mode.
4905         (electric--after-char-pos): New function.
4906         (electric-indent-post-self-insert-function): Use it.
4907         (electric-layout-rules): New var.
4908         (electric-layout-post-self-insert-function): New function.
4909         (electric-indent-mode): Make them interact better.
4911 2010-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4913         * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
4914         (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
4915         (checkdoc-proper-noun-region-engine): Use with-syntax-table.
4917 2010-11-15  Agustín Martín  <agustin.martin@hispalinux.es>
4919         * textmodes/flyspell.el (flyspell-generic-progmode-verify):
4920         Make sure to check inside the word (Bug#6761).
4922 2010-11-14  Chong Yidong  <cyd@stupidchicken.com>
4924         * startup.el (command-line): If the cursorColor resource is set,
4925         change the cursor face-spec (Bug#7392).
4927 2010-11-13  Ken Manheimer  <ken.manheimer@gmail.com>
4929         The main features of the following allout.el changes are:
4930         - implement user customization for the allout key bindings
4931         - add a customization control by which the user can inhibit use of
4932           a trailing Ctrl-H, so by default it's reserved for use with
4933           describe-prefix-bindings
4934         - adapt to new version of called-interactively-p, while
4935           maintaining backwards compatibility with old version
4936         - fix hotspot navigation so i works properly with meta-modified keys.
4938         * allout.el (allout-keybindings, allout-bind-keys)
4939         (allout-keybindings-binding, allout-prefixed-keybindings)
4940         (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
4941         (allout-keybindings-list, allout-mode-map-adjustments)
4942         (allout-setup-mode-map): Establish allout-mode keymaps as user
4943         customizable settings, and also establish a customizable setting which
4944         regulates whether or not a trailing control-h is reserved for use with
4945         describe-prefix-bindings - and inhibit it by default, so that control-h
4946         *is* reserved for describe-prefix-bindings unless the user changes it.
4948         * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
4949         and accurately between modified and unmodified events, and handle
4950         modified events more comprehensively.
4952         * allout.el (allout-substring-no-properties):
4953         Alias to use or provide version of `substring-no-properties'.
4954         (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
4956         * allout.el (allout-next-single-char-property-change):
4957         Alias to use or provide version of `next-single-char-property-change'.
4958         (allout-annotate-hidden, allout-hide-by-annotation):
4959         Use `allout-next-single-char-property-change'.
4961         * allout.el (allout-select-safe-coding-system):
4962         Alias to use or provide version of `select-safe-coding-system'.
4963         (allout-toggle-subtree-encryption):
4964         Use `allout-select-safe-coding-system'.
4966         * allout.el (allout-set-buffer-multibyte):
4967         Alias to use or provide version of `set-buffer-multibyte'.
4968         (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
4970         * allout.el (allout-called-interactively-p): Macro for using the
4971         different versions of called-interactively-p identically, depending on
4972         the subroutine's argument signature.
4973         (allout-back-to-current-heading, allout-beginning-of-current-entry):
4974         Use `(interactive "p")' instead of `(called-interactively-p)'.
4976         * allout.el (allout-init, allout-ascend, allout-end-of-level)
4977         (allout-previous-visible-heading, allout-forward-current-level)
4978         (allout-backward-current-level, allout-show-children):
4979         Use `allout-called-interactively-p' instead of `called-interactively-p'.
4981         * allout.el (allout-before-change-handler):
4982         Exempt edits to the (overlaid) character after the allout outline
4983         bullet from edit confirmation prompt.
4985         * allout.el (allout-add-resumptions):
4986         Ensure that it respects correct buffer for keybindings.
4988         * allout.el (allout-beginning-of-line):
4989         Use `allout-previous-single-char-property-change' alias for the sake of
4990         diverse compatibility.
4992         * allout.el (allout-end-of-line):
4993         Use `allout-mark-active-p' to encapsulate respect for mark activity.
4995 2010-11-13  Chong Yidong  <cyd@stupidchicken.com>
4997         * frame.el (frame-notice-user-settings): Don't clobber other
4998         user-set parameters when calling face-set-after-frame-default in
4999         response to background-color parameter (Bug#7373).
5001 2010-11-13  Eli Zaretskii  <eliz@gnu.org>
5003         * international/characters.el (glyphless-char-display-control):
5004         Rename from glyphless-char-control; all users changed.  Doc fix.
5005         Signal an error if display method is not one of the recognized
5006         symbols.
5008 2010-11-13  Michael Albinus  <michael.albinus@gmx.de>
5010         * net/tramp-compat.el (tramp-compat-line-beginning-position)
5011         (tramp-compat-line-end-position): Remove them.
5013         * net/tramp.el (tramp-parse-rhosts-group)
5014         (tramp-parse-shosts-group, tramp-parse-sconfig-group)
5015         (tramp-parse-hosts-group, tramp-parse-passwd-group)
5016         (tramp-parse-netrc-group, tramp-parse-putty-group)
5017         * net/tramp-cmds.el (tramp-append-tramp-buffers)
5018         * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
5019         (tramp-sh-handle-file-selinux-context)
5020         (tramp-sh-handle-file-name-all-completions)
5021         (tramp-sh-handle-insert-directory)
5022         (tramp-sh-handle-expand-file-name, tramp-find-executable)
5023         (tramp-wait-for-output, tramp-send-command-and-read)
5024         * net/tramp-smb.el (tramp-smb-read-file-entry)
5025         (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
5027         * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
5028         `point-at-bol'.
5029         (tramp-remote-coding-commands): Add an alternative using "base64
5030         -d -i".  This is needed for older base64 versions from GNU
5031         coreutils.  Reported by Klaus Reichl
5032         <Klaus.Reichl@thalesgroup.com>.
5034 2010-11-13  Hrvoje Niksic  <hniksic@xemacs.org>
5036         * simple.el (count-words-region): New function.
5038 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5040         * shell.el (shell-dir-cookie-re): New custom variable.
5041         (shell-dir-cookie-watcher): New function.
5043         * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
5044         and compilation-mode (bug#7350).
5046         * vc/smerge-mode.el (smerge-refine): Choose better default part to
5047         highlight when one of them is empty.
5049         * skeleton.el (skeleton-read): Don't use `newline' since it may strip
5050         trailing space.
5051         (skeleton-newline): New function.
5052         (skeleton-internal-1): Use it.
5054         * simple.el (open-line): `newline' may strip trailing space.
5056 2010-11-12  Kevin Ryde  <user42@zip.com.au>
5058         * international/mule-cmds.el (princ-list): Use mapc.
5060 2010-11-12  Glenn Morris  <rgm@gnu.org>
5062         * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
5063         Use it to replace all instances of "*Compile-Log*".
5065 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5067         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
5068         indentation specs.
5070 2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5072         * progmodes/modula2.el: Use SMIE and skeleton.
5073         (m2-mode-syntax-table): (*..*) can be nested.
5074         Add //...\n.  Fix paren syntax.
5075         (m2-mode-map): Remove LF and TAB bindings.
5076         (m2-indent): Add safety property.
5077         (m2-smie-grammar): New var.
5078         (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
5079         (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
5080         (m2-mode): Use define-derived-mode.
5081         (m2-newline, m2-tab): Remove.
5082         (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
5083         (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
5084         (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
5085         (m2-import): Use define-skeleton.
5087 2010-11-11  Glenn Morris  <rgm@gnu.org>
5089         * obsolete/lucid.el: Don't warn about any CL functions in this file.
5091         * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
5092         (ls-lisp-verbosity): Add custom :set-after property.
5093         (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
5094         (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
5095         (ls-lisp-insert-directory): Update caller.
5096         (ls-lisp-set-options): New function.
5097         (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
5098         Doc fix.
5100         * play/landmark.el (lm-prompt-for-move):
5101         * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
5103         * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
5105         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
5106         (idlwave-study-twins): Prefix dynamic local variable `name'.
5107         (idlwave-routine-twin-compare): Update for above change.
5109         * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
5110         Prefix dynamic local variables `name', `kwd', and `link'.
5111         * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
5112         * progmodes/idlw-complete-structtag.el
5113         (idlwave-complete-structure-tag-help):
5114         * progmodes/idlwave.el (idlwave-complete-sysvar-help)
5115         (idlwave-complete-sysvar-tag-help)
5116         (idlwave-complete-class-structure-tag-help):
5117         Update for above name changes.
5119 2010-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5121         * net/browse-url.el (browse-url-browser-function): Change the
5122         default to use `browse-url-mail' on mailto: URLs.
5124 2010-11-10  Chong Yidong  <cyd@stupidchicken.com>
5126         * emacs-lisp/package.el (package-read-all-archive-contents):
5127         Reset package-archive-contents to nil before re-reading.
5129 2010-11-10  Brandon Craig Rhodes  <brandon@rhodesmill.org>  (tiny change)
5131         * textmodes/flyspell.el (flyspell-word): Do not re-check words
5132         already found as misspellings by (flyspell-large-region), just
5133         do highlighting (bug#7322).
5135 2010-11-10  Glenn Morris  <rgm@gnu.org>
5137         * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
5139         * emulation/edt.el (edt-with-position): New macro.
5140         (edt-find-forward, edt-find-backward, edt-find-next-forward)
5141         (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
5142         (edt-paragraph-forward, edt-paragraph-backward): Use it.
5144         * emulation/tpu-extras.el (tpu-with-position): New macro.
5145         (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
5147         * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
5149         * textmodes/texnfo-upd.el (texinfo-all-menus-update)
5150         (texinfo-menu-copy-old-description, texinfo-start-menu-description)
5151         (texinfo-master-menu, texinfo-insert-node-lines)
5152         (texinfo-multiple-files-update):
5153         * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
5154         Use line-beginning-position.
5156         * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
5157         No recent Emacs supports system-type `emx'.
5159         * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
5160         (ada-command-separator, ada-default-prj-properties)
5161         (ada-find-any-references): Update for above name change.
5163         * dirtrack.el (dirtrack-directory-function)
5164         (dirtrack-canonicalize-function):
5165         * filecache.el (file-cache-completion-ignore-case)
5166         (file-cache-case-fold-search, file-cache-ignore-case):
5167         * term.el (serial-port-is-file-p): Cosmetic change.
5169         * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
5170         Remove non-existent `windows-95' system-type.
5171         * dired.el (dired-chown-program): Remove non-existent `linux'
5172         system-type.
5174         * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
5175         (ping-program-options): Remove non-existent `linux' system-type.
5177         * startup.el (package-initialize): Update declaration.
5179         * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
5180         (ls-lisp-handle-switches): Use time-less-p.
5181         (ls-lisp-format-time): Use float-time.
5183         * textmodes/remember.el (remember-time-to-seconds): Remove.
5184         (remember-store-in-mailbox): Use float-time.
5186         * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
5188         * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
5189         never a real function.
5190         (with-no-warnings): Remove compat stub, now unused.
5191         (time-less-p): Doc fix.
5192         (time-to-number-of-days): Simplify.
5194         * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
5195         Remove.
5196         (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
5197         * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
5198         * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
5199         * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
5200         * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
5202         * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
5203         (eshell-shuffle-files, eshell-shorthand-tar-command)
5204         (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
5205         Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
5206         * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
5207         Prefix dynamic local variable `matches'.
5209         * skeleton.el (skeleton-internal-list, skeleton-internal-1):
5210         Prefix dynamic local variable `skeleton'.
5212 2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
5214         * net/browse-url.el (browse-url-mail): Insert body part of mailto url
5215         in mail buffer; make yank-action always a command that yanks original
5216         buffer.
5218 2010-11-09  Glenn Morris  <rgm@gnu.org>
5220         * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
5222 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5224         * minibuffer.el (minibuffer-completion-help): Specify the end of the
5225         completion field (bug#7211).
5227         * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
5228         Fix handling of backslash escapes.
5229         (python-quote-syntax): Adjust accordingly.
5231 2010-11-09  Richard Levitte  <richard@levitte.org>  (tiny change)
5233         * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
5234         (vc-mtn-workfile-branch): Adjust to new output format.
5236 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5238         * international/mule-cmds.el (princ-list): Mark as obsolete.
5240 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5242         * emacs-lisp/smie.el: New package.
5244 2010-11-09  Michael Albinus  <michael.albinus@gmx.de>
5246         * files.el (backup-by-copying-when-mismatch):
5247         Set `permanent-local' property.
5249         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
5250         `permanent-local' property for `backup-by-copying-when-mismatch'.
5252 2010-11-09  Eli Zaretskii  <eliz@gnu.org>
5254         * ls-lisp.el (insert-directory): Doc fix.  (bug#7285)
5256 2010-11-09  Wilson Snyder  <wsnyder@wsnyder.org>
5258         * progmodes/verilog-mode.el (verilog-insert-one-definition)
5259         (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
5260         AUTOINOUT for SV style multidimensional arrays, bug294.
5261         Reported by Eric Mastromarchi.
5262         (verilog-preprocess): Use with-current-buffer and
5263         font-lock-fontify-buffer to cleanup style issues.
5265 2010-11-09  Glenn Morris  <rgm@gnu.org>
5267         * locate.el (locate, locate-mode): Doc fixes.
5269 2010-11-09  Chong Yidong  <cyd@stupidchicken.com>
5271         * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
5272         user for confirmation.
5273         (server-force-stop): Use it.
5274         (server-start): Use server-force-stop for kill-emacs-hook, to
5275         avoid user interaction while killing Emacs.
5277 2010-11-09  Glenn Morris  <rgm@gnu.org>
5279         * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
5280         (meta-indent-line): Simplify.
5282         * vc/emerge.el (emerge-line-number-in-buf):
5283         * textmodes/ispell.el (ispell-region):
5284         * textmodes/fill.el (current-fill-column):
5285         * progmodes/xscheme.el (xscheme-send-current-line):
5286         * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
5287         * progmodes/tcl.el (tcl-hairy-scan-for-comment):
5288         * progmodes/sh-script.el (sh-handle-prev-do):
5289         * progmodes/meta-mode.el (meta-indent-line):
5290         * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
5291         (idlwave-in-quote):
5292         * progmodes/idlw-shell.el (idlwave-shell-current-frame)
5293         (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
5294         * progmodes/fortran.el (fortran-looking-at-if-then):
5295         * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
5296         * progmodes/cperl-mode.el (cperl-sniff-for-indent)
5297         (cperl-find-pods-heres):
5298         * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
5299         * net/quickurl.el (quickurl-list-insert):
5300         * net/ldap.el (ldap-search-internal):
5301         * net/eudc.el (eudc-expand-inline):
5302         * mail/sendmail.el (sendmail-send-it):
5303         * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
5304         * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
5305         (viper-brac-function):
5306         * calc/calc-yank.el (calc-do-grab-region):
5307         * calc/calc-keypd.el (calc-keypad-press):
5308         * term.el (term-move-columns, term-insert-spaces):
5309         * speedbar.el (speedbar-highlight-one-tag-line):
5310         * simple.el (current-word):
5311         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
5312         * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
5313         (Info-scroll-down):
5314         * hippie-exp.el (he-line-beg):
5315         * epa.el (epa--marked-keys):
5316         * dired-aux.el (dired-kill-line, dired-do-kill-lines)
5317         (dired-update-file-line, dired-add-entry, dired-remove-entry)
5318         (dired-relist-entry):
5319         * buff-menu.el (Buffer-menu-buffer):
5320         * array.el (current-line):
5321         * allout.el (allout-resolve-xref)
5322         (allout-latex-verbatim-quote-curr-line):
5323         Replace yet more uses of end-of-line etc with line-end-position, etc.
5325 2010-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5327         * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
5328         (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
5329         (checkdoc-syntax-table): Initialize in the declaration.
5330         (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
5331         the mode on unconditionally.
5333         * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
5334         (extent-end-position, extent-start-position): Remove setf method for
5335         non-existing functions (bug#7319).
5337 2010-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5339         * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
5340         (smie-precs->prec2): Rename from smie-precs-precedence-table.
5341         (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
5342         (smie-prec2->grammar): Rename from smie-prec2-levels.
5343         (smie-grammar): Rename from smie-op-levels.
5344         (smie-indent--hanging-p): Rename from smie-hanging-p.
5345         (smie-rule-hanging-p): New alias.
5346         (smie-indent--bolp): Rename from smie-bolp.
5347         (smie-indent--hanging-p): New alias.
5348         (smie--token): New dynamically bound variable.
5349         (smie-indent--parent): New function.
5350         (smie-rule-parent-p): Use it; rename from smie-parent-p.
5351         (smie-rule-next-p): Rename from smie-next-p.
5352         (smie-rule-prev-p): Rename from smie-prev-p.
5353         (smie-rule-sibling-p, smie-rule-parent)
5354         (smie-indent--separator-outdent, smie-rule-separator): New functions.
5355         (smie-rule-separator-outdent): New var.
5356         (smie-indent--rule): Merge with smie-indent--column.
5357         (smie-indent-forward-token, smie-indent-backward-token):
5358         Also recognize close parens.
5359         (smie-indent-keyword): Don't use smie-indent--column any more.
5360         (smie-indent-after-keyword): Ignore closers by default.
5361         (smie-indent-line): Use with-demoted-errors.
5362         * progmodes/octave-mod.el (octave-smie-grammar):
5363         Rename from octave-smie-op-levels.
5364         (octave-smie-rules): Adjust to new behavior.
5365         * progmodes/prolog.el (prolog-smie-grammar):
5366         Rename from prolog-smie-op-levels.
5368 2010-11-07  Glenn Morris  <rgm@gnu.org>
5370         * eshell/esh-util.el (subst-char-in-string)
5371         (directory-files-and-attributes): These compatibility definitions are
5372         not needed on any version of Emacs since at least 21.4.
5374         * progmodes/verilog-mode.el (verilog-get-beg-of-line)
5375         (verilog-get-end-of-line): Remove.
5376         (verilog-within-string, verilog-re-search-forward-substr)
5377         (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
5378         (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
5379         Use point-at-bol, point-at-eol.
5380         * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
5381         Remove.
5382         (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
5383         (electric-pascal-terminate-line, pascal-set-auto-comments)
5384         (pascal-indent-paramlist, pascal-indent-declaration)
5385         (pascal-get-lineup-indent, pascal-func-completion)
5386         (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
5387         Use point-at-bol, point-at-eol.
5388         * progmodes/flymake.el (flymake-line-beginning-position)
5389         (flymake-line-end-position): Remove.
5390         (flymake-highlight-line): Use point-at-bol, point-at-eol.
5391         * eshell/esh-util.el (line-end-position, line-beginning-position):
5392         Remove compat definitions.
5394         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
5395         Use end-of-line N.
5396         (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
5397         Use line-end-position.
5399         * emacs-lisp/chart.el (chart-zap-chars):
5400         * play/decipher.el (decipher-set-map):
5401         * progmodes/ada-mode.el (ada-get-current-indent)
5402         (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
5403         * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
5404         * progmodes/ada-xref.el (ada-initialize-runtime-library)
5405         (ada-get-all-references):
5406         * progmodes/cperl-mode.el (cperl-electric-paren)
5407         (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
5408         (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
5409         (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
5410         (cperl-word-at-point-hard):
5411         * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
5412         (idlwave-shell-filename-string, idlwave-shell-batch-command)
5413         (idlwave-shell-display-line):
5414         * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
5415         (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
5416         * progmodes/js.el (js--re-search-forward-inner)
5417         (js--re-search-backward-inner):
5418         * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
5419         (vhdl-fix-clause, vhdl-compose-configuration-architecture):
5420         * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
5421         * textmodes/flyspell.el (flyspell-process-localwords):
5422         * textmodes/ispell.el (ispell-buffer-local-parsing)
5423         (ispell-buffer-local-dict, ispell-buffer-local-words):
5424         Use point-at-bol and point-at-eol.
5426         * speedbar.el (speedbar-generic-item-info)
5427         (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
5428         (speedbar-add-indicator, speedbar-check-vc-this-line)
5429         (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
5430         (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
5431         Replace more uses of end-of-line etc with line-end-position.
5433 2010-11-06  Glenn Morris  <rgm@gnu.org>
5435         * textmodes/texnfo-upd.el (texinfo-start-menu-description)
5436         (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
5437         (texinfo-delete-existing-pointers, texinfo-find-pointer)
5438         (texinfo-clean-up-node-line, texinfo-insert-node-lines)
5439         (texinfo-multiple-files-update):
5440         * textmodes/table.el (table--probe-cell-left-up)
5441         (table--probe-cell-right-bottom):
5442         * textmodes/picture.el (picture-tab-search):
5443         * textmodes/page-ext.el (pages-copy-header-and-position)
5444         (pages-directory-for-addresses):
5445         * progmodes/vera-mode.el (vera-get-offset):
5446         * progmodes/simula.el (simula-calculate-indent):
5447         * progmodes/python.el (python-pdbtrack-overlay-arrow):
5448         * progmodes/prolog.el (end-of-prolog-clause):
5449         * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
5450         * progmodes/icon.el (indent-icon-exp):
5451         * progmodes/etags.el (tag-re-match-p):
5452         * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
5453         * progmodes/ebnf2ps.el (ebnf-begin-file):
5454         * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
5455         (dcl-save-local-variable):
5456         * play/life.el (life-setup):
5457         * play/gametree.el (gametree-looking-at-ply):
5458         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
5459         * mail/sendmail.el (mail-mode-auto-fill):
5460         * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
5461         * emacs-lisp/edebug.el (edebug-overlay-arrow):
5462         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
5463         * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
5464         (woman-tab-to-tab-stop, WoMan-warn-ignored):
5465         * type-break.el (type-break-file-keystroke-count):
5466         * term.el (term-replace-by-expanded-history-before-point)
5467         (term-skip-prompt, term-extract-string):
5468         * speedbar.el (speedbar-edit-line, speedbar-expand-line)
5469         (speedbar-contract-line, speedbar-toggle-line-expansion)
5470         (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
5471         (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
5472         * sort.el (sort-skip-fields):
5473         * skeleton.el (skeleton-internal-list):
5474         * simple.el (line-move-finish, line-move-to-column):
5475         * shell.el (shell-forward-command):
5476         * misc.el (copy-from-above-command):
5477         * makesum.el (double-column):
5478         * ebuff-menu.el (electric-buffer-update-highlight):
5479         * dired.el (dired-move-to-end-of-filename):
5480         * dframe.el (dframe-popup-kludge):
5481         * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
5482         * arc-mode.el (archive-get-lineno):
5483         Use line-end-position and line-beginning-position.
5485         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
5486         (idlwave-study-twins): Prefix dynamic local `class'.
5487         (idlwave-routine-twin-compare): Update for above name change.
5489         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
5490         Use boundp tests to silence compiler.  Update for changed name of
5491         bytecomp-filename variable.
5493         * emulation/viper-cmd.el (viper-read-string-with-history):
5494         Prefix dynamic local `initial'.
5495         (viper-minibuffer-standard-hook): Update for above name change.
5497         * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
5498         (elint-init-form): Update for above name change.
5500         * mail/mail-extr.el (mail-extract-address-components): Give dynamic
5501         local variables `cbeg' and `cend' a prefix.
5502         (mail-extr-voodoo): Update for above name change.
5504         * textmodes/reftex-toc.el (reftex-toc-do-promote)
5505         (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
5506         (reftex-toc-promote-action): Doc fix.
5508         * textmodes/reftex-sel.el (reftex-select-item): Give local variables
5509         `prompt', `data' a prefix.
5510         (reftex-select-post-command-hook, reftex-select-callback)
5511         (reftex-select-mouse-accept, reftex-select-read-cite):
5512         Update for above name changes.
5514         * textmodes/reftex-ref.el (reftex-reference): Rename local variable
5515         `refstyle' to reftex-refstyle.
5516         (reftex-offer-label-menu): Update for above name change.
5517         * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
5518         `refstyle' name change.
5520         * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
5521         with with-current-buffer.
5522         (diff, template): Give dynamic local variables a prefix.
5523         (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
5524         (emerge-line-number-in-buf): Update for above name change.
5525         (emerge-combine-versions-internal): Rename local `template' to
5526         emerge-combine-template.
5527         (emerge-combine-versions-edit): Update for above name change.
5529 2010-11-06  Ralf Angeli  <angeli@caeruleus.net>
5531         * textmodes/reftex-cite.el
5532         (reftex-extract-bib-entries-from-thebibliography): Match bibitem
5533         entries with whitespace after \bibitem.
5534         (reftex-create-bibtex-file): Match entries containing numbers and
5535         symbol constituents.  Make sure that entries with whitespace at
5536         various places are found.
5538 2010-11-05  Christian Millour  <cm@abtela.com>  (tiny change)
5540         * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
5542 2010-11-05  Jan Djärv  <jan.h.d@swipnet.se>
5544         * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
5546 2010-11-05  Glenn Morris  <rgm@gnu.org>
5548         * woman.el (woman0-roff-buffer, woman1-roff-buffer)
5549         (woman2-roff-buffer): Give local variable `request' a prefix.
5550         (woman0-macro): Rename argument `request' in the same way.
5551         (woman-request): New name for `request' dynamic variable.
5552         (woman-unquote, woman-forward-arg): Update for above name change.
5553         (woman1-roff-buffer): Give local variable `unquote' a prefix.
5554         (woman1-unquote): New name for `unquote' dynamic variable.
5555         (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
5556         (woman-translations): Rename from `translations'.  No longer global.
5557         (woman2-tr, woman-translate): Update for above name change.
5558         (woman-translate): Check for bound variable.
5559         (woman2-roff-buffer): Give local variable `translations' a prefix.
5561         * play/doctor.el: Give all local variables a prefix.  Update callers.
5562         (doc$, doctor-put-meaning): Use backquote.
5564         * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
5565         (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
5567         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
5568         variables bytes, ptr, op a prefix.
5569         (disassemble-offset): Update for above change.
5571 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
5573         * emacs-lisp/package.el (package-unpack): Remove no-op.
5574         (package--builtins, package--dir): Doc fix.
5575         (package-activate-1, package-activate, package-install)
5576         (package-compute-transaction): Fix error message.
5577         (package-delete): Use delete-directory.  Omit system packages.
5578         (package-initialize): Set package-alist to nil first.
5579         (package-menu-mark-delete, package-menu-mark-install): Don't add
5580         symbols that are inconsistent with the package state.
5581         (package-menu-execute): Perform deletions and installations as
5582         single batch operations.
5584 2010-11-03  Glenn Morris  <rgm@gnu.org>
5586         * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
5587         (props): Remove unnecessary declaration.
5589         * textmodes/ispell.el (ispell-init-process): On Emacs, always use
5590         set-process-query-on-exit-flag.
5592         * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
5593         (reftex-toc-do-promote): Remove unused local `mpos'.
5594         (reftex-toc-restore-region): Make `mpos' local to this function.
5596         * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
5598         * play/landmark.el (lm-losing-threshold): Correct spelling.
5599         (lm-human-plays): Use new name.
5601         * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
5602         (gomoku-human-plays): Use new name.
5604         * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
5605         (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
5606         (gomoku-score-trans-table, gomoku-winning-threshold)
5607         (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
5609 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
5611         * emacs-lisp/package.el: Don't put built-in packages in
5612         package-alist, to avoid loading inefficiencies.
5613         (package-built-in-p): Make VERSION optional, and treat it as a
5614         minimum acceptable version.
5615         (package-activate): Search separately for built-in packages.
5616         Emit a warning if a dependency fails.
5617         (define-package): Handle most common case, where there is no
5618         obsolete package, first.
5619         (package-compute-transaction): Print required version in error.
5620         (package--initialized): New variable.
5621         (list-packages): Use it.
5622         (package-initialize): Optional arg NO-ACTIVATE.  Don't put
5623         built-in packages in packages-alist; keep it separate.
5624         Set package--initialized.
5625         (describe-package): Avoid activating packages as a side-effect.
5626         Search separately for built-in packages.
5627         (describe-package-1): Handle the case where an elpa package is
5628         simultaneously built-in and available/installed.
5629         (package-installed-p, package--generate-package-list):
5630         Search separately for built-in packages.
5631         (package-load-descriptor): Doc fix.
5633 2010-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5635         * progmodes/perl-mode.el (perl-syntax-propertize-function):
5636         Handle __DATA__ and __END__.
5638 2010-11-02  Noah Friedman  <friedman@splode.com>
5640         * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
5641         nil, do not ask to recompile files that are not already compiled,
5642         and do not recompile them.
5644 2010-11-02  Chong Yidong  <cyd@stupidchicken.com>
5646         * emacs-lisp/package.el (package-initialize): Ensure that
5647         obsoleted built-in packages are not in package-activated-list
5648         during activation.
5649         (describe-package-1): Make the "installed" status override
5650         "built-in".
5652 2010-11-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
5654         * subr.el (version-separator, version-regexp-alist): Remove '*'
5655         from docstring.
5656         (version-list-<=, version<=, version=): Doc fix.
5658 2010-11-01  Kenichi Handa  <handa@m17n.org>
5660         * faces.el (glyphless-char): Inherit underline for tty.
5662 2010-11-01  Kenichi Handa  <handa@m17n.org>
5664         Implement various display methods for glyphless characters.
5666         * international/characters.el (char-acronym-table): New variable.
5667         (glyphless-char-control): New variable.
5668         (update-glyphless-char-display): New function.
5670         * faces.el (glyphless-char): New face.
5672 2010-11-01  Glenn Morris  <rgm@gnu.org>
5674         * calendar/holidays.el (general-holidays, oriental-holidays)
5675         (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
5676         (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
5677         the definitions of their targets.
5679         * emacs-lisp/smie.el (smie): New custom group.
5680         (smie-blink-matching-inners, smie-indent-basic): Add :group.
5682         * faces.el (xw-defined-colors, x-setup-function-keys):
5683         * mouse-sel.el (x-select-text):
5684         * term/w32console.el (x-setup-function-keys): Update declarations.
5686         * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
5688         * textmodes/ispell.el (comment-add): Declare.
5690         * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
5691         Declare.
5693         * info.el (finder-keywords-hash, package-alist): Declare.
5695 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
5697         * finder.el (finder-compile-keywords): Don't use intern-soft,
5698         since package names may not yet exist in the obarray.
5700 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
5702         * vc/vc-arch.el (vc-arch-checkin):
5703         * vc/vc-cvs.el (vc-cvs-checkin):
5704         * vc/vc-mtn.el (vc-mtn-checkin):
5705         * vc/vc-rcs.el (vc-rcs-checkin):
5706         * vc/vc-sccs.el (vc-sccs-checkin):
5707         * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
5708         since 2010-04-21 commit by Stefan Monnier.
5710 2010-11-01  Glenn Morris  <rgm@gnu.org>
5712         * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
5714         * startup.el (package-enable-at-startup, package-initialize):
5715         Silence compiler.
5717         * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
5718         Silence compiler.
5720 2010-10-31  Julien Danjou  <julien@danjou.info>
5722         * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
5723         (byte-recompile-directory):
5724         * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
5725         Use `byte-recompile-file'.
5727 2010-10-31  Glenn Morris  <rgm@gnu.org>
5729         * cus-start.el: Handle standard values via a keyword.
5730         Only set version property if specified.
5731         (cursor-in-non-selected-windows, menu-bar-mode)
5732         (tool-bar-mode, show-trailing-whitespace):
5733         Do not specify standard values.
5734         (transient-mark-mode, temporary-file-directory): Use :standard.
5736 2010-10-31  Jan Djärv  <jan.h.d@swipnet.se>
5738         * term/x-win.el (x-get-selection-value): New function that gets
5739         PRIMARY with type as specified in x-select-request-type.  (Bug#6802)
5741 2010-10-31  Michael Albinus  <michael.albinus@gmx.de>
5743         * net/tramp.el (tramp-handle-insert-file-contents): For root,
5744         preserve owner and group when editing files.  (Bug#7289)
5746 2010-10-31  Glenn Morris  <rgm@gnu.org>
5748         * speedbar.el (speedbar-mode):
5749         * play/fortune.el (fortune-in-buffer, fortune):
5750         * play/gomoku.el (gomoku-mode):
5751         * play/landmark.el (lm-mode):
5752         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
5753         Replace inappropriate uses of toggle-read-only.  (Bug#7292)
5755         * select.el (x-selection): Mark it as an obsolete alias.
5757 2010-10-31  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
5759         * vc/add-log.el (find-change-log): Use derived-mode-p rather than
5760         major-mode (bug#7284).
5762 2010-10-31  Glenn Morris  <rgm@gnu.org>
5764         * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
5765         rather than just an unused variable that inherits from the real one.
5767 2010-10-31  Alan Mackenzie  <acm@muc.de>
5769         * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
5770         This fixes bug #7185.
5772 2010-10-30  Chong Yidong  <cyd@stupidchicken.com>
5774         * startup.el (command-line): Search for package directories, and
5775         don't load package.el if none are found.
5777         * emacs-lisp/package.el (describe-package, list-packages):
5778         Call package-initialize if it has not been called yet.
5780 2010-10-30  Alan Mackenzie  <acm@muc.de>
5782         * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
5783         which fontifies the tail of an enum.
5784         (c-basic-matchers-after): Insert a call to the above new function.
5785         This fixes bug #7264.
5787 2010-10-30  Glenn Morris  <rgm@gnu.org>
5789         * cus-start.el: Add :set properties for minor modes menu-bar-mode,
5790         tool-bar-mode, transient-mark-mode.  (Bug#7306)
5791         Include the :set property in the dumped Emacs.
5793 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5795         SMIE: change indent rules format, improve smie-setup.
5796         * emacs-lisp/smie.el (smie-precs-precedence-table)
5797         (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
5798         Mark them pure so the tables gets built at compile time.
5799         (smie-bnf-precedence-table): Store the closer-alist in the table.
5800         (smie-prec2-levels): Preserve the closer-alist.
5801         (smie-blink-matching-open): Be more forgiving in case of indentation.
5802         (smie-hanging-p): Rename from smie-indent--hanging-p.
5803         (smie-bolp): Rename from smie-indent--bolp.
5804         (smie--parent, smie--after): New dynamic vars.
5805         (smie-parent-p, smie-next-p, smie-prev-p): New funs.
5806         (smie-indent-rules): Remove.
5807         (smie-indent--offset-rule): Remove fun.
5808         (smie-rules-function): New var.
5809         (smie-indent--rule): New fun.
5810         (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
5811         (smie-indent-exps): Use it.
5812         (smie-setup): Setup paren blinking; add keyword args for token
5813         functions; extract closer-alist from op-levels.
5814         (smie-indent-debug-log): Remove var.
5815         (smie-indent-debug): Remove fun.
5816         * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
5817         (prolog-smie-rules): New fun to replace it.
5818         (prolog-mode-variables): Simplify.
5819         * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
5820         it's setup automatically.
5821         (octave-smie-indent-rules): Remove.
5822         (octave-smie-rules): New fun to replace it.
5823         (octave-mode): Simplify.
5825 2010-10-29  Glenn Morris  <rgm@gnu.org>
5827         * files.el (temporary-file-directory): Remove (already defined in C).
5828         * cus-start.el: Add temporary-file-directory.
5830         * abbrev.el (abbrev-mode):
5831         * composite.el (auto-composition-mode):
5832         * menu-bar.el (menu-bar-mode):
5833         * simple.el (transient-mark-mode):
5834         * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
5835         that they do not define the associated variables twice.
5836         * simple.el (transient-mark-mode): Remove defvar.
5837         * composite.el (auto-composition-mode): Make variable auto-buffer-local.
5838         * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
5839         Handle multiple groups, and also custom-delayed-init-variables.
5840         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5842 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5844         * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
5845         (pcase-if): Add one minor optimization.
5846         (pcase-split-equal): Rename from pcase-split-eq.
5847         (pcase-split-member): Rename from pcase-split-memq.
5848         (pcase-u1): Add strings to the member optimization.
5849         Add `guard' variant of predicates.
5850         (pcase-q1): Add string patterns.
5852 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5854         * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
5856 2010-10-28  Glenn Morris  <rgm@gnu.org>
5858         * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5859         Move menu-bar related settings to ../menu-bar.el.
5860         * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5861         Move ns-specific settings here from term/ns-win.el.
5863         * simple.el (x-selection-owner-p): Remove unused declaration.
5865 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5867         * minibuffer.el (completion-cycling): New var (bug#7266).
5868         (minibuffer-complete, completion--do-completion):
5869         Use completion--flush-all-sorted-completions.
5870         (minibuffer-complete): Only cycle if completion-cycling is set.
5871         (completion--flush-all-sorted-completions): Unset completion-cycling.
5872         (minibuffer-force-complete): Set completion-cycling.
5873         (completion-all-sorted-completions): Move declaration before first use.
5875 2010-10-28  Leo  <sdl.web@gmail.com>
5877         * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
5878         which changes the order of matches seen by users (bug#7231).
5880 2010-10-28  Jes Bodi Klinke  <jes@bodi-klinke.dk>  (tiny change)
5882         * progmodes/compile.el (compilation-mode-font-lock-keywords):
5883         Don't confuse -omega as "-o mega".
5885 2010-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5887         * vc/log-edit.el (log-edit-rewrite-fixes): New var.
5888         (log-edit-author): New dynamic var.
5889         (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
5890         to return the author if different from committer.
5891         (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
5893         * play/landmark.el: Adjust commenting convention.
5894         (lm-nil-score): Rename from nil-score.
5895         (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
5896         (OOOOscore): Move into a let in lm-score-trans-table.
5897         (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
5899         * electric.el (electric-indent-chars): Autoload.
5900         * progmodes/octave-mod.el (octave-mode):
5901         * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
5902         (ruby-mode-abbrev-table): Merge initialization and declaration.
5904 2010-10-27  Glenn Morris  <rgm@gnu.org>
5906         * abbrev.el (abbrev-mode): Remove one of the three definitions of this
5907         variable.
5909         * server.el (server-host, server-port, server-auth-dir): Autoload risky.
5911         * term/ns-win.el: Restore require of cl when compiling.
5912         (menu-bar-final-items): Remove non-existent `windows' menu.
5913         (ns-handle-nxopen): Optionally handle the temp-case.
5914         (ns-handle-nxopentemp): Just call ns-handle-nxopen.
5915         (ns-insert-file, ns-find-file): Use `pop'.
5917 2010-10-26  Glenn Morris  <rgm@gnu.org>
5919         * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
5921 2010-10-26  Adrian Robert  <Adrian.B.Robert@gmail.com>
5923         * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
5924         global map.
5925         * term/common-win.el (x-setup-function-keys): Remove most of the
5926         keymappings.  Comment on the remaining ones.
5928 2010-10-26  Peter Oliver  <p.d.oliver@mavit.org.uk>  (tiny change)
5930         * server.el (server-port): New option.  (Bug#854)
5931         (server-start): Use server-port.
5933 2010-10-26  Glenn Morris  <rgm@gnu.org>
5935         * term/ns-win.el (ns-version-string): Remove unused declaration.
5936         (ns-invocation-args): Change to x-invocation-args.
5937         (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
5938         (ns-handle-name-switch, ns-ignore-2-arg): Remove.
5939         (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
5940         Use x-invocation-args instead of ns-invocation-args.
5941         (ns-initialize-window-system, handle-args-function-alist):
5942         Use x-handle-args instead of ns-handle-args.
5943         * term/common-win.el (x-handle-args): Also handle nextstep arguments.
5944         * startup.el (command-line-ns-option-alist): Replace
5945         ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
5946         ns-handle-iconic with the x- equivalents.
5948         * term/common-win.el (x-select-enable-clipboard):
5949         * term/pc-win.el (x-select-enable-clipboard): Doc fix.
5951         * term/ns-win.el: No need to require cl when compiling.
5952         (x-display-name, x-setup-function-keys, x-select-text, x-colors)
5953         (xw-defined-colors): Use the common-win definitions.
5954         (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
5955         (ns-handle-iconic): Make it an alias for x-handle-iconic.
5956         * term/common-win.el (x-select-text, x-alternatives-map)
5957         (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
5958         * loadup.el [ns]: Load common-win.
5960 2010-10-26  Daiki Ueno  <ueno@unixuser.org>
5962         * epa-mail.el (epa-mail-encrypt): Handle local-part only
5963         recipients; expand mail aliases (Bug#7280).
5965 2010-10-25  Glenn Morris  <rgm@gnu.org>
5967         * term/common-win.el (x-handle-switch): Simplify with pop.
5968         Optionally handle numeric switches.
5969         (x-handle-numeric-switch): Just call x-handle-switch.
5970         (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
5971         (x-handle-name-switch, x-handle-display, x-handle-args):
5972         Simplify with pop.
5974         * term/ns-win.el: Do not require easymenu.
5975         (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
5976         <spell>: Move adjustments to menu-bar.el.
5977         * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
5978         <separator-undo, spell>: Move ns-win's adjustments here.
5979         * loadup.el [ns]: Do not load easymenu.
5981 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5983         * image.el (image-checkbox-checked, image-checkbox-unchecked):
5984         Delete (Bug#7222).
5986         * startup.el (fancy-startup-tail): Instead of using inline images,
5987         refer to image files from etc/.
5989         * wid-edit.el (checkbox): Likewise.
5990         (widget-image-find): Center image specs.
5992 2010-10-24  Glenn Morris  <rgm@gnu.org>
5994         * term/ns-win.el (x-select-text): Doc fix.
5995         * w32-fns.el (x-alternatives-map, x-setup-function-keys)
5996         (x-select-text): Move to term/common-win.
5997         * term/w32-win.el (xw-defined-colors): Move to common-win.
5998         * term/x-win.el (xw-defined-colors, x-alternatives-map)
5999         (x-setup-function-keys, x-select-text): Move to common-win.
6000         * term/common-win.el (x-select-text, x-alternatives-map)
6001         (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
6002         definitions here.
6004 2010-10-24  T.V. Raman  <tv.raman.tv@gmail.com>  (tiny change)
6006         * net/mairix.el (mairix-searches-mode-map):
6007         * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
6009 2010-10-24  Michael McNamara  <mac@mail.brushroad.com>
6011         * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
6012         auto-built for efficiency of execution and updating.
6013         (verilog-extended-complete-re): Support 'pure' fucntion & task
6014         declarations (these have no bodies).
6015         (verilog-beg-of-statement): General cleanup to enable support of
6016         'pure' fucntion & task declarations (these have no bodies).
6017         These efforts together fix Verilog bug210 from veripool; which was also
6018         noticed by Steve Pearlmutter.
6019         (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
6020         (verilog-directive-nest-re, verilog-set-auto-endcomments):
6021         Support `elsif.  Reported by Shankar Giri.
6022         (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
6023         attribute handling for lining up declarations and assignments.
6024         (verilog-beg-of-statement-1): Fix issue where continued declaration
6025         is indented differently if it is after a begin..end clock.
6026         (verilog-in-attribute-p, verilog-skip-backward-comments)
6027         (verilog-skip-forward-comment-p): Support proper treatment of
6028         attributes by indent code.  Reported by Jeff Steele.
6029         (verilog-in-directive-p): Fix comment to correctly describe function.
6030         (verilog-backward-up-list, verilog-in-struct-region-p)
6031         (verilog-backward-token, verilog-in-struct-p)
6032         (verilog-in-coverage-p, verilog-do-indent)
6033         (verilog-pretty-declarations): Use verilog-backward-up-list as
6034         wrapper around backward-up-list inorder to properly skip comments.
6035         Reported by David Rogoff.
6036         (verilog-property-re, verilog-endcomment-reason-re)
6037         (verilog-beg-of-statement, verilog-set-auto-endcomments)
6038         (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
6039         of if).  Reported by Max Bjurling and
6040         (verilog-calc-1): Fix for clocking block in modport
6041         declaration.  Reported by Brian Hunter.
6043 2010-10-24  Wilson Snyder  <wsnyder@wsnyder.org>
6045         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
6046         (verilog-gate-keywords, verilog-read-sub-decls)
6047         (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
6048         (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
6049         AUTOINST for gate primitives, bug284.  Reported by Mark Johnson.
6050         (verilog-read-decls): Fix spaces in V2K module parameters causing
6051         mis-identification as interfaces, bug287.
6052         (verilog-read-decls): Fix not treating "parameter string" as a
6053         parameter in AUTOINSTPARAM.
6054         (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
6055         treating `elsif similar to `endif inside AUTOSENSE.
6056         (verilog-do-indent): Implement correct automatic or static task or
6057         function end comment highlight.  Reported by Steve Pearlmutter.
6058         (verilog-font-lock-keywords-2): Fix highlighting of single
6059         character pins, bug264.  Reported by Michael Laajanen.
6060         (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
6061         (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
6062         (verilog-subdecls-get-interfaced, verilog-subdecls-new):
6063         Support interfaces with AUTOINST, bug270.  Reported by Luis Gutierrez.
6064         (verilog-pretty-expr): Fix interactive arguments, bug272.
6065         Reported by Mark Johnson.
6066         (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
6067         Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
6068         bug269.  Suggested by Gary Delp.
6069         (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
6070         (verilog-preprocessor, verilog-set-compile-command):
6071         Create verilog-preprocess and verilog-preprocessor to show
6072         preprocessed output.
6073         (verilog-get-beg-of-line, verilog-get-end-of-line)
6074         (verilog-modi-file-or-buffer, verilog-modi-name)
6075         (verilog-modi-point, verilog-within-string): Move defmacro's
6076         before first use to avoid warning.  Reported by Steve Pearlmutter.
6077         (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
6078         (verilog-colorize-region, verilog-highlight-buffer)
6079         (verilog-highlight-includes, verilog-highlight-modules)
6080         (verilog-highlight-region, verilog-mode): Rename colorize to
6081         highlight to match other packages.  Disable module highlighting,
6082         as received speed complaints, reenable for experimentation only
6083         using new verilog-highlight-modules.
6084         (verilog-read-decls): Fix regexp stack overflow in very large
6085         AUTO_TEMPLATEs, bug250.
6086         (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
6087         (verilog-scan): Create verilog-save-buffer-state to standardize
6088         making insignificant changes that shouldn't call hooks.
6089         (verilog-save-no-change-functions, verilog-save-scan-cache)
6090         (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
6091         Create verilog-save-no-change-functions to wrap verilog-scan
6092         preservation, and fix to work with nested preserved calls.
6093         (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
6094         port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
6095         generate .name with AUTOINST, bug245.  Suggested by David Rogoff.
6096         (verilog-submit-bug-report): Update variable list to be complete.
6097         (verilog-auto, verilog-colorize-region): Fix AUTO expansion
6098         breaking on-the-fly font-locking.
6099         (verilog-colorize-buffer, verilog-colorize-include-files)
6100         (verilog-colorize-include-files-buffer, verilog-colorize-region)
6101         (verilog-load-file-at-mouse, verilog-load-file-at-point)
6102         (verilog-mode, verilog-read-inst-module-matcher): With point on a
6103         AUTOINST cell instance name, middle mouse button now finds-file on
6104         it.  Suggested by Brad Dobbie.
6105         (verilog-alw-get-temps, verilog-auto-reset)
6106         (verilog-auto-sense-sigs, verilog-read-always-signals)
6107         (verilog-read-always-signals-recurse): Fix loop indexes being
6108         AUTORESET.  AUTORESET now assumes any variables in the
6109         initialization section of a for() should be ignored.
6110         Reported by Dan Dever.
6111         (verilog-error-font-lock-keywords)
6112         (verilog-error-regexp-emacs-alist)
6113         (verilog-error-regexp-xemacs-alist): Fix error detection of
6114         Cadence HAL, reported by David Asher.  Repair drift between the
6115         three similar error variables.
6116         (verilog-modi-lookup, verilog-modi-lookup-cache)
6117         (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
6118         (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
6119         Fix slow verilog-auto expansion on very large files.
6120         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
6121         Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
6122         "{1*2{...".  Broke in last revision.
6123         (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
6124         submodule connections with replications "{#{a},#{b}}".
6126 2010-10-24  Juanma Barranquero  <lekktu@gmail.com>
6128         * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
6129         Fix typo in docstring.
6131 2010-10-24  Kenichi Handa  <handa@m17n.org>
6133         * face-remap.el (text-scale-adjust): Call read-event with a proper
6134         prompt.
6136 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
6138         * emacs-lisp/unsafep.el: Don't mark functions that display
6139         messages as safe.  Suggested by Johan Bockgård.
6141 2010-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6143         * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
6144         Turn comments into docstrings.
6146         * minibuffer.el (completion--replace): Move point where it belongs
6147         when there's a common suffix (bug#7215).
6149 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
6151         Merge read-color and facemenu-read-color (Bug#7242).
6153         * faces.el (read-color): Use the completion code from
6154         facemenu-read-color.  Require match in completion.  Doc fix.
6156         * facemenu.el (facemenu-read-color): Alias for read-color.
6157         (facemenu-set-foreground, facemenu-set-background):
6158         Use read-color.
6160         * frame.el (set-background-color, set-foreground-color)
6161         (set-cursor-color, set-mouse-color, set-border-color):
6162         Use read-color.
6164 2010-10-24  Leo  <sdl.web@gmail.com>
6166         * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
6167         argument of delete-file and delete-directory (Bug#7011).
6169 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
6171         * emacs-lisp/package.el (package-menu-mode-map): Inherit from
6172         button-buffer-map.
6174 2010-10-24  Ralf Angeli  <angeli@caeruleus.net>
6176         * emacs-lisp/package.el (package--generate-package-list): Make the
6177         *Packages* buffer read-only.
6179 2010-10-24  Alan Mackenzie  <acm@muc.de>
6181         * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
6182         result of `c-beginning-of-decl-1' between invocations of a lambda
6183         function (Bug #7265).
6185 2010-10-24  Daiki Ueno  <ueno@unixuser.org>
6187         * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
6188         executable is not available on the system (Bug#7268).
6190 2010-10-24  Glenn Morris  <rgm@gnu.org>
6192         * select.el (selection-coding-system, next-selection-coding-system):
6193         Sync doc with C versions.
6195         * w32-vars.el (x-select-enable-clipboard):
6196         * term/x-win.el (x-select-enable-clipboard): Move to common-win.
6197         * term/common-win.el (x-select-enable-clipboard): Move here.
6199         * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
6200         definition of C variable.
6202         * frame.el (show-trailing-whitespace, auto-hscroll-mode)
6203         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
6204         Don't redefine things that are defined in C.
6205         * cus-start.el: Also handle :risky, :safe, :set, and :tag.
6206         (show-trailing-whitespace, auto-hscroll-mode)
6207         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
6208         Set up the appropriate custom properties.
6210 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
6212         Bind "C-c ]" to ...
6213         * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
6214         * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
6215         * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
6216         * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
6218 2010-10-23  Glenn Morris  <rgm@gnu.org>
6220         * textmodes/flyspell.el (flyspell-mode): If there was an error,
6221         say what it was.
6223         * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
6224         Sync docs with C version.
6226         * term/ns-win.el (xw-defined-colors):
6227         * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
6229         * term/pc-win.el (x-select-enable-clipboard):
6230         * term/x-win.el (x-select-enable-clipboard):
6231         * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
6233         * comint.el (comint-password-prompt-regexp): Make it less vague.
6234         Bump version.
6236         * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
6238         * help.el (finder-by-keyword): Remove unnecessary autoload.
6240 2010-10-22  Glenn Morris  <rgm@gnu.org>
6242         * loadup.el: Unconditionally load float-sup.
6243         * paren.el (show-paren-delay):
6244         * emacs-lisp/float-sup.el:
6245         * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
6246         * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
6247         (lazy-lock-stealth-verbose): Assume float support.
6248         * ps-print.el: Assume float support on Emacs.
6249         * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
6250         Remove non-float branch.
6252         * emacs-lisp/autoload.el (batch-update-autoloads): Update for
6253         src/Makefile no longer being pre-processed.
6255 2010-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6257         * emacs-lisp/find-func.el (find-library): Use test-completion.
6259 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6261         * newcomment.el (comment-dwim): Fix the intentation in the doc string.
6263 2010-10-21  Michael Albinus  <michael.albinus@gmx.de>
6265         * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
6266         space in stat format string.
6267         (tramp-send-command): Unset $PS1 when using here documents, in
6268         order not to get several prompts.
6269         (tramp-get-inline-coding): Return `nil' in case of errors.
6271 2010-10-21  Daiki Ueno  <ueno@unixuser.org>
6273         * hexl.el (hexl-mode, hexl-mode-exit):
6274         Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
6275         (hexl-revert-buffer-function): New function.
6276         (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
6278 2010-10-19  Alan Mackenzie  <acm@muc.de>
6280         * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
6281         Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
6282         that these keywords aren't wrongly matched as identifiers.
6284         * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
6285         setting of c-new-BEG and c-new-END from c-before-change to
6286         c-after-change.  (Bug#7181)
6288 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
6290         * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
6291         Don't mark as safe.
6293         * custom.el (custom-theme-set-variables): Likewise.
6294         (load-theme): Add custom-theme-set-faces and
6295         custom-theme-set-variables to safe-functions while loading.
6296         (custom-enabled-themes): Mark as risky.
6298 2010-10-18  Julien Danjou  <julien@danjou.info>
6300         * bindings.el: Remove end dashes in default mode-line-format.
6302 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
6304         * bindings.el (global-map): Bind C-d to delete-char and deletechar
6305         to delete-forward-char.
6307         * simple.el (normal-erase-is-backspace-mode): Remap delete to
6308         deletechar, and hence delete-forward-char.
6310 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6312         * repeat.el (repeat): Use read-key (bug#6256).
6314 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
6316         * emacs-lisp/unsafep.el: Don't mark functions that display
6317         messages as safe.  Suggested by Johan Bockgård.
6319 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6321         * minibuffer.el (completion--replace): Move point where it belongs
6322         when there's a common suffix (bug#7215).
6324 2010-10-19  Kenichi Handa  <handa@m17n.org>
6326         * international/characters.el: Add category '|' (word breakable)
6327         to fullwidth characters.
6329 2010-10-19  Michael Albinus  <michael.albinus@gmx.de>
6331         * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
6332         (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
6333         order to make stat results a float.  Patch by Andreas Schwab
6334         <schwab@linux-m68k.org>.
6336 2010-10-18  Julien Danjou  <julien@danjou.info>
6338         * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
6339         hidden by `make-pointer-invisible'.
6341 2010-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6343         * files.el (locate-file-completion-table): Strip non-matching elements
6344         before checking length of list (bug#7238).
6346 2010-10-18  Chong Yidong  <cyd@stupidchicken.com>
6348         * custom.el (custom-theme-set-variables): Mark as a safe function.
6349         (load-theme): Check forms using unsafep.
6351         * cus-face.el (custom-theme-set-faces): Mark as a safe function.
6353 2010-10-17  Agustín Martín  <agustin.martin@hispalinux.es>
6355         * textmodes/ispell.el (ispell-aspell-find-dictionary):
6356         Fix aspell data file searching (bug#7230).
6358 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
6360         * cus-theme.el (custom-theme--migrate-settings): New var.
6361         (customize-create-theme): Allow editing the `user' theme.
6362         (custom-theme-add-variable, custom-theme-add-var-1)
6363         (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
6364         to the front of each variable or face widget.
6365         (custom-theme-write): Save theme settings in the correct order.
6366         Optionally, remove saved settings from user customizations.
6367         (custom-theme-write-variables, custom-theme-write-faces):
6368         Save only the checked widgets.
6369         (customize-themes): Add a link for migrating custom settings.
6371         * custom.el (custom-declare-theme, provide-theme):
6372         Use custom-theme-name-valid-p.
6373         (custom-theme-name-valid-p): Remove checks that are now
6374         unnecessary since themes no longer obey load-path.
6376         * cus-edit.el (custom-variable-value-create): For the simple
6377         style, hide documentation string when hidden.
6379 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
6381         * cus-edit.el (custom-variable, custom-face): Combine the
6382         :inhibit-magic and :display-style properties into a single
6383         :custom-style property.
6384         (custom-toggle-hide-variable, custom-toggle-hide-face):
6385         New functions.  If hiding an edited value, save it to :shown-value.
6386         (custom-variable-value-create, custom-face-value-create): Use them.
6387         (custom-magic-reset): Allow magic property to be unset.
6389         * custom.el: Custom themes no longer use load-path.
6390         (custom-theme-load-path): New option.  Change built-in theme
6391         directory to etc/.
6392         (custom-enabled-themes): Add custom-theme-load-path dependency.
6393         (custom-theme--load-path): New function.
6394         (load-theme, custom-available-themes): Use it.
6396         * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
6397         (customize-themes): Link to custom-theme-load-path variable.
6398         (custom-theme-add-var-1, custom-theme-add-face-1): Use the
6399         :custom-style property.
6401         * themes/*.el: Moved to etc/.
6403 2010-10-16  Ralf Angeli  <angeli@caeruleus.net>
6405         * textmodes/reftex-cite.el
6406         (reftex-extract-bib-entries-from-thebibliography): Do not move
6407         point when searching for \bibitem entries.  Match entries with
6408         spaces or tabs in front of arguments.
6410 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
6412         * cus-theme.el (customize-create-theme): Delete overlays after
6413         erasing.  If given a THEME arg, display only the faces of that arg
6414         instead of custom-theme--listed-faces.
6415         (custom-theme-variable-menu, custom-theme-variable-action)
6416         (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
6417         (custom-theme-add-variable, custom-theme-add-face): Apply value
6418         from the theme settings, instead of the current value.
6419         (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
6420         (custom-theme-visit-theme): Allow calling outside theme buffers.
6421         (custom-theme-merge-theme): Don't enable the theme when merging.
6422         (custom-theme-write-variables, custom-theme-write-faces): Use the
6423         :shown-value properties to save buffer values, not global ones.
6424         (customize-themes): Display a warning about user customizations.
6426         * cus-edit.el (custom-variable-value-create)
6427         (custom-face-value-create): Obey new special properties
6428         :shown-value and :inhibit-magic.
6430 2010-10-15  Michael Albinus  <michael.albinus@gmx.de>
6432         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
6433         Suppress expansion of tabs to spaces.  Reported by Dale Sedivec
6434         <dale@codefu.org>.
6436 2010-10-14  Kenichi Handa  <handa@m17n.org>
6438         * mail/rmail.el (rmail-show-message-1): Catch an error of
6439         base64-decode-region and just show an error message (bug#7165).
6441         * ps-mule.el (ps-mule-font-spec-list): Delete it.  Not used anymore.
6442         (ps-mule-begin-job): Fix for the case that only ENCODING is set in
6443         a font-spec (bug#7197).
6445 2010-10-14  Glenn Morris  <rgm@gnu.org>
6447         * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
6449 2010-10-14  Juanma Barranquero  <lekktu@gmail.com>
6451         * international/mule.el (define-coding-system):
6452         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
6453         * composite.el (compose-region): Fix typo in docstring.
6455 2010-10-14  Chong Yidong  <cyd@stupidchicken.com>
6457         * cus-face.el (custom-theme-set-faces): Call custom-push-theme
6458         only after checking the theme-face property.
6460         * faces.el (face-spec-reset-face): Reset all attributes in one
6461         single call to set-face-attribute.
6462         (face-spec-match-p): Make it a defsubst.
6463         (frame-set-background-mode): New arg KEEP-FACE-SPECS.
6464         (x-create-frame-with-faces, tty-create-frame-with-faces)
6465         (tty-set-up-initial-frame-faces): Don't recompute face specs in
6466         frame-set-background-mode, since they are recomputed immediately
6467         afterwards in face-set-after-frame-default.
6468         (face-set-after-frame-default): Minor optimization.
6469         (cursor): Provide non-trivial defface spec.
6471         * custom.el (custom-theme-recalc-face): Simplify.
6473 2010-10-14  Jay Belanger  <jay.p.belanger@gmail.com>
6475         * calc/calc-alg.el (math-var): Rename from `var'.
6476         (math-is-polynomial, math-is-poly-rec): Replace `var'
6477         with `math-var'.
6479         * calc/calcalg2.el (math-var): Rename from `var'.
6480         (calcFunc-table, math-scan-for-limits): Replace `var'
6481         with `math-var'.
6483 2010-10-13  Glenn Morris  <rgm@gnu.org>
6485         * subr.el (last): Deal with dotted lists (reported in bug#7174).
6487 2010-10-13  Stephen Berman  <stephen.berman@gmx.net>
6489         * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
6491 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6493         * net/tls.el (tls-program): Remove spurious %s from openssl.
6494         (tls-starttls-switches): Remove starttls hack.
6495         (open-tls-stream): Ditto.
6496         (tls-find-starttls-argument): Ditto.
6498 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
6500         * image.el (image-library-alist): Declare as obsolete alias.
6501         (image-type-available-p): Use `dynamic-library-alist'.
6503         * term/w32-win.el (dynamic-library-alist):
6504         Use instead of `image-library-alist'.
6506 2010-10-13  IRIE Shinsuke  <irieshinsuke@yahoo.co.jp>  (tiny change)
6508         * subr.el (last): Make it faster.  (Bug#7174)
6510 2010-10-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>  (tiny change)
6512         * Makefile.in (compile-clean): Use `` instead of $().  (Bug#7178)
6514 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
6516         * cus-theme.el (custom-theme--listed-faces): Add cursor face.
6517         (describe-theme-1): Extract doc from unloaded themes.
6519         * custom.el (custom-theme-name-valid-p): Don't list color-themes.
6521         * themes/tango-theme.el:
6522         * themes/tango-dark-theme.el:
6523         * themes/wheatgrass-theme.el: New files.
6525 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
6527         * cus-theme.el (describe-theme, customize-themes)
6528         (custom-theme-save): New commands.
6529         (custom-new-theme-mode-map): Bind C-x C-s.
6530         (custom-new-theme-mode): Use custom--initialize-widget-variables.
6531         (customize-create-theme): New optional arg THEME.
6532         (custom-theme-revert): Use it.
6533         (custom-theme-visit-theme): Remove dead code.
6534         (custom-theme-merge-theme): Use custom-available-themes.
6535         (custom-theme-write): Make interactive.
6536         (custom-theme-write): Use custom-theme-name-valid-p.
6537         (describe-theme-1, custom-theme-choose-revert)
6538         (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
6539         New funs.
6540         (custom-theme-allow-multiple-selections): New option.
6541         (custom-theme-choose-mode): New major mode.
6543         * custom.el (custom-theme-set-variables): Remove dead code.
6544         Obey custom--inhibit-theme-enable.
6545         (custom--inhibit-theme-enable): New var.
6546         (provide-theme): Obey it.
6547         (load-theme): Replace load with manual read/eval, in order to
6548         check for correctness.  Use custom-theme-name-valid-p.
6549         (custom-theme-name-valid-p): New function.
6550         (custom-available-themes): Use it.
6552         * cus-edit.el (custom--initialize-widget-variables): New function.
6553         (Custom-mode): Use it.
6555         * cus-face.el (custom-theme-set-faces): Remove dead code.
6556         Obey custom--inhibit-theme-enable.
6558         * help-mode.el (help-theme-def, help-theme-edit): New buttons.
6560 2010-10-12  Juanma Barranquero  <lekktu@gmail.com>
6562         * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
6564 2010-10-12  Jan Djärv  <jan.h.d@swipnet.se>
6566         * term/ns-win.el (ns-right-alternate-modifier): New defvar.
6567         (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
6568         (mac-right-option-modifier): New alias for ns-right-option-modifier.
6570         * cus-start.el (all): ns-right-alternate-modifier is new.
6572 2010-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6574         * emacs-lisp/lisp.el (lisp-completion-at-point):
6575         Use emacs-lisp-mode-syntax-table for the whole function.
6577 2010-10-12  David Koppelman  <koppel@ece.lsu.edu>
6579         * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
6580         instead of font-lock-mode before adding keywords.
6581         Remove hi-lock-mode off code.  Remove inhibit hack.
6582         (hi-lock-set-pattern): Only add keywords if font-lock-fontified
6583         non-nil; removed hook inhibit hack.
6585 2010-10-12  Glenn Morris  <rgm@gnu.org>
6587         * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
6588         (load-path-shadows-find): ... to this.
6589         (list-load-path-shadows): Update for above change.
6591         * mail/mail-utils.el (mail-mbox-from): Also try return-path.
6593 2010-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
6595         * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
6596         Fix comment for declare-function.
6598 2010-10-11  Chong Yidong  <cyd@stupidchicken.com>
6600         * custom.el (custom-fix-face-spec): New function; code moved from
6601         custom-face-edit-fix-value.
6602         (custom-push-theme): Use it when checking if a face has been
6603         changed outside customize.
6604         (custom-available-themes): New function.
6605         (load-theme): Use it.
6607         * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
6609         * custom.el (custom-push-theme): Cleanup (use cond).
6610         (disable-theme): Recompute the saved-face property.
6611         (custom-theme-recalc-face): Follow face alias before setting prop.
6613         * image.el (image-checkbox-checked, image-checkbox-unchecked):
6614         New variables, containing checkbox images.
6616         * startup.el (fancy-startup-tail):
6617         * wid-edit.el (checkbox): Use them.
6619 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
6621         * shell.el (shell-mode-map):
6622         * progmodes/modula2.el (m2-mode-map):
6623         * progmodes/inf-lisp.el (inferior-lisp-mode-map):
6624         * play/mpuz.el (mpuz-mode-map):
6625         * play/landmark.el (lm-mode-map):
6626         * play/decipher.el (decipher-mode-map):
6627         * play/5x5.el (5x5-mode-map):
6628         * net/telnet.el (telnet-mode-map):
6629         * net/quickurl.el (quickurl-list-mode-map):
6630         * net/mairix.el (mairix-searches-mode-map):
6631         * net/eudc-hotlist.el (eudc-hotlist-mode-map):
6632         * net/dig.el (dig-mode-map):
6633         * mail/mspools.el (mspools-mode-map):
6634         * hexl.el (hexl-mode-map):
6635         * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
6636         (wordstar-C-o-map, wordstar-C-q-map):
6637         * emacs-lisp/edebug.el (edebug-eval-mode-map):
6638         * emacs-lisp/chart.el (chart-map):
6639         * edmacro.el (edmacro-mode-map):
6640         * erc/erc-list.el (erc-list-menu-mode-map):
6641         * array.el (array-mode-map): Declare and define in one step.
6643         * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
6645 2010-10-10  Daiki Ueno  <ueno@unixuser.org>
6647         * epa.el (epa-passphrase-callback-function): Display filename
6648         passed as the 3rd arg.
6649         * epa-file.el (epa-file-passphrase-callback-function):
6650         Pass filename to epa-passphrase-callback-function.
6652 2010-10-09  Chong Yidong  <cyd@stupidchicken.com>
6654         * cus-edit.el (custom-face-widget-to-spec)
6655         (custom-face-get-current-spec, custom-face-state): New functions.
6656         (custom-face-set, custom-face-mark-to-save)
6657         (custom-face-value-create, custom-face-state-set): Use them.
6659         * cus-theme.el (custom-theme--listed-faces): New var.
6660         (customize-create-theme): Use *Custom Theme* as the buffer name.
6661         Set revert-buffer-function.  Optional arg BUFFER.  Insert all
6662         faces listed in custom-theme--listed-faces.
6663         (custom-theme-revert): New function.
6664         (custom-theme-add-variable, custom-theme-add-face): Insert at the
6665         bottom of the list.
6666         (custom-theme-write): Prompt for theme name if empty.
6667         (custom-theme-write-variables): Use dolist.
6668         (custom-theme-write-faces): Handle hidden (collapsed) widgets.
6670 2010-10-09  Alan Mackenzie  <acm@muc.de>
6672         Enhance fontification of declarators to take account of the
6673         presence/absence of "typedef".
6675         * cc-engine.el (c-forward-type): New &optional param
6676         "brace-block-too".
6677         (c-forward-decl-or-cast-1): cdr of return value now indicates the
6678         presence of either or both of a "struct"-like keyword and "typedef".
6680         * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
6681         fontification of declarators which follow a "}".
6682         (c-font-lock-declarations): Fontify declarators according to the
6683         presence/absence of "typedef".
6685         * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
6686         for "typedef".
6687         (c-typedef-decl-key): New lang variable built from
6688         c-typedef-decl-kwds.
6690 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6692         * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
6693         since that's too annoying.  Move the filter groups commands to
6694         TAB/backtab.
6696         * epa.el (epa-passphrase-callback-function): Say what we're
6697         querying the password for.
6699         * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
6700         behaviour, don't bury the ibuffer buffer when visiting other buffers.
6702 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
6704         * cus-edit.el (custom-commands, custom-buffer-create-internal)
6705         (custom-magic-value-create): Pad button tags with spaces.
6706         (custom-face-edit): New variable.
6707         (custom-face-value-create): Determine whether to use the usual
6708         face editor here, instead of using custom-face-selected.
6709         Pass face defaults to custom-face-edit widget.
6710         (custom-face-selected, custom-display-unselected): Delete widgets.
6711         (custom-display-unselected-match): Function removed.
6712         (custom-face-set, custom-face-mark-to-save):
6713         Accept custom-face-edit widgets as the direct widget child.
6715         * wid-edit.el (widget--completing-widget): New var.
6716         (widget-default-complete): Bind it when doing completion.
6717         (widget-string-complete, widget-file-complete): Use it.
6719 2010-10-09  Glenn Morris  <rgm@gnu.org>
6721         * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
6722         (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
6723         (holiday-hebrew-misc): Small simplifications.
6725         * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
6727         * net/browse-url.el: Don't require thingatpt, term, dired,
6728         executable, or w3-auto when compiling.
6729         (dired-get-filename, term-char-mode, term-send-down, term-send-string):
6730         Declare.
6731         (browse-url-text-emacs): Require term.
6733 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
6735         * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
6737 2010-10-08  Glenn Morris  <rgm@gnu.org>
6739         * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
6741         * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
6742         (shadows-compare-text-p): Make it an obsolete alias for...
6743         (load-path-shadows-compare-text): ... new name.
6744         (find-emacs-lisp-shadows): Update for above name change.
6745         (load-path-shadows-same-file-or-nonexistent): New name for the old
6746         shadow-same-file-or-nonexistent.
6748 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
6750         * minibuffer.el (completion--some, completion--do-completion)
6751         (minibuffer-complete-and-exit, minibuffer-completion-help)
6752         (completion-basic-try-completion)
6753         (completion-basic-all-completions)
6754         (completion-pcm--find-all-completions): Use lexical-let to
6755         avoid some false matches in variable completion (Bug#7056)
6757 2010-10-08  Olof Ohlsson Sax  <olof.ohlsson.sax@gmail.com>  (tiny change)
6759         * vc-svn.el (vc-svn-merge-news): Use --non-interactive.  (Bug#7152)
6761 2010-10-08  Leo  <sdl.web@gmail.com>
6763         * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
6764         return non-nil if the file exists (Bug#7090).
6766 2010-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6768         * minibuffer.el (completion--replace):
6769         Better preserve markers (bug#7138).
6771 2010-10-08  Juanma Barranquero  <lekktu@gmail.com>
6773         * server.el (server-process-filter): Doc fix.
6775 2010-10-08  Drew Adams  <drew.adams@oracle.com>
6777         * dired.el (dired-save-positions): Doc fix.  (Bug#7119)
6779 2010-10-08  Glenn Morris  <rgm@gnu.org>
6781         * vc/ediff-wind.el (ediff-setup-control-frame):
6782         * vc/ediff-ptch.el (ediff-default-backup-extension):
6783         * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
6784         (ediff-exec-process): Remove system-types emx, windows-95.
6786         * net/browse-url.el (browse-url-xdg-open): Shell-quote url.  (Bug#7166)
6788 2010-10-07  Chong Yidong  <cyd@stupidchicken.com>
6790         * cus-edit.el (custom-variable, custom-face): Doc fix.
6791         (custom-face-edit): Add value-create attribute.
6792         (custom-face-edit-value-create)
6793         (custom-face-edit-value-visibility-action): New functions.
6794         Hide unused face attributes by default, and add a visibility toggle.
6795         (custom-face-edit-deactivate): Show empty values with shadow face.
6796         (custom-face-selected): Only use this for face specs with default
6797         attributes.
6798         (custom-face-value-create): Cleanup.
6800         * wid-edit.el (widget-checklist-value-create): Use dolist.
6801         (widget-checklist-match-find): Make second arg optional.
6803 2010-10-07  Glenn Morris  <rgm@gnu.org>
6805         * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
6806         Prefix things.
6808         * emacs-lisp/shadow.el (shadow-font-lock-keywords)
6809         (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
6810         load-path-shadows-mode, update references.
6811         (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
6812         Rename variable and button.
6813         (list-load-path-shadows): Update button caller.
6815 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6817         * emacs-lisp/smie.el (smie-bnf-classify): New function.
6818         (smie-bnf-precedence-table): Use it to remember the closers/openers.
6819         (smie-merge-prec2s): Handle those new entries.
6820         (smie-prec2-levels): Only set precedence to nil for actual
6821         openers/closers.
6822         * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
6823         that is now unnecessary.
6825 2010-10-07  Miles Bader  <miles@gnu.org>
6827         * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
6829 2010-10-07  Glenn Morris  <rgm@gnu.org>
6831         * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
6832         (mail-position-on-field): Remove declarations.
6833         (mail-position-on-field): Autoload it.
6834         (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
6835         and mail-header-end.  Don't require sendmail.
6837         * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
6838         (shadow-mode): New mode.
6839         (shadow-find-file): New button.
6840         (list-load-path-shadows): Use shadow-mode and buttons.
6842         * iimage.el (iimage-version): Remove.
6843         (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
6844         Turn into defcustoms.
6845         (iimage-mode-map): Give it a doc string.
6847         * calendar/appt.el (appt-activate): Give a warning rather than an error
6848         if there is no diary-file.
6850 2010-10-06  Michael Albinus  <michael.albinus@gmx.de>
6852         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6853         Use `tramp-handle-find-backup-file-name'.
6855 2010-10-06  Glenn Morris  <rgm@gnu.org>
6857         * font-core.el (font-lock-defaults-alist): Remove variable.
6858         (font-lock-mode): Doc fix.
6859         (font-lock-default-function): Do not consult font-lock-defaults-alist.
6860         * font-lock.el (font-lock-refresh-defaults): Doc fix.
6861         (font-lock-set-defaults): Doc fix.
6862         Do not consult font-lock-defaults-alist.
6864         * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
6866         * emacs-lisp/cl.el: No longer provide cl-19.
6868 2010-10-05  Michael Albinus  <michael.albinus@gmx.de>
6870         * net/tramp.el (tramp-handle-directory-files-and-attributes)
6871         (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
6872         New defuns, taken from tramp-smb.el.
6873         (tramp-coding-system-change-eol-conversion)
6874         (tramp-set-process-query-on-exit-flag): Remove.
6876         * net/tramp-compat.el (top): Do not check for byte-compiler objects.
6877         (tramp-compat-coding-system-change-eol-conversion)
6878         (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
6879         from tramp.el.
6881         * net/tramp-gvfs.el:
6882         * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
6883         by `tramp-compat-set-process-query-on-exit-flag'.
6885         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
6886         Use `tramp-handle-directory-files-and-attributes',
6887         `tramp-handle-file-exists-p' and
6888         `tramp-handle-file-newer-than-file-p'.
6889         (tramp-imap-handle-file-exists-p)
6890         (tramp-imap-handle-file-executable-p)
6891         (tramp-imap-handle-file-readable-p)
6892         (tramp-imap-handle-directory-files-and-attributes)
6893         (tramp-imap-handle-file-newer-than-file-p): Remove.
6895         * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
6896         by `tramp-compat-set-process-query-on-exit-flag' and
6897         `tramp-coding-system-change-eol-conversion' by
6898         `tramp-compat-coding-system-change-eol-conversion'.
6900         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6901         Use `tramp-handle-directory-files-and-attributes',
6902         `tramp-handle-file-exists-p' and
6903         `tramp-handle-file-newer-than-file-p'.
6904         (tramp-smb-handle-directory-files-and-attributes)
6905         (tramp-smb-handle-file-exists-p)
6906         (tramp-smb-handle-file-newer-than-file-p): Remove.
6907         (tramp-smb-maybe-open-connection):
6908         Replace `tramp-set-process-query-on-exit-flag' by
6909         `tramp-compat-set-process-query-on-exit-flag'.
6911 2010-10-05  Glenn Morris  <rgm@gnu.org>
6913         * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
6915 2010-10-04  Michael Albinus  <michael.albinus@gmx.de>
6917         Continue reorganization of load dependencies.  (Bug#7156)
6919         * net/tramp.el (tramp-handle-file-local-copy-hook)
6920         (tramp-delete-temp-file-function): Move down.
6921         (tramp-exists-file-name-handler): Move up.
6922         (tramp-register-file-name-handlers): Simplify autoload.
6923         (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
6924         (tramp-handle-directory-files, tramp-handle-dired-uncache)
6925         (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
6926         (tramp-handle-file-name-completion)
6927         (tramp-handle-file-name-directory)
6928         (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
6929         (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
6930         (tramp-handle-find-backup-file-name)
6931         (tramp-handle-insert-file-contents, tramp-handle-load)
6932         (tramp-handle-substitute-in-file-name)
6933         (tramp-handle-unhandled-file-name-directory)
6934         (tramp-mode-string-to-int, tramp-local-host-p)
6935         (tramp-make-tramp-temp-file): Move from tramp-sh.el.
6937         * net/tramp-gvfs.el (top):
6938         * net/tramp-smb.el (top): Do not require 'tramp-sh.
6940         * net/tramp-sh.el (all): Move several objects to tramp.el, see
6941         there.  Rename `tramp-handle-*' to `tramp-sh-handle-*'.
6943 2010-10-04  Glenn Morris  <rgm@gnu.org>
6945         * calendar/appt.el (appt-add): Ensure reminders are enabled.
6946         (appt-activate): Give status messages.
6948 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
6950         * net/gnutls.el: Improve docs.  Remove starttls and ssl emulation.
6951         Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
6952         `gnutls-negotiate' (formerly `starttls-negotiate').
6953         Remove trivial wrapper `starttls-open-stream'.
6955 2010-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
6957         Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
6958         log-outgoing commands.
6959         * vc/vc.el (vc-log-internal-common): Add a new argument and use it
6960         to create a buffer local revert-buffer-function variable.
6961         (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
6962         revert-buffer-function lambda.
6964 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
6966         * net/gnutls.el (starttls-negotiate): Use the plist interface to
6967         `gnutls-boot'.  Make TYPE the only required parameter.
6968         Allow TRUSTFILES and KEYFILES to be lists.
6969         (open-ssl-stream): Use it.
6971 2010-10-03  Glenn Morris  <rgm@gnu.org>
6973         * subr.el (directory-sep-char): Remove obsolete variable.
6974         * net/tramp-compat.el: Don't mess about with the byte-compiler unless
6975         it is "necessary".
6977         * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
6978         * vc/vc.el (vc-static-header-alist): Doc fix.
6979         * vc/vc-cvs.el (vc-cvs-header):
6980         * vc/vc-rcs.el (vc-rcs-header):
6981         * vc/vc-sccs.el (vc-sccs-header):
6982         * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
6983         * obsolete/vc-mcvs.el (vc-mcvs-header):
6984         * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
6985         on XEmacs.
6987 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
6989         * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
6990         Remove obsolete use of binary-overwrite-mode (Bug#7001).
6992 2010-10-03  Glenn Morris  <rgm@gnu.org>
6994         * obsolete/x-menu.el: Remove file, obsolete since 21.1.
6996         * textmodes/rst.el (rst-font-lock-keywords-function):
6997         Drop Emacs 20 code.
6999         * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
7001         * printing.el: Drop Emacs 20 code.
7003         * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
7004         without having used appt.el already).
7006         * subr.el (make-local-hook): Remove function obsolete since 21.1.
7007         * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
7008         (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
7009         XEmacs.
7010         * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
7011         (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
7013         * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
7014         (charset-width, find-charset-region, chars-in-region, forward-point)
7015         (encode-coding-string, coding-system-p, ccl-execute-on-string)
7016         (define-ccl-program, multibyte-string-p, string-make-multibyte):
7017         Remove compatibility cruft (none of these are used by ps*.el).
7019 2010-10-03  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
7021         * subr.el (booleanp): Return t instead of a list (Bug#7086).
7023 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
7025         * server.el (server-process-filter, server-return-error):
7026         Give emacsclient time to shut down after receiving an error string.
7028 2010-10-02  Michael Albinus  <michael.albinus@gmx.de>
7030         * files.el (remote-file-name-inhibit-cache): New defcustom.
7032         * time.el (display-time-file-nonempty-p):
7033         Use `remote-file-name-inhibit-cache'.
7035         * net/tramp.el (tramp-completion-reread-directory-timeout):
7036         Fix docstring.
7038         * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
7039         (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
7040         `remote-file-name-inhibit-cache'.  Check also for an integer
7041         value.  Add/increase counter when `tramp-verbose' >= 10.
7042         (tramp-set-file-property): Add/increase counter when
7043         `tramp-verbose' >= 10.
7045         * net/tramp-cmds.el (tramp-cleanup-all-connections)
7046         (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
7047         (tramp-bug): Set tramp-autoload cookie.  Report all interned
7048         tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
7049         (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
7050         characters only in strings.
7052         * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
7053         to backward compatibility.
7055         * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
7056         (tramp-handle-file-name-all-completions)
7057         (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
7058         (tramp-open-connection-setup-interactive-shell):
7059         Call `tramp-cleanup-connection' directly.
7061 2010-10-02  Glenn Morris  <rgm@gnu.org>
7063         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
7065         * subr.el (char-bytes): Remove obsolete function.
7067         * isearch.el (isearch-return-char): Remove obsolete function.
7069         * mouse.el: No longer provide mldrag.
7070         (mldrag-drag-mode-line, mldrag-drag-vertical-line):
7071         Remove obsolete aliases.
7073         * comint.el (comint-kill-output): Remove obsolete alias.
7075         * composite.el (decompose-composite-char): Remove obsolete function.
7076         * ps-def.el (decompose-composite-char): Remove unused function.
7078         * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
7080         * outline.el (outline-visible): Remove obsolete function.
7082         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
7083         * faces.el (internal-find-face, internal-get-face)
7084         (frame-update-faces, frame-update-face-colors)
7085         (x-frob-font-weight, x-frob-font-slant)
7086         (internal-frob-font-weight, internal-frob-font-slant)
7087         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
7088         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
7089         (x-make-font-bold-italic): Remove functions and aliases, obsolete
7090         since Emacs 21.1.
7091         * emulation/viper-util.el (viper-get-face):
7092         * obsolete/lucid.el (find-face, get-face): Use facep.
7093         * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
7094         Remove unused functions.
7095         * vc/ediff-util.el (ediff-submit-report): Doc fix.
7097         * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
7098         delete tempfile if interrupted during compilation.
7100 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7102         * net/tls.el (tls-starttls-switches): Give up on using starttls with
7103         gnutls-cli.
7104         (tls-program): Add --insecure to be consistent with the defaults from
7105         openssl s_client.  Now all three commands are insecure.
7107 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
7109         * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
7110         (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
7111         (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
7113 2010-10-01  Glenn Morris  <rgm@gnu.org>
7115         * obsolete/sc.el: Remove file.
7117         * files.el (temporary-file-directory): On darwin, also try
7118         DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
7120 2010-10-01  Juanma Barranquero  <lekktu@gmail.com>
7122         * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
7123         Let's not break compatibility gratuitously, shall we?
7125 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7127         * net/tls.el (tls-starttls-switches): New variable.
7128         (tls-find-starttls-argument): Use it.
7129         (open-tls-stream): Ditto.
7131         * net/netrc.el (netrc-credentials): Return the value of the "default"
7132         entry.
7133         (netrc-machine): Ditto.
7135 2010-09-30  Eli Zaretskii  <eliz@gnu.org>
7137         * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
7139 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
7141         * server.el (server-start): Don't write pid to the authentication file.
7142         (server-create-tty-frame): Don't send pid.
7143         (server-process-filter): Send pid at the start of every connection.
7145 2010-09-30  Glenn Morris  <rgm@gnu.org>
7147         * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
7148         (show-all-diary-entries): Remove obsolete function aliases.
7150         * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
7151         Remove options, obsolete since 22.1.
7152         (appt-display-format, appt-display-message):
7153         Remove backwards-compatibility code.
7154         (appt-check): No longer check appt-issue-message.
7155         (appt-make-list): No longer autoload it.  Doc fix.  No longer
7156         activate the package.
7158 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7160         * net/gnutls.el (starttls-negotiate): Loop a lot longer.
7161         (starttls-negotiate): Just call boot, and let the handshake be
7162         triggered from the read loop.
7164 2010-09-29  Glenn Morris  <rgm@gnu.org>
7166         * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
7167         not displaying the diary.
7168         (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
7169         * calendar/appt.el (appt-check): No longer need to kill diary.
7171         * calendar/diary-lib.el (diary-list-entries): Move the
7172         "Preparing..." message entirely here.
7173         (diary-simple-display, diary-fancy-display): Move "Preparing..."
7174         messages to diary-list-entries.
7175         (diary-include-other-diary-files): Use LIST-ONLY rather than setting
7176         diary-display-function.
7178         * calendar/diary-lib.el (diary-include-other-diary-files):
7179         Trap some recursive includes.
7181         * calendar/appt.el (appt-activate): Check diary file.
7183 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
7185         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
7186         construction.
7188         * calendar/time-date.el: No need to require cl for Emacs 21.
7190 2010-09-28  Glenn Morris  <rgm@gnu.org>
7192         * calendar/appt.el (appt-check): Minor simplification.
7194 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
7196         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
7197         citation prefix.
7199 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
7201         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7202         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
7204 2010-09-27  Kenichi Handa  <handa@m17n.org>
7206         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
7207         "ustar" format.
7209 2010-09-27  Kenichi Handa  <handa@m17n.org>
7211         * international/mule.el (define-coding-system): Docstring fixed.
7213         * international/mule-diag.el (describe-character-set): Use princ
7214         with proper print-length and print-level instead of insert.
7216 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
7218         * window.el (walk-windows): Doc fix (bug#7105).
7220 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7222         * emacs-lisp/float-sup.el (e): Remove.
7224 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
7226         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
7227         variable.
7228         (starttls-negotiate): Use it.
7230 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7232         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
7233         back.
7235 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7237         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
7239 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7241         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
7243         * net/netrc.el (netrc-store-data): New function.
7245 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
7247         * net/gnutls.el: GnuTLS glue code to set up a connection.
7249 2010-09-25  Julien Danjou  <julien@danjou.info>
7251         * notifications.el: Call dbus-register-signal only if it is bound.
7253 2010-09-25  Glenn Morris  <rgm@gnu.org>
7255         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7256         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
7257         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
7258         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
7259         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
7260         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
7261         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
7262         * eshell/esh-util.el, eshell/esh-var.el:
7263         Remove leading `*' from docs of faces and defcustoms.
7265 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
7267         * eshell/em-ls.el (eshell-ls-archive-regexp):
7268         * eshell/esh-util.el (eshell-tar-regexp):
7269         * ibuffer.el (ibuffer-compressed-file-name-regexp):
7270         * info.el (Info-suffix-list):
7271         * international/mule.el (auto-coding-alist):
7272         * woman.el (woman-file-regexp, woman-file-compression-regexp):
7273         * progmodes/etags.el (tags-compression-info-list):
7274         Support xz compression.
7276 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
7278         * files.el (get-free-disk-space): Don't assume the "df" output
7279         columns line up (Bug#6995).
7281 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
7283         * finder.el (finder-unknown-keywords):
7284         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
7285         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
7287 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
7289         * server.el (server-start): Revert part of 2010-08-08 change.  Using
7290         address 127.0.0.1 for local host is now done in Fmake_network_process.
7292 2010-09-24  Glenn Morris  <rgm@gnu.org>
7294         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
7295         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
7296         * textmodes/css-mode.el, textmodes/dns-mode.el:
7297         Move autoloaded auto-mode-alist entries to files.el.
7298         * files.el (auto-mode-alist): Move entries here.
7300 2010-09-23  Glenn Morris  <rgm@gnu.org>
7302         * isearch.el (isearch-lazy-highlight-cleanup)
7303         (isearch-lazy-highlight-initial-delay)
7304         (isearch-lazy-highlight-interval)
7305         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
7306         * net/net-utils.el (ipconfig-program-options):
7307         Move aliases to options before the associated definitions.
7309 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7311         * newcomment.el (comment-normalize-vars): Better test validity of
7312         comment-end-skip.
7314 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7316         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
7317         (float-e): New name for `e'.
7318         (degrees-to-radians, radians-to-degrees):
7319         * calendar/solar.el (solar-longitude):
7320         * calculator.el (calculator-registers, calculator-funcall):
7321         * textmodes/artist.el (artist-spray-random-points):
7322         * play/bubbles.el (bubbles--initialize-images): Use new names.
7324 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
7326         Update to CEDET 1.0's version of EIEIO.
7328         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
7329         New function.
7330         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
7331         (eieio-default-eval-maybe): Eval val instead of unquoting only.
7332         (class-precedence-list): If class is nil, return nil.
7333         (eieio-generic-call): If class of first input arg is nil, don't
7334         look up static methods, and do check for primary methods.
7335         (initialize-instance): See if the default needs to be evaluated
7336         during the constructor.
7337         (eieio-perform-slot-validation-for-default): Don't do the check
7338         for values that will eventually be evaluated.
7339         (eieio-eval-default-p): New function.
7340         (eieio-default-eval-maybe): Use it.
7342 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
7344         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
7345         method-invocation-order.
7346         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
7347         (eieio-class-precedence-dfs): Compute class precedence list using
7348         dfs algorithm.
7349         (eieio-class-precedence-bfs): Compute class precedence list using
7350         bfs algorithm.
7351         (eieio-class-precedence-c3): Compute class precedence list using
7352         c3 algorithm.
7353         (class-precedence-list): New function.
7354         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
7355         (inconsistent-class-hierarchy): New error symbol.
7356         (call-next-method): Stow the replacement argument list for future
7357         call-next-method invocations.
7359 2010-09-23  Glenn Morris  <rgm@gnu.org>
7361         * calendar/appt.el (appt-check): If not displaying the diary,
7362         use (diary 1) to only get the entries we need.
7363         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
7364         that it is in day order.  (Bug#7019)
7366         * calendar/appt.el (appt-check): Rather than showing the diary,
7367         just turn off invisible display, and only if needed.
7369         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
7371 2010-09-23  Glenn Morris  <rgm@gnu.org>
7373         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
7374         (byte-compile-defvar, byte-compile-cl-warn):
7375         Start warnings with lower-case, like the majority.
7377         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
7379         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
7381         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
7382         * files.el (auto-mode-alist): Move ld-script entries here, further down
7383         the list.
7385         * vc/add-log.el: Don't require timezone when compiling.
7386         (timezone-make-date-sortable): Autoload it.
7387         (change-log-sortable-date-at): Don't require timezone.
7388         Use `ignore-errors'.
7390         * comint.el (comint-use-prompt-regexp-instead-of-fields):
7391         Move alias before definition, so it does not need autoloading.
7393         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
7394         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
7395         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
7396         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
7397         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
7398         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
7399         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
7400         * textmodes/tex-mode.el, textmodes/two-column.el:
7401         Remove leading `*' from docs of defcustoms etc.
7403 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
7405         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
7407 2010-09-22  Dan Christensen  <jdc@uwo.ca>
7409         * calendar/time-date.el (date-to-time): Try using parse-time-string
7410         first before using the slower timezone-make-date-arpa-standard.
7412 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
7414         * calendar/time-date.el (format-seconds): Comment fix.
7416 2010-09-22  Glenn Morris  <rgm@gnu.org>
7418         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
7419         is not automatically buffer-local.
7421 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7423         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
7424         (smie-indent-comment): Be more careful with comment-start-skip.
7425         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
7426         (smie-indent-functions): Use them.
7428 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
7430         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
7432 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
7434         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
7435         tool-bar-position.  Don't modify frame parameters here.
7436         (menu-bar-options-save): Add tool-bar-position.
7438         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
7440 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7442         * textmodes/reftex-parse.el (reftex-what-macro)
7443         (reftex-context-substring): Let-bind forward-sexp-function to nil
7444         since we don't need/want to treat \begin...\end as a block (bug#7053).
7446         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
7448         * simple.el (blink-matching-open): Use syntax-class.
7450         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
7451         Set invisibility spec for pascal's outline mode.
7452         (pascal-outline-change): Clean up calling convention.
7453         (pascal-show-all, pascal-hide-other-defuns): Update callers.
7455         * progmodes/prolog.el (prolog-smie-forward-token)
7456         (prolog-smie-backward-token): New functions.
7457         (prolog-mode-variables): Use them to parse "!," correctly.
7458         Set up smie-blink-matching for ".".
7460         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
7461         and `end'.
7462         (ispell-region, ispell-process-line): Update users.
7464         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
7465         point-min==1.
7467         * textmodes/ispell.el: Fix commenting convention.
7468         (ispell-parse-output): Simplify, use push.
7469         (ispell-region): Use match-string-no-properties.
7470         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
7471         (ispell-minor-mode): Use define-minor-mode.
7472         (ispell-message): Remove unused var `skip-regexp'.
7473         (ispell-add-per-file-word-list): Use dynamic let-binding.
7474         Try and use the proper comment marker.
7476         * mail/sendmail.el: Fix commenting convention.
7477         (sendmail-send-it): Use line-beginning-position.
7479         * help-fns.el (describe-variable): Add original value, if applicable.
7481 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
7483         * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
7485         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
7487 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7489         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
7490         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
7491         (smie-prec2-levels): Use them to better diagnose precedence cycles.
7492         (smie-blink-matching-check): Don't signal a mismatch if car is t.
7493         (smie-blink-matching-open): Rewrite to remove assumptions, so that
7494         something like "." can also be a closer.
7495         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
7496         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
7497         Rename internal functions to use "--".  Update callers.
7499         * frame.el (make-frame-names-alist): Don't list frames on other displays.
7501         * fringe.el (fringe-styles): New var.
7502         (fringe-mode, fringe-query-style): Use it.
7504 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
7506         * progmodes/sql.el: Version 2.8
7507         (sql-login-params): Update widget structure; changes still needed.
7508         (sql-product-alist): Add :list-all and :list-table features for
7509         SQLite, Postgres and MySQL products.
7510         (sql-redirect): Handle default value.
7511         (sql-execute, sql-execute-feature): New functions.
7512         (sql-read-table-name): New function.
7513         (sql-list-all, sql-list-table): New functions.  User API.
7514         (sql-mode-map, sql-interactive-mode-map): Add key definitions
7515         for above functions.
7516         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
7517         for above functions.
7518         (sql-postgres-login-params): Add user and database defaults.
7519         (sql-buffer-live-p): Bug fix.
7520         (sql-product-history): New variable.
7521         (sql-read-product): New function.  Use it.
7522         (sql-set-product, sql-product-interactive): Use it.
7523         (sql-connection-history): New variable.
7524         (sql-read-connection): New function.  Use it.
7525         (sql-connect): New function.
7526         (sql-for-each-login): Redesign function interface.
7527         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
7528         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
7529         (sql-comint): Check for program.  Existing live buffer.
7530         (sql-comint-postgres): Add port parameter.
7532 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7534         * emacs-lisp/warnings.el: Fix commenting convention.
7535         (display-warning): Use special mode and make the buffer read-only.
7537 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
7539         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
7540         empty string when it follows a repeated or optional pattern.
7542 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7544         * indent.el (indent-according-to-mode): Apply syntax-propertize.
7545         (indent-region): Use indent-according-to-mode.
7547 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
7549         * fringe.el (fringe-mode): Doc fix.
7551 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
7553         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
7554         refreshing the preview buffer.
7556 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7558         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
7559         (latex-syntax-propertize-rules): New consts; replace
7560         tex-font-lock-syntactic-keywords.
7561         (tex-env-mark, latex-env-before-change): New functions.
7562         (latex-electric-env-pair-mode): New minor mode.
7563         (tex-font-lock-verb): Change arguments; do move point.
7564         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
7565         representation as a form of comment.
7566         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
7567         (doctex-syntax-propertize-rules): New const; replaces
7568         doctex-font-lock-syntactic-keywords.
7569         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
7571         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
7572         (fortran-make-syntax-propertize-function): New function; replaces
7573         fortran-font-lock-syntactic-keywords.
7574         (fortran-mode): Use it.
7575         (fortran-line-length): Use it.  Improve interactive spec.
7577         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
7578         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
7579         when adding surrounding \(..\).
7581         * progmodes/js.el (js-mode): Fix last change (bug#7054).
7583 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7585         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
7586         Use with-current-buffer.
7588         * isearch.el (isearch-face): Rename from `isearch'.
7589         (isearch-highlight): Use new name.
7591 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
7593         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
7594         5, for `half' width fringes.  (Bug#6933)
7596 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7598         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
7599         (byte-compile-defvar): "foo/bar" does not lack a prefix.
7601         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
7603 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
7605         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
7606         in calculating new frame position.  Add more space between new and
7607         parent on the left (Bug#7048).
7609 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
7611         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
7612         defmacro.
7614 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
7616         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
7618         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
7619         obsolete alias for x-selection-value.
7621         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
7623 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
7625         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
7626         cookie.
7628 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
7630         * net/tramp-compat.el (tramp-compat-with-temp-message)
7631         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
7632         (tramp-compat-process-put): New defuns.
7634         * net/tramp.el (top):
7635         * net/tramp-gvfs.el (top):
7636         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
7638         * net/tramp.el (tramp-progress-reporter-update):
7639         Use `tramp-compat-funcall'.
7641         * net/tramp.el (tramp-process-actions):
7642         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7643         * net/tramp-sh.el (tramp-handle-vc-registered)
7644         (tramp-get-remote-stat, tramp-get-remote-readlink):
7645         Use `tramp-compat-with-temp-message'.
7647         * net/tramp-sh.el (top): Require 'cl.
7648         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
7649         (tramp-open-connection-setup-interactive-shell):
7650         Use `tramp-compat-process-put'.
7652 2010-09-15  Alan Mackenzie  <acm@muc.de>
7654         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
7655         indentation.
7656         (c-forward-<>-arglist-recur): Fix an infinite recursion.
7658 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7660         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
7661         `lexical' for warnings related to lexical scoping.
7662         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
7663         global vars which don't have a prefix and could hence affect lexical
7664         scoping in unrelated files.
7666 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7668         * net/imap.el: Revert back to version
7669         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
7670         seem problematic.
7672 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
7674         * obsolete/old-whitespace.el (whitespace-unload-function):
7675         Explicitly pass `obarray' to `unintern' to avoid a warning.
7677 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7679         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
7680         Add `when' argument.  Update callers.
7682         * subr.el (unintern): Declare the obarray arg mandatory.
7684 2010-09-14  Glenn Morris  <rgm@gnu.org>
7686         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
7687         Doc fixes.
7689         * calendar/diary-lib.el (diary-included-files): New variable.
7690         (diary-list-entries): Maybe initialize diary-included-files.
7691         (diary-include-other-diary-files): Append to diary-included-files.
7692         * calendar/appt.el (appt-update-list): Also check the members of
7693         diary-included-files.  (Bug#6999)
7694         (appt-check): Doc fix.
7696 2010-09-14  David Reitter  <david.reitter@gmail.com>
7698         * simple.el (line-move-visual): Do not truncate goal column to
7699         integer size.  (Bug#7020)
7701 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7703         * repeat.el (repeat): Allow repeating when the last event is a click.
7704         Suggested by Drew Adams (bug#6256).
7706 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
7708         * vc/vc-hg.el (vc-hg-state, vc-hg-working-revision):
7709         Replace setting HGRCPATH to "" by some less invasive --config options.
7711 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7713         * font-lock.el (font-lock-beginning-of-syntax-function):
7714         Mark as obsolete.
7716 2010-09-14  Glenn Morris  <rgm@gnu.org>
7718         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
7719         and tool-bar modes.  (Bug#6211)
7720         (menu-bar-mode): Move setting of standard-value after the
7721         minor-mode definition, otherwise it seems to have no effect.
7723 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
7725         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
7726         Fix typo.  (Bug#6976)
7728 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7730         * whitespace.el: Allow cleaning up blanks without blank
7731         visualization (Bug#6651).  Adjust help window for
7732         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
7733         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
7734         (whitespace-style): Add new value 'face.  Adjust docstring.
7735         (whitespace-space, whitespace-hspace, whitespace-tab):
7736         Adjust foreground property face.
7737         (whitespace-line-column): Adjust docstring and type declaration.
7738         (whitespace-style-value-list, whitespace-toggle-option-alist)
7739         (whitespace-help-text): Adjust const initialization.
7740         (whitespace-toggle-options, global-whitespace-toggle-options):
7741         Adjust docstring.
7742         (whitespace-display-window, whitespace-interactive-char)
7743         (whitespace-style-face-p, whitespace-color-on): Adjust code.
7744         (whitespace-help-scroll): New fun.
7746 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
7748         * calendar/time-date.el (format-seconds): Comment fix.
7750 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
7752         * progmodes/sql.el: Version 2.7.
7753         (sql-buffer-live-p): Improve detection.
7754         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7755         (sql-set-sqli-buffer): Use it.
7756         (sql-product-interactive): Run `sql-set-sqli-hook'.
7757         (sql-rename-buffer): Code cleanup.
7758         (sql-redirect, sql-redirect-value): New functions.  More to come.
7760 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
7762         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.
7763         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7764         (TRAMP_SRC): New macro.
7765         ($(lisp)/net/tramp-loaddefs.el): New target.
7767 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
7769         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
7771         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
7773         * net/tramp.el (top): Don't show loading message.  Require just
7774         'tramp-compat, everything else is required there.
7775         Use `ignore-errors' where appropriate.
7776         (tramp-inline-compress-start-size, tramp-copy-size-limit)
7777         (tramp-terminal-type, tramp-end-of-output)
7778         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
7779         (tramp-completion-function-alist-ssh)
7780         (tramp-completion-function-alist-telnet)
7781         (tramp-completion-function-alist-su)
7782         (tramp-completion-function-alist-putty, tramp-remote-path)
7783         (tramp-remote-process-environment, tramp-sh-extra-args)
7784         (tramp-actions-before-shell, tramp-uudecode)
7785         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
7786         (tramp-perl-file-attributes)
7787         (tramp-perl-directory-files-and-attributes)
7788         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
7789         (tramp-perl-encode, tramp-perl-decode)
7790         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
7791         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
7792         (tramp-handle-make-symbolic-link, tramp-handle-load)
7793         (tramp-handle-file-name-as-directory)
7794         (tramp-handle-file-name-directory)
7795         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
7796         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
7797         (tramp-do-file-attributes-with-ls)
7798         (tramp-do-file-attributes-with-perl)
7799         (tramp-do-file-attributes-with-stat)
7800         (tramp-handle-set-visited-file-modtime)
7801         (tramp-handle-verify-visited-file-modtime)
7802         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
7803         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
7804         (tramp-handle-file-selinux-context)
7805         (tramp-handle-set-file-selinux-context)
7806         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
7807         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
7808         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
7809         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
7810         (tramp-handle-file-ownership-preserved-p)
7811         (tramp-handle-directory-file-name, tramp-handle-directory-files)
7812         (tramp-handle-directory-files-and-attributes)
7813         (tramp-do-directory-files-and-attributes-with-perl)
7814         (tramp-do-directory-files-and-attributes-with-stat)
7815         (tramp-handle-file-name-all-completions)
7816         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
7817         (tramp-handle-copy-file, tramp-handle-copy-directory)
7818         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
7819         (tramp-do-copy-or-rename-file-via-buffer)
7820         (tramp-do-copy-or-rename-file-directly)
7821         (tramp-do-copy-or-rename-file-out-of-band)
7822         (tramp-handle-make-directory, tramp-handle-delete-directory)
7823         (tramp-handle-delete-file)
7824         (tramp-handle-dired-recursive-delete-directory)
7825         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
7826         (tramp-handle-insert-directory)
7827         (tramp-handle-unhandled-file-name-directory)
7828         (tramp-handle-expand-file-name)
7829         (tramp-handle-substitute-in-file-name)
7830         (tramp-handle-executable-find, tramp-process-sentinel)
7831         (tramp-handle-start-file-process, tramp-handle-process-file)
7832         (tramp-handle-call-process-region, tramp-handle-shell-command)
7833         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
7834         (tramp-handle-insert-file-contents)
7835         (tramp-handle-insert-file-contents-literally)
7836         (tramp-handle-find-backup-file-name)
7837         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
7838         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
7839         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
7840         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
7841         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
7842         (tramp-find-file-exists-command, tramp-open-shell)
7843         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
7844         (tramp-open-connection-setup-interactive-shell)
7845         (tramp-local-coding-commands, tramp-remote-coding-commands)
7846         (tramp-find-inline-encoding, tramp-call-local-coding-command)
7847         (tramp-inline-compress-commands, tramp-find-inline-compress)
7848         (tramp-compute-multi-hops, tramp-maybe-open-connection)
7849         (tramp-send-command, tramp-wait-for-output)
7850         (tramp-send-command-and-check, tramp-barf-unless-okay)
7851         (tramp-send-command-and-read, tramp-mode-string-to-int)
7852         (tramp-convert-file-attributes, tramp-check-cached-permissions)
7853         (tramp-file-mode-from-int, tramp-file-mode-permissions)
7854         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
7855         (tramp-method-out-of-band-p, tramp-local-host-p)
7856         (tramp-get-remote-path, tramp-get-remote-tmpdir)
7857         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
7858         (tramp-get-test-command, tramp-get-test-nt-command)
7859         (tramp-get-file-exists-command, tramp-get-remote-ln)
7860         (tramp-get-remote-perl, tramp-get-remote-stat)
7861         (tramp-get-remote-readlink, tramp-get-remote-trash)
7862         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
7863         (tramp-get-local-uid, tramp-get-local-gid)
7864         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
7865         tramp-sh.el.
7866         (tramp-methods, tramp-default-method-alist)
7867         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
7868         Move initialization to tramp-sh.el.
7869         (tramp-temp-name-prefix): Make it a defconst.
7870         (tramp-dissect-file-name): Don't check anymore for multi-hop
7871         methods.
7872         (tramp-debug-outline-regexp): Add a docstring.
7873         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
7874         (tramp-get-debug-buffer): Use it.
7876         * net/tramp-cache.el (top): Set tramp-autoload cookie for
7877         initialization forms.
7878         (tramp-set-connection-property): Don't protect `tramp-message'
7879         call, it isn't necessary any longer.
7880         (tramp-dump-connection-properties): Use `ignore-errors'.
7882         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
7883         'password-cache and 'auth-source.
7885         * net/tramp-gvfs.el (top):
7886         * net/tramp-smb.el (top): Require 'tramp-sh.
7888         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
7890         * net/tramp-sh.el: New file, derived from tramp.el.
7891         (top): Initialize `tramp-methods', `tramp-default-method-alist',
7892         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
7893         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
7894         Use `ignore-errors' where appropriate.
7895         (tramp-sh-file-name-handler-alist): Rename from
7896         `tramp-file-name-handler-alist'.
7897         (tramp-send-command-and-check): Return t or nil.  Remove all
7898         `zerop' checks, where called.
7899         (tramp-handle-set-file-modes)
7900         (tramp-do-copy-or-rename-file-directly)
7901         (tramp-handle-delete-directory, tramp-handle-delete-file)
7902         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
7903         (tramp-sh-file-name-handler, tramp-send-command-and-check)
7904         (tramp-get-remote-ln): Set tramp-autoload cookie.
7906         * net/tramp-fish.el: Remove file.
7908 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
7910         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
7911         buffer-file-name to avoid file-locking.  (Bug#7026)
7913 2010-09-13  Julien Danjou  <julien@danjou.info>
7915         * notifications.el (notifications-notify): Add support for
7916         image-path and sound-name.
7917         (notifications-specification-version): Add this variable.
7919 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7921         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
7923 2010-09-12  Leo  <sdl.web@gmail.com>
7925         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
7926         (rcirc-completion-start): New variables.
7927         (rcirc-nick-completions): Rename to rcirc-completions.
7928         (rcirc-nick-completion-start-offset): Delete.
7929         (rcirc-completion-at-point): New function for constructing
7930         completion data for both nicks and irc commands.  Add to
7931         completion-at-point-functions in rcirc mode.
7932         (rcirc-complete): Rename from rcirc-nick-complete; use
7933         rcirc-completion-at-point.
7934         (defun-rcirc-command): Update rcirc-client-commands.
7936 2010-09-11  Glenn Morris  <rgm@gnu.org>
7938         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
7939         atomically, to avoid parallel build errors.  (Bug#4196)
7941 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
7943         * progmodes/sql.el: Version 2.6
7944         (sql-dialect): Synonym for "sql-product".
7945         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7946         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
7947         Set "sql-buffer" to buffer name not buffer object so multiple sql
7948         interactive buffers work properly.  Reverts misguided changes in
7949         earlier work.
7950         (sql-comint): Make sure different buffer name is used if "*SQL*"
7951         buffer is for a different product.
7952         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
7953         login param.
7954         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7955         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7956         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
7957         Accept new buffer name or prompt for one.
7958         (sql-port): Default to zero.
7959         (sql-comint-mysql): Handle "sql-port" as a numeric.
7960         (sql-port-history): Delete unused variable.
7961         (sql-get-login): Default "sql-port" to a number.
7962         (sql-product-alist): Correct Postgres prompt and terminator regexp.
7963         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
7964         "sqlite3" executables.
7965         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
7966         (sql-buffer-live-p): New function.
7967         (sql-mode-menu, sql-send-string): Use it.
7968         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
7969         syntax pattern.
7970         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
7971         (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
7973 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7975         * net/netrc.el (netrc-credentials): New convenience function.
7977 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7979         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
7980         to replace texinfo-font-lock-syntactic-keywords.
7981         (texinfo-mode): Use it.
7983         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
7984         Use syntax-propertize-function.
7986         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
7987         replace sgml-font-lock-syntactic-keywords.
7988         (sgml-mode): Use it.
7990         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
7991         since we don't use it.
7993         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
7995         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
7996         if available.
7997         (vhdl-fontify-buffer): Adjust.
7999         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
8000         replace tcl-font-lock-syntactic-keywords.
8001         (tcl-mode): Use it.
8003         * progmodes/simula.el (simula-syntax-propertize-function): New var to
8004         replace simula-font-lock-syntactic-keywords.
8005         (simula-mode): Use it.
8007         * progmodes/sh-script.el (sh-st-symbol): Remove.
8008         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
8009         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
8010         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
8011         (sh-font-lock-paren): Set syntax-multiline.
8012         (sh-font-lock-syntactic-keywords): Remove.
8013         (sh-syntax-propertize-function): New function to replace it.
8014         (sh-mode): Use it.
8016         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
8017         Define while compiling.
8018         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
8019         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
8020         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
8021         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
8022         (ruby-here-doc-end-syntax): Only define when
8023         syntax-propertize is not available.
8024         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
8025         New functions.
8026         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
8027         (electric-indent-chars): Silence bytecompiler.
8028         (ruby-mode): Use prog-mode, syntax-propertize-function, and
8029         electric-indent-chars.
8031         * progmodes/python.el (python-syntax-propertize-function): New var to
8032         replace python-font-lock-syntactic-keywords.
8033         (python-mode): Use it.
8034         (python-quote-syntax): Simplify and adjust to new use.
8036         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
8037         replace perl-font-lock-syntactic-keywords.
8038         (perl-syntax-propertize-special-constructs): New fun to replace
8039         perl-font-lock-special-syntactic-constructs.
8040         (perl-font-lock-syntactic-face-function): New fun.
8041         (perl-mode): Use it.
8043         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
8044         to replace octave-font-lock-close-quotes.
8045         (octave-syntax-propertize-function): New function to replace
8046         octave-font-lock-syntactic-keywords.
8047         (octave-mode): Use it.
8049         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
8050         replaces mixal-font-lock-syntactic-keywords.
8051         (mixal-mode): Use it.
8053         * progmodes/make-mode.el (makefile-syntax-propertize-function):
8054         New var; replaces makefile-font-lock-syntactic-keywords.
8055         (makefile-mode): Use it.
8056         (makefile-imake-mode): Adjust.
8058         * progmodes/js.el (js--regexp-literal): Define while compiling.
8059         (js-syntax-propertize-function): New var; replaces
8060         js-font-lock-syntactic-keywords.
8061         (js-mode): Use it.
8063         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
8064         replaces gdb-script-font-lock-syntactic-keywords.
8065         (gdb-script-mode): Use it.
8067         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
8068         (fortran--font-lock-syntactic-keywords): New var.
8069         (fortran-line-length): Update syntax-propertize-function and
8070         fortran--font-lock-syntactic-keywords.
8072         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
8074         * progmodes/cfengine.el (cfengine-mode):
8075         Use syntax-propertize-function.
8076         (cfengine-font-lock-syntactic-keywords): Remove.
8078         * progmodes/autoconf.el (autoconf-mode):
8079         Use syntax-propertize-function.
8080         (autoconf-font-lock-syntactic-keywords): Remove.
8082         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
8083         (ada-after-change-function, ada-initialize-syntax-table-properties)
8084         (ada-handle-syntax-table-properties): Only define when
8085         syntax-propertize is not available.
8086         (ada-mode): Use syntax-propertize-function.
8088         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
8089         (font-lock-fontify-syntactic-keywords-region): Move handling of
8090         font-lock-syntactically-fontified to...
8091         (font-lock-default-fontify-region): ...here.
8092         Let syntax-propertize-function take precedence.
8093         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
8095         * emacs-lisp/syntax.el (syntax-propertize-function)
8096         (syntax-propertize-chunk-size, syntax-propertize--done)
8097         (syntax-propertize-extend-region-functions): New vars.
8098         (syntax-propertize-wholelines, syntax-propertize-multiline)
8099         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
8100         (syntax-propertize): New functions.
8101         (syntax-propertize-rules): New macro.
8102         (syntax-ppss-flush-cache): Set syntax-propertize--done.
8103         (syntax-ppss): Call syntax-propertize.
8105         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
8107 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
8109         * textmodes/ispell.el (ispell-init-process): Improve comments.
8110         XEmacs compatibility changes regarding (add-hook) 'local option
8111         and (set-process-query-on-exit-flag).
8113 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
8115         * net/tramp-cache.el (tramp-parse-connection-properties):
8116         Set tramp-autoload cookie.
8118 2010-09-09  Glenn Morris  <rgm@gnu.org>
8120         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
8121         (imagemagick-register-types): Doc fix.
8123 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8125         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
8127         * progmodes/js.el (require): Require is already "eval-and-compile".
8128         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
8129         (js--re-search-backward): Use js--re-search-forward.
8131         * progmodes/fortran.el (fortran-line-length): Don't recompute
8132         syntactic keywords redundantly a second time.
8134         * progmodes/ada-mode.el: Replace "(set '" with setq.
8135         (ada-mode): Simplify.
8136         (ada-create-case-exception, ada-adjust-case-interactive)
8137         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
8138         (ada-search-ignore-string-comment, ada-move-to-start)
8139         (ada-move-to-end): Use with-syntax-table.
8141         * font-lock.el (save-buffer-state): Remove `varlist' arg.
8142         (font-lock-unfontify-region, font-lock-default-fontify-region):
8143         Update usage correspondingly.
8144         (font-lock-fontify-syntactic-keywords-region):
8145         Set parse-sexp-lookup-properties buffer-locally here.
8146         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
8148         * simple.el (blink-matching-open): Don't burp if we can't find a match.
8150 2010-09-08  Glenn Morris  <rgm@gnu.org>
8152         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
8153         Error if not compiled with -DBYTE_CODE_METER.
8155         * emacs-lisp/bytecomp.el (byte-recompile-directory):
8156         Ignore dir-locals-file.
8158 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8160         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8161         Not a const.
8162         (compilation-error-regexp-alist-alist): Rule out ": " in file names
8163         for the `gnu' messages.
8164         (compilation-set-skip-threshold): New command.
8165         (compilation-start): Use \' rather than $.
8166         (compilation-forget-errors): Use clrhash.
8168 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
8170         * textmodes/ispell.el (ispell-valid-dictionary-list):
8171         Simplify logic.
8173 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
8175         Migrate to Tramp 2.2.  Rearrange load dependencies.
8176         (Bug#1529, Bug#5448, Bug#5705)
8178         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
8179         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
8180         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
8182         * net/tramp.el (top): Remove all other tramp-* loads except
8183         tramp-compat.el.  Remove all changes to tramp-unload-hook for
8184         other tramp-* packages.  Rearrange defun order.  Change calls of
8185         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
8186         `tramp-compat-octal-to-decimal' to new function names.
8187         (tramp-terminal-type, tramp-initial-end-of-output)
8188         (tramp-methods, tramp-foreign-file-name-handler-alist)
8189         (tramp-tramp-file-p, tramp-completion-mode-p)
8190         (tramp-send-command-and-check, tramp-get-remote-path)
8191         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
8192         (tramp-shell-quote-argument): Set tramp-autoload cookie.
8193         (with-file-property, with-connection-property): Move to
8194         tramp-cache.el.
8195         (tramp-local-call-process, tramp-decimal-to-octal)
8196         (tramp-octal-to-decimal): Move to tramp-compat.el.
8197         (tramp-handle-shell-command): Do not require 'shell.
8198         (tramp-compute-multi-hops): No special handling for tramp-gw-*
8199         symbols.
8200         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
8202         * net/tramp-cache.el (top): Require 'tramp.  Add to
8203         `tramp-unload-hook'.
8204         (tramp-cache-data, tramp-get-file-property)
8205         (tramp-set-file-property, tramp-flush-file-property)
8206         (tramp-flush-directory-property, tramp-get-connection-property)
8207         (tramp-set-connection-property, tramp-flush-connection-property)
8208         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
8209         cookie.
8210         (with-file-property, with-connection-property): New defuns, moved
8211         from tramp.el.
8212         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
8213         macro.
8215         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
8216         (tramp-version): Set tramp-autoload cookie.
8218         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
8219         changes to tramp-unload-hook for other tramp-* packages.  Add to
8220         `tramp-unload-hook'.
8221         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
8222         (tramp-compat-call-process): New defuns, moved from tramp.el.
8224         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
8225         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
8226         Add to `tramp-unload-hook'.  Change call of
8227         `tramp-compat-decimal-to-octal' to new function name.
8228         (tramp-fish-method): Make it a defconst.
8229         (tramp-fish-file-name-p): Make it a defsubst.
8230         (tramp-fish-method, tramp-fish-file-name-handler)
8231         (tramp-fish-file-name-p): Set tramp-autoload cookie.
8233         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
8234         `tramp-foreign-file-name-handler-alist'.  Add to
8235         `tramp-unload-hook'.
8236         (tramp-ftp-method): Make it a defconst.
8237         (tramp-ftp-file-name-p): Make it a defsubst.
8238         (tramp-ftp-method, tramp-ftp-file-name-handler)
8239         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
8241         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
8242         `tramp-foreign-file-name-handler-alist'.  Add to
8243         `tramp-unload-hook'.  Change checks, whether package can be
8244         loaded.
8245         (tramp-gvfs-file-name-p): Make it a defsubst.
8246         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
8247         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
8248         (tramp-gvfs-handle-file-directory-p): New defun.
8249         (tramp-gvfs-file-name-handler-alist): Use it.
8251         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
8252         `tramp-foreign-file-name-handler-alist'.  Add to
8253         `tramp-unload-hook'.
8254         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
8255         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
8256         defconst.
8257         (tramp-gw-tunnel-method, tramp-gw-socks-method)
8258         (tramp-gw-open-connection): Set tramp-autoload cookie.
8260         * net/tramp-imap.el (top) Require just 'tramp.  Add objects to
8261         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
8262         Add to `tramp-unload-hook'.  Change checks, whether package can be
8263         loaded.
8264         (tramp-imap-file-name-p): Make it a defsubst.
8265         (tramp-imap-method, tramp-imaps-method)
8266         (tramp-imap-file-name-handler)
8267         (tramp-imap-file-name-p): Set tramp-autoload cookie.
8269         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
8270         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
8271         Add to `tramp-unload-hook'.  Change checks, whether package can be
8272         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
8273         function name.
8274         (tramp-smb-tunnel-method): Make it a defconst.
8275         (tramp-smb-file-name-p): Make it a defsubst.
8276         (tramp-smb-method, tramp-smb-file-name-handler)
8277         (tramp-smb-file-name-p): Set tramp-autoload cookie.
8279         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
8280         (tramp-uuencode-region): Set tramp-autoload cookie.
8282         * net/trampver.el (top) Add to `tramp-unload-hook'.
8283         (tramp-version, tramp-bug-report-address): Set tramp-autoload
8284         cookie.  Update release number.
8286 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
8288         * textmodes/ispell.el (ispell-start-process): Make sure original
8289         arg list is properly initialized (Bug#6993, Bug#6994).
8291 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
8293         * files.el (directory-abbrev-alist): Use \` as default regexp.
8295         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
8296         chars like - or ] (bug#6984).
8297         (rx-any-condense-range): Explode 2-char ranges.
8299 2010-09-06  Glenn Morris  <rgm@gnu.org>
8301         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
8303 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8305         * textmodes/bibtex.el:
8306         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
8308 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8310         * net/imap.el (imap-message-map): Remove optional buffer parameter,
8311         since no callers use it.
8312         (imap-message-get): Ditto.
8313         (imap-message-put): Ditto.
8314         (imap-mailbox-map): Ditto.
8315         (imap-mailbox-put): Ditto.
8316         (imap-mailbox-get): Ditto.
8317         (imap-mailbox-get): Revert last change for this function.
8319 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8321         * net/imap.el (imap-fetch-safe): Remove function, and alter all
8322         callers to use `imap-fetch' instead.  According to the comments, this
8323         should be safe, since all other IMAP clients use the 1:* syntax.
8324         (imap-enable-exchange-bug-workaround): Remove.
8325         (imap-debug): Remove -- doesn't seem very useful.
8327 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8329         * net/imap.el (imap-log): New convenience function used throughout
8330         instead of repeating the same code all over the place.
8332 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
8334         * mouse.el (mouse-save-then-kill): Save region to kill-ring
8335         when mouse-drag-copy-region is non-nil (Bug#6956).
8337 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
8339         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
8340         Improve regexps (Bug#6987).
8341         (dired-sort-toggle): Search more robustly for -t flag.
8343         * files.el (get-free-disk-space): Search more robustly for
8344         "available" column.  Suggested by Ehud Karni
8345         <ehud@unix.mvs.co.il>.
8347 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
8349         * international/uni-bidi.el:
8350         * international/uni-category.el:
8351         * international/uni-combining.el:
8352         * international/uni-decimal.el:
8353         * international/uni-mirrored.el:
8354         * international/uni-name.el: Regenerate.
8356 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8358         * electric.el (electric-indent-post-self-insert-function):
8359         Don't reindent with a sloppy indentation function.
8361         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
8362         border case in change-log-mode.
8364 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
8366         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8367         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
8368         Recognize leading tab in gcc-include regexp.  Ignore names with
8369         leading "from" or "in" in gnu regexp (Bug#6937).
8371 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8373         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
8374         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
8375         (ispell-start-process): Avoid setq and simplify logic.
8376         (ispell-init-process): Setup kill-buffer-hook locally when needed.
8377         (kill-buffer-hook): Don't use it globally with code that uses
8378         expand-file-name since that may call kill-buffer via
8379         code_conversion_restore.
8381 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
8383         * emacs-lisp/package.el (package-directory-list): Only call
8384         file-name-nondirectory on a string.
8386 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
8388         * emacs-lisp/package.el (package--download-one-archive):
8389         Ensure that archive-contents is valid before saving it.
8390         (package-activate-1, package-mark-obsolete, define-package)
8391         (package-compute-transaction, package-list-maybe-add): Use push.
8393 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8395         Use SMIE's blink-paren for octave-mode.
8396         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
8397         Backslashes do not escape single-quotes, single-quotes do.
8398         (octave-block-else-regexp, octave-block-end-regexp)
8399         (octave-block-match-alist): Remove.
8400         (octave-smie-bnf-table): New var, with old content.
8401         (octave-smie-op-levels): Use it.
8402         (octave-smie-closer-alist): New var.
8403         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
8404         (octave-blink-matching-block-open): Remove.
8405         (octave-reindent-then-newline-and-indent, octave-electric-semi)
8406         (octave-electric-space): Let self-insert-command run expand-abbrev and
8407         blink parens.
8409         * electric.el (electricity): New group.
8410         (electric-indent-chars): New var.
8411         (electric-indent-post-self-insert-function): New fun.
8412         (electric-indent-mode): New minor mode.
8413         (electric-pair-skip-self): New custom.
8414         (electric-pair-post-self-insert-function): New function.
8415         (electric-pair-mode): New minor mode.
8417         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
8418         calcAlg-blink-matching-open.
8419         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
8420         (calc-do-alg-entry): Only touch the part of the keymap that varies.
8421         Use the new blink-matching-check-function.
8423         Provide blink-matching support to SMIE.
8424         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
8425         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
8426         (smie-blink-matching-check, smie-blink-matching-open): New functions.
8428         * simple.el (newline): Fix last change to properly remove itself from
8429         the hook.
8431 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8433         * simple.el (newline): Eliminate optimization.
8434         Use post-self-insert-hook to set hard-newline and things before
8435         running post-self-insert-hook.
8436         (blink-matching-check-mismatch): New function.
8437         (blink-matching-check-function): New variable.
8438         (blink-matching-open): Use them.
8439         Skip back forward over prefix chars skipped by forward-sexp.
8440         Don't check if the parens are backslash escaped.
8441         (blink-paren-post-self-insert-function): Check backslash escaping here.
8443 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
8445         * emacs-lisp/package.el (package-menu-mode-map):
8446         Change package-menu-revert bindings to revert-buffer.
8447         (package-menu-mode): Set revert-buffer-function.
8448         (package-menu-revert): Doc fix.
8450 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
8452         * textmodes/ispell.el (ispell-init-process): Use "~/" as
8453         `default-directory' unless using Ispell per-directory personal
8454         dictionaries and not in a mini-buffer under XEmacs.
8455         (kill-buffer-hook): Do not kill ispell process on exit when
8456         `ispell-process-directory' is "~/".  (Bug#6143)
8458 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
8460         * simple.el (kill-new): Call interprogram-cut-function with only
8461         one argument.
8463         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
8464         Remove cut buffer from error message.
8466         * term/x-win.el (x-select-text):
8467         * term/pc-win.el (x-selection-value):
8468         * term/ns-win.el (x-selection-value):
8469         * eshell/em-term.el:
8470         * w32-fns.el (x-get-selection-value):
8471         * mouse-sel.el (mouse-sel-set-selection-function):
8472         * frame.el (display-selections-p): Remove cut-buffer in documentation.
8474         * term/x-win.el: Update documentation for x-last-selected-text-*.
8475         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
8476         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
8477         (x-select-text): Remove argument PUSH, update documentation.
8478         Remove cut-buffer code.
8479         (x-selection-value-internal): Was previously x-selection-value.
8480         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
8481         Update documentation, remove cut-buffer code.
8482         Call x-selection-value-internal.
8483         (x-clipboard-yank): Call x-selection-value-internal.
8484         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
8486         * term/pc-win.el (x-last-selected-text):
8487         x-cut-buffer-or-selection-value renamed to x-selection-value
8488         (x-select-text): Remove argument PUSH, update documentation.
8490         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
8491         x-cut-buffer-or-selection-value renamed to x-selection-value
8492         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
8493         (x-select-text): Remove argument PUSH, update documentation.
8495         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
8497         * w32-fns.el (x-last-selected-text):
8498         x-cut-buffer-or-selection-value renamed to x-selection-value.
8499         (x-cut-buffer-max): Remove.
8500         (x-select-text): Remove argument PUSH, update documentation.
8502         * simple.el (interprogram-cut-function): Remove mention of PUSH.
8504         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
8506         * mouse-sel.el (mouse-sel-get-selection-function):
8507         x-cut-buffer-or-selection-value renamed to x-selection-value.
8508         (x-select-text): Remove optional push.
8510 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8512         * simple.el (blink-paren-function): Move from C to here.
8513         (blink-paren-post-self-insert-function): New function.
8514         (post-self-insert-hook): Use it.
8516         * emacs-lisp/pcase.el (pcase-split-memq):
8517         Fix overenthusiastic optimisation.
8518         (pcase-u1): Handle the case of a lambda pred.
8520 2010-08-31  Kenichi Handa  <handa@m17n.org>
8522         * international/mule-cmds.el (standard-display-european-internal):
8523         Setup standard-display-table for 8-bit characters by storing 8-bit
8524         characters in the element vector.
8526         * disp-table.el (standard-display-8bit):
8527         Setup standard-display-table for 8-bit characters by storing 8-bit
8528         characters in the element vector.
8529         (standard-display-european): Likewise.
8531 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
8533         * textmodes/nroff-mode.el (nroff-view): New command.
8534         (nroff-mode-map): Bind it to C-c C-c.
8536 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8538         * emacs-lisp/smie.el (smie-down-list): New command.
8540         Remove old indentation and navigation code on octave-mode.
8541         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
8542         smie-down-list rather than add a binding for octave-down-block.
8543         (octave-mark-block, octave-blink-matching-block-open):
8544         Rely on forward-sexp-function.
8545         (octave-fill-paragraph): Don't narrow, so you can use
8546         indent-according-to-mode.
8547         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
8548         (octave-in-block-p, octave-re-search-forward-kw)
8549         (octave-re-search-backward-kw, octave-indent-calculate)
8550         (octave-end-as-array-index-p, octave-block-end-offset)
8551         (octave-scan-blocks, octave-forward-block, octave-backward-block)
8552         (octave-down-block, octave-backward-up-block, octave-up-block)
8553         (octave-before-magic-comment-p, octave-indent-line): Remove.
8555 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
8557         * emacs-lisp/package.el (package--read-archive-file): Just use
8558         `read', to avoid copying an additional string.
8559         (package-menu-mode): Set header-line-format here.
8560         (package-menu-refresh, package-menu-revert): Signal an error if
8561         not in the Package Menu.
8562         (package-menu-package-list): New var.
8563         (package--generate-package-list): Operate on the current buffer;
8564         don't assume that it is *Packages*, since the user may rename it.
8565         Allow persistent package listings and sort keys using
8566         package-menu-package-list and package-menu-package-sort-key.
8567         (package-menu--version-predicate): Fix version calculation.
8568         (package-menu-sort-by-column): Don't select the window.
8569         (package--list-packages): Create the *Packages* buffer.
8570         Set package-menu-package-list-key.
8571         (list-packages): Sorting by status is now the default.
8572         (package-buffer-info): Use match-string-no-properties.
8573         (define-package): Add a &rest argument for future proofing, but
8574         don't use it yet.
8575         (package-install-from-buffer, package-install-buffer-internal):
8576         Merge into a single function, package-install-from-buffer.
8577         (package-install-file): Change caller.
8579         * finder.el: Load finder-inf using `require'.
8580         (finder-list-matches): Sorting by status is now the default.
8581         (finder-compile-keywords): Simpify printing.
8583 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8585         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8586         (octave-mode-map): Remove special bindings for forward/backward-block
8587         and octave-backward-up-block.  Use smie-close-block.
8588         (octave-continuation-marker-regexp): New var.
8589         (octave-continuation-regexp): Use it.
8590         (octave-operator-table, octave-smie-op-levels)
8591         (octave-operator-regexp, octave-smie-indent-rules): New vars.
8592         (octave-smie-backward-token, octave-smie-forward-token): New funs.
8593         (octave-mode): Use SMIE.
8594         (octave-close-block): Delete.
8596 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
8598         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
8599         CLIPBOARD, not in PRIMARY.  (Bug#6944)
8601 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8603         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
8604         a list of parents.
8605         (smie-indent-column): Allow indirection through variables.
8607         * composite.el (save-buffer-state): Delete, unused.
8608         * font-lock.el (save-buffer-state): Use with-silent-modifications.
8609         (font-lock-default-fontify-region): Use with-syntax-table.
8610         * jit-lock.el (with-buffer-unmodified): Remove.
8611         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
8613         Use `declare' in defmacros.
8614         * window.el (save-selected-window):
8615         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
8616         * progmodes/python.el (def-python-skeleton):
8617         * net/dbus.el (dbus-ignore-errors):
8618         * jka-cmpr-hook.el (with-auto-compression-mode):
8619         * international/mule.el (with-category-table):
8620         * emacs-lisp/timer.el (with-timeout):
8621         * emacs-lisp/lisp-mnt.el (lm-with-file):
8622         * emacs-lisp/eieio.el (with-slots):
8623         * emacs-lisp/easymenu.el (easy-menu-define):
8624         * emacs-lisp/debug.el (debugger-env-macro):
8625         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
8626         (Multiple-value-call, Multiple-value-prog1):
8627         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
8628         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
8629         edebug rule to definition.
8630         * emacs-lisp/lisp-mode.el (save-selected-window)
8631         (with-current-buffer, combine-after-change-calls)
8632         (with-output-to-string, with-temp-file, with-temp-buffer)
8633         (with-temp-message, with-syntax-table, read-if, eval-after-load)
8634         (dolist, dotimes, when, unless):
8635         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
8637 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
8639         * finder.el: Require `package'.
8640         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
8641         (finder-package-info): Var deleted.
8642         (finder-keywords-hash, finder--builtins-alist): New vars.
8643         (finder-compile-keywords): Compute package--builtins and
8644         finder-keywords-hash instead of finder-keywords-hash, respecting
8645         the "Package" header.
8646         (finder-unknown-keywords, finder-list-matches):
8647         Use finder-keywords-hash and package--list-packages.
8648         (finder-mode): Don't set font-lock-defaults.
8649         (finder-exit): We don't use "*Finder-package*" and "*Finder
8650         Category*" buffers anymore.
8652         * emacs-lisp/package.el (package--builtins-base): Var deleted.
8653         (package--builtins): Set default value to nil.
8654         (package-initialize): Load precomputed value of package--builtins
8655         from finder-inf.el.
8656         (package-alist, package-compute-transaction)
8657         (package-download-transaction): Improve docstring.
8658         (package-read-all-archive-contents): Do not change
8659         package--builtins here.
8660         (list-packages): Make package-list-packages an alias for this.
8661         Sort by status by default.
8662         (package--list-packages): Add optional PACKAGES arg.
8663         (describe-package-1): Use font-lock-face property.  For built-in
8664         packages, insert file commentary.
8665         (package--generate-package-list): Rename from
8666         package-list-packages-internal; all callers changed.  Add optional
8667         PACKAGES arg.  Add alphabetical sort fallbacks.
8668         (package-menu--version-predicate, package-menu--status-predicate)
8669         (package-menu--description-predicate)
8670         (package-menu--name-predicate): New functions.
8672         * info.el (Info-finder-find-node): Search package-alist instead of
8673         finder-package-info.
8675 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
8677         * subr.el (version-regexp-alist): Don't use "a" and "b" for
8678         "alpha" and "beta".
8679         (version-to-list): Handle versions like "10.3d".
8681 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8683         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
8684         (macroexp-accumulate): Use `declare'.
8686 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
8688         * whitespace.el (whitespace-style): Adjust type declaration.
8690 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
8692         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
8694 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
8696         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
8697         (Bug#6907).
8699 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
8701         * progmodes/js.el: Make indentation more customizable (Bug#6914).
8702         (js-paren-indent-offset, js-square-indent-offset)
8703         (js-curly-indent-offset): New options.
8704         (js--proper-indentation): Use them.
8706 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
8708         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
8709         instead of inspecting font-lock properties (Bug#6916).
8711 2010-08-26  David Reitter  <david.reitter@gmail.com>
8713         * server.el (server-visit-files): Run pre-command-hook and
8714         post-command-hook for each buffer while it is current (Bug#6910).
8715         (server-execute): Do not run hooks here.
8717 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
8719         Sync with Tramp 2.1.19.
8721         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region):
8722         Protect deleting tmpfile.
8723         (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
8725         * net/tramp.el (tramp-handle-expand-file-name)
8726         (tramp-completion-handle-file-name-all-completions)
8727         (tramp-completion-handle-file-name-completion):
8728         Use `tramp-connectable-p'.
8730         * net/trampver.el: Update release number.
8732 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
8734         * help.el (help-map): Bind `C-h P' to describe-package.
8736         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
8738         * emacs-lisp/package.el (package-refresh-contents): Catch errors
8739         when downloading archives.
8740         (describe-package-1): Add package commentary.
8741         (package-install-button-action): New function.
8742         (package-menu-mode-map): Bind ? to package-menu-describe-package.
8743         (package-menu-view-commentary): Function removed.
8744         (package-list-packages-internal): Hide the `package' package too.
8746 2010-08-25  Kenichi Handa  <handa@m17n.org>
8748         * language/misc-lang.el ("Arabic"): New language environment.
8749         Setup composition-function-table for Arabic characters.
8751         * international/fontset.el (setup-default-fontset): Fix typo for
8752         arabic OTF spec (fini->fina).
8754 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
8756         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
8757         on all frames.
8759 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
8761         * whitespace.el: Allow cleaning up blanks without blank
8762         visualization (Bug#6651).  Adjust help window for
8763         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
8764         instead of whitespace-line-column (from EmacsWiki).  New version
8765         13.1.
8766         (whitespace-style): Add new value 'face.  Adjust docstring.
8767         (whitespace-space, whitespace-hspace, whitespace-tab):
8768         Adjust foreground property face.
8769         (whitespace-line-column): Adjust docstring and type declaration.
8770         (whitespace-style-value-list, whitespace-toggle-option-alist)
8771         (whitespace-help-text): Adjust const initialization.
8772         (whitespace-toggle-options, global-whitespace-toggle-options):
8773         Adjust docstring.
8774         (whitespace-display-window, whitespace-interactive-char)
8775         (whitespace-style-face-p, whitespace-color-on): Adjust code.
8776         (whitespace-help-scroll): New fun.
8778 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
8780         * emacs-lisp/package.el (list-packages): Alias for
8781         package-list-packages.
8783 2010-08-24  Kevin Ryde  <user42@zip.com.au>
8785         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
8786         (Bug#5651).
8788         * progmodes/ruby-mode.el (ruby): Add defgroup.
8790 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
8792         * progmodes/python.el: Add Ipython support (Bug#5390).
8793         (python-shell-prompt-alist)
8794         (python-shell-continuation-prompt-alist): New options.
8795         (python--set-prompt-regexp): New function.
8796         (inferior-python-mode, run-python, python-shell):
8797         Require ansi-color.  Use python--set-prompt-regexp to set the comint
8798         prompt based on the Python interpreter.
8799         (python--prompt-regexp): New var.
8800         (python-check-comint-prompt)
8801         (python-comint-output-filter-function): Use it.
8802         (run-python): Use a pipe (Bug#5694).
8804 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
8806         * progmodes/python.el (python-send-region): Send a different
8807         Python command if Ipython is in use.
8808         (python-check-version): Use a Python command to find the version.
8810 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
8812         * mouse.el (mouse-yank-primary): Avoid setting primary when
8813         deactivating the mark (Bug#6872).
8815 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
8817         * progmodes/python.el (python-block-pairs): Allow use of "finally"
8818         with "else" (Bug#3991).
8820 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
8822         * net/dbus.el: Accept UNIX domain sockets as bus address.
8823         (top): Don't initialize `dbus-registered-objects-table' anymore,
8824         this is done in dbusbind.c.
8825         (dbus-check-event): Adapt test for bus.
8826         (dbus-return-values-table, dbus-unregister-service)
8827         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
8828         Adapt doc string.
8830 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
8832         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
8834 2010-08-22  Juri Linkov  <juri@jurta.org>
8836         * simple.el (read-extended-command): New function with the logic
8837         for `completing-read' moved to Elisp from `execute-extended-command'.
8838         Use `function-called-at-point' in `minibuffer-default-add-function'
8839         to get a command name for M-n (bug#5364, bug#5214).
8841 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
8843         * startup.el (command-line-1): Issue warning for ignored arguments
8844         --unibyte, etc (Bug#6886).
8846 2010-08-22  Leo  <sdl.web@gmail.com>
8848         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
8849         (ignore, bright, dim, keyword): Split list of nicknames before
8850         passing to rcirc-add-or-remove (Bug#6894).
8852 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
8854         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
8856 2010-08-22  Leo  <sdl.web@gmail.com>
8858         Fix buffer-list rename&refresh after killing a buffer in ido.
8859         * ido.el: Revert Óscar's.
8860         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
8861         Remember the buffers at head, rather than their name.
8862         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
8864 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
8865             Stefan Monnier  <monnier@iro.umontreal.ca>
8867         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
8868         extra backslash added to each line (bug#6890).
8870 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8872         * subr.el (read-key): Don't echo keystrokes (bug#6883).
8874 2010-08-22  Glenn Morris  <rgm@gnu.org>
8876         * menu-bar.el (menu-bar-games-menu): Add landmark.
8878 2010-08-22  Glenn Morris  <rgm@gnu.org>
8880         * align.el (align-regexp): Make group and spacing arguments
8881         use the interactive defaults when non-interactive.  (Bug#6698)
8883         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
8884         expansion, so as not to need sendmail.
8885         (mail-text-start): Remove declaration.
8886         (rmail-retry-failure): Require sendmail.
8888 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
8890         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
8892 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
8894         * progmodes/flymake.el (flymake-start-syntax-check-process):
8895         Use `start-file-process' in order to let it run also on remote hosts.
8897 2010-08-22  Kenichi Handa  <handa@m17n.org>
8899         * files.el: Add `word-wrap' as safe local variable.
8901 2010-08-22  Glenn Morris  <rgm@gnu.org>
8903         * woman.el (woman-translate): Case matters.  (Bug#6849)
8905 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
8907         * simple.el (kill-region): Doc fix (Bug#6787).
8909 2010-08-22  Glenn Morris  <rgm@gnu.org>
8911         * calendar/diary-lib.el (diary-header-line-format):
8912         Fit it to the window, not the frame.
8914 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
8916         * subr.el (ignore-errors): Add debug declaration.
8918 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
8920         * whitespace.el (whitespace-color-off): Remove post-command-hook
8921         locally.
8923 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8925         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
8927 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
8929         * cus-edit.el (custom-group-value-create): Add extra newline
8930         before end line (Bug#6876).
8932 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
8934         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
8935         when extending it.  Before killing on the second click, check if
8936         the buffer is the correct one.  Doc fix.
8937         (mouse-secondary-save-then-kill): Allow usage without first
8938         calling mouse-start-secondary, by defaulting to point.  Don't save
8939         an empty secondary selection.  Doc fix.
8941 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
8943         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
8944         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
8945         New version 13.0.
8946         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
8947         Adjust initialization.
8948         (whitespace-bob-marker, whitespace-eob-marker)
8949         (whitespace-buffer-changed): New vars.
8950         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
8951         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
8952         (whitespace-post-command-hook, whitespace-display-char-on):
8953         Adjust code.
8954         (whitespace-looking-back, whitespace-buffer-changed): New funs.
8955         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
8957 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8959         * files.el (locate-file-completion-table): Only list the .el and .elc
8960         extensions if there's no other choice (bug#5955).
8962         * facemenu.el (facemenu-self-insert-data): New var.
8963         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
8964         New functions.
8965         (facemenu-add-face): Use them.
8967         * simple.el (blink-matching-open): Obey forward-sexp-function.
8969 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8971         * simple.el (prog-mode-map): New var.
8972         (prog-indent-sexp): New command.
8974         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
8976         * progmodes/prolog.el (smie): Require.
8978         * emacs-lisp/smie.el (smie-default-backward-token)
8979         (smie-default-forward-token): Strip properties.
8980         (smie-next-sexp): Be more careful with associative operators.
8981         (smie-forward-sexp-command): Generalize.
8982         (smie-backward-sexp-command): Simplify.
8983         (smie-closer-alist): New var.
8984         (smie-close-block): New command.
8985         (smie-indent-debug-log): New var.
8986         (smie-indent-offset-rule): Add a few more cases.
8987         (smie-indent-column): New function.
8988         (smie-indent-after-keyword): Use it.
8989         (smie-indent-keyword): Use it.
8990         Fix up the opener code's point position.
8991         (smie-indent-comment): Only applies at BOL.
8992         (smie-indent-debug): New command.
8994         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
8995         declarations that are useful before running the macro.
8997 2010-08-18  Joakim Verona  <joakim@verona.se>
8999         * image.el (imagemagick-types-inhibit): New variable.
9000         (imagemagick-register-types): New function.
9001         * image-mode.el (image-transform-properties): New function.
9002         (image-transform-set-scale, image-transform-fit-to-height)
9003         (image-transform-set-rotation, image-transform-set-resize)
9004         (image-transform-fit-to-width, image-transform-fit-to-height):
9005         New functions.
9006         (image-toggle-display-image): Support image transforms.
9008 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
9010         * image.el (create-animated-image): Don't add heuristic mask to image
9011         (Bug#6839).
9013 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
9015         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
9016         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
9018 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9020         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
9022         Font-lock '...' strings, plus various simplifications and fixes.
9023         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
9024         (octave-font-lock-close-quotes): New function.
9025         (octave-font-lock-syntactic-keywords): New var.
9026         (octave-mode): Use it.  Set beginning-of-defun-function.
9027         (octave-mode-map): Don't override the <foo>-defun commands.
9028         (octave-mode-menu): Pass it directly to easy-menu-define;
9029         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
9030         (octave-block-match-alist): Fix up last change so that
9031         octave-close-block uses the more specific keyword.
9032         (info-lookup-mode): Silence byte-compiler.
9033         (octave-beginning-of-defun): Not interactive any more.
9034         Optimize slightly.
9035         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
9036         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
9037         (octave-completion-at-point-function): Make sure point is within
9038         beg..end.
9039         (octave-reindent-then-newline-and-indent):
9040         Use reindent-then-newline-and-indent.
9041         (octave-add-octave-menu): Remove.
9043 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
9045         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
9046         (report-emacs-bug-can-use-xdg-email): New functions.
9047         (report-emacs-bug): Set can-xdg-email to result of
9048         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
9049         \C-cm to report-emacs-bug-insert-to-mailer and add help text
9050         about it.
9052         * net/browse-url.el (browse-url-default-browser): Add cond
9053         for browse-url-xdg-open.
9054         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
9056 2010-08-17  Glenn Morris  <rgm@gnu.org>
9058         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
9059         (c-fontify-recorded-types-and-refs): Define for compiler.
9060         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
9061         before use.
9063         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
9064         Fix format call.
9066 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
9068         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
9069         properties.
9070         (tramp-handle-process-file): Call the program in a subshell, in
9071         order to preserve working directory.
9072         (tramp-action-password): Hide password prompt before next run.
9073         (tramp-process-actions): Widen connection buffer for the trace.
9075 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
9077         * net/rcirc.el (rcirc-log-process-buffers): New option.
9078         (rcirc-print): Use it.
9079         (rcirc-generate-log-filename): New function.
9080         (rcirc-log-filename-function): Change default to
9081         rcirc-generate-log-filename (Bug#6828).
9083 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
9085         * simple.el (deactivate-mark): If select-active-regions is `only',
9086         only set selection for temporarily active regions.
9088         * cus-start.el: Change defcustom for select-active-regions.
9090 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
9092         * mouse.el (mouse--drag-set-mark-and-point): New function.
9093         (mouse-drag-track): Use LOCATION arg to push-mark.
9094         Use mouse--drag-set-mark-and-point to take click-count into
9095         consideration when updating point and mark (Bug#6840).
9097 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
9099         * progmodes/compile.el (compilation-error-regexp-alist-alist):
9100         Give the Ruby rule a lower priority than Gnu (Bug#6778).
9102 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
9104         * font-lock.el (lisp-font-lock-keywords-2):
9105         Add combine-after-change-calls, condition-case-no-debug,
9106         with-demoted-errors, and with-silent-modifications (Bug#6025).
9108 2010-08-14  Kevin Ryde  <user42@zip.com.au>
9110         * emacs-lisp/copyright.el (copyright-update-year)
9111         (copyright-update): Temporary switch-to-buffer to ensure the
9112         buffer change being queried is visible (Bug#5394).
9114 2010-08-14  Tom Tromey  <tromey@redhat.com>
9116         * progmodes/etags.el (tags-file-name): Mark safe if stringp
9117         (Bug#6733).
9119 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
9121         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
9122         MS-DOS.  (Bug#6689)
9124 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
9126         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
9127         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
9128         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
9129         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
9130         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
9131         Call menu-bar-set-tool-bar-position.
9133 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9135         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
9136         comment style (bug#6834).
9137         * progmodes/scheme.el (scheme-mode-syntax-table):
9138         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
9139         "b" flag in "' 14b" syntax.
9141         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
9142         for (un)commenting the region and performing completion.
9143         (octave-mode-menu): Use standard commands for help and completion.
9144         (octave-mode-syntax-table): Support %{..%} comments (sort of).
9145         (octave-mode): Use define-derived-mode.
9146         Set completion-at-point-functions and don't set columns.
9147         Don't disable adaptive-fill-regexp.
9148         (octave-describe-major-mode, octave-comment-region)
9149         (octave-uncomment-region, octave-comment-indent)
9150         (octave-indent-for-comment): Remove.
9151         (octave-indent-calculate): Rename from calculate-octave-indent.
9152         (octave-indent-line, octave-fill-paragraph): Update caller.
9153         (octave-initialize-completions): No need to make an alist.
9154         (octave-completion-at-point-function): New function.
9155         (octave-complete-symbol): Use it.
9156         (octave-insert-defun): Use define-skeleton.
9158         * progmodes/octave-mod.el (octave-mode): Set comment-add.
9159         (octave-mode-map): Use comment-dwim (bug#6829).
9161 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>
9163         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
9164         indentation of inserted comment.
9166 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
9168         * faces.el (region): Add type gtk that uses gtk colors.
9170         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
9171         Handle theme-name change.
9173 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
9175         * progmodes/sql.el: Version 2.5
9176         (sql-product-alist): Add :prompt-cont-regexp property for several
9177         database products.
9178         (sql-prompt-cont-regexp): New variable.
9179         (sql-output-newline-count, sql-output-by-send):
9180         New variables.  Record number of newlines in input text.
9181         (sql-send-string): Handle multiple filters and count newlines.
9182         (sql-send-magic-terminator): Count terminator newline.
9183         (sql-interactive-remove-continuation-prompt): Filters output to
9184         remove continuation prompts; one for each newline.
9185         (sql-interactive-mode): Set up new variables, prompt regexp and
9186         output filter.
9187         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
9188         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
9190 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9192         * emacs-lisp/pcase.el: New file.
9194 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
9196         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
9197         as here-document, otherwise the command could exceed maximum
9198         length of command line.
9199         (tramp-handle-vc-registered): Call script accordingly.
9200         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
9202 2010-08-10  Kenichi Handa  <handa@m17n.org>
9204         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
9205         composable pattern.
9207 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
9209         * emacs-lisp/package.el (package-version-split)
9210         (package--version-first-nonzero, package-version-compare):
9211         Functions removed.
9212         (package-directory-list, package-load-all-descriptors)
9213         (package--built-in, package-activate, define-package)
9214         (package-installed-p, package-compute-transaction)
9215         (package-read-all-archive-contents)
9216         (package--add-to-archive-contents, package-buffer-info)
9217         (package-tar-file-info, package-list-packages-internal):
9218         Use version-to-list and version-list-*.
9220         * emacs-lisp/package-x.el (package-upload-buffer-internal):
9221         Use version-to-list.
9222         (package-upload-buffer-internal): Use version-list-<=.
9224 2010-08-09  Kenichi Handa  <handa@m17n.org>
9226         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
9227         composable pattern.
9229 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
9231         * tutorial.el (tutorial--default-keys): C-d is now bound to
9232         delete-forward-char (Bug#6826).
9234         * mouse.el (mouse-drag-track): Remove accidentally-removed check
9235         for `double' value of mouse-1-click-follows-link (Bug#6807).
9237 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
9239         * replace.el (replace-highlight): Bind isearch-forward and
9240         isearch-error, ensuring that highlighting is updated if the user
9241         switches the search direction (Bug#6808).
9243         * isearch.el (isearch-lazy-highlight-forward): New var.
9244         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9245         (isearch-lazy-highlight-update): Use it.
9247 2010-08-08  Kenichi Handa  <handa@m17n.org>
9249         * international/mule.el (define-charset): Store NAME as :base property.
9250         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
9251         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
9252         current priority.  Force using the designation of the specific
9253         charset by adding `charset' text property.  Improve the whole algorithm.
9255 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
9257         * emulation/pc-select.el (pc-selection-mode-hook)
9258         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
9259         (pc-selection-mode): Fix typos in docstrings.
9261 2010-08-08  Kenichi Handa  <handa@m17n.org>
9263         * language/cyrillic.el: Don't add "microsoft-cp1251" to
9264         ctext-non-standard-encodings-alist here.
9266         * international/mule.el (ctext-non-standard-encodings-alist):
9267         Add "koi8-r" and "microsoft-cp1251".
9268         (ctext-standard-encodings): New variable.
9269         (ctext-non-standard-encodings-table): List only elements for
9270         non-standard encodings.
9271         (ctext-pre-write-conversion): Adjust for the above change.
9272         Check ctext-standard-encodings.
9274         * international/mule-conf.el (compound-text): Doc fix.
9275         (ctext-no-compositions): Doc fix.
9276         (compound-text-with-extensions): Doc fix.
9278 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9280         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
9282 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
9284         * progmodes/which-func.el (which-func-format): Split help-echo text
9285         into lines, like other mode-line tooltips.
9287         * server.el (server-start): When using TCP sockets, force IPv4
9288         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
9290 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9292         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
9294 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
9296         * term.el (term-delimiter-argument-list): Reflow docstring.
9297         (term-read-input-ring, term-write-input-ring, term-send-input)
9298         (term-bol, term-erase-in-display, serial-supported-or-barf):
9299         Fix typos in docstrings.
9301 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9303         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
9305 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
9307         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
9309 2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
9311         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
9312         Fix typo in docstring (bug#6747).
9314 2010-08-08  Leo  <sdl.web@gmail.com>
9316         * eshell/esh-io.el (eshell-get-target): Better detection of
9317         read-only file (Bug#6762).
9319 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
9321         * align.el (align-default-spacing): Doc fix.
9322         (align-region-heuristic, align-regexp): Fix typos in docstrings.
9324 2010-08-08  Stephen Peters  <speters@itasoftware.com>
9326         * calendar/icalendar.el
9327         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
9328         (icalendar--get-weekday-numbers): New.
9329         (icalendar--convert-recurring-to-diary): Handle multiple byday
9330         values in weekly rules.  (Bug#6766)
9332 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
9334         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
9335         (icalendar--create-uid, icalendar-export-region)
9336         (icalendar--parse-summary-and-rest): Code formatting.
9338 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
9340         * calc/calc.el (calc-trail-mode, calc-refresh): Use `face' property
9341         to italicize headers.
9342         (calc-highlight-selections-with-faces): New variable.
9343         (calc-selected-face, calc-nonselected-face): New faces.
9345         * calc/calccomp.el (math-comp-highlight-string): Use
9346         `calc-highlight-selections-with-faces' to determine how to highlight
9347         sub-formulas.
9349         * calc/calc-sel.el (calc-show-selections): Change message to when
9350         using faces to highlight selections.
9352 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
9354         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
9355         Add SQLite 3 keywords, functions and datatypes.
9356         (sql-interactive-mode): Remove `comint-process-echoes' set to t
9357         (Bug#6686).
9359 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
9361         * simple.el (select-active-regions): Move to keyboard.c.
9362         (deactivate-mark): Used saved-region-selection.
9363         (select-active-region): Function removed.
9364         (activate-mark, set-mark, push-mark-command)
9365         (handle-shift-selection): Don't call it.
9366         (keyboard-quit): Avoid adding the region to the window selection.
9368         * mouse.el (mouse-drag-track): Remove hacks to deal with old
9369         select-active-regions implementation.
9370         (mouse-yank-at-click): Doc fix.
9372         * cus-start.el: Add custom declaration for select-active-regions.
9374 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
9376         * simple.el (delete-forward-char): Doc fix.
9378         * tutorial.el (help-with-tutorial): Hack safe file-local variables
9379         after reading the tutorial.
9381 2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
9383         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
9384         Fix for the case that a C style comment has its delimiters alone on
9385         their respective lines.  (Bug#193)
9387 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
9389         * net/tramp.el (tramp-handle-start-file-process): Set connection
9390         property "vec".
9391         (tramp-process-sentinel): Use it for flushing the cache.
9392         We cannot do it via the process buffer, the buffer could be deleted
9393         already when running the sentinel.
9395 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
9397         * comint.el (comint-mode): Make directory tracking functions
9398         functional on remote files.  (Bug#6764)
9400 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
9402         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
9404 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
9406         * emacs-lisp/find-gc.el (find-gc-source-files):
9407         Rename unexec.c => unexcoff.c.
9409         * emacs-lisp/authors.el (authors-fixed-entries):
9410         Rename unexec.c => unexcoff.c.
9412 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
9414         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
9415         cache, not only file cache.
9416         (tramp-process-sentinel): New defun.
9417         (tramp-handle-start-file-process): Use it, in order to invalidate
9418         file caches.
9420 2010-08-03  Leo  <sdl.web@gmail.com>
9422         * server.el (server-start): Simplify loop.
9424 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9426         * frame.el (screen-height, screen-width, set-screen-width)
9427         (set-screen-height): Remove ancient compatibility aliases.
9429         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
9430         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
9432         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
9433         that change current buffer.
9435 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
9437         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
9438         beginning of the string.  Use `string-match-p'.  (Bug#6765)
9440 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
9442         * cus-start.el (x-gtk-use-system-tooltips): New variable.
9444 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
9446         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
9447         (package--builtins): Tweak descriptions.
9448         (package-print-package): Upcase descriptions if necessary.
9449         Show all built-in packages in font-lock-builtin-face.
9450         (package-list-packages-internal): Omit "emacs" package.
9451         Show status of built-in packages as "built-in".
9453 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
9455         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
9456         before killing to preserve the primary selection (Bug#6701).
9458         * term/x-win.el (x-select-text): Doc fix.
9460 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
9462         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
9463         (objc-font-lock-extra-types):
9464         * progmodes/cc-mode.el (c-basic-common-init):
9465         * progmodes/cc-langs.el (c-make-mode-syntax-table)
9466         (c++-make-template-syntax-table)
9467         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
9468         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
9469         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
9470         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
9471         * progmodes/cc-fonts.el (c-make-inverse-face)
9472         (c-basic-matchers-after):
9473         * progmodes/cc-engine.el (c-forward-keyword-clause)
9474         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
9475         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
9476         (c-guess-continued-construct, c-guess-basic-syntax):
9477         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
9478         The above functions were modified or created.
9480 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
9482         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
9484 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
9486         * files.el (bidi-paragraph-direction): Define safe local values.
9488         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
9489         language-info-alist.  Remove outdated FIXME in a comment.
9491 2010-07-31  Alan Mackenzie  <acm@muc.de>
9493         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
9494         Auto-fill broken in C/C++ modes.
9496 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
9498         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
9499         (menu-bar-showhide-tool-bar-menu-customize-disable)
9500         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
9501         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
9502         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
9503         (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
9504         make a menu for Options => toolbar that can move it.
9506 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
9508         * emacs-lisp/package-x.el (package--make-rss-entry):
9509         (package-maint-add-news-item, package--update-news)
9510         (package-upload-buffer-internal): New arg ARCHIVE-URL.
9512         * emacs-lisp/package.el (package-archive-url): Rename from
9513         package-archive-id.
9514         (package-install): Doc fix.
9515         (package-download-single, package-download-tar, package-install)
9516         (package-menu-view-commentary): Callers changed.
9518 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
9520         * net/tramp.el (tramp-handle-start-file-process): Check only for
9521         `remote-tty' process property.
9522         (tramp-open-shell): Don't check for tty.
9523         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
9524         process property.
9526         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
9527         host.
9529 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
9531         * emacs-lisp/package.el (package-load-list, package-archives)
9532         (package-archive-contents, package-user-dir)
9533         (package-directory-list, package--builtins, package-alist)
9534         (package-activated-list, package-obsolete-alist): Mark as risky.
9536 2010-07-28  Phil Hagelberg  <phil@evri.com>
9538         Add support for non-default package repositories.
9539         * emacs-lisp/package.el (package-archive-base): Var deleted.
9540         (package-archives): New variable.
9541         (package-archive-contents): Doc fix.
9542         (package-load-descriptor): Do nothing if descriptor file is missing.
9543         (package--write-file-no-coding): New function.
9544         (package-unpack-single): Use it.
9545         (package-archive-id): New function.
9546         (package-download-single, package-download-tar)
9547         (package-menu-view-commentary): Use it.
9548         (package-installed-p): Make second argument optional.
9549         (package-read-all-archive-contents): New function.
9550         (package-initialize): Use it.
9551         (package-read-archive-contents): Add ARCHIVE argument.
9552         (package--add-to-archive-contents): New function.
9553         (package-install): Don't call package-read-archive-contents.
9554         (package--download-one-archive): Store archive file in a
9555         subdirectory of package-user-dir.
9556         (package-menu-execute): Remove spurious line movement.
9558 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
9560         * cus-start.el (tool-bar-style): Add text-image-horiz.
9562 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
9564         * progmodes/gud.el (gud-common-init): Check for remoteness of
9565         `file', and not of `default-directory'.
9567 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
9569         * net/tramp.el (tramp-methods): Move hostname to the end in all
9570         ssh `tramp-login-args'.
9571         (tramp-verbose): Describe verbose level 9.
9572         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
9573         (tramp-open-connection-setup-interactive-shell): Trace stty
9574         settings if `tramp-verbose' >= 9.
9575         (tramp-handle-start-file-process): Implement tty setting.
9576         (Bug#4604, Bug#6360)
9578         * net/tramp-cmds.el (tramp-bug): Recommend setting of
9579         `tramp-verbose' to 9.
9581 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
9583         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
9584         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
9585         Remove references to package `lisp-re' (bug#4369).
9587 2010-07-27  Tom Tromey  <tromey@redhat.com>
9589         * progmodes/js.el (js-mode):
9590         * progmodes/make-mode.el (makefile-mode):
9591         * progmodes/simula.el (simula-mode):
9592         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
9594 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
9596         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
9598         * time.el (display-time-day-and-date): Remove spurious * in docstring.
9599         (display-time-world-buffer-name, display-time-world-mode-map):
9600         Fix typos in docstrings.
9602 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
9604         * image-mode.el (image-display-size): New function.
9605         (image-forward-hscroll, image-next-line, image-eol, image-eob)
9606         (image-mode-fit-frame): Use it (Bug#6639).
9608 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
9610         * dired.el (dired-buffers-for-dir): Handle list values of
9611         dired-directory (Bug#6636).
9613 2010-07-26  Sam Steingold  <sds@gnu.org>
9615         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
9616         Do not call `x-get-selection' the second time, reuse the value.
9618 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
9620         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
9621         which consist of control chars only.  Suggested by Richard Stallman.
9623 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
9625         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
9626         exists before passing an error to find-file-not-found-functions
9627         (bug#6723).
9629 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
9631         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
9632         Remove leading nil element, adjust values.
9633         (tetris-shapes, tetris-shape-scores):
9634         Change representation of shapes and remove some redundancy.
9635         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
9636         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
9637         Adjust for working with new representation of shapes.
9638         (tetris-shape-rotations): New function.
9639         (tetris-move-bottom, tetris-move-left, tetris-move-right)
9640         (tetris-rotate-prev, tetris-rotate-next):
9641         Adjust for working with the new version of tetris-test-shape.
9643 2010-07-23  Markus Triska  <markus.triska@gmx.at>
9645         * progmodes/ps-mode.el: Use comint (bug#5954).
9646         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
9647         (ps-mode-other-newline): Simplify.
9648         (ps-run-mode): Derive from comint-mode instead of
9649         fundamental-mode, yielding input history etc.
9650         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
9651         (ps-run-send-string): Adapt for comint-mode.
9652         (ps-run-newline): Remove now unneeded function.
9654 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
9656         * net/tramp.el (tramp-methods): Move hostname to the end in all
9657         plink `tramp-login-args'.
9659 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
9661         * net/tramp.el (tramp-open-shell): New defun.
9662         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9663         Use it.
9665 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
9667         * net/tramp.el (tramp-file-name-regexp-unified)
9668         (tramp-completion-file-name-regexp-unified): On W32 systems, do
9669         not regard the volume letter as remote filename.  (Bug#5447)
9671 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
9673         * custom.el (custom-declare-variable): Give a clearer error message
9674         when the docstring is missing (bug#6476).
9676 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
9678         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
9679         (sql-login-params): New widget definition.
9680         (sql-oracle-login-params, sql-mysql-login-params)
9681         (sql-solid-login-params, sql-sybase-login-params)
9682         (sql-informix-login-params, sql-ingres-login-params)
9683         (sql-ms-login-params, sql-postgres-login-params)
9684         (sql-interbase-login-params, sql-db2-login-params)
9685         (sql-linter-login-params): Use it.
9686         (sql-sqlite-login-params): Use it; Define "database" parameter as
9687         a file name.
9688         (sql-sqlite-program): Change to "sqlite3".
9689         (sql-comint-sqlite): Make sure database name is complete.
9690         (sql-for-each-login): New function.
9691         (sql-connect, sql-save-connection): Use it.
9692         (sql-get-login-ext): New function.
9693         (sql-get-login): Use it.
9694         (sql-make-alternate-buffer-name): Handle :file parameters.
9696 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
9698         * dired.el (dired-no-confirm): Document value t and fix defcustom to
9699         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
9701 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
9703         * dired.el (dired-mode-map): Use command remapping (bug#6632).
9705 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
9707         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
9709 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
9711         * net/tramp.el (tramp-get-ls-command)
9712         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
9713         instead of "/".
9715 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
9717         * progmodes/sql.el: Version 2.3.
9718         (sql-connection-alist): Change keys from symbols to strings;
9719         enhanced the widget definition.
9720         (sql-mode-menu): Add submenu to select connections.
9721         (sql-interactive-mode-menu): Add "Save Connection" item.
9722         (sql-add-product): Fix menu item.
9723         (sql-get-product-feature): Improved error handling.
9724         (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
9725         (sql-make-alternate-buffer-name): Simplified.
9726         (sql-product-interactive): Handle missing product.
9727         (sql-connect): Support string keys, minor improvements.
9728         (sql-save-connection): New function.
9729         (sql-connection-menu-filter): New function.
9731 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
9733         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
9734         (tramp-open-connection-setup-interactive-shell):
9735         Apply workaround for IRIX64 bug.  Move argument of last
9736         `tramp-send-command' where it belongs to.
9738 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
9740         * net/tramp.el (tramp-perl-file-attributes)
9741         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
9742         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
9743         front of `login-args'.
9745 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
9747         * time.el (display-time-world-mode): Define with `define-derived-mode'.
9748         Set `show-trailing-whitespace' to nil.
9749         (display-time-world-display): Simplify.
9751 2010-07-18  Alan Mackenzie  <acm@muc.de>
9753         Enhance `c-file-style' in file/directory local variables.
9754         * progmodes/cc-mode.el (c-count-cfss): New function.
9755         (c-before-hack-hook): Call `c-set-style' differently according to
9756         whether c-file-style was set in file or directory local
9757         variables.
9759 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
9761         * progmodes/sql.el: Version 2.2.
9762         (sql-product, sql-user, sql-database, sql-server, sql-port):
9763         Use defcustom :safe keyword rather than putting safe-local-variable
9764         property.
9765         (sql-password): Use defcustom :risky keyword rather than putting
9766         risky-local-variable property.
9767         (sql-oracle-login-params, sql-sqlite-login-params)
9768         (sql-solid-login-params, sql-sybase-login-params)
9769         (sql-informix-login-params, sql-ingres-login-params)
9770         (sql-ms-login-params, sql-postgres-login-params)
9771         (sql-interbase-login-params, sql-db2-login-params)
9772         (sql-linter-login-params): Add `port' option.
9773         (sql-get-product-feature): Add NO-INDIRECT parameter.
9774         (sql-comint-oracle, sql-comint-sybase)
9775         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
9776         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
9777         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
9778         (sql-comint-linter): Rename sql-connect-* functions to
9779         sql-comint-*.
9780         (sql-product-alist, sql-mode-menu): Rename as above and
9781         :sqli-connect-func to :sqli-comint-func.
9782         (sql-connection): New variable.
9783         (sql-interactive-mode): Set it.
9784         (sql-connection-alist): New variable.
9785         (sql-connect): New function.
9786         (sql--alt-buffer-part, sql--alt-if-not-empty)
9787         (sql-make-alternate-buffer-name): Improved alternative buffer name.
9789 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9791         * image-mode.el (image-bookmark-make-record): Do not set context
9792         in an image (Bug#6650).
9794 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
9796         * simple.el (select-active-region): New function.
9797         (push-mark-command, set-mark, activate-mark)
9798         (handle-shift-selection): Use it.
9799         (deactivate-mark): Don't check for size of region.
9801         * mouse.el (mouse-drag-track): Use select-active-region.
9803 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
9805         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
9806         "--dired" stronger.
9808 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
9810         * term/x-win.el (x-select-enable-primary): Change default to nil.
9811         (x-select-enable-clipboard): Add :version keyword.
9813         * mouse.el (mouse-drag-copy-region):
9814         * simple.el (select-active-regions): Likewise.
9816 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
9818         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
9819         (vc-coding-system-for-diff): Use it to decide whether to inherit
9820         from the file the EOL format for reading the diffs of that file.
9821         (Bug#4451)
9823 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
9825         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
9826         unibyte, so compressed attachments are not compressed again.
9828 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
9830         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
9831         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
9832         (tramp-find-shell): Simplify setting connection property.
9833         (tramp-get-ls-command): Make test for "--color=never" stronger.
9835 2010-07-15  Simon South  <ssouth@member.fsf.org>
9837         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
9838         blocks within record declarations (i.e. variant parts) correctly.
9840 2010-07-15  Simon South  <ssouth@member.fsf.org>
9842         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
9843         over literal tokens when parsing so newlines aren't "absorbed" by
9844         single-line comments.  Corrects the indentation of case blocks
9845         that have a comment on the first line.
9847 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
9849         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
9850         by Drew Adams (Bug#5504).
9852 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
9854         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
9855         now that Unicode is used (Bug#6594).
9857 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
9859         * term/x-win.el (x-select-enable-clipboard): Default to t.
9860         (x-initialize-window-system): Don't overwrite Paste menu item.
9862         * simple.el (select-active-regions): Default to t.
9863         (push-mark-command): Don't overwrite primary with empty string.
9865         * mouse.el: Bind mouse-2 to mouse-yank-primary.
9866         (mouse-drag-copy-region): Default to nil.
9868         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
9869         Cut/Copy/Paste menu bar items.
9871 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9873         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
9874         Patch applied by Karl Fogel.
9876         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
9877         and `bookmark-current-buffer' if they have been already set in
9878         another buffer (e.g gnus-art).
9880 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
9881             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9883         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
9885         * bookmark.el (bookmark-make-record-default): Allow unneeded
9886         information to be omitted from the record.
9888         Adjust declarations and calls:
9890         * info.el (bookmark-make-record-default): Adjust declaration.
9891         (Info-bookmark-make-record): Adjust call.
9893         * woman.el (bookmark-make-record-default): Adjust declaration.
9894         (woman-bookmark-make-record): Adjust call.
9896         * man.el (bookmark-make-record-default): Adjust declaration.
9897         (Man-bookmark-make-record): Adjust call.
9899         * image-mode.el (bookmark-make-record-default): Adjust declaration.
9901         * doc-view.el (bookmark-make-record-default): Adjust declaration.
9903 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
9905         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
9906         This is also from Thierry Volpiatto's patch in bug #6444.  However,
9907         because it was extraneous to the functional change in that patch,
9908         and causes a re-indendation, I am committing it separately.
9910 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9912         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
9913         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
9914         Patch applied by Karl Fogel (Bug#6444).
9916 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
9918         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
9920 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
9922         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
9923         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
9924         (ns-alternatives-map): Change S-tab binding to backtab
9925         (bug#6616).
9927         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
9928         under ns.
9930 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
9932         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
9933         (Bug#5806)
9935         * language/tv-util.el (tai-viet-re): Remove format.
9937 2010-07-12  Kenichi Handa  <handa@m17n.org>
9939         * language/hebrew.el: Remove no-byte-compile declaration.
9940         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
9941         composition-function-table for 3-character looking back.
9942         (hebrew-font-get-precomposed): New function.
9943         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
9945 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
9947         * mouse.el (mouse-drag-track): Handle select-active-regions
9948         (Bug#6612).
9950 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
9952         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
9953         empty argument to gvfs-copy.
9955 2010-07-10  Glenn Morris  <rgm@gnu.org>
9957         * calendar/calendar.el (calendar-week-end-day): New function.
9958         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
9959         Respect calendar-week-start-day.  (Bug#6606)
9960         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
9961         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
9962         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
9963         respect calendar-week-start-day.
9965 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
9967         * simple.el (use-region-p): Doc fix (Bug#6607).
9969 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
9971         * progmodes/compile.el (compilation-error-regexp-alist-alist):
9972         Add regexps for cucumber and ruby.
9974 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
9976         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
9977         (epa-file-insert-file-contents): Hack to prevent
9978         find-file from opening empty buffer when decryption failed
9979         (bug#6568).
9981 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
9983         * textmodes/ispell.el (ispell-alternate-dictionary):
9984         Use file-readable-p.
9985         Return nil if no word-list is found at default locations.
9986         (ispell-complete-word-dict): Default to nil.
9987         (ispell-command-loop): Use 'word-list' when using lookup-words.
9988         (lookup-words): Use ispell-complete-word-dict or
9989         ispell-alternate-dictionary.  Check for word-list availability
9990         and handle errors if needed with better messages (Bug#6539).
9991         (ispell-complete-word): Use ispell-complete-word-dict or
9992         ispell-alternate-dictionary.
9994 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
9996         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
9997         builtins (BufferError, BytesWarning, WindowsError; callables
9998         bin, bytearray, bytes, format, memoryview, next, print; __package__).
10000 2010-07-07  Glenn Morris  <rgm@gnu.org>
10002         * play/zone.el (top-level): Do not require timer, tabify, or cl.
10003         (zone-shift-left): Ignore intangibility, and any errors from
10004         forward-char.
10005         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
10006         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
10007         deleting, and copying text properties.
10008         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
10009         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
10010         to point-max is hard.
10011         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
10012         (zone-fill-out-screen): Ignore intangibility.
10014 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
10016         * menu-bar.el (menu-bar-mode):
10017         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
10018         if it has been set.
10020         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
10021         word/line selection (Bug#6565).
10023 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
10025         * net/dbus.el (dbus-send-signal): Declare function.
10027 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
10029         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
10030         (dbus-register-property): New optional argument EMITS-SIGNAL.
10031         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
10033 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
10035         * mouse.el (mouse-drag-overlay): Variable deleted.
10036         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
10037         (mouse--remap-link-click-p): New function.
10038         (mouse-drag-track): Handle dragging by using temporary Transient
10039         Mark mode, instead of a special overlay.
10040         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
10041         mouse-show-mark.
10043         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
10044         deleted.
10046 2010-07-02  Juri Linkov  <juri@jurta.org>
10048         * autoinsert.el (auto-insert-alist): Fix readability
10049         by using dotted pair notation for lambda.
10051 2010-07-02  Juri Linkov  <juri@jurta.org>
10053         * faces.el (read-face-name): Rename arg `string-describing-default'
10054         to `default'.  Doc fix.  Display the default value in quotes
10055         in the prompt.  With empty input, return the `default' arg,
10056         unless the default value is a string (in which case return nil).
10057         (describe-face): Replace the string `default' arg of `read-face-name'
10058         with the symbol `default'.
10060 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
10062         * emulation/viper-cmd.el (viper-delete-backward-char)
10063         (viper-del-backward-char-in-insert)
10064         (viper-del-backward-char-in-replace, viper-change)
10065         (viper-backward-indent): Replace delete-backward-char with
10066         delete-char (Bug#6552).
10068 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
10070         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
10072 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
10074         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
10075         argument passed to frame-creation-function (Bug#5378).
10077         * faces.el (x-handle-named-frame-geometry)
10078         (x-handle-reverse-video, x-create-frame-with-faces)
10079         (face-set-after-frame-default, tty-create-frame-with-faces):
10080         Don't separately consult default-frame-alist.  It is now passed as the
10081         PARAMETER argument.
10083 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
10085         * startup.el (command-line): Don't call tool-bar-setup in a
10086         tty-only build.
10088 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
10090         * ruler-mode.el (ruler--save-header-line-format): New fun.
10091         (ruler-mode): Use it as a setter function, so as not to overwrite
10092         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
10094 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
10096         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
10097         (vc-root-diff, vc-print-root-log, vc-log-incoming)
10098         (vc-log-outgoing): Use it.
10099         (vc-diff-internal): Set diff-vc-backend.
10101         * vc/diff-mode.el (diff-vc-backend): New var.
10103 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
10105         * dynamic-setting.el (font-setting-change-default-font):
10106         Remove call to message.
10108 2010-06-28  Kenichi Handa  <handa@m17n.org>
10110         * international/quail.el (quail-insert-kbd-layout): Fix the
10111         showing of untranslated characters.
10113 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
10115         * simple.el (delete-active-region): New option.
10116         (delete-backward-char): Implement in Lisp.
10117         (delete-forward-char): New command.
10119         * mouse.el (mouse-region-delete-keys): Delete.
10120         (mouse-show-mark): Simplify.
10122         * bindings.el (global-map): Bind delete and DEL, the former to
10123         delete-forward-char.
10125 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
10127         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
10128         (ruby-mode): Bind indent-line-function (Bug#5119).
10130 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
10132         * startup.el (command-line): Recognize "0" X resource value.
10134 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
10136         * startup.el (command-line): Use X resources to set the value of
10137         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
10139         * menu-bar.el (menu-bar-mode):
10140         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
10141         Set init-value to t.
10143         * frame.el (frame-notice-user-settings): Don't change
10144         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
10145         vice versa (Bug#2249).
10147 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
10149         * w32-fns.el (w32-convert-standard-filename): Doc fix.
10151 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
10153         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
10154         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
10156         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
10157         default directories are expanded (Bug#6143).
10159 2010-06-24  Juri Linkov  <juri@jurta.org>
10161         * minibuffer.el (completions-format): Change default from nil to
10162         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
10164 2010-06-24  Juri Linkov  <juri@jurta.org>
10166         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
10167         buffer-locally to lambda that re-runs the vc diff command.
10168         (Bug#6447)
10170 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
10172         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
10173         echo area is in use (Bug#3412).
10175 2010-06-22  Glenn Morris  <rgm@gnu.org>
10177         * textmodes/texinfmt.el (texinfo-format-region)
10178         (texinfo-raise-lower-sections, texinfo-format-separate-node)
10179         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
10180         (texinfo-format-option, texinfo-noindent):
10181         Use line-beginning-position and line-end-position.
10183         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
10184         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
10185         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
10186         utf-8 characters.
10188 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
10190         * play/zone.el (zone-fall-through-ws): Fix next-line ->
10191         forward-line fallout.
10193 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
10195         * mouse.el (mouse-appearance-menu): Add docstring.
10197         * help.el (describe-key): Print up-event using key-description.
10199 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
10201         * net/zeroconf.el (zeroconf-resolve-service)
10202         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
10203         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
10205 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
10207         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
10209 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
10211         Avoid displaying files with a nil state in vc-dir.
10212         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
10213         cases that cause insertion.
10214         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
10215         with a nil state.
10217 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
10219         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
10221 2010-06-29  Leo  <sdl.web@gmail.com>
10223         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
10225 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
10227         * generic-x.el (bat-generic-mode): Fix regexp for command line
10228         switches (Bug#5719).
10230 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
10232         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
10233         of nconc to avoid pure storage error (Bug#6239).
10235 2010-06-27  Christoph Scholtes  <cschol2112@googlemail.com>
10237         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
10238         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
10239         bindings of bookmark-automatically-show-annotations (Bug#6515).
10241 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
10243         * arc-mode.el (archive-zip-extract): Don't quote the file name on
10244         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
10246 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
10248         * comint.el (make-comint, make-comint-in-buffer): Mention return
10249         value in the docstrings.  (Bug#6498)
10251 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
10253         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
10254         since it is not present when using some non-default switches.
10256 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
10258         * simple.el (compose-mail): Fix doc string to refer to
10259         `compose-mail-user-agent-warnings', instead of to the
10260         nonexistent `compose-mail-check-user-agent'.
10262 2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>
10264         Fix an indentation bug:
10266         * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
10267         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
10268         of existing values.
10270         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
10271         (c-clear->-pair-props-if-match-before): now return t when they've
10272         cleared properties, nil otherwise.
10273         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
10274         by taking account of the existing value.
10276         * progmodes/cc-defs.el
10277         (c-clear-char-property-with-value-function): Fix this to clear the
10278         property rather than overwriting it with nil.
10280 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
10282         * emacs-lisp/package.el (package-print-package): Add link to
10283         package description via describe-package.
10284         (describe-package-1): List package requirements.  Add button to
10285         perform installation.
10286         (package-menu-describe-package): New command.
10288         * help-mode.el (help-package): New button type.
10290 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
10292         * emacs-lisp/package.el: Move package-list-packages binding to
10293         menu-bar.el.
10294         (describe-package, describe-package-1, package--dir): New funs.
10295         (package-activate-1): Use package--dir.
10297         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
10299         * help-mode.el (help-package-def): New button type.
10301         * menu-bar.el: Move package-list-packages binding here from
10302         package.el.
10304 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
10306         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
10308 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10310         * emacs-lisp/edebug.el (edebug-read-list):
10311         Phase out old-style backquotes.
10313 2010-06-17  Juri Linkov  <juri@jurta.org>
10315         * help-mode.el (help-mode): Set buffer-local variable
10316         revert-buffer-function to help-mode-revert-buffer.
10317         (help-mode-revert-buffer): New function.
10319         * info.el (Info-revert-find-node): Check for major-mode Info-mode
10320         before popping to "*info*" (like in other Info functions).
10321         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
10322         old-history-forward.  Pop to old-buffer-name or "*info*" to
10323         recreate the killed buffer.  Set Info-history-forward from
10324         old-history-forward.
10325         (Info-breadcrumbs-depth): Add :group and :version.
10327 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
10329         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
10331 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
10333         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
10334         for languages like Portuguese with pt_{BR,PT} and no plain pt.
10336 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
10338         * emacs-lisp/package.el (package-menu-mode-map):
10339         Move initialization into declaration.
10341         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
10343 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
10345         * emacs-lisp/package.el (package-archive-base): Point to
10346         elpa.gnu.org.
10347         (package-enable, package-load-list): New defcustoms.
10348         (package-user-dir, package-directory-list): Turn into defcustoms.
10349         Don't include package-user-dir in package-directory-list.
10350         (package--builtins-base): Don't include Emacs as a "package".
10351         (package-subdirectory-regexp): New var.
10352         (package-load-all-descriptors, package-compute-transaction)
10353         (package-download-transaction): Obey package-load-list.
10354         (package-activate-1): Rename from package-do-activate.
10355         (package-list-packages-internal): Check package-load-list.
10356         (package-load-descriptor, package-generate-autoloads)
10357         (package-unpack, package-unpack-single)
10358         (package--read-archive-file, package-delete):
10359         Use expand-file-name.
10361         * emacs-lisp/package-x.el: New file.  Package uploading
10362         functionality split out from package.el.
10364         * startup.el (command-line): Load packages after reading init file.
10366 2010-06-17  Tom Tromey  <tromey@redhat.com>
10368         * emacs-lisp/package.el: New file.
10370 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
10372         Fix vc-annotate for renamed files when using Git.
10373         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
10374         ls-files.  Doe not pass the object as a file name to cat-file, it
10375         is not a file name.
10376         (vc-git-annotate-command): Pass the file name using -- to avoid
10377         ambiguity with the revision.
10378         (vc-git-previous-revision): Pass a relative file name.
10380 2010-06-22  Glenn Morris  <rgm@gnu.org>
10382         * progmodes/js.el (js-mode-map): Use standard capitalization and
10383         ellipses for menu entries.
10385         * wid-edit.el (widget-complete): Doc fix.
10387 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
10389         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
10391 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
10393         Fix annotating other revisions for renamed files in vc-annotate.
10394         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
10395         VC backend.  Use it when non-nil.
10396         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
10397         (Bug#6487).
10399         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
10400         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
10401         Do not pass the file name to the 'previous-revision call when we
10402         don't want a file diff.  (Bug#6489)
10404 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
10406         Fix finding revisions for renamed files in vc-annotate.
10407         * vc/vc.el (vc-find-revision): Add an optional argument for
10408         the VC backend.  Use it when non-nil.
10409         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
10410         backend to vc-find-revision.  (Bug#6487)
10412 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
10414         Fix reading file names in Git annotate buffers.
10415         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
10416         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
10418 2010-06-20  Alan Mackenzie  <acm@muc.de>
10420         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
10421         in file local variables, set it first.
10423 2010-06-19  Glenn Morris  <rgm@gnu.org>
10425         * descr-text.el (describe-char-unicode-data): Insert separating
10426         space when needed.  (Bug#6422)
10428         * progmodes/idlwave.el (idlwave-action-and-binding):
10429         Fix typo in 2009-12-03 change.  (Bug#6450)
10431 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10433         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
10434         handling for `lambda' (misunderstanding).
10436 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
10438         * calc/calc-poly.el (math-accum-factors): Make sure that
10439         constants aren't distributed after they are factored out.
10441 2010-06-16  Juri Linkov  <juri@jurta.org>
10443         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
10444         `list-colors-print'.  (Bug#6332)
10446         * subr.el (read-quoted-char): Fix up last change (bug#6290).
10448 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10450         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
10451         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
10453         * font-lock.el (font-lock-major-mode): Rename from
10454         font-lock-mode-major-mode to distinguish it from
10455         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
10456         (font-lock-set-defaults):
10457         * font-core.el (font-lock-default-function): Adjust users.
10458         (font-lock-mode): Don't set it at all.
10460 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10462         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
10464 2010-06-16  Glenn Morris  <rgm@gnu.org>
10466         * calendar/appt.el (appt-time-msg-list): Doc fix.
10467         (appt-check): Let-bind appt-warn-time.
10468         (appt-add): Make the 3rd argument optional.
10469         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
10470         Only add WARNTIME to the output list if non-nil.
10472 2010-06-16  Ivan Kanis  <apple@kanis.eu>
10474         * calendar/appt.el (appt-check): Let the 3rd element of
10475         appt-time-msg-list specify the warning time.
10476         (appt-add): Add new argument with the warning time.  (Bug#5176)
10478 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
10480         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
10481         older than version 1.6.  (Bug#6361)
10483 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
10485         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
10486         used by cl-do-arglist.  (Bug#6408)
10488 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
10490         * textmodes/ispell.el (ispell-dictionary-base-alist):
10491         Fix portuguese casechars/not-casechars for missing 'çÇ'.
10492         Suggested by Rolando Pereira (bug#6434).
10494 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
10496         * facemenu.el (list-colors-sort): Doc fix.
10498 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
10500         * progmodes/sql.el (sql-connect-mysql): Fix typo.
10502 2010-06-14  Juri Linkov  <juri@jurta.org>
10504         Add sort option `list-colors-sort'.  (Bug#6332)
10505         * facemenu.el (color-rgb-to-hsv): New function.
10506         (list-colors-sort): New defcustom.
10507         (list-colors-sort-key): New function.
10508         (list-colors-display): Doc fix.  Sort list according to the option
10509         `list-colors-sort'.
10510         (list-colors-print): Add HSV values to `help-echo' property of
10511         RGB strings.
10513 2010-06-14  Juri Linkov  <juri@jurta.org>
10515         * compare-w.el: Move to the "vc" subdirectory.
10517 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10519         * image-mode.el (image-mode-map): Remap left-char and right-char.
10521         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
10523 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
10525         * term/common-win.el (x-colors): Add all the color names defined
10526         in rgb.txt (Bug#6332).
10528         * facemenu.el (list-colors-print): Don't print extra names if it
10529         will overflow the window width.
10531         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
10532         change (Bug#6343).
10534 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
10536         * files.el (make-directory): Doc fix (bug#6396).
10538 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
10540         * net/tramp.el (tramp-remote-process-environment): Protect version
10541         string by apostroph.
10542         (tramp-shell-prompt-pattern): Do not use a shy group in case of
10543         XEmacs.
10544         (tramp-file-name-for-operation): Add `call-process-region'.
10545         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
10547         * net/tramp-compat.el (top): Do not autoload
10548         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
10549         only when `start-file-process' is not bound.
10550         (tramp-advice-file-expand-wildcards): Do not use
10551         `tramp-handle-file-remote-p'.
10552         (tramp-compat-make-temp-file): Handle the case, that
10553         `make-temp-file' has no third argument EXTENSION.
10555 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
10557         * makefile.w32-in (WINS_BASIC): Include new directory vc.
10559         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
10561 2010-06-11  Juri Linkov  <juri@jurta.org>
10563         * finder.el (finder-known-keywords): Add keyword "vc"
10564         for version control.
10566         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
10567         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
10568         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
10569         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
10571 2010-06-11  Juri Linkov  <juri@jurta.org>
10573         Move version control related files to the "vc" subdirectory.
10574         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
10575         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
10576         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
10577         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
10578         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
10579         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
10580         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
10581         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
10582         Move files to the "vc" subdirectory.
10584 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
10586         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
10587         (Bug#6367).
10589 2010-06-11  Stephen Eglen  <stephen@gnu.org>
10591         * shell.el: Bind `shell-resync-dirs' to M-RET.
10593 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
10595         * notifications.el: Move file from lisp/net, because it is
10596         supposed to talk locally to the user.
10598 2010-06-10  Julien Danjou  <julien@danjou.info>
10600         * net/notifications.el (notifications-on-action-signal)
10601         (notifications-on-closed-signal): Pass notification id as first
10602         argument to the callback functions.  Add docstrings.
10603         (notifications-notify): Fix docstring.
10605 2010-06-10  Glenn Morris  <rgm@gnu.org>
10607         * emacs-lisp/authors.el (authors-ignored-files)
10608         (authors-valid-file-names): Add some files.
10610 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10612         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
10613         merge conflict, giving preference to the emacs-23 version of the code.
10615 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10617         * emacs-lisp/advice.el (ad-compile-function):
10618         Define warning-suppress-types before we let-bind it (bug#6275).
10620         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
10621         declare it, make it buffer-local and permanent-local (bug#6324).
10622         (vc-resynch-window): Adjust name.
10623         * vc-hooks.el (vc-find-file-hook): Adjust name.
10625 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
10627         * net/notifications.el (notifications-notify): Fix docstring.
10629 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
10631         Update to Unicode 6.0.0 beta.
10632         * international/charprop.el: Update copyright.
10633         * international/mule-cmds.el (ucs-names): Update character ranges.
10634         * international/uni-bidi.el:
10635         * international/uni-category.el:
10636         * international/uni-combining.el:
10637         * international/uni-comment.el:
10638         * international/uni-decimal.el:
10639         * international/uni-decomposition.el:
10640         * international/uni-digit.el:
10641         * international/uni-lowercase.el:
10642         * international/uni-mirrored.el:
10643         * international/uni-name.el:
10644         * international/uni-numeric.el:
10645         * international/uni-old-name.el:
10646         * international/uni-titlecase.el:
10647         * international/uni-uppercase.el: Regenerate.
10649 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
10651         * emacs-lisp/smie.el (comment-string-strip): Declare function.
10652         (smie-precs-precedence-table): Fix typo in docstring.
10654         * vc-mtn.el (log-edit-extract-headers): Declare function.
10656         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
10658         * net/notifications.el (dbus-register-signal): Declare function.
10659         (notifications-notify): Fix typos and reflow docstring.
10661 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
10663         Improve VC create/retrieve tag/branch.
10664         * vc.el (vc-create-tag): Do not read the directory name for VCs
10665         with repository revision granularity.  Adjust the tag/branch
10666         prompt.  Reset VC properties.
10667         (vc-retrieve-tag): Do not read the directory name for VCs
10668         with repository revision granularity.  Reset VC properties.
10670 2010-06-09  Julien Danjou  <julien@danjou.info>
10672         * net/notifications.el: New file.
10674 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
10676         Add optional support for resetting VC properties.
10677         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
10678         call vc-file-clearprops when true.
10679         (vc-resynch-buffer): Add new optional argument, pass it down.
10680         (vc-resynch-buffers-in-directory): Likewise.
10682         Improve support for special markup in the VC commit message.
10683         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
10684         * vc-hg.el (vc-hg-checkin): Add support for Date:.
10685         * vc-git.el (vc-git-checkin):
10686         * vc-bzr.el (vc-bzr-checkin): Likewise.
10688 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10690         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
10691         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
10693 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
10695         * iimage.el: Remove images as soon as the underlying text is modified.
10696         (iimage-modification-hook): New function.
10697         (iimage-mode-buffer): Use it.
10699 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10701         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
10702         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
10703         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
10704         (smie-indent-keyword): Add handling of open-paren keywords.
10705         (smie-indent-comment-continue): Don't assume comment-continue.
10707 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
10709         * window.el (pop-to-buffer): Remove the conditional that
10710         compares new-window and old-window, so it will reselect
10711         the selected window unconditionally.
10712         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
10714 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10716         * emacs-lisp/smie.el (smie-indent-offset-after)
10717         (smie-indent-forward-token, smie-indent-backward-token): New functions.
10718         (smie-indent-after-keyword): Use them.
10719         (smie-indent-fixindent): Only applies to the indentation of the BOL.
10720         (smie-indent-keyword): Tweak the black magic.
10721         (smie-indent-comment-continue): Strip comment-continue before use.
10722         (smie-indent-functions): Indent comments before keywords.
10724 2010-06-06  Juri Linkov  <juri@jurta.org>
10726         * isearch.el (isearch-lazy-highlight-search): Fix looping
10727         by checking for empty match.  This syncs this loop with the
10728         similar loop in `isearch-search'.  (Bug#6362)
10730 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
10732         * net/dbus.el (dbus-register-method): Declare function.
10733         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
10734         (dbus-introspect): Doc fix.
10735         (dbus-event-bus-name, dbus-introspect-get-interface)
10736         (dbus-introspect-get-argument): Reflow docstrings.
10738 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
10740         vc-log-incoming/vc-log-outgoing fixes for Git.
10741         * vc-git.el (vc-git-log-view-mode): Fix font lock for
10742         incoming/outgoing logs.
10743         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
10744         instead of vc-git-compute-remote.
10745         (vc-git-compute-remote): Remove.
10747 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
10749         * term/common-win.el (x-colors): Add "dark green" and "dark
10750         turquoise" (Bug#6332).
10752 2010-06-04  Juri Linkov  <juri@jurta.org>
10754         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
10755         Instead of setting `replace' to t and replacing the same string
10756         with itself, don't do certain actions when
10757         kill-do-not-save-duplicates is non-nil and string is equal to car
10758         of kill-ring: don't call menu-bar-update-yank-menu, don't push
10759         interprogram-paste strings to kill-ring, and don't push the input
10760         argument `string' to kill-ring.
10761         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
10763 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
10765         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
10767 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
10769         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
10770         (tramp-gvfs-handler-mounted-unmounted)
10771         (tramp-gvfs-connection-mounted-p): Handle default-location.
10773         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
10774         move files to trash.
10776 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
10778         * international/mule-cmds.el (nonascii-insert-offset)
10779         (nonascii-translation-table): Add obsolescence information.
10781         * international/mule.el (make-translation-table-from-vector): Doc fix.
10783 2010-06-03  Glenn Morris  <rgm@gnu.org>
10785         * desktop.el (desktop-clear-preserve-buffers):
10786         Add "*Warnings*" buffer.  (Bug#6336)
10788 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
10790         vc-log-incoming/vc-log-outgoing improvements for Git.
10791         * vc-git.el (vc-git-log-outgoing): Use the same format as the
10792         short log.
10793         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
10795         Add bindings for vc-log-incoming and vc-log-outgoing.
10796         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
10797         and vc-log-outgoing.
10798         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
10799         and vc-log-outgoing.
10801 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
10803         * net/rcirc.el (rcirc-sort-nicknames): Remove.
10804         (rcirc-handler-366): Always sort nicknames.
10806 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
10808         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
10810 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
10812         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
10814 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10816         * net/rcirc.el (rcirc-sort-nicknames): Change default.
10817         (rcirc-sort-nicknames-join): Avoid setq.
10819 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
10821         * net/rcirc.el (rcirc-sort-nicknames): New custom.
10822         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
10823         (rcirc-handler-366): Use them.
10825 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10827         Split smie-indent-calculate into more manageable chunks.
10828         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
10829         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
10830         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
10831         (smie-indent-exps): Extract from smie-indent-calculate.
10832         (smie-indent-functions): New var.
10833         (smie-indent-functions): Use them.
10835 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10837         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
10838         (smie-indent-calculate): Simplify and cleanup.
10840 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
10842         * net/tramp-gvfs.el (top): Require url-util.
10843         (tramp-gvfs-mount-point): Remove.
10844         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
10845         New defuns.
10846         (with-tramp-dbus-call-method): Format trace message.
10847         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
10848         Implement backup call, when operation on local files fails.
10849         Use progress reporter.  Flush properties of changed files.
10850         (tramp-gvfs-handle-make-directory): Make more traces.
10851         (tramp-gvfs-url-file-name): Hexify file name in url.
10852         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
10853         into account for the resulting file name.
10854         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
10855         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
10856         (tramp-gvfs-handler-mounted-unmounted)
10857         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
10858         attribute "default_location".  Set "prefix" property.
10859         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
10860         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
10861         exists.  Raise an error, if not (due to a corresponding answer
10862         "no" in interactive questions, for example).
10864 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
10866         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
10868 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
10870         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
10871         right-*.  (Bug#6265)
10873 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
10875         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
10876         * vc-git.el (vc-git-compute-remote): New function.
10877         (vc-git-log-outgoing): Use it instead of hard coding a value.
10878         (vc-git-log-incoming): New function.
10880         Improve state updating for VC tag commands.
10881         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
10882         to update the state of all buffers in the directory.
10884         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
10886 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10888         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
10889         `file-directory-p' to the filename part rather than to the whole text.
10891 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10893         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
10895 2010-05-31  Drew Adams  <drew.adams@oracle.com>
10897         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
10899 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
10901         * subr.el (momentary-string-display): Just use read-event to read
10902         the exit event (Bug#6238).
10904 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
10906         * international/mule.el (define-coding-system): Doc fix (bug#6313).
10908 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
10910         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
10911         Suggested by Eli Zaretskii <eliz@gnu.org>.
10913 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10915         * minibuffer.el (completion-file-name-table): Don't return a boundary
10916         past the end of `string' (bug#6299).
10917         (completion--file-name-table): Delegate to completion-file-name-table
10918         for the `boundaries' case.
10920 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
10922         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
10923         movement commands.
10925         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
10926         `path-separator', but maintain compatibility with Emacs 20.2.
10928 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
10930         * server.el (server-process-filter): Receive parent-id argument
10931         from emacsclient.
10932         (server-create-window-system-frame): New arg.  Pass parent-id as
10933         frame parameter.
10935 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
10937         Bidi-sensitive word movement with arrow keys.
10938         * subr.el (right-arrow-command, left-arrow-command): Move to
10939         bindings.el.
10941         * bindings.el (right-char, left-char): Move from subr.el and
10942         rename from right-arrow-command and left-arrow-command.
10943         (right-word, left-word): New functions.
10944         (global-map) <right>: Bind to right-char.
10945         (global-map) <left>: Bind to left-char.
10946         (global-map) <C-right>: Bind to right-word.
10947         (global-map) <C-left>: Bind to left-word.
10949         * ls-lisp.el (ls-lisp-classify-file): New function.
10950         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
10951         (ls-lisp-classify): Call ls-lisp-classify-file.
10952         (insert-directory): Remove blanks from switches.
10954 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
10956         * ansi-color.el: Delete unused escape sequences (Bug#6085).
10957         (ansi-color-drop-regexp): New constant.
10958         (ansi-color-apply, ansi-color-filter-region)
10959         (ansi-color-apply-on-region): Delete unrecognized control sequences.
10960         (ansi-color-apply): Build string list before calling concat.
10962 2010-05-28  Juri Linkov  <juri@jurta.org>
10964         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10965         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
10966         (Bug#5270)
10968 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
10970         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
10971         to ignored backtrace functions.
10972         (with-progress-reporter): Expand docstring.
10973         (tramp-handle-delete-file): Implement TRASH argument.
10974         (tramp-get-remote-trash): New defun.
10976 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
10978         * net/tramp-compat.el (tramp-compat-delete-file):
10979         Use `symbol-value' for backward compatibility.
10981         * net/tramp.el (tramp-handle-make-symbolic-link)
10982         (tramp-handle-load)
10983         (tramp-do-copy-or-rename-file-via-buffer)
10984         (tramp-do-copy-or-rename-file-directly)
10985         (tramp-do-copy-or-rename-file-out-of-band)
10986         (tramp-handle-process-file, tramp-handle-call-process-region)
10987         (tramp-handle-shell-command, tramp-handle-file-local-copy)
10988         (tramp-handle-insert-file-contents, tramp-handle-write-region)
10989         (tramp-delete-temp-file-function): Use `delete-file' instead
10990         of `tramp-compat-delete-file'.
10992         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10993         (tramp-fish-handle-make-symbolic-link)
10994         (tramp-fish-handle-process-file): Use `delete-file' instead
10995         of `tramp-compat-delete-file'.
10997         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10998         Use `delete-file' instead of `tramp-compat-delete-file'.
11000         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region):
11001         Use `delete-file' instead of `tramp-compat-delete-file'.
11003         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
11004         Use `delete-file' instead of `tramp-compat-delete-file'.
11006         * net/tramp-smb.el (tramp-smb-handle-copy-file)
11007         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
11008         (tramp-smb-handle-write-region): Use `delete-file' instead of
11009         `tramp-compat-delete-file'.
11010         (tramp-smb-handle-delete-directory): Use 'trash as arg.
11012 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
11014         * dired.el (dired-delete-file): New arg TRASH.
11015         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
11016         (dired-do-flagged-delete, dired-do-delete): Use trash.
11018         * speedbar.el (speedbar-item-delete): Allow trashing.
11020         * files.el (delete-directory): New arg TRASH.
11022         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
11023         (ange-ftp-rename-remote-to-remote)
11024         (ange-ftp-rename-local-to-remote)
11025         (ange-ftp-rename-remote-to-local, ange-ftp-load)
11026         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
11027         `delete-file'.
11028         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
11029         allow trashing.
11031         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
11032         handle new TRASH arg of `delete-file'.
11034         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
11035         (tramp-handle-make-symbolic-link, tramp-handle-load)
11036         (tramp-do-copy-or-rename-file-via-buffer)
11037         (tramp-do-copy-or-rename-file-directly)
11038         (tramp-do-copy-or-rename-file-out-of-band)
11039         (tramp-handle-process-file, tramp-handle-call-process-region)
11040         (tramp-handle-shell-command, tramp-handle-file-local-copy)
11041         (tramp-handle-insert-file-contents, tramp-handle-write-region)
11042         (tramp-delete-temp-file-function): Use null TRASH arg in
11043         tramp-compat-delete-file call.
11045         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
11046         (tramp-fish-handle-delete-file)
11047         (tramp-fish-handle-make-symbolic-link)
11048         (tramp-fish-handle-process-file): Use null TRASH arg in
11049         `tramp-compat-delete-file' call.
11051         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
11052         arg in `tramp-compat-delete-file' call.
11054         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
11055         (tramp-gvfs-handle-write-region): Use null TRASH arg in
11056         `tramp-compat-delete-file' call.
11058         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
11059         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
11060         `tramp-compat-delete-file' call.
11062         * net/tramp-smb.el (tramp-smb-handle-copy-file)
11063         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
11064         (tramp-smb-handle-write-region): Use null TRASH arg in
11065         tramp-compat-delete-file call.
11066         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
11067         (tramp-smb-handle-delete-file): Rename arg.
11069         * diff.el (diff-sentinel):
11070         * epg.el (epg--make-temp-file, epg-decrypt-string)
11071         (epg-verify-string, epg-sign-string, epg-encrypt-string):
11072         * jka-compr.el (jka-compr-partial-uncompress)
11073         (jka-compr-call-process, jka-compr-write-region):
11074         * server.el (server-sentinel): Remove optional arg from
11075         delete-file, reverting 2010-05-03 change.
11077 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
11079         * progmodes/verilog-mode.el (verilog-type-font-keywords):
11080         Use font-lock-constant-face, not obsolete font-lock-reference-face.
11082 2010-05-27  Kenichi Handa  <handa@m17n.org>
11084         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
11085         element of GSTRING is nil.
11087 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11089         * emacs-lisp/smie.el (smie-forward-token-function)
11090         (smie-backward-token-function): New vars.
11091         (smie-backward-sexp, smie-forward-sexp)
11092         (smie-indent-hanging-p, smie-indent-calculate): Use them.
11093         (smie-default-backward-token): Rename from smie-backward-token and
11094         skip comments.
11095         (smie-default-forward-token): Rename from smie-forward-token and
11096         skip comments.
11097         (smie-next-sexp): Handle nil results from next-token.
11098         (smie-indent-calculate): Add a new case for special `fixindent' comments.
11100 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
11102         * progmodes/verilog-mode.el (verilog-type-font-keywords):
11103         Use font-lock-constant-face, not obsolete font-lock-reference-face.
11105 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
11107         * htmlfontify.el (hfy-face-resolve-face): New function.
11108         (hfy-face-to-style): Use it (Bug#6279).
11110 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11112         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
11113         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
11115 2010-05-26  Glenn Morris  <rgm@gnu.org>
11117         * emulation/edt.el (edt-load-keys): Use locate-library.
11119 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
11121         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
11122         (log-edit-changelog-entries): Doc fix.
11123         (log-edit-changelog-insert-entries): Args changed.
11124         Rename relative filenames in ChangeLog entries.  Delete tabs.
11125         (log-edit-insert-changelog-entries): Reorganize return value of
11126         `log-edit-changelog-entries' to pass filenames to
11127         log-edit-changelog-insert-entries.
11129 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11131         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
11132         `image-dired-dired-insert-marked-thumbs' to
11133         `image-dired-dired-toggle-marked-thumbs'.
11135         * image-dired.el: Require cl when compiling.
11136         (image-dired-dired-toggle-marked-thumbs): Rename from
11137         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
11138         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
11139         to 'no-dir.  Skip files whose names don't match
11140         `image-file-name-regexp'.  When file has a thumbnail overlay,
11141         delete it.  (Bug#5270)
11143 2010-05-25  Juri Linkov  <juri@jurta.org>
11145         * image-mode.el (image-mode): Add image-after-revert-hook to
11146         after-revert-hook.
11147         (image-after-revert-hook): New function.  (Bug#5669)
11149 2010-05-25  Juri Linkov  <juri@jurta.org>
11151         * image.el (image-animated-p): When delay between animated images
11152         is 0, set it to 10 (0.1 sec).  (Bug#6258)
11154 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
11156         * net/tramp.el (tramp-handle-insert-directory): Don't use
11157         `forward-word', its default syntax could be changed.
11159 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
11161         * net/tramp.el (tramp-progress-reporter-update): New defun.
11162         (with-progress-reporter): Use it.
11163         (tramp-process-actions):
11164         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
11165         Preserve current message, in order to let progress reporter continue
11166         afterwards.  (Bug#6257)
11168 2010-05-25  Glenn Morris  <rgm@gnu.org>
11170         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
11171         Add :version.
11173 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
11175         * net/rcirc.el (rcirc-default-user-name): Change to "user".
11176         (rcirc-default-full-name): Change to "unknown".
11177         (rcirc-user-name-history): Add variable.
11179 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
11180             Jonathan Rockway  <jon@jrock.us>
11182         * net/rcirc.el (rcirc-server-alist): Add :pass.
11183         (rcirc): When prompting for connection parameters, also prompt for
11184         username and password.
11185         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
11186         value to server when connecting.
11188 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11190         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
11191         (smie-merge-prec2s): Pass the tables as separate args.
11192         (smie-bnf-precedence-table): Adjust call accordingly.
11193         (smie-prec2-levels): Set levels at the end.
11195         Replace Lisp calls to delete-backward-char by delete-char.
11196         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
11197         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
11198         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
11199         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
11200         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
11201         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
11202         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
11203         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
11204         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
11205         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
11206         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
11207         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
11208         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
11209         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
11210         delete-backward-char by calls to delete-char.
11212 2010-05-25  Kenichi Handa  <handa@m17n.org>
11214         * language/hebrew.el (hebrew-shape-gstring): New function.
11215         Register it in composition-function-table for all Hebrew combining
11216         characters.
11218 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11220         * epa.el (epa--select-keys): Don't explicitly delete the window since
11221         that can fail (e.g. sole window in frame).  Use dedication instead.
11223 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
11225         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
11227 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
11229         * image.el (image-refresh): Define as an alias for image-flush.
11231         * image-mode.el (image-toggle-display-image): Caller changed.
11233 2010-05-21  Juri Linkov  <juri@jurta.org>
11235         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
11236         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
11237         whitespace, call wildcard-to-regexp on substrings and concat them
11238         with "\\|".  (Bug#6114)
11240 2010-05-21  Alan Mackenzie  <acm@muc.de>
11242         * progmodes/cc-engine.el (c-parse-state-get-strategy):
11243         Replace parameter `here' with `here-' and `here-plus', which sandwich
11244         any pertinent CPP construct.
11245         (c-remove-stale-state-cache-backwards): Fix a bug which happens
11246         when doing (c-parse-state) in a CPP construct: Exclude any "new"
11247         CPP construct from taking part in the scanning.
11249 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
11251         * net/tramp.el (tramp-do-copy-or-rename-file)
11252         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
11253         Tune `with-progress-reporter' messages.
11254         (tramp-handle-vc-registered):
11255         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
11256         (tramp-fish-handle-insert-file-contents)
11257         (tramp-fish-maybe-open-connection):
11258         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11259         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
11260         (tramp-imap-handle-insert-file-contents)
11261         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
11263 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
11265         * add-log.el (change-log-font-lock-keywords):
11266         Highlight all authors in multi-author entries.
11268         * smerge-mode.el (smerge-refine-ignore-whitespace)
11269         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
11270         Fix typos in docstrings.
11271         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
11273 2010-05-21  Glenn Morris  <rgm@gnu.org>
11275         * progmodes/fortran.el (fortran-mode):
11276         * progmodes/f90.el (f90-mode): Derive from prog-mode.
11278         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
11279         having a relative path in src/Makefile.in.
11281 2010-05-20  Kevin Ryde  <user42@zip.com.au>
11283         * help-mode.el (help-make-xrefs): For Info node links turn
11284         newlines into spaces.  Link node names with newlines are matched
11285         by help-xref-info-regexp and buttonized, this change ensures they
11286         can be followed successfully with RET.  (Bug#6206)
11288 2010-05-20  Juri Linkov  <juri@jurta.org>
11290         * locate.el (locate): Use pop-to-buffer instead of
11291         switch-to-buffer-other-window.  (Bug#6204)
11293 2010-05-20  Juri Linkov  <juri@jurta.org>
11295         * replace.el (replace-highlight): Fix lazy-highlighting
11296         for `M-s w str M-% str RET'.
11298 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
11300         * isearch.el (isearch-yank-word-or-char): Pull next subword
11301         when `subword-mode' is activated.  (Bug#6220)
11303 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
11305         * isearch.el (isearch-update-post-hook): New hook.
11306         (isearch-update): Use the new hook.  (Bug#6225)
11308 2010-05-20  Juri Linkov  <juri@jurta.org>
11310         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
11311         [f1], [help], and (char-to-string help-char) instead of "\C-h".
11312         (Bug#6222)
11314 2010-05-20  Juri Linkov  <juri@jurta.org>
11316         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
11317         (Bug#6223)
11319 2010-05-20  Juri Linkov  <juri@jurta.org>
11321         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
11322         FILE-NAME to read from the minibuffer when called interactively
11323         with prefix argument instead of using buffer-file-name.
11324         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
11326         * dired.el: Update autoloads.
11328 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
11330         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
11331         nxml-finish-element, for consistency with SGML mode.
11333         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
11334         octave-close-block.
11336 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
11338         * composite.el: Require cl when compiling.
11339         (reference-point-alist, compose-gstring-for-graphic)
11340         (compose-gstring-for-terminal): Fix typos in docstrings.
11342 2010-05-19  Juri Linkov  <juri@jurta.org>
11344         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
11345         set-window-parameter.
11347 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
11349         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
11350         where appropriate.
11351         (tramp-maybe-open-connection): Use it.
11353 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
11355         * simple.el (move-end-of-line): Make sure we are at line beginning
11356         before backing up to end of previous line.
11358 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
11360         * password-cache.el (password-cache-remove): Fix docstring.
11362         * net/secrets.el: Autoload the widget functions.
11363         (secrets-search-items, secrets-create-item)
11364         (secrets-get-attributes, secrets-expand-item): Attributes will be
11365         stored on the password database without leading ":", as all other
11366         clients do as well.
11367         (secrets-mode): Fix docstring.
11368         (secrets-show-secrets): Provide it as autoloaded command only when
11369         D-Bus support is available.  Check existence of Secret Service API.
11371 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11373         * indent.el (indent-region): Deactivate region (bug#6200).
11375 2010-05-19  Glenn Morris  <rgm@gnu.org>
11377         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
11379 2010-05-19  Kenichi Handa  <handa@m17n.org>
11381         * composite.el: Register compose-gstring-for-graphic in
11382         composition-function-table only for combining characters (Mn, Mc, Me).
11384 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
11386         * calc/calc-trail.el (calc-trail-isearch-forward)
11387         (calc-trail-isearch-backward): Ensure that the new window
11388         point is set correctly.
11390 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11392         * subr.el (read-quoted-char): Resolve modifiers after key
11393         remapping (bug#6212).
11395 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
11397         Add visualization code for secrets.
11398         * net/secrets.el (secrets-mode): New major mode.
11399         (secrets-show-secrets, secrets-show-collections)
11400         (secrets-expand-collection, secrets-expand-item)
11401         (secrets-tree-widget-after-toggle-function)
11402         (secrets-tree-widget-show-password): New defuns.
11404 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11406         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
11407         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
11408         handled in smie-next-sexp.
11409         (smie-indent-calculate): Provide a starting indentation (so the
11410         recursion is well-founded ;-).
11412         Fix handling of non-associative equal levels.
11413         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
11414         when it's not needed.
11415         (smie-op-left, smie-op-right): New functions.
11416         (smie-next-sexp): New function, extracted from smie-backward-sexp.
11417         Better handle equal levels to distinguish the associative case from
11418         the "multi-keyword construct" case.
11419         (smie-backward-sexp, smie-forward-sexp): Use it.
11421 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
11423         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
11425         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
11426         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
11428 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11430         Provide a simple generic indentation engine and use it for Prolog.
11431         * emacs-lisp/smie.el: New file.
11432         * progmodes/prolog.el (prolog-smie-op-levels)
11433         (prolog-smie-indent-rules): New var.
11434         (prolog-mode-variables): Use them to configure SMIE.
11435         (prolog-indent-line, prolog-indent-level): Remove.
11437 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
11439         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
11440         order before computing the averages.
11442 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
11444         * calc/calc-vec.el (calc-histogram):
11445         (calcFunc-histogram): Allow vectors as inputs.
11446         (math-vector-avg): New function.
11448         * calc/calc-ext.el (math-group-float): Have the number of digits
11449         being grouped depend on the radix (Bug#6189).
11451 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
11453         * version.el (emacs-copyright, emacs-version): Don't define here,
11454         now that emacs.c defines it.
11456 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
11458         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
11459         "Describe Language Environment" menu item.
11461         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
11463         Bidi-sensitive movement with arrow keys.
11464         * subr.el (right-arrow-command, left-arrow-command): New functions.
11466         * bindings.el (global-map): Bind them to right and left arrow keys.
11468         Don't override standard definition of convert-standard-filename.
11469         * files.el (convert-standard-filename):
11470         Call w32-convert-standard-filename and dos-convert-standard-filename on
11471         the corresponding systems.
11473         * w32-fns.el (w32-convert-standard-filename): Rename from
11474         convert-standard-filename.  Doc fix.
11476         * dos-fns.el (dos-convert-standard-filename): Doc fix.
11477         (convert-standard-filename): Don't defalias.
11478         (register-name-alist, make-register, register-value)
11479         (set-register-value, intdos): Obsolete aliases for the
11480         corresponding dos-* functions and variables.
11481         (dos-intdos): Add a doc string.
11483 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
11485         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
11486         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
11487         (math-compose-tex-func):
11488         * calc/calccomp.el (math-compose-expr):
11489         * calc/calc-ext.el (math-format-flat-expr-fancy):
11490         * calc/calc-store.el (calc-read-var-name):
11491         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
11493         * calc/calc.el (var-π, var-φ, var-γ): New variables.
11494         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
11495         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
11496         (math-standard-units): Add units.
11498 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11500         * progmodes/asm-mode.el (asm-mode):
11501         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
11503         * pcomplete.el (pcomplete-completions-at-point): New function,
11504         extracted from pcomplete-std-complete.
11505         (pcomplete-std-complete): Use it.
11507 2010-05-15  Glenn Morris  <rgm@gnu.org>
11509         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11510         Remove references to CVS, RCS and Old directories.
11512 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
11514         * calc/calc-bin.el (math-format-twos-complement): Group digits when
11515         appropriate.
11517 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11519         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
11520         (sh-mode-syntax-table): Give it a default value instead.
11521         (sh-header-marker): Make buffer-local.
11522         (sh-mode): Move make-local-variable to the corresponding setq.
11523         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
11524         Use complete-with-action.
11526         * simple.el (prog-mode): New (abstract) major mode.
11527         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
11528         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
11530 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
11532         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
11533         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
11534         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
11535         (sql-make-alternate-buffer-name, sql-placeholders-filter)
11536         (sql-escape-newlines-filter, sql-input-sender)
11537         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
11539 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
11541         Add TeX open-block and close-block keybindings to SGML, and vice versa.
11543         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
11544         latex-open-block and C-c / to latex-close-block.
11546         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
11547         and C-c C-e to sgml-close-tag.
11549 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
11551         * net/tramp.el (with-progress-reporter): Create reporter object
11552         only when the message would be displayed.  Handle nested calls.
11553         (tramp-handle-load, tramp-handle-file-local-copy)
11554         (tramp-handle-insert-file-contents, tramp-handle-write-region)
11555         (tramp-maybe-send-script, tramp-find-shell):
11556         Use `with-progress-reporter'.
11557         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
11558         Fix message text.
11560         * net/tramp-smb.el (tramp-smb-handle-copy-file)
11561         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
11562         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
11563         Use `with-progress-reporter'.
11565 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
11567         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
11568         process everytime when spellchecking from the minibuffer (bug#6143).
11570 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11572         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
11574         * dos-fns.el: Add "dos-" prefix for namespace control.
11575         (convert-standard-filename): Define as alias for
11576         dos-convert-standard-filename but only if applicable.
11578 2010-05-12  Alan Mackenzie  <acm@muc.de>
11580         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
11581         Push the mark at the start of these functions when appropriate.
11583 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11585         * minibuffer.el (completion-cycle-threshold): New custom var.
11586         (completion--do-completion): Use it.
11587         (minibuffer-complete): Use cycling if appropriate.
11589 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
11591         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
11592         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
11594 2010-05-11  Juri Linkov  <juri@jurta.org>
11596         * scroll-all.el (scroll-all-check-to-scroll):
11597         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
11599 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11601         * iimage.el (iimage-mode-map): Move initialization into declaration.
11602         (iimage-mode-buffer): Use with-silent-modifications.
11603         Simplify calling convention.  Adjust callers.
11604         (iimage-mode): Don't run hook redundantly.
11606         * minibuffer.el (completion-pcm--pattern->regex):
11607         Fix last change (bug#6160).
11609 2010-05-10  Juri Linkov  <juri@jurta.org>
11611         Remove nodes visited during Isearch from the Info history.
11612         * info.el (Info-isearch-initial-history)
11613         (Info-isearch-initial-history-list): New variables.
11614         (Info-isearch-start): Record initial values of
11615         Info-isearch-initial-history and Info-isearch-initial-history-list.
11616         Add Info-isearch-end to isearch-mode-end-hook.
11617         (Info-isearch-end): New function.
11619 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
11621         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
11622         format string, in order to work around a bug in pdksh.
11623         Reported by Gilles Pion <gpion@lfdj.com>.
11624         (tramp-handle-verify-visited-file-modtime): Do not send a command
11625         when the connection is not established.
11626         (tramp-handle-set-file-times): Simplify the check for utc.
11628 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
11630         Fix use of `filter-buffer-substring' (rework previous change).
11631         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
11632         (cua-repeat-replace-region):
11633         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
11634         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11635         (cua-cut-region-to-global-mark): Use it.
11637 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
11639         * progmodes/sql.el: Version 2.1.
11640         (sql-product-alist): Redesign structure of product info.
11641         (sql-product, sql-user, sql-server, sql-database): Safe variables.
11642         (sql-port, sql-port-history): New variables.
11643         (sql-interactive-product): New variable.
11644         (sql-send-terminator): New variable.
11645         (sql-imenu-generic-expression): Add "Types" imenu entry.
11646         (sql-oracle-login-params, sql-sqlite-login-params)
11647         (sql-mysql-login-params, sql-solid-login-params)
11648         (sql-sybase-login-params, sql-informix-login-params)
11649         (sql-ingres-login-params, sql-ms-login-params)
11650         (sql-postgres-login-params, sql-interbase-login-params)
11651         (sql-db2-login-params, sql-linter-login-params)
11652         (sql-oracle-scan-on): New variables.
11653         (sql-mode-map): Add C-c C-i to start interactive mode.
11654         (sql-mode-menu): Update existing menu entries.
11655         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
11656         (sql-mode-oracle-font-lock-keywords)
11657         (sql-mode-postgres-font-lock-keywords)
11658         (sql-mode-ms-font-lock-keywords)
11659         (sql-mode-sybase-font-lock-keywords)
11660         (sql-mode-informix-font-lock-keywords)
11661         (sql-mode-interbase-font-lock-keywords)
11662         (sql-mode-ingres-font-lock-keywords)
11663         (sql-mode-solid-font-lock-keywords)
11664         (sql-mode-mysql-font-lock-keywords)
11665         (sql-mode-sqlite-font-lock-keywords)
11666         (sql-mode-db2-font-lock-keywords)
11667         (sql-mode-linter-font-lock-keywords): Update initialization to
11668         reduce run-time complexity.
11669         (sql-add-product, sql-del-product): New functions.
11670         (sql-set-product-feature, sql-get-product-feature): New functions.
11671         (sql-product-font-lock): Update product API.
11672         (sql-add-product-keywords): New function.
11673         (sql-highlight-product): Update product API.
11674         (sql-help-list-products): New function.
11675         (sql-help): Dynamically lists free and non-free products.
11676         (sql-get-login): Correct bug in handling history and added
11677         prompt for port.
11678         (sql-copy-column): Copy without properties.
11679         (sqli-input-sender): Apply filters to SQLi input.
11680         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
11681         Implement as a filter.
11682         (sql-escape-newlines-filter): Implement as a filter.
11683         (sql-remove-tabs-filter): New function.
11684         (sql-send-magic-terminator): New function.
11685         (sql-send-string): Implement magic terminator.
11686         (sql-send-region): Use `sql-send-string'.
11687         (sql-interactive-mode): Use product API.
11688         (sql-product-interactive): Use product API.
11689         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
11690         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
11691         (sql-db2, sql-linter): Use `sql-product-interactive'.
11692         (sql-connect): New function.
11693         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
11694         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
11695         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
11696         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
11697         Use `sql-connect'.
11699 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
11701         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
11702         New custom variable.
11703         (completion-pcm--string->pattern): Use it.
11704         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
11705         Make it handle any symbol as `any'.
11706         (completion-pcm--merge-completions): Extract common suffix for the new
11707         `prefix' symbol as well.
11708         (completion-substring--all-completions): Use the new `prefix' symbol.
11710 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
11712         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
11713         not bound.
11714         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
11715         (tramp-compat-funcall): New defmacro.
11716         (tramp-compat-line-beginning-position)
11717         (tramp-compat-line-end-position)
11718         (tramp-compat-temporary-file-directory)
11719         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
11720         (tramp-compat-copy-file, tramp-compat-copy-directory)
11721         (tramp-compat-delete-file, tramp-compat-delete-directory)
11722         (tramp-compat-number-sequence, tramp-compat-process-running-p)
11723         * net/tramp.el (top, with-progress-reporter)
11724         (tramp-rfn-eshadow-setup-minibuffer)
11725         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
11726         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
11727         (tramp-completion-mode-p, tramp-check-for-regexp)
11728         (tramp-open-connection-setup-interactive-shell)
11729         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
11730         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
11731         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
11732         * net/tramp-cmds.el (tramp-cleanup-all-connections)
11733         (tramp-reporter-dump-variable, tramp-load-report-modules)
11734         (tramp-append-tramp-buffers)
11735         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
11737         * net/tramp-imap.el (top): Autoload `epg-make-context'.
11739 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11741         * progmodes/compile.el (compilation-buffer-modtime): Rename from
11742         buffer-modtime.  Adjust users.
11744 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
11746         * international/mule.el (auto-coding-alist): Only purecopy
11747         car of each item, not the whole list (Bug#6083).
11749 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
11751         * progmodes/js.el (js-mode): Make paragraph variables local before
11752         calling c-setup-paragraph-variables (Bug#6071).
11754 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
11756         * composite.el (compose-region, reference-point-alist): Fix typos
11757         in the doc strings.
11759 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
11761         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
11762         gnuplot's "set" command.
11764 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
11766         * abbrev.el (last-abbrev-text): Doc fix.
11767         (abbrev-prefix-mark): Don't escape parenthesis.
11769 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
11771         * composite.el (find-composition): Doc fix.
11773 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
11775         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
11776         (sql-oracle-program, sql-sqlite-options)
11777         (sql-query-placeholders-and-send): Doc fixes.
11778         (sql-set-product, sql-interactive-mode): Reflow docstrings.
11779         (sql-imenu-generic-expression, sql-buffer)
11780         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
11781         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
11782         (sql-mode-sybase-font-lock-keywords)
11783         (sql-mode-informix-font-lock-keywords)
11784         (sql-mode-interbase-font-lock-keywords)
11785         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
11786         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
11787         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
11788         (sql-product-feature, sql-highlight-product)
11789         (comint-line-beginning-position, sql-rename-buffer)
11790         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
11791         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
11792         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
11793         Fix typos in docstrings.
11795 2010-05-08  Juri Linkov  <juri@jurta.org>
11797         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
11798         property instead of `invisible' and `after-string' (bug#5998).
11800 2010-05-08  Juri Linkov  <juri@jurta.org>
11802         * image-mode.el (image-mode-as-text): Fix typo in docstring.
11804 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
11806         * filecache.el (file-cache-add-directory-list)
11807         (file-cache-add-directory-recursively): Fix typos in docstrings.
11809 2010-05-08  Kenichi Handa  <handa@m17n.org>
11811         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
11812         (gujarati-composable-pattern): Fix typo.
11814 2010-05-08  Kenichi Handa  <handa@m17n.org>
11816         * language/indian.el (oriya-composable-pattern)
11817         (tamil-composable-pattern, malayalam-composable-pattern):
11818         Add two-part vowels to "v" (vowel sign).
11820 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
11822         * files.el (copy-directory): Handle symlinks (Bug#5982).
11824 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
11826         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
11827         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
11828         (Bug#5846).
11830 2010-05-08  Glenn Morris  <rgm@gnu.org>
11832         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
11834         * minibuffer.el (completion-at-point): Doc fix.
11836 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11838         * electric.el (Electric-command-loop): Minor tweak.
11840         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
11841         better with dedicated windows.
11843 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
11845         * Version 23.2 released.
11847 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
11848             Stefan Monnier  <monnier@iro.umontreal.ca>
11850         Highlight vendor specific properties.
11851         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
11852         (css-proprietary-property): New face.
11853         (css-font-lock-keywords): Use them.
11855 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
11857         * cus-start.el (all): Add native condition for tool-bar-* symbols.
11859 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11861         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
11862         * files.el (auto-mode-alist): Remove redundant entries.
11864         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
11865         * simple.el (auto-save-mode): Move from files.el.
11866         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
11868 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
11870         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
11872 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
11874         * mail/binhex.el (binhex-decode-region-internal)
11875         * mail/uudecode.el (uudecode-decode-region-internal)
11876         * net/dns.el (dns-read-string-name, dns-write, dns-read)
11877         (dns-read-type, dns-query)
11878         * pgg-parse.el (pgg-parse-armor)
11879         * pgg.el (pgg-verify-region)
11880         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
11881         XEmacs.
11883         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
11885 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
11887         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
11889         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
11890         * emulation/cua-base.el (cua-repeat-replace-region):
11891         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11892         (cua-cut-region-to-global-mark):
11893         Remove text properties with `set-text-properties'.
11895 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
11897         * net/tramp.el (top, with-progress-reporter):
11898         Use `symbol-function' inside `funcall'.
11900         * net/tramp-compat.el (tramp-compat-file-attributes)
11901         (tramp-compat-delete-file, tramp-compat-delete-directory):
11902         Handle only `wrong-number-of-arguments' error.
11904         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
11905         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
11906         inside `funcall'.
11908 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11910         * minibuffer.el (completion--sreverse, completion--common-suffix):
11911         New functions.
11912         (completion-pcm--merge-completions): Extract common suffix when safe.
11914         * emacs-lisp/easy-mmode.el (define-minor-mode):
11915         Make :variable more flexible.
11916         * files.el (auto-save-mode): Use it to define using define-minor-mode.
11918 2010-05-05  Juri Linkov  <juri@jurta.org>
11920         Add `slow' and `history' tags to the desktop data.
11922         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
11923         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
11924         (Info-finder-find-node): Require `finder.el' to be able
11925         to restore node from the desktop.
11926         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
11927         data `Info-history' and `slow' tag in the assoc list.
11928         (Info-restore-desktop-buffer): Don't restore nodes with the
11929         `slow' tag.  Restore `Info-history'.
11931 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
11933         Add FORCE argument to `delete-file'.
11935         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
11936         forcing to delete the temporary file.
11937         (ange-ftp-delete-file): Add FORCE arg.
11938         (ange-ftp-rename-remote-to-remote)
11939         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
11940         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
11941         Force file deletion.
11943         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
11945         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
11946         (tramp-handle-make-symbolic-link, tramp-handle-load)
11947         (tramp-do-copy-or-rename-file-via-buffer)
11948         (tramp-do-copy-or-rename-file-directly)
11949         (tramp-do-copy-or-rename-file-out-of-band)
11950         (tramp-handle-process-file, tramp-handle-call-process-region)
11951         (tramp-handle-shell-command, tramp-handle-file-local-copy)
11952         (tramp-handle-insert-file-contents, tramp-handle-write-region)
11953         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
11955         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
11956         (tramp-fish-handle-make-symbolic-link)
11957         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
11959         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11960         Use `tramp-compat-delete-file'.
11962         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
11963         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
11965         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
11966         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
11968         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
11969         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
11970         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11971         Use `tramp-compat-delete-file'.
11973 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11975         Minor cleanups.
11976         * subr.el (add-minor-mode): Use push.
11977         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
11978         * emulation/edt.el (edt-select-mode): Simplify.
11980         Use define-minor-mode in more cases.
11981         * term/tvi970.el (tvi970-set-keypad-mode):
11982         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11983         (normal-erase-is-backspace-mode):
11984         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
11985         (set-scroll-bar-mode-1): (Re)move to its sole caller.
11986         (get-scroll-bar-mode): New function.
11987         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
11989         Use define-minor-mode for less obvious cases.
11990         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
11991         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
11992         * international/iso-ascii.el (iso-ascii-mode):
11993         * frame.el (auto-raise-mode, auto-lower-mode):
11994         * composite.el (global-auto-composition-mode): Use define-minor-mode.
11996 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
11998         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
11999         in order to see error messages for failed logins.
12001 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
12003         * diff.el (diff-sentinel):
12005         * epg.el (epg--make-temp-file, epg-decrypt-string)
12006         (epg-verify-string, epg-sign-string, epg-encrypt-string):
12008         * jka-compr.el (jka-compr-partial-uncompress)
12009         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
12011         * server.el (server-sentinel): Use delete-file's new FORCE arg
12012         (Bug#6070).
12014 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12016         Use define-minor-mode where applicable.
12017         * view.el (view-mode):
12018         * type-break.el (type-break-query-mode)
12019         (type-break-mode-line-message-mode):
12020         * textmodes/reftex.el (reftex-mode):
12021         * term/vt100.el (vt100-wide-mode):
12022         * tar-mode.el (tar-subfile-mode):
12023         * savehist.el (savehist-mode):
12024         * ibuf-ext.el (ibuffer-auto-mode):
12025         * composite.el (auto-composition-mode):
12026         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12027         Use define-minor-mode.
12028         (vhdl-mode): Use static mode-line format.
12029         (vhdl-mode-line-update): Delete.
12030         (vhdl-create-mode-menu, vhdl-activate-customizations)
12031         (vhdl-hs-minor-mode): Don't bother calling it.
12033 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12035         * simple.el (with-wrapper-hook): Move.
12036         (buffer-substring-filters): Mark obsolete.
12037         (filter-buffer-substring-functions): New variable.
12038         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
12040 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
12041             Michael Albinus  <michael.albinus@gmx.de>
12043         Implement compression for inline methods.
12045         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
12046         (tramp-copy-size-limit): Allow also nil.
12047         (tramp-inline-compress-commands): New defconst.
12048         (tramp-find-inline-compress, tramp-get-inline-compress)
12049         (tramp-get-inline-coding): New defuns.
12050         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
12051         replaced by `tramp-get-inline-coding'.
12052         (tramp-handle-file-local-copy, tramp-handle-write-region)
12053         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
12055 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12057         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
12058         Remove unused functions.
12060         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
12061         Set find-tag-default-function as a variable rather than a property.
12063         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
12064         * progmodes/etags.el (tags-completion-at-point-function):
12065         Remove left over interactive spec.  Add autoloading stub.
12066         (complete-tag): Use tags-completion-at-point-function.
12068 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
12070         * minibuffer.el (tags-completion-at-point-function): Fix return value.
12072 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
12074         * ido.el (ido-init-completion-maps): Remove C-v binding.
12075         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
12077 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
12079         * minibuffer.el (tags-completion-at-point-function): New function.
12080         (completion-at-point-functions): Use it.
12082         * progmodes/etags.el (complete-tag): Revert last change.
12084 2010-04-29  Alan Mackenzie  <acm@muc.de>
12086         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
12087         off-by-one error (in end of macro position).
12089 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
12091         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
12092         firefox is absent.  Don't autoload.
12093         (browse-url-galeon-program): Don't autoload.
12095 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
12097         * bindings.el (complete-symbol): Move into minibuffer.el.
12099         * minibuffer.el (complete-tag): Move from etags.el.  If tags
12100         completion cannot be performed, return nil instead of signalling
12101         an error.
12102         (completion-at-point): Make it an alias for complete-symbol.
12103         (complete-symbol): Move from bindings.el, and replace with the
12104         body of completion-at-point.
12106         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
12108 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
12110         * net/tramp.el (tramp-remote-selinux-p): New defun.
12111         (tramp-handle-file-selinux-context)
12112         (tramp-handle-set-file-selinux-context): Use it.
12114 2010-04-28  Sam Steingold  <sds@gnu.org>
12116         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
12117         `safe-local-variable' if the value is a string or a symbol with
12118         the property `bug-reference-url-format'.
12120 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
12122         * progmodes/bug-reference.el (bug-reference-url-format):
12123         Revert 2010-04-27 change due to security risk.
12125 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12127         Make it possible to locally disable a globally enabled mode.
12128         * simple.el (fundamental-mode): Run fundamental-mode-hook.
12129         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
12130         rather than kill-all-local-variables so it runs fundamental-mode-hook.
12131         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12132         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
12133         that subsequent hooks get a chance to disable it.
12135 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12137         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12138         Avoid re-enabling a minor mode after the user turned the minor mode
12139         off if MODE-enable-in-buffers is run twice (typically once from
12140         fundamental-mode's after-change-major-mode-hook and a second time from
12141         run-mode-hook's own after-change-major-mode-hook).
12143         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
12145 2010-04-27  Sam Steingold  <sds@gnu.org>
12147         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
12148         `safe-local-variable' if the value is a string or a function, as
12149         documented and implemented on 2010-04-02.
12151 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
12153         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
12154         when method is 'kill.
12156 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
12158         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
12159         condition in default directory check.
12160         (ispell-init-process, ispell-kill-ispell, kill-buffer-hook):
12161         Kill ispell process when killing its associated buffer.
12163 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
12165         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
12166         but we aren't using it.
12168 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
12170         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
12171         checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
12173 2010-04-24  Glenn Morris  <rgm@gnu.org>
12175         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
12176         Ignore VCS-ignore files, and deleted nextstep preferences files.
12177         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
12178         (authors-ambiguous-files): New list.
12179         (authors-valid-file-names): Add some deleted files.
12180         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
12181         (authors-disambiguate-file-name): New function.  (Bug#5501)
12182         (authors-canonical-file-name): Doc fix.
12183         Don't warn about obsolete files.
12184         (authors-canonical-file-name, authors-scan-el):
12185         Use authors-disambiguate-file-name.
12187         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
12188         Add autoload cookies.
12189         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
12190         (generated-autoload-file): Set file-local value to "htmlfontify.el".
12191         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
12192         They have definitions / compiler macros in cl.el.
12193         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
12194         Replace manual autoloads with generated ones.
12195         (htmlfontify-unload-rgb-file): Remove autoload.
12196         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
12198 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12200         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
12201         (byte-compile-setq-default): Optimize for the
12202         single-var case and don't call byte-compile-form in this case to avoid
12203         inf-loop with byte-compile-set-default.
12205         * progmodes/compile.el (compilation-start): Abbreviate default directory.
12207 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
12209         Implement SELINUX backends.
12211         * net/tramp.el (tramp-file-name-handler-alist):
12212         Add `file-selinux-context' and `set-file-selinux-context'.
12213         (tramp-handle-file-selinux-context)
12214         (tramp-handle-set-file-selinux-context): New defuns.
12215         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
12216         Handle PRESERVE-SELINUX-CONTEXT.
12218         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
12219         Add `file-selinux-context' and `set-file-selinux-context'.
12220         (tramp-gvfs-handle-file-selinux-context)
12221         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
12222         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
12224         * net/ange-ftp.el (ange-ftp-copy-file):
12225         * net/tramp-fish.el (tramp-fish-handle-copy-file):
12226         * net/tramp-imap.el (tramp-imap-handle-copy-file):
12227         * net/tramp-smb.el (tramp-smb-handle-copy-file):
12228         Add PRESERVE-SELINUX-CONTEXT.
12230 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
12232         Synchronize with Tramp repository.
12234         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
12235         (tramp-action-process-alive, tramp-action-out-of-band)
12236         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
12237         (tramp-exists-file-name-handler): Fix docstring.
12238         (with-progress-reporter): New defmacro.
12239         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
12240         (tramp-maybe-open-connection): Use it.
12242 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
12244         Detect ssh 'ControlMaster' argument automatically in some cases.
12246         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
12247         (tramp-default-method): Use it.
12249 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
12251         * net/tramp.el (tramp-handle-copy-file): Add new optional
12252         parameter `preserve-selinux-context'.
12253         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
12255 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
12257         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
12258         Ensure, that non remote files are still checked.  Oops.
12260 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
12262         Fix Bug#5840.
12264         * icomplete.el (icomplete-completions): Use `non-essential'.
12266         * net/tramp.el (tramp-connectable-p): New defun.
12267         (tramp-handle-expand-file-name)
12268         (tramp-completion-handle-file-name-all-completions)
12269         (tramp-completion-handle-file-name-completion): Use it.
12271 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12273         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
12275 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
12277         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
12279         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
12281         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
12282         is present.
12284         * info.el (info-tool-bar-map): Add labels.
12286         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
12288         * cus-edit.el (custom-commands): Add labels for tool bar.
12289         (custom-buffer-create-internal, Custom-mode): Adjust for
12290         labels in custom-commands.
12292         * dynamic-setting.el: Renamed from font-setting.el.
12294 2010-04-21  John Wiegley  <jwiegley@gmail.com>
12296         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
12297         toggles the use of virtual buffers.
12298         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
12299         (ido-toggle-virtual-buffers): New function.
12301 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
12303         Use `define-derived-mode'; fix window selection; doc fixes.
12304         * play/tetris.el (tetris, tetris-update-speed-function)
12305         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
12306         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
12307         (tetris-rotate-next, tetris-end-game, tetris-start-game)
12308         (tetris-pause-game): Fix typos in docstrings.
12309         (tetris-mode-map, tetris-null-map):
12310         Move initialization into declaration.
12311         (tetris-mode): Define with `define-derived-mode';
12312         set show-trailing-whitespace to nil.
12313         (tetris): Prefer window already displaying the "*Tetris*" buffer.
12315 2010-04-21  Karel Klíč  <kklic@redhat.com>
12317         * files.el (backup-buffer): Handle SELinux context, and return it
12318         if a backup was made by renaming.
12319         (backup-buffer-copy): Set SELinux context to the target file.
12320         (basic-save-buffer): Set SELinux context of the newly written file.
12321         (basic-save-buffer-1): Now it also returns any SELinux context.
12322         (basic-save-buffer-2): Set SELinux context of the newly created file,
12323         and return it.
12324         * net/tramp.el (tramp-file-name-for-operation):
12325         Add file-selinux-context.
12327 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12329         Make the log-edit comments use RFC822 format throughout.
12331         * vc.el (vc-checkin, vc-modify-change-comment):
12332         Adjust to new vc-start/finish-logentry.
12333         (vc-find-conflicted-file): New command.
12334         (vc-transfer-file): Adjust to new vc-checkin.
12335         (vc-next-action): Improve scoping.
12337         * vc-hg.el (vc-hg-log-edit-mode): Remove.
12338         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
12340         * vc-git.el (vc-git-log-edit-mode): Remove.
12341         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
12342         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
12344         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
12345         (vc-start-logentry): Remove argument `extra'.
12346         (vc-finish-logentry): Remove extra args.
12348         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
12349         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
12350         (vc-bzr-conflicted-files): New function.
12352         * log-edit.el (log-edit-extra-flags)
12353         (log-edit-before-checkin-process): Remove.
12354         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
12355         (log-edit-headers-alist): New var.
12356         (log-edit-header-contents-regexp): New const.
12357         (log-edit-match-to-eoh): New function.
12358         (log-edit-font-lock-keywords): Use them.
12359         (log-edit): Insert a "Summary:" header as default.
12360         (log-edit-mode): Mark font-lock rules as case-insensitive.
12361         (log-edit-done): Cleanup headers.
12362         (log-view-process-buffer): Remove.
12363         (log-edit-extract-headers): New function to replace it.
12365 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
12367         * subr.el (default-direction-reversed): Remove obsolescence info.
12369 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12371         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
12372         windows/frames.
12374         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
12375         I.e. include text after point in the completion region.
12376         Also, return nil when we're not after/in a symbol.
12378         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
12379         default enable-multibyte-characters.
12381 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12383         * international/mule.el: Help the user choose a valid coding-system.
12384         (read-buffer-file-coding-system): New function.
12385         (set-buffer-file-coding-system): Use it.  Prompt the user if the
12386         coding-system cannot encode all the chars.
12388         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
12389         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
12390         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
12391         Don't use *vc-bzr-shelve*.
12393 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
12395         Fix the version number for added files.
12396         * vc-hg.el (vc-hg-working-revision): Check if the file is
12397         registered after hg parent fails (Bug#5961).
12399 2010-04-19  Glenn Morris  <rgm@gnu.org>
12401         * htmlfontify.el (htmlfontify-buffer)
12402         (htmlfontify-copy-and-link-dir): Autoload entry points.
12404 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
12406         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
12407         name relative to the project root (Bug#5960).
12409 2010-04-19  Glenn Morris  <rgm@gnu.org>
12411         * vc-git.el (vc-git-print-log): Doc fix.
12413 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
12415         * ido.el (ido-file-internal): Fix 2009-12-02 change.
12417 2010-04-19  Christoph Scholtes  <cschol2112@googlemail.com>
12419         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
12420         default settings (Bug#5928).
12422 2010-04-19  Glenn Morris  <rgm@gnu.org>
12424         * progmodes/fortran.el (fortran-match-and-skip-declaration):
12425         New function.
12426         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
12428 2010-04-19  Kenichi Handa  <handa@m17n.org>
12430         * language/indian.el (malayalam-composable-pattern): Fix previous
12431         change (add U+0D4D "SIGN VIRAMA").
12432         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
12433         (tamil-composable-pattern): Fix typo in the regexp.
12434         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
12435         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
12436         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
12438 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
12440         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
12441         paragraph-separate (Bug#5821).
12443 2010-04-19  Juri Linkov  <juri@jurta.org>
12445         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
12447         * info.el (Info-find-node-2): Comment out code that skips
12448         breadcrumbs line.
12449         (Info-mouse-follow-link): New command.
12450         (Info-link-keymap): New keymap.
12451         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
12452         Return a string with links instead of inserting breadcrumbs
12453         to the Info buffer.
12454         (Info-fontify-node): Comment out code that inserts breadcrumbs.
12455         Instead of putting the `invisible' text property over the Info
12456         header, make an overlay over the Info header with the `invisible'
12457         property and `after-string' set to the string returned by
12458         `Info-breadcrumbs'.
12460 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
12462         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
12463         Reported by monkey@sandpframing.com.
12465 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12467         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
12468         (tmm-get-keymap): Add key-binding shortcuts now that they're not
12469         available in the "keyseq cache" any more.
12471         * custom.el (defcustom): Add edebug spec.
12473 2010-04-18  Juri Linkov  <juri@jurta.org>
12475         Test for special mode-class in view-buffer instead of view-file (bug#5513).
12477         * view.el (view-file, view-buffer): Move test for special mode-class
12478         from view-file to view-buffer.
12480         * tar-mode.el (tar-extract): Turn if's into one cond
12481         like in arc-mode.el.
12483 2010-04-18  Juri Linkov  <juri@jurta.org>
12485         Add 7z archive format support (bug#5475).
12487         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
12488         (archive-7z-extract): New defcustom.
12489         (archive-find-type): Add magic string for 7z.
12490         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
12491         If `stderr-file' is non-nil, use `(t stderr-file)' for the
12492         `buffer' arg of `call-process'.
12493         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
12494         call the function `archive-7z-extract' with the variable
12495         `archive-7z-extract' let-bound to `archive-zip-extract'.
12496         (archive-7z-summarize, archive-7z-extract): New functions.
12498         * international/mule.el (auto-coding-alist):
12499         * files.el (auto-mode-alist): Add 7z file extension.
12501 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12503         * loadup.el: Setup hash-cons for pure data.
12505         Fix duplicate entries in cedet's loaddefs.el files.
12506         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
12507         Should make most file-local generated-autoload-file unnecessary.
12508         (print-readably): Silence warnings.
12509         (autoload-find-destination): Take load-name as an arg to make sure
12510         it's the same as the one that will be in the file.
12511         (autoload-generate-file-autoloads): Adjust to above changes.
12512         Try to make the dataflow a bit simpler.
12514         * cvs-status.el (cvs-refontify): Remove unused.
12516 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
12518         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
12520         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
12521         twos-complement mode.
12523 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
12525         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
12526         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
12527         (calc-inverse): Add "Option" to message, as appropriate.
12528         (calc-hyperbolic): Add "Option" to message, as appropriate.
12529         (calc-option, calc-is-option): New functions.
12531         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
12532         (calc-option-prefix-help): New function.
12534         * calc/calc-misc.el (calc-help): Add "Option" entry.
12536         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
12537         (calc-option-flag): New variable.
12538         (calc-do): Set `calc-option-flag to nil.
12539         (calc-set-mode-line): Add "Opt " as appropriate.
12541 2010-04-16  Juri Linkov  <juri@jurta.org>
12543         Move scrolling commands from simple.el to window.el
12544         because their primitives are implemented in window.c.
12546         * simple.el (scroll-error-top-bottom)
12547         (scroll-up-command, scroll-down-command, scroll-up-line)
12548         (scroll-down-line, scroll-other-window-down)
12549         (beginning-of-buffer-other-window, end-of-buffer-other-window):
12550         * window.el (scroll-error-top-bottom)
12551         (scroll-up-command, scroll-down-command, scroll-up-line)
12552         (scroll-down-line, scroll-other-window-down)
12553         (beginning-of-buffer-other-window, end-of-buffer-other-window):
12554         Move from simple.el to window.el because their primitives are
12555         implemented in window.c.
12557 2010-04-16  Juri Linkov  <juri@jurta.org>
12559         * isearch.el (isearch-lookup-scroll-key): Check both
12560         `isearch-scroll' and `scroll-command' properties.
12561         (scroll-up, scroll-down): Remove `isearch-scroll' property.
12563         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
12565         * simple.el (scroll-up-command, scroll-down-command)
12566         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
12568 2010-04-15  Juri Linkov  <juri@jurta.org>
12570         * simple.el (scroll-up-command, scroll-down-command)
12571         (scroll-up-line, scroll-down-line): Put `scroll-command'
12572         property on the these symbols.  Remove them from
12573         `scroll-preserve-screen-position-commands'.
12575         * mwheel.el (mwheel-scroll): Put `scroll-command' and
12576         `isearch-scroll' properties on the `mwheel-scroll' symbol.
12577         Remove it from `scroll-preserve-screen-position-commands'.
12579         * isearch.el (isearch-allow-scroll): Doc fix.
12581 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
12583         * net/tramp.el (tramp-error-with-buffer): Don't show the
12584         connection buffer when we are in completion mode.
12585         (tramp-file-name-handler): Catch the error for some operations
12586         when we are in completion mode.  This gives the user the chance to
12587         correct the file name in the minibuffer.
12589 2010-04-15  Glenn Morris  <rgm@gnu.org>
12591         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
12593 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
12595         Simplify by using `define-derived-mode'.
12596         * info.el (Info-mode):
12597         * calendar/todo-mode.el (todo-mode):
12598         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
12599         (gomoku-mode-map): Move initialization into declaration.
12601 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
12603         Fix Bug#5840.
12604         * ido.el (ido-file-name-all-completions-1):
12605         * minibuffer.el (minibuffer-completion-help):
12606         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
12608 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
12610         * simple.el (non-essential): New var.
12612         Add a new field `location' to bookmarks for non-file bookmarks.
12613         * bookmark.el (bookmark-location): Use the new field, if present.
12614         (bookmark-insert-location): Undo last change, not needed any more.
12615         * man.el (Man-bookmark-make-record):
12616         * woman.el (woman-bookmark-make-record): Add `location' field.
12618 2010-04-14  Juri Linkov  <juri@jurta.org>
12620         * simple.el (scroll-error-top-bottom): New defcustom.
12621         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
12623         * emulation/pc-select.el (pc-select-override-scroll-error):
12624         Obsolete in favor of `scroll-error-top-bottom'.
12626 2010-04-14  Juri Linkov  <juri@jurta.org>
12628         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
12629         `scroll-up-command' and `M-v' to `scroll-down-command'.
12631         * emulation/cua-rect.el (cua--init-rectangles):
12632         * forms.el (forms--change-commands):
12633         * image-mode.el (image-mode-map):
12634         Remap scroll-down-command and scroll-up-command
12635         in addition to scroll-down and scroll-up.
12637 2010-04-14  Juri Linkov  <juri@jurta.org>
12639         * mwheel.el (scroll-preserve-screen-position-commands):
12640         Add mwheel-scroll to this list of commands.
12642         * simple.el (scroll-preserve-screen-position-commands):
12643         Add scroll-up-command, scroll-down-command, scroll-up-line,
12644         scroll-down-line to this list of commands.
12646 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12648         * obsolete/complete.el: Move from lisp/complete.el.
12650         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
12652         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
12653         to the minor mode function now turns the mode ON unconditionally.
12655 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12657         * vc-dir.el (vc-dir-kill-line): New command.
12658         (vc-dir-mode-map): Bind it to C-k.
12660         * bookmark.el (bookmark-insert-location): Handle a nil filename.
12662         * woman.el: Add bookmark declarations to silence the compiler.
12663         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
12664         step to compatibility between man and woman bookmarks.
12665         Adjust for Man-default-bookmark-title renaming.
12666         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
12668         * man.el: Add bookmark declarations to silence the compiler.
12669         (Man-name-local-regexp): Make it match NAME as well.
12670         (Man-getpage-in-background): Return the buffer.
12671         (Man-notify-when-ready): Use `case'.
12672         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
12673         Don't hardcode "NAME".  Simplify.
12674         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
12675         Rename from Man-bookmark-make-record.
12676         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
12677         we have the actual man-args.  Use Man-getpage-in-background rather
12678         than `man' since the arg is already processed.  Let bookmark.el do the
12679         window handling.  Only wait for the relevant process.
12680         Don't forget to autoload.
12682         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
12684 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12686         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
12687         New functions.
12688         (woman-mode): Setup bookmark support.
12690         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
12691         (man-bookmark-jump): New functions.
12692         (Man-mode): Setup bookmark support.
12694 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
12696         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
12697         recognize ssh-keygen prompt (Bug#2817).
12699 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
12701         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
12703 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
12705         Synchronize with Tramp repository.
12707         * net/tramp.el (tramp-completion-function-alist)
12708         (tramp-file-name-regexp, tramp-chunksize)
12709         (tramp-local-coding-commands, tramp-remote-coding-commands):
12710         Fix docstring.
12711         (tramp-remote-process-environment): Use `format' instead of `concat'.
12712         (tramp-handle-directory-files-and-attributes)
12713         (tramp-get-remote-path): Use `copy-tree'.
12714         (tramp-handle-file-name-all-completions): Backward/ XEmacs
12715         compatibility: Use `completion-ignore-case' if
12716         `read-file-name-completion-ignore-case' does not exist.
12717         (tramp-do-copy-or-rename-file-directly): Do not use
12718         `tramp-handle-file-remote-p'.
12719         (tramp-do-copy-or-rename-file-out-of-band):
12720         Use `tramp-compat-delete-directory'.
12721         (tramp-do-copy-or-rename-file-out-of-band)
12722         (tramp-compute-multi-hops, tramp-maybe-open-connection):
12723         Use `format-spec-make'.
12724         (tramp-find-foreign-file-name-handler)
12725         (tramp-advice-make-auto-save-file-name)
12726         (tramp-set-auto-save-file-modes): Remove superfluous check for
12727         `stringp'.  This is done inside `tramp-tramp-file-p'.
12728         (tramp-debug-outline-regexp): New defconst.
12729         (tramp-get-debug-buffer): Use it.
12730         (tramp-check-for-regexp): Use (forward-line 1).
12731         (tramp-set-auto-save-file-modes): Adapt version check.
12733         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
12734         Wrap call of `featurep' for 2nd argument.
12735         (tramp-compat-make-temp-file): Simplify fallback implementation.
12736         (tramp-compat-copy-tree): Remove function.
12737         (tramp-compat-delete-directory): Provide implementation for older
12738         Emacsen.
12740         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
12741         Do not use `tramp-fish-handle-file-attributes.
12743         * net/trampver.el: Update release number.
12745 2010-04-10  Glenn Morris  <rgm@gnu.org>
12747         * progmodes/compile.el (compilation-save-buffers-predicate):
12748         Add missing :version tag.
12750 2010-04-09  Sam Steingold  <sds@gnu.org>
12752         * progmodes/compile.el (compilation-save-buffers-predicate):
12753         Remove the "autoload" cookie.
12755         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
12756         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
12757         and `bug-reference-prog-mode' can be used in hooks directly.
12759 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
12761         Add --author support to git commit.
12762         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
12763         (vc-git-log-edit-mode): New minor mode.
12764         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
12765         New declarations.
12767 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
12769         * vc-hooks.el, vc-git.el: Improve documentation comments.
12771 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12773         Fix some of the problems in defsubst* (bug#5728).
12774         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
12775         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
12777 2010-04-07  Sam Steingold  <sds@gnu.org>
12779         * progmodes/compile.el (compilation-save-buffers-predicate):
12780         New custom variable.
12781         (compile, recompile): Pass it to `save-some-buffers'.
12783 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
12785         * wid-edit.el (widget-choose): Move cursor to the second line of
12786         the buffer (Bug#5695).
12788 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
12790         Add new VC methods: vc-log-incoming and vc-log-outgoing.
12791         * vc.el (vc-print-log-setup-buttons): New function split out from
12792         vc-print-log-internal.
12793         (vc-log-internal-common): New function, a parametrized version of
12794         vc-print-log-internal.
12795         (vc-print-log-internal): Just call vc-log-internal-common with the
12796         right arguments.
12797         (vc-incoming-outgoing-internal):
12798         (vc-log-incoming, vc-log-outgoing): New functions.
12799         (vc-log-view-type): New permanent local variable.
12801         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
12803         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
12804         of the dynamic bound vc-short-log.
12805         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
12807         * vc-git.el (vc-git-log-outgoing): New function.
12808         (vc-git-log-view-mode): Use vc-log-view-type instead
12809         of the dynamic bound vc-short-log.
12811         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
12812         of the dynamic bound vc-short-log.  Highlight the tag.
12813         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
12814         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
12815         (vc-hg-incoming-mode): Remove.
12816         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
12818 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
12820         Fix default-directory for vc-root-diff.
12821         * vc.el (vc-root-diff): Bind default-directory to the root
12822         directory for the diff command.
12824 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
12826         * progmodes/verilog-mode.el (verilog-forward-sexp):
12827         (verilog-calc-1): Support "disable fork" and "fork wait" multi
12828         word keywords, suggested by Steve Pearlmutter.
12829         (verilog-pretty-declarations): Support lineup of declarations in
12830         port lists.
12831         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
12832         fix bug for /* / comments.
12833         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
12834         Speed up and simplfy as this is never called with a bound.
12835         (verilog-pretty-declarations): Enhance to line up declarations
12836         inside a parameter list, suggested by Alan Morgan.
12837         (verilog-pretty-expr): Tune assignment regular expression match
12838         string for corner cases; also use markers instead of character
12839         number as indent changes the later.
12841 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
12843         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
12844         as missing keyword.
12845         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
12846         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
12847         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
12848         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
12849         Tennant.
12850         (verilog-keywords):
12851         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
12852         1800-2009 keywords, including "global.".
12854 2010-04-06  John Wiegley  <jwiegley@gmail.com>
12856         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
12857         appearing in buffer list (if a live buffer name matched a recentf
12858         file basename).  Should use uniquify to offer a real solution.
12860 2010-04-06  John Wiegley  <jwiegley@gmail.com>
12862         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
12863         comment to code, and add a :version tag.
12864         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
12866 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
12868         Enable recentf-mode if using virtual buffers.
12869         * ido.el (recentf-list): Declare for byte-compiler.
12870         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
12871         (ido-make-buffer-list): Simplify.
12872         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
12874 2010-04-05  Juri Linkov  <juri@jurta.org>
12876         Scrolling commands which scroll a line instead of full screen.
12877         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12879         * simple.el (scroll-up-line, scroll-down-line): New commands.
12880         Put property isearch-scroll=t on them.
12882         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
12883         Remove commands.
12885 2010-04-05  Juri Linkov  <juri@jurta.org>
12887         Scrolling commands which do not signal errors at top/bottom.
12888         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12890         * simple.el (scroll-up-command, scroll-down-command): New commands.
12891         Put property isearch-scroll=t on them.
12893         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
12894         `scroll-down-command' and [next] from `scroll-up' to
12895         `scroll-up-command'.
12897         * emulation/cua-base.el: Put property CUA=move on
12898         `scroll-up-command' and `scroll-down-command'.
12899         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
12900         and `scroll-down-command' to `cua-scroll-down'.
12902 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
12904         * help.el (describe-mode): Return nil.
12906 2010-04-04  John Wiegley  <jwiegley@gmail.com>
12908         * ido.el (ido-use-virtual-buffers): New variable to indicate
12909         whether "virtual buffer" support is enabled for IDO.
12910         (ido-virtual): Face used to indicate virtual buffers in the list.
12911         (ido-buffer-internal): If a buffer is chosen, and no such buffer
12912         exists, but a virtual buffer of that name does (which would be why
12913         it was in the list), recreate the buffer by reopening the file.
12914         (ido-make-buffer-list): If virtual buffers are being used, call
12915         `ido-add-virtual-buffers-to-list' before the make list hook.
12916         (ido-virtual-buffers): New variable which contains a copy of the
12917         current contents of the `recentf-list', albeit pared down for the
12918         sake of speed, and with proper faces applied.
12919         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
12920         create a list of "virtual buffers" to present to the user in
12921         addition to the currently open set.  Note that this logic could
12922         get rather slow if that list is too large.  With the default
12923         `recentf-max-saved-items' of 200, there is little speed penalty.
12925 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12927         * font-lock.el: Require CL when compiling.
12928         (font-lock-turn-on-thing-lock): Use `case'.
12930 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
12932         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
12933         Zaretskii.
12935 2010-04-02  Juri Linkov  <juri@jurta.org>
12937         * ehelp.el (electric-help-orig-major-mode):
12938         New buffer-local variable.
12939         (electric-help-mode): Set it to original major-mode.  Doc fix.
12940         (with-electric-help): Use `electric-help-orig-major-mode' instead
12941         of (default-value 'major-mode).  Doc fix.
12942         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
12944 2010-04-02  Sam Steingold  <sds@gnu.org>
12946         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
12947         `vc-hg-command' with a list of flags.
12949         * progmodes/bug-reference.el (bug-reference-bug-regexp):
12950         Also accept "patch" and "RFE".
12951         (bug-reference-fontify): `bug-reference-url-format' can also be a
12952         function to be able to handle the bug kind.
12953         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
12955 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
12957         * tmm.el (tmm-get-keymap): Check with symbolp before passing
12958         value to fboundp, it may not be a symbol.
12960 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12962         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
12964 2010-03-31  Juri Linkov  <juri@jurta.org>
12966         * simple.el (next-line, previous-line): Re-throw a signal
12967         with `signal' instead of using `ding'.
12968         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
12970 2010-03-31  Juri Linkov  <juri@jurta.org>
12972         * simple.el (keyboard-escape-quit): Raise deselecting the active
12973         region higher than exiting the minibuffer.
12974         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
12976 2010-03-31  Juri Linkov  <juri@jurta.org>
12978         * image.el (image-animated-p): Use `image-metadata' instead of
12979         `image-extension-data'.  Get GIF extenstion data from metadata
12980         property `extension-data'.
12982 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12984         * simple.el (append-to-buffer): Simplify.
12986 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
12988         * textmodes/artist.el (artist-mode): Fix typo in docstring.
12989         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
12991 2010-03-31  Kenichi Handa  <handa@m17n.org>
12993         * language/sinhala.el (composition-function-table): Fix regexp for
12994         the new Unicode specification.
12996         * language/indian.el (devanagari-composable-pattern)
12997         (tamil-composable-pattern, kannada-composable-pattern)
12998         (malayalam-composable-pattern): Adjust for the new Unicode
12999         specification.
13000         (bengali-composable-pattern, gurmukhi-composable-pattern)
13001         (gujarati-composable-pattern, oriya-composable-pattern)
13002         (telugu-composable-pattern): New variables to cope with the new
13003         Unicode specification.  Use them in composition-function-table.
13005 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
13007         Make tmm-menubar work for the Buffers menu again (bug#5726).
13008         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
13009         vectors rather than cons cells, as used in menu-bar-update-buffers.
13011 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
13013         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
13014         (js-insert-and-indent): Revert 2009-08-15 change, restoring
13015         electric punctuation for "{}();,:" (Bug#5586).
13017         * mail/sendmail.el (mail-default-directory): Doc fix.
13019 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
13021         * mail/sendmail.el (mail-default-directory): Doc fix.
13023 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
13025         * subr.el (version-regexp-alist, version-to-list)
13026         (version-list-<, version-list-=, version-list-<=)
13027         (version-list-not-zero, version<, version<=, version=): Doc fix.
13028         (Bug#5744).
13030 2010-02-31  Dan Nicolaescu  <dann@ics.uci.edu>
13032         * vc.el (vc-root-diff): Doc fix.
13034 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
13036         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
13038         * simple.el (append-to-buffer): Fix last change.
13040 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
13042         * simple.el (append-to-buffer): Ensure that point is preserved if
13043         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
13044         (Bug#5749)
13046 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
13048         * files.el (auto-mode-case-fold): Change default to t.
13050 2010-03-30  Juri Linkov  <juri@jurta.org>
13052         * dired-x.el (dired-omit-mode): Doc fix.
13054 2010-03-30  Juri Linkov  <juri@jurta.org>
13056         * replace.el (occur-accumulate-lines): Move occur-engine related
13057         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
13058         to be located after `occur-engine'.
13060 2010-03-30  Juri Linkov  <juri@jurta.org>
13062         Make occur handle multi-line matches cleanly with context.
13063         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
13065         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
13066         (occur-engine): Add local variables `ret', `prev-after-lines',
13067         `prev-lines'.  Use more arguments for `occur-context-lines'.
13068         Set first elem of its returned list to `data', and the second elem
13069         to `prev-after-lines'.  Don't print the separator line.
13070         In the end, print remaining context after-lines.
13071         (occur-context-lines): Add new arguments `begpt', `endpt',
13072         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
13073         after-lines of the previous match with before-lines of the
13074         current match and not overlap them.  Return a list with two
13075         values: the output line and the list of context after-lines.
13077 2010-03-30  Juri Linkov  <juri@jurta.org>
13079         * replace.el (occur-accumulate-lines): Fix a bug where the first
13080         context line at the beginning of the buffer was missing.
13082 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
13084         * files.el: Make bidi-display-reordering safe variable for boolean
13085         values.
13087 2010-03-29  Phil Hagelberg  <phil@evri.com>
13088             Chong Yidong  <cyd@stupidchicken.com>
13090         * subr.el: Extend progress reporters to perform "spinning".
13091         (progress-reporter-update, progress-reporter-do-update):
13092         Handle non-numeric value arguments.
13093         (progress-reporter--pulse-characters): New var.
13095 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
13097         * progmodes/compile.el (compilation-start): Fix regexp detection
13098         of initial cd command (Bug#5771).
13100 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
13102         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
13104 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
13106         Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
13107         * progmodes/gdb-mi.el: Restore.
13108         * progmodes/gdb-ui.el: Remove.
13109         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
13111 2010-03-25  Glenn Morris  <rgm@gnu.org>
13113         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
13114         all dired buffers, even tramp ones.  (Bug#5755)
13116 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13118         Add "union tags" in mpc.el.
13119         * mpc.el: Remove backward compatibility code.
13120         (mpc-browser-tags): Change default.
13121         (mpc--find-memoize-union-tags): New var.
13122         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
13123         (mpc-cmd-find): Handle the case where the playlist does not exist.
13124         Handle union-tags.
13125         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
13126         (mpc-cmd-add): Use mpc-cmd-flush.
13127         (mpc-tagbrowser-tag-name): New fun.
13128         (mpc-tagbrowser-buf): Use it.
13129         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
13131 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13133         Misc cleanup.
13134         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
13135         Use replace-regexp-in-string.
13136         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
13137         (makefile-imake-mode-syntax-table): Move init into defvar.
13138         (makefile-mode): Use define-derived-mode.
13140         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
13141         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
13142         not be present any more.
13144 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
13146         * faces.el (set-face-attribute): Fix typo in docstring.
13147         (face-valid-attribute-values): Reflow docstring.
13149 2010-03-24  Glenn Morris  <rgm@gnu.org>
13151         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
13153 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
13155         * indent.el (indent-for-tab-command): Doc fix.
13157 2010-03-24  Alan Mackenzie  <acm@muc.de>
13159         * progmodes/cc-engine.el (c-remove-stale-state-cache):
13160         Fix off-by-one error.  Fixes bug #5747.
13162 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
13164         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
13165         (image-dired-read-comment): Doc fix.
13167         * json.el (json-object-type, json-array-type, json-key-type)
13168         (json-false, json-null, json-read-number):
13169         * minibuffer.el (completion-in-region-functions):
13170         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
13171         (cal-tex-cursor-week):
13172         * emacs-lisp/trace.el (trace-function):
13173         * eshell/em-basic.el (eshell/printnl):
13174         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
13175         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
13176         * obsolete/levents.el (allocate-event, event-key, event-object)
13177         (event-point, event-process, event-timestamp, event-to-character)
13178         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
13179         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
13180         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
13181         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
13182         (reftex-highlight-selection): Fix typos in docstrings.
13184 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
13186         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
13188 2010-03-24  Glenn Morris  <rgm@gnu.org>
13190         * mail/rmail.el (rmail-highlight-face): Restore option deleted
13191         2008-02-13 without comment; mark it obsolete.
13192         (rmail-highlight-headers): Use rmail-highlight-face once more.
13194 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
13196         * woman.el (woman2-process-escapes): Only consume the newline if
13197         the filler character is on a line by itself (Bug#5729).
13199 2010-03-24  Kenichi Handa  <handa@m17n.org>
13201         * language/indian.el (devanagari-composable-pattern): Add more
13202         consonants.
13204 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
13206         * net/trampver.el: Update release number.
13208 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
13210         * net/tramp.el (tramp-find-executable):
13211         Use `tramp-get-connection-buffer'.  Make the regexp for checking
13212         output of "wc -l" more robust.
13213         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
13214         (tramp-open-connection-setup-interactive-shell): Remove workaround
13215         for OpenSolaris bug, it is not needed anymore.
13217 2010-03-24  Glenn Morris  <rgm@gnu.org>
13219         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
13221 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
13223         * files.el (auto-mode-alist): Accept more verilog file patterns.
13225 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13227         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
13229 2010-03-24  Glenn Morris  <rgm@gnu.org>
13231         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
13232         log-edit-before-checkin-process.
13234         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
13236         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
13238         * vc-dispatcher.el (vc-start-logentry): Doc fix.
13239         (log-view-process-buffer, log-edit-extra-flags): Declare.
13241         * log-edit.el (log-edit-before-checkin-process): Doc fix.
13243 2010-03-23  Sam Steingold  <sds@gnu.org>
13245         Fix bug#5620: recalculate all markers on compilation buffer
13246         modifications, not on file modifications.
13247         * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
13248         variable: the buffer modification time, for buffers not associated with
13249         files.
13250         (compilation-mode): Create it.
13251         (compilation-filter): Update it.
13252         (compilation-next-error-function): Use it instead of
13253         `visited-file-modtime' for timestamp.
13255 2010-03-23  Juri Linkov  <juri@jurta.org>
13257         Implement Occur multi-line matches.
13258         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
13260         * replace.el (occur): Doc fix.
13261         (occur-engine): Set `begpt' to the beginning of the first line.
13262         Set `endpt' to the end of the last match line.  At first, count
13263         line numbers between `origpt' and `begpt'.  Split out code from
13264         `out-line' variable to new let-bindings `match-prefix' and
13265         `match-str'.  In `out-line' add non-numeric prefix to all
13266         non-first lines of multi-line matches.  Finally, count lines
13267         between `begpt' and `endpt' and add to `lines'.
13269 2010-03-23  Juri Linkov  <juri@jurta.org>
13271         * replace.el (occur-accumulate-lines, occur-engine):
13272         Use `occur-engine-line' instead of duplicate code.
13273         (occur-engine-line): New function created from duplicate code
13274         in `occur-accumulate-lines' and `occur-engine'.
13276         * replace.el (occur-engine-line): Add optional arg `keep-props'.
13277         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
13279 2010-03-23  Juri Linkov  <juri@jurta.org>
13281         * finder.el: Remove TODO tasks.
13283         * info.el (Info-finder-find-node): Add node "all"
13284         with all package info.  Handle a list of multiple keywords
13285         separated by comma.
13286         (info-finder): In interactive use with a prefix argument,
13287         use `completing-read-multiple' to read a list of keywords
13288         separated by comma.
13290 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13292         Add a new completion style `substring'.
13293         * minibuffer.el (completion-basic--pattern): New function.
13294         (completion-basic-try-completion, completion-basic-all-completions):
13295         Use it.
13296         (completion-substring--all-completions)
13297         (completion-substring-try-completion)
13298         (completion-substring-all-completions): New functions.
13299         (completion-styles-alist): New style `substring'.
13301 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13303         Get rid of .elc files after removal of the corresponding .el.
13304         * Makefile.in (compile-clean): New target.
13305         (compile-main): Use it.
13307 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
13309         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
13310         don't do make there.  When compiling with separate object dir, there
13311         is no Makefile there.
13313 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13315         Get rid of the ELCFILES abomination, again.
13316         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
13317         (all, compile): Don't call compile-last.
13318         (compile-main): Build the "elcfiles" list dynamically.
13319         (compile-targets): New (internal) target.
13321 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
13323         * Makefile.in (top_srcdir): Define.
13324         (abs_top_builddir): Define.
13325         (srcdir): Don't append `/..'.
13326         (EMACS): Use ${abs_top_builddir}.
13327         (all, compile, compile-always, compile-last): Don't set emacswd.
13328         (update-subdirs, update-authors): Use $(top_srcdir) instead of
13329         $(srcdir).
13330         (lisp): Use $(srcdir) instead of @srcdir@.
13332 2010-03-21  Juri Linkov  <juri@jurta.org>
13334         Fix message of multi-line occur regexps and multi-buffer header lines.
13335         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
13337         * replace.el (occur-1): Don't display regexp if it is longer
13338         than window-width.  Use `query-replace-descr' to display regexp.
13339         (occur-engine): Don't display regexp in the buffer header for
13340         multi-buffer occur.  Display a separate header line with total
13341         match count and regexp for multi-buffer occur.
13342         Use `query-replace-descr' to display regexp.
13344 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
13346         * net/secrets.el: Fix parenthesis.
13347         (secrets-enabled): Fix parenthesis.
13349 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13351         Use more relative file and directory names.
13352         * Makefile.in (EMACS): Arrange for it to work when we chdir.
13353         (setwins, setwins_almost, setwins_for_subdirs):
13354         Don't `cd'; output relative names.
13355         (all, compile, compile-always, compile-last): Set emacswd.
13356         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
13357         Just cd to the lisp source dir so we can use relative file names.
13359         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
13361 2010-03-20  Glenn Morris  <rgm@gnu.org>
13363         * textmodes/rst.el: Use faces for font-lock customization, and make the
13364         old -face variables obsolete.
13365         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
13366         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
13367         (rst-block-face, rst-external-face, rst-definition-face)
13368         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
13369         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
13370         Make obsolete.
13371         (rst-font-lock-keywords-function): Update for above changes.
13373 2010-03-20  Juri Linkov  <juri@jurta.org>
13375         * s-region.el:
13376         * obsolete/s-region.el: Move to obsolete.
13378 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
13380         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
13382 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
13384         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
13386 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
13388         Add special markup processing for commit logs.
13389         * log-edit.el (log-edit-extra-flags): New variable.
13390         (log-edit): Add new argument MODE.  Use that mode when non-nil
13391         instead of the log-view-mode.
13392         (log-view-process-buffer): New function.
13394         * vc.el: Document that the checkin method takes optional
13395         arguments.  Document new backend specific method: log-view-mode.
13396         (vc-default-log-edit-mode): New function.
13397         (vc-checkin): Use a backend specific log-view-mode.
13398         Pass extra arguments to the checkin method.
13399         (vc-modify-change-comment): Pass a dummy extra argument.
13401         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
13402         log-edit.
13403         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
13404         (vc-finish-logentry): Process the log buffer before passing it
13405         down.  Pass log-edit-extra-flags.
13407         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
13408         command.
13409         (log-edit-extra-flags, log-edit-before-checkin-process):
13410         New declarations.
13412         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
13413         command.
13414         (log-edit-extra-flags, log-edit-before-checkin-process):
13415         New declarations.
13416         (vc-hg-log-edit-mode): New derived mode.
13418         * vc-arch.el (vc-arch-checkin):
13419         * vc-cvs.el (vc-cvs-checkin):
13420         * vc-git.el (vc-git-checkin):
13421         * vc-mtn.el (vc-mtn-checkin):
13422         * vc-rcs.el (vc-rcs-checkin):
13423         * vc-sccs.el (vc-sccs-checkin):
13424         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
13426 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
13428         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
13429         parent typo).
13431 2010-03-19  Glenn Morris  <rgm@gnu.org>
13433         * password-cache.el (password-cache, password-cache-expiry): Autoload.
13435 2010-03-18  Glenn Morris  <rgm@gnu.org>
13437         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
13439         * replace.el (query-replace-history): Give it a doc string.
13440         (map-query-replace-regexp): Use query-replace-from-history-variable
13441         and query-replace-to-history-variable.
13443         * mail/hashcash.el (declare-function): Remove duplicate definition.
13445         * mail/emacsbug.el (report-emacs-bug-pretest-address):
13446         Make it an obsolete alias for report-emacs-bug-address.
13447         (message-strip-special-text-properties): Declare.
13448         (report-emacs-bug): Remove test for a pretest bug address.
13449         Combine message-mode-specific code.
13451         * mail/supercite.el: Don't require sendmail.
13452         (mh-in-header-p): Declare rather than using with-no-warnings.
13453         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
13454         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
13456         * calendar/cal-french.el: Convert to utf-8.
13458         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
13459         Emacs scripts.
13461 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
13463         * net/secrets.el (secrets-enabled): New variable.  Use it instead
13464         of a subfeature.
13466 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
13468         * net/secrets.el (top): Register the D-Bus signals only when the
13469         service "org.freedesktop.secrets" can be pinged.
13470         Provide subfeature `enabled'.
13472 2010-03-14  Juri Linkov  <juri@jurta.org>
13474         Add finder unknown keywords.
13476         * finder.el (finder-unknown-keywords): New function.
13478         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
13479         to create a Finder node with unknown keywords.
13481 2010-03-14  Juri Linkov  <juri@jurta.org>
13483         * finder.el (finder-compile-keywords): Replace `princ' with
13484         `prin1' on a list of symbols interned from keyword strings.
13486         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
13487         a comma, then split keywords using a comma and optional whitespace.
13488         Otherwise, split by whitespace.
13490         * complete.el:
13491         * face-remap.el:
13492         * log-view.el:
13493         * net/hmac-def.el:
13494         * net/hmac-md5.el:
13495         * net/netrc.el:
13496         * progmodes/mixal-mode.el: Fix keywords.
13498 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
13500         * Makefile.in (ELCFILES): Add net/secrets.elc.
13502         * net/secrets.el: New file.
13504 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
13506         * facemenu.el (list-colors-display, list-colors-print): New arg
13507         callback.  Use it to allow selecting colors.
13509         * wid-edit.el (widget-image-insert): Insert image prop even if the
13510         current display is non-graphic.
13511         (widget-field-value-set): New fun.
13512         (editable-field): Use it.
13513         (widget-field-value-get): Clean up unused var.
13514         (widget-color-value-create, widget-color--choose-action):
13515         New funs.  Allow using list-colors-display to choose color.
13517 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
13519         * cus-edit.el: Resort topmost custom groups.
13520         (custom-buffer-sort-alphabetically): Default to t.
13521         (customize-apropos): Use apropos-parse-pattern.
13522         (custom-search-field): New var.
13523         (custom-buffer-create-internal): Add custom-apropos search field.
13524         (custom-add-parent-links): Don't display parent doc.
13525         (custom-group-value-create): Don't sort top-level custom group.
13526         (custom-magic-value-create): Show visibility button before option name.
13528         (custom-variable-state): New fun, from custom-variable-state-set.
13529         (custom-variable-state-set): Use it.
13530         (custom-group-value-create): Hide options with standard values
13531         using the :hidden-states property.  Use progress reporter.
13533         (custom-show): Simplify.
13534         (custom-visibility): Disable images by default.
13535         (custom-variable): New property :hidden-states.
13536         (custom-variable-value-create): Enable images for
13537         custom-visibility widgets.  Use :hidden-states property to
13538         determine initial visibility.
13540         * wid-edit.el (widget-image-find): Give images center ascent.
13541         (visibility): Add :on-image and :off-image properties.
13542         (widget-visibility-value-create): Use them.
13544 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
13546         * cus-edit.el (processes): Remove from development group.
13547         (oop, hypermedia): Delete group.
13548         (comm): Promote to top-level group.
13550         * net/browse-url.el (browse-url):
13551         * net/xesam.el (xesam):
13552         * net/tramp.el (tramp):
13553         * net/goto-addr.el (goto-address):
13554         * net/ange-ftp.el (ange-ftp): Put in comm group.
13556         * view.el (view): Remove from editing group.
13558         * uniquify.el (uniquify): Put in files group.
13560         * net/browse-url.el (browse-url):
13561         * ps-print.el (postscript): Put in external group.
13563         * cus-edit.el (outlines):
13564         * textmodes/text-mode.el (text-mode-hook):
13565         * textmodes/table.el (table):
13566         * textmodes/picture.el (picture):
13567         * outline.el (outlines): Put in wp group.
13569         * nxml/nxml-mode.el (nxml): Remove from wp group.
13571         * net/tramp-imap.el (tramp-imap): Put in tramp group.
13573         * mail/metamail.el (metamail): Remove from hypermedia group.
13575         * cus-edit.el (abbrev):
13576         * whitespace.el (whitespace):
13577         * vcursor.el (vcursor):
13578         * reveal.el (reveal):
13579         * hl-line.el (hl-line): Put in convenience group.
13581         * epg-config.el (epg): Put in data group.
13583         * emulation/pc-select.el (pc-select): Put in emulations group.
13585         * calculator.el (calculator): Put in applications group.
13587 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
13589         Add .dir-locals.el support for file-less buffers.
13590         * files.el (hack-local-variables): Split out code to apply local
13591         variable settings ...
13592         (hack-local-variables-apply): ... here.  New function.
13593         (hack-dir-local-variables): Use the default directory for when the
13594         buffer does not have an associated file.
13595         (hack-dir-local-variables-non-file-buffer): New function.
13596         * diff-mode.el (diff-mode):
13597         * vc-annotate.el (vc-annotate-mode):
13598         * vc-dir.el (vc-dir-mode):
13599         * log-edit.el (log-edit-mode):
13600         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
13602 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
13604         Add support for shelving snapshots and for showing shelves.
13605         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
13606         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
13607         New functions.
13608         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13609         (vc-bzr-extra-menu-map): Map them.
13611 2010-03-11  Glenn Morris  <rgm@gnu.org>
13613         * cus-edit.el (customize-changed-options-previous-release):
13614         Bump to 23.1.
13616         * image.el (image-animate-max-time): Fix :version tag.
13618 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
13620         * Branch for 23.2.
13622 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
13624         * vc-git.el (vc-git-revision-table): Include remote branches.
13626 2010-03-10  Kim F. Storm  <storm@cua.dk>
13628         Animated image API.
13629         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
13631         * image.el (image-animate-max-time): New defcustom.
13632         (image-animated-types): New defconst.
13633         (create-animated-image, image-animate-timer)
13634         (image-animate-start, image-animate-stop, image-animate-timeout)
13635         (image-animated-p): New functions.
13637         * image-mode.el (image-toggle-display-image):
13638         Replace `create-image' with `create-animated-image'.
13640 2010-03-09  Miles Bader  <miles@gnu.org>
13642         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
13643         instead of "format:"; this ensures that the output is
13644         newline-terminated.
13646 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
13648         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
13649         that all errors are caught, and that the return value is always a
13650         list (Bug#5692).
13652 2010-03-08  Kenichi Handa  <handa@m17n.org>
13654         * language/misc-lang.el (windows-1256): New coding system.
13655         (cp1256): New alias of windows-1256 (bug#5690).
13657 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
13659         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
13660         call to rfc822-bad-address.  (Bug#5692)
13662 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
13664         * vc-git.el (vc-git-annotate-extract-revision-at-line):
13665         Use vc-git-root as default directory for revision path (Bug#5657).
13667 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
13669         * calculator.el (calculator): Don't bind split-window-keep-point
13670         (Bug#5674).
13672 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
13674         * vc-git.el: Re-flow to fit into 80 columns.
13675         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
13676         Remove spurious `quote' element in each case alternative.
13677         (vc-git-show-log-entry): Use prog1.
13678         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
13680 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13682         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
13684 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
13686         * macros.el (insert-kbd-macro): Look up keyboard macro using the
13687         definition, not the name (Bug#5481).
13689 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
13691         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
13692         argument with a local variable.  (Bug#5670)
13694 2010-03-02  Juri Linkov  <juri@jurta.org>
13696         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
13698 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
13700         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
13701         error when FILENAME and NEWNAME are existing remote directories.
13703         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
13704         parameter DIR-FLAG.
13706 2010-03-02  Glenn Morris  <rgm@gnu.org>
13708         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
13709         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
13711 2010-03-01  Kenichi Handa  <handa@m17n.org>
13713         * language/burmese.el (burmese-composable-pattern): Rename from
13714         myanmar-composable-pattern.
13716         * international/characters.el (script-list):
13717         * international/fontset.el (script-representative-chars):
13718         Change myanmar to burmese.
13719         (otf-script-alist): Likewise.
13720         (setup-default-fontset): Likewise.  Re-fix :otf spec.
13722 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
13724         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
13726 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
13728         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
13730 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
13732         * net/tramp.el (tramp-handle-write-region): START can be a string.
13733         Take care in the checks.  Reported by Dan Davison
13734         <davison@stats.ox.ac.uk>.
13736 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
13738         * net/dbus.el (dbus-introspect, dbus-get-property)
13739         (dbus-set-property, dbus-get-all-properties):
13740         Use `dbus-call-method' when noninteractive.  (Bug#5645)
13742 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
13744         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
13745         * emacs-lisp/elint.el (elint-add-required-env):
13746         * calendar/icalendar.el (icalendar--add-diary-entry):
13747         * calc/calcalg2.el (math-tracing-integral):
13748         * files.el (recover-session-finish): Use with-current-buffer
13749         instead of save-excursion.
13751 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
13753         Fix in-buffer completion when after-change-functions modify the buffer.
13754         * minibuffer.el (completion--replace): New function.
13755         (completion--do-completion): Use it and use relative movement.
13757 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
13759         * international/fontset.el (setup-default-fontset): Fix :otf spec.
13761 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
13763         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
13764         Allow the characters _<> in the stack entry (Bug#5653).
13766 2010-02-26  Kenichi Handa  <handa@m17n.org>
13768         * language/burmese.el: Fix entries in composition-function-table.
13769         (myanmar-composable-pattern): New variable.
13771         * international/fontset.el (setup-default-fontset): Add an entry
13772         for myanmar.
13774         * international/characters.el (script-list): Add Myanmar
13775         Extended-A.
13777 2010-02-26  Glenn Morris  <rgm@gnu.org>
13779         * custom.el (custom-initialize-delay): Doc fix.
13781         * mail/sendmail.el (send-mail-function): Autoload the call
13782         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
13784 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
13786         * files.el (hack-local-variables-filter): For eval forms, also
13787         check safe-local-variable-p (Bug#5636).
13789 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
13791         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
13792         setting the modes by `ignore-errors'.  It might fail, for example
13793         if the file is not owned by the user but the group.
13794         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
13796 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
13798         * files.el (directory-listing-before-filename-regexp):
13799         Use stricter matching for iso-style dates, to avoid false matches with
13800         date-like filenames (Bug#5597).
13802         * htmlfontify.el (htmlfontify): Doc fix.
13804         * eshell/eshell.el (eshell): Doc fix.
13806         * startup.el (fancy-about-screen): In mode-line, apply
13807         mode-line-buffer-id face only to the buffer name (Bug#5613).
13809 2010-02-20  Kevin Ryde  <user42@zip.com.au>
13811         * progmodes/compile.el (compilation-error-regexp-alist-alist):
13812         In `watcom' anchor regexp to start of line, to avoid slowness
13813         (Bug#5599).
13815 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
13817         * subr.el (remove-yank-excluded-properties): Explain in a comment
13818         why `category' property is removed.
13820 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
13822         * isearch.el (isearch-update-post-hook, isearch-update):
13823         Revert 2010-02-17 change.
13825 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
13827         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
13828         (icalendar--convert-weekly-to-ical)
13829         (icalendar--convert-yearly-to-ical)
13830         (icalendar--convert-block-to-ical)
13831         (icalendar--convert-cyclic-to-ical)
13832         (icalendar--convert-anniversary-to-ical): Take care of time
13833         specifications where hour has 1-digit only (Bug#5549).
13835 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
13837         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
13838         of disassemble output in GDB 7.1.
13840 2010-02-19  Glenn Morris  <rgm@gnu.org>
13842         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
13843         property.  (Bug#5593)
13845 2010-02-18  Sam Steingold  <sds@gnu.org>
13847         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
13849 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
13851         Use abbreviated file names in bookmarks (bug#5591).
13852         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
13853         calls to expand-file-name.
13854         (bookmark-relocate): Use abbreviated file names in bookmarks.
13855         (bookmark-load): Use abbreviated file names in messages.
13857 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
13859         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
13860         expand "." and "..".  Reported by Thierry Volpiatto
13861         <thierry.volpiatto@gmail.com>.
13863 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
13865         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
13866         permissions of the temporary file to "0600".  In case the remote
13867         file has no read permissions for the owner, there might be
13868         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
13870 22010-02-18  Glenn Morris  <rgm@gnu.org>
13872         * emacs-lisp/authors.el (authors-renamed-files-alist):
13873         Add entries for INSTALL.CVS.
13875 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
13877         * vc-bzr.el: Fix typo in Known Bugs section.
13879         * isearch.el (isearch-update-post-hook): New hook.
13880         (isearch-update): Use the new hook.
13882 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
13884         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13885         Fix errors in copying directories.
13886         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
13887         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
13888         (tramp-handle-delete-file)
13889         (tramp-handle-dired-recursive-delete-directory)
13890         (tramp-handle-write-region): Flush also the cache for the upper
13891         directory.
13893 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
13895         * simple.el (save-interprogram-paste-before-kill): Doc fix.
13897         * cus-edit.el (hardware): Doc fix.
13899         * man.el (man): Add to external custom group.
13901         * delim-col.el (columns): Move to wp custom group.
13903         * doc-view.el (doc-view): Add to data custom group.
13905         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
13907         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
13908         by ispell-parse-output (Bug#5575).
13910 2010-02-16  Kenichi Handa  <handa@m17n.org>
13912         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
13913         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
13914         (skkdic-convert): Use `euc-japan' coding system for writing.
13916 2010-02-16  Glenn Morris  <rgm@gnu.org>
13918         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
13919         tex-main-file before using it.  (Bug#5562)
13921 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13923         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
13924         warnings, since it is annoying for the user to see them each time he
13925         runs the code.
13927 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
13929         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
13930         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
13931         instead of PROC for caching "first-password-request".  Otherwise,
13932         new processes would not profit from passwords already entered.
13934         * net/tramp-cache.el (tramp-dump-connection-properties):
13935         Don't save "first-password-request" property.
13937 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
13939         * outline.el (outline-head-from-level):
13940         * simple.el (with-wrapper-hook):
13941         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
13942         (elint-defun, elint-buffer-env, elint-top-form-logged)
13943         (elint-unbound-variable):
13944         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
13945         Fix typos in docstrings.
13947 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
13949         * files.el (insert-directory): When WILDCARD-REGEXP and
13950         FULL-DIRECTORY-P are nil, insert the file entry instead of the
13951         whole directory.  (Bug#5551)
13953         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
13954         dired's alignment sanity.  (Bug#5516)
13956 2010-02-14  Juri Linkov  <juri@jurta.org>
13958         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
13959         Remove remaining ^H with their preceding chars.  (Bug#5566)
13961 2010-02-13  Glenn Morris  <rgm@gnu.org>
13963         * simple.el (transpose-subr): Give it a doc-string.
13965         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
13966         Doc fixes.
13968 2010-02-12  Juri Linkov  <juri@jurta.org>
13970         * arc-mode.el (archive-unique-fname): Make directories for nested
13971         archives.  (Bug#5540)
13973 2010-02-12  Juri Linkov  <juri@jurta.org>
13975         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
13977 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13979         * subr.el (copy-overlay): Handle deleted overlays.
13981         * man.el (Man-completion-table): Don't signal an error if we can't run
13982         manual-program (bug#4056).
13984 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
13986         * textmodes/artist.el (artist-mt): Fix typos in docstring.
13988 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
13990         * info.el (Info-bookmark-jump): Simplify.
13992         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
13993         (bookmark-default-handler): Accept new bookmark field `buffer'.
13995 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
13997         * iswitchb.el (iswitchb-completions): Revert last change.
13999 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
14001         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
14002         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
14003         This prevents file names like "~/" being listed literally.
14005 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
14007         * term/xterm.el (xterm-maybe-set-dark-background-mode):
14008         Remove dead code.  (Bug#5546)
14010 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
14012         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
14013         correctly (Bug#5548).
14015 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
14017         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
14018         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
14020 2010-02-08  Kenichi Handa  <handa@m17n.org>
14022         * international/mule-util.el (with-coding-priority): Add autoload
14023         cookie for putting `lisp-indent-function'.
14025 2010-02-07  Glenn Morris  <rgm@gnu.org>
14027         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
14028         Move F2003 named interfaces from keywords-2 to keywords-1, and
14029         use function-name-face rather than constant-face.
14030         Simplify "abstract interface" regexp.
14032 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
14034         * eshell/esh-util.el (eshell-file-attributes): New optional arg
14035         ID-FORMAT.  Pass it to `file-attributes'.
14037         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
14039 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
14041         * faces.el (set-face-attribute): Allow calling
14042         internal-set-lisp-face-attribute with 'unspecified family and
14043         foundry argument (Bug#5536).
14045 2010-02-07  Glenn Morris  <rgm@gnu.org>
14047         * progmodes/f90.el (f90-font-lock-keywords-2)
14048         (f90-looking-at-type-like, f90-looking-at-program-block-end):
14049         Handle F2003 named interfaces.
14051 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
14053         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
14054         beg and end before calling c-get-state-before-change-functions.
14056 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
14058         * vc-bzr.el (vc-bzr-dir-extra-headers):
14059         Disable the pending merges header.
14061 2010-02-05  Juri Linkov  <juri@jurta.org>
14063         * doc-view.el (doc-view-mode):
14064         * image-mode.el (image-mode): Put property mode-class=special.
14065         (Bug#4896)
14067 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
14069         * vc-svn.el (vc-svn-revision-table): New function.
14071 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
14073         * net/ange-ftp.el (ange-ftp-insert-directory):
14074         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
14075         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
14076         Handle also directories.  (Bug#5478)
14078 2010-02-05  Glenn Morris  <rgm@gnu.org>
14080         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
14082 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
14084         * startup.el (command-line-1): Convert options beginning with a
14085         single dash as well (Bug#5519).
14087 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14089         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
14090         * minibuffer.el (completion-initials-expand): Only check the presence
14091         of delims *within* the boundaries, since otherwise the / delim is
14092         always found for files.
14094         Fix up various corner case problems.
14095         * doc-view.el (doc-view-last-page-number): New function.
14096         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
14097         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
14098         (doc-view-kill-proc): Avoid inf-loop in freak cases.
14099         (doc-view-reconvert-doc): Use the new recursive delete-directory.
14100         (doc-view-convert-current-doc): Don't create the resolution.el file
14101         here any more.
14102         (doc-view-pdf/ps->png): Do it here instead.
14103         (doc-view-already-converted-p): Check that resolution.el is present.
14104         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
14105         windows that are not yet showing images.
14107 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
14109         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
14110         `dired-uncache' for every elemnt which is an absolute file name.
14112         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
14113         directory, handle its directory component.
14114         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
14115         function is called permanently and creates noise, otherwise.
14117         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
14118         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
14119         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
14121 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
14123         * macros.el (apply-macro-to-region-lines):
14124         Minor simplification.  (Bug#5485)
14126 2010-02-04  Glenn Morris  <rgm@gnu.org>
14128         * mail/rmail.el (rmail-show-message-1): Handle malformed
14129         quoted-printable text.  (Bug#5441)
14131         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
14133         * simple.el (visual-line-mode): Capitalize lighter.
14135 2010-02-03  John Wiegley  <jwiegley@gmail.com>
14137         * iswitchb.el (iswitchb-completions): Add bookmark files to the
14138         list of files considered for "virtual buffer" completions.
14140 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
14142         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
14143         also in case of (and (not full) (not wildcard)).  This is needed
14144         when dired is called with a list of files, which are not in
14145         `default-directory'.  (Bug#5478)
14147 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14149         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
14151 2010-02-02  Juri Linkov  <juri@jurta.org>
14153         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
14154         from unidiff to allow function-line after @@.
14156 2010-02-02  Juri Linkov  <juri@jurta.org>
14158         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
14159         '(RCS SCCS) with inverted condition.
14161 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
14163         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
14164         messages.
14166 2010-02-01  Juri Linkov  <juri@jurta.org>
14168         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
14169         compare with "pkunzip" and "pkzip" instead of only "pkzip".
14170         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
14171         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
14173 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14175         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
14176         (doc-view-revert-buffer): New command.
14177         (doc-view-mode-map): Use it.
14179 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
14181         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
14182         pending merge is detected.
14184 2010-01-31  Juri Linkov  <juri@jurta.org>
14186         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
14187         beginning of interactive spec like all other grep commands do.
14188         Put "all" in front of "gz".  (Bug#5260)
14190 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
14192         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
14194 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
14196         * dirtrack.el (dirtrack): Warn instead of signalling error if the
14197         regexp is incorrect (Bug#5476).
14199 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
14201         * net/tramp.el (tramp-handle-insert-directory): Handle also
14202         symlinks, when FILENAME is not in `default-directory'.
14204 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
14206         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
14207         FILE is not in `default-directory'.  (Bug#5478)
14209         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
14210         of SWITCHES.  Handle the case, FILENAME is not in
14211         `default-directory'.  (Bug#5478)
14212         (tramp-register-file-name-handlers): Add safe-magic property.
14214 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
14216         * arc-mode.el (archive-zip-extract): Quote the argument passed to
14217         unzip (Bug#5475).
14219 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
14221         * progmodes/flymake.el (flymake-allowed-file-name-masks)
14222         (flymake-master-make-header-init): Add other C++ filename masks.
14223         (flymake-find-possible-master-files)
14224         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
14226 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
14228         Fix some busybox annoyances.
14230         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
14231         not responding." string.
14232         (tramp-open-connection-setup-interactive-shell): Dump stty
14233         settings.  Enable "neveropen" arg for all `tramp-send-command'
14234         calls.  Handle "=" in variable values properly.
14235         (tramp-find-inline-encoding): Raise an error, when no encoding is
14236         found.
14237         (tramp-wait-for-output): Check, whether PROC buffer is available.
14238         Remove spurious " ^H" sequences, sent by busybox.
14239         (tramp-get-ls-command): Suppress coloring, if possible.
14241 2010-01-28  Glenn Morris  <rgm@gnu.org>
14243         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
14245         * log-edit.el (log-edit-strip-single-file-name): Add missing
14246         :safe, :group, and :version tags.
14248 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
14250         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
14251         buffers.  (Bug#5477)
14253 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
14255         * files.el (delete-directory): Handle moving to trash without
14256         first doing recursion (Bug#5436).
14258 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
14260         * vc-hooks.el (vc-path): Mark as obsolete.
14262 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
14264         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
14265         names too.
14267         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
14268         for the short log.
14269         (vc-bzr-log-view-mode): Adjust regexp for the above change.
14271 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
14273         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
14275         * vc-bzr.el (vc-bzr-revision-table): New function.
14277 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>
14279         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
14280         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
14282 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
14284         Remove support for adding --signoff on commit.
14285         Future support will use an incompatible generic mechanism.
14286         * vc-git.el (vc-git-add-signoff): Remove variable.
14287         (vc-git-toggle-signoff): Remove function.
14288         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
14290         * term/xterm.el (xterm-maybe-set-dark-background-mode):
14291         Rename from xterm-set-background-mode.  Return t if the background mode
14292         was set.
14293         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
14294         earlier, call it again in case the background mode has changed.
14296 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
14298         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
14299         (Bug#3541).
14301 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
14303         * emacs-lisp/assoc.el (aelement): Doc fix.
14304         (aput, adelete, amake): Use lexical-let (Bug#5450).
14306 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
14308         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
14309         is the same as subprogram call, not declaration.  (Bug#5435).
14311 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
14313         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
14314         (tramp-smb-maybe-open-connection): Use it.
14316 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
14318         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
14320 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
14322         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
14323         just because we see "encoding: 8bit".
14324         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
14326 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
14328         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
14330 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
14332         * jka-compr.el (jka-compr-load): If load-file is not in
14333         load-history, try its file-truename version.  (bug#5447)
14335 2010-01-21  Alan Mackenzie  <acm@muc.de>
14337         Fix a situation where deletion of a cpp construct throws an error.
14338         * progmodes/cc-engine.el (c-invalidate-state-cache):
14339         Before invoking c-with-all-but-one-cpps-commented-out, check that the
14340         special cpp construct is still in the buffer.
14341         (c-parse-state): Record the special cpp with markers, not numbers.
14343 2010-01-21  Kenichi Handa  <handa@m17n.org>
14345         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
14346         process last-command-event, as it is now decoded first (Bug#5380).
14348 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
14350         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
14352 2010-01-20  Glenn Morris  <rgm@gnu.org>
14354         * indent.el (tab-always-indent): Fix custom-type.
14356 2010-01-19  Alan Mackenzie  <acm@muc.de>
14358         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
14359         buffer throws "args out of range".
14360         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
14361         playing the role of delimiter.
14363 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
14365         * progmodes/ada-mode.el: Fix bug#5400.
14366         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
14367         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
14368         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
14369         Improve comments in "is" portion.  Handle null procedure declaration.
14370         (ada-move-to-end): Improve doc string.
14372 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
14374         * ido.el (ido-cur-list): Initialize to nil.
14375         Remove obsolete information from commentary.
14376         (ido-choice-list): Initialize to nil.
14377         (ido-get-bufname): Reject minibuffers.
14378         (ido-make-buffer-list): If "default" is a nonexistent
14379         buffer, ignore it, as per the function's comment.
14380         (ido-kill-buffer-internal): New function.
14381         (ido-kill-buffer-at-head): Use it.
14382         (ido-visit-buffer): Likewise.
14384 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
14386         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
14388 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
14390         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
14391         Fix typos in chart titles.
14393         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
14394         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
14395         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
14396         (describe-class, eieio-describe-generic, describe-generic):
14397         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
14398         (eieio-speedbar-expand):
14399         * emulation/viper-cmd.el (viper-exec-form-in-vi)
14400         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
14401         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
14402         (viper-del-backward-char-in-replace, viper-backward-indent)
14403         (viper-brac-function, viper-register-to-point, viper-submit-report):
14404         * net/tramp.el (tramp-remote-coding-commands):
14405         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
14406         Fix typos in docstrings.
14408 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
14410         * mail/sendmail.el (mail-yank-original): Set the mark if the
14411         specified function for yanking does not do it.
14413 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
14415         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
14417         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
14418         resyncing a directory.
14420 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
14422         * progmodes/ada-mode.el: Fix bug#1920.
14423         (ada-ident-re): Delete ., allow multibyte characters.
14424         (ada-goto-label-re): New; matches goto labels.
14425         (ada-block-label-re): New; matches block labels.
14426         (ada-label-re): New; matches both.
14427         (ada-named-block-re): Delete; callers changed to use
14428         `ada-block-label-re' instead.
14429         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
14430         Use `ada-block-label-re'.
14431         (ada-indent-on-previous-lines): Improve handling of goto labels.
14432         (ada-get-indent-block-start): Special-case block label.
14433         (ada-get-indent-label): Split into `ada-indent-block-label' and
14434         `ada-indent-goto-label'.
14435         (ada-goto-stmt-start, ada-goto-next-non-ws):
14436         Optionally ignore goto labels.
14437         (ada-goto-next-word): Simplify.
14438         (ada-indent-newline-indent-conditional): Insert newline before
14439         trying to fix indentation; doc fix.
14441 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
14443         * calc/calc.el (calc-command-flags): Give it an initial value.
14445 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
14447         * files.el (minibuffer-with-setup-hook):
14448         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
14449         (artist-key-draw-continously, artist-key-do-continously-continously)
14450         (artist-key-set-point-continously, artist-mouse-draw-continously):
14451         Fix typos in docstrings.
14453 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
14455         * nxml/nxml-mode.el (nxml-extend-after-change-region):
14456         Never return t (Bug#3898).
14458 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
14460         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
14461         can parse the output of the external commands (Bug#5279).
14463 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
14465         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
14467 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
14469         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
14471         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
14473         * startup.el (command-line): Remove unused --icon-type arg.
14474         Handle --display arg, passing it to command-line-1 (Bug#5392).
14476 2010-01-16  Mario Lang  <mlang@delysid.org>
14478         * emacs-lisp/chart.el (chart-translate-namezone):
14479         * textmodes/artist.el (artist-compute-popup-menu-table):
14480         Remove duplicated words in doc-strings.
14482 2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)
14484         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
14485         to mairix-search to suppress threading (Bug#5342).
14487 2010-01-15  Kenichi Handa  <handa@m17n.org>
14489         * international/mule-cmds.el (canonicalize-coding-system-name):
14490         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
14492 2010-01-15  Glenn Morris  <rgm@gnu.org>
14494         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
14496         * wid-edit.el (widget-keymap): Doc fix.
14498         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
14499         former seems to be more widely accepted by various svn versions.
14501 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
14503         * find-cmd.el (find-constituents):
14504         * vc-arch.el (vc-arch-root):
14505         * window.el (window-body-height, pop-up-frames):
14506         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
14507         * progmodes/ada-stmt.el (ada-if):
14508         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
14509         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
14510         (ispell-encoding8-command, ispell-aspell-supports-utf8)
14511         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
14513         * progmodes/flymake.el (flymake-post-syntax-check):
14514         Fix typo in error message.
14516 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
14518         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
14519         which is always a string.  (Bug#5313)
14521 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
14523         * progmodes/ada-xref.el (ada-default-prj-properties):
14524         Simplify previous change.
14526 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
14528         * progmodes/ada-xref.el (ada-default-prj-properties):
14529         Default ada_project_path to $ADA_PROJECT_PATH.
14531 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
14533         * progmodes/ada-mode.el (ada-create-keymap):
14534         Override `narrow-to-defun' with `ada-narrow-to-defun'.
14536 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
14538         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
14539         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
14540         (ada-get-current-indent, ada-imenu-generic-expression)
14541         (ada-which-function): Check for it.
14543 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
14545         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
14546         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
14548 2010-01-14  Glenn Morris  <rgm@gnu.org>
14550         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
14552 2010-01-14  Kenichi Handa  <handa@m17n.org>
14554         * composite.el (auto-composition-mode): Make it a buffer local
14555         variable (permanent-local).
14556         (auto-composition-function): Set the default value to
14557         auto-compose-chars.
14558         (auto-composition-mode): Make it a simple function, not a minor mode.
14559         (global-auto-composition-mode): Likewise.
14560         (turn-on-auto-composition-if-enabled): Delete it.
14562 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
14564         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
14566 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
14568         * files.el (copy-directory): Compute target for recursive
14569         directories with identical names.  (Bug#5343)
14571 2010-01-12  Glenn Morris  <rgm@gnu.org>
14573         * mail/emacsbug.el (report-emacs-bug-pretest-address):
14574         Set it to bug-gnu-emacs rather than emacs-pretest-bug.
14576 2010-01-11  Sam Steingold  <sds@gnu.org>
14578         * imenu.el (imenu-default-create-index-function): Detect infinite
14579         loops caused by imenu-prev-index-position-function.
14581 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
14583         * htmlfontify.el (htmlfontify-load-rgb-file)
14584         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
14585         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
14586         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
14587         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
14588         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
14589         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
14590         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
14591         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
14592         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
14593         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
14594         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
14595         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
14596         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
14597         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
14598         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
14599         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
14600         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
14601         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
14602         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
14603         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
14604         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
14605         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
14606         backslash-quoting from parentheses, etc.
14608 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
14610         * progmodes/js.el: Autoload javascript-mode alias.
14612 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
14614         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
14615         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
14616         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
14617         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
14618         Fix typos in docstrings.
14619         (ffap-url-regexp): Doc fix.
14620         (ffap-at-mouse): Fix typo in message.
14622 2010-01-11  Glenn Morris  <rgm@gnu.org>
14624         * version.el (emacs-copyright): Set copyright year to 2010.
14626 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
14628         * format.el (format-annotate-function): Only set
14629         write-region-post-annotation-function after running to-fn so as not to
14630         affect nested write-region calls (bug#5273).
14632 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
14634         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
14635         wisent/python.el.
14637 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
14639         * man.el (Man-goto-section): Signal error if the section is not
14640         found (Bug#5317).
14642 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
14644         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
14645         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
14647 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
14649         * progmodes/compile.el: Don't treat compile-command as safe if
14650         compilation-read-command might be nil (Bug#4218).
14652 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
14654         * startup.el (command-line-1): Use orig-argi to check for ignored X and
14655         NS options.
14657 2010-01-08  Kenichi Handa  <handa@m17n.org>
14659         * international/fontset.el (build-default-fontset-data):
14660         Exclude characters in scripts kana, hangul, han, or cjk-misc.
14662 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
14664         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
14665         to `create-file-buffer' as it expects, not just a buffer name.
14666         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
14667         to help uniquify.  (Bug#3224)
14669 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
14671         * font-setting.el (font-setting-change-default-font): Use user-spec
14672         instead of name.
14674 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
14676         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
14678 2010-01-05  Tom Tromey  <tromey@redhat.com>
14680         * progmodes/python.el (python-font-lock-keywords):
14681         Handle qualified decorators (Bug#881).
14683 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
14685         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
14686         in a lightweight checkout.
14688 2010-01-05  Kenichi Handa  <handa@m17n.org>
14690         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
14692 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
14694         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
14696 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
14698         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
14699         checkouts.  (Bug#618)
14700         (vc-bzr-log-view-mode): Also highlight the author.
14701         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
14702         (vc-bzr-shelve-menu-map):
14703         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
14704         (vc-bzr-shelve-apply): Make prompt more explicit.
14706 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
14708         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
14709         They are valid characters in URL paths (rfc3986), and at least
14710         Firefox does not understand the encoded version (Bug#3166).
14712 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
14714         * progmodes/octave-mod.el (octave-end-keywords)
14715         (octave-block-begin-or-end-regexp, octave-block-match-alist):
14716         Add "end" keyword (Bug#3061).
14717         (octave-end-as-array-index-p): New function.
14718         (calculate-octave-indent): Use it.
14720 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14722         * bookmark.el: Consistently put the text property on the bookmark name.
14723         (bookmark-bmenu-marks-width): Bump back to 2, to include
14724         annotation marks.
14725         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
14726         property on the bookmark name, instead of not putting it at all.
14727         (bookmark-bmenu-list): Fix where we put the text property.
14729 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14731         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
14732         for showing buffer modified state (as added in the previous change).
14734 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14736         * bookmark.el: Show modified state of bookmark buffer more accurately.
14737         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
14738         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
14739         (with-buffer-modified-unmodified): New macro.
14740         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14741         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
14742         Use new macro to preserve the buffer modified state.
14744 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14746         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
14747         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
14748         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
14749         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
14750         (bookmark-bmenu-rename, bookmark-bmenu-locate)
14751         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
14752         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
14754 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
14756         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14757         Make the lines in the generated doc string shorter.  (Bug#4668)
14759 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
14761         * net/rcirc.el: Add follow-link binding (Bug#4738).
14763 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
14765         * Makefile.in (bzr-update): Rename from cvs-update.
14766         (cvs-update): New target for backward compatibility.
14768         * makefile.w32-in (bzr-update): Rename from cvs-update.
14769         (cvs-update): New target for backward compatibility.
14771 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14773         * bookmark.el: Remove gratuitous gratitude.
14775 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14777         * bookmark.el (bookmark-bmenu-any-marks): New function.
14778         (bookmark-bmenu-save): Clear buffer modification if no marks.
14780 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14782         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
14783         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
14784         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
14785         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
14787         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
14788         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
14789         To: emacs-devel {_AT_} gnu.org
14790         Subject: bookmark.el bug report
14791         Date: Mon, 28 Dec 2009 14:19:16 +0800
14792         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
14794 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14796         * bookmark.el: Improvements suggested by Drew Adams:
14797         (bookmark-bmenu-ensure-position): New name for
14798         `bookmark-bmenu-check-position'.  Just ensure the position,
14799         don't return any meaningful value.
14800         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
14801         New constants.
14803 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
14805         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
14806         (bookmark-yank-point, bookmark-bmenu-check-position):
14807         Fix typos in docstrings.
14808         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
14809         (bookmark-name-from-full-record, bookmark-get-position)
14810         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
14811         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
14812         Remove useless quoting of parenthesis, etc. in docstrings.
14814         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
14815         (ediff-append-custom-diff): Fix typo in error message.
14816         (ediff-meta-mark-equal-files): Fix typos in messages.
14818         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
14820         * net/imap-hash.el (imap-hash-make): Doc fix.
14821         (imap-hash-test): Fix typo in error message; reflow docstring.
14822         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
14823         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
14824         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
14825         Fix typos in docstrings.
14826         (imap-hash-open-connection): Fix typo in error message.
14828         * play/gomoku.el (gomoku): Fix typos in docstring.
14830         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
14831         (gdb-jsonify-buffer): Fix typos in docstring.
14832         (gdb-goto-breakpoint): Fix typo in error message.
14833         ("Display Other Windows"): Fix typo in help message.
14834         (gdb-speedbar-expand-node): Fix typo in question.
14836         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
14837         (idlwave-html-system-help-location, idlwave-html-help-location)
14838         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
14839         (idlwave-help-browser-generic-args, idlwave-help-directory)
14840         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
14841         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
14842         (idlwave-online-help, idlwave-help-html-link)
14843         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
14844         Fix typos in docstrings.
14845         (idlwave-help-with-source, idlwave-help-find-routine-definition):
14846         Reflow docstrings.
14847         (idlwave-help-assistant-start): Fix typo in error message.
14849         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
14850         (octave-electric-space): Fix typos in docstrings.
14852 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
14854         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
14856 2010-01-01  Juri Linkov  <juri@jurta.org>
14858         * comint.el (comint-input-ring-size): Make it a defcustom and
14859         increase the default to 500 (Bug#5148).
14861 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
14863         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
14864         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
14865         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
14867 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
14869         Show working revision correctly for mercurial.
14870         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
14871         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
14873 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
14875         Declare some functions for the byte-compiler.
14876         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
14877         (speedbar-timer-fn, speedbar-change-expand-button-char)
14878         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
14880 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
14882         This changeset reverts GDB Graphical Interface to use annotations.
14883         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
14885 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
14887         Make vc-dir work on subdirectories of the bzr root.
14888         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
14889         Return file names relative to it.
14890         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
14891         relative directory to vc-bzr-after-dir-status.
14893 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
14895         * font-lock.el (font-lock-refresh-defaults): New function, which
14896         can be used to let font-lock react to external changes in
14897         variables like font-lock-defaults and keywords.
14898         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
14900 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
14902         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
14904         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
14906 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
14908         Supersede color.diff settings in git log (bug#5211).
14910         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
14911         escape chars in its output when the user has color.diff set to `always'.
14912         This fix works on git 1.4.2 and newer (released on 2006-08-13).
14914 2009-12-26  Kevin Ryde  <user42@zip.com.au>
14916         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
14917         node.  Keep previous "Index" name to work with past coreutils too.
14919         * man.el (man): Revise docstring a bit to show -a and -l as
14920         examples.  Add -k description since support for it has otherwise
14921         been a secret.  (Further to bug#3717.)
14922         (Man-bgproc-sentinel): When "-k foo" produces no output show error
14923         "no matches" rather than "Can't find manpage", as the latter reads
14924         like -k was interpreted as a page name, which is not so.  (Bug#5431)
14926 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
14928         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
14929         switches.  Check also for //SUBDIRED// line.
14931 2009-12-25  Kenichi Handa  <handa@m17n.org>
14933         * language/indian.el (devanagari-composable-pattern): Fix to
14934         handle ZWNJ and ZWJ.  Use it in composition-function-table for
14935         Devanagari.
14936         (malayalam-composable-pattern): Fix previous change.
14938 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
14940         * ps-print.el (ps-face-attributes): It was not returning the
14941         attribute face for faces specified as string.  Reported by harven
14942         <harven@free.fr>.  (Bug#5254)
14943         (ps-print-version): New version 7.3.5.
14945 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
14947         * calendar/icalendar.el (icalendar--convert-tz-offset):
14948         Fix timezone names.
14949         (icalendar--convert-tz-offset): Fix the "last-day-problem".
14950         (icalendar--add-diary-entry): Remove the trailing blank that
14951         diary-make-entry inserts.
14953 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
14955         Make `file-expand-wildcards' work for remote files.
14957         * files.el (file-expand-wildcards): In case of remote files, check
14958         only local file name part for wildcards.  Provide feature 'files
14959         and subfeature 'remote-wildcards.  (Bug#5198)
14961         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
14962         if there is already an established connection.
14963         (tramp-advice-file-expand-wildcards): Remove it.
14965         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
14966         (tramp-advice-file-expand-wildcards): Move from tramp.el.
14967         Activate advice for older GNU Emacs versions.  (Bug#5237)
14969 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
14971         Some doc fixes (more needed).
14973         * find-cmd.el (find-constituents): Reflow docstring.
14974         (find-cmd, find-prune, find-command): Fix typos in docstrings.
14975         (find-generic): Doc fix.
14977 2009-12-17  Juri Linkov  <juri@jurta.org>
14979         Fix regression from 23.1 to allow multiple modes in Local Variables.
14981         * files.el (hack-local-variables-filter): While ignoring duplicates,
14982         don't take `mode' into account.
14983         (hack-local-variables-filter, hack-dir-local-variables):
14984         Don't remove duplicate `mode' from local-variables-alist (like `eval').
14986 2009-12-17  Juri Linkov  <juri@jurta.org>
14988         Make `dired-diff' safer.  (Bug#5225)
14990         * dired-aux.el (dired-diff): Signal an error when `file' equals to
14991         `current' or when `file' is a directory of the `current' file.
14993 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
14995         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
14996         unconditionally preloaded files.
14998 2009-12-16  Juri Linkov  <juri@jurta.org>
15000         Revert to old 23.1 logic of using the file at the mark as default.
15001         * dired-aux.el (dired-diff): Use the file at the mark as default
15002         if it's not the same as the current file, and the target dir is
15003         the current dir or the mark is active.  Add the current file
15004         as the arg of `dired-dwim-target-defaults'.  Use the default file
15005         in the prompt.  (Bug#5225)
15007 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
15009         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
15010         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
15011         (tramp-check-for-regexp): Check also, when an echoing shell stops
15012         to echo sent commands.
15014 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
15016         * Makefile.in: Revert last change (Bug#5191).
15018 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
15020         * vc-hg.el (vc-hg-print-log): Fix argument order.
15021         (vc-hg-working-revision): Make sure the command is executed in a
15022         known environment so that we can parse the output.  (Bug#4417)
15024 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
15026         * progmodes/python.el (python-symbol-completions): Remove text
15027         properties from symbol string before calling python-send-receive.
15029 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
15031         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
15032         when there are values for both file and line.  (Bug#5060)
15034 2009-12-14  Juri Linkov  <juri@jurta.org>
15036         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
15037         whitespace after the file name of the first line of unified format,
15038         because git-diff doesn't output whitespace and file modification time
15039         after the file name.
15041 2009-12-14  David Kastrup  <dak@gnu.org>
15043         * info.el (Info-hide-cookies-node): Before hiding a cookie,
15044         check if it already has the `display' property added by
15045         `Info-display-images-node', and not put the `invisible' property
15046         in this case.
15048 2009-12-13  Glenn Morris  <rgm@gnu.org>
15050         * mail/emacsbug.el (message-sort-headers): Define for compiler.
15051         (report-emacs-bug): In message-mode, sort manually before storing
15052         original report text.  (Bug#5178)
15053         Remove superfluous save-excursion.
15055 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
15057         * net/dbus.el (dbus-property-handler): Filter lambda forms out
15058         when responding to "GetAll" properties.
15060 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
15062         * simple.el (compose-mail): Remove mail-setup-with-from from
15063         customization checks.
15065 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
15067         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
15068         RAR archives created on Unix systems.
15070 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15072         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
15073         the varalias that was accidentally removed by the 2009-11-19 change
15074         (bug#5186).
15076 2009-12-12  Kenichi Handa  <handa@m17n.org>
15078         * language/indian.el (indian-compose-regexp): New function.
15079         (malayalam-composable-pattern): Fix the pattern.
15080         (composition-function-table): Set malayalam-composable-pattern for
15081         Malayalam characters.
15083 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
15085         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
15086         rather than down-mouse-1, based on follow-link conventions.
15088         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
15089         are compiled.
15091 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
15093         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
15094         (verilog-vmm-statement-re, verilog-ovm-statement-re)
15095         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
15096         (verilog-leap-to-head, verilog-backward-token):
15097         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
15099 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
15101         * progmodes/verilog-mode.el (verilog-auto-lineup)
15102         (verilog-nameable-item-re): Cleanup user-visible spelling and
15103         documentation errors.  One reported by Gary Delp.
15104         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
15105         (verilog-read-decls): Fix AUTOWIRE with types declared in a
15106         package, bug195.  Reported by Pierre-David Pfister.
15108 2009-12-11  Glenn Morris  <rgm@gnu.org>
15110         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
15112         * mail/emacsbug.el: No longer require sendmail.
15113         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
15114         (report-emacs-bug-orig-text): Doc fix.
15115         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
15116         New local variables, to adapt to different mail-user-agents.
15117         (report-emacs-bug): Fix test for a gnu.org address.
15118         Use overlays for emphasis, since font-lock defeats 'face property.
15119         Pretest bugs also end up at the newsgroup these days.
15120         Stop message-mode stripping text properties.
15121         Set and use the new buffer-local variables.
15122         (report-emacs-bug-hook): Add doc-string.
15123         Remove some unnecessary save-excursions and simplify.
15124         Use the appropriate hook and send-command.
15126         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
15127         capitalization of some menu entries.
15129 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
15131         * whitespace.el (whitespace-display-char-on):
15132         Ensure `buffer-display-table' is unique when two or more windows are
15133         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
15134         New version 12.1.
15136 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
15138         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
15139         characters in the Attribute field.
15141 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
15143         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
15145 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
15147         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
15148         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15149         Disregard autoload-excludes.
15150         (update-directory-autoloads): Obey autoload-excludes here instead.
15151         But don't store its contents in no-autoloads and remove entries that
15152         refer to excludes files.
15154 2009-12-10  Glenn Morris  <rgm@gnu.org>
15156         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
15157         (expand-mail-aliases): Define for compiler.
15159         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
15160         Define for compiler.
15162         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
15163         appropriate for the mail-user-agent in use.
15165 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
15167         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
15169 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
15171         Fix short log parsing and fontification.
15172         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
15173         Fix fontification for the [merge] label.
15175 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
15177         Drop some properties to avoid surprises (bug#5002).
15178         * htmlfontify.el (hfy-ignored-properties): New defcustom.
15179         (hfy-fontify-buffer): Use it.
15181 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
15183         Minor cleanup.
15184         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
15185         Adjust all callers.
15186         (ffap-locate-file): Remove unused arg `dir-ok' and make other
15187         args compulsory.  Adjust callers.
15188         (ffap-gopher-at-point): Remove unused var `name'.
15190         Get rid of the ELCFILES abomination.
15191         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
15192         (compile-elcfiles): New phony target.
15193         (compile-main): Compute ELCFILES dynamically.
15194         (compile-clean): New target to remove left-over elc files.
15195         (compile, all): Use it.
15197 2009-12-09  Kenichi Handa  <handa@etlken>
15199         * international/mule-diag.el: Require help-mode instead of help-fns.
15201 2009-12-09  Kenichi Handa  <handa@m17n.org>
15203         * international/mule-cmds.el (ucs-names): Supply sufficiently
15204         fine ranges instead of pre-calculating accurate ranges.
15205         Iterate with bigger gc-cons-threshold.
15207 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
15209         Add support for stashing a snapshot of the current tree.
15210         * vc-git.el (vc-git-stash-snapshot): New function.
15211         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
15213 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
15215         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
15216         instead of `(beginning|end)-of-line'.
15218 2009-12-08  Glenn Morris  <rgm@gnu.org>
15220         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
15222         * Makefile.in (ELCFILES): Regenerate.
15224 2009-12-07  Juri Linkov  <juri@jurta.org>
15226         Don't lazy-highlight the comint output in history Isearch mode.
15228         * comint.el (comint-history-isearch-search): Instead of
15229         `comint-line-beginning-position', use `comint-after-pmark-p'
15230         to check if point if before the process mark, and go to
15231         `process-mark' in this case.
15233 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
15235         * textmodes/tex-mode.el (latex-complete)
15236         (latex-indent-or-complete): Remove.
15237         (latex-mode): Set completion-at-point-functions instead.
15239         Provide a standard completion command and hook it into TAB.
15240         * minibuffer.el (completion-at-point-functions): New var.
15241         (completion-at-point): New command.
15242         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
15243         * progmodes/python.el (python-mode-map): Use completion-at-point.
15244         (python-completion-at-point): Rename from python-partial-symbol and
15245         adjust for use in completion-at-point-functions.
15246         (python-mode): Setup completion-at-point for Python completion.
15247         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
15248         extracted from lisp-complete-symbol.
15249         (lisp-complete-symbol): Use it.
15250         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
15251         setup completion-at-point for Elisp completion.
15252         (emacs-lisp-mode-map, lisp-interaction-mode-map):
15253         Use completion-at-point.
15254         * ielm.el (ielm-map): Use completion-at-point.
15255         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
15256         * progmodes/sym-comp.el: Move to...
15257         * obsolete/sym-comp.el: Move from progmodes.
15259 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
15261         Prevent save-buffer in Rmail buffers from using the coding-system
15262         of the current message, and from clobbering the encoding mnemonics
15263         in the mode line (Bug#4623).
15265         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
15266         flag, too.
15267         (rmail-message-encoding): New variable.
15268         (rmail-write-region-annotate): Record the encoding of the current
15269         message in rmail-message-encoding.
15270         (rmail-after-save-hook): New function, restores the encoding of
15271         the current message after the message collection is saved.
15273 2009-12-07  Juri Linkov  <juri@jurta.org>
15275         * progmodes/grep.el (grep-read-files): Use `completing-read'
15276         instead of `read-string'.  Set its `collection' arg to
15277         `read-file-name-internal'.  (Bug#4301)
15279 2009-12-07  Juri Linkov  <juri@jurta.org>
15281         Correctly restore original Isearch point.  (Bug#4994)
15283         * isearch.el (isearch-mode): Move `isearch-push-state' after
15284         `(run-hooks 'isearch-mode-hook)'.
15285         (isearch-cancel): When `isearch-push-state-function' is defined,
15286         let-bind `isearch-cmds' to the first state (the last element of
15287         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
15288         function and restores the original point).  Otherwise, move point
15289         to `isearch-opoint'.
15291 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
15293         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
15294         chars that don't have names, so the table can be built much faster at
15295         run-time.
15297 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
15299         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
15300         change.  Suggested by David Kastrup.
15302         * simple.el (compose-mail): Check for incompatibilities and warn.
15303         (compose-mail-user-agent-warnings): New option.
15305 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
15307         Support showing a single log entry from vc-annotate.
15308         * vc.el (print-log): Add a new argument: START-REVISION.
15309         (vc-print-log-internal): Add a new optional argument and
15310         pass it to the backend.
15311         (vc-print-log, vc-print-root-log): Adjust callers.
15312         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
15313         buffer already displays the requested log entry, use it.
15314         Otherwise display only the log entry in question.
15315         * vc-svn.el (vc-svn-print-log):
15316         * vc-mtn.el (vc-mtn-print-log):
15317         * vc-hg.el (vc-hg-state):
15318         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
15319         (vc-git-show-log-entry): Return t on success.
15320         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
15321         (vc-bzr-show-log-entry): Return t on success.
15322         * vc-rcs.el (vc-rcs-print-log):
15323         * vc-sccs.el (vc-sccs-print-log):
15324         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
15326 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
15328         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
15329         Add menus to the meta mode.  (Bug#5043)
15331 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
15333         * ediff-init.el (ediff-event-key): Use event-to-character instead of
15334         event-key.
15336         * ediff.el (ediff-buffers-internal): Add unwind-protect.
15338 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
15340         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
15341         Berbain <raphael.berbain@gmail.com>.
15343         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
15344         characters.
15345         (tramp-initial-end-of-output): New defconst.
15346         (tramp-methods, tramp-find-shell)
15347         (tramp-open-connection-setup-interactive-shell)
15348         (tramp-maybe-open-connection): Use it.
15349         (tramp-shell-prompt-pattern, tramp-wait-for-output):
15350         Handle existence of `#' and `$'.
15352         * net/tramp-fish.el (tramp-fish-maybe-open-connection):
15353         Use `tramp-initial-end-of-output'.
15355 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
15357         Get the background mode from the terminal for xterm, and set
15358         faces accordingly.
15359         * term/xterm.el (xterm-set-background-mode): New function.
15360         (terminal-init-xterm): Use it in case xterm supports background
15361         color queries.  Recompute faces after getting the background
15362         color.
15364 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
15366         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
15367         number comment back on its own line, for easier parsing.
15369 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
15371         Make it work for non-file buffers (bug#5102).
15372         * doc-view.el (doc-view-current-cache-dir):
15373         Use doc-view-buffer-file-name rather than buffer-file-name.
15374         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
15376 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
15378         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
15379         author field is too short.
15381 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
15383         * vc-git.el (vc-git-print-log): Handle a limit argument.
15384         Display the short log in graph form and with labels.
15385         (vc-git-log-view-mode): Handle labels.
15387         Make vc-revert change VC state from 'added to 'unregistered.
15388         * vc-git.el (vc-git-revert): Call git reset first.
15390 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
15392         * net/newst-backend.el, net/newst-plainview.el:
15393         * net/newst-reader.el, net/newst-ticker.el:
15394         * net/newst-treeview.el, net/newsticker.el:
15395         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
15397 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
15399         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
15401         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
15402         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
15403         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
15404         Update annotation regexp.
15406         * simple.el (beginning-of-visual-line): Constrain to field
15407         boundaries (Bug#5106).
15409 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
15411         * xml.el (xml-substitute-numeric-entities):
15412         Move newsticker--decode-numeric-entities in newst-backend.el to
15413         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
15414         * net/newst-backend.el (newsticker--parse-generic-feed)
15415         (newsticker--parse-generic-items)
15416         (newsticker--decode-numeric-entities):
15417         Move newsticker--decode-numeric-entities in newst-backend.el to
15418         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
15420 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
15422         * progmodes/js.el (js--js-not): Add null to the list of values.
15424 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
15426         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
15428 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
15430         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
15431         delimiter if it is at the end of the current line.
15432         (bibtex-generate-url-list): Fix docstring.
15434 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
15436         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
15437         minibuffer's content with itself.
15438         Fold the confirm-after-completion case into the `confirm' case.
15439         (completion-pcm-word-delimiters): Add : and / to the delimiters.
15441 2009-12-06  Kevin Ryde  <user42@zip.com.au>
15443         * ffap.el (ffap-rfc-path): Make this a defcustom since
15444         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
15446         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
15447         manuals, similar to existing setup for help-mode.  (Bug#3913.)
15449 2009-12-05  Juri Linkov  <juri@jurta.org>
15451         Save and restore dired buffer's point positions too.  (Bug#4880)
15453         * dired.el (dired-save-positions): Return in the first element
15454         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
15455         Doc fix.
15456         (dired-restore-positions): First restore buffer's position.
15457         While restoring window's positions, check if window still displays
15458         the original buffer.
15460 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
15462         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
15463         if possible.
15465         * shell.el (shell): Require ansi-color (Bug#5113).
15467         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
15469         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
15471 2009-12-05  Alan Mackenzie  <acm@muc.de>
15473         * progmodes/cc-mode.el (c-before-hack-hook)
15474         (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
15475         `c-file-style' to work again.  This reversion restores the current
15476         software to its state in Emacs 23.1.  (Bug#4146)
15478 2009-12-05  Kevin Ryde  <user42@zip.com.au>
15480         * textmodes/sgml-mode.el (sgml-lexical-context):
15481         Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
15483 2009-12-05  Juri Linkov  <juri@jurta.org>
15485         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
15486         for virtual nodes.  (Bug#4147)
15487         (Info-find-node-2): Set `Info-current-node-virtual' to nil
15488         when moving from a virtual node.
15489         (Info-mode-menu): Add `Info-virtual-index' to the menu.
15490         (Info-mode): Add `Info-virtual-index' to the docstring.
15492 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
15494         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
15495         track of the buffer position of the end of a BibTeX entry as this
15496         position may change during reformatting.
15497         (bibtex-format-entry): Remove whitespace before processing
15498         numerical fields so that we recognize the latter properly.
15499         (bibtex-reformat): Do not use push which changes the global value
15500         of bibtex-entry-format.
15501         (bibtex-field-braces-alist, bibtex-field-strings-alist)
15502         (bibtex-field-re-init): Replace only space characters by regexp
15503         for whitespace.
15504         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
15505         (bibtex-initialize): Also update bibtex-strings.
15506         (bibtex-kill-field): Preserve white space at end of entry.
15507         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
15508         Update bibtex-reference-keys.
15510 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15512         * minibuffer.el (completion-pcm--merge-try): Also consider placing
15513         point after a star, if that's the only place where modifications can
15514         make progress.
15516 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
15518         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
15519         in docstrings.
15521 2009-12-04  Juri Linkov  <juri@jurta.org>
15523         * proced.el (proced): Call `(proced-update t)' to update process
15524         information instead of only running proced-post-display-hook.
15525         (proced-send-signal): Add a leading space to the buffer name
15526         " *Marked Processes*" to make this buffer ephemeral.
15528 2009-12-04  Juri Linkov  <juri@jurta.org>
15530         * dired.el (dired-auto-revert-buffer): New defcustom.
15531         (dired-internal-noselect): Use it.
15533 2009-12-04  Juri Linkov  <juri@jurta.org>
15535         Change roles of modes and functions in image-mode.el (Bug#5062).
15537         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
15538         in `auto-mode-alist'.
15539         (image-mode-previous-major-mode): New variable.
15540         (image-minor-mode-map): Rename from `image-mode-text-map'.
15541         (image-mode): Move graceful error-handling code from
15542         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
15543         (image-minor-mode): Remove all image-handling code.
15544         Replace `image-mode-text-map' with `image-minor-mode-map'.
15545         Check for `image-type' in mode-line format string.
15546         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
15547         (image-mode-as-text): New function with most code from
15548         `image-mode-maybe'.
15549         (image-toggle-display-text): Move code that removes image
15550         properties from `image-toggle-display' to here.
15551         (image-toggle-display-image): New function with code that adds
15552         image properties copied from `image-toggle-display'.
15553         (image-toggle-display): Remove most code with leaving only code
15554         that toggles between `image-mode-as-text' and `image-mode'.
15556 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
15558         * net/newst-treeview.el
15559         (newsticker--treeview-list-highlight-start): Restored call to
15560         save-excursion: Selected item was stuck.
15561         (newsticker--treeview-list-select): New.
15562         (newsticker--treeview-item-show-text)
15563         (newsticker--treeview-item-show)
15564         (newsticker--treeview-item-update): Use new
15565         newsticker-treeview-item-mode.
15566         (newsticker-treeview-update): Keep current item.
15567         (newsticker-treeview-next-new-or-immortal-item): Doc change.
15568         (newsticker--treeview-first-feed): Doc change.
15569         (newsticker-treeview-list-menu)
15570         (newsticker-treeview-item-menu): Add menu entries.
15571         (newsticker-treeview-item-mode): New.
15573         * net/newst-backend.el (newsticker-customize): Delete other
15574         windows.
15576 2009-12-04  Sam Steingold  <sds@gnu.org>
15578         * log-view.el (log-view-mode-map): "q" calls quit-window,
15579         like in all the other non-self-insert buffers.
15581 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
15583         Minor cleanup.
15584         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
15585         key decoding rather than do it manually via last-input-event +
15586         ascii-character.
15587         (term-exec): Use delete-and-extract-region.
15588         (term-handle-ansi-terminal-messages): Remove unused var `end'.
15589         (term-process-pager): Remove unused var `i'.
15590         (term-dynamic-simple-complete): Make obsolete.
15591         (serial-update-config-menu): Remove unused vars `y' and `str'.
15592         (term-update-mode-line): Remove unused var `temp'.
15594 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
15596         Limit the number of log entries displayed by default.
15597         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
15598         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
15599         using a prefix argument.
15601 2009-12-03  Glenn Morris  <rgm@gnu.org>
15603         * progmodes/idlwave.el (class): Restore still useful declaration.
15605 2009-12-03  Alan Mackenzie  <acm@muc.de>
15607         Enhance `c-parse-state' to run efficiently in "brace deserts".
15609         * progmodes/cc-mode.el (c-basic-common-init):
15610         Call c-state-cache-init.
15611         (c-neutralize-syntax-in-and-mark-CPP): Rename from
15612         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
15613         placing `category' properties value 'c-cpp-delimiter at its boundaries.
15615         * progmodes/cc-langs.el (c-before-font-lock-function):
15616         c-extend-and-neutralize-syntax-in-CPP has been renamed
15617         c-neutralize-syntax-in-and-mark-CPP.
15619         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
15620         with `category' properties now, not `syntax-table' ones.
15622         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
15623         enhanced (but slower) version of c-end-of-macro that won't land
15624         inside a literal or on another awkward character.
15625         (c-state-cache-too-far, c-state-cache-start)
15626         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
15627         (c-state-nonlit-pos-cache-limit, c-state-point-min)
15628         (c-state-point-min-lit-type, c-state-point-min-lit-start)
15629         (c-state-min-scan-pos, c-state-brace-pair-desert)
15630         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
15631         buffer local variables.
15632         (c-state-literal-at, c-state-lit-beg)
15633         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
15634         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
15635         (c-state-cache-top-paren, c-state-cache-after-top-paren)
15636         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
15637         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
15638         (c-renarrow-state-cache)
15639         (c-append-lower-brace-pair-to-state-cache)
15640         (c-state-push-any-brace-pair, c-append-to-state-cache)
15641         (c-remove-stale-state-cache)
15642         (c-remove-stale-state-cache-backwards, c-state-cache-init)
15643         (c-invalidate-state-cache-1, c-parse-state-1)
15644         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
15645         (c-parse-state): Enhance and refactor.
15646         (c-debug-parse-state): Amend to deal with all the new variables.
15648         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
15649         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
15650         modify to use category text properties rather than syntax-table ones.
15651         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
15652         to switch off/on the syntactic paren property of C++ template
15653         delimiters using the category property.
15654         (c-with-<->-as-parens-suppressed): Macro to invoke code with
15655         template delims suppressed.
15656         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
15657         New constant/macros which apply category properties to the start
15658         and end of preprocessor constructs.
15659         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
15660         "comment out" the syntactic value of characters in preprocessor
15661         constructs.
15662         (c-with-cpps-commented-out)
15663         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
15664         with characters in all or all but one preprocessor constructs
15665         "commented out".
15667 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
15669         * proced.el (proced-filter-alist): Use regexp-quote.
15671 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
15673         Cleanup.
15674         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
15675         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
15676         arguments.  Expand `default-directory'.
15678         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
15679         the benefit of returning an expanded localname.
15680         (tramp-tramp-file-p): Handle the case NAME is not a string.
15682 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
15684         Add support for bzr shelve/unshelve.
15685         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
15686         (vc-bzr-extra-menu-map): New variables.
15687         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
15688         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
15689         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
15690         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
15691         (vc-bzr-dir-extra-headers): Display shelves.
15693         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
15695 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15697         * textmodes/bibtex.el (bibtex-complete-internal):
15698         Use completion-in-region.
15699         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
15701 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
15703         Support applying stashes.  Improve UI.
15704         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
15705         (vc-git-stash-apply, vc-git-stash-pop)
15706         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
15707         (vc-git-stash-menu): New functions.
15708         (vc-git-stash-menu-map): New variable.
15709         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
15711 2009-12-03  Glenn Morris  <rgm@gnu.org>
15713         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
15714         (vc-print-log-internal): Fix previous change.
15715         (vc-revert): Correct pluralization.
15717 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15719         * progmodes/make-mode.el (makefile-special-targets-list): No need for
15720         it to be an alist any more.
15721         (makefile-complete): Use completion-in-region.
15723         * progmodes/octave-mod.el (octave-complete-symbol):
15724         Use completion-in-region.
15726         Misc cleanup.
15727         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
15728         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
15729         (idlwave-complete-class): Don't quote lambda.
15730         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
15731         (idlwave-mode-map): Move initialization into declaration.
15732         (idlwave-action-and-binding): Use backquotes.
15733         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
15734         Simplify.
15735         (idlwave-is-pointer-dereference): Remove unused var `pos'.
15736         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
15737         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
15738         `parts', and `all-parts'.
15739         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
15740         (idlwave-convert-xml-system-routine-info): Remove unused string
15741         `version-string'.
15742         (idlwave-display-user-catalog-widget): Use dolist.
15743         (idlwave-scanning-lib): Declare dynamically-scoped var.
15744         (idlwave-scan-library-catalogs): Remove unused var `flags'.
15745         (completion-highlight-first-word-only): Declare to silence bytecomp.
15746         (idlwave-popup-select): Tighten scope of `resp'.
15747         (idlwave-find-struct-tag): Remove unused var `beg'.
15748         (idlwave-after-load-rinfo-hook): Declare.
15749         (idlwave-sintern-class-info): Remove unused var `taglist'.
15750         (idlwave-find-class-definition): Remove unused var `list'.
15751         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
15752         (idlwave-what-module-find-class): Remove unused var `classes'.
15754 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
15756         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
15758 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15760         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
15761         buffers visited.  Remove redundant current-buffer-saving.
15763 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
15765         Use completion-in-buffer and remove uses of dynamic scoping.
15766         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
15767         (pascal-buffer-to-use, pascal-flag): Don't declare.
15768         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
15769         (pascal-get-completion-decl, pascal-keyword-completion):
15770         Add `pascal-str' argument, save-excursion,
15771         return the found completions, and don't filter with pascal-pred.
15772         (pascal-completion-cache): New var.
15773         (pascal-completion): Don't switch buffer any more (it was never
15774         necessary).  Don't save-excursion any more (it's done by the called
15775         subroutines).  Use a cache to avoid redundant computations.
15776         Use complete-with-action rather than pascal-completion-response and
15777         let it apply the predicate as well.
15778         (pascal-complete-word): Use completion-in-buffer when
15779         pascal-toggle-completions is nil.
15780         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
15781         not used any more.
15782         (pascal-comp-defun): Don't change buffer any more.
15783         Use complete-with-action rather than pascal-completion-response and
15784         let it apply the predicate as well.
15785         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
15786         when neded.
15788 2009-12-02  Kenichi Handa  <handa@m17n.org>
15790         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
15791         shape for all Indic scripts.
15793 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
15795         Use completion-in-buffer.
15796         * wid-edit.el (widget-field-text-end): New function.
15797         (widget-field-value-get): Use it.
15798         (widget-string-complete, widget-file-complete)
15799         (widget-color-complete): Use it and completion-in-region.
15800         (widget-complete): Don't narrow the buffer.
15802 2009-12-02  Glenn Morris  <rgm@gnu.org>
15804         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
15805         (rmail-select-summary): Use rmail-pop-to-buffer.
15806         * mail/rmailsum.el: Replace all pop-to-buffer calls with
15807         rmail-pop-to-buffer, to prevent horizontal splits.
15809         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
15810         save-excursion with save-current-buffer.
15811         Widen before searching.  (Bug#5093)
15812         (diary-list-sexp-entries): Remove superfluous save-excursion.
15814 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
15816         * woman.el (woman-make-bufname): Handle man-pages with "." in the
15817         name.  (Bug#5038)
15819 2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
15821         * ido.el (ido-file-internal): Handle filenames at point that do
15822         not have a directory part.  (Bug#5049)
15824 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
15826         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
15827         (mpc-songs-jump-to, mpc-resume): Doc fixes.
15829 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
15831         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
15832         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
15833         any more.
15835 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15837         * comint.el (comint-insert-input): Ignore clicks to the right of
15838         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
15840         * vc.el (vc-print-log-internal): Don't wait for the process to
15841         terminate before setting up the major mode.
15843         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
15844         in case.
15846         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
15847         the last element.
15849         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
15851 2009-12-01  Glenn Morris  <rgm@gnu.org>
15853         * window.el (window--display-buffer-2): Fix previous changes.
15855 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
15857         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
15859 2009-12-01  Glenn Morris  <rgm@gnu.org>
15861         * Makefile.in (ELCFILES): Add mpc.elc.
15863 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15865         * mpc.el: New file.
15867 2009-12-01  Glenn Morris  <rgm@gnu.org>
15869         * window.el (window-to-use): Define for compiler.
15871         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
15872         consistent with others (no final period).
15874         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
15875         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
15877 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
15879         Make vc-print-log buttons work.
15880         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
15882 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
15884         * savehist.el (savehist-autosave-interval): Allow setting to nil
15885         through customize.  (Bug#5056)
15887 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
15889         Fix references to jit-lock properties.
15890         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
15891         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
15892         (perl-font-lock-special-syntactic-constructs):
15893         Quote jit-lock-defer-multiline property.
15895 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
15897         * vc-git.el (vc-git-registered): Call vc-git-root only once.
15899 2009-11-30  Juri Linkov  <juri@jurta.org>
15901         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
15902         value `buffer' of `multi-isearch-next-buffer-current-function'.
15903         Use `(current-buffer)' when `buffer' is nil.
15904         (multi-isearch-next-buffer-from-list): Don't fallback to
15905         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
15907 2009-11-30  Juri Linkov  <juri@jurta.org>
15909         * misearch.el (multi-isearch-read-buffers): Move canonicalization
15910         of buffers with `get-buffer' to `multi-isearch-buffers'.
15911         (multi-isearch-buffers, multi-isearch-buffers-regexp):
15912         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
15913         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
15914         FILES with `expand-file-name' converting relative file names
15915         to absolute.  Doc fix.  (Bug#4727)
15917 2009-11-30  Juri Linkov  <juri@jurta.org>
15919         * misearch.el (multi-isearch-read-buffers)
15920         (multi-isearch-read-matching-buffers): New functions.
15921         (multi-isearch-buffers, multi-isearch-buffers-regexp):
15922         Use them in the `interactive' spec.  Doc fix.
15923         (multi-isearch-read-files, multi-isearch-read-matching-files):
15924         New functions.
15925         (multi-isearch-files, multi-isearch-files-regexp):
15926         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
15928 2009-11-30  Juri Linkov  <juri@jurta.org>
15930         * doc-view.el (doc-view-continuous):
15931         Rename from `doc-view-continuous-mode'.
15932         (doc-view-menu): Move "Toggle display" to the top.
15933         Add submenu "Continuous" with radio buttons "Off"/"On"
15934         and "Save as Default".
15935         (doc-view-scroll-up-or-next-page)
15936         (doc-view-scroll-down-or-previous-page)
15937         (doc-view-next-line-or-next-page)
15938         (doc-view-previous-line-or-previous-page):
15939         Rename `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
15941 2009-11-30  Juri Linkov  <juri@jurta.org>
15943         * comint.el (comint-mode-map): Rebind `M-r' from
15944         `comint-previous-matching-input' to
15945         `comint-history-isearch-backward-regexp'.
15946         Unbind `M-s' to allow global key binding `M-s'.
15947         Add menu items for `comint-history-isearch-backward' and
15948         `comint-history-isearch-backward-regexp'.  (Bug#3746)
15950 2009-11-30  Juri Linkov  <juri@jurta.org>
15952         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
15953         For def=recenter, replace `recenter' with `recenter-top-bottom'
15954         that is called with `this-command' and `last-command' let-bound
15955         to `recenter-top-bottom'.  When the last `def' was not `recenter',
15956         set `recenter-last-op' to nil.  (Bug#4981)
15958 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15960         Minor cleanup and simplification.
15961         * filecache.el (file-cache-add-directory)
15962         (file-cache-add-directory-recursively)
15963         (file-cache-add-from-file-cache-buffer)
15964         (file-cache-delete-file-regexp, file-cache-delete-directory)
15965         (file-cache-files-matching-internal, file-cache-display): Use dolist.
15966         (file-cache-temp-minibuffer-message): Delete function.
15967         (file-cache-minibuffer-complete): Use minibuffer-message instead.
15969         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
15970         Don't signal an error when bumping into EOB in tr, s, or y.
15972 2009-11-29  Juri Linkov  <juri@jurta.org>
15974         * startup.el (fancy-about-text): Fix wording of Guided Tour.
15975         (Bug#4960)
15977         * descr-text.el (describe-char-unidata-list): Use lowercase name
15978         for "Unicode name" like in other tags.
15980 2009-11-29  Juri Linkov  <juri@jurta.org>
15982         * ediff-util.el (ediff-minibuffer-with-setup-hook):
15983         New compatibility macro.
15984         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
15986 2009-11-29  Juri Linkov  <juri@jurta.org>
15988         Add defcustom to define the cycling order of `recenter-top-bottom'.
15989         (Bug#4981)
15991         * window.el (recenter-last-op): Doc fix.
15992         (recenter-positions): New defcustom.
15993         (recenter-top-bottom): Rewrite to use `recenter-positions'.
15994         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
15996 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
15998         Improve integration of Tramp and ange-ftp in eshell.
16000         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
16001         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
16002         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
16004         * eshell/esh-util.el (top): Require also Tramp when compiling.
16005         (eshell-directory-files-and-attributes): Check for FTP remote
16006         connection.
16007         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
16008         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
16009         (eshell-file-attributes): Handle ".".  Return `entry'.
16011         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
16012         (ange-ftp-directory-files-and-attributes)
16013         (ange-ftp-real-directory-files-and-attributes): New defuns.
16015         * net/tramp.el (tramp-maybe-open-connection): Open the remote
16016         shell with "exec" when possible.  This prevents trailing prompts
16017         in `start-file-process'.
16019 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16021         Try and remove assumptions about point-min==1.
16022         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
16023         (rng-compute-mode-line-string): Show the validation percentage in
16024         terms of the narrowed text, not the widened text.
16025         (rng-do-some-validation): Don't catch internal errors when debugging.
16026         (rng-first-error): Simplify.
16027         (rng-after-change-function): Remove work around.  AFAIK the bug has
16028         been fixed a while ago.
16030         * image-mode.el (image-minor-mode): Exit more gracefully when the image
16031         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
16033         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
16035         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
16036         `cd' doesn't always do it for us (bug#5067).
16038         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
16039         on 2009-10-25 as part of some other change (bug#5067).
16041 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
16043         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
16044         `suspicious'.
16045         (byte-compile-warnings): Use byte-compile-warning-types.
16046         (byte-compile-save-excursion): Warn about use of set-buffer right
16047         after save-excursion.
16049         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
16050         the excursion as well.
16052 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
16054         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
16055         providing a Tramp related implementation of "su" and "sudo".
16056         (eshell-unix-initialize): Add "su" and "sudo".
16058 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
16060         * net/socks.el (socks-send-command): Convert binary request to
16061         unibyte before sending.  This fixes mishandling of some port
16062         numbers such as 129.
16064 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
16066         * help.el (describe-bindings-internal): Remove `interactive'.
16068         * man.el (Man-completion-table): Trim a terminating "(".
16069         Remove the space between name page a section.
16070         Add the command's description on the `help-echo' property.
16071         Remove `process-connection-type' binding since it's unused by
16072         call-process.
16073         Provide completion for the "<section> <name>" format as well.
16074         (Man-default-man-entry): Remove spurious var shadowing the argument.
16076 2009-11-26  Kevin Ryde  <user42@zip.com.au>
16078         * log-view.el: Add "Keywords: tools", since its other keywords
16079         aren't in finder-known-keywords, and following vc.el.
16081         * sha1.el (sha1-string-external): default-directory "/" in case
16082         otherwise non-existent.  process-connection-type pipe for touch of
16083         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
16085 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
16087         Misc coding convention cleanups.
16088         * htmlfontify.el (hfy-init-kludge-hook): Rename from
16089         hfy-init-kludge-hooks.
16090         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
16091         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
16092         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
16093         and push.
16094         (hfy-slant, hfy-weight): Use tables rather than code.
16095         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
16096         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
16097         (hfy-face-attr-for-class): Initialize `face-spec' directly.
16098         (hfy-face-to-css): Remove `nconc' with single arg.
16099         (hfy-p-to-face-lennart): Use `or'.
16100         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
16101         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
16102         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
16103         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
16104         (hfy-force-fontification): Use run-hooks.
16106 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
16108         Various minor fixes.
16109         * htmlfontify.el (hfy-default-header): Add toggle_invis since
16110         Javascript belongs in the header, not the body.
16111         (hfy-javascript): Remove.
16112         (hfy-fontify-buffer): Don't insert it any more.
16113         (hfy-face-at): Handle (face0 face1 face2) style face properties.
16114         Fix bug in invis handling when there were no invis props in a chunk.
16116 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
16118         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
16120 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
16122         * finder.el (finder-mode-map): Add a menu.
16124 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
16126         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
16127         "unsigned" structs.
16129         (verilog-leap-to-head, verilog-backward-token): Handle "disable
16130         fork" statement better.
16132 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
16134         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
16135         (verilog-delete-auto, verilog-delete-empty-auto-pair)
16136         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
16137         Reported by Clay Douglass.
16139         (verilog-auto-inst, verilog-auto-star-safe)
16140         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
16141         Fix removing "// Interfaces" when saving .* expansions.
16142         Reported by Pierre-David Pfister.
16144 2009-11-26  Glenn Morris  <rgm@gnu.org>
16146         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
16147         the scope.
16149 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
16151         * vc-annotate.el (vc-annotate-revision-previous-to-line):
16152         Really use previous revision.
16154 2009-11-25  Kevin Ryde  <user42@zip.com.au>
16156         * man.el (Man-completion-table): default-directory "/" in case
16157         doesn't otherwise exist.  process-environment COLUMNS=999 so as
16158         not to truncate long names.  process-connection-type pipe to avoid
16159         any chance of hitting the pseudo-tty TIOCGWINSZ.
16160         (man): completion-ignore-case t for friendliness and since man
16161         itself is case-insensitive on the command line.
16162         Further to Bug#3717.
16164         * arc-mode.el: Add "Keywords: files", so the details in its
16165         commentary can be reached from finder-by-keyword.
16166         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
16167         editing mode, but it's comms related and sgml-mode.el has "comm"
16168         on that basis too.
16169         * textmodes/bibtex-style.el: Add "Keywords: tex".
16170         * international/isearch-x.el, international/ja-dic-cnv.el:
16171         * international/ja-dic-utl.el, international/kkc.el:
16172         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
16174 2009-11-25  Juri Linkov  <juri@jurta.org>
16176         * man.el (Man-completion-table): Modify regexp to include
16177         section names to completion strings.  (Bug#3717)
16179 2009-11-25  Juri Linkov  <juri@jurta.org>
16181         Search recursively in gzipped files.  (Bug#4982)
16183         * progmodes/grep.el (grep-highlight-matches): Add new options
16184         `always' and `auto'.  Doc fix.
16185         (grep-process-setup): Check `grep-highlight-matches' for
16186         `auto-detect' to determine the need to compute grep defaults.
16187         Move Windows/DOS specific --colors settings handling
16188         to `grep-compute-defaults'.  Check `grep-highlight-matches'
16189         to get the value of "--color=".
16190         (grep-compute-defaults): Compute `grep-highlight-matches' when it
16191         has the value `auto-detect'.  Move Windows/DOS specific settings
16192         from `grep-process-setup'.
16193         (zrgrep): New command with alias `rzgrep'.
16195 2009-11-25  Juri Linkov  <juri@jurta.org>
16197         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
16198         to nil instead of switching off view-mode.  (Bug#4896)
16200 2009-11-25  Juri Linkov  <juri@jurta.org>
16202         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
16204         * mwheel.el (mwheel-scroll-up-function)
16205         (mwheel-scroll-down-function): New defvars.
16206         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
16207         `scroll-up', and `mwheel-scroll-down-function' instead of
16208         `scroll-down'.
16210         * doc-view.el (doc-view-scroll-up-or-next-page)
16211         (doc-view-scroll-down-or-previous-page): Add optional ARG.
16212         Use this ARG in the call to image-scroll-up/image-scroll-down.
16213         Change `interactive' spec to "P".  Goto next/previous page only
16214         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
16215         SPC/DEL case).  Doc fix.
16216         (doc-view-next-line-or-next-page)
16217         (doc-view-previous-line-or-previous-page): Rename arg to ARG
16218         for consistency.
16219         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
16220         `doc-view-scroll-up-or-next-page', and buffer-local
16221         `mwheel-scroll-down-function' to
16222         `doc-view-scroll-down-or-previous-page'.
16224 2009-11-25  Juri Linkov  <juri@jurta.org>
16226         Provide additional default values (directories at other Dired
16227         windows) via M-n in the minibuffer of some Dired commands.
16229         * dired-aux.el (dired-diff, dired-compare-directories)
16230         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
16231         `minibuffer-default' in `minibuffer-with-setup-hook'.
16232         (dired-dwim-target-directory): Find a window that displays Dired
16233         buffer instead of failing when the next window is not Dired.
16234         Use `get-window-with-predicate' to find for the next Dired window.
16235         (dired-dwim-target-defaults): New function.
16237         * ediff-util.el (ediff-read-file-name):
16238         Use `dired-dwim-target-defaults' to set `minibuffer-default'
16239         in `minibuffer-with-setup-hook'.
16241 2009-11-25  Juri Linkov  <juri@jurta.org>
16243         Provide additional default values (file name at point or at the
16244         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
16246         * minibuffer.el (read-file-name-defaults): New function.
16247         (read-file-name): Reset `minibuffer-default' to nil when
16248         it duplicates initial input `insdef'.
16249         Bind `minibuffer-default-add-function' to lambda that
16250         calls `read-file-name-defaults' in `minibuffer-selected-window'.
16251         (minibuffer-insert-file-name-at-point): New command.
16253         * files.el (file-name-at-point-functions): New defcustom.
16254         (find-file-default): Remove defvar.
16255         (find-file-read-args): Don't use `find-file-default'.
16256         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
16257         to `read-file-name'.
16258         (find-file-literally): Use `read-file-name' with
16259         `confirm-nonexistent-file-or-buffer'.
16261         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
16263         * dired.el (dired-read-dir-and-switches):
16264         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
16265         to `read-file-name'.
16266         (dired-file-name-at-point): New function.
16267         (dired-mode): Add hook `dired-file-name-at-point' to
16268         `file-name-at-point-functions'.
16270 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16272         Really make the *Completions* window soft-dedicated (bug#5030).
16273         * window.el (window--display-buffer-2): Add `dedicated' argument.
16274         (display-buffer): Pass it when needed so the dedicated flag is set
16275         after calling set-window-buffer, which would otherwise reset it.
16277 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16279         * progmodes/meta-mode.el (meta-complete-symbol):
16280         * progmodes/etags.el (complete-tag):
16281         * mail/mailabbrev.el (mail-abbrev-complete-alias):
16282         Use completion-in-region.
16284         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
16285         (dabbrev-completion): Use completion-in-region.
16286         (dabbrev--abbrev-at-point): Simplify regexp.
16288         * abbrev.el (abbrev--before-point): Use word-motion functions
16289         if :regexp is not specified (bug#5031).
16291         * subr.el (string-prefix-p): New function.
16293         * man.el (Man-completion-cache): New var.
16294         (Man-completion-table): Use it.
16296         * vc.el (vc-print-log-internal): Make `limit' optional for better
16297         compatibility (e.g. with vc-annotate.el).
16299 2009-11-24  Kevin Ryde  <user42@zip.com.au>
16301         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
16302         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
16304         * emacs-lisp/elint.el (elint-add-required-env): Better error message
16305         when .el source file not found or other error.
16307 2009-11-24  Markus Triska  <markus.triska@gmx.at>
16309         * linum.el (linum-update-window): Ignore intangible (bug#4996).
16311 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16313         Handle the [back] button properly (bug#4979).
16314         * descr-text.el (describe-text-properties): Add a `buffer' argument.
16315         Use help-setup-xref, help-buffer, and with-help-window.
16316         (describe-char): Add `buffer' argument.
16317         Pass proper command to help-setup-xref.  Don't meddle with
16318         help-xref-stack-item directly.
16319         (describe-text-category): Use with-help-window and help-buffer.
16321         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
16322         for the displayed buffer (bug#4887).
16324         * man.el (Man-completion-table): New function.
16325         (man): Use it.
16327 2009-11-24  David Reitter  <david.reitter@gmail.com>
16329         * vc-git.el (vc-git-registered): Use checkout directory (where
16330         .git is) rather than the file's directory and a relative path spec
16331         to work around a bug in git.
16333 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
16335         Improve handling of processes on remote hosts.
16337         * eshell/esh-util.el (eshell-path-env): New defvar.
16338         (eshell-parse-colon-path): New defun.
16339         (eshell-file-attributes): Use `eshell-parse-colon-path'.
16341         * eshell/esh-ext.el (eshell-search-path):
16342         Use `eshell-parse-colon-path'.
16343         (eshell-remote-command): Remove argument HANDLER.
16344         (eshell-external-command): Check for FTP remote connection.
16346         * eshell/esh-proc.el (eshell-gather-process-output):
16347         Use `file-truename', in order to start also symlinked files.
16348         Apply `start-file-process' instead of `start-process'.
16349         Shorten `command' to the local file name part.
16351         * eshell/em-cmpl.el (eshell-complete-commands-list):
16352         Use `eshell-parse-colon-path'.
16354         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
16356         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
16357         to `eshell-directory-change-hook'.
16359 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
16361         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
16362         because it could be enabled automatically if view-read-only is non-nil.
16364 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
16366         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
16367         made on 2009-11-22.
16369 2009-11-24  Glenn Morris  <rgm@gnu.org>
16371         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
16372         deleted variable bookmark-bmenu-bookmark-column.
16374 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16376         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
16378 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
16380         * net/browse-url.el (browse-url-filename-alist): On Windows, add
16381         two slashes to the "file:" prefix.
16382         (browse-url-file-url): De-munge Cygwin filenames before passing
16383         them to Windows browser.
16384         (browse-url-default-windows-browser): Use call-process.
16386 2009-11-23  Juri Linkov  <juri@jurta.org>
16388         Implement DocView Continuous mode.  (Bug#4896)
16389         * doc-view.el (doc-view-continuous-mode): New defcustom.
16390         (doc-view-mode-map): Bind C-n/<down> to
16391         `doc-view-next-line-or-next-page', C-p/<up> to
16392         `doc-view-previous-line-or-previous-page'.
16393         (doc-view-next-line-or-next-page)
16394         (doc-view-previous-line-or-previous-page): New commands.
16396 2009-11-23  Juri Linkov  <juri@jurta.org>
16398         Implement Isearch in comint input history.  (Bug#3746)
16399         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
16400         `isearch-mode-hook'.
16401         (comint-history-isearch): New defcustom.
16402         (comint-history-isearch-backward)
16403         (comint-history-isearch-backward-regexp): New commands.
16404         (comint-history-isearch-message-overlay): New buffer-local variable.
16405         (comint-history-isearch-setup, comint-history-isearch-end)
16406         (comint-goto-input, comint-history-isearch-search)
16407         (comint-history-isearch-message, comint-history-isearch-wrap)
16408         (comint-history-isearch-push-state)
16409         (comint-history-isearch-pop-state): New functions.
16411 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
16413         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
16414         return.
16415         (tramp-handle-make-symbolic-link)
16416         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
16417         Quote file names.
16418         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
16419         (tramp-handle-process-file): Use it.
16421 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16423         * window.el (move-to-window-line-last-op): Remove.
16424         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
16426 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
16428         Make M-r mirror the new cycling behavior of C-l.
16429         * window.el (move-to-window-line-last-op): New var.
16430         (move-to-window-line-top-bottom): New command.
16431         (global-map): Bind M-r move-to-window-line-top-bottom.
16433 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
16435         * dired-x.el (dired-guess-shell-alist-default):
16436         Support xz format.  (Bug#4953)
16438 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
16440         * emulation/viper-cmd.el: Use viper-last-command-char instead of
16441         last-command-char/last-command-event.
16442         (viper-prefix-arg-value): Do correct conversion of event-char for
16443         XEmacs.
16445         * emulation/viper-util.el, emulation/viper.el:
16446         Use viper-last-command-char instead of
16447         last-command-char/last-command-event.
16449         * ediff-init.el, ediff-mult.el, ediff-util.el:
16450         Replace last-command-char and last-command-event
16451         with (ediff-last-command-char) everywhere.
16453         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
16454         created in fundamental mode.
16456         * ediff.el (ediff-version): Revert the change of interactive-p to
16457         called-interactively-p.
16459 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
16461         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
16462         generation from word-movement command names.
16464 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
16466         * cus-start.el (all): Add native condition for font-use-system-font.
16468 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
16470         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
16471         Correct the patch from 2009-11-18.  (Bug#3910)
16473 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
16475         * progmodes/subword.el: Rename from lisp/subword.el.
16477         * subword.el: Rename to progmodes/subword.el.
16479         * Makefile.in (ELCFILES): Adapt to subword.el move.
16481 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
16482             Stefan Monnier  <monnier@iro.umontreal.ca>
16484         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
16485         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
16486         (bookmark-bmenu-show-filenames): Use push.
16487         (bookmark-bmenu-hide-filenames): Use local var instead of
16488         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
16489         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
16490         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
16491         filenames now that the bookmark names are always available.
16493 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16495         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
16496         (bookmark-search-pattern): Move and leave unbound.
16497         (bookmark-bmenu-mode-map): Change binding.
16498         (bookmark-read-search-input): Simplify.
16499         Don't use text-char-description.  Don't error on non-char events.
16500         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
16501         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
16502         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
16503         Use a local var for the timer.
16504         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
16505         (i.e. bookmark-bmenu-search).
16507 2009-11-21  Glenn Morris  <rgm@gnu.org>
16509         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
16511 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
16513         * net/browse-url.el (browse-url-default-windows-browser):
16514         Use cygstart for cygwin.
16516 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
16518         * bookmark.el: Formatting and doc fixes only:
16519         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
16520         (bookmark-bmenu-search): Wrap to fit within 80 columns.
16521         Minor grammar and punctuation fixes in doc string.
16522         (bookmark-read-search-input): Adjust to fit within 80 columns.
16524 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
16526         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
16527         (c-backward-into-nomenclature): Adapt to subword renaming.
16529         * subword.el (subword-forward, subword-backward, subword-mark)
16530         (subword-kill, subword-backward-kill, subword-transpose)
16531         (subword-downcase, subword-upcase, subword-capitalize)
16532         (subword-forward-internal, subword-backward-internal):
16533         Rename from forward-subword, backward-subword, mark-subword,
16534         kill-subword, backward-kill-subword, transpose-subwords,
16535         downcase-subword, upcase-subword, capitalize-subword,
16536         forward-subword-internal, backward-subword-internal.
16538 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
16540         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
16541         New options.
16542         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
16543         New vars.
16544         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
16545         (bookmark-bmenu-filter-alist-by-regexp)
16546         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
16547         (bookmark-bmenu-search): New command.
16548         (bookmark-bmenu-mode-map): Bind it.
16550 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
16552         * progmodes/cc-cmds.el: declare-functioned forward-subword and
16553         backward-subword to quit the byte-compiler.
16555         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
16557         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
16559         * progmodes/cc-cmds.el (c-update-modeline)
16560         (c-forward-into-nomenclature, c-backward-into-nomenclature):
16561         Refer to subword.el functions instead of cc-subword.el.
16563         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
16564         subword.el functions instead of cc-subword.el.
16566         * progmodes/cc-subword.el: Rename to subword.el.
16567         * subword.el: Rename from progmodes/cc-subword.el.
16568         (subword-mode-map): Rename from c-subword-mode-map.
16569         (subword-mode): Rename from c-subword-mode.
16570         (global-subword-mode): New global minor mode.
16571         (forward-subword): Rename from c-forward-subword.
16572         (backward-subword): Rename from c-backward-subword.
16573         (mark-subword): Rename from c-mark-subword.
16574         (kill-subword): Rename from c-kill-subword.
16575         (backward-kill-subword): Rename from c-backward-kill-subword.
16576         (transpose-subwords): Rename from c-tranpose-subword.
16577         (downcase-subword): Rename from c-downcase-subword.
16578         (capitalize-subword): Rename from c-capitalize-subword.
16579         (forward-subword-internal): Rename from c-forward-subword-internal.
16580         (backward-subword-internal): Rename from c-backward-subword-internal.
16582 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
16584         * vc.el (vc-deduce-fileset): Allow non-state changing operations
16585         from a dired buffer.
16586         (vc-dired-deduce-fileset): New function.
16587         (vc-root-diff, vc-print-root-log): Use it.
16589         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
16590         nil LIMIT argument to vc-print-log-internal.
16592 2009-11-20  Glenn Morris  <rgm@gnu.org>
16594         * Makefile.in (ELCFILES): Regenerate.
16596 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
16598         * calc/calc.el (calc-set-mode-line):
16599         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16600         (math-format-number): Rename `math-format-complement-signed' to
16601         `math-format-twos-complement'.
16603         * calc/calc-bin.el (math-format-twos-complement): Rename from
16604         math-format-complement-signed.
16605         (calc-radix): Rename `calc-complement-signed-mode' to
16606         `calc-twos-complement-mode'.
16607         (calc-octal-radix, calc-hex-radix): Add an argument for
16608         two's complement.
16610         * calc/calc-embed.el (calc-embedded-mode-vars):
16611         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16613         * calc/calc-ext.el (calc-init-extensions):
16614         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16615         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
16617         * calc/calc-units.el (math-build-units-table-buffer):
16618         Let `calc-twos-complement-mode' be nil.
16620         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
16621         entries.
16623         * calc/calc-vec.el (calcFunc-vunpack):
16624         * calc/calc-aent.el (calc-do-calc-eval):
16625         * calc/calc-forms.el (math-format-date):
16626         * calc/calc-graph.el (calc-graph-plot):
16627         * calc/calc-math.el (math-use-emacs-fn):
16628         * calc/calccomp.el (math-compose-expr):
16629         Let `calc-twos-complement-mode' be nil.
16631 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16633         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
16634         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
16635         * minibuffer.el (completion-in-region-functions): New hook.
16636         (completion-in-region): New function.
16637         * emacs-lisp/lisp.el (lisp-complete-symbol):
16638         * pcomplete.el (pcomplete-std-complete): Use it.
16640 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16642         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
16643         (latex-complete-alist): New vars.
16644         (latex-string-prefix-p, latex-complete-bibtex-keys)
16645         (latex-complete-envnames, latex-complete-refkeys)
16646         (latex-complete-data): New functions.
16647         (latex-complete, latex-indent-or-complete): New commands.
16649         * window.el (display-buffer-mark-dedicated): New var.
16650         (display-buffer): Obey it.
16651         * minibuffer.el (minibuffer-completion-help): Use it.
16653         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
16655         * filecache.el (file-cache-add-file): Use push and cons.
16656         (file-cache-delete-file-regexp): Use push.
16657         (file-cache-complete): Use completion-in-region.
16659         * simple.el (with-wrapper-hook): Fix thinko.
16661         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
16662         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
16663         Use with-current-buffer and string-to-number.
16664         (hfy-fallback-colour-values): Use assoc-string.
16665         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
16666         (hfy-face-at): Remove unused var `found-face'.
16667         (hfy-compile-stylesheet): Remove unused var `css'.
16668         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
16669         and `orig-buffer'.
16670         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
16671         Use with-current-buffer.
16672         (hfy-text-p): Use expand-file-name and fewer setq.
16674 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
16676         * htmlfontify.el, hfy-cmap.el: New files.
16678 2009-11-19  Juri Linkov  <juri@jurta.org>
16680         * minibuffer.el (completions-format): New defcustom.
16681         (completion--insert-strings): Implement vertical format.
16683         * simple.el (switch-to-completions): Move point to the first
16684         completion when point was at the beginning of the buffer.
16686 2009-11-19  Juri Linkov  <juri@jurta.org>
16688         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
16690         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
16692 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
16694         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
16695         (mail-signature): Change default to t.
16696         (mail-from-style): Deprecate `system-default' value.
16697         (mail-insert-from-field): For default value of mail-from-style,
16698         default to `angles' unless `angles' needs quoting and `parens'
16699         does not.
16700         (mail-citation-prefix-regexp): Use citation regexp from
16701         message-mode.
16703 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
16705         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
16706         Set variables for computing the prompt for reading password.
16708 2009-11-19  Glenn Morris  <rgm@gnu.org>
16710         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
16712         * textmodes/flyspell.el (sgml-lexical-context): Declare.
16714         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
16715         (newsticker-treeview-listwindow-height): Fix custom type.
16717 2009-11-19  Kenichi Handa  <handa@m17n.org>
16719         * descr-text.el (describe-char-padded-string): Compose with TAB
16720         only if there's a font for CH.
16721         (describe-char): Fix the condition for detecting a trivial composition.
16723 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
16725         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
16726         more accurate version of the regexp.  (Bug#3910)
16728 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
16730         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
16732 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
16734         * font-setting.el (font-use-system-font): Declare for byte-compiler.
16735         (font-setting-change-default-font): Fix typo in docstring.
16737 2009-11-18  Alan Mackenzie  <acm@muc.de>
16739         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
16741 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
16743         * font-setting.el (font-use-system-font): Move ...
16745         * cus-start.el (all): ... to here.
16747 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
16749         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
16750         Don't set `ad-return-value' if `ad-do-it' doesn't.
16752         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
16753         modification time.
16755 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
16757         * menu-bar.el: Put "Use system font" in Option-menu.
16758         (menu-bar-options-save): Add font-use-system-font.
16760         * loadup.el: If feature system-font-setting or font-render-setting is
16761         there, load font-setting.
16763         * Makefile.in (ELCFILES): Add font-settings.el.
16764         * font-setting.el: New file.
16766 2009-11-17  Glenn Morris  <rgm@gnu.org>
16768         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
16770         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
16771         Preserve point in the list buffer.  (Bug#4939)
16772         Use point-at-eol.
16773         (newsticker--treeview-list-update-highlight)
16774         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
16776 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
16778         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
16779         Remove.
16781         * calc/calc-ext.el (calc-init-extensions): Remove references to
16782         symclip.
16784         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
16786         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
16787         * calc/calc-help.el (calc-b-prefix-help): Remove references to
16788         `calc-symclip'.
16790 2009-11-16  Kevin Ryde  <user42@zip.com.au>
16792         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
16793         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
16795         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
16796         (lm-keywords-list): Allow comma-only separator like "foo,bar".
16797         Ignore trailing spaces by omit-nulls to split-string (fixing
16798         regression from Emacs 21 due to the incompatible split-string
16799         change).  (Bug #4928.)
16801 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
16803         * vc.el (vc-log-show-limit): Default to 2000.
16804         (vc-print-log-internal): Insert buttons to request more entries
16805         when limiting the output.
16807         * vc-sccs.el (vc-sccs-print-log):
16808         * vc-rcs.el (vc-rcs-print-log):
16809         * vc-cvs.el (vc-cvs-print-log):
16810         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
16811         LIMIT is non-nil.
16813 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
16815         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
16816         error when `tramp-gvfs-dbus-event-vector' is set.
16817         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
16819 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16821         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
16823 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
16825         * net/dbus.el (dbus-unregister-service): New defun.
16826         (dbus-register-property): Register the handlers of
16827         "org.freedesktop.DBus.Properties" for SERVICE.
16828         (dbus-property-handler): Fix docstring.
16830 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
16832         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
16833         Quote doc string reference in defvaralias as it is not in special form.
16834         (byte-compile-output-docform): Doc fix.
16836 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
16838         * calc/calc.el (math-2-word-size, math-half-2-word-size)
16839         (calc-complement-signed-mode): New variables.
16840         (calc-set-mode-line): Add indicator for twos-complements.
16841         (math-format-number): Format twos-complement notation.
16843         * calc/calc-bin.el (calc-word-size): Reset the variables
16844         `math-2-word-size' and `math-half-2-word-size'.
16845         (math-format-complement-signed, math-symclip, calcFunc-symclip)
16846         (calc-symclip): New functions.
16848         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
16850         * calc/calc-embed.el (calc-embedded-mode-vars):
16851         Add `calc-complement-signed-mode' to the list of modes.
16853         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
16854         (calc-b-oper-keys): Add `calc-symclip' to list.
16856         * calc/calc-ext.el (math-read-number-fancy): Read complement
16857         signed numbers.
16858         (calc-init-extensions): Add binding for `calc-symclip'.
16859         Add autoload for `calcFunc-symclip' and `calc-symclip'.
16861         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
16862         `calc-symclip'.
16863         (calc-modes-menu): Add item for twos complement mode.
16865         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
16867 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
16869         * register.el (jump-to-register, insert-register): Handle Semantic
16870         tags.  From commented-out advice in semantic/senator.el.
16872 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
16874         * vc.el (vc-log-show-limit): New variable.
16875         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
16876         when using a prefix argument.
16877         (vc-print-log-internal): Add new argument LIMIT.
16879         * vc-svn.el (vc-svn-print-log):
16880         * vc-mtn.el (vc-mtn-print-log):
16881         * vc-hg.el (vc-hg-print-log):
16882         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
16883         pass it to the log command when set.  Make the BUFFER argument
16884         non-optional.
16886         * vc-sccs.el (vc-sccs-print-log):
16887         * vc-rcs.el (vc-rcs-print-log):
16888         * vc-git.el (vc-git-print-log):
16889         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
16890         ignore it.  Make the BUFFER argument non-optional.
16892         * bindings.el (mode-line-buffer-identification): Do not purecopy.
16894 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
16896         * dired.el (dired-mode-map): Move encryption items to "Operate"
16897         menu (Bug#4703).
16899         * strokes.el (strokes-update-window-configuration): Make strokes
16900         buffer current before erasing (Bug#4906).
16902 2009-11-15  Juri Linkov  <juri@jurta.org>
16904         * simple.el (set-mark-default-inactive): Add :type, :group
16905         and :version.  (Bug#4876)
16907 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
16909         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
16910         (archive-unique-fname): ... here.  (Bug#4929)
16912 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16914         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
16915         with a real fix.
16917         * novice.el (disabled-command-function): Add useful args.
16918         Setup the help buffer so that [back] works.
16919         Remove redundant call to help-mode.
16920         (disabled-command-function): Use `case'.
16921         (en/disable-command): New function extracted from enable-command.
16922         (enable-command, disable-command): Use it.
16924 2009-11-14  Glenn Morris  <rgm@gnu.org>
16926         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
16927         constants.  (Bug#4913)
16929         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
16931 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
16933         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
16934         defined in C that have no doc-strings.  (Bug#1063)
16936 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
16938         * cus-edit.el (data, files):
16939         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
16941 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
16943         * simple.el (shell-command): Doc fix (Bug#4891).
16945         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
16947 2009-11-14  Glenn Morris  <rgm@gnu.org>
16949         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
16950         statements for vc-diff, emerge-quit, and rmail-cease-edit.
16951         If they are already loaded, eval-after-load will do the right thing.
16953         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
16954         compiling.
16956         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
16958         * simple.el (x-selection-owner-p): Declare.
16959         (read-mail-command): Use custom radio type rather than choice.
16960         (completion-no-auto-exit): Doc fix.
16962         * custom.el (defgroup):
16963         * epg-config.el (epg): Doc fixes.
16965 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
16967         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
16968         * international/ccl.el (define-ccl-program): Do not purecopy the
16969         docstring, defconst does it anyway.
16971 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16973         * add-log.el (add-change-log-entry): Avoid displaying the changelog
16974         a second time.
16976         * x-dnd.el (x-dnd-maybe-call-test-function):
16977         * window.el (split-window-vertically):
16978         * whitespace.el (whitespace-help-on):
16979         * vc-rcs.el (vc-rcs-consult-headers):
16980         * userlock.el (ask-user-about-lock-help)
16981         (ask-user-about-supersession-help):
16982         * type-break.el (type-break-force-mode-line-update):
16983         * time-stamp.el (time-stamp-conv-warn):
16984         * terminal.el (te-set-output-log, te-more-break, te-filter)
16985         (te-sentinel, terminal-emulator):
16986         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
16987         (term-write-input-ring, term-check-source, term-start-output-log):
16988         (term-display-buffer-line, term-dynamic-list-completions):
16989         (term-ansi-make-term, serial-term):
16990         * subr.el (selective-display):
16991         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
16992         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
16993         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
16994         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
16995         (speedbar-remove-localized-speedbar-support)
16996         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
16997         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
16998         (speedbar-buffers-line-directory):
16999         * simple.el (shell-command-on-region, append-to-buffer)
17000         (prepend-to-buffer):
17001         * shadowfile.el (shadow-save-todo-file):
17002         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
17003         (scroll-bar-maybe-set-window-start):
17004         * sb-image.el (speedbar-image-dump):
17005         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
17006         (load-save-place-alist-from-file):
17007         * ps-samp.el (ps-print-message-from-summary):
17008         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
17009         (ps-background-image, ps-begin-job, ps-do-despool):
17010         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
17011         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
17012         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
17013         (pr-call-process, pr-file-list, pr-interface-save):
17014         * novice.el (disabled-command-function)
17015         (enable-command, disable-command):
17016         * mouse.el (mouse-buffer-menu-alist):
17017         * mouse-copy.el (mouse-kill-preserving-secondary):
17018         * macros.el (kbd-macro-query):
17019         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
17020         * informat.el (batch-info-validate):
17021         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
17022         * hippie-exp.el (try-expand-dabbrev-visible):
17023         * help-mode.el (help-make-xrefs):
17024         * help-fns.el (describe-variable):
17025         * generic-x.el (bat-generic-mode-run-as-comint):
17026         * finder.el (finder-mouse-select):
17027         * find-dired.el (find-dired-sentinel):
17028         * filesets.el (filesets-file-close):
17029         * files.el (list-directory):
17030         * faces.el (list-faces-display, describe-face):
17031         * facemenu.el (list-colors-display):
17032         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
17033         * epg.el (epg--process-filter, epg-cancel):
17034         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
17035         (epa--read-signature-type):
17036         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
17037         (emerge-file-names):
17038         * ehelp.el (electric-helpify):
17039         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
17040         * ediff-vers.el (rcs-ediff-view-revision):
17041         * ediff-util.el (ediff-setup):
17042         * ediff-mult.el (ediff-append-custom-diff):
17043         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
17044         (ediff-wordify):
17045         * echistory.el (Electric-command-history-redo-expression):
17046         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
17047         * disp-table.el (describe-display-table):
17048         * dired.el (dired-find-buffer-nocreate):
17049         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
17050         * dabbrev.el (dabbrev--same-major-mode-p):
17051         * chistory.el (list-command-history):
17052         * apropos.el (apropos-documentation):
17053         * allout.el (allout-obtain-passphrase):
17054         (allout-copy-exposed-to-buffer):
17055         (allout-verify-passphrase): Use with-current-buffer.
17057 2009-11-13  Glenn Morris  <rgm@gnu.org>
17059         * Makefile.in (ELCFILES): Regenerate.
17061 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
17063         * net/dbus.el (dbus-registered-objects-table): Rename from
17064         `dbus-registered-functions-table', because it contains also properties.
17065         (dbus-unregister-object): Unregister also properties.
17066         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
17067         Use a timeout of 500 msec, in order to not block.
17068         (dbus-register-property, dbus-property-handler): New defuns.
17070 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
17072         * simple.el (minibuffer-default-add-completions): Drop deprecated
17073         4th arg.
17075 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
17077         * textmodes/artist.el (artist-mouse-choose-operation):
17078         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
17079         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
17080         (artist-compute-up-event-key): New function.
17081         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
17083 2009-11-13  Kenichi Handa  <handa@m17n.org>
17085         * language/japan-util.el: Make sure that the value of jisx0208
17086         property is jisx0208 character.
17088 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
17090         * international/mule.el (auto-coding-regexp-alist): Only purecopy
17091         car or each item, not the whole list.
17093 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17095         * minibuffer.el (minibuffer-completion-help):
17096         Use minibuffer-hide-completions.
17098 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
17100         * dired.el (dired-save-positions, dired-restore-positions): New funs.
17101         (dired-revert): Use them (bug#4880).
17103 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
17105         * tooltip.el (tooltip-frame-parameters): Undo previous change.
17107 2009-11-12  Juri Linkov  <juri@jurta.org>
17109         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
17110         New functions.
17111         (find-file-literally-at-point): Alias of `ffap-literally'.
17113 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
17115         * textmodes/ispell.el (ispell-skip-region-alist):
17116         * textmodes/css-mode.el (auto-mode-alist):
17117         * progmodes/compile.el (auto-mode-alist):
17118         * international/mule.el (ctext-non-standard-encodings-alist)
17119         (ctext-non-standard-encodings-regexp):
17120         * simple.el (shell-command-switch, text-read-only):
17121         * replace.el (occur-mode-map):
17122         * paths.el (rmail-file-name):
17123         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
17124         * find-file.el (ff-special-constructs):
17125         * files.el (file-name-handler-alist):
17126         * composite.el: Purecopy strings.
17128         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
17130 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
17132         * widget.el (define-widget): Purecopy the docstring.
17133         * international/mule-cmds.el (charset): Do not purecopy the
17134         docstring here, define-widget does it.
17136         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
17137         * textmodes/bibtex-style.el (auto-mode-alist):
17138         * progmodes/inf-lisp.el (inferior-lisp-prompt):
17139         * progmodes/compile.el (compile-command):
17140         * language/korea-util.el (default-korean-keyboard):
17141         * international/mule-conf.el (file-coding-system-alist):
17142         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
17143         * tooltip.el (tooltip-frame-parameters):
17144         * newcomment.el (comment-end, comment-padding):
17145         * dired.el (dired-trivial-filenames):
17146         * comint.el (comint-file-name-prefix): Purecopy initial values.
17148 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
17150         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
17151         (tramp-advice-minibuffer-electric-tilde): Unload advices via
17152         `tramp-unload'.
17153         (tramp-advice-make-auto-save-file-name)
17154         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
17155         after removing the advice.
17157 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
17159         * progmodes/grep.el (grep-regexp-alist):
17160         * international/mule-cmds.el (iso-2022-control-alist):
17161         * emacs-lisp/timer.el (timer-duration-words):
17162         * subr.el (version-separator, version-regexp-alist):
17163         * minibuffer.el (completion-styles-alist):
17164         * faces.el (face-attribute-name-alist, list-faces-sample-text):
17165         Change defvars to defconsts.
17167         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
17168         * loadup.el ("international/mule-conf"): Load the byte compiled version.
17169         * international/mule-conf.el: Allow to be byte compiled.
17171         * international/mule.el (define-charset): Purecopy props.
17172         (load-with-code-conversion): Purecopy doc string and file name.
17173         (put-charset-property): Purecopy strings.
17174         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
17176         * international/mule-cmds.el (register-input-method): Purecopy arguments.
17177         (define-char-code-property): Correctly purecopy the table.
17179         * international/ccl.el (define-ccl-program): Purecopy the docstring.
17181         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
17183         * subr.el (add-hook): Purecopy strings.
17184         (eval-after-load): Purecopy load-history-regexp and the form.
17186         * custom.el (custom-declare-group): Purecopy load-file-name.
17188         * subr.el (menu-bar-separator): New defconst.
17189         * net/eudc.el (eudc-tools-menu):
17190         * international/mule-cmds.el (set-coding-system-map)
17191         (mule-menu-keymap):
17192         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17193         * vc-hooks.el (vc-menu-map):
17194         * replace.el (occur-mode-map):
17195         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
17196         (menu-bar-edit-menu, menu-bar-goto-menu)
17197         (menu-bar-custom-menu, menu-bar-showhide-menu)
17198         (menu-bar-options-menu, menu-bar-tools-menu)
17199         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
17200         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
17201         (menu-bar-help-menu):
17202         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
17203         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
17205         * term/x-win.el (x-gtk-stock-map):
17206         * progmodes/vera-mode.el (auto-mode-alist):
17207         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
17208         (inferior-lisp-program, inferior-lisp-load-command):
17209         * progmodes/hideshow.el (hs-special-modes-alist):
17210         * progmodes/gud.el (same-window-regexps):
17211         * progmodes/grep.el (grep-program, find-program, xargs-program):
17212         * net/telnet.el (same-window-regexps):
17213         * net/rlogin.el (same-window-regexps):
17214         * language/ethiopic.el (font-ccl-encoder-alist):
17215         * vc-sccs.el (vc-sccs-master-templates):
17216         * vc-rcs.el (vc-rcs-master-templates):
17217         * subr.el (cl-assertion-failed):
17218         * simple.el (next-error-overlay-arrow-position):
17219         * lpr.el (lpr-command):
17220         * locate.el (locate-ls-subdir-switches):
17221         * info.el (same-window-regexps, info)
17222         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
17223         * image-mode.el (image-mode, auto-mode-alist):
17224         * hippie-exp.el (hippie-expand-ignore-buffers):
17225         * format.el (format-alist):
17226         * find-dired.el (find-ls-subdir-switches, find-grep-options)
17227         (find-name-arg):
17228         * facemenu.el (facemenu-keybindings):
17229         * dired.el (dired-listing-switches, dired-chown-program):
17230         * diff.el (diff-switches, diff-command):
17231         * cus-edit.el (same-window-regexps):
17232         * bindings.el (mode-line-mule-info)
17233         (mode-line-buffer-identification): Purecopy strings.
17235 2009-11-11  Juri Linkov  <juri@jurta.org>
17237         * simple.el (dired-get-filename) <declare-function>:
17238         Tell the byte-compiler about dired-get-filename.
17239         (shell-command): In Dired mode, get filename from the current line
17240         as the default value.
17242 2009-11-10  Glenn Morris  <rgm@gnu.org>
17244         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
17245         * calendar/holidays.el, progmodes/cperl-mode.el:
17246         Update x-popup-menu declarations.
17248         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
17249         (list-load-path-shadows): Use dolist.
17250         (list-load-path-shadows): Use with-current-buffer.
17252 2009-11-10  Juri Linkov  <juri@jurta.org>
17254         * minibuffer.el (read-file-name): Support a list of default values
17255         in `default-filename'.  Use the first file name where only one
17256         element is required.  Doc fix.
17258 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
17260         * net/dbus.el (dbus-unregister-object): Release service, if no
17261         other method is registered for it.
17263 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
17265         * bookmark.el (bookmark-completing-read): Sort bookmark names if
17266         bookmark-sort-flag is non-nil (Bug#4653).
17268 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
17270         * emulation/cua-base.el: Add CUA property to some CC mode commands
17271         (Bug#4100).
17273 2009-11-08  Kevin Ryde  <user42@zip.com.au>
17275         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
17276         at end of sentence (Bug#4818).
17278 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
17280         * progmodes/compile.el (compilation-error-regexp-alist-alist):
17281         Handle "see declaration of" MSFT statements (Bug#4100).
17283 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
17285         * net/tramp.el (tramp-advice-make-auto-save-file-name)
17286         (tramp-advice-file-expand-wildcards): Unload via
17287         `ad-remove-advice'.
17289         * net/trampver.el: Update release number.
17291 2009-11-08  Kevin Ryde  <user42@zip.com.au>
17293         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
17294         `ad-do-it'.
17296 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
17298         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
17299         in order to keep context in SELinux.
17301 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
17303         * dired-aux.el (dired-query): Place cursor in echo area and allow
17304         C-g.
17306         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
17307         menu item if not on a directory (Bug#4701).
17309 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
17311         Sync with Tramp 2.1.17.
17313         * net/tramp.el (tramp-handle-copy-directory): Don't use
17314         `file-remote-p' (due to compatibility).
17316         * net/tramp-compat.el (tramp-compat-copy-directory)
17317         (tramp-compat-delete-directory): New defuns.
17319         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
17320         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
17321         Use `tramp-compat-delete-directory'.
17323         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
17324         (tramp-smb-handle-delete-directory):
17325         Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
17327         * net/trampver.el: Update release number.
17329 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
17331         * tar-mode.el (tar-copy): Call write-region on the right buffer
17332         (Bug#4857).
17334         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
17335         by hand, if necessary (Bug#4878).
17337 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
17339         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
17340         align size column (Bug#4839).
17342         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
17343         statement.
17345 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
17347         * progmodes/ld-script.el (auto-mode-alist):
17348         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
17350         * cus-face.el (custom-declare-face): Purecopy face spec.
17352 2009-11-06  Kenichi Handa  <handa@m17n.org>
17354         * international/uni-bidi.el: Re-generated.
17355         * international/uni-category.el: Re-generated.
17356         * international/uni-combining.el: Re-generated.
17357         * international/uni-mirrored.el: Re-generated.
17359 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
17361         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
17362         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
17363         (tex-start-options, slitex-run-command, latex-run-command)
17364         (tex-run-command, tex-directory):
17365         * textmodes/ispell.el (ispell-html-skip-alists)
17366         (ispell-tex-skip-alists, ispell-tex-skip-alists):
17367         * textmodes/fill.el (adaptive-fill-first-line-regexp):
17368         (adaptive-fill-regexp):
17369         * textmodes/dns-mode.el (auto-mode-alist):
17370         * progmodes/python.el (interpreter-mode-alist):
17371         * progmodes/etags.el (tags-compression-info-list):
17372         * progmodes/etags.el (tags-file-name):
17373         * net/browse-url.el (browse-url-galeon-program)
17374         (browse-url-firefox-program):
17375         * mail/sendmail.el (mail-signature-file)
17376         (mail-citation-prefix-regexp):
17377         * international/mule-conf.el (eight-bit):
17378         * international/latexenc.el (latex-inputenc-coding-alist):
17379         * international/fontset.el (x-pixel-size-width-font-regexp):
17380         * emacs-lisp/warnings.el (warning-type-format):
17381         * emacs-lisp/trace.el (trace-buffer):
17382         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
17383         (emacs-lisp-mode-map):
17384         * calendar/holidays.el (holiday-solar-holidays)
17385         (holiday-bahai-holidays, holiday-islamic-holidays)
17386         (holiday-christian-holidays, holiday-hebrew-holidays)
17387         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
17388         (hebrew-holidays-1, holiday-oriental-holidays)
17389         (holiday-general-holidays):
17390         * x-dnd.el (x-dnd-known-types):
17391         * tool-bar.el (tool-bar):
17392         * startup.el (site-run-file):
17393         * shell.el (shell-dumb-shell-regexp):
17394         * rfn-eshadow.el (file-name-shadow-tty-properties)
17395         (file-name-shadow-properties):
17396         * paths.el (remote-shell-program, news-directory):
17397         * mouse.el ([C-down-mouse-3]):
17398         * menu-bar.el (menu-bar-tools-menu):
17399         * jka-cmpr-hook.el (jka-compr-load-suffixes)
17400         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
17401         (jka-compr-compression-info-list):
17402         * isearch.el (search-whitespace-regexp):
17403         * image-file.el (image-file-name-extensions):
17404         * find-dired.el (find-ls-option):
17405         * files.el (directory-listing-before-filename-regexp)
17406         (directory-free-space-args, insert-directory-program)
17407         (list-directory-brief-switches, magic-fallback-mode-alist)
17408         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
17409         (automount-dir-prefix):
17410         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
17411         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
17412         (face-font-registry-alternatives, face-font-registry-alternatives)
17413         (face-font-family-alternatives):
17414         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
17415         (facemenu-foreground-menu, facemenu-face-menu):
17416         * epa-hook.el (epa-file-name-regexp):
17417         * dnd.el (dnd-protocol-alist):
17418         * textmodes/rst.el (auto-mode-alist):
17419         * button.el (default-button): Purecopy strings.
17421 2009-11-06  Glenn Morris  <rgm@gnu.org>
17423         * Makefile.in (ELCFILES): Update.
17425 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17427         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
17428         * emacs-lisp/levents.el: Move to obsolete/levents.el.
17430         * nxml/xsd-regexp.el (xsdre-gen-categories):
17431         * nxml/xmltok.el (xmltok-parse-entity):
17432         * nxml/rng-parse.el (rng-parse-validate-file):
17433         * nxml/rng-maint.el (rng-format-manual)
17434         (rng-manual-output-force-new-line):
17435         * nxml/rng-loc.el (rng-save-schema-location-1):
17436         * nxml/rng-cmpct.el (rng-c-parse-file):
17437         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
17438         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
17440 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
17442         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
17443         Remove extra save-excursions and make-variable-buffer-local's.
17444         Suggested by Stefan Monnier.
17446         (verilog-getopt-file, verilog-module-inside-filename-p)
17447         (verilog-set-define): Merge GNU 1.35 and repair changes from
17448         switching to using with-current-buffer.
17450         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
17451         being treated as a number and confusing AUTORESET.
17452         Reported by Dan Dever.
17454         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
17455         Add verilog-auto-ignore-concat to fix backward compatibility with
17456         older verilog-modes.  Reported by Dan Katz.
17458         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
17459         containing closing anchors "...$".
17461         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
17462         Reported by Wade Smith.
17464         (verilog-batch-execute-func): Comment on function usage.
17466 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
17468         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
17469         for labels.
17471         (verilog-label-re, verilog-calc-1): Support proper indent of named
17472         asserts.
17474         (verilog-backward-token, verilog-basic-complete-re)
17475         (verilog-beg-of-statement, verilog-indent-re): Support proper
17476         indent of the assert statement at the beginning of a block of text.
17478         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
17479         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
17480         tokens as begins.
17482 2009-11-05  Glenn Morris  <rgm@gnu.org>
17484         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
17485         Emacs 19.  (Bug#1531)
17486         (byte-compile-fix-header): Update for the above change.
17487         Drop test for epoch::version.
17489         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
17490         * cus-dep.el (custom-make-dependencies):
17491         * finder.el (finder-compile-keywords):
17492         Use autoload-rubric's feature argument.
17494         * calendar/diary-lib.el (top-level): Make load behave more like require.
17496         * vc-git.el (vc-git-stash-map): Move definition before use.
17498 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
17500         * custom.el (custom-declare-group): Purecopy standard-value.
17501         (custom-declare-group): Purecopy custom-prefix.
17503         * international/mule.el (load-with-code-conversion):
17504         Call do-after-load-evaluation unconditionally.
17506         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
17508 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
17510         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
17512 2009-11-04  Glenn Morris  <rgm@gnu.org>
17514         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
17515         (byte-compile-compatibility): Remove option.
17516         (byte-compile-close-variables, byte-compile-fix-header)
17517         (byte-compile-insert-header, byte-compile-output-docform)
17518         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
17519         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
17520         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
17521         (byte-compile-insert, byte-compile-defun):
17522         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
17523         (byte-defop-compiler19): Remove.
17524         Without byte-compile-compatibility, the 'emacs19-opcode property is not
17525         used by anything.  Replace all calls with byte-defop-compiler.
17527 2009-11-04  Juri Linkov  <juri@jurta.org>
17529         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
17530         (menu-bar-options-menu): Don't quote the `prop' arg of
17531         `menu-bar-make-mm-toggle'.
17533 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
17535         * calendar/calendar.el (cal-loaddefs):
17536         * calendar/diary-lib.el (diary-loaddefs):
17537         * calendar/holidays.el (hol-loaddefs):
17538         * eshell/esh-module.el (esh-groups): Load rather than require.
17540 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
17542         * calendar/todo-mode.el (todo-add-category): Don't hardcode
17543         point-min==1.
17544         (todo-top-priorities): Only display-buffer when called interactively.
17545         (todo-item-start): Don't save excursion point.
17546         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
17547         (todo-insert-item-here, todo-file-item, todo-remove-item):
17548         Adjust uses of todo-item-start and todo-item-end.
17550         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
17551         (autoload-rubric): Don't use any more.
17553         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
17554         and only put a prop if it is non-nil.
17556 2009-11-03  Juri Linkov  <juri@jurta.org>
17558         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
17559         (menu-bar-options-menu): Fix list quoting (Bug#4429).
17561         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
17562         and "Menu" to make top-level menu item visually one unit (like
17563         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
17564         multi-word menu items).  Fix :help string for quit-window.
17566 2009-11-03  Glenn Morris  <rgm@gnu.org>
17568         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
17569         (byte-compile-file-form-define-abbrev-table)
17570         (byte-compile-file-form-custom-declare-variable)
17571         (byte-compile-variable-ref, byte-compile-defvar):
17572         Whether or not a warning is enabled should only affect whether we issue
17573         the warning, not whether or not we collect the relevant data.
17574         Eg warnings can be turned on and off throughout the course of a file.
17576         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
17577         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
17579 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
17581         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
17582         * play/mpuz.el (mpuz-create-buffer):
17583         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
17584         (lm-print-y,s,noise, lm-print-w0, lm-init):
17585         * play/gomoku.el (gomoku-prompt-for-move):
17586         * play/fortune.el (fortune-in-buffer):
17587         * play/dissociate.el (dissociated-press):
17588         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
17589         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
17590         * mail/supercite.el (sc-eref-show):
17591         * mail/smtpmail.el (smtpmail-send-it):
17592         * mail/rmailsum.el (rmail-summary-next-labeled-message)
17593         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
17594         (rmail-summary-undelete-many, rmail-summary-rmail-update)
17595         (rmail-summary-goto-msg, rmail-summary-expunge)
17596         (rmail-summary-get-new-mail, rmail-summary-search-backward)
17597         (rmail-summary-add-label, rmail-summary-output-menu)
17598         (rmail-summary-output-body):
17599         * mail/rfc822.el (rfc822-addresses):
17600         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
17601         * mail/mailpost.el (post-mail-send-it):
17602         * mail/hashcash.el (hashcash-generate-payment):
17603         * mail/feedmail.el (feedmail-run-the-queue)
17604         (feedmail-queue-send-edit-prompt-help-first)
17605         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
17606         (feedmail-deduce-address-list):
17607         * eshell/esh-ext.el (eshell-remote-command):
17608         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
17609         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
17610         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
17611         (viper-save-string-in-file, viper-valid-marker):
17612         * emulation/viper-keym.el (viper-toggle-key):
17613         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
17614         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
17615         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
17616         * emulation/viper-cmd.el (viper-exec-form-in-vi)
17617         (viper-exec-form-in-emacs, viper-brac-function):
17618         * emulation/viper.el (viper-delocalize-var):
17619         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
17620         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
17621         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
17622         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
17623         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
17624         * emulation/edt.el (edt-electric-helpify):
17625         * emulation/cua-rect.el (cua--rectangle-aux-replace):
17626         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
17627         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
17628         (cua-indent-to-global-mark-column):
17629         * calendar/diary-lib.el (calendar-mark-1):
17630         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
17631         Use with-current-buffer.
17632         * emulation/viper.el (viper-delocalize-var): Use dolist.
17634 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
17636         * comint.el (comint-replace-by-expanded-history-before-point):
17637         Replace !! with the previous input string literally (Bug#1795).
17639 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
17641         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
17642         to be made up of whitespace.
17644 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
17646         * minibuffer.el (read-file-name): Don't use file dialogs for
17647         remote directories (Bug#99).
17649 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
17651         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
17653 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17655         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
17656         instead of deleting the window or frame.
17658 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
17660         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
17661         Support face colors.
17663         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
17664         New function.  Support face colors (Bug#1168).
17665         (tex-common-initialization): Use it.
17667         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
17668         mode allows it (Bug#1168).
17670 2009-10-31  Juri Linkov  <juri@jurta.org>
17672         * facemenu.el (list-colors-display): Don't mark buffer as
17673         modified (Bug#3948).
17675 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
17677         * international/mule-diag.el (list-character-sets-1):
17678         Minor message fix (Bug#3526).
17680         * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
17681         Fix face property (Bug#4834).
17682         (etags-list-tags, etags-tags-apropos-additional)
17683         (etags-tags-apropos, tags-select-tags-table): Add follow-link
17684         property.
17686         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
17687         items.
17689 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
17691         * textmodes/two-column.el (2C-split):
17692         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
17693         * textmodes/tex-mode.el (tex-set-buffer-directory):
17694         * textmodes/spell.el (spell-region, spell-string):
17695         * textmodes/reftex.el (reftex-erase-buffer):
17696         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
17697         * textmodes/reftex-toc.el (reftex-toc-promote-action):
17698         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
17699         (reftex-select-item):
17700         * textmodes/reftex-ref.el (reftex-label-info-update)
17701         (reftex-offer-label-menu):
17702         * textmodes/reftex-index.el (reftex-index-change-entry)
17703         (reftex-index-phrases-info):
17704         * textmodes/reftex-global.el (reftex-create-tags-file)
17705         (reftex-save-all-document-buffers, reftex-ensure-write-access):
17706         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
17707         (reftex-view-crossref-from-bibtex):
17708         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
17709         (reftex-extract-bib-entries-from-thebibliography)
17710         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
17711         * textmodes/refbib.el (r2b-capitalize-title):
17712         (r2b-convert-buffer, r2b-help):
17713         * textmodes/page-ext.el (pages-directory)
17714         (pages-directory-goto-with-mouse):
17715         * textmodes/bibtex.el (bibtex-validate-globally):
17716         * textmodes/bib-mode.el (bib-capitalize-title):
17717         * textmodes/artist.el (artist-clear-buffer, artist-system):
17718         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
17719         (local-set-scheme-interaction-buffer, xscheme-process-filter)
17720         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
17721         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
17722         (xscheme-send-control-g-interrupt, xscheme-start-process)
17723         (xscheme-process-sentinel, xscheme-cd):
17724         * progmodes/verilog-mode.el (verilog-read-always-signals)
17725         (verilog-set-define, verilog-getopt-file)
17726         (verilog-module-inside-filename-p):
17727         * progmodes/sh-script.el:
17728         * progmodes/python.el (python-pdbtrack-get-source-buffer)
17729         (python-pdbtrack-grub-for-buffer, python-execute-file):
17730         * progmodes/octave-inf.el (inferior-octave):
17731         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
17732         (idlwave-shell-compile-helper-routines, idlwave-set-local)
17733         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
17734         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
17735         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
17736         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
17737         (idlwave-shell-filter, idlwave-shell-examine-highlight)
17738         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
17739         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
17740         (idlwave-shell-examine-display, idlwave-shell-run-region)
17741         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
17742         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
17743         * progmodes/idlw-help.el (idlwave-help-get-special-help)
17744         (idlwave-help-get-help-buffer):
17745         * progmodes/gud.el (gud-basic-call, gud-find-class)
17746         (gud-tooltip-activate-mouse-motions-if-enabled):
17747         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
17748         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
17749         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
17750         (ebrowse-tags-next-file):
17751         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
17752         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
17753         (ebnf-eps-finish-and-write):
17754         * progmodes/cpp.el (cpp-edit-save):
17755         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
17756         * progmodes/cc-defs.el (c-emacs-features):
17757         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
17758         (antlr-directory-dependencies):
17759         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
17760         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
17761         (ada-find-any-references, ada-make-filename-from-adaname)
17762         (ada-make-body-gnatstub):
17763         * obsolete/rnews.el (news-list-news-groups):
17764         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
17765         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
17766         * net/rcirc.el (rcirc-debug):
17767         * net/newst-treeview.el (newsticker--treeview-list-add-item)
17768         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
17769         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
17770         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
17771         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
17772         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
17773         (newsticker--treeview-list-clear-highlight)
17774         (newsticker--treeview-list-update-highlight)
17775         (newsticker--treeview-list-highlight-start)
17776         (newsticker--treeview-tree-update-highlight)
17777         (newsticker--treeview-get-selected-item)
17778         (newsticker-treeview-mark-list-items-old)
17779         (newsticker--treeview-set-current-node):
17780         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
17781         * net/newst-backend.el (newsticker--get-news-by-funcall)
17782         (newsticker--get-news-by-wget, newsticker--image-get)
17783         (newsticker--image-sentinel):
17784         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
17785         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
17786         (eudc-ph-close-session):
17787         * net/eudc.el (eudc-save-options):
17788         * language/thai-word.el (thai-update-word-table):
17789         * language/japan-util.el (japanese-string-conversion):
17790         * international/titdic-cnv.el (tsang-quick-converter)
17791         (ziranma-converter, ctlau-converter):
17792         * international/mule-cmds.el (describe-language-environment):
17793         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
17794         (skkdic-convert-postfix, skkdic-convert-prefix):
17795         (skkdic-convert-okuri-nasi, skkdic-convert):
17796         * emacs-lisp/re-builder.el (reb-update-overlays):
17797         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
17798         * emacs-lisp/gulp.el (gulp-send-requests):
17799         * emacs-lisp/find-gc.el (trace-call-tree):
17800         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
17801         (eieio-describe-generic):
17802         * emacs-lisp/eieio-base.el (eieio-persistent-read):
17803         * emacs-lisp/edebug.el (edebug-outside-excursion):
17804         * emacs-lisp/debug.el (debugger-make-xrefs):
17805         * emacs-lisp/cust-print.el (custom-prin1-to-string):
17806         * emacs-lisp/chart.el (chart-new-buffer):
17807         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
17808         Use with-current-buffer.
17809         * textmodes/artist.el (artist-system): Don't call
17810         copy-sequence on a fresh string.
17811         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
17813 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
17815         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
17816         is no item to edit.  (Bug#4820)
17817         (todo-top-priorities): Restore point and restore narrowing in Todo
17818         buffer.  (Bug#4820)
17820 2009-10-31  Glenn Morris  <rgm@gnu.org>
17822         * net/ange-ftp.el (top-level): Don't require dired when compiling.
17823         (comint-last-output-start, comint-last-input-start)
17824         (comint-last-input-end): Don't defvar when compiling.
17825         (ange-ftp-process-file): Use bound-and-true-p.
17827         * pcmpl-rpm.el (top-level): Move provide statement to end.
17828         (pcmpl-rpm): Remove unused custom group.
17830         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
17832         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
17834         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
17835         (byte-compile-warnings): Add `constants' as an option.
17836         (byte-compile-callargs-warn, byte-compile-arglist-warn)
17837         (display-call-tree): Update for byte-compile-fdefinition possibly
17838         returning `(macro lambda ...)'.  (Bug#4778)
17839         (byte-compile-variable-ref, byte-compile-setq-default):
17840         Respect `constants' member of byte-compile-warnings.
17842 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
17844         * vc-bzr.el (vc-bzr-revision-keywords): New var.
17845         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
17846         to "submit:".
17848 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
17850         * textmodes/ispell.el (ispell-skip-region-alist):
17851         * international/mule-conf.el (eight-bit):
17852         * international/fontset.el (font-encoding-alist):
17853         * startup.el (pure-space-overflow-message):
17854         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
17855         * paths.el (gnus-nntp-service, rmail-spool-directory)
17856         (term-file-prefix):
17857         * files.el (save-some-buffers-action-alist):
17858         * cmuscheme.el (same-window-buffer-names):
17859         * ielm.el (same-window-buffer-names):
17860         * shell.el (same-window-buffer-names):
17861         * mail/sendmail.el (same-window-buffer-names):
17862         * progmodes/inf-lisp.el (same-window-buffer-names):
17863         * bindings.el (mode-line-client)
17864         (mode-line-column-line-number-mode-map):
17865         * language/tibetan.el (tibetan-precomposition-rule-regexp)
17866         (tibetan-precomposed-regexp): Purecopy string arguments.
17868 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17870         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
17871         (calcDigit-nondigit):
17872         * calc/calc-yank.el (calc-copy-to-buffer):
17873         * calc/calc-units.el (calc-invalidate-units-table):
17874         * calc/calc-trail.el (calc-trail-yank):
17875         * calc/calc-store.el (calc-insert-variables):
17876         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
17877         * calc/calc-prog.el (calc-read-parse-table):
17878         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
17879         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
17880         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
17881         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
17882         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
17883         (calc-graph-name, calc-graph-find-command, calc-graph-view)
17884         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
17885         * calc/calc-ext.el (calc-realign):
17886         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
17887         (calc-embedded-finish-edit, calc-embedded-make-info)
17888         (calc-embedded-finish-command, calc-embedded-stack-change):
17889         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
17891         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
17892         shell-dynamic-complete-filename in preference to
17893         comint-dynamic-complete-filename.
17895         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
17896         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
17897         Don't consider whether the display supports colors.
17898         (bookmark-import-new-list): Use dolist.
17899         (bookmark-bmenu-mode-map): Move initialization into declaration.
17900         (bookmark-bmenu-list): Use dolist, simplify.
17901         (bookmark-show-all-annotations): Use save-selected-window and dolist.
17902         (menu-bar-final-items): Use push.
17904 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
17906         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
17907         it works on remote files.
17908         (vc-hg-diff): Don't pass any `--cwd' argument.
17910 2009-10-27  Kevin Ryde  <user42@zip.com.au>
17912         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17913         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
17914         (Further to Bug#3921).
17916 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
17918         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
17919         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
17920         calling `tramp-imap-put-file'.  Add file size to the call.
17921         (tramp-imap-get-file-entries): Compute also user name, file size,
17922         and date.
17923         (tramp-imap-handle-insert-directory): Insert uid and gid.
17924         (tramp-imap-handle-file-attributes): Transform uid and gid
17925         according to `id-format'.
17926         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
17927         size in header X-Size.
17929 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
17931         * simple.el (transpose-subr): Give clearer error when the mark
17932         is not set.  (Bug#4807)
17934 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
17936         * net/tramp.el (tramp-perl-file-truename): New defconst.
17937         Perl code contributed by yary <not.com@gmail.com> (tiny change).
17938         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
17939         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
17940         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
17942         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
17943         Ignore `dired-call-process'.
17944         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
17946 2009-10-26  Julian Scheid  <julians37@gmail.com>
17948         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
17949         (tramp-get-remote-readlink): New defun.
17950         (tramp-handle-file-truename): Use it.
17951         (tramp-handle-file-exists-p): Check file-attributes cache, assume
17952         file exists if cache value present.
17953         (tramp-check-cached-permissions): New defun.
17954         (tramp-handle-file-readable-p): Use it.
17955         (tramp-handle-file-writable-p): Likewise.
17956         (tramp-handle-file-executable-p): Likewise.
17957         (tramp-handle-file-name-all-completions): Try using Perl to get
17958         partial completions.  When perl not available, combine `cd' and
17959         `ls' into single remote operation and use shell expansion to get
17960         partial remote directory contents.  Set `file-exists-p' cache for
17961         directory and any files returned by ls.  Change cache handling to
17962         support partial directory contents.  Use error message emitted by
17963         remote `cd' or Perl code for local tramp-error.
17964         (tramp-do-copy-or-rename-file-directly): Avoid separate
17965         tramp-send-command-and-check call.
17966         (tramp-handle-process-file): Merge three remote ops into one.
17967         Do not flush all caches when `process-file-side-effects' is set.
17968         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
17969         file-attributes shows uid/gid to be set already.
17971 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
17973         * textmodes/tex-mode.el (tex-dvi-view-command)
17974         (tex-show-queue-command, tex-open-quote):
17975         * progmodes/ruby-mode.el (auto-mode-alist)
17976         (interpreter-mode-alist): Purecopy strings.
17978         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
17980         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
17981         string for the hook, keymap and abbrev table.
17983         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
17985         * x-dnd.el (x-dnd-xdnd-to-action):
17986         * startup.el (fancy-startup-text, fancy-about-text): Change to
17987         defconst from defvar.
17989         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
17991         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
17992         Purecopy initialization strings.
17994         * mail/sendmail.el (mail-header-separator)
17995         (mail-personal-alias-file):
17996         * mail/rmail.el (rmail-default-dont-reply-to-names)
17997         (rmail-ignored-headers, rmail-retry-ignored-headers)
17998         (rmail-highlighted-headers, rmail-secondary-file-directory)
17999         (rmail-secondary-file-regexp):
18000         * files.el (null-device, file-name-invalid-regexp)
18001         (locate-dominating-stop-dir-regexp)
18002         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
18003         (interpreter-mode-alist): Use mapcar instead of mapc.
18005         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
18007         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
18008         (completion-ignored-extensions):
18009         (debug-ignored-errors): Purecopy strings.
18011 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
18013         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
18014         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
18015         (pcomplete--here): Use push.
18017         * subr.el (all-completions): Declare the 4th arg obsolete.
18019 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
18021         * pcomplete.el (pcomplete-unquote-argument-function): New var.
18022         (pcomplete-unquote-argument): New function.
18023         (pcomplete--common-suffix): Always pay attention to case.
18024         (pcomplete--table-subvert): Quote and unquote the text.
18025         (pcomplete--common-quoted-suffix): New function.
18026         (pcomplete-std-complete): Use it and pcomplete-begin.
18028         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
18029         we're inside a dedicated or minibuffer window.
18031 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
18033         * bookmark.el: Update documentation, especially documentation
18034         of `bookmark-alist' and of the bookmark file format.
18035         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
18037 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
18039         * mail/emacsbug.el (report-emacs-bug): Clarify that the
18040         keybindings apply to the mail buffer (Bug#4003).  Shrink help
18041         window to buffer.
18043         * whitespace.el (whitespace-mode, whitespace-newline-mode)
18044         (global-whitespace-mode, global-whitespace-newline-mode)
18045         (whitespace-toggle-options, global-whitespace-toggle-options):
18046         Doc fix (Bug#3660).
18048         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
18049         of xmltok-start before the end tag was inserted (Bug#2840).
18051         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
18052         patterns that are preceded by an open-paren (Bug#1320).
18054 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
18056         * files.el (delete-directory): Delete symlinks to directories with
18057         delete-file (Bug#4739).
18059 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
18061         * vc.el (vc-backend-for-registration): Rename from
18062         vc-get-backend-for-registration.  Update callers.
18064         * international/mule-cmds.el (set-language-info-alist):
18065         Purecopy lang-env.
18066         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
18067         (charset): Purecopy the name.
18068         (define-char-code-property): Purecopy string arguments.
18070         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
18071         Purecopy string arguments.
18073         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
18074         * ediff-hook.el (menu-bar-ediff-menu):
18075         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
18076         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
18078 2009-10-24  Glenn Morris  <rgm@gnu.org>
18080         * comint.el (comint-dynamic-list-completions):
18081         * term.el (term-dynamic-list-completions): Use choose-completion rather
18082         than obsolete alias mouse-choose-completion.
18084         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
18085         file-cache-choose-completion.
18086         (file-cache-choose-completion): Handle an optional event argument.
18087         (file-cache-mouse-choose-completion): Make it an obsolete alias.
18089         * progmodes/octave-mod.el (octave-complete-symbol):
18090         Use choose-completion if mouse-choose-completion is ever removed.
18092         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
18093         use.
18095         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
18096         compiler.
18098         * vc-hooks.el (vc-responsible-backend): Fix declaration.
18100 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
18102         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
18103         Ignore `pred' now that we receive one.
18104         Handle test-completion specially.
18106 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
18108         * vc.el (vc-responsible-backend): Throw an error if not backend is
18109         found.  Remove the REGISTER argument.  Move the code dealing with
18110         REGISTER ...
18111         (vc-get-backend-for-registration): ... here.  New function.
18112         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
18113         of vc-responsible-backend, pass the file name instead of the
18114         directory name.
18116 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
18118         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
18119         New funs.
18120         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
18121         (pcomplete-comint-setup): Don't modify a global var via
18122         accidental side-effects.
18123         (pcomplete-shell-setup): Adjust call accordingly.
18124         (pcomplete-parse-comint-arguments): Use push.
18126 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
18128         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
18129         Allow uncapitalized info node names (Bug#3921).
18131         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
18132         to the DEBUG file (Bug#3781).
18134 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
18136         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
18137         dictionary entry (Bug#4579).
18139 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
18141         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
18142         from `rfn-eshadow-update-overlay-hook' when unloading.
18143         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
18144         "rsyncc".  Adjust doc string.
18145         (tramp-temp-buffer-file-name): New buffer-local defvar.
18146         (tramp-handle-insert-file-contents, tramp-handle-write-region):
18147         Keep temporary file when indicated by method ("rsync" and
18148         "rsyncc").
18149         (tramp-handle-write-region): Handle APPEND.
18150         (tramp-delete-temp-file-function): New defun.  Added to
18151         `kill-buffer-hook'.
18153 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
18155         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
18157 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
18159         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
18160         (color-name-rgb-alist, tty-standard-colors)
18161         (tty-color-mode-alist): Change to defconst.
18163         * simple.el (mark-inactive): Purecopy message.
18165         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
18166         (global-map, yank-menu):
18167         * textmodes/ispell.el (ispell-menu-map):
18168         * net/eudc.el (eudc-tools-menu):
18169         * international/mule-cmds.el (describe-language-environment-map)
18170         (setup-language-environment-map, set-coding-system-map)
18171         (mule-menu-keymap):
18172         * vc-hooks.el (vc-menu-entry, vc-menu-map):
18173         * replace.el (occur-mode-map):
18174         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
18176 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
18178         * calc/calc.el (math-read-number, math-read-number-simple):
18179         Use `save-match-data'.
18181 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
18183         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
18184         rather than fiddling with global-map bindings, since it should only
18185         affect per-terminal settings.
18186         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
18188         * minibuffer.el (completion-table-with-terminator): Allow to specify
18189         the terminator-regexp.
18191         * simple.el (switch-to-completions): Look for *Completions* in other
18192         frames as well.
18194         * pcomplete.el: Allow the use of completion-tables.
18195         (pcomplete-std-complete): New command.
18196         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
18197         (pcomplete--here): Use a function for `form' rather than an expression,
18198         so it can be byte-compiled.
18199         (pcomplete-here, pcomplete-here*): Adjust accordingly.
18200         Add edebug declaration.
18201         (pcomplete-show-completions): Remove unused var `curbuf'.
18202         (pcomplete-do-complete, pcomplete-stub):
18203         Don't assume `completions' is a list of strings any more.
18205 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
18207         * find-dired.el (find-name-arg): Fix typo in docstring.
18209 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
18211         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
18212         (pcmpl-linux-fs-types): Same, and update to new modules layout.
18214         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
18215         pcomplete-entries.
18217         * comint.el (comint-read-input-ring, comint-write-input-ring)
18218         (comint-substitute-in-file-name)
18219         (comint-dynamic-complete-as-filename)
18220         (comint-dynamic-simple-complete)
18221         (comint-dynamic-list-filename-completions)
18222         (comint-dynamic-list-completions)
18223         (comint-redirect-results-list-from-process): Minor simplifications.
18225 2009-10-21  Kevin Ryde  <user42@zip.com.au>
18227         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
18228         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
18229         the first form.  And insert a blank line after ";;; Code" since
18230         that's usual style.  (Bug#4612)
18232         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
18234 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
18236         * minibuffer.el (completion-table-with-terminator): Properly implement
18237         boundaries, in case `terminator' appears in the suffix.
18238         (completion--embedded-envvar-table): Don't return boundaries if
18239         there's no valid completion.  Simplify.
18240         (completion-file-name-table): New completion table extracted from
18241         completion--file-name-table.
18242         (completion--file-name-table): Use it.
18243         (read-file-name-predicate): Declare obsolete.
18244         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
18245         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
18246         completion-file-name-table, and use the `pred' argument.
18247         * files.el (locate-file-completion-table): Use the `pred' arg rather
18248         than read-file-name-predicate.
18249         (abbreviate-file-name): Use \` rather than ^ for BOS.
18251 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
18253         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
18254         vc-responsible-backend to register, it causes problems.
18256 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
18258         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
18260 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
18262         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
18263         (tramp-smb-handle-file-attributes): Use it.
18264         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
18265         (tramp-smb-handle-insert-directory): Use `mapc' rather than
18266         `mapcar'.  Use `tramp-smb-get-stat-capability'.
18267         Add `dired-filename' text properties.
18268         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
18269         (tramp-smb-maybe-open-connection): Simplify check for smbclient
18270         version.
18272 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
18274         * subr.el (read-key-delay): Reduce to 0.01.
18275         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
18276         (bug#4751).
18278 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
18280         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
18282         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
18283         (Info-menu): Remove unused vars `last' and `completions'.
18284         (Info-index-nodes): Remove unused var `node'.
18286         * info.el (Info-complete-menu-item): Use complete-with-action.
18288 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
18290         Make vc-annotate work through copies and renames.
18291         * vc-annotate.el (vc-annotate-extract-revision-at-line):
18292         Return the file name too.
18293         (vc-annotate-revision-at-line)
18294         (vc-annotate-find-revision-at-line)
18295         (vc-annotate-revision-previous-to-line)
18296         (vc-annotate-show-log-revision-at-line): Update to get the file
18297         name from vc-annotate-extract-revision-at-line.
18298         (vc-annotate-show-diff-revision-at-line-internal): Change the
18299         argument to mean whether to show a file diff or not.  Get the file
18300         name from vc-annotate-extract-revision-at-line.
18301         (vc-annotate-show-diff-revision-at-line):
18302         Update vc-annotate-show-diff-revision-at-line call.
18303         (vc-annotate-warp-revision): Add an optional file argument.
18305         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
18306         (vc-git-annotate-extract-revision-at-line): Also return the file
18307         name if found.
18309         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
18310         command.  Remove unused code.
18311         (vc-hg-annotate-re): Update to match --follow output.
18312         (vc-hg-annotate-extract-revision-at-line): Also return the file
18313         name if found.
18315         * vc.el: Update annotate-extract-revision-at-line documentation.
18317 2009-10-18  Kevin Ryde  <user42@zip.com.au>
18319         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
18320         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
18322         * net/browse-url.el (browse-url): Identify alist with "consp and
18323         not functionp" and let all other things go down the `apply' leg,
18324         as suggested by Stefan.  (Further to bug#4531.)
18326 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
18328         * minibuffer.el (read-file-name): Check for repeat before putting
18329         a default argument in file-name-history (Bug#4657).
18331         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
18332         read syntax (Bug#4737).
18334         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
18336 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
18338         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
18339         (html-tag-alist, html-tag-help): Add descriptions for undocumented
18340         entries and make note of obsolete tags.
18342 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
18344         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
18346 2009-10-18  Glenn Morris  <rgm@gnu.org>
18348         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
18349         grep, so that binary files (eg international/uni-bidi.el) can match.
18350         Remove test for "UnicodeData" files, since it is hopefully unnecessary
18351         now, and in any case the file header format has changed.
18353 2009-10-17  Glenn Morris  <rgm@gnu.org>
18355         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
18356         (flyspell-get-word, flyspell-large-region)
18357         (flyspell-auto-correct-previous-word): Doc/error message fixes.
18359 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
18361         * Makefile.in (ELCFILES): Add ede/shell.
18363 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
18365         * term/common-win.el (x-colors): Purecopy it.
18367 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
18369         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
18370         permissive for when the buffer is empty.
18371         (tar-header-block-tokenize): Decode the username and groupname.
18372         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
18374 2009-10-17  Eric Ludlam  <zappo@gnu.org>
18376         * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
18377         contains multibyte characters, choose first applicable coding
18378         system automatically.
18380 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
18382         * international/mule-cmds.el (select-safe-coding-system): If the file
18383         has a coding cookie, use it regardless of any other setting (bug#4712).
18385 2009-10-17  Glenn Morris  <rgm@gnu.org>
18387         * foldout.el (foldout-mouse-swallow-events):
18388         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
18390         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
18391         (dired-keep-marker-copy, dired-keep-marker-hardlink)
18392         (dired-keep-marker-symlink, dired-dwim-target)
18393         (dired-copy-preserve-time): Do not autoload these defcustoms.
18395         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
18396         messages from messing up the file coding.  (Bug#4623)
18398 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
18400         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
18401         if no match is found for the current dictionary.  (Bug#4578)
18403         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
18404         optional, since that is how it is documented, and this is often called
18405         with a nil argument.  (Bug#4577)
18406         (flyspell-external-point-words, flyspell-auto-correct-word)
18407         (flyspell-correct-word-before-point, flyspell-word-search-forward)
18408         (flyspell-word-search-backward): Remove nil argument in calls to
18409         flyspell-get-word, since it is not needed now.
18411 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
18413         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
18415 2009-10-16  Glenn Morris  <rgm@gnu.org>
18417         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
18419 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
18421         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
18422         (ange-ftp-file-size): New function.
18423         (ange-ftp-file-attributes): Use it.
18425 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
18427         * net/tramp-smb.el (tramp-smb-version): New defvar.
18428         (tramp-smb-maybe-open-connection): Use it, in order to avoid
18429         repeated checks.
18431 2009-10-16  Glenn Morris  <rgm@gnu.org>
18433         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
18434         Maybe copy some custom properties from old to new name.  (Bug#4706)
18436 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
18438         * subr.el (error, sit-for, start-process-shell-command)
18439         (start-file-process-shell-command): Set the calling convention
18440         after the function definition.
18442 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
18444         * subr.el (error, sit-for, start-process-shell-command)
18445         (start-file-process-shell-command): Use the new
18446         set-advertised-calling-convention feature.
18448 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
18450         * international/ucs-normalize.el (ucs-normalize-version):
18451         Change to 1.2.
18452         (check-range): Adjust for Unicode 5.2.
18454 2009-10-15  Juri Linkov  <juri@jurta.org>
18456         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
18457         to the `menu-item' format.
18459 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
18461         * net/tramp.el (tramp-replace-environment-variables): Do not fail
18462         if the environment variable does not exist.
18464         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18465         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
18466         parameter.
18467         (tramp-smb-handle-add-name-to-file)
18468         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18469         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18470         (tramp-smb-handle-file-attributes)
18471         (tramp-smb-do-file-attributes-with-stat)
18472         (tramp-smb-handle-file-local-copy)
18473         (tramp-smb-handle-insert-directory)
18474         (tramp-smb-handle-make-directory)
18475         (tramp-smb-handle-make-directory-internal)
18476         (tramp-smb-handle-make-symbolic-link)
18477         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
18478         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
18479         (tramp-smb-maybe-open-connection): Apply the changed parameters.
18480         (tramp-smb-read-file-entry): Read Disk names in compressed format.
18481         Handle long file names.
18482         (tramp-smb-get-cifs-capabilities): Check, whether the connection
18483         process is running.
18484         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
18485         Read share names with "-g" option.
18487 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
18489         * net/rcirc.el (rcirc-view-log-file): New command.
18490         (rcirc-track-minor-mode-map): Remove C-c ` binding.
18491         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
18492         specified.
18494 2009-10-15  Glenn Morris  <rgm@gnu.org>
18496         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
18497         from the second command-line argument.
18498         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
18499         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
18500         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
18501         w32-batch-update-autoloads.
18502         * emacs-lisp/autoload.el (autoload-make-program): New variable.
18503         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
18505         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
18506         the headers cannot be located.  Simplify, subtracting superflous
18507         save-excursions.
18509 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18511         Replace completion-base-size by completion-base-position to fix bugs
18512         such as (bug#4699).
18513         * simple.el (completion-base-position): New var.
18514         (completion-base-size): Mark as obsolete.
18515         (choose-completion): Make it work for mouse events as well.
18516         Pass the new base-position to choose-completion-string.
18517         (choose-completion-guess-base-position): New function, extracted from
18518         choose-completion-delete-max-match.
18519         (choose-completion-delete-max-match): Use it.  Make obsolete.
18520         (choose-completion-string): Use the new base-position info.
18521         (completion-root-regexp): Delete.
18522         (completion-setup-function): Preserve completion-base-position.
18523         Eliminate obsolete base-size manipulation.
18524         * minibuffer.el (display-completion-list): Don't mess with base-size.
18525         (minibuffer-completion-help): Set completion-base-position instead.
18526         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
18527         choose-completion.
18528         * textmodes/bibtex.el (bibtex-complete):
18529         * emacs-lisp/crm.el (crm--choose-completion-string):
18530         Adjust to new calling convention.
18531         * complete.el (partial-completion-mode): Use minibufferp to avoid
18532         bumping into incompatible change to choose-completion-string-functions.
18533         * ido.el (ido-choose-completion-string): Make its calling convention
18534         more permissive.
18535         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
18536         base-size manipulation.
18537         (comint-dynamic-list-input-ring): Use dotimes and push.
18538         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
18539         fundamental-mode.  Use `or'.
18541 2009-10-14  Juri Linkov  <juri@jurta.org>
18543         * misearch.el (multi-isearch-next-buffer-from-list)
18544         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
18546 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
18548         * Makefile.in (compile-onefile): Load `bytecomp' rather than
18549         `bytecomp.el'.
18551         * minibuffer.el (completion-pcm--merge-completions): Make sure the
18552         string we return is all made up of text from the completions rather
18553         than part from the completions and part from the input (bug#4219).
18555         * ido.el (ido-everywhere): Use define-minor-mode.
18557         * buff-menu.el (list-buffers, ctl-x-map):
18558         Mark the entry points with ;;;###autoload cookies.
18560 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
18562         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
18563         correctly in the detached head case.
18564         (vc-git-print-log): Remove unused binding.
18566         * vc.el (vc-responsible-backend): When a directory is passed for
18567         for registration create a VC repository if no backend is
18568         responsible for the directory argument.
18569         (vc-deduce-fileset): Tell vc-responsible-backend to register.
18571         * vc.el: Move comments about RCS and SCCS ...
18572         * vc-rcs.el:
18573         * vc-sccs.el: ... here, respectively.
18575 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
18577         * minibuffer.el (completion--file-name-table): Return nil if there's
18578         no file completion, even if substitute-in-file-name changed
18579         the string (bug#4708).
18581 2009-10-13  Juri Linkov  <juri@jurta.org>
18583         * files-x.el (read-file-local-variable-value): Don't filter out
18584         minor modes from mode name completion (bug#4664).
18586 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
18588         * international/mule-cmds.el (ucs-names): Remove exclusion of
18589         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
18591 2009-10-13  Kenichi Handa  <handa@m17n.org>
18593         * international/uni-name.el: Regenerated.
18595 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
18597         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
18598         should be automatically buffer-local, but isn't.)
18600 2009-10-12  Sam Steingold  <sds@gnu.org>
18602         * progmodes/compile.el (compilation-next-error-function): Fix the
18603         timestamps if the buffer has been visited before.
18604         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
18605         non-anchored patterns, like the perl one (bug#3928).
18607 2009-10-12  Glenn Morris  <rgm@gnu.org>
18609         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
18610         Let-bind `size'.
18612 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
18614         * proced.el (proced-unload-function): New function.
18616         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
18617         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
18618         Doc fix.
18620         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
18622 2009-10-11  Juri Linkov  <juri@jurta.org>
18624         * files-x.el (read-file-local-variable-value):
18625         Provide default value only for bound variables (bug#4664).
18627 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
18629         * net/tramp.el (tramp-local-host-p): Function shall return nil for
18630         connection methods like smb.
18632         * net/tramp-cache.el (tramp-flush-connection-property): The hash
18633         can be empty.
18635         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18636         (tramp-smb-file-name-handler-alist): Add handlers for
18637         `add-name-to-file', `make-symbolic-link'.
18638         (tramp-smb-handle-add-name-to-file)
18639         (tramp-smb-do-file-attributes-with-stat)
18640         (tramp-smb-handle-make-symbolic-link)
18641         (tramp-smb-get-cifs-capabilities): New defuns.
18642         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18643         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18644         (tramp-smb-handle-file-local-copy)
18645         (tramp-smb-handle-make-directory-internal)
18646         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
18647         The file name syntax depends on cifs capabilities.
18648         (tramp-smb-handle-file-attributes):
18649         Call `tramp-smb-do-file-attributes-with-stat' if possible.
18650         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
18651         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
18653 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
18655         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
18656         (eieio-defclass): Apply deftype handler and setf-method properties
18657         directly.
18658         (eieio-add-new-slot): Avoid union function from cl library.
18659         (eieio--typep): New function.
18660         (eieio-perform-slot-validation): Use it.
18662 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
18664         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
18665         Update documentation to refer to the variables documented in r1.135.
18666         (Bug#4188)
18668 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
18670         * bookmark.el (Info-suffix-list): Remove this unused variable.
18671         (bookmark-current-point): Remove this obsolete variable.
18672         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
18673         Adjust for removal of bookmark-current-point.
18675         (bookmarks-already-loaded, bookmark-current-buffer)
18676         (bookmark-yank-point): Document.  (Bug#4188)
18678 2009-10-10  Glenn Morris  <rgm@gnu.org>
18680         * frame.el (frame-height): Doc fix.
18682         * calendar/calendar.el (calendar-split-width-threshold): New option.
18683         (calendar-basic-setup): Use calendar-split-width-threshold.
18685 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
18687         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
18688         Ideographic Supplement" range (U+1F200..U+1F2FF).
18690 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
18692         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
18693         since the list will have been rebuilt anyway.  (Bug#4349)
18695 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
18697         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
18698         (bookmark-bmenu-execute-deletions): Don't save here, as
18699         bookmark-delete will now do so if necessary.
18700         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
18701         (Bug#4348)
18703 2009-10-09  Glenn Morris  <rgm@gnu.org>
18705         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
18707 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
18709         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
18710         (bookmark-jump-other-window): Just invoke bookmark-jump with new
18711         argument now, so the two function's behaviors will match.  (Bug#3645)
18713 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
18715         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
18716         (tramp-file-name-real-host, tramp-file-name-port):
18717         Apply `save-match-data'.
18719         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
18720         case both directories are remote.
18721         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
18722         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
18724 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
18726         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
18728 2009-10-07  Glenn Morris  <rgm@gnu.org>
18730         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
18731         of concat.
18733 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
18735         * files-x.el (read-file-local-variable): Include some
18736         non-user-variables in the completion table (bug#4664).
18738 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
18740         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
18741         message.
18743         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18744         (tramp-smb-file-name-handler-alist): Add handler for
18745         `copy-directory', `expand-file-name', `set-file-modes'.
18746         (tramp-smb-handle-copy-directory)
18747         (tramp-smb-handle-expand-file-name)
18748         (tramp-smb-handle-set-file-modes): New defuns.
18749         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
18750         (tramp-smb-handle-file-attributes): Simplify check for retrieving
18751         entry.
18752         (tramp-smb-handle-insert-directory): Don't flush the cache.
18753         (tramp-smb-maybe-open-connection): Check for samba client and
18754         server versions.
18756 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
18758         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
18759         to not error out of search for "^lisp=" fails.
18761 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
18763         * makefile.w32-in (WINS_UPDATES): New macro.
18764         (custom-deps, finder-data, autoloads): Use it.
18766 2009-10-07  Glenn Morris  <rgm@gnu.org>
18768         * Makefile.in (autoloads): Revert previous change.
18769         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
18770         the list of preloaded files passed on the command-line, get
18771         it from src/Makefile.
18773         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
18774         show the original buffer rather than a random one.
18776 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
18778         * help.el (describe-no-warranty): Place point in a slightly better
18779         position in the GPLv3 text.
18781 2009-10-06  Sam Steingold  <sds@gnu.org>
18783         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
18784         the comm attribute is present before calling regexp-quote.
18786 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
18788         * play/animate.el (animate-string): For good effect, make sure
18789         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
18791         * play/animate.el (animate-sequence, animate-birthday-present):
18792         * misc.el (butterfly): Don't set `indent-tabs-mode'.
18794 2009-10-06  Glenn Morris  <rgm@gnu.org>
18796         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
18798         * emacs-lisp/autoload.el (autoload-excludes): New variable.
18799         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
18800         (batch-update-autoloads): Process a string value of autoload-excludes,
18801         set during the build process.
18802         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
18804         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
18805         inside with-parsed...  macro so that `v' is defined.
18807         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
18808         * progmodes/fortran.el (fortran-end-of-block)
18809         (fortran-beginning-of-block):
18810         Also push mark in the macro case.
18812         * emerge.el (emerge-show-file-name):
18813         * calc/calc.el (calc-quit):
18814         * calc/calc-misc.el (calc-big-or-small):
18815         * calc/calc-graph.el (calc-graph-view):
18816         * calc/calc-ext.el (calc-reset):
18817         * calendar/calendar.el (calendar-basic-setup):
18818         Use window-full-height-p.
18820         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
18821         header we don't understand, don't insert another.  (Bug#4624)
18822         If changing mime charset, insert the new one in the right place.
18824 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
18826         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
18827         (cal-tex-cursor-month): Correctly increment the end date for diary and
18828         holiday listing.  (Bug#4626)
18830 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18832         * help-fns.el (describe-function-1): Don't burp if the function is not
18833         a symbol.
18835 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
18837         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
18838         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
18839         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
18840         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
18842         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
18843         (eieio-default-superclass): Reflow docstrings.
18844         (this, class-option-assoc, defclass, eieio-class-un-autoload)
18845         (eieio-unbind-method-implementations, defmethod)
18846         (eieio-validate-slot-value, eieio-validate-class-slot-value)
18847         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
18848         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
18849         (eieio-slot-originating-class-p, eieio-slot-name-index)
18850         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
18851         (constructor, initialize-instance, no-next-method, object-print)
18852         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
18853         Fix typos in docstrings.
18854         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
18855         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
18856         (next-method-p): Doc fixes.
18857         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
18858         Fix typos in error messages.
18859         (eieio-defmethod): Fix typo in description of generic method.
18861         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
18862         (eieio-persistent-save-interactive, slot-missing):
18863         Fix typos in docstrings.
18864         (eieio-instance-inheritor-slot-boundp): Doc fix.
18866         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
18867         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
18869         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
18870         (eieio-custom-object-apply-reset):
18871         Fix typos in docstrings and error messages.
18873         * emacs-lisp/eieio-datadebug.el (data-debug-show):
18874         Fix typo in docstring.
18876         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
18877         (eieio-browse-tree): Doc fix.
18878         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
18879         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
18880         Fix typos in docstrings.
18882         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
18883         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
18884         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
18885         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
18886         Reflow docstrings.
18888 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
18890         * vc-hg.el (log-view-vc-backend): Declare for compiler.
18891         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
18892         Set log-view-vc-backend so that diff can work.
18894         * log-view.el (log-view-diff): Use vc-diff-internal instead of
18895         vc-version-diff.
18896         (vc-diff-internal): Autoload this instead of vc-version-diff.
18898 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
18900         * simple.el (eval-expression): Doc fix.
18902         * progmodes/cwarn.el (cwarn-mode): Doc fix.
18904 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
18906         * files.el (directory-files-no-dot-files-regexp): New defconst.
18907         (delete-directory): Use it.
18908         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
18910         * net/tramp.el (tramp-verbose): Fix docstring.
18911         (tramp-methods): Add recursive option to `tramp-copy-args'.
18912         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
18913         "scp1_old", "scp2_old", "rsync", "rsyncc".
18914         (tramp-default-method): Check also for `auth-source-user-or-password'.
18915         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
18916         Add handler for `copy-directory'.
18917         (tramp-handle-copy-directory): New defun.
18918         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
18919         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
18920         Optimize sent command.
18922 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18924         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
18925         window if necessary.
18927         * calendar/calendar.el (calendar-basic-setup): Don't call
18928         switch-to-buffer in a dedicated window.
18930 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
18932         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
18933         don't do anything related to relocating, just return nil.
18934         (bookmark-error-no-filename): New error.
18935         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
18936         bookmark has no file.  Don't even attempt to handle things that
18937         are not files; the whole point of custom handlers is to keep that
18938         knowledge elsewhere anyway.  Tighten some comments.
18939         (bookmark-file-or-variation-thereof): Remove now-unused function.
18940         (bookmark-location): Doc string fix.
18941         (Bug#4250)
18943 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18945         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
18946         don't use a file dialog, because they usually don't know how to read
18947         a directory target from the user.  (Bug#4230)
18948         Also, make sure the prompt can display directories as well as files.
18950 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18952         * bookmark.el (bookmark-set, bookmark-buffer-name):
18953         Improve doc strings.  (Bug#1193)
18955 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18957         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
18958         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
18959         (bookmark-get-annotation, bookmark-set-annotation)
18960         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
18961         (bookmark-set-position, bookmark-get-front-context-string)
18962         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
18963         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
18964         (bookmark-jump-other-window, bookmark-handle-bookmark)
18965         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
18966         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
18967         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
18968         Improve doc strings to say whether bookmark can be a string or
18969         a record or both, and make other consistency and clarity fixes.
18970         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
18971         (bookmark-default-annotation-text, bookmark-yank-word)
18972         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
18973         (bookmark-import-new-list, bookmark-maybe-rename)
18974         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
18975         (bookmark-bmenu-bookmark): Give these doc strings.
18976         (bookmark-bmenu-check-position): Give this a doc string, but also
18977         add a FIXME comment about how the function may be pointless.
18978         (bookmark-default-handler): Rework doc string and change a
18979         parameter name, to clarify that this takes a bookmark record
18980         not a bookmark name.
18981         (bookmark-set): Change a parameter name to indicate its meaning,
18982         and improve the doc string a bit.
18983         (Bug#4188)
18985 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18987         * bookmark.el (bookmark-alist): Document the new `handler' element
18988         in the param alist.
18989         (bookmark-make-record-function): Adjust documentation for above.
18990         (Bug#4193)
18992 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18994         * info.el (Info-bookmark-make-record): Document this function.
18995         (Info-bookmark-jump): Document with a doc string, not just a comment.
18996         (Bug#4203)
18998 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
19000         * files.el (copy-directory): New defun.
19002         * dired-aux.el (dired-copy-file-recursive): Use it.
19004 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
19006         * files-x.el (modify-dir-local-variable)
19007         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
19008         docstrings.
19010         * recentf.el (recentf-unload-function): New function.
19012 2009-10-04  Glenn Morris  <rgm@gnu.org>
19014         * window.el (window-full-height-p): Add doc string.
19016 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
19018         * window.el (window-full-height-p): New function.  (Bug#4543)
19020 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
19022         * vc.el: Remove commented out code.
19023         (vc-derived-from-dir-mode): Remove, unused.
19024         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
19026 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
19028         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
19029         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
19030         there could be recursive loading when `default-directory' is a
19031         remote file name.  (Bug#4614)
19033 2009-10-03  Glenn Morris  <rgm@gnu.org>
19035         * calendar/calendar.el (calendar-basic-setup): Handle the case where
19036         the frame is wide.
19037         (calendar-generate-window): Test for shrinkability rather than width.
19039         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
19040         reusing existing buffers, in case we happen to visit two files with the
19041         same basename.  (Bug#4593)
19043 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
19045         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
19046         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
19047         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
19048         subdirs of cedet as well.
19049         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
19051 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
19053         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
19054         Obey advertised-signature-table.
19056         * help-fns.el (help-function-arglist): Don't check
19057         advertised-signature-table.
19058         (describe-function-1): Do it here instead so it also applies to subrs.
19060 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
19062         * simple.el (start-file-process): Say in the doc-string, that file
19063         handlers might not support pty association, if PROGRAM is nil.
19065         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
19066         HOST and USER are strings.  They are nil, when there are
19067         incomplete entries in ~/.netrc, for example.
19068         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
19069         root directory ("device busy" error otherwise).
19071         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
19072         Flush file properties of created directory.
19074 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
19076         * makefile.w32-in (WINS_BASIC): Remove cedet.
19077         (WINS_CEDET): Add cedet.
19078         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
19080 2009-10-02  Kevin Ryde  <user42@zip.com.au>
19082         * net/browse-url.el (browse-url): Pass any symbol in
19083         browse-url-browser-function to `apply', since if you've mistakenly put
19084         an unbound symbol then the error is clearer.  (Bug#4531)
19086 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
19088         * allout.el (allout-init, allout-back-to-current-heading)
19089         (allout-beginning-of-current-entry, allout-ascend-to-depth)
19090         (allout-ascend, allout-up-current-level, allout-end-of-level)
19091         (allout-previous-visible-heading, allout-forward-current-level)
19092         (allout-backward-current-level, allout-show-children):
19093         * apropos.el (apropos-describe-plist):
19094         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
19095         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
19096         * completion.el (add-completion, add-permanent-completion):
19097         * descr-text.el (describe-text-category, describe-char):
19098         * desktop.el (desktop-lazy-abort):
19099         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
19100         * dired.el (dired-build-subdir-alist):
19101         * ediff.el (ediff-version):
19102         * elide-head.el (elide-head, elide-head-show):
19103         * emerge.el (emerge-version):
19104         * env.el (getenv):
19105         * face-remap.el (variable-pitch-mode):
19106         * faces.el (describe-face):
19107         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
19108         (dired-at-point):
19109         * files.el (find-file-existing, auto-save-mode):
19110         * font-lock.el (font-lock-fontify-buffer):
19111         * help-fns.el (describe-function, describe-variable)
19112         (describe-syntax, describe-categories):
19113         * help.el (view-lossage, describe-bindings, describe-key)
19114         (describe-mode):
19115         * hexl.el (hexl-current-address):
19116         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
19117         * info.el (Info-goto-emacs-key-command-node):
19118         * log-edit.el (log-edit-insert-cvs-template)
19119         (log-edit-insert-cvs-rcstemplate):
19120         * menu-bar.el (menu-bar-mode):
19121         * mouse.el (mouse-appearance-menu):
19122         * newcomment.el (comment-indent-new-line):
19123         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
19124         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
19125         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
19126         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
19127         * recentf.el (recentf-mode):
19128         * savehist.el (savehist-mode, savehist-save):
19129         * shadowfile.el (shadow-copy-files):
19130         * simple.el (kill-ring-save, next-line, previous-line)
19131         (normal-erase-is-backspace-mode):
19132         * strokes.el (strokes-update-window-configuration)
19133         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
19134         (strokes-xpm-for-stroke):
19135         * time.el (emacs-uptime, emacs-init-time):
19136         * tutorial.el (tutorial--describe-nonstandard-key)
19137         (tutorial--detailed-help):
19138         * type-break.el (type-break-mode)
19139         (type-break-mode-line-message-mode, type-break-query-mode)
19140         (type-break-guesstimate-keystroke-threshold):
19141         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
19142         * version.el (emacs-version):
19143         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
19144         * winner.el (winner-mode):
19145         * calendar/timeclock.el (timeclock-in, timeclock-out)
19146         (timeclock-status-string, timeclock-change)
19147         (timeclock-workday-remaining-string)
19148         (timeclock-workday-elapsed-string)
19149         (timeclock-when-to-leave-string):
19150         * calendar/todo-mode.el (todo-add-category):
19151         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
19152         * emacs-lisp/autoload.el (update-file-autoloads):
19153         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
19154         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
19155         (checkdoc-message-text, checkdoc-defun):
19156         * emacs-lisp/debug.el (debugger-list-functions):
19157         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
19158         * emacs-lisp/eieio-opt.el (eieio-describe-class)
19159         (eieio-describe-generic):
19160         * emacs-lisp/lisp-mnt.el (lm-synopsis):
19161         * emacs-lisp/shadow.el (list-load-path-shadows):
19162         * emulation/cua-base.el (cua-mode):
19163         * emulation/edt.el (edt-set-scroll-margins):
19164         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
19165         (tpu-toggle-regexp, tpu-toggle-search-direction)
19166         (tpu-toggle-rectangle, tpu-toggle-control-keys):
19167         * emulation/tpu-extras.el (tpu-set-scroll-margins):
19168         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
19169         (viper-set-parsing-style-toggling-macro)
19170         (viper-set-emacs-state-searchstyle-macros):
19171         * emulation/viper.el (viper-set-hooks):
19172         * eshell/esh-mode.el (eshell-truncate-buffer):
19173         * international/mule-cmds.el (prefer-coding-system)
19174         (describe-input-method, describe-language-environment):
19175         * international/mule-diag.el (list-character-sets)
19176         (describe-character-set, describe-coding-system)
19177         (describe-fontset, list-fontsets, list-input-methods):
19178         * mail/sendmail.el (mail-signature):
19179         * net/ange-ftp.el (ange-ftp-copy-file):
19180         * net/browse-url.el (browse-url):
19181         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
19182         * net/quickurl.el (quickurl-add-url):
19183         * net/rcirc.el (names, topic):
19184         * net/xesam.el (xesam-mode):
19185         * play/5x5.el (5x5-new-game):
19186         * play/yow.el (apropos-zippy):
19187         * progmodes/ada-mode.el (ada-mode-version):
19188         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
19189         (f90-end-of-block)
19190         (f90-beginning-of-block):
19191         * progmodes/fortran.el (fortran-end-of-block)
19192         (fortran-beginning-of-block):
19193         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
19194         * progmodes/python.el (python-describe-symbol, python-shell):
19195         * term/ns-win.el (ns-print-buffer):
19196         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
19197         * textmodes/flyspell.el (flyspell-mode-on):
19198         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
19199         (pages-directory-for-addresses):
19200         * textmodes/table.el (table-recognize-cell)
19201         (table-query-dimension, table-generate-source)
19202         (table-insert-sequence, table--warn-incompatibility):
19203         * textmodes/tex-mode.el (tex-validate-buffer):
19204         * textmodes/texinfmt.el (texinfmt-version)
19205         (texinfo-format-buffer):
19206         Use `called-interactively-p' instead of `interactive-p'.
19208 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
19210         * image-mode.el (image-toggle-display):
19211         * emacs-lisp/elp.el (elp-instrument-function):
19212         * emacs-lisp/advice.el (ad-make-advised-definition):
19213         * emacs-lisp/easy-mmode.el (define-minor-mode):
19214         * net/browse-url.el (browse-url-maybe-new-window):
19215         * progmodes/sh-script.el (sh-learn-buffer-indent):
19216         Pass new argument 'any to `called-interactively-p'.
19218 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
19220         * international/uni-bidi.el:
19221         * international/uni-category.el:
19222         * international/uni-combining.el:
19223         * international/uni-comment.el:
19224         * international/uni-decimal.el:
19225         * international/uni-decomposition.el:
19226         * international/uni-digit.el:
19227         * international/uni-lowercase.el:
19228         * international/uni-mirrored.el:
19229         * international/uni-name.el:
19230         * international/uni-numeric.el:
19231         * international/uni-old-name.el:
19232         * international/uni-titlecase.el:
19233         * international/uni-uppercase.el:
19234         Regenerate from Unicode 5.2.0 data.
19236 2009-10-01  Glenn Morris  <rgm@gnu.org>
19238         * Makefile.in (ELCFILES): Regenerate.
19240 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
19242         * subr.el (interactive-p): Mark obsolete.
19243         (called-interactively-p): Make the optional-ness of `kind' obsolete.
19244         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
19245         advertised-signature-table for subroutines as well.
19247         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
19248         (set-advertised-calling-convention): New function.
19249         (make-obsolete, define-obsolete-function-alias)
19250         (make-obsolete-variable, define-obsolete-variable-alias):
19251         Make the optional-ness of `when' obsolete.
19252         (define-obsolete-face-alias): Make `when' non-optional.
19253         * help-fns.el (help-function-arglist):
19254         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
19255         Use advertised-signature-table.
19257 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
19259         * files.el (delete-directory): New defun.  The original function
19260         in fileio.c has been renamed to `delete-directory-internal'.
19262         * dired.el (dired-delete-file): Call `delete-directory' with
19263         RECURSIVE parameter.
19265         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
19266         parameter RECURSIVE.  Implementation is missing.
19268         * net/tramp.el (tramp-handle-make-directory): Flush upper
19269         directory's file properties.
19270         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
19271         (tramp-handle-dired-recursive-delete-directory): Flush directory
19272         properties after the remove command only.
19274         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
19275         Handle optional parameter RECURSIVE.
19277         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
19278         Handle optional parameter RECURSIVE.
19280         * net/tramp-smb.el (tramp-smb-errors): Add error message for
19281         connection timeout.
19282         (tramp-smb-handle-delete-directory): Handle optional parameter
19283         RECURSIVE.
19285 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
19287         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
19288         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
19289         (byte-compile-defmacro): Use backquotes.
19291         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
19293         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
19294         has no associated file.
19295         (vc-resynch-buffer): Use vc-dir-buffers.
19297 2009-10-01  Glenn Morris  <rgm@gnu.org>
19299         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
19300         (chart-file-count):
19301         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
19302         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
19303         * emacs-lisp/eieio-opt.el (eieio-describe-class):
19304         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
19305         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
19306         (eieio-copy-parents-into-subclass, make-instance, class-children)
19307         (eieio-generic-form):
19309         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
19310         match-data.  (Bug#4555).
19312         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
19313         rather than parsing it as a regexp.  This relaxes the layout
19314         requirements and makes errors easier to detect.
19315         (check-declare-verify): Check file is regular.
19316         (check-declare-directory): Doc fix.
19317         * subr.el (declare-function): Doc fix.
19319         * ibuffer.el (ibuffer-format-qualifier):
19320         * isearch.el (hi-lock-regexp-okay):
19321         * calc/calc.el (math-zerop):
19322         * mail/uce.el (rmail-msgbeg, rmail-msgend):
19323         * term/w32-win.el (setup-default-fontset, set-fontset-font):
19324         Remove unused declarations.
19326 2009-09-30  Eric Ludlam  <zappo@gnu.org>
19328         * emacs-lisp/eieio.el (boolean-p): Delete.
19330 2009-09-30  Glenn Morris  <rgm@gnu.org>
19332         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
19334         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
19335         filename is not a string.
19337 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
19339         * files.el (safe-local-eval-forms): Fix typo.
19341 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
19343         * vc-hooks.el (vc-dir-buffers): New var.
19344         (vc-state-refresh): New function.
19345         (vc-state): Use it.
19346         (vc-after-save): Always ask the backend to recompute the new state.
19347         Always call vc-dir if necessary, using vc-dir-buffers.
19348         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
19349         Use vc-dir-buffers.
19350         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
19351         (vc-dir-prepare-status-buffer, vc-dir-update)
19352         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
19353         Don't call expand-file-name on default-directory.
19355 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
19357         * speedbar.el (speedbar-item-delete):
19358         * calc/calc-prog.el (calc-kbd-if):
19359         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
19361         * epa.el (epa-key-list-mode-map):
19362         * hi-lock.el (hi-lock-menu): Fix typos in menus.
19364         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
19365         (hs-show-hook): Fix typo in docstring.
19367 2009-09-29  Glenn Morris  <rgm@gnu.org>
19369         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
19370         file-name-nondirectory call preventing location of cedet files.
19371         (check-declare-verify): Use literal search rather than re-search.
19372         Add basic defmethod and defclass, and define-overloadable-function.
19374         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
19375         Use tramp-compat-file-attributes rather than nonexistent
19376         tramp-compat-handle-file-attributes.
19378         * Makefile.in (lisptagsfiles4): New.
19379         (AUTOGENEL): Add cedet loaddefs files.
19380         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
19381         (update-elclist, compile-always, backup-compiled-files)
19382         (bootstrap-clean): Add yet another directory level.
19383         (update-elclist): Use LC_COLLATE rather than COLLATE.
19384         (ELCFILES): Update, via `make update-elclist'.
19386 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
19388         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
19389         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
19390         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
19392 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
19394         * Makefile.in (lisptagsfiles3): Define.
19395         (TAGS, TAGS-LISP): Use it.
19396         (update-elclist): Add third directory level to look for elc files.
19397         (compile-always): Likewise.
19398         (backup-compiled-files): Likewise.
19399         (bootstrap-clean): Likewise.
19400         (ELCFILES): Update.
19402 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
19404         * Makefile.in (ELCFILES): Add CEDET files.
19406 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
19408         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
19410         * net/tramp.el (top): Require tramp-imap.
19412         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
19413         Use `tramp-compat-handle-file-attributes'.
19415 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
19417         * net/tramp-imap.el: New package.
19419 2009-09-28  Eric Ludlam  <zappo@gnu.org>
19421         * emacs-lisp/chart.el:
19422         * emacs-lisp/eieio-base.el:
19423         * emacs-lisp/eieio-comp.el:
19424         * emacs-lisp/eieio-custom.el:
19425         * emacs-lisp/eieio-datadebug.el:
19426         * emacs-lisp/eieio-opt.el:
19427         * emacs-lisp/eieio-speedbar.el:
19428         * emacs-lisp/eieio.el: New files.
19430 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
19432         * whitespace.el (whitespace-trailing-regexp)
19433         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
19434         Fix doc string.
19436 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
19438         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
19439         menu.
19441         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
19442         menu-bar-ediff-menu.
19444         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
19445         define-overloadable-function.
19447         * progmodes/autoconf.el: Provide autoconf as well, so that this
19448         file can be `require'd.
19450         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
19452         * emacs-lisp/autoload.el (generated-autoload-feature)
19453         (generated-autoload-load-name): New vars.
19454         (autoload-rubric, autoload-generate-file-autoloads): Use them.
19455         (make-autoload): Recognize define-overloadable-function and
19456         defclass forms (for EIEIO).
19458         * Makefile.in (update-subdirs): Exclude cedet directory.
19460 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
19462         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
19464         * faces.el: Default light-background background for region face to
19465         ns_selection_color under NS.
19467 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
19469         * net/imap-hash.el: New library, see NEWS.
19471         * Makefile.in (ELCFILES): Add imap-hash.el.
19473 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
19475         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
19476         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
19477         * help-macro.el (make-help-screen): Avoid using an ambiguous function
19478         definition where the docstring could be taken for the return value.
19480 2009-09-26  Glenn Morris  <rgm@gnu.org>
19482         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
19483         Add option to only show images below a certain size.
19484         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
19485         save-excursion calls.
19487 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
19489         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
19490         subdirectories) and eieio.
19492 2009-09-26  Alan Mackenzie  <acm@muc.de>
19494         * progmodes/cc-engine.el (c-beginning-of-statement-1):
19495         Correct buggy bracketing.  (Bug#4289)
19497         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
19498         character constants (as case labels).  (Bug#4289)
19500 2009-09-25  Juri Linkov  <juri@jurta.org>
19502         * files.el (safe-local-eval-forms): Allow time-stamp in
19503         before-save-hook (Bug#4554).
19505 2009-09-25  Drew Adams  <drew.adams@oracle.com>
19507         * menu-bar.el (list-buffers-directory): Doc fix.
19509 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
19511         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
19512         Try and avoid copying twice the same paragraph.
19513         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
19514         Remove save-excursion.
19515         (log-edit-changelog-entry): Do it here instead.
19517 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
19519         * bs.el (bs--get-file-name): Use `list-buffers-directory'
19520         when available, instead of hardcoding mode names.  Doc fix.
19522         * menu-bar.el (list-buffers-directory): Add docstring.
19523         Make automatically buffer-local.
19525         * dired.el (dired-mode):
19526         * files.el (cd-absolute):
19527         * pcvs.el (cvs-temp-buffer):
19528         * pcvs-util.el (cvs-get-buffer-create):
19529         * shell.el (shell-mode):
19530         * vc-dir.el (vc-dir-mode):
19531         Don't make `list-buffers-directory' buffer local.
19533 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
19535         * comint.el (comint-exec, comint-run, make-comint):
19536         Doc fixes (Bug#4542).
19538 2009-09-25  Glenn Morris  <rgm@gnu.org>
19540         * mail/rmailmm.el (rmail-mime): New custom group.
19541         Move all defcustoms in this file into this group.
19542         (rmail-mime-media-type-handlers-alist): Revert previous change.
19543         (rmail-mime-show-images): New option.
19544         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
19545         references to it, since it wasn't actually used for anything.
19546         (rmail-mime-insert-image): New function.
19547         (rmail-mime-image): Use rmail-mime-insert-image.
19548         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
19549         obey the value of `rmail-mime-show-images' option.  Print the size of
19550         attachments.
19552 2009-09-25  David Engster  <deng@randomsample.de>
19554         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
19556 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
19558         * whitespace.el: Does not highlight trailing spaces While point is
19559         at end of line.  Does not highligt spaces at beginning of buffer
19560         while point is at beginning of buffer.  Does not highlight spaces
19561         at end of buffer while point is at end of buffer.  (Bug#4177)
19562         New version 12.0.
19563         (whitespace-display-mappings): Adjust initialization.
19564         (whitespace-point, whitespace-font-lock-refontify): New vars.
19565         (whitespace-color-on, whitespace-color-off): Adjust code.
19566         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
19567         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
19568         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
19570 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
19572         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
19574         * textmodes/sgml-mode.el: Remove xml-mode alias.
19576         * files.el (auto-mode-alist, conf-mode-maybe)
19577         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
19579 2009-09-24  Alan Mackenzie  <acm@muc.de>
19581         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
19582         c-forward-conditionals, but it doesn't move point and doesn't set
19583         the mark.
19584         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
19585         (c-down-conditional-with-else, c-backward-conditional)
19586         (c-forward-conditional): Refactor to use c-scan-conditionals.
19588 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
19590         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
19591         (help-default-arg-highlight): Remove.
19592         (help-highlight-arg): New function.
19593         (help-do-arg-highlight): Use it.
19594         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
19596 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
19598         * term.el (term-set-scroll-region, term-handle-ansi-escape):
19599         Undo last change, which didn't fix the problem and introduced others.
19601 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
19603         * progmodes/gdb-mi.el: Don't require speedbar.
19604         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
19606 2009-09-24  Glenn Morris  <rgm@gnu.org>
19608         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
19610         * term/ns-win.el (ns-reg-to-script): Define for compiler.
19612         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
19613         there is no newline after the final mime boundary.  (Bug#4539)
19614         Move markers on insertion so that any buttons inserted don't end up in
19615         the next part of a multipart message.
19616         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
19617         (rmail-mime-bulk-handler): Optionally handle images.
19618         (rmail-mime-image): New button action.
19619         (rmail-mime-image-handler): New function.
19620         (rmail-mime-mode): New mode.
19621         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
19623 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
19625         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
19626         than just dropping elements from it (bug#4504).
19628         * term.el (term-set-scroll-region): Don't move cursor any more.
19629         (term-handle-ansi-escape): Call term-goto here instead.
19630         Suggested by Ivan Kanis <apple@kanis.eu>.
19632         * term.el: Require CL.
19633         (term-ansi-reset): New function.
19634         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
19635         (term-handle-colors-array): Simplify.
19637 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
19639         * allout.el (allout-overlay-interior-modification-handler)
19640         (allout-obtain-passphrase):
19641         * epa-file.el (epa-file-write-region):
19642         * ps-print.el (ps-begin-job):
19643         * vc-hooks.el (vc-toggle-read-only):
19644         * vc-rcs.el (vc-rcs-rollback):
19645         * vc-sccs.el (vc-sccs-rollback):
19646         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
19647         (vc-version-diff, vc-revert, vc-rollback):
19648         * wdired.el (wdired-check-kill-buffer):
19649         * emacs-lisp/authors.el (authors):
19650         * net/socks.el (socks-open-connection):
19651         * net/zeroconf.el (zeroconf-service-add-hook):
19652         * obsolete/vc-mcvs.el (vc-mcvs-register):
19653         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
19654         (gdb-select-frame):
19655         * progmodes/grep.el (lgrep, rgrep):
19656         * progmodes/idlw-help.el (idlwave-help-check-locations)
19657         (idlwave-help-html-link, idlwave-help-assistant-open-link):
19658         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
19659         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
19660         (reftex-toc-rename-label): Fix typos in error messages.
19662         * dired-aux.el (dired-do-shell-command): Reflow docstring.
19663         (dired-copy-how-to-fn): Doc fix.
19664         (dired-files-attributes, dired-read-shell-command):
19665         Fix typos in docstrings.
19667         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
19668         (dired-x-find-file-other-window): Reflow docstrings.
19669         (dired-omit-marker-char, dired-read-shell-command)
19670         (dired-x-submit-report): Fix typos in docstrings.
19672         * shell.el (shell-mode-hook):
19673         * view.el (View-scroll-line-forward):
19674         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
19675         Fix typos in docstrings.
19677         * net/dig.el (dig-invoke): Fix typo in docstring.
19678         (query-dig): Reflow docstring.
19680         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
19681         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
19682         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
19683         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
19684         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
19685         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
19686         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
19687         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
19688         (idlwave-completion-map, idlwave-current-indent)
19689         (idlwave-custom-ampersand-surround, idlwave-customize)
19690         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
19691         (idlwave-define-abbrev, idlwave-determine-class-special)
19692         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
19693         (idlwave-end-block-reg, idlwave-end-of-statement)
19694         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
19695         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
19696         (idlwave-explicit-class-listed, idlwave-file-header)
19697         (idlwave-fill-paragraph, idlwave-find-class-definition)
19698         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
19699         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
19700         (idlwave-in-quote, idlwave-indent-action-table)
19701         (idlwave-indent-expand-table, idlwave-indent-line)
19702         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
19703         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
19704         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
19705         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
19706         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
19707         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
19708         (idlwave-outlawed-buffers, idlwave-popup-select)
19709         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
19710         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
19711         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
19712         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
19713         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
19714         (idlwave-statement-type, idlwave-struct-skip)
19715         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
19716         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
19717         (idlwave-what-module-find-class): Fix typos in docstrings.
19718         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
19719         (idlwave-calculate-cont-indent, idlwave-expand-equal)
19720         (idlwave-find-module, idlwave-find-structure-definition)
19721         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
19722         (idlwave-list-load-path-shadows, idlwave-next-statement)
19723         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
19724         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
19725         (idlwave-template): Reflow docstrings.
19727         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
19728         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
19729         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
19730         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
19731         (idlwave-shell-display-line, idlwave-shell-display-wframe)
19732         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
19733         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
19734         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
19735         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
19736         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
19737         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
19738         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
19739         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
19740         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
19741         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
19742         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
19743         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
19744         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
19745         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
19746         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
19747         Fix typos in docstrings.
19748         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
19749         (idlwave-shell-hide-output, idlwave-shell-mode)
19750         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
19751         Reflow docstrings.
19753         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
19755 2009-09-24  Ivan Kanis  <apple@kanis.eu>
19757         * term.el (term-bold-attribute): New var.
19758         (term-handle-colors-array): Use it.
19760 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
19762         * progmodes/gdb-mi.el (gdb-version): New variable.
19763         (gdb-non-stop-handler): Set gdb-version.
19764         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
19765         Condition "--thread" option on gdb-version.
19766         (gdb-invalidate-threads): Remove unused argument.
19768 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
19770         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
19771         to looking-back to avoid ridiculous slow down in large files (bug#4511).
19773 2009-09-23  Glenn Morris  <rgm@gnu.org>
19775         * mail/rmail.el (rmail-reply): Don't try to add a References header when
19776         replying to mail without References or Message-Id.  (Bug#4525)
19778 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
19780         * term/ns-win.el (ns-reg-to-script): New variable.
19782 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
19784         * epg.el (epg-wait-for-status): Preserve existing 'error results.
19786 2009-09-22  Sam Steingold  <sds@gnu.org>
19788         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
19789         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
19790         to 1 because hg returns status 1 when nothing is found.
19791         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
19793 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
19795         * textmodes/fill.el: Convert to utf-8 encoding.
19796         (fill-french-nobreak-p): Remove redundant » and « inherited from our
19797         pre-Unicode days.
19799         * add-log.el (change-log-fill-forward-paragraph): New function.
19800         (change-log-mode): Use it so fill-region DTRT.
19801         Set fill-indent-according-to-mode here rather than in
19802         change-log-fill-paragraph.
19803         (change-log-fill-paragraph): Remove.
19805 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
19807         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
19808         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
19810 2009-09-22  Glenn Morris  <rgm@gnu.org>
19812         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
19813         the scroll-bar scroll the calendar window rather than the buffer.
19815         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
19816         commands that move point (as opposed to scrolling).
19818         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
19820         * emacs-lisp/elint.el (elint): New custom group.
19821         (elint-log-buffer): Make it a defcustom.
19822         (elint-scan-preloaded, elint-ignored-warnings)
19823         (elint-directory-skip-re): New options.
19824         (elint-builtin-variables): Doc fix.
19825         (elint-preloaded-env): New variable.
19826         (elint-unknown-builtin-args): Add an entry for encode-time.
19827         (elint-extra-errors): Make it a variable rather than a constant.
19828         (elint-preloaded-skip-re): New constant.
19829         (elint-directory): Skip files matching elint-directory-skip-re.
19830         (elint-features): New variable, local to linted buffers.
19831         (elint-update-env): Initialize elint-features.  Possibly add
19832         elint-preloaded-env to the buffer's environment.
19833         (elint-get-top-forms): Bind elint-current-pos, for log messages.
19834         Skip quoted forms.
19835         (elint-init-form): New function, extracted from elint-init-env.
19836         Make non-list forms a warning rather than an error.
19837         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
19838         easy-menu-define, put that adds an error-condition, and provide.
19839         When requiring cl, also require cl-macs.  Really require cl, to handle
19840         some cl macros.  Store required libraries in the list elint-features,
19841         so as not to re-load them.  Treat cc-require like require.
19842         (elint-init-env): Call elint-init-form to do the work.
19843         Handle eval-and-compile and such like.
19844         (elint-add-required-env): Do not clear messages.
19845         (elint-special-forms): Add handlers for function, defalias, if, when,
19846         unless, and, or.
19847         (elint-form): Add optional argument to ignore elint-special-forms,
19848         useful to prevent recursive calls from handlers.  Doc fix.
19849         Respect elint-ignored-warnings.
19850         (elint-form): Respect elint-ignored-warnings.
19851         (elint-bound-variable, elint-bound-function): New variables.
19852         (elint-unbound-variable): Respect elint-bound-variable.
19853         (elint-get-args): Respect elint-bound-function.
19854         (elint-check-cond-form): Add some simple handling for (f)boundp and
19855         featurep tests.
19856         (elint-check-defalias-form): New handler.
19857         (elint-check-let-form): Make an empty let a warning rather than an
19858         error.
19859         (elint-check-setq-form): Make an empty setq a warning rather than an
19860         error.  Respect elint-ignored-warnings.
19861         (elint-check-defvar-form): Accept null doc-strings.
19862         (elint-check-conditional-form): New handler.  Does some simple-minded
19863         checking of featurep and (f)boundp tests.
19864         (elint-put-function-args): New function.
19865         (elint-initialize): Use elint-scan-doc-file rather than
19866         elint-find-builtin-variables.  Use elint-put-function-args.
19867         Possibly scan preloaded-file-list.
19868         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
19869         extend to handle functions as well.
19871 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
19873         * linum.el (linum-delete-overlays, linum-update-window):
19874         Do not modify the right margin.  (Bug#3971)
19876 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
19878         * files.el (conf-mode-maybe, magic-fallback-mode-alist):
19879         Use nxml-mode instead of xml-mode.
19881 2009-09-21  Kevin Ryde  <user42@zip.com.au>
19883         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
19885 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
19887         * net/dig.el (dig-mode): Use define-derived-mode.
19889 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
19891         * vc-dispatcher.el (vc-do-command): Return the process object in
19892         the asynchronous case.  Use when instead of if.  Do not run
19893         vc-exec-after to display a message if not enabled.  (Bug#4463)
19895         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
19896         properties to the stash strings.
19897         (vc-git-stash-list): Return a list of strings.
19898         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
19899         (vc-git-stash-show-at-point): New functions.
19900         (vc-git-stash-map): New keymap.
19902         * register.el (ctl-x-r-map): Define the keys here instead of
19903         using autoload.
19905 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
19907         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
19908         list, to workaround performance problem (bug#4485).
19910 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
19912         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
19914 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
19916         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
19917         Document that this option is not recommended to use.
19919 2009-09-19  Glenn Morris  <rgm@gnu.org>
19921         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
19922         variable `var'.
19924         * calc/calc-alg.el (var):
19925         * calc/calcalg2.el (var): Define for compiler.
19927 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
19929         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
19930         Doc fix (Bug#3932).
19932         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
19934         * time-stamp.el (time-stamp-month-dd-yyyy)
19935         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
19936         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
19937         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
19938         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
19939         Remove functions that have been obsolete since 1995 (Bug#4436).
19941         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
19942         indent buffer only if called interactively (Bug#4452).
19944 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
19945             Eli Zaretskii  <eliz@gnu.org>
19947         This fixes bug#4197 (merged to bug#865, though not identical).
19948         * server.el (server-auth-dir): Add docstring note about FAT32.
19949         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
19950         but warn against using them.
19952 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
19954         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
19955         older GDB where there is no has_more field.
19957 2009-09-19  Glenn Morris  <rgm@gnu.org>
19959         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
19961 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
19963         * files.el (auto-mode-alist): Change default for XML files to nXML
19964         mode (Bug#4169).
19966 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
19968         * server.el (server-ensure-safe-dir): Pass 'integer
19969         to `file-attributes', as suggested.
19971 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
19973         * dired-aux.el (dired-query-alist): Remove spurious backslash.
19974         (dired-query): Use read-key.
19976 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
19978         * cus-start.el (ns-use-qd-smoothing): Remove.
19980 2009-09-18  Glenn Morris  <rgm@gnu.org>
19982         * allout.el (top-level): Remove unnecessary progn.
19984         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
19986         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
19987         definition of abbrev table.
19989         * speedbar.el (speedbar-track-mouse):
19990         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
19991         * net/eudc.el (eudc-expand-inline):
19992         * net/newst-backend.el (newsticker--cache-read-feed):
19993         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
19994         condition-case handlers.
19996 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
19998         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
19999         (gdb-var-list): Add an element for has_more field.
20000         (gdb-non-stop-handler): Enable pretty printing for STL containers.
20001         (gdb-var-create-handler, gdb-var-list-children-handler-1)
20002         (gdb-var-update-handler-1): Parse output of dynamic variable
20003         objects (STL containers).
20004         (gdb-var-delete-1): Pass var1 as an explicit second argument.
20005         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
20007         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
20008         gdb-var-list.
20009         (gud-speedbar-buttons): Make node expandable if expression "has more"
20010         children.
20012 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
20014         * startup.el (emacs-quick-startup): Remove variable and all uses.
20015         (command-line): Set `inhibit-x-resources' instead.
20016         (command-line-1): Use `inhibit-x-resources' instead.
20018 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
20020         * subr.el: Fix last change to avoid using the `unless' macro,
20021         which breaks bootstrapping.
20023 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
20025         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
20026         extended definitions, in case we reload subr.el after having
20027         loaded CL.
20028         (eval-next-after-load): Mark as obsolete.
20030 2009-09-17  Juri Linkov  <juri@jurta.org>
20032         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
20033         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
20034         (menu-bar-showhide-menu, menu-bar-tools-menu)
20035         (menu-bar-describe-menu, menu-bar-help-menu)
20036         (minibuffer-local-completion-map, minibuffer-local-map):
20037         Fix list quoting.
20039 2009-09-17  Glenn Morris  <rgm@gnu.org>
20041         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
20042         arguments, whether or not it has a handler.
20044         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
20046         * simple.el (hard-newline): Give it a doc-string.
20048         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
20049         (lisp-mode-syntax-table): Give them doc-strings.
20051 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
20053         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
20054         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
20055         (menu-bar-options-menu, menu-bar-showhide-menu)
20056         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
20057         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
20058         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
20059         (menu-bar-options-menu, menu-bar-tools-menu)
20060         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
20061         (menu-bar-help-menu):
20062         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
20063         string arguments.
20065         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
20066         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
20067         calls for the menu names and :help.
20069 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
20071         * mouse.el (minor-mode-menu-from-indicator): Pay attention
20072         to :minor-mode-function (bug#4455).
20074 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
20076         * startup.el (command-line): Initialize the window-system after
20077         processing the command-line.
20079         * textmodes/page.el (what-page): Make sure we don't inf-loop if
20080         page-delimiter matches the empty string.
20082 2009-09-16  Glenn Morris  <rgm@gnu.org>
20084         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
20085         byte-compile-not-obsolete-var.  It's a list now.
20086         (byte-compile-not-obsolete-funcs): New variable.
20087         (byte-compile-warn-obsolete): Don't warn about functions if they are in
20088         byte-compile-not-obsolete-funcs.
20089         (byte-compile-variable-ref, byte-compile-defvar): Update for
20090         byte-compile-not-obsolete-vars name-change and list nature.
20091         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
20092         and variables behind (f)boundp tests.
20093         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
20095 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
20097         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
20099 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
20101         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
20102         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
20103         Don't autoload.
20105 2009-09-15  Stephen Eglen  <stephen@gnu.org>
20107         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
20108         the virtual-buffers, use the name of the buffer specified by
20109         find-file-noselect, as the match may be a symlink.  (This was a
20110         problem if the target and the symlink had different names.)
20112 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
20114         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
20116         * desktop.el (desktop-path): Check user-emacs-directory.
20118         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
20120         * loadup.el: Use after-load-functions to GC after loading each file.
20121         Remove the explicit GC calls that used to be sprinkled around.
20123         * subr.el (after-load-functions): New hook.
20124         (do-after-load-evaluation): Run it.  Use string-match-p to detect
20125         `obsolete' packages, rather than painfully extracting the relevant
20126         directory name.
20128 2009-09-15  Glenn Morris  <rgm@gnu.org>
20130         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
20131         free variable `doc'.
20133         * dired.el (dired-mode-map): Add menu entry for async shell command.
20135         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
20136         variables, also consider the .elc files, since the .el files are
20137         normally gzipped (subsequent code locates the .el.gz from the .elc).
20139         * calc/calc-prog.el (arglist): Define for compiler.
20141         * calendar/diary-lib.el (diary-display-function): Change the default to
20142         fancy display.
20143         (body): Define for compiler.
20145         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
20146         (byte-compile-file-form, byte-compile-lambda)
20147         (byte-compile-top-level-body, byte-compile-form)
20148         (byte-compile-variable-ref, byte-compile-setq)
20149         (byte-compile-setq-default, byte-compile-body)
20150         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
20151         (batch-byte-compile): Give some more local variables with common names
20152         a "bytecomp-" prefix to avoid masking warnings about free variables.
20154         * startup.el (command-line-1): Give local variables with common names a
20155         distinguishing prefix, so as not to hide free variable warnings during
20156         bootstrap.
20158         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
20159         clever and add a suffix to make a unique name, just let the user decide
20160         whether or not to overwrite it.  If the input is a directory, write the
20161         default filename to that directory.  (Bug#4388)
20162         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
20163         is a filename-as-a-directory.
20165 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
20167         * textmodes/page.el (what-page): Don't move to beginning of line.
20168         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
20170 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
20172         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
20174 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
20176         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
20177         * help.el (help-for-help-internal): Add purecopy calls for text.
20179         * vc.el (top): print-log method now takes an optional SHORTLOG
20180         argument.  Add a new method: root.
20181         (vc-root-diff, vc-print-root-log): New functions.
20182         (vc-log-short-style): New variable.
20183         (vc-print-log-internal): Add support for showing short logs.
20185         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
20186         vc-print-root-log and vc-print-root-diff.
20188         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
20189         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
20190         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
20191         short logs.
20193         * vc-cvs.el (vc-cvs-print-log):
20194         * vc-mtn.el (vc-mtn-print-log):
20195         * vc-rcs.el (vc-rcs-print-log):
20196         * vc-sccs.el (vc-sccs-print-log):
20197         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
20198         that is ignored for now.
20200         * vc-mtn.el (vc-mtn-annotate-command):
20201         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
20203 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
20205         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
20206         to function-key-map, and give them ascii-character property.
20207         * term/x-win.el (x-alternatives-map):
20208         * term/ns-win.el (ns-alternatives-map):
20209         * term/internal.el (msdos-key-remapping-map):
20210         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
20212 2009-09-14  Glenn Morris  <rgm@gnu.org>
20214         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
20215         temp-buffers (2009-09-12).
20217 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
20219         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
20220         the new read-key function.
20222 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
20224         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
20225         is defined (Bug#4405).
20227 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
20229         * recentf.el (recentf-cleanup): Use a hash table to find
20230         duplicates (Bug#4407).
20232 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
20234         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
20235         kp-0 to ascii equivalents (Bug#4325).
20237 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
20239         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
20241         * eshell/em-hist.el:
20242         * eshell/em-dirs.el (eshell-complete-user-reference):
20243         Declare pcomplete functions and variables to avoid compiler warnings.
20245 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
20247         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
20248         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
20249         * eshell/em-alias.el (eshell-aliases-file):
20250         * eshell/em-hist.el (eshell-history-file-name):
20251         Use expand-file-name instead of concat to make file names (Bug#4308).
20253 2009-09-13  Glenn Morris  <rgm@gnu.org>
20255         * ediff-merg.el (ediff-do-merge):
20256         * filesets.el (filesets-run-cmd):
20257         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
20258         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
20259         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
20260         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
20261         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
20262         Replace empty `let's with `progn'.
20264 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
20266         * mail/sendmail.el (send-mail-function):
20267         * tooltip.el (tooltip-mode):
20268         * simple.el (transient-mark-mode):
20269         * rfn-eshadow.el (file-name-shadow-mode):
20270         * frame.el (blink-cursor-mode):
20271         * font-core.el (global-font-lock-mode):
20272         * files.el (temporary-file-directory)
20273         (small-temporary-file-directory, auto-save-file-name-transforms):
20274         * epa-hook.el (auto-encryption-mode):
20275         * composite.el (global-auto-composition-mode):
20276         Use custom-initialize-delay.
20277         * startup.el (command-line): Don't explicitly call
20278         custom-reevaluate-setting for all the above vars.
20279         * custom.el (custom-initialize-safe-set)
20280         (custom-initialize-safe-default): Delete.
20282 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
20284         * term/x-win.el (x-initialize-window-system):
20285         * term/w32-win.el (w32-initialize-window-system):
20286         * term/ns-win.el (ns-initialize-window-system): Don't call
20287         mouse-wheel-mode since it's enabled globally by default already.
20289         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
20290         actually define the variable, but only silences the byte-compiler.
20291         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
20292         before looking it up.
20293         (mouse-wheel-scroll-amount): Also reset the bindings if this value
20294         is changed.
20296 2009-09-12  Glenn Morris  <rgm@gnu.org>
20298         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
20299         1000.
20300         (elint-add-required-env): Don't beep on error.
20301         (elint-forms): In case of error, return ENV unchanged.
20302         (elint-init-env): Skip non-list forms.
20303         (elint-log): Handle unknown file positions.
20305 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
20307         * epg.el (epg-make-context): Add autoload cookie.
20308         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
20309         (epg-decrypt-string, epg-start-verify, epg-verify-file)
20310         (epg-verify-string, epg-start-sign, epg-sign-file)
20311         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
20312         (epg-encrypt-string, epg-start-export-keys)
20313         (epg-export-keys-to-file, epg-export-keys-to-string)
20314         (epg-start-import-keys, epg-import-keys-from-file)
20315         (epg-import-keys-from-string, epg-start-receive-keys)
20316         (epg-receive-keys, epg-import-keys-from-server)
20317         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
20318         (epg-sign-keys, epg-start-generate-key)
20319         (epg-generate-key-from-file, epg-generate-key-from-string):
20320         Remove autoload cookie.
20322 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
20324         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
20325         reevaluation of trash-directory.
20327         * mwheel.el: Fix last change.
20328         (mouse-wheel-mode): New defvar.
20329         (mouse-wheel-mode): Remove autoload cookie.
20331 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
20333         * mwheel.el (mwheel-installed-bindings): New var.
20334         (mouse-wheel-mode): Use it, so as to make sure we really remove all
20335         the bindings we set last time.  Use custom-initialize-delay.
20336         * loadup.el: Load mwheel after term/*-win.el.
20337         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
20338         and mouse-wheel-up-event now that their first evaluation is done
20339         sufficiently late to be correct.
20341         * startup.el (tutorial-directory): Make it a defcustom.
20342         Use custom-initialize-delay rather than eval-at-startup to set it.
20343         * image.el (image-load-path): Make it a defcustom.
20344         Use custom-initialize-delay rather than eval-at-startup to set it.
20345         * subr.el (eval-at-startup): Remove.
20346         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
20348         * subr.el (do-after-load-evaluation): Warn the user after loading an
20349         obsolete package.
20351 2009-09-12  Glenn Morris  <rgm@gnu.org>
20353         * proced.el (proced-mark-alt): Remove alias.
20354         (proced-mode-map): Remove proced-mark-alt.
20356         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
20357         Elint file and directory.  Remove initialization entry.
20359         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
20360         commands.
20361         (elint-current-buffer): Set mode-line-process.
20362         (elint-init-env): Handle define-derived-mode.
20363         Fix declare-function with unspecified arglist.  Guard against odd
20364         defalias statements (eg iso-insert's 8859-1-map).
20365         (elint-add-required-env): Use a temp buffer.
20366         (elint-form): Just print the function/macro name, not the whole form.
20367         Return env unchanged if we fail to parse a macro.
20368         (elint-forms): Guard against parse errors.
20369         (elint-output): New function, to handle batch mode.
20370         (elint-log-message): Add optional argument.  Use elint-output.
20371         (elint-set-mode-line): New function.
20373 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
20375         * emacs-lisp/elp.el (elp-not-profilable): Add more
20376         functions (Bug#4233).
20378 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
20380         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
20381         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
20383 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
20385         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
20386         (gdb-var-list-children): Use json parsing.
20388 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
20390         * progmodes/js.el (js--proper-indentation): Handle the case where
20391         char-before is null.  Reported by Deniz Dogan.
20393 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
20395         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
20397 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
20399         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
20400         (epg-digest-algorithm-alist): Add SHA224.
20401         (epg-context-set-passphrase-callback)
20402         (epg-context-set-progress-callback): Add description about
20403         callback function.
20405 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
20407         * custom.el (custom-delayed-init-variables): New var.
20408         (custom-initialize-delay): New function.
20409         * startup.el (command-line): "Re"evaluate all vars in
20410         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
20411         explicitly any more.
20412         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
20413         to avoid creating a ~/.emacs.d at build-time (bug#4347).
20415         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
20417 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
20419         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
20420         (gdb-var-update-handler): Use json parsing.
20422 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
20424         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
20425         decode annotated text, regardless of language environment.  (Bug#2741)
20427 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
20429         * Makefile.in (autoloads): Make rmail.el writable as well.
20431 2009-09-11  Glenn Morris  <rgm@gnu.org>
20433         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
20434         loaddefs.el.
20435         * dired.el: Regenerate with extracted autoloads.
20436         * Makefile.in (autoloads): Make dired.el writable.
20438         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
20439         * ibuffer.el: Regenerate with extracted autoloads.
20440         * Makefile.in (autoloads): Make ibuffer.el writable.
20442         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
20443         * version.el (emacs-copyright, emacs-major-version)
20444         (emacs-minor-version): Reformat doc-strings for make-docfile.
20446         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
20447         functions and variables, since they must be stuff specific to some other
20448         platform.
20449         (apropos-print): Make mouse-click message less specific about button.
20451         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
20452         that records where a macro was defined.
20453         * help-fns.el (describe-function-1): Mention if a function has a
20454         compiler-macro.
20455         * help-mode.el (help-function-cmacro): New button.
20457         * locate.el (top-level): Always require dired.
20458         (locate-mode-map): Initialize inside the defvar.
20460         * net/ange-ftp.el (dired-compress-file): Declare.
20461         (ange-ftp-dired-compress-file): Add doc string.
20463         * term/ns-win.el (x-display-name, x-setup-function-keys):
20464         Unify doc-strings with X versions.
20466 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
20468         * emulation/crisp.el (crisp-mode-map): Move initialization
20469         into declaration.
20470         (crisp-mode): Use define-minor-mode.
20472         * progmodes/xscheme.el (xscheme-evaluation-commands):
20473         Put a :advertised-binding property rather than using
20474         advertised-xscheme-send-previous-expression.
20475         (advertised-xscheme-send-previous-expression): Declare obsolete.
20476         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
20477         `advertised-undo'.
20478         (crisp-mode): Add corresponding bindings to
20479         undo's :advertised-binding instead.
20480         * dired.el (dired-mode-map): Put a :advertised-binding property rather
20481         than using dired-advertised-find-file.
20482         (dired-advertised-find-file):
20483         * simple.el (advertised-undo):
20484         * wid-edit.el (advertised-widget-backward): Declare obsolete.
20485         (widget-keymap): Put a :advertised-binding property rather
20486         than using advertised-widget-backward.
20487         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
20488         than using advertised-undo.
20489         * tutorial.el (tutorial--default-keys): Adjust accordingly.
20491 2009-09-10  Simon South  <ssouth@slowcomputing.org>
20493         * progmodes/delphi.el (delphi-tab): Indent region when Transient
20494         Mark mode is enabled and region is active; otherwise indent or
20495         insert TAB as usual.
20496         (delphi-mode): Update description of TAB-key binding.
20498 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
20500         * subr.el (define-key-rebound-commands): Mark obsolete.
20501         * startup.el (precompute-menubar-bindings): Remove.
20502         (normal-top-level): Remove obsolete code that tried to precompute
20503         menubar bindings.
20504         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
20505         define-key-rebound-commands and precompute-menubar-bindings.
20507 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
20509         * net/imap.el (imap-interactive-login): Better messages.
20510         (imap-open): Fix bug with renamed buffer on reconnect.
20511         (imap-authenticate): Add buffer-local imap-last-authenticator variable
20512         for easier debugging and cleaner code.  On successful (guessed based on
20513         server capabilities) secondary authentication, set imap-state
20514         correctly.
20515         (imap-last-authenticator): Define imap-last-authenticator as a variable
20516         to avoid warnings.
20518 2009-09-10  Glenn Morris  <rgm@gnu.org>
20520         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
20522         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
20523         (byte-compile-file-form-autoload): Don't warn about unknown functions
20524         where the autoload statement comes after the use.
20525         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
20526         that any handlers inside the body (eg require) are in turn respected.
20528         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
20529         effects.
20531         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
20532         and syntax and abbrev tables basic docs, if they don't have any.
20534         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
20536         * international/mule-cmds.el (top-level): Require cl when compiling.
20537         (view-hello-file): Use default-value rather than
20538         default-enable-multibyte-characters.
20540         * progmodes/fortran.el: Move all safe and risky properties into the
20541         defcustoms.
20543         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
20544         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
20545         * mail/undigest.el:
20546         Put autoloads in rmail.el rather than loaddefs.el.
20547         * mail/rmail.el: Regenerate with extracted autoloads.
20549         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
20550         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
20552 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
20554         Reported in thread for Bug#4375.
20555         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
20556         "-data-evaluate-expression" instead of print.
20557         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
20558         (gdb-tooltip-print): Parse output from above MI command.
20559         (gdb): Revert 2009-08-11 change.  User should detach inferior
20560         manually.
20562         Remove the word "separate" from IO functions as inferior
20563         output is now never displayed in the GUD buffer.
20565 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
20567         * startup.el (command-line-normalize-file-name): On Windows and
20568         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
20570 2009-09-10  Juri Linkov  <juri@jurta.org>
20572         * isearch.el (isearch-text-char-description): Propertize escape
20573         character sequences with the `escape-glyph' face.  (Bug#4344)
20575         * simple.el (shell-command): Set asynchronous process filter to
20576         `comint-output-filter'.  (Bug#4343)
20578         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
20579         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
20580         the list.  Move "asm" to the bottom.
20581         (grep-find-ignored-directories): Add `choice' with nil value
20582         to empty the list easily.
20583         (grep-find-ignored-files): New option.
20584         (grep-files-history): Set to nil by default instead of '("ch" "el").
20585         (grep-compute-defaults): Add "<X>" to `grep-template'.
20586         (grep-read-files): Bind new local variables `default-alias' and
20587         `default-extension'.  Use a list of default values for the file prompt.
20588         (lgrep): Add `--exclude=' command line options composed from
20589         `grep-find-ignored-files'.
20590         (rgrep): Add `-name' command line options composed from
20591         `grep-find-ignored-files'.  (Bug#4301)
20593 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
20595         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
20596         (bug#4368).
20598 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
20600         * calendar/time-date.el (autoload):
20601         Expand define-obsolete-function-alias into defalias and make-obsolete
20602         for old Emacsen that Gnus supports.
20603         (with-no-warnings): Define it for old Emacsen.
20604         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
20605         is available.
20606         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
20607         float-time is available; suppress compile warning for time-to-seconds.
20609 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
20611         * net/imap.el (imap-message-map): Docstring fix.
20613 2009-09-09  Glenn Morris  <rgm@gnu.org>
20615         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
20616         line numbers too.  (Bug#4374)
20618 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
20620         * smerge-mode.el (smerge-remove-props, smerge-refine):
20621         Use with-silent-modifications (bug#4342).
20623         * subr.el (with-silent-modifications): New macro.
20625 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
20627         * files.el (top-level): Require `cl' when compiling.
20629 2009-09-07  Glenn Morris  <rgm@gnu.org>
20631         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
20633         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
20634         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
20636 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
20638         * vc-git.el (vc-git-annotate-command): Use separator to parse
20639         arguments correctly.
20641 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
20643         * proced.el (proced-mode): Doc fix.
20645 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
20647         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
20648         lstat fails.
20649         (tramp-do-file-attributes-with-ls): Check for file existence at
20650         remote end.
20651         (tramp-do-file-attributes-with-stat): Likewise.
20652         (tramp-convert-file-attributes): Return nil when attr is nil.
20654 2009-09-05  Glenn Morris  <rgm@gnu.org>
20656         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
20657         properties to this button.
20658         (diary-fancy-display): Don't extend the button to the final newline.
20659         (diary-fancy-display-mode): Continue to define "q" as a local key.
20661         * calendar/cal-china.el (holiday-chinese): Make it slightly more
20662         efficient.
20664         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
20666         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
20667         (byte-compile-dest-file-function): New option.
20668         (byte-compile-dest-file): Doc fix.
20669         Obey byte-compile-dest-file-function.
20670         (byte-compile-cl-file-p): New function.
20671         (byte-compile-eval): Only suppress noruntime warnings about cl functions
20672         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
20673         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
20674         than for file being previously loaded.
20675         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
20676         (byte-compile-file-form-require): Handle the case where requiring a file
20677         indirectly causes CL to be loaded.
20679 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
20681         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
20682         before killing the old buffer, since by the time `kill-buffer' is
20683         run so many buffer variables have been set to nil that it may not
20684         behave as expected.  (Bug#4061)
20686 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
20688         * files.el (find-alternate-file): If the old buffer is modified
20689         and visiting a file, behave similarly to `kill-buffer' when
20690         killing it, thus reverting to the pre-1.878 behavior; see
20691         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
20692         for discussion.  Also, consult `buffer-file-name' as a variable
20693         not as a function, for consistency with the rest of the code.
20695 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
20697         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
20698         also when adding a new directory.
20700         * net/tramp-compat.el (tramp-compat-line-beginning-position):
20701         New defun.
20703 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
20705         * files.el (locate-file-completion-table): Make it provide boundary
20706         information, so partial-completion works better.
20708 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
20710         * mail/footnote.el (Footnote-text-under-cursor):
20711         Check footnote-text-marker-alist before using it (bug#4324).
20713 2009-09-04  Glenn Morris  <rgm@gnu.org>
20715         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
20716         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
20717         * play/solitaire.el, play/tetris.el:
20718         Remove leading * from defcustom and defface docs.
20720         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
20721         necessary.
20722         (diary-fancy-overriding-map): New variable.
20723         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
20724         Use view-mode.
20726         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
20727         goto-line.
20729 2009-09-03  Glenn Morris  <rgm@gnu.org>
20731         * arc-mode.el (archive-mode):
20732         * dos-fns.el (set-default-process-coding-system):
20733         * man.el (Man-getpage-in-background):
20734         * menu-bar.el (menu-bar-describe-menu):
20735         * server.el (server-process-filter):
20736         * startup.el (command-line):
20737         * tar-mode.el (tar-header-block-tokenize, tar-extract):
20738         * w32-fns.el (set-default-process-coding-system):
20739         * x-dnd.el (x-dnd-handle-file-name):
20740         * international/mule-cmds.el (mule-menu-keymap)
20741         (set-default-coding-systems, language-info-alist, set-language-info)
20742         (set-language-environment, standard-display-european-internal)
20743         (set-locale-environment):
20744         * international/mule-diag.el (mule-diag):
20745         * mail/emacsbug.el (report-emacs-bug):
20746         * mail/rmail.el (rmail-mode):
20747         * mail/sendmail.el (mail-setup):
20748         Use default-value rather than default-enable-multibyte-characters.
20750         * progmodes/f90.el: Move all safe properties into the defcustoms.
20751         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
20753         * calendar/appt.el (appt-check):
20754         * calendar/diary-lib.el (diary-set-header, diary-live-p)
20755         (diary-check-diary-file, diary-list-entries)
20756         (diary-include-other-diary-files, diary-simple-display)
20757         (diary-fancy-display, diary-print-entries)
20758         (diary-mark-included-diary-files, diary-make-entry):
20759         Don't call substitute-in-file-name on diary-file.
20761 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
20762             Stefan Monnier  <monnier@iro.umontreal.ca>
20764         * mail/footnote.el (footnote-prefix): Make it a defcustom.
20765         (footnote-mode-map): Move initialization into the declaration.
20766         (footnote-minor-mode-map): Define it rather than changing global-map.
20767         (footnote-mode): Use define-minor-mode.
20769 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
20771         * net/tramp.el (tramp-handle-file-attributes-with-ls)
20772         (tramp-do-file-attributes-with-perl)
20773         (tramp-do-file-attributes-with-stat): Rename from
20774         `tramp-handle-file-attributes-with-*'.
20775         (tramp-handle-file-attributes): Use them.
20776         (tramp-do-directory-files-and-attributes-with-perl)
20777         (tramp-do-directory-files-and-attributes-with-stat): Rename from
20778         `tramp-handle-directory-files-and-attributes-with-*'.
20779         (tramp-handle-directory-files-and-attributes): Use them.
20780         (tramp-method-out-of-band-p): Additional parameter SIZE.
20781         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
20782         (tramp-handle-write-region): Use it.
20783         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
20784         (tramp-handle-vc-registered): Check, whether the first run did
20785         return files to be tested.
20786         (tramp-advice-make-auto-save-file-name): Do not call directly
20787         `tramp-handle-make-auto-save-file-name', because this would bypass
20788         the locking mechanism.
20790         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
20791         (file-remote-p, process-file, start-file-process, set-file-times)
20792         (tramp-compat-file-attributes): Compatibility functions shall not
20793         call directly `tramp-handle-*', because this would bypass the
20794         locking mechanism.
20795         (tramp-compat-number-sequence): New defun.
20797 2009-09-02  Glenn Morris  <rgm@gnu.org>
20799         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
20800         alias for float-time.
20801         (time-to-number-of-days): In Emacs, use float-time.
20802         * net/newst-backend.el (time-add): Suppress warnings from compat
20803         function.
20804         * time.el (emacs-uptime, emacs-init-time):
20805         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
20806         Use float-time rather than time-to-seconds.
20808         * minibuffer.el (completion-initials-expand): Fix typo.
20810         * faces.el (modeline, modeline-inactive, modeline-highlight)
20811         (modeline-buffer-id):
20812         * info.el (info-menu-5): Mark these face aliases as obsolete.
20814 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
20816         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
20817         space ...
20818         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
20819         no "--thread" option.
20820         (gdb-stopped): Don't print "Switched to thread" message when it is
20821         unchanged.
20823 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
20825         * minibuffer.el (completion-try-completion)
20826         (completion-all-completions): Remove ill-defined (and
20827         mistakenly installed and luckily never used nor documented)
20828         `completion-styles' property.
20829         (completion-initials-expand, completion-initials-all-completions)
20830         (completion-initials-try-completion): New functions.
20831         (completion-styles-alist): Add doc to each entry.
20832         Add new `initials' entry.
20834 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
20836         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
20837         MI command -var-evaluate-expression.
20838         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
20839         and tweak for case of string child.
20840         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
20842 2009-09-01  Glenn Morris  <rgm@gnu.org>
20844         * add-log.el (change-log-date-face, change-log-name-face)
20845         (change-log-email-face, change-log-file-face, change-log-list-face)
20846         (change-log-conditionals-face, change-log-function-face)
20847         (change-log-acknowledgement-face):
20848         * cus-edit.el (custom-invalid-face, custom-rogue-face)
20849         (custom-modified-face, custom-set-face, custom-changed-face)
20850         (custom-saved-face, custom-button-face, custom-button-pressed-face)
20851         (custom-documentation-face, custom-state-face, custom-comment-face)
20852         (custom-comment-tag-face, custom-variable-tag-face)
20853         (custom-variable-button-face, custom-face-tag-face)
20854         (custom-group-tag-face-1, custom-group-tag-face):
20855         * diff-mode.el (diff-header-face, diff-file-header-face)
20856         (diff-index-face, diff-hunk-header-face, diff-removed-face)
20857         (diff-added-face, diff-changed-face, diff-function-face)
20858         (diff-context-face, diff-nonexistent-face):
20859         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
20860         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
20861         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
20862         (Info-title-4-face):
20863         * isearch.el (isearch-lazy-highlight-face):
20864         * log-view.el (log-view-file-face, log-view-message-face):
20865         * paren.el (show-paren-match-face, show-paren-mismatch-face):
20866         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
20867         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
20868         (cvs-msg-face):
20869         * smerge-mode.el (smerge-mine-face, smerge-other-face)
20870         (smerge-base-face, smerge-markers-face):
20871         * wid-edit.el (widget-documentation-face, widget-button-face)
20872         (widget-field-face, widget-single-line-field-face)
20873         (widget-inactive-face, widget-button-pressed-face):
20874         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
20875         (woman-addition-face):
20876         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
20877         (eshell-ls-executable-face, eshell-ls-readonly-face)
20878         (eshell-ls-unreadable-face, eshell-ls-special-face)
20879         (eshell-ls-missing-face, eshell-ls-archive-face)
20880         (eshell-ls-backup-face, eshell-ls-product-face)
20881         (eshell-ls-clutter-face):
20882         * eshell/em-prompt.el (eshell-prompt-face):
20883         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
20884         * obsolete/old-whitespace.el (whitespace-highlight-face):
20885         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
20886         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
20887         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
20888         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
20889         (antlr-font-lock-literal-face):
20890         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
20891         (ebrowse-root-class-face, ebrowse-file-name-face)
20892         (ebrowse-default-face, ebrowse-member-attribute-face)
20893         (ebrowse-member-class-face, ebrowse-progress-face):
20894         * progmodes/make-mode.el (makefile-space-face):
20895         * progmodes/sh-script.el (sh-heredoc-face):
20896         * textmodes/flyspell.el (flyspell-incorrect-face)
20897         (flyspell-duplicate-face):
20898         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
20899         * textmodes/texinfo.el (texinfo-heading-face):
20900         Mark face aliases with "-face" suffix as obsolete.
20902         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
20903         compiler.
20905         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
20906         (eudc-bob-sound-menu): Use defvar rather than defconst, since
20907         easy-menu-define wants to modify these.
20909         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
20911         * net/browse-url.el (browse-url-file-url):
20912         * term/internal.el (dos-codepage-setup):
20913         Use default-value rather than default-enable-multibyte-characters.
20915         * progmodes/etags.el (etags-goto-tag-location):
20916         * progmodes/flymake.el (flymake-highlight-line)
20917         (flymake-goto-file-and-line, flymake-goto-line):
20918         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
20919         (gdb-goto-breakpoint):
20920         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
20921         * progmodes/python.el (python-find-function)
20922         (python-pdbtrack-track-stack-file):
20923         * progmodes/verilog-mode.el (verilog-surelint-off):
20924         * term/ns-win.el (ns-open-file-select-line):
20925         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
20926         Use forward-line rather than goto-line.
20928         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
20929         * textmodes/reftex-index.el (reftex-display-index):
20930         * textmodes/reftex-ref.el (reftex-offer-label-menu):
20931         * textmodes/reftex-toc.el (reftex-toc):
20932         Remove unnecessary bindings of default-major-mode (all are followed by
20933         major-mode check and possible mode switch).
20935 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
20937         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
20938         Handle watchpoints (bug#4282).
20939         (def-gdb-thread-buffer-command): Enable thread to be selected by
20940         clicking without selecting threads buffer first.
20941         (gdb-current-context-command): Use selected frame so that "up",
20942         "down" etc work in the GUD buffer.
20943         (gdb-update): Find selected frame before rendering stack buffer.
20944         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
20946 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
20948         * progmodes/sym-comp.el (displayed-completions): Remove.
20949         (symbol-complete): Use minibuffer-complete.
20951 2009-08-31  Glenn Morris  <rgm@gnu.org>
20953         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
20955         * apropos.el (apropos-symbols-internal):
20956         Handle (obsolete) face aliases.
20958         * faces.el (describe-face): Adjust the output format to be more like
20959         describe-variable, and to mention (obsolete) face aliases.
20960         Adjust the whitespace so that help-setup-xref works.
20962         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
20963         * calendar/diary-lib.el (diary-button-face):
20964         Mark these face aliases as obsolete.
20966         * calendar/calendar.el (calendar-today): Doc fix.
20968 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
20970         * progmodes/gdb-mi.el (gdb-control-all-threads)
20971         (gdb-control-current-thread): Force tool bar update.
20972         (gdb-non-stop-handler): New function.
20973         (gdb-init-1): Use it to test if non-stop mode is supported.
20974         Remove unused gdbmi buffer type.
20976 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
20978         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
20979         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
20981 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
20983         * comint.el (comint-exec-1): Check command is non-null first.
20984         Part of gdb-mi.el change (2009-08-28).
20986 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
20988         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
20990 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
20992         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
20993         instead of `dolist' to avoid a recursive require when bootstrapping.
20995 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
20997         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
20999         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
21001         * net/imap.el (imap-send-command): Simplify.
21002         (imap-wait-for-tag): point-max -> buffer-size.
21004         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
21006         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
21007         with constant argument.
21009         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
21011         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
21013         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
21014         Change default, since most of our files don't have a history.
21015         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
21016         the user.
21018         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21019         Add comint-run.
21021         * calc/calc.el: Improve commenting convention.
21022         (calc-digit-map, toplevel): Simplify.
21024         * comint.el (comint-insert-input): Be careful to only set point if we
21025         don't delegate to some other command.
21027         * proced.el (proced-signal-list): Make it an alist.
21028         (proced-grammar-alist): Capitalize names.
21029         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
21030         Disable undo manually and make it read-only.
21031         Use completion-annotate-function.
21033         * minibuffer.el (minibuffer-message): If the current buffer is not
21034         a minibuffer, insert the message in the echo area rather than at the
21035         end of the buffer.
21036         (completion-annotate-function): New variable.
21037         (minibuffer-completion-help): Use it.
21038         (completion--embedded-envvar-table): Environment vars are
21039         always case-sensitive.
21041 2009-08-30  Glenn Morris  <rgm@gnu.org>
21043         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
21044         from fortran-current-defun.
21045         (fortran-beginning-of-subprogram): Be more precise about finding the
21046         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
21047         (fortran-end-of-subprogram): Simplify.
21048         (fortran-current-defun): Use fortran-start-prog-re.
21050 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
21052         * subr.el (do-after-load-evaluation): Simplify.
21054 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
21056         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
21058         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
21059         (vc-rcs-print-log): Use it.
21061         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
21063 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
21065         * paths.el (abbrev-file-name): Move to abbrev.el.
21066         * abbrev.el (abbrev-file-name): Move from paths.el.
21067         Obey user-emacs-directory.
21068         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
21069         user-emacs-directory.
21070         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
21071         abbrev-file-name and calc-settings-file any more.
21072         * startup.el (command-line): Recompute abbrev-file-name and
21073         abbreviated-home-dir.
21074         (normal-no-mouse-startup-screen): Improve the generic code and get rid
21075         of the special code for when C-h bindings haven't been changed.
21076         (display-startup-echo-area-message): Use with-current-buffer.
21077         (command-line-1): Use a list of strings, rather than a list of lists
21078         of strings for longopts.
21080         * files.el (get-free-disk-space): Use / for default-directory.
21082         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
21083         Use with-current-buffer.
21085         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
21086         Recognize immutable variables like most-positive-fixnum.
21087         (byte-compile-setq-default): Check and warn if trying to assign
21088         to an immutable variable, or a non-variable.
21090         * progmodes/cc-vars.el (c-comment-continuation-stars):
21091         * progmodes/cc-engine.el (c-looking-at-bos):
21092         * progmodes/cc-cmds.el (c-toggle-auto-state)
21093         (c-forward-into-nomenclature, c-backward-into-nomenclature)
21094         (c-comment-line-break-function): Add version of obsolescence.
21096 2009-08-28  Juri Linkov  <juri@jurta.org>
21098         * files.el (magic-fallback-mode-alist): Add ZIP magic number
21099         associated with `archive-mode'.
21101         * image.el (image-type-header-regexps): Use only JPEG magic number
21102         to determine JPEG images, and don't use `image-jpeg-p' because
21103         Emacs can display non-JFIF non-Exif JPEG images.
21105 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
21107         * arc-mode.el (archive-mode):
21108         * emacs-lisp/re-builder.el (re-builder-unload-function):
21109         Protect against the default value of `major-mode' being nil.
21111 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
21113         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
21114         Fix typos in docstrings.
21116         * progmodes/js.el (js--macro-decl-re): Doc fix.
21117         (js--plain-method-re, js--split-name): Refloc docstring.
21118         (js--class-styles, js--make-merged-item, js--splice-into-items):
21119         Fix typos in docstrings; reflow docstrings.
21120         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
21121         (js--variable-decl-matcher, js--inside-pitem-p)
21122         (js--parse-state-at-point, js--get-all-known-symbols)
21123         (js--symbol-history, js-find-symbol, js--js-references)
21124         (js--moz-interactor, js--js-encode-value, js--read-tab):
21125         Fix typos in docstrings.
21127 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
21129         * textmodes/reftex.el (reftex-get-file-buffer-force):
21130         * progmodes/verilog-mode.el (verilog-batch-execute-func):
21131         * emulation/viper.el (viper-go-away, viper-set-hooks):
21132         * emacs-lisp/re-builder.el (re-builder-unload-function):
21133         * emacs-lisp/bytecomp.el (byte-compile-file):
21134         * ses.el (ses-unload-function):
21135         * hexl.el (hexl-find-file):
21136         * files.el (normal-mode):
21137         * ehelp.el (with-electric-help):
21138         * autoinsert.el (auto-insert-alist):
21139         * arc-mode.el (archive-mode):
21140         Use (default-value 'major-mode) instead of default-major-mode.
21142         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
21143         * international/mule.el (load-with-code-conversion):
21144         * emacs-lisp/debug.el (debug):
21145         * ediff-vers.el (ediff-rcs-get-output-buffer):
21146         * dired.el (dired-internal-noselect): Don't let-bind
21147         default-major-mode around code that doesn't use it.
21148         E.g. buffer creation via get-buffer-create doesn't use it.
21150 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
21152         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
21153         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
21154         when writing the temp file.  Otherwise, epa-file gets confused.
21155         (tramp-register-file-name-handlers): Make it a defun.  Move also
21156         `epa-file-handler' to the front of `file-name-handler-alist'.
21158 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
21160         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
21161         start right after a ^M.
21162         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
21163         (tramp-completion-file-name-regexp-separate)
21164         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
21165         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
21166         Don't modify last-coding-system-used by accident.
21167         (tramp-completion-file-name-handler): Apply the checks here,
21168         instead during registration.
21169         (tramp-register-file-name-handlers): Rename from
21170         `tramp-register-file-name-handler'.  Register both
21171         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
21172         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
21174 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
21176         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
21177         Remove variable ...
21178         (gdb-init-1, gdb-display-separate-io-buffer)
21179         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
21180         references to it.
21181         (gdb-inferior-io-mode): Use make-comint-in-buffer.
21182         (gdb-inferior-filter): Use comint-output-filter to stop
21183         echoing and remove ^M characters.
21185 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
21187         * emulation/viper-init.el (viper-restore-cursor-type):
21188         * emulation/cua-base.el (cua--update-indications):
21189         Replace default-cursor-type with (default-value 'cursor-type).
21191         * mail/sendmail.el (mail-recover-1):
21192         * international/mule-diag.el (describe-current-coding-system-briefly)
21193         (describe-current-coding-system):
21194         * international/mule-cmds.el (select-safe-coding-system)
21195         (select-message-coding-system)
21196         (set-language-environment-coding-systems, set-locale-environment):
21197         * hexl.el (hexl-insert-multibyte-char):
21198         * dos-w32.el (find-buffer-file-type-coding-system):
21199         * simple.el (what-cursor-position):
21200         Replace uses of default-buffer-file-coding-system
21201         with (default-value 'buffer-file-coding-system).
21203         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
21204         Replace uses of default-cursor-in-non-selected-windows
21205         with (default-value 'cursor-in-non-selected-windows).
21206         Use with-current-buffer.
21208         * mail/feedmail.el: Use CL macros.
21209         (feedmail-run-the-queue, feedmail-send-it-immediately):
21210         * dos-w32.el (find-buffer-file-type): Replace uses of
21211         default-buffer-file-type with (default-value 'buffer-file-type).
21213 2009-08-28  Glenn Morris  <rgm@gnu.org>
21215         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
21216         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
21217         Use default-value of major-mode rather than default-major-mode.
21219 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
21221         * Makefile.in (update-elcfiles): Report left over elc files.
21223         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
21224         expand-file-name and with-current-buffer.
21225         (mail-get-names, mail-directory): Use with-current-buffer.
21227         * vc.el (vc-read-revision): New function.
21228         (vc-version-diff, vc-merge): Use it.
21230 2009-08-27  Sam Steingold  <sds@gnu.org>
21232         * simple.el (kill-do-not-save-duplicates): New user option.
21233         (kill-new): When it is non-nil, and the new string is the same as
21234         the latest kill, set replace to t to avoid duplicates in kill-ring.
21236 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
21238         * net/tramp.el (tramp-handle-process-file): Do not flush all
21239         caches when `process-file-side-effects' is set.
21240         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
21241         instead of `tramp-find-file-exists-command'.
21242         Unset `process-file-side-effects'.
21244 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
21246         * net/tramp.el (tramp-methods): New method "rsyncc".
21247         (top): Add completion function for "rsyncc".
21248         (tramp-message-show-message): New defvar.
21249         (tramp-message, tramp-error): Use it.
21250         (tramp-do-copy-or-rename-file-directly): Extend check for direct
21251         remote copying.
21252         (tramp-do-copy-or-rename-file-out-of-band): Handle new
21253         `tramp-methods' entry `copy-env' of "rsyncc".
21254         (tramp-vc-registered-read-file-names): New defconst.
21255         (tramp-vc-registered-file-names): New defvar.
21256         (tramp-handle-vc-registered): Implement optimization strategy.
21257         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
21258         (tramp-vc-file-name-handler): New defun.
21259         (tramp-get-ls-command, tramp-get-test-command)
21260         (tramp-get-file-exists-command, tramp-get-remote-ln)
21261         (tramp-get-remote-perl, tramp-get-remote-stat)
21262         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
21264         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
21265         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
21266         timestamps.
21267         (tramp-get-file-property): Check for timestamps in
21268         `tramp-cache-inhibit-cache'.
21269         (tramp-set-file-property): Write timestamp.
21271 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
21273         * language/japan-util.el (japanese-symbol-table): Add entries for
21274         cp932-2-byte.
21276         * international/characters.el: Add category `j' to cp932-2-byte.
21278 2009-08-27  Kenichi Handa  <handa@m17n.org>
21280         * international/fontset.el (build-default-fontset-data): New macro.
21281         (setup-default-fontset): Use build-default-fontset-data for CJK,
21282         tibetan, ethiopic, and ipa.
21284 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
21286         * cus-start.el (default-major-mode): Customize `major-mode' instead.
21287         (enable-multibyte-characters): Not customizable any more.
21289         * subr.el (default-mode-line-format, default-header-line-format)
21290         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
21291         (default-direction-reversed, default-truncate-lines)
21292         (default-left-margin, default-tab-width, default-case-fold-search)
21293         (default-left-margin-width, default-right-margin-width)
21294         (default-left-fringe-width, default-right-fringe-width)
21295         (default-fringes-outside-margins, default-scroll-bar-width)
21296         (default-vertical-scroll-bar, default-indicate-empty-lines)
21297         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
21298         (default-fringe-cursor-alist, default-scroll-up-aggressively)
21299         (default-scroll-down-aggressively, default-fill-column)
21300         (default-cursor-type, default-buffer-file-type)
21301         (default-cursor-in-non-selected-windows)
21302         (default-buffer-file-coding-system, default-major-mode)
21303         (default-enable-multibyte-characters): Mark as obsolete.
21305 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
21307         * vc-dir.el (vc-dir-update): Remove debug helper.
21309         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
21311 2009-08-26  Sam Steingold  <sds@gnu.org>
21313         * simple.el (save-interprogram-paste-before-kill): New user option.
21314         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
21315         save the interprogram-paste into kill-ring before overriding it
21316         with the Emacs kill.
21318 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
21320         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
21321         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
21322         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
21323         and move to vc-rcs.el.
21324         (vc-default-next-revision): Rename to vc-rcs-next-revision and
21325         move to vc-rcs.el.
21326         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
21327         (vc-rcs-update-changelog): Remove.
21328         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
21329         and move to vc-rcs.el.
21331         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
21332         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
21333         renaming.
21334         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
21335         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
21336         vc.el, renamed to be RCS specific.
21338         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
21339         New functions.
21340         (vc-cvs-update-changelog): Move here from vc.el.
21342         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
21343         New functions.
21345 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
21347         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
21349 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
21351         * vc-git.el (vc-git-register): Use "git add" for directories.
21352         (vc-git-stash, vc-git-stash-show): New functions.
21353         (vc-git-extra-menu-map): Bind them.
21355         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
21356         directory correctly in case the item is a directory itself.
21358         * vc.el: Document the desired behavior for reverted files in the
21359         `added' state.
21360         (vc-default-prettify-state-info): Remove function, unused.
21362         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
21364 2009-08-26  Glenn Morris  <rgm@gnu.org>
21366         * bindings.el (standard-mode-line-format): Reposition dashes in
21367         which-func entry.  (Bug#4217)
21369         * files.el (enable-local-variables, enable-local-eval)
21370         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
21371         the defcustoms.
21372         (auto-mode-alist, ignored-local-variables)
21373         (save-some-buffers-action-alist): Move risky declarations to the
21374         definitions.
21375         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
21376         (font-lock-defaults, format-alist, imenu--index-alist)
21377         (imenu-generic-expression, input-method-alist, minor-mode-alist)
21378         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
21379         (mode-line-modified, mode-line-mule-info, mode-line-position)
21380         (mode-line-process, mode-line-remote, outline-level)
21381         (parse-time-rules, rmail-output-file-alist)
21382         (special-display-buffer-names, vc-mode):
21383         Move risky declarations to the relevant files.
21384         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
21385         (mode-line-modified, mode-line-process, mode-line-position)
21386         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
21387         * font-core.el (font-lock-defaults):
21388         * format.el (format-alist):
21389         * vc-hooks.el (vc-mode):
21390         * window.el (special-display-buffer-names):
21391         * international/mule-cmds.el (input-method-alist):
21392         Define riskiness here (dumped file) rather than in files.el.
21393         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
21394         * imenu.el (imenu-generic-expression, imenu--index-alist):
21395         * outline.el (outline-level):
21396         * time.el (display-time-string):
21397         * calendar/parse-time.el (parse-time-rules):
21398         * mail/rmailout.el (rmail-output-file-alist):
21399         Autoload riskiness here, rather than placing in files.el.
21401 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
21403         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
21405 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
21407         * simple.el (process-file-side-effects): New defvar.
21409         * dired-aux.el (dired-show-file-type):
21410         * vc.el (vc-diff-internal):
21411         * vc-arch.el (vc-arch-diff):
21412         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
21413         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
21414         * vc-git.el (vc-git-registered, vc-git-working-revision)
21415         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
21416         (vc-git--empty-db-p):
21417         * vc-hooks.el (vc-user-login-name):
21418         * vc-svn.el (vc-svn-registered, vc-svn-state)
21419         (vc-svn-dir-extra-headers, vc-svn-find-revision):
21420         * progmodes/grep.el (grep-probe): Let-bind
21421         `process-file-side-effects' with nil.
21423         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
21425         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
21426         daemon.  Replace ping by checking for running service for bluez
21427         and zeroconf.  (Bug#4239)
21429 2009-08-25  Kevin Ryde  <user42@zip.com.au>
21431         * net/dig.el (dig): Add autoload cookie.
21433 2009-08-25  Glenn Morris  <rgm@gnu.org>
21435         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
21436         load-history for absolute file-names.
21437         (byte-compile-file-form-require): Warn about use of the cl package.
21439         * format.el (format-alist): Doc fix.
21441         * play/bubbles.el (top-level): Don't require cl at run-time.
21443         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
21444         run-time cl).
21446 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
21448         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
21449         from cl package.
21450         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
21452 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
21454         * calc/calc-alg.el (math-trig-rewrite)
21455         (math-hyperbolic-trig-rewrite): New functions.
21456         (calc-simplify): Simplify trig functions when asked.
21458 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
21460         * diff-mode.el (diff-find-source-location): Avoid goto-line.
21462 2009-08-24  Kenichi Handa  <handa@m17n.org>
21464         * language/ind-util.el (mapthread): Delete it.
21465         (combinatorial): New function.
21466         (indian--puthash-cv): Use combinatorial instead of mapthread.
21468 2009-08-22  Kevin Ryde  <user42@zip.com.au>
21470         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
21471         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
21472         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
21473         Clarify docstring that the value is strings not symbols.
21474         (checkdoc-list-of-strings-p): New function.
21476 2009-08-22  Glenn Morris  <rgm@gnu.org>
21478         * files.el (auto-mode-alist):
21479         * hippie-exp.el (he-concat-directory-file-name):
21480         * lpr.el (lpr-windows-system, printer-name):
21481         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
21482         * ps-print.el (ps-windows-system):
21483         * startup.el (command-line):
21484         * emulation/viper-ex.el (viper-glob-function):
21485         * international/mule-cmds.el (set-language-environment-coding-systems):
21486         * net/ange-ftp.el (ange-ftp-write-region):
21487         * obsolete/fast-lock.el (fast-lock-cache-name):
21488         Remove code for defunct system-types emx, macos, mswindows, next-mach,
21489         unisoft-unix, vax-vms, win32, w32.
21491         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
21492         given name if the pattern is not more specific.
21494         * calendar/lunar.el (lunar-phase-names): New option.
21495         (lunar-phase): Doc fix.
21496         (lunar-cycles-per-year): New constant.
21497         (lunar-index): New function.
21498         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
21499         (lunar-phase-name): Use lunar-phase-names.
21500         (calendar-lunar-phases): Use format.
21501         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
21503         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
21504         Copy imenu-example--name-and-position function here for own use.
21505         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
21507         * bs.el (bs--redisplay):
21508         * cus-edit.el (custom-redraw):
21509         * ibuffer.el (ibuffer-bury-buffer):
21510         * server.el (server-goto-line-column):
21511         * startup.el (command-line-1):
21512         * strokes.el (strokes-xpm-for-stroke):
21513         * term.el (term-display-buffer-line):
21514         * view.el (View-goto-line):
21515         * calc/calc.el (calc-do, calc-trail-buffer):
21516         * play/gamegrid.el (gamegrid-add-score-insecure):
21517         * progmodes/ada-mode.el (ada-compile-goto-error):
21518         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
21519         (ebrowse-select-1st-to-9nth):
21520         * progmodes/cperl-mode.el (cperl-time-fontification):
21521         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
21522         * progmodes/gud.el (gud-display-line):
21523         (idlwave-shell-display-line):
21524         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
21525         * progmodes/make-mode.el (makefile-browser-toggle):
21526         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
21527         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
21528         * textmodes/picture.el (picture-draw-rectangle):
21529         * textmodes/reftex-index.el (reftex-index-goto-letter):
21530         (reftex-select-jump-to-previous):
21531         * textmodes/reftex-sel.el (reftex-find-start-point)
21532         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
21533         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
21534         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
21535         * textmodes/tex-mode.el (tex-compilation-parse-errors):
21536         * textmodes/two-column.el (2C-associated-buffer):
21537         Use forward-line rather than goto-line.
21539         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
21540         goto-line.
21542         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
21543         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
21544         (quick-check-list-to-regexp): Declare.
21546         * progmodes/make-mode.el (makefile-browser-insert-selection):
21547         Use goto-char rather than goto-line.
21549         * progmodes/prolog.el (compilation-error-regexp-alist)
21550         (compilation-forget-errors): Declare.
21552 2009-08-22  Juri Linkov  <juri@jurta.org>
21554         * progmodes/grep.el (lgrep, rgrep): At the beginning
21555         set `dir' to `default-directory' unless `dir' is a non-nil
21556         readable directory.  (Bug#4052)
21557         (lgrep, rgrep): Change a weird way to report an error
21558         from using `read-string' to using `error'.
21559         Instead of using interactive arguments in the function body,
21560         add new argument `confirm'.
21562 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
21564         * textmodes/remember.el (remember-buffer):
21565         * progmodes/cperl-mode.el (cperl-vc-header-alist):
21566         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
21567         (icalendar-extract-ical-from-buffer):
21568         * net/newst-treeview.el (newsticker-groups-filename):
21569         * net/newst-backend.el (newsticker-cache-filename):
21570         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
21571         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
21572         (speedbar-add-ignored-path-regexp, speedbar-line-path)
21573         (speedbar-buffers-line-path, speedbar-path-line)
21574         (speedbar-buffers-line-path):
21575         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
21576         (epg-sign-keys):
21577         * epa.el (epa-display-verify-result):
21578         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
21580 2009-08-21  Glenn Morris  <rgm@gnu.org>
21582         * progmodes/js.el (inferior-moz-process): Fix declaration.
21584         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
21586         * obsolete/rnewspost.el (news-mail-reply):
21587         Use goto-char rather than goto-line.
21589         * term/ns-win.el (ns-open-file-select-line):
21590         Use line-beginning-position rather than goto-line.
21592         * apropos.el (apropos-command):
21593         * ehelp.el (electric-helpify):
21594         * printing.el (pr-show-setup):
21595         * strokes.el (strokes-help):
21596         * tutorial.el (tutorial--describe-nonstandard-key)
21597         (tutorial--detailed-help):
21598         * woman.el (woman-mini-help, woman-display-extended-fonts):
21599         * calc/calc-help.el (calc-describe-key):
21600         * emulation/edt.el (edt-electric-helpify):
21601         * international/mule-diag.el (mule-diag):
21602         * play/yow.el (apropos-zippy):
21603         * progmodes/python.el (python-describe-symbol):
21604         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
21605         * textmodes/table.el (*table--cell-describe-mode)
21606         (*table--cell-describe-bindings):
21607         Use help-print-return-message rather than the now obsolete alias.
21609         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
21610         (calendar-cursor-to-visible-date):
21611         * play/5x5.el (5x5-position-cursor):
21612         * play/decipher.el (decipher):
21613         * play/gomoku.el (gomoku-goto-xy):
21614         * play/landmark.el (lm-goto-xy):
21615         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
21616         (mpuz-paint-digit):
21617         Use forward-line, not goto-line.
21619         * mail/rmail.el (rmail-obsolete): Delete custom group.
21620         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
21621         (rmail-remote-password, rmail-remote-password-required):
21622         Remove unneeded :set-after and :set properties.
21624 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
21626         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
21628 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
21630         * loadup.el: Remove leftover macos code.
21632         * vc-git.el (vc-git-annotate-command): Run asynchronously.
21633         Explicitly pass the date format to git blame so that user local
21634         so that the output format can be parsed.
21636 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
21638         * net/dbus.el (top): Don't check for (getenv
21639         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
21641 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
21643         * log-edit.el (log-edit-strip-single-file-name): New var.
21644         (log-edit-insert-changelog): Use it.  Bug#3571.
21646 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
21648         * subr.el (read-passwd): Use read-key so keypad keys work as well.
21649         Bug#3287.
21651         * help.el (help-print-return-message): Rename from
21652         print-help-return-message.
21654         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
21655         cvs-mode-map parent hack.
21656         (log-view-mode): Derive from special-mode.
21658         * linum.el (linum-mode): window-size-change-functions is redundant.
21659         Adapt to new window-configuration-change-hook behavior.
21660         (linum-after-size, linum-after-config): Remove.
21662         * imenu.el (imenu-example--name-and-position)
21663         (imenu-example--lisp-extract-index-name)
21664         (imenu-example--create-lisp-index, imenu-example--create-c-index):
21665         Mark as obsolete.
21667         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
21668         (inferior-prolog-mode): Use it.
21669         (inferior-prolog-load-file): Reset list of errors.
21671 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
21673         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
21675         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
21677 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
21679         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
21680         is running already.
21682 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
21684         * subr.el (listify-key-sequence-1): Use normal syntax since those
21685         integers are nowadays always represented by the same (positive) number
21686         on all platforms.
21687         (read-key-empty-map): New const.
21688         (read-key-delay): New var.
21689         (read-key): New function.
21690         (force-mode-line-update): Use with-current-buffer.
21691         (locate-user-emacs-file): Don't forget to abbreviate the file name.
21692         (start-process-shell-command, start-file-process-shell-command):
21693         Discourage the use of command-args.
21695 2009-08-19  Glenn Morris  <rgm@gnu.org>
21697         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
21699 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
21701         * simple.el (choose-completion-string): Don't rely on
21702         minibuffer-completing-file-name and ad-hoc checks to decide whether
21703         to continue completion or not.
21705         * minibuffer.el (minibuffer-hide-completions): New function.
21706         (completion--do-completion): Use it.
21707         (completions-annotations): New face.
21708         (completion--insert-strings): Use it.
21709         (completion-pcm--delim-wild-regex): Add docstring.
21710         (completion-pcm--string->pattern): Add support for 0-width delimiters
21711         in completion-pcm--delim-wild-regex.
21713 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
21715         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
21716         Remove unused var `buffer-modified-p'.
21718         * minibuffer.el (completion--do-completion): Move point for the #b001
21719         case as well (bug#4176).
21720         (minibuffer-complete, minibuffer-complete-word): Don't move point.
21722 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
21724         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
21725         and :session buses.
21727 2009-08-18  Kenichi Handa  <handa@m17n.org>
21729         * international/ucs-normalize.el (ucs-normalize-version):
21730         Change to 1.1.
21731         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
21732         (utf-8-hfs): Make it perform normalization on encoding too.
21734         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
21735         (sentence-end-without-space): Delete duplicated chars.
21736         (sentence-end-base): Likewise.
21738         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
21739         (html-mode): Delete duplicated chars from sentence-end-base.
21741         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
21742         (texinfo-mode): Delete duplicated chars from sentence-end-base.
21744 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
21746         * files.el (hack-one-local-variable): If the mode function is for
21747         a minor mode, pass it an argument (Bug#4148).
21749 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
21751         * net/tramp.el (tramp-register-completion-file-name-handler):
21752         Check also for (member 'partial-completion completion-styles).
21754 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
21756         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
21757         abbrev (Bug#3943).
21759 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
21761         * progmodes/cperl-mode.el: Merge upstream 6.2.
21762         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
21763         (cperl-forward-re): Check cperl-brace-recursing.
21764         (cperl-highlight-charclass): New function.
21765         (cperl-find-pods-heres): Use it.
21766         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
21767         (cperl-beautify-regexp-piece): Fix column calculation.
21768         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
21769         (cperl-beautify-level): Don't process entire regexp.
21770         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
21771         calling man.
21772         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
21773         (cperl-init-faces): Build a list in the normal way.
21775 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
21777         * calendar/parse-time.el (parse-time-string-chars): Save match
21778         data.
21780 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
21782         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
21783         (sql-product): Use it.
21784         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
21785         (sql-set-product): Add completion.
21786         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
21787         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
21788         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
21789         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
21790         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
21791         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
21792         (sql-highlight-db2-keywords): Remove.
21793         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
21794         (sql-highlight-product): Use derived-mode-p.
21795         (sql-set-sqli-buffer): Use with-current-buffer.
21796         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
21797         Simplify.
21799         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
21801         * term.el: Fix commenting convention, turn comments into docstrings.
21803 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
21805         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
21807 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
21809         * calendar/parse-time.el (parse-time-string-chars): Compute using
21810         character classes, to handle non-ascii characters (Bug#3190).
21812 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
21814         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
21815         another heredoc if the user adds another < (Bug#3226).
21817         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
21818         Don't initialize based on window-system (Bug#4124).
21820         * facemenu.el (facemenu-read-color): Use a completion function
21821         that accepts any defined color, such as RGB triplets (Bug#3677).
21823         * files.el (get-free-disk-space): Change fallback default
21824         directory to /.  Expand DIR argument before switching to fallback.
21825         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
21827 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
21829         * files.el (load-library): Doc fix.
21831 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
21833         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
21834         (viper-if-string): Redefine C-s in the minibuffer to insert the last
21835         incremental search string.
21837         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
21838         XEmacs.
21840         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
21841         (ediff-merge-region-is-non-clash)
21842         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
21843         Also check if the job is really a merge job.
21845         * ediff.el (ediff-current-file): New function.
21847 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
21849         * progmodes/js.el: Edit docstrings throughout to follow Emacs
21850         conventions.
21851         (js-insert-and-indent): Delete function.
21852         (js-mode-map): Don't bind keys to js-insert-and-indent.
21853         (js-beginning-of-defun): Rename from js--beginning-of-defun.
21854         (js-end-of-defun): Rename from js--end-of-defun.
21855         (js-auto-indent-flag): Delete variable.
21857 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
21859         * progmodes/js.el: Remove proclaim statement.
21860         Defvar which-func-imenu-joiner-function to silence compiler.
21862         * files.el (auto-mode-alist): Use js-mode for .js files.
21864         * progmodes/js2-mode.el: Remove file.
21866         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
21868         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
21870         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
21872 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
21873             Karl Landstrom  <karl.landstrom@brgeight.se>
21875         * progmodes/js.el: New file.
21877 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
21879         * timezone.el (timezone-parse-date): Add ability to understand ISO
21880         basic format (minimal separators) dates in addition to the
21881         already-supported extended format dates.
21883 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
21885         * international/ucs-normalize.el: Add a `coding' file variable.
21887         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
21889 2009-08-14  Sam Steingold  <sds@gnu.org>
21891         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
21893 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
21895         * faces.el (help-argument-name): Define it here instead of
21896         help-fns.el, because in daemon mode help-fns.el may be loaded when
21897         faces are still uninitialized (Bug#1078).
21899         * help-fns.el (help-argument-name): Move defface to faces.el.
21901 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
21903         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
21904         create buffer with a pty but no process so that GDB can make the
21905         inferior the controlling process.
21907 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
21909         * international/ucs-normalize.el: New file.
21911 2009-08-13  Richard Stallman  <rms@gnu.org>
21913         * mail/rmail.el (rmail-get-attr-names):
21914         Accept an attribute header that is too short.
21916         * mail/rmail.el (rmail-forget-messages):
21917         Ignore nil elt in rmail-message-vector.  Use dotimes.
21919         * progmodes/compile.el (compilation-goto-locus):
21920         Use next-error-move-function.
21922         * simple.el (next-error-move-function): New variable.
21924 2009-08-12  Juri Linkov  <juri@jurta.org>
21926         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
21927         always non-nil.  (Bug#4052)
21929         * replace.el (read-regexp): Return empty string when
21930         `default-value' is nil.
21931         (keep-lines-read-args): Don't use empty string as the
21932         default value for `read-regexp'.  (Bug#2495)
21934 2009-08-12  Juri Linkov  <juri@jurta.org>
21936         * international/mule-cmds.el (ucs-insert): Change arguments
21937         from `arg' to `character', `count', `inherit' to be the same
21938         as in `insert-char'.  Doc fix.  (Bug#4039)
21940         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
21942 2009-08-12  Juri Linkov  <juri@jurta.org>
21944         * files-x.el: New file.
21946         * files.el: Move code that deals with adding/deleting
21947         file/directory-local variables to files-x.el.
21949         * Makefile.in (ELCFILES): Add files-x.elc.
21951 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
21953         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
21954         to use `goto-line'.
21955         (gdb-place-breakpoints, gdb-get-location): Rewritten without
21956         `goto-line'.
21957         (gdb-invalidate-disassembly): Do not refresh upon receiving
21958         'update signal.  Instead, update all disassembly buffers only after
21959         threads list.
21960         (gdb): Send -target-detach when buffer is killed (Bug#3794).
21961         (gdb-starting): Move -data-list-register-names...
21962         (gdb-stopped): ...here so it's sent when first thread stops.
21963         (gdb-registers-handler-custom): Do nothing if register names are
21964         unknown yet.
21966         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
21967         from `gdb-mi.el' to avoid extra tangling.
21969         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
21970         change which breaks `gud-def' definitions used in `gdb'.
21971         (gdb-update-gud-running): No extra fuss for updating frame number.
21973 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
21975         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
21976         (describe-language-environment-map, setup-language-environment-map)
21977         (set-coding-system-map): Move initialization into declaration.
21978         (set-language-info-alist): Last arg to define-key-after can be skipped.
21980         * international/quail.el (quail-completion-1): Simplify.
21981         (quail-define-rules): Use slightly more compact code.
21982         (quail-insert-decode-map): Propertize keys, compact columns.
21984         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21985         Add goto-line.
21987 2009-08-10  Miles Bader  <miles@gnu.org>
21989         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
21990         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
21991         (js2-instance-member, js2-private-member, js2-private-function-call)
21992         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
21993         (js2-magic-paren, js2-external-variable):
21994         Remove "-face" suffix from face names.
21995         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
21996         (js2-highlight-undeclared-vars, js2-peek-token)
21997         (js2-parse-function-params, js2-mode-show-errors)
21998         (js2-mode-show-warnings, js2-make-magic-delimiter)
21999         (js2-mode-highlight-magic-parens): Update to use new face names.
22001 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
22003         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
22004         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
22006 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
22008         * subr.el: Provide hashtable-print-readable.
22010         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
22011         hs-c-like-adjust-block-beginning.
22012         (hs-hide-block-at-point): Stop hiding at the beginning of
22013         hs-block-end-regexp (Bug#700).
22015 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
22017         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
22018         a macro.
22019         (gdb-registers-handler-custom): Do not fail when register names
22020         are unavailable.
22022 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
22024         * progmodes/gdb-mi.el (gdb-control-all-threads)
22025         (gdb-control-current-thread): Interactive setters for
22026         `gdb-gud-control-all-threads' to use in menu.
22027         (gdb-show-run-p): Show «Go» when process is not active.
22028         (gud-tool-bar-map): Add non-stop/A,T indicator.
22029         Uses gud/thread.xpm and gud/all.xpm.
22031 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
22033         * net/net-utils.el (net-utils-font-lock-keywords): New var.
22034         (nslookup-font-lock-keywords): Make it a variable.
22035         (net-utils-mode): New mode for viewing diagnostic network output.
22036         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
22037         (net-utils-run-simple): New function.
22038         (ifconfig, iwconfig, netstat, arp, route): Use it.
22040 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
22042         * progmodes/gdb-mi.el (gdb-read-memory-custom)
22043         (gdb-memory-set-address, def-gdb-set-positive-number)
22044         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
22045         after changing settings.
22046         (gdb-invalidate-disassembly): Update when first shown.
22047         (gdb-edit-locals-value): Fix.
22048         (gdb-registers-handler-custom): Print registers in right order and
22049         allow changing register values (only for current thread yet).
22050         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
22051         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
22052         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
22053         (gdb-locals-handler-custom, gdb-registers-handler-custom):
22054         Thread info in mode name.
22055         (gdb-registers-mode-map): TAB to switch to locals.
22057 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
22059         * mail/rmail.el (rmail-add-mbox-headers)
22060         (rmail-set-message-counters-counter): Search for
22061         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
22063 2009-08-08  Glenn Morris  <rgm@gnu.org>
22065         * Makefile.in (ELCFILES): Update.
22067 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
22069         * mail/sendmail.el (mail-yank-original):
22070         Set buffer-file-coding-system from the one used by the message whose
22071         text is yanked.
22073         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
22074         to "windows" when "pgnuplot" is used.
22075         (calc-graph-command, calc-gnuplot-command, calc-graph-init):
22076         Don't call accept-process-output if "pgnuplot" is used.
22077         (calc-graph-init): Don't send -display and -geometry to
22078         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
22079         running "pgnuplot -V" with shell-command-to-string.
22081         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
22082         the default.
22084 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
22086         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
22087         org/org-latex.elc.
22089 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
22091         * vc-dispatcher.el (vc-resynch-window): Update comment.
22093         * term.el (term-handle-ansi-escape): Add comments with the
22094         terminfo capabilities implemented.
22096 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
22098         * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
22099         (gdb-var-create-handler): Rewritten using JSON parser.
22100         (gdb-propertize-header): Move earlier.
22101         (gdb-set-header): Remove to avoid duplication.
22102         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
22103         Refresh disassembly buffers only after threads list have been
22104         update.
22105         (gdb-threads-header, gdb-registers-header): Per-buffer header line
22106         variables.
22108 2009-08-04  Juri Linkov  <juri@jurta.org>
22110         * files.el: Commands to add/delete file/directory-local variables.
22111         (read-file-local-variable, read-file-local-variable-value)
22112         (read-file-local-variable-mode, modify-file-local-variable)
22113         (modify-file-local-variable-prop-line)
22114         (modify-dir-local-variable): New functions.
22115         (add-file-local-variable, delete-file-local-variable)
22116         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
22117         (add-dir-local-variable, delete-dir-local-variable)
22118         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
22119         (copy-dir-locals-to-file-locals-prop-line): New commands.
22121 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
22123         * abbrev.el (insert-abbrev-table-description): Prettify output.
22124         Suggested by Karl Chen.
22126 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
22128         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
22129         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
22130         (gdb-overlay-arrow-position, gdb-thread-position)
22131         (gdb-disassembly-position): Declare variables.
22132         (gdb-wait-for-pending): Function now.
22133         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
22134         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
22135         compilation goes smoothly.
22136         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
22137         (gdb-non-stop-setting): New customization setting which replaces
22138         `gdb-non-stop' so changing it doesn't break active GDB session.
22139         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
22140         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
22141         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
22142         (gdb-show-threads-by-default): New customization options.
22143         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
22144         routines.
22145         (gdb-get-buffer-create): Send buffers update signal when they are
22146         created.
22147         (gdb-invalidate-locals, gdb-invalidate-registers)
22148         (gdb-invalidate-breakpoints)
22149         (gdb-invalidate-threads, gdb-invalidate-disassembly)
22150         (gdb-invalidate-memory): Accept update signal.
22151         (gdb-current-context-command): Use --frame option.
22152         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
22153         Implement `gdb-frame-number' selection logic.
22154         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
22155         whether to show GUD toolbar buttons.
22156         (gdb-thread-exited): Unselect current thread when it exits.
22157         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
22158         (gdb-mark-line): Routine which sets overlay arrow or inverses
22159         video on fringeless displays.
22160         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
22161         to build aligned columns of data in GDB buffers and set text
22162         properties line-by-line.
22163         (gdb-invalidate-breakpoints)
22164         (gdb-breakpoints-list-handler-custom)
22165         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
22166         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
22167         (gdb-registers-handler-custom): Align data columns.
22168         (gdb-locals-handler-custom): Now prints data like in variable
22169         declarations.
22170         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
22171         Remove confusing buttons.
22172         (gdb-invalidate-threads): Append --frame.
22173         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
22174         between breakpoints/threads buffers.
22175         (gdb-set-window-buffer): Now can ignore dedicated windows.
22176         (gdb-propertize-header): Use `gdb-set-window-buffer'.
22177         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
22178         (def-gdb-thread-buffer-gud-command): Replaces
22179         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
22180         for fine thread control.
22181         (gdb-preempt-existing-or-display-buffer): New function used to
22182         display bound buffers without breaking window layout.
22183         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
22184         (gdb-select-frame): New version of `gdb-frames-select' which now
22185         sets `gdb-frame-number' so commands may use --frame option instead
22186         of inner debugger state.
22187         (gdb-frame-handler): Do not set `gdb-frame-number'.
22188         (gdb-threads-mode-map): Select threads with mouse.
22190         * progmodes/gud.el (gdb-gud-context-call): Declare function to
22191         avoid compilation warning.
22192         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
22193         `gdb-show-stop-p`.
22195         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
22196         Argument `key' renamed to `buffer-type'.
22197         (gdb-current-context-buffer-name): Do not add thread info to
22198         buffer name when no thread is selected.
22199         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
22200         command (bug 3794).
22201         (gdb-thread-selected): Handle `=thread-selected' notification.
22202         (gdb-wait-for-pending): New macro to deal with congestion problems.
22203         (gdb-breakpoints-list-handler-custom): Don't fail on pending
22204         breakpoints.
22205         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
22206         This fixes problem similar to one described in bug 3947.
22207         (gud-menu-map): More menu items.
22208         (gdb-init-1): Reset `gdb-thread-number' to nil.
22210         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
22211         non-stop settings.
22213         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
22214         (gdb-current-context-command): Do not append --thread if
22215         `gdb-thread-number' is nil.
22216         (gdb-running-threads-count, gdb-stopped-threads-count):
22217         New variables.
22218         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
22219         (gdb-stopped-hooks, gdb-switch-when-another-stopped):
22220         New customization options.
22221         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
22222         GUD commands.
22223         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
22224         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
22225         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
22226         set `gdb-thread-number' and update `gud-running' properly.
22227         (gdb-running): Update threads list when new threads appear.
22228         (gdb-stopped): Support non-stop operation and new thread switching
22229         logic.
22230         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
22231         (gdb-json-partial-output): New set of JSON routines.
22232         (def-gdb-auto-update-trigger): New `signal-list' optional
22233         argument.
22234         (gdb-thread-list-handler-custom): Update `gud-running',
22235         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
22236         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
22237         (gdb-continue-thread, gdb-step-thread): New commands for fine
22238         thread execution control.
22239         (gud-menu-map): New menu items to switch non-stop options.
22240         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
22241         (gdb-send): Mimic RET properly (bug 3794).
22243         * progmodes/gdb-mi.el (gdb-rules-name-maker)
22244         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
22245         gdb-buffer-rules.
22246         (def-gdb-auto-update-handler): New nopreserve optional argument.
22247         (gdb-stack-list-frames-custom): Print stack from top to bottom.
22249         * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
22250         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
22251         (gdb-parent-mode): New mode to derive other GDB modes from.
22252         (gdb-display-disassembly-for-thread)
22253         (gdb-frame-disassembly-for-thread): New commands for threads
22254         buffer.
22256         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
22257         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
22258         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
22259         (gdb-update): We now store all GDB buffers in a list so that they
22260         can be updated by traversing a list instead of calling invalidate
22261         triggers explicitly.
22262         (def-gdb-trigger-and-handler): New macro to define trigger-handler
22263         pair for GDB buffer.
22264         (gdb-stack-buffer-name): Add thread information.
22265         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
22266         handle pending triggers.
22267         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
22268         (def-gdb-thread-buffer-simple-command)
22269         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
22270         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
22271         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
22272         New commands which show buffers bound to thread.
22273         (gdb-stack-list-locals-regexp): Remove unused regexp.
22275         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
22276         (gdb-locals-buffer-name, gdb-registers-buffer-name)
22277         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
22278         to (gud-comint-buffer) in *-buffer-name functions
22279         because (gdb-get-target-string) already does that.
22280         (gdb-locals-handler-custom, gdb-registers-handler-custom)
22281         (gdb-changed-registers-handler): Rewritten without regexps.
22283         * progmodes/gdb-mi.el: Basic thread selection support.
22284         (gdb-thread-number): New variable.
22285         (gdb-current-context-command): New macro which adds --thread
22286         option to command.
22287         (gdb-threads-mode-map): Select thread with SPC.
22288         (gdb-thread-list-handler-custom): Mark current thread with overlay
22289         arrow.  Synchronize GDB thread and Emacs thread.
22290         (gdb-select-thread): New command which selects current thread.
22291         (gdb-invalidate-frames, gdb-invalidate-locals)
22292         (gdb-invalidate-registers): Use --thread option.
22294 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
22296         * net/tramp.el (top): Make check for tramp-gvfs loading more
22297         robust.  (Bug#3977)
22298         (tramp-handle-insert-file-contents): `unwind-protect' must be
22299         inside `with-parsed-tramp-file-name'.
22301         * net/tramp-gvfs.el (top): Remove superfluous message when loading
22302         fails.
22304 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
22306         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
22307         directory if CLASSPATH is not set.
22309 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
22311         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
22312         New defconst.
22313         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
22315 2009-08-02  Kevin Ryde  <user42@zip.com.au>
22317         * net/newst-backend.el (newsticker--raw-url-list-defaults):
22318         Update freshmeat link.  Delete newsforge.com as it seems gone.
22320 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
22322         * select.el (x-set-selection): Doc fix (Bug#4021).
22324         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
22326         * help-fns.el (describe-variable): Treat list return values from
22327         dir-locals-find-file properly (Bug#4005).
22329 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
22331         * net/tramp.el (tramp-debug-message): Print also microseconds.
22333 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
22335         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
22336         or END is non-nil.
22337         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
22338         (tramp-get-debug-buffer): Change `outline-regexp' according to new
22339         format.
22341         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
22342         (tramp-get-file-property): Use it.
22344         * autorevert.el (auto-revert-handler):
22345         Allow `auto-revert-tail-mode' for remote files.
22347 2009-08-02  Jason Rumney  <jasonr@gnu.org>
22349         * minibuffer.el (read-file-name): Treat confirm options to
22350         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
22352 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
22354         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
22355         (font-lock-variable-name-face, font-lock-constant-face):
22356         Darken the colors for light backgrounds.
22358 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
22360         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
22361         month names.  (Bug#3987)
22363 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
22365         * simple.el (line-move-finish): Pass whole number to
22366         line-move-to-column.
22367         (line-move-visual): Perform hscroll to the recorded position.
22369 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
22371         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
22373 2009-07-29  Alan Mackenzie  <acm@muc.de>
22375         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
22377 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
22379         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
22380         (gdb-place-breakpoints): Use full path when setting breakpoints.
22382 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
22384         * calc/calc.el (calc-mode-map): Add keybinding for
22385         `calc-transpose-lines'.
22387 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
22389         * calc/calc-misc.el (calc-transpose-lines): New function.
22391 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
22393         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
22394         Simplify check for out-of-band methods.
22395         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
22396         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
22398 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
22400         * vc-git.el (vc-git-checkin): Fix typo.
22402 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
22404         * progmodes/js2-mode.el: New file.
22406 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
22408         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
22409         (gud-menu-map): Adjust tooltip accordingly.
22411 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
22413         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
22414         (vc-bzr-log-view-mode): Adjust log-view-file-re.
22416         * add-log.el (change-log-mode-map): Add a menu.
22418 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
22420         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
22421         function returns nil.
22422         (dbus-handle-event): Handle special return value :ignore.
22423         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
22425 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
22427         * view.el (view-mode-enable): Don't define Helper-return-blurb if
22428         it's not needed.
22430 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
22432         Fix Bug#3888:
22434         * w32-vars.el (x-select-enable-clipboard): Doc fix.
22436         * term/pc-win.el (x-display-name, x-colors)
22437         (x-select-enable-clipboard, x-select-text): Doc fix.
22439         * term/common-win.el (x-display-name, x-colors): Doc fix.
22441         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
22442         (xw-defined-colors): Doc fix.
22444         * w32-fns.el (x-select-text, x-setup-function-keys)
22445         (x-get-selection, x-set-selection): Doc fix.
22447         * term/x-win.el (x-select-text, x-setup-function-keys)
22448         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
22450         * select.el (x-set-selection): Doc fix.
22452 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
22454         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
22455         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
22456         "IsNSSSupportAvailable" method is not available.
22457         Reported by Steve Youngs <steve@sxemacs.org>.
22459 2009-07-24  Kenichi Handa  <handa@m17n.org>
22461         * international/characters.el: Fix setting of category ?C, ?|, ?K,
22462         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
22463         (build-unicode-category-table): Fix range checks.
22465 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
22467         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
22468         the buffer we try to sync is current when calling
22469         vc-resynch-buffer.
22471         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
22472         not show up to date files.
22474 2009-07-24  Glenn Morris  <rgm@gnu.org>
22476         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
22477         Add autoload cookies.  If necessary, initialize.
22478         (elint-log): Handle non-file buffers.
22479         (elint-initialize): Add optional argument to reinitialize.
22480         (elint-find-builtin-variables): Save excursion.
22482 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
22484         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
22485         for Lint.
22487 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
22489         * vc.el (vc-print-log-internal): New function, split out from ...
22490         (vc-print-log): ... here.
22491         (vc-dir-move-to-goal-column): Declare.
22493         * vc-git.el (vc-git-add-signoff): New variable.
22494         (vc-git-checkin): Use it.
22495         (vc-git-toggle-signoff): New function.
22496         (vc-git-extra-menu-map): Bind it to menu.
22497         (vc-git--run-command-string): Accept a nil FILE argument.
22498         (vc-git-stash-list): New function.
22499         (vc-git-dir-extra-headers): Use it.
22501 2009-07-23  Glenn Morris  <rgm@gnu.org>
22503         * help-fns.el (describe-variable): Describe ignored and risky local
22504         variables in a similar way to that in which we describe safe ones.
22506         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
22507         (byte-compile-output-file-form, byte-compile-output-docform)
22508         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
22509         Give some more local variables with common names a "bytecomp-" prefix,
22510         so as not to shadow things during compilation.
22511         * emacs-lisp/cl-macs.el (load-time-value)
22512         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
22513         `outbuffer' to `bytecomp-outbuffer'.
22515         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
22516         since the next two variables cover them automatically now.
22517         (elint-builtin-variables, elint-autoloaded-variables): New.
22518         (elint-unknown-builtin-args): Remove all members, since they can be
22519         parsed automatically now.
22520         (elint-extra-errors): New.
22521         (elint-env-add-env, elint-env-add-macro): Use cadr.
22522         (elint-current-buffer): Use or.  Change final message.
22523         (elint-get-top-forms): Use line-end-position.
22524         (elint-init-env): Use cadr.  Handle autoload, declare-function,
22525         and defalias.
22526         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
22527         (regexp-assoc): Remove unused function.
22528         (elint-top-form): Set elint-current-pos, to record the start of the
22529         top-level form, for compilation-mode.
22530         (elint-form): Trap errors in macro expansion.  Use dolist.
22531         (elint-unbound-variable): Use elint-builtin-variables and
22532         elint-autoloaded-variables.
22533         (elint-get-args): Use cadr, or.
22534         (elint-check-cond-form): Use dolist, cadr.
22535         (elint-check-condition-case-form): Doc fix.  Use cadr.
22536         Use elint-extra-errors.
22537         (elint-log): New function.
22538         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
22539         Distinguish errors and warnings.
22540         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
22541         Use a bytecomp-style format.
22542         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
22543         (elint-get-log-buffer): Use compilation mode.  Disable undo.
22544         Don't truncate lines.
22545         (elint-initialize): Set builtin and autoloaded variable lists.
22546         Only process elint-unknown-builtin-args if non-nil.
22547         (elint-find-builtin-variables, elint-find-autoloaded-variables):
22548         New functions.
22549         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
22551 2009-07-22  Kevin Ryde  <user42@zip.com.au>
22553         * net/newst-backend.el (newsticker--parse-atom-1.0)
22554         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
22555         (newsticker--parse-rss-1.0):
22556         * progmodes/idlwave.el (idlwave-mode):
22557         * progmodes/idlw-shell.el (idlwave-shell-mode):
22558         * progmodes/vera-mode.el (vera-mode):
22559         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
22560         * progmodes/vhdl-mode.el (vhdl-mode):
22561         * textmodes/table.el (table-generate-source)
22562         (table--warn-incompatibility):
22563         Hyperlink urls in docstrings with URL `...'.
22565 2009-07-22  Glenn Morris  <rgm@gnu.org>
22567         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
22568         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
22569         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
22570         Remove leading * from defcustom docs.
22572         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
22574         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
22575         defcustom doc.
22576         (list-load-path-shadows): Optionally, just return shadows as a string.
22578         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
22580 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
22582         * mail/rmailedit.el (rmail-edit-mode):
22583         Use auto-save-include-big-deletions.
22585         * mail/rmail.el (rmail-variables):
22586         Use auto-save-include-big-deletions.
22588         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
22589         changes.
22591 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
22593         * calc/calc.el (calc-undo-length): New variable.
22594         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
22596 2009-07-21  Richard Stallman  <rms@gnu.org>
22598         * files.el (auto-save-mode): Handle buffer-save-size = -2
22599         for toggling mode.
22601 2009-07-21  Glenn Morris  <rgm@gnu.org>
22603         * textmodes/ispell.el (ispell-looking-back): Update declaration.
22605         * calendar/todo-mode.el (calendar-current-date): Update declaration.
22607         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
22608         silence compiler.  Instead...
22609         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
22610         (ps-print-ensure-fontified): Update for above function name changes.
22612         * printing.el (pr-mh-get-msg-num, pr-mh-show)
22613         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
22614         silence compiler.  Instead...
22615         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
22616         (mh-show-buffer): Only define for compiler.
22617         (pr-mh-current-message): Update for above function name changes.
22619         * files.el (abort-if-file-too-large): Explicitly pass `filename'
22620         as an argument.
22621         (find-file-noselect, insert-file-1): Update for above change.
22623         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
22625         * mail/mailclient.el (mailclient-send-it): Fix message.
22627         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
22628         (edebug-eval): Check cl-debug-env is bound.
22629         (print-level, print-circle): Don't redefine built-in variables.
22631         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
22632         (custom-print-vectors): Remove old comments from doc.
22634         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
22635         (emerge-version): Make the variable an obsolete alias for the
22636         emacs-version variable.  Make the function obsolete.
22637         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
22638         Emerge options, rather than merging in into the main Options menu.
22639         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
22640         and auto advance modes.  Disable edit/fast items when not relevant.
22642 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
22644         * term/vt420.el (terminal-init-vt420): Fix typo.
22646 2009-07-20  Sam Steingold  <sds@gnu.org>
22648         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
22649         variable (removed from compile.el on 2004-03-11).
22651 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
22653         * files.el (hack-local-variables-filter): Fix last change.
22655 2009-07-19  Juri Linkov  <juri@jurta.org>
22657         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
22658         (dir-local-variables-alist): New buffer-local variable.
22659         (hack-local-variables-filter): If variable is not dir-local,
22660         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
22661         because file-local overrides dir-local.
22662         (c-postprocess-file-styles) <declare-function>:
22663         Remove obsolete declaration.
22664         (hack-dir-local-variables): Add dir-local variable/value pair to
22665         `dir-local-variables-alist' and remove duplicates.  Doc fix.
22667         * help-fns.el (describe-variable): Add information about
22668         file-local and dir-local variables.
22670 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
22672         * files.el (hack-local-variables-filter): Rewrite.
22674 2009-07-19  Glenn Morris  <rgm@gnu.org>
22676         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
22677         Silence compiler by only defining on XEmacs.
22679         * international/mule.el (auto-coding-regexp-alist): Only match
22680         BABYL... at the start of buffer, not of lines.  (Bug#3790)
22682         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
22683         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
22684         (cal-menu-context-mouse-menu): Doc fix.
22686         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
22688         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
22690 2009-07-18  Juri Linkov  <juri@jurta.org>
22692         * info.el: Virtual Info keyword finder.
22693         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
22694         (Info-finder-file): New variable.
22695         (Info-finder-find-file): New function.
22696         (finder-known-keywords, finder-package-info)
22697         (find-library-name, lm-commentary): Use defvar and
22698         declare-function to silence compiler warnings.
22699         (Info-finder-find-node): New function.
22700         (info-finder): New command.
22702         * subr.el (process-kill-buffer-query-function): New function.
22703         (add-hook)<kill-buffer-query-functions>: Add hook
22704         `process-kill-buffer-query-function'.
22706 2009-07-18  Alan Mackenzie  <acm@muc.de>
22708         * progmodes/cc-mode.el (c-before-hack-hook)
22709         (c-postprocess-file-styles): Give invocation of `c-set-style'
22710         DONT-OVERRIDE parameter of t.  Already set style variables will
22711         thus not be overridden by style settings given by `c-file-syle'.
22713         * files.el (hack-local-variables-filter): Remove entries with
22714         duplicate keys from `file-local-variables-alist'.
22716 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
22718         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
22719         x-set-selection if display-selections-p returns nil for the
22720         current frame.
22722 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
22724         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
22726 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
22728         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
22729         Accept nil in addition to a regexp.
22730         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
22731         Accept nil in addition to a regexp.
22732         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
22733         buffers that have an associated file.  Handle nil values of
22734         desktop-buffers-not-to-save and desktop-files-not-to-save.
22735         (Bug#3833)
22737         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
22738         (x-disown-selection-internal): New functions.
22740 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
22742         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
22743         warning.
22744         (gdb-breakpoints-header): Move forward to avoid compiler warning.
22745         (gdb-make-header-line-mouse-map): Remove duplicate definition.
22747 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
22749         * simple.el (set-mark): Revert last change.
22751 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
22753         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
22754         rendering of pngs is not possible instead of messaging a long
22755         description.
22757 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
22759         * w32-fns.el (x-selection-owner-p): New function.
22761         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
22762         (mouse-yank-at-click, mouse-yank-primary):
22763         If select-active-regions is non-nil, deactivate the mark before
22764         insertion.
22766         * simple.el (deactivate-mark, set-mark): Only save selection if we
22767         own it.
22769 2009-07-17  Kenichi Handa  <handa@m17n.org>
22771         * case-table.el (describe-buffer-case-table): Fix for the case
22772         that KEY is a cons.
22774 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
22776         * vc-rcs.el (vc-rcs-find-file-hook):
22777         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
22779 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
22781         * net/tramp.el (tramp-wait-for-output): Handle the case when
22782         commands do not return a newline but a null byte before the shell
22783         prompt.  (Bug#3858)
22785 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
22787         * term/ns-win.el (ns-set-alpha): Don't declare.
22788         (ns-set-background-alpha): Remove function.
22790 2009-07-16  Kevin Ryde  <user42@zip.com.au>
22792         * emacs-lisp/copyright.el (copyright-update): Save match-data across
22793         y-or-n-p, for safety.
22795 2009-07-16  Richard Stallman  <rms@gnu.org>
22797         * files.el (auto-save-mode): If buffer-saved-size is -2,
22798         don't clobber it.
22800         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
22801         (rmail-retry-ignored-headers): Add more uninteresting fields.
22803 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
22805         * net/rcirc.el (rcirc): Use history variables.
22806         (rcirc-server-name-history, rcirc-nick-name-history)
22807         (rcirc-server-port-history): New variables.
22809 2009-07-15  Kenichi Handa  <handa@m17n.org>
22811         * international/mule-cmds.el (set-language-environment-charset):
22812         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
22813         ignore them.
22815         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
22816         Delete unibyte-display.
22818 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
22820         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
22822 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
22824         * simple.el (deactivate-mark): Optional argument FORCE.
22825         (set-mark): Use deactivate-mark.
22827         * info.el (Info-search): No need to check transient-mark-mode
22828         before calling deactivate-mark.
22830         * select.el (x-set-selection): Doc fix.
22831         (x-valid-simple-selection-p): Allow buffer values.
22832         (xselect--selection-bounds): Handle buffer values.
22833         Suggested by David De La Harpe Golden.
22835         * mouse.el (mouse-set-region, mouse-drag-track):
22836         Call copy-region-as-kill before setting the mark, to let
22837         select-active-regions work.
22839 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
22841         * simple.el (deactivate-mark): If select-active-regions is
22842         non-nil, copy the selection data into a string.
22843         (activate-mark): If select-active-regions is non-nil, set the
22844         selection to the current buffer.
22845         (set-mark): Update selection if select-active-regions is non-nil.
22847         * select.el (x-valid-simple-selection-p): Allow buffer values.
22849 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
22851         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
22852         and more featureful message-mode.
22854 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
22856         * select.el (x-set-selection): Doc fix.
22857         (x-valid-simple-selection-p): Disallow selection data consisting
22858         of a list or cons of integers, since that is not used.
22859         (xselect--selection-bounds, xselect--int-to-cons): New functions.
22860         (xselect-convert-to-string, xselect-convert-to-length)
22861         (xselect-convert-to-filename, xselect-convert-to-charpos)
22862         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
22864 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
22866         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
22867         output in -break-info command (Emacs bug #3794).
22869 2009-07-14  Glenn Morris  <rgm@gnu.org>
22871         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
22872         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
22873         (edebug-print-length, edebug-print-level, edebug-print-circle)
22874         (edebug-sit-for-seconds, edebug-view-outside)
22875         (edebug-bounce-point, edebug-set-global-break-condition)
22876         (edebug-Go-nonstop-mode, edebug-trace-mode)
22877         (edebug-Trace-fast-mode, edebug-continue-mode)
22878         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
22879         (edebug-visit-eval-list): Doc fixes.
22881         * subr.el (def-edebug-spec): Doc fix.
22883 2009-07-14  Kenichi Handa  <handa@m17n.org>
22885         * international/characters.el: Fix setting of category ?C.
22887 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
22889         * term/ns-win.el (x-select-font): defalias x-select-font to
22890         ns-popup-font-panel instead of generate-fontset-menu.
22892 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
22894         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
22896 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
22898         * arc-mode.el (archive-find-type): Allow for a PK00 string before
22899         the PK\003\004 header (Bug#3770).
22901 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
22903         * pcomplete.el (pcomplete-comint-setup): Check for
22904         shell-dynamic-complete-filename too.
22906 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
22908         * simple.el (temporary-goal-column): Change the value for
22909         line-move-visual to a cons cell.
22910         (line-move-visual): Record or set the window hscroll, if
22911         necessary (Bug#3494).
22912         (line-move-1): Handle cons value of temporary-goal-column.
22914 2009-07-11  Kenichi Handa  <handa@m17n.org>
22916         * international/mule-diag.el (describe-character-set): Don't show
22917         width.
22919 2009-07-10  Sam Steingold  <sds@gnu.org>
22921         * progmodes/compile.el (compilation-mode-font-lock-keywords):
22922         Omake sometimes indents the errors it prints, so allow all
22923         regexps to start with spaces.
22925 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
22927         * cus-edit.el (customize-changed-options-previous-release):
22928         Bump value to 22.1.  (Bug#3804)
22930 2009-07-08  Sam Steingold  <sds@gnu.org>
22932         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
22933         to be a cons cell (test . ignored-directory) to selectively ignore
22934         some directories depending on the location of the search.
22936 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
22938         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
22939         remote user is root, on the local host.
22940         (tramp-local-host-p): Either the local user or the remote user
22941         must be root.  (Bug#3771)
22943 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
22945         * progmodes/gdb-mi.el (gdb): Remove description of
22946         gdb-use-separate-io-buffer.
22947         (menu): Don't allow toggling of or enable
22948         gdb-use-separate-io-buffer from menubar.
22950 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
22952         * mail/unrmail.el (unrmail): Make sure the message ends with two
22953         newlines (Bug#3769).
22955 2009-07-08  Glenn Morris  <rgm@gnu.org>
22957         * calendar/calendar.el (calendar-current-date): Rework previous change.
22959 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
22961         * calendar/calendar.el (calendar-current-date):
22962         Add an optional argument giving an offset from today.
22964 2009-07-08  Glenn Morris  <rgm@gnu.org>
22966         * tutorial.el (tutorial--describe-nonstandard-key):
22967         Adjust the message for when a key has been unbound.
22968         (help-with-tutorial): Hide the arch-tag.
22970 2009-07-08  Kenichi Handa  <handa@m17n.org>
22972         * international/fontset.el (setup-default-fontset): For each
22973         script, append (not set) font-specs.
22975         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
22976         docstring.
22978 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
22980         * progmodes/gdb-mi.el (gdb-init-1): Move sending
22981         -data-list-register-names to ...
22982         (gdb-starting): ... here because GDB 7.0 requires execution to
22983         have started when using this MI command.
22984         (gdb-set-header): New function to distinguish select and
22985         unselected tabs in gdb buffers.
22986         (gdb-propertize-header): New macro that uses gdb-set-header.
22987         (gdb-breakpoints-header, gdb-locals-header): Use it.
22988         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
22990 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
22992         * Makefile.in (ELCFILES): Remove fadr.elc.
22994 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
22996         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
22997         may contain frame information, so `string-match' should be used.
22998         (gdb-update): Disassembly is invalidated through
22999         `gdb-get-selected-frame'.
23000         (gdb-pad-string): New function to pad string with spaces.
23001         (gdb-invalidate-disassembly): Invalidate only if the buffer
23002         exists.
23003         (gdb-disassembly-handler-custom): Column alignment.
23004         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
23005         placing new ones.
23006         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
23007         end of line, too.
23008         (gdb-frame-handler): Match convention to for disassembly buffer
23009         mode name.
23010         (gdb-stack-list-frames-handler): Rewritten without regexps.
23011         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
23012         not highlight breakpoints without line information.
23013         (gdb-input): Add trailing newline to command.
23015         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
23016         buffer properly.
23017         (gdb-breakpoints-list-handler-custom): Replacement for
23018         `gdb-break-list-handler'.  Using real parser instead of regexps
23019         now.
23020         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
23021         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
23022         to place breakpoints.
23023         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
23024         functions.
23025         (gdb-disassembly-handler-custom): Show overlay arrow.
23026         (gdb-disassembly-place-breakpoints): Show breakpoints in
23027         disassembly buffer.
23028         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
23029         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
23030         instead of parsing breakpoints buffer.  Fixed old menu references
23031         in `gud-menu-map'.
23033         * fadr.el: Remove.
23035         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
23036         (gdb-memory-address): New variable which holds top address of
23037         memory page shown in memory buffer.
23038         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
23039         New customization variables.
23040         New functions:
23041         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
23042         display the memory buffer.
23043         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
23044         buffer display parameters.
23045         (def-gdb-memory-format, gdb-memory-format-binary)
23046         (gdb-memory-format-octal, gdb-memory-format-unsigned)
23047         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
23048         Functions for setting memory buffer format.
23049         (gdb-memory-unit-word, gdb-memory-unit-halfword)
23050         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
23051         unit size used in memory buffer.
23052         (gdb-memory-show-next-page, gdb-memory-show-previous-page):
23053         Switch to next/previous page of memory buffer.
23054         Now using (bindat-get-field) instead of fadr functions.
23056 2009-07-07  Sam Steingold  <sds@gnu.org>
23058         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
23059         non-top-level files.
23061 2009-07-07  Kenichi Handa  <handa@m17n.org>
23063         * international/mule-cmds.el (reset-language-environment):
23064         Put the highset priority to the charset iso-8859-1.
23066 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
23068         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
23069         to the end of the line when locating the block (Bug#700).
23071 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
23073         * net/tramp.el (tramp-handle-write-region): Flush file properties
23074         in case of short track.
23076 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
23078         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
23079         Coded custom representation of verilog error regular expressions
23080         to work with Emacs-22's new format.
23081         (verilog-error-regexp-xemacs-alist): Coded custom representation
23082         of verilog error regular expressions to work with XEmacs format.
23083         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
23084         error recognition into XEmacs.
23085         (verilog-error-regexp-add-emacs): Hook routine to install verilog
23086         error recognition into Emacs-22.
23088 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
23090         * woman.el: Remove stand-alone closing parentheses.
23091         (woman-file-name, woman2-format-paragraphs)
23092         (woman-leave-blank-lines): Code cleanup.
23093         (woman-use-own-frame): Change default to nil.
23094         (woman-italic, woman-bold, woman-unknown, woman-addition):
23095         Change defaults to inherit from default faces.
23096         (woman2-process-escapes): Consume the newline after a stand-alone
23097         filler character (Bug#3651).
23099 2009-07-06  Glenn Morris  <rgm@gnu.org>
23101         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
23102         (top-level): Move provide to the end.
23103         (ffap): Remove defunct URL from custom group.
23105         * subr.el (eval-after-load): Doc fix.
23107 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
23109         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
23110         `calc-embedded-word' is called twice.
23112 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
23114         * files.el (find-alternate-file-other-window, find-alternate-file):
23115         Obey confirm-nonexistent-file-or-buffer.
23117 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
23119         * dired-aux.el (dired-show-file-type): Handle remote files.
23121 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
23123         * desktop.el (desktop-globals-to-save):
23124         Add file-name-history (Bug#2750).
23126 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
23128         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
23130 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
23132         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
23133         property on entire argument since this is what eshell-lisp-command
23134         expects.
23136 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
23138         * net/tramp-gvfs.el (tramp-gvfs-methods)
23139         (tramp-gvfs-zeroconf-domain)
23140         (tramp-bluez-discover-devices-timeout): Add version flag.
23141         (tramp-gvfs-handler-mounted-unmounted)
23142         (tramp-gvfs-connection-mounted-p): Polish handling of
23143         incompatibilities between GVFS 0.2 and 1.0.
23145 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
23147         * cus-start.el (all): Add make-pointer-invisible.
23149 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
23151         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
23152         formatted correctly.
23154 2009-07-02  Juri Linkov  <juri@jurta.org>
23156         * info.el: Virtual Info files and nodes.
23157         (Info-virtual-files, Info-virtual-nodes): New variables.
23158         (Info-current-node-virtual): New variable.
23159         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
23160         New functions.
23161         (Info-file-supports-index-cookies): Use Info-virtual-file-p
23162         to check for a virtual file instead of checking a fixed list
23163         of node names.
23164         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
23165         instead of ad-hoc processing of "dir" and (apropos history toc).
23166         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
23167         instead of ad-hoc processing of "dir" and (apropos history toc).
23168         Reread a file when moving from a virtual node.
23169         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
23170         (Info-directory-toc-nodes, Info-directory-find-file)
23171         (Info-directory-find-node): New functions.
23172         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
23173         (Info-history): Move part of code to
23174         `Info-history-find-node'.
23175         (Info-history-toc-nodes, Info-history-find-file)
23176         (Info-history-find-node): New functions.
23177         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
23178         (Info-toc): Move part of code to `Info-toc-find-node'.
23179         (Info-toc-find-node): New function.
23180         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
23181         the current Info file name to references because now the node
23182         "*TOC*" belongs to the same Info manual.
23183         (Info-toc-build): Rename from `Info-build-toc'.
23184         (Info-toc-nodes): Rename input argument `file' to `filename'.
23185         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
23186         instead of ad-hoc processing of ("dir" apropos history toc).
23187         (Info-index-nodes): Use Info-virtual-file-p
23188         to check for a virtual file instead of checking a fixed list
23189         of node names.
23190         (Info-index-node): Add check for `Info-current-node-virtual'.
23191         Raise `save-match-data' higher up the tree to contain
23192         `search-forward' too (bug fix).
23193         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
23194         (Info-virtual-index-nodes): New variable.
23195         (Info-virtual-index-find-node, Info-virtual-index): New functions.
23196         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
23197         (Info-apropos-file, Info-apropos-nodes): New variables.
23198         (Info-apropos-toc-nodes, Info-apropos-find-file)
23199         (Info-apropos-find-node, Info-apropos-matches): New functions.
23200         (info-apropos): Move part of code to `Info-apropos-find-node' and
23201         `Info-apropos-matches'.
23202         (Info-mode-map): Bind "I" to `Info-virtual-index'.
23203         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
23204         for a virtual file instead of checking a fixed list of node names.
23206         * simple.el (async-shell-command): New command.
23208         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
23210         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
23211         instead of `mount-info'.
23213 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
23215         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
23216         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
23218 2009-07-02  Kenichi Handa  <handa@m17n.org>
23220         * international/mule.el (set-keyboard-coding-system): Force *-unix
23221         coding-system to avoid eol conversion.
23223 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
23225         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
23226         Add handler for `process-file', `shell-command' and
23227         `start-file-process'.
23228         (tramp-gvfs-handle-shell-command)
23229         (tramp-gvfs-handle-start-file-process)
23230         (tramp-gvfs-handle-process-file): New defuns.
23231         (tramp-synce-list-devices): Simplify check for existence of property.
23233 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
23235         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
23237 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
23239         * language/korean.el (set-language-info-alist): Add korean-cp949,
23240         cp949 to spec.
23242 2009-07-01  Kenichi Handa  <handa@m17n.org>
23244         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
23246         * international/encoded-kb.el: Deleted.
23248         * international/mule.el (set-keyboard-coding-system): Perform the
23249         necessary setup here instead of calling encoded-kbd-setup-display.
23251 2009-07-01  Glenn Morris  <rgm@gnu.org>
23253         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
23255 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
23257         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
23259 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
23261         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
23262         Handle also the 'rename case, when setting file modes.  (Bug#3712)
23263         (tramp-default-file-modes): Remove execute permissions.
23265         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
23266         (top): Add a default for "synce" in `tramp-default-user-alist'.
23267         Add completion function for "synce" method.
23268         (tramp-hal-service, tramp-hal-path-manager)
23269         (tramp-hal-interface-manager, tramp-hal-interface-device):
23270         New defconst.
23271         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
23272         (tramp-synce-list-devices, tramp-synce-parse-device-names):
23273         New defuns.
23275         * net/trampver.el: Update release number.
23277 2009-06-30  Kenichi Handa  <handa@m17n.org>
23279         * international/fontset.el (setup-default-fontset): Add CJK fonts
23280         for symbols and the other miscellaneous characters.
23282         * language/korea-util.el (setup-korean-environment-internal):
23283         Make char-width-table suitable for Korean environments.
23284         (exit-korean-environment): Cancel above.
23286         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
23287         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
23288         setup-function to make char-width-table suitable for respective
23289         environments, and an exit-function to cancel that.
23291         * language/japan-util.el (setup-japanese-environment-internal):
23292         Call use-cjk-char-width-table with arg `ja_JP'.
23294         * international/characters.el (cjk-char-width-table): Delete it.
23295         (cjk-char-width-table-list): New variable.
23296         (use-cjk-char-width-table): New arg local-name.
23297         (use-default-char-width-table): Fix for the case that Emacs is
23298         already using the default char-width-table.
23300 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
23302         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
23303         modes mandatory.  (Bug#3712)
23305 2009-06-29  Alan Mackenzie  <acm@muc.de>
23307         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
23308         correction between the visible width of TABs and their number of bytes.
23310 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
23312         * server.el (server-buffer-done): Prevent kill-buffer from
23313         prompting by clearing the buffer modification flag (Bug#3696).
23315 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
23317         * progmodes/verilog-mode.el (verilog-beg-of-statement)
23318         (verilog-endcomment-reason-re): Support unique case and priority case.
23319         (verilog-basic-complete-re): Support localparam lineup.
23320         (verilog-beg-of-statement-1): Fix for robustness, unique case.
23321         (verilog-set-auto-endcomments): Fix for unique case, always_comb
23322         commenting.
23323         (verilog-leap-to-case-head): Now support *nested* unique &
23324         priority case statements.
23325         (verilog-auto-lineup): Make just declarations the default (as it
23326         had been).
23327         (verilog-leap-to-case-head): Support priority/unique case statements.
23328         (verilog-auto-lineup): Rework to give users radio buttons to
23329         select the various styles of automatic lineup.
23330         (verilog-error-regexp-alist): Rework to support the XEmacs style
23331         of error regular expressions from compilers, lint tools &
23332         simulators.  Note that GNU Emacs has made it impossible for a mode
23333         to load such things.
23334         (electric-verilog-terminate-line, verilog-indent-declaration)
23335         (verilog-auto-wiure): Rework for radio button selection of
23336         auto-lineup selection of specification of auto lineup.
23337         (verilog-beg-of-statement-1): Redesign to support proper operation
23338         in additional code, based on testing with auto-lineup.
23339         (verilog-calculate-indent, assignments & declarations)
23340         (verilog-backward-token): Enhance to support auto-lineup of
23341         assignments & declarations.
23342         (verilog-in-directive-p, verilog-at-struct-p): New function for
23343         easy test of whether we are.
23344         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
23345         to support safe execution at almost anyline.
23346         (verilog-calc-1): Properly support indenting deep inside generate
23347         blocks.
23348         (verilog-init-font): Remove definition & use of verilog-init-font,
23349         as it is redundant with font-lock-defaults.
23350         (verilog-mode): Alter the definition of verilog-font-lock-defaults
23351         to avoid circular calls if syntax-ppss is a function (as is the
23352         case now in 22.x GNU Emacs) as that function would sometimes call
23353         itself, leading to (nearly) infinite recursion.
23354         (verilog-ovm-begin-re, verilog-ovm-end-re)
23355         (verilog-ovm-statement-re, verilog-leap-to-head)
23356         (verilog-backward-token): Add support for OVM macros.  Some are
23357         complete statements, and others open and close scopes like begin
23358         and end.
23359         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
23360         (verilog-defun-level-generate-only-re): Really fix the defun-list
23361         compilation issue.
23362         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
23363         coverpoint, constraint and cross statements.
23364         (verilog-defun-level-list, verilog-generate-defun-level-list)
23365         (verilog-all-defun-level-list): Redo these specifications - it is
23366         too hard to support eval-when compile aggregation of lists also
23367         built at when-compile time.
23368         (verilog-defun-level-list): Place defconsts of variables used in
23369         building regular expressions which are built in eval-when-compile
23370         bodies in the same eval-when-compile body to facilitate compile
23371         without load.
23372         (verilog-beg-block-re-ordered): Support indenting
23373         virtual/protected tasks and functions.
23374         (verilog-defun-level-list, verilog-in-generate-region-p)
23375         (verilog-backward-ws&directives, verilog-calc-1): Speed up
23376         indentation of some module items (generate items).
23377         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
23378         across virtual/protected tasks and functions.
23380 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
23382         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
23383         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
23384         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
23385         in concatenations.  Reported by Yishay Belkind.
23386         (verilog-auto-ascii-enum): Support one-hot state machines in
23387         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
23388         (verilog-auto-inst, verilog-auto-inst-port): Include interface
23389         modport in AUTOINST and add vl-modport for users.
23390         Reported by David Rogoff.
23391         (verilog-auto-inout-module, verilog-auto-inst)
23392         (verilog-decls-get-interfaces, verilog-insert-definition)
23393         (verilog-insert-one-definition, verilog-read-decls)
23394         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
23395         (verilog-sig-modport, verilog-signals-combine-bus)
23396         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
23397         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
23398         Suggested by David Rogoff.
23399         (verilog-repair-open-comma): Fix non-insertion of comma when
23400         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
23401         (verilog-make-width-expression): Simplify [A-1:0] expression
23402         widths to just {A{1'b0}}.
23403         (verilog-mode): Cleanup checkdoc warnings.
23404         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
23405         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
23406         inputs/outputs or data type.  Suggested by Vasu Kandadi.
23407         (next-error-last-buffer): Fix byte-compiler warning.
23408         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
23409         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
23410         or shell command text during AUTO expansion.  Suggested by Tad Truex.
23411         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
23412         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
23413         Fix dotted nets {a.b,c.d} and escaped identifiers being mis-included
23414         in AUTOINOUT.  Reported by Matthew Lovell.
23415         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
23416         causing use of <= assignments.  Reported by Alex Reed.
23417         (verilog-read-decls): Fix triand, trior, wand, wor to be
23418         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
23419         (verilog-extended-complete-re): Support import "DPI-C" functions.
23420         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
23421         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
23422         (verilog-insert-date, verilog-insert-year)
23423         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
23424         Windows systems.  Reported by Michael Potts.
23425         (verilog-read-module-name): Fix AUTOINST when the child module
23426         declaration's name is a tick define.  Reported by Elliot Mednick.
23427         (verilog-read-decls): Fix V2K parameter bit subscripts getting
23428         passed to next parameter's definition.  Reported by Bruce T.
23429         (verilog-read-decls): Fix detecting "parameter int" when using
23430         AUTOINSTPARAM.  Reported by Bruce T.
23431         (verilog-goto-defun): Fix goto not finding modules unless first
23432         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
23433         (verilog-mode): Expand -f flag arguments on entry to mode so
23434         verilog-goto-defun will work.  Reported by Lawrence Butcher.
23435         (verilog-getopt): Expand environment variables in -f file
23436         arguments.  Suggested by Lawrence Butcher.
23437         (verilog-set-define): Fix "Symbol's value as variable is void"
23438         when reading enumerations.
23439         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
23440         Suggested by Stephen Peltan.
23441         (verilog-read-defines): Fix reading of enumerations in include
23442         files.  Reported by Steve Peltan.
23444 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
23446         * files.el (trash-directory): Fix defcustom type.
23448 2009-06-28  Juri Linkov  <juri@jurta.org>
23450         * help-fns.el (describe-function-1): Correctly locate adviced
23451         functions in hyperlink (Bug#2438).
23453 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
23455         * files.el (trash-directory): Change default to nil.
23456         (move-file-to-trash): If trash-directory is nil and
23457         system-move-file-to-trash is unbound, perform freedesktop-style
23458         trashing.
23460 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
23462         * files.el (move-file-to-trash): Add freedesktop trash
23463         support (Bug#973).
23465 2009-06-28  Glenn Morris  <rgm@gnu.org>
23467         * autorevert.el (global-auto-revert-non-file-buffers)
23468         (global-auto-revert-mode): Doc fixes.
23470 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
23472         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
23474 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
23476         * faces.el (x-handle-named-frame-geometry): Ensure that we have
23477         opened an X connection before calling x-get-resource (Bug#3194).
23479         * play/doctor.el: Remove reference to obsolete website.
23480         (make-doctor-variables): Correct grammar mistake (Bug#2633).
23482 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
23484         Remove find-file-not-found-hook VC method.  (Bug#2757)
23485         * vc-hooks.el (vc-file-not-found-hook)
23486         (vc-default-find-file-not-found-hook): Remove functions.
23487         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
23488         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
23489         * vc.el:
23490         * vc-hg.el:
23491         * vc-git.el: Do not mention find-file-not-found-hook VC method.
23493 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
23495         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
23496         compatibility function for `looking-back'.
23498         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
23499         Use `ispell-looking-back'.
23501 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
23503         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
23504         rather than `filename'.
23506 2009-06-23  Miles Bader  <miles@gnu.org>
23508         * face-remap.el (text-scale-set): New function.
23510 2009-06-23  Glenn Morris  <rgm@gnu.org>
23512         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
23514         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
23516         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
23518         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
23520         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
23521         Simplify Persian conditionals.
23523         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
23524         variable `filename'.
23526         * comint.el (comint-insert-input): Doc fix.
23528         * Makefile.in (ELCFILES): Fix typo in previous change.
23530 2009-06-23  Miles Bader  <miles@gnu.org>
23532         * cus-start.el: Add entry for `recenter-redisplay'.
23534 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
23536         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
23537         Add an optional argument for the backend, use it instead of
23538         calling vc-backend.
23539         (vc-mode-line): Add an optional argument for the backend.
23540         Pass the backend to vc-state and vc-working-revision.  Move code for
23541         special handling for vc-state being a buffer to ...
23543         * vc-rcs.el (vc-rcs-find-file-hook):
23544         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
23546         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
23547         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
23548         vc-stay-local-p and vc-mode-line calls.
23550         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
23551         (vc-cvs-diff, vc-cvs-annotate-command)
23552         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
23553         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
23554         vc-mode-line calls.
23556         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
23557         direct comparison.
23558         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
23559         backend when calling vc-mode-line.
23560         (vc-register): Do not create a closure for calling the vc register
23561         function, call it directly.
23563 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
23565         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
23566         to make it obvious item can be clicked.
23568         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
23570 2009-06-23  Kenichi Handa  <handa@m17n.org>
23572         * language/korea-util.el (korean-key-bindings): Change the binding
23573         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
23574         same command.
23576 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
23578         Sync with Tramp 2.1.16.
23580         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
23582         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
23583         when a loading of a package fails.  Completion function for rsync
23584         is `tramp-completion-function-alist-ssh'.
23585         (all): Replace all calls of `split-string' and
23586         `tramp-split-string' by `tramp-compat-split-string'.
23587         (tramp-default-method): Use `tramp-compat-process-running-p'.
23588         (tramp-default-proxies-alist): Allow also Lisp forms.
23589         (tramp-remote-path): Add choice "Private Directories".
23590         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
23591         (tramp-domain-regexp): Allow also "-", "_" and ".".
23592         (tramp-end-of-output): Remove newlines, and add "$" at the end.
23593         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
23594         (tramp-debug-message): Insert header line in debug buffer.
23595         (tramp-handle-directory-files-and-attributes-with-stat):
23596         Care about filenames with spaces, or starting with "-".
23597         (tramp-handle-dired-uncache): New defun.
23598         (tramp-handle-insert-directory): Don't flush the directory from
23599         cache, this is handled by `dired-uncache' now.
23600         (tramp-handle-insert-file-contents): Improve error handling.
23601         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
23602         Quote `tramp-end-of-output'.
23603         (tramp-action-password): Improve trace message.
23604         (tramp-check-for-regexp): Both echoes must be present, before removing.
23605         (tramp-open-connection-setup-interactive-shell): Trace coding system.
23606         (tramp-compute-multi-hops): Eval cons cells of
23607         `tramp-default-proxies-alist'.
23608         (tramp-maybe-open-connection): Use the same command pattern for
23609         first hop and further hops.
23610         (tramp-wait-for-output): Remove handling of newlines.
23611         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
23612         (tramp-split-string): Remove function.  It is handled in
23613         tramp-compat now.
23615         * net/tramp-cmds.el (tramp-bug):
23616         Recommend `tramp-cleanup-all-connections' in the bug mail.
23618         * net/tramp-compat.el (tramp-compat-split-string)
23619         (tramp-compat-process-running-p): New defuns.
23621         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
23622         for `dired-uncache'.
23624         * net/tramp-gvfs.el: New package.
23626         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
23627         Add handler for `dired-uncache'.
23628         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
23630         * net/trampver.el: Update release number.  Make version check fit
23631         for SXEmacs 22.
23633 2009-06-22  Jim Meyering  <meyering@redhat.com>
23635         Automatically handle .xz suffix (XZ-compressed files), too.
23636         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
23637         XZ is the successor to LZMA: <http://tukaani.org/xz/>
23639 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
23640             Nick Roberts  <nickrob@snap.net.nz>
23642         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
23643         repository (http://sphinx.net.ru/hg/gdb-mi/).
23645 2009-06-22  Glenn Morris  <rgm@gnu.org>
23647         * files.el (dir-locals-collect-mode-variables): Allow for any number of
23648         `mode' and `eval' entries.  (Bug#3430)
23650         * Makefile.in (ELCFILES): Add fadr.elc.
23652         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
23653         differing behavior of \n and ^ in strings.  (Bug#3385)
23655         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
23657         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
23658         property.
23659         (lisp-indent-function): Make it a defcustom.
23661 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
23663         * progmodes/gdb-ui.el: Replace with ...
23664         * progmodes/gdb-mi.el: ... this file.
23665         * progmodes/gud.el: Modify for gdb-mi.el.
23667 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
23669         * fadr.el: New file.
23671 See ChangeLog.14 for earlier changes.
23673 ;; Local Variables:
23674 ;; coding: utf-8
23675 ;; End:
23677   Copyright (C) 2009-2011  Free Software Foundation, Inc.
23679   This file is part of GNU Emacs.
23681   GNU Emacs is free software: you can redistribute it and/or modify
23682   it under the terms of the GNU General Public License as published by
23683   the Free Software Foundation, either version 3 of the License, or
23684   (at your option) any later version.
23686   GNU Emacs is distributed in the hope that it will be useful,
23687   but WITHOUT ANY WARRANTY; without even the implied warranty of
23688   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23689   GNU General Public License for more details.
23691   You should have received a copy of the GNU General Public License
23692   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.