Merge from lexical-binding branch.
[emacs.git] / lisp / ChangeLog
blob288199fd702f7ddc68be9a6b6493cdc2d64ff4ea
1 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3         Add lexical binding.
5         * subr.el (apply-partially): Use new closures rather than CL.
6         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
7         (dolist, dotimes): Use slightly different expansion for lexical code.
8         (functionp): Move to C.
9         (letrec): New macro.
10         (with-wrapper-hook): Use it and apply-partially instead of CL.
11         (eval-after-load): Preserve lexical-binding.
12         (save-window-excursion, with-output-to-temp-buffer): Turn them
13         into macros.
15         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
17         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
18         than the arglist.
19         (help-add-fundoc-usage): Don't add `Not documented'.
20         (help-function-arglist): Handle closures, subroutines, and new
21         byte-code-functions.
22         (help-make-usage): Remove leading underscores.
23         (describe-function-1): Handle closures.
24         (describe-variable): Use special-variable-p for completion.
26         * files.el (lexical-binding): Declare safe.
28         * emacs-lisp/pcase.el: Don't use destructuring-bind.
29         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
30         (pcase): Add `let' pattern.
31         Change memoization so it actually works.
32         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
33         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
34         <let>: New case.
36         * emacs-lisp/macroexp.el: Use lexical binding.
37         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
38         Don't convert ' to #' without checking that it's indeed quoting
39         a lambda.
41         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
42         Use eval-sexp-add-defvars.
43         (eval-sexp-add-defvars): New fun.
45         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
47         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
48         Don't autoload.
49         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
50         than the internal `byte-compile-lambda'.
51         (defmethod): Don't hide code under quotes.
52         (eieio-defmethod): New `code' argument.
54         * emacs-lisp/eieio-comp.el: Remove.
56         * emacs-lisp/edebug.el (edebug-eval-defun)
57         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
58         (edebug-toggle): Avoid `eval'.
60         * emacs-lisp/disass.el (disassemble-internal): Handle new
61         `closure' objects.
62         (disassemble-1): Handle new byte codes.
64         * emacs-lisp/cl.el (pushnew): Silence warning.
66         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
67         (cl-byte-compile-throw): Remove.
68         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
70         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
71         closures.
73         * emacs-lisp/cconv.el: New file.
75         * emacs-lisp/bytecomp.el: Use lexical binding instead of
76         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
77         (byte-compile-initial-macro-environment):
78         Handle declare-function here.
79         (byte-compile--lexical-environment): New var.
80         (byte-stack-ref, byte-stack-set, byte-discardN)
81         (byte-discardN-preserve-tos): New lap codes.
82         (byte-interactive-p): Don't use any more.
83         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
84         New macros.
85         (byte-compile-lapcode): Use them and handle new lap codes.
86         (byte-compile-obsolete): Remove.
87         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
88         (byte-compile-arglist-warn): Check late def of inlinable funs.
89         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
90         since they should have been expanded by now.
91         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
92         (byte-compile-from-buffer): Remove unused second arg.
93         (byte-compile-preprocess): New function.
94         (byte-compile-toplevel-file-form): New function to distinguish
95         file-form calls from outside from file-form calls from hunk-handlers.
96         (byte-compile-file-form): Simplify.
97         (byte-compile-file-form-defsubst): Remove.
98         (byte-compile-file-form-defmumble): Simplify now that
99         byte-compile-lambda always returns a byte-code-function.
100         (byte-compile): Preprocess.
101         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
102         Remove, not used any more.
103         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
104         (byte-compile-make-args-desc): New funs.
105         (byte-compile-lambda): Handle lexical functions.  Always return
106         a byte-code-function.
107         (byte-compile-reserved-constants): New var, to make up room for
108         closed-over variables.
109         (byte-compile-constants-vector): Obey it.
110         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
111         (byte-compile-macroexpand-declare-function): New function.
112         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
113         byte-code-functions.
114         (byte-compile-form): Check obsolescence here.
115         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
116         (byte-compile-variable-ref): Remove.
117         (byte-compile-dynamic-variable-op): New fun.
118         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
119         (byte-compile-variable-set): New funs.
120         (byte-compile-discard): Add 2 args.
121         (byte-compile-stack-ref, byte-compile-stack-set)
122         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
123         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
124         macroexpand-all instead.
125         (byte-compile-quote-form): Remove.
126         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
127         (byte-compile-bind, byte-compile-unbind): New funs.
128         (byte-compile-let): Handle let* and lexical binding.
129         (byte-compile-let*): Remove.
130         (byte-compile-catch, byte-compile-unwind-protect)
131         (byte-compile-track-mouse, byte-compile-condition-case):
132         Handle a new :fun-body form, used for lexical scoping.
133         (byte-compile-save-window-excursion)
134         (byte-compile-with-output-to-temp-buffer): Remove.
135         (byte-compile-defun): Simplify.
136         (byte-compile-stack-adjustment): New fun.
137         (byte-compile-out): Use it.
138         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
140         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
141         handler any more.
143         * emacs-lisp/byte-opt.el: Use lexical binding.
144         (byte-inline-lapcode): Remove (to bytecomp).
145         (byte-compile-inline-expand): Pay attention to inlining to/from
146         lexically bound code.
147         (byte-compile-unfold-lambda): Don't handle byte-code-functions
148         any more.
149         (byte-optimize-form-code-walker): Don't handle save-window-excursion
150         any more and don't call compiler-macros.
151         (byte-compile-splice-in-already-compiled-code): Remove.
152         (byte-code): Don't inline any more.
153         (disassemble-offset): Receive `bytes' as argument rather than via
154         dynamic scoping.
155         (byte-compile-tag-number): Declare before first use.
156         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
157         `return' even if make-spliceable.
158         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
159         obsolete interactive-p.
160         (byte-optimize-lapcode): Optimize new lap-codes.
161         Don't trip up on new form of `byte-constant' lap code.
163         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
165         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
167         * custom.el (custom-initialize-default, custom-declare-variable):
168         Use `defvar'.
170         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
171         New variables.
172         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
173         (COMPILE_FIRST): Add macroexp and cconv.
174         * makefile.w32-in: Mirror changes in Makefile.in.
176         * vc/cvs-status.el:
177         * vc/diff-mode.el:
178         * vc/log-edit.el:
179         * vc/log-view.el:
180         * vc/smerge-mode.el:
181         * textmodes/bibtex-style.el:
182         * textmodes/css.el:
183         * startup.el:
184         * uniquify.el:
185         * minibuffer.el: 
186         * newcomment.el: 
187         * reveal.el: 
188         * server.el: 
189         * mpc.el: 
190         * emacs-lisp/smie.el: 
191         * doc-view.el: 
192         * dired.el: 
193         * abbrev.el: Use lexical binding.
195 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
197         * info.el (info-display-manual): New function.
199 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
201         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
203 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
205         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
206         an entry for that server in rcirc-authinfo. (Bug#8385)
208 2011-03-31  Glenn Morris  <rgm@gnu.org>
210         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
212         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
214 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
216         * progmodes/python.el (python-default-interpreter)
217         (python-python-command-args, python-jython-command-args)
218         (python-which-shell, python-which-args, python-which-bufname)
219         (python-file-queue, python-comint-output-filter-function)
220         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
221         variables and functions.
223 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
225         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
226         (completion-in-region-mode): New minor mode.
227         (completion-in-region): Use it.
228         (completion-in-region--data, completion-in-region-mode-map): New vars.
229         (completion-in-region--postch): New function.
230         (completion--capf-misbehave-funs, completion--capf-safe-funs):
231         New vars.
232         (completion--capf-wrapper): New function.
233         (completion-at-point): Use it to track well-behavedness of
234         hook functions.
235         (completion-help-at-point): New command.
237 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
239         * vc/add-log.el (add-change-log-entry): Don't use whitespace
240         syntax class to search for whitespace on a single line
241         (Message-ID: <4D938140.4030905@redhat.com>).
243 2011-03-30  Leo Liu  <sdl.web@gmail.com>
245         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
246         New commands.
247         (edit-abbrevs-map): Bind them here.
248         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
250 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
252         * allout.el (allout-hide-by-annotation, allout-flag-region):
253         Reduce possibility of overlay leakage by making them volatile.
255         * allout-widgets.el (allout-widgets-tally): Define as nil so the
256         hash is not shared between buffers.  Mode initialization is
257         responsible for giving it a useful starting value.
258         (allout-item-span): Reduce possibility of overlay leakage by
259         making them volatile.
260         (allout-widgets-count-buttons-in-region): Add diagnostic function
261         for tracking down button overlay leaks.
263 2011-03-29  Leo Liu  <sdl.web@gmail.com>
265         * ido.el (ido-read-internal): Use the default history var
266         minibuffer-history if no HISTORY is specified.
268 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
270         * net/imap.el (imap-shell-open, imap-process-connection-type):
271         Use imap-process-connection-type for 'shell' streams as well as
272         Kerberos, SSL, other subprocesses.
274 2011-03-28  Leo Liu  <sdl.web@gmail.com>
276         * abbrev.el (abbrev-table-empty-p): New function.
277         (prepare-abbrev-list-buffer): Place empty abbrev tables after
278         nonempty ones.  (Bug#5937)
280 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
282         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
284 2011-03-27  Leo Liu  <sdl.web@gmail.com>
286         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
287         for foreground and background colors.
288         (ansi-color-make-color-map): Adapt.
290 2011-03-25  Leo Liu  <sdl.web@gmail.com>
292         * midnight.el (midnight-time-float): Remove.  Note it calculates
293         the microsecond component incorrectly and seconds-to-time does the
294         same job.
295         Remove redundant (require 'timer).
297         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
298         (ido-completions): Remove unused arguments.  (Bug#8329)
300 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
302         * minibuffer.el (completion--flush-all-sorted-completions):
303         Remove itself from hook.
304         (completion-at-point): Let the functions perform the completion
305         immediately and return nil or t.
306         * comint.el (comint-dynamic-complete-functions): Now identical to
307         completion-at-point-functions.
308         (comint-dynamic-list-input-ring): Remove unused var `index'.
309         (comint--match-partial-filename, comint--unquote&expand-filename):
310         New funs, split from comint-match-partial-filename.
311         (comint-dynamic-complete): Use completion-at-point.
312         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
314 2011-03-24  Drew Adams  <drew.adams@oracle.com>
316         * thingatpt.el: Support `defun'.
318 2011-03-23  Leo Liu  <sdl.web@gmail.com>
320         * abbrevlist.el: Move to obsolete/abbrevlist.el.
322         * help-mode.el (help-mode-finish): Tweak regexp.
324 2011-03-23  Glenn Morris  <rgm@gnu.org>
326         * eshell/esh-opt.el (eshell-eval-using-options):
327         Do not bind unused local variable `eshell-option-stub'.
329         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
331 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
333         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
334         keymap variable in `with-no-warnings' to avoid a warning when the
335         keymap has been already `defconst'ed.
337 2011-03-22  Leo Liu  <sdl.web@gmail.com>
339         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
340         encode all chars in abbrevs; otherwise use emacs-mule or
341         utf-8-emacs.  (Bug#8308)
343 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
345         * simple.el (backward-delete-char-untabify):
346         Avoid warning about using `delete-backward-char'.
348         * image.el (image-type-file-name-regexps): Make it variable.
349         `imagemagick-register-types' modifies it, and the user may want
350         to add new extensions for known image types.
351         (imagemagick-register-types): Throw error if not using ImageMagick.
353 2011-03-22  Leo Liu  <sdl.web@gmail.com>
355         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
356         located before rcirc-prompt-end-marker.
357         (rcirc-complete): Error if point is not after rcirc prompt.
358         Handle the case when table is nil.
359         (rcirc-user-authenticated): Define to fix compiler warning.
361 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
363         * custom.el (custom--inhibit-theme-enable): Make it affect only
364         custom-theme-set-variables and custom-theme-set-faces.
365         (provide-theme): Ignore custom--inhibit-theme-enable.
366         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
367         (custom-enabling-themes): Delete variable.
368         (enable-theme): Accept only loaded themes as arguments.
369         Ignore the special custom-enabled-themes variable.
370         (custom-enabled-themes): Forbid themes from setting this.
371         Eliminate use of custom-enabling-themes.
372         (custom-push-theme): Quote "changed" custom var entry.
374 2011-03-21  Leo Liu  <sdl.web@gmail.com>
376         * ido.el (ido-read-internal): Add ido-selected to history instead
377         of user input.
379 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
381         * subr.el (deferred-action-list, deferred-action-function):
382         Mark obsolete.
384 2011-03-21  Leo Liu  <sdl.web@gmail.com>
386         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
387         change on 2011-02-13 (bug#8309).
389         * minibuffer.el (read-file-name-function): Change default value.
390         (read-file-name--defaults): Rename from read-file-name-defaults.
391         (read-file-name-default): Rename from read-file-name.
392         (read-file-name): Call read-file-name-function.
394 2011-03-21  Glenn Morris  <rgm@gnu.org>
396         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
397         Doc fixes.
399 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
401         * cus-theme.el: Add missing provide statement.
402         (customize-create-theme): Extract theme value correctly.
403         (custom-theme-visit-theme): Autoload.
404         (customize-create-theme): Prompt before inserting default faces.
406 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
408         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
409         units and musical notes.
411 2011-03-20  Leo  <sdl.web@gmail.com>
413         * ido.el (ido-read-internal): Use completing-read-default.
414         (ido-completing-read): Fix compatibility with completing-read.
416 2011-03-20  Christian Ohler  <ohler@gnu.org>
418         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
419         (ert-delete-all-tests): Use `called-interactively-p' rather than
420         `interactive-p'.
421         (ert--make-xrefs-region): Respect END.
423 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
425         * dired-aux.el (dired-create-directory): Signal an error if the
426         directory already exists (Bug#8246).
428         * facemenu.el (list-colors-display): Call list-faces-display
429         inside with-help-window.
430         (list-colors-print): Use display property to align the final
431         column, instead of checking window-width.
433 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
435         * emerge.el (emerge-metachars): Separate value for ms-dos and
436         windows-nt systems.
437         (emerge-protect-metachars): Quote correctly for ms-dos and
438         windows-nt systems.
440 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
442         * info.el (info-initialize): Replace all uses of `:' with
443         path-separator for compatibility with non-Unix systems.
444         Cache quoting of path-separator.  (Bug#8258)
446 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
448         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
449         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
450         (mouse-avoidance-mode): Fix typos in docstrings.
452 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
454         * startup.el (package-subdirectory-regexp): Move from package.el.
455         Omit \\` and \\', and let callers add them.
457         * emacs-lisp/package.el (package-strip-version)
458         (package-load-all-descriptors): Add \\` and \\' to
459         package-subdirectory-regexp before using it.
460         (package-untar-buffer): New arg DIR; ensure that file untars only
461         into this expected directory.  Remove superfluous delete-region.
462         (package-unpack): Caller changed.
463         (package-tar-file-info): Use package-subdirectory-regexp.
465 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
467         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
468         diff-mode-shared-map (bug#8284).
469         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
471 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
473         * calendar/time-date.el (format-seconds): Use assoc instead of
474         assoc-string, since assoc-string doesn't exist in XEmacs.
476 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
478         * custom.el (custom-known-themes): Reflow docstring.
479         (custom-theme-load-path): Fix typo in docstring.
480         (load-theme): Fix typo in error message.
481         (custom-available-themes, custom-variable-theme-value):
482         Use `let', not `let*'.
484 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
486         * calc/README: Mention inclusion of musical notes.
488         * calc/calc-units.el (calc-lu-quant): Rename from
489         `calc-logunits-quantity'.
490         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
491         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
492         (calc-db): Rename from `calc-dblevel'.
493         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
494         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
495         (calc-np): Rename from `calc-nplevel'.
496         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
497         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
498         (calc-lu-plus): Rename from `calc-logunits-add'.
499         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
500         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
501         (calc-lu-minus): Rename from `calc-logunits-sub'.
502         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
503         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
504         (calc-lu-times): Rename from `calc-logunits-mul'.
505         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
506         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
507         (calc-lu-divide): Rename from `calc-logunits-div'.
508         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
509         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
511         * calc/calc-ext.el (calc-init-extensions): Update the names of the
512         functions being autoloaded.
514         * calc/calc.el (calc-lu-power-reference): Rename from
515         `calc-logunits-power-reference'.
516         (calc-lu-field-reference): Rename from
517         `calc-logunits-field-reference'.
519         * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
521 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
523         * minibuffer.el (completion-all-sorted-completions):
524         Use :completion-cycle-penalty text property if present.
526 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
528         * allout.el (allout-yank-processing): Adjust for new rebulleting
529         regime so bullet being yanked is used without prompting the user
530         for a choice.
532 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
534         * startup.el (command-line): Warn the user that _emacs is deprecated.
536 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
538         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
539         (delphi-verbose, delphi-comment-face, delphi-string-face)
540         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
541         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
542         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
543         (delphi-new-comment-line, delphi-font-lock-defaults)
544         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
545         Fix typos in docstrings.
547 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
549         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
550         Invert the roles of character and string values for INSTEAD, so a
551         string is used for the more common case of a defaulting prompt.
553 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
555         * progmodes/ruby-mode.el (ruby-backward-sexp):
556         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
557         * play/gamegrid.el (gamegrid-make-face):
558         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
559         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
560         * notifications.el (notifications-notify):
561         * net/xesam.el (xesam-search-engines):
562         * net/quickurl.el (quickurl-list-insert):
563         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
565 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
567         * startup.el (command-line): Update package subdirectory regexp.
569 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
571         * allout.el (allout-abbreviate-flattened-numbering)
572         (allout-mode-deactivate-hook): Fix up obsolescence "date".
574         * subr.el (read-char-choice): Only show the cursor after the prompt,
575         not after the answer.
577 2011-03-15  Kevin Ryde  <user42@zip.com.au>
579         * help-fns.el (variable-at-point): Skip leading quotes, if any
580         (bug#8253).
582 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
584         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
585         warning message.
587 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
589         * shell.el (shell): When called interactively, offer to change the
590         shell file name on remote hosts.
592 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
594         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
595         integration for LDAP parameters.  The host, base, user or binddn,
596         and secret tokens can be specified in a netrc file, for instance.
597         This is optional because an `auth-source' parameter must be
598         specified in the search attributes.
600 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
602         * help.el (describe-mode): Link to the mode's definition (bug#8185).
604 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
606         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
607         into declaration.  Remove redundant and harmful binding.
609 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
611         * files.el (file-ownership-preserved-p): Pass `integer' as an
612         explicit 2nd argument to `file-attributes'.  If the file's owner
613         is the Administrators group on Windows, and the current user is
614         Administrator, consider that a match.
616         * server.el (server-ensure-safe-dir): Consider server directory
617         safe on MS-Windows if its owner is the Administrators group while
618         the current Emacs user is Administrator.  Use `=' to compare
619         numerical UIDs, since they could be integers or floats.
621 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
623         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
625 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
627         Sync with Tramp 2.2.1.
629         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
631         * net/trampver.el: Update release number.
633 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
635         * progmodes/compile.el (compilation--previous-directory): Fix up
636         various nil/dead-marker mismatches (bug#8014).
637         (compilation-directory-properties, compilation-error-properties):
638         Don't call it at a position past the one we're about to change.
640         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
641         Disable obsolescence warnings in the file that declares it.
643 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
645         * allout-widgets.el (allout-widgets-tally): Initialize
646         allout-widgets-tally as a hash table rather than nil to prevent
647         mode-line redisplay warnings.
648         Also, clarify the module description and fix a comment typo.
650 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
652         * help-fns.el (describe-variable): Don't complete keywords.
653         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
655 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
657         * emacs-lisp/package.el (package-version-join): Impose a standard
658         string representation for pre/alpha/beta version lists.
659         (package-unpack-single): Standardize the directory name by passing
660         it through package-version-join.
661         (package-strip-rcs-id): Accept any version string that does not
662         signal an error in version-to-list.
664 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
666         * simple.el (delete-trailing-whitespace): Return nil for the
667         benefit of `write-file-functions'.
669 2011-03-10  Glenn Morris  <rgm@gnu.org>
671         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
673         * vc/vc-git.el (vc-git-program): New option.
674         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
675         (vc-git--call): Use it.
677         * eshell/esh-util.el (eshell-condition-case): Doc fix.
679         * cus-edit.el (Custom-newline): If no button at point, look
680         for a subgroup button at start-of-line.  (Bug#2298)
682         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
684 2011-03-10  Julien Danjou  <julien@danjou.info>
686         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
687         `cursor-type' is nil.
689 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
691         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
693 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
695         * allout.el Summary: Change so yank of distinctive-bullet items
696         preserves the existing header prefix, rebulleting it if necessary,
697         rather than replacing it.  This is necessary for proper operation
698         of cooperative addons like allout-widgets.
699         (allout-make-topic-prefix, allout-rebullet-heading): Change
700         SOLICIT arg to INSTEAD, and interpret additionally a string value
701         as alternate bullet to be used, instead of prompting the user for
702         a bullet character.
704 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
706         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
707         Do not use `tramp-file-name-port', because this returns also
708         `tramp-default-port'.
710 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
712         * net/rcirc.el (rcirc-handler-001): Remove useless
713         with-rcirc-process-buffer.
714         (rcirc-check-auth-status): Swap arguments to string-match.
716 2011-03-09  Glenn Morris  <rgm@gnu.org>
718         * shell.el (shell-mode):
719         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
721         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
722         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
724 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
726         * emacs-lisp/package.el (package-refresh-contents)
727         (package-menu-execute): Use condition-case-no-debug.
729 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
731         * simple.el (shell-command-to-string): Use `process-file'.
733         * emacs-lisp/package.el (package-tar-file-info): Handle also
734         remote files.
736         * emacs-lisp/package-x.el (package-upload-buffer-internal):
737         Use `equal' for upload base check.
739 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
741         * textmodes/texinfo.el (texinfo-environments):
742         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
744 2011-03-08  Glenn Morris  <rgm@gnu.org>
746         * cus-start.el (cursor-in-non-selected-windows):
747         Fix :set quoting oddness.  (Bug#8192)
749         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
750         in some setf expressions.  (Bug#2159)
752 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
754         * custom.el (custom-available-themes): Return themes in
755         alphabetical order.
757 2011-03-07  Chong Yidong  <cyd@stupidchicken.com>
759         * progmodes/cc-cmds.el (c-beginning-of-statement): Fix incorrect
760         application of patch from Alan Mackenzie (Bug#7595).
762 2011-03-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
764         * net/rcirc.el (rcirc-connect): Fix PASS bug.
766 2011-03-07  Glenn Morris  <rgm@gnu.org>
768         * vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt.
769         Give an explicit error if failed to make writable.  (Bug#6146)
771 2011-03-07  Ed Reingold  <reingold@emr.cs.iit.edu>
773         * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
774         Add optional `after-sunset' argument.  (Bug#8190)
776 2011-03-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
778         * play/morse.el (nato-alphabet, nato-region, denato-region):
779         New variable and functions.  (Bug#2288)
780         (morse-region, unmorse-region): Barf if read-only.
782 2011-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
784         * progmodes/gud.el (gdb-script-syntax-propertize-function):
785         Don't change the syntax of a \n that closes a comment (bug#8169).
787 2011-03-06  Chong Yidong  <cyd@stupidchicken.com>
789         * emacs-lisp/package-x.el (package-archive-upload-base): Make it a
790         defcustom.
791         (package--update-file): Doc fix.  Accept relative file names.
792         (package--archive-contents-from-file): Remove the argument, since
793         it's necessarily always "archive-contents".
794         (package-maint-add-news-item): Pass relative file name args to
795         package--update-file.
796         (package-upload-buffer-internal): Prompt for a destination if
797         package-archive-upload-base is invalid.  Create the directory if
798         it does not exist.
799         (package-upload-buffer, package-upload-file): Doc fix.
801 2011-03-06  Chong Yidong  <cyd@stupidchicken.com>
803         * isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill,
804         and move isearch-yank-line to M-s C-e (Bug#8183).
806 2011-03-06  Alan Mackenzie  <acm@muc.de>
808         * progmodes/cc-engine.el (c-guess-basic-syntax): Reindent.
809         (c-guess-basic-syntax): Move CASE 19 to a different place,
810         correctly to process template-args-cont lines.
812 2011-03-06  Jay Belanger  <jay.p.belanger@gmail.com>
814         * calc/calc-ext.el (calc-init-extensions):
815         Rename calc-logunits-dblevel and calc-logunits-nplevel to calc-dblevel
816         and calc-nplevel, respectively.  Add keybindings for calc-spn,
817         calc-midi and calc-freq.  Add autoloads for calcFunc-spn,
818         calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.
820         * calc/calc-units.el (calc-dblevel): Rename from
821         calc-logunits-dblevel.
822         (calc-nplevel): Rename from calc-logunits-nplevel.
823         (math-midi-round, math-freqp, math-midip, math-spnp)
824         (math-spn-to-midi, math-midi-to-spn, math-freq-to-spn)
825         (math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi)
826         (calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions.
827         (math-notes): New variable.
829         * calc/calc.el (calc-note-threshold): New variable.
831 2011-03-06  Chong Yidong  <cyd@stupidchicken.com>
833         * emacs-lisp/package.el (package-archives): Accept either ordinary
834         directory names, in addition to HTTP URLs.
835         (package--with-work-buffer): New macro.   Handle normal directories.
836         (package-handle-response): Don't display the failing buffer.
837         (package-download-single, package-download-tar)
838         (package--download-one-archive): Use package--with-work-buffer.
839         (package-archive-base): Rename from package-archive-url.
841 2011-03-06  Glenn Morris  <rgm@gnu.org>
843         * generic-x.el (generic-unix-modes): Add xmodmap-generic-mode.
844         (xmodmap-generic-mode): Respect generic-extras-enable-list.
846 2011-03-06  Daniel Clemente  <dcl441-bugs@yahoo.com>  (tiny change)
848         * generic-x.el (xmodmap-generic-mode): New.  (Bug#2065)
850 2011-03-06  Juanma Barranquero  <lekktu@gmail.com>
852         * allout.el (allout-init, allout-prefixed-keybindings)
853         (allout-unprefixed-keybindings):
854         * progmodes/prolog.el (prolog-find-term):
855         Fix typos in docstrings.
857 2011-03-06  Nikolaj Schumacher  <me@nschum.de>  (tiny change)
859         * emacs-lisp/elp.el (elp-results): Fix off-by-one in header.  (Bug#2746)
861 2011-03-06  Kevin Ryde  <user42@zip.com.au>
863         * textmodes/sgml-mode.el (sgml-fill-nobreak): Give it a doc.  (Bug#5326)
865 2011-03-06  Michael Shields  <shields@msrl.com>  (tiny change)
867         * window.el (one-window-p, walk-windows, display-buffer):
868         Doc fixes.  (Bug#5567)
870 2011-03-06  Jay Belanger  <jay.p.belanger@gmail.com>
872         * cus-edit.el (custom-prompt-variable): Use the `custom-get' property
873         of the variable if it exists.
875 2011-03-06  Juanma Barranquero  <lekktu@gmail.com>
877         * bookmark.el:
878         * desktop.el:
879         * emacs-lock.el:
880         * ps-print.el:
881         * saveplace.el:
882         * net/tramp-cache.el:
883         * obsolete/fast-lock.el:
884         * textmodes/reftex.el:
885         Don't set `kill-emacs-hook' on noninteractive sessions (bug#8137).
887 2011-03-05  Antoine Levitt  <antoine.levitt@gmail.com>
889         * files.el (delete-directory, copy-directory, list-directory):
890         Use read-directory-name.
892         * find-file.el (ff-find-the-other-file):
893         * net/ange-ftp.el (ange-ftp-make-directory):
894         * printing.el (pr-interactive-dir):
895         * progmodes/ada-prj.el (ada-prj-load-directory):
896         * progmodes/ebnf2ps.el (ebnf-print-directory)
897         (ebnf-spool-directory, ebnf-eps-directory)
898         (ebnf-syntax-directory):
899         * shell.el (shell):
900         * speedbar.el (speedbar-create-directory):
901         * vc/emerge.el (emerge-merge-directories):
902         * vc/vc-dir.el (vc-dir):
903         * vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
905 2011-03-05  Chong Yidong  <cyd@stupidchicken.com>
907         * help-mode.el (help-buffer): If we are to return the current
908         buffer, signal an error if it's not in Help mode (Bug#8147).
910 2011-03-05  Reuben Thomas  <rrt@sc3d.org>
912         * files.el (file-name-version-regexp): Handle backup files of the
913         form `foo.js.~HEAD~1~' (Bug#8159).
915 2011-03-05  Glenn Morris  <rgm@gnu.org>
917         * eshell/esh-var.el: Don't require esh-test when compiling.
918         * eshell/em-banner.el, eshell/esh-cmd.el, eshell/esh-mode.el:
919         * eshell/esh-var.el, eshell/eshell.el: Move tests to esh-test.
920         * eshell/esh-test.el: Move to ../../test/eshell.el.
922 2011-03-05  David Engster  <deng@randomsample.de>
924         * files.el (save-some-buffers): Report the names of buffers saved
925         automatically due to buffer-save-without-query (Bug#8134).
927 2011-03-05  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
929         * net/rcirc.el: Add QuakeNet authentication support.
930         (rcirc-authinfo, rcirc-check-auth-status)
931         (rcirc-authenticate): Support QuakeNet.
933 2011-03-05  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
935         * net/rcirc.el: Add functionality to authenticate before
936         autojoining channels.
937         (rcirc-authenticate-before-join): New option.
938         (rcirc-authenticated-hook): New variable.
939         (rcirc-connect): Make local variable rcirc-user-authenticated.
940         (rcirc-handler-001): Respect rcirc-authenticate-before-join.
941         (rcirc-check-auth-status, rcirc-join-channels-post-auth):
942         New functions.
943         (rcirc-handler-PRIVMSG, rcirc-handler-NOTICE):
944         Call rcirc-check-auth-status.
946 2011-03-05  Alex Harsanyi  <AlexHarsanyi@gmail.com>
948         * net/soap-client.el (soap-namespace-put-link): Check if the target
949         name is fully qualified -- use only the name part.
950         (soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
951         types, treated the same as xsd:sequence.  (Bug#8166)
953 2011-03-05  Eli Zaretskii  <eliz@gnu.org>
955         * files.el (find-file-noselect): Don't ask about re-visiting
956         non-literally if the file is already visited in image-mode.
957         (Bug#8177)
959 2011-03-05  Glenn Morris  <rgm@gnu.org>
961         * eshell/esh-mode.el (eshell-kill-buffer-function): New function.
962         (eshell-mode): Use eshell-kill-buffer-function.
963         Run the -initialize functions independently of the -load-hooks.
964         * eshell/esh-proc.el (eshell-kill-process-function): New function.
965         (eshell-gather-process-output, eshell-sentinel)
966         (eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
967         Use eshell-kill-process-function.
968         * eshell/em-alias.el (eshell-alias-load-hook):
969         * eshell/em-banner.el (eshell-banner-load-hook):
970         * eshell/em-cmpl.el (eshell-cmpl-load-hook):
971         * eshell/em-dirs.el (eshell-dirs-load-hook):
972         * eshell/em-glob.el (eshell-glob-load-hook):
973         * eshell/em-hist.el (eshell-hist-load-hook):
974         * eshell/em-pred.el (eshell-pred-load-hook):
975         * eshell/em-prompt.el (eshell-prompt-load-hook):
976         * eshell/em-rebind.el (eshell-rebind-load-hook):
977         * eshell/em-script.el (eshell-script-load-hook):
978         * eshell/em-smart.el (eshell-smart-load-hook):
979         * eshell/em-term.el (eshell-term-load-hook):
980         * eshell/em-unix.el (eshell-unix-load-hook):
981         * eshell/esh-arg.el (eshell-arg-load-hook):
982         * eshell/esh-cmd.el (eshell-cmd-load-hook):
983         * eshell/esh-ext.el (eshell-ext-load-hook):
984         * eshell/esh-io.el (eshell-io-load-hook):
985         * eshell/esh-mode.el (eshell-exit-hook):
986         * eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
987         * eshell/esh-var.el (eshell-var-load-hook):
988         Set default hook values to nil.  (Bug#5375)
990         * eshell/esh-module.el (eshell-module-unload-hook)
991         (eshell-modules-list): Remove leading * from defcustom docs.
993         * eshell/esh-util.el (eshell-for): Make it obsolete.
994         * eshell/em-alias.el (eshell/alias, eshell-alias-completions):
995         * eshell/em-dirs.el (eshell-save-some-last-dir):
996         * eshell/em-hist.el (eshell-save-some-history)
997         (eshell-hist-parse-modifier):
998         * eshell/em-ls.el (eshell-ls-dir, eshell-ls-files)
999         (eshell-ls-entries):
1000         * eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
1001         * eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval)
1002         (eshell/which):
1003         * eshell/esh-ext.el (eshell-find-interpreter):
1004         * eshell/esh-mode.el (eshell-mode):
1005         * eshell/esh-module.el (eshell-unload-extension-modules):
1006         * eshell/esh-proc.el (eshell-process-interact):
1007         * eshell/esh-test.el (eshell-test):
1008         * eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
1009         * eshell/esh-var.el (eshell/env, eshell-environment-variables)
1010         (eshell-variables-list):
1011         * eshell/eshell.el (eshell-unload-all-modules):
1012         Replace eshell-for with dolist.
1014 2011-03-04  Glenn Morris  <rgm@gnu.org>
1016         * vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0.  (Bug#8170)
1018 2011-03-04  Tom Tromey  <tromey@redhat.com>
1020         * progmodes/gud.el (gdb-script-mode): Derive from prog-mode.
1022 2011-03-04  Glenn Morris  <rgm@gnu.org>
1024         * outline.el (outline-regexp): No longer allow nil.
1025         (outline-heading-end-regexp): Add safety predicate.  (Bug#7619)
1027         * net/browse-url.el (browse-url):
1028         Handle deleted default-directory.  (Bug#6077)
1030         * recentf.el (recentf-include-p): In case of a buggy predicate,
1031         err on the side of including, not excluding.  (Bug#5843)
1033 2011-03-04  Jay Belanger  <jay.p.belanger@gmail.com>
1035         * calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
1036         variables as units.
1038 2011-03-04  Bob Rogers  <rogers@rgrjr.dyndns.org>
1040         * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
1041         if there is no node.  (Bug#3261)
1043 2011-03-04  Leo  <sdl.web@gmail.com>
1045         * vc/diff-mode.el (diff-mode): Fix whitespace-style.  (Bug#8139)
1047         * time.el (display-time-world-list): Fix typo.  (Bug#7571)
1049 2011-03-04  Zachary Kanfer  <zkanfer@gmail.com>  (tiny change)
1051         * cus-edit.el (custom-buffer-create-internal):
1052         Split search string before passing it to `customize-apropos' (bug#8136).
1054 2011-03-04  Drew Adams  <drew.adams@oracle.com>
1056         * image-dired.el (image-dired-cmd-read-exif-data-options):
1057         Fix typo in docstring (bug#8156).
1059 2011-03-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1061         * net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
1063 2011-03-03  Christian Ohler  <ohler@gnu.org>
1065         * emacs-lisp/ert.el (ert--explain-equal): New function.
1066         (ert--explain-equal-rec): Rename from `ert--explain-not-equal'.
1067         All callers changed.
1068         (ert--explain-equal-including-properties): Rename from
1069         `ert--explain-not-equal-including-properties'.  All callers
1070         changed.
1072 2011-03-03  Christian Ohler  <ohler@gnu.org>
1074         * emacs-lisp/ert.el (ert--stats-set-test-and-result)
1075         (ert-char-for-test-result, ert-string-for-test-result)
1076         (ert-run-tests-batch, ert--print-test-for-ewoc):
1077         Handle `ert-test-quit'.
1079 2011-03-03  David Abrahams  <dave@boostpro.com>  (tiny change)
1081         * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1082         Move ediff-defvar-local calls after defcustoms.  (Bug#1821)
1084 2011-03-03  Glenn Morris  <rgm@gnu.org>
1086         * files.el (file-truename): Doc fix.  (Bug#2341)
1088 2011-03-03  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
1090         * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e (Bug#7349).
1092 2011-03-03  Vagn Johansen  <gonz808@hotmail.com>  (tiny change)
1094         * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
1095         programs output backslashes.  (Bug#7663)
1097 2011-03-03  Glenn Morris  <rgm@gnu.org>
1099         * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
1100         (mail-mode): Remove mail-sent-via from the doc.
1101         (mail-sent-via): Make it obsolete.  (Bug#1776)
1103         * progmodes/grep.el (grep-highlight-matches): Doc fix.
1104         (grep-process-setup): No highlighting without font-lock.  (Bug#8084)
1106         * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
1107         with no parents.  (Bug#8025)
1109 2011-03-02  Teodor Zlatanov  <tzz@lifelogs.com>
1111         * password-cache.el (password-in-cache-p): Add autoload.
1113 2011-03-02  Glenn Morris  <rgm@gnu.org>
1115         * man.el (Man-support-local-filenames): Also handle Red Hat's man.
1116         * dired-x.el (Man-support-local-filenames): Autoload it.
1117         (dired-guess-shell-alist-default): Also handle Red Hat's man.
1119         * dired-x.el (dired-default-directory-alist, dired-default-directory):
1120         Mark as obsolete.
1121         (dired-smart-shell-command): Just call dired-current-directory.
1123         * dired-x.el (dired-jump-other-window): Add autoload.
1124         (dired-default-directory-alist, dired-default-directory): Doc fixes.
1125         (dired-default-directory-alist): Mark as risky.
1127         * dired-x.el (dired-omit-here-always): Make it obsolete.
1129 2011-03-02  Chong Yidong  <cyd@stupidchicken.com>
1131         * textmodes/artist.el (artist-curr-go): Default to pen-line.
1132         (artist-select-op-pen-line): New function.
1133         (artist-menu-map): New variable.
1134         (artist-mode-map): Add a menu to the menu-bar.
1136 2011-03-02  Jay Belanger  <jay.p.belanger@gmail.com>
1138         * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
1139         when evaluating.
1141         * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
1142         New function.
1143         (math-logunits-add, math-logunits-mul, math-logunits-divide):
1144         (math-logunits-quant, math-logunits-level):
1145         Use `math-conditional-apply' and `math-conditional-pow' to evaluate
1146         functions.
1147         (math-logunits-level): Extract units from ratio.
1149 2011-03-01  Juanma Barranquero  <lekktu@gmail.com>
1151         * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
1153 2011-03-01  Glenn Morris  <rgm@gnu.org>
1155         * calendar/cal-hebrew.el (calendar-hebrew-birthday)
1156         (diary-hebrew-birthday): Rename and rework functions added
1157         in previous change.
1159 2011-03-01  Ed Reingold  <reingold@emr.cs.iit.edu>
1161         * calendar/cal-hebrew.el (hebrew-calendar-birthday)
1162         (diary-hebrew-birthday): New functions.
1164 2011-03-01  Glenn Morris  <rgm@gnu.org>
1166         * dired.el (dired-safe-switches-p): Beef it up.
1167         (dired-actual-switches): Use it for the safe-local prop.  (Bug#3230)
1169 2011-03-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1171         * dired.el (dired-safe-switches-p): New function.
1173 2011-03-01  Glenn Morris  <rgm@gnu.org>
1175         * files.el (dir-locals-collect-variables):
1176         Add the ability to exclude subdirectories.  (Bug#8100)
1178         * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
1180 2011-02-28  Christoph Scholtes  <cschol2112@googlemail.com>
1182         * ido.el (ido-everywhere): Doc fix.
1183         (ido-mode): Doc fix.
1185 2011-02-28  Glenn Morris  <rgm@gnu.org>
1187         * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
1189 2011-02-28  Michael Albinus  <michael.albinus@gmx.de>
1191         * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
1192         shadows.
1194 2011-02-28  Antoine Levitt  <antoine.levitt@gmail.com>
1196         * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
1198 2011-02-28  Juanma Barranquero  <lekktu@gmail.com>
1200         * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
1201         Fix typos in docstrings.
1203 2011-02-28  Stephen Berman  <stephen.berman@gmx.net>
1205         * dired-aux.el (dired-update-file-line):
1206         Fix 2010-11-09 change.  (Bug#8131)
1208 2011-02-28  Eli Zaretskii  <eliz@gnu.org>
1210         * international/mule-cmds.el (set-default-coding-systems): Use the
1211         -unix variant of encoding in default-keyboard-coding-system.
1212         (Bug#8122)
1214 2011-02-27  Chong Yidong  <cyd@stupidchicken.com>
1216         * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
1218 2011-02-27  Prestoo Ten  <prestooten@gmail.com>  (tiny change)
1220         * term/screen.el: New file (Bug#2650).
1222 2011-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1224         * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
1225         (pcase-mutually-exclusive-predicates): New var.
1226         (pcase--split-consp, pcase--split-pred): Use it.
1227         (pcase--split-equal, pcase--split-member): When splitting against
1228         a pure predicate, run it to know the outcome.
1229         (pcase--u1): Mark vars that are actually used.
1230         (pcase--q1): Avoid introducing unused vars.
1232 2011-02-27  Jay Belanger  <jay.p.belanger@gmail.com>
1234         * calc/calc-ext.el (calc-init-extensions):
1235         Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
1237         * calc/calc-math.el (calcFunc-log10): Don't signal an error in
1238         symbolic mode.
1240         * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
1241         argument is a variable.
1243 2011-02-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1245         * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
1246         (aput, adelete, amake): Replace `eval' -> `symbol-value'.
1247         Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
1249 2011-02-25  Teodor Zlatanov  <tzz@lifelogs.com>
1251         * password-cache.el (password-in-cache-p): Convenience function to
1252         check if a key is in the cache, even if the value is nil.
1254 2011-02-25  Jambunathan K  <kjambunathan@gmail.com>
1256         * emacs-lisp/package-x.el (package--archive-contents-from-url)
1257         (package--archive-contents-from-file): New functions.
1258         (package-update-news-on-upload): New var.
1259         (package-upload-buffer-internal): Extract archive-contents from
1260         package-archive-upload-base if it is not found at archive-url.
1261         Obey package-update-news-on-upload.
1262         (package-upload-buffer, package-upload-file): Doc fix.
1264 2011-02-24  Glenn Morris  <rgm@gnu.org>
1266         * files-x.el (modify-dir-local-variable): Handle dir-locals from
1267         the cache, and from non-file sources.
1269         * help-fns.el (describe-variable): Return consistent results when a
1270         dir-local from a file came from the cache or did not.  (Bug#8095)
1271         If a dir-local has no associated file, say it came from a "directory".
1273         * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
1274         (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
1276         * files.el (dir-locals-find-file): Doc fix.
1277         Fix the check for cache elements that have no associated file,
1278         and the mtime check for those that do.  (Bug#8095)
1280         * dired-x.el (dired-hack-local-variables):
1281         Handle interrupts during hacking local variables.  (Bug#5216)
1283         * emacs-lisp/autoload.el (autoload-save-buffers)
1284         (autoload-find-destination, update-directory-autoloads):
1285         Avoid prompts when updating autoloads.
1287 2011-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1289         * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
1291 2011-02-23  Kenichi Handa  <handa@m17n.org>
1293         * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
1294         error when a multipart boundary in the nested multipart is found.
1296         * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
1297         header components.
1299 2011-02-23  Glenn Morris  <rgm@gnu.org>
1301         * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
1302         * dired-x.el (dired-omit-mode): Safe if boolean.
1303         (dired-enable-local-variables): Fix doc and custom type.
1304         (dired-enable-local-variables, dired-local-variables-file)
1305         (dired-hack-local-variables): Make obsolete.
1306         (dired-omit-here-always): Use dir-locals.el instead.
1308         * files.el (safe-local-eval-forms): Add the write-file-hooks version.
1310 2011-02-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1312         * help-fns.el (describe-function-1): Don't signal an error just because
1313         the DOC file disappeared.
1315 2011-02-22  Seppo Sade  <sepposade1@gmail.com>  (tiny change)
1317         * eshell/esh-ext.el (eshell-external-command): Do not restrict
1318         remote check to "ftp".  (Bug#8089)
1320 2011-02-21  Alan Mackenzie  <acm@muc.de>
1322         Fix bug #7930.
1323         * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
1324         in macros finding their way into c-state-nonlit-pos-cache.
1325         Strengthen the comments.
1326         (c-state-dump): New commented out diagnostic routine.
1328 2011-02-21  Michael Albinus  <michael.albinus@gmx.de>
1330         * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
1331         `field' property of `rfn-eshadow-overlay'.
1333 2011-02-21  Lars Ingebrigtsen  <larsi@gnus.org>
1335         * net/netrc.el (netrc-parse): Comment fix.
1337 2011-02-21  Chong Yidong  <cyd@stupidchicken.com>
1339         * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
1340         Autoload.  Add optional arg FRAME, and pass it to color-values.
1341         (color-complement): Caller changed.  Doc fix.
1342         (color-gradient): Rewrite for better clarity and efficiency.
1344         * faces.el (color-values): Use cond for clarity.  Doc fix.
1346         * facemenu.el (color-rgb-to-hsv): Delete; use the version in
1347         color.el instead.
1348         (list-colors-sort-key, list-colors-print):
1349         Use color-normalized-values.
1351 2011-02-20  Drew Adams  <drew.adams@oracle.com>
1353         * color.el: First part of merge from hexrgb.el.
1354         (color-rgb-to-hex): Rename from color-rgb->hex.
1355         (color-rgb-to-hsv): Rename from color-rgb->hsv.  Force hue and
1356         saturation to zero if the value is too small.
1357         (color-rgb-to-hsl): Rename from color-rgb->hsl.
1358         (color-srgb-to-xyz): Rename from color-srgb->xyz.  Doc fix.
1359         (color-xyz-to-srgb): Rename from color-xyz->srgb.  Doc fix.
1360         (color-xyz-to-lab): Rename from color-xyz->lab.  Doc fix.
1361         (color-lab-to-xyz): Rename from color-lab->xyz.  Doc fix.
1362         (color-lab-to-srgb): Rename from color-lab->srgb.  Doc fix.
1363         (color-cie-de2000): Doc fix.
1365 2011-02-20  Alan Mackenzie  <acm@muc.de>
1367         * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
1368         locating the beginning of a macro.  (Bug#7595)
1370 2011-02-20  Glenn Morris  <rgm@gnu.org>
1372         * edmacro.el (edmacro-eight-bits): Make it a defcustom.
1373         Don't autoload it.
1375         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1376         (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
1378 2011-02-19  Dmitry Bolshakov  <dmitry.bolshakov@bridge-quest.com>
1379             Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
1381         * progmodes/hideshow.el (hs-find-block-beginning)
1382         (hs-hide-level-recursive): Ignore comments when parsing braces
1383         (Bug#8036).
1385 2011-02-19  Chong Yidong  <cyd@stupidchicken.com>
1387         * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
1388         (vc-bzr-pull): Use it.
1390 2011-02-19  Chong Yidong  <cyd@stupidchicken.com>
1392         * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
1393         (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
1394         but returning an alist.  Ignore comments in bzr conffile.
1395         (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
1396         (vc-bzr-error-regex-alist): New var.
1397         (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
1399         * vc/vc-dispatcher.el (vc-do-async-command):
1400         Bind inhibit-read-only to t.
1402         * progmodes/compile.el (compilation--flush-directory-cache):
1403         Handle the case where cdr of compilation--flush-directory-cache
1404         points to no buffer, which can occur if we previously switched to
1405         compilation-mode in a pregenerated buffer.
1407 2011-02-19  Kenichi Handa  <handa@m17n.org>
1409         * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
1410         get the header copy into the temporary buffer.
1411         (rmail-mime-insert-decoded-text): Ignore us-ascii.
1412         (rmail-show-mime): When rmail-mime-coding-system is nil, set
1413         buffer-file-coding-system to undecided.
1415 2011-02-19  Eli Zaretskii  <eliz@gnu.org>
1417         * international/mule-cmds.el (read-char-by-name, ucs-insert):
1418         Document completion with asterisk and a substring.
1420 2011-02-19  Glenn Morris  <rgm@gnu.org>
1422         * files.el (find-file-literally): Doc fix.
1424         * simple.el (rfc822-goto-eoh): Give it a doc-string.
1426         * log-edit.el (log-edit-insert-changelog):
1427         Fix `log-edit-strip-single-file-name' functionality.  (Bug#8057)
1429 2011-02-19  Glenn Morris  <rgm@gnu.org>
1431         * dired-x.el: Don't require dired-aux.
1432         (dired-do-create-files, dired-mark-read-regexp)
1433         (dired-do-create-files-regexp): Autoload from dired-aux.
1435         * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
1436         * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
1438         * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
1439         * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
1441         * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
1442         * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
1443         (dired-clean-up-buffers-too): Declare.
1445         * dired-x.el (dired-initial-position): Merge into dired.el's version.
1446         * dired.el (dired-initial-position): Merge dired-x's version here.
1447         (dired-find-subdir): Declare.
1449         * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
1450         * dired-aux.el (dired-add-entry): Give it a doc-string.
1451         Merge dired-x's dired-omit handling here.
1452         (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
1454         * international/mule-diag.el (list-input-methods-1):
1455         Indent all lines of multi-line doc-strings.  (Bug#8066)
1457 2011-02-18  Chong Yidong  <cyd@stupidchicken.com>
1459         Fix 2011-02-02 changes.
1461         * apropos.el (apropos-print): Call apropos-mode before setting up
1462         buffer variables.  Use inhibit-read-only.
1464         * emacs-lisp/package.el (package--list-packages):
1465         Call package-menu-mode before setting up buffer variables.
1467         * play/solitaire.el (solitaire): Call solitaire-mode before
1468         setting up buffer variables.  Use inhibit-read-only.
1470 2011-02-18  Lawrence Mitchell  <wence@gmx.li>
1472         * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
1473         Bind case-fold-search to nil when looking for end of here-doc.
1475 2011-02-18  Eli Zaretskii  <eliz@gnu.org>
1477         * image-mode.el (image-toggle-display-image):
1478         Set find-file-literally non-nil in buffers visiting binary image
1479         files.  (Bug#8047)
1481 2011-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1483         * files.el (cd): Make completion obey cd-path (bug#7924).
1485 2011-02-18  Glenn Morris  <rgm@gnu.org>
1487         * progmodes/prolog.el: Don't require compile when compiling.
1488         (compilation-shell-minor-mode, compilation-error-regexp-alist)
1489         (compilation-forget-errors, compilation-fake-loc)
1490         (compilation-parse-errors-function, compilation-error-list): Declare.
1491         (prolog-inferior-mode): Require 'compile.
1493         * emulation/cua-base.el (pc-selection-mode): Declare.
1495         * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
1496         (customize-object): Add autoload cookie.
1497         * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
1498         (eieio-browse, describe-class, eieio-describe-class)
1499         (eieio-describe-constructor, describe-generic, eieio-describe-generic)
1500         (eieio-help-mode-augmentation-maybee): Add autoload cookies.
1501         * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
1502         * Makefile.in (autoloads): Make eieio.el writable.
1504         * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
1505         (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
1506         (dired-hack-local-variables): Use inhibit-read-only.
1507         (dired-guess-default): Simplify.
1508         (dired-make-relative-symlink): Use dotimes.
1509         (dired-simultaneous-find-file): Use dolist.
1510         (dired-mark-sexp): Remove unneeded `if'.  Use line-end-position.
1511         (dired-x-hands-off-my-keys): Doc fix.
1512         (dired-x-bind-find-file): Doc fix.  Use remapping.
1513         (after-init-hook): No need to add dired-x-bind-find-file.
1514         (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
1515         No need to call expand-file-name.
1516         (dired-filename-at-point): Remove unused locals `end', `filename'.
1518 2011-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1520         * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
1522 2011-02-18  Christian Ohler  <ohler@gnu.org>
1524         * emacs-lisp/ert.el (ert--setup-results-buffer)
1525         (ert-results-pop-to-backtrace-for-test-at-point)
1526         (ert-results-pop-to-messages-for-test-at-point)
1527         (ert-results-pop-to-should-forms-for-test-at-point)
1528         (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
1529         were incorrect and unnecessary.  This should make `make check'
1530         pass again.
1532 2011-02-17  Ken Manheimer  <ken.manheimer@gmail.com>
1534         * lisp/allout-widgets.el (allout-widgets-icons-light-subdir)
1535         (allout-widgets-icons-dark-subdir): Track relocations of icons.
1536         * lisp/allout.el: Remove commentary about remove encryption
1537         passphrase mnemonic support and verification.
1538         (allout-encrypt-string): Recognize epg failure to decrypt gpg2
1539         armored text using gpg1, and indicate that the gpg version *might*
1540         be the problem in the error message.
1542 2011-02-17  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1544         * net/rcirc.el (rcirc-float-time): New function.
1545         (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
1546         (rcirc-ctcp-sender-PING): Use it.
1548 2011-02-17  Glenn Morris  <rgm@gnu.org>
1550         * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
1551         (speedbar-update-flag, speedbar-fetch-etags-command)
1552         (speedbar-fetch-etags-arguments):
1553         * term.el (term-buffer-maximum-size, term-input-chunk-size)
1554         (term-completion-autolist, term-completion-addsuffix)
1555         (term-completion-recexact, term-completion-fignore):
1556         * term/sup-mouse.el (sup-mouse-fast-select-window):
1557         * term/x-win.el (x-select-request-type):
1558         Convert some defvars with "*" to defcustoms.
1560         * shell.el (shell-delimiter-argument-list): Set it to nil.  (Bug#8027)
1562         * vc/vc.el (vc-default-previous-version):
1563         Remove alias that points nowhere.  (Bug#4496)
1565         * dired-x.el (dired-clean-up-after-deletion):
1566         kill-buffer does not need save-excursion.
1567         (dired-do-run-mail): Doc fix.
1568         (dired-filename-at-point): Doc fix.
1569         Use looking-at, and skip-chars rather than re search.
1571         * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
1573 2011-02-16  Ken Manheimer  <ken.manheimer@gmail.com>
1575         * allout-widgets.el: New allout extension that shows allout
1576         outline structure with graphical widgets.  'allout-widgets'
1577         customize group is an 'allout' subgroup, for easy discovery.
1579         * allout.el: Include PGP and GnuPG in Keywords, and other
1580         commentary refinements.
1581         (allout-abbreviate-flattened-numbering): Rename to
1582         allout-flattened-numbering-abbreviation, and
1583         define-obsolete-variable-alias the old name.
1584         (allout-flattened-numbering-abbreviation): Rename from
1585         allout-abbreviate-flattened-numbering.
1586         (allout-mode-p): Include among autoloads, for use by other modes
1587         with impunity.
1588         (allout-listify-exposed):
1589         Use allout-flattened-numbering-abbreviation.
1590         (allout-encrypt-string): Use set-buffer-multibyte directly.
1591         (allout-set-buffer-multibyte): Remove.
1593 2011-02-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1595         * simple.el (just-one-space): Remove useless `or' call.
1597 2011-02-16  Alex Harsanyi  <AlexHarsanyi@gmail.com>
1599         * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
1600         (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
1601         (soap-decoded-multi-refs, soap-current-wsdl)
1602         (soap-encoded-namespaces): Rename CL-style *...* variables.
1604 2011-02-16  Michael Albinus  <michael.albinus@gmx.de>
1606         * net/soap-client.el: Add "comm" and "hypermedia" to the
1607         keywords.  Reflow too long lines.
1609         * net/soap-inspect.el: Ditto.  Require 'cl.
1611 2011-02-16  Bastien Guerry  <bzg@altern.org>
1613         * play/doctor.el (doctor-mode): Bugfix: escape the "," character
1614         in a `doctor-type' argument.
1616 2011-02-16  Alex Harsanyi  <AlexHarsanyi@gmail.com>
1618         * net/soap-client.el:
1619         * net/soap-inspect.el: New files.
1621 2011-02-16  Leo  <sdl.web@gmail.com>
1623         * dired-x.el (dired-mode-map, dired-extra-startup):
1624         Remove dired-copy-filename-as-kill since it's already in dired.el.
1626 2011-02-16  Glenn Morris  <rgm@gnu.org>
1628         * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
1629         Doc fixes.  Add :set property, replacing top-level calls.
1630         (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
1631         (dired-guess-shell-gnutar): Test tar version rather than system-type.
1632         (dired-extra-startup, dired-man, dired-info): Doc fixes.
1633         (dired-clean-up-after-deletion): Use when and dolist.
1634         (dired-jump): Use unless and when.
1635         (dired-virtual): Use line-end-position.
1636         (dired-default-directory-alist): Rename from default-directory-alist.
1637         (dired-default-directory): Update for above name change.
1638         (dired-vm): Drop VM < 5 and simplify.
1639         (dired-buffer-more-recently-used-p): Rewrite.
1640         (dired-filename-at-point): Use when and or.
1641         (dired-x-read-filename-at-point): Rename from read-filename-at-point.
1642         Update callers.
1644 2011-02-15  Glenn Morris  <rgm@gnu.org>
1646         * dired-x.el: Use easymenu for menu items.  Fix item capitalization.
1648 2011-02-14  Chong Yidong  <cyd@stupidchicken.com>
1650         * vc/vc-git.el (vc-git-root-log-format): New option for
1651         customizing log format.
1652         (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
1653         (vc-git-log-view-mode): Use it.
1654         (vc-git-expanded-log-entry): New function.
1655         (vc-git-log-view-mode): Use it.  Truncate lines in root log.
1657         * vc/vc-hg.el (vc-hg-root-log-template): New option for
1658         customizing log format.
1659         (vc-hg-print-log): Use it.
1660         (vc-hg-expanded-log-entry): New function.
1661         (vc-hg-log-view-mode): Use vc-hg-root-log-template and
1662         vc-hg-expanded-log-entry.  Truncate lines in root log.
1664         * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
1666         * vc/log-view.el (log-view-mode-menu):
1667         Add log-view-toggle-entry-display.
1669 2011-02-14  Glenn Morris  <rgm@gnu.org>
1671         * dired-x.el: Don't require man when compiling.
1672         (dired-omit-extensions, dired-local-variables-file)
1673         (dired-x-hands-off-my-keys): Make them defcustoms.
1674         (Man-support-local-filenames, Man-getpage-in-background): Declare.
1675         (vm-visit-folder): Declare rather than defining.
1676         (dired-x-help-address, dired-x-variable-list): Remove.
1677         (dired-x-submit-report): Make it an obsolete alias.
1679 2011-02-14  Juanma Barranquero  <lekktu@gmail.com>
1681         * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
1683 2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
1685         * net/imap.el: Bring it back.
1687 2011-02-13  Alan Mackenzie  <acm@muc.de>
1689         * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
1690         narrow-to-region call that cuts context off the end (Bug#7722).
1692         * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
1693         Refactor nested if-forms with a simple cond.
1694         (c-forward-<>-arglist): Revert 2011-01-31 change.
1696 2011-02-13  Chong Yidong  <cyd@stupidchicken.com>
1698         * vc/log-view.el: New command log-view-toggle-entry-display for
1699         toggling log entries between concise and detailed forms.
1700         (log-view-toggle-entry-display): New command.
1701         (log-view-mode-map): Bind RET to it.
1702         (log-view-expanded-log-entry-function): New variable.
1703         (log-view-current-entry, log-view-inside-comment-p)
1704         (log-view-current-tag): New functions.
1705         (log-view-toggle-mark-entry): Use log-view-current-entry and
1706         log-view-end-of-defun instead of searching directly with
1707         log-view-message-re.
1708         (log-view-end-of-defun): Likewise.  Add optional ARG for
1709         compatibility with end-of-defun.
1710         (log-view-end-of-defun): Ignore comments and VC buttons.
1712         * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
1713         (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
1715 2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
1717         * net/imap.el: Remove file.  All the functionality is in nnimap.el.
1719         * net/imap-hash.el: Remove file.
1721 2011-02-13  Michael Albinus  <michael.albinus@gmx.de>
1723         * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
1725         * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
1726         call.
1728         * net/tramp-imap.el: Remove file.
1730 2011-02-13  Chong Yidong  <cyd@stupidchicken.com>
1732         * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
1733         widget library for buttons, just use button.el.
1735         * vc/log-view.el (log-view-mode-map): Don't inherit from
1736         widget-keymap.
1738 2011-02-12  Glenn Morris  <rgm@gnu.org>
1740         * emacs-lisp/cl-seq.el (union, nunion, intersection)
1741         (nintersection, set-difference, nset-difference)
1742         (set-exclusive-or, nset-exclusive-or): Doc fix.
1744         * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
1746         * faces.el (face-attr-match-p): Handle the obsolete :bold and
1747         :italic props, so that frame-set-background-mode works.  (Bug#7966)
1749         * simple.el (next-error): Doc fix.
1751 2011-02-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1753         * dired-aux.el (dired-create-files): Adapt destination name to
1754         match the new behavior of copy-directory.
1756 2011-02-12  Chong Yidong  <cyd@stupidchicken.com>
1758         * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
1759         from rmail-dont-reply-to-names.  Callers changed.
1760         (mail-dont-reply-to): Rename from mail-dont-reply-to.
1761         (rmail-dont-reply-to): Make it an obsolete alias.
1763         * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
1764         nil, and make obsolete (Bug#7888).
1765         (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
1767         * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
1769         * mail/rmailsort.el (rmail-sort-by-correspondent)
1770         (rmail-select-correspondent): Doc fix.  Use mail-dont-reply-to.
1772         * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
1774 2011-02-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1776         * files.el (copy-directory): New argument COPY-CONTENTS for
1777         copying directory contents into another existing directory.
1779 2011-02-12  Tassilo Horn  <tassilo@member.fsf.org>
1781         * minibuffer.el (completion-table-case-fold): New function for
1782         creating a case-insensitive completion table.
1784 2011-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
1786         * net/tramp.el (tramp-default-method): Also check if
1787         `auth-source-search' is bound.
1788         (tramp-read-passwd): Use `auth-source-search' instead of
1789         `auto-source-user-or-password'.
1791         * net/tramp-imap.el: Autoload `auto-source-search' instead of
1792         `auto-source-user-or-password.
1793         (tramp-imap-passphrase-callback-function): Use it.
1795         * net/imap-hash.el: Autoload `auto-source-search' instead of
1796         `auto-source-user-or-password.
1797         (imap-hash-open-connection): Use it.
1799         * mail/smtpmail.el: Autoload `auto-source-search' instead of
1800         `auto-source-user-or-password.
1801         (smtpmail-try-auth-methods): Use it.
1803 2011-02-12  Phil Hagelberg  <phil@hagelb.org>
1805         * emacs-lisp/package.el: Allow packages to be reinstalled.
1806         (package--write-file-no-coding): Remove EXCL arg.
1807         (package-unpack-single): Don't use it.
1809 2011-02-12  Karl Pflästerer  <k@rl.pflaesterer.de>  (tiny change)
1811         * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
1812         in each sub directory.
1813         (vc-svn-registered): Use vc-svn-root.
1814         (vc-svn-root): New function.  Make vc-svn-responsible-p an alias.
1815         (vc-svn-repository-hostname): Use "svn info".
1817 2011-02-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1819         * simple.el (delete-trailing-whitespace): New optional buffer
1820         bound parameters.
1822 2011-02-11  Bastien Guerry  <bzg@altern.org>
1824         * files.el (basic-save-buffer): save unmodified buffers when
1825         the file pointed by buffer-file-name doesn't exist.
1827 2011-02-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1829         * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
1831 2011-02-11  Glenn Morris  <rgm@gnu.org>
1833         * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
1835 2011-02-11  Juanma Barranquero  <lekktu@gmail.com>
1837         * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
1839 2011-02-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1841         * server.el (server-process-filter): Use pcase.
1843         * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
1844         conflicting ways.
1845         (smie-indent--parent): Extend to "parent of arg".
1846         (smie-indent-inside-string): New function.
1847         (smie-indent-functions): Use it.
1849         * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
1850         bzr locking race condition.
1852         * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
1853         still valid before using it.
1855         * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
1856         `message' -> `compilation-message' rename (bug#8004).
1858         Move keymap initialization into declaration.
1859         * textmodes/enriched.el (enriched-mode-map):
1860         * textmodes/bib-mode.el (bib-mode-map):
1861         * term/lk201.el (lk201-function-map):
1862         * tar-mode.el (tar-mode-map):
1863         * replace.el (occur-mode-map):
1864         * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
1865         * progmodes/idlw-help.el (idlwave-help-mode-map):
1866         * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
1867         * play/solitaire.el (solitaire-mode-map):
1868         * play/snake.el (snake-mode-map, snake-null-map):
1869         * play/pong.el (pong-mode-map):
1870         * play/handwrite.el (menu-bar-handwrite-map):
1871         * play/gametree.el (gametree-mode-map):
1872         * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
1873         (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
1874         * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
1875         (newsticker--url-keymap):
1876         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
1877         * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
1878         (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
1879         (menu-bar-edit-menu, menu-bar-custom-menu)
1880         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
1881         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
1882         (menu-bar-line-wrapping-menu, menu-bar-options-menu)
1883         (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
1884         (menu-bar-tools-menu, menu-bar-describe-menu)
1885         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
1886         (menu-bar-help-menu):
1887         * mail/rmailsum.el (rmail-summary-mode-map):
1888         * kmacro.el (kmacro-step-edit-map):
1889         * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
1890         (ibuffer-mode-operate-map):
1891         * hi-lock.el (hi-lock-menu, hi-lock-map):
1892         * emulation/vip.el (vip-mode-map):
1893         * emacs-lisp/re-builder.el (reb-lisp-mode-map):
1894         * bookmark.el (bookmark-bmenu-mode-map):
1895         * help-mode.el (help-mode-map): Move initialization into declaration.
1897 2011-02-10  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1899         * net/rcirc.el: Add PRIVMSG and CTCP functions.
1900         (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
1901         (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
1902         (rcirc-cmd-me, rcirc-authenticate): Use them.
1904 2011-02-10  Ken Manheimer  <ken.manheimer@gmail.com>
1906         * allout.el: Synopsis: Change allout user configuration so
1907         auto-activation is controlled solely by customization
1908         `allout-auto-activation'.
1910         (allout-auto-activation-helper, allout-setup): New autoloads
1911         implement new custom set procedure for allout-auto-activation.
1912         Also, explicitly invoke (allout-setup) after allout-auto-activation
1913         is custom-defined, to affect the settings in emacs sessions besides
1914         the few where allout-auto-activation customization is done.
1915         (allout-auto-activation): Use allout-auto-activation-helper to
1916         :set.  Revise the docstring.
1917         (allout-init): Reduce functionality to just customizing
1918         allout-auto-activation, and mark obsolete.
1919         (allout-mode): Respect string values for allout-auto-activation.
1920         Run allout-after-copy-or-kill-hook without any args.
1921         (allout-mode, allout-layout, allout-default-layout)
1922         (outlineify-sticky): Adjust docstring for new scheme.
1923         (allout-after-copy-or-kill-hook): No arguments - hook implementers
1924         should concentrate on the kill ring.
1926 2011-02-09  Teodor Zlatanov  <tzz@lifelogs.com>
1928         * password-cache.el (password-cache-remove): Accept secrets that are
1929         not strings.
1931 2011-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1933         * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
1934         of here-doc that immediately follows a comment.
1936 2011-02-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1938         * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
1940         * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
1941         available.
1942         (rcirc-ctcp-sender-PING): New function.
1944 2011-02-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1946         * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
1947         Remove the mark/nomark handling, and activate shift-select-mode instead.
1949         * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
1951 2011-02-07  Jay Belanger  <jay.p.belanger@gmail.com>
1953         * calc/calc-units.el (math-logunits-quant): Add support for
1954         non-logarithmic units.
1956 2011-02-07  Ken Manheimer  <ken.manheimer@gmail.com>
1958         * allout.el (allout-after-copy-or-kill-hook): New hook for
1959         extension-specific processing of killed text.
1960         (allout-mode): Include new allout-after-copy-or-kill-hook among
1961         mentioned hooks.
1962         (allout-kill-line, allout-kill-topic): Ensure that processing
1963         after kill happens even if barf-if-buffer-read-only is raised.
1964         Include new allout-after-copy-or-kill-hook among that subsequent
1965         processing.
1966         (allout-deannotate-hidden): Actually remove the annotation text
1967         properties.
1969         * allout.el (allout-listify-exposed): Copy text sans text properties.
1971 2011-02-07  Michael Albinus  <michael.albinus@gmx.de>
1973         * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
1975 2011-02-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1977         * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
1979 2011-02-06  Jay Belanger  <jay.p.belanger@gmail.com>
1981         * calc/calc.el (calc-logunits-field-reference): Rename from
1982         `calc-default-field-reference-level'.
1983         (calc-logunits-power-reference): Rename from
1984         `calc-default-power-reference-level'.
1986         * calc/calc-units.el (math-logunits-quant): Rename from
1987         `math-logunits-level'
1988         (math-logunits-plus): Rename from math-logcombine.
1989         (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
1990         (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
1991         (calcFunc-lufieldsub, calc-logunits-add, calc-logunits-sub):
1992         New functions.
1993         (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
1994         (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
1995         (calc-logunits-quantity): Rename from `calc-level'.
1996         (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
1997         (calcFunc-nppowerlevel, calc-logunits-dblevel, calc-logunits-nplevel)
1998         (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
1999         (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
2000         (calcFunc-lupowerdiv, calc-logunits-divide, math-logunits-level):
2001         New functions.
2003         * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
2004         (calc-ul-prefix-help): Remove.
2005         (calc-l-prefix-help): New function.
2006         (calc-full-help): Add reference to `calc-l-prefix-help'.
2008         * calc/calc-ext.el (calc-init-extensions): Update autoloads.
2010         * calc/README: Mention logarithmic units.
2012 2011-02-06  Chong Yidong  <cyd@stupidchicken.com>
2014         * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
2015         non-ASCII characters (Bug#7925).
2017 2011-02-05  Glenn Morris  <rgm@gnu.org>
2019         * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
2021         * calendar/diary-lib.el (diary-font-lock-keywords):
2022         Tweak diary-time-regexp match.  (Bug#7891)
2024         * progmodes/f90.el (f90-find-tag-default): New function.  (Bug#7919)
2025         (f90-mode): Use it for mode's `find-tag-default-function' property.
2027         * ibuf-ext.el (ibuffer-filter-disable): Make it work.  (Bug#7969)
2029         * faces.el (set-face-attribute): Doc fix.  (Bug#2659)
2031 2011-02-05  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
2033         * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
2034         (Bug#6386).
2036 2011-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2038         * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
2039         font-lock-syntax-table remappings.
2040         (sh-here-doc-markers, sh-here-doc-re): Remove.
2041         (sh-font-lock-close-heredoc): Remove.
2042         (sh-syntax-propertize-here-doc): New function.
2043         (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
2044         instead of the sh-here-doc-re.
2045         (sh-font-lock-paren): Don't do anything in comments or strings.
2046         Handle line continuations.  Accept a few more chars.
2047         Don't rely on the font-lock-syntax-table remappings.
2048         `esac' is not a valid pattern.
2049         (sh-syntax-propertize-function): Handle here-docs differently, so we
2050         don't bother syntax-propertizing the insides.
2052         * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
2053         Handle new bashisms ";&" and ";;&" (bug#7947).
2055 2011-02-05  Michael Albinus  <michael.albinus@gmx.de>
2057         * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
2058         Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
2060 2011-02-05  Era Eriksson  <era+tramp@iki.fi>  (tiny change)
2062         * net/tramp.el (tramp-postfix-method-format)
2063         (tramp-postfix-method-regexp, tramp-prefix-domain-format)
2064         (tramp-prefix-domain-regexp, tramp-postfix-user-format)
2065         (tramp-postfix-user-regexp, tramp-prefix-port-format)
2066         (tramp-prefix-port-regexp, tramp-postfix-host-format)
2067         (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
2068         Doc fix.
2070 2011-02-04  Sam Steingold  <sds@gnu.org>
2072         * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
2074 2011-02-04  Andreas Schwab  <schwab@linux-m68k.org>
2076         * international/mule-util.el (with-coding-priority): Doc fix.
2078 2011-02-04  Eli Zaretskii  <eliz@gnu.org>
2080         * arc-mode.el (archive-mode-map): Fix a typo in last change.
2082 2011-02-03  Sam Steingold  <sds@gnu.org>
2084         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2085         Do not error out when `func' is nil.
2087 2011-02-03  Michael Albinus  <michael.albinus@gmx.de>
2089         * net/tramp-sh.el (tramp-remote-path): Add default settings for
2090         `tramp-default-remote-path' to the docstring.
2091         (tramp-get-remote-path): Suppress error message when `getconf
2092         PATH' fails.
2094         * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
2096 2011-02-03  Glenn Morris  <rgm@gnu.org>
2098         * vc/vc-hg.el (vc-hg-command): Doc fix.
2100         * term/w32-win.el (libpng-version): Declare for compiler.
2102         * msb.el: No need to load dired while compiling.
2104         * emacs-lisp/elint.el (elint-standard-variables):
2105         Remove a couple of built-ins that now have doc-strings.
2107         * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
2108         `require' is automatically `eval-and-compile'd.
2110         * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
2111         (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
2113         * strokes.el (strokes-fill-current-buffer-with-whitespace):
2114         Move definition before use.
2115         (strokes-report-bug): Make it obsolete.
2117 2011-02-02  Sam Steingold  <sds@gnu.org>
2119         * apropos.el (apropos-print): Now that `apropos-mode' inherits
2120         from `special-mode', entering it makes the buffer read-only, so
2121         call it only when everything has been already inserted.
2122         * emacs-lisp/ert.el (ert--setup-results-buffer)
2123         (ert-results-pop-to-backtrace-for-test-at-point)
2124         (ert-results-pop-to-messages-for-test-at-point)
2125         (ert-results-pop-to-timings): Ditto.
2126         * emacs-lisp/package.el (package--list-packages): Ditto.
2127         * play/solitaire.el (solitaire): Ditto.
2129 2011-02-02  Chong Yidong  <cyd@stupidchicken.com>
2131         * progmodes/compile.el: Make all faces inherit.
2132         (compilation-warning): Inherit from font-lock-variable-name-face.
2133         (compilation-info): Inherit from font-lock-type-face.
2134         (compilation-line-number): Reassign to font-lock-keyword-face.
2135         (compilation-column-number): Reassign to font-lock-doc-face.
2136         (compilation-leave-directory-face): Reassign to
2137         font-lock-builtin-face.
2139 2011-02-02  Eli Zaretskii  <eliz@gnu.org>
2141         * dired.el (dired-insert-directory): Don't invoke `ls' when
2142         ls-lisp.el is used to emulate it.
2144 2011-02-01  Julien Danjou  <julien@danjou.info>
2146         * color.el (color-gradient): Add a color-gradient function.
2148 2011-02-01  Sam Steingold  <sds@gnu.org>
2150         * simple.el (special-mode-map): Bind "h" to `describe-mode';
2151         bind "z" to `kill-this-buffer'.
2152         (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
2153         * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
2154         (apropos-mode): Inherit from `special-mode'.
2155         * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
2156         * bookmark.el (bookmark-bmenu-mode): Define using
2157         `define-derived-mode' inheriting from `special-mode'.
2158         * dired.el (dired-mode-map): Inherit from `special-mode-map'.
2159         * image-mode.el (image-mode-map): Ditto.
2160         * replace.el (occur-mode): Define using
2161         `define-derived-mode' inheriting from `special-mode'.
2162         * tar-mode.el (tar-mode): Inherit from `special-mode'.
2163         * calendar/diary-lib.el (diary-fancy-display-mode):
2164         Inherit from `special-mode-map'.
2165         * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
2166         Inherit from `special-mode'.
2167         * emacs-lisp/package.el (package-menu-mode-map): Copy from
2168         `special-mode-map'.
2169         (package-menu-mode): Define using `define-derived-mode'
2170         inheriting from `special-mode'.
2171         * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
2172         * net/xesam.el (xesam-mode): Inherit from `special-mode'.
2173         (xesam-mode-map): Define separately.
2174         * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
2175         * progmodes/compile.el (compilation-minor-mode-map)
2176         (compilation-mode-map): Inherit from `special-mode-map'.
2177         * vc/diff-mode.el (diff-mode-shared-map):
2178         Inherit from `special-mode-map'.
2179         * vc/log-view.el (log-view-mode-map): Add a comment.
2181 2011-02-01  Chong Yidong  <cyd@stupidchicken.com>
2183         * custom.el (load-theme): Define return value.  Drop use of
2184         unsafep; call custom-theme-load-confirm for non-known-safe themes.
2185         (custom-theme-load-confirm): Scroll in the correct window.
2186         (custom-enabled-themes): Add custom-safe-themes to :set-after.
2188         * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
2189         checkbox if load-theme fails.
2191 2011-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2193         * progmodes/compile.el (compilation-next-error): Check there's
2194         a message before using it (bug#7941).
2196 2011-02-01  Jay Belanger  <jay.p.belanger@gmail.com>
2198         * calc/calc-mtx.el (math-lud-pivot-check): New function.
2199         (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
2200         of potential pivots.
2202 2011-01-31  Alan Mackenzie  <acm@muc.de>
2204         * progmodes/cc-cmds.el (c-forward-over-illiterals):
2205         Continue parsing if we encounter a naked # (Bug#7595).
2206         (c-beginning-of-statement): Avoid loop in locating the beginning
2207         of a macro.  (Not actually committed until 2011-02-20, see above).
2209 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
2211         * files.el (copy-directory): Fix arguments to recursive call.
2213 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
2215         * files.el (copy-directory): If destination is an existing
2216         directory, copy into a subdirectory there.
2218 2011-01-31  Andreas Schwab  <schwab@linux-m68k.org>
2220         * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
2221         files.
2223 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
2225         * image-dired.el (image-dired-mouse-display-image): No-op if no
2226         file is found (Bug#7817).
2228         * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
2230 2011-01-31  Kenichi Handa  <handa@m17n.org>
2232         * international/quail.el (quail-keyboard-layout-alist):
2233         Remove superfluous SPC for "pc105-uk" (bug#7927).
2235 2011-01-31  Glenn Morris  <rgm@gnu.org>
2237         * msb.el (msb-menu-bar-update-buffers): Update for changed
2238         argument handling of menu-bar-select-frame.  (Bug#7902)
2240 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
2242         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
2243         to the recursion depth (Bug#7722).
2245 2011-01-31  Roy Liu  <carsomyr@gmail.com>  (tiny change)
2247         * term/ns-win.el (ns-find-file): Expand ns-input-file with
2248         command-line-default-directory (Bug#7872).
2250 2011-01-31  Stefan Monnier  <monnier@iro.umontreal.ca>
2252         * progmodes/compile.el (compilation--flush-directory-cache):
2253         New function, extracted from compilation--remove-properties.
2254         (compilation--remove-properties, compilation--parse-region): Use it.
2255         (compilation--previous-directory): Handle one more case.
2256         (compilation-enable-debug-messages): Remove.
2257         (compilation-parse-errors, compilation--flush-parse): Just remove the
2258         left over debug messages.
2260 2011-01-31  Sam Steingold  <sds@gnu.org>
2262         * progmodes/compile.el (compilation-enable-debug-messages):
2263         Add a variable to make the parsing messages introduced in
2264         2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
2265         (compilation-parse-errors, compilation--flush-parse): Use it.
2267 2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
2269         * net/rcirc.el: New customizable nick completion format.  (Bug#6314)
2270         (rcirc-nick-completion-format): New defcustom.
2271         (rcirc-complete): Use it.
2273 2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
2275         * net/rcirc.el: Clean log filenames (Bug#7933).
2276         (rcirc-log-write): Use convert-standard-filename.
2277         (rcirc-log-filename-function): Documentation updates.
2279 2011-01-30  Jan Djärv  <jan.h.d@swipnet.se>
2281         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
2282         Check report-emacs-bug-can-use-osx-open and use that if t.
2283         (report-emacs-bug-can-use-osx-open): New function.
2284         (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
2285         Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
2287 2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
2289         * vc/vc-dispatcher.el (vc-set-async-update): New function for
2290         updating Dired or VC-dir buffers after async command completes.
2292         * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
2293         (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
2295         * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
2296         completions if it exists.  Use vc-set-async-update.
2297         (vc-git-pull): Use vc-set-async-update.
2299         * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
2300         read-shell-command.  Use vc-set-async-update.
2301         (vc-hg-merge-branch): Use vc-set-async-update.
2303 2011-01-29  Daiki Ueno  <ueno@unixuser.org>
2305         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
2306         Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
2307         (Bug#7931).
2309 2011-01-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2311         * progmodes/compile.el: Avoid an N² behavior in grep.
2312         (compilation--previous-directory): New fun.
2313         (compilation--previous-directory-cache): New var.
2314         (compilation--remove-properties): Flush it.
2315         (compilation-directory-properties, compilation-error-properties):
2316         Use the new fun to speed up looking for the current directory.
2318 2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
2320         * vc/vc-hg.el (vc-hg-history): New var.
2321         (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
2322         (vc-hg-merge-branch): New function.
2324         * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
2325         the other way around.
2327         * vc/vc-git.el (vc-git-branches, vc-git-pull)
2328         (vc-git-merge-branch): New functions.
2329         (vc-git-history): New var.
2331 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
2333         * vc/vc-dispatcher.el (vc-do-async-command): New function.
2335         * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
2336         vc-do-async-command.
2338         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
2339         Callers changed.
2341 2011-01-28  Leo  <sdl.web@gmail.com>
2343         * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
2344         highlighting to the "this function is advised" message.
2346         * help-mode.el (help-mode-finish): Apply highlighting here, to
2347         avoid clobbering by substitute-command-keys (Bug#6304).
2349 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
2351         * woman.el (woman0-roff-buffer): Process roff escape sequences
2352         occurring prior to the first request (Bug#7843).
2354 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2356         * progmodes/compile.el: Don't use font-lock any more.
2357         (compilation-error-regexp-alist-alist): Change handling of makepp
2358         so it preserves the warning/error distinction on subsequent files.
2359         Simplify various rules.
2360         (compilation-directory-properties): Use font-lock-face.
2361         Add a compilation-message property.
2362         (compilation-internal-error-properties): Use font-lock-face.
2363         Don't set the compilation-debug property here.
2364         (compilation--put-prop, compilation--remove-properties)
2365         (compilation--parse-region, compilation--ensure-parse)
2366         (compilation--ensure-parse): New functions.
2367         (compilation-parse-errors): New function, largely inspired of
2368         compilation-mode-font-lock-keywords.  Set compilation-debug here.
2369         (compilation--parsed): New var.
2370         (compilation--flush-parse): Use compilation--ensure-parse.
2371         (compilation-start): Don't call font-lock.
2372         (compilation-turn-on-font-lock): Remove.
2373         (compilation-setup): Don't set font-lock-extra-managed-props not change
2374         other font-lock settings, other than keywords.
2375         Don't activate font-lock-mode.
2376         Set change-major-mode-hook and before-change-functions.
2377         (compilation--unsetup): Remove properties and hooks.
2378         (compilation-next-single-property-change): New function.
2379         (compilation-next-error): Use it to parse when needed.
2380         (compile-goto-error): Parse buffer as needed.
2381         (compilation--compat-error-properties): Don't need a dummy `face'
2382         property any more.
2384 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2386         * progmodes/compile.el: Use accessors for clarity and fix omake hack.
2387         (compilation-process-setup-function): Fix docstring's false promises.
2388         (compilation-error-regexp-alist-alist): Catch omake's continuous
2389         recompilation message and avoid reuse of old markers.
2390         (compilation-parse-errors-function): Declare obsolete.
2391         (compilation-buffer-modtime): Remove.
2392         (compilation--make-cdrloc, compilation--loc->col)
2393         (compilation--loc->line, compilation--loc->file-struct)
2394         (compilation--loc->marker, compilation--loc->visited)
2395         (compilation--make-file-struct, compilation--file-struct->file-spec)
2396         (compilation--file-struct->formats)
2397         (compilation--file-struct->loc-tree): New macros.  Use them.
2398         (compilation--message): New defstruct.  Use them.
2399         (compilation-next-error-function): Don't mess with timestamps to try
2400         and guess when to reparse.
2402 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2404         * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
2405         (tex-old-error-file-name): New function,
2406         extracted from tex-compilation-parse-errors.
2407         (tex-compilation-parse-errors): Remove.
2408         (tex-error-regexp-alist): New var.
2409         (tex-shell): Use it to avoid compilation-parse-errors-function.
2411         * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
2412         (grep-mode-font-lock-keywords): Remove regexp that seems like
2413         a left-over from before we used compile.el.
2414         (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
2415         modifying the buffer within with-silent-modifications.
2417         * progmodes/compile.el: Cleanup text-properties namespace by using
2418         `compilation-message' instead of `message', `compilation-directory'
2419         instead of `directory', and `compilation-debug' instead of `debug'.
2420         (compilation-last-buffer, compilation-parsing-end)
2421         (compilation-error-list, compilation-old-error-list): Move to the
2422         compatibility part of the code.
2423         (compilation-error-properties): If `file' is a function, let it return
2424         a file name.
2425         (compilation-mode-font-lock-keywords): Be more conservative with the
2426         omake "^ *" pattern prefix, to try and minimize the risk of
2427         pathologically slow regexp matching.
2428         (compilation-start): Use inhibit-read-only.
2429         (compilation--unsetup): New function.
2430         (compilation-shell-minor-mode, compilation-minor-mode): Use it.
2431         (compilation-filter): Minor tweaks.
2432         (compilation-next-error-function): Try and avoid abusing variables.
2433         (compilation--flush-file-structure): New fun.
2434         (compilation-fake-loc): Use it to improve behavior when file is reused.
2435         (debug-ignored-errors): Add "Moved past last ...".
2436         (compilation--compat-error-properties)
2437         (compilation--compat-parse-errors): Rename by doubling the "-".
2439         Port features from the previous prolog.el to the new one.
2440         * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
2441         (prolog-program-name, prolog-program-switches, prolog-consult-string)
2442         (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
2443         variable and use a function to compute the value dynamically.
2444         (prolog-prompt-regexp): Add regexp for GNU Prolog.
2445         (prolog-continued-prompt-regexp): Remove, unused.
2446         (prolog-find-value-by-system): Try and use the value of prolog-system
2447         in the *prolog* buffer if it helps.
2448         (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
2449         (prolog-zip-on): ..and check prolog-system and version here instead.
2450         (prolog-inferior-self-insert-command): New command.
2451         (prolog-inferior-mode-map): Use it.
2452         (prolog-inferior-error-regexp-alist): New var.
2453         (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
2454         (prolog-input-filter): Use derived-mode-p.
2455         (prolog-inferior-guess-flavor): New function.
2456         (prolog-ensure-process): Use it.  Use make-comint-in-buffer rather than
2457         make-comint to avoid running comint-mode twice.
2458         (prolog-inferior-buffer): New fun.
2459         (prolog-old-process-region, prolog-old-process-file):
2460         Don't call prolog-bsts here...
2461         (prolog-build-prolog-command): ...do it here instead.
2462         (prolog-old-process-region, prolog-old-process-file):
2463         Use compilation-fake-loc and compilation-forget-errors.
2464         (prolog-consult-compile-region): Use bolp.
2466 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
2468         * image-mode.el (image-display-size): Doc fix (Bug#7820).
2470 2011-01-27  Sam Steingold  <sds@gnu.org>
2472         * midnight.el (clean-buffer-list-kill-never-buffer-names):
2473         Remove "*server*" which is never created by emacs server.
2475 2011-01-27  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
2477         * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
2478         there are some diff switches.
2480 2011-01-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2482         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2483         Copy change made to ruby-font-lock-syntactic-keywords.
2485         * htmlfontify.el: Make it obey the font-lock-face text property.
2486         Miscellaneous cleanup such as:
2487         - Don't hide expressions after a closing paren.
2488         - Move initial setq into let.
2489         - Hoist common parts out of ifs.
2490         (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
2491         (hfy-face-at): Use get-text-property instead.
2492         (hfy-prop-invisible-p): Use invisible-p if available.
2493         (htmlfontify-manual): Use \\[...].
2494         (hfy-html-quote-regex): Use [...].
2495         (hfy-combined-face-spec): Simplify.
2496         (hfy-compile-face-map): Don't presume point-min==1.
2497         (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
2498         match end of string.
2499         (hfy-text-p): η-reduce.
2500         (hfy-tags-for-file): Receive cache-hash directly.
2501         (hfy-mark-tag-names): Adjust call.
2503 2011-01-27  Glenn Morris  <rgm@gnu.org>
2505         * msb.el (msb-after-load-hooks): Make it an obsolete alias.
2506         (msb-after-load-hook): Remove eval-after-load wackiness.
2508 2011-01-25  Sam Steingold  <sds@gnu.org>
2510         * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
2511         literal "diff" (important for windows-nt).
2513 2011-01-25  Glenn Morris  <rgm@gnu.org>
2515         * emacs-lisp/copyright.el (copyright-at-end-flag)
2516         (copyright-names-regexp): Add safety properties.
2517         (copyright-year-ranges): New option.
2518         (copyright-find-end): New function, split from copyright-update-year.
2519         (copyright-update-year): Use copyright-find-end.
2520         (copyright-fix-years): Optionally, convert years to ranges.
2521         Handle years continued over comment lines.
2522         Do not mess with the fill-prefix.
2523         Do not call copyright-update.
2524         (copyright-update-directory): Optionally, fix years rather than update.
2525         Skip directories.  Find files with only safe local vars.
2527 2011-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2529         * files.el (file-name-non-special): Only change buffer-file-name after
2530         insert-file-contents if it's `visit'ing the file (bug#7854).
2532 2011-01-25  Chong Yidong  <cyd@stupidchicken.com>
2534         * dired.el (dired-revert): Doc fix (Bug#7758).
2536         * simple.el (line-move-visual): Doc fix (Bug#7594).
2538 2011-01-25  Nobuyoshi Nakada  <nobu@ruby-lang.org>
2540         * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
2541         here-doc which ends with an underscore.
2542         (ruby-mode-set-encoding): Skip shebang line always.
2543         (ruby-mode-map): Bind C-c C-c to comment-region.
2544         (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
2545         (ruby-forward-sexp): Stop after literal hash key labels.
2546         (ruby-font-lock-syntactic-keywords): Highlight regexp after open
2547         bracket.
2549 2011-01-25  Keitaro Miyazaki  <keitaro.miyazaki@gmail.com>  (tiny change)
2551         * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
2552         the correct buffer (Bug#7650).
2554 2011-01-25  Glenn Morris  <rgm@gnu.org>
2556         * comint.el (comint-mode): Doc fix.  (Bug#7897)
2558         * simple.el (do-auto-fill): Give it a doc string.
2560         * button.el (make-text-button): Doc fix.  (See bug#7881)
2562 2011-01-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2564         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2565         Don't move backward, so as not to fall in an inf-loop (bug#7736).
2567         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
2568         Handle ?" and friends differently (e.g. don't use backrefs).
2570 2011-01-24  Jay Belanger  <jay.p.belanger@gmail.com>
2572         * calc/calc.el (calc-default-power-reference-level)
2573         (calc-default-field-reference-level): New variables.
2574         * calc/calc-units.el (math-standard-units): Add dB and Np.
2575         (math-logunits): New variable.
2576         (math-extract-logunits, math-logcombine, calcFunc-luplus)
2577         (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
2578         (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
2579         New functions.
2580         (math-find-base-units-rec): Add entry for ln(10).
2581         * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
2582         (calc-ul-prefix-help): New function.
2583         * calc/calc-ext.el (calc-init-extensions): Autoload new units
2584         functions.  Add keybindings for new units functions.
2586 2011-01-22  Giorgos Keramidas  <keramida@ceid.upatras.gr>  (tiny change)
2588         * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
2589         rcirc buffers.  (Bug#4940)
2591 2011-01-22  Glenn Morris  <rgm@gnu.org>
2593         * emacs-lisp/copyright.el (copyright-find-copyright): New function,
2594         split out from copyright-update-year.
2595         (copyright-update): Don't mess with the GPL version if we don't own the
2596         copyright.  Update license regexp, and remove no longer needed
2597         Esperanto stuff.
2598         (copyright-fix-years): Use copyright-find-copyright.
2600 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
2602         * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
2604 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
2606         * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
2607         (lm): Rename to landmark.
2608         (lm-test-run): Rename to landmark-test-run.
2610 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
2612         * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
2613         "Case sensitive" menu item.
2615 2011-01-22  Roland McGrath  <roland@frob.com>
2617         * comint.el (comint-replace-by-expanded-history-before-point): Fix
2618         expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
2620 2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2622         * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
2624 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
2626         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2627         Assume foo(bar) is a manpage reference rather than some unquoted
2628         symbol (bug#7705).
2630 2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2632         * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
2633         Suggested by Flo <sensorflo@gmail.com>.
2635 2011-01-22  Glenn Morris  <rgm@gnu.org>
2637         * progmodes/compile.el (compilation-error-regexp-alist):
2638         Fix custom type.  (Bug#7812)
2640 2011-01-22  Ken Manheimer  <ken.manheimer@gmail.com>
2642         * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
2643         allout-number-siblings, in keeping with what obtained due to
2644         (now-defunct) allout-keybindings-list.  Ditch repeat binding to
2645         (prefixed) ?i.
2646         (allout-before-change-handler): Better expose spots affected by
2647         undo.
2649 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
2651         * man.el (Man-highlight-references0): Use make-button (Bug#7881).
2653 2011-01-22  Phil Hagelberg  <phil@evri.com>
2655         * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
2656         (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
2657         (pcmpl-ssh-config-hosts): New function.
2658         (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
2659         pcmpl-ssh-known-hosts.
2661 2011-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
2663         * calc/calc-undo.el (calc-undo): Autoload it.
2664         * calc/calc-ext.el (calc-init-extensions): Remove keybindings
2665         and autoload for `calc-undo'.
2666         * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
2667         * calc/calc-prog.el:
2668         * calc/calc-graph.el:
2669         * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
2671 2011-01-21  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
2673         * calc/calc-ext.el (calc-init-extensions): Map all `undo'
2674         keybindings to `calc-undo'.
2676 2011-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2678         Don't mess with *temp*.
2679         * obsolete/spell.el: Move from textmodes/spell.el.
2680         (spell-string):
2681         * term.el (term-read-input-ring):
2682         * startup.el (display-startup-echo-area-message):
2683         * progmodes/antlr-mode.el (antlr-directory-dependencies):
2684         * comint.el (comint-read-input-ring): Use with-temp-buffer.
2685         * international/mule.el (ctext-pre-write-conversion): Don't hardcode
2686         point-min==1.
2688 2011-01-20  Ken Manheimer  <ken.manheimer@gmail.com>
2690         * allout.el (allout-institute-keymap): Use fset instead of
2691         reapplying defalias.
2693         (allout-hotspot-key-handler): Check for non-control-modified
2694         bindings for hotspot characters if there are no control-modified
2695         versions.
2697         * allout.el: Summary - migrate to defining allout mode using
2698         define-minor-mode instead of defun.  Significantly clean-up
2699         internal keymap provisions, refactoring and, in the process,
2700         removing a lot of accumulated cruft.
2702         allout-mode-map is now a keymap by virtue of being a defalias to
2703         allout-mode-map-value, which contains the actual keymap structure.
2705         (allout-mode): Use define-minor-mode rather than defun.
2706         Remove now-unnecessary minor-mode setup activities from the body.
2707         Specify :keymap as allout-mode-map so the minor-mode-map-alist
2708         entry will be '(allout-mode . allout-mode-map) - see
2709         allout-mode-map-value, below.  Adjust docstring to track changes.
2710         (allout-minor-mode): Remove this defalias, now that we're using
2711         define-minor-mode.
2712         (allout-mode-map): Set value to be 'allout-mode-map.  The actual
2713         keymap is allout-mode-map-value, via defalias.
2714         (allout-mode-map-value): The variable holding the actual mode
2715         keymap structure, by virtue of defalias from allout-mode-map.
2716         (allout-compose-and-institute-keymap): Rename from
2717         allout-bind-keys, and including the binding-composition
2718         functionality of the former produce-allout-mode-map and
2719         allout-setup-mode-map.
2720         (allout-institute-keymap): Take over the "setup" part of the former
2721         allout-setup-mode-map.  Reassign allout-mode-map-value value and
2722         update the defalias.
2723         (allout-command-prefix, allout-prefixed-keybindings)
2724         (allout-unprefixed-keybindings):
2725         Use allout-compose-and-institute-keymap to process the bindings.
2726         (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
2727         (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
2728         user can customize if they want to use that binding.
2729         Bind allout-copy-topic-as-kill to (prefixed) \M-k.
2730         Bind allout-up-current-level to (prefixed) \C-u.  (I think i mistakenly
2731         elided that, previously, instead of the one for \C-h.)
2732         (allout-hotspot-key-handler): Remove attempt to resolve the key
2733         through the literal key-string lookup on allout-keybindings-list.
2734         That probably hasn't worked for a Long Time, and removal of
2735         allout-keybindings-list further simplifies the keybindings situation.
2736         (allout-pre-command-business): Use allout-mode-map-value instead
2737         of allout-mode-map.
2738         (allout-preempt-trailing-ctrl-h): Remove.  The user can customize
2739         the bindings if they want to use a keybinding having a trailing
2740         \C-h.  No deprecation needed since this feature was never in a release.
2741         (allout-keybindings-list): Remove.  It's not been useful for a
2742         while.  (See allout-hotspot-key-handler changes, above.)
2743         (produce-allout-mode-map): Remove.  Consolidate into
2744         allout-compose-and-institute-keymap.
2745         (allout-mode-map-adjustments): Remove.  No longer necessary with
2746         removal of allout-preempt-trailing-ctrl-h.
2747         (allout-setup-mode-map): Remove.  Consolidate into
2748         allout-compose-and-institute-keymap and allout-institute-keymap.
2750 2011-01-20  Glenn Morris  <rgm@gnu.org>
2752         * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
2754         * simple.el (read-expression-history): Remove, it's in minibuf.c.
2756 2011-01-20  Chong Yidong  <cyd@stupidchicken.com>
2758         * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
2760         * files.el (find-alternate-file, basic-save-buffer)
2761         (basic-save-buffer-2, revert-buffer, recover-file)
2762         (kill-buffer-ask, abort-if-file-too-large)
2763         (set-visited-file-name, write-file, backup-buffer)
2764         (basic-save-buffer, save-some-buffers):
2765         * dired-aux.el (dired-compress-file): Callers changed.
2767 2011-01-19  Glenn Morris  <rgm@gnu.org>
2769         * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
2770         Also check the property status.  (Bug#7861)
2772 2011-01-18  Michael Albinus  <michael.albinus@gmx.de>
2774         * net/tramp.el (tramp-debug-message): Extend function exclude
2775         list.  Use `regexp-opt'.
2777 2011-01-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2779         * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
2780         highlighting doesn't spill over subsequent lines.
2782         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
2783         keymap expression.  Improve docstring.
2785         * electric.el (electric-indent-post-self-insert-function):
2786         Don't auto-indent for indent-to-left-margin, it's too often
2787         counter-productive.
2789 2011-01-16  Tassilo Horn  <tassilo@member.fsf.org>
2791         * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
2792         spaces if the frame was resized, so that the full visible buffer
2793         serves as canvas for strokes.
2795 2011-01-16  Glenn Morris  <rgm@gnu.org>
2797         * info-xref.el (info-xref-docstrings): Replace cl function.
2798         Also skip directories.
2800 2011-01-16  Kevin Ryde  <user42@zip.com.au>
2802         * info-xref.el: Version 3.
2803         (info-xref-check, info-xref-check-all): Move commentary details
2804         into docstrings for better visibility.
2805         Use compilation-mode for the results buffer.
2806         (info-xref-output, info-xref-output-error, info-xref-with-output)
2807         (info-xref-filename, info-xref-in-progress):
2808         New internals for this.
2809         (info-xref-check-list, info-xref-check-buffer)
2810         (info-xref-check-all-custom): Use those.
2811         (info-xref-output-buffer): Rename from info-xref-results-buffer.
2812         (info-xref-output-heading): Rename from info-xref-filename-heading.
2813         (info-xref-good, info-xref-bad, info-xref-xfile-alist)
2814         (info-xref-filename-heading): Move to output managing section.
2815         (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
2816         (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
2817         (info-xref-subfile-p): Move to generic section with those two.
2818         (info-xref-check-node): New function split from
2819         info-xref-check-buffer, shared by info-xref-docstrings.
2820         (info-xref-goto-node-p): Move to a checking section with that func.
2821         (info-xref-unavail): New counter.
2822         (info-xref-check-node): Use it.
2823         (info-xref-with-output): Show count of unavailables at end of output.
2824         (info-xref-all-info-files): Exclude ".*" dotfiles.  Ignore broken
2825         symlinks.  Exclude .texi files.  Exclude Emacs backup files.
2826         (info-xref-check-all-custom): Fix quietening viper-mode and
2827         gnus-registry-install -- use setq not let so as not to unbind
2828         after load.
2830 2011-01-16  Juri Linkov  <juri@jurta.org>
2832         * isearch.el (isearch-abort): Don't quit if search has
2833         an incomplete regexp (isearch-error is non-nil).  (Bug#7534)
2835 2011-01-15  Mark Diekhans  <markd@soe.ucsc.edu>
2837         * files.el (backup-buffer): Make last-resort backup file in
2838         .emacs.d (Bug#6953).
2840         * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
2841         make it with permission 700.
2843 2011-01-15  Kenichi Handa  <handa@m17n.org>
2845         * mail/rmailmm.el (rmail-mime-insert-header):
2846         Set rmail-mime-coding-system to a cons whose car is the last coding
2847         system used to decode the header.
2848         (rmail-mime-find-header-encoding): New function.
2849         (rmail-mime-insert-decoded-text):
2850         Override rmail-mime-coding-system if it is a cons.
2851         (rmail-show-mime): If only a header part was decoded, find the
2852         coding system while ignoring mm-charset-override-alist.
2854 2011-01-15  Chong Yidong  <cyd@stupidchicken.com>
2856         * subr.el (event-start, event-end): Doc fix (Bug#7826).
2858 2011-01-15  Kenichi Handa  <handa@m17n.org>
2860         * mail/rmailmm.el (rmail-mime-next-item)
2861         (rmail-mime-previous-item): Delete them.
2862         (rmail-mime-shown-mode): Recursively call for children.
2863         (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
2864         Callers changed.
2865         (rmail-mime-raw-mode): Recursively call for children.
2866         (rmail-mode-map): Change mapping of tab and backtab to
2867         forward-button and backward-button respectively.
2868         (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
2869         button.
2870         (rmail-mime-update-tagline): New function.
2871         (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
2872         body display is changed.
2873         (rmail-mime-toggle-button): Rename from rmail-mime-image.
2874         (rmail-mime-image): Delete this button type.
2875         (rmail-mime-toggle): New button type.
2876         (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
2877         body display is changed.  Change the save button label to "Save".
2878         Don't process show/hide button here.
2879         (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
2880         the body display is changed.  Unconditionally call
2881         rmail-mime-insert for children.
2882         (rmail-mime-handle): Update `display' vector of the just inserted
2883         entity.
2884         (rmail-mime-process): If mail-header-parse-content-type returns
2885         nil, use "text/plain" as the fallback type.
2886         (rmail-mime-insert): For raw-mode, recursively call
2887         rmail-mim-insert for children.
2888         (rmail-mime): Handle the case that the current buffer is not rmail
2889         buffer (e.g. in summary buffer).
2891 2011-01-15  Kenichi Handa  <handa@m17n.org>
2893         * mail/rmailmm.el (rmail-mime-next-item)
2894         (rmail-mime-previous-item): Skip the body of a non-multipart
2895         entity if a tagline is shown.
2897 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2899         * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
2900         (tmm-prompt): Simplify.
2901         (tmm-add-prompt): Remove unused var `win'.
2903         * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
2904         to minor mode which used nil accidentally to mean "turn off".
2906 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
2908         * net/tramp-sh.el (tramp-find-inline-compress)
2909         (tramp-get-inline-coding): Quote command after pipe symbol for
2910         local calls under W32.  (Bug#6784)
2912 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
2914         * net/tramp.el (tramp-default-method): Initialize with pscp/plink
2915         only when running under W32.
2917 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
2919         * progmodes/grep.el (grep-compute-defaults): Quote the program
2920         file name after the pipe symbol in Grep templates.  (Bug#6784)
2921         * jka-compr.el (jka-compr-partial-uncompress): Likewise.
2923 2011-01-15  Lennart Borgman  <lennart.borgman@gmail.com>
2925         * buff-menu.el (Buffer-menu-buffer-list): New var.
2926         (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
2927         restricted buffer list is not lost on revert (Bug#7749).
2929 2011-01-15  Eric Hanchrow  <eric.hanchrow@gmail.com>
2931         * net/ldap.el (ldap-search-internal): Discard stderr output.
2933 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
2935         * files.el (directory-abbrev-alist): Doc fix.  (Bug#7777)
2937 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2939         * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
2941 2011-01-15  Kenichi Handa  <handa@m17n.org>
2943         * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
2944         part as a plain text.
2945         (rmail-mime-process-multipart): Set the default content-type to
2946         nil for unknown multipart subtypes (bug#7651).
2948 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2950         * hexl.el (hexl-mode-old-*): Remove.
2951         (hexl-mode--old-var-vals): New var to replace them.
2952         (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
2953         (hexl-mode, hexl-follow-line, hexl-activate-ruler):
2954         Use them to set local vars (bug#7846).
2955         (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
2956         (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
2957         (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
2959         * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
2960         (smerge-resolve--normalize-re): New var.
2961         (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
2962         (smerge-resolve): Use them.
2963         * newcomment.el (comment-only-p): New function.
2964         (comment-or-uncomment-region): Use it.
2966 2011-01-14  Brent Goodrick  <bgoodr@gmail.com>  (tiny change)
2968         * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
2969         table, get the value before switching to the output buffer.  (Bug#7733)
2971 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2973         * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
2975 2011-01-14  Kim F. Storm  <storm@cua.dk>
2977         * emulation/cua-base.el (cua--init-keymaps):
2978         Remap exchange-point-and-mark in cua-global-keymap.
2980 2011-01-14  Tassilo Horn  <tassilo@member.fsf.org>
2982         * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
2983         loop keyword.
2985 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2987         * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
2988         Require CL.
2989         (easy-menu-create-menu, easy-menu-convert-item-1):
2990         Use :label rather than nil for labels.  Use `case'.
2991         Add :enable as alias for :active.
2992         (easy-menu-binding): Obey :label.
2994 2011-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2996         Use run-mode-hooks for major mode hooks (bug#513).
2997         * textmodes/reftex-toc.el (reftex-toc-mode-map):
2998         Rename from reftex-toc-map.
2999         (reftex-toc-mode): Use define-derived-mode.
3000         * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
3001         (reftex-select-label-mode-map, reftex-select-bib-mode-map):
3002         Rename from reftex-select-(label|bib)-map.  Move init into declaration.
3003         (reftex-select-label-mode, reftex-select-bib-mode):
3004         Use define-derived-mode.
3005         * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
3006         (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
3007         Move init into delcaration.
3008         (reftex-index-mode, reftex-index-phrases-mode):
3009         Use define-derived-mode.
3010         * speedbar.el (speedbar-mode-syntax-table): Renaqme from
3011         speedbar-syntax-table.  Move init into declaration.
3012         (speedbar-mode-map): Rename from speedbar-key-map.
3013         Move init into declaration.
3014         (speedbar-file-key-map): Move init into declaration.
3015         (speedbar-mode): Use define-derived-mode.
3016         * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
3017         * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
3018         * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
3019         (chart-face-list): Move initialization into declaration.
3020         (chart-mode): Use define-derived-mode.
3021         * calculator.el (calculator-mode-map): Move init into declaration.
3022         (calculator-mode): Use define-derived-mode.
3024         * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
3025         work for nested comments.
3027         * progmodes/prolog.el: Use syntax-propertize.  Further code cleanup.
3028         (prolog-use-prolog-tokenizer-flag): Change default when
3029         syntax-propertize can be used.
3030         (prolog-syntax-propertize-function): New var.
3031         (prolog-mode-variables): Move make-local-variable into `set'.
3032         Don't make comment-column local since we don't set it.
3033         Set comment-add (as it was in previous prolog.el).  Use dolist.
3034         Set syntax-propertize-function.
3035         (prolog-mode, prolog-inferior-mode):
3036         Call prolog(-inferior)-menu directly, not through the mode-hook.
3037         (prolog-buffer-module, prolog-indent-level)
3038         (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
3039         (prolog-comment-limits, prolog-goto-comment-column):
3040         Use line-(end|beginning)-position.
3041         (prolog-build-prolog-command): Tighten up regexp.
3042         (prolog-consult-compile): Move make-local-variable into `set'.
3043         (prolog-consult-compile-filter, prolog-goto-next-paren)
3044         (prolog-help-on-predicate, prolog-clause-info)
3045         (prolog-mark-predicate): Don't let+setq.
3046         (prolog-indent-line): Use indent-line-to.
3047         Only call prolog-goto-comment-column if necessary.
3048         (prolog-indent-level): Use bobp.
3049         (prolog-first-pos-on-line): Remove, not used any more.
3050         (prolog-in-string-or-comment): Use syntax-ppss if available.
3051         (prolog-help-on-predicate): Use read-string.
3052         (prolog-goto-predicate-info): Simplify.
3053         (prolog-read-predicate): Use `default' rather than `initial'.
3054         (prolog-temporary-file): Use make-temp-file to close a security hole.
3055         (prolog-toggle-sicstus-sd): New command.
3056         (prolog-electric-underscore, prolog-variables-to-anonymous):
3057         Use dynamic-scoping as it was meant.
3058         (prolog-menu): Move menu definitions to top-level.
3059         Use a toggle-button for Sicstus's source debugger.
3060         Change "Code" to the more usual "Prolog", and hence change "Prolog"
3061         to "System".
3062         (prolog-inferior-menu): Reuse prolog-menu's help menu.
3063         Move other menu definition to top-level.
3065 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
3067         * doc-view.el (doc-view-open-text): Use meaningful text buffer
3068         name.  Keep original document's directory as default-directory
3069         (bug#6446).
3070         (doc-view-initiate-display): Fall back to normal mode when
3071         doc-view-mode cannot be enabled, also when extracting the document
3072         text into a separate buffer (bug#6446).
3074         * simple.el (shell-command): Don't error out if shell command
3075         buffer contains text with non-nil read-only property when erasing
3076         the buffer.
3078 2011-01-13  Kim F. Storm  <storm@cua.dk>
3080         * ido.el (ido-may-cache-directory): Move "too-big" check later.
3081         (ido-next-match, ido-prev-match): Fix stray reordering of matching
3082         items when cycling through the matches.
3084 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
3086         * dired-x.el (dired-omit-verbose): New defcustom that allows
3087         disabling the omit messages.
3088         (dired-omit-expunge): Use it.
3090 2011-01-13  Christian Ohler  <ohler@gnu.org>
3092         * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
3094 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
3096         * font-lock.el (font-lock-verbose): Default to nil.
3098 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
3100         * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
3101         (compose-mail): New arg RETURN-ACTION.
3102         (compose-mail-other-window, compose-mail-other-frame): Likewise.
3104         * mail/sendmail.el (mail-return-action): New var.
3105         (mail-mode): Make it buffer-local.
3106         (mail-bury): Obey it.  Move special Rmail window handling to
3107         rmail-mail-return.
3108         (mail, mail-setup): New arg RETURN-ACTION.
3109         (sendmail-user-agent-compose): Move from simple.el.
3111         * mail/rmail.el (rmail-mail-return): New function.
3112         (rmail-start-mail): Pass it to compose-mail.
3114 2011-01-12  Chong Yidong  <cyd@stupidchicken.com>
3116         * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
3117         menus.  Add menu item for customize-themes.
3119         * cus-theme.el (customize-themes):
3120         * emacs-lisp/package.el (package--list-packages):
3121         Use switch-to-buffer.
3123 2011-01-11  Johan Bockgård  <bojohan@gnu.org>
3125         * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
3127 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3129         * progmodes/prolog.el: Fix up coding convention and such.
3130         (prolog-indent-width): Use the same default as in
3131         previous prolog.el rather than tab-width which depends on which buffer
3132         is current when the file is loaded.
3133         (prolog-electric-newline-flag): Only enable if electric-indent-mode
3134         is not available.
3135         (prolog-emacs): Remove.  Use (featurep 'xemacs) instead.
3136         (prolog-known-systems): Remove.
3137         (prolog-mode-syntax-table, prolog-inferior-mode-map):
3138         Move initialization into declaration.
3139         (prolog-mode-map): Move initialization into declaration.
3140         Remove system-specific mode-map vars, since they referred to the same
3141         keymap anyway.
3142         (prolog-mode-variables): Obey the user's preference w.r.t
3143         adaptive-fill-mode.  Prefer symbol-value to `eval'.
3144         (prolog-mode-keybindings-edit): Add compatibility bindings.
3145         (prolog-mode): Use define-derived-mode.  Don't handle mercury here.
3146         (mercury-mode-map): New var.
3147         (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
3148         (prolog-ensure-process, prolog-process-insert-string)
3149         (prolog-consult-compile): Use with-current-buffer.
3150         (prolog-guess-fill-prefix): Simplify data flow.
3151         (prolog-replace-in-string): New function to use instead of
3152         replace-in-string.
3153         (prolog-enable-sicstus-sd): Don't abuse `eval'.
3154         (prolog-uncomment-region): Use `uncomment-region' when available.
3155         (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
3156         (prolog-int-to-char, prolog-char-to-int): New functions to use instead
3157         of int-to-char and char-to-int.
3158         (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
3160 2011-01-11  Stefan Bruda  <stefan@bruda.ca>
3162         * progmodes/prolog.el: Replace by a whole new file.
3164 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3166         * subr.el (eval-after-load): Fix timing for features (bug#7769).
3167         (declare-function, undefined, insert-for-yank)
3168         (replace-regexp-in-string): Follow checkdoc's recommendations.
3170 2011-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3172         * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
3173         refreshing the diary buffer.
3175 2011-01-10  Ken Manheimer  <ken.manheimer@gmail.com>
3177         * allout.el: Add 2011 to the file copyright.
3178         (allout-encrypt-string): Prevent encryption from adding an extra
3179         newline at the end of the topic body.
3180         (allout-version): Increment to 2.3.
3182 2011-01-10  Michael Albinus  <michael.albinus@gmx.de>
3184         * net/dbus.el (dbus-unregister-service): Complete doc.
3185         Fix call of dbus-error signal.
3186         (dbus-register-property): Use `dont-register' keyword.
3188 2011-01-10  Jan Moringen  <jan.moringen@uni-bielefeld.de>
3190         * net/dbus.el (dbus-unregister-service): Translate returned
3191         integer into a symbol.
3192         (dbus-register-property): Use `dbus-register-service' to do the
3193         name registration.
3195 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
3197         * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
3198         Suggested by Joakim Verona.
3200         * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
3202         * wid-edit.el (visibility): Replace :on-image and :off-image
3203         widget properties with :on-glyph and :off-glyph, for consistency
3204         with the `visibility' widget.
3205         (widget-toggle-value-create, widget-visibility-value-create):
3206         Merge into a single function `widget-toggle-value-create'.
3208         * cus-edit.el (custom-variable-value-create, custom-visibility)
3209         (custom-face-edit-value-create, custom-face-value-create):
3210         Replace :on-image and :off-image widget properties with :on-glyph and
3211         :off-glyph, for consistency with the `visibility' widget.
3213 2011-01-09  Andreas Schwab  <schwab@linux-m68k.org>
3215         * net/ldap.el (ldap-search-internal): Don't use eval.
3217 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
3219         * subr.el (read-char-choice): Use read-key.
3221         * custom.el (custom-safe-themes): Rename from
3222         custom-safe-theme-files.  Add :risky tag.
3223         (load-theme, custom-theme-load-confirm): Save sha1 hashes to
3224         custom-safe-themes, not filenames.  Suggested by Stefan Monnier.
3226 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
3228         * tool-bar.el (tool-bar-setup): Remove Help button.  Remove label
3229         from Search and add a label to Undo.
3231         * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
3232         inappropriate buttons and adding :vert-only tags.
3234         * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
3235         removal of Help tool-bar button.  Remove Undo button for space.
3237         * info.el (info-tool-bar-map): Add :vert-only tags.
3239 2011-01-08  Tassilo Horn  <tassilo@member.fsf.org>
3241         * doc-view.el (doc-view-mode-p): Check for png or imagemagick
3242         image backend support.  Either of them is fine.
3244 2011-01-08  Chong Yidong  <cyd@stupidchicken.com>
3246         * subr.el (y-or-n-p): Doc fix.
3248         * custom.el (custom-safe-theme-files): New defcustom.
3249         (custom-theme-load-confirm): New function.
3250         (load-theme): Load theme using `load', confirming with
3251         custom-theme-load-confirm if necessary.
3253         * subr.el (read-char-choice): New function, factored out from
3254         dired-query and hack-local-variables-confirm.
3256         * dired-aux.el (dired-query):
3257         * files.el (hack-local-variables-confirm): Use it.
3259         * dired-aux.el (dired-compress-file):
3260         * files.el (abort-if-file-too-large, find-alternate-file)
3261         (set-visited-file-name, write-file, backup-buffer)
3262         (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
3263         (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
3264         Use new format string args for y-or-n-p and yes-or-no-p.
3266 2011-01-08  Andreas Schwab  <schwab@linux-m68k.org>
3268         * progmodes/compile.el (compilation-error-regexp-alist-alist)
3269         [gcc-include]: Tighten file name match, add match for column
3270         number.  (Bug#7806)
3271         [gnu]: Remove unused group.
3273 2011-01-08  Glenn Morris  <rgm@gnu.org>
3275         * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
3277         * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
3279 2011-01-07  Sam Steingold  <sds@gnu.org>
3281         * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
3282         the `explicit-shell-file-name' because that is the
3283         non-interactive shell.
3285 2011-01-07  Chong Yidong  <cyd@stupidchicken.com>
3287         * subr.el (y-or-n-p): Accept format string args.
3289 2011-01-07  Glenn Morris  <rgm@gnu.org>
3291         * Makefile.in (EMACSOPT): Add --no-site-lisp.
3293 2011-01-06  Ken Manheimer  <ken.manheimer@gmail.com>
3295         * allout.el (allout-back-to-current-heading): Ensure return to
3296         the visible containing topic, rather than a collapsed one.
3297         (allout-view-change-hook): Remove hook that was deprecated long ago.
3298         (allout-exposure-change-hook): Remove documentation remarks
3299         concerning removed allout-view-change-hook.
3300         (allout-flag-region): Remove invocation of and documentation
3301         remarks concerning allout-view-change-hook.
3303 2011-01-06  Glenn Morris  <rgm@gnu.org>
3305         * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
3306         (vc-bzr-annotate-extract-revision-at-line):
3307         Handle authors with embedded spaces.  (Bug#7792)
3309 2011-01-05  Tassilo Horn  <tassilo@member.fsf.org>
3311         * doc-view.el (doc-view-image-width): New variable.
3312         (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
3313         backend for PNG images, and do dynamic rescaling instead of
3314         reconverting the whole doc.
3316 2011-01-05  Glenn Morris  <rgm@gnu.org>
3318         * emacs-lisp/rx.el (rx-repeat): Replace CL function.
3320 2011-01-04  Ken Manheimer  <ken.manheimer@gmail.com>
3322         * allout.el: Reconcile with changes in line movement behavior for
3323         long text lines that cross more than a single physical window
3324         line, ie when truncate-lines is nil.
3325         (allout-next-visible-heading): Provide for change in line-move
3326         behavior on long lines when truncate-lines is nil.  In that case,
3327         line-move can wind up on the same textual line when it moves to
3328         the next window line, and moving to the bullet position after the
3329         move yields zero advancement.  Add logic to detect and compensate
3330         for the lack of progress.
3331         (allout-current-topic-collapsed-p): move-end-of-line respect for
3332         field boundaries is different when operating with body lines
3333         shorter than window width versus ones greater than window width,
3334         which can yield false negatives in this function.  Avoid
3335         difference by applying move-end-of-line while field-text-motion is
3336         inhibited.
3338 2011-01-04  Glenn Morris  <rgm@gnu.org>
3340         * textmodes/rst.el (rst-compile-toolsets):
3341         Add pdf and s5 to option alist.
3343 2011-01-04  Jan Moringen  <jan.moringen@uni-bielefeld.de>
3345         * net/dbus.el (dbus-register-property): Add optional parameter
3346         dont-register-service.  Updated docstring accordingly.
3348 2011-01-04  Andreas Schwab  <schwab@linux-m68k.org>
3350         * textmodes/rst.el (rst-compile-pdf-preview)
3351         (rst-compile-slides-preview): Remove extra line.
3353 2011-01-04  Glenn Morris  <rgm@gnu.org>
3355         * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
3356         Add `pdf' and `s5' entries.  Use `prog.py' if found, otherwise
3357         default to `prog' without a .py extension.
3358         (rst-compile-pdf-preview, rst-compile-slides-preview):
3359         Use program names from rst-compile-toolsets, rather than hard-coding.
3360         (rst-portable-mark-active-p): Fix presumed typo.
3362 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
3364         * term/w32-win.el (dynamic-library-alist): Set up correctly for
3365         libpng versions both before and after 1.4.0.  (Bug#7716)
3367 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
3369         * time.el (display-time-mode): Mention display-time-interval in
3370         the doc string.  (Bug#7713)
3372 2011-01-02  Kenichi Handa  <handa@m17n.org>
3374         * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
3375         condition-case and return an error message string if something
3376         goes wrong.
3377         (rmail-show-mime): Adjust for the above change.  Insert the
3378         header by rmail-mime-insert-header.
3380 2011-01-02  Kenichi Handa  <handa@m17n.org>
3382         * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
3383         rmail-mime-previous-item, and rmail-mime-toggle-hidden.
3384         (rmail-mime-mbox-buffer)
3385         (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
3386         (rmail-mime-entity): Argument changed.  All codes handling an
3387         entity object are changed.
3388         (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
3389         the above change.
3390         (rmail-mime-entity-children, rmail-mime-entity-handler)
3391         (rmail-mime-entity-tagline): New functions.
3392         (rmail-mime-message-p): New function.
3393         (rmail-mime-save): Bind rmail-mime-mbox-buffer.
3394         (rmail-mime-entity-segment, rmail-mime-next-item)
3395         (rmail-mime-previous-item, rmail-mime-shown-mode)
3396         (rmail-mime-hidden-mode, rmail-mime-raw-mode)
3397         (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
3398         (rmail-mime-insert-tagline, rmail-mime-insert-header):
3399         New functions.
3400         (rmail-mime-text-handler): Call rmail-mime-insert-text.
3401         (rmail-mime-insert-decoded-text): New function.
3402         (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
3403         (rmail-mime-insert-image): Argument changed.  Caller changed.
3404         (rmail-mime-image): Call rmail-mime-toggle-hidden.
3405         (rmail-mime-set-bulk-data): New function.
3406         (rmail-mime-insert-bulk): Argument changed.
3407         (rmail-mime-multipart-handler): Return t.
3408         (rmail-mime-process-multipart): Argument changed.
3409         Handle "multipart/alternative" here.
3410         (rmail-mime-process): Argument changed.
3411         (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
3412         (rmail-mime-insert): Argument changed.  Handle raw display mode.
3413         (rmail-mime): Argument changed.  Handle toggling of raw display
3414         mode.
3415         (rmail-show-mime): Bind rmail-mime-mbox-buffer and
3416         rmail-mime-view-buffer.
3417         (rmail-insert-mime-forwarded-message): Likewise.
3418         (rmail-search-mime-message): Likewise.  Don't bind rmail-buffer.
3420         * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
3421         non-nil, handle the header in rmail-show-mime-function.
3423 2011-01-02  Leo  <sdl.web@gmail.com>
3425         * help-fns.el (describe-variable): Fix previous change.
3427 2011-01-02  Juri Linkov  <juri@jurta.org>
3429         * isearch.el (isearch-lazy-highlight-error): New variable.
3430         (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
3431         `isearch-lazy-highlight-error'.  Set `isearch-lazy-highlight-error'
3432         to the current value of `isearch-error' (Bug#7468).
3434 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
3436         * help-fns.el (describe-variable): Don't emit trailing whitespace
3437         (Bug#7511).
3439 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
3441         * textmodes/rst.el (rst-compile-pdf-preview)
3442         (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
3444 2011-01-02  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
3446         * emulation/edt-mapper.el: Override mapping of function keys so
3447         that the later call to read-key-sequence works.
3449 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
3451         * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
3452         Unix EOLs.  (Bug#7589)
3454 2011-01-02  Leo  <sdl.web@gmail.com>
3456         * eshell/em-hist.el (eshell-previous-matching-input): Signal error
3457         if point is not behind eshell-last-output-end (Bug#7585).
3459 2011-01-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3461         * files.el (file-local-variables-alist):
3462         Make permanent-local (bug#7767).
3464 2011-01-02  Glenn Morris  <rgm@gnu.org>
3466         * version.el (emacs-copyright): Set short copyright year to 2011.
3468 2011-01-02  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
3470         * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
3471         an existing temp buffer.  (Bug#7746)
3473 2011-01-02  Glenn Morris  <rgm@gnu.org>
3475         * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
3476         multiple addresses.  (Bug#7760)
3478 2011-01-01  Ken Manheimer  <ken.manheimer@gmail.com>
3480         * allout.el (allout-auto-fill): Do not infinitely recurse - use
3481         do-auto-fill if everything points back to allout-auto-fill.
3482         (allout-mode-deactivate-hook): Declare obsolete, in favor of
3483         standard-formed minor-mode deactivate hook, allout-mode-off-hook.
3485 2010-12-31  Michael Albinus  <michael.albinus@gmx.de>
3487         * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
3488         and "scpx".
3490 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
3492         * doc-view.el (doc-view-set-doc-type): New function refactored
3493         from doc-view-mode.
3494         (doc-view-fallback-mode): New function.
3495         (doc-view-mode): Use it.
3496         (doc-view-mode-maybe): New function that checks if doc-view-mode
3497         can be used and falls back to the next best mode otherwise.
3499         * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
3500         DVI, OpenDocument, and MS Office files.
3502 2010-12-30  Andreas Schwab  <schwab@linux-m68k.org>
3504         * emacs-lisp/rx.el (rx-syntax): Fix typo.
3506 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
3508         * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
3509         on a copy of auto-mode-alist, because that deletes with side
3510         effects.
3512 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
3514         * doc-view.el (doc-view-mode, doc-view-toggle-display):
3515         Use normal-mode without doc-view-mode bindings in auto-mode-alist as
3516         fallback instead of hard coding fundamental mode.
3518 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
3520         * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
3521         Office) files also for searching.
3523 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
3525         * doc-view.el: Implement viewing of OpenDocument (and Microsoft
3526         Office) files.  Not yet enabled via auto-mode-list.
3527         (doc-view-unoconv-program): New custom variable.
3528         (doc-view-mode-p): Handle new odf document type.
3529         (doc-view-odf->pdf): New conversion function.
3530         (doc-view-convert-current-doc): Call it for odf files.
3531         (doc-view-mode): Recognize newly supported file extensions.
3533 2010-12-30  Michael Albinus  <michael.albinus@gmx.de>
3535         * net/tramp.el (tramp-default-method-alist)
3536         (tramp-default-user-alist)
3537         (tramp-local-host-regexp, tramp-prefix-domain-format)
3538         (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
3540         * net/tramp-ftp.el:
3541         * net/tramp-gvfs.el:
3542         * net/tramp-gw.el:
3543         * net/tramp-imap.el:
3544         * net/tramp-sh.el:
3545         * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
3546         code of `tramp-default-method-alist' and `tramp-default-user-alist'.
3548 2010-12-29  Karl Fogel  <kfogel@red-bean.com>
3550         * saveplace.el (save-place-alist-to-file): Save list sorted and
3551         pretty-printed, so that it is mergeable by line-based text merging,
3552         as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
3554 2010-12-28  Ken Manheimer  <ken.manheimer@gmail.com>
3556         * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
3557         (allout-mode): Argument "toggle" => "force".
3558         Refine the docstring.
3559         Remove special provisions for reactivation, besides the 'force'
3560         argument.
3561         Consolidate layout provisions coce directly into the activation
3562         condition branch, now that we've removed those provisions.
3563         (allout-unload-function): Explicitly activate the mode before
3564         deactivating, if it's initially deactivated.
3565         (allout-set-buffer-multibyte): Properly prevent byte-compiler
3566         warnings for version of function used only where
3567         set-buffer-multibyte is unavailable.
3569 2010-12-28  Chong Yidong  <cyd@stupidchicken.com>
3571         * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
3572         are handled by the menu-bar entries.  As before, don't use
3573         :visibile to avoid changing the tool-bar.
3575 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
3577         * net/secrets.el (secrets-delete-alias): New defun.
3579 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
3581         * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
3582         methods, otherwise ~/.ssh/config would be ignored.
3584 2010-12-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3586         * emacs-lisp/rx.el: Make it a superset of sregex.
3587         (rx-constituents): Add `any => "."', mark `repeat' as taking any number
3588         of args, add `regex' alias.
3589         (rx-info): Add arg to distinguish head and standalone forms.
3590         (rx-check, rx-form): Pass the corresponding arg.
3591         (rx-**): Simplify.
3592         (rx-repeat): Make it work for any number of args.
3593         (rx-syntax): Make it accept syntax chars as is.
3594         * obsolete/sregex.el: Move from emacs-lisp/.
3595         * emacs-lisp/re-builder.el: Remove sregex support.
3596         * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
3598 2010-12-25  Eli Zaretskii  <eliz@gnu.org>
3600         * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
3601         PRIMARY first, then the clipboard.  (Bug#7699)
3603 2010-12-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3605         * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
3606         print-number-table.
3608 2010-12-21  Chong Yidong  <cyd@stupidchicken.com>
3610         * help-fns.el (find-lisp-object-file-name): Locate .emacs from
3611         .emacs.elc (Bug#7530).
3613         * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
3614         image spec (Bug#7480).
3616 2010-12-21  Daiki Ueno  <ueno@unixuser.org>
3618         * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
3619         * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
3620         Move from lisp/.
3622 2010-12-20  Leo  <sdl.web@gmail.com>
3624         * dnd.el (dnd-get-local-file-name): Unhex of file name shall
3625         always be performed (Bug#7680).
3627 2010-12-20  Chong Yidong  <cyd@stupidchicken.com>
3629         * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
3630         (menu-bar-edit-menu): Bind "Copy" to kill-ring-save.  Don't use
3631         mouse-region-match.
3633         * color.el: Move from gnus/.
3635         * vc/diff.el (diff-better-file-name): Function deleted.
3636         abbreviating file names causes problems with shell-quote-argument.
3637         (diff-no-select): Just use expand-file-name.
3639         * tool-bar.el (tool-bar--image-expression): New function.
3640         (tool-bar-local-item, tool-bar--image-exp): Use it.
3641         (tool-bar-setup): Initialize tool-bar-separator-image-expression.
3642         Use :enable instead of :visible to avoid changing the tool-bar
3643         configuration unnecessarily.
3645         * info.el (info-tool-bar-map): Add separators.
3647 2010-12-17  Ken Brown  <kbrown@cornell.edu>
3649         * loadup.el: Use version numbers in Cygwin build.
3651 2010-12-17  Ryan Twitchell  <metatheorem@gmail.com>  (tiny change)
3653         * ido.el (ido-file-internal): Ask for confirmation before
3654         overwriting an existing file (Bug#1238).
3656 2010-12-16  Chong Yidong  <cyd@stupidchicken.com>
3658         * tool-bar.el (tool-bar-setup): Add separators.
3660         * menu-bar.el (featurep): Use menu-bar-separator.
3662 2010-12-16  Ken Manheimer  <ken.manheimer@gmail.com>
3664         Migrate allout encryption provisions from pgg to epg.
3666         * allout.el (allout-toggle-current-subtree-encryption)
3667         (allout-toggle-subtree-encryption): Adjust docstrings to reflect
3668         defaulting policy and other changes.  Change fetch-pass to keymode-cue,
3669         for simpler universal argument interpretation.
3670         (allout-toggle-subtree-encryption): Adjust docstring to describe
3671         changed encryption provisions.  Change fetch-pass to keymode-cue, for
3672         simpler universal argument interpretation.  Remove provisions for
3673         handling key type and identity - they'll all be within
3674         allout-encrypt-string or epg/epg or even contained all the way in gpg.
3675         (allout-encrypt-string): Include keymode-cue, for optionally prompting
3676         for keypair recipients (universal argument > 1) and, in addition,
3677         associating the specified recipients with the outline (universal
3678         argument > 4) using a file local variable setting for
3679         'epa-file-encrypt-to'.
3680         Require epa, for recipients handling.
3681         Change how regexp filtering elements are named.
3682         Describe the problem with caching of incorrect symmetric-decryption
3683         keys.
3684         Use the epa-passphrase-callback-function, in case the user is using
3685         GnuPG v1.
3686         Support saving of the selected keypair recipients when invoked with a
3687         keymode-cue > 4.
3688         Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
3689         Require 'epa.
3690         Establish epg-context with armoring and default epg-protocol.
3691         Remove all passphrase cache, verification, and hinting code.
3692         (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
3693         No longer used, delete.
3694         (allout-mode): Adjust docstring to describe changed encryption
3695         provisions.  Describe the problem with caching of incorrect
3696         symmetric-decryption keys.
3697         (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
3698         (allout-make-passphrase-state, allout-passphrase-state-passphrase)
3699         (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
3700         (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
3701         Obsolete, remove.
3703 2010-12-16  Daiki Ueno  <ueno@unixuser.org>
3705         * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
3706         key selection prompt; make 'silent as default (Bug#7487).
3708 2010-12-16  Leo  <sdl.web@gmail.com>
3710         * eshell/eshell.el (eshell-directory-name):
3711         Use locate-user-emacs-file (Bug#7578).
3713 2010-12-15  Glenn Morris  <rgm@gnu.org>
3715         * loadup.el (symbol-file-load-history-loaded): Remove; unused.
3717 2010-12-15  Jari Aalto  <jari.aalto@cante.net>
3718             Scott Evans  <gse@antisleep.com>
3720         * rect.el (rectange--default-line-number-format)
3721         (rectangle-number-line-callback): New functions.
3722         (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
3724 2010-12-15  Chong Yidong  <cyd@stupidchicken.com>
3726         * rect.el (operate-on-rectangle-lines, string-rectangle-string):
3727         Delete unused variables.
3728         (move-to-column-force): Remove function obsolete since 21.2.
3730 2010-12-14  Michael Albinus  <michael.albinus@gmx.de>
3732         * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
3733         (tramp-handle-insert-file-contents): Do not set permanent-local
3734         property.
3736         * net/tramp-cache.el (tramp-persistency-file-name):
3737         Use `locate-user-emacs-file' if fboundp.
3739         * net/tramp-sh.el (tramp-methods): Add "ksu".
3740         (tramp-default-user-alist): Add "ksu".  Use `regexp-opt' for
3741         method list.
3743 2010-12-14  Glenn Morris  <rgm@gnu.org>
3745         * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
3746         (find-tag-marker-ring): Declare.
3747         (js-find-symbol): Require etags.
3749         * mail/sendmail.el: Don't require rmail or mailalias when compiling.
3750         Require mail-utils.
3751         (mail-alias-file): Don't autoload.  Doc fix.
3752         (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
3753         (mail-mailer-swallows-blank-line): Default to nil.  Doc fix.
3754         Mark as obsolete, and risky.
3755         (mail-setup): Simplify.
3757         * mail/mailalias.el (build-mail-aliases): Make it interactive.
3758         * mail/sendmail.el (build-mail-aliases): Update autoload.
3760         * dired.el (dired-trivial-filenames, dired-chown-program)
3761         (dired-auto-revert-buffer): Remove autoload cookies.
3762         * mail/sendmail.el (mail-recover-1): Require 'dired.
3764         * dired.el (dired-subdir-switches, dired-chown-program)
3765         (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
3766         Make into defcustoms.
3767         (dired-chown-program): Simplify initialization.
3769         * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
3771 2010-12-13  Romain Francoise  <romain@orebokech.com>
3773         * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
3775 2010-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3777         * net/netrc.el (netrc-point-at-eol): Remove the unused
3778         netrc-point-at-old and netrc-bound-and-true-p bindings.
3779         (netrc-parse): Cache the netrc contents.
3781 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
3783         * subr.el (posn-col-row): Evaluate header-line-format in the
3784         context of the POSITION window's buffer.
3786 2010-12-13  Glenn Morris  <rgm@gnu.org>
3788         * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
3789         (with-silent-modifications): Doc fixes.
3791 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
3793         * net/tramp.el (tramp-action-password, tramp-process-actions):
3794         Revert previous from.  Use `save-restriction'.
3796 2010-12-13  Stephen Berman  <stephen.berman@gmx.net>
3798         * calendar/diary-lib.el (diary-list-sexp-entries):
3799         Handle case of no newline at end of file.  (Bug#7536)
3801 2010-12-13  Glenn Morris  <rgm@gnu.org>
3803         * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
3805 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
3807         * net/tramp.el (tramp-action-password): Delete region, do not narrow.
3808         (tramp-process-actions): Do not widen.
3810         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3811         Protect buffer-modified value.  (Bug#7557)
3813 2010-12-13   Jan Moringen  <jmoringe@techfak.uni-bielefeld.de>
3815         * log-edit.el (log-edit-changelog-entries):
3816         Regexp quote filename.  (Bug#7505)
3818 2010-12-13  Tom Breton  <tehom@panix.com>
3820         * cus-edit.el (custom-save-all):
3821         Bind print-length and print-level to nil.  (Bug#7581)
3823 2010-12-13  Glenn Morris  <rgm@gnu.org>
3825         * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
3826         Run hooks to update menu contents.  (Bug#7586)
3828         * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
3829         file names, for the sake of MS Windows.  (Bug#7588)
3831 2010-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3833         * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
3834         empty lines without a leading space.
3836 2010-12-13  Leo  <sdl.web@gmail.com>
3838         * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
3839         while mapping over marks (Bug#6810).
3841 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
3843         * image-dired.el (image-dired-db-file)
3844         (image-dired-temp-image-file, image-dired-gallery-dir)
3845         (image-dired-temp-rotate-image-file): Set default values relative
3846         to image-dired-dir (Bug#7518).
3848 2010-12-13  Lawrence Mitchell  <wence@gmx.li>
3850         * format.el (format-decode-run-method): Pass args FROM and TO, not
3851         point-min and point-max, to shell-command-on-region (Bug#7488).
3853 2010-12-13  Jan Djärv  <jan.h.d@swipnet.se>
3855         * frame.el (blink-cursor-mode): Make default t for ns.
3857 2010-12-13  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
3859         * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3861 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
3863         * comint.el (comint-dynamic-list-input-ring)
3864         (comint-dynamic-complete-filename)
3865         (comint-replace-by-expanded-filename)
3866         (comint-dynamic-simple-complete)
3867         (comint-dynamic-list-filename-completions)
3868         (comint-dynamic-list-completions): Doc fix (Bug#7499).
3870         * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
3871         Doc fix (Bug#7471).
3873 2010-12-13  Martin Rudalics  <rudalics@gmx.at>
3875         * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
3876         (Bug#7533).
3878 2010-12-13  W. Martin Borgert  <debacle@debian.org>  (tiny change)
3880         * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
3881         (Bug#7491).
3883 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
3885         * files.el (file-relative-name): Handle UNC file names on
3886         DOS/Windows.  (Bug#4674)
3888 2010-12-13  Daiki Ueno  <ueno@unixuser.org>
3890         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3891         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
3892         (epg-context-set-passphrase-callback): Mention that the callback
3893         is not called when used with GnuPG 2.x.
3895 2010-12-13  Glenn Morris  <rgm@gnu.org>
3897         * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
3898         Ensure ps-footer-font-size-internal is initialized.
3899         Call ps-get-page-dimensions before trying to use ps-font-for-text.
3901 2010-12-13  Kenichi Handa  <handa@m17n.org>
3903         * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
3904         within condition-case.
3905         (rmail-show-mime): Don't use condition-case.
3906         (rmail-search-mime-message): New function.
3907         (rmail-search-mime-message-function): Set to
3908         rmail-search-mime-message.
3910 2010-12-13  Leo  <sdl.web@gmail.com>
3912         * ido.el (ido-common-initialization): New function.  (bug#3274)
3913         (ido-mode): Use it.
3914         (ido-completing-read): Call it.
3916 2010-12-12  Karl Fogel  <kfogel@red-bean.com>
3918         * bookmark.el (bookmark-name-from-full-record): Rename back to
3919         this original name from `bookmark-name-from-record' reverting part
3920         of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
3921         As Drew Adams pointed out, there was no reason to cause churn for
3922         third-party callers.  (Bug#7609)
3924 2010-12-12  Alan Mackenzie  <acm@muc.de>
3926         * progmodes/cc-engine.el (c-forward-type): Before scanning a
3927         template arglist, check that the current language supports this.
3929 2010-12-11  Glenn Morris  <rgm@gnu.org>
3931         * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
3932         state of the file matches.  (Bug#7544)
3933         (vc-bzr-register, vc-bzr-checkin)
3934         (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
3935         (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
3937         * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
3939 2010-12-11  Karel Klíč  <kklic@redhat.com>
3941         * files.el (auto-mode-alist): Use html-mode for *.xhtml.  (Bug#7606)
3943 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3945         Derive from prog-mode, use derived-mode-p, and fix up various
3946         minor style issues in lisp/progmodes.
3948         * progmodes/vhdl-mode.el (vhdl-mode):
3949         * progmodes/verilog-mode.el (verilog-mode):
3950         * progmodes/vera-mode.el (vera-mode):
3951         * progmodes/sql.el (sql-mode):
3952         * progmodes/scheme.el (scheme-mode):
3953         * progmodes/perl-mode.el (perl-mode):
3954         * progmodes/octave-inf.el (inferior-octave-mode):
3955         * progmodes/autoconf.el (autoconf-mode):
3956         * progmodes/m4-mode.el (m4-mode):
3957         * progmodes/inf-lisp.el (inferior-lisp-mode):
3958         * progmodes/idlwave.el (idlwave-mode):
3959         * progmodes/icon.el (icon-mode):
3960         * progmodes/idlw-help.el (idlwave-help-mode):
3961         * progmodes/dcl-mode.el (dcl-mode):
3962         * progmodes/idlw-shell.el (idlwave-shell-mode):
3963         * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
3964         (ebrowse-member-mode, ebrowse-electric-position-mode):
3965         Use define-derived-mode.
3967         * progmodes/xscheme.el (exit-scheme-interaction-mode)
3968         (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
3969         (xscheme-debugger-mode-p, xscheme-send-string-1):
3970         * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
3971         (tcl-load-file, tcl-restart-with-file):
3972         * progmodes/ps-mode.el (ps-run-running):
3973         * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
3974         * progmodes/js.el (js--get-all-known-symbols):
3975         * progmodes/inf-lisp.el (inferior-lisp-proc):
3976         * progmodes/idlwave.el (idlwave-beginning-of-statement)
3977         (idlwave-template, idlwave-update-buffer-routine-info)
3978         (idlwave-update-current-buffer-info)
3979         (idlwave-get-routine-info-from-buffers, idlwave-choose)
3980         (idlwave-scan-class-info, idlwave-fix-keywords)
3981         (idlwave-list-buffer-load-path-shadows):
3982         * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
3983         (idlwave-toolbar-remove):
3984         * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
3985         (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
3986         (idlwave-shell-menu-def):
3987         * progmodes/idlw-complete-structtag.el
3988         (idlwave-prepare-structure-tag-completion):
3989         * progmodes/gud.el (gud-set-buffer):
3990         * progmodes/f90.el (f90-backslash-not-special):
3991         * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
3993         * progmodes/xscheme.el (xscheme-start)
3994         (local-set-scheme-interaction-buffer, scheme-interaction-mode):
3995         * progmodes/which-func.el (which-function):
3996         * progmodes/vhdl-mode.el (vhdl-set-style):
3997         * progmodes/verilog-mode.el (verilog-set-compile-command)
3998         (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
3999         (verilog-set-define, verilog-auto-reeval-locals):
4000         * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
4001         * progmodes/simula.el (simula-mode):
4002         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
4003         * progmodes/python.el (python-check, python-mode):
4004         * progmodes/prolog.el (prolog-mode-variables):
4005         * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
4006         * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
4007         * progmodes/delphi.el (delphi-mode):
4008         * progmodes/cc-styles.el (c-setup-paragraph-variables):
4009         * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
4010         (c-font-lock-init): Move make-local-variable to their setq.
4012         * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
4013         (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
4014         make-local-hook.
4015         * progmodes/sh-script.el (sh-require-final-newline): Remove.
4016         (sh-set-shell): Don't set require-final-newline since it's already done
4017         by prog-mode.
4018         * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
4019         since we never set it.
4020         * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
4021         Use read-string and standard prompt.
4022         * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
4023         * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
4024         (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
4025         (meta-common-mode-map): Rename from meta-mode-map.
4026         Remove C-m binding, which is a user preference, not mode specific.
4027         (meta-common-mode): New major mode; replace meta-common-initialization.
4028         * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
4029         around with font-lock.
4030         * progmodes/etags.el (select-tags-table-mode):
4031         Derive from special-mode.
4032         * progmodes/octave-mod.el (octave-mode):
4033         * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
4034         (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
4035         (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
4036         Let define-derived-mode do its job.
4037         * progmodes/cpp.el (cpp-edit-mode-map):
4038         Move initialization into declaration.
4039         (cpp-edit-mode): Use define-derived-mode.
4040         (cpp-edit-load): Use derived-mode-p.
4041         * progmodes/mixal-mode.el (mixal-mode):
4042         * progmodes/f90.el (f90-mode):
4043         * progmodes/cfengine.el (cfengine-mode): Don't bother setting
4044         require-final-newline since prog-mode does it already.
4045         * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
4046         * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
4047         * progmodes/antlr-mode.el: Require cc-mode upfront.
4048         (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
4049         the declaration.
4050         (antlr-directory-dependencies, antlr-show-makefile-rules):
4051         Use derived-mode-p.
4052         (antlr-language-option): Don't assume point-min==1.
4053         (antlr-mode): Use define-derived-mode.
4054         * progmodes/ada-mode.el: Use derived-mode-p.
4055         (ada-mode): Use define-derived-mode.
4056         Use hack-local-variables-hook.
4058 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4060         * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
4061         (texinfo-mode): Don't disable adaptive-fill-mode.
4062         (texinfo-insert-block): Adjust cursor placement for blocks with arg.
4063         (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
4064         (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
4065         (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
4066         (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
4067         (texinfo-insert-@quotation, texinfo-insert-@samp)
4068         (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
4069         (texinfo-insert-@uref): Use define-skeleton.
4070         (texinfo-insert-@-with-arg): Delete.
4072 2010-12-10  Eli Zaretskii  <eliz@gnu.org>
4074         * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
4075         nil, do quote archive member names.  (Bug#6144)
4077 2010-12-10  Glenn Morris  <rgm@gnu.org>
4079         * files.el (diff-no-select): Declare.
4081         * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
4082         (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
4084         * comint.el (comint-input-ring-file-name): Doc fix.
4086 2010-12-09  Eli Zaretskii  <eliz@gnu.org>
4088         * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
4089         New functions.
4090         (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
4091         Use them instead of `nil' and `>', respectively.
4092         (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
4093         instead of `nil'.
4094         (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
4095         and menu-bar-positive-p instead of `nil' and `>', respectively.
4096         (Bug#1077)
4098 2010-12-09  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4100         * whitespace.el (whitespace-newline-mode): Code fix.
4102 2010-12-09  Glenn Morris  <rgm@gnu.org>
4104         * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
4105         Rename functions without commas, update callers.
4107 2010-12-08  Jeff Dairiki  <dairiki@dairiki.org>  (tiny change)
4109         * whitespace.el (whitespace-cleanup-region):
4110         Clean up spaces before tabs.  (Bug#7582)
4112 2010-12-08  Karl Fogel  <kfogel@red-bean.com>
4114         * bookmark.el: Adjust parameter names and doc strings to resolve
4115         confusion over whether "bookmark" meant a bookmark name or a
4116         bookmark record.  Along the way, shorten one function's name for
4117         similar reasons.  (Issue #7548)
4118         (bookmark-name-from-record): New name for
4119         `bookmark-name-from-full-record'.  All callers changed.
4120         (bookmark-get-bookmark, bookmark-get-bookmark-record)
4121         (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
4122         (bookmark-get-annotation, bookmark-set-annotation)
4123         (bookmark-get-filename, bookmark-set-filename)
4124         (bookmark-get-position, bookmark-set-position)
4125         (bookmark-get-front-context-string, bookmark-set-front-context-string)
4126         (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
4127         (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
4128         (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
4129         Rename `bookmark' parameter to `bookmark-name-or-record', to
4130         clearly show its role, and shorten or adjust doc strings accordingly.
4131         (bookmark-set-name): Same, and pass the parameter directly to
4132         `bookmark-get-bookmark' instead of redundantly doing the callee's work.
4133         (bookmark-default-annotation-text, bookmark-send-edited-annotation)
4134         (bookmark-relocate, bookmark-insert-location, bookmark-insert)
4135         (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
4136         and in some cases shorten doc string accordingly.
4137         (bookmark-rename): Change `old' and `new' parameters to `old-name'
4138         and `new-name', and adjust an internal variable to avoid confusion.
4139         (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
4140         parameter in doc string.
4142 2010-12-08  Glenn Morris  <rgm@gnu.org>
4144         * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
4145         from gdb's history file.  (Bug#7575)
4147         * mail/emacsbug.el (report-emacs-bug):
4148         Try to handle some other mail clients.
4150 2010-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4152         * files.el (dir-locals-collect-variables): Don't let errors stop us.
4153         Use string-prefix-p.
4154         (file-name-version-regexp): New var.
4155         (file-name-sans-versions):
4156         * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
4157         (jka-compr-get-compression-info): Use dolist.
4158         (jka-compr-compression-info-list): Don't bother specifying
4159         version/backup regexps.
4161 2010-12-07  Tassilo Horn  <tassilo@member.fsf.org>
4163         * simple.el (just-one-space): Make argument n default to 1 if
4164         omitted.
4166 2010-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4168         * electric.el (electric-indent-post-self-insert-function):
4169         Delete trailing newlines even if we don't reindent.
4171 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4173         * minibuffer.el (completion-at-point): Remove the `arg'.
4174         * bindings.el (complete-symbol): Move back from minibuffer.el.
4176 2010-12-06  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
4178         * simple.el (just-one-space): Delete newlines for negative arg.
4180 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4182         * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
4183         (ansi-color-filter-apply): Simplify.
4184         (ansi-color-apply): Use `font-lock-face' rather than `face'.
4186 2010-12-05  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
4188         * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
4190 2010-12-04  Chong Yidong  <cyd@stupidchicken.com>
4192         * dired.el (dired-use-ls-dired): Set default to a special
4193         "unspecified" value.
4194         (dired-insert-directory): When called the first time, check
4195         whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
4197 2010-12-04  Tak Ota  <Takaaki.Ota@am.sony.com>
4199         * replace.el: Add "collect" feature to occur.
4200         (occur-collect-regexp-history): New var.
4201         (occur-read-primary-args): Return a replace string for nlines,
4202         if needed.
4203         (occur): Extend the meaning of nlines.
4205 2010-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4207         * progmodes/which-func.el (which-func-ff-hook): Log the error message.
4208         (which-func-update-1): Distinguish symbols from strings.
4209         (which-function): Stay within 80 columns.
4211 2010-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4213         * subr.el (with-demoted-errors): Distinguish symbols from strings.
4215         * newcomment.el (comment-styles): Add docs to each style (bug#7509).
4216         Improve docstring.
4217         (comment-style): Use comment-styles's docs to describe values.
4219 2010-12-03  Jan Djärv  <jan.h.d@swipnet.se>
4221         * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
4222         and ns-show-prefs (Bug#7535).
4224         * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
4225         bindings (Bug#7535).
4227 2010-12-03  Glenn Morris  <rgm@gnu.org>
4229         * nxml/nxml-mode.el: Require rng-nxml.
4230         (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
4231         Remove declarations.
4233         * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
4234         * nxml/rng-nxml.el, nxml/rng-valid.el:
4235         Remove leading `*' from defcustom docs.
4237         * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
4238         (normal-top-level-add-to-load-path, tty-handle-args):
4239         Convert comments to basic doc-strings.
4241         * net/browse-url.el (browse-url-url-at-point)
4242         (browse-url-default-browser): Remove autoload cookies.
4244         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
4245         Remove more undefined cl functions.
4247         * vc/diff.el (diff-sentinel): Make new arguments optional.
4248         * ibuf-ext.el (diff-sentinel): Update declaration.
4250 2010-12-03  Daiki Ueno  <ueno@unixuser.org>
4252         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
4253         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
4254         (epg-context-set-passphrase-callback): Mention that the callback
4255         is not called when used with GnuPG 2.x.
4257 2010-12-02  Michael Albinus  <michael.albinus@gmx.de>
4259         * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
4260         (tramp-file-name-port): Check also for `tramp-default-port'.
4261         (tramp-get-connection-name): New defun.
4262         (tramp-get-connection-process): Use it.
4263         (tramp-debug-message): Extend function exclude list.
4264         (tramp-drop-volume-letter): Fix doc string.
4266         * net/tramp-cmds.el: Remove solved todo item.
4268         * net/tramp-ftp.el:
4269         * net/tramp-gvfs.el:
4270         * net/tramp-gw.el:
4271         * net/tramp-imap.el:
4272         * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
4273         and `tramp-default-user-alist', respectively.
4275         * net/tramp-gw.el (tramp-gw-open-connection):
4276         Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
4278         * net/tramp-imap.el (tramp-imap-make-iht): Use just
4279         `tramp-file-name-port'.
4281         * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
4282         and "psftp".  Exchange "%k" marker with options.
4283         (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
4284         Compute size of link target.
4285         (tramp-do-copy-or-rename-file-out-of-band): Move setting of
4286         `tramp-current-*' up due to gateway methods.  Optimize computing of
4287         copy arguments.  Use `tramp-get-connection-name' and
4288         `tramp-get-connection-buffer'.  Improve debug messages.
4289         (tramp-compute-multi-hops): Remove port determination.
4290         (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
4292         * net/trampver.el: Update release number.
4294 2010-12-02  Glenn Morris  <rgm@gnu.org>
4296         * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
4297         Avoid infinite loop over windows.  (Bug#7492)
4299         * progmodes/flymake.el (flymake-check-file-limit):
4300         Allow nil to mean "no limit".
4301         (flymake-check-patch-master-file-buffer): Update for above change.
4302         Allow a .tex file-name extension to be optional.
4303         (flymake-master-tex-init): Also match \include statements.
4305 2010-11-30  Sam Steingold  <sds@gnu.org>
4307         * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
4308         (nxml-parent-document-set): A function to set `nxml-parent-document'.
4309         (nxml-mode): Define using `define-derived-mode' instead of `defun'.
4310         (nxml-mode-hook): Remove `defcustom' (auto-defined by
4311         define-derived-mode').
4312         * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
4313         users who want to call `nxml-parent-document-set'.
4315 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
4317         * log-edit.el (log-edit-font-lock-keywords): Don't try matching
4318         stand-alone lines, since that is handled by log-edit-match-to-eoh
4319         (Bug#6465).
4321 2010-11-27  Eduard Wiebe  <usenet@pusto.de>
4323         * dired.el (dired-get-filename): Replace backslashes with slashes
4324         in file names on MS-Windows, needed by `locate'.  (Bug#7308)
4325         * locate.el (locate-default-make-command-line): Don't consider
4326         drive letter and root directory part of
4327         `directory-listing-before-filename-regexp'.  (Bug#7308)
4328         (locate-post-command-hook, locate-post-command-hook): New defcustoms.
4330 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4332         * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
4333         of :smie-open/close-alist.
4334         (smie-next-sexp): Make it accept a "start token" as argument.
4335         (smie-indent-keyword): Be careful not to misidentify tokens that span
4336         more than one line, as empty lines.  Add argument `token'.
4338 2010-11-27  Kenichi Handa  <handa@m17n.org>
4340         * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
4341         multipart subtypes, insert all as usual.
4343         * mail/rmail.el: Require rfc2047.
4345 2010-11-27  Kenichi Handa  <handa@m17n.org>
4347         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
4348         (rmail-mime-entity-disposition)
4349         (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
4350         (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
4351         (rmail-mime-save): Handle the case that the button's `data' is a
4352         MIME entity.
4353         (rmail-mime-insert-text): New function.
4354         (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
4355         (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
4356         (rmail-mime-insert-bulk): New function mostly copied from the old
4357         rmail-mime-bulk-handler.
4358         (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
4359         (rmail-mime-process-multipart): New function mostly copied from
4360         the old rmail-mime-multipart-handler.
4361         (rmail-mime-show): Just call rmail-mime-process.
4362         (rmail-mime-process): New function mostly copied from the old
4363         rmail-mime-show.
4364         (rmail-mime-insert-multipart, rmail-mime-parse)
4365         (rmail-mime-insert, rmail-show-mime)
4366         (rmail-insert-mime-forwarded-message)
4367         (rmail-insert-mime-resent-message): New functions.
4368         (rmail-insert-mime-forwarded-message-function): Set to
4369         rmail-insert-mime-forwarded-message.
4370         (rmail-insert-mime-resent-message-function): Set to
4371         rmail-insert-mime-resent-message.
4373         * mail/rmailsum.el: Require rfc2047.
4374         (rmail-header-summary): Handle multiline Subject: field.
4375         (rmail-summary-line-decoder): Change the default to
4376         rfc2047-decode-string.
4378         * mail/rmail.el (rmail-enable-mime): Change the default to t.
4379         (rmail-mime-feature): Change the default to `rmailmm'.
4380         (rmail-quit): Delete the specifal code for rmail-enable-mime.
4381         (rmail-display-labels): Likewise.
4382         (rmail-show-message-1): Check rmail-enable-mime, and use
4383         rmail-show-mime-function for a MIME message.  Decode the headers
4384         according to RFC2047.
4386 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4388         * progmodes/which-func.el (which-func-imenu-joiner-function):
4389         Return a string, as expected.
4390         (which-function-mode): Make sure we stop any previous timer before
4391         starting a new one.
4393 2010-11-27  Michael Albinus  <michael.albinus@gmx.de>
4395         * net/tramp.el (tramp-default-method-alist)
4396         (tramp-default-user-alist, tramp-default-proxies-alist):
4397         Adapt custom options type.  (Bug#7445)
4399 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
4401         * progmodes/python.el: Add Ipython support (Bug#5390).
4402         (python-shell-prompt-alist)
4403         (python-shell-continuation-prompt-alist): New options.
4404         (python--set-prompt-regexp): New function.
4405         (inferior-python-mode, run-python, python-shell):
4406         Require ansi-color.  Use python--set-prompt-regexp to set the comint
4407         prompt based on the Python interpreter.
4408         (python--prompt-regexp): New var.
4409         (python-check-comint-prompt)
4410         (python-comint-output-filter-function): Use it.
4411         (run-python): Use a pipe (Bug#5694).
4413 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
4415         * progmodes/python.el (run-python): Doc fix.
4416         (python-keep-current-directory-in-path): New var (Bug#7454).
4418 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
4420         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4421         Prompt user before actually printing.
4423 2010-11-27  Glenn Morris  <rgm@gnu.org>
4425         * startup.el (package-enable-at-startup, package-initialize):
4426         Remove unnecessary declarations.
4428 2010-11-27  Eli Zaretskii  <eliz@gnu.org>
4430         * international/characters.el (glyphless-char-display-control):
4431         Exclude newline and TAB from the c0-control group.
4433 2010-11-27  Glenn Morris  <rgm@gnu.org>
4435         * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
4436         (expand-mail-aliases): Remove unnecessary autoload.
4438         * allout.el (allout-command-prefix, allout-mode-map): Declare.
4440         * shell.el (shell-dir-cookie-re): Move definition before use.
4442         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
4443         Replace undefined CL functions.
4445 2010-11-26  Eli Zaretskii  <eliz@gnu.org>
4447         * simple.el (prog-mode): Set bidi-paragraph-direction to
4448         left-to-right.
4450         * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
4452 2010-11-26  Glenn Morris  <rgm@gnu.org>
4454         * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
4455         diary-outlook-formats can be sensitive to calendar-date-style.
4456         (diary-outlook-formats): Simplify the default setting.
4457         (diary-from-outlook-internal): Pass subject and body as arguments.
4458         Use dolist rather than dotimes.  Don't save the diary buffer.
4459         (diary-from-outlook-gnus, diary-from-outlook-rmail):
4460         Pass subject and body as explicit arguments to the -internal function.
4462 2010-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4464         * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
4465         parsing them.  This makes mailto:...?subject=foo\nbar work.
4467 2010-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4469         * vc/diff.el (diff): Fix last change.
4471 2010-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
4473         * emacs-lisp/pcase.el: Improve pcase-let.  Use "pcase--" prefix.
4474         (pcase--dontcare-upats): New var.
4475         (pcase-let, pcase-let*): Generate better code.
4476         Accept the same bodies as `let'.
4477         (pcase-dolist): New macro.
4478         (pcase--trivial-upat-p): New helper function.
4479         (pcase--expand): Strip leading "(let nil" if any.
4481 2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4483         * mail/mailclient.el (browse-url): Require.
4484         (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
4485         use the external browser function to send the mail (bug#7469).
4487         * net/browse-url.el (browse-url-browser-function): Revert the
4488         default back to the previous value, since the new value broke
4489         mailclient.el.
4490         (browse-url-mailto-function): New variable for mailto: URLs.
4491         (browse-url): Use the new variable for mailto: URLs.
4493 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4495         * eshell/esh-cmd.el (eshell-parse-command):
4496         * eshell/esh-arg.el (eshell-parse-arguments):
4497         * eshell/em-script.el (eshell-source-file):
4498         Use with-silent-modifications.
4500 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
4502         * vc/vc.el (vc-merge): Remove optional arg PROMPT.  Always prompt
4503         for a merge location.
4505         * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
4506         (vc-bzr-merge-branch): Always prompt.
4507         (vc-bzr-async-command): Use the full branch filename.
4509 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4511         * shell.el (shell): Use current-buffer by default if it's already
4512         a shell mode buffer and its process is dead.
4513         Suggested by Jose E. Marchesi <jemarch@gnu.org>.
4515 2010-11-23  Tassilo Horn  <tassilo@member.fsf.org>
4517         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4518         Mention that the keywords should be comma separated.
4520 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
4522         * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
4523         Accept optional prefix arg meaning to prompt for a command.
4524         (vc-update): Use vc-BACKEND-pull if available.  Accept optional
4525         prefix arg meaning to prompt for a command.
4526         (vc-pull): Alias for vc-update.
4528         * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
4529         (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
4530         (vc-bzr-merge-branch): New functions, implementing merge-branch
4531         and pull operations.
4533 2010-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4535         * Makefile.in: Fix up last merge.
4537         * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
4538         (diff-sentinel): Get them as arguments instead.
4539         (diff-old-file, diff-new-file, diff-extra-args): Remove.
4540         (diff-file-local-copy, diff-better-file-name): New funs.
4541         (diff-no-select): Rename from diff-into-buffer.
4542         Support buffers additionally to files.  Move `buf' arg.  Don't display buf.
4543         Prefer closures to buffer-local variables.
4544         (diff): Adjust accordingly.
4545         (diff-buffer-with-file): Move from files.el.
4546         * files.el (diff-buffer-with-file): Move to vc/diff.el.
4547         (diff-buffer-internal): Remove.
4548         (diff-buffer-buffer): Remove.
4549         (save-some-buffers-action-alist): Use diff-no-select so as not to guess
4550         the buffer name used, and so as not to mess up windows and frames.
4552 2010-11-22  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
4554         * files.el: Make revert work with diff-buffer-with-file (bug#7277).
4555         (diff-buffer-internal): New function extracted from diff-buffer-with-file
4556         (diff-buffer-with-file): Use it.
4557         * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
4558         (diff): Use it.
4560 2010-11-22  Tassilo Horn  <tassilo@member.fsf.org>
4562         * textmodes/reftex-ref.el (reftex-goto-label): Use the current
4563         \ref's or \pageref's value as default instead of initial input.
4565 2010-11-21  Michael Albinus  <michael.albinus@gmx.de>
4567         * files.el (backup-by-copying-when-mismatch): The default value is
4568         now t.
4570         * startup.el (normal-top-level):
4571         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4572         `backup-by-copying-when-mismatch'.
4574 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
4576         * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
4578 2010-11-21  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
4580         * progmodes/python.el (python-font-lock-keywords):
4581         Highlight top-level augmented assignments (Bug#6445).
4583 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
4585         * term/ns-win.el (ns-right-control-modifier)
4586         (ns-right-command-modifier): Defvar them.
4588         * cus-start.el (all): Add ns-right-control-modifier and
4589         ns-right-command-modifier (Bug#7458).
4591 2010-11-20  Glenn Morris  <rgm@gnu.org>
4593         * emacs-lisp/authors.el (authors-ignored-files)
4594         (authors-valid-file-names, authors-renamed-files-alist): Add entries.
4596 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
4598         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
4599         (report-emacs-bug-parse-query-results)
4600         (report-emacs-bug-create-existing-bugs-buffer): Pass through
4601         keywords used for querying the bug database to show them in the
4602         existing bugs buffer.
4604 2010-11-20  Jan Djärv  <jan.h.d@swipnet.se>
4606         * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
4608         * info.el (info-tool-bar-map): Add some :vert-only keywords.
4610 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
4612         * international/characters.el (glyphless-char-display-control):
4613         Make it a defcustom, with update-glyphless-char-display as its
4614         :set attribute.
4615         (top level): Don't call update-glyphless-char-display.
4617 2010-11-20  Michael Albinus  <michael.albinus@gmx.de>
4619         Sync with Tramp 2.2.0.
4621         * net/tramp.el (tramp-handle-insert-file-contents): Don't use
4622         `file-remote-p' (due to compatibility).
4624         * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
4625         (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
4627         * net/trampver.el: Update release number.
4629 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
4631         * faces.el (glyphless-char): Define value for `pc'.
4633 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
4635         Implemented a bug querying mechanism.
4636         * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
4637         (report-emacs-bug-create-existing-bugs-buffer)
4638         (report-emacs-bug-parse-query-results)
4639         (report-emacs-bug-query-existing-bugs): New functions.
4641 2010-11-19  Tassilo Horn  <tassilo@member.fsf.org>
4643         * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
4644         a \ref{} or \pageref{} macro, then use its value as initial input.
4646 2010-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
4648         * calc/calc-units.el (math-build-units-table-buffer):
4649         calc/README: Mention that the TeX specific units won't use the
4650         `tex' prefix in TeX mode.
4651         calc/calc-lang.el (math-variable-table): Don't use the `tex'
4652         prefix for units in TeX mode.
4654 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4656         * simple.el (kill-new, kill-append, kill-region):
4657         * comint.el (comint-kill-region): Make the yank-handler argument
4658         obsolete.
4660 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4662         * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
4663         that are both openers (resp. closers) and something else.
4664         (smie-grammar): Loosen definition of valid values.
4665         (smie-next-sexp, smie-down-list, smie-blink-matching-open)
4666         (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
4667         (smie-indent-after-keyword): Adjust users.
4668         (smie-indent-keyword): Don't indent empty lines.
4670         * vc-hg.el (vc-hg-program): New var.
4671         Suggested by Norman Gray <norman@astro.gla.ac.uk>.
4672         (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
4674 2010-11-18  Glenn Morris  <rgm@gnu.org>
4676         * emacs-lisp/autoload.el (autoload-find-destination): The function
4677         coding-system-eol-type may return non-numeric values.  (Bug#7414)
4679 2010-11-18  Ulrich Mueller  <ulm@gentoo.org>
4681         * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
4683 2010-11-18  Eli Zaretskii  <eliz@gnu.org>
4685         * subr.el (posn-col-row): Pay attention to header line.  (Bug#7390)
4687 2010-11-18  Chong Yidong  <cyd@stupidchicken.com>
4689         * textmodes/picture.el (picture-mouse-set-point): Don't use
4690         posn-col-row; explicitly compute the motion based on the posn at
4691         the window-start (Bug#7390).
4693 2010-11-18  Glenn Morris  <rgm@gnu.org>
4695         * novice.el (disabled-command-function):
4696         Fix 2009-11-15 change.  (Bug#7384)
4698 2010-11-18  Glenn Morris  <rgm@gnu.org>
4700         * calendar/calendar.el (diary-iso-date-forms): Make elements
4701         mutually exclusive.  (Bug#7377)
4703 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4705         * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
4706         when filling the remaining "unconstrained" values.
4708 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4710         * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
4711         safety predicate.
4713         * files.el (safe-local-variable-p): Gracefully handle errors.
4715         * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
4716         Use smie-indent-virtual when indenting relative to an opener.
4717         (smie-rule-separator): Use smie-rule-parent.
4718         (smie-indent-keyword): Consult rules, even for openers at bol.
4719         (smie-indent-comment-close): Try to align closer's content.
4721 2010-11-18  Glenn Morris  <rgm@gnu.org>
4723         * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
4725 2010-11-18  Glenn Morris  <rgm@gnu.org>
4727         * printing.el (pr-menu-bind): Doc fix.
4729         * speedbar.el (speedbar-toggle-images): Doc fix.
4731         * progmodes/python.el (python-shell): Doc fix.
4733         * wid-edit.el (widget-field-use-before-change)
4734         (widget-use-overlay-change): Doc fixes.
4736 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4738         Minor cleanup to improve style.
4739         * textmodes/rst.el (rst-update-section): Use point-marker.
4740         (rst-get-decoration): Eliminate unneeded assignment.
4741         (rst-promote-region, rst-straighten-decorations)
4742         (rst-section-tree, rst-adjust): Use point-marker.
4743         (rst-toc-mode-mouse-goto): Avoid setq.
4744         (rst-shift-region-guts, rst-shift-region-left)
4745         (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
4746         (rst-convert-bullets-to-enumeration): Use copy-marker.
4748         * minibuffer.el (completion-fail-discreetly): New var.
4749         (completion--do-completion): Use it.
4751         * electric.el (electric-pair-pairs): New var.
4752         (electric-pair-post-self-insert-function): Use it.
4753         (electric-layout-post-self-insert-function): Don't insert a before
4754         newline unless it's actually needed.
4756 2010-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4758         * progmodes/python.el (run-python): Explain why we remove the current
4759         directory from sys.path.  Suggested by Eric Hanchrow <erich@cozi.com>.
4761         * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
4763 2010-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4765         * progmodes/octave-mod.el: Rely on elecric-*-modes.
4766         (octave-mode-map): Don't bind ;, SPC, and LF.
4767         (octave-auto-indent, octave-auto-newline): Remove.
4768         (electric-layout-rules): Declare.
4769         (octave-mode): Set electric-layout-rules.
4770         (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
4771         (octave-reindent-then-newline-and-indent, octave-electric-semi)
4772         (octave-electric-space): Remove.
4774         * electric.el (electric-layout-mode): New minor mode.
4775         (electric--after-char-pos): New function.
4776         (electric-indent-post-self-insert-function): Use it.
4777         (electric-layout-rules): New var.
4778         (electric-layout-post-self-insert-function): New function.
4779         (electric-indent-mode): Make them interact better.
4781 2010-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4783         * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
4784         (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
4785         (checkdoc-proper-noun-region-engine): Use with-syntax-table.
4787 2010-11-15  Agustín Martín  <agustin.martin@hispalinux.es>
4789         * textmodes/flyspell.el (flyspell-generic-progmode-verify):
4790         Make sure to check inside the word (Bug#6761).
4792 2010-11-14  Chong Yidong  <cyd@stupidchicken.com>
4794         * startup.el (command-line): If the cursorColor resource is set,
4795         change the cursor face-spec (Bug#7392).
4797 2010-11-13  Ken Manheimer  <ken.manheimer@gmail.com>
4799         The main features of the following allout.el changes are:
4800         - implement user customization for the allout key bindings
4801         - add a customization control by which the user can inhibit use of
4802           a trailing Ctrl-H, so by default it's reserved for use with
4803           describe-prefix-bindings
4804         - adapt to new version of called-interactively-p, while
4805           maintaining backwards compatibility with old version
4806         - fix hotspot navigation so i works properly with meta-modified keys.
4808         * allout.el (allout-keybindings, allout-bind-keys)
4809         (allout-keybindings-binding, allout-prefixed-keybindings)
4810         (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
4811         (allout-keybindings-list, allout-mode-map-adjustments)
4812         (allout-setup-mode-map): Establish allout-mode keymaps as user
4813         customizable settings, and also establish a customizable setting which
4814         regulates whether or not a trailing control-h is reserved for use with
4815         describe-prefix-bindings - and inhibit it by default, so that control-h
4816         *is* reserved for describe-prefix-bindings unless the user changes it.
4818         * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
4819         and accurately between modified and unmodified events, and handle
4820         modified events more comprehensively.
4822         * allout.el (allout-substring-no-properties):
4823         Alias to use or provide version of `substring-no-properties'.
4824         (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
4826         * allout.el (allout-next-single-char-property-change):
4827         Alias to use or provide version of `next-single-char-property-change'.
4828         (allout-annotate-hidden, allout-hide-by-annotation):
4829         Use `allout-next-single-char-property-change'.
4831         * allout.el (allout-select-safe-coding-system):
4832         Alias to use or provide version of `select-safe-coding-system'.
4833         (allout-toggle-subtree-encryption):
4834         Use `allout-select-safe-coding-system'.
4836         * allout.el (allout-set-buffer-multibyte):
4837         Alias to use or provide version of `set-buffer-multibyte'.
4838         (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
4840         * allout.el (allout-called-interactively-p): Macro for using the
4841         different versions of called-interactively-p identically, depending on
4842         the subroutine's argument signature.
4843         (allout-back-to-current-heading, allout-beginning-of-current-entry):
4844         Use `(interactive "p")' instead of `(called-interactively-p)'.
4846         * allout.el (allout-init, allout-ascend, allout-end-of-level)
4847         (allout-previous-visible-heading, allout-forward-current-level)
4848         (allout-backward-current-level, allout-show-children):
4849         Use `allout-called-interactively-p' instead of `called-interactively-p'.
4851         * allout.el (allout-before-change-handler):
4852         Exempt edits to the (overlaid) character after the allout outline
4853         bullet from edit confirmation prompt.
4855         * allout.el (allout-add-resumptions):
4856         Ensure that it respects correct buffer for keybindings.
4858         * allout.el (allout-beginning-of-line):
4859         Use `allout-previous-single-char-property-change' alias for the sake of
4860         diverse compatibility.
4862         * allout.el (allout-end-of-line):
4863         Use `allout-mark-active-p' to encapsulate respect for mark activity.
4865 2010-11-13  Chong Yidong  <cyd@stupidchicken.com>
4867         * frame.el (frame-notice-user-settings): Don't clobber other
4868         user-set parameters when calling face-set-after-frame-default in
4869         response to background-color parameter (Bug#7373).
4871 2010-11-13  Eli Zaretskii  <eliz@gnu.org>
4873         * international/characters.el (glyphless-char-display-control):
4874         Rename from glyphless-char-control; all users changed.  Doc fix.
4875         Signal an error if display method is not one of the recognized
4876         symbols.
4878 2010-11-13  Michael Albinus  <michael.albinus@gmx.de>
4880         * net/tramp-compat.el (tramp-compat-line-beginning-position)
4881         (tramp-compat-line-end-position): Remove them.
4883         * net/tramp.el (tramp-parse-rhosts-group)
4884         (tramp-parse-shosts-group, tramp-parse-sconfig-group)
4885         (tramp-parse-hosts-group, tramp-parse-passwd-group)
4886         (tramp-parse-netrc-group, tramp-parse-putty-group)
4887         * net/tramp-cmds.el (tramp-append-tramp-buffers)
4888         * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
4889         (tramp-sh-handle-file-selinux-context)
4890         (tramp-sh-handle-file-name-all-completions)
4891         (tramp-sh-handle-insert-directory)
4892         (tramp-sh-handle-expand-file-name, tramp-find-executable)
4893         (tramp-wait-for-output, tramp-send-command-and-read)
4894         * net/tramp-smb.el (tramp-smb-read-file-entry)
4895         (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
4897         * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
4898         `point-at-bol'.
4899         (tramp-remote-coding-commands): Add an alternative using "base64
4900         -d -i".  This is needed for older base64 versions from GNU
4901         coreutils.  Reported by Klaus Reichl
4902         <Klaus.Reichl@thalesgroup.com>.
4904 2010-11-13  Hrvoje Niksic  <hniksic@xemacs.org>
4906         * simple.el (count-words-region): New function.
4908 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4910         * shell.el (shell-dir-cookie-re): New custom variable.
4911         (shell-dir-cookie-watcher): New function.
4913         * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
4914         and compilation-mode (bug#7350).
4916         * vc/smerge-mode.el (smerge-refine): Choose better default part to
4917         highlight when one of them is empty.
4919         * skeleton.el (skeleton-read): Don't use `newline' since it may strip
4920         trailing space.
4921         (skeleton-newline): New function.
4922         (skeleton-internal-1): Use it.
4924         * simple.el (open-line): `newline' may strip trailing space.
4926 2010-11-12  Kevin Ryde  <user42@zip.com.au>
4928         * international/mule-cmds.el (princ-list): Use mapc.
4930 2010-11-12  Glenn Morris  <rgm@gnu.org>
4932         * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
4933         Use it to replace all instances of "*Compile-Log*".
4935 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4937         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
4938         indentation specs.
4940 2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4942         * progmodes/modula2.el: Use SMIE and skeleton.
4943         (m2-mode-syntax-table): (*..*) can be nested.
4944         Add //...\n.  Fix paren syntax.
4945         (m2-mode-map): Remove LF and TAB bindings.
4946         (m2-indent): Add safety property.
4947         (m2-smie-grammar): New var.
4948         (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
4949         (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
4950         (m2-mode): Use define-derived-mode.
4951         (m2-newline, m2-tab): Remove.
4952         (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
4953         (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
4954         (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
4955         (m2-import): Use define-skeleton.
4957 2010-11-11  Glenn Morris  <rgm@gnu.org>
4959         * obsolete/lucid.el: Don't warn about any CL functions in this file.
4961         * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
4962         (ls-lisp-verbosity): Add custom :set-after property.
4963         (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
4964         (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
4965         (ls-lisp-insert-directory): Update caller.
4966         (ls-lisp-set-options): New function.
4967         (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
4968         Doc fix.
4970         * play/landmark.el (lm-prompt-for-move):
4971         * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
4973         * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
4975         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
4976         (idlwave-study-twins): Prefix dynamic local variable `name'.
4977         (idlwave-routine-twin-compare): Update for above change.
4979         * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
4980         Prefix dynamic local variables `name', `kwd', and `link'.
4981         * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
4982         * progmodes/idlw-complete-structtag.el
4983         (idlwave-complete-structure-tag-help):
4984         * progmodes/idlwave.el (idlwave-complete-sysvar-help)
4985         (idlwave-complete-sysvar-tag-help)
4986         (idlwave-complete-class-structure-tag-help):
4987         Update for above name changes.
4989 2010-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4991         * net/browse-url.el (browse-url-browser-function): Change the
4992         default to use `browse-url-mail' on mailto: URLs.
4994 2010-11-10  Chong Yidong  <cyd@stupidchicken.com>
4996         * emacs-lisp/package.el (package-read-all-archive-contents):
4997         Reset package-archive-contents to nil before re-reading.
4999 2010-11-10  Brandon Craig Rhodes  <brandon@rhodesmill.org>  (tiny change)
5001         * textmodes/flyspell.el (flyspell-word): Do not re-check words
5002         already found as misspellings by (flyspell-large-region), just
5003         do highlighting (bug#7322).
5005 2010-11-10  Glenn Morris  <rgm@gnu.org>
5007         * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
5009         * emulation/edt.el (edt-with-position): New macro.
5010         (edt-find-forward, edt-find-backward, edt-find-next-forward)
5011         (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
5012         (edt-paragraph-forward, edt-paragraph-backward): Use it.
5014         * emulation/tpu-extras.el (tpu-with-position): New macro.
5015         (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
5017         * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
5019         * textmodes/texnfo-upd.el (texinfo-all-menus-update)
5020         (texinfo-menu-copy-old-description, texinfo-start-menu-description)
5021         (texinfo-master-menu, texinfo-insert-node-lines)
5022         (texinfo-multiple-files-update):
5023         * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
5024         Use line-beginning-position.
5026         * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
5027         No recent Emacs supports system-type `emx'.
5029         * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
5030         (ada-command-separator, ada-default-prj-properties)
5031         (ada-find-any-references): Update for above name change.
5033         * dirtrack.el (dirtrack-directory-function)
5034         (dirtrack-canonicalize-function):
5035         * filecache.el (file-cache-completion-ignore-case)
5036         (file-cache-case-fold-search, file-cache-ignore-case):
5037         * term.el (serial-port-is-file-p): Cosmetic change.
5039         * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
5040         Remove non-existent `windows-95' system-type.
5041         * dired.el (dired-chown-program): Remove non-existent `linux'
5042         system-type.
5044         * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
5045         (ping-program-options): Remove non-existent `linux' system-type.
5047         * startup.el (package-initialize): Update declaration.
5049         * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
5050         (ls-lisp-handle-switches): Use time-less-p.
5051         (ls-lisp-format-time): Use float-time.
5053         * textmodes/remember.el (remember-time-to-seconds): Remove.
5054         (remember-store-in-mailbox): Use float-time.
5056         * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
5058         * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
5059         never a real function.
5060         (with-no-warnings): Remove compat stub, now unused.
5061         (time-less-p): Doc fix.
5062         (time-to-number-of-days): Simplify.
5064         * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
5065         Remove.
5066         (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
5067         * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
5068         * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
5069         * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
5070         * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
5072         * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
5073         (eshell-shuffle-files, eshell-shorthand-tar-command)
5074         (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
5075         Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
5076         * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
5077         Prefix dynamic local variable `matches'.
5079         * skeleton.el (skeleton-internal-list, skeleton-internal-1):
5080         Prefix dynamic local variable `skeleton'.
5082 2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
5084         * net/browse-url.el (browse-url-mail): Insert body part of mailto url
5085         in mail buffer; make yank-action always a command that yanks original
5086         buffer.
5088 2010-11-09  Glenn Morris  <rgm@gnu.org>
5090         * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
5092 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5094         * minibuffer.el (minibuffer-completion-help): Specify the end of the
5095         completion field (bug#7211).
5097         * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
5098         Fix handling of backslash escapes.
5099         (python-quote-syntax): Adjust accordingly.
5101 2010-11-09  Richard Levitte  <richard@levitte.org>  (tiny change)
5103         * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
5104         (vc-mtn-workfile-branch): Adjust to new output format.
5106 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5108         * international/mule-cmds.el (princ-list): Mark as obsolete.
5110 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5112         * emacs-lisp/smie.el: New package.
5114 2010-11-09  Michael Albinus  <michael.albinus@gmx.de>
5116         * files.el (backup-by-copying-when-mismatch):
5117         Set `permanent-local' property.
5119         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
5120         `permanent-local' property for `backup-by-copying-when-mismatch'.
5122 2010-11-09  Eli Zaretskii  <eliz@gnu.org>
5124         * ls-lisp.el (insert-directory): Doc fix.  (bug#7285)
5126 2010-11-09  Wilson Snyder  <wsnyder@wsnyder.org>
5128         * progmodes/verilog-mode.el (verilog-insert-one-definition)
5129         (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
5130         AUTOINOUT for SV style multidimensional arrays, bug294.
5131         Reported by Eric Mastromarchi.
5132         (verilog-preprocess): Use with-current-buffer and
5133         font-lock-fontify-buffer to cleanup style issues.
5135 2010-11-09  Glenn Morris  <rgm@gnu.org>
5137         * locate.el (locate, locate-mode): Doc fixes.
5139 2010-11-09  Chong Yidong  <cyd@stupidchicken.com>
5141         * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
5142         user for confirmation.
5143         (server-force-stop): Use it.
5144         (server-start): Use server-force-stop for kill-emacs-hook, to
5145         avoid user interaction while killing Emacs.
5147 2010-11-09  Glenn Morris  <rgm@gnu.org>
5149         * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
5150         (meta-indent-line): Simplify.
5152         * vc/emerge.el (emerge-line-number-in-buf):
5153         * textmodes/ispell.el (ispell-region):
5154         * textmodes/fill.el (current-fill-column):
5155         * progmodes/xscheme.el (xscheme-send-current-line):
5156         * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
5157         * progmodes/tcl.el (tcl-hairy-scan-for-comment):
5158         * progmodes/sh-script.el (sh-handle-prev-do):
5159         * progmodes/meta-mode.el (meta-indent-line):
5160         * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
5161         (idlwave-in-quote):
5162         * progmodes/idlw-shell.el (idlwave-shell-current-frame)
5163         (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
5164         * progmodes/fortran.el (fortran-looking-at-if-then):
5165         * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
5166         * progmodes/cperl-mode.el (cperl-sniff-for-indent)
5167         (cperl-find-pods-heres):
5168         * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
5169         * net/quickurl.el (quickurl-list-insert):
5170         * net/ldap.el (ldap-search-internal):
5171         * net/eudc.el (eudc-expand-inline):
5172         * mail/sendmail.el (sendmail-send-it):
5173         * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
5174         * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
5175         (viper-brac-function):
5176         * calc/calc-yank.el (calc-do-grab-region):
5177         * calc/calc-keypd.el (calc-keypad-press):
5178         * term.el (term-move-columns, term-insert-spaces):
5179         * speedbar.el (speedbar-highlight-one-tag-line):
5180         * simple.el (current-word):
5181         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
5182         * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
5183         (Info-scroll-down):
5184         * hippie-exp.el (he-line-beg):
5185         * epa.el (epa--marked-keys):
5186         * dired-aux.el (dired-kill-line, dired-do-kill-lines)
5187         (dired-update-file-line, dired-add-entry, dired-remove-entry)
5188         (dired-relist-entry):
5189         * buff-menu.el (Buffer-menu-buffer):
5190         * array.el (current-line):
5191         * allout.el (allout-resolve-xref)
5192         (allout-latex-verbatim-quote-curr-line):
5193         Replace yet more uses of end-of-line etc with line-end-position, etc.
5195 2010-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5197         * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
5198         (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
5199         (checkdoc-syntax-table): Initialize in the declaration.
5200         (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
5201         the mode on unconditionally.
5203         * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
5204         (extent-end-position, extent-start-position): Remove setf method for
5205         non-existing functions (bug#7319).
5207 2010-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5209         * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
5210         (smie-precs->prec2): Rename from smie-precs-precedence-table.
5211         (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
5212         (smie-prec2->grammar): Rename from smie-prec2-levels.
5213         (smie-grammar): Rename from smie-op-levels.
5214         (smie-indent--hanging-p): Rename from smie-hanging-p.
5215         (smie-rule-hanging-p): New alias.
5216         (smie-indent--bolp): Rename from smie-bolp.
5217         (smie-indent--hanging-p): New alias.
5218         (smie--token): New dynamically bound variable.
5219         (smie-indent--parent): New function.
5220         (smie-rule-parent-p): Use it; rename from smie-parent-p.
5221         (smie-rule-next-p): Rename from smie-next-p.
5222         (smie-rule-prev-p): Rename from smie-prev-p.
5223         (smie-rule-sibling-p, smie-rule-parent)
5224         (smie-indent--separator-outdent, smie-rule-separator): New functions.
5225         (smie-rule-separator-outdent): New var.
5226         (smie-indent--rule): Merge with smie-indent--column.
5227         (smie-indent-forward-token, smie-indent-backward-token):
5228         Also recognize close parens.
5229         (smie-indent-keyword): Don't use smie-indent--column any more.
5230         (smie-indent-after-keyword): Ignore closers by default.
5231         (smie-indent-line): Use with-demoted-errors.
5232         * progmodes/octave-mod.el (octave-smie-grammar):
5233         Rename from octave-smie-op-levels.
5234         (octave-smie-rules): Adjust to new behavior.
5235         * progmodes/prolog.el (prolog-smie-grammar):
5236         Rename from prolog-smie-op-levels.
5238 2010-11-07  Glenn Morris  <rgm@gnu.org>
5240         * eshell/esh-util.el (subst-char-in-string)
5241         (directory-files-and-attributes): These compatibility definitions are
5242         not needed on any version of Emacs since at least 21.4.
5244         * progmodes/verilog-mode.el (verilog-get-beg-of-line)
5245         (verilog-get-end-of-line): Remove.
5246         (verilog-within-string, verilog-re-search-forward-substr)
5247         (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
5248         (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
5249         Use point-at-bol, point-at-eol.
5250         * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
5251         Remove.
5252         (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
5253         (electric-pascal-terminate-line, pascal-set-auto-comments)
5254         (pascal-indent-paramlist, pascal-indent-declaration)
5255         (pascal-get-lineup-indent, pascal-func-completion)
5256         (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
5257         Use point-at-bol, point-at-eol.
5258         * progmodes/flymake.el (flymake-line-beginning-position)
5259         (flymake-line-end-position): Remove.
5260         (flymake-highlight-line): Use point-at-bol, point-at-eol.
5261         * eshell/esh-util.el (line-end-position, line-beginning-position):
5262         Remove compat definitions.
5264         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
5265         Use end-of-line N.
5266         (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
5267         Use line-end-position.
5269         * emacs-lisp/chart.el (chart-zap-chars):
5270         * play/decipher.el (decipher-set-map):
5271         * progmodes/ada-mode.el (ada-get-current-indent)
5272         (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
5273         * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
5274         * progmodes/ada-xref.el (ada-initialize-runtime-library)
5275         (ada-get-all-references):
5276         * progmodes/cperl-mode.el (cperl-electric-paren)
5277         (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
5278         (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
5279         (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
5280         (cperl-word-at-point-hard):
5281         * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
5282         (idlwave-shell-filename-string, idlwave-shell-batch-command)
5283         (idlwave-shell-display-line):
5284         * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
5285         (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
5286         * progmodes/js.el (js--re-search-forward-inner)
5287         (js--re-search-backward-inner):
5288         * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
5289         (vhdl-fix-clause, vhdl-compose-configuration-architecture):
5290         * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
5291         * textmodes/flyspell.el (flyspell-process-localwords):
5292         * textmodes/ispell.el (ispell-buffer-local-parsing)
5293         (ispell-buffer-local-dict, ispell-buffer-local-words):
5294         Use point-at-bol and point-at-eol.
5296         * speedbar.el (speedbar-generic-item-info)
5297         (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
5298         (speedbar-add-indicator, speedbar-check-vc-this-line)
5299         (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
5300         (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
5301         Replace more uses of end-of-line etc with line-end-position.
5303 2010-11-06  Glenn Morris  <rgm@gnu.org>
5305         * textmodes/texnfo-upd.el (texinfo-start-menu-description)
5306         (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
5307         (texinfo-delete-existing-pointers, texinfo-find-pointer)
5308         (texinfo-clean-up-node-line, texinfo-insert-node-lines)
5309         (texinfo-multiple-files-update):
5310         * textmodes/table.el (table--probe-cell-left-up)
5311         (table--probe-cell-right-bottom):
5312         * textmodes/picture.el (picture-tab-search):
5313         * textmodes/page-ext.el (pages-copy-header-and-position)
5314         (pages-directory-for-addresses):
5315         * progmodes/vera-mode.el (vera-get-offset):
5316         * progmodes/simula.el (simula-calculate-indent):
5317         * progmodes/python.el (python-pdbtrack-overlay-arrow):
5318         * progmodes/prolog.el (end-of-prolog-clause):
5319         * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
5320         * progmodes/icon.el (indent-icon-exp):
5321         * progmodes/etags.el (tag-re-match-p):
5322         * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
5323         * progmodes/ebnf2ps.el (ebnf-begin-file):
5324         * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
5325         (dcl-save-local-variable):
5326         * play/life.el (life-setup):
5327         * play/gametree.el (gametree-looking-at-ply):
5328         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
5329         * mail/sendmail.el (mail-mode-auto-fill):
5330         * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
5331         * emacs-lisp/edebug.el (edebug-overlay-arrow):
5332         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
5333         * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
5334         (woman-tab-to-tab-stop, WoMan-warn-ignored):
5335         * type-break.el (type-break-file-keystroke-count):
5336         * term.el (term-replace-by-expanded-history-before-point)
5337         (term-skip-prompt, term-extract-string):
5338         * speedbar.el (speedbar-edit-line, speedbar-expand-line)
5339         (speedbar-contract-line, speedbar-toggle-line-expansion)
5340         (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
5341         (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
5342         * sort.el (sort-skip-fields):
5343         * skeleton.el (skeleton-internal-list):
5344         * simple.el (line-move-finish, line-move-to-column):
5345         * shell.el (shell-forward-command):
5346         * misc.el (copy-from-above-command):
5347         * makesum.el (double-column):
5348         * ebuff-menu.el (electric-buffer-update-highlight):
5349         * dired.el (dired-move-to-end-of-filename):
5350         * dframe.el (dframe-popup-kludge):
5351         * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
5352         * arc-mode.el (archive-get-lineno):
5353         Use line-end-position and line-beginning-position.
5355         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
5356         (idlwave-study-twins): Prefix dynamic local `class'.
5357         (idlwave-routine-twin-compare): Update for above name change.
5359         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
5360         Use boundp tests to silence compiler.  Update for changed name of
5361         bytecomp-filename variable.
5363         * emulation/viper-cmd.el (viper-read-string-with-history):
5364         Prefix dynamic local `initial'.
5365         (viper-minibuffer-standard-hook): Update for above name change.
5367         * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
5368         (elint-init-form): Update for above name change.
5370         * mail/mail-extr.el (mail-extract-address-components): Give dynamic
5371         local variables `cbeg' and `cend' a prefix.
5372         (mail-extr-voodoo): Update for above name change.
5374         * textmodes/reftex-toc.el (reftex-toc-do-promote)
5375         (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
5376         (reftex-toc-promote-action): Doc fix.
5378         * textmodes/reftex-sel.el (reftex-select-item): Give local variables
5379         `prompt', `data' a prefix.
5380         (reftex-select-post-command-hook, reftex-select-callback)
5381         (reftex-select-mouse-accept, reftex-select-read-cite):
5382         Update for above name changes.
5384         * textmodes/reftex-ref.el (reftex-reference): Rename local variable
5385         `refstyle' to reftex-refstyle.
5386         (reftex-offer-label-menu): Update for above name change.
5387         * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
5388         `refstyle' name change.
5390         * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
5391         with with-current-buffer.
5392         (diff, template): Give dynamic local variables a prefix.
5393         (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
5394         (emerge-line-number-in-buf): Update for above name change.
5395         (emerge-combine-versions-internal): Rename local `template' to
5396         emerge-combine-template.
5397         (emerge-combine-versions-edit): Update for above name change.
5399 2010-11-06  Ralf Angeli  <angeli@caeruleus.net>
5401         * textmodes/reftex-cite.el
5402         (reftex-extract-bib-entries-from-thebibliography): Match bibitem
5403         entries with whitespace after \bibitem.
5404         (reftex-create-bibtex-file): Match entries containing numbers and
5405         symbol constituents.  Make sure that entries with whitespace at
5406         various places are found.
5408 2010-11-05  Christian Millour  <cm@abtela.com>  (tiny change)
5410         * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
5412 2010-11-05  Jan Djärv  <jan.h.d@swipnet.se>
5414         * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
5416 2010-11-05  Glenn Morris  <rgm@gnu.org>
5418         * woman.el (woman0-roff-buffer, woman1-roff-buffer)
5419         (woman2-roff-buffer): Give local variable `request' a prefix.
5420         (woman0-macro): Rename argument `request' in the same way.
5421         (woman-request): New name for `request' dynamic variable.
5422         (woman-unquote, woman-forward-arg): Update for above name change.
5423         (woman1-roff-buffer): Give local variable `unquote' a prefix.
5424         (woman1-unquote): New name for `unquote' dynamic variable.
5425         (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
5426         (woman-translations): Rename from `translations'.  No longer global.
5427         (woman2-tr, woman-translate): Update for above name change.
5428         (woman-translate): Check for bound variable.
5429         (woman2-roff-buffer): Give local variable `translations' a prefix.
5431         * play/doctor.el: Give all local variables a prefix.  Update callers.
5432         (doc$, doctor-put-meaning): Use backquote.
5434         * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
5435         (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
5437         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
5438         variables bytes, ptr, op a prefix.
5439         (disassemble-offset): Update for above change.
5441 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
5443         * emacs-lisp/package.el (package-unpack): Remove no-op.
5444         (package--builtins, package--dir): Doc fix.
5445         (package-activate-1, package-activate, package-install)
5446         (package-compute-transaction): Fix error message.
5447         (package-delete): Use delete-directory.  Omit system packages.
5448         (package-initialize): Set package-alist to nil first.
5449         (package-menu-mark-delete, package-menu-mark-install): Don't add
5450         symbols that are inconsistent with the package state.
5451         (package-menu-execute): Perform deletions and installations as
5452         single batch operations.
5454 2010-11-03  Glenn Morris  <rgm@gnu.org>
5456         * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
5457         (props): Remove unnecessary declaration.
5459         * textmodes/ispell.el (ispell-init-process): On Emacs, always use
5460         set-process-query-on-exit-flag.
5462         * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
5463         (reftex-toc-do-promote): Remove unused local `mpos'.
5464         (reftex-toc-restore-region): Make `mpos' local to this function.
5466         * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
5468         * play/landmark.el (lm-losing-threshold): Correct spelling.
5469         (lm-human-plays): Use new name.
5471         * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
5472         (gomoku-human-plays): Use new name.
5474         * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
5475         (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
5476         (gomoku-score-trans-table, gomoku-winning-threshold)
5477         (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
5479 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
5481         * emacs-lisp/package.el: Don't put built-in packages in
5482         package-alist, to avoid loading inefficiencies.
5483         (package-built-in-p): Make VERSION optional, and treat it as a
5484         minimum acceptable version.
5485         (package-activate): Search separately for built-in packages.
5486         Emit a warning if a dependency fails.
5487         (define-package): Handle most common case, where there is no
5488         obsolete package, first.
5489         (package-compute-transaction): Print required version in error.
5490         (package--initialized): New variable.
5491         (list-packages): Use it.
5492         (package-initialize): Optional arg NO-ACTIVATE.  Don't put
5493         built-in packages in packages-alist; keep it separate.
5494         Set package--initialized.
5495         (describe-package): Avoid activating packages as a side-effect.
5496         Search separately for built-in packages.
5497         (describe-package-1): Handle the case where an elpa package is
5498         simultaneously built-in and available/installed.
5499         (package-installed-p, package--generate-package-list):
5500         Search separately for built-in packages.
5501         (package-load-descriptor): Doc fix.
5503 2010-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5505         * progmodes/perl-mode.el (perl-syntax-propertize-function):
5506         Handle __DATA__ and __END__.
5508 2010-11-02  Noah Friedman  <friedman@splode.com>
5510         * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
5511         nil, do not ask to recompile files that are not already compiled,
5512         and do not recompile them.
5514 2010-11-02  Chong Yidong  <cyd@stupidchicken.com>
5516         * emacs-lisp/package.el (package-initialize): Ensure that
5517         obsoleted built-in packages are not in package-activated-list
5518         during activation.
5519         (describe-package-1): Make the "installed" status override
5520         "built-in".
5522 2010-11-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
5524         * subr.el (version-separator, version-regexp-alist): Remove '*'
5525         from docstring.
5526         (version-list-<=, version<=, version=): Doc fix.
5528 2010-11-01  Kenichi Handa  <handa@m17n.org>
5530         * faces.el (glyphless-char): Inherit underline for tty.
5532 2010-11-01  Kenichi Handa  <handa@m17n.org>
5534         Implement various display methods for glyphless characters.
5536         * international/characters.el (char-acronym-table): New variable.
5537         (glyphless-char-control): New variable.
5538         (update-glyphless-char-display): New function.
5540         * faces.el (glyphless-char): New face.
5542 2010-11-01  Glenn Morris  <rgm@gnu.org>
5544         * calendar/holidays.el (general-holidays, oriental-holidays)
5545         (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
5546         (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
5547         the definitions of their targets.
5549         * emacs-lisp/smie.el (smie): New custom group.
5550         (smie-blink-matching-inners, smie-indent-basic): Add :group.
5552         * faces.el (xw-defined-colors, x-setup-function-keys):
5553         * mouse-sel.el (x-select-text):
5554         * term/w32console.el (x-setup-function-keys): Update declarations.
5556         * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
5558         * textmodes/ispell.el (comment-add): Declare.
5560         * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
5561         Declare.
5563         * info.el (finder-keywords-hash, package-alist): Declare.
5565 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
5567         * finder.el (finder-compile-keywords): Don't use intern-soft,
5568         since package names may not yet exist in the obarray.
5570 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
5572         * vc/vc-arch.el (vc-arch-checkin):
5573         * vc/vc-cvs.el (vc-cvs-checkin):
5574         * vc/vc-mtn.el (vc-mtn-checkin):
5575         * vc/vc-rcs.el (vc-rcs-checkin):
5576         * vc/vc-sccs.el (vc-sccs-checkin):
5577         * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
5578         since 2010-04-21 commit by Stefan Monnier.
5580 2010-11-01  Glenn Morris  <rgm@gnu.org>
5582         * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
5584         * startup.el (package-enable-at-startup, package-initialize):
5585         Silence compiler.
5587         * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
5588         Silence compiler.
5590 2010-10-31  Julien Danjou  <julien@danjou.info>
5592         * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
5593         (byte-recompile-directory):
5594         * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
5595         Use `byte-recompile-file'.
5597 2010-10-31  Glenn Morris  <rgm@gnu.org>
5599         * cus-start.el: Handle standard values via a keyword.
5600         Only set version property if specified.
5601         (cursor-in-non-selected-windows, menu-bar-mode)
5602         (tool-bar-mode, show-trailing-whitespace):
5603         Do not specify standard values.
5604         (transient-mark-mode, temporary-file-directory): Use :standard.
5606 2010-10-31  Jan Djärv  <jan.h.d@swipnet.se>
5608         * term/x-win.el (x-get-selection-value): New function that gets
5609         PRIMARY with type as specified in x-select-request-type.  (Bug#6802)
5611 2010-10-31  Michael Albinus  <michael.albinus@gmx.de>
5613         * net/tramp.el (tramp-handle-insert-file-contents): For root,
5614         preserve owner and group when editing files.  (Bug#7289)
5616 2010-10-31  Glenn Morris  <rgm@gnu.org>
5618         * speedbar.el (speedbar-mode):
5619         * play/fortune.el (fortune-in-buffer, fortune):
5620         * play/gomoku.el (gomoku-mode):
5621         * play/landmark.el (lm-mode):
5622         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
5623         Replace inappropriate uses of toggle-read-only.  (Bug#7292)
5625         * select.el (x-selection): Mark it as an obsolete alias.
5627 2010-10-31  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
5629         * vc/add-log.el (find-change-log): Use derived-mode-p rather than
5630         major-mode (bug#7284).
5632 2010-10-31  Glenn Morris  <rgm@gnu.org>
5634         * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
5635         rather than just an unused variable that inherits from the real one.
5637 2010-10-31  Alan Mackenzie  <acm@muc.de>
5639         * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
5640         This fixes bug #7185.
5642 2010-10-30  Chong Yidong  <cyd@stupidchicken.com>
5644         * startup.el (command-line): Search for package directories, and
5645         don't load package.el if none are found.
5647         * emacs-lisp/package.el (describe-package, list-packages):
5648         Call package-initialize if it has not been called yet.
5650 2010-10-30  Alan Mackenzie  <acm@muc.de>
5652         * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
5653         which fontifies the tail of an enum.
5654         (c-basic-matchers-after): Insert a call to the above new function.
5655         This fixes bug #7264.
5657 2010-10-30  Glenn Morris  <rgm@gnu.org>
5659         * cus-start.el: Add :set properties for minor modes menu-bar-mode,
5660         tool-bar-mode, transient-mark-mode.  (Bug#7306)
5661         Include the :set property in the dumped Emacs.
5663 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5665         SMIE: change indent rules format, improve smie-setup.
5666         * emacs-lisp/smie.el (smie-precs-precedence-table)
5667         (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
5668         Mark them pure so the tables gets built at compile time.
5669         (smie-bnf-precedence-table): Store the closer-alist in the table.
5670         (smie-prec2-levels): Preserve the closer-alist.
5671         (smie-blink-matching-open): Be more forgiving in case of indentation.
5672         (smie-hanging-p): Rename from smie-indent--hanging-p.
5673         (smie-bolp): Rename from smie-indent--bolp.
5674         (smie--parent, smie--after): New dynamic vars.
5675         (smie-parent-p, smie-next-p, smie-prev-p): New funs.
5676         (smie-indent-rules): Remove.
5677         (smie-indent--offset-rule): Remove fun.
5678         (smie-rules-function): New var.
5679         (smie-indent--rule): New fun.
5680         (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
5681         (smie-indent-exps): Use it.
5682         (smie-setup): Setup paren blinking; add keyword args for token
5683         functions; extract closer-alist from op-levels.
5684         (smie-indent-debug-log): Remove var.
5685         (smie-indent-debug): Remove fun.
5686         * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
5687         (prolog-smie-rules): New fun to replace it.
5688         (prolog-mode-variables): Simplify.
5689         * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
5690         it's setup automatically.
5691         (octave-smie-indent-rules): Remove.
5692         (octave-smie-rules): New fun to replace it.
5693         (octave-mode): Simplify.
5695 2010-10-29  Glenn Morris  <rgm@gnu.org>
5697         * files.el (temporary-file-directory): Remove (already defined in C).
5698         * cus-start.el: Add temporary-file-directory.
5700         * abbrev.el (abbrev-mode):
5701         * composite.el (auto-composition-mode):
5702         * menu-bar.el (menu-bar-mode):
5703         * simple.el (transient-mark-mode):
5704         * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
5705         that they do not define the associated variables twice.
5706         * simple.el (transient-mark-mode): Remove defvar.
5707         * composite.el (auto-composition-mode): Make variable auto-buffer-local.
5708         * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
5709         Handle multiple groups, and also custom-delayed-init-variables.
5710         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5712 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5714         * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
5715         (pcase-if): Add one minor optimization.
5716         (pcase-split-equal): Rename from pcase-split-eq.
5717         (pcase-split-member): Rename from pcase-split-memq.
5718         (pcase-u1): Add strings to the member optimization.
5719         Add `guard' variant of predicates.
5720         (pcase-q1): Add string patterns.
5722 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5724         * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
5726 2010-10-28  Glenn Morris  <rgm@gnu.org>
5728         * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5729         Move menu-bar related settings to ../menu-bar.el.
5730         * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5731         Move ns-specific settings here from term/ns-win.el.
5733         * simple.el (x-selection-owner-p): Remove unused declaration.
5735 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5737         * minibuffer.el (completion-cycling): New var (bug#7266).
5738         (minibuffer-complete, completion--do-completion):
5739         Use completion--flush-all-sorted-completions.
5740         (minibuffer-complete): Only cycle if completion-cycling is set.
5741         (completion--flush-all-sorted-completions): Unset completion-cycling.
5742         (minibuffer-force-complete): Set completion-cycling.
5743         (completion-all-sorted-completions): Move declaration before first use.
5745 2010-10-28  Leo  <sdl.web@gmail.com>
5747         * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
5748         which changes the order of matches seen by users (bug#7231).
5750 2010-10-28  Jes Bodi Klinke  <jes@bodi-klinke.dk>  (tiny change)
5752         * progmodes/compile.el (compilation-mode-font-lock-keywords):
5753         Don't confuse -omega as "-o mega".
5755 2010-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5757         * vc/log-edit.el (log-edit-rewrite-fixes): New var.
5758         (log-edit-author): New dynamic var.
5759         (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
5760         to return the author if different from committer.
5761         (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
5763         * play/landmark.el: Adjust commenting convention.
5764         (lm-nil-score): Rename from nil-score.
5765         (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
5766         (OOOOscore): Move into a let in lm-score-trans-table.
5767         (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
5769         * electric.el (electric-indent-chars): Autoload.
5770         * progmodes/octave-mod.el (octave-mode):
5771         * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
5772         (ruby-mode-abbrev-table): Merge initialization and declaration.
5774 2010-10-27  Glenn Morris  <rgm@gnu.org>
5776         * abbrev.el (abbrev-mode): Remove one of the three definitions of this
5777         variable.
5779         * server.el (server-host, server-port, server-auth-dir): Autoload risky.
5781         * term/ns-win.el: Restore require of cl when compiling.
5782         (menu-bar-final-items): Remove non-existent `windows' menu.
5783         (ns-handle-nxopen): Optionally handle the temp-case.
5784         (ns-handle-nxopentemp): Just call ns-handle-nxopen.
5785         (ns-insert-file, ns-find-file): Use `pop'.
5787 2010-10-26  Glenn Morris  <rgm@gnu.org>
5789         * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
5791 2010-10-26  Adrian Robert  <Adrian.B.Robert@gmail.com>
5793         * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
5794         global map.
5795         * term/common-win.el (x-setup-function-keys): Remove most of the
5796         keymappings.  Comment on the remaining ones.
5798 2010-10-26  Peter Oliver  <p.d.oliver@mavit.org.uk>  (tiny change)
5800         * server.el (server-port): New option.  (Bug#854)
5801         (server-start): Use server-port.
5803 2010-10-26  Glenn Morris  <rgm@gnu.org>
5805         * term/ns-win.el (ns-version-string): Remove unused declaration.
5806         (ns-invocation-args): Change to x-invocation-args.
5807         (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
5808         (ns-handle-name-switch, ns-ignore-2-arg): Remove.
5809         (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
5810         Use x-invocation-args instead of ns-invocation-args.
5811         (ns-initialize-window-system, handle-args-function-alist):
5812         Use x-handle-args instead of ns-handle-args.
5813         * term/common-win.el (x-handle-args): Also handle nextstep arguments.
5814         * startup.el (command-line-ns-option-alist): Replace
5815         ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
5816         ns-handle-iconic with the x- equivalents.
5818         * term/common-win.el (x-select-enable-clipboard):
5819         * term/pc-win.el (x-select-enable-clipboard): Doc fix.
5821         * term/ns-win.el: No need to require cl when compiling.
5822         (x-display-name, x-setup-function-keys, x-select-text, x-colors)
5823         (xw-defined-colors): Use the common-win definitions.
5824         (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
5825         (ns-handle-iconic): Make it an alias for x-handle-iconic.
5826         * term/common-win.el (x-select-text, x-alternatives-map)
5827         (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
5828         * loadup.el [ns]: Load common-win.
5830 2010-10-26  Daiki Ueno  <ueno@unixuser.org>
5832         * epa-mail.el (epa-mail-encrypt): Handle local-part only
5833         recipients; expand mail aliases (Bug#7280).
5835 2010-10-25  Glenn Morris  <rgm@gnu.org>
5837         * term/common-win.el (x-handle-switch): Simplify with pop.
5838         Optionally handle numeric switches.
5839         (x-handle-numeric-switch): Just call x-handle-switch.
5840         (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
5841         (x-handle-name-switch, x-handle-display, x-handle-args):
5842         Simplify with pop.
5844         * term/ns-win.el: Do not require easymenu.
5845         (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
5846         <spell>: Move adjustments to menu-bar.el.
5847         * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
5848         <separator-undo, spell>: Move ns-win's adjustments here.
5849         * loadup.el [ns]: Do not load easymenu.
5851 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5853         * image.el (image-checkbox-checked, image-checkbox-unchecked):
5854         Delete (Bug#7222).
5856         * startup.el (fancy-startup-tail): Instead of using inline images,
5857         refer to image files from etc/.
5859         * wid-edit.el (checkbox): Likewise.
5860         (widget-image-find): Center image specs.
5862 2010-10-24  Glenn Morris  <rgm@gnu.org>
5864         * term/ns-win.el (x-select-text): Doc fix.
5865         * w32-fns.el (x-alternatives-map, x-setup-function-keys)
5866         (x-select-text): Move to term/common-win.
5867         * term/w32-win.el (xw-defined-colors): Move to common-win.
5868         * term/x-win.el (xw-defined-colors, x-alternatives-map)
5869         (x-setup-function-keys, x-select-text): Move to common-win.
5870         * term/common-win.el (x-select-text, x-alternatives-map)
5871         (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
5872         definitions here.
5874 2010-10-24  T.V. Raman  <tv.raman.tv@gmail.com>  (tiny change)
5876         * net/mairix.el (mairix-searches-mode-map):
5877         * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
5879 2010-10-24  Michael McNamara  <mac@mail.brushroad.com>
5881         * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
5882         auto-built for efficiency of execution and updating.
5883         (verilog-extended-complete-re): Support 'pure' fucntion & task
5884         declarations (these have no bodies).
5885         (verilog-beg-of-statement): General cleanup to enable support of
5886         'pure' fucntion & task declarations (these have no bodies).
5887         These efforts together fix Verilog bug210 from veripool; which was also
5888         noticed by Steve Pearlmutter.
5889         (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
5890         (verilog-directive-nest-re, verilog-set-auto-endcomments):
5891         Support `elsif.  Reported by Shankar Giri.
5892         (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
5893         attribute handling for lining up declarations and assignments.
5894         (verilog-beg-of-statement-1): Fix issue where continued declaration
5895         is indented differently if it is after a begin..end clock.
5896         (verilog-in-attribute-p, verilog-skip-backward-comments)
5897         (verilog-skip-forward-comment-p): Support proper treatment of
5898         attributes by indent code.  Reported by Jeff Steele.
5899         (verilog-in-directive-p): Fix comment to correctly describe function.
5900         (verilog-backward-up-list, verilog-in-struct-region-p)
5901         (verilog-backward-token, verilog-in-struct-p)
5902         (verilog-in-coverage-p, verilog-do-indent)
5903         (verilog-pretty-declarations): Use verilog-backward-up-list as
5904         wrapper around backward-up-list inorder to properly skip comments.
5905         Reported by David Rogoff.
5906         (verilog-property-re, verilog-endcomment-reason-re)
5907         (verilog-beg-of-statement, verilog-set-auto-endcomments)
5908         (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
5909         of if).  Reported by Max Bjurling and
5910         (verilog-calc-1): Fix for clocking block in modport
5911         declaration.  Reported by Brian Hunter.
5913 2010-10-24  Wilson Snyder  <wsnyder@wsnyder.org>
5915         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
5916         (verilog-gate-keywords, verilog-read-sub-decls)
5917         (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
5918         (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
5919         AUTOINST for gate primitives, bug284.  Reported by Mark Johnson.
5920         (verilog-read-decls): Fix spaces in V2K module parameters causing
5921         mis-identification as interfaces, bug287.
5922         (verilog-read-decls): Fix not treating "parameter string" as a
5923         parameter in AUTOINSTPARAM.
5924         (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
5925         treating `elsif similar to `endif inside AUTOSENSE.
5926         (verilog-do-indent): Implement correct automatic or static task or
5927         function end comment highlight.  Reported by Steve Pearlmutter.
5928         (verilog-font-lock-keywords-2): Fix highlighting of single
5929         character pins, bug264.  Reported by Michael Laajanen.
5930         (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
5931         (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
5932         (verilog-subdecls-get-interfaced, verilog-subdecls-new):
5933         Support interfaces with AUTOINST, bug270.  Reported by Luis Gutierrez.
5934         (verilog-pretty-expr): Fix interactive arguments, bug272.
5935         Reported by Mark Johnson.
5936         (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
5937         Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
5938         bug269.  Suggested by Gary Delp.
5939         (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
5940         (verilog-preprocessor, verilog-set-compile-command):
5941         Create verilog-preprocess and verilog-preprocessor to show
5942         preprocessed output.
5943         (verilog-get-beg-of-line, verilog-get-end-of-line)
5944         (verilog-modi-file-or-buffer, verilog-modi-name)
5945         (verilog-modi-point, verilog-within-string): Move defmacro's
5946         before first use to avoid warning.  Reported by Steve Pearlmutter.
5947         (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
5948         (verilog-colorize-region, verilog-highlight-buffer)
5949         (verilog-highlight-includes, verilog-highlight-modules)
5950         (verilog-highlight-region, verilog-mode): Rename colorize to
5951         highlight to match other packages.  Disable module highlighting,
5952         as received speed complaints, reenable for experimentation only
5953         using new verilog-highlight-modules.
5954         (verilog-read-decls): Fix regexp stack overflow in very large
5955         AUTO_TEMPLATEs, bug250.
5956         (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
5957         (verilog-scan): Create verilog-save-buffer-state to standardize
5958         making insignificant changes that shouldn't call hooks.
5959         (verilog-save-no-change-functions, verilog-save-scan-cache)
5960         (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
5961         Create verilog-save-no-change-functions to wrap verilog-scan
5962         preservation, and fix to work with nested preserved calls.
5963         (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
5964         port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
5965         generate .name with AUTOINST, bug245.  Suggested by David Rogoff.
5966         (verilog-submit-bug-report): Update variable list to be complete.
5967         (verilog-auto, verilog-colorize-region): Fix AUTO expansion
5968         breaking on-the-fly font-locking.
5969         (verilog-colorize-buffer, verilog-colorize-include-files)
5970         (verilog-colorize-include-files-buffer, verilog-colorize-region)
5971         (verilog-load-file-at-mouse, verilog-load-file-at-point)
5972         (verilog-mode, verilog-read-inst-module-matcher): With point on a
5973         AUTOINST cell instance name, middle mouse button now finds-file on
5974         it.  Suggested by Brad Dobbie.
5975         (verilog-alw-get-temps, verilog-auto-reset)
5976         (verilog-auto-sense-sigs, verilog-read-always-signals)
5977         (verilog-read-always-signals-recurse): Fix loop indexes being
5978         AUTORESET.  AUTORESET now assumes any variables in the
5979         initialization section of a for() should be ignored.
5980         Reported by Dan Dever.
5981         (verilog-error-font-lock-keywords)
5982         (verilog-error-regexp-emacs-alist)
5983         (verilog-error-regexp-xemacs-alist): Fix error detection of
5984         Cadence HAL, reported by David Asher.  Repair drift between the
5985         three similar error variables.
5986         (verilog-modi-lookup, verilog-modi-lookup-cache)
5987         (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
5988         (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
5989         Fix slow verilog-auto expansion on very large files.
5990         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
5991         Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
5992         "{1*2{...".  Broke in last revision.
5993         (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
5994         submodule connections with replications "{#{a},#{b}}".
5996 2010-10-24  Juanma Barranquero  <lekktu@gmail.com>
5998         * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
5999         Fix typo in docstring.
6001 2010-10-24  Kenichi Handa  <handa@m17n.org>
6003         * face-remap.el (text-scale-adjust): Call read-event with a proper
6004         prompt.
6006 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
6008         * emacs-lisp/unsafep.el: Don't mark functions that display
6009         messages as safe.  Suggested by Johan Bockgård.
6011 2010-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6013         * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
6014         Turn comments into docstrings.
6016         * minibuffer.el (completion--replace): Move point where it belongs
6017         when there's a common suffix (bug#7215).
6019 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
6021         Merge read-color and facemenu-read-color (Bug#7242).
6023         * faces.el (read-color): Use the completion code from
6024         facemenu-read-color.  Require match in completion.  Doc fix.
6026         * facemenu.el (facemenu-read-color): Alias for read-color.
6027         (facemenu-set-foreground, facemenu-set-background):
6028         Use read-color.
6030         * frame.el (set-background-color, set-foreground-color)
6031         (set-cursor-color, set-mouse-color, set-border-color):
6032         Use read-color.
6034 2010-10-24  Leo  <sdl.web@gmail.com>
6036         * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
6037         argument of delete-file and delete-directory (Bug#7011).
6039 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
6041         * emacs-lisp/package.el (package-menu-mode-map): Inherit from
6042         button-buffer-map.
6044 2010-10-24  Ralf Angeli  <angeli@caeruleus.net>
6046         * emacs-lisp/package.el (package--generate-package-list): Make the
6047         *Packages* buffer read-only.
6049 2010-10-24  Alan Mackenzie  <acm@muc.de>
6051         * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
6052         result of `c-beginning-of-decl-1' between invocations of a lambda
6053         function (Bug #7265).
6055 2010-10-24  Daiki Ueno  <ueno@unixuser.org>
6057         * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
6058         executable is not available on the system (Bug#7268).
6060 2010-10-24  Glenn Morris  <rgm@gnu.org>
6062         * select.el (selection-coding-system, next-selection-coding-system):
6063         Sync doc with C versions.
6065         * w32-vars.el (x-select-enable-clipboard):
6066         * term/x-win.el (x-select-enable-clipboard): Move to common-win.
6067         * term/common-win.el (x-select-enable-clipboard): Move here.
6069         * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
6070         definition of C variable.
6072         * frame.el (show-trailing-whitespace, auto-hscroll-mode)
6073         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
6074         Don't redefine things that are defined in C.
6075         * cus-start.el: Also handle :risky, :safe, :set, and :tag.
6076         (show-trailing-whitespace, auto-hscroll-mode)
6077         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
6078         Set up the appropriate custom properties.
6080 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
6082         Bind "C-c ]" to ...
6083         * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
6084         * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
6085         * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
6086         * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
6088 2010-10-23  Glenn Morris  <rgm@gnu.org>
6090         * textmodes/flyspell.el (flyspell-mode): If there was an error,
6091         say what it was.
6093         * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
6094         Sync docs with C version.
6096         * term/ns-win.el (xw-defined-colors):
6097         * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
6099         * term/pc-win.el (x-select-enable-clipboard):
6100         * term/x-win.el (x-select-enable-clipboard):
6101         * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
6103         * comint.el (comint-password-prompt-regexp): Make it less vague.
6104         Bump version.
6106         * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
6108         * help.el (finder-by-keyword): Remove unnecessary autoload.
6110 2010-10-22  Glenn Morris  <rgm@gnu.org>
6112         * loadup.el: Unconditionally load float-sup.
6113         * paren.el (show-paren-delay):
6114         * emacs-lisp/float-sup.el:
6115         * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
6116         * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
6117         (lazy-lock-stealth-verbose): Assume float support.
6118         * ps-print.el: Assume float support on Emacs.
6119         * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
6120         Remove non-float branch.
6122         * emacs-lisp/autoload.el (batch-update-autoloads): Update for
6123         src/Makefile no longer being pre-processed.
6125 2010-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6127         * emacs-lisp/find-func.el (find-library): Use test-completion.
6129 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6131         * newcomment.el (comment-dwim): Fix the intentation in the doc string.
6133 2010-10-21  Michael Albinus  <michael.albinus@gmx.de>
6135         * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
6136         space in stat format string.
6137         (tramp-send-command): Unset $PS1 when using here documents, in
6138         order not to get several prompts.
6139         (tramp-get-inline-coding): Return `nil' in case of errors.
6141 2010-10-21  Daiki Ueno  <ueno@unixuser.org>
6143         * hexl.el (hexl-mode, hexl-mode-exit):
6144         Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
6145         (hexl-revert-buffer-function): New function.
6146         (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
6148 2010-10-19  Alan Mackenzie  <acm@muc.de>
6150         * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
6151         Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
6152         that these keywords aren't wrongly matched as identifiers.
6154         * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
6155         setting of c-new-BEG and c-new-END from c-before-change to
6156         c-after-change.  (Bug#7181)
6158 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
6160         * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
6161         Don't mark as safe.
6163         * custom.el (custom-theme-set-variables): Likewise.
6164         (load-theme): Add custom-theme-set-faces and
6165         custom-theme-set-variables to safe-functions while loading.
6166         (custom-enabled-themes): Mark as risky.
6168 2010-10-18  Julien Danjou  <julien@danjou.info>
6170         * bindings.el: Remove end dashes in default mode-line-format.
6172 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
6174         * bindings.el (global-map): Bind C-d to delete-char and deletechar
6175         to delete-forward-char.
6177         * simple.el (normal-erase-is-backspace-mode): Remap delete to
6178         deletechar, and hence delete-forward-char.
6180 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6182         * repeat.el (repeat): Use read-key (bug#6256).
6184 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
6186         * emacs-lisp/unsafep.el: Don't mark functions that display
6187         messages as safe.  Suggested by Johan Bockgård.
6189 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6191         * minibuffer.el (completion--replace): Move point where it belongs
6192         when there's a common suffix (bug#7215).
6194 2010-10-19  Kenichi Handa  <handa@m17n.org>
6196         * international/characters.el: Add category '|' (word breakable)
6197         to fullwidth characters.
6199 2010-10-19  Michael Albinus  <michael.albinus@gmx.de>
6201         * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
6202         (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
6203         order to make stat results a float.  Patch by Andreas Schwab
6204         <schwab@linux-m68k.org>.
6206 2010-10-18  Julien Danjou  <julien@danjou.info>
6208         * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
6209         hidden by `make-pointer-invisible'.
6211 2010-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6213         * files.el (locate-file-completion-table): Strip non-matching elements
6214         before checking length of list (bug#7238).
6216 2010-10-18  Chong Yidong  <cyd@stupidchicken.com>
6218         * custom.el (custom-theme-set-variables): Mark as a safe function.
6219         (load-theme): Check forms using unsafep.
6221         * cus-face.el (custom-theme-set-faces): Mark as a safe function.
6223 2010-10-17  Agustín Martín  <agustin.martin@hispalinux.es>
6225         * textmodes/ispell.el (ispell-aspell-find-dictionary):
6226         Fix aspell data file searching (bug#7230).
6228 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
6230         * cus-theme.el (custom-theme--migrate-settings): New var.
6231         (customize-create-theme): Allow editing the `user' theme.
6232         (custom-theme-add-variable, custom-theme-add-var-1)
6233         (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
6234         to the front of each variable or face widget.
6235         (custom-theme-write): Save theme settings in the correct order.
6236         Optionally, remove saved settings from user customizations.
6237         (custom-theme-write-variables, custom-theme-write-faces):
6238         Save only the checked widgets.
6239         (customize-themes): Add a link for migrating custom settings.
6241         * custom.el (custom-declare-theme, provide-theme):
6242         Use custom-theme-name-valid-p.
6243         (custom-theme-name-valid-p): Remove checks that are now
6244         unnecessary since themes no longer obey load-path.
6246         * cus-edit.el (custom-variable-value-create): For the simple
6247         style, hide documentation string when hidden.
6249 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
6251         * cus-edit.el (custom-variable, custom-face): Combine the
6252         :inhibit-magic and :display-style properties into a single
6253         :custom-style property.
6254         (custom-toggle-hide-variable, custom-toggle-hide-face):
6255         New functions.  If hiding an edited value, save it to :shown-value.
6256         (custom-variable-value-create, custom-face-value-create): Use them.
6257         (custom-magic-reset): Allow magic property to be unset.
6259         * custom.el: Custom themes no longer use load-path.
6260         (custom-theme-load-path): New option.  Change built-in theme
6261         directory to etc/.
6262         (custom-enabled-themes): Add custom-theme-load-path dependency.
6263         (custom-theme--load-path): New function.
6264         (load-theme, custom-available-themes): Use it.
6266         * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
6267         (customize-themes): Link to custom-theme-load-path variable.
6268         (custom-theme-add-var-1, custom-theme-add-face-1): Use the
6269         :custom-style property.
6271         * themes/*.el: Moved to etc/.
6273 2010-10-16  Ralf Angeli  <angeli@caeruleus.net>
6275         * textmodes/reftex-cite.el
6276         (reftex-extract-bib-entries-from-thebibliography): Do not move
6277         point when searching for \bibitem entries.  Match entries with
6278         spaces or tabs in front of arguments.
6280 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
6282         * cus-theme.el (customize-create-theme): Delete overlays after
6283         erasing.  If given a THEME arg, display only the faces of that arg
6284         instead of custom-theme--listed-faces.
6285         (custom-theme-variable-menu, custom-theme-variable-action)
6286         (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
6287         (custom-theme-add-variable, custom-theme-add-face): Apply value
6288         from the theme settings, instead of the current value.
6289         (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
6290         (custom-theme-visit-theme): Allow calling outside theme buffers.
6291         (custom-theme-merge-theme): Don't enable the theme when merging.
6292         (custom-theme-write-variables, custom-theme-write-faces): Use the
6293         :shown-value properties to save buffer values, not global ones.
6294         (customize-themes): Display a warning about user customizations.
6296         * cus-edit.el (custom-variable-value-create)
6297         (custom-face-value-create): Obey new special properties
6298         :shown-value and :inhibit-magic.
6300 2010-10-15  Michael Albinus  <michael.albinus@gmx.de>
6302         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
6303         Suppress expansion of tabs to spaces.  Reported by Dale Sedivec
6304         <dale@codefu.org>.
6306 2010-10-14  Kenichi Handa  <handa@m17n.org>
6308         * mail/rmail.el (rmail-show-message-1): Catch an error of
6309         base64-decode-region and just show an error message (bug#7165).
6311         * ps-mule.el (ps-mule-font-spec-list): Delete it.  Not used anymore.
6312         (ps-mule-begin-job): Fix for the case that only ENCODING is set in
6313         a font-spec (bug#7197).
6315 2010-10-14  Glenn Morris  <rgm@gnu.org>
6317         * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
6319 2010-10-14  Juanma Barranquero  <lekktu@gmail.com>
6321         * international/mule.el (define-coding-system):
6322         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
6323         * composite.el (compose-region): Fix typo in docstring.
6325 2010-10-14  Chong Yidong  <cyd@stupidchicken.com>
6327         * cus-face.el (custom-theme-set-faces): Call custom-push-theme
6328         only after checking the theme-face property.
6330         * faces.el (face-spec-reset-face): Reset all attributes in one
6331         single call to set-face-attribute.
6332         (face-spec-match-p): Make it a defsubst.
6333         (frame-set-background-mode): New arg KEEP-FACE-SPECS.
6334         (x-create-frame-with-faces, tty-create-frame-with-faces)
6335         (tty-set-up-initial-frame-faces): Don't recompute face specs in
6336         frame-set-background-mode, since they are recomputed immediately
6337         afterwards in face-set-after-frame-default.
6338         (face-set-after-frame-default): Minor optimization.
6339         (cursor): Provide non-trivial defface spec.
6341         * custom.el (custom-theme-recalc-face): Simplify.
6343 2010-10-14  Jay Belanger  <jay.p.belanger@gmail.com>
6345         * calc/calc-alg.el (math-var): Rename from `var'.
6346         (math-is-polynomial, math-is-poly-rec): Replace `var'
6347         with `math-var'.
6349         * calc/calcalg2.el (math-var): Rename from `var'.
6350         (calcFunc-table, math-scan-for-limits): Replace `var'
6351         with `math-var'.
6353 2010-10-13  Glenn Morris  <rgm@gnu.org>
6355         * subr.el (last): Deal with dotted lists (reported in bug#7174).
6357 2010-10-13  Stephen Berman  <stephen.berman@gmx.net>
6359         * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
6361 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6363         * net/tls.el (tls-program): Remove spurious %s from openssl.
6364         (tls-starttls-switches): Remove starttls hack.
6365         (open-tls-stream): Ditto.
6366         (tls-find-starttls-argument): Ditto.
6368 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
6370         * image.el (image-library-alist): Declare as obsolete alias.
6371         (image-type-available-p): Use `dynamic-library-alist'.
6373         * term/w32-win.el (dynamic-library-alist):
6374         Use instead of `image-library-alist'.
6376 2010-10-13  IRIE Shinsuke  <irieshinsuke@yahoo.co.jp>  (tiny change)
6378         * subr.el (last): Make it faster.  (Bug#7174)
6380 2010-10-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>  (tiny change)
6382         * Makefile.in (compile-clean): Use `` instead of $().  (Bug#7178)
6384 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
6386         * cus-theme.el (custom-theme--listed-faces): Add cursor face.
6387         (describe-theme-1): Extract doc from unloaded themes.
6389         * custom.el (custom-theme-name-valid-p): Don't list color-themes.
6391         * themes/tango-theme.el:
6392         * themes/tango-dark-theme.el:
6393         * themes/wheatgrass-theme.el: New files.
6395 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
6397         * cus-theme.el (describe-theme, customize-themes)
6398         (custom-theme-save): New commands.
6399         (custom-new-theme-mode-map): Bind C-x C-s.
6400         (custom-new-theme-mode): Use custom--initialize-widget-variables.
6401         (customize-create-theme): New optional arg THEME.
6402         (custom-theme-revert): Use it.
6403         (custom-theme-visit-theme): Remove dead code.
6404         (custom-theme-merge-theme): Use custom-available-themes.
6405         (custom-theme-write): Make interactive.
6406         (custom-theme-write): Use custom-theme-name-valid-p.
6407         (describe-theme-1, custom-theme-choose-revert)
6408         (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
6409         New funs.
6410         (custom-theme-allow-multiple-selections): New option.
6411         (custom-theme-choose-mode): New major mode.
6413         * custom.el (custom-theme-set-variables): Remove dead code.
6414         Obey custom--inhibit-theme-enable.
6415         (custom--inhibit-theme-enable): New var.
6416         (provide-theme): Obey it.
6417         (load-theme): Replace load with manual read/eval, in order to
6418         check for correctness.  Use custom-theme-name-valid-p.
6419         (custom-theme-name-valid-p): New function.
6420         (custom-available-themes): Use it.
6422         * cus-edit.el (custom--initialize-widget-variables): New function.
6423         (Custom-mode): Use it.
6425         * cus-face.el (custom-theme-set-faces): Remove dead code.
6426         Obey custom--inhibit-theme-enable.
6428         * help-mode.el (help-theme-def, help-theme-edit): New buttons.
6430 2010-10-12  Juanma Barranquero  <lekktu@gmail.com>
6432         * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
6434 2010-10-12  Jan Djärv  <jan.h.d@swipnet.se>
6436         * term/ns-win.el (ns-right-alternate-modifier): New defvar.
6437         (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
6438         (mac-right-option-modifier): New alias for ns-right-option-modifier.
6440         * cus-start.el (all): ns-right-alternate-modifier is new.
6442 2010-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6444         * emacs-lisp/lisp.el (lisp-completion-at-point):
6445         Use emacs-lisp-mode-syntax-table for the whole function.
6447 2010-10-12  David Koppelman  <koppel@ece.lsu.edu>
6449         * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
6450         instead of font-lock-mode before adding keywords.
6451         Remove hi-lock-mode off code.  Remove inhibit hack.
6452         (hi-lock-set-pattern): Only add keywords if font-lock-fontified
6453         non-nil; removed hook inhibit hack.
6455 2010-10-12  Glenn Morris  <rgm@gnu.org>
6457         * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
6458         (load-path-shadows-find): ... to this.
6459         (list-load-path-shadows): Update for above change.
6461         * mail/mail-utils.el (mail-mbox-from): Also try return-path.
6463 2010-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
6465         * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
6466         Fix comment for declare-function.
6468 2010-10-11  Chong Yidong  <cyd@stupidchicken.com>
6470         * custom.el (custom-fix-face-spec): New function; code moved from
6471         custom-face-edit-fix-value.
6472         (custom-push-theme): Use it when checking if a face has been
6473         changed outside customize.
6474         (custom-available-themes): New function.
6475         (load-theme): Use it.
6477         * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
6479         * custom.el (custom-push-theme): Cleanup (use cond).
6480         (disable-theme): Recompute the saved-face property.
6481         (custom-theme-recalc-face): Follow face alias before setting prop.
6483         * image.el (image-checkbox-checked, image-checkbox-unchecked):
6484         New variables, containing checkbox images.
6486         * startup.el (fancy-startup-tail):
6487         * wid-edit.el (checkbox): Use them.
6489 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
6491         * shell.el (shell-mode-map):
6492         * progmodes/modula2.el (m2-mode-map):
6493         * progmodes/inf-lisp.el (inferior-lisp-mode-map):
6494         * play/mpuz.el (mpuz-mode-map):
6495         * play/landmark.el (lm-mode-map):
6496         * play/decipher.el (decipher-mode-map):
6497         * play/5x5.el (5x5-mode-map):
6498         * net/telnet.el (telnet-mode-map):
6499         * net/quickurl.el (quickurl-list-mode-map):
6500         * net/mairix.el (mairix-searches-mode-map):
6501         * net/eudc-hotlist.el (eudc-hotlist-mode-map):
6502         * net/dig.el (dig-mode-map):
6503         * mail/mspools.el (mspools-mode-map):
6504         * hexl.el (hexl-mode-map):
6505         * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
6506         (wordstar-C-o-map, wordstar-C-q-map):
6507         * emacs-lisp/edebug.el (edebug-eval-mode-map):
6508         * emacs-lisp/chart.el (chart-map):
6509         * edmacro.el (edmacro-mode-map):
6510         * erc/erc-list.el (erc-list-menu-mode-map):
6511         * array.el (array-mode-map): Declare and define in one step.
6513         * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
6515 2010-10-10  Daiki Ueno  <ueno@unixuser.org>
6517         * epa.el (epa-passphrase-callback-function): Display filename
6518         passed as the 3rd arg.
6519         * epa-file.el (epa-file-passphrase-callback-function):
6520         Pass filename to epa-passphrase-callback-function.
6522 2010-10-09  Chong Yidong  <cyd@stupidchicken.com>
6524         * cus-edit.el (custom-face-widget-to-spec)
6525         (custom-face-get-current-spec, custom-face-state): New functions.
6526         (custom-face-set, custom-face-mark-to-save)
6527         (custom-face-value-create, custom-face-state-set): Use them.
6529         * cus-theme.el (custom-theme--listed-faces): New var.
6530         (customize-create-theme): Use *Custom Theme* as the buffer name.
6531         Set revert-buffer-function.  Optional arg BUFFER.  Insert all
6532         faces listed in custom-theme--listed-faces.
6533         (custom-theme-revert): New function.
6534         (custom-theme-add-variable, custom-theme-add-face): Insert at the
6535         bottom of the list.
6536         (custom-theme-write): Prompt for theme name if empty.
6537         (custom-theme-write-variables): Use dolist.
6538         (custom-theme-write-faces): Handle hidden (collapsed) widgets.
6540 2010-10-09  Alan Mackenzie  <acm@muc.de>
6542         Enhance fontification of declarators to take account of the
6543         presence/absence of "typedef".
6545         * cc-engine.el (c-forward-type): New &optional param
6546         "brace-block-too".
6547         (c-forward-decl-or-cast-1): cdr of return value now indicates the
6548         presence of either or both of a "struct"-like keyword and "typedef".
6550         * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
6551         fontification of declarators which follow a "}".
6552         (c-font-lock-declarations): Fontify declarators according to the
6553         presence/absence of "typedef".
6555         * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
6556         for "typedef".
6557         (c-typedef-decl-key): New lang variable built from
6558         c-typedef-decl-kwds.
6560 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6562         * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
6563         since that's too annoying.  Move the filter groups commands to
6564         TAB/backtab.
6566         * epa.el (epa-passphrase-callback-function): Say what we're
6567         querying the password for.
6569         * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
6570         behaviour, don't bury the ibuffer buffer when visiting other buffers.
6572 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
6574         * cus-edit.el (custom-commands, custom-buffer-create-internal)
6575         (custom-magic-value-create): Pad button tags with spaces.
6576         (custom-face-edit): New variable.
6577         (custom-face-value-create): Determine whether to use the usual
6578         face editor here, instead of using custom-face-selected.
6579         Pass face defaults to custom-face-edit widget.
6580         (custom-face-selected, custom-display-unselected): Delete widgets.
6581         (custom-display-unselected-match): Function removed.
6582         (custom-face-set, custom-face-mark-to-save):
6583         Accept custom-face-edit widgets as the direct widget child.
6585         * wid-edit.el (widget--completing-widget): New var.
6586         (widget-default-complete): Bind it when doing completion.
6587         (widget-string-complete, widget-file-complete): Use it.
6589 2010-10-09  Glenn Morris  <rgm@gnu.org>
6591         * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
6592         (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
6593         (holiday-hebrew-misc): Small simplifications.
6595         * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
6597         * net/browse-url.el: Don't require thingatpt, term, dired,
6598         executable, or w3-auto when compiling.
6599         (dired-get-filename, term-char-mode, term-send-down, term-send-string):
6600         Declare.
6601         (browse-url-text-emacs): Require term.
6603 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
6605         * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
6607 2010-10-08  Glenn Morris  <rgm@gnu.org>
6609         * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
6611         * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
6612         (shadows-compare-text-p): Make it an obsolete alias for...
6613         (load-path-shadows-compare-text): ... new name.
6614         (find-emacs-lisp-shadows): Update for above name change.
6615         (load-path-shadows-same-file-or-nonexistent): New name for the old
6616         shadow-same-file-or-nonexistent.
6618 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
6620         * minibuffer.el (completion--some, completion--do-completion)
6621         (minibuffer-complete-and-exit, minibuffer-completion-help)
6622         (completion-basic-try-completion)
6623         (completion-basic-all-completions)
6624         (completion-pcm--find-all-completions): Use lexical-let to
6625         avoid some false matches in variable completion (Bug#7056)
6627 2010-10-08  Olof Ohlsson Sax  <olof.ohlsson.sax@gmail.com>  (tiny change)
6629         * vc-svn.el (vc-svn-merge-news): Use --non-interactive.  (Bug#7152)
6631 2010-10-08  Leo  <sdl.web@gmail.com>
6633         * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
6634         return non-nil if the file exists (Bug#7090).
6636 2010-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6638         * minibuffer.el (completion--replace):
6639         Better preserve markers (bug#7138).
6641 2010-10-08  Juanma Barranquero  <lekktu@gmail.com>
6643         * server.el (server-process-filter): Doc fix.
6645 2010-10-08  Drew Adams  <drew.adams@oracle.com>
6647         * dired.el (dired-save-positions): Doc fix.  (Bug#7119)
6649 2010-10-08  Glenn Morris  <rgm@gnu.org>
6651         * vc/ediff-wind.el (ediff-setup-control-frame):
6652         * vc/ediff-ptch.el (ediff-default-backup-extension):
6653         * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
6654         (ediff-exec-process): Remove system-types emx, windows-95.
6656         * net/browse-url.el (browse-url-xdg-open): Shell-quote url.  (Bug#7166)
6658 2010-10-07  Chong Yidong  <cyd@stupidchicken.com>
6660         * cus-edit.el (custom-variable, custom-face): Doc fix.
6661         (custom-face-edit): Add value-create attribute.
6662         (custom-face-edit-value-create)
6663         (custom-face-edit-value-visibility-action): New functions.
6664         Hide unused face attributes by default, and add a visibility toggle.
6665         (custom-face-edit-deactivate): Show empty values with shadow face.
6666         (custom-face-selected): Only use this for face specs with default
6667         attributes.
6668         (custom-face-value-create): Cleanup.
6670         * wid-edit.el (widget-checklist-value-create): Use dolist.
6671         (widget-checklist-match-find): Make second arg optional.
6673 2010-10-07  Glenn Morris  <rgm@gnu.org>
6675         * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
6676         Prefix things.
6678         * emacs-lisp/shadow.el (shadow-font-lock-keywords)
6679         (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
6680         load-path-shadows-mode, update references.
6681         (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
6682         Rename variable and button.
6683         (list-load-path-shadows): Update button caller.
6685 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6687         * emacs-lisp/smie.el (smie-bnf-classify): New function.
6688         (smie-bnf-precedence-table): Use it to remember the closers/openers.
6689         (smie-merge-prec2s): Handle those new entries.
6690         (smie-prec2-levels): Only set precedence to nil for actual
6691         openers/closers.
6692         * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
6693         that is now unnecessary.
6695 2010-10-07  Miles Bader  <miles@gnu.org>
6697         * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
6699 2010-10-07  Glenn Morris  <rgm@gnu.org>
6701         * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
6702         (mail-position-on-field): Remove declarations.
6703         (mail-position-on-field): Autoload it.
6704         (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
6705         and mail-header-end.  Don't require sendmail.
6707         * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
6708         (shadow-mode): New mode.
6709         (shadow-find-file): New button.
6710         (list-load-path-shadows): Use shadow-mode and buttons.
6712         * iimage.el (iimage-version): Remove.
6713         (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
6714         Turn into defcustoms.
6715         (iimage-mode-map): Give it a doc string.
6717         * calendar/appt.el (appt-activate): Give a warning rather than an error
6718         if there is no diary-file.
6720 2010-10-06  Michael Albinus  <michael.albinus@gmx.de>
6722         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6723         Use `tramp-handle-find-backup-file-name'.
6725 2010-10-06  Glenn Morris  <rgm@gnu.org>
6727         * font-core.el (font-lock-defaults-alist): Remove variable.
6728         (font-lock-mode): Doc fix.
6729         (font-lock-default-function): Do not consult font-lock-defaults-alist.
6730         * font-lock.el (font-lock-refresh-defaults): Doc fix.
6731         (font-lock-set-defaults): Doc fix.
6732         Do not consult font-lock-defaults-alist.
6734         * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
6736         * emacs-lisp/cl.el: No longer provide cl-19.
6738 2010-10-05  Michael Albinus  <michael.albinus@gmx.de>
6740         * net/tramp.el (tramp-handle-directory-files-and-attributes)
6741         (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
6742         New defuns, taken from tramp-smb.el.
6743         (tramp-coding-system-change-eol-conversion)
6744         (tramp-set-process-query-on-exit-flag): Remove.
6746         * net/tramp-compat.el (top): Do not check for byte-compiler objects.
6747         (tramp-compat-coding-system-change-eol-conversion)
6748         (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
6749         from tramp.el.
6751         * net/tramp-gvfs.el:
6752         * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
6753         by `tramp-compat-set-process-query-on-exit-flag'.
6755         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
6756         Use `tramp-handle-directory-files-and-attributes',
6757         `tramp-handle-file-exists-p' and
6758         `tramp-handle-file-newer-than-file-p'.
6759         (tramp-imap-handle-file-exists-p)
6760         (tramp-imap-handle-file-executable-p)
6761         (tramp-imap-handle-file-readable-p)
6762         (tramp-imap-handle-directory-files-and-attributes)
6763         (tramp-imap-handle-file-newer-than-file-p): Remove.
6765         * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
6766         by `tramp-compat-set-process-query-on-exit-flag' and
6767         `tramp-coding-system-change-eol-conversion' by
6768         `tramp-compat-coding-system-change-eol-conversion'.
6770         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6771         Use `tramp-handle-directory-files-and-attributes',
6772         `tramp-handle-file-exists-p' and
6773         `tramp-handle-file-newer-than-file-p'.
6774         (tramp-smb-handle-directory-files-and-attributes)
6775         (tramp-smb-handle-file-exists-p)
6776         (tramp-smb-handle-file-newer-than-file-p): Remove.
6777         (tramp-smb-maybe-open-connection):
6778         Replace `tramp-set-process-query-on-exit-flag' by
6779         `tramp-compat-set-process-query-on-exit-flag'.
6781 2010-10-05  Glenn Morris  <rgm@gnu.org>
6783         * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
6785 2010-10-04  Michael Albinus  <michael.albinus@gmx.de>
6787         Continue reorganization of load dependencies.  (Bug#7156)
6789         * net/tramp.el (tramp-handle-file-local-copy-hook)
6790         (tramp-delete-temp-file-function): Move down.
6791         (tramp-exists-file-name-handler): Move up.
6792         (tramp-register-file-name-handlers): Simplify autoload.
6793         (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
6794         (tramp-handle-directory-files, tramp-handle-dired-uncache)
6795         (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
6796         (tramp-handle-file-name-completion)
6797         (tramp-handle-file-name-directory)
6798         (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
6799         (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
6800         (tramp-handle-find-backup-file-name)
6801         (tramp-handle-insert-file-contents, tramp-handle-load)
6802         (tramp-handle-substitute-in-file-name)
6803         (tramp-handle-unhandled-file-name-directory)
6804         (tramp-mode-string-to-int, tramp-local-host-p)
6805         (tramp-make-tramp-temp-file): Move from tramp-sh.el.
6807         * net/tramp-gvfs.el (top):
6808         * net/tramp-smb.el (top): Do not require 'tramp-sh.
6810         * net/tramp-sh.el (all): Move several objects to tramp.el, see
6811         there.  Rename `tramp-handle-*' to `tramp-sh-handle-*'.
6813 2010-10-04  Glenn Morris  <rgm@gnu.org>
6815         * calendar/appt.el (appt-add): Ensure reminders are enabled.
6816         (appt-activate): Give status messages.
6818 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
6820         * net/gnutls.el: Improve docs.  Remove starttls and ssl emulation.
6821         Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
6822         `gnutls-negotiate' (formerly `starttls-negotiate').
6823         Remove trivial wrapper `starttls-open-stream'.
6825 2010-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
6827         Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
6828         log-outgoing commands.
6829         * vc/vc.el (vc-log-internal-common): Add a new argument and use it
6830         to create a buffer local revert-buffer-function variable.
6831         (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
6832         revert-buffer-function lambda.
6834 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
6836         * net/gnutls.el (starttls-negotiate): Use the plist interface to
6837         `gnutls-boot'.  Make TYPE the only required parameter.
6838         Allow TRUSTFILES and KEYFILES to be lists.
6839         (open-ssl-stream): Use it.
6841 2010-10-03  Glenn Morris  <rgm@gnu.org>
6843         * subr.el (directory-sep-char): Remove obsolete variable.
6844         * net/tramp-compat.el: Don't mess about with the byte-compiler unless
6845         it is "necessary".
6847         * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
6848         * vc/vc.el (vc-static-header-alist): Doc fix.
6849         * vc/vc-cvs.el (vc-cvs-header):
6850         * vc/vc-rcs.el (vc-rcs-header):
6851         * vc/vc-sccs.el (vc-sccs-header):
6852         * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
6853         * obsolete/vc-mcvs.el (vc-mcvs-header):
6854         * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
6855         on XEmacs.
6857 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
6859         * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
6860         Remove obsolete use of binary-overwrite-mode (Bug#7001).
6862 2010-10-03  Glenn Morris  <rgm@gnu.org>
6864         * obsolete/x-menu.el: Remove file, obsolete since 21.1.
6866         * textmodes/rst.el (rst-font-lock-keywords-function):
6867         Drop Emacs 20 code.
6869         * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
6871         * printing.el: Drop Emacs 20 code.
6873         * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
6874         without having used appt.el already).
6876         * subr.el (make-local-hook): Remove function obsolete since 21.1.
6877         * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
6878         (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
6879         XEmacs.
6880         * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
6881         (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
6883         * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
6884         (charset-width, find-charset-region, chars-in-region, forward-point)
6885         (encode-coding-string, coding-system-p, ccl-execute-on-string)
6886         (define-ccl-program, multibyte-string-p, string-make-multibyte):
6887         Remove compatibility cruft (none of these are used by ps*.el).
6889 2010-10-03  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
6891         * subr.el (booleanp): Return t instead of a list (Bug#7086).
6893 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
6895         * server.el (server-process-filter, server-return-error):
6896         Give emacsclient time to shut down after receiving an error string.
6898 2010-10-02  Michael Albinus  <michael.albinus@gmx.de>
6900         * files.el (remote-file-name-inhibit-cache): New defcustom.
6902         * time.el (display-time-file-nonempty-p):
6903         Use `remote-file-name-inhibit-cache'.
6905         * net/tramp.el (tramp-completion-reread-directory-timeout):
6906         Fix docstring.
6908         * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
6909         (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
6910         `remote-file-name-inhibit-cache'.  Check also for an integer
6911         value.  Add/increase counter when `tramp-verbose' >= 10.
6912         (tramp-set-file-property): Add/increase counter when
6913         `tramp-verbose' >= 10.
6915         * net/tramp-cmds.el (tramp-cleanup-all-connections)
6916         (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
6917         (tramp-bug): Set tramp-autoload cookie.  Report all interned
6918         tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
6919         (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
6920         characters only in strings.
6922         * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
6923         to backward compatibility.
6925         * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
6926         (tramp-handle-file-name-all-completions)
6927         (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
6928         (tramp-open-connection-setup-interactive-shell):
6929         Call `tramp-cleanup-connection' directly.
6931 2010-10-02  Glenn Morris  <rgm@gnu.org>
6933         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
6935         * subr.el (char-bytes): Remove obsolete function.
6937         * isearch.el (isearch-return-char): Remove obsolete function.
6939         * mouse.el: No longer provide mldrag.
6940         (mldrag-drag-mode-line, mldrag-drag-vertical-line):
6941         Remove obsolete aliases.
6943         * comint.el (comint-kill-output): Remove obsolete alias.
6945         * composite.el (decompose-composite-char): Remove obsolete function.
6946         * ps-def.el (decompose-composite-char): Remove unused function.
6948         * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
6950         * outline.el (outline-visible): Remove obsolete function.
6952         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
6953         * faces.el (internal-find-face, internal-get-face)
6954         (frame-update-faces, frame-update-face-colors)
6955         (x-frob-font-weight, x-frob-font-slant)
6956         (internal-frob-font-weight, internal-frob-font-slant)
6957         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
6958         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
6959         (x-make-font-bold-italic): Remove functions and aliases, obsolete
6960         since Emacs 21.1.
6961         * emulation/viper-util.el (viper-get-face):
6962         * obsolete/lucid.el (find-face, get-face): Use facep.
6963         * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
6964         Remove unused functions.
6965         * vc/ediff-util.el (ediff-submit-report): Doc fix.
6967         * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
6968         delete tempfile if interrupted during compilation.
6970 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6972         * net/tls.el (tls-starttls-switches): Give up on using starttls with
6973         gnutls-cli.
6974         (tls-program): Add --insecure to be consistent with the defaults from
6975         openssl s_client.  Now all three commands are insecure.
6977 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
6979         * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
6980         (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
6981         (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
6983 2010-10-01  Glenn Morris  <rgm@gnu.org>
6985         * obsolete/sc.el: Remove file.
6987         * files.el (temporary-file-directory): On darwin, also try
6988         DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
6990 2010-10-01  Juanma Barranquero  <lekktu@gmail.com>
6992         * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
6993         Let's not break compatibility gratuitously, shall we?
6995 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6997         * net/tls.el (tls-starttls-switches): New variable.
6998         (tls-find-starttls-argument): Use it.
6999         (open-tls-stream): Ditto.
7001         * net/netrc.el (netrc-credentials): Return the value of the "default"
7002         entry.
7003         (netrc-machine): Ditto.
7005 2010-09-30  Eli Zaretskii  <eliz@gnu.org>
7007         * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
7009 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
7011         * server.el (server-start): Don't write pid to the authentication file.
7012         (server-create-tty-frame): Don't send pid.
7013         (server-process-filter): Send pid at the start of every connection.
7015 2010-09-30  Glenn Morris  <rgm@gnu.org>
7017         * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
7018         (show-all-diary-entries): Remove obsolete function aliases.
7020         * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
7021         Remove options, obsolete since 22.1.
7022         (appt-display-format, appt-display-message):
7023         Remove backwards-compatibility code.
7024         (appt-check): No longer check appt-issue-message.
7025         (appt-make-list): No longer autoload it.  Doc fix.  No longer
7026         activate the package.
7028 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7030         * net/gnutls.el (starttls-negotiate): Loop a lot longer.
7031         (starttls-negotiate): Just call boot, and let the handshake be
7032         triggered from the read loop.
7034 2010-09-29  Glenn Morris  <rgm@gnu.org>
7036         * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
7037         not displaying the diary.
7038         (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
7039         * calendar/appt.el (appt-check): No longer need to kill diary.
7041         * calendar/diary-lib.el (diary-list-entries): Move the
7042         "Preparing..." message entirely here.
7043         (diary-simple-display, diary-fancy-display): Move "Preparing..."
7044         messages to diary-list-entries.
7045         (diary-include-other-diary-files): Use LIST-ONLY rather than setting
7046         diary-display-function.
7048         * calendar/diary-lib.el (diary-include-other-diary-files):
7049         Trap some recursive includes.
7051         * calendar/appt.el (appt-activate): Check diary file.
7053 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
7055         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
7056         construction.
7058         * calendar/time-date.el: No need to require cl for Emacs 21.
7060 2010-09-28  Glenn Morris  <rgm@gnu.org>
7062         * calendar/appt.el (appt-check): Minor simplification.
7064 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
7066         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
7067         citation prefix.
7069 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
7071         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7072         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
7074 2010-09-27  Kenichi Handa  <handa@m17n.org>
7076         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
7077         "ustar" format.
7079 2010-09-27  Kenichi Handa  <handa@m17n.org>
7081         * international/mule.el (define-coding-system): Docstring fixed.
7083         * international/mule-diag.el (describe-character-set): Use princ
7084         with proper print-length and print-level instead of insert.
7086 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
7088         * window.el (walk-windows): Doc fix (bug#7105).
7090 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7092         * emacs-lisp/float-sup.el (e): Remove.
7094 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
7096         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
7097         variable.
7098         (starttls-negotiate): Use it.
7100 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7102         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
7103         back.
7105 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7107         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
7109 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7111         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
7113         * net/netrc.el (netrc-store-data): New function.
7115 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
7117         * net/gnutls.el: GnuTLS glue code to set up a connection.
7119 2010-09-25  Julien Danjou  <julien@danjou.info>
7121         * notifications.el: Call dbus-register-signal only if it is bound.
7123 2010-09-25  Glenn Morris  <rgm@gnu.org>
7125         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7126         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
7127         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
7128         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
7129         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
7130         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
7131         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
7132         * eshell/esh-util.el, eshell/esh-var.el:
7133         Remove leading `*' from docs of faces and defcustoms.
7135 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
7137         * eshell/em-ls.el (eshell-ls-archive-regexp):
7138         * eshell/esh-util.el (eshell-tar-regexp):
7139         * ibuffer.el (ibuffer-compressed-file-name-regexp):
7140         * info.el (Info-suffix-list):
7141         * international/mule.el (auto-coding-alist):
7142         * woman.el (woman-file-regexp, woman-file-compression-regexp):
7143         * progmodes/etags.el (tags-compression-info-list):
7144         Support xz compression.
7146 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
7148         * files.el (get-free-disk-space): Don't assume the "df" output
7149         columns line up (Bug#6995).
7151 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
7153         * finder.el (finder-unknown-keywords):
7154         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
7155         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
7157 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
7159         * server.el (server-start): Revert part of 2010-08-08 change.  Using
7160         address 127.0.0.1 for local host is now done in Fmake_network_process.
7162 2010-09-24  Glenn Morris  <rgm@gnu.org>
7164         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
7165         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
7166         * textmodes/css-mode.el, textmodes/dns-mode.el:
7167         Move autoloaded auto-mode-alist entries to files.el.
7168         * files.el (auto-mode-alist): Move entries here.
7170 2010-09-23  Glenn Morris  <rgm@gnu.org>
7172         * isearch.el (isearch-lazy-highlight-cleanup)
7173         (isearch-lazy-highlight-initial-delay)
7174         (isearch-lazy-highlight-interval)
7175         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
7176         * net/net-utils.el (ipconfig-program-options):
7177         Move aliases to options before the associated definitions.
7179 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7181         * newcomment.el (comment-normalize-vars): Better test validity of
7182         comment-end-skip.
7184 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7186         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
7187         (float-e): New name for `e'.
7188         (degrees-to-radians, radians-to-degrees):
7189         * calendar/solar.el (solar-longitude):
7190         * calculator.el (calculator-registers, calculator-funcall):
7191         * textmodes/artist.el (artist-spray-random-points):
7192         * play/bubbles.el (bubbles--initialize-images): Use new names.
7194 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
7196         Update to CEDET 1.0's version of EIEIO.
7198         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
7199         New function.
7200         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
7201         (eieio-default-eval-maybe): Eval val instead of unquoting only.
7202         (class-precedence-list): If class is nil, return nil.
7203         (eieio-generic-call): If class of first input arg is nil, don't
7204         look up static methods, and do check for primary methods.
7205         (initialize-instance): See if the default needs to be evaluated
7206         during the constructor.
7207         (eieio-perform-slot-validation-for-default): Don't do the check
7208         for values that will eventually be evaluated.
7209         (eieio-eval-default-p): New function.
7210         (eieio-default-eval-maybe): Use it.
7212 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
7214         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
7215         method-invocation-order.
7216         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
7217         (eieio-class-precedence-dfs): Compute class precedence list using
7218         dfs algorithm.
7219         (eieio-class-precedence-bfs): Compute class precedence list using
7220         bfs algorithm.
7221         (eieio-class-precedence-c3): Compute class precedence list using
7222         c3 algorithm.
7223         (class-precedence-list): New function.
7224         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
7225         (inconsistent-class-hierarchy): New error symbol.
7226         (call-next-method): Stow the replacement argument list for future
7227         call-next-method invocations.
7229 2010-09-23  Glenn Morris  <rgm@gnu.org>
7231         * calendar/appt.el (appt-check): If not displaying the diary,
7232         use (diary 1) to only get the entries we need.
7233         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
7234         that it is in day order.  (Bug#7019)
7236         * calendar/appt.el (appt-check): Rather than showing the diary,
7237         just turn off invisible display, and only if needed.
7239         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
7241 2010-09-23  Glenn Morris  <rgm@gnu.org>
7243         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
7244         (byte-compile-defvar, byte-compile-cl-warn):
7245         Start warnings with lower-case, like the majority.
7247         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
7249         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
7251         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
7252         * files.el (auto-mode-alist): Move ld-script entries here, further down
7253         the list.
7255         * vc/add-log.el: Don't require timezone when compiling.
7256         (timezone-make-date-sortable): Autoload it.
7257         (change-log-sortable-date-at): Don't require timezone.
7258         Use `ignore-errors'.
7260         * comint.el (comint-use-prompt-regexp-instead-of-fields):
7261         Move alias before definition, so it does not need autoloading.
7263         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
7264         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
7265         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
7266         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
7267         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
7268         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
7269         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
7270         * textmodes/tex-mode.el, textmodes/two-column.el:
7271         Remove leading `*' from docs of defcustoms etc.
7273 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
7275         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
7277 2010-09-22  Dan Christensen  <jdc@uwo.ca>
7279         * calendar/time-date.el (date-to-time): Try using parse-time-string
7280         first before using the slower timezone-make-date-arpa-standard.
7282 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
7284         * calendar/time-date.el (format-seconds): Comment fix.
7286 2010-09-22  Glenn Morris  <rgm@gnu.org>
7288         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
7289         is not automatically buffer-local.
7291 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7293         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
7294         (smie-indent-comment): Be more careful with comment-start-skip.
7295         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
7296         (smie-indent-functions): Use them.
7298 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
7300         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
7302 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
7304         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
7305         tool-bar-position.  Don't modify frame parameters here.
7306         (menu-bar-options-save): Add tool-bar-position.
7308         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
7310 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7312         * textmodes/reftex-parse.el (reftex-what-macro)
7313         (reftex-context-substring): Let-bind forward-sexp-function to nil
7314         since we don't need/want to treat \begin...\end as a block (bug#7053).
7316         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
7318         * simple.el (blink-matching-open): Use syntax-class.
7320         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
7321         Set invisibility spec for pascal's outline mode.
7322         (pascal-outline-change): Clean up calling convention.
7323         (pascal-show-all, pascal-hide-other-defuns): Update callers.
7325         * progmodes/prolog.el (prolog-smie-forward-token)
7326         (prolog-smie-backward-token): New functions.
7327         (prolog-mode-variables): Use them to parse "!," correctly.
7328         Set up smie-blink-matching for ".".
7330         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
7331         and `end'.
7332         (ispell-region, ispell-process-line): Update users.
7334         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
7335         point-min==1.
7337         * textmodes/ispell.el: Fix commenting convention.
7338         (ispell-parse-output): Simplify, use push.
7339         (ispell-region): Use match-string-no-properties.
7340         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
7341         (ispell-minor-mode): Use define-minor-mode.
7342         (ispell-message): Remove unused var `skip-regexp'.
7343         (ispell-add-per-file-word-list): Use dynamic let-binding.
7344         Try and use the proper comment marker.
7346         * mail/sendmail.el: Fix commenting convention.
7347         (sendmail-send-it): Use line-beginning-position.
7349         * help-fns.el (describe-variable): Add original value, if applicable.
7351 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
7353         * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
7355         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
7357 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7359         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
7360         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
7361         (smie-prec2-levels): Use them to better diagnose precedence cycles.
7362         (smie-blink-matching-check): Don't signal a mismatch if car is t.
7363         (smie-blink-matching-open): Rewrite to remove assumptions, so that
7364         something like "." can also be a closer.
7365         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
7366         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
7367         Rename internal functions to use "--".  Update callers.
7369         * frame.el (make-frame-names-alist): Don't list frames on other displays.
7371         * fringe.el (fringe-styles): New var.
7372         (fringe-mode, fringe-query-style): Use it.
7374 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
7376         * progmodes/sql.el: Version 2.8
7377         (sql-login-params): Update widget structure; changes still needed.
7378         (sql-product-alist): Add :list-all and :list-table features for
7379         SQLite, Postgres and MySQL products.
7380         (sql-redirect): Handle default value.
7381         (sql-execute, sql-execute-feature): New functions.
7382         (sql-read-table-name): New function.
7383         (sql-list-all, sql-list-table): New functions.  User API.
7384         (sql-mode-map, sql-interactive-mode-map): Add key definitions
7385         for above functions.
7386         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
7387         for above functions.
7388         (sql-postgres-login-params): Add user and database defaults.
7389         (sql-buffer-live-p): Bug fix.
7390         (sql-product-history): New variable.
7391         (sql-read-product): New function.  Use it.
7392         (sql-set-product, sql-product-interactive): Use it.
7393         (sql-connection-history): New variable.
7394         (sql-read-connection): New function.  Use it.
7395         (sql-connect): New function.
7396         (sql-for-each-login): Redesign function interface.
7397         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
7398         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
7399         (sql-comint): Check for program.  Existing live buffer.
7400         (sql-comint-postgres): Add port parameter.
7402 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7404         * emacs-lisp/warnings.el: Fix commenting convention.
7405         (display-warning): Use special mode and make the buffer read-only.
7407 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
7409         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
7410         empty string when it follows a repeated or optional pattern.
7412 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7414         * indent.el (indent-according-to-mode): Apply syntax-propertize.
7415         (indent-region): Use indent-according-to-mode.
7417 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
7419         * fringe.el (fringe-mode): Doc fix.
7421 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
7423         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
7424         refreshing the preview buffer.
7426 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7428         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
7429         (latex-syntax-propertize-rules): New consts; replace
7430         tex-font-lock-syntactic-keywords.
7431         (tex-env-mark, latex-env-before-change): New functions.
7432         (latex-electric-env-pair-mode): New minor mode.
7433         (tex-font-lock-verb): Change arguments; do move point.
7434         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
7435         representation as a form of comment.
7436         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
7437         (doctex-syntax-propertize-rules): New const; replaces
7438         doctex-font-lock-syntactic-keywords.
7439         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
7441         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
7442         (fortran-make-syntax-propertize-function): New function; replaces
7443         fortran-font-lock-syntactic-keywords.
7444         (fortran-mode): Use it.
7445         (fortran-line-length): Use it.  Improve interactive spec.
7447         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
7448         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
7449         when adding surrounding \(..\).
7451         * progmodes/js.el (js-mode): Fix last change (bug#7054).
7453 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7455         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
7456         Use with-current-buffer.
7458         * isearch.el (isearch-face): Rename from `isearch'.
7459         (isearch-highlight): Use new name.
7461 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
7463         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
7464         5, for `half' width fringes.  (Bug#6933)
7466 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7468         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
7469         (byte-compile-defvar): "foo/bar" does not lack a prefix.
7471         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
7473 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
7475         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
7476         in calculating new frame position.  Add more space between new and
7477         parent on the left (Bug#7048).
7479 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
7481         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
7482         defmacro.
7484 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
7486         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
7488         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
7489         obsolete alias for x-selection-value.
7491         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
7493 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
7495         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
7496         cookie.
7498 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
7500         * net/tramp-compat.el (tramp-compat-with-temp-message)
7501         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
7502         (tramp-compat-process-put): New defuns.
7504         * net/tramp.el (top):
7505         * net/tramp-gvfs.el (top):
7506         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
7508         * net/tramp.el (tramp-progress-reporter-update):
7509         Use `tramp-compat-funcall'.
7511         * net/tramp.el (tramp-process-actions):
7512         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7513         * net/tramp-sh.el (tramp-handle-vc-registered)
7514         (tramp-get-remote-stat, tramp-get-remote-readlink):
7515         Use `tramp-compat-with-temp-message'.
7517         * net/tramp-sh.el (top): Require 'cl.
7518         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
7519         (tramp-open-connection-setup-interactive-shell):
7520         Use `tramp-compat-process-put'.
7522 2010-09-15  Alan Mackenzie  <acm@muc.de>
7524         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
7525         indentation.
7526         (c-forward-<>-arglist-recur): Fix an infinite recursion.
7528 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7530         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
7531         `lexical' for warnings related to lexical scoping.
7532         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
7533         global vars which don't have a prefix and could hence affect lexical
7534         scoping in unrelated files.
7536 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7538         * net/imap.el: Revert back to version
7539         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
7540         seem problematic.
7542 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
7544         * obsolete/old-whitespace.el (whitespace-unload-function):
7545         Explicitly pass `obarray' to `unintern' to avoid a warning.
7547 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7549         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
7550         Add `when' argument.  Update callers.
7552         * subr.el (unintern): Declare the obarray arg mandatory.
7554 2010-09-14  Glenn Morris  <rgm@gnu.org>
7556         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
7557         Doc fixes.
7559         * calendar/diary-lib.el (diary-included-files): New variable.
7560         (diary-list-entries): Maybe initialize diary-included-files.
7561         (diary-include-other-diary-files): Append to diary-included-files.
7562         * calendar/appt.el (appt-update-list): Also check the members of
7563         diary-included-files.  (Bug#6999)
7564         (appt-check): Doc fix.
7566 2010-09-14  David Reitter  <david.reitter@gmail.com>
7568         * simple.el (line-move-visual): Do not truncate goal column to
7569         integer size.  (Bug#7020)
7571 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7573         * repeat.el (repeat): Allow repeating when the last event is a click.
7574         Suggested by Drew Adams (bug#6256).
7576 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
7578         * vc/vc-hg.el (vc-hg-state, vc-hg-working-revision):
7579         Replace setting HGRCPATH to "" by some less invasive --config options.
7581 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7583         * font-lock.el (font-lock-beginning-of-syntax-function):
7584         Mark as obsolete.
7586 2010-09-14  Glenn Morris  <rgm@gnu.org>
7588         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
7589         and tool-bar modes.  (Bug#6211)
7590         (menu-bar-mode): Move setting of standard-value after the
7591         minor-mode definition, otherwise it seems to have no effect.
7593 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
7595         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
7596         Fix typo.  (Bug#6976)
7598 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7600         * whitespace.el: Allow cleaning up blanks without blank
7601         visualization (Bug#6651).  Adjust help window for
7602         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
7603         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
7604         (whitespace-style): Add new value 'face.  Adjust docstring.
7605         (whitespace-space, whitespace-hspace, whitespace-tab):
7606         Adjust foreground property face.
7607         (whitespace-line-column): Adjust docstring and type declaration.
7608         (whitespace-style-value-list, whitespace-toggle-option-alist)
7609         (whitespace-help-text): Adjust const initialization.
7610         (whitespace-toggle-options, global-whitespace-toggle-options):
7611         Adjust docstring.
7612         (whitespace-display-window, whitespace-interactive-char)
7613         (whitespace-style-face-p, whitespace-color-on): Adjust code.
7614         (whitespace-help-scroll): New fun.
7616 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
7618         * calendar/time-date.el (format-seconds): Comment fix.
7620 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
7622         * progmodes/sql.el: Version 2.7.
7623         (sql-buffer-live-p): Improve detection.
7624         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7625         (sql-set-sqli-buffer): Use it.
7626         (sql-product-interactive): Run `sql-set-sqli-hook'.
7627         (sql-rename-buffer): Code cleanup.
7628         (sql-redirect, sql-redirect-value): New functions.  More to come.
7630 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
7632         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.
7633         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7634         (TRAMP_SRC): New macro.
7635         ($(lisp)/net/tramp-loaddefs.el): New target.
7637 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
7639         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
7641         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
7643         * net/tramp.el (top): Don't show loading message.  Require just
7644         'tramp-compat, everything else is required there.
7645         Use `ignore-errors' where appropriate.
7646         (tramp-inline-compress-start-size, tramp-copy-size-limit)
7647         (tramp-terminal-type, tramp-end-of-output)
7648         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
7649         (tramp-completion-function-alist-ssh)
7650         (tramp-completion-function-alist-telnet)
7651         (tramp-completion-function-alist-su)
7652         (tramp-completion-function-alist-putty, tramp-remote-path)
7653         (tramp-remote-process-environment, tramp-sh-extra-args)
7654         (tramp-actions-before-shell, tramp-uudecode)
7655         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
7656         (tramp-perl-file-attributes)
7657         (tramp-perl-directory-files-and-attributes)
7658         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
7659         (tramp-perl-encode, tramp-perl-decode)
7660         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
7661         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
7662         (tramp-handle-make-symbolic-link, tramp-handle-load)
7663         (tramp-handle-file-name-as-directory)
7664         (tramp-handle-file-name-directory)
7665         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
7666         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
7667         (tramp-do-file-attributes-with-ls)
7668         (tramp-do-file-attributes-with-perl)
7669         (tramp-do-file-attributes-with-stat)
7670         (tramp-handle-set-visited-file-modtime)
7671         (tramp-handle-verify-visited-file-modtime)
7672         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
7673         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
7674         (tramp-handle-file-selinux-context)
7675         (tramp-handle-set-file-selinux-context)
7676         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
7677         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
7678         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
7679         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
7680         (tramp-handle-file-ownership-preserved-p)
7681         (tramp-handle-directory-file-name, tramp-handle-directory-files)
7682         (tramp-handle-directory-files-and-attributes)
7683         (tramp-do-directory-files-and-attributes-with-perl)
7684         (tramp-do-directory-files-and-attributes-with-stat)
7685         (tramp-handle-file-name-all-completions)
7686         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
7687         (tramp-handle-copy-file, tramp-handle-copy-directory)
7688         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
7689         (tramp-do-copy-or-rename-file-via-buffer)
7690         (tramp-do-copy-or-rename-file-directly)
7691         (tramp-do-copy-or-rename-file-out-of-band)
7692         (tramp-handle-make-directory, tramp-handle-delete-directory)
7693         (tramp-handle-delete-file)
7694         (tramp-handle-dired-recursive-delete-directory)
7695         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
7696         (tramp-handle-insert-directory)
7697         (tramp-handle-unhandled-file-name-directory)
7698         (tramp-handle-expand-file-name)
7699         (tramp-handle-substitute-in-file-name)
7700         (tramp-handle-executable-find, tramp-process-sentinel)
7701         (tramp-handle-start-file-process, tramp-handle-process-file)
7702         (tramp-handle-call-process-region, tramp-handle-shell-command)
7703         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
7704         (tramp-handle-insert-file-contents)
7705         (tramp-handle-insert-file-contents-literally)
7706         (tramp-handle-find-backup-file-name)
7707         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
7708         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
7709         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
7710         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
7711         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
7712         (tramp-find-file-exists-command, tramp-open-shell)
7713         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
7714         (tramp-open-connection-setup-interactive-shell)
7715         (tramp-local-coding-commands, tramp-remote-coding-commands)
7716         (tramp-find-inline-encoding, tramp-call-local-coding-command)
7717         (tramp-inline-compress-commands, tramp-find-inline-compress)
7718         (tramp-compute-multi-hops, tramp-maybe-open-connection)
7719         (tramp-send-command, tramp-wait-for-output)
7720         (tramp-send-command-and-check, tramp-barf-unless-okay)
7721         (tramp-send-command-and-read, tramp-mode-string-to-int)
7722         (tramp-convert-file-attributes, tramp-check-cached-permissions)
7723         (tramp-file-mode-from-int, tramp-file-mode-permissions)
7724         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
7725         (tramp-method-out-of-band-p, tramp-local-host-p)
7726         (tramp-get-remote-path, tramp-get-remote-tmpdir)
7727         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
7728         (tramp-get-test-command, tramp-get-test-nt-command)
7729         (tramp-get-file-exists-command, tramp-get-remote-ln)
7730         (tramp-get-remote-perl, tramp-get-remote-stat)
7731         (tramp-get-remote-readlink, tramp-get-remote-trash)
7732         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
7733         (tramp-get-local-uid, tramp-get-local-gid)
7734         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
7735         tramp-sh.el.
7736         (tramp-methods, tramp-default-method-alist)
7737         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
7738         Move initialization to tramp-sh.el.
7739         (tramp-temp-name-prefix): Make it a defconst.
7740         (tramp-dissect-file-name): Don't check anymore for multi-hop
7741         methods.
7742         (tramp-debug-outline-regexp): Add a docstring.
7743         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
7744         (tramp-get-debug-buffer): Use it.
7746         * net/tramp-cache.el (top): Set tramp-autoload cookie for
7747         initialization forms.
7748         (tramp-set-connection-property): Don't protect `tramp-message'
7749         call, it isn't necessary any longer.
7750         (tramp-dump-connection-properties): Use `ignore-errors'.
7752         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
7753         'password-cache and 'auth-source.
7755         * net/tramp-gvfs.el (top):
7756         * net/tramp-smb.el (top): Require 'tramp-sh.
7758         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
7760         * net/tramp-sh.el: New file, derived from tramp.el.
7761         (top): Initialize `tramp-methods', `tramp-default-method-alist',
7762         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
7763         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
7764         Use `ignore-errors' where appropriate.
7765         (tramp-sh-file-name-handler-alist): Rename from
7766         `tramp-file-name-handler-alist'.
7767         (tramp-send-command-and-check): Return t or nil.  Remove all
7768         `zerop' checks, where called.
7769         (tramp-handle-set-file-modes)
7770         (tramp-do-copy-or-rename-file-directly)
7771         (tramp-handle-delete-directory, tramp-handle-delete-file)
7772         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
7773         (tramp-sh-file-name-handler, tramp-send-command-and-check)
7774         (tramp-get-remote-ln): Set tramp-autoload cookie.
7776         * net/tramp-fish.el: Remove file.
7778 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
7780         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
7781         buffer-file-name to avoid file-locking.  (Bug#7026)
7783 2010-09-13  Julien Danjou  <julien@danjou.info>
7785         * notifications.el (notifications-notify): Add support for
7786         image-path and sound-name.
7787         (notifications-specification-version): Add this variable.
7789 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7791         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
7793 2010-09-12  Leo  <sdl.web@gmail.com>
7795         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
7796         (rcirc-completion-start): New variables.
7797         (rcirc-nick-completions): Rename to rcirc-completions.
7798         (rcirc-nick-completion-start-offset): Delete.
7799         (rcirc-completion-at-point): New function for constructing
7800         completion data for both nicks and irc commands.  Add to
7801         completion-at-point-functions in rcirc mode.
7802         (rcirc-complete): Rename from rcirc-nick-complete; use
7803         rcirc-completion-at-point.
7804         (defun-rcirc-command): Update rcirc-client-commands.
7806 2010-09-11  Glenn Morris  <rgm@gnu.org>
7808         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
7809         atomically, to avoid parallel build errors.  (Bug#4196)
7811 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
7813         * progmodes/sql.el: Version 2.6
7814         (sql-dialect): Synonym for "sql-product".
7815         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7816         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
7817         Set "sql-buffer" to buffer name not buffer object so multiple sql
7818         interactive buffers work properly.  Reverts misguided changes in
7819         earlier work.
7820         (sql-comint): Make sure different buffer name is used if "*SQL*"
7821         buffer is for a different product.
7822         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
7823         login param.
7824         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7825         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7826         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
7827         Accept new buffer name or prompt for one.
7828         (sql-port): Default to zero.
7829         (sql-comint-mysql): Handle "sql-port" as a numeric.
7830         (sql-port-history): Delete unused variable.
7831         (sql-get-login): Default "sql-port" to a number.
7832         (sql-product-alist): Correct Postgres prompt and terminator regexp.
7833         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
7834         "sqlite3" executables.
7835         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
7836         (sql-buffer-live-p): New function.
7837         (sql-mode-menu, sql-send-string): Use it.
7838         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
7839         syntax pattern.
7840         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
7841         (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
7843 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7845         * net/netrc.el (netrc-credentials): New convenience function.
7847 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7849         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
7850         to replace texinfo-font-lock-syntactic-keywords.
7851         (texinfo-mode): Use it.
7853         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
7854         Use syntax-propertize-function.
7856         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
7857         replace sgml-font-lock-syntactic-keywords.
7858         (sgml-mode): Use it.
7860         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
7861         since we don't use it.
7863         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
7865         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
7866         if available.
7867         (vhdl-fontify-buffer): Adjust.
7869         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
7870         replace tcl-font-lock-syntactic-keywords.
7871         (tcl-mode): Use it.
7873         * progmodes/simula.el (simula-syntax-propertize-function): New var to
7874         replace simula-font-lock-syntactic-keywords.
7875         (simula-mode): Use it.
7877         * progmodes/sh-script.el (sh-st-symbol): Remove.
7878         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
7879         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
7880         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
7881         (sh-font-lock-paren): Set syntax-multiline.
7882         (sh-font-lock-syntactic-keywords): Remove.
7883         (sh-syntax-propertize-function): New function to replace it.
7884         (sh-mode): Use it.
7886         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
7887         Define while compiling.
7888         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7889         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
7890         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
7891         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7892         (ruby-here-doc-end-syntax): Only define when
7893         syntax-propertize is not available.
7894         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
7895         New functions.
7896         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
7897         (electric-indent-chars): Silence bytecompiler.
7898         (ruby-mode): Use prog-mode, syntax-propertize-function, and
7899         electric-indent-chars.
7901         * progmodes/python.el (python-syntax-propertize-function): New var to
7902         replace python-font-lock-syntactic-keywords.
7903         (python-mode): Use it.
7904         (python-quote-syntax): Simplify and adjust to new use.
7906         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
7907         replace perl-font-lock-syntactic-keywords.
7908         (perl-syntax-propertize-special-constructs): New fun to replace
7909         perl-font-lock-special-syntactic-constructs.
7910         (perl-font-lock-syntactic-face-function): New fun.
7911         (perl-mode): Use it.
7913         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
7914         to replace octave-font-lock-close-quotes.
7915         (octave-syntax-propertize-function): New function to replace
7916         octave-font-lock-syntactic-keywords.
7917         (octave-mode): Use it.
7919         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
7920         replaces mixal-font-lock-syntactic-keywords.
7921         (mixal-mode): Use it.
7923         * progmodes/make-mode.el (makefile-syntax-propertize-function):
7924         New var; replaces makefile-font-lock-syntactic-keywords.
7925         (makefile-mode): Use it.
7926         (makefile-imake-mode): Adjust.
7928         * progmodes/js.el (js--regexp-literal): Define while compiling.
7929         (js-syntax-propertize-function): New var; replaces
7930         js-font-lock-syntactic-keywords.
7931         (js-mode): Use it.
7933         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
7934         replaces gdb-script-font-lock-syntactic-keywords.
7935         (gdb-script-mode): Use it.
7937         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
7938         (fortran--font-lock-syntactic-keywords): New var.
7939         (fortran-line-length): Update syntax-propertize-function and
7940         fortran--font-lock-syntactic-keywords.
7942         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
7944         * progmodes/cfengine.el (cfengine-mode):
7945         Use syntax-propertize-function.
7946         (cfengine-font-lock-syntactic-keywords): Remove.
7948         * progmodes/autoconf.el (autoconf-mode):
7949         Use syntax-propertize-function.
7950         (autoconf-font-lock-syntactic-keywords): Remove.
7952         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
7953         (ada-after-change-function, ada-initialize-syntax-table-properties)
7954         (ada-handle-syntax-table-properties): Only define when
7955         syntax-propertize is not available.
7956         (ada-mode): Use syntax-propertize-function.
7958         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
7959         (font-lock-fontify-syntactic-keywords-region): Move handling of
7960         font-lock-syntactically-fontified to...
7961         (font-lock-default-fontify-region): ...here.
7962         Let syntax-propertize-function take precedence.
7963         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
7965         * emacs-lisp/syntax.el (syntax-propertize-function)
7966         (syntax-propertize-chunk-size, syntax-propertize--done)
7967         (syntax-propertize-extend-region-functions): New vars.
7968         (syntax-propertize-wholelines, syntax-propertize-multiline)
7969         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
7970         (syntax-propertize): New functions.
7971         (syntax-propertize-rules): New macro.
7972         (syntax-ppss-flush-cache): Set syntax-propertize--done.
7973         (syntax-ppss): Call syntax-propertize.
7975         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
7977 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
7979         * textmodes/ispell.el (ispell-init-process): Improve comments.
7980         XEmacs compatibility changes regarding (add-hook) 'local option
7981         and (set-process-query-on-exit-flag).
7983 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
7985         * net/tramp-cache.el (tramp-parse-connection-properties):
7986         Set tramp-autoload cookie.
7988 2010-09-09  Glenn Morris  <rgm@gnu.org>
7990         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
7991         (imagemagick-register-types): Doc fix.
7993 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7995         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
7997         * progmodes/js.el (require): Require is already "eval-and-compile".
7998         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
7999         (js--re-search-backward): Use js--re-search-forward.
8001         * progmodes/fortran.el (fortran-line-length): Don't recompute
8002         syntactic keywords redundantly a second time.
8004         * progmodes/ada-mode.el: Replace "(set '" with setq.
8005         (ada-mode): Simplify.
8006         (ada-create-case-exception, ada-adjust-case-interactive)
8007         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
8008         (ada-search-ignore-string-comment, ada-move-to-start)
8009         (ada-move-to-end): Use with-syntax-table.
8011         * font-lock.el (save-buffer-state): Remove `varlist' arg.
8012         (font-lock-unfontify-region, font-lock-default-fontify-region):
8013         Update usage correspondingly.
8014         (font-lock-fontify-syntactic-keywords-region):
8015         Set parse-sexp-lookup-properties buffer-locally here.
8016         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
8018         * simple.el (blink-matching-open): Don't burp if we can't find a match.
8020 2010-09-08  Glenn Morris  <rgm@gnu.org>
8022         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
8023         Error if not compiled with -DBYTE_CODE_METER.
8025         * emacs-lisp/bytecomp.el (byte-recompile-directory):
8026         Ignore dir-locals-file.
8028 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8030         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8031         Not a const.
8032         (compilation-error-regexp-alist-alist): Rule out ": " in file names
8033         for the `gnu' messages.
8034         (compilation-set-skip-threshold): New command.
8035         (compilation-start): Use \' rather than $.
8036         (compilation-forget-errors): Use clrhash.
8038 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
8040         * textmodes/ispell.el (ispell-valid-dictionary-list):
8041         Simplify logic.
8043 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
8045         Migrate to Tramp 2.2.  Rearrange load dependencies.
8046         (Bug#1529, Bug#5448, Bug#5705)
8048         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
8049         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
8050         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
8052         * net/tramp.el (top): Remove all other tramp-* loads except
8053         tramp-compat.el.  Remove all changes to tramp-unload-hook for
8054         other tramp-* packages.  Rearrange defun order.  Change calls of
8055         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
8056         `tramp-compat-octal-to-decimal' to new function names.
8057         (tramp-terminal-type, tramp-initial-end-of-output)
8058         (tramp-methods, tramp-foreign-file-name-handler-alist)
8059         (tramp-tramp-file-p, tramp-completion-mode-p)
8060         (tramp-send-command-and-check, tramp-get-remote-path)
8061         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
8062         (tramp-shell-quote-argument): Set tramp-autoload cookie.
8063         (with-file-property, with-connection-property): Move to
8064         tramp-cache.el.
8065         (tramp-local-call-process, tramp-decimal-to-octal)
8066         (tramp-octal-to-decimal): Move to tramp-compat.el.
8067         (tramp-handle-shell-command): Do not require 'shell.
8068         (tramp-compute-multi-hops): No special handling for tramp-gw-*
8069         symbols.
8070         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
8072         * net/tramp-cache.el (top): Require 'tramp.  Add to
8073         `tramp-unload-hook'.
8074         (tramp-cache-data, tramp-get-file-property)
8075         (tramp-set-file-property, tramp-flush-file-property)
8076         (tramp-flush-directory-property, tramp-get-connection-property)
8077         (tramp-set-connection-property, tramp-flush-connection-property)
8078         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
8079         cookie.
8080         (with-file-property, with-connection-property): New defuns, moved
8081         from tramp.el.
8082         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
8083         macro.
8085         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
8086         (tramp-version): Set tramp-autoload cookie.
8088         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
8089         changes to tramp-unload-hook for other tramp-* packages.  Add to
8090         `tramp-unload-hook'.
8091         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
8092         (tramp-compat-call-process): New defuns, moved from tramp.el.
8094         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
8095         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
8096         Add to `tramp-unload-hook'.  Change call of
8097         `tramp-compat-decimal-to-octal' to new function name.
8098         (tramp-fish-method): Make it a defconst.
8099         (tramp-fish-file-name-p): Make it a defsubst.
8100         (tramp-fish-method, tramp-fish-file-name-handler)
8101         (tramp-fish-file-name-p): Set tramp-autoload cookie.
8103         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
8104         `tramp-foreign-file-name-handler-alist'.  Add to
8105         `tramp-unload-hook'.
8106         (tramp-ftp-method): Make it a defconst.
8107         (tramp-ftp-file-name-p): Make it a defsubst.
8108         (tramp-ftp-method, tramp-ftp-file-name-handler)
8109         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
8111         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
8112         `tramp-foreign-file-name-handler-alist'.  Add to
8113         `tramp-unload-hook'.  Change checks, whether package can be
8114         loaded.
8115         (tramp-gvfs-file-name-p): Make it a defsubst.
8116         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
8117         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
8118         (tramp-gvfs-handle-file-directory-p): New defun.
8119         (tramp-gvfs-file-name-handler-alist): Use it.
8121         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
8122         `tramp-foreign-file-name-handler-alist'.  Add to
8123         `tramp-unload-hook'.
8124         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
8125         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
8126         defconst.
8127         (tramp-gw-tunnel-method, tramp-gw-socks-method)
8128         (tramp-gw-open-connection): Set tramp-autoload cookie.
8130         * net/tramp-imap.el (top) Require just 'tramp.  Add objects to
8131         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
8132         Add to `tramp-unload-hook'.  Change checks, whether package can be
8133         loaded.
8134         (tramp-imap-file-name-p): Make it a defsubst.
8135         (tramp-imap-method, tramp-imaps-method)
8136         (tramp-imap-file-name-handler)
8137         (tramp-imap-file-name-p): Set tramp-autoload cookie.
8139         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
8140         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
8141         Add to `tramp-unload-hook'.  Change checks, whether package can be
8142         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
8143         function name.
8144         (tramp-smb-tunnel-method): Make it a defconst.
8145         (tramp-smb-file-name-p): Make it a defsubst.
8146         (tramp-smb-method, tramp-smb-file-name-handler)
8147         (tramp-smb-file-name-p): Set tramp-autoload cookie.
8149         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
8150         (tramp-uuencode-region): Set tramp-autoload cookie.
8152         * net/trampver.el (top) Add to `tramp-unload-hook'.
8153         (tramp-version, tramp-bug-report-address): Set tramp-autoload
8154         cookie.  Update release number.
8156 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
8158         * textmodes/ispell.el (ispell-start-process): Make sure original
8159         arg list is properly initialized (Bug#6993, Bug#6994).
8161 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
8163         * files.el (directory-abbrev-alist): Use \` as default regexp.
8165         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
8166         chars like - or ] (bug#6984).
8167         (rx-any-condense-range): Explode 2-char ranges.
8169 2010-09-06  Glenn Morris  <rgm@gnu.org>
8171         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
8173 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8175         * textmodes/bibtex.el:
8176         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
8178 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8180         * net/imap.el (imap-message-map): Remove optional buffer parameter,
8181         since no callers use it.
8182         (imap-message-get): Ditto.
8183         (imap-message-put): Ditto.
8184         (imap-mailbox-map): Ditto.
8185         (imap-mailbox-put): Ditto.
8186         (imap-mailbox-get): Ditto.
8187         (imap-mailbox-get): Revert last change for this function.
8189 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8191         * net/imap.el (imap-fetch-safe): Remove function, and alter all
8192         callers to use `imap-fetch' instead.  According to the comments, this
8193         should be safe, since all other IMAP clients use the 1:* syntax.
8194         (imap-enable-exchange-bug-workaround): Remove.
8195         (imap-debug): Remove -- doesn't seem very useful.
8197 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8199         * net/imap.el (imap-log): New convenience function used throughout
8200         instead of repeating the same code all over the place.
8202 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
8204         * mouse.el (mouse-save-then-kill): Save region to kill-ring
8205         when mouse-drag-copy-region is non-nil (Bug#6956).
8207 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
8209         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
8210         Improve regexps (Bug#6987).
8211         (dired-sort-toggle): Search more robustly for -t flag.
8213         * files.el (get-free-disk-space): Search more robustly for
8214         "available" column.  Suggested by Ehud Karni
8215         <ehud@unix.mvs.co.il>.
8217 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
8219         * international/uni-bidi.el:
8220         * international/uni-category.el:
8221         * international/uni-combining.el:
8222         * international/uni-decimal.el:
8223         * international/uni-mirrored.el:
8224         * international/uni-name.el: Regenerate.
8226 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8228         * electric.el (electric-indent-post-self-insert-function):
8229         Don't reindent with a sloppy indentation function.
8231         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
8232         border case in change-log-mode.
8234 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
8236         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8237         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
8238         Recognize leading tab in gcc-include regexp.  Ignore names with
8239         leading "from" or "in" in gnu regexp (Bug#6937).
8241 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8243         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
8244         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
8245         (ispell-start-process): Avoid setq and simplify logic.
8246         (ispell-init-process): Setup kill-buffer-hook locally when needed.
8247         (kill-buffer-hook): Don't use it globally with code that uses
8248         expand-file-name since that may call kill-buffer via
8249         code_conversion_restore.
8251 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
8253         * emacs-lisp/package.el (package-directory-list): Only call
8254         file-name-nondirectory on a string.
8256 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
8258         * emacs-lisp/package.el (package--download-one-archive):
8259         Ensure that archive-contents is valid before saving it.
8260         (package-activate-1, package-mark-obsolete, define-package)
8261         (package-compute-transaction, package-list-maybe-add): Use push.
8263 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8265         Use SMIE's blink-paren for octave-mode.
8266         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
8267         Backslashes do not escape single-quotes, single-quotes do.
8268         (octave-block-else-regexp, octave-block-end-regexp)
8269         (octave-block-match-alist): Remove.
8270         (octave-smie-bnf-table): New var, with old content.
8271         (octave-smie-op-levels): Use it.
8272         (octave-smie-closer-alist): New var.
8273         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
8274         (octave-blink-matching-block-open): Remove.
8275         (octave-reindent-then-newline-and-indent, octave-electric-semi)
8276         (octave-electric-space): Let self-insert-command run expand-abbrev and
8277         blink parens.
8279         * electric.el (electricity): New group.
8280         (electric-indent-chars): New var.
8281         (electric-indent-post-self-insert-function): New fun.
8282         (electric-indent-mode): New minor mode.
8283         (electric-pair-skip-self): New custom.
8284         (electric-pair-post-self-insert-function): New function.
8285         (electric-pair-mode): New minor mode.
8287         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
8288         calcAlg-blink-matching-open.
8289         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
8290         (calc-do-alg-entry): Only touch the part of the keymap that varies.
8291         Use the new blink-matching-check-function.
8293         Provide blink-matching support to SMIE.
8294         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
8295         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
8296         (smie-blink-matching-check, smie-blink-matching-open): New functions.
8298         * simple.el (newline): Fix last change to properly remove itself from
8299         the hook.
8301 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8303         * simple.el (newline): Eliminate optimization.
8304         Use post-self-insert-hook to set hard-newline and things before
8305         running post-self-insert-hook.
8306         (blink-matching-check-mismatch): New function.
8307         (blink-matching-check-function): New variable.
8308         (blink-matching-open): Use them.
8309         Skip back forward over prefix chars skipped by forward-sexp.
8310         Don't check if the parens are backslash escaped.
8311         (blink-paren-post-self-insert-function): Check backslash escaping here.
8313 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
8315         * emacs-lisp/package.el (package-menu-mode-map):
8316         Change package-menu-revert bindings to revert-buffer.
8317         (package-menu-mode): Set revert-buffer-function.
8318         (package-menu-revert): Doc fix.
8320 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
8322         * textmodes/ispell.el (ispell-init-process): Use "~/" as
8323         `default-directory' unless using Ispell per-directory personal
8324         dictionaries and not in a mini-buffer under XEmacs.
8325         (kill-buffer-hook): Do not kill ispell process on exit when
8326         `ispell-process-directory' is "~/".  (Bug#6143)
8328 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
8330         * simple.el (kill-new): Call interprogram-cut-function with only
8331         one argument.
8333         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
8334         Remove cut buffer from error message.
8336         * term/x-win.el (x-select-text):
8337         * term/pc-win.el (x-selection-value):
8338         * term/ns-win.el (x-selection-value):
8339         * eshell/em-term.el:
8340         * w32-fns.el (x-get-selection-value):
8341         * mouse-sel.el (mouse-sel-set-selection-function):
8342         * frame.el (display-selections-p): Remove cut-buffer in documentation.
8344         * term/x-win.el: Update documentation for x-last-selected-text-*.
8345         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
8346         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
8347         (x-select-text): Remove argument PUSH, update documentation.
8348         Remove cut-buffer code.
8349         (x-selection-value-internal): Was previously x-selection-value.
8350         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
8351         Update documentation, remove cut-buffer code.
8352         Call x-selection-value-internal.
8353         (x-clipboard-yank): Call x-selection-value-internal.
8354         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
8356         * term/pc-win.el (x-last-selected-text):
8357         x-cut-buffer-or-selection-value renamed to x-selection-value
8358         (x-select-text): Remove argument PUSH, update documentation.
8360         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
8361         x-cut-buffer-or-selection-value renamed to x-selection-value
8362         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
8363         (x-select-text): Remove argument PUSH, update documentation.
8365         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
8367         * w32-fns.el (x-last-selected-text):
8368         x-cut-buffer-or-selection-value renamed to x-selection-value.
8369         (x-cut-buffer-max): Remove.
8370         (x-select-text): Remove argument PUSH, update documentation.
8372         * simple.el (interprogram-cut-function): Remove mention of PUSH.
8374         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
8376         * mouse-sel.el (mouse-sel-get-selection-function):
8377         x-cut-buffer-or-selection-value renamed to x-selection-value.
8378         (x-select-text): Remove optional push.
8380 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8382         * simple.el (blink-paren-function): Move from C to here.
8383         (blink-paren-post-self-insert-function): New function.
8384         (post-self-insert-hook): Use it.
8386         * emacs-lisp/pcase.el (pcase-split-memq):
8387         Fix overenthusiastic optimisation.
8388         (pcase-u1): Handle the case of a lambda pred.
8390 2010-08-31  Kenichi Handa  <handa@m17n.org>
8392         * international/mule-cmds.el (standard-display-european-internal):
8393         Setup standard-display-table for 8-bit characters by storing 8-bit
8394         characters in the element vector.
8396         * disp-table.el (standard-display-8bit):
8397         Setup standard-display-table for 8-bit characters by storing 8-bit
8398         characters in the element vector.
8399         (standard-display-european): Likewise.
8401 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
8403         * textmodes/nroff-mode.el (nroff-view): New command.
8404         (nroff-mode-map): Bind it to C-c C-c.
8406 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8408         * emacs-lisp/smie.el (smie-down-list): New command.
8410         Remove old indentation and navigation code on octave-mode.
8411         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
8412         smie-down-list rather than add a binding for octave-down-block.
8413         (octave-mark-block, octave-blink-matching-block-open):
8414         Rely on forward-sexp-function.
8415         (octave-fill-paragraph): Don't narrow, so you can use
8416         indent-according-to-mode.
8417         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
8418         (octave-in-block-p, octave-re-search-forward-kw)
8419         (octave-re-search-backward-kw, octave-indent-calculate)
8420         (octave-end-as-array-index-p, octave-block-end-offset)
8421         (octave-scan-blocks, octave-forward-block, octave-backward-block)
8422         (octave-down-block, octave-backward-up-block, octave-up-block)
8423         (octave-before-magic-comment-p, octave-indent-line): Remove.
8425 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
8427         * emacs-lisp/package.el (package--read-archive-file): Just use
8428         `read', to avoid copying an additional string.
8429         (package-menu-mode): Set header-line-format here.
8430         (package-menu-refresh, package-menu-revert): Signal an error if
8431         not in the Package Menu.
8432         (package-menu-package-list): New var.
8433         (package--generate-package-list): Operate on the current buffer;
8434         don't assume that it is *Packages*, since the user may rename it.
8435         Allow persistent package listings and sort keys using
8436         package-menu-package-list and package-menu-package-sort-key.
8437         (package-menu--version-predicate): Fix version calculation.
8438         (package-menu-sort-by-column): Don't select the window.
8439         (package--list-packages): Create the *Packages* buffer.
8440         Set package-menu-package-list-key.
8441         (list-packages): Sorting by status is now the default.
8442         (package-buffer-info): Use match-string-no-properties.
8443         (define-package): Add a &rest argument for future proofing, but
8444         don't use it yet.
8445         (package-install-from-buffer, package-install-buffer-internal):
8446         Merge into a single function, package-install-from-buffer.
8447         (package-install-file): Change caller.
8449         * finder.el: Load finder-inf using `require'.
8450         (finder-list-matches): Sorting by status is now the default.
8451         (finder-compile-keywords): Simpify printing.
8453 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8455         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8456         (octave-mode-map): Remove special bindings for forward/backward-block
8457         and octave-backward-up-block.  Use smie-close-block.
8458         (octave-continuation-marker-regexp): New var.
8459         (octave-continuation-regexp): Use it.
8460         (octave-operator-table, octave-smie-op-levels)
8461         (octave-operator-regexp, octave-smie-indent-rules): New vars.
8462         (octave-smie-backward-token, octave-smie-forward-token): New funs.
8463         (octave-mode): Use SMIE.
8464         (octave-close-block): Delete.
8466 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
8468         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
8469         CLIPBOARD, not in PRIMARY.  (Bug#6944)
8471 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8473         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
8474         a list of parents.
8475         (smie-indent-column): Allow indirection through variables.
8477         * composite.el (save-buffer-state): Delete, unused.
8478         * font-lock.el (save-buffer-state): Use with-silent-modifications.
8479         (font-lock-default-fontify-region): Use with-syntax-table.
8480         * jit-lock.el (with-buffer-unmodified): Remove.
8481         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
8483         Use `declare' in defmacros.
8484         * window.el (save-selected-window):
8485         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
8486         * progmodes/python.el (def-python-skeleton):
8487         * net/dbus.el (dbus-ignore-errors):
8488         * jka-cmpr-hook.el (with-auto-compression-mode):
8489         * international/mule.el (with-category-table):
8490         * emacs-lisp/timer.el (with-timeout):
8491         * emacs-lisp/lisp-mnt.el (lm-with-file):
8492         * emacs-lisp/eieio.el (with-slots):
8493         * emacs-lisp/easymenu.el (easy-menu-define):
8494         * emacs-lisp/debug.el (debugger-env-macro):
8495         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
8496         (Multiple-value-call, Multiple-value-prog1):
8497         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
8498         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
8499         edebug rule to definition.
8500         * emacs-lisp/lisp-mode.el (save-selected-window)
8501         (with-current-buffer, combine-after-change-calls)
8502         (with-output-to-string, with-temp-file, with-temp-buffer)
8503         (with-temp-message, with-syntax-table, read-if, eval-after-load)
8504         (dolist, dotimes, when, unless):
8505         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
8507 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
8509         * finder.el: Require `package'.
8510         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
8511         (finder-package-info): Var deleted.
8512         (finder-keywords-hash, finder--builtins-alist): New vars.
8513         (finder-compile-keywords): Compute package--builtins and
8514         finder-keywords-hash instead of finder-keywords-hash, respecting
8515         the "Package" header.
8516         (finder-unknown-keywords, finder-list-matches):
8517         Use finder-keywords-hash and package--list-packages.
8518         (finder-mode): Don't set font-lock-defaults.
8519         (finder-exit): We don't use "*Finder-package*" and "*Finder
8520         Category*" buffers anymore.
8522         * emacs-lisp/package.el (package--builtins-base): Var deleted.
8523         (package--builtins): Set default value to nil.
8524         (package-initialize): Load precomputed value of package--builtins
8525         from finder-inf.el.
8526         (package-alist, package-compute-transaction)
8527         (package-download-transaction): Improve docstring.
8528         (package-read-all-archive-contents): Do not change
8529         package--builtins here.
8530         (list-packages): Make package-list-packages an alias for this.
8531         Sort by status by default.
8532         (package--list-packages): Add optional PACKAGES arg.
8533         (describe-package-1): Use font-lock-face property.  For built-in
8534         packages, insert file commentary.
8535         (package--generate-package-list): Rename from
8536         package-list-packages-internal; all callers changed.  Add optional
8537         PACKAGES arg.  Add alphabetical sort fallbacks.
8538         (package-menu--version-predicate, package-menu--status-predicate)
8539         (package-menu--description-predicate)
8540         (package-menu--name-predicate): New functions.
8542         * info.el (Info-finder-find-node): Search package-alist instead of
8543         finder-package-info.
8545 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
8547         * subr.el (version-regexp-alist): Don't use "a" and "b" for
8548         "alpha" and "beta".
8549         (version-to-list): Handle versions like "10.3d".
8551 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8553         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
8554         (macroexp-accumulate): Use `declare'.
8556 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
8558         * whitespace.el (whitespace-style): Adjust type declaration.
8560 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
8562         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
8564 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
8566         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
8567         (Bug#6907).
8569 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
8571         * progmodes/js.el: Make indentation more customizable (Bug#6914).
8572         (js-paren-indent-offset, js-square-indent-offset)
8573         (js-curly-indent-offset): New options.
8574         (js--proper-indentation): Use them.
8576 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
8578         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
8579         instead of inspecting font-lock properties (Bug#6916).
8581 2010-08-26  David Reitter  <david.reitter@gmail.com>
8583         * server.el (server-visit-files): Run pre-command-hook and
8584         post-command-hook for each buffer while it is current (Bug#6910).
8585         (server-execute): Do not run hooks here.
8587 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
8589         Sync with Tramp 2.1.19.
8591         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region):
8592         Protect deleting tmpfile.
8593         (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
8595         * net/tramp.el (tramp-handle-expand-file-name)
8596         (tramp-completion-handle-file-name-all-completions)
8597         (tramp-completion-handle-file-name-completion):
8598         Use `tramp-connectable-p'.
8600         * net/trampver.el: Update release number.
8602 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
8604         * help.el (help-map): Bind `C-h P' to describe-package.
8606         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
8608         * emacs-lisp/package.el (package-refresh-contents): Catch errors
8609         when downloading archives.
8610         (describe-package-1): Add package commentary.
8611         (package-install-button-action): New function.
8612         (package-menu-mode-map): Bind ? to package-menu-describe-package.
8613         (package-menu-view-commentary): Function removed.
8614         (package-list-packages-internal): Hide the `package' package too.
8616 2010-08-25  Kenichi Handa  <handa@m17n.org>
8618         * language/misc-lang.el ("Arabic"): New language environment.
8619         Setup composition-function-table for Arabic characters.
8621         * international/fontset.el (setup-default-fontset): Fix typo for
8622         arabic OTF spec (fini->fina).
8624 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
8626         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
8627         on all frames.
8629 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
8631         * whitespace.el: Allow cleaning up blanks without blank
8632         visualization (Bug#6651).  Adjust help window for
8633         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
8634         instead of whitespace-line-column (from EmacsWiki).  New version
8635         13.1.
8636         (whitespace-style): Add new value 'face.  Adjust docstring.
8637         (whitespace-space, whitespace-hspace, whitespace-tab):
8638         Adjust foreground property face.
8639         (whitespace-line-column): Adjust docstring and type declaration.
8640         (whitespace-style-value-list, whitespace-toggle-option-alist)
8641         (whitespace-help-text): Adjust const initialization.
8642         (whitespace-toggle-options, global-whitespace-toggle-options):
8643         Adjust docstring.
8644         (whitespace-display-window, whitespace-interactive-char)
8645         (whitespace-style-face-p, whitespace-color-on): Adjust code.
8646         (whitespace-help-scroll): New fun.
8648 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
8650         * emacs-lisp/package.el (list-packages): Alias for
8651         package-list-packages.
8653 2010-08-24  Kevin Ryde  <user42@zip.com.au>
8655         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
8656         (Bug#5651).
8658         * progmodes/ruby-mode.el (ruby): Add defgroup.
8660 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
8662         * progmodes/python.el: Add Ipython support (Bug#5390).
8663         (python-shell-prompt-alist)
8664         (python-shell-continuation-prompt-alist): New options.
8665         (python--set-prompt-regexp): New function.
8666         (inferior-python-mode, run-python, python-shell):
8667         Require ansi-color.  Use python--set-prompt-regexp to set the comint
8668         prompt based on the Python interpreter.
8669         (python--prompt-regexp): New var.
8670         (python-check-comint-prompt)
8671         (python-comint-output-filter-function): Use it.
8672         (run-python): Use a pipe (Bug#5694).
8674 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
8676         * progmodes/python.el (python-send-region): Send a different
8677         Python command if Ipython is in use.
8678         (python-check-version): Use a Python command to find the version.
8680 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
8682         * mouse.el (mouse-yank-primary): Avoid setting primary when
8683         deactivating the mark (Bug#6872).
8685 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
8687         * progmodes/python.el (python-block-pairs): Allow use of "finally"
8688         with "else" (Bug#3991).
8690 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
8692         * net/dbus.el: Accept UNIX domain sockets as bus address.
8693         (top): Don't initialize `dbus-registered-objects-table' anymore,
8694         this is done in dbusbind.c.
8695         (dbus-check-event): Adapt test for bus.
8696         (dbus-return-values-table, dbus-unregister-service)
8697         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
8698         Adapt doc string.
8700 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
8702         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
8704 2010-08-22  Juri Linkov  <juri@jurta.org>
8706         * simple.el (read-extended-command): New function with the logic
8707         for `completing-read' moved to Elisp from `execute-extended-command'.
8708         Use `function-called-at-point' in `minibuffer-default-add-function'
8709         to get a command name for M-n (bug#5364, bug#5214).
8711 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
8713         * startup.el (command-line-1): Issue warning for ignored arguments
8714         --unibyte, etc (Bug#6886).
8716 2010-08-22  Leo  <sdl.web@gmail.com>
8718         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
8719         (ignore, bright, dim, keyword): Split list of nicknames before
8720         passing to rcirc-add-or-remove (Bug#6894).
8722 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
8724         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
8726 2010-08-22  Leo  <sdl.web@gmail.com>
8728         Fix buffer-list rename&refresh after killing a buffer in ido.
8729         * ido.el: Revert Óscar's.
8730         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
8731         Remember the buffers at head, rather than their name.
8732         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
8734 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
8735             Stefan Monnier  <monnier@iro.umontreal.ca>
8737         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
8738         extra backslash added to each line (bug#6890).
8740 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8742         * subr.el (read-key): Don't echo keystrokes (bug#6883).
8744 2010-08-22  Glenn Morris  <rgm@gnu.org>
8746         * menu-bar.el (menu-bar-games-menu): Add landmark.
8748 2010-08-22  Glenn Morris  <rgm@gnu.org>
8750         * align.el (align-regexp): Make group and spacing arguments
8751         use the interactive defaults when non-interactive.  (Bug#6698)
8753         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
8754         expansion, so as not to need sendmail.
8755         (mail-text-start): Remove declaration.
8756         (rmail-retry-failure): Require sendmail.
8758 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
8760         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
8762 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
8764         * progmodes/flymake.el (flymake-start-syntax-check-process):
8765         Use `start-file-process' in order to let it run also on remote hosts.
8767 2010-08-22  Kenichi Handa  <handa@m17n.org>
8769         * files.el: Add `word-wrap' as safe local variable.
8771 2010-08-22  Glenn Morris  <rgm@gnu.org>
8773         * woman.el (woman-translate): Case matters.  (Bug#6849)
8775 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
8777         * simple.el (kill-region): Doc fix (Bug#6787).
8779 2010-08-22  Glenn Morris  <rgm@gnu.org>
8781         * calendar/diary-lib.el (diary-header-line-format):
8782         Fit it to the window, not the frame.
8784 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
8786         * subr.el (ignore-errors): Add debug declaration.
8788 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
8790         * whitespace.el (whitespace-color-off): Remove post-command-hook
8791         locally.
8793 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8795         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
8797 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
8799         * cus-edit.el (custom-group-value-create): Add extra newline
8800         before end line (Bug#6876).
8802 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
8804         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
8805         when extending it.  Before killing on the second click, check if
8806         the buffer is the correct one.  Doc fix.
8807         (mouse-secondary-save-then-kill): Allow usage without first
8808         calling mouse-start-secondary, by defaulting to point.  Don't save
8809         an empty secondary selection.  Doc fix.
8811 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
8813         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
8814         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
8815         New version 13.0.
8816         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
8817         Adjust initialization.
8818         (whitespace-bob-marker, whitespace-eob-marker)
8819         (whitespace-buffer-changed): New vars.
8820         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
8821         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
8822         (whitespace-post-command-hook, whitespace-display-char-on):
8823         Adjust code.
8824         (whitespace-looking-back, whitespace-buffer-changed): New funs.
8825         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
8827 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8829         * files.el (locate-file-completion-table): Only list the .el and .elc
8830         extensions if there's no other choice (bug#5955).
8832         * facemenu.el (facemenu-self-insert-data): New var.
8833         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
8834         New functions.
8835         (facemenu-add-face): Use them.
8837         * simple.el (blink-matching-open): Obey forward-sexp-function.
8839 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8841         * simple.el (prog-mode-map): New var.
8842         (prog-indent-sexp): New command.
8844         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
8846         * progmodes/prolog.el (smie): Require.
8848         * emacs-lisp/smie.el (smie-default-backward-token)
8849         (smie-default-forward-token): Strip properties.
8850         (smie-next-sexp): Be more careful with associative operators.
8851         (smie-forward-sexp-command): Generalize.
8852         (smie-backward-sexp-command): Simplify.
8853         (smie-closer-alist): New var.
8854         (smie-close-block): New command.
8855         (smie-indent-debug-log): New var.
8856         (smie-indent-offset-rule): Add a few more cases.
8857         (smie-indent-column): New function.
8858         (smie-indent-after-keyword): Use it.
8859         (smie-indent-keyword): Use it.
8860         Fix up the opener code's point position.
8861         (smie-indent-comment): Only applies at BOL.
8862         (smie-indent-debug): New command.
8864         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
8865         declarations that are useful before running the macro.
8867 2010-08-18  Joakim Verona  <joakim@verona.se>
8869         * image.el (imagemagick-types-inhibit): New variable.
8870         (imagemagick-register-types): New function.
8871         * image-mode.el (image-transform-properties): New function.
8872         (image-transform-set-scale, image-transform-fit-to-height)
8873         (image-transform-set-rotation, image-transform-set-resize)
8874         (image-transform-fit-to-width, image-transform-fit-to-height):
8875         New functions.
8876         (image-toggle-display-image): Support image transforms.
8878 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
8880         * image.el (create-animated-image): Don't add heuristic mask to image
8881         (Bug#6839).
8883 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
8885         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
8886         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
8888 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8890         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
8892         Font-lock '...' strings, plus various simplifications and fixes.
8893         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8894         (octave-font-lock-close-quotes): New function.
8895         (octave-font-lock-syntactic-keywords): New var.
8896         (octave-mode): Use it.  Set beginning-of-defun-function.
8897         (octave-mode-map): Don't override the <foo>-defun commands.
8898         (octave-mode-menu): Pass it directly to easy-menu-define;
8899         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
8900         (octave-block-match-alist): Fix up last change so that
8901         octave-close-block uses the more specific keyword.
8902         (info-lookup-mode): Silence byte-compiler.
8903         (octave-beginning-of-defun): Not interactive any more.
8904         Optimize slightly.
8905         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
8906         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
8907         (octave-completion-at-point-function): Make sure point is within
8908         beg..end.
8909         (octave-reindent-then-newline-and-indent):
8910         Use reindent-then-newline-and-indent.
8911         (octave-add-octave-menu): Remove.
8913 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
8915         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
8916         (report-emacs-bug-can-use-xdg-email): New functions.
8917         (report-emacs-bug): Set can-xdg-email to result of
8918         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
8919         \C-cm to report-emacs-bug-insert-to-mailer and add help text
8920         about it.
8922         * net/browse-url.el (browse-url-default-browser): Add cond
8923         for browse-url-xdg-open.
8924         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
8926 2010-08-17  Glenn Morris  <rgm@gnu.org>
8928         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
8929         (c-fontify-recorded-types-and-refs): Define for compiler.
8930         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
8931         before use.
8933         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
8934         Fix format call.
8936 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
8938         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
8939         properties.
8940         (tramp-handle-process-file): Call the program in a subshell, in
8941         order to preserve working directory.
8942         (tramp-action-password): Hide password prompt before next run.
8943         (tramp-process-actions): Widen connection buffer for the trace.
8945 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
8947         * net/rcirc.el (rcirc-log-process-buffers): New option.
8948         (rcirc-print): Use it.
8949         (rcirc-generate-log-filename): New function.
8950         (rcirc-log-filename-function): Change default to
8951         rcirc-generate-log-filename (Bug#6828).
8953 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
8955         * simple.el (deactivate-mark): If select-active-regions is `only',
8956         only set selection for temporarily active regions.
8958         * cus-start.el: Change defcustom for select-active-regions.
8960 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
8962         * mouse.el (mouse--drag-set-mark-and-point): New function.
8963         (mouse-drag-track): Use LOCATION arg to push-mark.
8964         Use mouse--drag-set-mark-and-point to take click-count into
8965         consideration when updating point and mark (Bug#6840).
8967 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
8969         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8970         Give the Ruby rule a lower priority than Gnu (Bug#6778).
8972 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
8974         * font-lock.el (lisp-font-lock-keywords-2):
8975         Add combine-after-change-calls, condition-case-no-debug,
8976         with-demoted-errors, and with-silent-modifications (Bug#6025).
8978 2010-08-14  Kevin Ryde  <user42@zip.com.au>
8980         * emacs-lisp/copyright.el (copyright-update-year)
8981         (copyright-update): Temporary switch-to-buffer to ensure the
8982         buffer change being queried is visible (Bug#5394).
8984 2010-08-14  Tom Tromey  <tromey@redhat.com>
8986         * progmodes/etags.el (tags-file-name): Mark safe if stringp
8987         (Bug#6733).
8989 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
8991         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
8992         MS-DOS.  (Bug#6689)
8994 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
8996         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
8997         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8998         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8999         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
9000         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
9001         Call menu-bar-set-tool-bar-position.
9003 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9005         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
9006         comment style (bug#6834).
9007         * progmodes/scheme.el (scheme-mode-syntax-table):
9008         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
9009         "b" flag in "' 14b" syntax.
9011         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
9012         for (un)commenting the region and performing completion.
9013         (octave-mode-menu): Use standard commands for help and completion.
9014         (octave-mode-syntax-table): Support %{..%} comments (sort of).
9015         (octave-mode): Use define-derived-mode.
9016         Set completion-at-point-functions and don't set columns.
9017         Don't disable adaptive-fill-regexp.
9018         (octave-describe-major-mode, octave-comment-region)
9019         (octave-uncomment-region, octave-comment-indent)
9020         (octave-indent-for-comment): Remove.
9021         (octave-indent-calculate): Rename from calculate-octave-indent.
9022         (octave-indent-line, octave-fill-paragraph): Update caller.
9023         (octave-initialize-completions): No need to make an alist.
9024         (octave-completion-at-point-function): New function.
9025         (octave-complete-symbol): Use it.
9026         (octave-insert-defun): Use define-skeleton.
9028         * progmodes/octave-mod.el (octave-mode): Set comment-add.
9029         (octave-mode-map): Use comment-dwim (bug#6829).
9031 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>
9033         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
9034         indentation of inserted comment.
9036 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
9038         * faces.el (region): Add type gtk that uses gtk colors.
9040         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
9041         Handle theme-name change.
9043 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
9045         * progmodes/sql.el: Version 2.5
9046         (sql-product-alist): Add :prompt-cont-regexp property for several
9047         database products.
9048         (sql-prompt-cont-regexp): New variable.
9049         (sql-output-newline-count, sql-output-by-send):
9050         New variables.  Record number of newlines in input text.
9051         (sql-send-string): Handle multiple filters and count newlines.
9052         (sql-send-magic-terminator): Count terminator newline.
9053         (sql-interactive-remove-continuation-prompt): Filters output to
9054         remove continuation prompts; one for each newline.
9055         (sql-interactive-mode): Set up new variables, prompt regexp and
9056         output filter.
9057         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
9058         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
9060 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9062         * emacs-lisp/pcase.el: New file.
9064 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
9066         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
9067         as here-document, otherwise the command could exceed maximum
9068         length of command line.
9069         (tramp-handle-vc-registered): Call script accordingly.
9070         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
9072 2010-08-10  Kenichi Handa  <handa@m17n.org>
9074         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
9075         composable pattern.
9077 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
9079         * emacs-lisp/package.el (package-version-split)
9080         (package--version-first-nonzero, package-version-compare):
9081         Functions removed.
9082         (package-directory-list, package-load-all-descriptors)
9083         (package--built-in, package-activate, define-package)
9084         (package-installed-p, package-compute-transaction)
9085         (package-read-all-archive-contents)
9086         (package--add-to-archive-contents, package-buffer-info)
9087         (package-tar-file-info, package-list-packages-internal):
9088         Use version-to-list and version-list-*.
9090         * emacs-lisp/package-x.el (package-upload-buffer-internal):
9091         Use version-to-list.
9092         (package-upload-buffer-internal): Use version-list-<=.
9094 2010-08-09  Kenichi Handa  <handa@m17n.org>
9096         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
9097         composable pattern.
9099 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
9101         * tutorial.el (tutorial--default-keys): C-d is now bound to
9102         delete-forward-char (Bug#6826).
9104         * mouse.el (mouse-drag-track): Remove accidentally-removed check
9105         for `double' value of mouse-1-click-follows-link (Bug#6807).
9107 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
9109         * replace.el (replace-highlight): Bind isearch-forward and
9110         isearch-error, ensuring that highlighting is updated if the user
9111         switches the search direction (Bug#6808).
9113         * isearch.el (isearch-lazy-highlight-forward): New var.
9114         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9115         (isearch-lazy-highlight-update): Use it.
9117 2010-08-08  Kenichi Handa  <handa@m17n.org>
9119         * international/mule.el (define-charset): Store NAME as :base property.
9120         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
9121         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
9122         current priority.  Force using the designation of the specific
9123         charset by adding `charset' text property.  Improve the whole algorithm.
9125 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
9127         * emulation/pc-select.el (pc-selection-mode-hook)
9128         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
9129         (pc-selection-mode): Fix typos in docstrings.
9131 2010-08-08  Kenichi Handa  <handa@m17n.org>
9133         * language/cyrillic.el: Don't add "microsoft-cp1251" to
9134         ctext-non-standard-encodings-alist here.
9136         * international/mule.el (ctext-non-standard-encodings-alist):
9137         Add "koi8-r" and "microsoft-cp1251".
9138         (ctext-standard-encodings): New variable.
9139         (ctext-non-standard-encodings-table): List only elements for
9140         non-standard encodings.
9141         (ctext-pre-write-conversion): Adjust for the above change.
9142         Check ctext-standard-encodings.
9144         * international/mule-conf.el (compound-text): Doc fix.
9145         (ctext-no-compositions): Doc fix.
9146         (compound-text-with-extensions): Doc fix.
9148 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9150         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
9152 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
9154         * progmodes/which-func.el (which-func-format): Split help-echo text
9155         into lines, like other mode-line tooltips.
9157         * server.el (server-start): When using TCP sockets, force IPv4
9158         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
9160 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9162         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
9164 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
9166         * term.el (term-delimiter-argument-list): Reflow docstring.
9167         (term-read-input-ring, term-write-input-ring, term-send-input)
9168         (term-bol, term-erase-in-display, serial-supported-or-barf):
9169         Fix typos in docstrings.
9171 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9173         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
9175 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
9177         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
9179 2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
9181         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
9182         Fix typo in docstring (bug#6747).
9184 2010-08-08  Leo  <sdl.web@gmail.com>
9186         * eshell/esh-io.el (eshell-get-target): Better detection of
9187         read-only file (Bug#6762).
9189 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
9191         * align.el (align-default-spacing): Doc fix.
9192         (align-region-heuristic, align-regexp): Fix typos in docstrings.
9194 2010-08-08  Stephen Peters  <speters@itasoftware.com>
9196         * calendar/icalendar.el
9197         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
9198         (icalendar--get-weekday-numbers): New.
9199         (icalendar--convert-recurring-to-diary): Handle multiple byday
9200         values in weekly rules.  (Bug#6766)
9202 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
9204         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
9205         (icalendar--create-uid, icalendar-export-region)
9206         (icalendar--parse-summary-and-rest): Code formatting.
9208 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
9210         * calc/calc.el (calc-trail-mode, calc-refresh): Use `face' property
9211         to italicize headers.
9212         (calc-highlight-selections-with-faces): New variable.
9213         (calc-selected-face, calc-nonselected-face): New faces.
9215         * calc/calccomp.el (math-comp-highlight-string): Use
9216         `calc-highlight-selections-with-faces' to determine how to highlight
9217         sub-formulas.
9219         * calc/calc-sel.el (calc-show-selections): Change message to when
9220         using faces to highlight selections.
9222 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
9224         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
9225         Add SQLite 3 keywords, functions and datatypes.
9226         (sql-interactive-mode): Remove `comint-process-echoes' set to t
9227         (Bug#6686).
9229 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
9231         * simple.el (select-active-regions): Move to keyboard.c.
9232         (deactivate-mark): Used saved-region-selection.
9233         (select-active-region): Function removed.
9234         (activate-mark, set-mark, push-mark-command)
9235         (handle-shift-selection): Don't call it.
9236         (keyboard-quit): Avoid adding the region to the window selection.
9238         * mouse.el (mouse-drag-track): Remove hacks to deal with old
9239         select-active-regions implementation.
9240         (mouse-yank-at-click): Doc fix.
9242         * cus-start.el: Add custom declaration for select-active-regions.
9244 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
9246         * simple.el (delete-forward-char): Doc fix.
9248         * tutorial.el (help-with-tutorial): Hack safe file-local variables
9249         after reading the tutorial.
9251 2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
9253         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
9254         Fix for the case that a C style comment has its delimiters alone on
9255         their respective lines.  (Bug#193)
9257 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
9259         * net/tramp.el (tramp-handle-start-file-process): Set connection
9260         property "vec".
9261         (tramp-process-sentinel): Use it for flushing the cache.
9262         We cannot do it via the process buffer, the buffer could be deleted
9263         already when running the sentinel.
9265 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
9267         * comint.el (comint-mode): Make directory tracking functions
9268         functional on remote files.  (Bug#6764)
9270 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
9272         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
9274 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
9276         * emacs-lisp/find-gc.el (find-gc-source-files):
9277         Rename unexec.c => unexcoff.c.
9279         * emacs-lisp/authors.el (authors-fixed-entries):
9280         Rename unexec.c => unexcoff.c.
9282 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
9284         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
9285         cache, not only file cache.
9286         (tramp-process-sentinel): New defun.
9287         (tramp-handle-start-file-process): Use it, in order to invalidate
9288         file caches.
9290 2010-08-03  Leo  <sdl.web@gmail.com>
9292         * server.el (server-start): Simplify loop.
9294 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9296         * frame.el (screen-height, screen-width, set-screen-width)
9297         (set-screen-height): Remove ancient compatibility aliases.
9299         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
9300         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
9302         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
9303         that change current buffer.
9305 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
9307         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
9308         beginning of the string.  Use `string-match-p'.  (Bug#6765)
9310 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
9312         * cus-start.el (x-gtk-use-system-tooltips): New variable.
9314 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
9316         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
9317         (package--builtins): Tweak descriptions.
9318         (package-print-package): Upcase descriptions if necessary.
9319         Show all built-in packages in font-lock-builtin-face.
9320         (package-list-packages-internal): Omit "emacs" package.
9321         Show status of built-in packages as "built-in".
9323 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
9325         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
9326         before killing to preserve the primary selection (Bug#6701).
9328         * term/x-win.el (x-select-text): Doc fix.
9330 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
9332         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
9333         (objc-font-lock-extra-types):
9334         * progmodes/cc-mode.el (c-basic-common-init):
9335         * progmodes/cc-langs.el (c-make-mode-syntax-table)
9336         (c++-make-template-syntax-table)
9337         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
9338         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
9339         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
9340         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
9341         * progmodes/cc-fonts.el (c-make-inverse-face)
9342         (c-basic-matchers-after):
9343         * progmodes/cc-engine.el (c-forward-keyword-clause)
9344         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
9345         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
9346         (c-guess-continued-construct, c-guess-basic-syntax):
9347         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
9348         The above functions were modified or created.
9350 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
9352         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
9354 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
9356         * files.el (bidi-paragraph-direction): Define safe local values.
9358         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
9359         language-info-alist.  Remove outdated FIXME in a comment.
9361 2010-07-31  Alan Mackenzie  <acm@muc.de>
9363         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
9364         Auto-fill broken in C/C++ modes.
9366 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
9368         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
9369         (menu-bar-showhide-tool-bar-menu-customize-disable)
9370         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
9371         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
9372         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
9373         (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
9374         make a menu for Options => toolbar that can move it.
9376 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
9378         * emacs-lisp/package-x.el (package--make-rss-entry):
9379         (package-maint-add-news-item, package--update-news)
9380         (package-upload-buffer-internal): New arg ARCHIVE-URL.
9382         * emacs-lisp/package.el (package-archive-url): Rename from
9383         package-archive-id.
9384         (package-install): Doc fix.
9385         (package-download-single, package-download-tar, package-install)
9386         (package-menu-view-commentary): Callers changed.
9388 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
9390         * net/tramp.el (tramp-handle-start-file-process): Check only for
9391         `remote-tty' process property.
9392         (tramp-open-shell): Don't check for tty.
9393         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
9394         process property.
9396         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
9397         host.
9399 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
9401         * emacs-lisp/package.el (package-load-list, package-archives)
9402         (package-archive-contents, package-user-dir)
9403         (package-directory-list, package--builtins, package-alist)
9404         (package-activated-list, package-obsolete-alist): Mark as risky.
9406 2010-07-28  Phil Hagelberg  <phil@evri.com>
9408         Add support for non-default package repositories.
9409         * emacs-lisp/package.el (package-archive-base): Var deleted.
9410         (package-archives): New variable.
9411         (package-archive-contents): Doc fix.
9412         (package-load-descriptor): Do nothing if descriptor file is missing.
9413         (package--write-file-no-coding): New function.
9414         (package-unpack-single): Use it.
9415         (package-archive-id): New function.
9416         (package-download-single, package-download-tar)
9417         (package-menu-view-commentary): Use it.
9418         (package-installed-p): Make second argument optional.
9419         (package-read-all-archive-contents): New function.
9420         (package-initialize): Use it.
9421         (package-read-archive-contents): Add ARCHIVE argument.
9422         (package--add-to-archive-contents): New function.
9423         (package-install): Don't call package-read-archive-contents.
9424         (package--download-one-archive): Store archive file in a
9425         subdirectory of package-user-dir.
9426         (package-menu-execute): Remove spurious line movement.
9428 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
9430         * cus-start.el (tool-bar-style): Add text-image-horiz.
9432 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
9434         * progmodes/gud.el (gud-common-init): Check for remoteness of
9435         `file', and not of `default-directory'.
9437 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
9439         * net/tramp.el (tramp-methods): Move hostname to the end in all
9440         ssh `tramp-login-args'.
9441         (tramp-verbose): Describe verbose level 9.
9442         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
9443         (tramp-open-connection-setup-interactive-shell): Trace stty
9444         settings if `tramp-verbose' >= 9.
9445         (tramp-handle-start-file-process): Implement tty setting.
9446         (Bug#4604, Bug#6360)
9448         * net/tramp-cmds.el (tramp-bug): Recommend setting of
9449         `tramp-verbose' to 9.
9451 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
9453         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
9454         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
9455         Remove references to package `lisp-re' (bug#4369).
9457 2010-07-27  Tom Tromey  <tromey@redhat.com>
9459         * progmodes/js.el (js-mode):
9460         * progmodes/make-mode.el (makefile-mode):
9461         * progmodes/simula.el (simula-mode):
9462         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
9464 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
9466         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
9468         * time.el (display-time-day-and-date): Remove spurious * in docstring.
9469         (display-time-world-buffer-name, display-time-world-mode-map):
9470         Fix typos in docstrings.
9472 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
9474         * image-mode.el (image-display-size): New function.
9475         (image-forward-hscroll, image-next-line, image-eol, image-eob)
9476         (image-mode-fit-frame): Use it (Bug#6639).
9478 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
9480         * dired.el (dired-buffers-for-dir): Handle list values of
9481         dired-directory (Bug#6636).
9483 2010-07-26  Sam Steingold  <sds@gnu.org>
9485         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
9486         Do not call `x-get-selection' the second time, reuse the value.
9488 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
9490         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
9491         which consist of control chars only.  Suggested by Richard Stallman.
9493 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
9495         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
9496         exists before passing an error to find-file-not-found-functions
9497         (bug#6723).
9499 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
9501         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
9502         Remove leading nil element, adjust values.
9503         (tetris-shapes, tetris-shape-scores):
9504         Change representation of shapes and remove some redundancy.
9505         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
9506         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
9507         Adjust for working with new representation of shapes.
9508         (tetris-shape-rotations): New function.
9509         (tetris-move-bottom, tetris-move-left, tetris-move-right)
9510         (tetris-rotate-prev, tetris-rotate-next):
9511         Adjust for working with the new version of tetris-test-shape.
9513 2010-07-23  Markus Triska  <markus.triska@gmx.at>
9515         * progmodes/ps-mode.el: Use comint (bug#5954).
9516         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
9517         (ps-mode-other-newline): Simplify.
9518         (ps-run-mode): Derive from comint-mode instead of
9519         fundamental-mode, yielding input history etc.
9520         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
9521         (ps-run-send-string): Adapt for comint-mode.
9522         (ps-run-newline): Remove now unneeded function.
9524 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
9526         * net/tramp.el (tramp-methods): Move hostname to the end in all
9527         plink `tramp-login-args'.
9529 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
9531         * net/tramp.el (tramp-open-shell): New defun.
9532         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9533         Use it.
9535 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
9537         * net/tramp.el (tramp-file-name-regexp-unified)
9538         (tramp-completion-file-name-regexp-unified): On W32 systems, do
9539         not regard the volume letter as remote filename.  (Bug#5447)
9541 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
9543         * custom.el (custom-declare-variable): Give a clearer error message
9544         when the docstring is missing (bug#6476).
9546 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
9548         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
9549         (sql-login-params): New widget definition.
9550         (sql-oracle-login-params, sql-mysql-login-params)
9551         (sql-solid-login-params, sql-sybase-login-params)
9552         (sql-informix-login-params, sql-ingres-login-params)
9553         (sql-ms-login-params, sql-postgres-login-params)
9554         (sql-interbase-login-params, sql-db2-login-params)
9555         (sql-linter-login-params): Use it.
9556         (sql-sqlite-login-params): Use it; Define "database" parameter as
9557         a file name.
9558         (sql-sqlite-program): Change to "sqlite3".
9559         (sql-comint-sqlite): Make sure database name is complete.
9560         (sql-for-each-login): New function.
9561         (sql-connect, sql-save-connection): Use it.
9562         (sql-get-login-ext): New function.
9563         (sql-get-login): Use it.
9564         (sql-make-alternate-buffer-name): Handle :file parameters.
9566 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
9568         * dired.el (dired-no-confirm): Document value t and fix defcustom to
9569         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
9571 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
9573         * dired.el (dired-mode-map): Use command remapping (bug#6632).
9575 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
9577         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
9579 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
9581         * net/tramp.el (tramp-get-ls-command)
9582         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
9583         instead of "/".
9585 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
9587         * progmodes/sql.el: Version 2.3.
9588         (sql-connection-alist): Change keys from symbols to strings;
9589         enhanced the widget definition.
9590         (sql-mode-menu): Add submenu to select connections.
9591         (sql-interactive-mode-menu): Add "Save Connection" item.
9592         (sql-add-product): Fix menu item.
9593         (sql-get-product-feature): Improved error handling.
9594         (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
9595         (sql-make-alternate-buffer-name): Simplified.
9596         (sql-product-interactive): Handle missing product.
9597         (sql-connect): Support string keys, minor improvements.
9598         (sql-save-connection): New function.
9599         (sql-connection-menu-filter): New function.
9601 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
9603         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
9604         (tramp-open-connection-setup-interactive-shell):
9605         Apply workaround for IRIX64 bug.  Move argument of last
9606         `tramp-send-command' where it belongs to.
9608 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
9610         * net/tramp.el (tramp-perl-file-attributes)
9611         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
9612         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
9613         front of `login-args'.
9615 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
9617         * time.el (display-time-world-mode): Define with `define-derived-mode'.
9618         Set `show-trailing-whitespace' to nil.
9619         (display-time-world-display): Simplify.
9621 2010-07-18  Alan Mackenzie  <acm@muc.de>
9623         Enhance `c-file-style' in file/directory local variables.
9624         * progmodes/cc-mode.el (c-count-cfss): New function.
9625         (c-before-hack-hook): Call `c-set-style' differently according to
9626         whether c-file-style was set in file or directory local
9627         variables.
9629 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
9631         * progmodes/sql.el: Version 2.2.
9632         (sql-product, sql-user, sql-database, sql-server, sql-port):
9633         Use defcustom :safe keyword rather than putting safe-local-variable
9634         property.
9635         (sql-password): Use defcustom :risky keyword rather than putting
9636         risky-local-variable property.
9637         (sql-oracle-login-params, sql-sqlite-login-params)
9638         (sql-solid-login-params, sql-sybase-login-params)
9639         (sql-informix-login-params, sql-ingres-login-params)
9640         (sql-ms-login-params, sql-postgres-login-params)
9641         (sql-interbase-login-params, sql-db2-login-params)
9642         (sql-linter-login-params): Add `port' option.
9643         (sql-get-product-feature): Add NO-INDIRECT parameter.
9644         (sql-comint-oracle, sql-comint-sybase)
9645         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
9646         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
9647         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
9648         (sql-comint-linter): Rename sql-connect-* functions to
9649         sql-comint-*.
9650         (sql-product-alist, sql-mode-menu): Rename as above and
9651         :sqli-connect-func to :sqli-comint-func.
9652         (sql-connection): New variable.
9653         (sql-interactive-mode): Set it.
9654         (sql-connection-alist): New variable.
9655         (sql-connect): New function.
9656         (sql--alt-buffer-part, sql--alt-if-not-empty)
9657         (sql-make-alternate-buffer-name): Improved alternative buffer name.
9659 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9661         * image-mode.el (image-bookmark-make-record): Do not set context
9662         in an image (Bug#6650).
9664 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
9666         * simple.el (select-active-region): New function.
9667         (push-mark-command, set-mark, activate-mark)
9668         (handle-shift-selection): Use it.
9669         (deactivate-mark): Don't check for size of region.
9671         * mouse.el (mouse-drag-track): Use select-active-region.
9673 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
9675         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
9676         "--dired" stronger.
9678 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
9680         * term/x-win.el (x-select-enable-primary): Change default to nil.
9681         (x-select-enable-clipboard): Add :version keyword.
9683         * mouse.el (mouse-drag-copy-region):
9684         * simple.el (select-active-regions): Likewise.
9686 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
9688         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
9689         (vc-coding-system-for-diff): Use it to decide whether to inherit
9690         from the file the EOL format for reading the diffs of that file.
9691         (Bug#4451)
9693 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
9695         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
9696         unibyte, so compressed attachments are not compressed again.
9698 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
9700         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
9701         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
9702         (tramp-find-shell): Simplify setting connection property.
9703         (tramp-get-ls-command): Make test for "--color=never" stronger.
9705 2010-07-15  Simon South  <ssouth@member.fsf.org>
9707         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
9708         blocks within record declarations (i.e. variant parts) correctly.
9710 2010-07-15  Simon South  <ssouth@member.fsf.org>
9712         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
9713         over literal tokens when parsing so newlines aren't "absorbed" by
9714         single-line comments.  Corrects the indentation of case blocks
9715         that have a comment on the first line.
9717 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
9719         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
9720         by Drew Adams (Bug#5504).
9722 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
9724         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
9725         now that Unicode is used (Bug#6594).
9727 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
9729         * term/x-win.el (x-select-enable-clipboard): Default to t.
9730         (x-initialize-window-system): Don't overwrite Paste menu item.
9732         * simple.el (select-active-regions): Default to t.
9733         (push-mark-command): Don't overwrite primary with empty string.
9735         * mouse.el: Bind mouse-2 to mouse-yank-primary.
9736         (mouse-drag-copy-region): Default to nil.
9738         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
9739         Cut/Copy/Paste menu bar items.
9741 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9743         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
9744         Patch applied by Karl Fogel.
9746         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
9747         and `bookmark-current-buffer' if they have been already set in
9748         another buffer (e.g gnus-art).
9750 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
9751             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9753         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
9755         * bookmark.el (bookmark-make-record-default): Allow unneeded
9756         information to be omitted from the record.
9758         Adjust declarations and calls:
9760         * info.el (bookmark-make-record-default): Adjust declaration.
9761         (Info-bookmark-make-record): Adjust call.
9763         * woman.el (bookmark-make-record-default): Adjust declaration.
9764         (woman-bookmark-make-record): Adjust call.
9766         * man.el (bookmark-make-record-default): Adjust declaration.
9767         (Man-bookmark-make-record): Adjust call.
9769         * image-mode.el (bookmark-make-record-default): Adjust declaration.
9771         * doc-view.el (bookmark-make-record-default): Adjust declaration.
9773 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
9775         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
9776         This is also from Thierry Volpiatto's patch in bug #6444.  However,
9777         because it was extraneous to the functional change in that patch,
9778         and causes a re-indendation, I am committing it separately.
9780 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9782         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
9783         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
9784         Patch applied by Karl Fogel (Bug#6444).
9786 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
9788         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
9790 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
9792         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
9793         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
9794         (ns-alternatives-map): Change S-tab binding to backtab
9795         (bug#6616).
9797         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
9798         under ns.
9800 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
9802         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
9803         (Bug#5806)
9805         * language/tv-util.el (tai-viet-re): Remove format.
9807 2010-07-12  Kenichi Handa  <handa@m17n.org>
9809         * language/hebrew.el: Remove no-byte-compile declaration.
9810         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
9811         composition-function-table for 3-character looking back.
9812         (hebrew-font-get-precomposed): New function.
9813         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
9815 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
9817         * mouse.el (mouse-drag-track): Handle select-active-regions
9818         (Bug#6612).
9820 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
9822         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
9823         empty argument to gvfs-copy.
9825 2010-07-10  Glenn Morris  <rgm@gnu.org>
9827         * calendar/calendar.el (calendar-week-end-day): New function.
9828         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
9829         Respect calendar-week-start-day.  (Bug#6606)
9830         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
9831         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
9832         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
9833         respect calendar-week-start-day.
9835 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
9837         * simple.el (use-region-p): Doc fix (Bug#6607).
9839 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
9841         * progmodes/compile.el (compilation-error-regexp-alist-alist):
9842         Add regexps for cucumber and ruby.
9844 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
9846         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
9847         (epa-file-insert-file-contents): Hack to prevent
9848         find-file from opening empty buffer when decryption failed
9849         (bug#6568).
9851 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
9853         * textmodes/ispell.el (ispell-alternate-dictionary):
9854         Use file-readable-p.
9855         Return nil if no word-list is found at default locations.
9856         (ispell-complete-word-dict): Default to nil.
9857         (ispell-command-loop): Use 'word-list' when using lookup-words.
9858         (lookup-words): Use ispell-complete-word-dict or
9859         ispell-alternate-dictionary.  Check for word-list availability
9860         and handle errors if needed with better messages (Bug#6539).
9861         (ispell-complete-word): Use ispell-complete-word-dict or
9862         ispell-alternate-dictionary.
9864 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
9866         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
9867         builtins (BufferError, BytesWarning, WindowsError; callables
9868         bin, bytearray, bytes, format, memoryview, next, print; __package__).
9870 2010-07-07  Glenn Morris  <rgm@gnu.org>
9872         * play/zone.el (top-level): Do not require timer, tabify, or cl.
9873         (zone-shift-left): Ignore intangibility, and any errors from
9874         forward-char.
9875         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
9876         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
9877         deleting, and copying text properties.
9878         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
9879         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
9880         to point-max is hard.
9881         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
9882         (zone-fill-out-screen): Ignore intangibility.
9884 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
9886         * menu-bar.el (menu-bar-mode):
9887         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
9888         if it has been set.
9890         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
9891         word/line selection (Bug#6565).
9893 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
9895         * net/dbus.el (dbus-send-signal): Declare function.
9897 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
9899         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
9900         (dbus-register-property): New optional argument EMITS-SIGNAL.
9901         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
9903 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
9905         * mouse.el (mouse-drag-overlay): Variable deleted.
9906         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
9907         (mouse--remap-link-click-p): New function.
9908         (mouse-drag-track): Handle dragging by using temporary Transient
9909         Mark mode, instead of a special overlay.
9910         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
9911         mouse-show-mark.
9913         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
9914         deleted.
9916 2010-07-02  Juri Linkov  <juri@jurta.org>
9918         * autoinsert.el (auto-insert-alist): Fix readability
9919         by using dotted pair notation for lambda.
9921 2010-07-02  Juri Linkov  <juri@jurta.org>
9923         * faces.el (read-face-name): Rename arg `string-describing-default'
9924         to `default'.  Doc fix.  Display the default value in quotes
9925         in the prompt.  With empty input, return the `default' arg,
9926         unless the default value is a string (in which case return nil).
9927         (describe-face): Replace the string `default' arg of `read-face-name'
9928         with the symbol `default'.
9930 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
9932         * emulation/viper-cmd.el (viper-delete-backward-char)
9933         (viper-del-backward-char-in-insert)
9934         (viper-del-backward-char-in-replace, viper-change)
9935         (viper-backward-indent): Replace delete-backward-char with
9936         delete-char (Bug#6552).
9938 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
9940         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
9942 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
9944         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
9945         argument passed to frame-creation-function (Bug#5378).
9947         * faces.el (x-handle-named-frame-geometry)
9948         (x-handle-reverse-video, x-create-frame-with-faces)
9949         (face-set-after-frame-default, tty-create-frame-with-faces):
9950         Don't separately consult default-frame-alist.  It is now passed as the
9951         PARAMETER argument.
9953 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
9955         * startup.el (command-line): Don't call tool-bar-setup in a
9956         tty-only build.
9958 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
9960         * ruler-mode.el (ruler--save-header-line-format): New fun.
9961         (ruler-mode): Use it as a setter function, so as not to overwrite
9962         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
9964 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
9966         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
9967         (vc-root-diff, vc-print-root-log, vc-log-incoming)
9968         (vc-log-outgoing): Use it.
9969         (vc-diff-internal): Set diff-vc-backend.
9971         * vc/diff-mode.el (diff-vc-backend): New var.
9973 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
9975         * dynamic-setting.el (font-setting-change-default-font):
9976         Remove call to message.
9978 2010-06-28  Kenichi Handa  <handa@m17n.org>
9980         * international/quail.el (quail-insert-kbd-layout): Fix the
9981         showing of untranslated characters.
9983 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
9985         * simple.el (delete-active-region): New option.
9986         (delete-backward-char): Implement in Lisp.
9987         (delete-forward-char): New command.
9989         * mouse.el (mouse-region-delete-keys): Delete.
9990         (mouse-show-mark): Simplify.
9992         * bindings.el (global-map): Bind delete and DEL, the former to
9993         delete-forward-char.
9995 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
9997         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
9998         (ruby-mode): Bind indent-line-function (Bug#5119).
10000 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
10002         * startup.el (command-line): Recognize "0" X resource value.
10004 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
10006         * startup.el (command-line): Use X resources to set the value of
10007         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
10009         * menu-bar.el (menu-bar-mode):
10010         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
10011         Set init-value to t.
10013         * frame.el (frame-notice-user-settings): Don't change
10014         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
10015         vice versa (Bug#2249).
10017 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
10019         * w32-fns.el (w32-convert-standard-filename): Doc fix.
10021 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
10023         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
10024         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
10026         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
10027         default directories are expanded (Bug#6143).
10029 2010-06-24  Juri Linkov  <juri@jurta.org>
10031         * minibuffer.el (completions-format): Change default from nil to
10032         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
10034 2010-06-24  Juri Linkov  <juri@jurta.org>
10036         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
10037         buffer-locally to lambda that re-runs the vc diff command.
10038         (Bug#6447)
10040 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
10042         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
10043         echo area is in use (Bug#3412).
10045 2010-06-22  Glenn Morris  <rgm@gnu.org>
10047         * textmodes/texinfmt.el (texinfo-format-region)
10048         (texinfo-raise-lower-sections, texinfo-format-separate-node)
10049         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
10050         (texinfo-format-option, texinfo-noindent):
10051         Use line-beginning-position and line-end-position.
10053         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
10054         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
10055         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
10056         utf-8 characters.
10058 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
10060         * play/zone.el (zone-fall-through-ws): Fix next-line ->
10061         forward-line fallout.
10063 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
10065         * mouse.el (mouse-appearance-menu): Add docstring.
10067         * help.el (describe-key): Print up-event using key-description.
10069 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
10071         * net/zeroconf.el (zeroconf-resolve-service)
10072         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
10073         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
10075 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
10077         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
10079 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
10081         Avoid displaying files with a nil state in vc-dir.
10082         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
10083         cases that cause insertion.
10084         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
10085         with a nil state.
10087 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
10089         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
10091 2010-06-29  Leo  <sdl.web@gmail.com>
10093         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
10095 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
10097         * generic-x.el (bat-generic-mode): Fix regexp for command line
10098         switches (Bug#5719).
10100 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
10102         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
10103         of nconc to avoid pure storage error (Bug#6239).
10105 2010-06-27  Christoph Scholtes  <cschol2112@googlemail.com>
10107         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
10108         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
10109         bindings of bookmark-automatically-show-annotations (Bug#6515).
10111 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
10113         * arc-mode.el (archive-zip-extract): Don't quote the file name on
10114         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
10116 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
10118         * comint.el (make-comint, make-comint-in-buffer): Mention return
10119         value in the docstrings.  (Bug#6498)
10121 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
10123         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
10124         since it is not present when using some non-default switches.
10126 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
10128         * simple.el (compose-mail): Fix doc string to refer to
10129         `compose-mail-user-agent-warnings', instead of to the
10130         nonexistent `compose-mail-check-user-agent'.
10132 2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>
10134         Fix an indentation bug:
10136         * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
10137         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
10138         of existing values.
10140         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
10141         (c-clear->-pair-props-if-match-before): now return t when they've
10142         cleared properties, nil otherwise.
10143         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
10144         by taking account of the existing value.
10146         * progmodes/cc-defs.el
10147         (c-clear-char-property-with-value-function): Fix this to clear the
10148         property rather than overwriting it with nil.
10150 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
10152         * emacs-lisp/package.el (package-print-package): Add link to
10153         package description via describe-package.
10154         (describe-package-1): List package requirements.  Add button to
10155         perform installation.
10156         (package-menu-describe-package): New command.
10158         * help-mode.el (help-package): New button type.
10160 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
10162         * emacs-lisp/package.el: Move package-list-packages binding to
10163         menu-bar.el.
10164         (describe-package, describe-package-1, package--dir): New funs.
10165         (package-activate-1): Use package--dir.
10167         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
10169         * help-mode.el (help-package-def): New button type.
10171         * menu-bar.el: Move package-list-packages binding here from
10172         package.el.
10174 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
10176         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
10178 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10180         * emacs-lisp/edebug.el (edebug-read-list):
10181         Phase out old-style backquotes.
10183 2010-06-17  Juri Linkov  <juri@jurta.org>
10185         * help-mode.el (help-mode): Set buffer-local variable
10186         revert-buffer-function to help-mode-revert-buffer.
10187         (help-mode-revert-buffer): New function.
10189         * info.el (Info-revert-find-node): Check for major-mode Info-mode
10190         before popping to "*info*" (like in other Info functions).
10191         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
10192         old-history-forward.  Pop to old-buffer-name or "*info*" to
10193         recreate the killed buffer.  Set Info-history-forward from
10194         old-history-forward.
10195         (Info-breadcrumbs-depth): Add :group and :version.
10197 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
10199         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
10201 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
10203         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
10204         for languages like Portuguese with pt_{BR,PT} and no plain pt.
10206 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
10208         * emacs-lisp/package.el (package-menu-mode-map):
10209         Move initialization into declaration.
10211         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
10213 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
10215         * emacs-lisp/package.el (package-archive-base): Point to
10216         elpa.gnu.org.
10217         (package-enable, package-load-list): New defcustoms.
10218         (package-user-dir, package-directory-list): Turn into defcustoms.
10219         Don't include package-user-dir in package-directory-list.
10220         (package--builtins-base): Don't include Emacs as a "package".
10221         (package-subdirectory-regexp): New var.
10222         (package-load-all-descriptors, package-compute-transaction)
10223         (package-download-transaction): Obey package-load-list.
10224         (package-activate-1): Rename from package-do-activate.
10225         (package-list-packages-internal): Check package-load-list.
10226         (package-load-descriptor, package-generate-autoloads)
10227         (package-unpack, package-unpack-single)
10228         (package--read-archive-file, package-delete):
10229         Use expand-file-name.
10231         * emacs-lisp/package-x.el: New file.  Package uploading
10232         functionality split out from package.el.
10234         * startup.el (command-line): Load packages after reading init file.
10236 2010-06-17  Tom Tromey  <tromey@redhat.com>
10238         * emacs-lisp/package.el: New file.
10240 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
10242         Fix vc-annotate for renamed files when using Git.
10243         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
10244         ls-files.  Doe not pass the object as a file name to cat-file, it
10245         is not a file name.
10246         (vc-git-annotate-command): Pass the file name using -- to avoid
10247         ambiguity with the revision.
10248         (vc-git-previous-revision): Pass a relative file name.
10250 2010-06-22  Glenn Morris  <rgm@gnu.org>
10252         * progmodes/js.el (js-mode-map): Use standard capitalization and
10253         ellipses for menu entries.
10255         * wid-edit.el (widget-complete): Doc fix.
10257 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
10259         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
10261 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
10263         Fix annotating other revisions for renamed files in vc-annotate.
10264         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
10265         VC backend.  Use it when non-nil.
10266         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
10267         (Bug#6487).
10269         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
10270         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
10271         Do not pass the file name to the 'previous-revision call when we
10272         don't want a file diff.  (Bug#6489)
10274 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
10276         Fix finding revisions for renamed files in vc-annotate.
10277         * vc/vc.el (vc-find-revision): Add an optional argument for
10278         the VC backend.  Use it when non-nil.
10279         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
10280         backend to vc-find-revision.  (Bug#6487)
10282 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
10284         Fix reading file names in Git annotate buffers.
10285         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
10286         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
10288 2010-06-20  Alan Mackenzie  <acm@muc.de>
10290         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
10291         in file local variables, set it first.
10293 2010-06-19  Glenn Morris  <rgm@gnu.org>
10295         * descr-text.el (describe-char-unicode-data): Insert separating
10296         space when needed.  (Bug#6422)
10298         * progmodes/idlwave.el (idlwave-action-and-binding):
10299         Fix typo in 2009-12-03 change.  (Bug#6450)
10301 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10303         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
10304         handling for `lambda' (misunderstanding).
10306 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
10308         * calc/calc-poly.el (math-accum-factors): Make sure that
10309         constants aren't distributed after they are factored out.
10311 2010-06-16  Juri Linkov  <juri@jurta.org>
10313         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
10314         `list-colors-print'.  (Bug#6332)
10316         * subr.el (read-quoted-char): Fix up last change (bug#6290).
10318 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10320         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
10321         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
10323         * font-lock.el (font-lock-major-mode): Rename from
10324         font-lock-mode-major-mode to distinguish it from
10325         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
10326         (font-lock-set-defaults):
10327         * font-core.el (font-lock-default-function): Adjust users.
10328         (font-lock-mode): Don't set it at all.
10330 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10332         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
10334 2010-06-16  Glenn Morris  <rgm@gnu.org>
10336         * calendar/appt.el (appt-time-msg-list): Doc fix.
10337         (appt-check): Let-bind appt-warn-time.
10338         (appt-add): Make the 3rd argument optional.
10339         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
10340         Only add WARNTIME to the output list if non-nil.
10342 2010-06-16  Ivan Kanis  <apple@kanis.eu>
10344         * calendar/appt.el (appt-check): Let the 3rd element of
10345         appt-time-msg-list specify the warning time.
10346         (appt-add): Add new argument with the warning time.  (Bug#5176)
10348 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
10350         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
10351         older than version 1.6.  (Bug#6361)
10353 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
10355         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
10356         used by cl-do-arglist.  (Bug#6408)
10358 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
10360         * textmodes/ispell.el (ispell-dictionary-base-alist):
10361         Fix portuguese casechars/not-casechars for missing 'çÇ'.
10362         Suggested by Rolando Pereira (bug#6434).
10364 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
10366         * facemenu.el (list-colors-sort): Doc fix.
10368 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
10370         * progmodes/sql.el (sql-connect-mysql): Fix typo.
10372 2010-06-14  Juri Linkov  <juri@jurta.org>
10374         Add sort option `list-colors-sort'.  (Bug#6332)
10375         * facemenu.el (color-rgb-to-hsv): New function.
10376         (list-colors-sort): New defcustom.
10377         (list-colors-sort-key): New function.
10378         (list-colors-display): Doc fix.  Sort list according to the option
10379         `list-colors-sort'.
10380         (list-colors-print): Add HSV values to `help-echo' property of
10381         RGB strings.
10383 2010-06-14  Juri Linkov  <juri@jurta.org>
10385         * compare-w.el: Move to the "vc" subdirectory.
10387 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10389         * image-mode.el (image-mode-map): Remap left-char and right-char.
10391         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
10393 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
10395         * term/common-win.el (x-colors): Add all the color names defined
10396         in rgb.txt (Bug#6332).
10398         * facemenu.el (list-colors-print): Don't print extra names if it
10399         will overflow the window width.
10401         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
10402         change (Bug#6343).
10404 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
10406         * files.el (make-directory): Doc fix (bug#6396).
10408 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
10410         * net/tramp.el (tramp-remote-process-environment): Protect version
10411         string by apostroph.
10412         (tramp-shell-prompt-pattern): Do not use a shy group in case of
10413         XEmacs.
10414         (tramp-file-name-for-operation): Add `call-process-region'.
10415         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
10417         * net/tramp-compat.el (top): Do not autoload
10418         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
10419         only when `start-file-process' is not bound.
10420         (tramp-advice-file-expand-wildcards): Do not use
10421         `tramp-handle-file-remote-p'.
10422         (tramp-compat-make-temp-file): Handle the case, that
10423         `make-temp-file' has no third argument EXTENSION.
10425 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
10427         * makefile.w32-in (WINS_BASIC): Include new directory vc.
10429         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
10431 2010-06-11  Juri Linkov  <juri@jurta.org>
10433         * finder.el (finder-known-keywords): Add keyword "vc"
10434         for version control.
10436         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
10437         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
10438         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
10439         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
10441 2010-06-11  Juri Linkov  <juri@jurta.org>
10443         Move version control related files to the "vc" subdirectory.
10444         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
10445         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
10446         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
10447         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
10448         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
10449         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
10450         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
10451         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
10452         Move files to the "vc" subdirectory.
10454 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
10456         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
10457         (Bug#6367).
10459 2010-06-11  Stephen Eglen  <stephen@gnu.org>
10461         * shell.el: Bind `shell-resync-dirs' to M-RET.
10463 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
10465         * notifications.el: Move file from lisp/net, because it is
10466         supposed to talk locally to the user.
10468 2010-06-10  Julien Danjou  <julien@danjou.info>
10470         * net/notifications.el (notifications-on-action-signal)
10471         (notifications-on-closed-signal): Pass notification id as first
10472         argument to the callback functions.  Add docstrings.
10473         (notifications-notify): Fix docstring.
10475 2010-06-10  Glenn Morris  <rgm@gnu.org>
10477         * emacs-lisp/authors.el (authors-ignored-files)
10478         (authors-valid-file-names): Add some files.
10480 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10482         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
10483         merge conflict, giving preference to the emacs-23 version of the code.
10485 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10487         * emacs-lisp/advice.el (ad-compile-function):
10488         Define warning-suppress-types before we let-bind it (bug#6275).
10490         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
10491         declare it, make it buffer-local and permanent-local (bug#6324).
10492         (vc-resynch-window): Adjust name.
10493         * vc-hooks.el (vc-find-file-hook): Adjust name.
10495 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
10497         * net/notifications.el (notifications-notify): Fix docstring.
10499 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
10501         Update to Unicode 6.0.0 beta.
10502         * international/charprop.el: Update copyright.
10503         * international/mule-cmds.el (ucs-names): Update character ranges.
10504         * international/uni-bidi.el:
10505         * international/uni-category.el:
10506         * international/uni-combining.el:
10507         * international/uni-comment.el:
10508         * international/uni-decimal.el:
10509         * international/uni-decomposition.el:
10510         * international/uni-digit.el:
10511         * international/uni-lowercase.el:
10512         * international/uni-mirrored.el:
10513         * international/uni-name.el:
10514         * international/uni-numeric.el:
10515         * international/uni-old-name.el:
10516         * international/uni-titlecase.el:
10517         * international/uni-uppercase.el: Regenerate.
10519 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
10521         * emacs-lisp/smie.el (comment-string-strip): Declare function.
10522         (smie-precs-precedence-table): Fix typo in docstring.
10524         * vc-mtn.el (log-edit-extract-headers): Declare function.
10526         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
10528         * net/notifications.el (dbus-register-signal): Declare function.
10529         (notifications-notify): Fix typos and reflow docstring.
10531 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
10533         Improve VC create/retrieve tag/branch.
10534         * vc.el (vc-create-tag): Do not read the directory name for VCs
10535         with repository revision granularity.  Adjust the tag/branch
10536         prompt.  Reset VC properties.
10537         (vc-retrieve-tag): Do not read the directory name for VCs
10538         with repository revision granularity.  Reset VC properties.
10540 2010-06-09  Julien Danjou  <julien@danjou.info>
10542         * net/notifications.el: New file.
10544 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
10546         Add optional support for resetting VC properties.
10547         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
10548         call vc-file-clearprops when true.
10549         (vc-resynch-buffer): Add new optional argument, pass it down.
10550         (vc-resynch-buffers-in-directory): Likewise.
10552         Improve support for special markup in the VC commit message.
10553         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
10554         * vc-hg.el (vc-hg-checkin): Add support for Date:.
10555         * vc-git.el (vc-git-checkin):
10556         * vc-bzr.el (vc-bzr-checkin): Likewise.
10558 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10560         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
10561         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
10563 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
10565         * iimage.el: Remove images as soon as the underlying text is modified.
10566         (iimage-modification-hook): New function.
10567         (iimage-mode-buffer): Use it.
10569 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10571         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
10572         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
10573         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
10574         (smie-indent-keyword): Add handling of open-paren keywords.
10575         (smie-indent-comment-continue): Don't assume comment-continue.
10577 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
10579         * window.el (pop-to-buffer): Remove the conditional that
10580         compares new-window and old-window, so it will reselect
10581         the selected window unconditionally.
10582         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
10584 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10586         * emacs-lisp/smie.el (smie-indent-offset-after)
10587         (smie-indent-forward-token, smie-indent-backward-token): New functions.
10588         (smie-indent-after-keyword): Use them.
10589         (smie-indent-fixindent): Only applies to the indentation of the BOL.
10590         (smie-indent-keyword): Tweak the black magic.
10591         (smie-indent-comment-continue): Strip comment-continue before use.
10592         (smie-indent-functions): Indent comments before keywords.
10594 2010-06-06  Juri Linkov  <juri@jurta.org>
10596         * isearch.el (isearch-lazy-highlight-search): Fix looping
10597         by checking for empty match.  This syncs this loop with the
10598         similar loop in `isearch-search'.  (Bug#6362)
10600 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
10602         * net/dbus.el (dbus-register-method): Declare function.
10603         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
10604         (dbus-introspect): Doc fix.
10605         (dbus-event-bus-name, dbus-introspect-get-interface)
10606         (dbus-introspect-get-argument): Reflow docstrings.
10608 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
10610         vc-log-incoming/vc-log-outgoing fixes for Git.
10611         * vc-git.el (vc-git-log-view-mode): Fix font lock for
10612         incoming/outgoing logs.
10613         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
10614         instead of vc-git-compute-remote.
10615         (vc-git-compute-remote): Remove.
10617 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
10619         * term/common-win.el (x-colors): Add "dark green" and "dark
10620         turquoise" (Bug#6332).
10622 2010-06-04  Juri Linkov  <juri@jurta.org>
10624         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
10625         Instead of setting `replace' to t and replacing the same string
10626         with itself, don't do certain actions when
10627         kill-do-not-save-duplicates is non-nil and string is equal to car
10628         of kill-ring: don't call menu-bar-update-yank-menu, don't push
10629         interprogram-paste strings to kill-ring, and don't push the input
10630         argument `string' to kill-ring.
10631         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
10633 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
10635         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
10637 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
10639         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
10640         (tramp-gvfs-handler-mounted-unmounted)
10641         (tramp-gvfs-connection-mounted-p): Handle default-location.
10643         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
10644         move files to trash.
10646 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
10648         * international/mule-cmds.el (nonascii-insert-offset)
10649         (nonascii-translation-table): Add obsolescence information.
10651         * international/mule.el (make-translation-table-from-vector): Doc fix.
10653 2010-06-03  Glenn Morris  <rgm@gnu.org>
10655         * desktop.el (desktop-clear-preserve-buffers):
10656         Add "*Warnings*" buffer.  (Bug#6336)
10658 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
10660         vc-log-incoming/vc-log-outgoing improvements for Git.
10661         * vc-git.el (vc-git-log-outgoing): Use the same format as the
10662         short log.
10663         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
10665         Add bindings for vc-log-incoming and vc-log-outgoing.
10666         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
10667         and vc-log-outgoing.
10668         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
10669         and vc-log-outgoing.
10671 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
10673         * net/rcirc.el (rcirc-sort-nicknames): Remove.
10674         (rcirc-handler-366): Always sort nicknames.
10676 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
10678         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
10680 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
10682         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
10684 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10686         * net/rcirc.el (rcirc-sort-nicknames): Change default.
10687         (rcirc-sort-nicknames-join): Avoid setq.
10689 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
10691         * net/rcirc.el (rcirc-sort-nicknames): New custom.
10692         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
10693         (rcirc-handler-366): Use them.
10695 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10697         Split smie-indent-calculate into more manageable chunks.
10698         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
10699         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
10700         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
10701         (smie-indent-exps): Extract from smie-indent-calculate.
10702         (smie-indent-functions): New var.
10703         (smie-indent-functions): Use them.
10705 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10707         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
10708         (smie-indent-calculate): Simplify and cleanup.
10710 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
10712         * net/tramp-gvfs.el (top): Require url-util.
10713         (tramp-gvfs-mount-point): Remove.
10714         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
10715         New defuns.
10716         (with-tramp-dbus-call-method): Format trace message.
10717         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
10718         Implement backup call, when operation on local files fails.
10719         Use progress reporter.  Flush properties of changed files.
10720         (tramp-gvfs-handle-make-directory): Make more traces.
10721         (tramp-gvfs-url-file-name): Hexify file name in url.
10722         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
10723         into account for the resulting file name.
10724         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
10725         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
10726         (tramp-gvfs-handler-mounted-unmounted)
10727         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
10728         attribute "default_location".  Set "prefix" property.
10729         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
10730         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
10731         exists.  Raise an error, if not (due to a corresponding answer
10732         "no" in interactive questions, for example).
10734 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
10736         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
10738 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
10740         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
10741         right-*.  (Bug#6265)
10743 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
10745         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
10746         * vc-git.el (vc-git-compute-remote): New function.
10747         (vc-git-log-outgoing): Use it instead of hard coding a value.
10748         (vc-git-log-incoming): New function.
10750         Improve state updating for VC tag commands.
10751         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
10752         to update the state of all buffers in the directory.
10754         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
10756 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10758         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
10759         `file-directory-p' to the filename part rather than to the whole text.
10761 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10763         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
10765 2010-05-31  Drew Adams  <drew.adams@oracle.com>
10767         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
10769 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
10771         * subr.el (momentary-string-display): Just use read-event to read
10772         the exit event (Bug#6238).
10774 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
10776         * international/mule.el (define-coding-system): Doc fix (bug#6313).
10778 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
10780         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
10781         Suggested by Eli Zaretskii <eliz@gnu.org>.
10783 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10785         * minibuffer.el (completion-file-name-table): Don't return a boundary
10786         past the end of `string' (bug#6299).
10787         (completion--file-name-table): Delegate to completion-file-name-table
10788         for the `boundaries' case.
10790 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
10792         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
10793         movement commands.
10795         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
10796         `path-separator', but maintain compatibility with Emacs 20.2.
10798 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
10800         * server.el (server-process-filter): Receive parent-id argument
10801         from emacsclient.
10802         (server-create-window-system-frame): New arg.  Pass parent-id as
10803         frame parameter.
10805 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
10807         Bidi-sensitive word movement with arrow keys.
10808         * subr.el (right-arrow-command, left-arrow-command): Move to
10809         bindings.el.
10811         * bindings.el (right-char, left-char): Move from subr.el and
10812         rename from right-arrow-command and left-arrow-command.
10813         (right-word, left-word): New functions.
10814         (global-map) <right>: Bind to right-char.
10815         (global-map) <left>: Bind to left-char.
10816         (global-map) <C-right>: Bind to right-word.
10817         (global-map) <C-left>: Bind to left-word.
10819         * ls-lisp.el (ls-lisp-classify-file): New function.
10820         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
10821         (ls-lisp-classify): Call ls-lisp-classify-file.
10822         (insert-directory): Remove blanks from switches.
10824 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
10826         * ansi-color.el: Delete unused escape sequences (Bug#6085).
10827         (ansi-color-drop-regexp): New constant.
10828         (ansi-color-apply, ansi-color-filter-region)
10829         (ansi-color-apply-on-region): Delete unrecognized control sequences.
10830         (ansi-color-apply): Build string list before calling concat.
10832 2010-05-28  Juri Linkov  <juri@jurta.org>
10834         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10835         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
10836         (Bug#5270)
10838 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
10840         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
10841         to ignored backtrace functions.
10842         (with-progress-reporter): Expand docstring.
10843         (tramp-handle-delete-file): Implement TRASH argument.
10844         (tramp-get-remote-trash): New defun.
10846 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
10848         * net/tramp-compat.el (tramp-compat-delete-file):
10849         Use `symbol-value' for backward compatibility.
10851         * net/tramp.el (tramp-handle-make-symbolic-link)
10852         (tramp-handle-load)
10853         (tramp-do-copy-or-rename-file-via-buffer)
10854         (tramp-do-copy-or-rename-file-directly)
10855         (tramp-do-copy-or-rename-file-out-of-band)
10856         (tramp-handle-process-file, tramp-handle-call-process-region)
10857         (tramp-handle-shell-command, tramp-handle-file-local-copy)
10858         (tramp-handle-insert-file-contents, tramp-handle-write-region)
10859         (tramp-delete-temp-file-function): Use `delete-file' instead
10860         of `tramp-compat-delete-file'.
10862         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10863         (tramp-fish-handle-make-symbolic-link)
10864         (tramp-fish-handle-process-file): Use `delete-file' instead
10865         of `tramp-compat-delete-file'.
10867         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10868         Use `delete-file' instead of `tramp-compat-delete-file'.
10870         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region):
10871         Use `delete-file' instead of `tramp-compat-delete-file'.
10873         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
10874         Use `delete-file' instead of `tramp-compat-delete-file'.
10876         * net/tramp-smb.el (tramp-smb-handle-copy-file)
10877         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10878         (tramp-smb-handle-write-region): Use `delete-file' instead of
10879         `tramp-compat-delete-file'.
10880         (tramp-smb-handle-delete-directory): Use 'trash as arg.
10882 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
10884         * dired.el (dired-delete-file): New arg TRASH.
10885         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
10886         (dired-do-flagged-delete, dired-do-delete): Use trash.
10888         * speedbar.el (speedbar-item-delete): Allow trashing.
10890         * files.el (delete-directory): New arg TRASH.
10892         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
10893         (ange-ftp-rename-remote-to-remote)
10894         (ange-ftp-rename-local-to-remote)
10895         (ange-ftp-rename-remote-to-local, ange-ftp-load)
10896         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
10897         `delete-file'.
10898         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
10899         allow trashing.
10901         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
10902         handle new TRASH arg of `delete-file'.
10904         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
10905         (tramp-handle-make-symbolic-link, tramp-handle-load)
10906         (tramp-do-copy-or-rename-file-via-buffer)
10907         (tramp-do-copy-or-rename-file-directly)
10908         (tramp-do-copy-or-rename-file-out-of-band)
10909         (tramp-handle-process-file, tramp-handle-call-process-region)
10910         (tramp-handle-shell-command, tramp-handle-file-local-copy)
10911         (tramp-handle-insert-file-contents, tramp-handle-write-region)
10912         (tramp-delete-temp-file-function): Use null TRASH arg in
10913         tramp-compat-delete-file call.
10915         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10916         (tramp-fish-handle-delete-file)
10917         (tramp-fish-handle-make-symbolic-link)
10918         (tramp-fish-handle-process-file): Use null TRASH arg in
10919         `tramp-compat-delete-file' call.
10921         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
10922         arg in `tramp-compat-delete-file' call.
10924         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
10925         (tramp-gvfs-handle-write-region): Use null TRASH arg in
10926         `tramp-compat-delete-file' call.
10928         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
10929         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
10930         `tramp-compat-delete-file' call.
10932         * net/tramp-smb.el (tramp-smb-handle-copy-file)
10933         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10934         (tramp-smb-handle-write-region): Use null TRASH arg in
10935         tramp-compat-delete-file call.
10936         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
10937         (tramp-smb-handle-delete-file): Rename arg.
10939         * diff.el (diff-sentinel):
10940         * epg.el (epg--make-temp-file, epg-decrypt-string)
10941         (epg-verify-string, epg-sign-string, epg-encrypt-string):
10942         * jka-compr.el (jka-compr-partial-uncompress)
10943         (jka-compr-call-process, jka-compr-write-region):
10944         * server.el (server-sentinel): Remove optional arg from
10945         delete-file, reverting 2010-05-03 change.
10947 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
10949         * progmodes/verilog-mode.el (verilog-type-font-keywords):
10950         Use font-lock-constant-face, not obsolete font-lock-reference-face.
10952 2010-05-27  Kenichi Handa  <handa@m17n.org>
10954         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
10955         element of GSTRING is nil.
10957 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10959         * emacs-lisp/smie.el (smie-forward-token-function)
10960         (smie-backward-token-function): New vars.
10961         (smie-backward-sexp, smie-forward-sexp)
10962         (smie-indent-hanging-p, smie-indent-calculate): Use them.
10963         (smie-default-backward-token): Rename from smie-backward-token and
10964         skip comments.
10965         (smie-default-forward-token): Rename from smie-forward-token and
10966         skip comments.
10967         (smie-next-sexp): Handle nil results from next-token.
10968         (smie-indent-calculate): Add a new case for special `fixindent' comments.
10970 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
10972         * progmodes/verilog-mode.el (verilog-type-font-keywords):
10973         Use font-lock-constant-face, not obsolete font-lock-reference-face.
10975 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
10977         * htmlfontify.el (hfy-face-resolve-face): New function.
10978         (hfy-face-to-style): Use it (Bug#6279).
10980 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10982         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
10983         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
10985 2010-05-26  Glenn Morris  <rgm@gnu.org>
10987         * emulation/edt.el (edt-load-keys): Use locate-library.
10989 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
10991         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
10992         (log-edit-changelog-entries): Doc fix.
10993         (log-edit-changelog-insert-entries): Args changed.
10994         Rename relative filenames in ChangeLog entries.  Delete tabs.
10995         (log-edit-insert-changelog-entries): Reorganize return value of
10996         `log-edit-changelog-entries' to pass filenames to
10997         log-edit-changelog-insert-entries.
10999 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11001         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
11002         `image-dired-dired-insert-marked-thumbs' to
11003         `image-dired-dired-toggle-marked-thumbs'.
11005         * image-dired.el: Require cl when compiling.
11006         (image-dired-dired-toggle-marked-thumbs): Rename from
11007         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
11008         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
11009         to 'no-dir.  Skip files whose names don't match
11010         `image-file-name-regexp'.  When file has a thumbnail overlay,
11011         delete it.  (Bug#5270)
11013 2010-05-25  Juri Linkov  <juri@jurta.org>
11015         * image-mode.el (image-mode): Add image-after-revert-hook to
11016         after-revert-hook.
11017         (image-after-revert-hook): New function.  (Bug#5669)
11019 2010-05-25  Juri Linkov  <juri@jurta.org>
11021         * image.el (image-animated-p): When delay between animated images
11022         is 0, set it to 10 (0.1 sec).  (Bug#6258)
11024 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
11026         * net/tramp.el (tramp-handle-insert-directory): Don't use
11027         `forward-word', its default syntax could be changed.
11029 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
11031         * net/tramp.el (tramp-progress-reporter-update): New defun.
11032         (with-progress-reporter): Use it.
11033         (tramp-process-actions):
11034         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
11035         Preserve current message, in order to let progress reporter continue
11036         afterwards.  (Bug#6257)
11038 2010-05-25  Glenn Morris  <rgm@gnu.org>
11040         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
11041         Add :version.
11043 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
11045         * net/rcirc.el (rcirc-default-user-name): Change to "user".
11046         (rcirc-default-full-name): Change to "unknown".
11047         (rcirc-user-name-history): Add variable.
11049 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
11050             Jonathan Rockway  <jon@jrock.us>
11052         * net/rcirc.el (rcirc-server-alist): Add :pass.
11053         (rcirc): When prompting for connection parameters, also prompt for
11054         username and password.
11055         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
11056         value to server when connecting.
11058 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11060         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
11061         (smie-merge-prec2s): Pass the tables as separate args.
11062         (smie-bnf-precedence-table): Adjust call accordingly.
11063         (smie-prec2-levels): Set levels at the end.
11065         Replace Lisp calls to delete-backward-char by delete-char.
11066         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
11067         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
11068         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
11069         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
11070         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
11071         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
11072         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
11073         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
11074         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
11075         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
11076         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
11077         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
11078         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
11079         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
11080         delete-backward-char by calls to delete-char.
11082 2010-05-25  Kenichi Handa  <handa@m17n.org>
11084         * language/hebrew.el (hebrew-shape-gstring): New function.
11085         Register it in composition-function-table for all Hebrew combining
11086         characters.
11088 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11090         * epa.el (epa--select-keys): Don't explicitly delete the window since
11091         that can fail (e.g. sole window in frame).  Use dedication instead.
11093 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
11095         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
11097 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
11099         * image.el (image-refresh): Define as an alias for image-flush.
11101         * image-mode.el (image-toggle-display-image): Caller changed.
11103 2010-05-21  Juri Linkov  <juri@jurta.org>
11105         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
11106         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
11107         whitespace, call wildcard-to-regexp on substrings and concat them
11108         with "\\|".  (Bug#6114)
11110 2010-05-21  Alan Mackenzie  <acm@muc.de>
11112         * progmodes/cc-engine.el (c-parse-state-get-strategy):
11113         Replace parameter `here' with `here-' and `here-plus', which sandwich
11114         any pertinent CPP construct.
11115         (c-remove-stale-state-cache-backwards): Fix a bug which happens
11116         when doing (c-parse-state) in a CPP construct: Exclude any "new"
11117         CPP construct from taking part in the scanning.
11119 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
11121         * net/tramp.el (tramp-do-copy-or-rename-file)
11122         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
11123         Tune `with-progress-reporter' messages.
11124         (tramp-handle-vc-registered):
11125         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
11126         (tramp-fish-handle-insert-file-contents)
11127         (tramp-fish-maybe-open-connection):
11128         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11129         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
11130         (tramp-imap-handle-insert-file-contents)
11131         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
11133 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
11135         * add-log.el (change-log-font-lock-keywords):
11136         Highlight all authors in multi-author entries.
11138         * smerge-mode.el (smerge-refine-ignore-whitespace)
11139         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
11140         Fix typos in docstrings.
11141         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
11143 2010-05-21  Glenn Morris  <rgm@gnu.org>
11145         * progmodes/fortran.el (fortran-mode):
11146         * progmodes/f90.el (f90-mode): Derive from prog-mode.
11148         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
11149         having a relative path in src/Makefile.in.
11151 2010-05-20  Kevin Ryde  <user42@zip.com.au>
11153         * help-mode.el (help-make-xrefs): For Info node links turn
11154         newlines into spaces.  Link node names with newlines are matched
11155         by help-xref-info-regexp and buttonized, this change ensures they
11156         can be followed successfully with RET.  (Bug#6206)
11158 2010-05-20  Juri Linkov  <juri@jurta.org>
11160         * locate.el (locate): Use pop-to-buffer instead of
11161         switch-to-buffer-other-window.  (Bug#6204)
11163 2010-05-20  Juri Linkov  <juri@jurta.org>
11165         * replace.el (replace-highlight): Fix lazy-highlighting
11166         for `M-s w str M-% str RET'.
11168 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
11170         * isearch.el (isearch-yank-word-or-char): Pull next subword
11171         when `subword-mode' is activated.  (Bug#6220)
11173 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
11175         * isearch.el (isearch-update-post-hook): New hook.
11176         (isearch-update): Use the new hook.  (Bug#6225)
11178 2010-05-20  Juri Linkov  <juri@jurta.org>
11180         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
11181         [f1], [help], and (char-to-string help-char) instead of "\C-h".
11182         (Bug#6222)
11184 2010-05-20  Juri Linkov  <juri@jurta.org>
11186         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
11187         (Bug#6223)
11189 2010-05-20  Juri Linkov  <juri@jurta.org>
11191         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
11192         FILE-NAME to read from the minibuffer when called interactively
11193         with prefix argument instead of using buffer-file-name.
11194         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
11196         * dired.el: Update autoloads.
11198 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
11200         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
11201         nxml-finish-element, for consistency with SGML mode.
11203         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
11204         octave-close-block.
11206 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
11208         * composite.el: Require cl when compiling.
11209         (reference-point-alist, compose-gstring-for-graphic)
11210         (compose-gstring-for-terminal): Fix typos in docstrings.
11212 2010-05-19  Juri Linkov  <juri@jurta.org>
11214         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
11215         set-window-parameter.
11217 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
11219         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
11220         where appropriate.
11221         (tramp-maybe-open-connection): Use it.
11223 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
11225         * simple.el (move-end-of-line): Make sure we are at line beginning
11226         before backing up to end of previous line.
11228 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
11230         * password-cache.el (password-cache-remove): Fix docstring.
11232         * net/secrets.el: Autoload the widget functions.
11233         (secrets-search-items, secrets-create-item)
11234         (secrets-get-attributes, secrets-expand-item): Attributes will be
11235         stored on the password database without leading ":", as all other
11236         clients do as well.
11237         (secrets-mode): Fix docstring.
11238         (secrets-show-secrets): Provide it as autoloaded command only when
11239         D-Bus support is available.  Check existence of Secret Service API.
11241 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11243         * indent.el (indent-region): Deactivate region (bug#6200).
11245 2010-05-19  Glenn Morris  <rgm@gnu.org>
11247         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
11249 2010-05-19  Kenichi Handa  <handa@m17n.org>
11251         * composite.el: Register compose-gstring-for-graphic in
11252         composition-function-table only for combining characters (Mn, Mc, Me).
11254 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
11256         * calc/calc-trail.el (calc-trail-isearch-forward)
11257         (calc-trail-isearch-backward): Ensure that the new window
11258         point is set correctly.
11260 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11262         * subr.el (read-quoted-char): Resolve modifiers after key
11263         remapping (bug#6212).
11265 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
11267         Add visualization code for secrets.
11268         * net/secrets.el (secrets-mode): New major mode.
11269         (secrets-show-secrets, secrets-show-collections)
11270         (secrets-expand-collection, secrets-expand-item)
11271         (secrets-tree-widget-after-toggle-function)
11272         (secrets-tree-widget-show-password): New defuns.
11274 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11276         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
11277         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
11278         handled in smie-next-sexp.
11279         (smie-indent-calculate): Provide a starting indentation (so the
11280         recursion is well-founded ;-).
11282         Fix handling of non-associative equal levels.
11283         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
11284         when it's not needed.
11285         (smie-op-left, smie-op-right): New functions.
11286         (smie-next-sexp): New function, extracted from smie-backward-sexp.
11287         Better handle equal levels to distinguish the associative case from
11288         the "multi-keyword construct" case.
11289         (smie-backward-sexp, smie-forward-sexp): Use it.
11291 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
11293         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
11295         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
11296         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
11298 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11300         Provide a simple generic indentation engine and use it for Prolog.
11301         * emacs-lisp/smie.el: New file.
11302         * progmodes/prolog.el (prolog-smie-op-levels)
11303         (prolog-smie-indent-rules): New var.
11304         (prolog-mode-variables): Use them to configure SMIE.
11305         (prolog-indent-line, prolog-indent-level): Remove.
11307 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
11309         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
11310         order before computing the averages.
11312 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
11314         * calc/calc-vec.el (calc-histogram):
11315         (calcFunc-histogram): Allow vectors as inputs.
11316         (math-vector-avg): New function.
11318         * calc/calc-ext.el (math-group-float): Have the number of digits
11319         being grouped depend on the radix (Bug#6189).
11321 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
11323         * version.el (emacs-copyright, emacs-version): Don't define here,
11324         now that emacs.c defines it.
11326 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
11328         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
11329         "Describe Language Environment" menu item.
11331         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
11333         Bidi-sensitive movement with arrow keys.
11334         * subr.el (right-arrow-command, left-arrow-command): New functions.
11336         * bindings.el (global-map): Bind them to right and left arrow keys.
11338         Don't override standard definition of convert-standard-filename.
11339         * files.el (convert-standard-filename):
11340         Call w32-convert-standard-filename and dos-convert-standard-filename on
11341         the corresponding systems.
11343         * w32-fns.el (w32-convert-standard-filename): Rename from
11344         convert-standard-filename.  Doc fix.
11346         * dos-fns.el (dos-convert-standard-filename): Doc fix.
11347         (convert-standard-filename): Don't defalias.
11348         (register-name-alist, make-register, register-value)
11349         (set-register-value, intdos): Obsolete aliases for the
11350         corresponding dos-* functions and variables.
11351         (dos-intdos): Add a doc string.
11353 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
11355         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
11356         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
11357         (math-compose-tex-func):
11358         * calc/calccomp.el (math-compose-expr):
11359         * calc/calc-ext.el (math-format-flat-expr-fancy):
11360         * calc/calc-store.el (calc-read-var-name):
11361         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
11363         * calc/calc.el (var-π, var-φ, var-γ): New variables.
11364         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
11365         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
11366         (math-standard-units): Add units.
11368 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11370         * progmodes/asm-mode.el (asm-mode):
11371         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
11373         * pcomplete.el (pcomplete-completions-at-point): New function,
11374         extracted from pcomplete-std-complete.
11375         (pcomplete-std-complete): Use it.
11377 2010-05-15  Glenn Morris  <rgm@gnu.org>
11379         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11380         Remove references to CVS, RCS and Old directories.
11382 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
11384         * calc/calc-bin.el (math-format-twos-complement): Group digits when
11385         appropriate.
11387 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11389         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
11390         (sh-mode-syntax-table): Give it a default value instead.
11391         (sh-header-marker): Make buffer-local.
11392         (sh-mode): Move make-local-variable to the corresponding setq.
11393         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
11394         Use complete-with-action.
11396         * simple.el (prog-mode): New (abstract) major mode.
11397         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
11398         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
11400 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
11402         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
11403         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
11404         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
11405         (sql-make-alternate-buffer-name, sql-placeholders-filter)
11406         (sql-escape-newlines-filter, sql-input-sender)
11407         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
11409 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
11411         Add TeX open-block and close-block keybindings to SGML, and vice versa.
11413         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
11414         latex-open-block and C-c / to latex-close-block.
11416         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
11417         and C-c C-e to sgml-close-tag.
11419 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
11421         * net/tramp.el (with-progress-reporter): Create reporter object
11422         only when the message would be displayed.  Handle nested calls.
11423         (tramp-handle-load, tramp-handle-file-local-copy)
11424         (tramp-handle-insert-file-contents, tramp-handle-write-region)
11425         (tramp-maybe-send-script, tramp-find-shell):
11426         Use `with-progress-reporter'.
11427         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
11428         Fix message text.
11430         * net/tramp-smb.el (tramp-smb-handle-copy-file)
11431         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
11432         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
11433         Use `with-progress-reporter'.
11435 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
11437         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
11438         process everytime when spellchecking from the minibuffer (bug#6143).
11440 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11442         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
11444         * dos-fns.el: Add "dos-" prefix for namespace control.
11445         (convert-standard-filename): Define as alias for
11446         dos-convert-standard-filename but only if applicable.
11448 2010-05-12  Alan Mackenzie  <acm@muc.de>
11450         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
11451         Push the mark at the start of these functions when appropriate.
11453 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11455         * minibuffer.el (completion-cycle-threshold): New custom var.
11456         (completion--do-completion): Use it.
11457         (minibuffer-complete): Use cycling if appropriate.
11459 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
11461         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
11462         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
11464 2010-05-11  Juri Linkov  <juri@jurta.org>
11466         * scroll-all.el (scroll-all-check-to-scroll):
11467         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
11469 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11471         * iimage.el (iimage-mode-map): Move initialization into declaration.
11472         (iimage-mode-buffer): Use with-silent-modifications.
11473         Simplify calling convention.  Adjust callers.
11474         (iimage-mode): Don't run hook redundantly.
11476         * minibuffer.el (completion-pcm--pattern->regex):
11477         Fix last change (bug#6160).
11479 2010-05-10  Juri Linkov  <juri@jurta.org>
11481         Remove nodes visited during Isearch from the Info history.
11482         * info.el (Info-isearch-initial-history)
11483         (Info-isearch-initial-history-list): New variables.
11484         (Info-isearch-start): Record initial values of
11485         Info-isearch-initial-history and Info-isearch-initial-history-list.
11486         Add Info-isearch-end to isearch-mode-end-hook.
11487         (Info-isearch-end): New function.
11489 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
11491         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
11492         format string, in order to work around a bug in pdksh.
11493         Reported by Gilles Pion <gpion@lfdj.com>.
11494         (tramp-handle-verify-visited-file-modtime): Do not send a command
11495         when the connection is not established.
11496         (tramp-handle-set-file-times): Simplify the check for utc.
11498 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
11500         Fix use of `filter-buffer-substring' (rework previous change).
11501         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
11502         (cua-repeat-replace-region):
11503         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
11504         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11505         (cua-cut-region-to-global-mark): Use it.
11507 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
11509         * progmodes/sql.el: Version 2.1.
11510         (sql-product-alist): Redesign structure of product info.
11511         (sql-product, sql-user, sql-server, sql-database): Safe variables.
11512         (sql-port, sql-port-history): New variables.
11513         (sql-interactive-product): New variable.
11514         (sql-send-terminator): New variable.
11515         (sql-imenu-generic-expression): Add "Types" imenu entry.
11516         (sql-oracle-login-params, sql-sqlite-login-params)
11517         (sql-mysql-login-params, sql-solid-login-params)
11518         (sql-sybase-login-params, sql-informix-login-params)
11519         (sql-ingres-login-params, sql-ms-login-params)
11520         (sql-postgres-login-params, sql-interbase-login-params)
11521         (sql-db2-login-params, sql-linter-login-params)
11522         (sql-oracle-scan-on): New variables.
11523         (sql-mode-map): Add C-c C-i to start interactive mode.
11524         (sql-mode-menu): Update existing menu entries.
11525         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
11526         (sql-mode-oracle-font-lock-keywords)
11527         (sql-mode-postgres-font-lock-keywords)
11528         (sql-mode-ms-font-lock-keywords)
11529         (sql-mode-sybase-font-lock-keywords)
11530         (sql-mode-informix-font-lock-keywords)
11531         (sql-mode-interbase-font-lock-keywords)
11532         (sql-mode-ingres-font-lock-keywords)
11533         (sql-mode-solid-font-lock-keywords)
11534         (sql-mode-mysql-font-lock-keywords)
11535         (sql-mode-sqlite-font-lock-keywords)
11536         (sql-mode-db2-font-lock-keywords)
11537         (sql-mode-linter-font-lock-keywords): Update initialization to
11538         reduce run-time complexity.
11539         (sql-add-product, sql-del-product): New functions.
11540         (sql-set-product-feature, sql-get-product-feature): New functions.
11541         (sql-product-font-lock): Update product API.
11542         (sql-add-product-keywords): New function.
11543         (sql-highlight-product): Update product API.
11544         (sql-help-list-products): New function.
11545         (sql-help): Dynamically lists free and non-free products.
11546         (sql-get-login): Correct bug in handling history and added
11547         prompt for port.
11548         (sql-copy-column): Copy without properties.
11549         (sqli-input-sender): Apply filters to SQLi input.
11550         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
11551         Implement as a filter.
11552         (sql-escape-newlines-filter): Implement as a filter.
11553         (sql-remove-tabs-filter): New function.
11554         (sql-send-magic-terminator): New function.
11555         (sql-send-string): Implement magic terminator.
11556         (sql-send-region): Use `sql-send-string'.
11557         (sql-interactive-mode): Use product API.
11558         (sql-product-interactive): Use product API.
11559         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
11560         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
11561         (sql-db2, sql-linter): Use `sql-product-interactive'.
11562         (sql-connect): New function.
11563         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
11564         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
11565         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
11566         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
11567         Use `sql-connect'.
11569 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
11571         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
11572         New custom variable.
11573         (completion-pcm--string->pattern): Use it.
11574         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
11575         Make it handle any symbol as `any'.
11576         (completion-pcm--merge-completions): Extract common suffix for the new
11577         `prefix' symbol as well.
11578         (completion-substring--all-completions): Use the new `prefix' symbol.
11580 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
11582         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
11583         not bound.
11584         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
11585         (tramp-compat-funcall): New defmacro.
11586         (tramp-compat-line-beginning-position)
11587         (tramp-compat-line-end-position)
11588         (tramp-compat-temporary-file-directory)
11589         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
11590         (tramp-compat-copy-file, tramp-compat-copy-directory)
11591         (tramp-compat-delete-file, tramp-compat-delete-directory)
11592         (tramp-compat-number-sequence, tramp-compat-process-running-p)
11593         * net/tramp.el (top, with-progress-reporter)
11594         (tramp-rfn-eshadow-setup-minibuffer)
11595         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
11596         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
11597         (tramp-completion-mode-p, tramp-check-for-regexp)
11598         (tramp-open-connection-setup-interactive-shell)
11599         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
11600         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
11601         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
11602         * net/tramp-cmds.el (tramp-cleanup-all-connections)
11603         (tramp-reporter-dump-variable, tramp-load-report-modules)
11604         (tramp-append-tramp-buffers)
11605         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
11607         * net/tramp-imap.el (top): Autoload `epg-make-context'.
11609 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11611         * progmodes/compile.el (compilation-buffer-modtime): Rename from
11612         buffer-modtime.  Adjust users.
11614 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
11616         * international/mule.el (auto-coding-alist): Only purecopy
11617         car of each item, not the whole list (Bug#6083).
11619 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
11621         * progmodes/js.el (js-mode): Make paragraph variables local before
11622         calling c-setup-paragraph-variables (Bug#6071).
11624 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
11626         * composite.el (compose-region, reference-point-alist): Fix typos
11627         in the doc strings.
11629 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
11631         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
11632         gnuplot's "set" command.
11634 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
11636         * abbrev.el (last-abbrev-text): Doc fix.
11637         (abbrev-prefix-mark): Don't escape parenthesis.
11639 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
11641         * composite.el (find-composition): Doc fix.
11643 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
11645         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
11646         (sql-oracle-program, sql-sqlite-options)
11647         (sql-query-placeholders-and-send): Doc fixes.
11648         (sql-set-product, sql-interactive-mode): Reflow docstrings.
11649         (sql-imenu-generic-expression, sql-buffer)
11650         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
11651         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
11652         (sql-mode-sybase-font-lock-keywords)
11653         (sql-mode-informix-font-lock-keywords)
11654         (sql-mode-interbase-font-lock-keywords)
11655         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
11656         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
11657         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
11658         (sql-product-feature, sql-highlight-product)
11659         (comint-line-beginning-position, sql-rename-buffer)
11660         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
11661         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
11662         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
11663         Fix typos in docstrings.
11665 2010-05-08  Juri Linkov  <juri@jurta.org>
11667         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
11668         property instead of `invisible' and `after-string' (bug#5998).
11670 2010-05-08  Juri Linkov  <juri@jurta.org>
11672         * image-mode.el (image-mode-as-text): Fix typo in docstring.
11674 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
11676         * filecache.el (file-cache-add-directory-list)
11677         (file-cache-add-directory-recursively): Fix typos in docstrings.
11679 2010-05-08  Kenichi Handa  <handa@m17n.org>
11681         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
11682         (gujarati-composable-pattern): Fix typo.
11684 2010-05-08  Kenichi Handa  <handa@m17n.org>
11686         * language/indian.el (oriya-composable-pattern)
11687         (tamil-composable-pattern, malayalam-composable-pattern):
11688         Add two-part vowels to "v" (vowel sign).
11690 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
11692         * files.el (copy-directory): Handle symlinks (Bug#5982).
11694 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
11696         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
11697         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
11698         (Bug#5846).
11700 2010-05-08  Glenn Morris  <rgm@gnu.org>
11702         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
11704         * minibuffer.el (completion-at-point): Doc fix.
11706 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11708         * electric.el (Electric-command-loop): Minor tweak.
11710         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
11711         better with dedicated windows.
11713 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
11715         * Version 23.2 released.
11717 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
11718             Stefan Monnier  <monnier@iro.umontreal.ca>
11720         Highlight vendor specific properties.
11721         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
11722         (css-proprietary-property): New face.
11723         (css-font-lock-keywords): Use them.
11725 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
11727         * cus-start.el (all): Add native condition for tool-bar-* symbols.
11729 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11731         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
11732         * files.el (auto-mode-alist): Remove redundant entries.
11734         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
11735         * simple.el (auto-save-mode): Move from files.el.
11736         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
11738 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
11740         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
11742 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
11744         * mail/binhex.el (binhex-decode-region-internal)
11745         * mail/uudecode.el (uudecode-decode-region-internal)
11746         * net/dns.el (dns-read-string-name, dns-write, dns-read)
11747         (dns-read-type, dns-query)
11748         * pgg-parse.el (pgg-parse-armor)
11749         * pgg.el (pgg-verify-region)
11750         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
11751         XEmacs.
11753         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
11755 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
11757         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
11759         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
11760         * emulation/cua-base.el (cua-repeat-replace-region):
11761         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11762         (cua-cut-region-to-global-mark):
11763         Remove text properties with `set-text-properties'.
11765 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
11767         * net/tramp.el (top, with-progress-reporter):
11768         Use `symbol-function' inside `funcall'.
11770         * net/tramp-compat.el (tramp-compat-file-attributes)
11771         (tramp-compat-delete-file, tramp-compat-delete-directory):
11772         Handle only `wrong-number-of-arguments' error.
11774         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
11775         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
11776         inside `funcall'.
11778 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11780         * minibuffer.el (completion--sreverse, completion--common-suffix):
11781         New functions.
11782         (completion-pcm--merge-completions): Extract common suffix when safe.
11784         * emacs-lisp/easy-mmode.el (define-minor-mode):
11785         Make :variable more flexible.
11786         * files.el (auto-save-mode): Use it to define using define-minor-mode.
11788 2010-05-05  Juri Linkov  <juri@jurta.org>
11790         Add `slow' and `history' tags to the desktop data.
11792         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
11793         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
11794         (Info-finder-find-node): Require `finder.el' to be able
11795         to restore node from the desktop.
11796         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
11797         data `Info-history' and `slow' tag in the assoc list.
11798         (Info-restore-desktop-buffer): Don't restore nodes with the
11799         `slow' tag.  Restore `Info-history'.
11801 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
11803         Add FORCE argument to `delete-file'.
11805         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
11806         forcing to delete the temporary file.
11807         (ange-ftp-delete-file): Add FORCE arg.
11808         (ange-ftp-rename-remote-to-remote)
11809         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
11810         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
11811         Force file deletion.
11813         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
11815         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
11816         (tramp-handle-make-symbolic-link, tramp-handle-load)
11817         (tramp-do-copy-or-rename-file-via-buffer)
11818         (tramp-do-copy-or-rename-file-directly)
11819         (tramp-do-copy-or-rename-file-out-of-band)
11820         (tramp-handle-process-file, tramp-handle-call-process-region)
11821         (tramp-handle-shell-command, tramp-handle-file-local-copy)
11822         (tramp-handle-insert-file-contents, tramp-handle-write-region)
11823         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
11825         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
11826         (tramp-fish-handle-make-symbolic-link)
11827         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
11829         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11830         Use `tramp-compat-delete-file'.
11832         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
11833         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
11835         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
11836         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
11838         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
11839         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
11840         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11841         Use `tramp-compat-delete-file'.
11843 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11845         Minor cleanups.
11846         * subr.el (add-minor-mode): Use push.
11847         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
11848         * emulation/edt.el (edt-select-mode): Simplify.
11850         Use define-minor-mode in more cases.
11851         * term/tvi970.el (tvi970-set-keypad-mode):
11852         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11853         (normal-erase-is-backspace-mode):
11854         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
11855         (set-scroll-bar-mode-1): (Re)move to its sole caller.
11856         (get-scroll-bar-mode): New function.
11857         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
11859         Use define-minor-mode for less obvious cases.
11860         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
11861         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
11862         * international/iso-ascii.el (iso-ascii-mode):
11863         * frame.el (auto-raise-mode, auto-lower-mode):
11864         * composite.el (global-auto-composition-mode): Use define-minor-mode.
11866 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
11868         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
11869         in order to see error messages for failed logins.
11871 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
11873         * diff.el (diff-sentinel):
11875         * epg.el (epg--make-temp-file, epg-decrypt-string)
11876         (epg-verify-string, epg-sign-string, epg-encrypt-string):
11878         * jka-compr.el (jka-compr-partial-uncompress)
11879         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
11881         * server.el (server-sentinel): Use delete-file's new FORCE arg
11882         (Bug#6070).
11884 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11886         Use define-minor-mode where applicable.
11887         * view.el (view-mode):
11888         * type-break.el (type-break-query-mode)
11889         (type-break-mode-line-message-mode):
11890         * textmodes/reftex.el (reftex-mode):
11891         * term/vt100.el (vt100-wide-mode):
11892         * tar-mode.el (tar-subfile-mode):
11893         * savehist.el (savehist-mode):
11894         * ibuf-ext.el (ibuffer-auto-mode):
11895         * composite.el (auto-composition-mode):
11896         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11897         Use define-minor-mode.
11898         (vhdl-mode): Use static mode-line format.
11899         (vhdl-mode-line-update): Delete.
11900         (vhdl-create-mode-menu, vhdl-activate-customizations)
11901         (vhdl-hs-minor-mode): Don't bother calling it.
11903 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11905         * simple.el (with-wrapper-hook): Move.
11906         (buffer-substring-filters): Mark obsolete.
11907         (filter-buffer-substring-functions): New variable.
11908         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
11910 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
11911             Michael Albinus  <michael.albinus@gmx.de>
11913         Implement compression for inline methods.
11915         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
11916         (tramp-copy-size-limit): Allow also nil.
11917         (tramp-inline-compress-commands): New defconst.
11918         (tramp-find-inline-compress, tramp-get-inline-compress)
11919         (tramp-get-inline-coding): New defuns.
11920         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
11921         replaced by `tramp-get-inline-coding'.
11922         (tramp-handle-file-local-copy, tramp-handle-write-region)
11923         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
11925 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11927         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
11928         Remove unused functions.
11930         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
11931         Set find-tag-default-function as a variable rather than a property.
11933         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
11934         * progmodes/etags.el (tags-completion-at-point-function):
11935         Remove left over interactive spec.  Add autoloading stub.
11936         (complete-tag): Use tags-completion-at-point-function.
11938 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
11940         * minibuffer.el (tags-completion-at-point-function): Fix return value.
11942 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
11944         * ido.el (ido-init-completion-maps): Remove C-v binding.
11945         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
11947 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
11949         * minibuffer.el (tags-completion-at-point-function): New function.
11950         (completion-at-point-functions): Use it.
11952         * progmodes/etags.el (complete-tag): Revert last change.
11954 2010-04-29  Alan Mackenzie  <acm@muc.de>
11956         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
11957         off-by-one error (in end of macro position).
11959 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11961         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
11962         firefox is absent.  Don't autoload.
11963         (browse-url-galeon-program): Don't autoload.
11965 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
11967         * bindings.el (complete-symbol): Move into minibuffer.el.
11969         * minibuffer.el (complete-tag): Move from etags.el.  If tags
11970         completion cannot be performed, return nil instead of signalling
11971         an error.
11972         (completion-at-point): Make it an alias for complete-symbol.
11973         (complete-symbol): Move from bindings.el, and replace with the
11974         body of completion-at-point.
11976         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
11978 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
11980         * net/tramp.el (tramp-remote-selinux-p): New defun.
11981         (tramp-handle-file-selinux-context)
11982         (tramp-handle-set-file-selinux-context): Use it.
11984 2010-04-28  Sam Steingold  <sds@gnu.org>
11986         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11987         `safe-local-variable' if the value is a string or a symbol with
11988         the property `bug-reference-url-format'.
11990 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
11992         * progmodes/bug-reference.el (bug-reference-url-format):
11993         Revert 2010-04-27 change due to security risk.
11995 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11997         Make it possible to locally disable a globally enabled mode.
11998         * simple.el (fundamental-mode): Run fundamental-mode-hook.
11999         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
12000         rather than kill-all-local-variables so it runs fundamental-mode-hook.
12001         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12002         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
12003         that subsequent hooks get a chance to disable it.
12005 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12007         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12008         Avoid re-enabling a minor mode after the user turned the minor mode
12009         off if MODE-enable-in-buffers is run twice (typically once from
12010         fundamental-mode's after-change-major-mode-hook and a second time from
12011         run-mode-hook's own after-change-major-mode-hook).
12013         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
12015 2010-04-27  Sam Steingold  <sds@gnu.org>
12017         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
12018         `safe-local-variable' if the value is a string or a function, as
12019         documented and implemented on 2010-04-02.
12021 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
12023         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
12024         when method is 'kill.
12026 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
12028         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
12029         condition in default directory check.
12030         (ispell-init-process, ispell-kill-ispell, kill-buffer-hook):
12031         Kill ispell process when killing its associated buffer.
12033 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
12035         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
12036         but we aren't using it.
12038 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
12040         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
12041         checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
12043 2010-04-24  Glenn Morris  <rgm@gnu.org>
12045         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
12046         Ignore VCS-ignore files, and deleted nextstep preferences files.
12047         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
12048         (authors-ambiguous-files): New list.
12049         (authors-valid-file-names): Add some deleted files.
12050         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
12051         (authors-disambiguate-file-name): New function.  (Bug#5501)
12052         (authors-canonical-file-name): Doc fix.
12053         Don't warn about obsolete files.
12054         (authors-canonical-file-name, authors-scan-el):
12055         Use authors-disambiguate-file-name.
12057         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
12058         Add autoload cookies.
12059         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
12060         (generated-autoload-file): Set file-local value to "htmlfontify.el".
12061         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
12062         They have definitions / compiler macros in cl.el.
12063         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
12064         Replace manual autoloads with generated ones.
12065         (htmlfontify-unload-rgb-file): Remove autoload.
12066         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
12068 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12070         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
12071         (byte-compile-setq-default): Optimize for the
12072         single-var case and don't call byte-compile-form in this case to avoid
12073         inf-loop with byte-compile-set-default.
12075         * progmodes/compile.el (compilation-start): Abbreviate default directory.
12077 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
12079         Implement SELINUX backends.
12081         * net/tramp.el (tramp-file-name-handler-alist):
12082         Add `file-selinux-context' and `set-file-selinux-context'.
12083         (tramp-handle-file-selinux-context)
12084         (tramp-handle-set-file-selinux-context): New defuns.
12085         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
12086         Handle PRESERVE-SELINUX-CONTEXT.
12088         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
12089         Add `file-selinux-context' and `set-file-selinux-context'.
12090         (tramp-gvfs-handle-file-selinux-context)
12091         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
12092         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
12094         * net/ange-ftp.el (ange-ftp-copy-file):
12095         * net/tramp-fish.el (tramp-fish-handle-copy-file):
12096         * net/tramp-imap.el (tramp-imap-handle-copy-file):
12097         * net/tramp-smb.el (tramp-smb-handle-copy-file):
12098         Add PRESERVE-SELINUX-CONTEXT.
12100 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
12102         Synchronize with Tramp repository.
12104         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
12105         (tramp-action-process-alive, tramp-action-out-of-band)
12106         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
12107         (tramp-exists-file-name-handler): Fix docstring.
12108         (with-progress-reporter): New defmacro.
12109         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
12110         (tramp-maybe-open-connection): Use it.
12112 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
12114         Detect ssh 'ControlMaster' argument automatically in some cases.
12116         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
12117         (tramp-default-method): Use it.
12119 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
12121         * net/tramp.el (tramp-handle-copy-file): Add new optional
12122         parameter `preserve-selinux-context'.
12123         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
12125 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
12127         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
12128         Ensure, that non remote files are still checked.  Oops.
12130 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
12132         Fix Bug#5840.
12134         * icomplete.el (icomplete-completions): Use `non-essential'.
12136         * net/tramp.el (tramp-connectable-p): New defun.
12137         (tramp-handle-expand-file-name)
12138         (tramp-completion-handle-file-name-all-completions)
12139         (tramp-completion-handle-file-name-completion): Use it.
12141 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12143         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
12145 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
12147         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
12149         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
12151         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
12152         is present.
12154         * info.el (info-tool-bar-map): Add labels.
12156         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
12158         * cus-edit.el (custom-commands): Add labels for tool bar.
12159         (custom-buffer-create-internal, Custom-mode): Adjust for
12160         labels in custom-commands.
12162         * dynamic-setting.el: Renamed from font-setting.el.
12164 2010-04-21  John Wiegley  <jwiegley@gmail.com>
12166         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
12167         toggles the use of virtual buffers.
12168         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
12169         (ido-toggle-virtual-buffers): New function.
12171 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
12173         Use `define-derived-mode'; fix window selection; doc fixes.
12174         * play/tetris.el (tetris, tetris-update-speed-function)
12175         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
12176         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
12177         (tetris-rotate-next, tetris-end-game, tetris-start-game)
12178         (tetris-pause-game): Fix typos in docstrings.
12179         (tetris-mode-map, tetris-null-map):
12180         Move initialization into declaration.
12181         (tetris-mode): Define with `define-derived-mode';
12182         set show-trailing-whitespace to nil.
12183         (tetris): Prefer window already displaying the "*Tetris*" buffer.
12185 2010-04-21  Karel Klíč  <kklic@redhat.com>
12187         * files.el (backup-buffer): Handle SELinux context, and return it
12188         if a backup was made by renaming.
12189         (backup-buffer-copy): Set SELinux context to the target file.
12190         (basic-save-buffer): Set SELinux context of the newly written file.
12191         (basic-save-buffer-1): Now it also returns any SELinux context.
12192         (basic-save-buffer-2): Set SELinux context of the newly created file,
12193         and return it.
12194         * net/tramp.el (tramp-file-name-for-operation):
12195         Add file-selinux-context.
12197 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12199         Make the log-edit comments use RFC822 format throughout.
12201         * vc.el (vc-checkin, vc-modify-change-comment):
12202         Adjust to new vc-start/finish-logentry.
12203         (vc-find-conflicted-file): New command.
12204         (vc-transfer-file): Adjust to new vc-checkin.
12205         (vc-next-action): Improve scoping.
12207         * vc-hg.el (vc-hg-log-edit-mode): Remove.
12208         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
12210         * vc-git.el (vc-git-log-edit-mode): Remove.
12211         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
12212         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
12214         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
12215         (vc-start-logentry): Remove argument `extra'.
12216         (vc-finish-logentry): Remove extra args.
12218         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
12219         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
12220         (vc-bzr-conflicted-files): New function.
12222         * log-edit.el (log-edit-extra-flags)
12223         (log-edit-before-checkin-process): Remove.
12224         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
12225         (log-edit-headers-alist): New var.
12226         (log-edit-header-contents-regexp): New const.
12227         (log-edit-match-to-eoh): New function.
12228         (log-edit-font-lock-keywords): Use them.
12229         (log-edit): Insert a "Summary:" header as default.
12230         (log-edit-mode): Mark font-lock rules as case-insensitive.
12231         (log-edit-done): Cleanup headers.
12232         (log-view-process-buffer): Remove.
12233         (log-edit-extract-headers): New function to replace it.
12235 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
12237         * subr.el (default-direction-reversed): Remove obsolescence info.
12239 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12241         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
12242         windows/frames.
12244         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
12245         I.e. include text after point in the completion region.
12246         Also, return nil when we're not after/in a symbol.
12248         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
12249         default enable-multibyte-characters.
12251 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12253         * international/mule.el: Help the user choose a valid coding-system.
12254         (read-buffer-file-coding-system): New function.
12255         (set-buffer-file-coding-system): Use it.  Prompt the user if the
12256         coding-system cannot encode all the chars.
12258         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
12259         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
12260         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
12261         Don't use *vc-bzr-shelve*.
12263 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
12265         Fix the version number for added files.
12266         * vc-hg.el (vc-hg-working-revision): Check if the file is
12267         registered after hg parent fails (Bug#5961).
12269 2010-04-19  Glenn Morris  <rgm@gnu.org>
12271         * htmlfontify.el (htmlfontify-buffer)
12272         (htmlfontify-copy-and-link-dir): Autoload entry points.
12274 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
12276         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
12277         name relative to the project root (Bug#5960).
12279 2010-04-19  Glenn Morris  <rgm@gnu.org>
12281         * vc-git.el (vc-git-print-log): Doc fix.
12283 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
12285         * ido.el (ido-file-internal): Fix 2009-12-02 change.
12287 2010-04-19  Christoph Scholtes  <cschol2112@googlemail.com>
12289         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
12290         default settings (Bug#5928).
12292 2010-04-19  Glenn Morris  <rgm@gnu.org>
12294         * progmodes/fortran.el (fortran-match-and-skip-declaration):
12295         New function.
12296         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
12298 2010-04-19  Kenichi Handa  <handa@m17n.org>
12300         * language/indian.el (malayalam-composable-pattern): Fix previous
12301         change (add U+0D4D "SIGN VIRAMA").
12302         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
12303         (tamil-composable-pattern): Fix typo in the regexp.
12304         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
12305         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
12306         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
12308 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
12310         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
12311         paragraph-separate (Bug#5821).
12313 2010-04-19  Juri Linkov  <juri@jurta.org>
12315         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
12317         * info.el (Info-find-node-2): Comment out code that skips
12318         breadcrumbs line.
12319         (Info-mouse-follow-link): New command.
12320         (Info-link-keymap): New keymap.
12321         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
12322         Return a string with links instead of inserting breadcrumbs
12323         to the Info buffer.
12324         (Info-fontify-node): Comment out code that inserts breadcrumbs.
12325         Instead of putting the `invisible' text property over the Info
12326         header, make an overlay over the Info header with the `invisible'
12327         property and `after-string' set to the string returned by
12328         `Info-breadcrumbs'.
12330 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
12332         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
12333         Reported by monkey@sandpframing.com.
12335 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12337         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
12338         (tmm-get-keymap): Add key-binding shortcuts now that they're not
12339         available in the "keyseq cache" any more.
12341         * custom.el (defcustom): Add edebug spec.
12343 2010-04-18  Juri Linkov  <juri@jurta.org>
12345         Test for special mode-class in view-buffer instead of view-file (bug#5513).
12347         * view.el (view-file, view-buffer): Move test for special mode-class
12348         from view-file to view-buffer.
12350         * tar-mode.el (tar-extract): Turn if's into one cond
12351         like in arc-mode.el.
12353 2010-04-18  Juri Linkov  <juri@jurta.org>
12355         Add 7z archive format support (bug#5475).
12357         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
12358         (archive-7z-extract): New defcustom.
12359         (archive-find-type): Add magic string for 7z.
12360         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
12361         If `stderr-file' is non-nil, use `(t stderr-file)' for the
12362         `buffer' arg of `call-process'.
12363         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
12364         call the function `archive-7z-extract' with the variable
12365         `archive-7z-extract' let-bound to `archive-zip-extract'.
12366         (archive-7z-summarize, archive-7z-extract): New functions.
12368         * international/mule.el (auto-coding-alist):
12369         * files.el (auto-mode-alist): Add 7z file extension.
12371 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12373         * loadup.el: Setup hash-cons for pure data.
12375         Fix duplicate entries in cedet's loaddefs.el files.
12376         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
12377         Should make most file-local generated-autoload-file unnecessary.
12378         (print-readably): Silence warnings.
12379         (autoload-find-destination): Take load-name as an arg to make sure
12380         it's the same as the one that will be in the file.
12381         (autoload-generate-file-autoloads): Adjust to above changes.
12382         Try to make the dataflow a bit simpler.
12384         * cvs-status.el (cvs-refontify): Remove unused.
12386 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
12388         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
12390         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
12391         twos-complement mode.
12393 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
12395         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
12396         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
12397         (calc-inverse): Add "Option" to message, as appropriate.
12398         (calc-hyperbolic): Add "Option" to message, as appropriate.
12399         (calc-option, calc-is-option): New functions.
12401         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
12402         (calc-option-prefix-help): New function.
12404         * calc/calc-misc.el (calc-help): Add "Option" entry.
12406         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
12407         (calc-option-flag): New variable.
12408         (calc-do): Set `calc-option-flag to nil.
12409         (calc-set-mode-line): Add "Opt " as appropriate.
12411 2010-04-16  Juri Linkov  <juri@jurta.org>
12413         Move scrolling commands from simple.el to window.el
12414         because their primitives are implemented in window.c.
12416         * simple.el (scroll-error-top-bottom)
12417         (scroll-up-command, scroll-down-command, scroll-up-line)
12418         (scroll-down-line, scroll-other-window-down)
12419         (beginning-of-buffer-other-window, end-of-buffer-other-window):
12420         * window.el (scroll-error-top-bottom)
12421         (scroll-up-command, scroll-down-command, scroll-up-line)
12422         (scroll-down-line, scroll-other-window-down)
12423         (beginning-of-buffer-other-window, end-of-buffer-other-window):
12424         Move from simple.el to window.el because their primitives are
12425         implemented in window.c.
12427 2010-04-16  Juri Linkov  <juri@jurta.org>
12429         * isearch.el (isearch-lookup-scroll-key): Check both
12430         `isearch-scroll' and `scroll-command' properties.
12431         (scroll-up, scroll-down): Remove `isearch-scroll' property.
12433         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
12435         * simple.el (scroll-up-command, scroll-down-command)
12436         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
12438 2010-04-15  Juri Linkov  <juri@jurta.org>
12440         * simple.el (scroll-up-command, scroll-down-command)
12441         (scroll-up-line, scroll-down-line): Put `scroll-command'
12442         property on the these symbols.  Remove them from
12443         `scroll-preserve-screen-position-commands'.
12445         * mwheel.el (mwheel-scroll): Put `scroll-command' and
12446         `isearch-scroll' properties on the `mwheel-scroll' symbol.
12447         Remove it from `scroll-preserve-screen-position-commands'.
12449         * isearch.el (isearch-allow-scroll): Doc fix.
12451 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
12453         * net/tramp.el (tramp-error-with-buffer): Don't show the
12454         connection buffer when we are in completion mode.
12455         (tramp-file-name-handler): Catch the error for some operations
12456         when we are in completion mode.  This gives the user the chance to
12457         correct the file name in the minibuffer.
12459 2010-04-15  Glenn Morris  <rgm@gnu.org>
12461         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
12463 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
12465         Simplify by using `define-derived-mode'.
12466         * info.el (Info-mode):
12467         * calendar/todo-mode.el (todo-mode):
12468         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
12469         (gomoku-mode-map): Move initialization into declaration.
12471 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
12473         Fix Bug#5840.
12474         * ido.el (ido-file-name-all-completions-1):
12475         * minibuffer.el (minibuffer-completion-help):
12476         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
12478 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
12480         * simple.el (non-essential): New var.
12482         Add a new field `location' to bookmarks for non-file bookmarks.
12483         * bookmark.el (bookmark-location): Use the new field, if present.
12484         (bookmark-insert-location): Undo last change, not needed any more.
12485         * man.el (Man-bookmark-make-record):
12486         * woman.el (woman-bookmark-make-record): Add `location' field.
12488 2010-04-14  Juri Linkov  <juri@jurta.org>
12490         * simple.el (scroll-error-top-bottom): New defcustom.
12491         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
12493         * emulation/pc-select.el (pc-select-override-scroll-error):
12494         Obsolete in favor of `scroll-error-top-bottom'.
12496 2010-04-14  Juri Linkov  <juri@jurta.org>
12498         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
12499         `scroll-up-command' and `M-v' to `scroll-down-command'.
12501         * emulation/cua-rect.el (cua--init-rectangles):
12502         * forms.el (forms--change-commands):
12503         * image-mode.el (image-mode-map):
12504         Remap scroll-down-command and scroll-up-command
12505         in addition to scroll-down and scroll-up.
12507 2010-04-14  Juri Linkov  <juri@jurta.org>
12509         * mwheel.el (scroll-preserve-screen-position-commands):
12510         Add mwheel-scroll to this list of commands.
12512         * simple.el (scroll-preserve-screen-position-commands):
12513         Add scroll-up-command, scroll-down-command, scroll-up-line,
12514         scroll-down-line to this list of commands.
12516 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12518         * obsolete/complete.el: Move from lisp/complete.el.
12520         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
12522         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
12523         to the minor mode function now turns the mode ON unconditionally.
12525 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12527         * vc-dir.el (vc-dir-kill-line): New command.
12528         (vc-dir-mode-map): Bind it to C-k.
12530         * bookmark.el (bookmark-insert-location): Handle a nil filename.
12532         * woman.el: Add bookmark declarations to silence the compiler.
12533         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
12534         step to compatibility between man and woman bookmarks.
12535         Adjust for Man-default-bookmark-title renaming.
12536         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
12538         * man.el: Add bookmark declarations to silence the compiler.
12539         (Man-name-local-regexp): Make it match NAME as well.
12540         (Man-getpage-in-background): Return the buffer.
12541         (Man-notify-when-ready): Use `case'.
12542         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
12543         Don't hardcode "NAME".  Simplify.
12544         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
12545         Rename from Man-bookmark-make-record.
12546         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
12547         we have the actual man-args.  Use Man-getpage-in-background rather
12548         than `man' since the arg is already processed.  Let bookmark.el do the
12549         window handling.  Only wait for the relevant process.
12550         Don't forget to autoload.
12552         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
12554 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12556         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
12557         New functions.
12558         (woman-mode): Setup bookmark support.
12560         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
12561         (man-bookmark-jump): New functions.
12562         (Man-mode): Setup bookmark support.
12564 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
12566         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
12567         recognize ssh-keygen prompt (Bug#2817).
12569 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
12571         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
12573 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
12575         Synchronize with Tramp repository.
12577         * net/tramp.el (tramp-completion-function-alist)
12578         (tramp-file-name-regexp, tramp-chunksize)
12579         (tramp-local-coding-commands, tramp-remote-coding-commands):
12580         Fix docstring.
12581         (tramp-remote-process-environment): Use `format' instead of `concat'.
12582         (tramp-handle-directory-files-and-attributes)
12583         (tramp-get-remote-path): Use `copy-tree'.
12584         (tramp-handle-file-name-all-completions): Backward/ XEmacs
12585         compatibility: Use `completion-ignore-case' if
12586         `read-file-name-completion-ignore-case' does not exist.
12587         (tramp-do-copy-or-rename-file-directly): Do not use
12588         `tramp-handle-file-remote-p'.
12589         (tramp-do-copy-or-rename-file-out-of-band):
12590         Use `tramp-compat-delete-directory'.
12591         (tramp-do-copy-or-rename-file-out-of-band)
12592         (tramp-compute-multi-hops, tramp-maybe-open-connection):
12593         Use `format-spec-make'.
12594         (tramp-find-foreign-file-name-handler)
12595         (tramp-advice-make-auto-save-file-name)
12596         (tramp-set-auto-save-file-modes): Remove superfluous check for
12597         `stringp'.  This is done inside `tramp-tramp-file-p'.
12598         (tramp-debug-outline-regexp): New defconst.
12599         (tramp-get-debug-buffer): Use it.
12600         (tramp-check-for-regexp): Use (forward-line 1).
12601         (tramp-set-auto-save-file-modes): Adapt version check.
12603         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
12604         Wrap call of `featurep' for 2nd argument.
12605         (tramp-compat-make-temp-file): Simplify fallback implementation.
12606         (tramp-compat-copy-tree): Remove function.
12607         (tramp-compat-delete-directory): Provide implementation for older
12608         Emacsen.
12610         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
12611         Do not use `tramp-fish-handle-file-attributes.
12613         * net/trampver.el: Update release number.
12615 2010-04-10  Glenn Morris  <rgm@gnu.org>
12617         * progmodes/compile.el (compilation-save-buffers-predicate):
12618         Add missing :version tag.
12620 2010-04-09  Sam Steingold  <sds@gnu.org>
12622         * progmodes/compile.el (compilation-save-buffers-predicate):
12623         Remove the "autoload" cookie.
12625         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
12626         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
12627         and `bug-reference-prog-mode' can be used in hooks directly.
12629 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
12631         Add --author support to git commit.
12632         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
12633         (vc-git-log-edit-mode): New minor mode.
12634         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
12635         New declarations.
12637 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
12639         * vc-hooks.el, vc-git.el: Improve documentation comments.
12641 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12643         Fix some of the problems in defsubst* (bug#5728).
12644         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
12645         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
12647 2010-04-07  Sam Steingold  <sds@gnu.org>
12649         * progmodes/compile.el (compilation-save-buffers-predicate):
12650         New custom variable.
12651         (compile, recompile): Pass it to `save-some-buffers'.
12653 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
12655         * wid-edit.el (widget-choose): Move cursor to the second line of
12656         the buffer (Bug#5695).
12658 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
12660         Add new VC methods: vc-log-incoming and vc-log-outgoing.
12661         * vc.el (vc-print-log-setup-buttons): New function split out from
12662         vc-print-log-internal.
12663         (vc-log-internal-common): New function, a parametrized version of
12664         vc-print-log-internal.
12665         (vc-print-log-internal): Just call vc-log-internal-common with the
12666         right arguments.
12667         (vc-incoming-outgoing-internal):
12668         (vc-log-incoming, vc-log-outgoing): New functions.
12669         (vc-log-view-type): New permanent local variable.
12671         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
12673         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
12674         of the dynamic bound vc-short-log.
12675         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
12677         * vc-git.el (vc-git-log-outgoing): New function.
12678         (vc-git-log-view-mode): Use vc-log-view-type instead
12679         of the dynamic bound vc-short-log.
12681         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
12682         of the dynamic bound vc-short-log.  Highlight the tag.
12683         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
12684         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
12685         (vc-hg-incoming-mode): Remove.
12686         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
12688 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
12690         Fix default-directory for vc-root-diff.
12691         * vc.el (vc-root-diff): Bind default-directory to the root
12692         directory for the diff command.
12694 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
12696         * progmodes/verilog-mode.el (verilog-forward-sexp):
12697         (verilog-calc-1): Support "disable fork" and "fork wait" multi
12698         word keywords, suggested by Steve Pearlmutter.
12699         (verilog-pretty-declarations): Support lineup of declarations in
12700         port lists.
12701         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
12702         fix bug for /* / comments.
12703         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
12704         Speed up and simplfy as this is never called with a bound.
12705         (verilog-pretty-declarations): Enhance to line up declarations
12706         inside a parameter list, suggested by Alan Morgan.
12707         (verilog-pretty-expr): Tune assignment regular expression match
12708         string for corner cases; also use markers instead of character
12709         number as indent changes the later.
12711 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
12713         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
12714         as missing keyword.
12715         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
12716         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
12717         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
12718         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
12719         Tennant.
12720         (verilog-keywords):
12721         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
12722         1800-2009 keywords, including "global.".
12724 2010-04-06  John Wiegley  <jwiegley@gmail.com>
12726         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
12727         appearing in buffer list (if a live buffer name matched a recentf
12728         file basename).  Should use uniquify to offer a real solution.
12730 2010-04-06  John Wiegley  <jwiegley@gmail.com>
12732         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
12733         comment to code, and add a :version tag.
12734         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
12736 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
12738         Enable recentf-mode if using virtual buffers.
12739         * ido.el (recentf-list): Declare for byte-compiler.
12740         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
12741         (ido-make-buffer-list): Simplify.
12742         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
12744 2010-04-05  Juri Linkov  <juri@jurta.org>
12746         Scrolling commands which scroll a line instead of full screen.
12747         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12749         * simple.el (scroll-up-line, scroll-down-line): New commands.
12750         Put property isearch-scroll=t on them.
12752         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
12753         Remove commands.
12755 2010-04-05  Juri Linkov  <juri@jurta.org>
12757         Scrolling commands which do not signal errors at top/bottom.
12758         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12760         * simple.el (scroll-up-command, scroll-down-command): New commands.
12761         Put property isearch-scroll=t on them.
12763         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
12764         `scroll-down-command' and [next] from `scroll-up' to
12765         `scroll-up-command'.
12767         * emulation/cua-base.el: Put property CUA=move on
12768         `scroll-up-command' and `scroll-down-command'.
12769         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
12770         and `scroll-down-command' to `cua-scroll-down'.
12772 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
12774         * help.el (describe-mode): Return nil.
12776 2010-04-04  John Wiegley  <jwiegley@gmail.com>
12778         * ido.el (ido-use-virtual-buffers): New variable to indicate
12779         whether "virtual buffer" support is enabled for IDO.
12780         (ido-virtual): Face used to indicate virtual buffers in the list.
12781         (ido-buffer-internal): If a buffer is chosen, and no such buffer
12782         exists, but a virtual buffer of that name does (which would be why
12783         it was in the list), recreate the buffer by reopening the file.
12784         (ido-make-buffer-list): If virtual buffers are being used, call
12785         `ido-add-virtual-buffers-to-list' before the make list hook.
12786         (ido-virtual-buffers): New variable which contains a copy of the
12787         current contents of the `recentf-list', albeit pared down for the
12788         sake of speed, and with proper faces applied.
12789         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
12790         create a list of "virtual buffers" to present to the user in
12791         addition to the currently open set.  Note that this logic could
12792         get rather slow if that list is too large.  With the default
12793         `recentf-max-saved-items' of 200, there is little speed penalty.
12795 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12797         * font-lock.el: Require CL when compiling.
12798         (font-lock-turn-on-thing-lock): Use `case'.
12800 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
12802         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
12803         Zaretskii.
12805 2010-04-02  Juri Linkov  <juri@jurta.org>
12807         * ehelp.el (electric-help-orig-major-mode):
12808         New buffer-local variable.
12809         (electric-help-mode): Set it to original major-mode.  Doc fix.
12810         (with-electric-help): Use `electric-help-orig-major-mode' instead
12811         of (default-value 'major-mode).  Doc fix.
12812         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
12814 2010-04-02  Sam Steingold  <sds@gnu.org>
12816         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
12817         `vc-hg-command' with a list of flags.
12819         * progmodes/bug-reference.el (bug-reference-bug-regexp):
12820         Also accept "patch" and "RFE".
12821         (bug-reference-fontify): `bug-reference-url-format' can also be a
12822         function to be able to handle the bug kind.
12823         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
12825 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
12827         * tmm.el (tmm-get-keymap): Check with symbolp before passing
12828         value to fboundp, it may not be a symbol.
12830 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12832         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
12834 2010-03-31  Juri Linkov  <juri@jurta.org>
12836         * simple.el (next-line, previous-line): Re-throw a signal
12837         with `signal' instead of using `ding'.
12838         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
12840 2010-03-31  Juri Linkov  <juri@jurta.org>
12842         * simple.el (keyboard-escape-quit): Raise deselecting the active
12843         region higher than exiting the minibuffer.
12844         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
12846 2010-03-31  Juri Linkov  <juri@jurta.org>
12848         * image.el (image-animated-p): Use `image-metadata' instead of
12849         `image-extension-data'.  Get GIF extenstion data from metadata
12850         property `extension-data'.
12852 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12854         * simple.el (append-to-buffer): Simplify.
12856 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
12858         * textmodes/artist.el (artist-mode): Fix typo in docstring.
12859         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
12861 2010-03-31  Kenichi Handa  <handa@m17n.org>
12863         * language/sinhala.el (composition-function-table): Fix regexp for
12864         the new Unicode specification.
12866         * language/indian.el (devanagari-composable-pattern)
12867         (tamil-composable-pattern, kannada-composable-pattern)
12868         (malayalam-composable-pattern): Adjust for the new Unicode
12869         specification.
12870         (bengali-composable-pattern, gurmukhi-composable-pattern)
12871         (gujarati-composable-pattern, oriya-composable-pattern)
12872         (telugu-composable-pattern): New variables to cope with the new
12873         Unicode specification.  Use them in composition-function-table.
12875 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12877         Make tmm-menubar work for the Buffers menu again (bug#5726).
12878         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
12879         vectors rather than cons cells, as used in menu-bar-update-buffers.
12881 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12883         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
12884         (js-insert-and-indent): Revert 2009-08-15 change, restoring
12885         electric punctuation for "{}();,:" (Bug#5586).
12887         * mail/sendmail.el (mail-default-directory): Doc fix.
12889 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12891         * mail/sendmail.el (mail-default-directory): Doc fix.
12893 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
12895         * subr.el (version-regexp-alist, version-to-list)
12896         (version-list-<, version-list-=, version-list-<=)
12897         (version-list-not-zero, version<, version<=, version=): Doc fix.
12898         (Bug#5744).
12900 2010-02-31  Dan Nicolaescu  <dann@ics.uci.edu>
12902         * vc.el (vc-root-diff): Doc fix.
12904 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12906         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
12908         * simple.el (append-to-buffer): Fix last change.
12910 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
12912         * simple.el (append-to-buffer): Ensure that point is preserved if
12913         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
12914         (Bug#5749)
12916 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12918         * files.el (auto-mode-case-fold): Change default to t.
12920 2010-03-30  Juri Linkov  <juri@jurta.org>
12922         * dired-x.el (dired-omit-mode): Doc fix.
12924 2010-03-30  Juri Linkov  <juri@jurta.org>
12926         * replace.el (occur-accumulate-lines): Move occur-engine related
12927         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
12928         to be located after `occur-engine'.
12930 2010-03-30  Juri Linkov  <juri@jurta.org>
12932         Make occur handle multi-line matches cleanly with context.
12933         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
12935         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
12936         (occur-engine): Add local variables `ret', `prev-after-lines',
12937         `prev-lines'.  Use more arguments for `occur-context-lines'.
12938         Set first elem of its returned list to `data', and the second elem
12939         to `prev-after-lines'.  Don't print the separator line.
12940         In the end, print remaining context after-lines.
12941         (occur-context-lines): Add new arguments `begpt', `endpt',
12942         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
12943         after-lines of the previous match with before-lines of the
12944         current match and not overlap them.  Return a list with two
12945         values: the output line and the list of context after-lines.
12947 2010-03-30  Juri Linkov  <juri@jurta.org>
12949         * replace.el (occur-accumulate-lines): Fix a bug where the first
12950         context line at the beginning of the buffer was missing.
12952 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
12954         * files.el: Make bidi-display-reordering safe variable for boolean
12955         values.
12957 2010-03-29  Phil Hagelberg  <phil@evri.com>
12958             Chong Yidong  <cyd@stupidchicken.com>
12960         * subr.el: Extend progress reporters to perform "spinning".
12961         (progress-reporter-update, progress-reporter-do-update):
12962         Handle non-numeric value arguments.
12963         (progress-reporter--pulse-characters): New var.
12965 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
12967         * progmodes/compile.el (compilation-start): Fix regexp detection
12968         of initial cd command (Bug#5771).
12970 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
12972         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
12974 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
12976         Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
12977         * progmodes/gdb-mi.el: Restore.
12978         * progmodes/gdb-ui.el: Remove.
12979         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
12981 2010-03-25  Glenn Morris  <rgm@gnu.org>
12983         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
12984         all dired buffers, even tramp ones.  (Bug#5755)
12986 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12988         Add "union tags" in mpc.el.
12989         * mpc.el: Remove backward compatibility code.
12990         (mpc-browser-tags): Change default.
12991         (mpc--find-memoize-union-tags): New var.
12992         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
12993         (mpc-cmd-find): Handle the case where the playlist does not exist.
12994         Handle union-tags.
12995         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
12996         (mpc-cmd-add): Use mpc-cmd-flush.
12997         (mpc-tagbrowser-tag-name): New fun.
12998         (mpc-tagbrowser-buf): Use it.
12999         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
13001 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13003         Misc cleanup.
13004         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
13005         Use replace-regexp-in-string.
13006         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
13007         (makefile-imake-mode-syntax-table): Move init into defvar.
13008         (makefile-mode): Use define-derived-mode.
13010         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
13011         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
13012         not be present any more.
13014 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
13016         * faces.el (set-face-attribute): Fix typo in docstring.
13017         (face-valid-attribute-values): Reflow docstring.
13019 2010-03-24  Glenn Morris  <rgm@gnu.org>
13021         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
13023 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
13025         * indent.el (indent-for-tab-command): Doc fix.
13027 2010-03-24  Alan Mackenzie  <acm@muc.de>
13029         * progmodes/cc-engine.el (c-remove-stale-state-cache):
13030         Fix off-by-one error.  Fixes bug #5747.
13032 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
13034         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
13035         (image-dired-read-comment): Doc fix.
13037         * json.el (json-object-type, json-array-type, json-key-type)
13038         (json-false, json-null, json-read-number):
13039         * minibuffer.el (completion-in-region-functions):
13040         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
13041         (cal-tex-cursor-week):
13042         * emacs-lisp/trace.el (trace-function):
13043         * eshell/em-basic.el (eshell/printnl):
13044         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
13045         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
13046         * obsolete/levents.el (allocate-event, event-key, event-object)
13047         (event-point, event-process, event-timestamp, event-to-character)
13048         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
13049         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
13050         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
13051         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
13052         (reftex-highlight-selection): Fix typos in docstrings.
13054 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
13056         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
13058 2010-03-24  Glenn Morris  <rgm@gnu.org>
13060         * mail/rmail.el (rmail-highlight-face): Restore option deleted
13061         2008-02-13 without comment; mark it obsolete.
13062         (rmail-highlight-headers): Use rmail-highlight-face once more.
13064 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
13066         * woman.el (woman2-process-escapes): Only consume the newline if
13067         the filler character is on a line by itself (Bug#5729).
13069 2010-03-24  Kenichi Handa  <handa@m17n.org>
13071         * language/indian.el (devanagari-composable-pattern): Add more
13072         consonants.
13074 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
13076         * net/trampver.el: Update release number.
13078 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
13080         * net/tramp.el (tramp-find-executable):
13081         Use `tramp-get-connection-buffer'.  Make the regexp for checking
13082         output of "wc -l" more robust.
13083         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
13084         (tramp-open-connection-setup-interactive-shell): Remove workaround
13085         for OpenSolaris bug, it is not needed anymore.
13087 2010-03-24  Glenn Morris  <rgm@gnu.org>
13089         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
13091 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
13093         * files.el (auto-mode-alist): Accept more verilog file patterns.
13095 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13097         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
13099 2010-03-24  Glenn Morris  <rgm@gnu.org>
13101         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
13102         log-edit-before-checkin-process.
13104         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
13106         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
13108         * vc-dispatcher.el (vc-start-logentry): Doc fix.
13109         (log-view-process-buffer, log-edit-extra-flags): Declare.
13111         * log-edit.el (log-edit-before-checkin-process): Doc fix.
13113 2010-03-23  Sam Steingold  <sds@gnu.org>
13115         Fix bug#5620: recalculate all markers on compilation buffer
13116         modifications, not on file modifications.
13117         * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
13118         variable: the buffer modification time, for buffers not associated with
13119         files.
13120         (compilation-mode): Create it.
13121         (compilation-filter): Update it.
13122         (compilation-next-error-function): Use it instead of
13123         `visited-file-modtime' for timestamp.
13125 2010-03-23  Juri Linkov  <juri@jurta.org>
13127         Implement Occur multi-line matches.
13128         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
13130         * replace.el (occur): Doc fix.
13131         (occur-engine): Set `begpt' to the beginning of the first line.
13132         Set `endpt' to the end of the last match line.  At first, count
13133         line numbers between `origpt' and `begpt'.  Split out code from
13134         `out-line' variable to new let-bindings `match-prefix' and
13135         `match-str'.  In `out-line' add non-numeric prefix to all
13136         non-first lines of multi-line matches.  Finally, count lines
13137         between `begpt' and `endpt' and add to `lines'.
13139 2010-03-23  Juri Linkov  <juri@jurta.org>
13141         * replace.el (occur-accumulate-lines, occur-engine):
13142         Use `occur-engine-line' instead of duplicate code.
13143         (occur-engine-line): New function created from duplicate code
13144         in `occur-accumulate-lines' and `occur-engine'.
13146         * replace.el (occur-engine-line): Add optional arg `keep-props'.
13147         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
13149 2010-03-23  Juri Linkov  <juri@jurta.org>
13151         * finder.el: Remove TODO tasks.
13153         * info.el (Info-finder-find-node): Add node "all"
13154         with all package info.  Handle a list of multiple keywords
13155         separated by comma.
13156         (info-finder): In interactive use with a prefix argument,
13157         use `completing-read-multiple' to read a list of keywords
13158         separated by comma.
13160 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13162         Add a new completion style `substring'.
13163         * minibuffer.el (completion-basic--pattern): New function.
13164         (completion-basic-try-completion, completion-basic-all-completions):
13165         Use it.
13166         (completion-substring--all-completions)
13167         (completion-substring-try-completion)
13168         (completion-substring-all-completions): New functions.
13169         (completion-styles-alist): New style `substring'.
13171 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13173         Get rid of .elc files after removal of the corresponding .el.
13174         * Makefile.in (compile-clean): New target.
13175         (compile-main): Use it.
13177 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
13179         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
13180         don't do make there.  When compiling with separate object dir, there
13181         is no Makefile there.
13183 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13185         Get rid of the ELCFILES abomination, again.
13186         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
13187         (all, compile): Don't call compile-last.
13188         (compile-main): Build the "elcfiles" list dynamically.
13189         (compile-targets): New (internal) target.
13191 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
13193         * Makefile.in (top_srcdir): Define.
13194         (abs_top_builddir): Define.
13195         (srcdir): Don't append `/..'.
13196         (EMACS): Use ${abs_top_builddir}.
13197         (all, compile, compile-always, compile-last): Don't set emacswd.
13198         (update-subdirs, update-authors): Use $(top_srcdir) instead of
13199         $(srcdir).
13200         (lisp): Use $(srcdir) instead of @srcdir@.
13202 2010-03-21  Juri Linkov  <juri@jurta.org>
13204         Fix message of multi-line occur regexps and multi-buffer header lines.
13205         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
13207         * replace.el (occur-1): Don't display regexp if it is longer
13208         than window-width.  Use `query-replace-descr' to display regexp.
13209         (occur-engine): Don't display regexp in the buffer header for
13210         multi-buffer occur.  Display a separate header line with total
13211         match count and regexp for multi-buffer occur.
13212         Use `query-replace-descr' to display regexp.
13214 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
13216         * net/secrets.el: Fix parenthesis.
13217         (secrets-enabled): Fix parenthesis.
13219 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13221         Use more relative file and directory names.
13222         * Makefile.in (EMACS): Arrange for it to work when we chdir.
13223         (setwins, setwins_almost, setwins_for_subdirs):
13224         Don't `cd'; output relative names.
13225         (all, compile, compile-always, compile-last): Set emacswd.
13226         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
13227         Just cd to the lisp source dir so we can use relative file names.
13229         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
13231 2010-03-20  Glenn Morris  <rgm@gnu.org>
13233         * textmodes/rst.el: Use faces for font-lock customization, and make the
13234         old -face variables obsolete.
13235         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
13236         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
13237         (rst-block-face, rst-external-face, rst-definition-face)
13238         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
13239         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
13240         Make obsolete.
13241         (rst-font-lock-keywords-function): Update for above changes.
13243 2010-03-20  Juri Linkov  <juri@jurta.org>
13245         * s-region.el:
13246         * obsolete/s-region.el: Move to obsolete.
13248 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
13250         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
13252 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
13254         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
13256 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
13258         Add special markup processing for commit logs.
13259         * log-edit.el (log-edit-extra-flags): New variable.
13260         (log-edit): Add new argument MODE.  Use that mode when non-nil
13261         instead of the log-view-mode.
13262         (log-view-process-buffer): New function.
13264         * vc.el: Document that the checkin method takes optional
13265         arguments.  Document new backend specific method: log-view-mode.
13266         (vc-default-log-edit-mode): New function.
13267         (vc-checkin): Use a backend specific log-view-mode.
13268         Pass extra arguments to the checkin method.
13269         (vc-modify-change-comment): Pass a dummy extra argument.
13271         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
13272         log-edit.
13273         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
13274         (vc-finish-logentry): Process the log buffer before passing it
13275         down.  Pass log-edit-extra-flags.
13277         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
13278         command.
13279         (log-edit-extra-flags, log-edit-before-checkin-process):
13280         New declarations.
13282         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
13283         command.
13284         (log-edit-extra-flags, log-edit-before-checkin-process):
13285         New declarations.
13286         (vc-hg-log-edit-mode): New derived mode.
13288         * vc-arch.el (vc-arch-checkin):
13289         * vc-cvs.el (vc-cvs-checkin):
13290         * vc-git.el (vc-git-checkin):
13291         * vc-mtn.el (vc-mtn-checkin):
13292         * vc-rcs.el (vc-rcs-checkin):
13293         * vc-sccs.el (vc-sccs-checkin):
13294         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
13296 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
13298         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
13299         parent typo).
13301 2010-03-19  Glenn Morris  <rgm@gnu.org>
13303         * password-cache.el (password-cache, password-cache-expiry): Autoload.
13305 2010-03-18  Glenn Morris  <rgm@gnu.org>
13307         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
13309         * replace.el (query-replace-history): Give it a doc string.
13310         (map-query-replace-regexp): Use query-replace-from-history-variable
13311         and query-replace-to-history-variable.
13313         * mail/hashcash.el (declare-function): Remove duplicate definition.
13315         * mail/emacsbug.el (report-emacs-bug-pretest-address):
13316         Make it an obsolete alias for report-emacs-bug-address.
13317         (message-strip-special-text-properties): Declare.
13318         (report-emacs-bug): Remove test for a pretest bug address.
13319         Combine message-mode-specific code.
13321         * mail/supercite.el: Don't require sendmail.
13322         (mh-in-header-p): Declare rather than using with-no-warnings.
13323         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
13324         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
13326         * calendar/cal-french.el: Convert to utf-8.
13328         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
13329         Emacs scripts.
13331 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
13333         * net/secrets.el (secrets-enabled): New variable.  Use it instead
13334         of a subfeature.
13336 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
13338         * net/secrets.el (top): Register the D-Bus signals only when the
13339         service "org.freedesktop.secrets" can be pinged.
13340         Provide subfeature `enabled'.
13342 2010-03-14  Juri Linkov  <juri@jurta.org>
13344         Add finder unknown keywords.
13346         * finder.el (finder-unknown-keywords): New function.
13348         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
13349         to create a Finder node with unknown keywords.
13351 2010-03-14  Juri Linkov  <juri@jurta.org>
13353         * finder.el (finder-compile-keywords): Replace `princ' with
13354         `prin1' on a list of symbols interned from keyword strings.
13356         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
13357         a comma, then split keywords using a comma and optional whitespace.
13358         Otherwise, split by whitespace.
13360         * complete.el:
13361         * face-remap.el:
13362         * log-view.el:
13363         * net/hmac-def.el:
13364         * net/hmac-md5.el:
13365         * net/netrc.el:
13366         * progmodes/mixal-mode.el: Fix keywords.
13368 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
13370         * Makefile.in (ELCFILES): Add net/secrets.elc.
13372         * net/secrets.el: New file.
13374 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
13376         * facemenu.el (list-colors-display, list-colors-print): New arg
13377         callback.  Use it to allow selecting colors.
13379         * wid-edit.el (widget-image-insert): Insert image prop even if the
13380         current display is non-graphic.
13381         (widget-field-value-set): New fun.
13382         (editable-field): Use it.
13383         (widget-field-value-get): Clean up unused var.
13384         (widget-color-value-create, widget-color--choose-action):
13385         New funs.  Allow using list-colors-display to choose color.
13387 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
13389         * cus-edit.el: Resort topmost custom groups.
13390         (custom-buffer-sort-alphabetically): Default to t.
13391         (customize-apropos): Use apropos-parse-pattern.
13392         (custom-search-field): New var.
13393         (custom-buffer-create-internal): Add custom-apropos search field.
13394         (custom-add-parent-links): Don't display parent doc.
13395         (custom-group-value-create): Don't sort top-level custom group.
13396         (custom-magic-value-create): Show visibility button before option name.
13398         (custom-variable-state): New fun, from custom-variable-state-set.
13399         (custom-variable-state-set): Use it.
13400         (custom-group-value-create): Hide options with standard values
13401         using the :hidden-states property.  Use progress reporter.
13403         (custom-show): Simplify.
13404         (custom-visibility): Disable images by default.
13405         (custom-variable): New property :hidden-states.
13406         (custom-variable-value-create): Enable images for
13407         custom-visibility widgets.  Use :hidden-states property to
13408         determine initial visibility.
13410         * wid-edit.el (widget-image-find): Give images center ascent.
13411         (visibility): Add :on-image and :off-image properties.
13412         (widget-visibility-value-create): Use them.
13414 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
13416         * cus-edit.el (processes): Remove from development group.
13417         (oop, hypermedia): Delete group.
13418         (comm): Promote to top-level group.
13420         * net/browse-url.el (browse-url):
13421         * net/xesam.el (xesam):
13422         * net/tramp.el (tramp):
13423         * net/goto-addr.el (goto-address):
13424         * net/ange-ftp.el (ange-ftp): Put in comm group.
13426         * view.el (view): Remove from editing group.
13428         * uniquify.el (uniquify): Put in files group.
13430         * net/browse-url.el (browse-url):
13431         * ps-print.el (postscript): Put in external group.
13433         * cus-edit.el (outlines):
13434         * textmodes/text-mode.el (text-mode-hook):
13435         * textmodes/table.el (table):
13436         * textmodes/picture.el (picture):
13437         * outline.el (outlines): Put in wp group.
13439         * nxml/nxml-mode.el (nxml): Remove from wp group.
13441         * net/tramp-imap.el (tramp-imap): Put in tramp group.
13443         * mail/metamail.el (metamail): Remove from hypermedia group.
13445         * cus-edit.el (abbrev):
13446         * whitespace.el (whitespace):
13447         * vcursor.el (vcursor):
13448         * reveal.el (reveal):
13449         * hl-line.el (hl-line): Put in convenience group.
13451         * epg-config.el (epg): Put in data group.
13453         * emulation/pc-select.el (pc-select): Put in emulations group.
13455         * calculator.el (calculator): Put in applications group.
13457 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
13459         Add .dir-locals.el support for file-less buffers.
13460         * files.el (hack-local-variables): Split out code to apply local
13461         variable settings ...
13462         (hack-local-variables-apply): ... here.  New function.
13463         (hack-dir-local-variables): Use the default directory for when the
13464         buffer does not have an associated file.
13465         (hack-dir-local-variables-non-file-buffer): New function.
13466         * diff-mode.el (diff-mode):
13467         * vc-annotate.el (vc-annotate-mode):
13468         * vc-dir.el (vc-dir-mode):
13469         * log-edit.el (log-edit-mode):
13470         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
13472 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
13474         Add support for shelving snapshots and for showing shelves.
13475         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
13476         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
13477         New functions.
13478         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13479         (vc-bzr-extra-menu-map): Map them.
13481 2010-03-11  Glenn Morris  <rgm@gnu.org>
13483         * cus-edit.el (customize-changed-options-previous-release):
13484         Bump to 23.1.
13486         * image.el (image-animate-max-time): Fix :version tag.
13488 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
13490         * Branch for 23.2.
13492 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
13494         * vc-git.el (vc-git-revision-table): Include remote branches.
13496 2010-03-10  Kim F. Storm  <storm@cua.dk>
13498         Animated image API.
13499         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
13501         * image.el (image-animate-max-time): New defcustom.
13502         (image-animated-types): New defconst.
13503         (create-animated-image, image-animate-timer)
13504         (image-animate-start, image-animate-stop, image-animate-timeout)
13505         (image-animated-p): New functions.
13507         * image-mode.el (image-toggle-display-image):
13508         Replace `create-image' with `create-animated-image'.
13510 2010-03-09  Miles Bader  <miles@gnu.org>
13512         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
13513         instead of "format:"; this ensures that the output is
13514         newline-terminated.
13516 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
13518         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
13519         that all errors are caught, and that the return value is always a
13520         list (Bug#5692).
13522 2010-03-08  Kenichi Handa  <handa@m17n.org>
13524         * language/misc-lang.el (windows-1256): New coding system.
13525         (cp1256): New alias of windows-1256 (bug#5690).
13527 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
13529         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
13530         call to rfc822-bad-address.  (Bug#5692)
13532 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
13534         * vc-git.el (vc-git-annotate-extract-revision-at-line):
13535         Use vc-git-root as default directory for revision path (Bug#5657).
13537 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
13539         * calculator.el (calculator): Don't bind split-window-keep-point
13540         (Bug#5674).
13542 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
13544         * vc-git.el: Re-flow to fit into 80 columns.
13545         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
13546         Remove spurious `quote' element in each case alternative.
13547         (vc-git-show-log-entry): Use prog1.
13548         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
13550 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13552         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
13554 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
13556         * macros.el (insert-kbd-macro): Look up keyboard macro using the
13557         definition, not the name (Bug#5481).
13559 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
13561         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
13562         argument with a local variable.  (Bug#5670)
13564 2010-03-02  Juri Linkov  <juri@jurta.org>
13566         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
13568 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
13570         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
13571         error when FILENAME and NEWNAME are existing remote directories.
13573         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
13574         parameter DIR-FLAG.
13576 2010-03-02  Glenn Morris  <rgm@gnu.org>
13578         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
13579         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
13581 2010-03-01  Kenichi Handa  <handa@m17n.org>
13583         * language/burmese.el (burmese-composable-pattern): Rename from
13584         myanmar-composable-pattern.
13586         * international/characters.el (script-list):
13587         * international/fontset.el (script-representative-chars):
13588         Change myanmar to burmese.
13589         (otf-script-alist): Likewise.
13590         (setup-default-fontset): Likewise.  Re-fix :otf spec.
13592 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
13594         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
13596 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
13598         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
13600 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
13602         * net/tramp.el (tramp-handle-write-region): START can be a string.
13603         Take care in the checks.  Reported by Dan Davison
13604         <davison@stats.ox.ac.uk>.
13606 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
13608         * net/dbus.el (dbus-introspect, dbus-get-property)
13609         (dbus-set-property, dbus-get-all-properties):
13610         Use `dbus-call-method' when noninteractive.  (Bug#5645)
13612 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
13614         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
13615         * emacs-lisp/elint.el (elint-add-required-env):
13616         * calendar/icalendar.el (icalendar--add-diary-entry):
13617         * calc/calcalg2.el (math-tracing-integral):
13618         * files.el (recover-session-finish): Use with-current-buffer
13619         instead of save-excursion.
13621 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
13623         Fix in-buffer completion when after-change-functions modify the buffer.
13624         * minibuffer.el (completion--replace): New function.
13625         (completion--do-completion): Use it and use relative movement.
13627 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
13629         * international/fontset.el (setup-default-fontset): Fix :otf spec.
13631 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
13633         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
13634         Allow the characters _<> in the stack entry (Bug#5653).
13636 2010-02-26  Kenichi Handa  <handa@m17n.org>
13638         * language/burmese.el: Fix entries in composition-function-table.
13639         (myanmar-composable-pattern): New variable.
13641         * international/fontset.el (setup-default-fontset): Add an entry
13642         for myanmar.
13644         * international/characters.el (script-list): Add Myanmar
13645         Extended-A.
13647 2010-02-26  Glenn Morris  <rgm@gnu.org>
13649         * custom.el (custom-initialize-delay): Doc fix.
13651         * mail/sendmail.el (send-mail-function): Autoload the call
13652         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
13654 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
13656         * files.el (hack-local-variables-filter): For eval forms, also
13657         check safe-local-variable-p (Bug#5636).
13659 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
13661         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
13662         setting the modes by `ignore-errors'.  It might fail, for example
13663         if the file is not owned by the user but the group.
13664         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
13666 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
13668         * files.el (directory-listing-before-filename-regexp):
13669         Use stricter matching for iso-style dates, to avoid false matches with
13670         date-like filenames (Bug#5597).
13672         * htmlfontify.el (htmlfontify): Doc fix.
13674         * eshell/eshell.el (eshell): Doc fix.
13676         * startup.el (fancy-about-screen): In mode-line, apply
13677         mode-line-buffer-id face only to the buffer name (Bug#5613).
13679 2010-02-20  Kevin Ryde  <user42@zip.com.au>
13681         * progmodes/compile.el (compilation-error-regexp-alist-alist):
13682         In `watcom' anchor regexp to start of line, to avoid slowness
13683         (Bug#5599).
13685 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
13687         * subr.el (remove-yank-excluded-properties): Explain in a comment
13688         why `category' property is removed.
13690 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
13692         * isearch.el (isearch-update-post-hook, isearch-update):
13693         Revert 2010-02-17 change.
13695 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
13697         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
13698         (icalendar--convert-weekly-to-ical)
13699         (icalendar--convert-yearly-to-ical)
13700         (icalendar--convert-block-to-ical)
13701         (icalendar--convert-cyclic-to-ical)
13702         (icalendar--convert-anniversary-to-ical): Take care of time
13703         specifications where hour has 1-digit only (Bug#5549).
13705 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
13707         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
13708         of disassemble output in GDB 7.1.
13710 2010-02-19  Glenn Morris  <rgm@gnu.org>
13712         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
13713         property.  (Bug#5593)
13715 2010-02-18  Sam Steingold  <sds@gnu.org>
13717         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
13719 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
13721         Use abbreviated file names in bookmarks (bug#5591).
13722         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
13723         calls to expand-file-name.
13724         (bookmark-relocate): Use abbreviated file names in bookmarks.
13725         (bookmark-load): Use abbreviated file names in messages.
13727 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
13729         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
13730         expand "." and "..".  Reported by Thierry Volpiatto
13731         <thierry.volpiatto@gmail.com>.
13733 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
13735         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
13736         permissions of the temporary file to "0600".  In case the remote
13737         file has no read permissions for the owner, there might be
13738         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
13740 22010-02-18  Glenn Morris  <rgm@gnu.org>
13742         * emacs-lisp/authors.el (authors-renamed-files-alist):
13743         Add entries for INSTALL.CVS.
13745 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
13747         * vc-bzr.el: Fix typo in Known Bugs section.
13749         * isearch.el (isearch-update-post-hook): New hook.
13750         (isearch-update): Use the new hook.
13752 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
13754         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13755         Fix errors in copying directories.
13756         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
13757         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
13758         (tramp-handle-delete-file)
13759         (tramp-handle-dired-recursive-delete-directory)
13760         (tramp-handle-write-region): Flush also the cache for the upper
13761         directory.
13763 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
13765         * simple.el (save-interprogram-paste-before-kill): Doc fix.
13767         * cus-edit.el (hardware): Doc fix.
13769         * man.el (man): Add to external custom group.
13771         * delim-col.el (columns): Move to wp custom group.
13773         * doc-view.el (doc-view): Add to data custom group.
13775         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
13777         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
13778         by ispell-parse-output (Bug#5575).
13780 2010-02-16  Kenichi Handa  <handa@m17n.org>
13782         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
13783         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
13784         (skkdic-convert): Use `euc-japan' coding system for writing.
13786 2010-02-16  Glenn Morris  <rgm@gnu.org>
13788         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
13789         tex-main-file before using it.  (Bug#5562)
13791 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13793         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
13794         warnings, since it is annoying for the user to see them each time he
13795         runs the code.
13797 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
13799         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
13800         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
13801         instead of PROC for caching "first-password-request".  Otherwise,
13802         new processes would not profit from passwords already entered.
13804         * net/tramp-cache.el (tramp-dump-connection-properties):
13805         Don't save "first-password-request" property.
13807 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
13809         * outline.el (outline-head-from-level):
13810         * simple.el (with-wrapper-hook):
13811         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
13812         (elint-defun, elint-buffer-env, elint-top-form-logged)
13813         (elint-unbound-variable):
13814         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
13815         Fix typos in docstrings.
13817 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
13819         * files.el (insert-directory): When WILDCARD-REGEXP and
13820         FULL-DIRECTORY-P are nil, insert the file entry instead of the
13821         whole directory.  (Bug#5551)
13823         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
13824         dired's alignment sanity.  (Bug#5516)
13826 2010-02-14  Juri Linkov  <juri@jurta.org>
13828         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
13829         Remove remaining ^H with their preceding chars.  (Bug#5566)
13831 2010-02-13  Glenn Morris  <rgm@gnu.org>
13833         * simple.el (transpose-subr): Give it a doc-string.
13835         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
13836         Doc fixes.
13838 2010-02-12  Juri Linkov  <juri@jurta.org>
13840         * arc-mode.el (archive-unique-fname): Make directories for nested
13841         archives.  (Bug#5540)
13843 2010-02-12  Juri Linkov  <juri@jurta.org>
13845         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
13847 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13849         * subr.el (copy-overlay): Handle deleted overlays.
13851         * man.el (Man-completion-table): Don't signal an error if we can't run
13852         manual-program (bug#4056).
13854 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
13856         * textmodes/artist.el (artist-mt): Fix typos in docstring.
13858 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
13860         * info.el (Info-bookmark-jump): Simplify.
13862         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
13863         (bookmark-default-handler): Accept new bookmark field `buffer'.
13865 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
13867         * iswitchb.el (iswitchb-completions): Revert last change.
13869 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
13871         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
13872         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
13873         This prevents file names like "~/" being listed literally.
13875 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
13877         * term/xterm.el (xterm-maybe-set-dark-background-mode):
13878         Remove dead code.  (Bug#5546)
13880 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
13882         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
13883         correctly (Bug#5548).
13885 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
13887         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
13888         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
13890 2010-02-08  Kenichi Handa  <handa@m17n.org>
13892         * international/mule-util.el (with-coding-priority): Add autoload
13893         cookie for putting `lisp-indent-function'.
13895 2010-02-07  Glenn Morris  <rgm@gnu.org>
13897         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
13898         Move F2003 named interfaces from keywords-2 to keywords-1, and
13899         use function-name-face rather than constant-face.
13900         Simplify "abstract interface" regexp.
13902 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
13904         * eshell/esh-util.el (eshell-file-attributes): New optional arg
13905         ID-FORMAT.  Pass it to `file-attributes'.
13907         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
13909 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
13911         * faces.el (set-face-attribute): Allow calling
13912         internal-set-lisp-face-attribute with 'unspecified family and
13913         foundry argument (Bug#5536).
13915 2010-02-07  Glenn Morris  <rgm@gnu.org>
13917         * progmodes/f90.el (f90-font-lock-keywords-2)
13918         (f90-looking-at-type-like, f90-looking-at-program-block-end):
13919         Handle F2003 named interfaces.
13921 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
13923         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
13924         beg and end before calling c-get-state-before-change-functions.
13926 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
13928         * vc-bzr.el (vc-bzr-dir-extra-headers):
13929         Disable the pending merges header.
13931 2010-02-05  Juri Linkov  <juri@jurta.org>
13933         * doc-view.el (doc-view-mode):
13934         * image-mode.el (image-mode): Put property mode-class=special.
13935         (Bug#4896)
13937 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
13939         * vc-svn.el (vc-svn-revision-table): New function.
13941 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
13943         * net/ange-ftp.el (ange-ftp-insert-directory):
13944         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13945         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13946         Handle also directories.  (Bug#5478)
13948 2010-02-05  Glenn Morris  <rgm@gnu.org>
13950         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
13952 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
13954         * startup.el (command-line-1): Convert options beginning with a
13955         single dash as well (Bug#5519).
13957 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13959         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
13960         * minibuffer.el (completion-initials-expand): Only check the presence
13961         of delims *within* the boundaries, since otherwise the / delim is
13962         always found for files.
13964         Fix up various corner case problems.
13965         * doc-view.el (doc-view-last-page-number): New function.
13966         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
13967         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
13968         (doc-view-kill-proc): Avoid inf-loop in freak cases.
13969         (doc-view-reconvert-doc): Use the new recursive delete-directory.
13970         (doc-view-convert-current-doc): Don't create the resolution.el file
13971         here any more.
13972         (doc-view-pdf/ps->png): Do it here instead.
13973         (doc-view-already-converted-p): Check that resolution.el is present.
13974         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
13975         windows that are not yet showing images.
13977 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
13979         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
13980         `dired-uncache' for every elemnt which is an absolute file name.
13982         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
13983         directory, handle its directory component.
13984         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
13985         function is called permanently and creates noise, otherwise.
13987         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13988         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13989         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
13991 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
13993         * macros.el (apply-macro-to-region-lines):
13994         Minor simplification.  (Bug#5485)
13996 2010-02-04  Glenn Morris  <rgm@gnu.org>
13998         * mail/rmail.el (rmail-show-message-1): Handle malformed
13999         quoted-printable text.  (Bug#5441)
14001         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
14003         * simple.el (visual-line-mode): Capitalize lighter.
14005 2010-02-03  John Wiegley  <jwiegley@gmail.com>
14007         * iswitchb.el (iswitchb-completions): Add bookmark files to the
14008         list of files considered for "virtual buffer" completions.
14010 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
14012         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
14013         also in case of (and (not full) (not wildcard)).  This is needed
14014         when dired is called with a list of files, which are not in
14015         `default-directory'.  (Bug#5478)
14017 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14019         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
14021 2010-02-02  Juri Linkov  <juri@jurta.org>
14023         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
14024         from unidiff to allow function-line after @@.
14026 2010-02-02  Juri Linkov  <juri@jurta.org>
14028         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
14029         '(RCS SCCS) with inverted condition.
14031 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
14033         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
14034         messages.
14036 2010-02-01  Juri Linkov  <juri@jurta.org>
14038         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
14039         compare with "pkunzip" and "pkzip" instead of only "pkzip".
14040         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
14041         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
14043 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14045         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
14046         (doc-view-revert-buffer): New command.
14047         (doc-view-mode-map): Use it.
14049 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
14051         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
14052         pending merge is detected.
14054 2010-01-31  Juri Linkov  <juri@jurta.org>
14056         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
14057         beginning of interactive spec like all other grep commands do.
14058         Put "all" in front of "gz".  (Bug#5260)
14060 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
14062         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
14064 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
14066         * dirtrack.el (dirtrack): Warn instead of signalling error if the
14067         regexp is incorrect (Bug#5476).
14069 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
14071         * net/tramp.el (tramp-handle-insert-directory): Handle also
14072         symlinks, when FILENAME is not in `default-directory'.
14074 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
14076         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
14077         FILE is not in `default-directory'.  (Bug#5478)
14079         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
14080         of SWITCHES.  Handle the case, FILENAME is not in
14081         `default-directory'.  (Bug#5478)
14082         (tramp-register-file-name-handlers): Add safe-magic property.
14084 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
14086         * arc-mode.el (archive-zip-extract): Quote the argument passed to
14087         unzip (Bug#5475).
14089 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
14091         * progmodes/flymake.el (flymake-allowed-file-name-masks)
14092         (flymake-master-make-header-init): Add other C++ filename masks.
14093         (flymake-find-possible-master-files)
14094         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
14096 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
14098         Fix some busybox annoyances.
14100         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
14101         not responding." string.
14102         (tramp-open-connection-setup-interactive-shell): Dump stty
14103         settings.  Enable "neveropen" arg for all `tramp-send-command'
14104         calls.  Handle "=" in variable values properly.
14105         (tramp-find-inline-encoding): Raise an error, when no encoding is
14106         found.
14107         (tramp-wait-for-output): Check, whether PROC buffer is available.
14108         Remove spurious " ^H" sequences, sent by busybox.
14109         (tramp-get-ls-command): Suppress coloring, if possible.
14111 2010-01-28  Glenn Morris  <rgm@gnu.org>
14113         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
14115         * log-edit.el (log-edit-strip-single-file-name): Add missing
14116         :safe, :group, and :version tags.
14118 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
14120         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
14121         buffers.  (Bug#5477)
14123 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
14125         * files.el (delete-directory): Handle moving to trash without
14126         first doing recursion (Bug#5436).
14128 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
14130         * vc-hooks.el (vc-path): Mark as obsolete.
14132 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
14134         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
14135         names too.
14137         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
14138         for the short log.
14139         (vc-bzr-log-view-mode): Adjust regexp for the above change.
14141 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
14143         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
14145         * vc-bzr.el (vc-bzr-revision-table): New function.
14147 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>
14149         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
14150         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
14152 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
14154         Remove support for adding --signoff on commit.
14155         Future support will use an incompatible generic mechanism.
14156         * vc-git.el (vc-git-add-signoff): Remove variable.
14157         (vc-git-toggle-signoff): Remove function.
14158         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
14160         * term/xterm.el (xterm-maybe-set-dark-background-mode):
14161         Rename from xterm-set-background-mode.  Return t if the background mode
14162         was set.
14163         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
14164         earlier, call it again in case the background mode has changed.
14166 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
14168         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
14169         (Bug#3541).
14171 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
14173         * emacs-lisp/assoc.el (aelement): Doc fix.
14174         (aput, adelete, amake): Use lexical-let (Bug#5450).
14176 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
14178         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
14179         is the same as subprogram call, not declaration.  (Bug#5435).
14181 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
14183         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
14184         (tramp-smb-maybe-open-connection): Use it.
14186 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
14188         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
14190 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
14192         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
14193         just because we see "encoding: 8bit".
14194         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
14196 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
14198         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
14200 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
14202         * jka-compr.el (jka-compr-load): If load-file is not in
14203         load-history, try its file-truename version.  (bug#5447)
14205 2010-01-21  Alan Mackenzie  <acm@muc.de>
14207         Fix a situation where deletion of a cpp construct throws an error.
14208         * progmodes/cc-engine.el (c-invalidate-state-cache):
14209         Before invoking c-with-all-but-one-cpps-commented-out, check that the
14210         special cpp construct is still in the buffer.
14211         (c-parse-state): Record the special cpp with markers, not numbers.
14213 2010-01-21  Kenichi Handa  <handa@m17n.org>
14215         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
14216         process last-command-event, as it is now decoded first (Bug#5380).
14218 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
14220         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
14222 2010-01-20  Glenn Morris  <rgm@gnu.org>
14224         * indent.el (tab-always-indent): Fix custom-type.
14226 2010-01-19  Alan Mackenzie  <acm@muc.de>
14228         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
14229         buffer throws "args out of range".
14230         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
14231         playing the role of delimiter.
14233 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
14235         * progmodes/ada-mode.el: Fix bug#5400.
14236         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
14237         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
14238         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
14239         Improve comments in "is" portion.  Handle null procedure declaration.
14240         (ada-move-to-end): Improve doc string.
14242 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
14244         * ido.el (ido-cur-list): Initialize to nil.
14245         Remove obsolete information from commentary.
14246         (ido-choice-list): Initialize to nil.
14247         (ido-get-bufname): Reject minibuffers.
14248         (ido-make-buffer-list): If "default" is a nonexistent
14249         buffer, ignore it, as per the function's comment.
14250         (ido-kill-buffer-internal): New function.
14251         (ido-kill-buffer-at-head): Use it.
14252         (ido-visit-buffer): Likewise.
14254 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
14256         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
14258 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
14260         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
14261         Fix typos in chart titles.
14263         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
14264         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
14265         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
14266         (describe-class, eieio-describe-generic, describe-generic):
14267         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
14268         (eieio-speedbar-expand):
14269         * emulation/viper-cmd.el (viper-exec-form-in-vi)
14270         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
14271         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
14272         (viper-del-backward-char-in-replace, viper-backward-indent)
14273         (viper-brac-function, viper-register-to-point, viper-submit-report):
14274         * net/tramp.el (tramp-remote-coding-commands):
14275         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
14276         Fix typos in docstrings.
14278 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
14280         * mail/sendmail.el (mail-yank-original): Set the mark if the
14281         specified function for yanking does not do it.
14283 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
14285         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
14287         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
14288         resyncing a directory.
14290 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
14292         * progmodes/ada-mode.el: Fix bug#1920.
14293         (ada-ident-re): Delete ., allow multibyte characters.
14294         (ada-goto-label-re): New; matches goto labels.
14295         (ada-block-label-re): New; matches block labels.
14296         (ada-label-re): New; matches both.
14297         (ada-named-block-re): Delete; callers changed to use
14298         `ada-block-label-re' instead.
14299         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
14300         Use `ada-block-label-re'.
14301         (ada-indent-on-previous-lines): Improve handling of goto labels.
14302         (ada-get-indent-block-start): Special-case block label.
14303         (ada-get-indent-label): Split into `ada-indent-block-label' and
14304         `ada-indent-goto-label'.
14305         (ada-goto-stmt-start, ada-goto-next-non-ws):
14306         Optionally ignore goto labels.
14307         (ada-goto-next-word): Simplify.
14308         (ada-indent-newline-indent-conditional): Insert newline before
14309         trying to fix indentation; doc fix.
14311 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
14313         * calc/calc.el (calc-command-flags): Give it an initial value.
14315 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
14317         * files.el (minibuffer-with-setup-hook):
14318         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
14319         (artist-key-draw-continously, artist-key-do-continously-continously)
14320         (artist-key-set-point-continously, artist-mouse-draw-continously):
14321         Fix typos in docstrings.
14323 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
14325         * nxml/nxml-mode.el (nxml-extend-after-change-region):
14326         Never return t (Bug#3898).
14328 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
14330         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
14331         can parse the output of the external commands (Bug#5279).
14333 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
14335         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
14337 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
14339         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
14341         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
14343         * startup.el (command-line): Remove unused --icon-type arg.
14344         Handle --display arg, passing it to command-line-1 (Bug#5392).
14346 2010-01-16  Mario Lang  <mlang@delysid.org>
14348         * emacs-lisp/chart.el (chart-translate-namezone):
14349         * textmodes/artist.el (artist-compute-popup-menu-table):
14350         Remove duplicated words in doc-strings.
14352 2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)
14354         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
14355         to mairix-search to suppress threading (Bug#5342).
14357 2010-01-15  Kenichi Handa  <handa@m17n.org>
14359         * international/mule-cmds.el (canonicalize-coding-system-name):
14360         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
14362 2010-01-15  Glenn Morris  <rgm@gnu.org>
14364         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
14366         * wid-edit.el (widget-keymap): Doc fix.
14368         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
14369         former seems to be more widely accepted by various svn versions.
14371 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
14373         * find-cmd.el (find-constituents):
14374         * vc-arch.el (vc-arch-root):
14375         * window.el (window-body-height, pop-up-frames):
14376         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
14377         * progmodes/ada-stmt.el (ada-if):
14378         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
14379         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
14380         (ispell-encoding8-command, ispell-aspell-supports-utf8)
14381         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
14383         * progmodes/flymake.el (flymake-post-syntax-check):
14384         Fix typo in error message.
14386 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
14388         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
14389         which is always a string.  (Bug#5313)
14391 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
14393         * progmodes/ada-xref.el (ada-default-prj-properties):
14394         Simplify previous change.
14396 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
14398         * progmodes/ada-xref.el (ada-default-prj-properties):
14399         Default ada_project_path to $ADA_PROJECT_PATH.
14401 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
14403         * progmodes/ada-mode.el (ada-create-keymap):
14404         Override `narrow-to-defun' with `ada-narrow-to-defun'.
14406 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
14408         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
14409         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
14410         (ada-get-current-indent, ada-imenu-generic-expression)
14411         (ada-which-function): Check for it.
14413 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
14415         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
14416         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
14418 2010-01-14  Glenn Morris  <rgm@gnu.org>
14420         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
14422 2010-01-14  Kenichi Handa  <handa@m17n.org>
14424         * composite.el (auto-composition-mode): Make it a buffer local
14425         variable (permanent-local).
14426         (auto-composition-function): Set the default value to
14427         auto-compose-chars.
14428         (auto-composition-mode): Make it a simple function, not a minor mode.
14429         (global-auto-composition-mode): Likewise.
14430         (turn-on-auto-composition-if-enabled): Delete it.
14432 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
14434         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
14436 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
14438         * files.el (copy-directory): Compute target for recursive
14439         directories with identical names.  (Bug#5343)
14441 2010-01-12  Glenn Morris  <rgm@gnu.org>
14443         * mail/emacsbug.el (report-emacs-bug-pretest-address):
14444         Set it to bug-gnu-emacs rather than emacs-pretest-bug.
14446 2010-01-11  Sam Steingold  <sds@gnu.org>
14448         * imenu.el (imenu-default-create-index-function): Detect infinite
14449         loops caused by imenu-prev-index-position-function.
14451 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
14453         * htmlfontify.el (htmlfontify-load-rgb-file)
14454         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
14455         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
14456         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
14457         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
14458         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
14459         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
14460         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
14461         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
14462         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
14463         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
14464         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
14465         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
14466         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
14467         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
14468         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
14469         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
14470         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
14471         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
14472         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
14473         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
14474         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
14475         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
14476         backslash-quoting from parentheses, etc.
14478 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
14480         * progmodes/js.el: Autoload javascript-mode alias.
14482 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
14484         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
14485         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
14486         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
14487         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
14488         Fix typos in docstrings.
14489         (ffap-url-regexp): Doc fix.
14490         (ffap-at-mouse): Fix typo in message.
14492 2010-01-11  Glenn Morris  <rgm@gnu.org>
14494         * version.el (emacs-copyright): Set copyright year to 2010.
14496 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
14498         * format.el (format-annotate-function): Only set
14499         write-region-post-annotation-function after running to-fn so as not to
14500         affect nested write-region calls (bug#5273).
14502 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
14504         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
14505         wisent/python.el.
14507 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
14509         * man.el (Man-goto-section): Signal error if the section is not
14510         found (Bug#5317).
14512 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
14514         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
14515         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
14517 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
14519         * progmodes/compile.el: Don't treat compile-command as safe if
14520         compilation-read-command might be nil (Bug#4218).
14522 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
14524         * startup.el (command-line-1): Use orig-argi to check for ignored X and
14525         NS options.
14527 2010-01-08  Kenichi Handa  <handa@m17n.org>
14529         * international/fontset.el (build-default-fontset-data):
14530         Exclude characters in scripts kana, hangul, han, or cjk-misc.
14532 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
14534         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
14535         to `create-file-buffer' as it expects, not just a buffer name.
14536         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
14537         to help uniquify.  (Bug#3224)
14539 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
14541         * font-setting.el (font-setting-change-default-font): Use user-spec
14542         instead of name.
14544 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
14546         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
14548 2010-01-05  Tom Tromey  <tromey@redhat.com>
14550         * progmodes/python.el (python-font-lock-keywords):
14551         Handle qualified decorators (Bug#881).
14553 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
14555         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
14556         in a lightweight checkout.
14558 2010-01-05  Kenichi Handa  <handa@m17n.org>
14560         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
14562 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
14564         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
14566 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
14568         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
14569         checkouts.  (Bug#618)
14570         (vc-bzr-log-view-mode): Also highlight the author.
14571         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
14572         (vc-bzr-shelve-menu-map):
14573         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
14574         (vc-bzr-shelve-apply): Make prompt more explicit.
14576 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
14578         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
14579         They are valid characters in URL paths (rfc3986), and at least
14580         Firefox does not understand the encoded version (Bug#3166).
14582 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
14584         * progmodes/octave-mod.el (octave-end-keywords)
14585         (octave-block-begin-or-end-regexp, octave-block-match-alist):
14586         Add "end" keyword (Bug#3061).
14587         (octave-end-as-array-index-p): New function.
14588         (calculate-octave-indent): Use it.
14590 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14592         * bookmark.el: Consistently put the text property on the bookmark name.
14593         (bookmark-bmenu-marks-width): Bump back to 2, to include
14594         annotation marks.
14595         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
14596         property on the bookmark name, instead of not putting it at all.
14597         (bookmark-bmenu-list): Fix where we put the text property.
14599 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14601         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
14602         for showing buffer modified state (as added in the previous change).
14604 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14606         * bookmark.el: Show modified state of bookmark buffer more accurately.
14607         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
14608         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
14609         (with-buffer-modified-unmodified): New macro.
14610         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14611         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
14612         Use new macro to preserve the buffer modified state.
14614 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14616         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
14617         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
14618         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
14619         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
14620         (bookmark-bmenu-rename, bookmark-bmenu-locate)
14621         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
14622         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
14624 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
14626         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14627         Make the lines in the generated doc string shorter.  (Bug#4668)
14629 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
14631         * net/rcirc.el: Add follow-link binding (Bug#4738).
14633 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
14635         * Makefile.in (bzr-update): Rename from cvs-update.
14636         (cvs-update): New target for backward compatibility.
14638         * makefile.w32-in (bzr-update): Rename from cvs-update.
14639         (cvs-update): New target for backward compatibility.
14641 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14643         * bookmark.el: Remove gratuitous gratitude.
14645 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14647         * bookmark.el (bookmark-bmenu-any-marks): New function.
14648         (bookmark-bmenu-save): Clear buffer modification if no marks.
14650 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14652         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
14653         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
14654         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
14655         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
14657         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
14658         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
14659         To: emacs-devel {_AT_} gnu.org
14660         Subject: bookmark.el bug report
14661         Date: Mon, 28 Dec 2009 14:19:16 +0800
14662         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
14664 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
14666         * bookmark.el: Improvements suggested by Drew Adams:
14667         (bookmark-bmenu-ensure-position): New name for
14668         `bookmark-bmenu-check-position'.  Just ensure the position,
14669         don't return any meaningful value.
14670         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
14671         New constants.
14673 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
14675         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
14676         (bookmark-yank-point, bookmark-bmenu-check-position):
14677         Fix typos in docstrings.
14678         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
14679         (bookmark-name-from-full-record, bookmark-get-position)
14680         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
14681         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
14682         Remove useless quoting of parenthesis, etc. in docstrings.
14684         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
14685         (ediff-append-custom-diff): Fix typo in error message.
14686         (ediff-meta-mark-equal-files): Fix typos in messages.
14688         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
14690         * net/imap-hash.el (imap-hash-make): Doc fix.
14691         (imap-hash-test): Fix typo in error message; reflow docstring.
14692         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
14693         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
14694         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
14695         Fix typos in docstrings.
14696         (imap-hash-open-connection): Fix typo in error message.
14698         * play/gomoku.el (gomoku): Fix typos in docstring.
14700         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
14701         (gdb-jsonify-buffer): Fix typos in docstring.
14702         (gdb-goto-breakpoint): Fix typo in error message.
14703         ("Display Other Windows"): Fix typo in help message.
14704         (gdb-speedbar-expand-node): Fix typo in question.
14706         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
14707         (idlwave-html-system-help-location, idlwave-html-help-location)
14708         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
14709         (idlwave-help-browser-generic-args, idlwave-help-directory)
14710         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
14711         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
14712         (idlwave-online-help, idlwave-help-html-link)
14713         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
14714         Fix typos in docstrings.
14715         (idlwave-help-with-source, idlwave-help-find-routine-definition):
14716         Reflow docstrings.
14717         (idlwave-help-assistant-start): Fix typo in error message.
14719         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
14720         (octave-electric-space): Fix typos in docstrings.
14722 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
14724         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
14726 2010-01-01  Juri Linkov  <juri@jurta.org>
14728         * comint.el (comint-input-ring-size): Make it a defcustom and
14729         increase the default to 500 (Bug#5148).
14731 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
14733         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
14734         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
14735         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
14737 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
14739         Show working revision correctly for mercurial.
14740         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
14741         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
14743 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
14745         Declare some functions for the byte-compiler.
14746         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
14747         (speedbar-timer-fn, speedbar-change-expand-button-char)
14748         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
14750 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
14752         This changeset reverts GDB Graphical Interface to use annotations.
14753         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
14755 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
14757         Make vc-dir work on subdirectories of the bzr root.
14758         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
14759         Return file names relative to it.
14760         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
14761         relative directory to vc-bzr-after-dir-status.
14763 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
14765         * font-lock.el (font-lock-refresh-defaults): New function, which
14766         can be used to let font-lock react to external changes in
14767         variables like font-lock-defaults and keywords.
14768         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
14770 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
14772         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
14774         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
14776 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
14778         Supersede color.diff settings in git log (bug#5211).
14780         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
14781         escape chars in its output when the user has color.diff set to `always'.
14782         This fix works on git 1.4.2 and newer (released on 2006-08-13).
14784 2009-12-26  Kevin Ryde  <user42@zip.com.au>
14786         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
14787         node.  Keep previous "Index" name to work with past coreutils too.
14789         * man.el (man): Revise docstring a bit to show -a and -l as
14790         examples.  Add -k description since support for it has otherwise
14791         been a secret.  (Further to bug#3717.)
14792         (Man-bgproc-sentinel): When "-k foo" produces no output show error
14793         "no matches" rather than "Can't find manpage", as the latter reads
14794         like -k was interpreted as a page name, which is not so.  (Bug#5431)
14796 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
14798         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
14799         switches.  Check also for //SUBDIRED// line.
14801 2009-12-25  Kenichi Handa  <handa@m17n.org>
14803         * language/indian.el (devanagari-composable-pattern): Fix to
14804         handle ZWNJ and ZWJ.  Use it in composition-function-table for
14805         Devanagari.
14806         (malayalam-composable-pattern): Fix previous change.
14808 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
14810         * ps-print.el (ps-face-attributes): It was not returning the
14811         attribute face for faces specified as string.  Reported by harven
14812         <harven@free.fr>.  (Bug#5254)
14813         (ps-print-version): New version 7.3.5.
14815 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
14817         * calendar/icalendar.el (icalendar--convert-tz-offset):
14818         Fix timezone names.
14819         (icalendar--convert-tz-offset): Fix the "last-day-problem".
14820         (icalendar--add-diary-entry): Remove the trailing blank that
14821         diary-make-entry inserts.
14823 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
14825         Make `file-expand-wildcards' work for remote files.
14827         * files.el (file-expand-wildcards): In case of remote files, check
14828         only local file name part for wildcards.  Provide feature 'files
14829         and subfeature 'remote-wildcards.  (Bug#5198)
14831         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
14832         if there is already an established connection.
14833         (tramp-advice-file-expand-wildcards): Remove it.
14835         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
14836         (tramp-advice-file-expand-wildcards): Move from tramp.el.
14837         Activate advice for older GNU Emacs versions.  (Bug#5237)
14839 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
14841         Some doc fixes (more needed).
14843         * find-cmd.el (find-constituents): Reflow docstring.
14844         (find-cmd, find-prune, find-command): Fix typos in docstrings.
14845         (find-generic): Doc fix.
14847 2009-12-17  Juri Linkov  <juri@jurta.org>
14849         Fix regression from 23.1 to allow multiple modes in Local Variables.
14851         * files.el (hack-local-variables-filter): While ignoring duplicates,
14852         don't take `mode' into account.
14853         (hack-local-variables-filter, hack-dir-local-variables):
14854         Don't remove duplicate `mode' from local-variables-alist (like `eval').
14856 2009-12-17  Juri Linkov  <juri@jurta.org>
14858         Make `dired-diff' safer.  (Bug#5225)
14860         * dired-aux.el (dired-diff): Signal an error when `file' equals to
14861         `current' or when `file' is a directory of the `current' file.
14863 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
14865         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
14866         unconditionally preloaded files.
14868 2009-12-16  Juri Linkov  <juri@jurta.org>
14870         Revert to old 23.1 logic of using the file at the mark as default.
14871         * dired-aux.el (dired-diff): Use the file at the mark as default
14872         if it's not the same as the current file, and the target dir is
14873         the current dir or the mark is active.  Add the current file
14874         as the arg of `dired-dwim-target-defaults'.  Use the default file
14875         in the prompt.  (Bug#5225)
14877 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
14879         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
14880         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
14881         (tramp-check-for-regexp): Check also, when an echoing shell stops
14882         to echo sent commands.
14884 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
14886         * Makefile.in: Revert last change (Bug#5191).
14888 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
14890         * vc-hg.el (vc-hg-print-log): Fix argument order.
14891         (vc-hg-working-revision): Make sure the command is executed in a
14892         known environment so that we can parse the output.  (Bug#4417)
14894 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
14896         * progmodes/python.el (python-symbol-completions): Remove text
14897         properties from symbol string before calling python-send-receive.
14899 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
14901         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
14902         when there are values for both file and line.  (Bug#5060)
14904 2009-12-14  Juri Linkov  <juri@jurta.org>
14906         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
14907         whitespace after the file name of the first line of unified format,
14908         because git-diff doesn't output whitespace and file modification time
14909         after the file name.
14911 2009-12-14  David Kastrup  <dak@gnu.org>
14913         * info.el (Info-hide-cookies-node): Before hiding a cookie,
14914         check if it already has the `display' property added by
14915         `Info-display-images-node', and not put the `invisible' property
14916         in this case.
14918 2009-12-13  Glenn Morris  <rgm@gnu.org>
14920         * mail/emacsbug.el (message-sort-headers): Define for compiler.
14921         (report-emacs-bug): In message-mode, sort manually before storing
14922         original report text.  (Bug#5178)
14923         Remove superfluous save-excursion.
14925 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
14927         * net/dbus.el (dbus-property-handler): Filter lambda forms out
14928         when responding to "GetAll" properties.
14930 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
14932         * simple.el (compose-mail): Remove mail-setup-with-from from
14933         customization checks.
14935 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
14937         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
14938         RAR archives created on Unix systems.
14940 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14942         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
14943         the varalias that was accidentally removed by the 2009-11-19 change
14944         (bug#5186).
14946 2009-12-12  Kenichi Handa  <handa@m17n.org>
14948         * language/indian.el (indian-compose-regexp): New function.
14949         (malayalam-composable-pattern): Fix the pattern.
14950         (composition-function-table): Set malayalam-composable-pattern for
14951         Malayalam characters.
14953 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
14955         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
14956         rather than down-mouse-1, based on follow-link conventions.
14958         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
14959         are compiled.
14961 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
14963         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
14964         (verilog-vmm-statement-re, verilog-ovm-statement-re)
14965         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
14966         (verilog-leap-to-head, verilog-backward-token):
14967         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
14969 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
14971         * progmodes/verilog-mode.el (verilog-auto-lineup)
14972         (verilog-nameable-item-re): Cleanup user-visible spelling and
14973         documentation errors.  One reported by Gary Delp.
14974         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
14975         (verilog-read-decls): Fix AUTOWIRE with types declared in a
14976         package, bug195.  Reported by Pierre-David Pfister.
14978 2009-12-11  Glenn Morris  <rgm@gnu.org>
14980         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
14982         * mail/emacsbug.el: No longer require sendmail.
14983         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
14984         (report-emacs-bug-orig-text): Doc fix.
14985         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
14986         New local variables, to adapt to different mail-user-agents.
14987         (report-emacs-bug): Fix test for a gnu.org address.
14988         Use overlays for emphasis, since font-lock defeats 'face property.
14989         Pretest bugs also end up at the newsgroup these days.
14990         Stop message-mode stripping text properties.
14991         Set and use the new buffer-local variables.
14992         (report-emacs-bug-hook): Add doc-string.
14993         Remove some unnecessary save-excursions and simplify.
14994         Use the appropriate hook and send-command.
14996         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
14997         capitalization of some menu entries.
14999 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
15001         * whitespace.el (whitespace-display-char-on):
15002         Ensure `buffer-display-table' is unique when two or more windows are
15003         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
15004         New version 12.1.
15006 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
15008         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
15009         characters in the Attribute field.
15011 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
15013         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
15015 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
15017         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
15018         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15019         Disregard autoload-excludes.
15020         (update-directory-autoloads): Obey autoload-excludes here instead.
15021         But don't store its contents in no-autoloads and remove entries that
15022         refer to excludes files.
15024 2009-12-10  Glenn Morris  <rgm@gnu.org>
15026         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
15027         (expand-mail-aliases): Define for compiler.
15029         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
15030         Define for compiler.
15032         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
15033         appropriate for the mail-user-agent in use.
15035 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
15037         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
15039 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
15041         Fix short log parsing and fontification.
15042         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
15043         Fix fontification for the [merge] label.
15045 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
15047         Drop some properties to avoid surprises (bug#5002).
15048         * htmlfontify.el (hfy-ignored-properties): New defcustom.
15049         (hfy-fontify-buffer): Use it.
15051 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
15053         Minor cleanup.
15054         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
15055         Adjust all callers.
15056         (ffap-locate-file): Remove unused arg `dir-ok' and make other
15057         args compulsory.  Adjust callers.
15058         (ffap-gopher-at-point): Remove unused var `name'.
15060         Get rid of the ELCFILES abomination.
15061         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
15062         (compile-elcfiles): New phony target.
15063         (compile-main): Compute ELCFILES dynamically.
15064         (compile-clean): New target to remove left-over elc files.
15065         (compile, all): Use it.
15067 2009-12-09  Kenichi Handa  <handa@etlken>
15069         * international/mule-diag.el: Require help-mode instead of help-fns.
15071 2009-12-09  Kenichi Handa  <handa@m17n.org>
15073         * international/mule-cmds.el (ucs-names): Supply sufficiently
15074         fine ranges instead of pre-calculating accurate ranges.
15075         Iterate with bigger gc-cons-threshold.
15077 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
15079         Add support for stashing a snapshot of the current tree.
15080         * vc-git.el (vc-git-stash-snapshot): New function.
15081         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
15083 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
15085         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
15086         instead of `(beginning|end)-of-line'.
15088 2009-12-08  Glenn Morris  <rgm@gnu.org>
15090         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
15092         * Makefile.in (ELCFILES): Regenerate.
15094 2009-12-07  Juri Linkov  <juri@jurta.org>
15096         Don't lazy-highlight the comint output in history Isearch mode.
15098         * comint.el (comint-history-isearch-search): Instead of
15099         `comint-line-beginning-position', use `comint-after-pmark-p'
15100         to check if point if before the process mark, and go to
15101         `process-mark' in this case.
15103 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
15105         * textmodes/tex-mode.el (latex-complete)
15106         (latex-indent-or-complete): Remove.
15107         (latex-mode): Set completion-at-point-functions instead.
15109         Provide a standard completion command and hook it into TAB.
15110         * minibuffer.el (completion-at-point-functions): New var.
15111         (completion-at-point): New command.
15112         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
15113         * progmodes/python.el (python-mode-map): Use completion-at-point.
15114         (python-completion-at-point): Rename from python-partial-symbol and
15115         adjust for use in completion-at-point-functions.
15116         (python-mode): Setup completion-at-point for Python completion.
15117         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
15118         extracted from lisp-complete-symbol.
15119         (lisp-complete-symbol): Use it.
15120         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
15121         setup completion-at-point for Elisp completion.
15122         (emacs-lisp-mode-map, lisp-interaction-mode-map):
15123         Use completion-at-point.
15124         * ielm.el (ielm-map): Use completion-at-point.
15125         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
15126         * progmodes/sym-comp.el: Move to...
15127         * obsolete/sym-comp.el: Move from progmodes.
15129 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
15131         Prevent save-buffer in Rmail buffers from using the coding-system
15132         of the current message, and from clobbering the encoding mnemonics
15133         in the mode line (Bug#4623).
15135         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
15136         flag, too.
15137         (rmail-message-encoding): New variable.
15138         (rmail-write-region-annotate): Record the encoding of the current
15139         message in rmail-message-encoding.
15140         (rmail-after-save-hook): New function, restores the encoding of
15141         the current message after the message collection is saved.
15143 2009-12-07  Juri Linkov  <juri@jurta.org>
15145         * progmodes/grep.el (grep-read-files): Use `completing-read'
15146         instead of `read-string'.  Set its `collection' arg to
15147         `read-file-name-internal'.  (Bug#4301)
15149 2009-12-07  Juri Linkov  <juri@jurta.org>
15151         Correctly restore original Isearch point.  (Bug#4994)
15153         * isearch.el (isearch-mode): Move `isearch-push-state' after
15154         `(run-hooks 'isearch-mode-hook)'.
15155         (isearch-cancel): When `isearch-push-state-function' is defined,
15156         let-bind `isearch-cmds' to the first state (the last element of
15157         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
15158         function and restores the original point).  Otherwise, move point
15159         to `isearch-opoint'.
15161 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
15163         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
15164         chars that don't have names, so the table can be built much faster at
15165         run-time.
15167 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
15169         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
15170         change.  Suggested by David Kastrup.
15172         * simple.el (compose-mail): Check for incompatibilities and warn.
15173         (compose-mail-user-agent-warnings): New option.
15175 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
15177         Support showing a single log entry from vc-annotate.
15178         * vc.el (print-log): Add a new argument: START-REVISION.
15179         (vc-print-log-internal): Add a new optional argument and
15180         pass it to the backend.
15181         (vc-print-log, vc-print-root-log): Adjust callers.
15182         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
15183         buffer already displays the requested log entry, use it.
15184         Otherwise display only the log entry in question.
15185         * vc-svn.el (vc-svn-print-log):
15186         * vc-mtn.el (vc-mtn-print-log):
15187         * vc-hg.el (vc-hg-state):
15188         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
15189         (vc-git-show-log-entry): Return t on success.
15190         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
15191         (vc-bzr-show-log-entry): Return t on success.
15192         * vc-rcs.el (vc-rcs-print-log):
15193         * vc-sccs.el (vc-sccs-print-log):
15194         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
15196 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
15198         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
15199         Add menus to the meta mode.  (Bug#5043)
15201 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
15203         * ediff-init.el (ediff-event-key): Use event-to-character instead of
15204         event-key.
15206         * ediff.el (ediff-buffers-internal): Add unwind-protect.
15208 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
15210         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
15211         Berbain <raphael.berbain@gmail.com>.
15213         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
15214         characters.
15215         (tramp-initial-end-of-output): New defconst.
15216         (tramp-methods, tramp-find-shell)
15217         (tramp-open-connection-setup-interactive-shell)
15218         (tramp-maybe-open-connection): Use it.
15219         (tramp-shell-prompt-pattern, tramp-wait-for-output):
15220         Handle existence of `#' and `$'.
15222         * net/tramp-fish.el (tramp-fish-maybe-open-connection):
15223         Use `tramp-initial-end-of-output'.
15225 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
15227         Get the background mode from the terminal for xterm, and set
15228         faces accordingly.
15229         * term/xterm.el (xterm-set-background-mode): New function.
15230         (terminal-init-xterm): Use it in case xterm supports background
15231         color queries.  Recompute faces after getting the background
15232         color.
15234 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
15236         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
15237         number comment back on its own line, for easier parsing.
15239 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
15241         Make it work for non-file buffers (bug#5102).
15242         * doc-view.el (doc-view-current-cache-dir):
15243         Use doc-view-buffer-file-name rather than buffer-file-name.
15244         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
15246 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
15248         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
15249         author field is too short.
15251 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
15253         * vc-git.el (vc-git-print-log): Handle a limit argument.
15254         Display the short log in graph form and with labels.
15255         (vc-git-log-view-mode): Handle labels.
15257         Make vc-revert change VC state from 'added to 'unregistered.
15258         * vc-git.el (vc-git-revert): Call git reset first.
15260 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
15262         * net/newst-backend.el, net/newst-plainview.el:
15263         * net/newst-reader.el, net/newst-ticker.el:
15264         * net/newst-treeview.el, net/newsticker.el:
15265         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
15267 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
15269         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
15271         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
15272         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
15273         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
15274         Update annotation regexp.
15276         * simple.el (beginning-of-visual-line): Constrain to field
15277         boundaries (Bug#5106).
15279 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
15281         * xml.el (xml-substitute-numeric-entities):
15282         Move newsticker--decode-numeric-entities in newst-backend.el to
15283         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
15284         * net/newst-backend.el (newsticker--parse-generic-feed)
15285         (newsticker--parse-generic-items)
15286         (newsticker--decode-numeric-entities):
15287         Move newsticker--decode-numeric-entities in newst-backend.el to
15288         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
15290 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
15292         * progmodes/js.el (js--js-not): Add null to the list of values.
15294 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
15296         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
15298 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
15300         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
15301         delimiter if it is at the end of the current line.
15302         (bibtex-generate-url-list): Fix docstring.
15304 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
15306         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
15307         minibuffer's content with itself.
15308         Fold the confirm-after-completion case into the `confirm' case.
15309         (completion-pcm-word-delimiters): Add : and / to the delimiters.
15311 2009-12-06  Kevin Ryde  <user42@zip.com.au>
15313         * ffap.el (ffap-rfc-path): Make this a defcustom since
15314         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
15316         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
15317         manuals, similar to existing setup for help-mode.  (Bug#3913.)
15319 2009-12-05  Juri Linkov  <juri@jurta.org>
15321         Save and restore dired buffer's point positions too.  (Bug#4880)
15323         * dired.el (dired-save-positions): Return in the first element
15324         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
15325         Doc fix.
15326         (dired-restore-positions): First restore buffer's position.
15327         While restoring window's positions, check if window still displays
15328         the original buffer.
15330 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
15332         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
15333         if possible.
15335         * shell.el (shell): Require ansi-color (Bug#5113).
15337         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
15339         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
15341 2009-12-05  Alan Mackenzie  <acm@muc.de>
15343         * progmodes/cc-mode.el (c-before-hack-hook)
15344         (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
15345         `c-file-style' to work again.  This reversion restores the current
15346         software to its state in Emacs 23.1.  (Bug#4146)
15348 2009-12-05  Kevin Ryde  <user42@zip.com.au>
15350         * textmodes/sgml-mode.el (sgml-lexical-context):
15351         Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
15353 2009-12-05  Juri Linkov  <juri@jurta.org>
15355         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
15356         for virtual nodes.  (Bug#4147)
15357         (Info-find-node-2): Set `Info-current-node-virtual' to nil
15358         when moving from a virtual node.
15359         (Info-mode-menu): Add `Info-virtual-index' to the menu.
15360         (Info-mode): Add `Info-virtual-index' to the docstring.
15362 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
15364         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
15365         track of the buffer position of the end of a BibTeX entry as this
15366         position may change during reformatting.
15367         (bibtex-format-entry): Remove whitespace before processing
15368         numerical fields so that we recognize the latter properly.
15369         (bibtex-reformat): Do not use push which changes the global value
15370         of bibtex-entry-format.
15371         (bibtex-field-braces-alist, bibtex-field-strings-alist)
15372         (bibtex-field-re-init): Replace only space characters by regexp
15373         for whitespace.
15374         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
15375         (bibtex-initialize): Also update bibtex-strings.
15376         (bibtex-kill-field): Preserve white space at end of entry.
15377         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
15378         Update bibtex-reference-keys.
15380 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15382         * minibuffer.el (completion-pcm--merge-try): Also consider placing
15383         point after a star, if that's the only place where modifications can
15384         make progress.
15386 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
15388         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
15389         in docstrings.
15391 2009-12-04  Juri Linkov  <juri@jurta.org>
15393         * proced.el (proced): Call `(proced-update t)' to update process
15394         information instead of only running proced-post-display-hook.
15395         (proced-send-signal): Add a leading space to the buffer name
15396         " *Marked Processes*" to make this buffer ephemeral.
15398 2009-12-04  Juri Linkov  <juri@jurta.org>
15400         * dired.el (dired-auto-revert-buffer): New defcustom.
15401         (dired-internal-noselect): Use it.
15403 2009-12-04  Juri Linkov  <juri@jurta.org>
15405         Change roles of modes and functions in image-mode.el (Bug#5062).
15407         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
15408         in `auto-mode-alist'.
15409         (image-mode-previous-major-mode): New variable.
15410         (image-minor-mode-map): Rename from `image-mode-text-map'.
15411         (image-mode): Move graceful error-handling code from
15412         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
15413         (image-minor-mode): Remove all image-handling code.
15414         Replace `image-mode-text-map' with `image-minor-mode-map'.
15415         Check for `image-type' in mode-line format string.
15416         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
15417         (image-mode-as-text): New function with most code from
15418         `image-mode-maybe'.
15419         (image-toggle-display-text): Move code that removes image
15420         properties from `image-toggle-display' to here.
15421         (image-toggle-display-image): New function with code that adds
15422         image properties copied from `image-toggle-display'.
15423         (image-toggle-display): Remove most code with leaving only code
15424         that toggles between `image-mode-as-text' and `image-mode'.
15426 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
15428         * net/newst-treeview.el
15429         (newsticker--treeview-list-highlight-start): Restored call to
15430         save-excursion: Selected item was stuck.
15431         (newsticker--treeview-list-select): New.
15432         (newsticker--treeview-item-show-text)
15433         (newsticker--treeview-item-show)
15434         (newsticker--treeview-item-update): Use new
15435         newsticker-treeview-item-mode.
15436         (newsticker-treeview-update): Keep current item.
15437         (newsticker-treeview-next-new-or-immortal-item): Doc change.
15438         (newsticker--treeview-first-feed): Doc change.
15439         (newsticker-treeview-list-menu)
15440         (newsticker-treeview-item-menu): Add menu entries.
15441         (newsticker-treeview-item-mode): New.
15443         * net/newst-backend.el (newsticker-customize): Delete other
15444         windows.
15446 2009-12-04  Sam Steingold  <sds@gnu.org>
15448         * log-view.el (log-view-mode-map): "q" calls quit-window,
15449         like in all the other non-self-insert buffers.
15451 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
15453         Minor cleanup.
15454         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
15455         key decoding rather than do it manually via last-input-event +
15456         ascii-character.
15457         (term-exec): Use delete-and-extract-region.
15458         (term-handle-ansi-terminal-messages): Remove unused var `end'.
15459         (term-process-pager): Remove unused var `i'.
15460         (term-dynamic-simple-complete): Make obsolete.
15461         (serial-update-config-menu): Remove unused vars `y' and `str'.
15462         (term-update-mode-line): Remove unused var `temp'.
15464 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
15466         Limit the number of log entries displayed by default.
15467         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
15468         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
15469         using a prefix argument.
15471 2009-12-03  Glenn Morris  <rgm@gnu.org>
15473         * progmodes/idlwave.el (class): Restore still useful declaration.
15475 2009-12-03  Alan Mackenzie  <acm@muc.de>
15477         Enhance `c-parse-state' to run efficiently in "brace deserts".
15479         * progmodes/cc-mode.el (c-basic-common-init):
15480         Call c-state-cache-init.
15481         (c-neutralize-syntax-in-and-mark-CPP): Rename from
15482         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
15483         placing `category' properties value 'c-cpp-delimiter at its boundaries.
15485         * progmodes/cc-langs.el (c-before-font-lock-function):
15486         c-extend-and-neutralize-syntax-in-CPP has been renamed
15487         c-neutralize-syntax-in-and-mark-CPP.
15489         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
15490         with `category' properties now, not `syntax-table' ones.
15492         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
15493         enhanced (but slower) version of c-end-of-macro that won't land
15494         inside a literal or on another awkward character.
15495         (c-state-cache-too-far, c-state-cache-start)
15496         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
15497         (c-state-nonlit-pos-cache-limit, c-state-point-min)
15498         (c-state-point-min-lit-type, c-state-point-min-lit-start)
15499         (c-state-min-scan-pos, c-state-brace-pair-desert)
15500         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
15501         buffer local variables.
15502         (c-state-literal-at, c-state-lit-beg)
15503         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
15504         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
15505         (c-state-cache-top-paren, c-state-cache-after-top-paren)
15506         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
15507         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
15508         (c-renarrow-state-cache)
15509         (c-append-lower-brace-pair-to-state-cache)
15510         (c-state-push-any-brace-pair, c-append-to-state-cache)
15511         (c-remove-stale-state-cache)
15512         (c-remove-stale-state-cache-backwards, c-state-cache-init)
15513         (c-invalidate-state-cache-1, c-parse-state-1)
15514         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
15515         (c-parse-state): Enhance and refactor.
15516         (c-debug-parse-state): Amend to deal with all the new variables.
15518         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
15519         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
15520         modify to use category text properties rather than syntax-table ones.
15521         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
15522         to switch off/on the syntactic paren property of C++ template
15523         delimiters using the category property.
15524         (c-with-<->-as-parens-suppressed): Macro to invoke code with
15525         template delims suppressed.
15526         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
15527         New constant/macros which apply category properties to the start
15528         and end of preprocessor constructs.
15529         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
15530         "comment out" the syntactic value of characters in preprocessor
15531         constructs.
15532         (c-with-cpps-commented-out)
15533         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
15534         with characters in all or all but one preprocessor constructs
15535         "commented out".
15537 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
15539         * proced.el (proced-filter-alist): Use regexp-quote.
15541 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
15543         Cleanup.
15544         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
15545         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
15546         arguments.  Expand `default-directory'.
15548         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
15549         the benefit of returning an expanded localname.
15550         (tramp-tramp-file-p): Handle the case NAME is not a string.
15552 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
15554         Add support for bzr shelve/unshelve.
15555         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
15556         (vc-bzr-extra-menu-map): New variables.
15557         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
15558         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
15559         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
15560         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
15561         (vc-bzr-dir-extra-headers): Display shelves.
15563         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
15565 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15567         * textmodes/bibtex.el (bibtex-complete-internal):
15568         Use completion-in-region.
15569         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
15571 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
15573         Support applying stashes.  Improve UI.
15574         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
15575         (vc-git-stash-apply, vc-git-stash-pop)
15576         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
15577         (vc-git-stash-menu): New functions.
15578         (vc-git-stash-menu-map): New variable.
15579         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
15581 2009-12-03  Glenn Morris  <rgm@gnu.org>
15583         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
15584         (vc-print-log-internal): Fix previous change.
15585         (vc-revert): Correct pluralization.
15587 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15589         * progmodes/make-mode.el (makefile-special-targets-list): No need for
15590         it to be an alist any more.
15591         (makefile-complete): Use completion-in-region.
15593         * progmodes/octave-mod.el (octave-complete-symbol):
15594         Use completion-in-region.
15596         Misc cleanup.
15597         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
15598         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
15599         (idlwave-complete-class): Don't quote lambda.
15600         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
15601         (idlwave-mode-map): Move initialization into declaration.
15602         (idlwave-action-and-binding): Use backquotes.
15603         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
15604         Simplify.
15605         (idlwave-is-pointer-dereference): Remove unused var `pos'.
15606         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
15607         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
15608         `parts', and `all-parts'.
15609         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
15610         (idlwave-convert-xml-system-routine-info): Remove unused string
15611         `version-string'.
15612         (idlwave-display-user-catalog-widget): Use dolist.
15613         (idlwave-scanning-lib): Declare dynamically-scoped var.
15614         (idlwave-scan-library-catalogs): Remove unused var `flags'.
15615         (completion-highlight-first-word-only): Declare to silence bytecomp.
15616         (idlwave-popup-select): Tighten scope of `resp'.
15617         (idlwave-find-struct-tag): Remove unused var `beg'.
15618         (idlwave-after-load-rinfo-hook): Declare.
15619         (idlwave-sintern-class-info): Remove unused var `taglist'.
15620         (idlwave-find-class-definition): Remove unused var `list'.
15621         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
15622         (idlwave-what-module-find-class): Remove unused var `classes'.
15624 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
15626         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
15628 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15630         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
15631         buffers visited.  Remove redundant current-buffer-saving.
15633 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
15635         Use completion-in-buffer and remove uses of dynamic scoping.
15636         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
15637         (pascal-buffer-to-use, pascal-flag): Don't declare.
15638         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
15639         (pascal-get-completion-decl, pascal-keyword-completion):
15640         Add `pascal-str' argument, save-excursion,
15641         return the found completions, and don't filter with pascal-pred.
15642         (pascal-completion-cache): New var.
15643         (pascal-completion): Don't switch buffer any more (it was never
15644         necessary).  Don't save-excursion any more (it's done by the called
15645         subroutines).  Use a cache to avoid redundant computations.
15646         Use complete-with-action rather than pascal-completion-response and
15647         let it apply the predicate as well.
15648         (pascal-complete-word): Use completion-in-buffer when
15649         pascal-toggle-completions is nil.
15650         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
15651         not used any more.
15652         (pascal-comp-defun): Don't change buffer any more.
15653         Use complete-with-action rather than pascal-completion-response and
15654         let it apply the predicate as well.
15655         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
15656         when neded.
15658 2009-12-02  Kenichi Handa  <handa@m17n.org>
15660         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
15661         shape for all Indic scripts.
15663 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
15665         Use completion-in-buffer.
15666         * wid-edit.el (widget-field-text-end): New function.
15667         (widget-field-value-get): Use it.
15668         (widget-string-complete, widget-file-complete)
15669         (widget-color-complete): Use it and completion-in-region.
15670         (widget-complete): Don't narrow the buffer.
15672 2009-12-02  Glenn Morris  <rgm@gnu.org>
15674         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
15675         (rmail-select-summary): Use rmail-pop-to-buffer.
15676         * mail/rmailsum.el: Replace all pop-to-buffer calls with
15677         rmail-pop-to-buffer, to prevent horizontal splits.
15679         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
15680         save-excursion with save-current-buffer.
15681         Widen before searching.  (Bug#5093)
15682         (diary-list-sexp-entries): Remove superfluous save-excursion.
15684 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
15686         * woman.el (woman-make-bufname): Handle man-pages with "." in the
15687         name.  (Bug#5038)
15689 2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
15691         * ido.el (ido-file-internal): Handle filenames at point that do
15692         not have a directory part.  (Bug#5049)
15694 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
15696         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
15697         (mpc-songs-jump-to, mpc-resume): Doc fixes.
15699 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
15701         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
15702         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
15703         any more.
15705 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15707         * comint.el (comint-insert-input): Ignore clicks to the right of
15708         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
15710         * vc.el (vc-print-log-internal): Don't wait for the process to
15711         terminate before setting up the major mode.
15713         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
15714         in case.
15716         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
15717         the last element.
15719         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
15721 2009-12-01  Glenn Morris  <rgm@gnu.org>
15723         * window.el (window--display-buffer-2): Fix previous changes.
15725 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
15727         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
15729 2009-12-01  Glenn Morris  <rgm@gnu.org>
15731         * Makefile.in (ELCFILES): Add mpc.elc.
15733 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15735         * mpc.el: New file.
15737 2009-12-01  Glenn Morris  <rgm@gnu.org>
15739         * window.el (window-to-use): Define for compiler.
15741         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
15742         consistent with others (no final period).
15744         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
15745         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
15747 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
15749         Make vc-print-log buttons work.
15750         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
15752 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
15754         * savehist.el (savehist-autosave-interval): Allow setting to nil
15755         through customize.  (Bug#5056)
15757 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
15759         Fix references to jit-lock properties.
15760         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
15761         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
15762         (perl-font-lock-special-syntactic-constructs):
15763         Quote jit-lock-defer-multiline property.
15765 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
15767         * vc-git.el (vc-git-registered): Call vc-git-root only once.
15769 2009-11-30  Juri Linkov  <juri@jurta.org>
15771         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
15772         value `buffer' of `multi-isearch-next-buffer-current-function'.
15773         Use `(current-buffer)' when `buffer' is nil.
15774         (multi-isearch-next-buffer-from-list): Don't fallback to
15775         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
15777 2009-11-30  Juri Linkov  <juri@jurta.org>
15779         * misearch.el (multi-isearch-read-buffers): Move canonicalization
15780         of buffers with `get-buffer' to `multi-isearch-buffers'.
15781         (multi-isearch-buffers, multi-isearch-buffers-regexp):
15782         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
15783         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
15784         FILES with `expand-file-name' converting relative file names
15785         to absolute.  Doc fix.  (Bug#4727)
15787 2009-11-30  Juri Linkov  <juri@jurta.org>
15789         * misearch.el (multi-isearch-read-buffers)
15790         (multi-isearch-read-matching-buffers): New functions.
15791         (multi-isearch-buffers, multi-isearch-buffers-regexp):
15792         Use them in the `interactive' spec.  Doc fix.
15793         (multi-isearch-read-files, multi-isearch-read-matching-files):
15794         New functions.
15795         (multi-isearch-files, multi-isearch-files-regexp):
15796         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
15798 2009-11-30  Juri Linkov  <juri@jurta.org>
15800         * doc-view.el (doc-view-continuous):
15801         Rename from `doc-view-continuous-mode'.
15802         (doc-view-menu): Move "Toggle display" to the top.
15803         Add submenu "Continuous" with radio buttons "Off"/"On"
15804         and "Save as Default".
15805         (doc-view-scroll-up-or-next-page)
15806         (doc-view-scroll-down-or-previous-page)
15807         (doc-view-next-line-or-next-page)
15808         (doc-view-previous-line-or-previous-page):
15809         Rename `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
15811 2009-11-30  Juri Linkov  <juri@jurta.org>
15813         * comint.el (comint-mode-map): Rebind `M-r' from
15814         `comint-previous-matching-input' to
15815         `comint-history-isearch-backward-regexp'.
15816         Unbind `M-s' to allow global key binding `M-s'.
15817         Add menu items for `comint-history-isearch-backward' and
15818         `comint-history-isearch-backward-regexp'.  (Bug#3746)
15820 2009-11-30  Juri Linkov  <juri@jurta.org>
15822         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
15823         For def=recenter, replace `recenter' with `recenter-top-bottom'
15824         that is called with `this-command' and `last-command' let-bound
15825         to `recenter-top-bottom'.  When the last `def' was not `recenter',
15826         set `recenter-last-op' to nil.  (Bug#4981)
15828 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15830         Minor cleanup and simplification.
15831         * filecache.el (file-cache-add-directory)
15832         (file-cache-add-directory-recursively)
15833         (file-cache-add-from-file-cache-buffer)
15834         (file-cache-delete-file-regexp, file-cache-delete-directory)
15835         (file-cache-files-matching-internal, file-cache-display): Use dolist.
15836         (file-cache-temp-minibuffer-message): Delete function.
15837         (file-cache-minibuffer-complete): Use minibuffer-message instead.
15839         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
15840         Don't signal an error when bumping into EOB in tr, s, or y.
15842 2009-11-29  Juri Linkov  <juri@jurta.org>
15844         * startup.el (fancy-about-text): Fix wording of Guided Tour.
15845         (Bug#4960)
15847         * descr-text.el (describe-char-unidata-list): Use lowercase name
15848         for "Unicode name" like in other tags.
15850 2009-11-29  Juri Linkov  <juri@jurta.org>
15852         * ediff-util.el (ediff-minibuffer-with-setup-hook):
15853         New compatibility macro.
15854         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
15856 2009-11-29  Juri Linkov  <juri@jurta.org>
15858         Add defcustom to define the cycling order of `recenter-top-bottom'.
15859         (Bug#4981)
15861         * window.el (recenter-last-op): Doc fix.
15862         (recenter-positions): New defcustom.
15863         (recenter-top-bottom): Rewrite to use `recenter-positions'.
15864         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
15866 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
15868         Improve integration of Tramp and ange-ftp in eshell.
15870         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
15871         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
15872         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
15874         * eshell/esh-util.el (top): Require also Tramp when compiling.
15875         (eshell-directory-files-and-attributes): Check for FTP remote
15876         connection.
15877         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
15878         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
15879         (eshell-file-attributes): Handle ".".  Return `entry'.
15881         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
15882         (ange-ftp-directory-files-and-attributes)
15883         (ange-ftp-real-directory-files-and-attributes): New defuns.
15885         * net/tramp.el (tramp-maybe-open-connection): Open the remote
15886         shell with "exec" when possible.  This prevents trailing prompts
15887         in `start-file-process'.
15889 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15891         Try and remove assumptions about point-min==1.
15892         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
15893         (rng-compute-mode-line-string): Show the validation percentage in
15894         terms of the narrowed text, not the widened text.
15895         (rng-do-some-validation): Don't catch internal errors when debugging.
15896         (rng-first-error): Simplify.
15897         (rng-after-change-function): Remove work around.  AFAIK the bug has
15898         been fixed a while ago.
15900         * image-mode.el (image-minor-mode): Exit more gracefully when the image
15901         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
15903         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
15905         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
15906         `cd' doesn't always do it for us (bug#5067).
15908         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
15909         on 2009-10-25 as part of some other change (bug#5067).
15911 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15913         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
15914         `suspicious'.
15915         (byte-compile-warnings): Use byte-compile-warning-types.
15916         (byte-compile-save-excursion): Warn about use of set-buffer right
15917         after save-excursion.
15919         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
15920         the excursion as well.
15922 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
15924         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
15925         providing a Tramp related implementation of "su" and "sudo".
15926         (eshell-unix-initialize): Add "su" and "sudo".
15928 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
15930         * net/socks.el (socks-send-command): Convert binary request to
15931         unibyte before sending.  This fixes mishandling of some port
15932         numbers such as 129.
15934 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15936         * help.el (describe-bindings-internal): Remove `interactive'.
15938         * man.el (Man-completion-table): Trim a terminating "(".
15939         Remove the space between name page a section.
15940         Add the command's description on the `help-echo' property.
15941         Remove `process-connection-type' binding since it's unused by
15942         call-process.
15943         Provide completion for the "<section> <name>" format as well.
15944         (Man-default-man-entry): Remove spurious var shadowing the argument.
15946 2009-11-26  Kevin Ryde  <user42@zip.com.au>
15948         * log-view.el: Add "Keywords: tools", since its other keywords
15949         aren't in finder-known-keywords, and following vc.el.
15951         * sha1.el (sha1-string-external): default-directory "/" in case
15952         otherwise non-existent.  process-connection-type pipe for touch of
15953         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
15955 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15957         Misc coding convention cleanups.
15958         * htmlfontify.el (hfy-init-kludge-hook): Rename from
15959         hfy-init-kludge-hooks.
15960         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
15961         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
15962         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
15963         and push.
15964         (hfy-slant, hfy-weight): Use tables rather than code.
15965         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
15966         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
15967         (hfy-face-attr-for-class): Initialize `face-spec' directly.
15968         (hfy-face-to-css): Remove `nconc' with single arg.
15969         (hfy-p-to-face-lennart): Use `or'.
15970         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
15971         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
15972         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
15973         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
15974         (hfy-force-fontification): Use run-hooks.
15976 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
15978         Various minor fixes.
15979         * htmlfontify.el (hfy-default-header): Add toggle_invis since
15980         Javascript belongs in the header, not the body.
15981         (hfy-javascript): Remove.
15982         (hfy-fontify-buffer): Don't insert it any more.
15983         (hfy-face-at): Handle (face0 face1 face2) style face properties.
15984         Fix bug in invis handling when there were no invis props in a chunk.
15986 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15988         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
15990 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
15992         * finder.el (finder-mode-map): Add a menu.
15994 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
15996         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
15997         "unsigned" structs.
15999         (verilog-leap-to-head, verilog-backward-token): Handle "disable
16000         fork" statement better.
16002 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
16004         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
16005         (verilog-delete-auto, verilog-delete-empty-auto-pair)
16006         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
16007         Reported by Clay Douglass.
16009         (verilog-auto-inst, verilog-auto-star-safe)
16010         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
16011         Fix removing "// Interfaces" when saving .* expansions.
16012         Reported by Pierre-David Pfister.
16014 2009-11-26  Glenn Morris  <rgm@gnu.org>
16016         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
16017         the scope.
16019 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
16021         * vc-annotate.el (vc-annotate-revision-previous-to-line):
16022         Really use previous revision.
16024 2009-11-25  Kevin Ryde  <user42@zip.com.au>
16026         * man.el (Man-completion-table): default-directory "/" in case
16027         doesn't otherwise exist.  process-environment COLUMNS=999 so as
16028         not to truncate long names.  process-connection-type pipe to avoid
16029         any chance of hitting the pseudo-tty TIOCGWINSZ.
16030         (man): completion-ignore-case t for friendliness and since man
16031         itself is case-insensitive on the command line.
16032         Further to Bug#3717.
16034         * arc-mode.el: Add "Keywords: files", so the details in its
16035         commentary can be reached from finder-by-keyword.
16036         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
16037         editing mode, but it's comms related and sgml-mode.el has "comm"
16038         on that basis too.
16039         * textmodes/bibtex-style.el: Add "Keywords: tex".
16040         * international/isearch-x.el, international/ja-dic-cnv.el:
16041         * international/ja-dic-utl.el, international/kkc.el:
16042         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
16044 2009-11-25  Juri Linkov  <juri@jurta.org>
16046         * man.el (Man-completion-table): Modify regexp to include
16047         section names to completion strings.  (Bug#3717)
16049 2009-11-25  Juri Linkov  <juri@jurta.org>
16051         Search recursively in gzipped files.  (Bug#4982)
16053         * progmodes/grep.el (grep-highlight-matches): Add new options
16054         `always' and `auto'.  Doc fix.
16055         (grep-process-setup): Check `grep-highlight-matches' for
16056         `auto-detect' to determine the need to compute grep defaults.
16057         Move Windows/DOS specific --colors settings handling
16058         to `grep-compute-defaults'.  Check `grep-highlight-matches'
16059         to get the value of "--color=".
16060         (grep-compute-defaults): Compute `grep-highlight-matches' when it
16061         has the value `auto-detect'.  Move Windows/DOS specific settings
16062         from `grep-process-setup'.
16063         (zrgrep): New command with alias `rzgrep'.
16065 2009-11-25  Juri Linkov  <juri@jurta.org>
16067         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
16068         to nil instead of switching off view-mode.  (Bug#4896)
16070 2009-11-25  Juri Linkov  <juri@jurta.org>
16072         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
16074         * mwheel.el (mwheel-scroll-up-function)
16075         (mwheel-scroll-down-function): New defvars.
16076         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
16077         `scroll-up', and `mwheel-scroll-down-function' instead of
16078         `scroll-down'.
16080         * doc-view.el (doc-view-scroll-up-or-next-page)
16081         (doc-view-scroll-down-or-previous-page): Add optional ARG.
16082         Use this ARG in the call to image-scroll-up/image-scroll-down.
16083         Change `interactive' spec to "P".  Goto next/previous page only
16084         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
16085         SPC/DEL case).  Doc fix.
16086         (doc-view-next-line-or-next-page)
16087         (doc-view-previous-line-or-previous-page): Rename arg to ARG
16088         for consistency.
16089         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
16090         `doc-view-scroll-up-or-next-page', and buffer-local
16091         `mwheel-scroll-down-function' to
16092         `doc-view-scroll-down-or-previous-page'.
16094 2009-11-25  Juri Linkov  <juri@jurta.org>
16096         Provide additional default values (directories at other Dired
16097         windows) via M-n in the minibuffer of some Dired commands.
16099         * dired-aux.el (dired-diff, dired-compare-directories)
16100         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
16101         `minibuffer-default' in `minibuffer-with-setup-hook'.
16102         (dired-dwim-target-directory): Find a window that displays Dired
16103         buffer instead of failing when the next window is not Dired.
16104         Use `get-window-with-predicate' to find for the next Dired window.
16105         (dired-dwim-target-defaults): New function.
16107         * ediff-util.el (ediff-read-file-name):
16108         Use `dired-dwim-target-defaults' to set `minibuffer-default'
16109         in `minibuffer-with-setup-hook'.
16111 2009-11-25  Juri Linkov  <juri@jurta.org>
16113         Provide additional default values (file name at point or at the
16114         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
16116         * minibuffer.el (read-file-name-defaults): New function.
16117         (read-file-name): Reset `minibuffer-default' to nil when
16118         it duplicates initial input `insdef'.
16119         Bind `minibuffer-default-add-function' to lambda that
16120         calls `read-file-name-defaults' in `minibuffer-selected-window'.
16121         (minibuffer-insert-file-name-at-point): New command.
16123         * files.el (file-name-at-point-functions): New defcustom.
16124         (find-file-default): Remove defvar.
16125         (find-file-read-args): Don't use `find-file-default'.
16126         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
16127         to `read-file-name'.
16128         (find-file-literally): Use `read-file-name' with
16129         `confirm-nonexistent-file-or-buffer'.
16131         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
16133         * dired.el (dired-read-dir-and-switches):
16134         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
16135         to `read-file-name'.
16136         (dired-file-name-at-point): New function.
16137         (dired-mode): Add hook `dired-file-name-at-point' to
16138         `file-name-at-point-functions'.
16140 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16142         Really make the *Completions* window soft-dedicated (bug#5030).
16143         * window.el (window--display-buffer-2): Add `dedicated' argument.
16144         (display-buffer): Pass it when needed so the dedicated flag is set
16145         after calling set-window-buffer, which would otherwise reset it.
16147 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16149         * progmodes/meta-mode.el (meta-complete-symbol):
16150         * progmodes/etags.el (complete-tag):
16151         * mail/mailabbrev.el (mail-abbrev-complete-alias):
16152         Use completion-in-region.
16154         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
16155         (dabbrev-completion): Use completion-in-region.
16156         (dabbrev--abbrev-at-point): Simplify regexp.
16158         * abbrev.el (abbrev--before-point): Use word-motion functions
16159         if :regexp is not specified (bug#5031).
16161         * subr.el (string-prefix-p): New function.
16163         * man.el (Man-completion-cache): New var.
16164         (Man-completion-table): Use it.
16166         * vc.el (vc-print-log-internal): Make `limit' optional for better
16167         compatibility (e.g. with vc-annotate.el).
16169 2009-11-24  Kevin Ryde  <user42@zip.com.au>
16171         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
16172         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
16174         * emacs-lisp/elint.el (elint-add-required-env): Better error message
16175         when .el source file not found or other error.
16177 2009-11-24  Markus Triska  <markus.triska@gmx.at>
16179         * linum.el (linum-update-window): Ignore intangible (bug#4996).
16181 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16183         Handle the [back] button properly (bug#4979).
16184         * descr-text.el (describe-text-properties): Add a `buffer' argument.
16185         Use help-setup-xref, help-buffer, and with-help-window.
16186         (describe-char): Add `buffer' argument.
16187         Pass proper command to help-setup-xref.  Don't meddle with
16188         help-xref-stack-item directly.
16189         (describe-text-category): Use with-help-window and help-buffer.
16191         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
16192         for the displayed buffer (bug#4887).
16194         * man.el (Man-completion-table): New function.
16195         (man): Use it.
16197 2009-11-24  David Reitter  <david.reitter@gmail.com>
16199         * vc-git.el (vc-git-registered): Use checkout directory (where
16200         .git is) rather than the file's directory and a relative path spec
16201         to work around a bug in git.
16203 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
16205         Improve handling of processes on remote hosts.
16207         * eshell/esh-util.el (eshell-path-env): New defvar.
16208         (eshell-parse-colon-path): New defun.
16209         (eshell-file-attributes): Use `eshell-parse-colon-path'.
16211         * eshell/esh-ext.el (eshell-search-path):
16212         Use `eshell-parse-colon-path'.
16213         (eshell-remote-command): Remove argument HANDLER.
16214         (eshell-external-command): Check for FTP remote connection.
16216         * eshell/esh-proc.el (eshell-gather-process-output):
16217         Use `file-truename', in order to start also symlinked files.
16218         Apply `start-file-process' instead of `start-process'.
16219         Shorten `command' to the local file name part.
16221         * eshell/em-cmpl.el (eshell-complete-commands-list):
16222         Use `eshell-parse-colon-path'.
16224         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
16226         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
16227         to `eshell-directory-change-hook'.
16229 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
16231         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
16232         because it could be enabled automatically if view-read-only is non-nil.
16234 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
16236         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
16237         made on 2009-11-22.
16239 2009-11-24  Glenn Morris  <rgm@gnu.org>
16241         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
16242         deleted variable bookmark-bmenu-bookmark-column.
16244 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16246         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
16248 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
16250         * net/browse-url.el (browse-url-filename-alist): On Windows, add
16251         two slashes to the "file:" prefix.
16252         (browse-url-file-url): De-munge Cygwin filenames before passing
16253         them to Windows browser.
16254         (browse-url-default-windows-browser): Use call-process.
16256 2009-11-23  Juri Linkov  <juri@jurta.org>
16258         Implement DocView Continuous mode.  (Bug#4896)
16259         * doc-view.el (doc-view-continuous-mode): New defcustom.
16260         (doc-view-mode-map): Bind C-n/<down> to
16261         `doc-view-next-line-or-next-page', C-p/<up> to
16262         `doc-view-previous-line-or-previous-page'.
16263         (doc-view-next-line-or-next-page)
16264         (doc-view-previous-line-or-previous-page): New commands.
16266 2009-11-23  Juri Linkov  <juri@jurta.org>
16268         Implement Isearch in comint input history.  (Bug#3746)
16269         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
16270         `isearch-mode-hook'.
16271         (comint-history-isearch): New defcustom.
16272         (comint-history-isearch-backward)
16273         (comint-history-isearch-backward-regexp): New commands.
16274         (comint-history-isearch-message-overlay): New buffer-local variable.
16275         (comint-history-isearch-setup, comint-history-isearch-end)
16276         (comint-goto-input, comint-history-isearch-search)
16277         (comint-history-isearch-message, comint-history-isearch-wrap)
16278         (comint-history-isearch-push-state)
16279         (comint-history-isearch-pop-state): New functions.
16281 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
16283         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
16284         return.
16285         (tramp-handle-make-symbolic-link)
16286         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
16287         Quote file names.
16288         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
16289         (tramp-handle-process-file): Use it.
16291 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16293         * window.el (move-to-window-line-last-op): Remove.
16294         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
16296 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
16298         Make M-r mirror the new cycling behavior of C-l.
16299         * window.el (move-to-window-line-last-op): New var.
16300         (move-to-window-line-top-bottom): New command.
16301         (global-map): Bind M-r move-to-window-line-top-bottom.
16303 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
16305         * dired-x.el (dired-guess-shell-alist-default):
16306         Support xz format.  (Bug#4953)
16308 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
16310         * emulation/viper-cmd.el: Use viper-last-command-char instead of
16311         last-command-char/last-command-event.
16312         (viper-prefix-arg-value): Do correct conversion of event-char for
16313         XEmacs.
16315         * emulation/viper-util.el, emulation/viper.el:
16316         Use viper-last-command-char instead of
16317         last-command-char/last-command-event.
16319         * ediff-init.el, ediff-mult.el, ediff-util.el:
16320         Replace last-command-char and last-command-event
16321         with (ediff-last-command-char) everywhere.
16323         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
16324         created in fundamental mode.
16326         * ediff.el (ediff-version): Revert the change of interactive-p to
16327         called-interactively-p.
16329 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
16331         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
16332         generation from word-movement command names.
16334 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
16336         * cus-start.el (all): Add native condition for font-use-system-font.
16338 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
16340         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
16341         Correct the patch from 2009-11-18.  (Bug#3910)
16343 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
16345         * progmodes/subword.el: Rename from lisp/subword.el.
16347         * subword.el: Rename to progmodes/subword.el.
16349         * Makefile.in (ELCFILES): Adapt to subword.el move.
16351 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
16352             Stefan Monnier  <monnier@iro.umontreal.ca>
16354         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
16355         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
16356         (bookmark-bmenu-show-filenames): Use push.
16357         (bookmark-bmenu-hide-filenames): Use local var instead of
16358         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
16359         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
16360         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
16361         filenames now that the bookmark names are always available.
16363 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16365         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
16366         (bookmark-search-pattern): Move and leave unbound.
16367         (bookmark-bmenu-mode-map): Change binding.
16368         (bookmark-read-search-input): Simplify.
16369         Don't use text-char-description.  Don't error on non-char events.
16370         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
16371         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
16372         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
16373         Use a local var for the timer.
16374         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
16375         (i.e. bookmark-bmenu-search).
16377 2009-11-21  Glenn Morris  <rgm@gnu.org>
16379         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
16381 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
16383         * net/browse-url.el (browse-url-default-windows-browser):
16384         Use cygstart for cygwin.
16386 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
16388         * bookmark.el: Formatting and doc fixes only:
16389         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
16390         (bookmark-bmenu-search): Wrap to fit within 80 columns.
16391         Minor grammar and punctuation fixes in doc string.
16392         (bookmark-read-search-input): Adjust to fit within 80 columns.
16394 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
16396         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
16397         (c-backward-into-nomenclature): Adapt to subword renaming.
16399         * subword.el (subword-forward, subword-backward, subword-mark)
16400         (subword-kill, subword-backward-kill, subword-transpose)
16401         (subword-downcase, subword-upcase, subword-capitalize)
16402         (subword-forward-internal, subword-backward-internal):
16403         Rename from forward-subword, backward-subword, mark-subword,
16404         kill-subword, backward-kill-subword, transpose-subwords,
16405         downcase-subword, upcase-subword, capitalize-subword,
16406         forward-subword-internal, backward-subword-internal.
16408 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
16410         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
16411         New options.
16412         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
16413         New vars.
16414         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
16415         (bookmark-bmenu-filter-alist-by-regexp)
16416         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
16417         (bookmark-bmenu-search): New command.
16418         (bookmark-bmenu-mode-map): Bind it.
16420 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
16422         * progmodes/cc-cmds.el: declare-functioned forward-subword and
16423         backward-subword to quit the byte-compiler.
16425         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
16427         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
16429         * progmodes/cc-cmds.el (c-update-modeline)
16430         (c-forward-into-nomenclature, c-backward-into-nomenclature):
16431         Refer to subword.el functions instead of cc-subword.el.
16433         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
16434         subword.el functions instead of cc-subword.el.
16436         * progmodes/cc-subword.el: Rename to subword.el.
16437         * subword.el: Rename from progmodes/cc-subword.el.
16438         (subword-mode-map): Rename from c-subword-mode-map.
16439         (subword-mode): Rename from c-subword-mode.
16440         (global-subword-mode): New global minor mode.
16441         (forward-subword): Rename from c-forward-subword.
16442         (backward-subword): Rename from c-backward-subword.
16443         (mark-subword): Rename from c-mark-subword.
16444         (kill-subword): Rename from c-kill-subword.
16445         (backward-kill-subword): Rename from c-backward-kill-subword.
16446         (transpose-subwords): Rename from c-tranpose-subword.
16447         (downcase-subword): Rename from c-downcase-subword.
16448         (capitalize-subword): Rename from c-capitalize-subword.
16449         (forward-subword-internal): Rename from c-forward-subword-internal.
16450         (backward-subword-internal): Rename from c-backward-subword-internal.
16452 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
16454         * vc.el (vc-deduce-fileset): Allow non-state changing operations
16455         from a dired buffer.
16456         (vc-dired-deduce-fileset): New function.
16457         (vc-root-diff, vc-print-root-log): Use it.
16459         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
16460         nil LIMIT argument to vc-print-log-internal.
16462 2009-11-20  Glenn Morris  <rgm@gnu.org>
16464         * Makefile.in (ELCFILES): Regenerate.
16466 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
16468         * calc/calc.el (calc-set-mode-line):
16469         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16470         (math-format-number): Rename `math-format-complement-signed' to
16471         `math-format-twos-complement'.
16473         * calc/calc-bin.el (math-format-twos-complement): Rename from
16474         math-format-complement-signed.
16475         (calc-radix): Rename `calc-complement-signed-mode' to
16476         `calc-twos-complement-mode'.
16477         (calc-octal-radix, calc-hex-radix): Add an argument for
16478         two's complement.
16480         * calc/calc-embed.el (calc-embedded-mode-vars):
16481         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16483         * calc/calc-ext.el (calc-init-extensions):
16484         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16485         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
16487         * calc/calc-units.el (math-build-units-table-buffer):
16488         Let `calc-twos-complement-mode' be nil.
16490         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
16491         entries.
16493         * calc/calc-vec.el (calcFunc-vunpack):
16494         * calc/calc-aent.el (calc-do-calc-eval):
16495         * calc/calc-forms.el (math-format-date):
16496         * calc/calc-graph.el (calc-graph-plot):
16497         * calc/calc-math.el (math-use-emacs-fn):
16498         * calc/calccomp.el (math-compose-expr):
16499         Let `calc-twos-complement-mode' be nil.
16501 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16503         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
16504         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
16505         * minibuffer.el (completion-in-region-functions): New hook.
16506         (completion-in-region): New function.
16507         * emacs-lisp/lisp.el (lisp-complete-symbol):
16508         * pcomplete.el (pcomplete-std-complete): Use it.
16510 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16512         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
16513         (latex-complete-alist): New vars.
16514         (latex-string-prefix-p, latex-complete-bibtex-keys)
16515         (latex-complete-envnames, latex-complete-refkeys)
16516         (latex-complete-data): New functions.
16517         (latex-complete, latex-indent-or-complete): New commands.
16519         * window.el (display-buffer-mark-dedicated): New var.
16520         (display-buffer): Obey it.
16521         * minibuffer.el (minibuffer-completion-help): Use it.
16523         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
16525         * filecache.el (file-cache-add-file): Use push and cons.
16526         (file-cache-delete-file-regexp): Use push.
16527         (file-cache-complete): Use completion-in-region.
16529         * simple.el (with-wrapper-hook): Fix thinko.
16531         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
16532         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
16533         Use with-current-buffer and string-to-number.
16534         (hfy-fallback-colour-values): Use assoc-string.
16535         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
16536         (hfy-face-at): Remove unused var `found-face'.
16537         (hfy-compile-stylesheet): Remove unused var `css'.
16538         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
16539         and `orig-buffer'.
16540         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
16541         Use with-current-buffer.
16542         (hfy-text-p): Use expand-file-name and fewer setq.
16544 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
16546         * htmlfontify.el, hfy-cmap.el: New files.
16548 2009-11-19  Juri Linkov  <juri@jurta.org>
16550         * minibuffer.el (completions-format): New defcustom.
16551         (completion--insert-strings): Implement vertical format.
16553         * simple.el (switch-to-completions): Move point to the first
16554         completion when point was at the beginning of the buffer.
16556 2009-11-19  Juri Linkov  <juri@jurta.org>
16558         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
16560         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
16562 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
16564         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
16565         (mail-signature): Change default to t.
16566         (mail-from-style): Deprecate `system-default' value.
16567         (mail-insert-from-field): For default value of mail-from-style,
16568         default to `angles' unless `angles' needs quoting and `parens'
16569         does not.
16570         (mail-citation-prefix-regexp): Use citation regexp from
16571         message-mode.
16573 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
16575         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
16576         Set variables for computing the prompt for reading password.
16578 2009-11-19  Glenn Morris  <rgm@gnu.org>
16580         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
16582         * textmodes/flyspell.el (sgml-lexical-context): Declare.
16584         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
16585         (newsticker-treeview-listwindow-height): Fix custom type.
16587 2009-11-19  Kenichi Handa  <handa@m17n.org>
16589         * descr-text.el (describe-char-padded-string): Compose with TAB
16590         only if there's a font for CH.
16591         (describe-char): Fix the condition for detecting a trivial composition.
16593 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
16595         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
16596         more accurate version of the regexp.  (Bug#3910)
16598 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
16600         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
16602 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
16604         * font-setting.el (font-use-system-font): Declare for byte-compiler.
16605         (font-setting-change-default-font): Fix typo in docstring.
16607 2009-11-18  Alan Mackenzie  <acm@muc.de>
16609         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
16611 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
16613         * font-setting.el (font-use-system-font): Move ...
16615         * cus-start.el (all): ... to here.
16617 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
16619         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
16620         Don't set `ad-return-value' if `ad-do-it' doesn't.
16622         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
16623         modification time.
16625 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
16627         * menu-bar.el: Put "Use system font" in Option-menu.
16628         (menu-bar-options-save): Add font-use-system-font.
16630         * loadup.el: If feature system-font-setting or font-render-setting is
16631         there, load font-setting.
16633         * Makefile.in (ELCFILES): Add font-settings.el.
16634         * font-setting.el: New file.
16636 2009-11-17  Glenn Morris  <rgm@gnu.org>
16638         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
16640         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
16641         Preserve point in the list buffer.  (Bug#4939)
16642         Use point-at-eol.
16643         (newsticker--treeview-list-update-highlight)
16644         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
16646 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
16648         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
16649         Remove.
16651         * calc/calc-ext.el (calc-init-extensions): Remove references to
16652         symclip.
16654         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
16656         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
16657         * calc/calc-help.el (calc-b-prefix-help): Remove references to
16658         `calc-symclip'.
16660 2009-11-16  Kevin Ryde  <user42@zip.com.au>
16662         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
16663         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
16665         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
16666         (lm-keywords-list): Allow comma-only separator like "foo,bar".
16667         Ignore trailing spaces by omit-nulls to split-string (fixing
16668         regression from Emacs 21 due to the incompatible split-string
16669         change).  (Bug #4928.)
16671 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
16673         * vc.el (vc-log-show-limit): Default to 2000.
16674         (vc-print-log-internal): Insert buttons to request more entries
16675         when limiting the output.
16677         * vc-sccs.el (vc-sccs-print-log):
16678         * vc-rcs.el (vc-rcs-print-log):
16679         * vc-cvs.el (vc-cvs-print-log):
16680         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
16681         LIMIT is non-nil.
16683 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
16685         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
16686         error when `tramp-gvfs-dbus-event-vector' is set.
16687         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
16689 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16691         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
16693 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
16695         * net/dbus.el (dbus-unregister-service): New defun.
16696         (dbus-register-property): Register the handlers of
16697         "org.freedesktop.DBus.Properties" for SERVICE.
16698         (dbus-property-handler): Fix docstring.
16700 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
16702         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
16703         Quote doc string reference in defvaralias as it is not in special form.
16704         (byte-compile-output-docform): Doc fix.
16706 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
16708         * calc/calc.el (math-2-word-size, math-half-2-word-size)
16709         (calc-complement-signed-mode): New variables.
16710         (calc-set-mode-line): Add indicator for twos-complements.
16711         (math-format-number): Format twos-complement notation.
16713         * calc/calc-bin.el (calc-word-size): Reset the variables
16714         `math-2-word-size' and `math-half-2-word-size'.
16715         (math-format-complement-signed, math-symclip, calcFunc-symclip)
16716         (calc-symclip): New functions.
16718         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
16720         * calc/calc-embed.el (calc-embedded-mode-vars):
16721         Add `calc-complement-signed-mode' to the list of modes.
16723         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
16724         (calc-b-oper-keys): Add `calc-symclip' to list.
16726         * calc/calc-ext.el (math-read-number-fancy): Read complement
16727         signed numbers.
16728         (calc-init-extensions): Add binding for `calc-symclip'.
16729         Add autoload for `calcFunc-symclip' and `calc-symclip'.
16731         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
16732         `calc-symclip'.
16733         (calc-modes-menu): Add item for twos complement mode.
16735         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
16737 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
16739         * register.el (jump-to-register, insert-register): Handle Semantic
16740         tags.  From commented-out advice in semantic/senator.el.
16742 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
16744         * vc.el (vc-log-show-limit): New variable.
16745         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
16746         when using a prefix argument.
16747         (vc-print-log-internal): Add new argument LIMIT.
16749         * vc-svn.el (vc-svn-print-log):
16750         * vc-mtn.el (vc-mtn-print-log):
16751         * vc-hg.el (vc-hg-print-log):
16752         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
16753         pass it to the log command when set.  Make the BUFFER argument
16754         non-optional.
16756         * vc-sccs.el (vc-sccs-print-log):
16757         * vc-rcs.el (vc-rcs-print-log):
16758         * vc-git.el (vc-git-print-log):
16759         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
16760         ignore it.  Make the BUFFER argument non-optional.
16762         * bindings.el (mode-line-buffer-identification): Do not purecopy.
16764 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
16766         * dired.el (dired-mode-map): Move encryption items to "Operate"
16767         menu (Bug#4703).
16769         * strokes.el (strokes-update-window-configuration): Make strokes
16770         buffer current before erasing (Bug#4906).
16772 2009-11-15  Juri Linkov  <juri@jurta.org>
16774         * simple.el (set-mark-default-inactive): Add :type, :group
16775         and :version.  (Bug#4876)
16777 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
16779         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
16780         (archive-unique-fname): ... here.  (Bug#4929)
16782 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16784         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
16785         with a real fix.
16787         * novice.el (disabled-command-function): Add useful args.
16788         Setup the help buffer so that [back] works.
16789         Remove redundant call to help-mode.
16790         (disabled-command-function): Use `case'.
16791         (en/disable-command): New function extracted from enable-command.
16792         (enable-command, disable-command): Use it.
16794 2009-11-14  Glenn Morris  <rgm@gnu.org>
16796         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
16797         constants.  (Bug#4913)
16799         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
16801 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
16803         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
16804         defined in C that have no doc-strings.  (Bug#1063)
16806 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
16808         * cus-edit.el (data, files):
16809         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
16811 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
16813         * simple.el (shell-command): Doc fix (Bug#4891).
16815         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
16817 2009-11-14  Glenn Morris  <rgm@gnu.org>
16819         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
16820         statements for vc-diff, emerge-quit, and rmail-cease-edit.
16821         If they are already loaded, eval-after-load will do the right thing.
16823         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
16824         compiling.
16826         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
16828         * simple.el (x-selection-owner-p): Declare.
16829         (read-mail-command): Use custom radio type rather than choice.
16830         (completion-no-auto-exit): Doc fix.
16832         * custom.el (defgroup):
16833         * epg-config.el (epg): Doc fixes.
16835 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
16837         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
16838         * international/ccl.el (define-ccl-program): Do not purecopy the
16839         docstring, defconst does it anyway.
16841 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16843         * add-log.el (add-change-log-entry): Avoid displaying the changelog
16844         a second time.
16846         * x-dnd.el (x-dnd-maybe-call-test-function):
16847         * window.el (split-window-vertically):
16848         * whitespace.el (whitespace-help-on):
16849         * vc-rcs.el (vc-rcs-consult-headers):
16850         * userlock.el (ask-user-about-lock-help)
16851         (ask-user-about-supersession-help):
16852         * type-break.el (type-break-force-mode-line-update):
16853         * time-stamp.el (time-stamp-conv-warn):
16854         * terminal.el (te-set-output-log, te-more-break, te-filter)
16855         (te-sentinel, terminal-emulator):
16856         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
16857         (term-write-input-ring, term-check-source, term-start-output-log):
16858         (term-display-buffer-line, term-dynamic-list-completions):
16859         (term-ansi-make-term, serial-term):
16860         * subr.el (selective-display):
16861         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
16862         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
16863         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
16864         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
16865         (speedbar-remove-localized-speedbar-support)
16866         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
16867         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
16868         (speedbar-buffers-line-directory):
16869         * simple.el (shell-command-on-region, append-to-buffer)
16870         (prepend-to-buffer):
16871         * shadowfile.el (shadow-save-todo-file):
16872         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
16873         (scroll-bar-maybe-set-window-start):
16874         * sb-image.el (speedbar-image-dump):
16875         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
16876         (load-save-place-alist-from-file):
16877         * ps-samp.el (ps-print-message-from-summary):
16878         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
16879         (ps-background-image, ps-begin-job, ps-do-despool):
16880         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
16881         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
16882         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
16883         (pr-call-process, pr-file-list, pr-interface-save):
16884         * novice.el (disabled-command-function)
16885         (enable-command, disable-command):
16886         * mouse.el (mouse-buffer-menu-alist):
16887         * mouse-copy.el (mouse-kill-preserving-secondary):
16888         * macros.el (kbd-macro-query):
16889         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
16890         * informat.el (batch-info-validate):
16891         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
16892         * hippie-exp.el (try-expand-dabbrev-visible):
16893         * help-mode.el (help-make-xrefs):
16894         * help-fns.el (describe-variable):
16895         * generic-x.el (bat-generic-mode-run-as-comint):
16896         * finder.el (finder-mouse-select):
16897         * find-dired.el (find-dired-sentinel):
16898         * filesets.el (filesets-file-close):
16899         * files.el (list-directory):
16900         * faces.el (list-faces-display, describe-face):
16901         * facemenu.el (list-colors-display):
16902         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
16903         * epg.el (epg--process-filter, epg-cancel):
16904         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
16905         (epa--read-signature-type):
16906         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
16907         (emerge-file-names):
16908         * ehelp.el (electric-helpify):
16909         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
16910         * ediff-vers.el (rcs-ediff-view-revision):
16911         * ediff-util.el (ediff-setup):
16912         * ediff-mult.el (ediff-append-custom-diff):
16913         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
16914         (ediff-wordify):
16915         * echistory.el (Electric-command-history-redo-expression):
16916         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
16917         * disp-table.el (describe-display-table):
16918         * dired.el (dired-find-buffer-nocreate):
16919         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
16920         * dabbrev.el (dabbrev--same-major-mode-p):
16921         * chistory.el (list-command-history):
16922         * apropos.el (apropos-documentation):
16923         * allout.el (allout-obtain-passphrase):
16924         (allout-copy-exposed-to-buffer):
16925         (allout-verify-passphrase): Use with-current-buffer.
16927 2009-11-13  Glenn Morris  <rgm@gnu.org>
16929         * Makefile.in (ELCFILES): Regenerate.
16931 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
16933         * net/dbus.el (dbus-registered-objects-table): Rename from
16934         `dbus-registered-functions-table', because it contains also properties.
16935         (dbus-unregister-object): Unregister also properties.
16936         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
16937         Use a timeout of 500 msec, in order to not block.
16938         (dbus-register-property, dbus-property-handler): New defuns.
16940 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16942         * simple.el (minibuffer-default-add-completions): Drop deprecated
16943         4th arg.
16945 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
16947         * textmodes/artist.el (artist-mouse-choose-operation):
16948         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
16949         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
16950         (artist-compute-up-event-key): New function.
16951         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
16953 2009-11-13  Kenichi Handa  <handa@m17n.org>
16955         * language/japan-util.el: Make sure that the value of jisx0208
16956         property is jisx0208 character.
16958 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
16960         * international/mule.el (auto-coding-regexp-alist): Only purecopy
16961         car or each item, not the whole list.
16963 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16965         * minibuffer.el (minibuffer-completion-help):
16966         Use minibuffer-hide-completions.
16968 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
16970         * dired.el (dired-save-positions, dired-restore-positions): New funs.
16971         (dired-revert): Use them (bug#4880).
16973 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
16975         * tooltip.el (tooltip-frame-parameters): Undo previous change.
16977 2009-11-12  Juri Linkov  <juri@jurta.org>
16979         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
16980         New functions.
16981         (find-file-literally-at-point): Alias of `ffap-literally'.
16983 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
16985         * textmodes/ispell.el (ispell-skip-region-alist):
16986         * textmodes/css-mode.el (auto-mode-alist):
16987         * progmodes/compile.el (auto-mode-alist):
16988         * international/mule.el (ctext-non-standard-encodings-alist)
16989         (ctext-non-standard-encodings-regexp):
16990         * simple.el (shell-command-switch, text-read-only):
16991         * replace.el (occur-mode-map):
16992         * paths.el (rmail-file-name):
16993         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
16994         * find-file.el (ff-special-constructs):
16995         * files.el (file-name-handler-alist):
16996         * composite.el: Purecopy strings.
16998         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
17000 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
17002         * widget.el (define-widget): Purecopy the docstring.
17003         * international/mule-cmds.el (charset): Do not purecopy the
17004         docstring here, define-widget does it.
17006         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
17007         * textmodes/bibtex-style.el (auto-mode-alist):
17008         * progmodes/inf-lisp.el (inferior-lisp-prompt):
17009         * progmodes/compile.el (compile-command):
17010         * language/korea-util.el (default-korean-keyboard):
17011         * international/mule-conf.el (file-coding-system-alist):
17012         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
17013         * tooltip.el (tooltip-frame-parameters):
17014         * newcomment.el (comment-end, comment-padding):
17015         * dired.el (dired-trivial-filenames):
17016         * comint.el (comint-file-name-prefix): Purecopy initial values.
17018 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
17020         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
17021         (tramp-advice-minibuffer-electric-tilde): Unload advices via
17022         `tramp-unload'.
17023         (tramp-advice-make-auto-save-file-name)
17024         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
17025         after removing the advice.
17027 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
17029         * progmodes/grep.el (grep-regexp-alist):
17030         * international/mule-cmds.el (iso-2022-control-alist):
17031         * emacs-lisp/timer.el (timer-duration-words):
17032         * subr.el (version-separator, version-regexp-alist):
17033         * minibuffer.el (completion-styles-alist):
17034         * faces.el (face-attribute-name-alist, list-faces-sample-text):
17035         Change defvars to defconsts.
17037         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
17038         * loadup.el ("international/mule-conf"): Load the byte compiled version.
17039         * international/mule-conf.el: Allow to be byte compiled.
17041         * international/mule.el (define-charset): Purecopy props.
17042         (load-with-code-conversion): Purecopy doc string and file name.
17043         (put-charset-property): Purecopy strings.
17044         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
17046         * international/mule-cmds.el (register-input-method): Purecopy arguments.
17047         (define-char-code-property): Correctly purecopy the table.
17049         * international/ccl.el (define-ccl-program): Purecopy the docstring.
17051         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
17053         * subr.el (add-hook): Purecopy strings.
17054         (eval-after-load): Purecopy load-history-regexp and the form.
17056         * custom.el (custom-declare-group): Purecopy load-file-name.
17058         * subr.el (menu-bar-separator): New defconst.
17059         * net/eudc.el (eudc-tools-menu):
17060         * international/mule-cmds.el (set-coding-system-map)
17061         (mule-menu-keymap):
17062         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17063         * vc-hooks.el (vc-menu-map):
17064         * replace.el (occur-mode-map):
17065         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
17066         (menu-bar-edit-menu, menu-bar-goto-menu)
17067         (menu-bar-custom-menu, menu-bar-showhide-menu)
17068         (menu-bar-options-menu, menu-bar-tools-menu)
17069         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
17070         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
17071         (menu-bar-help-menu):
17072         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
17073         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
17075         * term/x-win.el (x-gtk-stock-map):
17076         * progmodes/vera-mode.el (auto-mode-alist):
17077         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
17078         (inferior-lisp-program, inferior-lisp-load-command):
17079         * progmodes/hideshow.el (hs-special-modes-alist):
17080         * progmodes/gud.el (same-window-regexps):
17081         * progmodes/grep.el (grep-program, find-program, xargs-program):
17082         * net/telnet.el (same-window-regexps):
17083         * net/rlogin.el (same-window-regexps):
17084         * language/ethiopic.el (font-ccl-encoder-alist):
17085         * vc-sccs.el (vc-sccs-master-templates):
17086         * vc-rcs.el (vc-rcs-master-templates):
17087         * subr.el (cl-assertion-failed):
17088         * simple.el (next-error-overlay-arrow-position):
17089         * lpr.el (lpr-command):
17090         * locate.el (locate-ls-subdir-switches):
17091         * info.el (same-window-regexps, info)
17092         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
17093         * image-mode.el (image-mode, auto-mode-alist):
17094         * hippie-exp.el (hippie-expand-ignore-buffers):
17095         * format.el (format-alist):
17096         * find-dired.el (find-ls-subdir-switches, find-grep-options)
17097         (find-name-arg):
17098         * facemenu.el (facemenu-keybindings):
17099         * dired.el (dired-listing-switches, dired-chown-program):
17100         * diff.el (diff-switches, diff-command):
17101         * cus-edit.el (same-window-regexps):
17102         * bindings.el (mode-line-mule-info)
17103         (mode-line-buffer-identification): Purecopy strings.
17105 2009-11-11  Juri Linkov  <juri@jurta.org>
17107         * simple.el (dired-get-filename) <declare-function>:
17108         Tell the byte-compiler about dired-get-filename.
17109         (shell-command): In Dired mode, get filename from the current line
17110         as the default value.
17112 2009-11-10  Glenn Morris  <rgm@gnu.org>
17114         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
17115         * calendar/holidays.el, progmodes/cperl-mode.el:
17116         Update x-popup-menu declarations.
17118         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
17119         (list-load-path-shadows): Use dolist.
17120         (list-load-path-shadows): Use with-current-buffer.
17122 2009-11-10  Juri Linkov  <juri@jurta.org>
17124         * minibuffer.el (read-file-name): Support a list of default values
17125         in `default-filename'.  Use the first file name where only one
17126         element is required.  Doc fix.
17128 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
17130         * net/dbus.el (dbus-unregister-object): Release service, if no
17131         other method is registered for it.
17133 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
17135         * bookmark.el (bookmark-completing-read): Sort bookmark names if
17136         bookmark-sort-flag is non-nil (Bug#4653).
17138 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
17140         * emulation/cua-base.el: Add CUA property to some CC mode commands
17141         (Bug#4100).
17143 2009-11-08  Kevin Ryde  <user42@zip.com.au>
17145         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
17146         at end of sentence (Bug#4818).
17148 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
17150         * progmodes/compile.el (compilation-error-regexp-alist-alist):
17151         Handle "see declaration of" MSFT statements (Bug#4100).
17153 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
17155         * net/tramp.el (tramp-advice-make-auto-save-file-name)
17156         (tramp-advice-file-expand-wildcards): Unload via
17157         `ad-remove-advice'.
17159         * net/trampver.el: Update release number.
17161 2009-11-08  Kevin Ryde  <user42@zip.com.au>
17163         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
17164         `ad-do-it'.
17166 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
17168         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
17169         in order to keep context in SELinux.
17171 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
17173         * dired-aux.el (dired-query): Place cursor in echo area and allow
17174         C-g.
17176         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
17177         menu item if not on a directory (Bug#4701).
17179 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
17181         Sync with Tramp 2.1.17.
17183         * net/tramp.el (tramp-handle-copy-directory): Don't use
17184         `file-remote-p' (due to compatibility).
17186         * net/tramp-compat.el (tramp-compat-copy-directory)
17187         (tramp-compat-delete-directory): New defuns.
17189         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
17190         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
17191         Use `tramp-compat-delete-directory'.
17193         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
17194         (tramp-smb-handle-delete-directory):
17195         Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
17197         * net/trampver.el: Update release number.
17199 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
17201         * tar-mode.el (tar-copy): Call write-region on the right buffer
17202         (Bug#4857).
17204         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
17205         by hand, if necessary (Bug#4878).
17207 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
17209         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
17210         align size column (Bug#4839).
17212         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
17213         statement.
17215 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
17217         * progmodes/ld-script.el (auto-mode-alist):
17218         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
17220         * cus-face.el (custom-declare-face): Purecopy face spec.
17222 2009-11-06  Kenichi Handa  <handa@m17n.org>
17224         * international/uni-bidi.el: Re-generated.
17225         * international/uni-category.el: Re-generated.
17226         * international/uni-combining.el: Re-generated.
17227         * international/uni-mirrored.el: Re-generated.
17229 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
17231         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
17232         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
17233         (tex-start-options, slitex-run-command, latex-run-command)
17234         (tex-run-command, tex-directory):
17235         * textmodes/ispell.el (ispell-html-skip-alists)
17236         (ispell-tex-skip-alists, ispell-tex-skip-alists):
17237         * textmodes/fill.el (adaptive-fill-first-line-regexp):
17238         (adaptive-fill-regexp):
17239         * textmodes/dns-mode.el (auto-mode-alist):
17240         * progmodes/python.el (interpreter-mode-alist):
17241         * progmodes/etags.el (tags-compression-info-list):
17242         * progmodes/etags.el (tags-file-name):
17243         * net/browse-url.el (browse-url-galeon-program)
17244         (browse-url-firefox-program):
17245         * mail/sendmail.el (mail-signature-file)
17246         (mail-citation-prefix-regexp):
17247         * international/mule-conf.el (eight-bit):
17248         * international/latexenc.el (latex-inputenc-coding-alist):
17249         * international/fontset.el (x-pixel-size-width-font-regexp):
17250         * emacs-lisp/warnings.el (warning-type-format):
17251         * emacs-lisp/trace.el (trace-buffer):
17252         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
17253         (emacs-lisp-mode-map):
17254         * calendar/holidays.el (holiday-solar-holidays)
17255         (holiday-bahai-holidays, holiday-islamic-holidays)
17256         (holiday-christian-holidays, holiday-hebrew-holidays)
17257         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
17258         (hebrew-holidays-1, holiday-oriental-holidays)
17259         (holiday-general-holidays):
17260         * x-dnd.el (x-dnd-known-types):
17261         * tool-bar.el (tool-bar):
17262         * startup.el (site-run-file):
17263         * shell.el (shell-dumb-shell-regexp):
17264         * rfn-eshadow.el (file-name-shadow-tty-properties)
17265         (file-name-shadow-properties):
17266         * paths.el (remote-shell-program, news-directory):
17267         * mouse.el ([C-down-mouse-3]):
17268         * menu-bar.el (menu-bar-tools-menu):
17269         * jka-cmpr-hook.el (jka-compr-load-suffixes)
17270         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
17271         (jka-compr-compression-info-list):
17272         * isearch.el (search-whitespace-regexp):
17273         * image-file.el (image-file-name-extensions):
17274         * find-dired.el (find-ls-option):
17275         * files.el (directory-listing-before-filename-regexp)
17276         (directory-free-space-args, insert-directory-program)
17277         (list-directory-brief-switches, magic-fallback-mode-alist)
17278         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
17279         (automount-dir-prefix):
17280         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
17281         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
17282         (face-font-registry-alternatives, face-font-registry-alternatives)
17283         (face-font-family-alternatives):
17284         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
17285         (facemenu-foreground-menu, facemenu-face-menu):
17286         * epa-hook.el (epa-file-name-regexp):
17287         * dnd.el (dnd-protocol-alist):
17288         * textmodes/rst.el (auto-mode-alist):
17289         * button.el (default-button): Purecopy strings.
17291 2009-11-06  Glenn Morris  <rgm@gnu.org>
17293         * Makefile.in (ELCFILES): Update.
17295 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17297         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
17298         * emacs-lisp/levents.el: Move to obsolete/levents.el.
17300         * nxml/xsd-regexp.el (xsdre-gen-categories):
17301         * nxml/xmltok.el (xmltok-parse-entity):
17302         * nxml/rng-parse.el (rng-parse-validate-file):
17303         * nxml/rng-maint.el (rng-format-manual)
17304         (rng-manual-output-force-new-line):
17305         * nxml/rng-loc.el (rng-save-schema-location-1):
17306         * nxml/rng-cmpct.el (rng-c-parse-file):
17307         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
17308         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
17310 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
17312         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
17313         Remove extra save-excursions and make-variable-buffer-local's.
17314         Suggested by Stefan Monnier.
17316         (verilog-getopt-file, verilog-module-inside-filename-p)
17317         (verilog-set-define): Merge GNU 1.35 and repair changes from
17318         switching to using with-current-buffer.
17320         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
17321         being treated as a number and confusing AUTORESET.
17322         Reported by Dan Dever.
17324         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
17325         Add verilog-auto-ignore-concat to fix backward compatibility with
17326         older verilog-modes.  Reported by Dan Katz.
17328         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
17329         containing closing anchors "...$".
17331         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
17332         Reported by Wade Smith.
17334         (verilog-batch-execute-func): Comment on function usage.
17336 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
17338         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
17339         for labels.
17341         (verilog-label-re, verilog-calc-1): Support proper indent of named
17342         asserts.
17344         (verilog-backward-token, verilog-basic-complete-re)
17345         (verilog-beg-of-statement, verilog-indent-re): Support proper
17346         indent of the assert statement at the beginning of a block of text.
17348         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
17349         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
17350         tokens as begins.
17352 2009-11-05  Glenn Morris  <rgm@gnu.org>
17354         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
17355         Emacs 19.  (Bug#1531)
17356         (byte-compile-fix-header): Update for the above change.
17357         Drop test for epoch::version.
17359         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
17360         * cus-dep.el (custom-make-dependencies):
17361         * finder.el (finder-compile-keywords):
17362         Use autoload-rubric's feature argument.
17364         * calendar/diary-lib.el (top-level): Make load behave more like require.
17366         * vc-git.el (vc-git-stash-map): Move definition before use.
17368 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
17370         * custom.el (custom-declare-group): Purecopy standard-value.
17371         (custom-declare-group): Purecopy custom-prefix.
17373         * international/mule.el (load-with-code-conversion):
17374         Call do-after-load-evaluation unconditionally.
17376         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
17378 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
17380         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
17382 2009-11-04  Glenn Morris  <rgm@gnu.org>
17384         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
17385         (byte-compile-compatibility): Remove option.
17386         (byte-compile-close-variables, byte-compile-fix-header)
17387         (byte-compile-insert-header, byte-compile-output-docform)
17388         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
17389         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
17390         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
17391         (byte-compile-insert, byte-compile-defun):
17392         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
17393         (byte-defop-compiler19): Remove.
17394         Without byte-compile-compatibility, the 'emacs19-opcode property is not
17395         used by anything.  Replace all calls with byte-defop-compiler.
17397 2009-11-04  Juri Linkov  <juri@jurta.org>
17399         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
17400         (menu-bar-options-menu): Don't quote the `prop' arg of
17401         `menu-bar-make-mm-toggle'.
17403 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
17405         * calendar/calendar.el (cal-loaddefs):
17406         * calendar/diary-lib.el (diary-loaddefs):
17407         * calendar/holidays.el (hol-loaddefs):
17408         * eshell/esh-module.el (esh-groups): Load rather than require.
17410 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
17412         * calendar/todo-mode.el (todo-add-category): Don't hardcode
17413         point-min==1.
17414         (todo-top-priorities): Only display-buffer when called interactively.
17415         (todo-item-start): Don't save excursion point.
17416         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
17417         (todo-insert-item-here, todo-file-item, todo-remove-item):
17418         Adjust uses of todo-item-start and todo-item-end.
17420         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
17421         (autoload-rubric): Don't use any more.
17423         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
17424         and only put a prop if it is non-nil.
17426 2009-11-03  Juri Linkov  <juri@jurta.org>
17428         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
17429         (menu-bar-options-menu): Fix list quoting (Bug#4429).
17431         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
17432         and "Menu" to make top-level menu item visually one unit (like
17433         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
17434         multi-word menu items).  Fix :help string for quit-window.
17436 2009-11-03  Glenn Morris  <rgm@gnu.org>
17438         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
17439         (byte-compile-file-form-define-abbrev-table)
17440         (byte-compile-file-form-custom-declare-variable)
17441         (byte-compile-variable-ref, byte-compile-defvar):
17442         Whether or not a warning is enabled should only affect whether we issue
17443         the warning, not whether or not we collect the relevant data.
17444         Eg warnings can be turned on and off throughout the course of a file.
17446         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
17447         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
17449 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
17451         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
17452         * play/mpuz.el (mpuz-create-buffer):
17453         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
17454         (lm-print-y,s,noise, lm-print-w0, lm-init):
17455         * play/gomoku.el (gomoku-prompt-for-move):
17456         * play/fortune.el (fortune-in-buffer):
17457         * play/dissociate.el (dissociated-press):
17458         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
17459         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
17460         * mail/supercite.el (sc-eref-show):
17461         * mail/smtpmail.el (smtpmail-send-it):
17462         * mail/rmailsum.el (rmail-summary-next-labeled-message)
17463         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
17464         (rmail-summary-undelete-many, rmail-summary-rmail-update)
17465         (rmail-summary-goto-msg, rmail-summary-expunge)
17466         (rmail-summary-get-new-mail, rmail-summary-search-backward)
17467         (rmail-summary-add-label, rmail-summary-output-menu)
17468         (rmail-summary-output-body):
17469         * mail/rfc822.el (rfc822-addresses):
17470         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
17471         * mail/mailpost.el (post-mail-send-it):
17472         * mail/hashcash.el (hashcash-generate-payment):
17473         * mail/feedmail.el (feedmail-run-the-queue)
17474         (feedmail-queue-send-edit-prompt-help-first)
17475         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
17476         (feedmail-deduce-address-list):
17477         * eshell/esh-ext.el (eshell-remote-command):
17478         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
17479         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
17480         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
17481         (viper-save-string-in-file, viper-valid-marker):
17482         * emulation/viper-keym.el (viper-toggle-key):
17483         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
17484         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
17485         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
17486         * emulation/viper-cmd.el (viper-exec-form-in-vi)
17487         (viper-exec-form-in-emacs, viper-brac-function):
17488         * emulation/viper.el (viper-delocalize-var):
17489         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
17490         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
17491         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
17492         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
17493         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
17494         * emulation/edt.el (edt-electric-helpify):
17495         * emulation/cua-rect.el (cua--rectangle-aux-replace):
17496         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
17497         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
17498         (cua-indent-to-global-mark-column):
17499         * calendar/diary-lib.el (calendar-mark-1):
17500         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
17501         Use with-current-buffer.
17502         * emulation/viper.el (viper-delocalize-var): Use dolist.
17504 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
17506         * comint.el (comint-replace-by-expanded-history-before-point):
17507         Replace !! with the previous input string literally (Bug#1795).
17509 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
17511         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
17512         to be made up of whitespace.
17514 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
17516         * minibuffer.el (read-file-name): Don't use file dialogs for
17517         remote directories (Bug#99).
17519 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
17521         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
17523 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17525         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
17526         instead of deleting the window or frame.
17528 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
17530         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
17531         Support face colors.
17533         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
17534         New function.  Support face colors (Bug#1168).
17535         (tex-common-initialization): Use it.
17537         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
17538         mode allows it (Bug#1168).
17540 2009-10-31  Juri Linkov  <juri@jurta.org>
17542         * facemenu.el (list-colors-display): Don't mark buffer as
17543         modified (Bug#3948).
17545 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
17547         * international/mule-diag.el (list-character-sets-1):
17548         Minor message fix (Bug#3526).
17550         * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
17551         Fix face property (Bug#4834).
17552         (etags-list-tags, etags-tags-apropos-additional)
17553         (etags-tags-apropos, tags-select-tags-table): Add follow-link
17554         property.
17556         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
17557         items.
17559 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
17561         * textmodes/two-column.el (2C-split):
17562         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
17563         * textmodes/tex-mode.el (tex-set-buffer-directory):
17564         * textmodes/spell.el (spell-region, spell-string):
17565         * textmodes/reftex.el (reftex-erase-buffer):
17566         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
17567         * textmodes/reftex-toc.el (reftex-toc-promote-action):
17568         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
17569         (reftex-select-item):
17570         * textmodes/reftex-ref.el (reftex-label-info-update)
17571         (reftex-offer-label-menu):
17572         * textmodes/reftex-index.el (reftex-index-change-entry)
17573         (reftex-index-phrases-info):
17574         * textmodes/reftex-global.el (reftex-create-tags-file)
17575         (reftex-save-all-document-buffers, reftex-ensure-write-access):
17576         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
17577         (reftex-view-crossref-from-bibtex):
17578         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
17579         (reftex-extract-bib-entries-from-thebibliography)
17580         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
17581         * textmodes/refbib.el (r2b-capitalize-title):
17582         (r2b-convert-buffer, r2b-help):
17583         * textmodes/page-ext.el (pages-directory)
17584         (pages-directory-goto-with-mouse):
17585         * textmodes/bibtex.el (bibtex-validate-globally):
17586         * textmodes/bib-mode.el (bib-capitalize-title):
17587         * textmodes/artist.el (artist-clear-buffer, artist-system):
17588         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
17589         (local-set-scheme-interaction-buffer, xscheme-process-filter)
17590         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
17591         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
17592         (xscheme-send-control-g-interrupt, xscheme-start-process)
17593         (xscheme-process-sentinel, xscheme-cd):
17594         * progmodes/verilog-mode.el (verilog-read-always-signals)
17595         (verilog-set-define, verilog-getopt-file)
17596         (verilog-module-inside-filename-p):
17597         * progmodes/sh-script.el:
17598         * progmodes/python.el (python-pdbtrack-get-source-buffer)
17599         (python-pdbtrack-grub-for-buffer, python-execute-file):
17600         * progmodes/octave-inf.el (inferior-octave):
17601         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
17602         (idlwave-shell-compile-helper-routines, idlwave-set-local)
17603         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
17604         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
17605         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
17606         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
17607         (idlwave-shell-filter, idlwave-shell-examine-highlight)
17608         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
17609         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
17610         (idlwave-shell-examine-display, idlwave-shell-run-region)
17611         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
17612         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
17613         * progmodes/idlw-help.el (idlwave-help-get-special-help)
17614         (idlwave-help-get-help-buffer):
17615         * progmodes/gud.el (gud-basic-call, gud-find-class)
17616         (gud-tooltip-activate-mouse-motions-if-enabled):
17617         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
17618         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
17619         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
17620         (ebrowse-tags-next-file):
17621         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
17622         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
17623         (ebnf-eps-finish-and-write):
17624         * progmodes/cpp.el (cpp-edit-save):
17625         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
17626         * progmodes/cc-defs.el (c-emacs-features):
17627         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
17628         (antlr-directory-dependencies):
17629         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
17630         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
17631         (ada-find-any-references, ada-make-filename-from-adaname)
17632         (ada-make-body-gnatstub):
17633         * obsolete/rnews.el (news-list-news-groups):
17634         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
17635         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
17636         * net/rcirc.el (rcirc-debug):
17637         * net/newst-treeview.el (newsticker--treeview-list-add-item)
17638         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
17639         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
17640         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
17641         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
17642         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
17643         (newsticker--treeview-list-clear-highlight)
17644         (newsticker--treeview-list-update-highlight)
17645         (newsticker--treeview-list-highlight-start)
17646         (newsticker--treeview-tree-update-highlight)
17647         (newsticker--treeview-get-selected-item)
17648         (newsticker-treeview-mark-list-items-old)
17649         (newsticker--treeview-set-current-node):
17650         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
17651         * net/newst-backend.el (newsticker--get-news-by-funcall)
17652         (newsticker--get-news-by-wget, newsticker--image-get)
17653         (newsticker--image-sentinel):
17654         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
17655         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
17656         (eudc-ph-close-session):
17657         * net/eudc.el (eudc-save-options):
17658         * language/thai-word.el (thai-update-word-table):
17659         * language/japan-util.el (japanese-string-conversion):
17660         * international/titdic-cnv.el (tsang-quick-converter)
17661         (ziranma-converter, ctlau-converter):
17662         * international/mule-cmds.el (describe-language-environment):
17663         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
17664         (skkdic-convert-postfix, skkdic-convert-prefix):
17665         (skkdic-convert-okuri-nasi, skkdic-convert):
17666         * emacs-lisp/re-builder.el (reb-update-overlays):
17667         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
17668         * emacs-lisp/gulp.el (gulp-send-requests):
17669         * emacs-lisp/find-gc.el (trace-call-tree):
17670         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
17671         (eieio-describe-generic):
17672         * emacs-lisp/eieio-base.el (eieio-persistent-read):
17673         * emacs-lisp/edebug.el (edebug-outside-excursion):
17674         * emacs-lisp/debug.el (debugger-make-xrefs):
17675         * emacs-lisp/cust-print.el (custom-prin1-to-string):
17676         * emacs-lisp/chart.el (chart-new-buffer):
17677         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
17678         Use with-current-buffer.
17679         * textmodes/artist.el (artist-system): Don't call
17680         copy-sequence on a fresh string.
17681         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
17683 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
17685         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
17686         is no item to edit.  (Bug#4820)
17687         (todo-top-priorities): Restore point and restore narrowing in Todo
17688         buffer.  (Bug#4820)
17690 2009-10-31  Glenn Morris  <rgm@gnu.org>
17692         * net/ange-ftp.el (top-level): Don't require dired when compiling.
17693         (comint-last-output-start, comint-last-input-start)
17694         (comint-last-input-end): Don't defvar when compiling.
17695         (ange-ftp-process-file): Use bound-and-true-p.
17697         * pcmpl-rpm.el (top-level): Move provide statement to end.
17698         (pcmpl-rpm): Remove unused custom group.
17700         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
17702         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
17704         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
17705         (byte-compile-warnings): Add `constants' as an option.
17706         (byte-compile-callargs-warn, byte-compile-arglist-warn)
17707         (display-call-tree): Update for byte-compile-fdefinition possibly
17708         returning `(macro lambda ...)'.  (Bug#4778)
17709         (byte-compile-variable-ref, byte-compile-setq-default):
17710         Respect `constants' member of byte-compile-warnings.
17712 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
17714         * vc-bzr.el (vc-bzr-revision-keywords): New var.
17715         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
17716         to "submit:".
17718 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
17720         * textmodes/ispell.el (ispell-skip-region-alist):
17721         * international/mule-conf.el (eight-bit):
17722         * international/fontset.el (font-encoding-alist):
17723         * startup.el (pure-space-overflow-message):
17724         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
17725         * paths.el (gnus-nntp-service, rmail-spool-directory)
17726         (term-file-prefix):
17727         * files.el (save-some-buffers-action-alist):
17728         * cmuscheme.el (same-window-buffer-names):
17729         * ielm.el (same-window-buffer-names):
17730         * shell.el (same-window-buffer-names):
17731         * mail/sendmail.el (same-window-buffer-names):
17732         * progmodes/inf-lisp.el (same-window-buffer-names):
17733         * bindings.el (mode-line-client)
17734         (mode-line-column-line-number-mode-map):
17735         * language/tibetan.el (tibetan-precomposition-rule-regexp)
17736         (tibetan-precomposed-regexp): Purecopy string arguments.
17738 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17740         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
17741         (calcDigit-nondigit):
17742         * calc/calc-yank.el (calc-copy-to-buffer):
17743         * calc/calc-units.el (calc-invalidate-units-table):
17744         * calc/calc-trail.el (calc-trail-yank):
17745         * calc/calc-store.el (calc-insert-variables):
17746         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
17747         * calc/calc-prog.el (calc-read-parse-table):
17748         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
17749         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
17750         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
17751         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
17752         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
17753         (calc-graph-name, calc-graph-find-command, calc-graph-view)
17754         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
17755         * calc/calc-ext.el (calc-realign):
17756         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
17757         (calc-embedded-finish-edit, calc-embedded-make-info)
17758         (calc-embedded-finish-command, calc-embedded-stack-change):
17759         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
17761         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
17762         shell-dynamic-complete-filename in preference to
17763         comint-dynamic-complete-filename.
17765         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
17766         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
17767         Don't consider whether the display supports colors.
17768         (bookmark-import-new-list): Use dolist.
17769         (bookmark-bmenu-mode-map): Move initialization into declaration.
17770         (bookmark-bmenu-list): Use dolist, simplify.
17771         (bookmark-show-all-annotations): Use save-selected-window and dolist.
17772         (menu-bar-final-items): Use push.
17774 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
17776         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
17777         it works on remote files.
17778         (vc-hg-diff): Don't pass any `--cwd' argument.
17780 2009-10-27  Kevin Ryde  <user42@zip.com.au>
17782         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17783         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
17784         (Further to Bug#3921).
17786 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
17788         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
17789         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
17790         calling `tramp-imap-put-file'.  Add file size to the call.
17791         (tramp-imap-get-file-entries): Compute also user name, file size,
17792         and date.
17793         (tramp-imap-handle-insert-directory): Insert uid and gid.
17794         (tramp-imap-handle-file-attributes): Transform uid and gid
17795         according to `id-format'.
17796         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
17797         size in header X-Size.
17799 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
17801         * simple.el (transpose-subr): Give clearer error when the mark
17802         is not set.  (Bug#4807)
17804 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
17806         * net/tramp.el (tramp-perl-file-truename): New defconst.
17807         Perl code contributed by yary <not.com@gmail.com> (tiny change).
17808         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
17809         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
17810         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
17812         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
17813         Ignore `dired-call-process'.
17814         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
17816 2009-10-26  Julian Scheid  <julians37@gmail.com>
17818         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
17819         (tramp-get-remote-readlink): New defun.
17820         (tramp-handle-file-truename): Use it.
17821         (tramp-handle-file-exists-p): Check file-attributes cache, assume
17822         file exists if cache value present.
17823         (tramp-check-cached-permissions): New defun.
17824         (tramp-handle-file-readable-p): Use it.
17825         (tramp-handle-file-writable-p): Likewise.
17826         (tramp-handle-file-executable-p): Likewise.
17827         (tramp-handle-file-name-all-completions): Try using Perl to get
17828         partial completions.  When perl not available, combine `cd' and
17829         `ls' into single remote operation and use shell expansion to get
17830         partial remote directory contents.  Set `file-exists-p' cache for
17831         directory and any files returned by ls.  Change cache handling to
17832         support partial directory contents.  Use error message emitted by
17833         remote `cd' or Perl code for local tramp-error.
17834         (tramp-do-copy-or-rename-file-directly): Avoid separate
17835         tramp-send-command-and-check call.
17836         (tramp-handle-process-file): Merge three remote ops into one.
17837         Do not flush all caches when `process-file-side-effects' is set.
17838         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
17839         file-attributes shows uid/gid to be set already.
17841 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
17843         * textmodes/tex-mode.el (tex-dvi-view-command)
17844         (tex-show-queue-command, tex-open-quote):
17845         * progmodes/ruby-mode.el (auto-mode-alist)
17846         (interpreter-mode-alist): Purecopy strings.
17848         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
17850         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
17851         string for the hook, keymap and abbrev table.
17853         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
17855         * x-dnd.el (x-dnd-xdnd-to-action):
17856         * startup.el (fancy-startup-text, fancy-about-text): Change to
17857         defconst from defvar.
17859         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
17861         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
17862         Purecopy initialization strings.
17864         * mail/sendmail.el (mail-header-separator)
17865         (mail-personal-alias-file):
17866         * mail/rmail.el (rmail-default-dont-reply-to-names)
17867         (rmail-ignored-headers, rmail-retry-ignored-headers)
17868         (rmail-highlighted-headers, rmail-secondary-file-directory)
17869         (rmail-secondary-file-regexp):
17870         * files.el (null-device, file-name-invalid-regexp)
17871         (locate-dominating-stop-dir-regexp)
17872         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
17873         (interpreter-mode-alist): Use mapcar instead of mapc.
17875         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
17877         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
17878         (completion-ignored-extensions):
17879         (debug-ignored-errors): Purecopy strings.
17881 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
17883         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
17884         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
17885         (pcomplete--here): Use push.
17887         * subr.el (all-completions): Declare the 4th arg obsolete.
17889 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17891         * pcomplete.el (pcomplete-unquote-argument-function): New var.
17892         (pcomplete-unquote-argument): New function.
17893         (pcomplete--common-suffix): Always pay attention to case.
17894         (pcomplete--table-subvert): Quote and unquote the text.
17895         (pcomplete--common-quoted-suffix): New function.
17896         (pcomplete-std-complete): Use it and pcomplete-begin.
17898         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
17899         we're inside a dedicated or minibuffer window.
17901 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
17903         * bookmark.el: Update documentation, especially documentation
17904         of `bookmark-alist' and of the bookmark file format.
17905         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
17907 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
17909         * mail/emacsbug.el (report-emacs-bug): Clarify that the
17910         keybindings apply to the mail buffer (Bug#4003).  Shrink help
17911         window to buffer.
17913         * whitespace.el (whitespace-mode, whitespace-newline-mode)
17914         (global-whitespace-mode, global-whitespace-newline-mode)
17915         (whitespace-toggle-options, global-whitespace-toggle-options):
17916         Doc fix (Bug#3660).
17918         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
17919         of xmltok-start before the end tag was inserted (Bug#2840).
17921         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
17922         patterns that are preceded by an open-paren (Bug#1320).
17924 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
17926         * files.el (delete-directory): Delete symlinks to directories with
17927         delete-file (Bug#4739).
17929 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
17931         * vc.el (vc-backend-for-registration): Rename from
17932         vc-get-backend-for-registration.  Update callers.
17934         * international/mule-cmds.el (set-language-info-alist):
17935         Purecopy lang-env.
17936         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
17937         (charset): Purecopy the name.
17938         (define-char-code-property): Purecopy string arguments.
17940         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17941         Purecopy string arguments.
17943         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17944         * ediff-hook.el (menu-bar-ediff-menu):
17945         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
17946         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
17948 2009-10-24  Glenn Morris  <rgm@gnu.org>
17950         * comint.el (comint-dynamic-list-completions):
17951         * term.el (term-dynamic-list-completions): Use choose-completion rather
17952         than obsolete alias mouse-choose-completion.
17954         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
17955         file-cache-choose-completion.
17956         (file-cache-choose-completion): Handle an optional event argument.
17957         (file-cache-mouse-choose-completion): Make it an obsolete alias.
17959         * progmodes/octave-mod.el (octave-complete-symbol):
17960         Use choose-completion if mouse-choose-completion is ever removed.
17962         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
17963         use.
17965         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
17966         compiler.
17968         * vc-hooks.el (vc-responsible-backend): Fix declaration.
17970 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17972         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
17973         Ignore `pred' now that we receive one.
17974         Handle test-completion specially.
17976 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
17978         * vc.el (vc-responsible-backend): Throw an error if not backend is
17979         found.  Remove the REGISTER argument.  Move the code dealing with
17980         REGISTER ...
17981         (vc-get-backend-for-registration): ... here.  New function.
17982         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
17983         of vc-responsible-backend, pass the file name instead of the
17984         directory name.
17986 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17988         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
17989         New funs.
17990         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
17991         (pcomplete-comint-setup): Don't modify a global var via
17992         accidental side-effects.
17993         (pcomplete-shell-setup): Adjust call accordingly.
17994         (pcomplete-parse-comint-arguments): Use push.
17996 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
17998         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17999         Allow uncapitalized info node names (Bug#3921).
18001         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
18002         to the DEBUG file (Bug#3781).
18004 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
18006         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
18007         dictionary entry (Bug#4579).
18009 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
18011         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
18012         from `rfn-eshadow-update-overlay-hook' when unloading.
18013         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
18014         "rsyncc".  Adjust doc string.
18015         (tramp-temp-buffer-file-name): New buffer-local defvar.
18016         (tramp-handle-insert-file-contents, tramp-handle-write-region):
18017         Keep temporary file when indicated by method ("rsync" and
18018         "rsyncc").
18019         (tramp-handle-write-region): Handle APPEND.
18020         (tramp-delete-temp-file-function): New defun.  Added to
18021         `kill-buffer-hook'.
18023 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
18025         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
18027 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
18029         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
18030         (color-name-rgb-alist, tty-standard-colors)
18031         (tty-color-mode-alist): Change to defconst.
18033         * simple.el (mark-inactive): Purecopy message.
18035         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
18036         (global-map, yank-menu):
18037         * textmodes/ispell.el (ispell-menu-map):
18038         * net/eudc.el (eudc-tools-menu):
18039         * international/mule-cmds.el (describe-language-environment-map)
18040         (setup-language-environment-map, set-coding-system-map)
18041         (mule-menu-keymap):
18042         * vc-hooks.el (vc-menu-entry, vc-menu-map):
18043         * replace.el (occur-mode-map):
18044         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
18046 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
18048         * calc/calc.el (math-read-number, math-read-number-simple):
18049         Use `save-match-data'.
18051 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
18053         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
18054         rather than fiddling with global-map bindings, since it should only
18055         affect per-terminal settings.
18056         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
18058         * minibuffer.el (completion-table-with-terminator): Allow to specify
18059         the terminator-regexp.
18061         * simple.el (switch-to-completions): Look for *Completions* in other
18062         frames as well.
18064         * pcomplete.el: Allow the use of completion-tables.
18065         (pcomplete-std-complete): New command.
18066         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
18067         (pcomplete--here): Use a function for `form' rather than an expression,
18068         so it can be byte-compiled.
18069         (pcomplete-here, pcomplete-here*): Adjust accordingly.
18070         Add edebug declaration.
18071         (pcomplete-show-completions): Remove unused var `curbuf'.
18072         (pcomplete-do-complete, pcomplete-stub):
18073         Don't assume `completions' is a list of strings any more.
18075 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
18077         * find-dired.el (find-name-arg): Fix typo in docstring.
18079 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
18081         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
18082         (pcmpl-linux-fs-types): Same, and update to new modules layout.
18084         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
18085         pcomplete-entries.
18087         * comint.el (comint-read-input-ring, comint-write-input-ring)
18088         (comint-substitute-in-file-name)
18089         (comint-dynamic-complete-as-filename)
18090         (comint-dynamic-simple-complete)
18091         (comint-dynamic-list-filename-completions)
18092         (comint-dynamic-list-completions)
18093         (comint-redirect-results-list-from-process): Minor simplifications.
18095 2009-10-21  Kevin Ryde  <user42@zip.com.au>
18097         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
18098         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
18099         the first form.  And insert a blank line after ";;; Code" since
18100         that's usual style.  (Bug#4612)
18102         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
18104 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
18106         * minibuffer.el (completion-table-with-terminator): Properly implement
18107         boundaries, in case `terminator' appears in the suffix.
18108         (completion--embedded-envvar-table): Don't return boundaries if
18109         there's no valid completion.  Simplify.
18110         (completion-file-name-table): New completion table extracted from
18111         completion--file-name-table.
18112         (completion--file-name-table): Use it.
18113         (read-file-name-predicate): Declare obsolete.
18114         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
18115         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
18116         completion-file-name-table, and use the `pred' argument.
18117         * files.el (locate-file-completion-table): Use the `pred' arg rather
18118         than read-file-name-predicate.
18119         (abbreviate-file-name): Use \` rather than ^ for BOS.
18121 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
18123         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
18124         vc-responsible-backend to register, it causes problems.
18126 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
18128         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
18130 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
18132         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
18133         (tramp-smb-handle-file-attributes): Use it.
18134         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
18135         (tramp-smb-handle-insert-directory): Use `mapc' rather than
18136         `mapcar'.  Use `tramp-smb-get-stat-capability'.
18137         Add `dired-filename' text properties.
18138         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
18139         (tramp-smb-maybe-open-connection): Simplify check for smbclient
18140         version.
18142 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
18144         * subr.el (read-key-delay): Reduce to 0.01.
18145         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
18146         (bug#4751).
18148 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
18150         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
18152         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
18153         (Info-menu): Remove unused vars `last' and `completions'.
18154         (Info-index-nodes): Remove unused var `node'.
18156         * info.el (Info-complete-menu-item): Use complete-with-action.
18158 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
18160         Make vc-annotate work through copies and renames.
18161         * vc-annotate.el (vc-annotate-extract-revision-at-line):
18162         Return the file name too.
18163         (vc-annotate-revision-at-line)
18164         (vc-annotate-find-revision-at-line)
18165         (vc-annotate-revision-previous-to-line)
18166         (vc-annotate-show-log-revision-at-line): Update to get the file
18167         name from vc-annotate-extract-revision-at-line.
18168         (vc-annotate-show-diff-revision-at-line-internal): Change the
18169         argument to mean whether to show a file diff or not.  Get the file
18170         name from vc-annotate-extract-revision-at-line.
18171         (vc-annotate-show-diff-revision-at-line):
18172         Update vc-annotate-show-diff-revision-at-line call.
18173         (vc-annotate-warp-revision): Add an optional file argument.
18175         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
18176         (vc-git-annotate-extract-revision-at-line): Also return the file
18177         name if found.
18179         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
18180         command.  Remove unused code.
18181         (vc-hg-annotate-re): Update to match --follow output.
18182         (vc-hg-annotate-extract-revision-at-line): Also return the file
18183         name if found.
18185         * vc.el: Update annotate-extract-revision-at-line documentation.
18187 2009-10-18  Kevin Ryde  <user42@zip.com.au>
18189         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
18190         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
18192         * net/browse-url.el (browse-url): Identify alist with "consp and
18193         not functionp" and let all other things go down the `apply' leg,
18194         as suggested by Stefan.  (Further to bug#4531.)
18196 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
18198         * minibuffer.el (read-file-name): Check for repeat before putting
18199         a default argument in file-name-history (Bug#4657).
18201         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
18202         read syntax (Bug#4737).
18204         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
18206 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
18208         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
18209         (html-tag-alist, html-tag-help): Add descriptions for undocumented
18210         entries and make note of obsolete tags.
18212 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
18214         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
18216 2009-10-18  Glenn Morris  <rgm@gnu.org>
18218         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
18219         grep, so that binary files (eg international/uni-bidi.el) can match.
18220         Remove test for "UnicodeData" files, since it is hopefully unnecessary
18221         now, and in any case the file header format has changed.
18223 2009-10-17  Glenn Morris  <rgm@gnu.org>
18225         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
18226         (flyspell-get-word, flyspell-large-region)
18227         (flyspell-auto-correct-previous-word): Doc/error message fixes.
18229 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
18231         * Makefile.in (ELCFILES): Add ede/shell.
18233 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
18235         * term/common-win.el (x-colors): Purecopy it.
18237 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
18239         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
18240         permissive for when the buffer is empty.
18241         (tar-header-block-tokenize): Decode the username and groupname.
18242         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
18244 2009-10-17  Eric Ludlam  <zappo@gnu.org>
18246         * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
18247         contains multibyte characters, choose first applicable coding
18248         system automatically.
18250 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
18252         * international/mule-cmds.el (select-safe-coding-system): If the file
18253         has a coding cookie, use it regardless of any other setting (bug#4712).
18255 2009-10-17  Glenn Morris  <rgm@gnu.org>
18257         * foldout.el (foldout-mouse-swallow-events):
18258         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
18260         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
18261         (dired-keep-marker-copy, dired-keep-marker-hardlink)
18262         (dired-keep-marker-symlink, dired-dwim-target)
18263         (dired-copy-preserve-time): Do not autoload these defcustoms.
18265         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
18266         messages from messing up the file coding.  (Bug#4623)
18268 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
18270         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
18271         if no match is found for the current dictionary.  (Bug#4578)
18273         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
18274         optional, since that is how it is documented, and this is often called
18275         with a nil argument.  (Bug#4577)
18276         (flyspell-external-point-words, flyspell-auto-correct-word)
18277         (flyspell-correct-word-before-point, flyspell-word-search-forward)
18278         (flyspell-word-search-backward): Remove nil argument in calls to
18279         flyspell-get-word, since it is not needed now.
18281 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
18283         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
18285 2009-10-16  Glenn Morris  <rgm@gnu.org>
18287         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
18289 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
18291         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
18292         (ange-ftp-file-size): New function.
18293         (ange-ftp-file-attributes): Use it.
18295 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
18297         * net/tramp-smb.el (tramp-smb-version): New defvar.
18298         (tramp-smb-maybe-open-connection): Use it, in order to avoid
18299         repeated checks.
18301 2009-10-16  Glenn Morris  <rgm@gnu.org>
18303         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
18304         Maybe copy some custom properties from old to new name.  (Bug#4706)
18306 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
18308         * subr.el (error, sit-for, start-process-shell-command)
18309         (start-file-process-shell-command): Set the calling convention
18310         after the function definition.
18312 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
18314         * subr.el (error, sit-for, start-process-shell-command)
18315         (start-file-process-shell-command): Use the new
18316         set-advertised-calling-convention feature.
18318 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
18320         * international/ucs-normalize.el (ucs-normalize-version):
18321         Change to 1.2.
18322         (check-range): Adjust for Unicode 5.2.
18324 2009-10-15  Juri Linkov  <juri@jurta.org>
18326         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
18327         to the `menu-item' format.
18329 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
18331         * net/tramp.el (tramp-replace-environment-variables): Do not fail
18332         if the environment variable does not exist.
18334         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18335         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
18336         parameter.
18337         (tramp-smb-handle-add-name-to-file)
18338         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18339         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18340         (tramp-smb-handle-file-attributes)
18341         (tramp-smb-do-file-attributes-with-stat)
18342         (tramp-smb-handle-file-local-copy)
18343         (tramp-smb-handle-insert-directory)
18344         (tramp-smb-handle-make-directory)
18345         (tramp-smb-handle-make-directory-internal)
18346         (tramp-smb-handle-make-symbolic-link)
18347         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
18348         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
18349         (tramp-smb-maybe-open-connection): Apply the changed parameters.
18350         (tramp-smb-read-file-entry): Read Disk names in compressed format.
18351         Handle long file names.
18352         (tramp-smb-get-cifs-capabilities): Check, whether the connection
18353         process is running.
18354         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
18355         Read share names with "-g" option.
18357 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
18359         * net/rcirc.el (rcirc-view-log-file): New command.
18360         (rcirc-track-minor-mode-map): Remove C-c ` binding.
18361         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
18362         specified.
18364 2009-10-15  Glenn Morris  <rgm@gnu.org>
18366         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
18367         from the second command-line argument.
18368         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
18369         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
18370         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
18371         w32-batch-update-autoloads.
18372         * emacs-lisp/autoload.el (autoload-make-program): New variable.
18373         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
18375         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
18376         the headers cannot be located.  Simplify, subtracting superflous
18377         save-excursions.
18379 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18381         Replace completion-base-size by completion-base-position to fix bugs
18382         such as (bug#4699).
18383         * simple.el (completion-base-position): New var.
18384         (completion-base-size): Mark as obsolete.
18385         (choose-completion): Make it work for mouse events as well.
18386         Pass the new base-position to choose-completion-string.
18387         (choose-completion-guess-base-position): New function, extracted from
18388         choose-completion-delete-max-match.
18389         (choose-completion-delete-max-match): Use it.  Make obsolete.
18390         (choose-completion-string): Use the new base-position info.
18391         (completion-root-regexp): Delete.
18392         (completion-setup-function): Preserve completion-base-position.
18393         Eliminate obsolete base-size manipulation.
18394         * minibuffer.el (display-completion-list): Don't mess with base-size.
18395         (minibuffer-completion-help): Set completion-base-position instead.
18396         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
18397         choose-completion.
18398         * textmodes/bibtex.el (bibtex-complete):
18399         * emacs-lisp/crm.el (crm--choose-completion-string):
18400         Adjust to new calling convention.
18401         * complete.el (partial-completion-mode): Use minibufferp to avoid
18402         bumping into incompatible change to choose-completion-string-functions.
18403         * ido.el (ido-choose-completion-string): Make its calling convention
18404         more permissive.
18405         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
18406         base-size manipulation.
18407         (comint-dynamic-list-input-ring): Use dotimes and push.
18408         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
18409         fundamental-mode.  Use `or'.
18411 2009-10-14  Juri Linkov  <juri@jurta.org>
18413         * misearch.el (multi-isearch-next-buffer-from-list)
18414         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
18416 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
18418         * Makefile.in (compile-onefile): Load `bytecomp' rather than
18419         `bytecomp.el'.
18421         * minibuffer.el (completion-pcm--merge-completions): Make sure the
18422         string we return is all made up of text from the completions rather
18423         than part from the completions and part from the input (bug#4219).
18425         * ido.el (ido-everywhere): Use define-minor-mode.
18427         * buff-menu.el (list-buffers, ctl-x-map):
18428         Mark the entry points with ;;;###autoload cookies.
18430 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
18432         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
18433         correctly in the detached head case.
18434         (vc-git-print-log): Remove unused binding.
18436         * vc.el (vc-responsible-backend): When a directory is passed for
18437         for registration create a VC repository if no backend is
18438         responsible for the directory argument.
18439         (vc-deduce-fileset): Tell vc-responsible-backend to register.
18441         * vc.el: Move comments about RCS and SCCS ...
18442         * vc-rcs.el:
18443         * vc-sccs.el: ... here, respectively.
18445 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
18447         * minibuffer.el (completion--file-name-table): Return nil if there's
18448         no file completion, even if substitute-in-file-name changed
18449         the string (bug#4708).
18451 2009-10-13  Juri Linkov  <juri@jurta.org>
18453         * files-x.el (read-file-local-variable-value): Don't filter out
18454         minor modes from mode name completion (bug#4664).
18456 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
18458         * international/mule-cmds.el (ucs-names): Remove exclusion of
18459         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
18461 2009-10-13  Kenichi Handa  <handa@m17n.org>
18463         * international/uni-name.el: Regenerated.
18465 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
18467         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
18468         should be automatically buffer-local, but isn't.)
18470 2009-10-12  Sam Steingold  <sds@gnu.org>
18472         * progmodes/compile.el (compilation-next-error-function): Fix the
18473         timestamps if the buffer has been visited before.
18474         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
18475         non-anchored patterns, like the perl one (bug#3928).
18477 2009-10-12  Glenn Morris  <rgm@gnu.org>
18479         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
18480         Let-bind `size'.
18482 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
18484         * proced.el (proced-unload-function): New function.
18486         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
18487         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
18488         Doc fix.
18490         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
18492 2009-10-11  Juri Linkov  <juri@jurta.org>
18494         * files-x.el (read-file-local-variable-value):
18495         Provide default value only for bound variables (bug#4664).
18497 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
18499         * net/tramp.el (tramp-local-host-p): Function shall return nil for
18500         connection methods like smb.
18502         * net/tramp-cache.el (tramp-flush-connection-property): The hash
18503         can be empty.
18505         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18506         (tramp-smb-file-name-handler-alist): Add handlers for
18507         `add-name-to-file', `make-symbolic-link'.
18508         (tramp-smb-handle-add-name-to-file)
18509         (tramp-smb-do-file-attributes-with-stat)
18510         (tramp-smb-handle-make-symbolic-link)
18511         (tramp-smb-get-cifs-capabilities): New defuns.
18512         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18513         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18514         (tramp-smb-handle-file-local-copy)
18515         (tramp-smb-handle-make-directory-internal)
18516         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
18517         The file name syntax depends on cifs capabilities.
18518         (tramp-smb-handle-file-attributes):
18519         Call `tramp-smb-do-file-attributes-with-stat' if possible.
18520         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
18521         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
18523 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
18525         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
18526         (eieio-defclass): Apply deftype handler and setf-method properties
18527         directly.
18528         (eieio-add-new-slot): Avoid union function from cl library.
18529         (eieio--typep): New function.
18530         (eieio-perform-slot-validation): Use it.
18532 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
18534         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
18535         Update documentation to refer to the variables documented in r1.135.
18536         (Bug#4188)
18538 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
18540         * bookmark.el (Info-suffix-list): Remove this unused variable.
18541         (bookmark-current-point): Remove this obsolete variable.
18542         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
18543         Adjust for removal of bookmark-current-point.
18545         (bookmarks-already-loaded, bookmark-current-buffer)
18546         (bookmark-yank-point): Document.  (Bug#4188)
18548 2009-10-10  Glenn Morris  <rgm@gnu.org>
18550         * frame.el (frame-height): Doc fix.
18552         * calendar/calendar.el (calendar-split-width-threshold): New option.
18553         (calendar-basic-setup): Use calendar-split-width-threshold.
18555 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
18557         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
18558         Ideographic Supplement" range (U+1F200..U+1F2FF).
18560 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
18562         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
18563         since the list will have been rebuilt anyway.  (Bug#4349)
18565 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
18567         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
18568         (bookmark-bmenu-execute-deletions): Don't save here, as
18569         bookmark-delete will now do so if necessary.
18570         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
18571         (Bug#4348)
18573 2009-10-09  Glenn Morris  <rgm@gnu.org>
18575         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
18577 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
18579         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
18580         (bookmark-jump-other-window): Just invoke bookmark-jump with new
18581         argument now, so the two function's behaviors will match.  (Bug#3645)
18583 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
18585         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
18586         (tramp-file-name-real-host, tramp-file-name-port):
18587         Apply `save-match-data'.
18589         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
18590         case both directories are remote.
18591         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
18592         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
18594 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
18596         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
18598 2009-10-07  Glenn Morris  <rgm@gnu.org>
18600         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
18601         of concat.
18603 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
18605         * files-x.el (read-file-local-variable): Include some
18606         non-user-variables in the completion table (bug#4664).
18608 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
18610         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
18611         message.
18613         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18614         (tramp-smb-file-name-handler-alist): Add handler for
18615         `copy-directory', `expand-file-name', `set-file-modes'.
18616         (tramp-smb-handle-copy-directory)
18617         (tramp-smb-handle-expand-file-name)
18618         (tramp-smb-handle-set-file-modes): New defuns.
18619         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
18620         (tramp-smb-handle-file-attributes): Simplify check for retrieving
18621         entry.
18622         (tramp-smb-handle-insert-directory): Don't flush the cache.
18623         (tramp-smb-maybe-open-connection): Check for samba client and
18624         server versions.
18626 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
18628         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
18629         to not error out of search for "^lisp=" fails.
18631 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
18633         * makefile.w32-in (WINS_UPDATES): New macro.
18634         (custom-deps, finder-data, autoloads): Use it.
18636 2009-10-07  Glenn Morris  <rgm@gnu.org>
18638         * Makefile.in (autoloads): Revert previous change.
18639         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
18640         the list of preloaded files passed on the command-line, get
18641         it from src/Makefile.
18643         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
18644         show the original buffer rather than a random one.
18646 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
18648         * help.el (describe-no-warranty): Place point in a slightly better
18649         position in the GPLv3 text.
18651 2009-10-06  Sam Steingold  <sds@gnu.org>
18653         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
18654         the comm attribute is present before calling regexp-quote.
18656 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
18658         * play/animate.el (animate-string): For good effect, make sure
18659         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
18661         * play/animate.el (animate-sequence, animate-birthday-present):
18662         * misc.el (butterfly): Don't set `indent-tabs-mode'.
18664 2009-10-06  Glenn Morris  <rgm@gnu.org>
18666         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
18668         * emacs-lisp/autoload.el (autoload-excludes): New variable.
18669         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
18670         (batch-update-autoloads): Process a string value of autoload-excludes,
18671         set during the build process.
18672         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
18674         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
18675         inside with-parsed...  macro so that `v' is defined.
18677         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
18678         * progmodes/fortran.el (fortran-end-of-block)
18679         (fortran-beginning-of-block):
18680         Also push mark in the macro case.
18682         * emerge.el (emerge-show-file-name):
18683         * calc/calc.el (calc-quit):
18684         * calc/calc-misc.el (calc-big-or-small):
18685         * calc/calc-graph.el (calc-graph-view):
18686         * calc/calc-ext.el (calc-reset):
18687         * calendar/calendar.el (calendar-basic-setup):
18688         Use window-full-height-p.
18690         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
18691         header we don't understand, don't insert another.  (Bug#4624)
18692         If changing mime charset, insert the new one in the right place.
18694 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
18696         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
18697         (cal-tex-cursor-month): Correctly increment the end date for diary and
18698         holiday listing.  (Bug#4626)
18700 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18702         * help-fns.el (describe-function-1): Don't burp if the function is not
18703         a symbol.
18705 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
18707         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
18708         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
18709         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
18710         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
18712         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
18713         (eieio-default-superclass): Reflow docstrings.
18714         (this, class-option-assoc, defclass, eieio-class-un-autoload)
18715         (eieio-unbind-method-implementations, defmethod)
18716         (eieio-validate-slot-value, eieio-validate-class-slot-value)
18717         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
18718         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
18719         (eieio-slot-originating-class-p, eieio-slot-name-index)
18720         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
18721         (constructor, initialize-instance, no-next-method, object-print)
18722         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
18723         Fix typos in docstrings.
18724         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
18725         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
18726         (next-method-p): Doc fixes.
18727         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
18728         Fix typos in error messages.
18729         (eieio-defmethod): Fix typo in description of generic method.
18731         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
18732         (eieio-persistent-save-interactive, slot-missing):
18733         Fix typos in docstrings.
18734         (eieio-instance-inheritor-slot-boundp): Doc fix.
18736         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
18737         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
18739         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
18740         (eieio-custom-object-apply-reset):
18741         Fix typos in docstrings and error messages.
18743         * emacs-lisp/eieio-datadebug.el (data-debug-show):
18744         Fix typo in docstring.
18746         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
18747         (eieio-browse-tree): Doc fix.
18748         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
18749         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
18750         Fix typos in docstrings.
18752         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
18753         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
18754         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
18755         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
18756         Reflow docstrings.
18758 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
18760         * vc-hg.el (log-view-vc-backend): Declare for compiler.
18761         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
18762         Set log-view-vc-backend so that diff can work.
18764         * log-view.el (log-view-diff): Use vc-diff-internal instead of
18765         vc-version-diff.
18766         (vc-diff-internal): Autoload this instead of vc-version-diff.
18768 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
18770         * simple.el (eval-expression): Doc fix.
18772         * progmodes/cwarn.el (cwarn-mode): Doc fix.
18774 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
18776         * files.el (directory-files-no-dot-files-regexp): New defconst.
18777         (delete-directory): Use it.
18778         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
18780         * net/tramp.el (tramp-verbose): Fix docstring.
18781         (tramp-methods): Add recursive option to `tramp-copy-args'.
18782         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
18783         "scp1_old", "scp2_old", "rsync", "rsyncc".
18784         (tramp-default-method): Check also for `auth-source-user-or-password'.
18785         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
18786         Add handler for `copy-directory'.
18787         (tramp-handle-copy-directory): New defun.
18788         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
18789         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
18790         Optimize sent command.
18792 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18794         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
18795         window if necessary.
18797         * calendar/calendar.el (calendar-basic-setup): Don't call
18798         switch-to-buffer in a dedicated window.
18800 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
18802         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
18803         don't do anything related to relocating, just return nil.
18804         (bookmark-error-no-filename): New error.
18805         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
18806         bookmark has no file.  Don't even attempt to handle things that
18807         are not files; the whole point of custom handlers is to keep that
18808         knowledge elsewhere anyway.  Tighten some comments.
18809         (bookmark-file-or-variation-thereof): Remove now-unused function.
18810         (bookmark-location): Doc string fix.
18811         (Bug#4250)
18813 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18815         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
18816         don't use a file dialog, because they usually don't know how to read
18817         a directory target from the user.  (Bug#4230)
18818         Also, make sure the prompt can display directories as well as files.
18820 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18822         * bookmark.el (bookmark-set, bookmark-buffer-name):
18823         Improve doc strings.  (Bug#1193)
18825 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18827         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
18828         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
18829         (bookmark-get-annotation, bookmark-set-annotation)
18830         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
18831         (bookmark-set-position, bookmark-get-front-context-string)
18832         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
18833         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
18834         (bookmark-jump-other-window, bookmark-handle-bookmark)
18835         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
18836         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
18837         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
18838         Improve doc strings to say whether bookmark can be a string or
18839         a record or both, and make other consistency and clarity fixes.
18840         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
18841         (bookmark-default-annotation-text, bookmark-yank-word)
18842         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
18843         (bookmark-import-new-list, bookmark-maybe-rename)
18844         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
18845         (bookmark-bmenu-bookmark): Give these doc strings.
18846         (bookmark-bmenu-check-position): Give this a doc string, but also
18847         add a FIXME comment about how the function may be pointless.
18848         (bookmark-default-handler): Rework doc string and change a
18849         parameter name, to clarify that this takes a bookmark record
18850         not a bookmark name.
18851         (bookmark-set): Change a parameter name to indicate its meaning,
18852         and improve the doc string a bit.
18853         (Bug#4188)
18855 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18857         * bookmark.el (bookmark-alist): Document the new `handler' element
18858         in the param alist.
18859         (bookmark-make-record-function): Adjust documentation for above.
18860         (Bug#4193)
18862 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
18864         * info.el (Info-bookmark-make-record): Document this function.
18865         (Info-bookmark-jump): Document with a doc string, not just a comment.
18866         (Bug#4203)
18868 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
18870         * files.el (copy-directory): New defun.
18872         * dired-aux.el (dired-copy-file-recursive): Use it.
18874 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
18876         * files-x.el (modify-dir-local-variable)
18877         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
18878         docstrings.
18880         * recentf.el (recentf-unload-function): New function.
18882 2009-10-04  Glenn Morris  <rgm@gnu.org>
18884         * window.el (window-full-height-p): Add doc string.
18886 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
18888         * window.el (window-full-height-p): New function.  (Bug#4543)
18890 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
18892         * vc.el: Remove commented out code.
18893         (vc-derived-from-dir-mode): Remove, unused.
18894         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
18896 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
18898         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
18899         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
18900         there could be recursive loading when `default-directory' is a
18901         remote file name.  (Bug#4614)
18903 2009-10-03  Glenn Morris  <rgm@gnu.org>
18905         * calendar/calendar.el (calendar-basic-setup): Handle the case where
18906         the frame is wide.
18907         (calendar-generate-window): Test for shrinkability rather than width.
18909         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
18910         reusing existing buffers, in case we happen to visit two files with the
18911         same basename.  (Bug#4593)
18913 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
18915         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
18916         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
18917         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
18918         subdirs of cedet as well.
18919         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
18921 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
18923         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
18924         Obey advertised-signature-table.
18926         * help-fns.el (help-function-arglist): Don't check
18927         advertised-signature-table.
18928         (describe-function-1): Do it here instead so it also applies to subrs.
18930 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
18932         * simple.el (start-file-process): Say in the doc-string, that file
18933         handlers might not support pty association, if PROGRAM is nil.
18935         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
18936         HOST and USER are strings.  They are nil, when there are
18937         incomplete entries in ~/.netrc, for example.
18938         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
18939         root directory ("device busy" error otherwise).
18941         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
18942         Flush file properties of created directory.
18944 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
18946         * makefile.w32-in (WINS_BASIC): Remove cedet.
18947         (WINS_CEDET): Add cedet.
18948         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
18950 2009-10-02  Kevin Ryde  <user42@zip.com.au>
18952         * net/browse-url.el (browse-url): Pass any symbol in
18953         browse-url-browser-function to `apply', since if you've mistakenly put
18954         an unbound symbol then the error is clearer.  (Bug#4531)
18956 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
18958         * allout.el (allout-init, allout-back-to-current-heading)
18959         (allout-beginning-of-current-entry, allout-ascend-to-depth)
18960         (allout-ascend, allout-up-current-level, allout-end-of-level)
18961         (allout-previous-visible-heading, allout-forward-current-level)
18962         (allout-backward-current-level, allout-show-children):
18963         * apropos.el (apropos-describe-plist):
18964         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
18965         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
18966         * completion.el (add-completion, add-permanent-completion):
18967         * descr-text.el (describe-text-category, describe-char):
18968         * desktop.el (desktop-lazy-abort):
18969         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
18970         * dired.el (dired-build-subdir-alist):
18971         * ediff.el (ediff-version):
18972         * elide-head.el (elide-head, elide-head-show):
18973         * emerge.el (emerge-version):
18974         * env.el (getenv):
18975         * face-remap.el (variable-pitch-mode):
18976         * faces.el (describe-face):
18977         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
18978         (dired-at-point):
18979         * files.el (find-file-existing, auto-save-mode):
18980         * font-lock.el (font-lock-fontify-buffer):
18981         * help-fns.el (describe-function, describe-variable)
18982         (describe-syntax, describe-categories):
18983         * help.el (view-lossage, describe-bindings, describe-key)
18984         (describe-mode):
18985         * hexl.el (hexl-current-address):
18986         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
18987         * info.el (Info-goto-emacs-key-command-node):
18988         * log-edit.el (log-edit-insert-cvs-template)
18989         (log-edit-insert-cvs-rcstemplate):
18990         * menu-bar.el (menu-bar-mode):
18991         * mouse.el (mouse-appearance-menu):
18992         * newcomment.el (comment-indent-new-line):
18993         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
18994         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
18995         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
18996         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
18997         * recentf.el (recentf-mode):
18998         * savehist.el (savehist-mode, savehist-save):
18999         * shadowfile.el (shadow-copy-files):
19000         * simple.el (kill-ring-save, next-line, previous-line)
19001         (normal-erase-is-backspace-mode):
19002         * strokes.el (strokes-update-window-configuration)
19003         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
19004         (strokes-xpm-for-stroke):
19005         * time.el (emacs-uptime, emacs-init-time):
19006         * tutorial.el (tutorial--describe-nonstandard-key)
19007         (tutorial--detailed-help):
19008         * type-break.el (type-break-mode)
19009         (type-break-mode-line-message-mode, type-break-query-mode)
19010         (type-break-guesstimate-keystroke-threshold):
19011         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
19012         * version.el (emacs-version):
19013         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
19014         * winner.el (winner-mode):
19015         * calendar/timeclock.el (timeclock-in, timeclock-out)
19016         (timeclock-status-string, timeclock-change)
19017         (timeclock-workday-remaining-string)
19018         (timeclock-workday-elapsed-string)
19019         (timeclock-when-to-leave-string):
19020         * calendar/todo-mode.el (todo-add-category):
19021         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
19022         * emacs-lisp/autoload.el (update-file-autoloads):
19023         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
19024         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
19025         (checkdoc-message-text, checkdoc-defun):
19026         * emacs-lisp/debug.el (debugger-list-functions):
19027         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
19028         * emacs-lisp/eieio-opt.el (eieio-describe-class)
19029         (eieio-describe-generic):
19030         * emacs-lisp/lisp-mnt.el (lm-synopsis):
19031         * emacs-lisp/shadow.el (list-load-path-shadows):
19032         * emulation/cua-base.el (cua-mode):
19033         * emulation/edt.el (edt-set-scroll-margins):
19034         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
19035         (tpu-toggle-regexp, tpu-toggle-search-direction)
19036         (tpu-toggle-rectangle, tpu-toggle-control-keys):
19037         * emulation/tpu-extras.el (tpu-set-scroll-margins):
19038         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
19039         (viper-set-parsing-style-toggling-macro)
19040         (viper-set-emacs-state-searchstyle-macros):
19041         * emulation/viper.el (viper-set-hooks):
19042         * eshell/esh-mode.el (eshell-truncate-buffer):
19043         * international/mule-cmds.el (prefer-coding-system)
19044         (describe-input-method, describe-language-environment):
19045         * international/mule-diag.el (list-character-sets)
19046         (describe-character-set, describe-coding-system)
19047         (describe-fontset, list-fontsets, list-input-methods):
19048         * mail/sendmail.el (mail-signature):
19049         * net/ange-ftp.el (ange-ftp-copy-file):
19050         * net/browse-url.el (browse-url):
19051         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
19052         * net/quickurl.el (quickurl-add-url):
19053         * net/rcirc.el (names, topic):
19054         * net/xesam.el (xesam-mode):
19055         * play/5x5.el (5x5-new-game):
19056         * play/yow.el (apropos-zippy):
19057         * progmodes/ada-mode.el (ada-mode-version):
19058         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
19059         (f90-end-of-block)
19060         (f90-beginning-of-block):
19061         * progmodes/fortran.el (fortran-end-of-block)
19062         (fortran-beginning-of-block):
19063         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
19064         * progmodes/python.el (python-describe-symbol, python-shell):
19065         * term/ns-win.el (ns-print-buffer):
19066         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
19067         * textmodes/flyspell.el (flyspell-mode-on):
19068         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
19069         (pages-directory-for-addresses):
19070         * textmodes/table.el (table-recognize-cell)
19071         (table-query-dimension, table-generate-source)
19072         (table-insert-sequence, table--warn-incompatibility):
19073         * textmodes/tex-mode.el (tex-validate-buffer):
19074         * textmodes/texinfmt.el (texinfmt-version)
19075         (texinfo-format-buffer):
19076         Use `called-interactively-p' instead of `interactive-p'.
19078 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
19080         * image-mode.el (image-toggle-display):
19081         * emacs-lisp/elp.el (elp-instrument-function):
19082         * emacs-lisp/advice.el (ad-make-advised-definition):
19083         * emacs-lisp/easy-mmode.el (define-minor-mode):
19084         * net/browse-url.el (browse-url-maybe-new-window):
19085         * progmodes/sh-script.el (sh-learn-buffer-indent):
19086         Pass new argument 'any to `called-interactively-p'.
19088 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
19090         * international/uni-bidi.el:
19091         * international/uni-category.el:
19092         * international/uni-combining.el:
19093         * international/uni-comment.el:
19094         * international/uni-decimal.el:
19095         * international/uni-decomposition.el:
19096         * international/uni-digit.el:
19097         * international/uni-lowercase.el:
19098         * international/uni-mirrored.el:
19099         * international/uni-name.el:
19100         * international/uni-numeric.el:
19101         * international/uni-old-name.el:
19102         * international/uni-titlecase.el:
19103         * international/uni-uppercase.el:
19104         Regenerate from Unicode 5.2.0 data.
19106 2009-10-01  Glenn Morris  <rgm@gnu.org>
19108         * Makefile.in (ELCFILES): Regenerate.
19110 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
19112         * subr.el (interactive-p): Mark obsolete.
19113         (called-interactively-p): Make the optional-ness of `kind' obsolete.
19114         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
19115         advertised-signature-table for subroutines as well.
19117         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
19118         (set-advertised-calling-convention): New function.
19119         (make-obsolete, define-obsolete-function-alias)
19120         (make-obsolete-variable, define-obsolete-variable-alias):
19121         Make the optional-ness of `when' obsolete.
19122         (define-obsolete-face-alias): Make `when' non-optional.
19123         * help-fns.el (help-function-arglist):
19124         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
19125         Use advertised-signature-table.
19127 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
19129         * files.el (delete-directory): New defun.  The original function
19130         in fileio.c has been renamed to `delete-directory-internal'.
19132         * dired.el (dired-delete-file): Call `delete-directory' with
19133         RECURSIVE parameter.
19135         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
19136         parameter RECURSIVE.  Implementation is missing.
19138         * net/tramp.el (tramp-handle-make-directory): Flush upper
19139         directory's file properties.
19140         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
19141         (tramp-handle-dired-recursive-delete-directory): Flush directory
19142         properties after the remove command only.
19144         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
19145         Handle optional parameter RECURSIVE.
19147         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
19148         Handle optional parameter RECURSIVE.
19150         * net/tramp-smb.el (tramp-smb-errors): Add error message for
19151         connection timeout.
19152         (tramp-smb-handle-delete-directory): Handle optional parameter
19153         RECURSIVE.
19155 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
19157         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
19158         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
19159         (byte-compile-defmacro): Use backquotes.
19161         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
19163         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
19164         has no associated file.
19165         (vc-resynch-buffer): Use vc-dir-buffers.
19167 2009-10-01  Glenn Morris  <rgm@gnu.org>
19169         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
19170         (chart-file-count):
19171         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
19172         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
19173         * emacs-lisp/eieio-opt.el (eieio-describe-class):
19174         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
19175         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
19176         (eieio-copy-parents-into-subclass, make-instance, class-children)
19177         (eieio-generic-form):
19179         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
19180         match-data.  (Bug#4555).
19182         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
19183         rather than parsing it as a regexp.  This relaxes the layout
19184         requirements and makes errors easier to detect.
19185         (check-declare-verify): Check file is regular.
19186         (check-declare-directory): Doc fix.
19187         * subr.el (declare-function): Doc fix.
19189         * ibuffer.el (ibuffer-format-qualifier):
19190         * isearch.el (hi-lock-regexp-okay):
19191         * calc/calc.el (math-zerop):
19192         * mail/uce.el (rmail-msgbeg, rmail-msgend):
19193         * term/w32-win.el (setup-default-fontset, set-fontset-font):
19194         Remove unused declarations.
19196 2009-09-30  Eric Ludlam  <zappo@gnu.org>
19198         * emacs-lisp/eieio.el (boolean-p): Delete.
19200 2009-09-30  Glenn Morris  <rgm@gnu.org>
19202         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
19204         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
19205         filename is not a string.
19207 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
19209         * files.el (safe-local-eval-forms): Fix typo.
19211 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
19213         * vc-hooks.el (vc-dir-buffers): New var.
19214         (vc-state-refresh): New function.
19215         (vc-state): Use it.
19216         (vc-after-save): Always ask the backend to recompute the new state.
19217         Always call vc-dir if necessary, using vc-dir-buffers.
19218         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
19219         Use vc-dir-buffers.
19220         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
19221         (vc-dir-prepare-status-buffer, vc-dir-update)
19222         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
19223         Don't call expand-file-name on default-directory.
19225 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
19227         * speedbar.el (speedbar-item-delete):
19228         * calc/calc-prog.el (calc-kbd-if):
19229         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
19231         * epa.el (epa-key-list-mode-map):
19232         * hi-lock.el (hi-lock-menu): Fix typos in menus.
19234         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
19235         (hs-show-hook): Fix typo in docstring.
19237 2009-09-29  Glenn Morris  <rgm@gnu.org>
19239         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
19240         file-name-nondirectory call preventing location of cedet files.
19241         (check-declare-verify): Use literal search rather than re-search.
19242         Add basic defmethod and defclass, and define-overloadable-function.
19244         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
19245         Use tramp-compat-file-attributes rather than nonexistent
19246         tramp-compat-handle-file-attributes.
19248         * Makefile.in (lisptagsfiles4): New.
19249         (AUTOGENEL): Add cedet loaddefs files.
19250         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
19251         (update-elclist, compile-always, backup-compiled-files)
19252         (bootstrap-clean): Add yet another directory level.
19253         (update-elclist): Use LC_COLLATE rather than COLLATE.
19254         (ELCFILES): Update, via `make update-elclist'.
19256 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
19258         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
19259         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
19260         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
19262 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
19264         * Makefile.in (lisptagsfiles3): Define.
19265         (TAGS, TAGS-LISP): Use it.
19266         (update-elclist): Add third directory level to look for elc files.
19267         (compile-always): Likewise.
19268         (backup-compiled-files): Likewise.
19269         (bootstrap-clean): Likewise.
19270         (ELCFILES): Update.
19272 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
19274         * Makefile.in (ELCFILES): Add CEDET files.
19276 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
19278         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
19280         * net/tramp.el (top): Require tramp-imap.
19282         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
19283         Use `tramp-compat-handle-file-attributes'.
19285 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
19287         * net/tramp-imap.el: New package.
19289 2009-09-28  Eric Ludlam  <zappo@gnu.org>
19291         * emacs-lisp/chart.el:
19292         * emacs-lisp/eieio-base.el:
19293         * emacs-lisp/eieio-comp.el:
19294         * emacs-lisp/eieio-custom.el:
19295         * emacs-lisp/eieio-datadebug.el:
19296         * emacs-lisp/eieio-opt.el:
19297         * emacs-lisp/eieio-speedbar.el:
19298         * emacs-lisp/eieio.el: New files.
19300 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
19302         * whitespace.el (whitespace-trailing-regexp)
19303         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
19304         Fix doc string.
19306 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
19308         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
19309         menu.
19311         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
19312         menu-bar-ediff-menu.
19314         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
19315         define-overloadable-function.
19317         * progmodes/autoconf.el: Provide autoconf as well, so that this
19318         file can be `require'd.
19320         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
19322         * emacs-lisp/autoload.el (generated-autoload-feature)
19323         (generated-autoload-load-name): New vars.
19324         (autoload-rubric, autoload-generate-file-autoloads): Use them.
19325         (make-autoload): Recognize define-overloadable-function and
19326         defclass forms (for EIEIO).
19328         * Makefile.in (update-subdirs): Exclude cedet directory.
19330 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
19332         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
19334         * faces.el: Default light-background background for region face to
19335         ns_selection_color under NS.
19337 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
19339         * net/imap-hash.el: New library, see NEWS.
19341         * Makefile.in (ELCFILES): Add imap-hash.el.
19343 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
19345         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
19346         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
19347         * help-macro.el (make-help-screen): Avoid using an ambiguous function
19348         definition where the docstring could be taken for the return value.
19350 2009-09-26  Glenn Morris  <rgm@gnu.org>
19352         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
19353         Add option to only show images below a certain size.
19354         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
19355         save-excursion calls.
19357 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
19359         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
19360         subdirectories) and eieio.
19362 2009-09-26  Alan Mackenzie  <acm@muc.de>
19364         * progmodes/cc-engine.el (c-beginning-of-statement-1):
19365         Correct buggy bracketing.  (Bug#4289)
19367         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
19368         character constants (as case labels).  (Bug#4289)
19370 2009-09-25  Juri Linkov  <juri@jurta.org>
19372         * files.el (safe-local-eval-forms): Allow time-stamp in
19373         before-save-hook (Bug#4554).
19375 2009-09-25  Drew Adams  <drew.adams@oracle.com>
19377         * menu-bar.el (list-buffers-directory): Doc fix.
19379 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
19381         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
19382         Try and avoid copying twice the same paragraph.
19383         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
19384         Remove save-excursion.
19385         (log-edit-changelog-entry): Do it here instead.
19387 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
19389         * bs.el (bs--get-file-name): Use `list-buffers-directory'
19390         when available, instead of hardcoding mode names.  Doc fix.
19392         * menu-bar.el (list-buffers-directory): Add docstring.
19393         Make automatically buffer-local.
19395         * dired.el (dired-mode):
19396         * files.el (cd-absolute):
19397         * pcvs.el (cvs-temp-buffer):
19398         * pcvs-util.el (cvs-get-buffer-create):
19399         * shell.el (shell-mode):
19400         * vc-dir.el (vc-dir-mode):
19401         Don't make `list-buffers-directory' buffer local.
19403 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
19405         * comint.el (comint-exec, comint-run, make-comint):
19406         Doc fixes (Bug#4542).
19408 2009-09-25  Glenn Morris  <rgm@gnu.org>
19410         * mail/rmailmm.el (rmail-mime): New custom group.
19411         Move all defcustoms in this file into this group.
19412         (rmail-mime-media-type-handlers-alist): Revert previous change.
19413         (rmail-mime-show-images): New option.
19414         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
19415         references to it, since it wasn't actually used for anything.
19416         (rmail-mime-insert-image): New function.
19417         (rmail-mime-image): Use rmail-mime-insert-image.
19418         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
19419         obey the value of `rmail-mime-show-images' option.  Print the size of
19420         attachments.
19422 2009-09-25  David Engster  <deng@randomsample.de>
19424         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
19426 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
19428         * whitespace.el: Does not highlight trailing spaces While point is
19429         at end of line.  Does not highligt spaces at beginning of buffer
19430         while point is at beginning of buffer.  Does not highlight spaces
19431         at end of buffer while point is at end of buffer.  (Bug#4177)
19432         New version 12.0.
19433         (whitespace-display-mappings): Adjust initialization.
19434         (whitespace-point, whitespace-font-lock-refontify): New vars.
19435         (whitespace-color-on, whitespace-color-off): Adjust code.
19436         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
19437         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
19438         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
19440 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
19442         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
19444         * textmodes/sgml-mode.el: Remove xml-mode alias.
19446         * files.el (auto-mode-alist, conf-mode-maybe)
19447         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
19449 2009-09-24  Alan Mackenzie  <acm@muc.de>
19451         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
19452         c-forward-conditionals, but it doesn't move point and doesn't set
19453         the mark.
19454         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
19455         (c-down-conditional-with-else, c-backward-conditional)
19456         (c-forward-conditional): Refactor to use c-scan-conditionals.
19458 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
19460         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
19461         (help-default-arg-highlight): Remove.
19462         (help-highlight-arg): New function.
19463         (help-do-arg-highlight): Use it.
19464         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
19466 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
19468         * term.el (term-set-scroll-region, term-handle-ansi-escape):
19469         Undo last change, which didn't fix the problem and introduced others.
19471 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
19473         * progmodes/gdb-mi.el: Don't require speedbar.
19474         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
19476 2009-09-24  Glenn Morris  <rgm@gnu.org>
19478         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
19480         * term/ns-win.el (ns-reg-to-script): Define for compiler.
19482         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
19483         there is no newline after the final mime boundary.  (Bug#4539)
19484         Move markers on insertion so that any buttons inserted don't end up in
19485         the next part of a multipart message.
19486         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
19487         (rmail-mime-bulk-handler): Optionally handle images.
19488         (rmail-mime-image): New button action.
19489         (rmail-mime-image-handler): New function.
19490         (rmail-mime-mode): New mode.
19491         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
19493 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
19495         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
19496         than just dropping elements from it (bug#4504).
19498         * term.el (term-set-scroll-region): Don't move cursor any more.
19499         (term-handle-ansi-escape): Call term-goto here instead.
19500         Suggested by Ivan Kanis <apple@kanis.eu>.
19502         * term.el: Require CL.
19503         (term-ansi-reset): New function.
19504         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
19505         (term-handle-colors-array): Simplify.
19507 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
19509         * allout.el (allout-overlay-interior-modification-handler)
19510         (allout-obtain-passphrase):
19511         * epa-file.el (epa-file-write-region):
19512         * ps-print.el (ps-begin-job):
19513         * vc-hooks.el (vc-toggle-read-only):
19514         * vc-rcs.el (vc-rcs-rollback):
19515         * vc-sccs.el (vc-sccs-rollback):
19516         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
19517         (vc-version-diff, vc-revert, vc-rollback):
19518         * wdired.el (wdired-check-kill-buffer):
19519         * emacs-lisp/authors.el (authors):
19520         * net/socks.el (socks-open-connection):
19521         * net/zeroconf.el (zeroconf-service-add-hook):
19522         * obsolete/vc-mcvs.el (vc-mcvs-register):
19523         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
19524         (gdb-select-frame):
19525         * progmodes/grep.el (lgrep, rgrep):
19526         * progmodes/idlw-help.el (idlwave-help-check-locations)
19527         (idlwave-help-html-link, idlwave-help-assistant-open-link):
19528         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
19529         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
19530         (reftex-toc-rename-label): Fix typos in error messages.
19532         * dired-aux.el (dired-do-shell-command): Reflow docstring.
19533         (dired-copy-how-to-fn): Doc fix.
19534         (dired-files-attributes, dired-read-shell-command):
19535         Fix typos in docstrings.
19537         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
19538         (dired-x-find-file-other-window): Reflow docstrings.
19539         (dired-omit-marker-char, dired-read-shell-command)
19540         (dired-x-submit-report): Fix typos in docstrings.
19542         * shell.el (shell-mode-hook):
19543         * view.el (View-scroll-line-forward):
19544         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
19545         Fix typos in docstrings.
19547         * net/dig.el (dig-invoke): Fix typo in docstring.
19548         (query-dig): Reflow docstring.
19550         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
19551         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
19552         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
19553         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
19554         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
19555         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
19556         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
19557         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
19558         (idlwave-completion-map, idlwave-current-indent)
19559         (idlwave-custom-ampersand-surround, idlwave-customize)
19560         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
19561         (idlwave-define-abbrev, idlwave-determine-class-special)
19562         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
19563         (idlwave-end-block-reg, idlwave-end-of-statement)
19564         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
19565         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
19566         (idlwave-explicit-class-listed, idlwave-file-header)
19567         (idlwave-fill-paragraph, idlwave-find-class-definition)
19568         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
19569         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
19570         (idlwave-in-quote, idlwave-indent-action-table)
19571         (idlwave-indent-expand-table, idlwave-indent-line)
19572         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
19573         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
19574         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
19575         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
19576         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
19577         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
19578         (idlwave-outlawed-buffers, idlwave-popup-select)
19579         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
19580         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
19581         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
19582         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
19583         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
19584         (idlwave-statement-type, idlwave-struct-skip)
19585         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
19586         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
19587         (idlwave-what-module-find-class): Fix typos in docstrings.
19588         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
19589         (idlwave-calculate-cont-indent, idlwave-expand-equal)
19590         (idlwave-find-module, idlwave-find-structure-definition)
19591         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
19592         (idlwave-list-load-path-shadows, idlwave-next-statement)
19593         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
19594         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
19595         (idlwave-template): Reflow docstrings.
19597         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
19598         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
19599         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
19600         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
19601         (idlwave-shell-display-line, idlwave-shell-display-wframe)
19602         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
19603         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
19604         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
19605         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
19606         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
19607         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
19608         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
19609         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
19610         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
19611         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
19612         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
19613         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
19614         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
19615         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
19616         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
19617         Fix typos in docstrings.
19618         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
19619         (idlwave-shell-hide-output, idlwave-shell-mode)
19620         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
19621         Reflow docstrings.
19623         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
19625 2009-09-24  Ivan Kanis  <apple@kanis.eu>
19627         * term.el (term-bold-attribute): New var.
19628         (term-handle-colors-array): Use it.
19630 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
19632         * progmodes/gdb-mi.el (gdb-version): New variable.
19633         (gdb-non-stop-handler): Set gdb-version.
19634         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
19635         Condition "--thread" option on gdb-version.
19636         (gdb-invalidate-threads): Remove unused argument.
19638 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
19640         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
19641         to looking-back to avoid ridiculous slow down in large files (bug#4511).
19643 2009-09-23  Glenn Morris  <rgm@gnu.org>
19645         * mail/rmail.el (rmail-reply): Don't try to add a References header when
19646         replying to mail without References or Message-Id.  (Bug#4525)
19648 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
19650         * term/ns-win.el (ns-reg-to-script): New variable.
19652 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
19654         * epg.el (epg-wait-for-status): Preserve existing 'error results.
19656 2009-09-22  Sam Steingold  <sds@gnu.org>
19658         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
19659         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
19660         to 1 because hg returns status 1 when nothing is found.
19661         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
19663 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
19665         * textmodes/fill.el: Convert to utf-8 encoding.
19666         (fill-french-nobreak-p): Remove redundant » and « inherited from our
19667         pre-Unicode days.
19669         * add-log.el (change-log-fill-forward-paragraph): New function.
19670         (change-log-mode): Use it so fill-region DTRT.
19671         Set fill-indent-according-to-mode here rather than in
19672         change-log-fill-paragraph.
19673         (change-log-fill-paragraph): Remove.
19675 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
19677         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
19678         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
19680 2009-09-22  Glenn Morris  <rgm@gnu.org>
19682         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
19683         the scroll-bar scroll the calendar window rather than the buffer.
19685         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
19686         commands that move point (as opposed to scrolling).
19688         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
19690         * emacs-lisp/elint.el (elint): New custom group.
19691         (elint-log-buffer): Make it a defcustom.
19692         (elint-scan-preloaded, elint-ignored-warnings)
19693         (elint-directory-skip-re): New options.
19694         (elint-builtin-variables): Doc fix.
19695         (elint-preloaded-env): New variable.
19696         (elint-unknown-builtin-args): Add an entry for encode-time.
19697         (elint-extra-errors): Make it a variable rather than a constant.
19698         (elint-preloaded-skip-re): New constant.
19699         (elint-directory): Skip files matching elint-directory-skip-re.
19700         (elint-features): New variable, local to linted buffers.
19701         (elint-update-env): Initialize elint-features.  Possibly add
19702         elint-preloaded-env to the buffer's environment.
19703         (elint-get-top-forms): Bind elint-current-pos, for log messages.
19704         Skip quoted forms.
19705         (elint-init-form): New function, extracted from elint-init-env.
19706         Make non-list forms a warning rather than an error.
19707         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
19708         easy-menu-define, put that adds an error-condition, and provide.
19709         When requiring cl, also require cl-macs.  Really require cl, to handle
19710         some cl macros.  Store required libraries in the list elint-features,
19711         so as not to re-load them.  Treat cc-require like require.
19712         (elint-init-env): Call elint-init-form to do the work.
19713         Handle eval-and-compile and such like.
19714         (elint-add-required-env): Do not clear messages.
19715         (elint-special-forms): Add handlers for function, defalias, if, when,
19716         unless, and, or.
19717         (elint-form): Add optional argument to ignore elint-special-forms,
19718         useful to prevent recursive calls from handlers.  Doc fix.
19719         Respect elint-ignored-warnings.
19720         (elint-form): Respect elint-ignored-warnings.
19721         (elint-bound-variable, elint-bound-function): New variables.
19722         (elint-unbound-variable): Respect elint-bound-variable.
19723         (elint-get-args): Respect elint-bound-function.
19724         (elint-check-cond-form): Add some simple handling for (f)boundp and
19725         featurep tests.
19726         (elint-check-defalias-form): New handler.
19727         (elint-check-let-form): Make an empty let a warning rather than an
19728         error.
19729         (elint-check-setq-form): Make an empty setq a warning rather than an
19730         error.  Respect elint-ignored-warnings.
19731         (elint-check-defvar-form): Accept null doc-strings.
19732         (elint-check-conditional-form): New handler.  Does some simple-minded
19733         checking of featurep and (f)boundp tests.
19734         (elint-put-function-args): New function.
19735         (elint-initialize): Use elint-scan-doc-file rather than
19736         elint-find-builtin-variables.  Use elint-put-function-args.
19737         Possibly scan preloaded-file-list.
19738         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
19739         extend to handle functions as well.
19741 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
19743         * linum.el (linum-delete-overlays, linum-update-window):
19744         Do not modify the right margin.  (Bug#3971)
19746 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
19748         * files.el (conf-mode-maybe, magic-fallback-mode-alist):
19749         Use nxml-mode instead of xml-mode.
19751 2009-09-21  Kevin Ryde  <user42@zip.com.au>
19753         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
19755 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
19757         * net/dig.el (dig-mode): Use define-derived-mode.
19759 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
19761         * vc-dispatcher.el (vc-do-command): Return the process object in
19762         the asynchronous case.  Use when instead of if.  Do not run
19763         vc-exec-after to display a message if not enabled.  (Bug#4463)
19765         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
19766         properties to the stash strings.
19767         (vc-git-stash-list): Return a list of strings.
19768         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
19769         (vc-git-stash-show-at-point): New functions.
19770         (vc-git-stash-map): New keymap.
19772         * register.el (ctl-x-r-map): Define the keys here instead of
19773         using autoload.
19775 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
19777         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
19778         list, to workaround performance problem (bug#4485).
19780 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
19782         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
19784 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
19786         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
19787         Document that this option is not recommended to use.
19789 2009-09-19  Glenn Morris  <rgm@gnu.org>
19791         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
19792         variable `var'.
19794         * calc/calc-alg.el (var):
19795         * calc/calcalg2.el (var): Define for compiler.
19797 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
19799         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
19800         Doc fix (Bug#3932).
19802         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
19804         * time-stamp.el (time-stamp-month-dd-yyyy)
19805         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
19806         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
19807         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
19808         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
19809         Remove functions that have been obsolete since 1995 (Bug#4436).
19811         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
19812         indent buffer only if called interactively (Bug#4452).
19814 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
19815             Eli Zaretskii  <eliz@gnu.org>
19817         This fixes bug#4197 (merged to bug#865, though not identical).
19818         * server.el (server-auth-dir): Add docstring note about FAT32.
19819         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
19820         but warn against using them.
19822 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
19824         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
19825         older GDB where there is no has_more field.
19827 2009-09-19  Glenn Morris  <rgm@gnu.org>
19829         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
19831 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
19833         * files.el (auto-mode-alist): Change default for XML files to nXML
19834         mode (Bug#4169).
19836 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
19838         * server.el (server-ensure-safe-dir): Pass 'integer
19839         to `file-attributes', as suggested.
19841 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
19843         * dired-aux.el (dired-query-alist): Remove spurious backslash.
19844         (dired-query): Use read-key.
19846 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
19848         * cus-start.el (ns-use-qd-smoothing): Remove.
19850 2009-09-18  Glenn Morris  <rgm@gnu.org>
19852         * allout.el (top-level): Remove unnecessary progn.
19854         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
19856         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
19857         definition of abbrev table.
19859         * speedbar.el (speedbar-track-mouse):
19860         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
19861         * net/eudc.el (eudc-expand-inline):
19862         * net/newst-backend.el (newsticker--cache-read-feed):
19863         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
19864         condition-case handlers.
19866 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
19868         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
19869         (gdb-var-list): Add an element for has_more field.
19870         (gdb-non-stop-handler): Enable pretty printing for STL containers.
19871         (gdb-var-create-handler, gdb-var-list-children-handler-1)
19872         (gdb-var-update-handler-1): Parse output of dynamic variable
19873         objects (STL containers).
19874         (gdb-var-delete-1): Pass var1 as an explicit second argument.
19875         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
19877         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
19878         gdb-var-list.
19879         (gud-speedbar-buttons): Make node expandable if expression "has more"
19880         children.
19882 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
19884         * startup.el (emacs-quick-startup): Remove variable and all uses.
19885         (command-line): Set `inhibit-x-resources' instead.
19886         (command-line-1): Use `inhibit-x-resources' instead.
19888 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
19890         * subr.el: Fix last change to avoid using the `unless' macro,
19891         which breaks bootstrapping.
19893 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
19895         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
19896         extended definitions, in case we reload subr.el after having
19897         loaded CL.
19898         (eval-next-after-load): Mark as obsolete.
19900 2009-09-17  Juri Linkov  <juri@jurta.org>
19902         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
19903         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
19904         (menu-bar-showhide-menu, menu-bar-tools-menu)
19905         (menu-bar-describe-menu, menu-bar-help-menu)
19906         (minibuffer-local-completion-map, minibuffer-local-map):
19907         Fix list quoting.
19909 2009-09-17  Glenn Morris  <rgm@gnu.org>
19911         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
19912         arguments, whether or not it has a handler.
19914         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
19916         * simple.el (hard-newline): Give it a doc-string.
19918         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19919         (lisp-mode-syntax-table): Give them doc-strings.
19921 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
19923         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
19924         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
19925         (menu-bar-options-menu, menu-bar-showhide-menu)
19926         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
19927         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
19928         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
19929         (menu-bar-options-menu, menu-bar-tools-menu)
19930         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
19931         (menu-bar-help-menu):
19932         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
19933         string arguments.
19935         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
19936         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
19937         calls for the menu names and :help.
19939 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
19941         * mouse.el (minor-mode-menu-from-indicator): Pay attention
19942         to :minor-mode-function (bug#4455).
19944 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
19946         * startup.el (command-line): Initialize the window-system after
19947         processing the command-line.
19949         * textmodes/page.el (what-page): Make sure we don't inf-loop if
19950         page-delimiter matches the empty string.
19952 2009-09-16  Glenn Morris  <rgm@gnu.org>
19954         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
19955         byte-compile-not-obsolete-var.  It's a list now.
19956         (byte-compile-not-obsolete-funcs): New variable.
19957         (byte-compile-warn-obsolete): Don't warn about functions if they are in
19958         byte-compile-not-obsolete-funcs.
19959         (byte-compile-variable-ref, byte-compile-defvar): Update for
19960         byte-compile-not-obsolete-vars name-change and list nature.
19961         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
19962         and variables behind (f)boundp tests.
19963         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
19965 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
19967         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
19969 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19971         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
19972         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
19973         Don't autoload.
19975 2009-09-15  Stephen Eglen  <stephen@gnu.org>
19977         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
19978         the virtual-buffers, use the name of the buffer specified by
19979         find-file-noselect, as the match may be a symlink.  (This was a
19980         problem if the target and the symlink had different names.)
19982 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19984         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
19986         * desktop.el (desktop-path): Check user-emacs-directory.
19988         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
19990         * loadup.el: Use after-load-functions to GC after loading each file.
19991         Remove the explicit GC calls that used to be sprinkled around.
19993         * subr.el (after-load-functions): New hook.
19994         (do-after-load-evaluation): Run it.  Use string-match-p to detect
19995         `obsolete' packages, rather than painfully extracting the relevant
19996         directory name.
19998 2009-09-15  Glenn Morris  <rgm@gnu.org>
20000         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
20001         free variable `doc'.
20003         * dired.el (dired-mode-map): Add menu entry for async shell command.
20005         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
20006         variables, also consider the .elc files, since the .el files are
20007         normally gzipped (subsequent code locates the .el.gz from the .elc).
20009         * calc/calc-prog.el (arglist): Define for compiler.
20011         * calendar/diary-lib.el (diary-display-function): Change the default to
20012         fancy display.
20013         (body): Define for compiler.
20015         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
20016         (byte-compile-file-form, byte-compile-lambda)
20017         (byte-compile-top-level-body, byte-compile-form)
20018         (byte-compile-variable-ref, byte-compile-setq)
20019         (byte-compile-setq-default, byte-compile-body)
20020         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
20021         (batch-byte-compile): Give some more local variables with common names
20022         a "bytecomp-" prefix to avoid masking warnings about free variables.
20024         * startup.el (command-line-1): Give local variables with common names a
20025         distinguishing prefix, so as not to hide free variable warnings during
20026         bootstrap.
20028         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
20029         clever and add a suffix to make a unique name, just let the user decide
20030         whether or not to overwrite it.  If the input is a directory, write the
20031         default filename to that directory.  (Bug#4388)
20032         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
20033         is a filename-as-a-directory.
20035 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
20037         * textmodes/page.el (what-page): Don't move to beginning of line.
20038         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
20040 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
20042         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
20044 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
20046         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
20047         * help.el (help-for-help-internal): Add purecopy calls for text.
20049         * vc.el (top): print-log method now takes an optional SHORTLOG
20050         argument.  Add a new method: root.
20051         (vc-root-diff, vc-print-root-log): New functions.
20052         (vc-log-short-style): New variable.
20053         (vc-print-log-internal): Add support for showing short logs.
20055         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
20056         vc-print-root-log and vc-print-root-diff.
20058         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
20059         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
20060         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
20061         short logs.
20063         * vc-cvs.el (vc-cvs-print-log):
20064         * vc-mtn.el (vc-mtn-print-log):
20065         * vc-rcs.el (vc-rcs-print-log):
20066         * vc-sccs.el (vc-sccs-print-log):
20067         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
20068         that is ignored for now.
20070         * vc-mtn.el (vc-mtn-annotate-command):
20071         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
20073 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
20075         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
20076         to function-key-map, and give them ascii-character property.
20077         * term/x-win.el (x-alternatives-map):
20078         * term/ns-win.el (ns-alternatives-map):
20079         * term/internal.el (msdos-key-remapping-map):
20080         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
20082 2009-09-14  Glenn Morris  <rgm@gnu.org>
20084         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
20085         temp-buffers (2009-09-12).
20087 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
20089         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
20090         the new read-key function.
20092 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
20094         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
20095         is defined (Bug#4405).
20097 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
20099         * recentf.el (recentf-cleanup): Use a hash table to find
20100         duplicates (Bug#4407).
20102 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
20104         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
20105         kp-0 to ascii equivalents (Bug#4325).
20107 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
20109         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
20111         * eshell/em-hist.el:
20112         * eshell/em-dirs.el (eshell-complete-user-reference):
20113         Declare pcomplete functions and variables to avoid compiler warnings.
20115 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
20117         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
20118         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
20119         * eshell/em-alias.el (eshell-aliases-file):
20120         * eshell/em-hist.el (eshell-history-file-name):
20121         Use expand-file-name instead of concat to make file names (Bug#4308).
20123 2009-09-13  Glenn Morris  <rgm@gnu.org>
20125         * ediff-merg.el (ediff-do-merge):
20126         * filesets.el (filesets-run-cmd):
20127         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
20128         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
20129         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
20130         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
20131         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
20132         Replace empty `let's with `progn'.
20134 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
20136         * mail/sendmail.el (send-mail-function):
20137         * tooltip.el (tooltip-mode):
20138         * simple.el (transient-mark-mode):
20139         * rfn-eshadow.el (file-name-shadow-mode):
20140         * frame.el (blink-cursor-mode):
20141         * font-core.el (global-font-lock-mode):
20142         * files.el (temporary-file-directory)
20143         (small-temporary-file-directory, auto-save-file-name-transforms):
20144         * epa-hook.el (auto-encryption-mode):
20145         * composite.el (global-auto-composition-mode):
20146         Use custom-initialize-delay.
20147         * startup.el (command-line): Don't explicitly call
20148         custom-reevaluate-setting for all the above vars.
20149         * custom.el (custom-initialize-safe-set)
20150         (custom-initialize-safe-default): Delete.
20152 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
20154         * term/x-win.el (x-initialize-window-system):
20155         * term/w32-win.el (w32-initialize-window-system):
20156         * term/ns-win.el (ns-initialize-window-system): Don't call
20157         mouse-wheel-mode since it's enabled globally by default already.
20159         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
20160         actually define the variable, but only silences the byte-compiler.
20161         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
20162         before looking it up.
20163         (mouse-wheel-scroll-amount): Also reset the bindings if this value
20164         is changed.
20166 2009-09-12  Glenn Morris  <rgm@gnu.org>
20168         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
20169         1000.
20170         (elint-add-required-env): Don't beep on error.
20171         (elint-forms): In case of error, return ENV unchanged.
20172         (elint-init-env): Skip non-list forms.
20173         (elint-log): Handle unknown file positions.
20175 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
20177         * epg.el (epg-make-context): Add autoload cookie.
20178         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
20179         (epg-decrypt-string, epg-start-verify, epg-verify-file)
20180         (epg-verify-string, epg-start-sign, epg-sign-file)
20181         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
20182         (epg-encrypt-string, epg-start-export-keys)
20183         (epg-export-keys-to-file, epg-export-keys-to-string)
20184         (epg-start-import-keys, epg-import-keys-from-file)
20185         (epg-import-keys-from-string, epg-start-receive-keys)
20186         (epg-receive-keys, epg-import-keys-from-server)
20187         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
20188         (epg-sign-keys, epg-start-generate-key)
20189         (epg-generate-key-from-file, epg-generate-key-from-string):
20190         Remove autoload cookie.
20192 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
20194         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
20195         reevaluation of trash-directory.
20197         * mwheel.el: Fix last change.
20198         (mouse-wheel-mode): New defvar.
20199         (mouse-wheel-mode): Remove autoload cookie.
20201 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
20203         * mwheel.el (mwheel-installed-bindings): New var.
20204         (mouse-wheel-mode): Use it, so as to make sure we really remove all
20205         the bindings we set last time.  Use custom-initialize-delay.
20206         * loadup.el: Load mwheel after term/*-win.el.
20207         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
20208         and mouse-wheel-up-event now that their first evaluation is done
20209         sufficiently late to be correct.
20211         * startup.el (tutorial-directory): Make it a defcustom.
20212         Use custom-initialize-delay rather than eval-at-startup to set it.
20213         * image.el (image-load-path): Make it a defcustom.
20214         Use custom-initialize-delay rather than eval-at-startup to set it.
20215         * subr.el (eval-at-startup): Remove.
20216         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
20218         * subr.el (do-after-load-evaluation): Warn the user after loading an
20219         obsolete package.
20221 2009-09-12  Glenn Morris  <rgm@gnu.org>
20223         * proced.el (proced-mark-alt): Remove alias.
20224         (proced-mode-map): Remove proced-mark-alt.
20226         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
20227         Elint file and directory.  Remove initialization entry.
20229         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
20230         commands.
20231         (elint-current-buffer): Set mode-line-process.
20232         (elint-init-env): Handle define-derived-mode.
20233         Fix declare-function with unspecified arglist.  Guard against odd
20234         defalias statements (eg iso-insert's 8859-1-map).
20235         (elint-add-required-env): Use a temp buffer.
20236         (elint-form): Just print the function/macro name, not the whole form.
20237         Return env unchanged if we fail to parse a macro.
20238         (elint-forms): Guard against parse errors.
20239         (elint-output): New function, to handle batch mode.
20240         (elint-log-message): Add optional argument.  Use elint-output.
20241         (elint-set-mode-line): New function.
20243 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
20245         * emacs-lisp/elp.el (elp-not-profilable): Add more
20246         functions (Bug#4233).
20248 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
20250         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
20251         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
20253 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
20255         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
20256         (gdb-var-list-children): Use json parsing.
20258 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
20260         * progmodes/js.el (js--proper-indentation): Handle the case where
20261         char-before is null.  Reported by Deniz Dogan.
20263 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
20265         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
20267 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
20269         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
20270         (epg-digest-algorithm-alist): Add SHA224.
20271         (epg-context-set-passphrase-callback)
20272         (epg-context-set-progress-callback): Add description about
20273         callback function.
20275 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
20277         * custom.el (custom-delayed-init-variables): New var.
20278         (custom-initialize-delay): New function.
20279         * startup.el (command-line): "Re"evaluate all vars in
20280         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
20281         explicitly any more.
20282         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
20283         to avoid creating a ~/.emacs.d at build-time (bug#4347).
20285         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
20287 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
20289         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
20290         (gdb-var-update-handler): Use json parsing.
20292 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
20294         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
20295         decode annotated text, regardless of language environment.  (Bug#2741)
20297 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
20299         * Makefile.in (autoloads): Make rmail.el writable as well.
20301 2009-09-11  Glenn Morris  <rgm@gnu.org>
20303         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
20304         loaddefs.el.
20305         * dired.el: Regenerate with extracted autoloads.
20306         * Makefile.in (autoloads): Make dired.el writable.
20308         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
20309         * ibuffer.el: Regenerate with extracted autoloads.
20310         * Makefile.in (autoloads): Make ibuffer.el writable.
20312         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
20313         * version.el (emacs-copyright, emacs-major-version)
20314         (emacs-minor-version): Reformat doc-strings for make-docfile.
20316         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
20317         functions and variables, since they must be stuff specific to some other
20318         platform.
20319         (apropos-print): Make mouse-click message less specific about button.
20321         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
20322         that records where a macro was defined.
20323         * help-fns.el (describe-function-1): Mention if a function has a
20324         compiler-macro.
20325         * help-mode.el (help-function-cmacro): New button.
20327         * locate.el (top-level): Always require dired.
20328         (locate-mode-map): Initialize inside the defvar.
20330         * net/ange-ftp.el (dired-compress-file): Declare.
20331         (ange-ftp-dired-compress-file): Add doc string.
20333         * term/ns-win.el (x-display-name, x-setup-function-keys):
20334         Unify doc-strings with X versions.
20336 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
20338         * emulation/crisp.el (crisp-mode-map): Move initialization
20339         into declaration.
20340         (crisp-mode): Use define-minor-mode.
20342         * progmodes/xscheme.el (xscheme-evaluation-commands):
20343         Put a :advertised-binding property rather than using
20344         advertised-xscheme-send-previous-expression.
20345         (advertised-xscheme-send-previous-expression): Declare obsolete.
20346         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
20347         `advertised-undo'.
20348         (crisp-mode): Add corresponding bindings to
20349         undo's :advertised-binding instead.
20350         * dired.el (dired-mode-map): Put a :advertised-binding property rather
20351         than using dired-advertised-find-file.
20352         (dired-advertised-find-file):
20353         * simple.el (advertised-undo):
20354         * wid-edit.el (advertised-widget-backward): Declare obsolete.
20355         (widget-keymap): Put a :advertised-binding property rather
20356         than using advertised-widget-backward.
20357         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
20358         than using advertised-undo.
20359         * tutorial.el (tutorial--default-keys): Adjust accordingly.
20361 2009-09-10  Simon South  <ssouth@slowcomputing.org>
20363         * progmodes/delphi.el (delphi-tab): Indent region when Transient
20364         Mark mode is enabled and region is active; otherwise indent or
20365         insert TAB as usual.
20366         (delphi-mode): Update description of TAB-key binding.
20368 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
20370         * subr.el (define-key-rebound-commands): Mark obsolete.
20371         * startup.el (precompute-menubar-bindings): Remove.
20372         (normal-top-level): Remove obsolete code that tried to precompute
20373         menubar bindings.
20374         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
20375         define-key-rebound-commands and precompute-menubar-bindings.
20377 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
20379         * net/imap.el (imap-interactive-login): Better messages.
20380         (imap-open): Fix bug with renamed buffer on reconnect.
20381         (imap-authenticate): Add buffer-local imap-last-authenticator variable
20382         for easier debugging and cleaner code.  On successful (guessed based on
20383         server capabilities) secondary authentication, set imap-state
20384         correctly.
20385         (imap-last-authenticator): Define imap-last-authenticator as a variable
20386         to avoid warnings.
20388 2009-09-10  Glenn Morris  <rgm@gnu.org>
20390         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
20392         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
20393         (byte-compile-file-form-autoload): Don't warn about unknown functions
20394         where the autoload statement comes after the use.
20395         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
20396         that any handlers inside the body (eg require) are in turn respected.
20398         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
20399         effects.
20401         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
20402         and syntax and abbrev tables basic docs, if they don't have any.
20404         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
20406         * international/mule-cmds.el (top-level): Require cl when compiling.
20407         (view-hello-file): Use default-value rather than
20408         default-enable-multibyte-characters.
20410         * progmodes/fortran.el: Move all safe and risky properties into the
20411         defcustoms.
20413         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
20414         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
20415         * mail/undigest.el:
20416         Put autoloads in rmail.el rather than loaddefs.el.
20417         * mail/rmail.el: Regenerate with extracted autoloads.
20419         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
20420         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
20422 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
20424         Reported in thread for Bug#4375.
20425         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
20426         "-data-evaluate-expression" instead of print.
20427         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
20428         (gdb-tooltip-print): Parse output from above MI command.
20429         (gdb): Revert 2009-08-11 change.  User should detach inferior
20430         manually.
20432         Remove the word "separate" from IO functions as inferior
20433         output is now never displayed in the GUD buffer.
20435 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
20437         * startup.el (command-line-normalize-file-name): On Windows and
20438         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
20440 2009-09-10  Juri Linkov  <juri@jurta.org>
20442         * isearch.el (isearch-text-char-description): Propertize escape
20443         character sequences with the `escape-glyph' face.  (Bug#4344)
20445         * simple.el (shell-command): Set asynchronous process filter to
20446         `comint-output-filter'.  (Bug#4343)
20448         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
20449         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
20450         the list.  Move "asm" to the bottom.
20451         (grep-find-ignored-directories): Add `choice' with nil value
20452         to empty the list easily.
20453         (grep-find-ignored-files): New option.
20454         (grep-files-history): Set to nil by default instead of '("ch" "el").
20455         (grep-compute-defaults): Add "<X>" to `grep-template'.
20456         (grep-read-files): Bind new local variables `default-alias' and
20457         `default-extension'.  Use a list of default values for the file prompt.
20458         (lgrep): Add `--exclude=' command line options composed from
20459         `grep-find-ignored-files'.
20460         (rgrep): Add `-name' command line options composed from
20461         `grep-find-ignored-files'.  (Bug#4301)
20463 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
20465         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
20466         (bug#4368).
20468 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
20470         * calendar/time-date.el (autoload):
20471         Expand define-obsolete-function-alias into defalias and make-obsolete
20472         for old Emacsen that Gnus supports.
20473         (with-no-warnings): Define it for old Emacsen.
20474         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
20475         is available.
20476         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
20477         float-time is available; suppress compile warning for time-to-seconds.
20479 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
20481         * net/imap.el (imap-message-map): Docstring fix.
20483 2009-09-09  Glenn Morris  <rgm@gnu.org>
20485         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
20486         line numbers too.  (Bug#4374)
20488 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
20490         * smerge-mode.el (smerge-remove-props, smerge-refine):
20491         Use with-silent-modifications (bug#4342).
20493         * subr.el (with-silent-modifications): New macro.
20495 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
20497         * files.el (top-level): Require `cl' when compiling.
20499 2009-09-07  Glenn Morris  <rgm@gnu.org>
20501         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
20503         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
20504         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
20506 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
20508         * vc-git.el (vc-git-annotate-command): Use separator to parse
20509         arguments correctly.
20511 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
20513         * proced.el (proced-mode): Doc fix.
20515 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
20517         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
20518         lstat fails.
20519         (tramp-do-file-attributes-with-ls): Check for file existence at
20520         remote end.
20521         (tramp-do-file-attributes-with-stat): Likewise.
20522         (tramp-convert-file-attributes): Return nil when attr is nil.
20524 2009-09-05  Glenn Morris  <rgm@gnu.org>
20526         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
20527         properties to this button.
20528         (diary-fancy-display): Don't extend the button to the final newline.
20529         (diary-fancy-display-mode): Continue to define "q" as a local key.
20531         * calendar/cal-china.el (holiday-chinese): Make it slightly more
20532         efficient.
20534         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
20536         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
20537         (byte-compile-dest-file-function): New option.
20538         (byte-compile-dest-file): Doc fix.
20539         Obey byte-compile-dest-file-function.
20540         (byte-compile-cl-file-p): New function.
20541         (byte-compile-eval): Only suppress noruntime warnings about cl functions
20542         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
20543         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
20544         than for file being previously loaded.
20545         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
20546         (byte-compile-file-form-require): Handle the case where requiring a file
20547         indirectly causes CL to be loaded.
20549 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
20551         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
20552         before killing the old buffer, since by the time `kill-buffer' is
20553         run so many buffer variables have been set to nil that it may not
20554         behave as expected.  (Bug#4061)
20556 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
20558         * files.el (find-alternate-file): If the old buffer is modified
20559         and visiting a file, behave similarly to `kill-buffer' when
20560         killing it, thus reverting to the pre-1.878 behavior; see
20561         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
20562         for discussion.  Also, consult `buffer-file-name' as a variable
20563         not as a function, for consistency with the rest of the code.
20565 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
20567         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
20568         also when adding a new directory.
20570         * net/tramp-compat.el (tramp-compat-line-beginning-position):
20571         New defun.
20573 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
20575         * files.el (locate-file-completion-table): Make it provide boundary
20576         information, so partial-completion works better.
20578 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
20580         * mail/footnote.el (Footnote-text-under-cursor):
20581         Check footnote-text-marker-alist before using it (bug#4324).
20583 2009-09-04  Glenn Morris  <rgm@gnu.org>
20585         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
20586         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
20587         * play/solitaire.el, play/tetris.el:
20588         Remove leading * from defcustom and defface docs.
20590         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
20591         necessary.
20592         (diary-fancy-overriding-map): New variable.
20593         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
20594         Use view-mode.
20596         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
20597         goto-line.
20599 2009-09-03  Glenn Morris  <rgm@gnu.org>
20601         * arc-mode.el (archive-mode):
20602         * dos-fns.el (set-default-process-coding-system):
20603         * man.el (Man-getpage-in-background):
20604         * menu-bar.el (menu-bar-describe-menu):
20605         * server.el (server-process-filter):
20606         * startup.el (command-line):
20607         * tar-mode.el (tar-header-block-tokenize, tar-extract):
20608         * w32-fns.el (set-default-process-coding-system):
20609         * x-dnd.el (x-dnd-handle-file-name):
20610         * international/mule-cmds.el (mule-menu-keymap)
20611         (set-default-coding-systems, language-info-alist, set-language-info)
20612         (set-language-environment, standard-display-european-internal)
20613         (set-locale-environment):
20614         * international/mule-diag.el (mule-diag):
20615         * mail/emacsbug.el (report-emacs-bug):
20616         * mail/rmail.el (rmail-mode):
20617         * mail/sendmail.el (mail-setup):
20618         Use default-value rather than default-enable-multibyte-characters.
20620         * progmodes/f90.el: Move all safe properties into the defcustoms.
20621         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
20623         * calendar/appt.el (appt-check):
20624         * calendar/diary-lib.el (diary-set-header, diary-live-p)
20625         (diary-check-diary-file, diary-list-entries)
20626         (diary-include-other-diary-files, diary-simple-display)
20627         (diary-fancy-display, diary-print-entries)
20628         (diary-mark-included-diary-files, diary-make-entry):
20629         Don't call substitute-in-file-name on diary-file.
20631 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
20632             Stefan Monnier  <monnier@iro.umontreal.ca>
20634         * mail/footnote.el (footnote-prefix): Make it a defcustom.
20635         (footnote-mode-map): Move initialization into the declaration.
20636         (footnote-minor-mode-map): Define it rather than changing global-map.
20637         (footnote-mode): Use define-minor-mode.
20639 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
20641         * net/tramp.el (tramp-handle-file-attributes-with-ls)
20642         (tramp-do-file-attributes-with-perl)
20643         (tramp-do-file-attributes-with-stat): Rename from
20644         `tramp-handle-file-attributes-with-*'.
20645         (tramp-handle-file-attributes): Use them.
20646         (tramp-do-directory-files-and-attributes-with-perl)
20647         (tramp-do-directory-files-and-attributes-with-stat): Rename from
20648         `tramp-handle-directory-files-and-attributes-with-*'.
20649         (tramp-handle-directory-files-and-attributes): Use them.
20650         (tramp-method-out-of-band-p): Additional parameter SIZE.
20651         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
20652         (tramp-handle-write-region): Use it.
20653         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
20654         (tramp-handle-vc-registered): Check, whether the first run did
20655         return files to be tested.
20656         (tramp-advice-make-auto-save-file-name): Do not call directly
20657         `tramp-handle-make-auto-save-file-name', because this would bypass
20658         the locking mechanism.
20660         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
20661         (file-remote-p, process-file, start-file-process, set-file-times)
20662         (tramp-compat-file-attributes): Compatibility functions shall not
20663         call directly `tramp-handle-*', because this would bypass the
20664         locking mechanism.
20665         (tramp-compat-number-sequence): New defun.
20667 2009-09-02  Glenn Morris  <rgm@gnu.org>
20669         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
20670         alias for float-time.
20671         (time-to-number-of-days): In Emacs, use float-time.
20672         * net/newst-backend.el (time-add): Suppress warnings from compat
20673         function.
20674         * time.el (emacs-uptime, emacs-init-time):
20675         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
20676         Use float-time rather than time-to-seconds.
20678         * minibuffer.el (completion-initials-expand): Fix typo.
20680         * faces.el (modeline, modeline-inactive, modeline-highlight)
20681         (modeline-buffer-id):
20682         * info.el (info-menu-5): Mark these face aliases as obsolete.
20684 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
20686         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
20687         space ...
20688         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
20689         no "--thread" option.
20690         (gdb-stopped): Don't print "Switched to thread" message when it is
20691         unchanged.
20693 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
20695         * minibuffer.el (completion-try-completion)
20696         (completion-all-completions): Remove ill-defined (and
20697         mistakenly installed and luckily never used nor documented)
20698         `completion-styles' property.
20699         (completion-initials-expand, completion-initials-all-completions)
20700         (completion-initials-try-completion): New functions.
20701         (completion-styles-alist): Add doc to each entry.
20702         Add new `initials' entry.
20704 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
20706         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
20707         MI command -var-evaluate-expression.
20708         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
20709         and tweak for case of string child.
20710         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
20712 2009-09-01  Glenn Morris  <rgm@gnu.org>
20714         * add-log.el (change-log-date-face, change-log-name-face)
20715         (change-log-email-face, change-log-file-face, change-log-list-face)
20716         (change-log-conditionals-face, change-log-function-face)
20717         (change-log-acknowledgement-face):
20718         * cus-edit.el (custom-invalid-face, custom-rogue-face)
20719         (custom-modified-face, custom-set-face, custom-changed-face)
20720         (custom-saved-face, custom-button-face, custom-button-pressed-face)
20721         (custom-documentation-face, custom-state-face, custom-comment-face)
20722         (custom-comment-tag-face, custom-variable-tag-face)
20723         (custom-variable-button-face, custom-face-tag-face)
20724         (custom-group-tag-face-1, custom-group-tag-face):
20725         * diff-mode.el (diff-header-face, diff-file-header-face)
20726         (diff-index-face, diff-hunk-header-face, diff-removed-face)
20727         (diff-added-face, diff-changed-face, diff-function-face)
20728         (diff-context-face, diff-nonexistent-face):
20729         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
20730         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
20731         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
20732         (Info-title-4-face):
20733         * isearch.el (isearch-lazy-highlight-face):
20734         * log-view.el (log-view-file-face, log-view-message-face):
20735         * paren.el (show-paren-match-face, show-paren-mismatch-face):
20736         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
20737         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
20738         (cvs-msg-face):
20739         * smerge-mode.el (smerge-mine-face, smerge-other-face)
20740         (smerge-base-face, smerge-markers-face):
20741         * wid-edit.el (widget-documentation-face, widget-button-face)
20742         (widget-field-face, widget-single-line-field-face)
20743         (widget-inactive-face, widget-button-pressed-face):
20744         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
20745         (woman-addition-face):
20746         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
20747         (eshell-ls-executable-face, eshell-ls-readonly-face)
20748         (eshell-ls-unreadable-face, eshell-ls-special-face)
20749         (eshell-ls-missing-face, eshell-ls-archive-face)
20750         (eshell-ls-backup-face, eshell-ls-product-face)
20751         (eshell-ls-clutter-face):
20752         * eshell/em-prompt.el (eshell-prompt-face):
20753         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
20754         * obsolete/old-whitespace.el (whitespace-highlight-face):
20755         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
20756         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
20757         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
20758         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
20759         (antlr-font-lock-literal-face):
20760         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
20761         (ebrowse-root-class-face, ebrowse-file-name-face)
20762         (ebrowse-default-face, ebrowse-member-attribute-face)
20763         (ebrowse-member-class-face, ebrowse-progress-face):
20764         * progmodes/make-mode.el (makefile-space-face):
20765         * progmodes/sh-script.el (sh-heredoc-face):
20766         * textmodes/flyspell.el (flyspell-incorrect-face)
20767         (flyspell-duplicate-face):
20768         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
20769         * textmodes/texinfo.el (texinfo-heading-face):
20770         Mark face aliases with "-face" suffix as obsolete.
20772         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
20773         compiler.
20775         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
20776         (eudc-bob-sound-menu): Use defvar rather than defconst, since
20777         easy-menu-define wants to modify these.
20779         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
20781         * net/browse-url.el (browse-url-file-url):
20782         * term/internal.el (dos-codepage-setup):
20783         Use default-value rather than default-enable-multibyte-characters.
20785         * progmodes/etags.el (etags-goto-tag-location):
20786         * progmodes/flymake.el (flymake-highlight-line)
20787         (flymake-goto-file-and-line, flymake-goto-line):
20788         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
20789         (gdb-goto-breakpoint):
20790         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
20791         * progmodes/python.el (python-find-function)
20792         (python-pdbtrack-track-stack-file):
20793         * progmodes/verilog-mode.el (verilog-surelint-off):
20794         * term/ns-win.el (ns-open-file-select-line):
20795         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
20796         Use forward-line rather than goto-line.
20798         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
20799         * textmodes/reftex-index.el (reftex-display-index):
20800         * textmodes/reftex-ref.el (reftex-offer-label-menu):
20801         * textmodes/reftex-toc.el (reftex-toc):
20802         Remove unnecessary bindings of default-major-mode (all are followed by
20803         major-mode check and possible mode switch).
20805 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
20807         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
20808         Handle watchpoints (bug#4282).
20809         (def-gdb-thread-buffer-command): Enable thread to be selected by
20810         clicking without selecting threads buffer first.
20811         (gdb-current-context-command): Use selected frame so that "up",
20812         "down" etc work in the GUD buffer.
20813         (gdb-update): Find selected frame before rendering stack buffer.
20814         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
20816 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
20818         * progmodes/sym-comp.el (displayed-completions): Remove.
20819         (symbol-complete): Use minibuffer-complete.
20821 2009-08-31  Glenn Morris  <rgm@gnu.org>
20823         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
20825         * apropos.el (apropos-symbols-internal):
20826         Handle (obsolete) face aliases.
20828         * faces.el (describe-face): Adjust the output format to be more like
20829         describe-variable, and to mention (obsolete) face aliases.
20830         Adjust the whitespace so that help-setup-xref works.
20832         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
20833         * calendar/diary-lib.el (diary-button-face):
20834         Mark these face aliases as obsolete.
20836         * calendar/calendar.el (calendar-today): Doc fix.
20838 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
20840         * progmodes/gdb-mi.el (gdb-control-all-threads)
20841         (gdb-control-current-thread): Force tool bar update.
20842         (gdb-non-stop-handler): New function.
20843         (gdb-init-1): Use it to test if non-stop mode is supported.
20844         Remove unused gdbmi buffer type.
20846 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
20848         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
20849         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
20851 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
20853         * comint.el (comint-exec-1): Check command is non-null first.
20854         Part of gdb-mi.el change (2009-08-28).
20856 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
20858         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
20860 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
20862         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
20863         instead of `dolist' to avoid a recursive require when bootstrapping.
20865 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
20867         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
20869         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
20871         * net/imap.el (imap-send-command): Simplify.
20872         (imap-wait-for-tag): point-max -> buffer-size.
20874         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
20876         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
20877         with constant argument.
20879         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
20881         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
20883         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
20884         Change default, since most of our files don't have a history.
20885         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
20886         the user.
20888         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20889         Add comint-run.
20891         * calc/calc.el: Improve commenting convention.
20892         (calc-digit-map, toplevel): Simplify.
20894         * comint.el (comint-insert-input): Be careful to only set point if we
20895         don't delegate to some other command.
20897         * proced.el (proced-signal-list): Make it an alist.
20898         (proced-grammar-alist): Capitalize names.
20899         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
20900         Disable undo manually and make it read-only.
20901         Use completion-annotate-function.
20903         * minibuffer.el (minibuffer-message): If the current buffer is not
20904         a minibuffer, insert the message in the echo area rather than at the
20905         end of the buffer.
20906         (completion-annotate-function): New variable.
20907         (minibuffer-completion-help): Use it.
20908         (completion--embedded-envvar-table): Environment vars are
20909         always case-sensitive.
20911 2009-08-30  Glenn Morris  <rgm@gnu.org>
20913         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
20914         from fortran-current-defun.
20915         (fortran-beginning-of-subprogram): Be more precise about finding the
20916         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
20917         (fortran-end-of-subprogram): Simplify.
20918         (fortran-current-defun): Use fortran-start-prog-re.
20920 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
20922         * subr.el (do-after-load-evaluation): Simplify.
20924 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
20926         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
20928         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
20929         (vc-rcs-print-log): Use it.
20931         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
20933 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
20935         * paths.el (abbrev-file-name): Move to abbrev.el.
20936         * abbrev.el (abbrev-file-name): Move from paths.el.
20937         Obey user-emacs-directory.
20938         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
20939         user-emacs-directory.
20940         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
20941         abbrev-file-name and calc-settings-file any more.
20942         * startup.el (command-line): Recompute abbrev-file-name and
20943         abbreviated-home-dir.
20944         (normal-no-mouse-startup-screen): Improve the generic code and get rid
20945         of the special code for when C-h bindings haven't been changed.
20946         (display-startup-echo-area-message): Use with-current-buffer.
20947         (command-line-1): Use a list of strings, rather than a list of lists
20948         of strings for longopts.
20950         * files.el (get-free-disk-space): Use / for default-directory.
20952         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
20953         Use with-current-buffer.
20955         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
20956         Recognize immutable variables like most-positive-fixnum.
20957         (byte-compile-setq-default): Check and warn if trying to assign
20958         to an immutable variable, or a non-variable.
20960         * progmodes/cc-vars.el (c-comment-continuation-stars):
20961         * progmodes/cc-engine.el (c-looking-at-bos):
20962         * progmodes/cc-cmds.el (c-toggle-auto-state)
20963         (c-forward-into-nomenclature, c-backward-into-nomenclature)
20964         (c-comment-line-break-function): Add version of obsolescence.
20966 2009-08-28  Juri Linkov  <juri@jurta.org>
20968         * files.el (magic-fallback-mode-alist): Add ZIP magic number
20969         associated with `archive-mode'.
20971         * image.el (image-type-header-regexps): Use only JPEG magic number
20972         to determine JPEG images, and don't use `image-jpeg-p' because
20973         Emacs can display non-JFIF non-Exif JPEG images.
20975 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
20977         * arc-mode.el (archive-mode):
20978         * emacs-lisp/re-builder.el (re-builder-unload-function):
20979         Protect against the default value of `major-mode' being nil.
20981 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
20983         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
20984         Fix typos in docstrings.
20986         * progmodes/js.el (js--macro-decl-re): Doc fix.
20987         (js--plain-method-re, js--split-name): Refloc docstring.
20988         (js--class-styles, js--make-merged-item, js--splice-into-items):
20989         Fix typos in docstrings; reflow docstrings.
20990         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
20991         (js--variable-decl-matcher, js--inside-pitem-p)
20992         (js--parse-state-at-point, js--get-all-known-symbols)
20993         (js--symbol-history, js-find-symbol, js--js-references)
20994         (js--moz-interactor, js--js-encode-value, js--read-tab):
20995         Fix typos in docstrings.
20997 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20999         * textmodes/reftex.el (reftex-get-file-buffer-force):
21000         * progmodes/verilog-mode.el (verilog-batch-execute-func):
21001         * emulation/viper.el (viper-go-away, viper-set-hooks):
21002         * emacs-lisp/re-builder.el (re-builder-unload-function):
21003         * emacs-lisp/bytecomp.el (byte-compile-file):
21004         * ses.el (ses-unload-function):
21005         * hexl.el (hexl-find-file):
21006         * files.el (normal-mode):
21007         * ehelp.el (with-electric-help):
21008         * autoinsert.el (auto-insert-alist):
21009         * arc-mode.el (archive-mode):
21010         Use (default-value 'major-mode) instead of default-major-mode.
21012         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
21013         * international/mule.el (load-with-code-conversion):
21014         * emacs-lisp/debug.el (debug):
21015         * ediff-vers.el (ediff-rcs-get-output-buffer):
21016         * dired.el (dired-internal-noselect): Don't let-bind
21017         default-major-mode around code that doesn't use it.
21018         E.g. buffer creation via get-buffer-create doesn't use it.
21020 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
21022         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
21023         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
21024         when writing the temp file.  Otherwise, epa-file gets confused.
21025         (tramp-register-file-name-handlers): Make it a defun.  Move also
21026         `epa-file-handler' to the front of `file-name-handler-alist'.
21028 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
21030         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
21031         start right after a ^M.
21032         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
21033         (tramp-completion-file-name-regexp-separate)
21034         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
21035         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
21036         Don't modify last-coding-system-used by accident.
21037         (tramp-completion-file-name-handler): Apply the checks here,
21038         instead during registration.
21039         (tramp-register-file-name-handlers): Rename from
21040         `tramp-register-file-name-handler'.  Register both
21041         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
21042         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
21044 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
21046         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
21047         Remove variable ...
21048         (gdb-init-1, gdb-display-separate-io-buffer)
21049         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
21050         references to it.
21051         (gdb-inferior-io-mode): Use make-comint-in-buffer.
21052         (gdb-inferior-filter): Use comint-output-filter to stop
21053         echoing and remove ^M characters.
21055 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
21057         * emulation/viper-init.el (viper-restore-cursor-type):
21058         * emulation/cua-base.el (cua--update-indications):
21059         Replace default-cursor-type with (default-value 'cursor-type).
21061         * mail/sendmail.el (mail-recover-1):
21062         * international/mule-diag.el (describe-current-coding-system-briefly)
21063         (describe-current-coding-system):
21064         * international/mule-cmds.el (select-safe-coding-system)
21065         (select-message-coding-system)
21066         (set-language-environment-coding-systems, set-locale-environment):
21067         * hexl.el (hexl-insert-multibyte-char):
21068         * dos-w32.el (find-buffer-file-type-coding-system):
21069         * simple.el (what-cursor-position):
21070         Replace uses of default-buffer-file-coding-system
21071         with (default-value 'buffer-file-coding-system).
21073         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
21074         Replace uses of default-cursor-in-non-selected-windows
21075         with (default-value 'cursor-in-non-selected-windows).
21076         Use with-current-buffer.
21078         * mail/feedmail.el: Use CL macros.
21079         (feedmail-run-the-queue, feedmail-send-it-immediately):
21080         * dos-w32.el (find-buffer-file-type): Replace uses of
21081         default-buffer-file-type with (default-value 'buffer-file-type).
21083 2009-08-28  Glenn Morris  <rgm@gnu.org>
21085         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
21086         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
21087         Use default-value of major-mode rather than default-major-mode.
21089 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
21091         * Makefile.in (update-elcfiles): Report left over elc files.
21093         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
21094         expand-file-name and with-current-buffer.
21095         (mail-get-names, mail-directory): Use with-current-buffer.
21097         * vc.el (vc-read-revision): New function.
21098         (vc-version-diff, vc-merge): Use it.
21100 2009-08-27  Sam Steingold  <sds@gnu.org>
21102         * simple.el (kill-do-not-save-duplicates): New user option.
21103         (kill-new): When it is non-nil, and the new string is the same as
21104         the latest kill, set replace to t to avoid duplicates in kill-ring.
21106 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
21108         * net/tramp.el (tramp-handle-process-file): Do not flush all
21109         caches when `process-file-side-effects' is set.
21110         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
21111         instead of `tramp-find-file-exists-command'.
21112         Unset `process-file-side-effects'.
21114 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
21116         * net/tramp.el (tramp-methods): New method "rsyncc".
21117         (top): Add completion function for "rsyncc".
21118         (tramp-message-show-message): New defvar.
21119         (tramp-message, tramp-error): Use it.
21120         (tramp-do-copy-or-rename-file-directly): Extend check for direct
21121         remote copying.
21122         (tramp-do-copy-or-rename-file-out-of-band): Handle new
21123         `tramp-methods' entry `copy-env' of "rsyncc".
21124         (tramp-vc-registered-read-file-names): New defconst.
21125         (tramp-vc-registered-file-names): New defvar.
21126         (tramp-handle-vc-registered): Implement optimization strategy.
21127         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
21128         (tramp-vc-file-name-handler): New defun.
21129         (tramp-get-ls-command, tramp-get-test-command)
21130         (tramp-get-file-exists-command, tramp-get-remote-ln)
21131         (tramp-get-remote-perl, tramp-get-remote-stat)
21132         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
21134         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
21135         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
21136         timestamps.
21137         (tramp-get-file-property): Check for timestamps in
21138         `tramp-cache-inhibit-cache'.
21139         (tramp-set-file-property): Write timestamp.
21141 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
21143         * language/japan-util.el (japanese-symbol-table): Add entries for
21144         cp932-2-byte.
21146         * international/characters.el: Add category `j' to cp932-2-byte.
21148 2009-08-27  Kenichi Handa  <handa@m17n.org>
21150         * international/fontset.el (build-default-fontset-data): New macro.
21151         (setup-default-fontset): Use build-default-fontset-data for CJK,
21152         tibetan, ethiopic, and ipa.
21154 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
21156         * cus-start.el (default-major-mode): Customize `major-mode' instead.
21157         (enable-multibyte-characters): Not customizable any more.
21159         * subr.el (default-mode-line-format, default-header-line-format)
21160         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
21161         (default-direction-reversed, default-truncate-lines)
21162         (default-left-margin, default-tab-width, default-case-fold-search)
21163         (default-left-margin-width, default-right-margin-width)
21164         (default-left-fringe-width, default-right-fringe-width)
21165         (default-fringes-outside-margins, default-scroll-bar-width)
21166         (default-vertical-scroll-bar, default-indicate-empty-lines)
21167         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
21168         (default-fringe-cursor-alist, default-scroll-up-aggressively)
21169         (default-scroll-down-aggressively, default-fill-column)
21170         (default-cursor-type, default-buffer-file-type)
21171         (default-cursor-in-non-selected-windows)
21172         (default-buffer-file-coding-system, default-major-mode)
21173         (default-enable-multibyte-characters): Mark as obsolete.
21175 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
21177         * vc-dir.el (vc-dir-update): Remove debug helper.
21179         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
21181 2009-08-26  Sam Steingold  <sds@gnu.org>
21183         * simple.el (save-interprogram-paste-before-kill): New user option.
21184         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
21185         save the interprogram-paste into kill-ring before overriding it
21186         with the Emacs kill.
21188 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
21190         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
21191         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
21192         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
21193         and move to vc-rcs.el.
21194         (vc-default-next-revision): Rename to vc-rcs-next-revision and
21195         move to vc-rcs.el.
21196         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
21197         (vc-rcs-update-changelog): Remove.
21198         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
21199         and move to vc-rcs.el.
21201         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
21202         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
21203         renaming.
21204         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
21205         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
21206         vc.el, renamed to be RCS specific.
21208         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
21209         New functions.
21210         (vc-cvs-update-changelog): Move here from vc.el.
21212         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
21213         New functions.
21215 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
21217         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
21219 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
21221         * vc-git.el (vc-git-register): Use "git add" for directories.
21222         (vc-git-stash, vc-git-stash-show): New functions.
21223         (vc-git-extra-menu-map): Bind them.
21225         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
21226         directory correctly in case the item is a directory itself.
21228         * vc.el: Document the desired behavior for reverted files in the
21229         `added' state.
21230         (vc-default-prettify-state-info): Remove function, unused.
21232         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
21234 2009-08-26  Glenn Morris  <rgm@gnu.org>
21236         * bindings.el (standard-mode-line-format): Reposition dashes in
21237         which-func entry.  (Bug#4217)
21239         * files.el (enable-local-variables, enable-local-eval)
21240         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
21241         the defcustoms.
21242         (auto-mode-alist, ignored-local-variables)
21243         (save-some-buffers-action-alist): Move risky declarations to the
21244         definitions.
21245         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
21246         (font-lock-defaults, format-alist, imenu--index-alist)
21247         (imenu-generic-expression, input-method-alist, minor-mode-alist)
21248         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
21249         (mode-line-modified, mode-line-mule-info, mode-line-position)
21250         (mode-line-process, mode-line-remote, outline-level)
21251         (parse-time-rules, rmail-output-file-alist)
21252         (special-display-buffer-names, vc-mode):
21253         Move risky declarations to the relevant files.
21254         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
21255         (mode-line-modified, mode-line-process, mode-line-position)
21256         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
21257         * font-core.el (font-lock-defaults):
21258         * format.el (format-alist):
21259         * vc-hooks.el (vc-mode):
21260         * window.el (special-display-buffer-names):
21261         * international/mule-cmds.el (input-method-alist):
21262         Define riskiness here (dumped file) rather than in files.el.
21263         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
21264         * imenu.el (imenu-generic-expression, imenu--index-alist):
21265         * outline.el (outline-level):
21266         * time.el (display-time-string):
21267         * calendar/parse-time.el (parse-time-rules):
21268         * mail/rmailout.el (rmail-output-file-alist):
21269         Autoload riskiness here, rather than placing in files.el.
21271 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
21273         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
21275 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
21277         * simple.el (process-file-side-effects): New defvar.
21279         * dired-aux.el (dired-show-file-type):
21280         * vc.el (vc-diff-internal):
21281         * vc-arch.el (vc-arch-diff):
21282         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
21283         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
21284         * vc-git.el (vc-git-registered, vc-git-working-revision)
21285         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
21286         (vc-git--empty-db-p):
21287         * vc-hooks.el (vc-user-login-name):
21288         * vc-svn.el (vc-svn-registered, vc-svn-state)
21289         (vc-svn-dir-extra-headers, vc-svn-find-revision):
21290         * progmodes/grep.el (grep-probe): Let-bind
21291         `process-file-side-effects' with nil.
21293         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
21295         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
21296         daemon.  Replace ping by checking for running service for bluez
21297         and zeroconf.  (Bug#4239)
21299 2009-08-25  Kevin Ryde  <user42@zip.com.au>
21301         * net/dig.el (dig): Add autoload cookie.
21303 2009-08-25  Glenn Morris  <rgm@gnu.org>
21305         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
21306         load-history for absolute file-names.
21307         (byte-compile-file-form-require): Warn about use of the cl package.
21309         * format.el (format-alist): Doc fix.
21311         * play/bubbles.el (top-level): Don't require cl at run-time.
21313         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
21314         run-time cl).
21316 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
21318         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
21319         from cl package.
21320         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
21322 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
21324         * calc/calc-alg.el (math-trig-rewrite)
21325         (math-hyperbolic-trig-rewrite): New functions.
21326         (calc-simplify): Simplify trig functions when asked.
21328 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
21330         * diff-mode.el (diff-find-source-location): Avoid goto-line.
21332 2009-08-24  Kenichi Handa  <handa@m17n.org>
21334         * language/ind-util.el (mapthread): Delete it.
21335         (combinatorial): New function.
21336         (indian--puthash-cv): Use combinatorial instead of mapthread.
21338 2009-08-22  Kevin Ryde  <user42@zip.com.au>
21340         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
21341         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
21342         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
21343         Clarify docstring that the value is strings not symbols.
21344         (checkdoc-list-of-strings-p): New function.
21346 2009-08-22  Glenn Morris  <rgm@gnu.org>
21348         * files.el (auto-mode-alist):
21349         * hippie-exp.el (he-concat-directory-file-name):
21350         * lpr.el (lpr-windows-system, printer-name):
21351         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
21352         * ps-print.el (ps-windows-system):
21353         * startup.el (command-line):
21354         * emulation/viper-ex.el (viper-glob-function):
21355         * international/mule-cmds.el (set-language-environment-coding-systems):
21356         * net/ange-ftp.el (ange-ftp-write-region):
21357         * obsolete/fast-lock.el (fast-lock-cache-name):
21358         Remove code for defunct system-types emx, macos, mswindows, next-mach,
21359         unisoft-unix, vax-vms, win32, w32.
21361         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
21362         given name if the pattern is not more specific.
21364         * calendar/lunar.el (lunar-phase-names): New option.
21365         (lunar-phase): Doc fix.
21366         (lunar-cycles-per-year): New constant.
21367         (lunar-index): New function.
21368         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
21369         (lunar-phase-name): Use lunar-phase-names.
21370         (calendar-lunar-phases): Use format.
21371         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
21373         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
21374         Copy imenu-example--name-and-position function here for own use.
21375         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
21377         * bs.el (bs--redisplay):
21378         * cus-edit.el (custom-redraw):
21379         * ibuffer.el (ibuffer-bury-buffer):
21380         * server.el (server-goto-line-column):
21381         * startup.el (command-line-1):
21382         * strokes.el (strokes-xpm-for-stroke):
21383         * term.el (term-display-buffer-line):
21384         * view.el (View-goto-line):
21385         * calc/calc.el (calc-do, calc-trail-buffer):
21386         * play/gamegrid.el (gamegrid-add-score-insecure):
21387         * progmodes/ada-mode.el (ada-compile-goto-error):
21388         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
21389         (ebrowse-select-1st-to-9nth):
21390         * progmodes/cperl-mode.el (cperl-time-fontification):
21391         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
21392         * progmodes/gud.el (gud-display-line):
21393         (idlwave-shell-display-line):
21394         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
21395         * progmodes/make-mode.el (makefile-browser-toggle):
21396         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
21397         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
21398         * textmodes/picture.el (picture-draw-rectangle):
21399         * textmodes/reftex-index.el (reftex-index-goto-letter):
21400         (reftex-select-jump-to-previous):
21401         * textmodes/reftex-sel.el (reftex-find-start-point)
21402         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
21403         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
21404         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
21405         * textmodes/tex-mode.el (tex-compilation-parse-errors):
21406         * textmodes/two-column.el (2C-associated-buffer):
21407         Use forward-line rather than goto-line.
21409         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
21410         goto-line.
21412         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
21413         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
21414         (quick-check-list-to-regexp): Declare.
21416         * progmodes/make-mode.el (makefile-browser-insert-selection):
21417         Use goto-char rather than goto-line.
21419         * progmodes/prolog.el (compilation-error-regexp-alist)
21420         (compilation-forget-errors): Declare.
21422 2009-08-22  Juri Linkov  <juri@jurta.org>
21424         * progmodes/grep.el (lgrep, rgrep): At the beginning
21425         set `dir' to `default-directory' unless `dir' is a non-nil
21426         readable directory.  (Bug#4052)
21427         (lgrep, rgrep): Change a weird way to report an error
21428         from using `read-string' to using `error'.
21429         Instead of using interactive arguments in the function body,
21430         add new argument `confirm'.
21432 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
21434         * textmodes/remember.el (remember-buffer):
21435         * progmodes/cperl-mode.el (cperl-vc-header-alist):
21436         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
21437         (icalendar-extract-ical-from-buffer):
21438         * net/newst-treeview.el (newsticker-groups-filename):
21439         * net/newst-backend.el (newsticker-cache-filename):
21440         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
21441         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
21442         (speedbar-add-ignored-path-regexp, speedbar-line-path)
21443         (speedbar-buffers-line-path, speedbar-path-line)
21444         (speedbar-buffers-line-path):
21445         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
21446         (epg-sign-keys):
21447         * epa.el (epa-display-verify-result):
21448         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
21450 2009-08-21  Glenn Morris  <rgm@gnu.org>
21452         * progmodes/js.el (inferior-moz-process): Fix declaration.
21454         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
21456         * obsolete/rnewspost.el (news-mail-reply):
21457         Use goto-char rather than goto-line.
21459         * term/ns-win.el (ns-open-file-select-line):
21460         Use line-beginning-position rather than goto-line.
21462         * apropos.el (apropos-command):
21463         * ehelp.el (electric-helpify):
21464         * printing.el (pr-show-setup):
21465         * strokes.el (strokes-help):
21466         * tutorial.el (tutorial--describe-nonstandard-key)
21467         (tutorial--detailed-help):
21468         * woman.el (woman-mini-help, woman-display-extended-fonts):
21469         * calc/calc-help.el (calc-describe-key):
21470         * emulation/edt.el (edt-electric-helpify):
21471         * international/mule-diag.el (mule-diag):
21472         * play/yow.el (apropos-zippy):
21473         * progmodes/python.el (python-describe-symbol):
21474         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
21475         * textmodes/table.el (*table--cell-describe-mode)
21476         (*table--cell-describe-bindings):
21477         Use help-print-return-message rather than the now obsolete alias.
21479         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
21480         (calendar-cursor-to-visible-date):
21481         * play/5x5.el (5x5-position-cursor):
21482         * play/decipher.el (decipher):
21483         * play/gomoku.el (gomoku-goto-xy):
21484         * play/landmark.el (lm-goto-xy):
21485         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
21486         (mpuz-paint-digit):
21487         Use forward-line, not goto-line.
21489         * mail/rmail.el (rmail-obsolete): Delete custom group.
21490         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
21491         (rmail-remote-password, rmail-remote-password-required):
21492         Remove unneeded :set-after and :set properties.
21494 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
21496         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
21498 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
21500         * loadup.el: Remove leftover macos code.
21502         * vc-git.el (vc-git-annotate-command): Run asynchronously.
21503         Explicitly pass the date format to git blame so that user local
21504         so that the output format can be parsed.
21506 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
21508         * net/dbus.el (top): Don't check for (getenv
21509         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
21511 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
21513         * log-edit.el (log-edit-strip-single-file-name): New var.
21514         (log-edit-insert-changelog): Use it.  Bug#3571.
21516 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
21518         * subr.el (read-passwd): Use read-key so keypad keys work as well.
21519         Bug#3287.
21521         * help.el (help-print-return-message): Rename from
21522         print-help-return-message.
21524         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
21525         cvs-mode-map parent hack.
21526         (log-view-mode): Derive from special-mode.
21528         * linum.el (linum-mode): window-size-change-functions is redundant.
21529         Adapt to new window-configuration-change-hook behavior.
21530         (linum-after-size, linum-after-config): Remove.
21532         * imenu.el (imenu-example--name-and-position)
21533         (imenu-example--lisp-extract-index-name)
21534         (imenu-example--create-lisp-index, imenu-example--create-c-index):
21535         Mark as obsolete.
21537         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
21538         (inferior-prolog-mode): Use it.
21539         (inferior-prolog-load-file): Reset list of errors.
21541 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
21543         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
21545         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
21547 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
21549         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
21550         is running already.
21552 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
21554         * subr.el (listify-key-sequence-1): Use normal syntax since those
21555         integers are nowadays always represented by the same (positive) number
21556         on all platforms.
21557         (read-key-empty-map): New const.
21558         (read-key-delay): New var.
21559         (read-key): New function.
21560         (force-mode-line-update): Use with-current-buffer.
21561         (locate-user-emacs-file): Don't forget to abbreviate the file name.
21562         (start-process-shell-command, start-file-process-shell-command):
21563         Discourage the use of command-args.
21565 2009-08-19  Glenn Morris  <rgm@gnu.org>
21567         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
21569 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
21571         * simple.el (choose-completion-string): Don't rely on
21572         minibuffer-completing-file-name and ad-hoc checks to decide whether
21573         to continue completion or not.
21575         * minibuffer.el (minibuffer-hide-completions): New function.
21576         (completion--do-completion): Use it.
21577         (completions-annotations): New face.
21578         (completion--insert-strings): Use it.
21579         (completion-pcm--delim-wild-regex): Add docstring.
21580         (completion-pcm--string->pattern): Add support for 0-width delimiters
21581         in completion-pcm--delim-wild-regex.
21583 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
21585         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
21586         Remove unused var `buffer-modified-p'.
21588         * minibuffer.el (completion--do-completion): Move point for the #b001
21589         case as well (bug#4176).
21590         (minibuffer-complete, minibuffer-complete-word): Don't move point.
21592 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
21594         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
21595         and :session buses.
21597 2009-08-18  Kenichi Handa  <handa@m17n.org>
21599         * international/ucs-normalize.el (ucs-normalize-version):
21600         Change to 1.1.
21601         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
21602         (utf-8-hfs): Make it perform normalization on encoding too.
21604         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
21605         (sentence-end-without-space): Delete duplicated chars.
21606         (sentence-end-base): Likewise.
21608         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
21609         (html-mode): Delete duplicated chars from sentence-end-base.
21611         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
21612         (texinfo-mode): Delete duplicated chars from sentence-end-base.
21614 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
21616         * files.el (hack-one-local-variable): If the mode function is for
21617         a minor mode, pass it an argument (Bug#4148).
21619 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
21621         * net/tramp.el (tramp-register-completion-file-name-handler):
21622         Check also for (member 'partial-completion completion-styles).
21624 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
21626         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
21627         abbrev (Bug#3943).
21629 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
21631         * progmodes/cperl-mode.el: Merge upstream 6.2.
21632         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
21633         (cperl-forward-re): Check cperl-brace-recursing.
21634         (cperl-highlight-charclass): New function.
21635         (cperl-find-pods-heres): Use it.
21636         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
21637         (cperl-beautify-regexp-piece): Fix column calculation.
21638         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
21639         (cperl-beautify-level): Don't process entire regexp.
21640         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
21641         calling man.
21642         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
21643         (cperl-init-faces): Build a list in the normal way.
21645 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
21647         * calendar/parse-time.el (parse-time-string-chars): Save match
21648         data.
21650 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
21652         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
21653         (sql-product): Use it.
21654         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
21655         (sql-set-product): Add completion.
21656         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
21657         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
21658         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
21659         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
21660         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
21661         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
21662         (sql-highlight-db2-keywords): Remove.
21663         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
21664         (sql-highlight-product): Use derived-mode-p.
21665         (sql-set-sqli-buffer): Use with-current-buffer.
21666         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
21667         Simplify.
21669         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
21671         * term.el: Fix commenting convention, turn comments into docstrings.
21673 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
21675         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
21677 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
21679         * calendar/parse-time.el (parse-time-string-chars): Compute using
21680         character classes, to handle non-ascii characters (Bug#3190).
21682 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
21684         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
21685         another heredoc if the user adds another < (Bug#3226).
21687         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
21688         Don't initialize based on window-system (Bug#4124).
21690         * facemenu.el (facemenu-read-color): Use a completion function
21691         that accepts any defined color, such as RGB triplets (Bug#3677).
21693         * files.el (get-free-disk-space): Change fallback default
21694         directory to /.  Expand DIR argument before switching to fallback.
21695         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
21697 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
21699         * files.el (load-library): Doc fix.
21701 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
21703         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
21704         (viper-if-string): Redefine C-s in the minibuffer to insert the last
21705         incremental search string.
21707         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
21708         XEmacs.
21710         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
21711         (ediff-merge-region-is-non-clash)
21712         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
21713         Also check if the job is really a merge job.
21715         * ediff.el (ediff-current-file): New function.
21717 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
21719         * progmodes/js.el: Edit docstrings throughout to follow Emacs
21720         conventions.
21721         (js-insert-and-indent): Delete function.
21722         (js-mode-map): Don't bind keys to js-insert-and-indent.
21723         (js-beginning-of-defun): Rename from js--beginning-of-defun.
21724         (js-end-of-defun): Rename from js--end-of-defun.
21725         (js-auto-indent-flag): Delete variable.
21727 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
21729         * progmodes/js.el: Remove proclaim statement.
21730         Defvar which-func-imenu-joiner-function to silence compiler.
21732         * files.el (auto-mode-alist): Use js-mode for .js files.
21734         * progmodes/js2-mode.el: Remove file.
21736         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
21738         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
21740         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
21742 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
21743             Karl Landstrom  <karl.landstrom@brgeight.se>
21745         * progmodes/js.el: New file.
21747 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
21749         * timezone.el (timezone-parse-date): Add ability to understand ISO
21750         basic format (minimal separators) dates in addition to the
21751         already-supported extended format dates.
21753 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
21755         * international/ucs-normalize.el: Add a `coding' file variable.
21757         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
21759 2009-08-14  Sam Steingold  <sds@gnu.org>
21761         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
21763 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
21765         * faces.el (help-argument-name): Define it here instead of
21766         help-fns.el, because in daemon mode help-fns.el may be loaded when
21767         faces are still uninitialized (Bug#1078).
21769         * help-fns.el (help-argument-name): Move defface to faces.el.
21771 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
21773         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
21774         create buffer with a pty but no process so that GDB can make the
21775         inferior the controlling process.
21777 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
21779         * international/ucs-normalize.el: New file.
21781 2009-08-13  Richard Stallman  <rms@gnu.org>
21783         * mail/rmail.el (rmail-get-attr-names):
21784         Accept an attribute header that is too short.
21786         * mail/rmail.el (rmail-forget-messages):
21787         Ignore nil elt in rmail-message-vector.  Use dotimes.
21789         * progmodes/compile.el (compilation-goto-locus):
21790         Use next-error-move-function.
21792         * simple.el (next-error-move-function): New variable.
21794 2009-08-12  Juri Linkov  <juri@jurta.org>
21796         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
21797         always non-nil.  (Bug#4052)
21799         * replace.el (read-regexp): Return empty string when
21800         `default-value' is nil.
21801         (keep-lines-read-args): Don't use empty string as the
21802         default value for `read-regexp'.  (Bug#2495)
21804 2009-08-12  Juri Linkov  <juri@jurta.org>
21806         * international/mule-cmds.el (ucs-insert): Change arguments
21807         from `arg' to `character', `count', `inherit' to be the same
21808         as in `insert-char'.  Doc fix.  (Bug#4039)
21810         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
21812 2009-08-12  Juri Linkov  <juri@jurta.org>
21814         * files-x.el: New file.
21816         * files.el: Move code that deals with adding/deleting
21817         file/directory-local variables to files-x.el.
21819         * Makefile.in (ELCFILES): Add files-x.elc.
21821 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
21823         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
21824         to use `goto-line'.
21825         (gdb-place-breakpoints, gdb-get-location): Rewritten without
21826         `goto-line'.
21827         (gdb-invalidate-disassembly): Do not refresh upon receiving
21828         'update signal.  Instead, update all disassembly buffers only after
21829         threads list.
21830         (gdb): Send -target-detach when buffer is killed (Bug#3794).
21831         (gdb-starting): Move -data-list-register-names...
21832         (gdb-stopped): ...here so it's sent when first thread stops.
21833         (gdb-registers-handler-custom): Do nothing if register names are
21834         unknown yet.
21836         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
21837         from `gdb-mi.el' to avoid extra tangling.
21839         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
21840         change which breaks `gud-def' definitions used in `gdb'.
21841         (gdb-update-gud-running): No extra fuss for updating frame number.
21843 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
21845         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
21846         (describe-language-environment-map, setup-language-environment-map)
21847         (set-coding-system-map): Move initialization into declaration.
21848         (set-language-info-alist): Last arg to define-key-after can be skipped.
21850         * international/quail.el (quail-completion-1): Simplify.
21851         (quail-define-rules): Use slightly more compact code.
21852         (quail-insert-decode-map): Propertize keys, compact columns.
21854         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21855         Add goto-line.
21857 2009-08-10  Miles Bader  <miles@gnu.org>
21859         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
21860         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
21861         (js2-instance-member, js2-private-member, js2-private-function-call)
21862         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
21863         (js2-magic-paren, js2-external-variable):
21864         Remove "-face" suffix from face names.
21865         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
21866         (js2-highlight-undeclared-vars, js2-peek-token)
21867         (js2-parse-function-params, js2-mode-show-errors)
21868         (js2-mode-show-warnings, js2-make-magic-delimiter)
21869         (js2-mode-highlight-magic-parens): Update to use new face names.
21871 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
21873         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
21874         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
21876 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
21878         * subr.el: Provide hashtable-print-readable.
21880         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
21881         hs-c-like-adjust-block-beginning.
21882         (hs-hide-block-at-point): Stop hiding at the beginning of
21883         hs-block-end-regexp (Bug#700).
21885 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
21887         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
21888         a macro.
21889         (gdb-registers-handler-custom): Do not fail when register names
21890         are unavailable.
21892 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
21894         * progmodes/gdb-mi.el (gdb-control-all-threads)
21895         (gdb-control-current-thread): Interactive setters for
21896         `gdb-gud-control-all-threads' to use in menu.
21897         (gdb-show-run-p): Show «Go» when process is not active.
21898         (gud-tool-bar-map): Add non-stop/A,T indicator.
21899         Uses gud/thread.xpm and gud/all.xpm.
21901 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
21903         * net/net-utils.el (net-utils-font-lock-keywords): New var.
21904         (nslookup-font-lock-keywords): Make it a variable.
21905         (net-utils-mode): New mode for viewing diagnostic network output.
21906         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
21907         (net-utils-run-simple): New function.
21908         (ifconfig, iwconfig, netstat, arp, route): Use it.
21910 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
21912         * progmodes/gdb-mi.el (gdb-read-memory-custom)
21913         (gdb-memory-set-address, def-gdb-set-positive-number)
21914         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
21915         after changing settings.
21916         (gdb-invalidate-disassembly): Update when first shown.
21917         (gdb-edit-locals-value): Fix.
21918         (gdb-registers-handler-custom): Print registers in right order and
21919         allow changing register values (only for current thread yet).
21920         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
21921         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
21922         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
21923         (gdb-locals-handler-custom, gdb-registers-handler-custom):
21924         Thread info in mode name.
21925         (gdb-registers-mode-map): TAB to switch to locals.
21927 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
21929         * mail/rmail.el (rmail-add-mbox-headers)
21930         (rmail-set-message-counters-counter): Search for
21931         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
21933 2009-08-08  Glenn Morris  <rgm@gnu.org>
21935         * Makefile.in (ELCFILES): Update.
21937 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
21939         * mail/sendmail.el (mail-yank-original):
21940         Set buffer-file-coding-system from the one used by the message whose
21941         text is yanked.
21943         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
21944         to "windows" when "pgnuplot" is used.
21945         (calc-graph-command, calc-gnuplot-command, calc-graph-init):
21946         Don't call accept-process-output if "pgnuplot" is used.
21947         (calc-graph-init): Don't send -display and -geometry to
21948         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
21949         running "pgnuplot -V" with shell-command-to-string.
21951         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
21952         the default.
21954 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
21956         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
21957         org/org-latex.elc.
21959 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
21961         * vc-dispatcher.el (vc-resynch-window): Update comment.
21963         * term.el (term-handle-ansi-escape): Add comments with the
21964         terminfo capabilities implemented.
21966 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
21968         * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
21969         (gdb-var-create-handler): Rewritten using JSON parser.
21970         (gdb-propertize-header): Move earlier.
21971         (gdb-set-header): Remove to avoid duplication.
21972         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
21973         Refresh disassembly buffers only after threads list have been
21974         update.
21975         (gdb-threads-header, gdb-registers-header): Per-buffer header line
21976         variables.
21978 2009-08-04  Juri Linkov  <juri@jurta.org>
21980         * files.el: Commands to add/delete file/directory-local variables.
21981         (read-file-local-variable, read-file-local-variable-value)
21982         (read-file-local-variable-mode, modify-file-local-variable)
21983         (modify-file-local-variable-prop-line)
21984         (modify-dir-local-variable): New functions.
21985         (add-file-local-variable, delete-file-local-variable)
21986         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
21987         (add-dir-local-variable, delete-dir-local-variable)
21988         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
21989         (copy-dir-locals-to-file-locals-prop-line): New commands.
21991 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
21993         * abbrev.el (insert-abbrev-table-description): Prettify output.
21994         Suggested by Karl Chen.
21996 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
21998         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
21999         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
22000         (gdb-overlay-arrow-position, gdb-thread-position)
22001         (gdb-disassembly-position): Declare variables.
22002         (gdb-wait-for-pending): Function now.
22003         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
22004         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
22005         compilation goes smoothly.
22006         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
22007         (gdb-non-stop-setting): New customization setting which replaces
22008         `gdb-non-stop' so changing it doesn't break active GDB session.
22009         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
22010         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
22011         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
22012         (gdb-show-threads-by-default): New customization options.
22013         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
22014         routines.
22015         (gdb-get-buffer-create): Send buffers update signal when they are
22016         created.
22017         (gdb-invalidate-locals, gdb-invalidate-registers)
22018         (gdb-invalidate-breakpoints)
22019         (gdb-invalidate-threads, gdb-invalidate-disassembly)
22020         (gdb-invalidate-memory): Accept update signal.
22021         (gdb-current-context-command): Use --frame option.
22022         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
22023         Implement `gdb-frame-number' selection logic.
22024         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
22025         whether to show GUD toolbar buttons.
22026         (gdb-thread-exited): Unselect current thread when it exits.
22027         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
22028         (gdb-mark-line): Routine which sets overlay arrow or inverses
22029         video on fringeless displays.
22030         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
22031         to build aligned columns of data in GDB buffers and set text
22032         properties line-by-line.
22033         (gdb-invalidate-breakpoints)
22034         (gdb-breakpoints-list-handler-custom)
22035         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
22036         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
22037         (gdb-registers-handler-custom): Align data columns.
22038         (gdb-locals-handler-custom): Now prints data like in variable
22039         declarations.
22040         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
22041         Remove confusing buttons.
22042         (gdb-invalidate-threads): Append --frame.
22043         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
22044         between breakpoints/threads buffers.
22045         (gdb-set-window-buffer): Now can ignore dedicated windows.
22046         (gdb-propertize-header): Use `gdb-set-window-buffer'.
22047         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
22048         (def-gdb-thread-buffer-gud-command): Replaces
22049         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
22050         for fine thread control.
22051         (gdb-preempt-existing-or-display-buffer): New function used to
22052         display bound buffers without breaking window layout.
22053         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
22054         (gdb-select-frame): New version of `gdb-frames-select' which now
22055         sets `gdb-frame-number' so commands may use --frame option instead
22056         of inner debugger state.
22057         (gdb-frame-handler): Do not set `gdb-frame-number'.
22058         (gdb-threads-mode-map): Select threads with mouse.
22060         * progmodes/gud.el (gdb-gud-context-call): Declare function to
22061         avoid compilation warning.
22062         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
22063         `gdb-show-stop-p`.
22065         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
22066         Argument `key' renamed to `buffer-type'.
22067         (gdb-current-context-buffer-name): Do not add thread info to
22068         buffer name when no thread is selected.
22069         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
22070         command (bug 3794).
22071         (gdb-thread-selected): Handle `=thread-selected' notification.
22072         (gdb-wait-for-pending): New macro to deal with congestion problems.
22073         (gdb-breakpoints-list-handler-custom): Don't fail on pending
22074         breakpoints.
22075         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
22076         This fixes problem similar to one described in bug 3947.
22077         (gud-menu-map): More menu items.
22078         (gdb-init-1): Reset `gdb-thread-number' to nil.
22080         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
22081         non-stop settings.
22083         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
22084         (gdb-current-context-command): Do not append --thread if
22085         `gdb-thread-number' is nil.
22086         (gdb-running-threads-count, gdb-stopped-threads-count):
22087         New variables.
22088         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
22089         (gdb-stopped-hooks, gdb-switch-when-another-stopped):
22090         New customization options.
22091         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
22092         GUD commands.
22093         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
22094         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
22095         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
22096         set `gdb-thread-number' and update `gud-running' properly.
22097         (gdb-running): Update threads list when new threads appear.
22098         (gdb-stopped): Support non-stop operation and new thread switching
22099         logic.
22100         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
22101         (gdb-json-partial-output): New set of JSON routines.
22102         (def-gdb-auto-update-trigger): New `signal-list' optional
22103         argument.
22104         (gdb-thread-list-handler-custom): Update `gud-running',
22105         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
22106         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
22107         (gdb-continue-thread, gdb-step-thread): New commands for fine
22108         thread execution control.
22109         (gud-menu-map): New menu items to switch non-stop options.
22110         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
22111         (gdb-send): Mimic RET properly (bug 3794).
22113         * progmodes/gdb-mi.el (gdb-rules-name-maker)
22114         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
22115         gdb-buffer-rules.
22116         (def-gdb-auto-update-handler): New nopreserve optional argument.
22117         (gdb-stack-list-frames-custom): Print stack from top to bottom.
22119         * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
22120         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
22121         (gdb-parent-mode): New mode to derive other GDB modes from.
22122         (gdb-display-disassembly-for-thread)
22123         (gdb-frame-disassembly-for-thread): New commands for threads
22124         buffer.
22126         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
22127         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
22128         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
22129         (gdb-update): We now store all GDB buffers in a list so that they
22130         can be updated by traversing a list instead of calling invalidate
22131         triggers explicitly.
22132         (def-gdb-trigger-and-handler): New macro to define trigger-handler
22133         pair for GDB buffer.
22134         (gdb-stack-buffer-name): Add thread information.
22135         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
22136         handle pending triggers.
22137         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
22138         (def-gdb-thread-buffer-simple-command)
22139         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
22140         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
22141         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
22142         New commands which show buffers bound to thread.
22143         (gdb-stack-list-locals-regexp): Remove unused regexp.
22145         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
22146         (gdb-locals-buffer-name, gdb-registers-buffer-name)
22147         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
22148         to (gud-comint-buffer) in *-buffer-name functions
22149         because (gdb-get-target-string) already does that.
22150         (gdb-locals-handler-custom, gdb-registers-handler-custom)
22151         (gdb-changed-registers-handler): Rewritten without regexps.
22153         * progmodes/gdb-mi.el: Basic thread selection support.
22154         (gdb-thread-number): New variable.
22155         (gdb-current-context-command): New macro which adds --thread
22156         option to command.
22157         (gdb-threads-mode-map): Select thread with SPC.
22158         (gdb-thread-list-handler-custom): Mark current thread with overlay
22159         arrow.  Synchronize GDB thread and Emacs thread.
22160         (gdb-select-thread): New command which selects current thread.
22161         (gdb-invalidate-frames, gdb-invalidate-locals)
22162         (gdb-invalidate-registers): Use --thread option.
22164 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
22166         * net/tramp.el (top): Make check for tramp-gvfs loading more
22167         robust.  (Bug#3977)
22168         (tramp-handle-insert-file-contents): `unwind-protect' must be
22169         inside `with-parsed-tramp-file-name'.
22171         * net/tramp-gvfs.el (top): Remove superfluous message when loading
22172         fails.
22174 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
22176         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
22177         directory if CLASSPATH is not set.
22179 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
22181         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
22182         New defconst.
22183         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
22185 2009-08-02  Kevin Ryde  <user42@zip.com.au>
22187         * net/newst-backend.el (newsticker--raw-url-list-defaults):
22188         Update freshmeat link.  Delete newsforge.com as it seems gone.
22190 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
22192         * select.el (x-set-selection): Doc fix (Bug#4021).
22194         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
22196         * help-fns.el (describe-variable): Treat list return values from
22197         dir-locals-find-file properly (Bug#4005).
22199 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
22201         * net/tramp.el (tramp-debug-message): Print also microseconds.
22203 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
22205         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
22206         or END is non-nil.
22207         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
22208         (tramp-get-debug-buffer): Change `outline-regexp' according to new
22209         format.
22211         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
22212         (tramp-get-file-property): Use it.
22214         * autorevert.el (auto-revert-handler):
22215         Allow `auto-revert-tail-mode' for remote files.
22217 2009-08-02  Jason Rumney  <jasonr@gnu.org>
22219         * minibuffer.el (read-file-name): Treat confirm options to
22220         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
22222 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
22224         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
22225         (font-lock-variable-name-face, font-lock-constant-face):
22226         Darken the colors for light backgrounds.
22228 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
22230         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
22231         month names.  (Bug#3987)
22233 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
22235         * simple.el (line-move-finish): Pass whole number to
22236         line-move-to-column.
22237         (line-move-visual): Perform hscroll to the recorded position.
22239 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
22241         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
22243 2009-07-29  Alan Mackenzie  <acm@muc.de>
22245         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
22247 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
22249         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
22250         (gdb-place-breakpoints): Use full path when setting breakpoints.
22252 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
22254         * calc/calc.el (calc-mode-map): Add keybinding for
22255         `calc-transpose-lines'.
22257 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
22259         * calc/calc-misc.el (calc-transpose-lines): New function.
22261 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
22263         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
22264         Simplify check for out-of-band methods.
22265         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
22266         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
22268 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
22270         * vc-git.el (vc-git-checkin): Fix typo.
22272 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
22274         * progmodes/js2-mode.el: New file.
22276 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
22278         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
22279         (gud-menu-map): Adjust tooltip accordingly.
22281 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
22283         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
22284         (vc-bzr-log-view-mode): Adjust log-view-file-re.
22286         * add-log.el (change-log-mode-map): Add a menu.
22288 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
22290         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
22291         function returns nil.
22292         (dbus-handle-event): Handle special return value :ignore.
22293         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
22295 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
22297         * view.el (view-mode-enable): Don't define Helper-return-blurb if
22298         it's not needed.
22300 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
22302         Fix Bug#3888:
22304         * w32-vars.el (x-select-enable-clipboard): Doc fix.
22306         * term/pc-win.el (x-display-name, x-colors)
22307         (x-select-enable-clipboard, x-select-text): Doc fix.
22309         * term/common-win.el (x-display-name, x-colors): Doc fix.
22311         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
22312         (xw-defined-colors): Doc fix.
22314         * w32-fns.el (x-select-text, x-setup-function-keys)
22315         (x-get-selection, x-set-selection): Doc fix.
22317         * term/x-win.el (x-select-text, x-setup-function-keys)
22318         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
22320         * select.el (x-set-selection): Doc fix.
22322 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
22324         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
22325         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
22326         "IsNSSSupportAvailable" method is not available.
22327         Reported by Steve Youngs <steve@sxemacs.org>.
22329 2009-07-24  Kenichi Handa  <handa@m17n.org>
22331         * international/characters.el: Fix setting of category ?C, ?|, ?K,
22332         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
22333         (build-unicode-category-table): Fix range checks.
22335 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
22337         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
22338         the buffer we try to sync is current when calling
22339         vc-resynch-buffer.
22341         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
22342         not show up to date files.
22344 2009-07-24  Glenn Morris  <rgm@gnu.org>
22346         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
22347         Add autoload cookies.  If necessary, initialize.
22348         (elint-log): Handle non-file buffers.
22349         (elint-initialize): Add optional argument to reinitialize.
22350         (elint-find-builtin-variables): Save excursion.
22352 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
22354         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
22355         for Lint.
22357 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
22359         * vc.el (vc-print-log-internal): New function, split out from ...
22360         (vc-print-log): ... here.
22361         (vc-dir-move-to-goal-column): Declare.
22363         * vc-git.el (vc-git-add-signoff): New variable.
22364         (vc-git-checkin): Use it.
22365         (vc-git-toggle-signoff): New function.
22366         (vc-git-extra-menu-map): Bind it to menu.
22367         (vc-git--run-command-string): Accept a nil FILE argument.
22368         (vc-git-stash-list): New function.
22369         (vc-git-dir-extra-headers): Use it.
22371 2009-07-23  Glenn Morris  <rgm@gnu.org>
22373         * help-fns.el (describe-variable): Describe ignored and risky local
22374         variables in a similar way to that in which we describe safe ones.
22376         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
22377         (byte-compile-output-file-form, byte-compile-output-docform)
22378         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
22379         Give some more local variables with common names a "bytecomp-" prefix,
22380         so as not to shadow things during compilation.
22381         * emacs-lisp/cl-macs.el (load-time-value)
22382         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
22383         `outbuffer' to `bytecomp-outbuffer'.
22385         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
22386         since the next two variables cover them automatically now.
22387         (elint-builtin-variables, elint-autoloaded-variables): New.
22388         (elint-unknown-builtin-args): Remove all members, since they can be
22389         parsed automatically now.
22390         (elint-extra-errors): New.
22391         (elint-env-add-env, elint-env-add-macro): Use cadr.
22392         (elint-current-buffer): Use or.  Change final message.
22393         (elint-get-top-forms): Use line-end-position.
22394         (elint-init-env): Use cadr.  Handle autoload, declare-function,
22395         and defalias.
22396         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
22397         (regexp-assoc): Remove unused function.
22398         (elint-top-form): Set elint-current-pos, to record the start of the
22399         top-level form, for compilation-mode.
22400         (elint-form): Trap errors in macro expansion.  Use dolist.
22401         (elint-unbound-variable): Use elint-builtin-variables and
22402         elint-autoloaded-variables.
22403         (elint-get-args): Use cadr, or.
22404         (elint-check-cond-form): Use dolist, cadr.
22405         (elint-check-condition-case-form): Doc fix.  Use cadr.
22406         Use elint-extra-errors.
22407         (elint-log): New function.
22408         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
22409         Distinguish errors and warnings.
22410         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
22411         Use a bytecomp-style format.
22412         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
22413         (elint-get-log-buffer): Use compilation mode.  Disable undo.
22414         Don't truncate lines.
22415         (elint-initialize): Set builtin and autoloaded variable lists.
22416         Only process elint-unknown-builtin-args if non-nil.
22417         (elint-find-builtin-variables, elint-find-autoloaded-variables):
22418         New functions.
22419         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
22421 2009-07-22  Kevin Ryde  <user42@zip.com.au>
22423         * net/newst-backend.el (newsticker--parse-atom-1.0)
22424         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
22425         (newsticker--parse-rss-1.0):
22426         * progmodes/idlwave.el (idlwave-mode):
22427         * progmodes/idlw-shell.el (idlwave-shell-mode):
22428         * progmodes/vera-mode.el (vera-mode):
22429         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
22430         * progmodes/vhdl-mode.el (vhdl-mode):
22431         * textmodes/table.el (table-generate-source)
22432         (table--warn-incompatibility):
22433         Hyperlink urls in docstrings with URL `...'.
22435 2009-07-22  Glenn Morris  <rgm@gnu.org>
22437         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
22438         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
22439         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
22440         Remove leading * from defcustom docs.
22442         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
22444         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
22445         defcustom doc.
22446         (list-load-path-shadows): Optionally, just return shadows as a string.
22448         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
22450 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
22452         * mail/rmailedit.el (rmail-edit-mode):
22453         Use auto-save-include-big-deletions.
22455         * mail/rmail.el (rmail-variables):
22456         Use auto-save-include-big-deletions.
22458         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
22459         changes.
22461 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
22463         * calc/calc.el (calc-undo-length): New variable.
22464         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
22466 2009-07-21  Richard Stallman  <rms@gnu.org>
22468         * files.el (auto-save-mode): Handle buffer-save-size = -2
22469         for toggling mode.
22471 2009-07-21  Glenn Morris  <rgm@gnu.org>
22473         * textmodes/ispell.el (ispell-looking-back): Update declaration.
22475         * calendar/todo-mode.el (calendar-current-date): Update declaration.
22477         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
22478         silence compiler.  Instead...
22479         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
22480         (ps-print-ensure-fontified): Update for above function name changes.
22482         * printing.el (pr-mh-get-msg-num, pr-mh-show)
22483         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
22484         silence compiler.  Instead...
22485         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
22486         (mh-show-buffer): Only define for compiler.
22487         (pr-mh-current-message): Update for above function name changes.
22489         * files.el (abort-if-file-too-large): Explicitly pass `filename'
22490         as an argument.
22491         (find-file-noselect, insert-file-1): Update for above change.
22493         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
22495         * mail/mailclient.el (mailclient-send-it): Fix message.
22497         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
22498         (edebug-eval): Check cl-debug-env is bound.
22499         (print-level, print-circle): Don't redefine built-in variables.
22501         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
22502         (custom-print-vectors): Remove old comments from doc.
22504         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
22505         (emerge-version): Make the variable an obsolete alias for the
22506         emacs-version variable.  Make the function obsolete.
22507         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
22508         Emerge options, rather than merging in into the main Options menu.
22509         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
22510         and auto advance modes.  Disable edit/fast items when not relevant.
22512 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
22514         * term/vt420.el (terminal-init-vt420): Fix typo.
22516 2009-07-20  Sam Steingold  <sds@gnu.org>
22518         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
22519         variable (removed from compile.el on 2004-03-11).
22521 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
22523         * files.el (hack-local-variables-filter): Fix last change.
22525 2009-07-19  Juri Linkov  <juri@jurta.org>
22527         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
22528         (dir-local-variables-alist): New buffer-local variable.
22529         (hack-local-variables-filter): If variable is not dir-local,
22530         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
22531         because file-local overrides dir-local.
22532         (c-postprocess-file-styles) <declare-function>:
22533         Remove obsolete declaration.
22534         (hack-dir-local-variables): Add dir-local variable/value pair to
22535         `dir-local-variables-alist' and remove duplicates.  Doc fix.
22537         * help-fns.el (describe-variable): Add information about
22538         file-local and dir-local variables.
22540 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
22542         * files.el (hack-local-variables-filter): Rewrite.
22544 2009-07-19  Glenn Morris  <rgm@gnu.org>
22546         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
22547         Silence compiler by only defining on XEmacs.
22549         * international/mule.el (auto-coding-regexp-alist): Only match
22550         BABYL... at the start of buffer, not of lines.  (Bug#3790)
22552         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
22553         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
22554         (cal-menu-context-mouse-menu): Doc fix.
22556         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
22558         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
22560 2009-07-18  Juri Linkov  <juri@jurta.org>
22562         * info.el: Virtual Info keyword finder.
22563         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
22564         (Info-finder-file): New variable.
22565         (Info-finder-find-file): New function.
22566         (finder-known-keywords, finder-package-info)
22567         (find-library-name, lm-commentary): Use defvar and
22568         declare-function to silence compiler warnings.
22569         (Info-finder-find-node): New function.
22570         (info-finder): New command.
22572         * subr.el (process-kill-buffer-query-function): New function.
22573         (add-hook)<kill-buffer-query-functions>: Add hook
22574         `process-kill-buffer-query-function'.
22576 2009-07-18  Alan Mackenzie  <acm@muc.de>
22578         * progmodes/cc-mode.el (c-before-hack-hook)
22579         (c-postprocess-file-styles): Give invocation of `c-set-style'
22580         DONT-OVERRIDE parameter of t.  Already set style variables will
22581         thus not be overridden by style settings given by `c-file-syle'.
22583         * files.el (hack-local-variables-filter): Remove entries with
22584         duplicate keys from `file-local-variables-alist'.
22586 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
22588         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
22589         x-set-selection if display-selections-p returns nil for the
22590         current frame.
22592 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
22594         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
22596 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
22598         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
22599         Accept nil in addition to a regexp.
22600         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
22601         Accept nil in addition to a regexp.
22602         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
22603         buffers that have an associated file.  Handle nil values of
22604         desktop-buffers-not-to-save and desktop-files-not-to-save.
22605         (Bug#3833)
22607         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
22608         (x-disown-selection-internal): New functions.
22610 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
22612         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
22613         warning.
22614         (gdb-breakpoints-header): Move forward to avoid compiler warning.
22615         (gdb-make-header-line-mouse-map): Remove duplicate definition.
22617 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
22619         * simple.el (set-mark): Revert last change.
22621 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
22623         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
22624         rendering of pngs is not possible instead of messaging a long
22625         description.
22627 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
22629         * w32-fns.el (x-selection-owner-p): New function.
22631         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
22632         (mouse-yank-at-click, mouse-yank-primary):
22633         If select-active-regions is non-nil, deactivate the mark before
22634         insertion.
22636         * simple.el (deactivate-mark, set-mark): Only save selection if we
22637         own it.
22639 2009-07-17  Kenichi Handa  <handa@m17n.org>
22641         * case-table.el (describe-buffer-case-table): Fix for the case
22642         that KEY is a cons.
22644 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
22646         * vc-rcs.el (vc-rcs-find-file-hook):
22647         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
22649 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
22651         * net/tramp.el (tramp-wait-for-output): Handle the case when
22652         commands do not return a newline but a null byte before the shell
22653         prompt.  (Bug#3858)
22655 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
22657         * term/ns-win.el (ns-set-alpha): Don't declare.
22658         (ns-set-background-alpha): Remove function.
22660 2009-07-16  Kevin Ryde  <user42@zip.com.au>
22662         * emacs-lisp/copyright.el (copyright-update): Save match-data across
22663         y-or-n-p, for safety.
22665 2009-07-16  Richard Stallman  <rms@gnu.org>
22667         * files.el (auto-save-mode): If buffer-saved-size is -2,
22668         don't clobber it.
22670         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
22671         (rmail-retry-ignored-headers): Add more uninteresting fields.
22673 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
22675         * net/rcirc.el (rcirc): Use history variables.
22676         (rcirc-server-name-history, rcirc-nick-name-history)
22677         (rcirc-server-port-history): New variables.
22679 2009-07-15  Kenichi Handa  <handa@m17n.org>
22681         * international/mule-cmds.el (set-language-environment-charset):
22682         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
22683         ignore them.
22685         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
22686         Delete unibyte-display.
22688 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
22690         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
22692 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
22694         * simple.el (deactivate-mark): Optional argument FORCE.
22695         (set-mark): Use deactivate-mark.
22697         * info.el (Info-search): No need to check transient-mark-mode
22698         before calling deactivate-mark.
22700         * select.el (x-set-selection): Doc fix.
22701         (x-valid-simple-selection-p): Allow buffer values.
22702         (xselect--selection-bounds): Handle buffer values.
22703         Suggested by David De La Harpe Golden.
22705         * mouse.el (mouse-set-region, mouse-drag-track):
22706         Call copy-region-as-kill before setting the mark, to let
22707         select-active-regions work.
22709 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
22711         * simple.el (deactivate-mark): If select-active-regions is
22712         non-nil, copy the selection data into a string.
22713         (activate-mark): If select-active-regions is non-nil, set the
22714         selection to the current buffer.
22715         (set-mark): Update selection if select-active-regions is non-nil.
22717         * select.el (x-valid-simple-selection-p): Allow buffer values.
22719 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
22721         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
22722         and more featureful message-mode.
22724 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
22726         * select.el (x-set-selection): Doc fix.
22727         (x-valid-simple-selection-p): Disallow selection data consisting
22728         of a list or cons of integers, since that is not used.
22729         (xselect--selection-bounds, xselect--int-to-cons): New functions.
22730         (xselect-convert-to-string, xselect-convert-to-length)
22731         (xselect-convert-to-filename, xselect-convert-to-charpos)
22732         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
22734 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
22736         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
22737         output in -break-info command (Emacs bug #3794).
22739 2009-07-14  Glenn Morris  <rgm@gnu.org>
22741         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
22742         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
22743         (edebug-print-length, edebug-print-level, edebug-print-circle)
22744         (edebug-sit-for-seconds, edebug-view-outside)
22745         (edebug-bounce-point, edebug-set-global-break-condition)
22746         (edebug-Go-nonstop-mode, edebug-trace-mode)
22747         (edebug-Trace-fast-mode, edebug-continue-mode)
22748         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
22749         (edebug-visit-eval-list): Doc fixes.
22751         * subr.el (def-edebug-spec): Doc fix.
22753 2009-07-14  Kenichi Handa  <handa@m17n.org>
22755         * international/characters.el: Fix setting of category ?C.
22757 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
22759         * term/ns-win.el (x-select-font): defalias x-select-font to
22760         ns-popup-font-panel instead of generate-fontset-menu.
22762 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
22764         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
22766 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
22768         * arc-mode.el (archive-find-type): Allow for a PK00 string before
22769         the PK\003\004 header (Bug#3770).
22771 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
22773         * pcomplete.el (pcomplete-comint-setup): Check for
22774         shell-dynamic-complete-filename too.
22776 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
22778         * simple.el (temporary-goal-column): Change the value for
22779         line-move-visual to a cons cell.
22780         (line-move-visual): Record or set the window hscroll, if
22781         necessary (Bug#3494).
22782         (line-move-1): Handle cons value of temporary-goal-column.
22784 2009-07-11  Kenichi Handa  <handa@m17n.org>
22786         * international/mule-diag.el (describe-character-set): Don't show
22787         width.
22789 2009-07-10  Sam Steingold  <sds@gnu.org>
22791         * progmodes/compile.el (compilation-mode-font-lock-keywords):
22792         Omake sometimes indents the errors it prints, so allow all
22793         regexps to start with spaces.
22795 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
22797         * cus-edit.el (customize-changed-options-previous-release):
22798         Bump value to 22.1.  (Bug#3804)
22800 2009-07-08  Sam Steingold  <sds@gnu.org>
22802         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
22803         to be a cons cell (test . ignored-directory) to selectively ignore
22804         some directories depending on the location of the search.
22806 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
22808         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
22809         remote user is root, on the local host.
22810         (tramp-local-host-p): Either the local user or the remote user
22811         must be root.  (Bug#3771)
22813 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
22815         * progmodes/gdb-mi.el (gdb): Remove description of
22816         gdb-use-separate-io-buffer.
22817         (menu): Don't allow toggling of or enable
22818         gdb-use-separate-io-buffer from menubar.
22820 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
22822         * mail/unrmail.el (unrmail): Make sure the message ends with two
22823         newlines (Bug#3769).
22825 2009-07-08  Glenn Morris  <rgm@gnu.org>
22827         * calendar/calendar.el (calendar-current-date): Rework previous change.
22829 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
22831         * calendar/calendar.el (calendar-current-date):
22832         Add an optional argument giving an offset from today.
22834 2009-07-08  Glenn Morris  <rgm@gnu.org>
22836         * tutorial.el (tutorial--describe-nonstandard-key):
22837         Adjust the message for when a key has been unbound.
22838         (help-with-tutorial): Hide the arch-tag.
22840 2009-07-08  Kenichi Handa  <handa@m17n.org>
22842         * international/fontset.el (setup-default-fontset): For each
22843         script, append (not set) font-specs.
22845         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
22846         docstring.
22848 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
22850         * progmodes/gdb-mi.el (gdb-init-1): Move sending
22851         -data-list-register-names to ...
22852         (gdb-starting): ... here because GDB 7.0 requires execution to
22853         have started when using this MI command.
22854         (gdb-set-header): New function to distinguish select and
22855         unselected tabs in gdb buffers.
22856         (gdb-propertize-header): New macro that uses gdb-set-header.
22857         (gdb-breakpoints-header, gdb-locals-header): Use it.
22858         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
22860 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
22862         * Makefile.in (ELCFILES): Remove fadr.elc.
22864 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
22866         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
22867         may contain frame information, so `string-match' should be used.
22868         (gdb-update): Disassembly is invalidated through
22869         `gdb-get-selected-frame'.
22870         (gdb-pad-string): New function to pad string with spaces.
22871         (gdb-invalidate-disassembly): Invalidate only if the buffer
22872         exists.
22873         (gdb-disassembly-handler-custom): Column alignment.
22874         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
22875         placing new ones.
22876         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
22877         end of line, too.
22878         (gdb-frame-handler): Match convention to for disassembly buffer
22879         mode name.
22880         (gdb-stack-list-frames-handler): Rewritten without regexps.
22881         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
22882         not highlight breakpoints without line information.
22883         (gdb-input): Add trailing newline to command.
22885         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
22886         buffer properly.
22887         (gdb-breakpoints-list-handler-custom): Replacement for
22888         `gdb-break-list-handler'.  Using real parser instead of regexps
22889         now.
22890         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
22891         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
22892         to place breakpoints.
22893         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
22894         functions.
22895         (gdb-disassembly-handler-custom): Show overlay arrow.
22896         (gdb-disassembly-place-breakpoints): Show breakpoints in
22897         disassembly buffer.
22898         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
22899         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
22900         instead of parsing breakpoints buffer.  Fixed old menu references
22901         in `gud-menu-map'.
22903         * fadr.el: Remove.
22905         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
22906         (gdb-memory-address): New variable which holds top address of
22907         memory page shown in memory buffer.
22908         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
22909         New customization variables.
22910         New functions:
22911         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
22912         display the memory buffer.
22913         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
22914         buffer display parameters.
22915         (def-gdb-memory-format, gdb-memory-format-binary)
22916         (gdb-memory-format-octal, gdb-memory-format-unsigned)
22917         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
22918         Functions for setting memory buffer format.
22919         (gdb-memory-unit-word, gdb-memory-unit-halfword)
22920         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
22921         unit size used in memory buffer.
22922         (gdb-memory-show-next-page, gdb-memory-show-previous-page):
22923         Switch to next/previous page of memory buffer.
22924         Now using (bindat-get-field) instead of fadr functions.
22926 2009-07-07  Sam Steingold  <sds@gnu.org>
22928         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
22929         non-top-level files.
22931 2009-07-07  Kenichi Handa  <handa@m17n.org>
22933         * international/mule-cmds.el (reset-language-environment):
22934         Put the highset priority to the charset iso-8859-1.
22936 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
22938         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
22939         to the end of the line when locating the block (Bug#700).
22941 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
22943         * net/tramp.el (tramp-handle-write-region): Flush file properties
22944         in case of short track.
22946 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
22948         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
22949         Coded custom representation of verilog error regular expressions
22950         to work with Emacs-22's new format.
22951         (verilog-error-regexp-xemacs-alist): Coded custom representation
22952         of verilog error regular expressions to work with XEmacs format.
22953         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
22954         error recognition into XEmacs.
22955         (verilog-error-regexp-add-emacs): Hook routine to install verilog
22956         error recognition into Emacs-22.
22958 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
22960         * woman.el: Remove stand-alone closing parentheses.
22961         (woman-file-name, woman2-format-paragraphs)
22962         (woman-leave-blank-lines): Code cleanup.
22963         (woman-use-own-frame): Change default to nil.
22964         (woman-italic, woman-bold, woman-unknown, woman-addition):
22965         Change defaults to inherit from default faces.
22966         (woman2-process-escapes): Consume the newline after a stand-alone
22967         filler character (Bug#3651).
22969 2009-07-06  Glenn Morris  <rgm@gnu.org>
22971         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
22972         (top-level): Move provide to the end.
22973         (ffap): Remove defunct URL from custom group.
22975         * subr.el (eval-after-load): Doc fix.
22977 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
22979         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
22980         `calc-embedded-word' is called twice.
22982 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
22984         * files.el (find-alternate-file-other-window, find-alternate-file):
22985         Obey confirm-nonexistent-file-or-buffer.
22987 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
22989         * dired-aux.el (dired-show-file-type): Handle remote files.
22991 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
22993         * desktop.el (desktop-globals-to-save):
22994         Add file-name-history (Bug#2750).
22996 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
22998         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
23000 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
23002         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
23003         property on entire argument since this is what eshell-lisp-command
23004         expects.
23006 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
23008         * net/tramp-gvfs.el (tramp-gvfs-methods)
23009         (tramp-gvfs-zeroconf-domain)
23010         (tramp-bluez-discover-devices-timeout): Add version flag.
23011         (tramp-gvfs-handler-mounted-unmounted)
23012         (tramp-gvfs-connection-mounted-p): Polish handling of
23013         incompatibilities between GVFS 0.2 and 1.0.
23015 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
23017         * cus-start.el (all): Add make-pointer-invisible.
23019 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
23021         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
23022         formatted correctly.
23024 2009-07-02  Juri Linkov  <juri@jurta.org>
23026         * info.el: Virtual Info files and nodes.
23027         (Info-virtual-files, Info-virtual-nodes): New variables.
23028         (Info-current-node-virtual): New variable.
23029         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
23030         New functions.
23031         (Info-file-supports-index-cookies): Use Info-virtual-file-p
23032         to check for a virtual file instead of checking a fixed list
23033         of node names.
23034         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
23035         instead of ad-hoc processing of "dir" and (apropos history toc).
23036         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
23037         instead of ad-hoc processing of "dir" and (apropos history toc).
23038         Reread a file when moving from a virtual node.
23039         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
23040         (Info-directory-toc-nodes, Info-directory-find-file)
23041         (Info-directory-find-node): New functions.
23042         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
23043         (Info-history): Move part of code to
23044         `Info-history-find-node'.
23045         (Info-history-toc-nodes, Info-history-find-file)
23046         (Info-history-find-node): New functions.
23047         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
23048         (Info-toc): Move part of code to `Info-toc-find-node'.
23049         (Info-toc-find-node): New function.
23050         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
23051         the current Info file name to references because now the node
23052         "*TOC*" belongs to the same Info manual.
23053         (Info-toc-build): Rename from `Info-build-toc'.
23054         (Info-toc-nodes): Rename input argument `file' to `filename'.
23055         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
23056         instead of ad-hoc processing of ("dir" apropos history toc).
23057         (Info-index-nodes): Use Info-virtual-file-p
23058         to check for a virtual file instead of checking a fixed list
23059         of node names.
23060         (Info-index-node): Add check for `Info-current-node-virtual'.
23061         Raise `save-match-data' higher up the tree to contain
23062         `search-forward' too (bug fix).
23063         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
23064         (Info-virtual-index-nodes): New variable.
23065         (Info-virtual-index-find-node, Info-virtual-index): New functions.
23066         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
23067         (Info-apropos-file, Info-apropos-nodes): New variables.
23068         (Info-apropos-toc-nodes, Info-apropos-find-file)
23069         (Info-apropos-find-node, Info-apropos-matches): New functions.
23070         (info-apropos): Move part of code to `Info-apropos-find-node' and
23071         `Info-apropos-matches'.
23072         (Info-mode-map): Bind "I" to `Info-virtual-index'.
23073         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
23074         for a virtual file instead of checking a fixed list of node names.
23076         * simple.el (async-shell-command): New command.
23078         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
23080         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
23081         instead of `mount-info'.
23083 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
23085         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
23086         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
23088 2009-07-02  Kenichi Handa  <handa@m17n.org>
23090         * international/mule.el (set-keyboard-coding-system): Force *-unix
23091         coding-system to avoid eol conversion.
23093 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
23095         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
23096         Add handler for `process-file', `shell-command' and
23097         `start-file-process'.
23098         (tramp-gvfs-handle-shell-command)
23099         (tramp-gvfs-handle-start-file-process)
23100         (tramp-gvfs-handle-process-file): New defuns.
23101         (tramp-synce-list-devices): Simplify check for existence of property.
23103 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
23105         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
23107 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
23109         * language/korean.el (set-language-info-alist): Add korean-cp949,
23110         cp949 to spec.
23112 2009-07-01  Kenichi Handa  <handa@m17n.org>
23114         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
23116         * international/encoded-kb.el: Deleted.
23118         * international/mule.el (set-keyboard-coding-system): Perform the
23119         necessary setup here instead of calling encoded-kbd-setup-display.
23121 2009-07-01  Glenn Morris  <rgm@gnu.org>
23123         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
23125 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
23127         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
23129 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
23131         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
23132         Handle also the 'rename case, when setting file modes.  (Bug#3712)
23133         (tramp-default-file-modes): Remove execute permissions.
23135         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
23136         (top): Add a default for "synce" in `tramp-default-user-alist'.
23137         Add completion function for "synce" method.
23138         (tramp-hal-service, tramp-hal-path-manager)
23139         (tramp-hal-interface-manager, tramp-hal-interface-device):
23140         New defconst.
23141         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
23142         (tramp-synce-list-devices, tramp-synce-parse-device-names):
23143         New defuns.
23145         * net/trampver.el: Update release number.
23147 2009-06-30  Kenichi Handa  <handa@m17n.org>
23149         * international/fontset.el (setup-default-fontset): Add CJK fonts
23150         for symbols and the other miscellaneous characters.
23152         * language/korea-util.el (setup-korean-environment-internal):
23153         Make char-width-table suitable for Korean environments.
23154         (exit-korean-environment): Cancel above.
23156         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
23157         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
23158         setup-function to make char-width-table suitable for respective
23159         environments, and an exit-function to cancel that.
23161         * language/japan-util.el (setup-japanese-environment-internal):
23162         Call use-cjk-char-width-table with arg `ja_JP'.
23164         * international/characters.el (cjk-char-width-table): Delete it.
23165         (cjk-char-width-table-list): New variable.
23166         (use-cjk-char-width-table): New arg local-name.
23167         (use-default-char-width-table): Fix for the case that Emacs is
23168         already using the default char-width-table.
23170 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
23172         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
23173         modes mandatory.  (Bug#3712)
23175 2009-06-29  Alan Mackenzie  <acm@muc.de>
23177         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
23178         correction between the visible width of TABs and their number of bytes.
23180 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
23182         * server.el (server-buffer-done): Prevent kill-buffer from
23183         prompting by clearing the buffer modification flag (Bug#3696).
23185 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
23187         * progmodes/verilog-mode.el (verilog-beg-of-statement)
23188         (verilog-endcomment-reason-re): Support unique case and priority case.
23189         (verilog-basic-complete-re): Support localparam lineup.
23190         (verilog-beg-of-statement-1): Fix for robustness, unique case.
23191         (verilog-set-auto-endcomments): Fix for unique case, always_comb
23192         commenting.
23193         (verilog-leap-to-case-head): Now support *nested* unique &
23194         priority case statements.
23195         (verilog-auto-lineup): Make just declarations the default (as it
23196         had been).
23197         (verilog-leap-to-case-head): Support priority/unique case statements.
23198         (verilog-auto-lineup): Rework to give users radio buttons to
23199         select the various styles of automatic lineup.
23200         (verilog-error-regexp-alist): Rework to support the XEmacs style
23201         of error regular expressions from compilers, lint tools &
23202         simulators.  Note that GNU Emacs has made it impossible for a mode
23203         to load such things.
23204         (electric-verilog-terminate-line, verilog-indent-declaration)
23205         (verilog-auto-wiure): Rework for radio button selection of
23206         auto-lineup selection of specification of auto lineup.
23207         (verilog-beg-of-statement-1): Redesign to support proper operation
23208         in additional code, based on testing with auto-lineup.
23209         (verilog-calculate-indent, assignments & declarations)
23210         (verilog-backward-token): Enhance to support auto-lineup of
23211         assignments & declarations.
23212         (verilog-in-directive-p, verilog-at-struct-p): New function for
23213         easy test of whether we are.
23214         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
23215         to support safe execution at almost anyline.
23216         (verilog-calc-1): Properly support indenting deep inside generate
23217         blocks.
23218         (verilog-init-font): Remove definition & use of verilog-init-font,
23219         as it is redundant with font-lock-defaults.
23220         (verilog-mode): Alter the definition of verilog-font-lock-defaults
23221         to avoid circular calls if syntax-ppss is a function (as is the
23222         case now in 22.x GNU Emacs) as that function would sometimes call
23223         itself, leading to (nearly) infinite recursion.
23224         (verilog-ovm-begin-re, verilog-ovm-end-re)
23225         (verilog-ovm-statement-re, verilog-leap-to-head)
23226         (verilog-backward-token): Add support for OVM macros.  Some are
23227         complete statements, and others open and close scopes like begin
23228         and end.
23229         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
23230         (verilog-defun-level-generate-only-re): Really fix the defun-list
23231         compilation issue.
23232         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
23233         coverpoint, constraint and cross statements.
23234         (verilog-defun-level-list, verilog-generate-defun-level-list)
23235         (verilog-all-defun-level-list): Redo these specifications - it is
23236         too hard to support eval-when compile aggregation of lists also
23237         built at when-compile time.
23238         (verilog-defun-level-list): Place defconsts of variables used in
23239         building regular expressions which are built in eval-when-compile
23240         bodies in the same eval-when-compile body to facilitate compile
23241         without load.
23242         (verilog-beg-block-re-ordered): Support indenting
23243         virtual/protected tasks and functions.
23244         (verilog-defun-level-list, verilog-in-generate-region-p)
23245         (verilog-backward-ws&directives, verilog-calc-1): Speed up
23246         indentation of some module items (generate items).
23247         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
23248         across virtual/protected tasks and functions.
23250 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
23252         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
23253         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
23254         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
23255         in concatenations.  Reported by Yishay Belkind.
23256         (verilog-auto-ascii-enum): Support one-hot state machines in
23257         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
23258         (verilog-auto-inst, verilog-auto-inst-port): Include interface
23259         modport in AUTOINST and add vl-modport for users.
23260         Reported by David Rogoff.
23261         (verilog-auto-inout-module, verilog-auto-inst)
23262         (verilog-decls-get-interfaces, verilog-insert-definition)
23263         (verilog-insert-one-definition, verilog-read-decls)
23264         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
23265         (verilog-sig-modport, verilog-signals-combine-bus)
23266         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
23267         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
23268         Suggested by David Rogoff.
23269         (verilog-repair-open-comma): Fix non-insertion of comma when
23270         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
23271         (verilog-make-width-expression): Simplify [A-1:0] expression
23272         widths to just {A{1'b0}}.
23273         (verilog-mode): Cleanup checkdoc warnings.
23274         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
23275         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
23276         inputs/outputs or data type.  Suggested by Vasu Kandadi.
23277         (next-error-last-buffer): Fix byte-compiler warning.
23278         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
23279         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
23280         or shell command text during AUTO expansion.  Suggested by Tad Truex.
23281         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
23282         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
23283         Fix dotted nets {a.b,c.d} and escaped identifiers being mis-included
23284         in AUTOINOUT.  Reported by Matthew Lovell.
23285         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
23286         causing use of <= assignments.  Reported by Alex Reed.
23287         (verilog-read-decls): Fix triand, trior, wand, wor to be
23288         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
23289         (verilog-extended-complete-re): Support import "DPI-C" functions.
23290         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
23291         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
23292         (verilog-insert-date, verilog-insert-year)
23293         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
23294         Windows systems.  Reported by Michael Potts.
23295         (verilog-read-module-name): Fix AUTOINST when the child module
23296         declaration's name is a tick define.  Reported by Elliot Mednick.
23297         (verilog-read-decls): Fix V2K parameter bit subscripts getting
23298         passed to next parameter's definition.  Reported by Bruce T.
23299         (verilog-read-decls): Fix detecting "parameter int" when using
23300         AUTOINSTPARAM.  Reported by Bruce T.
23301         (verilog-goto-defun): Fix goto not finding modules unless first
23302         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
23303         (verilog-mode): Expand -f flag arguments on entry to mode so
23304         verilog-goto-defun will work.  Reported by Lawrence Butcher.
23305         (verilog-getopt): Expand environment variables in -f file
23306         arguments.  Suggested by Lawrence Butcher.
23307         (verilog-set-define): Fix "Symbol's value as variable is void"
23308         when reading enumerations.
23309         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
23310         Suggested by Stephen Peltan.
23311         (verilog-read-defines): Fix reading of enumerations in include
23312         files.  Reported by Steve Peltan.
23314 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
23316         * files.el (trash-directory): Fix defcustom type.
23318 2009-06-28  Juri Linkov  <juri@jurta.org>
23320         * help-fns.el (describe-function-1): Correctly locate adviced
23321         functions in hyperlink (Bug#2438).
23323 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
23325         * files.el (trash-directory): Change default to nil.
23326         (move-file-to-trash): If trash-directory is nil and
23327         system-move-file-to-trash is unbound, perform freedesktop-style
23328         trashing.
23330 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
23332         * files.el (move-file-to-trash): Add freedesktop trash
23333         support (Bug#973).
23335 2009-06-28  Glenn Morris  <rgm@gnu.org>
23337         * autorevert.el (global-auto-revert-non-file-buffers)
23338         (global-auto-revert-mode): Doc fixes.
23340 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
23342         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
23344 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
23346         * faces.el (x-handle-named-frame-geometry): Ensure that we have
23347         opened an X connection before calling x-get-resource (Bug#3194).
23349         * play/doctor.el: Remove reference to obsolete website.
23350         (make-doctor-variables): Correct grammar mistake (Bug#2633).
23352 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
23354         Remove find-file-not-found-hook VC method.  (Bug#2757)
23355         * vc-hooks.el (vc-file-not-found-hook)
23356         (vc-default-find-file-not-found-hook): Remove functions.
23357         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
23358         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
23359         * vc.el:
23360         * vc-hg.el:
23361         * vc-git.el: Do not mention find-file-not-found-hook VC method.
23363 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
23365         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
23366         compatibility function for `looking-back'.
23368         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
23369         Use `ispell-looking-back'.
23371 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
23373         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
23374         rather than `filename'.
23376 2009-06-23  Miles Bader  <miles@gnu.org>
23378         * face-remap.el (text-scale-set): New function.
23380 2009-06-23  Glenn Morris  <rgm@gnu.org>
23382         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
23384         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
23386         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
23388         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
23390         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
23391         Simplify Persian conditionals.
23393         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
23394         variable `filename'.
23396         * comint.el (comint-insert-input): Doc fix.
23398         * Makefile.in (ELCFILES): Fix typo in previous change.
23400 2009-06-23  Miles Bader  <miles@gnu.org>
23402         * cus-start.el: Add entry for `recenter-redisplay'.
23404 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
23406         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
23407         Add an optional argument for the backend, use it instead of
23408         calling vc-backend.
23409         (vc-mode-line): Add an optional argument for the backend.
23410         Pass the backend to vc-state and vc-working-revision.  Move code for
23411         special handling for vc-state being a buffer to ...
23413         * vc-rcs.el (vc-rcs-find-file-hook):
23414         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
23416         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
23417         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
23418         vc-stay-local-p and vc-mode-line calls.
23420         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
23421         (vc-cvs-diff, vc-cvs-annotate-command)
23422         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
23423         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
23424         vc-mode-line calls.
23426         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
23427         direct comparison.
23428         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
23429         backend when calling vc-mode-line.
23430         (vc-register): Do not create a closure for calling the vc register
23431         function, call it directly.
23433 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
23435         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
23436         to make it obvious item can be clicked.
23438         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
23440 2009-06-23  Kenichi Handa  <handa@m17n.org>
23442         * language/korea-util.el (korean-key-bindings): Change the binding
23443         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
23444         same command.
23446 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
23448         Sync with Tramp 2.1.16.
23450         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
23452         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
23453         when a loading of a package fails.  Completion function for rsync
23454         is `tramp-completion-function-alist-ssh'.
23455         (all): Replace all calls of `split-string' and
23456         `tramp-split-string' by `tramp-compat-split-string'.
23457         (tramp-default-method): Use `tramp-compat-process-running-p'.
23458         (tramp-default-proxies-alist): Allow also Lisp forms.
23459         (tramp-remote-path): Add choice "Private Directories".
23460         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
23461         (tramp-domain-regexp): Allow also "-", "_" and ".".
23462         (tramp-end-of-output): Remove newlines, and add "$" at the end.
23463         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
23464         (tramp-debug-message): Insert header line in debug buffer.
23465         (tramp-handle-directory-files-and-attributes-with-stat):
23466         Care about filenames with spaces, or starting with "-".
23467         (tramp-handle-dired-uncache): New defun.
23468         (tramp-handle-insert-directory): Don't flush the directory from
23469         cache, this is handled by `dired-uncache' now.
23470         (tramp-handle-insert-file-contents): Improve error handling.
23471         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
23472         Quote `tramp-end-of-output'.
23473         (tramp-action-password): Improve trace message.
23474         (tramp-check-for-regexp): Both echoes must be present, before removing.
23475         (tramp-open-connection-setup-interactive-shell): Trace coding system.
23476         (tramp-compute-multi-hops): Eval cons cells of
23477         `tramp-default-proxies-alist'.
23478         (tramp-maybe-open-connection): Use the same command pattern for
23479         first hop and further hops.
23480         (tramp-wait-for-output): Remove handling of newlines.
23481         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
23482         (tramp-split-string): Remove function.  It is handled in
23483         tramp-compat now.
23485         * net/tramp-cmds.el (tramp-bug):
23486         Recommend `tramp-cleanup-all-connections' in the bug mail.
23488         * net/tramp-compat.el (tramp-compat-split-string)
23489         (tramp-compat-process-running-p): New defuns.
23491         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
23492         for `dired-uncache'.
23494         * net/tramp-gvfs.el: New package.
23496         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
23497         Add handler for `dired-uncache'.
23498         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
23500         * net/trampver.el: Update release number.  Make version check fit
23501         for SXEmacs 22.
23503 2009-06-22  Jim Meyering  <meyering@redhat.com>
23505         Automatically handle .xz suffix (XZ-compressed files), too.
23506         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
23507         XZ is the successor to LZMA: <http://tukaani.org/xz/>
23509 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
23510             Nick Roberts  <nickrob@snap.net.nz>
23512         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
23513         repository (http://sphinx.net.ru/hg/gdb-mi/).
23515 2009-06-22  Glenn Morris  <rgm@gnu.org>
23517         * files.el (dir-locals-collect-mode-variables): Allow for any number of
23518         `mode' and `eval' entries.  (Bug#3430)
23520         * Makefile.in (ELCFILES): Add fadr.elc.
23522         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
23523         differing behavior of \n and ^ in strings.  (Bug#3385)
23525         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
23527         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
23528         property.
23529         (lisp-indent-function): Make it a defcustom.
23531 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
23533         * progmodes/gdb-ui.el: Replace with ...
23534         * progmodes/gdb-mi.el: ... this file.
23535         * progmodes/gud.el: Modify for gdb-mi.el.
23537 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
23539         * fadr.el: New file.
23541 See ChangeLog.14 for earlier changes.
23543 ;; Local Variables:
23544 ;; coding: utf-8
23545 ;; End:
23547   Copyright (C) 2009-2011  Free Software Foundation, Inc.
23549   This file is part of GNU Emacs.
23551   GNU Emacs is free software: you can redistribute it and/or modify
23552   it under the terms of the GNU General Public License as published by
23553   the Free Software Foundation, either version 3 of the License, or
23554   (at your option) any later version.
23556   GNU Emacs is distributed in the hope that it will be useful,
23557   but WITHOUT ANY WARRANTY; without even the implied warranty of
23558   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23559   GNU General Public License for more details.
23561   You should have received a copy of the GNU General Public License
23562   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.