Merge from emacs-23 branch, up to 2010-05-20T22:16:19Z!juri@jurta.org.
[emacs.git] / lisp / ChangeLog
blob2d3815342285ff625348679d71e4c5946a3c8fb5
1 2011-01-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
4         keymap expression.  Improve docstring.
6 2011-01-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8         * electric.el (electric-indent-post-self-insert-function):
9         Don't auto-indent for indent-to-left-margin, it's too often
10         counter-productive.
12 2011-01-16  Tassilo Horn  <tassilo@member.fsf.org>
14         * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
15         spaces if the frame was resized, so that the full visible buffer
16         serves as canvas for strokes.
18 2011-01-16  Glenn Morris  <rgm@gnu.org>
20         * info-xref.el (info-xref-docstrings): Replace cl function.
21         Also skip directories.
23 2011-01-16  Kevin Ryde  <user42@zip.com.au>
25         * info-xref.el: Version 3.
26         (info-xref-check, info-xref-check-all): Move commentary details
27         into docstrings for better visibility.
28         Use compilation-mode for the results buffer.
29         (info-xref-output, info-xref-output-error, info-xref-with-output)
30         (info-xref-filename, info-xref-in-progress):
31         New internals for this.
32         (info-xref-check-list, info-xref-check-buffer)
33         (info-xref-check-all-custom): Use those.
34         (info-xref-output-buffer): Rename from info-xref-results-buffer.
35         (info-xref-output-heading): Rename from info-xref-filename-heading.
36         (info-xref-good, info-xref-bad, info-xref-xfile-alist)
37         (info-xref-filename-heading): Move to output managing section.
38         (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
39         (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
40         (info-xref-subfile-p): Move to generic section with those two.
41         (info-xref-check-node): New function split from
42         info-xref-check-buffer, shared by info-xref-docstrings.
43         (info-xref-goto-node-p): Move to a checking section with that func.
44         (info-xref-unavail): New counter.
45         (info-xref-check-node): Use it.
46         (info-xref-with-output): Show count of unavailables at end of output.
47         (info-xref-all-info-files): Exclude ".*" dotfiles.  Ignore broken
48         symlinks.  Exclude .texi files.  Exclude Emacs backup files.
49         (info-xref-check-all-custom): Fix quietening viper-mode and
50         gnus-registry-install -- use setq not let so as not to unbind
51         after load.
53 2011-01-16  Juri Linkov  <juri@jurta.org>
55         * isearch.el (isearch-abort): Don't quit if search has
56         an incomplete regexp (isearch-error is non-nil).  (Bug#7534)
58 2011-01-15  Mark Diekhans  <markd@soe.ucsc.edu>
60         * files.el (backup-buffer): Make last-resort backup file in
61         .emacs.d (Bug#6953).
63         * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
64         make it with permission 700.
66 2011-01-15  Kenichi Handa  <handa@m17n.org>
68         * mail/rmailmm.el (rmail-mime-insert-header):
69         Set rmail-mime-coding-system to a cons whose car is the last coding
70         system used to decode the header.
71         (rmail-mime-find-header-encoding): New function.
72         (rmail-mime-insert-decoded-text):
73         Override rmail-mime-coding-system if it is a cons.
74         (rmail-show-mime): If only a header part was decoded, find the
75         coding system while ignoring mm-charset-override-alist.
77 2011-01-15  Chong Yidong  <cyd@stupidchicken.com>
79         * subr.el (event-start, event-end): Doc fix (Bug#7826).
81 2011-01-15  Kenichi Handa  <handa@m17n.org>
83         * mail/rmailmm.el (rmail-mime-next-item)
84         (rmail-mime-previous-item): Delete them.
85         (rmail-mime-shown-mode): Recursively call for children.
86         (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
87         Callers changed.
88         (rmail-mime-raw-mode): Recursively call for children.
89         (rmail-mode-map): Change mapping of tab and backtab to
90         forward-button and backward-button respectively.
91         (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
92         button.
93         (rmail-mime-update-tagline): New function.
94         (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
95         body display is changed.
96         (rmail-mime-toggle-button): Rename from rmail-mime-image.
97         (rmail-mime-image): Delete this button type.
98         (rmail-mime-toggle): New button type.
99         (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
100         body display is changed.  Change the save button label to "Save".
101         Don't process show/hide button here.
102         (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
103         the body display is changed.  Unconditionally call
104         rmail-mime-insert for children.
105         (rmail-mime-handle): Update `display' vector of the just inserted
106         entity.
107         (rmail-mime-process): If mail-header-parse-content-type returns
108         nil, use "text/plain" as the fallback type.
109         (rmail-mime-insert): For raw-mode, recursively call
110         rmail-mim-insert for children.
111         (rmail-mime): Handle the case that the current buffer is not rmail
112         buffer (e.g. in summary buffer).
114 2011-01-15  Kenichi Handa  <handa@m17n.org>
116         * mail/rmailmm.el (rmail-mime-next-item)
117         (rmail-mime-previous-item): Skip the body of a non-multipart
118         entity if a tagline is shown.
120 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
122         * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
123         (tmm-prompt): Simplify.
124         (tmm-add-prompt): Remove unused var `win'.
126         * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
127         to minor mode which used nil accidentally to mean "turn off".
129 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
131         * net/tramp-sh.el (tramp-find-inline-compress)
132         (tramp-get-inline-coding): Quote command after pipe symbol for
133         local calls under W32.  (Bug#6784)
135 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
137         * net/tramp.el (tramp-default-method): Initialize with pscp/plink
138         only when running under W32.
140 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
142         * progmodes/grep.el (grep-compute-defaults): Quote the program
143         file name after the pipe symbol in Grep templates.  (Bug#6784)
144         * jka-compr.el (jka-compr-partial-uncompress): Likewise.
146 2011-01-15  Lennart Borgman  <lennart.borgman@gmail.com>
148         * buff-menu.el (Buffer-menu-buffer-list): New var.
149         (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
150         restricted buffer list is not lost on revert (Bug#7749).
152 2011-01-15  Eric Hanchrow  <eric.hanchrow@gmail.com>
154         * net/ldap.el (ldap-search-internal): Discard stderr output.
156 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
158         * files.el (directory-abbrev-alist): Doc fix.  (Bug#7777)
160 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
162         * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
164 2011-01-15  Kenichi Handa  <handa@m17n.org>
166         * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
167         part as a plain text.
168         (rmail-mime-process-multipart): Set the default content-type to
169         nil for unknown multipart subtypes (bug#7651).
171 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
173         * hexl.el (hexl-mode-old-*): Remove.
174         (hexl-mode--old-var-vals): New var to replace them.
175         (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
176         (hexl-mode, hexl-follow-line, hexl-activate-ruler):
177         Use them to set local vars (bug#7846).
178         (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
179         (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
180         (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
182         * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
183         (smerge-resolve--normalize-re): New var.
184         (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
185         (smerge-resolve): Use them.
186         * newcomment.el (comment-only-p): New function.
187         (comment-or-uncomment-region): Use it.
189 2011-01-14  Brent Goodrick  <bgoodr@gmail.com>  (tiny change)
191         * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
192         table, get the value before switching to the output buffer.  (Bug#7733)
194 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
196         * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
198 2011-01-14  Kim F. Storm  <storm@cua.dk>
200         * emulation/cua-base.el (cua--init-keymaps):
201         Remap exchange-point-and-mark in cua-global-keymap.
203 2011-01-14  Tassilo Horn  <tassilo@member.fsf.org>
205         * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
206         loop keyword.
208 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
210         * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
211         Require CL.
212         (easy-menu-create-menu, easy-menu-convert-item-1):
213         Use :label rather than nil for labels.  Use `case'.
214         Add :enable as alias for :active.
215         (easy-menu-binding): Obey :label.
217 2011-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
219         Use run-mode-hooks for major mode hooks (bug#513).
220         * textmodes/reftex-toc.el (reftex-toc-mode-map):
221         Rename from reftex-toc-map.
222         (reftex-toc-mode): Use define-derived-mode.
223         * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
224         (reftex-select-label-mode-map, reftex-select-bib-mode-map):
225         Rename from reftex-select-(label|bib)-map.  Move init into declaration.
226         (reftex-select-label-mode, reftex-select-bib-mode):
227         Use define-derived-mode.
228         * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
229         (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
230         Move init into delcaration.
231         (reftex-index-mode, reftex-index-phrases-mode):
232         Use define-derived-mode.
233         * speedbar.el (speedbar-mode-syntax-table): Renaqme from
234         speedbar-syntax-table.  Move init into declaration.
235         (speedbar-mode-map): Rename from speedbar-key-map.
236         Move init into declaration.
237         (speedbar-file-key-map): Move init into declaration.
238         (speedbar-mode): Use define-derived-mode.
239         * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
240         * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
241         * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
242         (chart-face-list): Move initialization into declaration.
243         (chart-mode): Use define-derived-mode.
244         * calculator.el (calculator-mode-map): Move init into declaration.
245         (calculator-mode): Use define-derived-mode.
247         * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
248         work for nested comments.
250         * progmodes/prolog.el: Use syntax-propertize.  Further code cleanup.
251         (prolog-use-prolog-tokenizer-flag): Change default when
252         syntax-propertize can be used.
253         (prolog-syntax-propertize-function): New var.
254         (prolog-mode-variables): Move make-local-variable into `set'.
255         Don't make comment-column local since we don't set it.
256         Set comment-add (as it was in previous prolog.el).  Use dolist.
257         Set syntax-propertize-function.
258         (prolog-mode, prolog-inferior-mode):
259         Call prolog(-inferior)-menu directly, not through the mode-hook.
260         (prolog-buffer-module, prolog-indent-level)
261         (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
262         (prolog-comment-limits, prolog-goto-comment-column):
263         Use line-(end|beginning)-position.
264         (prolog-build-prolog-command): Tighten up regexp.
265         (prolog-consult-compile): Move make-local-variable into `set'.
266         (prolog-consult-compile-filter, prolog-goto-next-paren)
267         (prolog-help-on-predicate, prolog-clause-info)
268         (prolog-mark-predicate): Don't let+setq.
269         (prolog-indent-line): Use indent-line-to.
270         Only call prolog-goto-comment-column if necessary.
271         (prolog-indent-level): Use bobp.
272         (prolog-first-pos-on-line): Remove, not used any more.
273         (prolog-in-string-or-comment): Use syntax-ppss if available.
274         (prolog-help-on-predicate): Use read-string.
275         (prolog-goto-predicate-info): Simplify.
276         (prolog-read-predicate): Use `default' rather than `initial'.
277         (prolog-temporary-file): Use make-temp-file to close a security hole.
278         (prolog-toggle-sicstus-sd): New command.
279         (prolog-electric-underscore, prolog-variables-to-anonymous):
280         Use dynamic-scoping as it was meant.
281         (prolog-menu): Move menu definitions to top-level.
282         Use a toggle-button for Sicstus's source debugger.
283         Change "Code" to the more usual "Prolog", and hence change "Prolog"
284         to "System".
285         (prolog-inferior-menu): Reuse prolog-menu's help menu.
286         Move other menu definition to top-level.
288 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
290         * doc-view.el (doc-view-open-text): Use meaningful text buffer
291         name.  Keep original document's directory as default-directory
292         (bug#6446).
293         (doc-view-initiate-display): Fall back to normal mode when
294         doc-view-mode cannot be enabled, also when extracting the document
295         text into a separate buffer (bug#6446).
297         * simple.el (shell-command): Don't error out if shell command
298         buffer contains text with non-nil read-only property when erasing
299         the buffer.
301 2011-01-13  Kim F. Storm  <storm@cua.dk>
303         * ido.el (ido-may-cache-directory): Move "too-big" check later.
304         (ido-next-match, ido-prev-match): Fix stray reordering of matching
305         items when cycling through the matches.
307 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
309         * dired-x.el (dired-omit-verbose): New defcustom that allows
310         disabling the omit messages.
311         (dired-omit-expunge): Use it.
313 2011-01-13  Christian Ohler  <ohler@gnu.org>
315         * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
317 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
319         * font-lock.el (font-lock-verbose): Default to nil.
321 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
323         * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
324         (compose-mail): New arg RETURN-ACTION.
325         (compose-mail-other-window, compose-mail-other-frame): Likewise.
327         * mail/sendmail.el (mail-return-action): New var.
328         (mail-mode): Make it buffer-local.
329         (mail-bury): Obey it.  Move special Rmail window handling to
330         rmail-mail-return.
331         (mail, mail-setup): New arg RETURN-ACTION.
332         (sendmail-user-agent-compose): Move from simple.el.
334         * mail/rmail.el (rmail-mail-return): New function.
335         (rmail-start-mail): Pass it to compose-mail.
337 2011-01-12  Chong Yidong  <cyd@stupidchicken.com>
339         * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
340         menus.  Add menu item for customize-themes.
342         * cus-theme.el (customize-themes):
343         * emacs-lisp/package.el (package--list-packages):
344         Use switch-to-buffer.
346 2011-01-11  Johan Bockgård  <bojohan@gnu.org>
348         * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
350 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
352         * progmodes/prolog.el: Fix up coding convention and such.
353         (prolog-indent-width): Use the same default as in
354         previous prolog.el rather than tab-width which depends on which buffer
355         is current when the file is loaded.
356         (prolog-electric-newline-flag): Only enable if electric-indent-mode
357         is not available.
358         (prolog-emacs): Remove.  Use (featurep 'xemacs) instead.
359         (prolog-known-systems): Remove.
360         (prolog-mode-syntax-table, prolog-inferior-mode-map):
361         Move initialization into declaration.
362         (prolog-mode-map): Move initialization into declaration.
363         Remove system-specific mode-map vars, since they referred to the same
364         keymap anyway.
365         (prolog-mode-variables): Obey the user's preference w.r.t
366         adaptive-fill-mode.  Prefer symbol-value to `eval'.
367         (prolog-mode-keybindings-edit): Add compatibility bindings.
368         (prolog-mode): Use define-derived-mode.  Don't handle mercury here.
369         (mercury-mode-map): New var.
370         (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
371         (prolog-ensure-process, prolog-process-insert-string)
372         (prolog-consult-compile): Use with-current-buffer.
373         (prolog-guess-fill-prefix): Simplify data flow.
374         (prolog-replace-in-string): New function to use instead of
375         replace-in-string.
376         (prolog-enable-sicstus-sd): Don't abuse `eval'.
377         (prolog-uncomment-region): Use `uncomment-region' when available.
378         (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
379         (prolog-int-to-char, prolog-char-to-int): New functions to use instead
380         of int-to-char and char-to-int.
381         (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
383 2011-01-11  Stefan Bruda  <stefan@bruda.ca>
385         * progmodes/prolog.el: Replace by a whole new file.
387 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
389         * subr.el (eval-after-load): Fix timing for features (bug#7769).
390         (declare-function, undefined, insert-for-yank)
391         (replace-regexp-in-string): Follow checkdoc's recommendations.
393 2011-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
395         * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
396         refreshing the diary buffer.
398 2011-01-10  Ken Manheimer  <ken.manheimer@gmail.com>
400         * allout.el: Add 2011 to the file copyright.
401         (allout-encrypt-string): Prevent encryption from adding an extra
402         newline at the end of the topic body.
403         (allout-version): Increment to 2.3.
405 2011-01-10  Michael Albinus  <michael.albinus@gmx.de>
407         * net/dbus.el (dbus-unregister-service): Complete doc.
408         Fix call of dbus-error signal.
409         (dbus-register-property): Use `dont-register' keyword.
411 2011-01-10  Jan Moringen  <jan.moringen@uni-bielefeld.de>
413         * net/dbus.el (dbus-unregister-service): Translate returned
414         integer into a symbol.
415         (dbus-register-property): Use `dbus-register-service' to do the
416         name registration.
418 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
420         * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
421         Suggested by Joakim Verona.
423         * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
425         * wid-edit.el (visibility): Replace :on-image and :off-image
426         widget properties with :on-glyph and :off-glyph, for consistency
427         with the `visibility' widget.
428         (widget-toggle-value-create, widget-visibility-value-create):
429         Merge into a single function `widget-toggle-value-create'.
431         * cus-edit.el (custom-variable-value-create, custom-visibility)
432         (custom-face-edit-value-create, custom-face-value-create):
433         Replace :on-image and :off-image widget properties with :on-glyph and
434         :off-glyph, for consistency with the `visibility' widget.
436 2011-01-09  Andreas Schwab  <schwab@linux-m68k.org>
438         * net/ldap.el (ldap-search-internal): Don't use eval.
440 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
442         * subr.el (read-char-choice): Use read-key.
444         * custom.el (custom-safe-themes): Rename from
445         custom-safe-theme-files.  Add :risky tag.
446         (load-theme, custom-theme-load-confirm): Save sha1 hashes to
447         custom-safe-themes, not filenames.  Suggested by Stefan Monnier.
449 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
451         * tool-bar.el (tool-bar-setup): Remove Help button.  Remove label
452         from Search and add a label to Undo.
454         * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
455         inappropriate buttons and adding :vert-only tags.
457         * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
458         removal of Help tool-bar button.  Remove Undo button for space.
460         * info.el (info-tool-bar-map): Add :vert-only tags.
462 2011-01-08  Tassilo Horn  <tassilo@member.fsf.org>
464         * doc-view.el (doc-view-mode-p): Check for png or imagemagick
465         image backend support.  Either of them is fine.
467 2011-01-08  Chong Yidong  <cyd@stupidchicken.com>
469         * subr.el (y-or-n-p): Doc fix.
471         * custom.el (custom-safe-theme-files): New defcustom.
472         (custom-theme-load-confirm): New function.
473         (load-theme): Load theme using `load', confirming with
474         custom-theme-load-confirm if necessary.
476         * subr.el (read-char-choice): New function, factored out from
477         dired-query and hack-local-variables-confirm.
479         * dired-aux.el (dired-query):
480         * files.el (hack-local-variables-confirm): Use it.
482         * dired-aux.el (dired-compress-file):
483         * files.el (abort-if-file-too-large, find-alternate-file)
484         (set-visited-file-name, write-file, backup-buffer)
485         (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
486         (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
487         Use new format string args for y-or-n-p and yes-or-no-p.
489 2011-01-08  Andreas Schwab  <schwab@linux-m68k.org>
491         * progmodes/compile.el (compilation-error-regexp-alist-alist)
492         [gcc-include]: Tighten file name match, add match for column
493         number.  (Bug#7806)
494         [gnu]: Remove unused group.
496 2011-01-08  Glenn Morris  <rgm@gnu.org>
498         * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
500         * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
502 2011-01-07  Sam Steingold  <sds@gnu.org>
504         * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
505         the `explicit-shell-file-name' because that is the
506         non-interactive shell.
508 2011-01-07  Chong Yidong  <cyd@stupidchicken.com>
510         * subr.el (y-or-n-p): Accept format string args.
512 2011-01-07  Glenn Morris  <rgm@gnu.org>
514         * Makefile.in (EMACSOPT): Add --no-site-lisp.
516 2011-01-06  Ken Manheimer  <ken.manheimer@gmail.com>
518         * allout.el (allout-back-to-current-heading): Ensure return to
519         the visible containing topic, rather than a collapsed one.
520         (allout-view-change-hook): Remove hook that was deprecated long ago.
521         (allout-exposure-change-hook): Remove documentation remarks
522         concerning removed allout-view-change-hook.
523         (allout-flag-region): Remove invocation of and documentation
524         remarks concerning allout-view-change-hook.
526 2011-01-06  Glenn Morris  <rgm@gnu.org>
528         * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
529         (vc-bzr-annotate-extract-revision-at-line):
530         Handle authors with embedded spaces.  (Bug#7792)
532 2011-01-05  Tassilo Horn  <tassilo@member.fsf.org>
534         * doc-view.el (doc-view-image-width): New variable.
535         (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
536         backend for PNG images, and do dynamic rescaling instead of
537         reconverting the whole doc.
539 2011-01-05  Glenn Morris  <rgm@gnu.org>
541         * emacs-lisp/rx.el (rx-repeat): Replace CL function.
543 2011-01-04  Ken Manheimer  <ken.manheimer@gmail.com>
545         * allout.el: Reconcile with changes in line movement behavior for
546         long text lines that cross more than a single physical window
547         line, ie when truncate-lines is nil.
548         (allout-next-visible-heading): Provide for change in line-move
549         behavior on long lines when truncate-lines is nil.  In that case,
550         line-move can wind up on the same textual line when it moves to
551         the next window line, and moving to the bullet position after the
552         move yields zero advancement.  Add logic to detect and compensate
553         for the lack of progress.
554         (allout-current-topic-collapsed-p): move-end-of-line respect for
555         field boundaries is different when operating with body lines
556         shorter than window width versus ones greater than window width,
557         which can yield false negatives in this function.  Avoid
558         difference by applying move-end-of-line while field-text-motion is
559         inhibited.
561 2011-01-04  Glenn Morris  <rgm@gnu.org>
563         * textmodes/rst.el (rst-compile-toolsets):
564         Add pdf and s5 to option alist.
566 2011-01-04  Jan Moringen  <jan.moringen@uni-bielefeld.de>
568         * net/dbus.el (dbus-register-property): Add optional parameter
569         dont-register-service.  Updated docstring accordingly.
571 2011-01-04  Andreas Schwab  <schwab@linux-m68k.org>
573         * textmodes/rst.el (rst-compile-pdf-preview)
574         (rst-compile-slides-preview): Remove extra line.
576 2011-01-04  Glenn Morris  <rgm@gnu.org>
578         * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
579         Add `pdf' and `s5' entries.  Use `prog.py' if found, otherwise
580         default to `prog' without a .py extension.
581         (rst-compile-pdf-preview, rst-compile-slides-preview):
582         Use program names from rst-compile-toolsets, rather than hard-coding.
583         (rst-portable-mark-active-p): Fix presumed typo.
585 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
587         * term/w32-win.el (dynamic-library-alist): Set up correctly for
588         libpng versions both before and after 1.4.0.  (Bug#7716)
590 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
592         * time.el (display-time-mode): Mention display-time-interval in
593         the doc string.  (Bug#7713)
595 2011-01-02  Kenichi Handa  <handa@m17n.org>
597         * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
598         condition-case and return an error message string if something
599         goes wrong.
600         (rmail-show-mime): Adjust for the above change.  Insert the
601         header by rmail-mime-insert-header.
603 2011-01-02  Kenichi Handa  <handa@m17n.org>
605         * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
606         rmail-mime-previous-item, and rmail-mime-toggle-hidden.
607         (rmail-mime-mbox-buffer)
608         (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
609         (rmail-mime-entity): Argument changed.  All codes handling an
610         entity object are changed.
611         (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
612         the above change.
613         (rmail-mime-entity-children, rmail-mime-entity-handler)
614         (rmail-mime-entity-tagline): New functions.
615         (rmail-mime-message-p): New function.
616         (rmail-mime-save): Bind rmail-mime-mbox-buffer.
617         (rmail-mime-entity-segment, rmail-mime-next-item)
618         (rmail-mime-previous-item, rmail-mime-shown-mode)
619         (rmail-mime-hidden-mode, rmail-mime-raw-mode)
620         (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
621         (rmail-mime-insert-tagline, rmail-mime-insert-header):
622         New functions.
623         (rmail-mime-text-handler): Call rmail-mime-insert-text.
624         (rmail-mime-insert-decoded-text): New function.
625         (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
626         (rmail-mime-insert-image): Argument changed.  Caller changed.
627         (rmail-mime-image): Call rmail-mime-toggle-hidden.
628         (rmail-mime-set-bulk-data): New funciton.
629         (rmail-mime-insert-bulk): Argument changed.
630         (rmail-mime-multipart-handler): Return t.
631         (rmail-mime-process-multipart): Argument changed.
632         Handle "multipart/alternative" here.
633         (rmail-mime-process): Argument changed.
634         (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
635         (rmail-mime-insert): Argument changed.  Handle raw display mode.
636         (rmail-mime): Argument changed.  Handle toggling of raw display
637         mode.
638         (rmail-show-mime): Bind rmail-mime-mbox-buffer and
639         rmail-mime-view-buffer.
640         (rmail-insert-mime-forwarded-message): Likewise.
641         (rmail-search-mime-message): Likewise.  Don't bind rmail-buffer.
643         * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
644         non-nil, handle the header in rmail-show-mime-function.
646 2011-01-02  Leo  <sdl.web@gmail.com>
648         * help-fns.el (describe-variable): Fix previous change.
650 2011-01-02  Juri Linkov  <juri@jurta.org>
652         * isearch.el (isearch-lazy-highlight-error): New variable.
653         (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
654         `isearch-lazy-highlight-error'.  Set `isearch-lazy-highlight-error'
655         to the current value of `isearch-error' (Bug#7468).
657 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
659         * help-fns.el (describe-variable): Don't emit trailing whitespace
660         (Bug#7511).
662 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
664         * textmodes/rst.el (rst-compile-pdf-preview)
665         (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
667 2011-01-02  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
669         * emulation/edt-mapper.el: Override mapping of function keys so
670         that the later call to read-key-sequence works.
672 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
674         * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
675         Unix EOLs.  (Bug#7589)
677 2011-01-02  Leo  <sdl.web@gmail.com>
679         * eshell/em-hist.el (eshell-previous-matching-input): Signal error
680         if point is not behind eshell-last-output-end (Bug#7585).
682 2011-01-02  Stefan Monnier  <monnier@iro.umontreal.ca>
684         * files.el (file-local-variables-alist):
685         Make permanent-local (bug#7767).
687 2011-01-02  Glenn Morris  <rgm@gnu.org>
689         * version.el (emacs-copyright): Set short copyright year to 2011.
691 2011-01-02  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
693         * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
694         an existing temp buffer.  (Bug#7746)
696 2011-01-02  Glenn Morris  <rgm@gnu.org>
698         * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
699         multiple addresses.  (Bug#7760)
701 2011-01-01  Ken Manheimer  <ken.manheimer@gmail.com>
703         * allout.el (allout-auto-fill): Do not infinitely recurse - use
704         do-auto-fill if everything points back to allout-auto-fill.
705         (allout-mode-deactivate-hook): Declare obsolete, in favor of
706         standard-formed minor-mode deactivate hook, allout-mode-off-hook.
708 2010-12-31  Michael Albinus  <michael.albinus@gmx.de>
710         * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
711         and "scpx".
713 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
715         * doc-view.el (doc-view-set-doc-type): New function refactored
716         from doc-view-mode.
717         (doc-view-fallback-mode): New function.
718         (doc-view-mode): Use it.
719         (doc-view-mode-maybe): New function that checks if doc-view-mode
720         can be used and falls back to the next best mode otherwise.
722         * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
723         DVI, OpenDocument, and MS Office files.
725 2010-12-30  Andreas Schwab  <schwab@linux-m68k.org>
727         * emacs-lisp/rx.el (rx-syntax): Fix typo.
729 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
731         * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
732         on a copy of auto-mode-alist, because that deletes with side
733         effects.
735 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
737         * doc-view.el (doc-view-mode, doc-view-toggle-display):
738         Use normal-mode without doc-view-mode bindings in auto-mode-alist as
739         fallback instead of hard coding fundamental mode.
741 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
743         * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
744         Office) files also for searching.
746 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
748         * doc-view.el: Implement viewing of OpenDocument (and Microsoft
749         Office) files.  Not yet enabled via auto-mode-list.
750         (doc-view-unoconv-program): New custom variable.
751         (doc-view-mode-p): Handle new odf document type.
752         (doc-view-odf->pdf): New conversion function.
753         (doc-view-convert-current-doc): Call it for odf files.
754         (doc-view-mode): Recognize newly supported file extensions.
756 2010-12-30  Michael Albinus  <michael.albinus@gmx.de>
758         * net/tramp.el (tramp-default-method-alist)
759         (tramp-default-user-alist)
760         (tramp-local-host-regexp, tramp-prefix-domain-format)
761         (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
763         * net/tramp-ftp.el:
764         * net/tramp-gvfs.el:
765         * net/tramp-gw.el:
766         * net/tramp-imap.el:
767         * net/tramp-sh.el:
768         * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
769         code of `tramp-default-method-alist' and `tramp-default-user-alist'.
771 2010-12-29  Karl Fogel  <kfogel@red-bean.com>
773         * saveplace.el (save-place-alist-to-file): Save list sorted and
774         pretty-printed, so that it is mergeable by line-based text merging,
775         as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
777 2010-12-28  Ken Manheimer  <ken.manheimer@gmail.com>
779         * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
780         (allout-mode): Argument "toggle" => "force".
781         Refine the docstring.
782         Remove special provisions for reactivation, besides the 'force'
783         argument.
784         Consolidate layout provisions coce directly into the activation
785         condition branch, now that we've removed those provisions.
786         (allout-unload-function): Explicitly activate the mode before
787         deactivating, if it's initially deactivated.
788         (allout-set-buffer-multibyte): Properly prevent byte-compiler
789         warnings for version of function used only where
790         set-buffer-multibyte is unavailable.
792 2010-12-28  Chong Yidong  <cyd@stupidchicken.com>
794         * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
795         are handled by the menu-bar entries.  As before, don't use
796         :visibile to avoid changing the tool-bar.
798 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
800         * net/secrets.el (secrets-delete-alias): New defun.
802 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
804         * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
805         methods, otherwise ~/.ssh/config would be ignored.
807 2010-12-26  Stefan Monnier  <monnier@iro.umontreal.ca>
809         * emacs-lisp/rx.el: Make it a superset of sregex.
810         (rx-constituents): Add `any => "."', mark `repeat' as taking any number
811         of args, add `regex' alias.
812         (rx-info): Add arg to distinguish head and standalone forms.
813         (rx-check, rx-form): Pass the corresponding arg.
814         (rx-**): Simplify.
815         (rx-repeat): Make it work for any number of args.
816         (rx-syntax): Make it accept syntax chars as is.
817         * obsolete/sregex.el: Move from emacs-lisp/.
818         * emacs-lisp/re-builder.el: Remove sregex support.
819         * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
821 2010-12-25  Eli Zaretskii  <eliz@gnu.org>
823         * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
824         PRIMARY first, then the clipboard.  (Bug#7699)
826 2010-12-22  Stefan Monnier  <monnier@iro.umontreal.ca>
828         * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
829         print-number-table.
831 2010-12-21  Chong Yidong  <cyd@stupidchicken.com>
833         * help-fns.el (find-lisp-object-file-name): Locate .emacs from
834         .emacs.elc (Bug#7530).
836         * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
837         image spec (Bug#7480).
839 2010-12-21  Daiki Ueno  <ueno@unixuser.org>
841         * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
842         * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
843         Move from lisp/.
845 2010-12-20  Leo  <sdl.web@gmail.com>
847         * dnd.el (dnd-get-local-file-name): Unhex of file name shall
848         always be performed (Bug#7680).
850 2010-12-20  Chong Yidong  <cyd@stupidchicken.com>
852         * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
853         (menu-bar-edit-menu): Bind "Copy" to kill-ring-save.  Don't use
854         mouse-region-match.
856         * color.el: Move from gnus/.
858         * vc/diff.el (diff-better-file-name): Function deleted.
859         abbreviating file names causes problems with shell-quote-argument.
860         (diff-no-select): Just use expand-file-name.
862         * tool-bar.el (tool-bar--image-expression): New function.
863         (tool-bar-local-item, tool-bar--image-exp): Use it.
864         (tool-bar-setup): Initialize tool-bar-separator-image-expression.
865         Use :enable instead of :visible to avoid changing the tool-bar
866         configuration unnecessarily.
868         * info.el (info-tool-bar-map): Add separators.
870 2010-12-17  Ken Brown  <kbrown@cornell.edu>
872         * loadup.el: Use version numbers in Cygwin build.
874 2010-12-17  Ryan Twitchell  <metatheorem@gmail.com>  (tiny change)
876         * ido.el (ido-file-internal): Ask for confirmation before
877         overwriting an existing file (Bug#1238).
879 2010-12-16  Chong Yidong  <cyd@stupidchicken.com>
881         * tool-bar.el (tool-bar-setup): Add separators.
883         * menu-bar.el (featurep): Use menu-bar-separator.
885 2010-12-16  Ken Manheimer  <ken.manheimer@gmail.com>
887         Migrate allout encryption provisions from pgg to epg.
889         * allout.el (allout-toggle-current-subtree-encryption)
890         (allout-toggle-subtree-encryption): Adjust docstrings to reflect
891         defaulting policy and other changes.  Change fetch-pass to keymode-cue,
892         for simpler universal argument interpretation.
893         (allout-toggle-subtree-encryption):  Adjust docstring to describe
894         changed encryption provisions.  Change fetch-pass to keymode-cue, for
895         simpler universal argument interpretation.  Remove provisions for
896         handling key type and identity - they'll all be within
897         allout-encrypt-string or epg/epg or even contained all the way in gpg.
898         (allout-encrypt-string): Include keymode-cue, for optionally prompting
899         for keypair recipients (universal argument > 1) and, in addition,
900         associating the specified recipients with the outline (universal
901         argument > 4) using a file local variable setting for
902         'epa-file-encrypt-to'.
903         Require epa, for recipients handling.
904         Change how regexp filtering elements are named.
905         Describe the problem with caching of incorrect symmetric-decryption
906         keys.
907         Use the epa-passphrase-callback-function, in case the user is using
908         GnuPG v1.
909         Support saving of the selected keypair recipients when invoked with a
910         keymode-cue > 4.
911         Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
912         Require 'epa.
913         Establish epg-context with armoring and default epg-protocol.
914         Remove all passphrase cache, verification, and hinting code.
915         (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
916         No longer used, delete.
917         (allout-mode): Adjust docstring to describe changed encryption
918         provisions.  Describe the problem with caching of incorrect
919         symmetric-decryption keys.
920         (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
921         (allout-make-passphrase-state, allout-passphrase-state-passphrase)
922         (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
923         (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
924         Obsolete, remove.
926 2010-12-16  Daiki Ueno  <ueno@unixuser.org>
928         * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
929         key selection prompt; make 'silent as default (Bug#7487).
931 2010-12-16  Leo  <sdl.web@gmail.com>
933         * eshell/eshell.el (eshell-directory-name):
934         Use locate-user-emacs-file (Bug#7578).
936 2010-12-15  Glenn Morris  <rgm@gnu.org>
938         * loadup.el (symbol-file-load-history-loaded): Remove; unused.
940 2010-12-15  Jari Aalto  <jari.aalto@cante.net>
941             Scott Evans <gse@antisleep.com>
943         * rect.el (rectange--default-line-number-format)
944         (rectangle-number-line-callback): New functions.
945         (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
947 2010-12-15  Chong Yidong  <cyd@stupidchicken.com>
949         * rect.el (operate-on-rectangle-lines, string-rectangle-string):
950         Delete unused variables.
951         (move-to-column-force): Remove function obsolete since 21.2.
953 2010-12-14  Michael Albinus  <michael.albinus@gmx.de>
955         * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
956         (tramp-handle-insert-file-contents): Do not set permanent-local
957         property.
959         * net/tramp-cache.el (tramp-persistency-file-name):
960         Use `locate-user-emacs-file' if fboundp.
962         * net/tramp-sh.el (tramp-methods): Add "ksu".
963         (tramp-default-user-alist): Add "ksu".  Use `regexp-opt' for
964         method list.
966 2010-12-14  Glenn Morris  <rgm@gnu.org>
968         * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
969         (find-tag-marker-ring): Declare.
970         (js-find-symbol): Require etags.
972         * mail/sendmail.el: Don't require rmail or mailalias when compiling.
973         Require mail-utils.
974         (mail-alias-file): Don't autoload.  Doc fix.
975         (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
976         (mail-mailer-swallows-blank-line): Default to nil.  Doc fix.
977         Mark as obsolete, and risky.
978         (mail-setup): Simplify.
980         * mail/mailalias.el (build-mail-aliases): Make it interactive.
981         * mail/sendmail.el (build-mail-aliases): Update autoload.
983         * dired.el (dired-trivial-filenames, dired-chown-program)
984         (dired-auto-revert-buffer): Remove autoload cookies.
985         * mail/sendmail.el (mail-recover-1): Require 'dired.
987         * dired.el (dired-subdir-switches, dired-chown-program)
988         (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
989         Make into defcustoms.
990         (dired-chown-program): Simplify initialization.
992         * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
994 2010-12-13  Romain Francoise  <romain@orebokech.com>
996         * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
998 2010-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1000         * net/netrc.el (netrc-point-at-eol): Remove the unused
1001         netrc-point-at-old and netrc-bound-and-true-p bindings.
1002         (netrc-parse): Cache the netrc contents.
1004 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
1006         * subr.el (posn-col-row): Evaluate header-line-format in the
1007         context of the POSITION window's buffer.
1009 2010-12-13  Glenn Morris  <rgm@gnu.org>
1011         * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
1012         (with-silent-modifications): Doc fixes.
1014 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
1016         * net/tramp.el (tramp-action-password, tramp-process-actions):
1017         Revert previous from.  Use `save-restriction'.
1019 2010-12-13  Stephen Berman  <stephen.berman@gmx.net>
1021         * calendar/diary-lib.el (diary-list-sexp-entries):
1022         Handle case of no newline at end of file.  (Bug#7536)
1024 2010-12-13  Glenn Morris  <rgm@gnu.org>
1026         * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
1028 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
1030         * net/tramp.el (tramp-action-password): Delete region, do not narrow.
1031         (tramp-process-actions): Do not widen.
1033         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1034         Protect buffer-modified value.  (Bug#7557)
1036 2010-12-13   Jan Moringen  <jmoringe@techfak.uni-bielefeld.de>
1038         * log-edit.el (log-edit-changelog-entries):
1039         Regexp quote filename.  (Bug#7505)
1041 2010-12-13  Tom Breton  <tehom@panix.com>
1043         * cus-edit.el (custom-save-all):
1044         Bind print-length and print-level to nil.  (Bug#7581)
1046 2010-12-13  Glenn Morris  <rgm@gnu.org>
1048         * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
1049         Run hooks to update menu contents.  (Bug#7586)
1051         * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
1052         file names, for the sake of MS Windows.  (Bug#7588)
1054 2010-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1056         * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
1057         empty lines without a leading space.
1059 2010-12-13  Leo  <sdl.web@gmail.com>
1061         * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
1062         while mapping over marks (Bug#6810).
1064 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
1066         * image-dired.el (image-dired-db-file)
1067         (image-dired-temp-image-file, image-dired-gallery-dir)
1068         (image-dired-temp-rotate-image-file): Set default values relative
1069         to image-dired-dir (Bug#7518).
1071 2010-12-13  Lawrence Mitchell  <wence@gmx.li>
1073         * format.el (format-decode-run-method): Pass args FROM and TO, not
1074         point-min and point-max, to shell-command-on-region (Bug#7488).
1076 2010-12-13  Jan Djärv  <jan.h.d@swipnet.se>
1078         * frame.el (blink-cursor-mode): Make default t for ns.
1080 2010-12-13  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
1082         * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1084 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
1086         * comint.el (comint-dynamic-list-input-ring)
1087         (comint-dynamic-complete-filename)
1088         (comint-replace-by-expanded-filename)
1089         (comint-dynamic-simple-complete)
1090         (comint-dynamic-list-filename-completions)
1091         (comint-dynamic-list-completions): Doc fix (Bug#7499).
1093         * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
1094         Doc fix (Bug#7471).
1096 2010-12-13  Martin Rudalics  <rudalics@gmx.at>
1098         * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
1099         (Bug#7533).
1101 2010-12-13  W. Martin Borgert <debacle@debian.org>  (tiny change)
1103         * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
1104         (Bug#7491).
1106 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
1108         * files.el (file-relative-name): Handle UNC file names on
1109         DOS/Windows.  (Bug#4674)
1111 2010-12-13  Daiki Ueno  <ueno@unixuser.org>
1113         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1114         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
1115         (epg-context-set-passphrase-callback): Mention that the callback
1116         is not called when used with GnuPG 2.x.
1118 2010-12-13  Glenn Morris  <rgm@gnu.org>
1120         * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
1121         Ensure ps-footer-font-size-internal is initialized.
1122         Call ps-get-page-dimensions before trying to use ps-font-for-text.
1124 2010-12-13  Kenichi Handa  <handa@m17n.org>
1126         * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
1127         within condition-case.
1128         (rmail-show-mime): Don't use condition-case.
1129         (rmail-search-mime-message): New function.
1130         (rmail-search-mime-message-function): Set to
1131         rmail-search-mime-message.
1133 2010-12-13  Leo  <sdl.web@gmail.com>
1135         * ido.el (ido-common-initialization): New function.  (bug#3274)
1136         (ido-mode): Use it.
1137         (ido-completing-read): Call it.
1139 2010-12-12  Karl Fogel  <kfogel@red-bean.com>
1141         * bookmark.el (bookmark-name-from-full-record): Rename back to
1142         this original name from `bookmark-name-from-record' reverting part
1143         of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
1144         As Drew Adams pointed out, there was no reason to cause churn for
1145         third-party callers.
1147 2010-12-12  Alan Mackenzie  <acm@muc.de>
1149         * progmodes/cc-engine.el (c-forward-type): Before scanning a
1150         template arglist, check that the current language supports this.
1152 2010-12-11  Glenn Morris  <rgm@gnu.org>
1154         * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
1155         state of the file matches.  (Bug#7544)
1156         (vc-bzr-register, vc-bzr-checkin)
1157         (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
1158         (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
1160         * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
1162 2010-12-11  Karel Klíč  <kklic@redhat.com>
1164         * files.el (auto-mode-alist): Use html-mode for *.xhtml.  (Bug#7606)
1166 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1168         Derive from prog-mode, use derived-mode-p, and fix up various
1169         minor style issues in lisp/progmodes.
1171         * progmodes/vhdl-mode.el (vhdl-mode):
1172         * progmodes/verilog-mode.el (verilog-mode):
1173         * progmodes/vera-mode.el (vera-mode):
1174         * progmodes/sql.el (sql-mode):
1175         * progmodes/scheme.el (scheme-mode):
1176         * progmodes/perl-mode.el (perl-mode):
1177         * progmodes/octave-inf.el (inferior-octave-mode):
1178         * progmodes/autoconf.el (autoconf-mode):
1179         * progmodes/m4-mode.el (m4-mode):
1180         * progmodes/inf-lisp.el (inferior-lisp-mode):
1181         * progmodes/idlwave.el (idlwave-mode):
1182         * progmodes/icon.el (icon-mode):
1183         * progmodes/idlw-help.el (idlwave-help-mode):
1184         * progmodes/dcl-mode.el (dcl-mode):
1185         * progmodes/idlw-shell.el (idlwave-shell-mode):
1186         * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
1187         (ebrowse-member-mode, ebrowse-electric-position-mode):
1188         Use define-derived-mode.
1190         * progmodes/xscheme.el (exit-scheme-interaction-mode)
1191         (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
1192         (xscheme-debugger-mode-p, xscheme-send-string-1):
1193         * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
1194         (tcl-load-file, tcl-restart-with-file):
1195         * progmodes/ps-mode.el (ps-run-running):
1196         * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
1197         * progmodes/js.el (js--get-all-known-symbols):
1198         * progmodes/inf-lisp.el (inferior-lisp-proc):
1199         * progmodes/idlwave.el (idlwave-beginning-of-statement)
1200         (idlwave-template, idlwave-update-buffer-routine-info)
1201         (idlwave-update-current-buffer-info)
1202         (idlwave-get-routine-info-from-buffers, idlwave-choose)
1203         (idlwave-scan-class-info, idlwave-fix-keywords)
1204         (idlwave-list-buffer-load-path-shadows):
1205         * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
1206         (idlwave-toolbar-remove):
1207         * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
1208         (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
1209         (idlwave-shell-menu-def):
1210         * progmodes/idlw-complete-structtag.el
1211         (idlwave-prepare-structure-tag-completion):
1212         * progmodes/gud.el (gud-set-buffer):
1213         * progmodes/f90.el (f90-backslash-not-special):
1214         * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
1216         * progmodes/xscheme.el (xscheme-start)
1217         (local-set-scheme-interaction-buffer, scheme-interaction-mode):
1218         * progmodes/which-func.el (which-function):
1219         * progmodes/vhdl-mode.el (vhdl-set-style):
1220         * progmodes/verilog-mode.el (verilog-set-compile-command)
1221         (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
1222         (verilog-set-define, verilog-auto-reeval-locals):
1223         * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
1224         * progmodes/simula.el (simula-mode):
1225         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
1226         * progmodes/python.el (python-check, python-mode):
1227         * progmodes/prolog.el (prolog-mode-variables):
1228         * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
1229         * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
1230         * progmodes/delphi.el (delphi-mode):
1231         * progmodes/cc-styles.el (c-setup-paragraph-variables):
1232         * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
1233         (c-font-lock-init): Move make-local-variable to their setq.
1235         * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
1236         (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
1237         make-local-hook.
1238         * progmodes/sh-script.el (sh-require-final-newline): Remove.
1239         (sh-set-shell): Don't set require-final-newline since it's already done
1240         by prog-mode.
1241         * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
1242         since we never set it.
1243         * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
1244         Use read-string and standard prompt.
1245         * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
1246         * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
1247         (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
1248         (meta-common-mode-map): Rename from meta-mode-map.
1249         Remove C-m binding, which is a user preference, not mode specific.
1250         (meta-common-mode): New major mode; replace meta-common-initialization.
1251         * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
1252         around with font-lock.
1253         * progmodes/etags.el (select-tags-table-mode):
1254         Derive from special-mode.
1255         * progmodes/octave-mod.el (octave-mode):
1256         * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
1257         (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
1258         (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
1259         Let define-derived-mode do its job.
1260         * progmodes/cpp.el (cpp-edit-mode-map):
1261         Move initialization into declaration.
1262         (cpp-edit-mode): Use define-derived-mode.
1263         (cpp-edit-load): Use derived-mode-p.
1264         * progmodes/mixal-mode.el (mixal-mode):
1265         * progmodes/f90.el (f90-mode):
1266         * progmodes/cfengine.el (cfengine-mode): Don't bother setting
1267         require-final-newline since prog-mode does it already.
1268         * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
1269         * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
1270         * progmodes/antlr-mode.el: Require cc-mode upfront.
1271         (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
1272         the declaration.
1273         (antlr-directory-dependencies, antlr-show-makefile-rules):
1274         Use derived-mode-p.
1275         (antlr-language-option): Don't assume point-min==1.
1276         (antlr-mode): Use define-derived-mode.
1277         * progmodes/ada-mode.el: Use derived-mode-p.
1278         (ada-mode): Use define-derived-mode.
1279         Use hack-local-variables-hook.
1281 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1283         * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
1284         (texinfo-mode): Don't disable adaptive-fill-mode.
1285         (texinfo-insert-block): Adjust cursor placement for blocks with arg.
1286         (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
1287         (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
1288         (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
1289         (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
1290         (texinfo-insert-@quotation, texinfo-insert-@samp)
1291         (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
1292         (texinfo-insert-@uref): Use define-skeleton.
1293         (texinfo-insert-@-with-arg): Delete.
1295 2010-12-10  Eli Zaretskii  <eliz@gnu.org>
1297         * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
1298         nil, do quote archive member names.  (Bug#6144)
1300 2010-12-10  Glenn Morris  <rgm@gnu.org>
1302         * files.el (diff-no-select): Declare.
1304         * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
1305         (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
1307         * comint.el (comint-input-ring-file-name): Doc fix.
1309 2010-12-09  Eli Zaretskii  <eliz@gnu.org>
1311         * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
1312         New functions.
1313         (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
1314         Use them instead of `nil' and `>', respectively.
1315         (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
1316         instead of `nil'.
1317         (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
1318         and menu-bar-positive-p instead of `nil' and `>', respectively.
1319         (Bug#1077)
1321 2010-12-09  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
1323         * whitespace.el (whitespace-newline-mode): Code fix.
1325 2010-12-09  Glenn Morris  <rgm@gnu.org>
1327         * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
1328         Rename functions without commas, update callers.
1330 2010-12-08  Jeff Dairiki  <dairiki@dairiki.org>  (tiny change)
1332         * whitespace.el (whitespace-cleanup-region):
1333         Clean up spaces before tabs.  (Bug#7582)
1335 2010-12-08  Karl Fogel  <kfogel@red-bean.com>
1337         * bookmark.el: Adjust parameter names and doc strings to resolve
1338         confusion over whether "bookmark" meant a bookmark name or a
1339         bookmark record.  Along the way, shorten one function's name for
1340         similar reasons.  (Issue #7548)
1341         (bookmark-name-from-record): New name for
1342         `bookmark-name-from-full-record'.  All callers changed.
1343         (bookmark-get-bookmark, bookmark-get-bookmark-record)
1344         (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
1345         (bookmark-get-annotation, bookmark-set-annotation)
1346         (bookmark-get-filename, bookmark-set-filename)
1347         (bookmark-get-position, bookmark-set-position)
1348         (bookmark-get-front-context-string, bookmark-set-front-context-string)
1349         (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
1350         (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
1351         (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
1352         Rename `bookmark' parameter to `bookmark-name-or-record', to
1353         clearly show its role, and shorten or adjust doc strings accordingly.
1354         (bookmark-set-name): Same, and pass the parameter directly to
1355         `bookmark-get-bookmark' instead of redundantly doing the callee's work.
1356         (bookmark-default-annotation-text, bookmark-send-edited-annotation)
1357         (bookmark-relocate, bookmark-insert-location, bookmark-insert)
1358         (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
1359         and in some cases shorten doc string accordingly.
1360         (bookmark-rename): Change `old' and `new' parameters to `old-name'
1361         and `new-name', and adjust an internal variable to avoid confusion.
1362         (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
1363         parameter in doc string.
1365 2010-12-08  Glenn Morris  <rgm@gnu.org>
1367         * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
1368         from gdb's history file.  (Bug#7575)
1370         * mail/emacsbug.el (report-emacs-bug):
1371         Try to handle some other mail clients.
1373 2010-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1375         * files.el (dir-locals-collect-variables): Don't let errors stop us.
1376         Use string-prefix-p.
1377         (file-name-version-regexp): New var.
1378         (file-name-sans-versions):
1379         * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
1380         (jka-compr-get-compression-info): Use dolist.
1381         (jka-compr-compression-info-list): Don't bother specifying
1382         version/backup regexps.
1384 2010-12-07  Tassilo Horn  <tassilo@member.fsf.org>
1386         * simple.el (just-one-space): Make argument n default to 1 if
1387         omitted.
1389 2010-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1391         * electric.el (electric-indent-post-self-insert-function):
1392         Delete trailing newlines even if we don't reindent.
1394 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1396         * minibuffer.el (completion-at-point): Remove the `arg'.
1397         * bindings.el (complete-symbol): Move back from minibuffer.el.
1399 2010-12-06  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1401         * simple.el (just-one-space): Delete newlines for negative arg.
1403 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1405         * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
1406         (ansi-color-filter-apply): Simplify.
1407         (ansi-color-apply): Use `font-lock-face' rather than `face'.
1409 2010-12-05  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
1411         * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1413 2010-12-04  Chong Yidong  <cyd@stupidchicken.com>
1415         * dired.el (dired-use-ls-dired): Set default to a special
1416         "unspecified" value.
1417         (dired-insert-directory): When called the first time, check
1418         whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
1420 2010-12-04  Tak Ota  <Takaaki.Ota@am.sony.com>
1422         * replace.el: Add "collect" feature to occur.
1423         (occur-collect-regexp-history): New var.
1424         (occur-read-primary-args): Return a replace string for nlines,
1425         if needed.
1426         (occur): Extend the meaning of nlines.
1428 2010-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1430         * progmodes/which-func.el (which-func-ff-hook): Log the error message.
1431         (which-func-update-1): Distinguish symbols from strings.
1432         (which-function): Stay within 80 columns.
1434 2010-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1436         * subr.el (with-demoted-errors): Distinguish symbols from strings.
1438         * newcomment.el (comment-styles): Add docs to each style (bug#7509).
1439         Improve docstring.
1440         (comment-style): Use comment-styles's docs to describe values.
1442 2010-12-03  Jan Djärv  <jan.h.d@swipnet.se>
1444         * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
1445         and ns-show-prefs (Bug#7535).
1447         * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
1448         bindings (Bug#7535).
1450 2010-12-03  Glenn Morris  <rgm@gnu.org>
1452         * nxml/nxml-mode.el: Require rng-nxml.
1453         (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
1454         Remove declarations.
1456         * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
1457         * nxml/rng-nxml.el, nxml/rng-valid.el:
1458         Remove leading `*' from defcustom docs.
1460         * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
1461         (normal-top-level-add-to-load-path, tty-handle-args):
1462         Convert comments to basic doc-strings.
1464         * net/browse-url.el (browse-url-url-at-point)
1465         (browse-url-default-browser): Remove autoload cookies.
1467         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1468         Remove more undefined cl functions.
1470         * vc/diff.el (diff-sentinel): Make new arguments optional.
1471         * ibuf-ext.el (diff-sentinel): Update declaration.
1473 2010-12-03  Daiki Ueno  <ueno@unixuser.org>
1475         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1476         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
1477         (epg-context-set-passphrase-callback): Mention that the callback
1478         is not called when used with GnuPG 2.x.
1480 2010-12-02  Michael Albinus  <michael.albinus@gmx.de>
1482         * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
1483         (tramp-file-name-port): Check also for `tramp-default-port'.
1484         (tramp-get-connection-name): New defun.
1485         (tramp-get-connection-process): Use it.
1486         (tramp-debug-message): Extend function exclude list.
1487         (tramp-drop-volume-letter): Fix doc string.
1489         * net/tramp-cmds.el: Remove solved todo item.
1491         * net/tramp-efs.el:
1492         * net/tramp-ftp.el:
1493         * net/tramp-gvfs.el:
1494         * net/tramp-gw.el:
1495         * net/tramp-imap.el:
1496         * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
1497         and `tramp-default-user-alist', respectively.
1499         * net/tramp-gw.el (tramp-gw-open-connection):
1500         Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
1502         * net/tramp-imap.el (tramp-imap-make-iht): Use just
1503         `tramp-file-name-port'.
1505         * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
1506         and "psftp".  Exchange "%k" marker with options.
1507         (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
1508         Compute size of link target.
1509         (tramp-do-copy-or-rename-file-out-of-band). Move setting of
1510         `tramp-current-*' up due to gateway methods.  Optimze computing of
1511         copy arguments.  Use `tramp-get-connection-name' and
1512         `tramp-get-connection-buffer'.  Improve debug messages.
1513         (tramp-compute-multi-hops): Remove port determination.
1514         (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
1516         * net/trampver.el: Update release number.
1518 2010-12-02  Glenn Morris  <rgm@gnu.org>
1520         * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1521         Avoid infinite loop over windows.  (Bug#7492)
1523         * progmodes/flymake.el (flymake-check-file-limit):
1524         Allow nil to mean "no limit".
1525         (flymake-check-patch-master-file-buffer): Update for above change.
1526         Allow a .tex file-name extension to be optional.
1527         (flymake-master-tex-init): Also match \include statements.
1529 2010-11-30  Sam Steingold  <sds@gnu.org>
1531         * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
1532         (nxml-parent-document-set): A function to set `nxml-parent-document'.
1533         (nxml-mode): Define using `define-derived-mode' instead of `defun'.
1534         (nxml-mode-hook): Remove `defcustom' (auto-defined by
1535         define-derived-mode').
1536         * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
1537         users who want to call `nxml-parent-document-set'.
1539 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
1541         * log-edit.el (log-edit-font-lock-keywords): Don't try matching
1542         stand-alone lines, since that is handled by log-edit-match-to-eoh
1543         (Bug#6465).
1545 2010-11-27  Eduard Wiebe  <usenet@pusto.de>
1547         * dired.el (dired-get-filename): Replace backslashes with slashes
1548         in file names on MS-Windows, needed by `locate'.  (Bug#7308)
1549         * locate.el (locate-default-make-command-line): Don't consider
1550         drive letter and root directory part of
1551         `directory-listing-before-filename-regexp'.  (Bug#7308)
1552         (locate-post-command-hook, locate-post-command-hook): New defcustoms.
1554 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1556         * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
1557         of :smie-open/close-alist.
1558         (smie-next-sexp): Make it accept a "start token" as argument.
1559         (smie-indent-keyword): Be careful not to misidentify tokens that span
1560         more than one line, as empty lines.  Add argument `token'.
1562 2010-11-27  Kenichi Handa  <handa@m17n.org>
1564         * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
1565         multipart subtypes, insert all as usual.
1567         * mail/rmail.el: Require rfc2047.
1569 2010-11-27  Kenichi Handa  <handa@m17n.org>
1571         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
1572         (rmail-mime-entity-disposition)
1573         (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
1574         (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
1575         (rmail-mime-save): Handle the case that the button's `data' is a
1576         MIME entity.
1577         (rmail-mime-insert-text): New function.
1578         (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
1579         (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
1580         (rmail-mime-insert-bulk): New function mostly copied from the old
1581         rmail-mime-bulk-handler.
1582         (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
1583         (rmail-mime-process-multipart): New function mostly copied from
1584         the old rmail-mime-multipart-handler.
1585         (rmail-mime-show): Just call rmail-mime-process.
1586         (rmail-mime-process): New function mostly copied from the old
1587         rmail-mime-show.
1588         (rmail-mime-insert-multipart, rmail-mime-parse)
1589         (rmail-mime-insert, rmail-show-mime)
1590         (rmail-insert-mime-forwarded-message)
1591         (rmail-insert-mime-resent-message): New functions.
1592         (rmail-insert-mime-forwarded-message-function): Set to
1593         rmail-insert-mime-forwarded-message.
1594         (rmail-insert-mime-resent-message-function): Set to
1595         rmail-insert-mime-resent-message.
1597         * mail/rmailsum.el: Require rfc2047.
1598         (rmail-header-summary): Handle multiline Subject: field.
1599         (rmail-summary-line-decoder): Change the default to
1600         rfc2047-decode-string.
1602         * mail/rmail.el (rmail-enable-mime): Change the default to t.
1603         (rmail-mime-feature): Change the default to `rmailmm'.
1604         (rmail-quit): Delete the specifal code for rmail-enable-mime.
1605         (rmail-display-labels): Likewise.
1606         (rmail-show-message-1): Check rmail-enable-mime, and use
1607         rmail-show-mime-function for a MIME message.  Decode the headers
1608         according to RFC2047.
1610 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1612         * progmodes/which-func.el (which-func-imenu-joiner-function):
1613         Return a string, as expected.
1614         (which-function-mode): Make sure we stop any previous timer before
1615         starting a new one.
1617 2010-11-27  Michael Albinus  <michael.albinus@gmx.de>
1619         * net/tramp.el (tramp-default-method-alist)
1620         (tramp-default-user-alist, tramp-default-proxies-alist):
1621         Adapt custom options type.  (Bug#7445)
1623 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
1625         * progmodes/python.el: Add Ipython support (Bug#5390).
1626         (python-shell-prompt-alist)
1627         (python-shell-continuation-prompt-alist): New options.
1628         (python--set-prompt-regexp): New function.
1629         (inferior-python-mode, run-python, python-shell):
1630         Require ansi-color.  Use python--set-prompt-regexp to set the comint
1631         prompt based on the Python interpreter.
1632         (python--prompt-regexp): New var.
1633         (python-check-comint-prompt)
1634         (python-comint-output-filter-function): Use it.
1635         (run-python): Use a pipe (Bug#5694).
1637 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
1639         * progmodes/python.el (run-python): Doc fix.
1640         (python-keep-current-directory-in-path): New var (Bug#7454).
1642 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
1644         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1645         Prompt user before actually printing.
1647 2010-11-27  Glenn Morris  <rgm@gnu.org>
1649         * startup.el (package-enable-at-startup, package-initialize):
1650         Remove unnecessary declarations.
1652 2010-11-27  Eli Zaretskii  <eliz@gnu.org>
1654         * international/characters.el (glyphless-char-display-control):
1655         Exclude newline and TAB from the c0-control group.
1657 2010-11-27  Glenn Morris  <rgm@gnu.org>
1659         * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
1660         (expand-mail-aliases): Remove unnecessary autoload.
1662         * allout.el (allout-command-prefix, allout-mode-map): Declare.
1664         * shell.el (shell-dir-cookie-re): Move definition before use.
1666         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1667         Replace undefined CL functions.
1669 2010-11-26  Eli Zaretskii  <eliz@gnu.org>
1671         * simple.el (prog-mode): Set bidi-paragraph-direction to
1672         left-to-right.
1674         * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
1676 2010-11-26  Glenn Morris  <rgm@gnu.org>
1678         * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
1679         diary-outlook-formats can be sensitive to calendar-date-style.
1680         (diary-outlook-formats): Simplify the default setting.
1681         (diary-from-outlook-internal): Pass subject and body as arguments.
1682         Use dolist rather than dotimes.  Don't save the diary buffer.
1683         (diary-from-outlook-gnus, diary-from-outlook-rmail):
1684         Pass subject and body as explicit arguments to the -internal function.
1686 2010-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1688         * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
1689         parsing them.  This makes mailto:...?subject=foo\nbar work.
1691 2010-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1693         * vc/diff.el (diff): Fix last change.
1695 2010-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1697         * emacs-lisp/pcase.el: Improve pcase-let.  Use "pcase--" prefix.
1698         (pcase--dontcare-upats): New var.
1699         (pcase-let, pcase-let*): Generate better code.
1700         Accept the same bodies as `let'.
1701         (pcase-dolist): New macro.
1702         (pcase--trivial-upat-p): New helper function.
1703         (pcase--expand): Strip leading "(let nil" if any.
1705 2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1707         * mail/mailclient.el (browse-url): Require.
1708         (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
1709         use the external browser function to send the mail (bug#7469).
1711         * net/browse-url.el (browse-url-browser-function): Revert the
1712         default back to the previous value, since the new value broke
1713         mailclient.el.
1714         (browse-url-mailto-function): New variable for mailto: URLs.
1715         (browse-url): Use the new variable for mailto: URLs.
1717 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1719         * eshell/esh-cmd.el (eshell-parse-command):
1720         * eshell/esh-arg.el (eshell-parse-arguments):
1721         * eshell/em-script.el (eshell-source-file):
1722         Use with-silent-modifications.
1724 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
1726         * vc/vc.el (vc-merge): Remove optional arg PROMPT.  Always prompt
1727         for a merge location.
1729         * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
1730         (vc-bzr-merge-branch): Always prompt.
1731         (vc-bzr-async-command): Use the full branch filename.
1733 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1735         * shell.el (shell): Use current-buffer by default if it's already
1736         a shell mode buffer and its process is dead.
1737         Suggested by Jose E. Marchesi <jemarch@gnu.org>.
1739 2010-11-23  Tassilo Horn  <tassilo@member.fsf.org>
1741         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1742         Mention that the keywords should be comma separated.
1744 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
1746         * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
1747         Accept optional prefix arg meaning to prompt for a command.
1748         (vc-update): Use vc-BACKEND-pull if available.  Accept optional
1749         prefix arg meaning to prompt for a command.
1750         (vc-pull): Alias for vc-update.
1752         * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
1753         (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
1754         (vc-bzr-merge-branch): New functions, implementing merge-branch
1755         and pull operations.
1757 2010-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1759         * Makefile.in: Fix up last merge.
1761         * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
1762         (diff-sentinel): Get them as arguments instead.
1763         (diff-old-file, diff-new-file, diff-extra-args): Remove.
1764         (diff-file-local-copy, diff-better-file-name): New funs.
1765         (diff-no-select): Rename from diff-into-buffer.
1766         Support buffers additionally to files.  Move `buf' arg.  Don't display buf.
1767         Prefer closures to buffer-local variables.
1768         (diff): Adjust accordingly.
1769         (diff-buffer-with-file): Move from files.el.
1770         * files.el (diff-buffer-with-file): Move to vc/diff.el.
1771         (diff-buffer-internal): Remove.
1772         (diff-buffer-buffer): Remove.
1773         (save-some-buffers-action-alist): Use diff-no-select so as not to guess
1774         the buffer name used, and so as not to mess up windows and frames.
1776 2010-11-22  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
1778         * files.el: Make revert work with diff-buffer-with-file (bug#7277).
1779         (diff-buffer-internal): New function extracted from diff-buffer-with-file
1780         (diff-buffer-with-file): Use it.
1781         * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
1782         (diff): Use it.
1784 2010-11-22  Tassilo Horn  <tassilo@member.fsf.org>
1786         * textmodes/reftex-ref.el (reftex-goto-label): Use the current
1787         \ref's or \pageref's value as default instead of initial input.
1789 2010-11-21  Michael Albinus  <michael.albinus@gmx.de>
1791         * files.el (backup-by-copying-when-mismatch): The default value is
1792         now t.
1794         * startup.el (normal-top-level):
1795         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
1796         `backup-by-copying-when-mismatch'.
1798 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
1800         * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
1802 2010-11-21  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1804         * progmodes/python.el (python-font-lock-keywords):
1805         Highlight top-level augmented assignments (Bug#6445).
1807 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
1809         * term/ns-win.el (ns-right-control-modifier)
1810         (ns-right-command-modifier): Defvar them.
1812         * cus-start.el (all): Add ns-right-control-modifier and
1813         ns-right-command-modifier (Bug#7458).
1815 2010-11-20  Glenn Morris  <rgm@gnu.org>
1817         * emacs-lisp/authors.el (authors-ignored-files)
1818         (authors-valid-file-names, authors-renamed-files-alist): Add entries.
1820 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
1822         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
1823         (report-emacs-bug-parse-query-results)
1824         (report-emacs-bug-create-existing-bugs-buffer): Pass through
1825         keywords used for querying the bug database to show them in the
1826         existing bugs buffer.
1828 2010-11-20  Jan Djärv  <jan.h.d@swipnet.se>
1830         * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
1832         * info.el (info-tool-bar-map): Add some :vert-only keywords.
1834 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
1836         * international/characters.el (glyphless-char-display-control):
1837         Make it a defcustom, with update-glyphless-char-display as its
1838         :set attribute.
1839         (top level): Don't call update-glyphless-char-display.
1841 2010-11-20  Michael Albinus  <michael.albinus@gmx.de>
1843         Sync with Tramp 2.2.0.
1845         * net/tramp.el (tramp-handle-insert-file-contents): Don't use
1846         `file-remote-p' (due to compatibility).
1848         * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
1849         (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
1851         * net/trampver.el: Update release number.
1853 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
1855         * faces.el (glyphless-char): Define value for `pc'.
1857 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
1859         Implemented a bug querying mechanism.
1860         * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
1861         (report-emacs-bug-create-existing-bugs-buffer)
1862         (report-emacs-bug-parse-query-results)
1863         (report-emacs-bug-query-existing-bugs): New functions.
1865 2010-11-19  Tassilo Horn  <tassilo@member.fsf.org>
1867         * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
1868         a \ref{} or \pageref{} macro, then use its value as initial input.
1870 2010-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
1872         * calc/calc-units.el (math-build-units-table-buffer):
1873         calc/README: Mention that the TeX specific units won't use the
1874         `tex' prefix in TeX mode.
1875         calc/calc-lang.el (math-variable-table): Don't use the `tex'
1876         prefix for units in TeX mode.
1878 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1880         * simple.el (kill-new, kill-append, kill-region):
1881         * comint.el (comint-kill-region): Make the yank-handler argument
1882         obsolete.
1884 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1886         * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
1887         that are both openers (resp. closers) and something else.
1888         (smie-grammar): Loosen definition of valid values.
1889         (smie-next-sexp, smie-down-list, smie-blink-matching-open)
1890         (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
1891         (smie-indent-after-keyword): Adjust users.
1892         (smie-indent-keyword): Don't indent empty lines.
1894         * vc-hg.el (vc-hg-program): New var.
1895         Suggested by Norman Gray <norman@astro.gla.ac.uk>.
1896         (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
1898 2010-11-18  Glenn Morris  <rgm@gnu.org>
1900         * emacs-lisp/autoload.el (autoload-find-destination): The function
1901         coding-system-eol-type may return non-numeric values.  (Bug#7414)
1903 2010-11-18  Ulrich Mueller  <ulm@gentoo.org>
1905         * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
1907 2010-11-18  Eli Zaretskii  <eliz@gnu.org>
1909         * subr.el (posn-col-row): Pay attention to header line.  (Bug#7390)
1911 2010-11-18  Chong Yidong  <cyd@stupidchicken.com>
1913         * textmodes/picture.el (picture-mouse-set-point): Don't use
1914         posn-col-row; explicitly compute the motion based on the posn at
1915         the window-start (Bug#7390).
1917 2010-11-18  Glenn Morris  <rgm@gnu.org>
1919         * novice.el (disabled-command-function):
1920         Fix 2009-11-15 change.  (Bug#7384)
1922 2010-11-18  Glenn Morris  <rgm@gnu.org>
1924         * calendar/calendar.el (diary-iso-date-forms): Make elements
1925         mutually exclusive.  (Bug#7377)
1927 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1929         * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
1930         when filling the remaining "unconstrained" values.
1932 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1934         * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
1935         safety predicate.
1937         * files.el (safe-local-variable-p): Gracefully handle errors.
1939         * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
1940         Use smie-indent-virtual when indenting relative to an opener.
1941         (smie-rule-separator): Use smie-rule-parent.
1942         (smie-indent-keyword): Consult rules, even for openers at bol.
1943         (smie-indent-comment-close): Try to align closer's content.
1945 2010-11-18  Glenn Morris  <rgm@gnu.org>
1947         * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
1949 2010-11-18  Glenn Morris  <rgm@gnu.org>
1951         * printing.el (pr-menu-bind): Doc fix.
1953         * speedbar.el (speedbar-toggle-images): Doc fix.
1955         * progmodes/python.el (python-shell): Doc fix.
1957         * wid-edit.el (widget-field-use-before-change)
1958         (widget-use-overlay-change): Doc fixes.
1960 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1962         Minor cleanup to improve style.
1963         * textmodes/rst.el (rst-update-section): Use point-marker.
1964         (rst-get-decoration): Eliminate unneeded assignment.
1965         (rst-promote-region, rst-straighten-decorations)
1966         (rst-section-tree, rst-adjust): Use point-marker.
1967         (rst-toc-mode-mouse-goto): Avoid setq.
1968         (rst-shift-region-guts, rst-shift-region-left)
1969         (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
1970         (rst-convert-bullets-to-enumeration): Use copy-marker.
1972         * minibuffer.el (completion-fail-discreetly): New var.
1973         (completion--do-completion): Use it.
1975         * electric.el (electric-pair-pairs): New var.
1976         (electric-pair-post-self-insert-function): Use it.
1977         (electric-layout-post-self-insert-function): Don't insert a before
1978         newline unless it's actually needed.
1980 2010-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1982         * progmodes/python.el (run-python): Explain why we remove the current
1983         directory from sys.path.  Suggested by Eric Hanchrow <erich@cozi.com>.
1985         * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
1987 2010-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1989         * progmodes/octave-mod.el: Rely on elecric-*-modes.
1990         (octave-mode-map): Don't bind ;, SPC, and LF.
1991         (octave-auto-indent, octave-auto-newline): Remove.
1992         (electric-layout-rules): Declare.
1993         (octave-mode): Set electric-layout-rules.
1994         (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
1995         (octave-reindent-then-newline-and-indent, octave-electric-semi)
1996         (octave-electric-space): Remove.
1998         * electric.el (electric-layout-mode): New minor mode.
1999         (electric--after-char-pos): New function.
2000         (electric-indent-post-self-insert-function): Use it.
2001         (electric-layout-rules): New var.
2002         (electric-layout-post-self-insert-function): New function.
2003         (electric-indent-mode): Make them interact better.
2005 2010-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2007         * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
2008         (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
2009         (checkdoc-proper-noun-region-engine): Use with-syntax-table.
2011 2010-11-15  Agustín Martín  <agustin.martin@hispalinux.es>
2013         * textmodes/flyspell.el (flyspell-generic-progmode-verify):
2014         Make sure to check inside the word (Bug#6761).
2016 2010-11-14  Chong Yidong  <cyd@stupidchicken.com>
2018         * startup.el (command-line): If the cursorColor resource is set,
2019         change the cursor face-spec (Bug#7392).
2021 2010-11-13  Ken Manheimer  <ken.manheimer@gmail.com>
2023         The main features of the following allout.el changes are:
2024         - implement user customization for the allout key bindings
2025         - add a customization control by which the user can inhibit use of
2026           a trailing Ctrl-H, so by default it's reserved for use with
2027           describe-prefix-bindings
2028         - adapt to new version of called-interactively-p, while
2029           maintaining backwards compatibility with old version
2030         - fix hotspot navigation so i works properly with meta-modified keys
2032         * allout.el (allout-keybindings, allout-bind-keys)
2033         (allout-keybindings-binding, allout-prefixed-keybindings)
2034         (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
2035         (allout-keybindings-list, allout-mode-map-adjustments)
2036         (allout-setup-mode-map): Establish allout-mode keymaps as user
2037         customizable settings, and also establish a customizable setting which
2038         regulates whether or not a trailing control-h is reserved for use with
2039         describe-prefix-bindings - and inhibit it by default, so that control-h
2040         *is* reserved for describe-prefix-bindings unless the user changes it.
2042         * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
2043         and accurately between modified and unmodified events, and handle
2044         modified events more comprehensively.
2046         * allout.el (allout-substring-no-properties):
2047         Alias to use or provide version of `substring-no-properties'.
2048         (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
2050         * allout.el (allout-next-single-char-property-change):
2051         Alias to use or provide version of `next-single-char-property-change'.
2052         (allout-annotate-hidden, allout-hide-by-annotation):
2053         Use `allout-next-single-char-property-change'.
2055         * allout.el (allout-select-safe-coding-system):
2056         Alias to use or provide version of `select-safe-coding-system'.
2057         (allout-toggle-subtree-encryption):
2058         Use `allout-select-safe-coding-system'.
2060         * allout.el (allout-set-buffer-multibyte):
2061         Alias to use or provide version of `set-buffer-multibyte'.
2062         (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
2064         * allout.el (allout-called-interactively-p): Macro for using the
2065         different versions of called-interactively-p identically, depending on
2066         the subroutine's argument signature.
2067         (allout-back-to-current-heading, allout-beginning-of-current-entry):
2068         Use `(interactive "p")' instead of `(called-interactively-p)'.
2070         * allout.el (allout-init, allout-ascend, allout-end-of-level)
2071         (allout-previous-visible-heading, allout-forward-current-level)
2072         (allout-backward-current-level, allout-show-children):
2073         Use `allout-called-interactively-p' instead of `called-interactively-p'.
2075         * allout.el (allout-before-change-handler):
2076         Exempt edits to the (overlaid) character after the allout outline
2077         bullet from edit confirmation prompt.
2079         * allout.el (allout-add-resumptions):
2080         Ensure that it respects correct buffer for keybindings.
2082         * allout.el (allout-beginning-of-line):
2083         Use `allout-previous-single-char-property-change' alias for the sake of
2084         diverse compatibility.
2086         * allout.el (allout-end-of-line):
2087         Use `allout-mark-active-p' to encapsulate respect for mark activity.
2089 2010-11-13  Chong Yidong  <cyd@stupidchicken.com>
2091         * frame.el (frame-notice-user-settings): Don't clobber other
2092         user-set parameters when calling face-set-after-frame-default in
2093         response to background-color parameter (Bug#7373).
2095 2010-11-13  Eli Zaretskii  <eliz@gnu.org>
2097         * international/characters.el (glyphless-char-display-control):
2098         Rename from glyphless-char-control; all users changed.  Doc fix.
2099         Signal an error if display method is not one of the recognized
2100         symbols.
2102 2010-11-13  Michael Albinus  <michael.albinus@gmx.de>
2104         * net/tramp-compat.el (tramp-compat-line-beginning-position)
2105         (tramp-compat-line-end-position): Remove them.
2107         * net/tramp.el (tramp-parse-rhosts-group)
2108         (tramp-parse-shosts-group, tramp-parse-sconfig-group)
2109         (tramp-parse-hosts-group, tramp-parse-passwd-group)
2110         (tramp-parse-netrc-group, tramp-parse-putty-group)
2111         * net/tramp-cmds.el (tramp-append-tramp-buffers)
2112         * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
2113         (tramp-sh-handle-file-selinux-context)
2114         (tramp-sh-handle-file-name-all-completions)
2115         (tramp-sh-handle-insert-directory)
2116         (tramp-sh-handle-expand-file-name, tramp-find-executable)
2117         (tramp-wait-for-output, tramp-send-command-and-read)
2118         * net/tramp-smb.el (tramp-smb-read-file-entry)
2119         (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
2121         * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
2122         `point-at-bol'.
2123         (tramp-remote-coding-commands): Add an alternative using "base64
2124         -d -i".  This is needed for older base64 versions from GNU
2125         coreutils.  Reported by Klaus Reichl
2126         <Klaus.Reichl@thalesgroup.com>.
2128 2010-11-13  Hrvoje Niksic  <hniksic@xemacs.org>
2130         * simple.el (count-words-region): New function.
2132 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2134         * shell.el (shell-dir-cookie-re): New custom variable.
2135         (shell-dir-cookie-watcher): New function.
2137         * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
2138         and compilation-mode (bug#7350).
2140         * vc/smerge-mode.el (smerge-refine): Choose better default part to
2141         highlight when one of them is empty.
2143         * skeleton.el (skeleton-read): Don't use `newline' since it may strip
2144         trailing space.
2145         (skeleton-newline): New function.
2146         (skeleton-internal-1): Use it.
2148         * simple.el (open-line): `newline' may strip trailing space.
2150 2010-11-12  Kevin Ryde  <user42@zip.com.au>
2152         * international/mule-cmds.el (princ-list): Use mapc.
2154 2010-11-12  Glenn Morris  <rgm@gnu.org>
2156         * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
2157         Use it to replace all instances of "*Compile-Log*"
2159 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2161         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
2162         indentation specs.
2164 2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2166         * progmodes/modula2.el: Use SMIE and skeleton.
2167         (m2-mode-syntax-table): (*..*) can be nested.
2168         Add //...\n.  Fix paren syntax.
2169         (m2-mode-map): Remove LF and TAB bindings.
2170         (m2-indent): Add safety property.
2171         (m2-smie-grammar): New var.
2172         (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
2173         (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
2174         (m2-mode): Use define-derived-mode.
2175         (m2-newline, m2-tab): Remove.
2176         (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
2177         (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
2178         (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
2179         (m2-import): Use define-skeleton.
2181 2010-11-11  Glenn Morris  <rgm@gnu.org>
2183         * obsolete/lucid.el: Don't warn about any CL functions in this file.
2185         * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
2186         (ls-lisp-verbosity): Add custom :set-after property.
2187         (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
2188         (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
2189         (ls-lisp-insert-directory): Update caller.
2190         (ls-lisp-set-options): New function.
2191         (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
2192         Doc fix.
2194         * play/landmark.el (lm-prompt-for-move):
2195         * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
2197         * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
2199         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
2200         (idlwave-study-twins): Prefix dynamic local variable `name'.
2201         (idlwave-routine-twin-compare): Update for above change.
2203         * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
2204         Prefix dynamic local variables `name', `kwd', and `link'.
2205         * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
2206         * progmodes/idlw-complete-structtag.el
2207         (idlwave-complete-structure-tag-help):
2208         * progmodes/idlwave.el (idlwave-complete-sysvar-help)
2209         (idlwave-complete-sysvar-tag-help)
2210         (idlwave-complete-class-structure-tag-help):
2211         Update for above name changes.
2213 2010-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2215         * net/browse-url.el (browse-url-browser-function): Change the
2216         default to use `browse-url-mail' on mailto: URLs.
2218 2010-11-10  Chong Yidong  <cyd@stupidchicken.com>
2220         * emacs-lisp/package.el (package-read-all-archive-contents):
2221         Reset package-archive-contents to nil before re-reading.
2223 2010-11-10  Brandon Craig Rhodes  <brandon@rhodesmill.org>  (tiny change)
2225         * textmodes/flyspell.el (flyspell-word): Do not re-check words
2226         already found as misspellings by (flyspell-large-region), just
2227         do highlighting (bug#7322).
2229 2010-11-10  Glenn Morris  <rgm@gnu.org>
2231         * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
2233         * emulation/edt.el (edt-with-position): New macro.
2234         (edt-find-forward, edt-find-backward, edt-find-next-forward)
2235         (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
2236         (edt-paragraph-forward, edt-paragraph-backward): Use it.
2238         * emulation/tpu-extras.el (tpu-with-position): New macro.
2239         (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
2241         * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
2243         * textmodes/texnfo-upd.el (texinfo-all-menus-update)
2244         (texinfo-menu-copy-old-description, texinfo-start-menu-description)
2245         (texinfo-master-menu, texinfo-insert-node-lines)
2246         (texinfo-multiple-files-update):
2247         * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
2248         Use line-beginning-position.
2250         * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
2251         No recent Emacs supports system-type `emx'.
2253         * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
2254         (ada-command-separator, ada-default-prj-properties)
2255         (ada-find-any-references): Update for above name change.
2257         * dirtrack.el (dirtrack-directory-function)
2258         (dirtrack-canonicalize-function):
2259         * filecache.el (file-cache-completion-ignore-case)
2260         (file-cache-case-fold-search, file-cache-ignore-case):
2261         * term.el (serial-port-is-file-p): Cosmetic change.
2263         * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
2264         Remove non-existent `windows-95' system-type.
2265         * dired.el (dired-chown-program): Remove non-existent `linux'
2266         system-type.
2268         * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
2269         (ping-program-options): Remove non-existent `linux' system-type.
2271         * startup.el (package-initialize): Update declaration.
2273         * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
2274         (ls-lisp-handle-switches): Use time-less-p.
2275         (ls-lisp-format-time): Use float-time.
2277         * textmodes/remember.el (remember-time-to-seconds): Remove.
2278         (remember-store-in-mailbox): Use float-time.
2280         * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
2282         * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
2283         never a real function.
2284         (with-no-warnings): Remove compat stub, now unused.
2285         (time-less-p): Doc fix.
2286         (time-to-number-of-days): Simplify.
2288         * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
2289         Remove.
2290         (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
2291         * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
2292         * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
2293         * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
2294         * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
2296         * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
2297         (eshell-shuffle-files, eshell-shorthand-tar-command)
2298         (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
2299         Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
2300         * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
2301         Prefix dynamic local variable `matches'.
2303         * skeleton.el (skeleton-internal-list, skeleton-internal-1):
2304         Prefix dynamic local variable `skeleton'.
2306 2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
2308         * net/browse-url.el (browse-url-mail): Insert body part of mailto url
2309         in mail buffer; make yank-action always a command that yanks original
2310         buffer.
2312 2010-11-09  Glenn Morris  <rgm@gnu.org>
2314         * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
2316 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2318         * minibuffer.el (minibuffer-completion-help): Specify the end of the
2319         completion field (bug#7211).
2321         * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
2322         Fix handling of backslash escapes.
2323         (python-quote-syntax): Adjust accordingly.
2325 2010-11-09  Richard Levitte  <richard@levitte.org>  (tiny change)
2327         * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
2328         (vc-mtn-workfile-branch): Adjust to new output format.
2330 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2332         * international/mule-cmds.el (princ-list): Mark as obsolete.
2334 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2336         * emacs-lisp/smie.el: New package.
2338 2010-11-09  Michael Albinus  <michael.albinus@gmx.de>
2340         * files.el (backup-by-copying-when-mismatch):
2341         Set `permanent-local' property.
2343         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2344         `permanent-local' property for `backup-by-copying-when-mismatch'.
2346 2010-11-09  Eli Zaretskii  <eliz@gnu.org>
2348         * ls-lisp.el (insert-directory): Doc fix.  (bug#7285)
2350 2010-11-09  Wilson Snyder  <wsnyder@wsnyder.org>
2352         * progmodes/verilog-mode.el (verilog-insert-one-definition)
2353         (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
2354         AUTOINOUT for SV style multidimensional arrays, bug294.
2355         Reported by Eric Mastromarchi.
2356         (verilog-preprocess): Use with-current-buffer and
2357         font-lock-fontify-buffer to cleanup style issues.
2359 2010-11-09  Glenn Morris  <rgm@gnu.org>
2361         * locate.el (locate, locate-mode): Doc fixes.
2363 2010-11-09  Chong Yidong  <cyd@stupidchicken.com>
2365         * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
2366         user for confirmation.
2367         (server-force-stop): Use it.
2368         (server-start): Use server-force-stop for kill-emacs-hook, to
2369         avoid user interaction while killing Emacs.
2371 2010-11-09  Glenn Morris  <rgm@gnu.org>
2373         * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
2374         (meta-indent-line): Simplify.
2376         * vc/emerge.el (emerge-line-number-in-buf):
2377         * textmodes/ispell.el (ispell-region):
2378         * textmodes/fill.el (current-fill-column):
2379         * progmodes/xscheme.el (xscheme-send-current-line):
2380         * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
2381         * progmodes/tcl.el (tcl-hairy-scan-for-comment):
2382         * progmodes/sh-script.el (sh-handle-prev-do):
2383         * progmodes/meta-mode.el (meta-indent-line):
2384         * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
2385         (idlwave-in-quote):
2386         * progmodes/idlw-shell.el (idlwave-shell-current-frame)
2387         (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
2388         * progmodes/fortran.el (fortran-looking-at-if-then):
2389         * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
2390         * progmodes/cperl-mode.el (cperl-sniff-for-indent)
2391         (cperl-find-pods-heres):
2392         * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
2393         * net/quickurl.el (quickurl-list-insert):
2394         * net/ldap.el (ldap-search-internal):
2395         * net/eudc.el (eudc-expand-inline):
2396         * mail/sendmail.el (sendmail-send-it):
2397         * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
2398         * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
2399         (viper-brac-function):
2400         * calc/calc-yank.el (calc-do-grab-region):
2401         * calc/calc-keypd.el (calc-keypad-press):
2402         * term.el (term-move-columns, term-insert-spaces):
2403         * speedbar.el (speedbar-highlight-one-tag-line):
2404         * simple.el (current-word):
2405         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
2406         * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
2407         (Info-scroll-down):
2408         * hippie-exp.el (he-line-beg):
2409         * epa.el (epa--marked-keys):
2410         * dired-aux.el (dired-kill-line, dired-do-kill-lines)
2411         (dired-update-file-line, dired-add-entry, dired-remove-entry)
2412         (dired-relist-entry):
2413         * buff-menu.el (Buffer-menu-buffer):
2414         * array.el (current-line):
2415         * allout.el (allout-resolve-xref)
2416         (allout-latex-verbatim-quote-curr-line):
2417         Replace yet more uses of end-of-line etc with line-end-position, etc.
2419 2010-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2421         * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
2422         (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
2423         (checkdoc-syntax-table): Initialize in the declaration.
2424         (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
2425         the mode on unconditionally.
2427         * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
2428         (extent-end-position, extent-start-position): Remove setf method for
2429         non-existing functions (bug#7319).
2431 2010-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2433         * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
2434         (smie-precs->prec2): Rename from smie-precs-precedence-table.
2435         (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
2436         (smie-prec2->grammar): Rename from smie-prec2-levels.
2437         (smie-grammar): Rename from smie-op-levels.
2438         (smie-indent--hanging-p): Rename from smie-hanging-p.
2439         (smie-rule-hanging-p): New alias.
2440         (smie-indent--bolp): Rename from smie-bolp.
2441         (smie-indent--hanging-p): New alias.
2442         (smie--token): New dynamically bound variable.
2443         (smie-indent--parent): New function.
2444         (smie-rule-parent-p): Use it; rename from smie-parent-p.
2445         (smie-rule-next-p): Rename from smie-next-p.
2446         (smie-rule-prev-p): Rename from smie-prev-p.
2447         (smie-rule-sibling-p, smie-rule-parent)
2448         (smie-indent--separator-outdent, smie-rule-separator): New functions.
2449         (smie-rule-separator-outdent): New var.
2450         (smie-indent--rule): Merge with smie-indent--column.
2451         (smie-indent-forward-token, smie-indent-backward-token):
2452         Also recognize close parens.
2453         (smie-indent-keyword): Don't use smie-indent--column any more.
2454         (smie-indent-after-keyword): Ignore closers by default.
2455         (smie-indent-line): Use with-demoted-errors.
2456         * progmodes/octave-mod.el (octave-smie-grammar):
2457         Rename from octave-smie-op-levels.
2458         (octave-smie-rules): Adjust to new behavior.
2459         * progmodes/prolog.el (prolog-smie-grammar):
2460         Rename from prolog-smie-op-levels.
2462 2010-11-07  Glenn Morris  <rgm@gnu.org>
2464         * eshell/esh-util.el (subst-char-in-string)
2465         (directory-files-and-attributes): These compatibility definitions are
2466         not needed on any version of Emacs since at least 21.4.
2468         * progmodes/verilog-mode.el (verilog-get-beg-of-line)
2469         (verilog-get-end-of-line): Remove.
2470         (verilog-within-string, verilog-re-search-forward-substr)
2471         (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
2472         (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
2473         Use point-at-bol, point-at-eol.
2474         * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
2475         Remove.
2476         (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
2477         (electric-pascal-terminate-line, pascal-set-auto-comments)
2478         (pascal-indent-paramlist, pascal-indent-declaration)
2479         (pascal-get-lineup-indent, pascal-func-completion)
2480         (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
2481         Use point-at-bol, point-at-eol.
2482         * progmodes/flymake.el (flymake-line-beginning-position)
2483         (flymake-line-end-position): Remove.
2484         (flymake-highlight-line): Use point-at-bol, point-at-eol.
2485         * eshell/esh-util.el (line-end-position, line-beginning-position):
2486         Remove compat definitions.
2488         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2489         Use end-of-line N.
2490         (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
2491         Use line-end-position.
2493         * emacs-lisp/chart.el (chart-zap-chars):
2494         * play/decipher.el (decipher-set-map):
2495         * progmodes/ada-mode.el (ada-get-current-indent)
2496         (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
2497         * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
2498         * progmodes/ada-xref.el (ada-initialize-runtime-library)
2499         (ada-get-all-references):
2500         * progmodes/cperl-mode.el (cperl-electric-paren)
2501         (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
2502         (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
2503         (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
2504         (cperl-word-at-point-hard):
2505         * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
2506         (idlwave-shell-filename-string, idlwave-shell-batch-command)
2507         (idlwave-shell-display-line):
2508         * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
2509         (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
2510         * progmodes/js.el (js--re-search-forward-inner)
2511         (js--re-search-backward-inner):
2512         * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
2513         (vhdl-fix-clause, vhdl-compose-configuration-architecture):
2514         * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
2515         * textmodes/flyspell.el (flyspell-process-localwords):
2516         * textmodes/ispell.el (ispell-buffer-local-parsing)
2517         (ispell-buffer-local-dict, ispell-buffer-local-words):
2518         Use point-at-bol and point-at-eol.
2520         * speedbar.el (speedbar-generic-item-info)
2521         (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
2522         (speedbar-add-indicator, speedbar-check-vc-this-line)
2523         (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
2524         (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
2525         Replace more uses of end-of-line etc with line-end-position.
2527 2010-11-06  Glenn Morris  <rgm@gnu.org>
2529         * textmodes/texnfo-upd.el (texinfo-start-menu-description)
2530         (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
2531         (texinfo-delete-existing-pointers, texinfo-find-pointer)
2532         (texinfo-clean-up-node-line, texinfo-insert-node-lines)
2533         (texinfo-multiple-files-update):
2534         * textmodes/table.el (table--probe-cell-left-up)
2535         (table--probe-cell-right-bottom):
2536         * textmodes/picture.el (picture-tab-search):
2537         * textmodes/page-ext.el (pages-copy-header-and-position)
2538         (pages-directory-for-addresses):
2539         * progmodes/vera-mode.el (vera-get-offset):
2540         * progmodes/simula.el (simula-calculate-indent):
2541         * progmodes/python.el (python-pdbtrack-overlay-arrow):
2542         * progmodes/prolog.el (end-of-prolog-clause):
2543         * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
2544         * progmodes/icon.el (indent-icon-exp):
2545         * progmodes/etags.el (tag-re-match-p):
2546         * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
2547         * progmodes/ebnf2ps.el (ebnf-begin-file):
2548         * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
2549         (dcl-save-local-variable):
2550         * play/life.el (life-setup):
2551         * play/gametree.el (gametree-looking-at-ply):
2552         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
2553         * mail/sendmail.el (mail-mode-auto-fill):
2554         * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
2555         * emacs-lisp/edebug.el (edebug-overlay-arrow):
2556         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
2557         * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
2558         (woman-tab-to-tab-stop, WoMan-warn-ignored):
2559         * type-break.el (type-break-file-keystroke-count):
2560         * term.el (term-replace-by-expanded-history-before-point)
2561         (term-skip-prompt, term-extract-string):
2562         * speedbar.el (speedbar-edit-line, speedbar-expand-line)
2563         (speedbar-contract-line, speedbar-toggle-line-expansion)
2564         (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
2565         (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
2566         * sort.el (sort-skip-fields):
2567         * skeleton.el (skeleton-internal-list):
2568         * simple.el (line-move-finish, line-move-to-column):
2569         * shell.el (shell-forward-command):
2570         * misc.el (copy-from-above-command):
2571         * makesum.el (double-column):
2572         * ebuff-menu.el (electric-buffer-update-highlight):
2573         * dired.el (dired-move-to-end-of-filename):
2574         * dframe.el (dframe-popup-kludge):
2575         * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
2576         * arc-mode.el (archive-get-lineno):
2577         Use line-end-position and line-beginning-position.
2579         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
2580         (idlwave-study-twins): Prefix dynamic local `class'.
2581         (idlwave-routine-twin-compare): Update for above name change.
2583         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
2584         Use boundp tests to silence compiler.  Update for changed name of
2585         bytecomp-filename variable.
2587         * emulation/viper-cmd.el (viper-read-string-with-history):
2588         Prefix dynamic local `initial'.
2589         (viper-minibuffer-standard-hook): Update for above name change.
2591         * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
2592         (elint-init-form): Update for above name change.
2594         * mail/mail-extr.el (mail-extract-address-components): Give dynamic
2595         local variables `cbeg' and `cend' a prefix.
2596         (mail-extr-voodoo): Update for above name change.
2598         * textmodes/reftex-toc.el (reftex-toc-do-promote)
2599         (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
2600         (reftex-toc-promote-action): Doc fix.
2602         * textmodes/reftex-sel.el (reftex-select-item): Give local variables
2603         `prompt', `data' a prefix.
2604         (reftex-select-post-command-hook, reftex-select-callback)
2605         (reftex-select-mouse-accept, reftex-select-read-cite):
2606         Update for above name changes.
2608         * textmodes/reftex-ref.el (reftex-reference): Rename local variable
2609         `refstyle' to reftex-refstyle.
2610         (reftex-offer-label-menu): Update for above name change.
2611         * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
2612         `refstyle' name change.
2614         * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
2615         with with-current-buffer.
2616         (diff, template): Give dynamic local variables a prefix.
2617         (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
2618         (emerge-line-number-in-buf): Update for above name change.
2619         (emerge-combine-versions-internal): Rename local `template' to
2620         emerge-combine-template.
2621         (emerge-combine-versions-edit): Update for above name change.
2623 2010-11-06  Ralf Angeli  <angeli@caeruleus.net>
2625         * textmodes/reftex-cite.el
2626         (reftex-extract-bib-entries-from-thebibliography): Match bibitem
2627         entries with whitespace after \bibitem.
2628         (reftex-create-bibtex-file): Match entries containing numbers and
2629         symbol constituents.  Make sure that entries with whitespace at
2630         various places are found.
2632 2010-11-05  Christian Millour  <cm@abtela.com>  (tiny change)
2634         * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
2636 2010-11-05  Jan Djärv  <jan.h.d@swipnet.se>
2638         * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
2640 2010-11-05  Glenn Morris  <rgm@gnu.org>
2642         * woman.el (woman0-roff-buffer, woman1-roff-buffer)
2643         (woman2-roff-buffer): Give local variable `request' a prefix.
2644         (woman0-macro): Rename argument `request' in the same way.
2645         (woman-request): New name for `request' dynamic variable.
2646         (woman-unquote, woman-forward-arg): Update for above name change.
2647         (woman1-roff-buffer): Give local variable `unquote' a prefix.
2648         (woman1-unquote): New name for `unquote' dynamic variable.
2649         (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
2650         (woman-translations): Rename from `translations'.  No longer global.
2651         (woman2-tr, woman-translate): Update for above name change.
2652         (woman-translate): Check for bound variable.
2653         (woman2-roff-buffer): Give local variable `translations' a prefix.
2655         * play/doctor.el: Give all local variables a prefix.  Update callers.
2656         (doc$, doctor-put-meaning): Use backquote.
2658         * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
2659         (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
2661         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
2662         variables bytes, ptr, op a prefix.
2663         (disassemble-offset): Update for above change.
2665 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
2667         * emacs-lisp/package.el (package-unpack): Remove no-op.
2668         (package--builtins, package--dir): Doc fix.
2669         (package-activate-1, package-activate, package-install)
2670         (package-compute-transaction): Fix error message.
2671         (package-delete): Use delete-directory.  Omit system packages.
2672         (package-initialize): Set package-alist to nil first.
2673         (package-menu-mark-delete, package-menu-mark-install): Don't add
2674         symbols that are inconsistent with the package state.
2675         (package-menu-execute): Perform deletions and installations as
2676         single batch operations.
2678 2010-11-03  Glenn Morris  <rgm@gnu.org>
2680         * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
2681         (props): Remove unnecessary declaration.
2683         * textmodes/ispell.el (ispell-init-process): On Emacs, always use
2684         set-process-query-on-exit-flag.
2686         * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
2687         (reftex-toc-do-promote): Remove unused local `mpos'.
2688         (reftex-toc-restore-region): Make `mpos' local to this function.
2690         * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
2692         * play/landmark.el (lm-losing-threshold): Correct spelling.
2693         (lm-human-plays): Use new name.
2695         * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
2696         (gomoku-human-plays): Use new name.
2698         * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
2699         (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
2700         (gomoku-score-trans-table, gomoku-winning-threshold)
2701         (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
2703 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
2705         * emacs-lisp/package.el: Don't put built-in packages in
2706         package-alist, to avoid loading inefficiencies.
2707         (package-built-in-p): Make VERSION optional, and treat it as a
2708         minimum acceptable version.
2709         (package-activate): Search separately for built-in packages.
2710         Emit a warning if a dependency fails.
2711         (define-package): Handle most common case, where there is no
2712         obsolete package, first.
2713         (package-compute-transaction): Print required version in error.
2714         (package--initialized): New variable.
2715         (list-packages): Use it.
2716         (package-initialize): Optional arg NO-ACTIVATE.  Don't put
2717         built-in packages in packages-alist; keep it separate.
2718         Set package--initialized.
2719         (describe-package): Avoid activating packages as a side-effect.
2720         Search separately for built-in packages.
2721         (describe-package-1): Handle the case where an elpa package is
2722         simultaneously built-in and available/installed.
2723         (package-installed-p, package--generate-package-list):
2724         Search separately for built-in packages.
2725         (package-load-descriptor): Doc fix.
2727 2010-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2729         * progmodes/perl-mode.el (perl-syntax-propertize-function):
2730         Handle __DATA__ and __END__.
2732 2010-11-02  Noah Friedman  <friedman@splode.com>
2734         * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
2735         nil, do not ask to recompile files that are not already compiled,
2736         and do not recompile them.
2738 2010-11-02  Chong Yidong  <cyd@stupidchicken.com>
2740         * emacs-lisp/package.el (package-initialize): Ensure that
2741         obsoleted built-in packages are not in package-activated-list
2742         during activation.
2743         (describe-package-1): Make the "installed" status override
2744         "built-in".
2746 2010-11-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2748         * subr.el (version-separator, version-regexp-alist): Remove '*'
2749         from docstring.
2750         (version-list-<=, version<=, version=): Doc fix.
2752 2010-11-01  Kenichi Handa  <handa@m17n.org>
2754         * faces.el (glyphless-char): Inherit underline for tty.
2756 2010-11-01  Kenichi Handa  <handa@m17n.org>
2758         Implement various display methods for glyphless characters.
2760         * international/characters.el (char-acronym-table): New variable.
2761         (glyphless-char-control): New variable.
2762         (update-glyphless-char-display): New funciton.
2764         * faces.el (glyphless-char): New face.
2766 2010-11-01  Glenn Morris  <rgm@gnu.org>
2768         * calendar/holidays.el (general-holidays, oriental-holidays)
2769         (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
2770         (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
2771         the definitions of their targets.
2773         * emacs-lisp/smie.el (smie): New custom group.
2774         (smie-blink-matching-inners, smie-indent-basic): Add :group.
2776         * faces.el (xw-defined-colors, x-setup-function-keys):
2777         * mouse-sel.el (x-select-text):
2778         * term/w32console.el (x-setup-function-keys): Update declarations.
2780         * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
2782         * textmodes/ispell.el (comment-add): Declare.
2784         * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
2785         Declare.
2787         * info.el (finder-keywords-hash, package-alist): Declare.
2789 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
2791         * finder.el (finder-compile-keywords): Don't use intern-soft,
2792         since package names may not yet exist in the obarray.
2794 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
2796         * vc/vc-arch.el (vc-arch-checkin):
2797         * vc/vc-cvs.el (vc-cvs-checkin):
2798         * vc/vc-mtn.el (vc-mtn-checkin):
2799         * vc/vc-rcs.el (vc-rcs-checkin):
2800         * vc/vc-sccs.el (vc-sccs-checkin):
2801         * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
2802         since 2010-04-21 commit by Stefan Monnier.
2804 2010-11-01  Glenn Morris  <rgm@gnu.org>
2806         * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
2808         * startup.el (package-enable-at-startup, package-initialize):
2809         Silence compiler.
2811         * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
2812         Silence compiler.
2814 2010-10-31  Julien Danjou  <julien@danjou.info>
2816         * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
2817         (byte-recompile-directory):
2818         * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
2819         Use `byte-recompile-file'.
2821 2010-10-31  Glenn Morris  <rgm@gnu.org>
2823         * cus-start.el: Handle standard values via a keyword.
2824         Only set version property if specified.
2825         (cursor-in-non-selected-windows, menu-bar-mode)
2826         (tool-bar-mode, show-trailing-whitespace):
2827         Do not specify standard values.
2828         (transient-mark-mode, temporary-file-directory): Use :standard.
2830 2010-10-31  Jan Djärv  <jan.h.d@swipnet.se>
2832         * term/x-win.el (x-get-selection-value): New function that gets
2833         PRIMARY with type as specified in x-select-request-type. (Bug#6802).
2835 2010-10-31  Michael Albinus  <michael.albinus@gmx.de>
2837         * net/tramp.el (tramp-handle-insert-file-contents): For root,
2838         preserve owner and group when editing files.  (Bug#7289)
2840 2010-10-31  Glenn Morris  <rgm@gnu.org>
2842         * speedbar.el (speedbar-mode):
2843         * play/fortune.el (fortune-in-buffer, fortune):
2844         * play/gomoku.el (gomoku-mode):
2845         * play/landmark.el (lm-mode):
2846         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
2847         Replace inappropriate uses of toggle-read-only.  (Bug#7292)
2849         * select.el (x-selection): Mark it as an obsolete alias.
2851 2010-10-31  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
2853         * vc/add-log.el (find-change-log): Use derived-mode-p rather than
2854         major-mode (bug#7284).
2856 2010-10-31  Glenn Morris  <rgm@gnu.org>
2858         * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
2859         rather than just an unused variable that inherits from the real one.
2861 2010-10-31  Alan Mackenzie  <acm@muc.de>
2863         * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
2864         This fixes bug #7185.
2866 2010-10-30  Chong Yidong  <cyd@stupidchicken.com>
2868         * startup.el (command-line): Search for package directories, and
2869         don't load package.el if none are found.
2871         * emacs-lisp/package.el (describe-package, list-packages):
2872         Call package-initialize if it has not been called yet.
2874 2010-10-30  Alan Mackenzie  <acm@muc.de>
2876         * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
2877         which fontifies the tail of an enum.
2878         (c-basic-matchers-after): Insert a call to the above new function.
2879         This fixes bug #7264.
2881 2010-10-30  Glenn Morris  <rgm@gnu.org>
2883         * cus-start.el: Add :set properties for minor modes menu-bar-mode,
2884         tool-bar-mode, transient-mark-mode.  (Bug#7306)
2885         Include the :set property in the dumped Emacs.
2887 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2889         SMIE: change indent rules format, improve smie-setup.
2890         * emacs-lisp/smie.el (smie-precs-precedence-table)
2891         (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
2892         Mark them pure so the tables gets built at compile time.
2893         (smie-bnf-precedence-table): Store the closer-alist in the table.
2894         (smie-prec2-levels): Preserve the closer-alist.
2895         (smie-blink-matching-open): Be more forgiving in case of indentation.
2896         (smie-hanging-p): Rename from smie-indent--hanging-p.
2897         (smie-bolp): Rename from smie-indent--bolp.
2898         (smie--parent, smie--after): New dynamic vars.
2899         (smie-parent-p, smie-next-p, smie-prev-p): New funs.
2900         (smie-indent-rules): Remove.
2901         (smie-indent--offset-rule): Remove fun.
2902         (smie-rules-function): New var.
2903         (smie-indent--rule): New fun.
2904         (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
2905         (smie-indent-exps): Use it.
2906         (smie-setup): Setup paren blinking; add keyword args for token
2907         functions; extract closer-alist from op-levels.
2908         (smie-indent-debug-log): Remove var.
2909         (smie-indent-debug): Remove fun.
2910         * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
2911         (prolog-smie-rules): New fun to replace it.
2912         (prolog-mode-variables): Simplify.
2913         * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
2914         it's setup automatically.
2915         (octave-smie-indent-rules): Remove.
2916         (octave-smie-rules): New fun to replace it.
2917         (octave-mode): Simplify.
2919 2010-10-29  Glenn Morris  <rgm@gnu.org>
2921         * files.el (temporary-file-directory): Remove (already defined in C).
2922         * cus-start.el: Add temporary-file-directory.
2924         * abbrev.el (abbrev-mode):
2925         * composite.el (auto-composition-mode):
2926         * menu-bar.el (menu-bar-mode):
2927         * simple.el (transient-mark-mode):
2928         * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
2929         that they do not define the associated variables twice.
2930         * simple.el (transient-mark-mode): Remove defvar.
2931         * composite.el (auto-composition-mode): Make variable auto-buffer-local.
2932         * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
2933         Handle multiple groups, and also custom-delayed-init-variables.
2934         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2936 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2938         * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
2939         (pcase-if): Add one minor optimization.
2940         (pcase-split-equal): Rename from pcase-split-eq.
2941         (pcase-split-member): Rename from pcase-split-memq.
2942         (pcase-u1): Add strings to the member optimization.
2943         Add `guard' variant of predicates.
2944         (pcase-q1): Add string patterns.
2946 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2948         * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
2950 2010-10-28  Glenn Morris  <rgm@gnu.org>
2952         * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2953         Move menu-bar related settings to ../menu-bar.el.
2954         * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2955         Move ns-specific settings here from term/ns-win.el.
2957         * simple.el (x-selection-owner-p): Remove unused declaration.
2959 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2961         * minibuffer.el (completion-cycling): New var (bug#7266).
2962         (minibuffer-complete, completion--do-completion):
2963         Use completion--flush-all-sorted-completions.
2964         (minibuffer-complete): Only cycle if completion-cycling is set.
2965         (completion--flush-all-sorted-completions): Unset completion-cycling.
2966         (minibuffer-force-complete): Set completion-cycling.
2967         (completion-all-sorted-completions): Move declaration before first use.
2969 2010-10-28  Leo  <sdl.web@gmail.com>
2971         * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
2972         which changes the order of matches seen by users (bug#7231).
2974 2010-10-28  Jes Bodi Klinke  <jes@bodi-klinke.dk>  (tiny change)
2976         * progmodes/compile.el (compilation-mode-font-lock-keywords):
2977         Don't confuse -omega as "-o mega".
2979 2010-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2981         * vc/log-edit.el (log-edit-rewrite-fixes): New var.
2982         (log-edit-author): New dynamic var.
2983         (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
2984         to return the author if different from committer.
2985         (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
2987         * play/landmark.el: Adjust commenting convention.
2988         (lm-nil-score): Rename from nil-score.
2989         (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
2990         (OOOOscore): Move into a let in lm-score-trans-table.
2991         (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
2993         * electric.el (electric-indent-chars): Autoload.
2994         * progmodes/octave-mod.el (octave-mode):
2995         * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
2996         (ruby-mode-abbrev-table): Merge initialization and declaration.
2998 2010-10-27  Glenn Morris  <rgm@gnu.org>
3000         * abbrev.el (abbrev-mode): Remove one of the three definitions of this
3001         variable.
3003         * server.el (server-host, server-port, server-auth-dir): Autoload risky.
3005         * term/ns-win.el: Restore require of cl when compiling.
3006         (menu-bar-final-items): Remove non-existent `windows' menu.
3007         (ns-handle-nxopen): Optionally handle the temp-case.
3008         (ns-handle-nxopentemp): Just call ns-handle-nxopen.
3009         (ns-insert-file, ns-find-file): Use `pop'.
3011 2010-10-26  Glenn Morris  <rgm@gnu.org>
3013         * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
3015 2010-10-26  Adrian Robert  <Adrian.B.Robert@gmail.com>
3017         * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
3018         global map.
3019         * term/common-win.el (x-setup-function-keys): Remove most of the
3020         keymappings.  Comment on the remaining ones.
3022 2010-10-26  Peter Oliver  <p.d.oliver@mavit.org.uk>  (tiny change)
3024         * server.el (server-port): New option.  (Bug#854)
3025         (server-start): Use server-port.
3027 2010-10-26  Glenn Morris  <rgm@gnu.org>
3029         * term/ns-win.el (ns-version-string): Remove unused declaration.
3030         (ns-invocation-args): Change to x-invocation-args.
3031         (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
3032         (ns-handle-name-switch, ns-ignore-2-arg): Remove.
3033         (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
3034         Use x-invocation-args instead of ns-invocation-args.
3035         (ns-initialize-window-system, handle-args-function-alist):
3036         Use x-handle-args instead of ns-handle-args.
3037         * term/common-win.el (x-handle-args): Also handle nextstep arguments.
3038         * startup.el (command-line-ns-option-alist): Replace
3039         ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
3040         ns-handle-iconic with the x- equivalents.
3042         * term/common-win.el (x-select-enable-clipboard):
3043         * term/pc-win.el (x-select-enable-clipboard): Doc fix.
3045         * term/ns-win.el: No need to require cl when compiling.
3046         (x-display-name, x-setup-function-keys, x-select-text, x-colors)
3047         (xw-defined-colors): Use the common-win definitions.
3048         (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
3049         (ns-handle-iconic): Make it an alias for x-handle-iconic.
3050         * term/common-win.el (x-select-text, x-alternatives-map)
3051         (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
3052         * loadup.el [ns]: Load common-win.
3054 2010-10-26  Daiki Ueno  <ueno@unixuser.org>
3056         * epa-mail.el (epa-mail-encrypt): Handle local-part only
3057         recipients; expand mail aliases (Bug#7280).
3059 2010-10-25  Glenn Morris  <rgm@gnu.org>
3061         * term/common-win.el (x-handle-switch): Simplify with pop.
3062         Optionally handle numeric switches.
3063         (x-handle-numeric-switch): Just call x-handle-switch.
3064         (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
3065         (x-handle-name-switch, x-handle-display, x-handle-args):
3066         Simplify with pop.
3068         * term/ns-win.el: Do not require easymenu.
3069         (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
3070         <spell>: Move adjustments to menu-bar.el.
3071         * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
3072         <separator-undo, spell>: Move ns-win's adjustments here.
3073         * loadup.el [ns]: Do not load easymenu.
3075 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
3077         * image.el (image-checkbox-checked, image-checkbox-unchecked):
3078         Delete (Bug#7222).
3080         * startup.el (fancy-startup-tail): Instead of using inline images,
3081         refer to image files from etc/.
3083         * wid-edit.el (checkbox): Likewise.
3084         (widget-image-find): Center image specs.
3086 2010-10-24  Glenn Morris  <rgm@gnu.org>
3088         * term/ns-win.el (x-select-text): Doc fix.
3089         * w32-fns.el (x-alternatives-map, x-setup-function-keys)
3090         (x-select-text): Move to term/common-win.
3091         * term/w32-win.el (xw-defined-colors): Move to common-win.
3092         * term/x-win.el (xw-defined-colors, x-alternatives-map)
3093         (x-setup-function-keys, x-select-text): Move to common-win.
3094         * term/common-win.el (x-select-text, x-alternatives-map)
3095         (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
3096         definitions here.
3098 2010-10-24  T.V. Raman  <tv.raman.tv@gmail.com>  (tiny change)
3100         * net/mairix.el (mairix-searches-mode-map):
3101         * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
3103 2010-10-24  Michael McNamara  <mac@mail.brushroad.com>
3105         * verilog-mode.el (verilog-directive-re): Make this variable
3106         auto-built for efficiency of execution and updating.
3107         (verilog-extended-complete-re): Support 'pure' fucntion & task
3108         declarations (these have no bodies).
3109         (verilog-beg-of-statement): General cleanup to enable support of
3110         'pure' fucntion & task declarations (these have no bodies).
3111         These efforts together fix Verilog bug210 from veripool; which was also
3112         noticed by Steve Pearlmutter.
3113         (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
3114         (verilog-directive-nest-re, verilog-set-auto-endcomments):
3115         Support `elsif.  Reported by Shankar Giri.
3116         (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
3117         attribute handling for lining up declarations and assignments.
3118         (verilog-beg-of-statement-1): Fix issue where continued declaration
3119         is indented differently if it is after a begin..end clock.
3120         (verilog-in-attribute-p, verilog-skip-backward-comments)
3121         (verilog-skip-forward-comment-p): Support proper treatment of
3122         attributes by indent code. Reported by Jeff Steele.
3123         (verilog-in-directive-p): Fix comment to correctly describe function.
3124         (verilog-backward-up-list, verilog-in-struct-region-p)
3125         (verilog-backward-token, verilog-in-struct-p)
3126         (verilog-in-coverage-p, verilog-do-indent)
3127         (verilog-pretty-declarations): Use verilog-backward-up-list as
3128         wrapper around backward-up-list inorder to properly skip comments.
3129         Reported by David Rogoff.
3130         (verilog-property-re, verilog-endcomment-reason-re)
3131         (verilog-beg-of-statement, verilog-set-auto-endcomments)
3132         (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
3133         of if). Reported by Max Bjurling and
3134         (verilog-calc-1): Fix for clocking block in modport
3135         declaration. Reported by Brian Hunter.
3137 2010-10-24  Wilson Snyder  <wsnyder@wsnyder.org>
3139         * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
3140         (verilog-gate-keywords, verilog-read-sub-decls)
3141         (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
3142         (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
3143         AUTOINST for gate primitives, bug284.  Reported by Mark Johnson.
3144         (verilog-read-decls): Fix spaces in V2K module parameters causing
3145         mis-identification as interfaces, bug287.
3146         (verilog-read-decls): Fix not treating "parameter string" as a
3147         parameter in AUTOINSTPARAM.
3148         (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
3149         treating `elsif similar to `endif inside AUTOSENSE.
3150         (verilog-do-indent): Implement correct automatic or static task or
3151         function end comment highlight. Reported by Steve Pearlmutter.
3152         (verilog-font-lock-keywords-2): Fix highlighting of single
3153         character pins, bug264.  Reported by Michael Laajanen.
3154         (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
3155         (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
3156         (verilog-subdecls-get-interfaced, verilog-subdecls-new):
3157         Support interfaces with AUTOINST, bug270.  Reported by Luis Gutierrez.
3158         (verilog-pretty-expr): Fix interactive arguments, bug272.
3159         Reported by Mark Johnson.
3160         (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
3161         Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
3162         bug269. Suggested by Gary Delp.
3163         (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
3164         (verilog-preprocessor, verilog-set-compile-command):
3165         Create verilog-preprocess and verilog-preprocessor to show
3166         preprocessed output.
3167         (verilog-get-beg-of-line, verilog-get-end-of-line)
3168         (verilog-modi-file-or-buffer, verilog-modi-name)
3169         (verilog-modi-point, verilog-within-string): Move defmacro's
3170         before first use to avoid warning. Reported by Steve Pearlmutter.
3171         (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
3172         (verilog-colorize-region, verilog-highlight-buffer)
3173         (verilog-highlight-includes, verilog-highlight-modules)
3174         (verilog-highlight-region, verilog-mode): Rename colorize to
3175         highlight to match other packages.  Disable module highlighting,
3176         as received speed complaints, reenable for experimentation only
3177         using new verilog-highlight-modules.
3178         (verilog-read-decls): Fix regexp stack overflow in very large
3179         AUTO_TEMPLATEs, bug250.
3180         (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
3181         (verilog-scan): Create verilog-save-buffer-state to standardize
3182         making insignificant changes that shouldn't call hooks.
3183         (verilog-save-no-change-functions, verilog-save-scan-cache)
3184         (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
3185         Create verilog-save-no-change-functions to wrap verilog-scan
3186         preservation, and fix to work with nested preserved calls.
3187         (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
3188         port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
3189         generate .name with AUTOINST, bug245.  Suggested by David Rogoff.
3190         (verilog-submit-bug-report): Update variable list to be complete.
3191         (verilog-auto, verilog-colorize-region): Fix AUTO expansion
3192         breaking on-the-fly font-locking.
3193         (verilog-colorize-buffer, verilog-colorize-include-files)
3194         (verilog-colorize-include-files-buffer, verilog-colorize-region)
3195         (verilog-load-file-at-mouse, verilog-load-file-at-point)
3196         (verilog-mode, verilog-read-inst-module-matcher): With point on a
3197         AUTOINST cell instance name, middle mouse button now finds-file on
3198         it.  Suggested by Brad Dobbie.
3199         (verilog-alw-get-temps, verilog-auto-reset)
3200         (verilog-auto-sense-sigs, verilog-read-always-signals)
3201         (verilog-read-always-signals-recurse): Fix loop indexes being
3202         AUTORESET. AUTORESET now assumes any variables in the
3203         initialization section of a for() should be ignored.
3204         Reported by Dan Dever.
3205         (verilog-error-font-lock-keywords)
3206         (verilog-error-regexp-emacs-alist)
3207         (verilog-error-regexp-xemacs-alist): Fix error detection of
3208         Cadence HAL, reported by David Asher.  Repair drift between the
3209         three similar error variables.
3210         (verilog-modi-lookup, verilog-modi-lookup-cache)
3211         (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
3212         (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
3213         Fix slow verilog-auto expansion on very large files.
3214         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
3215         Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
3216         "{1*2{...".  Broke in last revision.
3217         (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
3218         submodule connections with replications "{#{a},#{b}}".
3220 2010-10-24  Juanma Barranquero  <lekktu@gmail.com>
3222         * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
3223         Fix typo in docstring.
3225 2010-10-24  Kenichi Handa  <handa@m17n.org>
3227         * face-remap.el (text-scale-adjust): Call read-event with a proper
3228         prompt.
3230 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
3232         * emacs-lisp/unsafep.el: Don't mark functions that display
3233         messages as safe.  Suggested by Johan Bockgård.
3235 2010-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3237         * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
3238         Turn comments into docstrings.
3240         * minibuffer.el (completion--replace): Move point where it belongs
3241         when there's a common suffix (bug#7215).
3243 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
3245         Merge read-color and facemenu-read-color (Bug#7242).
3247         * faces.el (read-color): Use the completion code from
3248         facemenu-read-color.  Require match in completion.  Doc fix.
3250         * facemenu.el (facemenu-read-color): Alias for read-color.
3251         (facemenu-set-foreground, facemenu-set-background):
3252         Use read-color.
3254         * frame.el (set-background-color, set-foreground-color)
3255         (set-cursor-color, set-mouse-color, set-border-color):
3256         Use read-color.
3258 2010-10-24  Leo  <sdl.web@gmail.com>
3260         * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
3261         argument of delete-file and delete-directory (Bug#7011).
3263 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
3265         * emacs-lisp/package.el (package-menu-mode-map): Inherit from
3266         button-buffer-map.
3268 2010-10-24  Ralf Angeli  <angeli@caeruleus.net>
3270         * emacs-lisp/package.el (package--generate-package-list): Make the
3271         *Packages* buffer read-only.
3273 2010-10-24  Alan Mackenzie  <acm@muc.de>
3275         * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
3276         result of `c-beginning-of-decl-1' between invocations of a lambda
3277         function (Bug #7265).
3279 2010-10-24  Daiki Ueno  <ueno@unixuser.org>
3281         * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
3282         executable is not available on the system (Bug#7268).
3284 2010-10-24  Glenn Morris  <rgm@gnu.org>
3286         * select.el (selection-coding-system, next-selection-coding-system):
3287         Sync doc with C versions.
3289         * w32-vars.el (x-select-enable-clipboard):
3290         * term/x-win.el (x-select-enable-clipboard): Move to common-win.
3291         * term/common-win.el (x-select-enable-clipboard): Move here.
3293         * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
3294         definition of C variable.
3296         * frame.el (show-trailing-whitespace, auto-hscroll-mode)
3297         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3298         Don't redefine things that are defined in C.
3299         * cus-start.el: Also handle :risky, :safe, :set, and :tag.
3300         (show-trailing-whitespace, auto-hscroll-mode)
3301         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3302         Set up the appropriate custom properties.
3304 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
3306         Bind "C-c ]" to ...
3307         * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
3308         * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
3309         * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
3310         * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
3312 2010-10-23  Glenn Morris  <rgm@gnu.org>
3314         * textmodes/flyspell.el (flyspell-mode): If there was an error,
3315         say what it was.
3317         * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
3318         Sync docs with C version.
3320         * term/ns-win.el (xw-defined-colors):
3321         * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
3323         * term/pc-win.el (x-select-enable-clipboard):
3324         * term/x-win.el (x-select-enable-clipboard):
3325         * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
3327         * comint.el (comint-password-prompt-regexp): Make it less vague.
3328         Bump version.
3330         * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
3332         * help.el (finder-by-keyword): Remove unnecessary autoload.
3334 2010-10-22  Glenn Morris  <rgm@gnu.org>
3336         * loadup.el: Unconditionally load float-sup.
3337         * paren.el (show-paren-delay):
3338         * emacs-lisp/float-sup.el:
3339         * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
3340         * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
3341         (lazy-lock-stealth-verbose): Assume float support.
3342         * ps-print.el: Assume float support on Emacs.
3343         * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
3344         Remove non-float branch.
3346         * emacs-lisp/autoload.el (batch-update-autoloads): Update for
3347         src/Makefile no longer being pre-processed.
3349 2010-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3351         * emacs-lisp/find-func.el (find-library): Use test-completion.
3353 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3355         * newcomment.el (comment-dwim): Fix the intentation in the doc string.
3357 2010-10-21  Michael Albinus  <michael.albinus@gmx.de>
3359         * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
3360         space in stat format string.
3361         (tramp-send-command): Unset $PS1 when using here documents, in
3362         order not to get several prompts.
3363         (tramp-get-inline-coding): Return `nil' in case of errors.
3365 2010-10-21  Daiki Ueno  <ueno@unixuser.org>
3367         * hexl.el (hexl-mode, hexl-mode-exit):
3368         Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
3369         (hexl-revert-buffer-function): New function.
3370         (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
3372 2010-10-19  Alan Mackenzie  <acm@muc.de>
3374         * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
3375         Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
3376         that these keywords aren't wrongly matched as identifiers.
3378         * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
3379         setting of c-new-BEG and c-new-END from c-before-change to
3380         c-after-change.  (Bug#7181)
3382 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
3384         * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
3385         Don't mark as safe.
3387         * custom.el (custom-theme-set-variables): Likewise.
3388         (load-theme): Add custom-theme-set-faces and
3389         custom-theme-set-variables to safe-functions while loading.
3390         (custom-enabled-themes): Mark as risky.
3392 2010-10-18  Julien Danjou  <julien@danjou.info>
3394         * bindings.el: Remove end dashes in default mode-line-format.
3396 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
3398         * bindings.el (global-map): Bind C-d to delete-char and deletechar
3399         to delete-forward-char.
3401         * simple.el (normal-erase-is-backspace-mode): Remap delete to
3402         deletechar, and hence delete-forward-char.
3404 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3406         * repeat.el (repeat): Use read-key (bug#6256).
3408 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
3410         * emacs-lisp/unsafep.el: Don't mark functions that display
3411         messages as safe.  Suggested by Johan Bockgård.
3413 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3415         * minibuffer.el (completion--replace): Move point where it belongs
3416         when there's a common suffix (bug#7215).
3418 2010-10-19  Kenichi Handa  <handa@m17n.org>
3420         * international/characters.el: Add category '|' (word breakable)
3421         to fullwidth characters.
3423 2010-10-19  Michael Albinus  <michael.albinus@gmx.de>
3425         * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
3426         (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
3427         order to make stat results a float.  Patch by Andreas Schwab
3428         <schwab@linux-m68k.org>.
3430 2010-10-18  Julien Danjou  <julien@danjou.info>
3432         * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
3433         hidden by `make-pointer-invisible'.
3435 2010-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3437         * files.el (locate-file-completion-table): Strip non-matching elements
3438         before checking length of list (bug#7238).
3440 2010-10-18  Chong Yidong  <cyd@stupidchicken.com>
3442         * custom.el (custom-theme-set-variables): Mark as a safe function.
3443         (load-theme): Check forms using unsafep.
3445         * cus-face.el (custom-theme-set-faces): Mark as a safe function.
3447 2010-10-17  Agustín Martín  <agustin.martin@hispalinux.es>
3449         * textmodes/ispell.el (ispell-aspell-find-dictionary):
3450         Fix aspell data file searching (bug#7230).
3452 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
3454         * cus-theme.el (custom-theme--migrate-settings): New var.
3455         (customize-create-theme): Allow editing the `user' theme.
3456         (custom-theme-add-variable, custom-theme-add-var-1)
3457         (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
3458         to the front of each variable or face widget.
3459         (custom-theme-write): Save theme settings in the correct order.
3460         Optionally, remove saved settings from user customizations.
3461         (custom-theme-write-variables, custom-theme-write-faces):
3462         Save only the checked widgets.
3463         (customize-themes): Add a link for migrating custom settings.
3465         * custom.el (custom-declare-theme, provide-theme):
3466         Use custom-theme-name-valid-p.
3467         (custom-theme-name-valid-p): Remove checks that are now
3468         unnecessary since themes no longer obey load-path.
3470         * cus-edit.el (custom-variable-value-create): For the simple
3471         style, hide documentation string when hidden.
3473 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
3475         * cus-edit.el (custom-variable, custom-face): Combine the
3476         :inhibit-magic and :display-style properties into a single
3477         :custom-style property.
3478         (custom-toggle-hide-variable, custom-toggle-hide-face):
3479         New functions.  If hiding an edited value, save it to :shown-value.
3480         (custom-variable-value-create, custom-face-value-create): Use them.
3481         (custom-magic-reset): Allow magic property to be unset.
3483         * custom.el: Custom themes no longer use load-path.
3484         (custom-theme-load-path): New option.  Change built-in theme
3485         directory to etc/.
3486         (custom-enabled-themes): Add custom-theme-load-path dependency.
3487         (custom-theme--load-path): New function.
3488         (load-theme, custom-available-themes): Use it.
3490         * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
3491         (customize-themes): Link to custom-theme-load-path variable.
3492         (custom-theme-add-var-1, custom-theme-add-face-1): Use the
3493         :custom-style property.
3495         * themes/*.el: Moved to etc/.
3497 2010-10-16  Ralf Angeli  <angeli@caeruleus.net>
3499         * textmodes/reftex-cite.el
3500         (reftex-extract-bib-entries-from-thebibliography): Do not move
3501         point when searching for \bibitem entries.  Match entries with
3502         spaces or tabs in front of arguments.
3504 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
3506         * cus-theme.el (customize-create-theme): Delete overlays after
3507         erasing.  If given a THEME arg, display only the faces of that arg
3508         instead of custom-theme--listed-faces.
3509         (custom-theme-variable-menu, custom-theme-variable-action)
3510         (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
3511         (custom-theme-add-variable, custom-theme-add-face): Apply value
3512         from the theme settings, instead of the current value.
3513         (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
3514         (custom-theme-visit-theme): Allow calling outside theme buffers.
3515         (custom-theme-merge-theme): Don't enable the theme when merging.
3516         (custom-theme-write-variables, custom-theme-write-faces): Use the
3517         :shown-value properties to save buffer values, not global ones.
3518         (customize-themes): Display a warning about user customizations.
3520         * cus-edit.el (custom-variable-value-create)
3521         (custom-face-value-create): Obey new special properties
3522         :shown-value and :inhibit-magic.
3524 2010-10-15  Michael Albinus  <michael.albinus@gmx.de>
3526         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3527         Suppress expansion of tabs to spaces.  Reported by Dale Sedivec
3528         <dale@codefu.org>.
3530 2010-10-14  Kenichi Handa  <handa@m17n.org>
3532         * mail/rmail.el (rmail-show-message-1): Catch an error of
3533         base64-decode-region and just show an error message (bug#7165).
3535         * ps-mule.el (ps-mule-font-spec-list): Delete it.  Not used anymore.
3536         (ps-mule-begin-job): Fix for the case that only ENCODING is set in
3537         a font-spec (bug#7197).
3539 2010-10-14  Glenn Morris  <rgm@gnu.org>
3541         * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
3543 2010-10-14  Juanma Barranquero  <lekktu@gmail.com>
3545         * international/mule.el (define-coding-system):
3546         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3547         * composite.el (compose-region): Fix typo in docstring.
3549 2010-10-14  Chong Yidong  <cyd@stupidchicken.com>
3551         * cus-face.el (custom-theme-set-faces): Call custom-push-theme
3552         only after checking the theme-face property.
3554         * faces.el (face-spec-reset-face): Reset all attributes in one
3555         single call to set-face-attribute.
3556         (face-spec-match-p): Make it a defsubst.
3557         (frame-set-background-mode): New arg KEEP-FACE-SPECS.
3558         (x-create-frame-with-faces, tty-create-frame-with-faces)
3559         (tty-set-up-initial-frame-faces): Don't recompute face specs in
3560         frame-set-background-mode, since they are recomputed immediately
3561         afterwards in face-set-after-frame-default.
3562         (face-set-after-frame-default): Minor optimization.
3563         (cursor): Provide non-trivial defface spec.
3565         * custom.el (custom-theme-recalc-face): Simplify.
3567 2010-10-14  Jay Belanger  <jay.p.belanger@gmail.com>
3569         * calc/calc-alg.el (math-var): Rename from `var'.
3570         (math-is-polynomial, math-is-poly-rec): Replace `var'
3571         with `math-var'.
3573         * calc/calcalg2.el (math-var): Rename from `var'.
3574         (calcFunc-table, math-scan-for-limits): Replace `var'
3575         with `math-var'.
3577 2010-10-13  Glenn Morris  <rgm@gnu.org>
3579         * subr.el (last): Deal with dotted lists (reported in bug#7174).
3581 2010-10-13  Stephen Berman  <stephen.berman@gmx.net>
3583         * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
3585 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3587         * net/tls.el (tls-program): Remove spurious %s from openssl.
3588         (tls-starttls-switches): Remove starttls hack.
3589         (open-tls-stream): Ditto.
3590         (tls-find-starttls-argument): Ditto.
3592 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
3594         * image.el (image-library-alist): Declare as obsolete alias.
3595         (image-type-available-p): Use `dynamic-library-alist'.
3597         * term/w32-win.el (dynamic-library-alist):
3598         Use instead of `image-library-alist'.
3600 2010-10-13  IRIE Shinsuke  <irieshinsuke@yahoo.co.jp>  (tiny change)
3602         * subr.el (last): Make it faster.  (Bug#7174)
3604 2010-10-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>  (tiny change)
3606         * Makefile.in (compile-clean): Use `` instead of $().  (Bug#7178)
3608 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
3610         * cus-theme.el (custom-theme--listed-faces): Add cursor face.
3611         (describe-theme-1): Extract doc from unloaded themes.
3613         * custom.el (custom-theme-name-valid-p): Don't list color-themes.
3615         * themes/tango-theme.el:
3616         * themes/tango-dark-theme.el:
3617         * themes/wheatgrass-theme.el: New files.
3619 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
3621         * cus-theme.el (describe-theme, customize-themes)
3622         (custom-theme-save): New commands.
3623         (custom-new-theme-mode-map): Bind C-x C-s.
3624         (custom-new-theme-mode): Use custom--initialize-widget-variables.
3625         (customize-create-theme): New optional arg THEME.
3626         (custom-theme-revert): Use it.
3627         (custom-theme-visit-theme): Remove dead code.
3628         (custom-theme-merge-theme): Use custom-available-themes.
3629         (custom-theme-write): Make interactive.
3630         (custom-theme-write): Use custom-theme-name-valid-p.
3631         (describe-theme-1, custom-theme-choose-revert)
3632         (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
3633         New funs.
3634         (custom-theme-allow-multiple-selections): New option.
3635         (custom-theme-choose-mode): New major mode.
3637         * custom.el (custom-theme-set-variables): Remove dead code.
3638         Obey custom--inhibit-theme-enable.
3639         (custom--inhibit-theme-enable): New var.
3640         (provide-theme): Obey it.
3641         (load-theme): Replace load with manual read/eval, in order to
3642         check for correctness.  Use custom-theme-name-valid-p.
3643         (custom-theme-name-valid-p): New function.
3644         (custom-available-themes): Use it.
3646         * cus-edit.el (custom--initialize-widget-variables): New function.
3647         (Custom-mode): Use it.
3649         * cus-face.el (custom-theme-set-faces): Remove dead code.
3650         Obey custom--inhibit-theme-enable.
3652         * help-mode.el (help-theme-def, help-theme-edit): New buttons.
3654 2010-10-12  Juanma Barranquero  <lekktu@gmail.com>
3656         * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
3658 2010-10-12  Jan Djärv  <jan.h.d@swipnet.se>
3660         * term/ns-win.el (ns-right-alternate-modifier): New defvar.
3661         (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
3662         (mac-right-option-modifier): New alias for ns-right-option-modifier.
3664         * cus-start.el (all): ns-right-alternate-modifier is new.
3666 2010-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3668         * emacs-lisp/lisp.el (lisp-completion-at-point):
3669         Use emacs-lisp-mode-syntax-table for the whole function.
3671 2010-10-12  David Koppelman  <koppel@ece.lsu.edu>
3673         * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
3674         instead of font-lock-mode before adding keywords.
3675         Remove hi-lock-mode off code.  Remove inhibit hack.
3676         (hi-lock-set-pattern): Only add keywords if font-lock-fontified
3677         non-nil; removed hook inhibit hack.
3679 2010-10-12  Glenn Morris  <rgm@gnu.org>
3681         * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
3682         (load-path-shadows-find): ... to this.
3683         (list-load-path-shadows): Update for above change.
3685         * mail/mail-utils.el (mail-mbox-from): Also try return-path.
3687 2010-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
3689         * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
3690         Fix comment for declare-function.
3692 2010-10-11  Chong Yidong  <cyd@stupidchicken.com>
3694         * custom.el (custom-fix-face-spec): New function; code moved from
3695         custom-face-edit-fix-value.
3696         (custom-push-theme): Use it when checking if a face has been
3697         changed outside customize.
3698         (custom-available-themes): New function.
3699         (load-theme): Use it.
3701         * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
3703         * custom.el (custom-push-theme): Cleanup (use cond).
3704         (disable-theme): Recompute the saved-face property.
3705         (custom-theme-recalc-face): Follow face alias before setting prop.
3707         * image.el (image-checkbox-checked, image-checkbox-unchecked):
3708         New variables, containing checkbox images.
3710         * startup.el (fancy-startup-tail):
3711         * wid-edit.el (checkbox): Use them.
3713 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
3715         * shell.el (shell-mode-map):
3716         * progmodes/modula2.el (m2-mode-map):
3717         * progmodes/inf-lisp.el (inferior-lisp-mode-map):
3718         * play/mpuz.el (mpuz-mode-map):
3719         * play/landmark.el (lm-mode-map):
3720         * play/decipher.el (decipher-mode-map):
3721         * play/5x5.el (5x5-mode-map):
3722         * net/telnet.el (telnet-mode-map):
3723         * net/quickurl.el (quickurl-list-mode-map):
3724         * net/mairix.el (mairix-searches-mode-map):
3725         * net/eudc-hotlist.el (eudc-hotlist-mode-map):
3726         * net/dig.el (dig-mode-map):
3727         * mail/mspools.el (mspools-mode-map):
3728         * hexl.el (hexl-mode-map):
3729         * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
3730         (wordstar-C-o-map, wordstar-C-q-map):
3731         * emacs-lisp/edebug.el (edebug-eval-mode-map):
3732         * emacs-lisp/chart.el (chart-map):
3733         * edmacro.el (edmacro-mode-map):
3734         * erc/erc-list.el (erc-list-menu-mode-map):
3735         * array.el (array-mode-map): Declare and define in one step.
3737         * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
3739 2010-10-10  Daiki Ueno  <ueno@unixuser.org>
3741         * epa.el (epa-passphrase-callback-function): Display filename
3742         passed as the 3rd arg.
3743         * epa-file.el (epa-file-passphrase-callback-function):
3744         Pass filename to epa-passphrase-callback-function.
3746 2010-10-09  Chong Yidong  <cyd@stupidchicken.com>
3748         * cus-edit.el (custom-face-widget-to-spec)
3749         (custom-face-get-current-spec, custom-face-state): New functions.
3750         (custom-face-set, custom-face-mark-to-save)
3751         (custom-face-value-create, custom-face-state-set): Use them.
3753         * cus-theme.el (custom-theme--listed-faces): New var.
3754         (customize-create-theme): Use *Custom Theme* as the buffer name.
3755         Set revert-buffer-function.  Optional arg BUFFER.  Insert all
3756         faces listed in custom-theme--listed-faces.
3757         (custom-theme-revert): New function.
3758         (custom-theme-add-variable, custom-theme-add-face): Insert at the
3759         bottom of the list.
3760         (custom-theme-write): Prompt for theme name if empty.
3761         (custom-theme-write-variables): Use dolist.
3762         (custom-theme-write-faces): Handle hidden (collapsed) widgets.
3764 2010-10-09  Alan Mackenzie  <acm@muc.de>
3766         Enhance fontification of declarators to take account of the
3767         presence/absence of "typedef".
3769         * cc-engine.el (c-forward-type): New &optional param
3770         "brace-block-too".
3771         (c-forward-decl-or-cast-1): cdr of return value now indicates the
3772         presence of either or both of a "struct"-like keyword and "typedef".
3774         * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
3775         fontification of declarators which follow a "}".
3776         (c-font-lock-declarations): Fontify declarators according to the
3777         presence/absence of "typedef".
3779         * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
3780         for "typedef".
3781         (c-typedef-decl-key): New lang variable built from
3782         c-typedef-decl-kwds.
3784 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3786         * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
3787         since that's too annoying.  Move the filter groups commands to
3788         TAB/backtab.
3790         * epa.el (epa-passphrase-callback-function): Say what we're
3791         querying the password for.
3793         * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
3794         behaviour, don't bury the ibuffer buffer when visiting other buffers.
3796 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
3798         * cus-edit.el (custom-commands, custom-buffer-create-internal)
3799         (custom-magic-value-create): Pad button tags with spaces.
3800         (custom-face-edit): New variable.
3801         (custom-face-value-create): Determine whether to use the usual
3802         face editor here, instead of using custom-face-selected.
3803         Pass face defaults to custom-face-edit widget.
3804         (custom-face-selected, custom-display-unselected): Delete widgets.
3805         (custom-display-unselected-match): Function removed.
3806         (custom-face-set, custom-face-mark-to-save):
3807         Accept custom-face-edit widgets as the direct widget child.
3809         * wid-edit.el (widget--completing-widget): New var.
3810         (widget-default-complete): Bind it when doing completion.
3811         (widget-string-complete, widget-file-complete): Use it.
3813 2010-10-09  Glenn Morris  <rgm@gnu.org>
3815         * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
3816         (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
3817         (holiday-hebrew-misc): Small simplifications.
3819         * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
3821         * net/browse-url.el: Don't require thingatpt, term, dired,
3822         executable, or w3-auto when compiling.
3823         (dired-get-filename, term-char-mode, term-send-down, term-send-string):
3824         Declare.
3825         (browse-url-text-emacs): Require term.
3827 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
3829         * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
3831 2010-10-08  Glenn Morris  <rgm@gnu.org>
3833         * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
3835         * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
3836         (shadows-compare-text-p): Make it an obsolete alias for...
3837         (load-path-shadows-compare-text): ... new name.
3838         (find-emacs-lisp-shadows): Update for above name change.
3839         (load-path-shadows-same-file-or-nonexistent): New name for the old
3840         shadow-same-file-or-nonexistent.
3842 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
3844         * minibuffer.el (completion--some, completion--do-completion)
3845         (minibuffer-complete-and-exit, minibuffer-completion-help)
3846         (completion-basic-try-completion)
3847         (completion-basic-all-completions)
3848         (completion-pcm--find-all-completions): Use lexical-let to
3849         avoid some false matches in variable completion (Bug#7056)
3851 2010-10-08  Olof Ohlsson Sax  <olof.ohlsson.sax@gmail.com>  (tiny change)
3853         * vc-svn.el (vc-svn-merge-news): Use --non-interactive.  (Bug#7152)
3855 2010-10-08  Leo  <sdl.web@gmail.com>
3857         * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
3858         return non-nil if the file exists (Bug#7090).
3860 2010-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3862         * minibuffer.el (completion--replace):
3863         Better preserve markers (bug#7138).
3865 2010-10-08  Juanma Barranquero  <lekktu@gmail.com>
3867         * server.el (server-process-filter): Doc fix.
3869 2010-10-08  Drew Adams  <drew.adams@oracle.com>
3871         * dired.el (dired-save-positions): Doc fix.  (Bug#7119)
3873 2010-10-08  Glenn Morris  <rgm@gnu.org>
3875         * vc/ediff-wind.el (ediff-setup-control-frame):
3876         * vc/ediff-ptch.el (ediff-default-backup-extension):
3877         * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
3878         (ediff-exec-process): Remove system-types emx, windows-95.
3880         * net/browse-url.el (browse-url-xdg-open): Shell-quote url.  (Bug#7166)
3882 2010-10-07  Chong Yidong  <cyd@stupidchicken.com>
3884         * cus-edit.el (custom-variable, custom-face): Doc fix.
3885         (custom-face-edit): Add value-create attribute.
3886         (custom-face-edit-value-create)
3887         (custom-face-edit-value-visibility-action): New functions.
3888         Hide unused face attributes by default, and add a visibility toggle.
3889         (custom-face-edit-deactivate): Show empty values with shadow face.
3890         (custom-face-selected): Only use this for face specs with default
3891         attributes.
3892         (custom-face-value-create): Cleanup.
3894         * wid-edit.el (widget-checklist-value-create): Use dolist.
3895         (widget-checklist-match-find): Make second arg optional.
3897 2010-10-07  Glenn Morris  <rgm@gnu.org>
3899         * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
3900         Prefix things.
3902         * emacs-lisp/shadow.el (shadow-font-lock-keywords)
3903         (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
3904         load-path-shadows-mode, update references.
3905         (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
3906         Rename variable and button.
3907         (list-load-path-shadows): Update button caller.
3909 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3911         * emacs-lisp/smie.el (smie-bnf-classify): New function.
3912         (smie-bnf-precedence-table): Use it to remember the closers/openers.
3913         (smie-merge-prec2s): Handle those new entries.
3914         (smie-prec2-levels): Only set precedence to nil for actual
3915         openers/closers.
3916         * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
3917         that is now unnecessary.
3919 2010-10-07  Miles Bader  <miles@gnu.org>
3921         * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
3923 2010-10-07  Glenn Morris  <rgm@gnu.org>
3925         * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
3926         (mail-position-on-field): Remove declarations.
3927         (mail-position-on-field): Autoload it.
3928         (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
3929         and mail-header-end.  Don't require sendmail.
3931         * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
3932         (shadow-mode): New mode.
3933         (shadow-find-file): New button.
3934         (list-load-path-shadows): Use shadow-mode and buttons.
3936         * iimage.el (iimage-version): Remove.
3937         (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
3938         Turn into defcustoms.
3939         (iimage-mode-map): Give it a doc string.
3941         * calendar/appt.el (appt-activate): Give a warning rather than an error
3942         if there is no diary-file.
3944 2010-10-06  Michael Albinus  <michael.albinus@gmx.de>
3946         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3947         Use `tramp-handle-find-backup-file-name'.
3949 2010-10-06  Glenn Morris  <rgm@gnu.org>
3951         * font-core.el (font-lock-defaults-alist): Remove variable.
3952         (font-lock-mode): Doc fix.
3953         (font-lock-default-function): Do not consult font-lock-defaults-alist.
3954         * font-lock.el (font-lock-refresh-defaults): Doc fix.
3955         (font-lock-set-defaults): Doc fix.
3956         Do not consult font-lock-defaults-alist.
3958         * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
3960         * emacs-lisp/cl.el: No longer provide cl-19.
3962 2010-10-05  Michael Albinus  <michael.albinus@gmx.de>
3964         * net/tramp.el (tramp-handle-directory-files-and-attributes)
3965         (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
3966         New defuns, taken from tramp-smb.el.
3967         (tramp-coding-system-change-eol-conversion)
3968         (tramp-set-process-query-on-exit-flag): Remove.
3970         * net/tramp-compat.el (top): Do not check for byte-compiler objects.
3971         (tramp-compat-coding-system-change-eol-conversion)
3972         (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
3973         from tramp.el.
3975         * net/tramp-gvfs.el:
3976         * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
3977         by `tramp-compat-set-process-query-on-exit-flag'.
3979         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
3980         Use `tramp-handle-directory-files-and-attributes',
3981         `tramp-handle-file-exists-p' and
3982         `tramp-handle-file-newer-than-file-p'.
3983         (tramp-imap-handle-file-exists-p)
3984         (tramp-imap-handle-file-executable-p)
3985         (tramp-imap-handle-file-readable-p)
3986         (tramp-imap-handle-directory-files-and-attributes)
3987         (tramp-imap-handle-file-newer-than-file-p): Remove.
3989         * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
3990         by `tramp-compat-set-process-query-on-exit-flag' and
3991         `tramp-coding-system-change-eol-conversion' by
3992         `tramp-compat-coding-system-change-eol-conversion'.
3994         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3995         Use `tramp-handle-directory-files-and-attributes',
3996         `tramp-handle-file-exists-p' and
3997         `tramp-handle-file-newer-than-file-p'.
3998         (tramp-smb-handle-directory-files-and-attributes)
3999         (tramp-smb-handle-file-exists-p)
4000         (tramp-smb-handle-file-newer-than-file-p): Remove.
4001         (tramp-smb-maybe-open-connection):
4002         Replace `tramp-set-process-query-on-exit-flag' by
4003         `tramp-compat-set-process-query-on-exit-flag'.
4005 2010-10-05  Glenn Morris  <rgm@gnu.org>
4007         * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
4009 2010-10-04  Michael Albinus  <michael.albinus@gmx.de>
4011         Continue reorganization of load dependencies.  (Bug#7156)
4013         * net/tramp.el (tramp-handle-file-local-copy-hook)
4014         (tramp-delete-temp-file-function): Move down.
4015         (tramp-exists-file-name-handler): Move up.
4016         (tramp-register-file-name-handlers): Simplify autoload.
4017         (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
4018         (tramp-handle-directory-files, tramp-handle-dired-uncache)
4019         (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
4020         (tramp-handle-file-name-completion)
4021         (tramp-handle-file-name-directory)
4022         (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
4023         (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
4024         (tramp-handle-find-backup-file-name)
4025         (tramp-handle-insert-file-contents, tramp-handle-load)
4026         (tramp-handle-substitute-in-file-name)
4027         (tramp-handle-unhandled-file-name-directory)
4028         (tramp-mode-string-to-int, tramp-local-host-p)
4029         (tramp-make-tramp-temp-file): Move from tramp-sh.el.
4031         * net/tramp-gvfs.el (top):
4032         * net/tramp-smb.el (top): Do not require 'tramp-sh.
4034         * net/tramp-sh.el (all): Move several objects to tramp.el, see
4035         there.  Rename `tramp-handle-*' to `tramp-sh-handle-*'.
4037 2010-10-04  Glenn Morris  <rgm@gnu.org>
4039         * calendar/appt.el (appt-add): Ensure reminders are enabled.
4040         (appt-activate): Give status messages.
4042 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
4044         * net/gnutls.el: Improve docs.  Remove starttls and ssl emulation.
4045         Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
4046         `gnutls-negotiate' (formerly `starttls-negotiate').
4047         Remove trivial wrapper `starttls-open-stream'.
4049 2010-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
4051         Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
4052         log-outgoing commands.
4053         * vc/vc.el (vc-log-internal-common): Add a new argument and use it
4054         to create a buffer local revert-buffer-function variable.
4055         (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
4056         revert-buffer-function lambda.
4058 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
4060         * net/gnutls.el (starttls-negotiate): Use the plist interface to
4061         `gnutls-boot'.  Make TYPE the only required parameter.
4062         Allow TRUSTFILES and KEYFILES to be lists.
4063         (open-ssl-stream): Use it.
4065 2010-10-03  Glenn Morris  <rgm@gnu.org>
4067         * subr.el (directory-sep-char): Remove obsolete variable.
4068         * net/tramp-compat.el: Don't mess about with the byte-compiler unless
4069         it is "necessary".
4071         * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
4072         * vc/vc.el (vc-static-header-alist): Doc fix.
4073         * vc/vc-cvs.el (vc-cvs-header):
4074         * vc/vc-rcs.el (vc-rcs-header):
4075         * vc/vc-sccs.el (vc-sccs-header):
4076         * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
4077         * obsolete/vc-mcvs.el (vc-mcvs-header):
4078         * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
4079         on XEmacs.
4081 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
4083         * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
4084         Remove obsolete use of binary-overwrite-mode (Bug#7001).
4086 2010-10-03  Glenn Morris  <rgm@gnu.org>
4088         * obsolete/x-menu.el: Remove file, obsolete since 21.1
4090         * textmodes/rst.el (rst-font-lock-keywords-function):
4091         Drop Emacs 20 code.
4093         * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
4095         * printing.el: Drop Emacs 20 code.
4097         * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
4098         without having used appt.el already).
4100         * subr.el (make-local-hook): Remove function obsolete since 21.1.
4101         * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
4102         (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
4103         XEmacs.
4104         * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
4105         (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
4107         * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
4108         (charset-width, find-charset-region, chars-in-region, forward-point)
4109         (encode-coding-string, coding-system-p, ccl-execute-on-string)
4110         (define-ccl-program, multibyte-string-p, string-make-multibyte):
4111         Remove compatibility cruft (none of these are used by ps*.el).
4113 2010-10-03  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
4115         * subr.el (booleanp): Return t instead of a list (Bug#7086).
4117 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
4119         * server.el (server-process-filter, server-return-error):
4120         Give emacsclient time to shut down after receiving an error string.
4122 2010-10-02  Michael Albinus  <michael.albinus@gmx.de>
4124         * files.el (remote-file-name-inhibit-cache): New defcustom.
4126         * time.el (display-time-file-nonempty-p):
4127         Use `remote-file-name-inhibit-cache'.
4129         * net/tramp.el (tramp-completion-reread-directory-timeout):
4130         Fix docstring.
4132         * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
4133         (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
4134         `remote-file-name-inhibit-cache'.  Check also for an integer
4135         value.  Add/increase counter when `tramp-verbose' >= 10.
4136         (tramp-set-file-property): Add/increase counter when
4137         `tramp-verbose' >= 10.
4139         * net/tramp-cmds.el (tramp-cleanup-all-connections)
4140         (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
4141         (tramp-bug): Set tramp-autoload cookie.  Report all interned
4142         tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
4143         (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
4144         characters only in strings.
4146         * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
4147         to backward compatibility.
4149         * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
4150         (tramp-handle-file-name-all-completions)
4151         (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
4152         (tramp-open-connection-setup-interactive-shell):
4153         Call `tramp-cleanup-connection' directly.
4155 2010-10-02  Glenn Morris  <rgm@gnu.org>
4157         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
4159         * subr.el (char-bytes): Remove obsolete function.
4161         * isearch.el (isearch-return-char): Remove obsolete function.
4163         * mouse.el: No longer provide mldrag.
4164         (mldrag-drag-mode-line, mldrag-drag-vertical-line):
4165         Remove obsolete aliases.
4167         * comint.el (comint-kill-output): Remove obsolete alias.
4169         * composite.el (decompose-composite-char): Remove obsolete function.
4170         * ps-def.el (decompose-composite-char): Remove unused function.
4172         * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
4174         * outline.el (outline-visible): Remove obsolete function.
4176         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
4177         * faces.el (internal-find-face, internal-get-face)
4178         (frame-update-faces, frame-update-face-colors)
4179         (x-frob-font-weight, x-frob-font-slant)
4180         (internal-frob-font-weight, internal-frob-font-slant)
4181         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
4182         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
4183         (x-make-font-bold-italic): Remove functions and aliases, obsolete
4184         since Emacs 21.1.
4185         * emulation/viper-util.el (viper-get-face):
4186         * obsolete/lucid.el (find-face, get-face): Use facep.
4187         * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
4188         Remove unused functions.
4189         * vc/ediff-util.el (ediff-submit-report): Doc fix.
4191         * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
4192         delete tempfile if interrupted during compilation.
4194 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4196         * net/tls.el (tls-starttls-switches): Give up on using starttls with
4197         gnutls-cli.
4198         (tls-program): Add --insecure to be consistent with the defaults from
4199         openssl s_client.  Now all three commands are insecure.
4201 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
4203         * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
4204         (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
4205         (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
4207 2010-10-01  Glenn Morris  <rgm@gnu.org>
4209         * obsolete/sc.el: Remove file.
4211         * files.el (temporary-file-directory): On darwin, also try
4212         DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
4214 2010-10-01  Juanma Barranquero  <lekktu@gmail.com>
4216         * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
4217         Let's not break compatibility gratuitously, shall we?
4219 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4221         * net/tls.el (tls-starttls-switches): New variable.
4222         (tls-find-starttls-argument): Use it.
4223         (open-tls-stream): Ditto.
4225         * net/netrc.el (netrc-credentials): Return the value of the "default"
4226         entry.
4227         (netrc-machine): Ditto.
4229 2010-09-30  Eli Zaretskii  <eliz@gnu.org>
4231         * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
4233 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
4235         * server.el (server-start): Don't write pid to the authentication file.
4236         (server-create-tty-frame): Don't send pid.
4237         (server-process-filter): Send pid at the start of every connection.
4239 2010-09-30  Glenn Morris  <rgm@gnu.org>
4241         * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
4242         (show-all-diary-entries): Remove obsolete function aliases.
4244         * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
4245         Remove options, obsolete since 22.1.
4246         (appt-display-format, appt-display-message):
4247         Remove backwards-compatibility code.
4248         (appt-check): No longer check appt-issue-message.
4249         (appt-make-list): No longer autoload it.  Doc fix.  No longer
4250         activate the package.
4252 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4254         * net/gnutls.el (starttls-negotiate): Loop a lot longer.
4255         (starttls-negotiate): Just call boot, and let the handshake be
4256         triggered from the read loop.
4258 2010-09-29  Glenn Morris  <rgm@gnu.org>
4260         * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
4261         not displaying the diary.
4262         (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
4263         * calendar/appt.el (appt-check): No longer need to kill diary.
4265         * calendar/diary-lib.el (diary-list-entries): Move the
4266         "Preparing..." message entirely here.
4267         (diary-simple-display, diary-fancy-display): Move "Preparing..."
4268         messages to diary-list-entries.
4269         (diary-include-other-diary-files): Use LIST-ONLY rather than setting
4270         diary-display-function.
4272         * calendar/diary-lib.el (diary-include-other-diary-files):
4273         Trap some recursive includes.
4275         * calendar/appt.el (appt-activate): Check diary file.
4277 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
4279         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
4280         construction.
4282         * calendar/time-date.el: No need to require cl for Emacs 21.
4284 2010-09-28  Glenn Morris  <rgm@gnu.org>
4286         * calendar/appt.el (appt-check): Minor simplification.
4288 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
4290         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
4291         citation prefix.
4293 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
4295         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4296         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
4298 2010-09-27  Kenichi Handa  <handa@m17n.org>
4300         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
4301         "ustar" format.
4303 2010-09-27  Kenichi Handa  <handa@m17n.org>
4305         * international/mule.el (define-coding-system): Docstring fixed.
4307         * international/mule-diag.el (describe-character-set): Use princ
4308         with proper print-length and print-level instead of insert.
4310 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
4312         * window.el (walk-windows): Doc fix (bug#7105).
4314 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4316         * emacs-lisp/float-sup.el (e): Remove.
4318 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
4320         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
4321         variable.
4322         (starttls-negotiate): Use it.
4324 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4326         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
4327         back.
4329 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4331         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
4333 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4335         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
4337         * net/netrc.el (netrc-store-data): New function.
4339 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
4341         * net/gnutls.el: GnuTLS glue code to set up a connection.
4343 2010-09-25  Julien Danjou  <julien@danjou.info>
4345         * notifications.el: Call dbus-register-signal only if it is bound.
4347 2010-09-25  Glenn Morris  <rgm@gnu.org>
4349         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4350         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4351         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4352         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4353         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4354         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
4355         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
4356         * eshell/esh-util.el, eshell/esh-var.el:
4357         Remove leading `*' from docs of faces and defcustoms.
4359 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
4361         * eshell/em-ls.el (eshell-ls-archive-regexp):
4362         * eshell/esh-util.el (eshell-tar-regexp):
4363         * ibuffer.el (ibuffer-compressed-file-name-regexp):
4364         * info.el (Info-suffix-list):
4365         * international/mule.el (auto-coding-alist):
4366         * woman.el (woman-file-regexp, woman-file-compression-regexp):
4367         * progmodes/etags.el (tags-compression-info-list):
4368         Support xz compression.
4370 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
4372         * files.el (get-free-disk-space): Don't assume the "df" output
4373         columns line up (Bug#6995).
4375 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
4377         * finder.el (finder-unknown-keywords):
4378         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
4379         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
4381 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
4383         * server.el (server-start): Revert part of 2010-08-08 change.  Using
4384         address 127.0.0.1 for local host is now done in Fmake_network_process.
4386 2010-09-24  Glenn Morris  <rgm@gnu.org>
4388         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
4389         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
4390         * textmodes/css-mode.el, textmodes/dns-mode.el:
4391         Move autoloaded auto-mode-alist entries to files.el.
4392         * files.el (auto-mode-alist): Move entries here.
4394 2010-09-23  Glenn Morris  <rgm@gnu.org>
4396         * isearch.el (isearch-lazy-highlight-cleanup)
4397         (isearch-lazy-highlight-initial-delay)
4398         (isearch-lazy-highlight-interval)
4399         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
4400         * net/net-utils.el (ipconfig-program-options):
4401         Move aliases to options before the associated definitions.
4403 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4405         * newcomment.el (comment-normalize-vars): Better test validity of
4406         comment-end-skip.
4408 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4410         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
4411         (float-e): New name for `e'.
4412         (degrees-to-radians, radians-to-degrees):
4413         * calendar/solar.el (solar-longitude):
4414         * calculator.el (calculator-registers, calculator-funcall):
4415         * textmodes/artist.el (artist-spray-random-points):
4416         * play/bubbles.el (bubbles--initialize-images): Use new names.
4418 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
4420         Update to CEDET 1.0's version of EIEIO.
4422         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
4423         New function.
4424         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
4425         (eieio-default-eval-maybe): Eval val instead of unquoting only.
4426         (class-precedence-list): If class is nil, return nil.
4427         (eieio-generic-call): If class of first input arg is nil, don't
4428         look up static methods, and do check for primary methods.
4429         (initialize-instance): See if the default needs to be evaluated
4430         during the constructor.
4431         (eieio-perform-slot-validation-for-default): Don't do the check
4432         for values that will eventually be evaluated.
4433         (eieio-eval-default-p): New function.
4434         (eieio-default-eval-maybe): Use it.
4436 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
4438         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
4439         method-invocation-order.
4440         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
4441         (eieio-class-precedence-dfs): Compute class precedence list using
4442         dfs algorithm.
4443         (eieio-class-precedence-bfs): Compute class precedence list using
4444         bfs algorithm.
4445         (eieio-class-precedence-c3): Compute class precedence list using
4446         c3 algorithm.
4447         (class-precedence-list): New function.
4448         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
4449         (inconsistent-class-hierarchy): New error symbol.
4450         (call-next-method): Stow the replacement argument list for future
4451         call-next-method invocations.
4453 2010-09-23  Glenn Morris  <rgm@gnu.org>
4455         * calendar/appt.el (appt-check): If not displaying the diary,
4456         use (diary 1) to only get the entries we need.
4457         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
4458         that it is in day order.  (Bug#7019)
4460         * calendar/appt.el (appt-check): Rather than showing the diary,
4461         just turn off invisible display, and only if needed.
4463         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
4465 2010-09-23  Glenn Morris  <rgm@gnu.org>
4467         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4468         (byte-compile-defvar, byte-compile-cl-warn):
4469         Start warnings with lower-case, like the majority.
4471         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
4473         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
4475         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
4476         * files.el (auto-mode-alist): Move ld-script entries here, further down
4477         the list.
4479         * vc/add-log.el: Don't require timezone when compiling.
4480         (timezone-make-date-sortable): Autoload it.
4481         (change-log-sortable-date-at): Don't require timezone.
4482         Use `ignore-errors'.
4484         * comint.el (comint-use-prompt-regexp-instead-of-fields):
4485         Move alias before definition, so it does not need autoloading.
4487         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
4488         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
4489         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
4490         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
4491         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
4492         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
4493         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
4494         * textmodes/tex-mode.el, textmodes/two-column.el:
4495         Remove leading `*' from docs of defcustoms etc.
4497 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
4499         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
4501 2010-09-22  Dan Christensen  <jdc@uwo.ca>
4503         * calendar/time-date.el (date-to-time): Try using parse-time-string
4504         first before using the slower timezone-make-date-arpa-standard.
4506 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
4508         * calendar/time-date.el (format-seconds): Comment fix.
4510 2010-09-22  Glenn Morris  <rgm@gnu.org>
4512         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
4513         is not automatically buffer-local.
4515 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4517         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
4518         (smie-indent-comment): Be more careful with comment-start-skip.
4519         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
4520         (smie-indent-functions): Use them.
4522 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
4524         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
4526 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
4528         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
4529         tool-bar-position.  Don't modify frame parameters here.
4530         (menu-bar-options-save): Add tool-bar-position.
4532         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
4534 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4536         * textmodes/reftex-parse.el (reftex-what-macro)
4537         (reftex-context-substring): Let-bind forward-sexp-function to nil
4538         since we don't need/want to treat \begin...\end as a block (bug#7053).
4540         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
4542         * simple.el (blink-matching-open): Use syntax-class.
4544         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
4545         Set invisibility spec for pascal's outline mode.
4546         (pascal-outline-change): Clean up calling convention.
4547         (pascal-show-all, pascal-hide-other-defuns): Update callers.
4549         * progmodes/prolog.el (prolog-smie-forward-token)
4550         (prolog-smie-backward-token): New functions.
4551         (prolog-mode-variables): Use them to parse "!," correctly.
4552         Set up smie-blink-matching for ".".
4554         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
4555         and `end'.
4556         (ispell-region, ispell-process-line): Update users.
4558         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
4559         point-min==1.
4561         * textmodes/ispell.el: Fix commenting convention.
4562         (ispell-parse-output): Simplify, use push.
4563         (ispell-region): Use match-string-no-properties.
4564         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
4565         (ispell-minor-mode): Use define-minor-mode.
4566         (ispell-message): Remove unused var `skip-regexp'.
4567         (ispell-add-per-file-word-list): Use dynamic let-binding.
4568         Try and use the proper comment marker.
4570         * mail/sendmail.el: Fix commenting convention.
4571         (sendmail-send-it): Use line-beginning-position.
4573         * help-fns.el (describe-variable): Add original value, if applicable.
4575 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
4577         * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
4579         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
4581 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4583         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
4584         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
4585         (smie-prec2-levels): Use them to better diagnose precedence cycles.
4586         (smie-blink-matching-check): Don't signal a mismatch if car is t.
4587         (smie-blink-matching-open): Rewrite to remove assumptions, so that
4588         something like "." can also be a closer.
4589         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
4590         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
4591         Rename internal functions to use "--".  Update callers.
4593         * frame.el (make-frame-names-alist): Don't list frames on other displays.
4595         * fringe.el (fringe-styles): New var.
4596         (fringe-mode, fringe-query-style): Use it.
4598 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
4600         * progmodes/sql.el: Version 2.8
4601         (sql-login-params): Update widget structure; changes still needed.
4602         (sql-product-alist): Add :list-all and :list-table features for
4603         SQLite, Postgres and MySQL products.
4604         (sql-redirect): Handle default value.
4605         (sql-execute, sql-execute-feature): New functions.
4606         (sql-read-table-name): New function.
4607         (sql-list-all, sql-list-table): New functions.  User API.
4608         (sql-mode-map, sql-interactive-mode-map): Add key definitions
4609         for above functions.
4610         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
4611         for above functions.
4612         (sql-postgres-login-params): Add user and database defaults.
4613         (sql-buffer-live-p): Bug fix.
4614         (sql-product-history): New variable.
4615         (sql-read-product): New function. Use it.
4616         (sql-set-product, sql-product-interactive): Use it.
4617         (sql-connection-history): New variable.
4618         (sql-read-connection): New function.  Use it.
4619         (sql-connect): New function.
4620         (sql-for-each-login): Redesign function interface.
4621         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
4622         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
4623         (sql-comint): Check for program.  Existing live buffer.
4624         (sql-comint-postgres): Add port parameter.
4626 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4628         * emacs-lisp/warnings.el: Fix commenting convention.
4629         (display-warning): Use special mode and make the buffer read-only.
4631 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
4633         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
4634         empty string when it follows a repeated or optional pattern.
4636 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4638         * indent.el (indent-according-to-mode): Apply syntax-propertize.
4639         (indent-region): Use indent-according-to-mode.
4641 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
4643         * fringe.el (fringe-mode): Doc fix.
4645 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
4647         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
4648         refreshing the preview buffer.
4650 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4652         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
4653         (latex-syntax-propertize-rules): New consts; replace
4654         tex-font-lock-syntactic-keywords.
4655         (tex-env-mark, latex-env-before-change): New functions.
4656         (latex-electric-env-pair-mode): New minor mode.
4657         (tex-font-lock-verb): Change arguments; do move point.
4658         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
4659         representation as a form of comment.
4660         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
4661         (doctex-syntax-propertize-rules): New const; replaces
4662         doctex-font-lock-syntactic-keywords.
4663         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
4665         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
4666         (fortran-make-syntax-propertize-function): New function; replaces
4667         fortran-font-lock-syntactic-keywords.
4668         (fortran-mode): Use it.
4669         (fortran-line-length): Use it.  Improve interactive spec.
4671         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
4672         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
4673         when adding surrounding \(..\).
4675         * progmodes/js.el (js-mode): Fix last change (bug#7054).
4677 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4679         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
4680         Use with-current-buffer.
4682         * isearch.el (isearch-face): Rename from `isearch'.
4683         (isearch-highlight): Use new name.
4685 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
4687         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
4688         5, for `half' width fringes.  (Bug#6933)
4690 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4692         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
4693         (byte-compile-defvar): "foo/bar" does not lack a prefix.
4695         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
4697 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
4699         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
4700         in calculating new frame position.  Add more space between new and
4701         parent on the left (Bug#7048).
4703 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
4705         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
4706         defmacro.
4708 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
4710         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
4712         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
4713         obsolete alias for x-selection-value.
4715         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
4717 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
4719         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
4720         cookie.
4722 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
4724         * net/tramp-compat.el (tramp-compat-with-temp-message)
4725         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
4726         (tramp-compat-process-put): New defuns.
4728         * net/tramp.el (top):
4729         * net/tramp-gvfs.el (top):
4730         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
4732         * net/tramp.el (tramp-progress-reporter-update):
4733         Use `tramp-compat-funcall'.
4735         * net/tramp.el (tramp-process-actions):
4736         * net/tramp-gvfs.el (tramp-handle-vc-registered):
4737         * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
4738         (tramp-get-remote-stat, tramp-get-remote-readlink):
4739         Use `tramp-compat-with-temp-message'.
4741         * net/tramp-sh.el (top): Require 'cl.
4742         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
4743         (tramp-open-connection-setup-interactive-shell):
4744         Use `tramp-compat-process-put'.
4746 2010-09-15  Alan Mackenzie  <acm@muc.de>
4748         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
4749         indentation.
4750         (c-forward-<>-arglist-recur): Fix an infinite recursion.
4752 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4754         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
4755         `lexical' for warnings related to lexical scoping.
4756         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
4757         global vars which don't have a prefix and could hence affect lexical
4758         scoping in unrelated files.
4760 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4762         * net/imap.el: Revert back to version
4763         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
4764         seem problematic.
4766 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
4768         * obsolete/old-whitespace.el (whitespace-unload-function):
4769         Explicitly pass `obarray' to `unintern' to avoid a warning.
4771 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4773         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
4774         Add `when' argument.  Update callers.
4776         * subr.el (unintern): Declare the obarray arg mandatory.
4778 2010-09-14  Glenn Morris  <rgm@gnu.org>
4780         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
4781         Doc fixes.
4783         * calendar/diary-lib.el (diary-included-files): New variable.
4784         (diary-list-entries): Maybe initialize diary-included-files.
4785         (diary-include-other-diary-files): Append to diary-included-files.
4786         * calendar/appt.el (appt-update-list): Also check the members of
4787         diary-included-files.  (Bug#6999)
4788         (appt-check): Doc fix.
4790 2010-09-14  David Reitter  <david.reitter@gmail.com>
4792         * simple.el (line-move-visual): Do not truncate goal column to
4793         integer size.  (Bug#7020)
4795 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4797         * repeat.el (repeat): Allow repeating when the last event is a click.
4798         Suggested by Drew Adams (bug#6256).
4800 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
4802         * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
4803         Replace setting HGRCPATH to "" by some less invasive --config options.
4805 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4807         * font-lock.el (font-lock-beginning-of-syntax-function):
4808         Mark as obsolete.
4810 2010-09-14  Glenn Morris  <rgm@gnu.org>
4812         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
4813         and tool-bar modes.  (Bug#6211)
4814         (menu-bar-mode): Move setting of standard-value after the
4815         minor-mode definition, otherwise it seems to have no effect.
4817 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
4819         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
4820         Fix typo.  (Bug#6976)
4822 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4824         * whitespace.el: Allow cleaning up blanks without blank
4825         visualization (Bug#6651).  Adjust help window for
4826         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
4827         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
4828         (whitespace-style): Add new value 'face.  Adjust docstring.
4829         (whitespace-space, whitespace-hspace, whitespace-tab):
4830         Adjust foreground property face.
4831         (whitespace-line-column): Adjust docstring and type declaration.
4832         (whitespace-style-value-list, whitespace-toggle-option-alist)
4833         (whitespace-help-text): Adjust const initialization.
4834         (whitespace-toggle-options, global-whitespace-toggle-options):
4835         Adjust docstring.
4836         (whitespace-display-window, whitespace-interactive-char)
4837         (whitespace-style-face-p, whitespace-color-on): Adjust code.
4838         (whitespace-help-scroll): New fun.
4840 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
4842         * calendar/time-date.el (format-seconds): Comment fix.
4844 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
4846         * progmodes/sql.el: Version 2.7.
4847         (sql-buffer-live-p): Improve detection.
4848         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
4849         (sql-set-sqli-buffer): Use it.
4850         (sql-product-interactive): Run `sql-set-sqli-hook'.
4851         (sql-rename-buffer): Code cleanup.
4852         (sql-redirect, sql-redirect-value): New functions.  More to come.
4854 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
4856         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.
4857         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
4858         (TRAMP_SRC): New macro.
4859         ($(lisp)/net/tramp-loaddefs.el): New target.
4861 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
4863         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
4865         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
4867         * net/tramp.el (top): Don't show loading message.  Require just
4868         'tramp-compat, everything else is required there.
4869         Use `ignore-errors' where appropriate.
4870         (tramp-inline-compress-start-size, tramp-copy-size-limit)
4871         (tramp-terminal-type, tramp-end-of-output)
4872         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
4873         (tramp-completion-function-alist-ssh)
4874         (tramp-completion-function-alist-telnet)
4875         (tramp-completion-function-alist-su)
4876         (tramp-completion-function-alist-putty, tramp-remote-path)
4877         (tramp-remote-process-environment, tramp-sh-extra-args)
4878         (tramp-actions-before-shell, tramp-uudecode)
4879         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
4880         (tramp-perl-file-attributes)
4881         (tramp-perl-directory-files-and-attributes)
4882         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
4883         (tramp-perl-encode, tramp-perl-decode)
4884         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
4885         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
4886         (tramp-handle-make-symbolic-link, tramp-handle-load)
4887         (tramp-handle-file-name-as-directory)
4888         (tramp-handle-file-name-directory)
4889         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
4890         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
4891         (tramp-do-file-attributes-with-ls)
4892         (tramp-do-file-attributes-with-perl)
4893         (tramp-do-file-attributes-with-stat)
4894         (tramp-handle-set-visited-file-modtime)
4895         (tramp-handle-verify-visited-file-modtime)
4896         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
4897         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
4898         (tramp-handle-file-selinux-context)
4899         (tramp-handle-set-file-selinux-context)
4900         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
4901         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
4902         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
4903         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
4904         (tramp-handle-file-ownership-preserved-p)
4905         (tramp-handle-directory-file-name, tramp-handle-directory-files)
4906         (tramp-handle-directory-files-and-attributes)
4907         (tramp-do-directory-files-and-attributes-with-perl)
4908         (tramp-do-directory-files-and-attributes-with-stat)
4909         (tramp-handle-file-name-all-completions)
4910         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
4911         (tramp-handle-copy-file, tramp-handle-copy-directory)
4912         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
4913         (tramp-do-copy-or-rename-file-via-buffer)
4914         (tramp-do-copy-or-rename-file-directly)
4915         (tramp-do-copy-or-rename-file-out-of-band)
4916         (tramp-handle-make-directory, tramp-handle-delete-directory)
4917         (tramp-handle-delete-file)
4918         (tramp-handle-dired-recursive-delete-directory)
4919         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
4920         (tramp-handle-insert-directory)
4921         (tramp-handle-unhandled-file-name-directory)
4922         (tramp-handle-expand-file-name)
4923         (tramp-handle-substitute-in-file-name)
4924         (tramp-handle-executable-find, tramp-process-sentinel)
4925         (tramp-handle-start-file-process, tramp-handle-process-file)
4926         (tramp-handle-call-process-region, tramp-handle-shell-command)
4927         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
4928         (tramp-handle-insert-file-contents)
4929         (tramp-handle-insert-file-contents-literally)
4930         (tramp-handle-find-backup-file-name)
4931         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
4932         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
4933         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
4934         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
4935         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
4936         (tramp-find-file-exists-command, tramp-open-shell)
4937         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
4938         (tramp-open-connection-setup-interactive-shell)
4939         (tramp-local-coding-commands, tramp-remote-coding-commands)
4940         (tramp-find-inline-encoding, tramp-call-local-coding-command)
4941         (tramp-inline-compress-commands, tramp-find-inline-compress)
4942         (tramp-compute-multi-hops, tramp-maybe-open-connection)
4943         (tramp-send-command, tramp-wait-for-output)
4944         (tramp-send-command-and-check, tramp-barf-unless-okay)
4945         (tramp-send-command-and-read, tramp-mode-string-to-int)
4946         (tramp-convert-file-attributes, tramp-check-cached-permissions)
4947         (tramp-file-mode-from-int, tramp-file-mode-permissions)
4948         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
4949         (tramp-method-out-of-band-p, tramp-local-host-p)
4950         (tramp-get-remote-path, tramp-get-remote-tmpdir)
4951         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
4952         (tramp-get-test-command, tramp-get-test-nt-command)
4953         (tramp-get-file-exists-command, tramp-get-remote-ln)
4954         (tramp-get-remote-perl, tramp-get-remote-stat)
4955         (tramp-get-remote-readlink, tramp-get-remote-trash)
4956         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
4957         (tramp-get-local-uid, tramp-get-local-gid)
4958         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
4959         tramp-sh.el.
4960         (tramp-methods, tramp-default-method-alist)
4961         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
4962         Move initialization to tramp-sh.el.
4963         (tramp-temp-name-prefix): Make it a defconst.
4964         (tramp-dissect-file-name): Don't check anymore for multi-hop
4965         methods.
4966         (tramp-debug-outline-regexp): Add a docstring.
4967         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
4968         (tramp-get-debug-buffer): Use it.
4970         * net/tramp-cache.el (top): Set tramp-autoload cookie for
4971         initialization forms.
4972         (tramp-set-connection-property): Don't protect `tramp-message'
4973         call, it isn't necessary any longer.
4974         (tramp-dump-connection-properties): Use `ignore-errors'.
4976         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
4977         'password-cache and 'auth-source.
4979         * net/tramp-gvfs.el (top):
4980         * net/tramp-smb.el (top): Require 'tramp-sh.
4982         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
4984         * net/tramp-sh.el: New file, derived from tramp.el.
4985         (top): Initialize `tramp-methods', `tramp-default-method-alist',
4986         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
4987         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
4988         Use `ignore-errors' where appropriate.
4989         (tramp-sh-file-name-handler-alist): Rename from
4990         `tramp-file-name-handler-alist'.
4991         (tramp-send-command-and-check): Return t or nil.  Remove all
4992         `zerop' checks, where called.
4993         (tramp-handle-set-file-modes)
4994         (tramp-do-copy-or-rename-file-directly)
4995         (tramp-handle-delete-directory, tramp-handle-delete-file)
4996         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
4997         (tramp-sh-file-name-handler, tramp-send-command-and-check)
4998         (tramp-get-remote-ln): Set tramp-autoload cookie.
5000         * net/tramp-fish.el: Remove file.
5002 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
5004         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
5005         buffer-file-name to avoid file-locking.  (Bug#7026)
5007 2010-09-13  Julien Danjou  <julien@danjou.info>
5009         * notifications.el (notifications-notify): Add support for
5010         image-path and sound-name.
5011         (notifications-specification-version): Add this variable.
5013 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5015         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
5017 2010-09-12  Leo  <sdl.web@gmail.com>
5019         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
5020         (rcirc-completion-start): New variables.
5021         (rcirc-nick-completions): Rename to rcirc-completions.
5022         (rcirc-nick-completion-start-offset): Delete.
5023         (rcirc-completion-at-point): New function for constructing
5024         completion data for both nicks and irc commands.  Add to
5025         completion-at-point-functions in rcirc mode.
5026         (rcirc-complete): Rename from rcirc-nick-complete; use
5027         rcirc-completion-at-point.
5028         (defun-rcirc-command): Update rcirc-client-commands.
5030 2010-09-11  Glenn Morris  <rgm@gnu.org>
5032         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
5033         atomically, to avoid parallel build errors.  (Bug#4196)
5035 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
5037         * progmodes/sql.el: Version 2.6
5038         (sql-dialect): Synonym for "sql-product".
5039         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5040         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
5041         Set "sql-buffer" to buffer name not buffer object so multiple sql
5042         interactive buffers work properly.  Reverts misguided changes in
5043         earlier work.
5044         (sql-comint): Make sure different buffer name is used if "*SQL*"
5045         buffer is for a different product.
5046         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
5047         login param.
5048         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
5049         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
5050         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
5051         Accept new buffer name or prompt for one.
5052         (sql-port): Default to zero.
5053         (sql-comint-mysql): Handle "sql-port" as a numeric.
5054         (sql-port-history): Delete unused variable.
5055         (sql-get-login): Default "sql-port" to a number.
5056         (sql-product-alist): Correct Postgres prompt and terminator regexp.
5057         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
5058         "sqlite3" executables.
5059         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
5060         (sql-buffer-live-p): New function.
5061         (sql-mode-menu, sql-send-string): Use it.
5062         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
5063         syntax pattern.
5064         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
5065         (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
5067 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5069         * net/netrc.el (netrc-credentials): New convenience function.
5071 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5073         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
5074         to replace texinfo-font-lock-syntactic-keywords.
5075         (texinfo-mode): Use it.
5077         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
5078         Use syntax-propertize-function.
5080         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
5081         replace sgml-font-lock-syntactic-keywords.
5082         (sgml-mode): Use it.
5084         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
5085         since we don't use it.
5087         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
5089         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
5090         if available.
5091         (vhdl-fontify-buffer): Adjust.
5093         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
5094         replace tcl-font-lock-syntactic-keywords.
5095         (tcl-mode): Use it.
5097         * progmodes/simula.el (simula-syntax-propertize-function): New var to
5098         replace simula-font-lock-syntactic-keywords.
5099         (simula-mode): Use it.
5101         * progmodes/sh-script.el (sh-st-symbol): Remove.
5102         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
5103         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
5104         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
5105         (sh-font-lock-paren): Set syntax-multiline.
5106         (sh-font-lock-syntactic-keywords): Remove.
5107         (sh-syntax-propertize-function): New function to replace it.
5108         (sh-mode): Use it.
5110         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
5111         Define while compiling.
5112         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5113         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
5114         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
5115         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5116         (ruby-here-doc-end-syntax): Only define when
5117         syntax-propertize is not available.
5118         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
5119         New functions.
5120         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
5121         (electric-indent-chars): Silence bytecompiler.
5122         (ruby-mode): Use prog-mode, syntax-propertize-function, and
5123         electric-indent-chars.
5125         * progmodes/python.el (python-syntax-propertize-function): New var to
5126         replace python-font-lock-syntactic-keywords.
5127         (python-mode): Use it.
5128         (python-quote-syntax): Simplify and adjust to new use.
5130         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
5131         replace perl-font-lock-syntactic-keywords.
5132         (perl-syntax-propertize-special-constructs): New fun to replace
5133         perl-font-lock-special-syntactic-constructs.
5134         (perl-font-lock-syntactic-face-function): New fun.
5135         (perl-mode): Use it.
5137         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
5138         to replace octave-font-lock-close-quotes.
5139         (octave-syntax-propertize-function): New function to replace
5140         octave-font-lock-syntactic-keywords.
5141         (octave-mode): Use it.
5143         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
5144         replaces mixal-font-lock-syntactic-keywords.
5145         (mixal-mode): Use it.
5147         * progmodes/make-mode.el (makefile-syntax-propertize-function):
5148         New var; replaces makefile-font-lock-syntactic-keywords.
5149         (makefile-mode): Use it.
5150         (makefile-imake-mode): Adjust.
5152         * progmodes/js.el (js--regexp-literal): Define while compiling.
5153         (js-syntax-propertize-function): New var; replaces
5154         js-font-lock-syntactic-keywords.
5155         (js-mode): Use it.
5157         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
5158         replaces gdb-script-font-lock-syntactic-keywords.
5159         (gdb-script-mode): Use it.
5161         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
5162         (fortran--font-lock-syntactic-keywords): New var.
5163         (fortran-line-length): Update syntax-propertize-function and
5164         fortran--font-lock-syntactic-keywords.
5166         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
5168         * progmodes/cfengine.el (cfengine-mode):
5169         Use syntax-propertize-function.
5170         (cfengine-font-lock-syntactic-keywords): Remove.
5172         * progmodes/autoconf.el (autoconf-mode):
5173         Use syntax-propertize-function.
5174         (autoconf-font-lock-syntactic-keywords): Remove.
5176         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
5177         (ada-after-change-function, ada-initialize-syntax-table-properties)
5178         (ada-handle-syntax-table-properties): Only define when
5179         syntax-propertize is not available.
5180         (ada-mode): Use syntax-propertize-function.
5182         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
5183         (font-lock-fontify-syntactic-keywords-region): Move handling of
5184         font-lock-syntactically-fontified to...
5185         (font-lock-default-fontify-region): ...here.
5186         Let syntax-propertize-function take precedence.
5187         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
5189         * emacs-lisp/syntax.el (syntax-propertize-function)
5190         (syntax-propertize-chunk-size, syntax-propertize--done)
5191         (syntax-propertize-extend-region-functions): New vars.
5192         (syntax-propertize-wholelines, syntax-propertize-multiline)
5193         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
5194         (syntax-propertize): New functions.
5195         (syntax-propertize-rules): New macro.
5196         (syntax-ppss-flush-cache): Set syntax-propertize--done.
5197         (syntax-ppss): Call syntax-propertize.
5199         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
5201 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
5203         * textmodes/ispell.el (ispell-init-process): Improve comments.
5204         XEmacs compatibility changes regarding (add-hook) 'local option
5205         and (set-process-query-on-exit-flag).
5207 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
5209         * net/tramp-cache.el (tramp-parse-connection-properties):
5210         Set tramp-autoload cookie.
5212 2010-09-09  Glenn Morris  <rgm@gnu.org>
5214         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
5215         (imagemagick-register-types): Doc fix.
5217 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5219         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
5221         * progmodes/js.el (require): Require is already "eval-and-compile".
5222         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
5223         (js--re-search-backward): Use js--re-search-forward.
5225         * progmodes/fortran.el (fortran-line-length): Don't recompute
5226         syntactic keywords redundantly a second time.
5228         * progmodes/ada-mode.el: Replace "(set '" with setq.
5229         (ada-mode): Simplify.
5230         (ada-create-case-exception, ada-adjust-case-interactive)
5231         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
5232         (ada-search-ignore-string-comment, ada-move-to-start)
5233         (ada-move-to-end): Use with-syntax-table.
5235         * font-lock.el (save-buffer-state): Remove `varlist' arg.
5236         (font-lock-unfontify-region, font-lock-default-fontify-region):
5237         Update usage correspondingly.
5238         (font-lock-fontify-syntactic-keywords-region):
5239         Set parse-sexp-lookup-properties buffer-locally here.
5240         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
5242         * simple.el (blink-matching-open): Don't burp if we can't find a match.
5244 2010-09-08  Glenn Morris  <rgm@gnu.org>
5246         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
5247         Error if not compiled with -DBYTE_CODE_METER.
5249         * emacs-lisp/bytecomp.el (byte-recompile-directory):
5250         Ignore dir-locals-file.
5252 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5254         * progmodes/compile.el (compilation-error-regexp-alist-alist):
5255         Not a const.
5256         (compilation-error-regexp-alist-alist): Rule out ": " in file names
5257         for the `gnu' messages.
5258         (compilation-set-skip-threshold): New command.
5259         (compilation-start): Use \' rather than $.
5260         (compilation-forget-errors): Use clrhash.
5262 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
5264         * textmodes/ispell.el (ispell-valid-dictionary-list):
5265         Simplify logic.
5267 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
5269         Migrate to Tramp 2.2.  Rearrange load dependencies.
5270         (Bug#1529, Bug#5448, Bug#5705)
5272         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
5273         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
5274         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5276         * net/tramp.el (top): Remove all other tramp-* loads except
5277         tramp-compat.el.  Remove all changes to tramp-unload-hook for
5278         other tramp-* packages.  Rearrange defun order.  Change calls of
5279         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
5280         `tramp-compat-octal-to-decimal' to new function names.
5281         (tramp-terminal-type, tramp-initial-end-of-output)
5282         (tramp-methods, tramp-foreign-file-name-handler-alist)
5283         (tramp-tramp-file-p, tramp-completion-mode-p)
5284         (tramp-send-command-and-check, tramp-get-remote-path)
5285         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
5286         (tramp-shell-quote-argument): Set tramp-autoload cookie.
5287         (with-file-property, with-connection-property): Move to
5288         tramp-cache.el.
5289         (tramp-local-call-process, tramp-decimal-to-octal)
5290         (tramp-octal-to-decimal): Move to tramp-compat.el.
5291         (tramp-handle-shell-command): Do not require 'shell.
5292         (tramp-compute-multi-hops): No special handling for tramp-gw-*
5293         symbols.
5294         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
5296         * net/tramp-cache.el (top): Require 'tramp.  Add to
5297         `tramp-unload-hook'.
5298         (tramp-cache-data, tramp-get-file-property)
5299         (tramp-set-file-property, tramp-flush-file-property)
5300         (tramp-flush-directory-property, tramp-get-connection-property)
5301         (tramp-set-connection-property, tramp-flush-connection-property)
5302         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
5303         cookie.
5304         (with-file-property, with-connection-property): New defuns, moved
5305         from tramp.el.
5306         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
5307         macro.
5309         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
5310         (tramp-version): Set tramp-autoload cookie.
5312         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
5313         changes to tramp-unload-hook for other tramp-* packages.  Add to
5314         `tramp-unload-hook'.
5315         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
5316         (tramp-compat-call-process): New defuns, moved from tramp.el.
5318         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
5319         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5320         Add to `tramp-unload-hook'.  Change call of
5321         `tramp-compat-decimal-to-octal' to new function name.
5322         (tramp-fish-method): Make it a defconst.
5323         (tramp-fish-file-name-p): Make it a defsubst.
5324         (tramp-fish-method, tramp-fish-file-name-handler)
5325         (tramp-fish-file-name-p): Set tramp-autoload cookie.
5327         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
5328         `tramp-foreign-file-name-handler-alist'.  Add to
5329         `tramp-unload-hook'.
5330         (tramp-ftp-method): Make it a defconst.
5331         (tramp-ftp-file-name-p): Make it a defsubst.
5332         (tramp-ftp-method, tramp-ftp-file-name-handler)
5333         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
5335         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
5336         `tramp-foreign-file-name-handler-alist'.  Add to
5337         `tramp-unload-hook'.  Change checks, whether package can be
5338         loaded.
5339         (tramp-gvfs-file-name-p): Make it a defsubst.
5340         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
5341         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
5342         (tramp-gvfs-handle-file-directory-p): New defun.
5343         (tramp-gvfs-file-name-handler-alist): Use it.
5345         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
5346         `tramp-foreign-file-name-handler-alist'.  Add to
5347         `tramp-unload-hook'.
5348         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
5349         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
5350         defconst.
5351         (tramp-gw-tunnel-method, tramp-gw-socks-method)
5352         (tramp-gw-open-connection): Set tramp-autoload cookie.
5354         * net/tramp-imap.el (top) Require just 'tramp.  Add objects to
5355         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5356         Add to `tramp-unload-hook'.  Change checks, whether package can be
5357         loaded.
5358         (tramp-imap-file-name-p): Make it a defsubst.
5359         (tramp-imap-method, tramp-imaps-method)
5360         (tramp-imap-file-name-handler)
5361         (tramp-imap-file-name-p): Set tramp-autoload cookie.
5363         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
5364         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5365         Add to `tramp-unload-hook'.  Change checks, whether package can be
5366         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
5367         function name.
5368         (tramp-smb-tunnel-method): Make it a defconst.
5369         (tramp-smb-file-name-p): Make it a defsubst.
5370         (tramp-smb-method, tramp-smb-file-name-handler)
5371         (tramp-smb-file-name-p): Set tramp-autoload cookie.
5373         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
5374         (tramp-uuencode-region): Set tramp-autoload cookie.
5376         * net/trampver.el (top) Add to `tramp-unload-hook'.
5377         (tramp-version, tramp-bug-report-address): Set tramp-autoload
5378         cookie.  Update release number.
5380 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
5382         * textmodes/ispell.el (ispell-start-process): Make sure original
5383         arg list is properly initialized (Bug#6993, Bug#6994).
5385 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
5387         * files.el (directory-abbrev-alist): Use \` as default regexp.
5389         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
5390         chars like - or ] (bug#6984).
5391         (rx-any-condense-range): Explode 2-char ranges.
5393 2010-09-06  Glenn Morris  <rgm@gnu.org>
5395         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
5397 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5399         * textmodes/bibtex.el:
5400         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
5402 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5404         * net/imap.el (imap-message-map): Remove optional buffer parameter,
5405         since no callers use it.
5406         (imap-message-get): Ditto.
5407         (imap-message-put): Ditto.
5408         (imap-mailbox-map): Ditto.
5409         (imap-mailbox-put): Ditto.
5410         (imap-mailbox-get): Ditto.
5411         (imap-mailbox-get): Revert last change for this function.
5413 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5415         * net/imap.el (imap-fetch-safe): Remove function, and alter all
5416         callers to use `imap-fetch' instead.  According to the comments, this
5417         should be safe, since all other IMAP clients use the 1:* syntax.
5418         (imap-enable-exchange-bug-workaround): Remove.
5419         (imap-debug): Remove -- doesn't seem very useful.
5421 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5423         * net/imap.el (imap-log): New convenience function used throughout
5424         instead of repeating the same code all over the place.
5426 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
5428         * mouse.el (mouse-save-then-kill): Save region to kill-ring
5429         when mouse-drag-copy-region is non-nil (Bug#6956).
5431 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
5433         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
5434         Improve regexps (Bug#6987).
5435         (dired-sort-toggle): Search more robustly for -t flag.
5437         * files.el (get-free-disk-space): Search more robustly for
5438         "available" column.  Suggested by Ehud Karni
5439         <ehud@unix.mvs.co.il>.
5441 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
5443         * international/uni-bidi.el:
5444         * international/uni-category.el:
5445         * international/uni-combining.el:
5446         * international/uni-decimal.el:
5447         * international/uni-mirrored.el:
5448         * international/uni-name.el: Regenerate.
5450 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5452         * electric.el (electric-indent-post-self-insert-function):
5453         Don't reindent with a sloppy indentation function.
5455         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
5456         border case in change-log-mode.
5458 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
5460         * progmodes/compile.el (compilation-error-regexp-alist-alist):
5461         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
5462         Recognize leading tab in gcc-include regexp.  Ignore names with
5463         leading "from" or "in" in gnu regexp (Bug#6937).
5465 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5467         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
5468         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
5469         (ispell-start-process): Avoid setq and simplify logic.
5470         (ispell-init-process): Setup kill-buffer-hook locally when needed.
5471         (kill-buffer-hook): Don't use it globally with code that uses
5472         expand-file-name since that may call kill-buffer via
5473         code_conversion_restore.
5475 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
5477         * emacs-lisp/package.el (package-directory-list): Only call
5478         file-name-nondirectory on a string.
5480 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
5482         * emacs-lisp/package.el (package--download-one-archive):
5483         Ensure that archive-contents is valid before saving it.
5484         (package-activate-1, package-mark-obsolete, define-package)
5485         (package-compute-transaction, package-list-maybe-add): Use push.
5487 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5489         Use SMIE's blink-paren for octave-mode.
5490         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
5491         Backslashes do not escape single-quotes, single-quotes do.
5492         (octave-block-else-regexp, octave-block-end-regexp)
5493         (octave-block-match-alist): Remove.
5494         (octave-smie-bnf-table): New var, with old content.
5495         (octave-smie-op-levels): Use it.
5496         (octave-smie-closer-alist): New var.
5497         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
5498         (octave-blink-matching-block-open): Remove.
5499         (octave-reindent-then-newline-and-indent, octave-electric-semi)
5500         (octave-electric-space): Let self-insert-command run expand-abbrev and
5501         blink parens.
5503         * electric.el (electricity): New group.
5504         (electric-indent-chars): New var.
5505         (electric-indent-post-self-insert-function): New fun.
5506         (electric-indent-mode): New minor mode.
5507         (electric-pair-skip-self): New custom.
5508         (electric-pair-post-self-insert-function): New function.
5509         (electric-pair-mode): New minor mode.
5511         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
5512         calcAlg-blink-matching-open.
5513         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
5514         (calc-do-alg-entry): Only touch the part of the keymap that varies.
5515         Use the new blink-matching-check-function.
5517         Provide blink-matching support to SMIE.
5518         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
5519         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
5520         (smie-blink-matching-check, smie-blink-matching-open): New functions.
5522         * simple.el (newline): Fix last change to properly remove itself from
5523         the hook.
5525 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5527         * simple.el (newline): Eliminate optimization.
5528         Use post-self-insert-hook to set hard-newline and things before
5529         running post-self-insert-hook.
5530         (blink-matching-check-mismatch): New function.
5531         (blink-matching-check-function): New variable.
5532         (blink-matching-open): Use them.
5533         Skip back forward over prefix chars skipped by forward-sexp.
5534         Don't check if the parens are backslash escaped.
5535         (blink-paren-post-self-insert-function): Check backslash escaping here.
5537 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
5539         * emacs-lisp/package.el (package-menu-mode-map):
5540         Change package-menu-revert bindings to revert-buffer.
5541         (package-menu-mode): Set revert-buffer-function.
5542         (package-menu-revert): Doc fix.
5544 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
5546         * textmodes/ispell.el (ispell-init-process): Use "~/" as
5547         `default-directory' unless using Ispell per-directory personal
5548         dictionaries and not in a mini-buffer under XEmacs.
5549         (kill-buffer-hook): Do not kill ispell process on exit when
5550         `ispell-process-directory' is "~/".  (Bug#6143)
5552 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
5554         * simple.el (kill-new): Call interprogram-cut-function with only
5555         one argument.
5557         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
5558         Remove cut buffer from error message.
5560         * term/x-win.el (x-select-text):
5561         * term/pc-win.el (x-selection-value):
5562         * term/ns-win.el (x-selection-value):
5563         * eshell/em-term.el:
5564         * w32-fns.el (x-get-selection-value):
5565         * mouse-sel.el (mouse-sel-set-selection-function):
5566         * frame.el (display-selections-p): Remove cut-buffer in documentation.
5568         * term/x-win.el: Update documentation for x-last-selected-text-*.
5569         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
5570         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
5571         (x-select-text): Remove argument PUSH, update documentation.
5572         Remove cut-buffer code.
5573         (x-selection-value-internal): Was previously x-selection-value.
5574         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5575         Update documentation, remove cut-buffer code.
5576         Call x-selection-value-internal.
5577         (x-clipboard-yank): Call x-selection-value-internal.
5578         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
5580         * term/pc-win.el (x-last-selected-text):
5581         x-cut-buffer-or-selection-value renamed to x-selection-value
5582         (x-select-text): Remove argument PUSH, update documentation.
5584         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
5585         x-cut-buffer-or-selection-value renamed to x-selection-value
5586         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5587         (x-select-text): Remove argument PUSH, update documentation.
5589         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
5591         * w32-fns.el (x-last-selected-text):
5592         x-cut-buffer-or-selection-value renamed to x-selection-value.
5593         (x-cut-buffer-max): Remove.
5594         (x-select-text): Remove argument PUSH, update documentation.
5596         * simple.el (interprogram-cut-function): Remove mention of PUSH.
5598         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
5600         * mouse-sel.el (mouse-sel-get-selection-function):
5601         x-cut-buffer-or-selection-value renamed to x-selection-value.
5602         (x-select-text): Remove optional push.
5604 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5606         * simple.el (blink-paren-function): Move from C to here.
5607         (blink-paren-post-self-insert-function): New function.
5608         (post-self-insert-hook): Use it.
5610         * emacs-lisp/pcase.el (pcase-split-memq):
5611         Fix overenthusiastic optimisation.
5612         (pcase-u1): Handle the case of a lambda pred.
5614 2010-08-31  Kenichi Handa  <handa@m17n.org>
5616         * international/mule-cmds.el (standard-display-european-internal):
5617         Setup standard-display-table for 8-bit characters by storing 8-bit
5618         characters in the element vector.
5620         * disp-table.el (standard-display-8bit):
5621         Setup standard-display-table for 8-bit characters by storing 8-bit
5622         characters in the element vector.
5623         (standard-display-european): Likewise.
5625 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
5627         * textmodes/nroff-mode.el (nroff-view): New command.
5628         (nroff-mode-map): Bind it to C-c C-c.
5630 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
5632         * emacs-lisp/smie.el (smie-down-list): New command.
5634         Remove old indentation and navigation code on octave-mode.
5635         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
5636         smie-down-list rather than add a binding for octave-down-block.
5637         (octave-mark-block, octave-blink-matching-block-open):
5638         Rely on forward-sexp-function.
5639         (octave-fill-paragraph): Don't narrow, so you can use
5640         indent-according-to-mode.
5641         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
5642         (octave-in-block-p, octave-re-search-forward-kw)
5643         (octave-re-search-backward-kw, octave-indent-calculate)
5644         (octave-end-as-array-index-p, octave-block-end-offset)
5645         (octave-scan-blocks, octave-forward-block, octave-backward-block)
5646         (octave-down-block, octave-backward-up-block, octave-up-block)
5647         (octave-before-magic-comment-p, octave-indent-line): Remove.
5649 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
5651         * emacs-lisp/package.el (package--read-archive-file): Just use
5652         `read', to avoid copying an additional string.
5653         (package-menu-mode): Set header-line-format here.
5654         (package-menu-refresh, package-menu-revert): Signal an error if
5655         not in the Package Menu.
5656         (package-menu-package-list): New var.
5657         (package--generate-package-list): Operate on the current buffer;
5658         don't assume that it is *Packages*, since the user may rename it.
5659         Allow persistent package listings and sort keys using
5660         package-menu-package-list and package-menu-package-sort-key.
5661         (package-menu--version-predicate): Fix version calculation.
5662         (package-menu-sort-by-column): Don't select the window.
5663         (package--list-packages): Create the *Packages* buffer.
5664         Set package-menu-package-list-key.
5665         (list-packages): Sorting by status is now the default.
5666         (package-buffer-info): Use match-string-no-properties.
5667         (define-package): Add a &rest argument for future proofing, but
5668         don't use it yet.
5669         (package-install-from-buffer, package-install-buffer-internal):
5670         Merge into a single function, package-install-from-buffer.
5671         (package-install-file): Change caller.
5673         * finder.el: Load finder-inf using `require'.
5674         (finder-list-matches): Sorting by status is now the default.
5675         (finder-compile-keywords): Simpify printing.
5677 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5679         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
5680         (octave-mode-map): Remove special bindings for forward/backward-block
5681         and octave-backward-up-block.  Use smie-close-block.
5682         (octave-continuation-marker-regexp): New var.
5683         (octave-continuation-regexp): Use it.
5684         (octave-operator-table, octave-smie-op-levels)
5685         (octave-operator-regexp, octave-smie-indent-rules): New vars.
5686         (octave-smie-backward-token, octave-smie-forward-token): New funs.
5687         (octave-mode): Use SMIE.
5688         (octave-close-block): Delete.
5690 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
5692         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
5693         CLIPBOARD, not in PRIMARY.  (Bug#6944)
5695 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5697         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
5698         a list of parents.
5699         (smie-indent-column): Allow indirection through variables.
5701         * composite.el (save-buffer-state): Delete, unused.
5702         * font-lock.el (save-buffer-state): Use with-silent-modifications.
5703         (font-lock-default-fontify-region): Use with-syntax-table.
5704         * jit-lock.el (with-buffer-unmodified): Remove.
5705         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
5707         Use `declare' in defmacros.
5708         * window.el (save-selected-window):
5709         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
5710         * progmodes/python.el (def-python-skeleton):
5711         * net/dbus.el (dbus-ignore-errors):
5712         * jka-cmpr-hook.el (with-auto-compression-mode):
5713         * international/mule.el (with-category-table):
5714         * emacs-lisp/timer.el (with-timeout):
5715         * emacs-lisp/lisp-mnt.el (lm-with-file):
5716         * emacs-lisp/eieio.el (with-slots):
5717         * emacs-lisp/easymenu.el (easy-menu-define):
5718         * emacs-lisp/debug.el (debugger-env-macro):
5719         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
5720         (Multiple-value-call, Multiple-value-prog1):
5721         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
5722         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
5723         edebug rule to definition.
5724         * emacs-lisp/lisp-mode.el (save-selected-window)
5725         (with-current-buffer, combine-after-change-calls)
5726         (with-output-to-string, with-temp-file, with-temp-buffer)
5727         (with-temp-message, with-syntax-table, read-if, eval-after-load)
5728         (dolist, dotimes, when, unless):
5729         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
5731 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
5733         * finder.el: Require `package'.
5734         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
5735         (finder-package-info): Var deleted.
5736         (finder-keywords-hash, finder--builtins-alist): New vars.
5737         (finder-compile-keywords): Compute package--builtins and
5738         finder-keywords-hash instead of finder-keywords-hash, respecting
5739         the "Package" header.
5740         (finder-unknown-keywords, finder-list-matches):
5741         Use finder-keywords-hash and package--list-packages.
5742         (finder-mode): Don't set font-lock-defaults.
5743         (finder-exit): We don't use "*Finder-package*" and "*Finder
5744         Category*" buffers anymore.
5746         * emacs-lisp/package.el (package--builtins-base): Var deleted.
5747         (package--builtins): Set default value to nil.
5748         (package-initialize): Load precomputed value of package--builtins
5749         from finder-inf.el.
5750         (package-alist, package-compute-transaction)
5751         (package-download-transaction): Improve docstring.
5752         (package-read-all-archive-contents): Do not change
5753         package--builtins here.
5754         (list-packages): Make package-list-packages an alias for this.
5755         Sort by status by default.
5756         (package--list-packages): Add optional PACKAGES arg.
5757         (describe-package-1): Use font-lock-face property.  For built-in
5758         packages, insert file commentary.
5759         (package--generate-package-list): Rename from
5760         package-list-packages-internal; all callers changed.  Add optional
5761         PACKAGES arg.  Add alphabetical sort fallbacks.
5762         (package-menu--version-predicate, package-menu--status-predicate)
5763         (package-menu--description-predicate)
5764         (package-menu--name-predicate): New functions.
5766         * info.el (Info-finder-find-node): Search package-alist instead of
5767         finder-package-info.
5769 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
5771         * subr.el (version-regexp-alist): Don't use "a" and "b" for
5772         "alpha" and "beta".
5773         (version-to-list): Handle versions like "10.3d".
5775 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5777         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
5778         (macroexp-accumulate): Use `declare'.
5780 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
5782         * whitespace.el (whitespace-style): Adjust type declaration.
5784 2010-08-26  Magnus Henoch  <magnus.henoch@gmail.com>
5786         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
5787         empty argument to gvfs-copy.
5789 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
5791         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
5792         handle new TRASH arg of `delete-file'.
5794 2010-08-26  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
5796         * net/tramp.el (tramp-handle-insert-directory): Don't use
5797         `forward-word', its default syntax could be changed.
5799 2010-08-26  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
5800             Michael Albinus  <michael.albinus@gmx.de>
5802         Implement compression for inline methods.
5804         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
5805         (tramp-copy-size-limit): Allow also nil.
5806         (tramp-inline-compress-commands): New defconst.
5807         (tramp-find-inline-compress, tramp-get-inline-compress)
5808         (tramp-get-inline-coding): New defuns.
5809         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
5810         replaced by `tramp-get-inline-coding'.
5811         (tramp-handle-file-local-copy, tramp-handle-write-region)
5812         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
5814 2010-08-26  Noah Lavine  <noah549@gmail.com>  (tiny change)
5816         Detect ssh 'ControlMaster' argument automatically in some cases.
5818         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
5819         (tramp-default-method): Use it.
5821 2010-08-26  Karel Klíč  <kklic@redhat.com>
5823         * net/tramp.el (tramp-file-name-for-operation):
5824         Add file-selinux-context.
5826 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
5828         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
5830 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
5832         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
5833         (Bug#6907).
5835 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
5837         * progmodes/js.el: Make indentation more customizable (Bug#6914).
5838         (js-paren-indent-offset, js-square-indent-offset)
5839         (js-curly-indent-offset): New options.
5840         (js--proper-indentation): Use them.
5842 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
5844         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
5845         instead of inspecting font-lock properties (Bug#6916).
5847 2010-08-26  David Reitter  <david.reitter@gmail.com>
5849         * server.el (server-visit-files): Run pre-command-hook and
5850         post-command-hook for each buffer while it is current (Bug#6910).
5851         (server-execute): Do not run hooks here.
5853 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
5855         Sync with Tramp 2.1.19.
5857         * net/tramp-cmds.el (tramp-cleanup-all-connections)
5858         (tramp-reporter-dump-variable, tramp-load-report-modules)
5859         (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
5860         (tramp-bug): Recommend setting of `tramp-verbose' to 9.
5862         * net/tramp-compat.el (top): Do not autoload
5863         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
5864         only when `start-file-process' is not bound.
5865         (byte-compile-not-obsolete-vars): Define if not bound.
5866         (tramp-compat-funcall): New defmacro.
5867         (tramp-compat-line-beginning-position)
5868         (tramp-compat-line-end-position)
5869         (tramp-compat-temporary-file-directory)
5870         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
5871         (tramp-compat-copy-file, tramp-compat-copy-directory)
5872         (tramp-compat-delete-file, tramp-compat-delete-directory)
5873         (tramp-compat-number-sequence, tramp-compat-process-running-p):
5874         Use it.
5875         (tramp-advice-file-expand-wildcards): Do not use
5876         `tramp-handle-file-remote-p'.
5877         (tramp-compat-make-temp-file): Simplify fallback implementation.
5878         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5879         (tramp-compat-copy-tree): Remove function.
5880         (tramp-compat-delete-file): New defun.
5881         (tramp-compat-delete-directory): Provide implementation for older
5882         Emacsen.
5883         (tramp-compat-file-attributes): Handle only
5884         `wrong-number-of-arguments' error.
5886         * net/tramp-fish.el (tramp-fish-handle-copy-file):
5887         Add PRESERVE_SELINUX_CONTEXT.
5888         (tramp-fish-handle-delete-file): Add TRASH arg.
5889         (tramp-fish-handle-directory-files-and-attributes):
5890         Do not use `tramp-fish-handle-file-attributes.
5891         (tramp-fish-handle-file-local-copy)
5892         (tramp-fish-handle-insert-file-contents)
5893         (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
5895         * net/tramp-gvfs.el (top): Require url-util.
5896         (tramp-gvfs-mount-point): Remove.
5897         (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
5898         and `set-file-selinux-context'.
5899         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
5900         (tramp-gvfs-handle-file-selinux-context)
5901         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
5902         (with-tramp-dbus-call-method): Format trace message.
5903         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
5904         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
5905         Implement backup call, when operation on local files fails.
5906         Use progress reporter.  Flush properties of changed files.
5907         (tramp-gvfs-handle-delete-file): Add TRASH arg.
5908         Use `tramp-compat-delete-file'.
5909         (tramp-gvfs-handle-expand-file-name): Expand "~/".
5910         (tramp-gvfs-handle-make-directory): Make more traces.
5911         (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
5912         (tramp-gvfs-url-file-name): Hexify file name in url.
5913         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
5914         into account for the resulting file name.
5915         (tramp-gvfs-handler-askquestion): Preserve current message, in
5916         order to let progress reporter continue afterwards.  (Bug#6257)
5917         Return dummy mountpoint, when the answer is "no".
5918         See `tramp-gvfs-maybe-open-connection'.
5919         (tramp-gvfs-handler-mounted-unmounted)
5920         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
5921         attribute "default_location".  Set "prefix" property.
5922         Handle default-location.
5923         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
5924         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
5925         exists.  Raise an error, if not (due to a corresponding answer
5926         "no" in interactive questions, for example).
5927         Use `tramp-compat-funcall'.
5929         * net/tramp-imap.el (top): Autoload `epg-make-context'.
5930         (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5931         (tramp-imap-do-copy-or-rename-file)
5932         (tramp-imap-handle-insert-file-contents)
5933         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
5934         (tramp-imap-handle-delete-file): Add TRASH arg.
5936         * net/tramp-smb.el (tramp-smb-handle-copy-file):
5937         Add PRESERVE-SELINUX-CONTEXT.
5938         (tramp-smb-handle-copy-file)
5939         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5940         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
5941         Use `with-progress-reporter'.
5942         (tramp-smb-handle-delete-file): Add TRASH arg.
5944         * net/tramp.el (tramp-methods): Move hostname to the end in all
5945         ssh `tramp-login-args'.  Add `tramp-async-args' attribute where
5946         appropriate.
5947         (tramp-verbose): Describe verbose level 9.
5948         (tramp-completion-function-alist)
5949         (tramp-file-name-regexp, tramp-chunksize)
5950         (tramp-local-coding-commands, tramp-remote-coding-commands)
5951         (with-connection-property, tramp-completion-mode-p)
5952         (tramp-action-process-alive, tramp-action-out-of-band)
5953         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
5954         (tramp-exists-file-name-handler): Fix docstring.
5955         (tramp-remote-process-environment): Use `format' instead of
5956         `concat'.  Protect version string by apostroph.
5957         (tramp-shell-prompt-pattern): Do not use a shy group in case of
5958         XEmacs.
5959         (tramp-file-name-regexp-unified)
5960         (tramp-completion-file-name-regexp-unified): On W32 systems, do
5961         not regard the volume letter as remote filename.  (Bug#5447)
5962         (tramp-perl-file-attributes)
5963         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
5964         (tramp-vc-registered-read-file-names): Read input as
5965         here-document, otherwise the command could exceed maximum length
5966         of command line.
5967         (tramp-file-name-handler-alist): Add `file-selinux-context' and
5968         `set-file-selinux-context'.
5969         (tramp-debug-message): Add `tramp-compat-funcall' to ignored
5970         backtrace functions.
5971         (tramp-error-with-buffer): Don't show the connection buffer when
5972         we are in completion mode.
5973         (tramp-progress-reporter-update, tramp-remote-selinux-p)
5974         (tramp-handle-file-selinux-context)
5975         (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
5976         (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
5977         New defuns.
5978         (with-progress-reporter): New defmacro.
5979         (tramp-debug-outline-regexp): New defconst.
5980         (top, tramp-rfn-eshadow-setup-minibuffer)
5981         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
5982         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
5983         (tramp-completion-mode-p, tramp-check-for-regexp)
5984         (tramp-open-connection-setup-interactive-shell)
5985         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
5986         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
5987         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
5988         Use `tramp-compat-funcall'.
5989         (tramp-handle-make-symbolic-link): Flush file properties.
5990         (tramp-handle-load, tramp-handle-file-local-copy)
5991         (tramp-handle-insert-file-contents, tramp-handle-write-region)
5992         (tramp-handle-vc-registered, tramp-maybe-send-script)
5993         (tramp-find-shell): Use `with-progress-reporter'.
5994         (tramp-do-file-attributes-with-stat): Add space in format string,
5995         in order to work around a bug in pdksh.  Reported by Gilles Pion
5996         <gpion@lfdj.com>.
5997         (tramp-handle-verify-visited-file-modtime): Do not send a command
5998         when the connection is not established.
5999         (tramp-handle-set-file-times): Simplify the check for utc.
6000         (tramp-handle-directory-files-and-attributes)
6001         (tramp-get-remote-path): Use `copy-tree'.
6002         (tramp-completion-handle-file-name-all-completions): Ensure, that
6003         non remote files are still checked.  Oops.
6004         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
6005         Handle PRESERVE-SELINUX-CONTEXT.
6006         (tramp-do-copy-or-rename-file): Add progress reporter.
6007         (tramp-do-copy-or-rename-file-directly): Do not use
6008         `tramp-handle-file-remote-p'.
6009         (tramp-do-copy-or-rename-file-out-of-band):
6010         Use `tramp-compat-delete-directory'.
6011         (tramp-do-copy-or-rename-file-out-of-band)
6012         (tramp-compute-multi-hops, tramp-maybe-open-connection):
6013         Use `format-spec-make'.
6014         (tramp-handle-delete-file): Add TRASH arg.
6015         (tramp-handle-dired-uncache): Flush directory cache, not only file
6016         cache.
6017         (tramp-handle-expand-file-name)
6018         (tramp-completion-handle-file-name-all-completions)
6019         (tramp-completion-handle-file-name-completion):
6020         Use `tramp-connectable-p'.
6021         (tramp-handle-start-file-process): Set connection property "vec".
6022         Use it, in order to invalidate file caches.  Check only for
6023         `remote-tty' process property.
6024         Implement tty setting.  (Bug#4604, Bug#6360)
6025         (tramp-file-name-for-operation): Add `call-process-region' and
6026         `set-file-selinux-context'.
6027         (tramp-find-foreign-file-name-handler)
6028         (tramp-advice-make-auto-save-file-name)
6029         (tramp-set-auto-save-file-modes): Remove superfluous check for
6030         `stringp'.  This is done inside `tramp-tramp-file-p'.
6031         (tramp-file-name-handler): Trace 'quit.  Catch the error for some
6032         operations when we are in completion mode.  This gives the user
6033         the chance to correct the file name in the minibuffer.
6034         (tramp-completion-mode-p): Use `non-essential'.
6035         (tramp-handle-file-name-all-completions): Backward/ XEmacs
6036         compatibility: Use `completion-ignore-case' if
6037         `read-file-name-completion-ignore-case' does not exist.
6038         (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
6039         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6040         `tramp-open-shell'.
6041         (tramp-action-password): Hide password prompt before next run.
6042         (tramp-process-actions): Widen connection buffer for the trace.
6043         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6044         process property.  Trace stty settings if `tramp-verbose' >= 9.
6045         Apply workaround for IRIX64 bug.  Move argument of last
6046         `tramp-send-command' where it belongs to.
6047         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6048         front of `login-args'.
6049         (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
6050         on "/dev/null" instead of "/".
6051         (tramp-get-ls-command-with-dired): Make test for "--dired"
6052         stronger.
6053         (tramp-set-auto-save-file-modes): Adapt version check.
6054         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6055         (tramp-handle-process-file): Call the program in a subshell, in
6056         order to preserve working directory.
6057         (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
6058         `tramp-remote-sh' from `tramp-methods'.
6059         (tramp-get-ls-command): Make test for "--color=never" stronger.
6060         (tramp-check-for-regexp): Use (forward-line 1).
6062         * net/trampver.el: Update release number.
6064 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
6066         * help.el (help-map): Bind `C-h P' to describe-package.
6068         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
6070         * emacs-lisp/package.el (package-refresh-contents): Catch errors
6071         when downloading archives.
6072         (describe-package-1): Add package commentary.
6073         (package-install-button-action): New function.
6074         (package-menu-mode-map): Bind ? to package-menu-describe-package.
6075         (package-menu-view-commentary): Function removed.
6076         (package-list-packages-internal): Hide the `package' package too.
6078 2010-08-25  Kenichi Handa  <handa@m17n.org>
6080         * language/misc-lang.el ("Arabic"): New language environment.
6081         Setup composition-function-table for Arabic characters.
6083         * international/fontset.el (setup-default-fontset): Fix typo for
6084         arabic OTF spec (fini->fina).
6086 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
6088         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
6089         on all frames.
6091 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
6093         * whitespace.el: Allow cleaning up blanks without blank
6094         visualization (Bug#6651).  Adjust help window for
6095         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
6096         instead of whitespace-line-column (from EmacsWiki).  New version
6097         13.1.
6098         (whitespace-style): Add new value 'face.  Adjust docstring.
6099         (whitespace-space, whitespace-hspace, whitespace-tab):
6100         Adjust foreground property face.
6101         (whitespace-line-column): Adjust docstring and type declaration.
6102         (whitespace-style-value-list, whitespace-toggle-option-alist)
6103         (whitespace-help-text): Adjust const initialization.
6104         (whitespace-toggle-options, global-whitespace-toggle-options):
6105         Adjust docstring.
6106         (whitespace-display-window, whitespace-interactive-char)
6107         (whitespace-style-face-p, whitespace-color-on): Adjust code.
6108         (whitespace-help-scroll): New fun.
6110 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
6112         * emacs-lisp/package.el (list-packages): Alias for
6113         package-list-packages.
6115 2010-08-24  Kevin Ryde  <user42@zip.com.au>
6117         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
6118         (Bug#5651).
6120         * progmodes/ruby-mode.el (ruby): Add defgroup.
6122 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
6124         * progmodes/python.el: Add Ipython support (Bug#5390).
6125         (python-shell-prompt-alist)
6126         (python-shell-continuation-prompt-alist): New options.
6127         (python--set-prompt-regexp): New function.
6128         (inferior-python-mode, run-python, python-shell):
6129         Require ansi-color.  Use python--set-prompt-regexp to set the comint
6130         prompt based on the Python interpreter.
6131         (python--prompt-regexp): New var.
6132         (python-check-comint-prompt)
6133         (python-comint-output-filter-function): Use it.
6134         (run-python): Use a pipe (Bug#5694).
6136 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
6138         * progmodes/python.el (python-send-region): Send a different
6139         Python command if Ipython is in use.
6140         (python-check-version): Use a Python command to find the version.
6142 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
6144         * mouse.el (mouse-yank-primary): Avoid setting primary when
6145         deactivating the mark (Bug#6872).
6147 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
6149         * progmodes/python.el (python-block-pairs): Allow use of "finally"
6150         with "else" (Bug#3991).
6152 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
6154         * net/dbus.el: Accept UNIX domain sockets as bus address.
6155         (top): Don't initialize `dbus-registered-objects-table' anymore,
6156         this is done in dbusbind,c.
6157         (dbus-check-event): Adapt test for bus.
6158         (dbus-return-values-table, dbus-unregister-service)
6159         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
6160         Adapt doc string.
6162 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
6164         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
6166 2010-08-22  Juri Linkov  <juri@jurta.org>
6168         * simple.el (read-extended-command): New function with the logic
6169         for `completing-read' moved to Elisp from `execute-extended-command'.
6170         Use `function-called-at-point' in `minibuffer-default-add-function'
6171         to get a command name for M-n (bug#5364, bug#5214).
6173 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
6175         * startup.el (command-line-1): Issue warning for ignored arguments
6176         --unibyte, etc (Bug#6886).
6178 2010-08-22  Leo  <sdl.web@gmail.com>
6180         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
6181         (ignore, bright, dim, keyword): Split list of nicknames before
6182         passing to rcirc-add-or-remove (Bug#6894).
6184 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
6186         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
6188 2010-08-22  Leo  <sdl.web@gmail.com>
6190         Fix buffer-list rename&refresh after killing a buffer in ido.
6191         * ido.el: Revert Óscar's.
6192         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
6193         Remember the buffers at head, rather than their name.
6194         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
6196 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
6197             Stefan Monnier  <monnier@iro.umontreal.ca>
6199         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
6200         extra backslash added to each line (bug#6890).
6202 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6204         * subr.el (read-key): Don't echo keystrokes (bug#6883).
6206 2010-08-22  Glenn Morris  <rgm@gnu.org>
6208         * menu-bar.el (menu-bar-games-menu): Add landmark.
6210 2010-08-22  Glenn Morris  <rgm@gnu.org>
6212         * align.el (align-regexp): Make group and spacing arguments
6213         use the interactive defaults when non-interactive.  (Bug#6698)
6215         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
6216         expansion, so as not to need sendmail.
6217         (mail-text-start): Remove declaration.
6218         (rmail-retry-failure): Require sendmail.
6220 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
6222         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
6224 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
6226         * progmodes/flymake.el (flymake-start-syntax-check-process):
6227         Use `start-file-process' in order to let it run also on remote hosts.
6229 2010-08-22  Kenichi Handa  <handa@m17n.org>
6231         * files.el: Add `word-wrap' as safe local variable.
6233 2010-08-22  Glenn Morris  <rgm@gnu.org>
6235         * woman.el (woman-translate): Case matters.  (Bug#6849)
6237 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
6239         * simple.el (kill-region): Doc fix (Bug#6787).
6241 2010-08-22  Glenn Morris  <rgm@gnu.org>
6243         * calendar/diary-lib.el (diary-header-line-format):
6244         Fit it to the window, not the frame.
6246 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
6248         * subr.el (ignore-errors): Add debug declaration.
6250 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
6252         * whitespace.el (whitespace-color-off): Remove post-command-hook
6253         locally.
6255 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6257         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
6259 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
6261         * cus-edit.el (custom-group-value-create): Add extra newline
6262         before end line (Bug#6876).
6264 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
6266         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
6267         when extending it.  Before killing on the second click, check if
6268         the buffer is the correct one.  Doc fix.
6269         (mouse-secondary-save-then-kill): Allow usage without first
6270         calling mouse-start-secondary, by defaulting to point.  Don't save
6271         an empty secondary selection.  Doc fix.
6273 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
6275         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
6276         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
6277         New version 13.0.
6278         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
6279         Adjust initialization.
6280         (whitespace-bob-marker, whitespace-eob-marker)
6281         (whitespace-buffer-changed): New vars.
6282         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
6283         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
6284         (whitespace-post-command-hook, whitespace-display-char-on):
6285         Adjust code.
6286         (whitespace-looking-back, whitespace-buffer-changed): New funs.
6287         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
6289 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6291         * files.el (locate-file-completion-table): Only list the .el and .elc
6292         extensions if there's no other choice (bug#5955).
6294         * facemenu.el (facemenu-self-insert-data): New var.
6295         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
6296         New functions.
6297         (facemenu-add-face): Use them.
6299         * simple.el (blink-matching-open): Obey forward-sexp-function.
6301 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6303         * simple.el (prog-mode-map): New var.
6304         (prog-indent-sexp): New command.
6306         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
6308         * progmodes/prolog.el (smie): Require.
6310         * emacs-lisp/smie.el (smie-default-backward-token)
6311         (smie-default-forward-token): Strip properties.
6312         (smie-next-sexp): Be more careful with associative operators.
6313         (smie-forward-sexp-command): Generalize.
6314         (smie-backward-sexp-command): Simplify.
6315         (smie-closer-alist): New var.
6316         (smie-close-block): New command.
6317         (smie-indent-debug-log): New var.
6318         (smie-indent-offset-rule): Add a few more cases.
6319         (smie-indent-column): New function.
6320         (smie-indent-after-keyword): Use it.
6321         (smie-indent-keyword): Use it.
6322         Fix up the opener code's point position.
6323         (smie-indent-comment): Only applies at BOL.
6324         (smie-indent-debug): New command.
6326         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
6327         declarations that are useful before running the macro.
6329 2010-08-18  Joakim Verona  <joakim@verona.se>
6331         * image.el (imagemagick-types-inhibit): New variable.
6332         (imagemagick-register-types): New function.
6333         * image-mode.el (image-transform-properties): New function.
6334         (image-transform-set-scale, image-transform-fit-to-height)
6335         (image-transform-set-rotation, image-transform-set-resize)
6336         (image-transform-fit-to-width, image-transform-fit-to-height):
6337         New functions.
6338         (image-toggle-display-image): Support image transforms.
6340 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
6342         * image.el (create-animated-image): Don't add heuristic mask to image
6343         (Bug#6839).
6345 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
6347         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
6348         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
6350 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6352         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
6354         Font-lock '...' strings, plus various simplifications and fixes.
6355         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6356         (octave-font-lock-close-quotes): New function.
6357         (octave-font-lock-syntactic-keywords): New var.
6358         (octave-mode): Use it.  Set beginning-of-defun-function.
6359         (octave-mode-map): Don't override the <foo>-defun commands.
6360         (octave-mode-menu): Pass it directly to easy-menu-define;
6361         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
6362         (octave-block-match-alist): Fix up last change so that
6363         octave-close-block uses the more specific keyword.
6364         (info-lookup-mode): Silence byte-compiler.
6365         (octave-beginning-of-defun): Not interactive any more.
6366         Optimize slightly.
6367         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
6368         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
6369         (octave-completion-at-point-function): Make sure point is within
6370         beg..end.
6371         (octave-reindent-then-newline-and-indent):
6372         Use reindent-then-newline-and-indent.
6373         (octave-add-octave-menu): Remove.
6375 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
6377         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
6378         (report-emacs-bug-can-use-xdg-email): New functions.
6379         (report-emacs-bug): Set can-xdg-email to result of
6380         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
6381         \C-cm to report-emacs-bug-insert-to-mailer and add help text
6382         about it.
6384         * net/browse-url.el (browse-url-default-browser): Add cond
6385         for browse-url-xdg-open.
6386         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
6388 2010-08-17  Glenn Morris  <rgm@gnu.org>
6390         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
6391         (c-fontify-recorded-types-and-refs): Define for compiler.
6392         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
6393         before use.
6395         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
6396         Fix format call.
6398 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
6400         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
6401         properties.
6402         (tramp-handle-process-file): Call the program in a subshell, in
6403         order to preserve working directory.
6404         (tramp-action-password): Hide password prompt before next run.
6405         (tramp-process-actions): Widen connection buffer for the trace.
6407 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
6409         * net/rcirc.el (rcirc-log-process-buffers): New option.
6410         (rcirc-print): Use it.
6411         (rcirc-generate-log-filename): New function.
6412         (rcirc-log-filename-function): Change default to
6413         rcirc-generate-log-filename (Bug#6828).
6415 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
6417         * simple.el (deactivate-mark): If select-active-regions is `only',
6418         only set selection for temporarily active regions.
6420         * cus-start.el: Change defcustom for select-active-regions.
6422 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
6424         * mouse.el (mouse--drag-set-mark-and-point): New function.
6425         (mouse-drag-track): Use LOCATION arg to push-mark.
6426         Use mouse--drag-set-mark-and-point to take click-count into
6427         consideration when updating point and mark (Bug#6840).
6429 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
6431         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6432         Give the Ruby rule a lower priority than Gnu (Bug#6778).
6434 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
6436         * font-lock.el (lisp-font-lock-keywords-2):
6437         Add combine-after-change-calls, condition-case-no-debug,
6438         with-demoted-errors, and with-silent-modifications (Bug#6025).
6440 2010-08-14  Kevin Ryde  <user42@zip.com.au>
6442         * emacs-lisp/copyright.el (copyright-update-year)
6443         (copyright-update): Temporary switch-to-buffer to ensure the
6444         buffer change being queried is visible (Bug#5394).
6446 2010-08-14  Tom Tromey  <tromey@redhat.com>
6448         * progmodes/etags.el (tags-file-name): Mark safe if stringp
6449         (Bug#6733).
6451 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
6453         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
6454         MS-DOS.  (Bug#6689)
6456 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
6458         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
6459         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6460         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6461         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
6462         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
6463         Call menu-bar-set-tool-bar-position.
6465 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6467         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
6468         comment style (bug#6834).
6469         * progmodes/scheme.el (scheme-mode-syntax-table):
6470         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
6471         "b" flag in "' 14b" syntax.
6473         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
6474         for (un)commenting the region and performing completion.
6475         (octave-mode-menu): Use standard commands for help and completion.
6476         (octave-mode-syntax-table): Support %{..%} comments (sort of).
6477         (octave-mode): Use define-derived-mode.
6478         Set completion-at-point-functions and don't set columns.
6479         Don't disable adaptive-fill-regexp.
6480         (octave-describe-major-mode, octave-comment-region)
6481         (octave-uncomment-region, octave-comment-indent)
6482         (octave-indent-for-comment): Remove.
6483         (octave-indent-calculate): Rename from calculate-octave-indent.
6484         (octave-indent-line, octave-fill-paragraph): Update caller.
6485         (octave-initialize-completions): No need to make an alist.
6486         (octave-completion-at-point-function): New function.
6487         (octave-complete-symbol): Use it.
6488         (octave-insert-defun): Use define-skeleton.
6490         * progmodes/octave-mod.el (octave-mode): Set comment-add.
6491         (octave-mode-map): Use comment-dwim (bug#6829).
6493 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)
6495         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
6496         indentation of inserted comment.
6498 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
6500         * faces.el (region): Add type gtk that uses gtk colors.
6502         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
6503         Handle theme-name change.
6505 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
6507         * progmodes/sql.el: Version 2.5
6508         (sql-product-alist): Add :prompt-cont-regexp property for several
6509         database products.
6510         (sql-prompt-cont-regexp): New variable.
6511         (sql-output-newline-count, sql-output-by-send):
6512         New variables.  Record number of newlines in input text.
6513         (sql-send-string): Handle multiple filters and count newlines.
6514         (sql-send-magic-terminator): Count terminator newline.
6515         (sql-interactive-remove-continuation-prompt): Filters output to
6516         remove continuation prompts; one for each newline.
6517         (sql-interactive-mode): Set up new variables, prompt regexp and
6518         output filter.
6519         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
6520         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
6522 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6524         * emacs-lisp/pcase.el: New file.
6526 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
6528         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
6529         as here-document, otherwise the command could exceed maximum
6530         length of command line.
6531         (tramp-handle-vc-registered): Call script accordingly.
6532         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
6534 2010-08-10  Kenichi Handa  <handa@m17n.org>
6536         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
6537         composable pattern.
6539 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
6541         * emacs-lisp/package.el (package-version-split)
6542         (package--version-first-nonzero, package-version-compare):
6543         Functions removed.
6544         (package-directory-list, package-load-all-descriptors)
6545         (package--built-in, package-activate, define-package)
6546         (package-installed-p, package-compute-transaction)
6547         (package-read-all-archive-contents)
6548         (package--add-to-archive-contents, package-buffer-info)
6549         (package-tar-file-info, package-list-packages-internal):
6550         Use version-to-list and version-list-*.
6552         * emacs-lisp/package-x.el (package-upload-buffer-internal):
6553         Use version-to-list.
6554         (package-upload-buffer-internal): Use version-list-<=.
6556 2010-08-09  Kenichi Handa  <handa@m17n.org>
6558         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
6559         composable pattern.
6561 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
6563         * tutorial.el (tutorial--default-keys): C-d is now bound to
6564         delete-forward-char (Bug#6826).
6566         * mouse.el (mouse-drag-track): Remove accidentally-removed check
6567         for `double' value of mouse-1-click-follows-link (Bug#6807).
6569 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
6571         * replace.el (replace-highlight): Bind isearch-forward and
6572         isearch-error, ensuring that highlighting is updated if the user
6573         switches the search direction (Bug#6808).
6575         * isearch.el (isearch-lazy-highlight-forward): New var.
6576         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6577         (isearch-lazy-highlight-update): Use it.
6579 2010-08-08  Kenichi Handa  <handa@m17n.org>
6581         * international/mule.el (define-charset): Store NAME as :base property.
6582         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
6583         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
6584         current priority.  Force using the designation of the specific
6585         charset by adding `charset' text property.  Improve the whole algorithm.
6587 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
6589         * emulation/pc-select.el (pc-selection-mode-hook)
6590         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
6591         (pc-selection-mode): Fix typos in docstrings.
6593 2010-08-08  Kenichi Handa  <handa@m17n.org>
6595         * language/cyrillic.el: Don't add "microsoft-cp1251" to
6596         ctext-non-standard-encodings-alist here.
6598         * international/mule.el (ctext-non-standard-encodings-alist):
6599         Add "koi8-r" and "microsoft-cp1251".
6600         (ctext-standard-encodings): New variable.
6601         (ctext-non-standard-encodings-table): List only elements for
6602         non-standard encodings.
6603         (ctext-pre-write-conversion): Adjust for the above change.
6604         Check ctext-standard-encodings.
6606         * international/mule-conf.el (compound-text): Doc fix.
6607         (ctext-no-compositions): Doc fix.
6608         (compound-text-with-extensions): Doc fix.
6610 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6612         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
6614 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
6616         * progmodes/which-func.el (which-func-format): Split help-echo text
6617         into lines, like other mode-line tooltips.
6619         * server.el (server-start): When using TCP sockets, force IPv4
6620         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
6622 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6624         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
6626 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
6628         * term.el (term-delimiter-argument-list): Reflow docstring.
6629         (term-read-input-ring, term-write-input-ring, term-send-input)
6630         (term-bol, term-erase-in-display, serial-supported-or-barf):
6631         Fix typos in docstrings.
6633 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6635         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
6637 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
6639         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
6641 2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
6643         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
6644         Fix typo in docstring (bug#6747).
6646 2010-08-08  Leo  <sdl.web@gmail.com>
6648         * eshell/esh-io.el (eshell-get-target): Better detection of
6649         read-only file (Bug#6762).
6651 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
6653         * align.el (align-default-spacing): Doc fix.
6654         (align-region-heuristic, align-regexp): Fix typos in docstrings.
6656 2010-08-08  Stephen Peters  <speters@itasoftware.com>
6658         * calendar/icalendar.el
6659         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
6660         (icalendar--get-weekday-numbers): New.
6661         (icalendar--convert-recurring-to-diary): Handle multiple byday
6662         values in weekly rules.  (Bug#6766)
6664 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
6666         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
6667         (icalendar--create-uid, icalendar-export-region)
6668         (icalendar--parse-summary-and-rest): Code formatting.
6670 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
6672         * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
6673         to italicize headers.
6674         (calc-highlight-selections-with-faces): New variable.
6675         (calc-selected-face, calc-nonselected-face): New faces.
6677         * calc/calccomp.el (math-comp-highlight-string): Use
6678         `calc-highlight-selections-with-faces' to determine how to highlight
6679         sub-formulas.
6681         * calc/calc-sel.el (calc-show-selections): Change message to when
6682         using faces to highlight selections.
6684 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
6686         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
6687         Add SQLite 3 keywords, functions and datatypes.
6688         (sql-interactive-mode): Remove `comint-process-echoes' set to t
6689         (Bug#6686).
6691 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
6693         * simple.el (select-active-regions): Move to keyboard.c.
6694         (deactivate-mark): Used saved-region-selection.
6695         (select-active-region): Function removed.
6696         (activate-mark, set-mark, push-mark-command)
6697         (handle-shift-selection): Don't call it.
6698         (keyboard-quit): Avoid adding the region to the window selection.
6700         * mouse.el (mouse-drag-track): Remove hacks to deal with old
6701         select-active-regions implementation.
6702         (mouse-yank-at-click): Doc fix.
6704         * cus-start.el: Add custom declaration for select-active-regions.
6706 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
6708         * simple.el (delete-forward-char): Doc fix.
6710         * tutorial.el (help-with-tutorial): Hack safe file-local variables
6711         after reading the tutorial.
6713 2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
6715         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
6716         Fix for the case that a C style comment has its delimiters alone on
6717         their respective lines.
6719 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
6721         * net/tramp.el (tramp-handle-start-file-process): Set connection
6722         property "vec".
6723         (tramp-process-sentinel): Use it for flushing the cache.
6724         We cannot do it via the process buffer, the buffer could be deleted
6725         already when running the sentinel.
6727 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
6729         * comint.el (comint-mode): Make directory tracking functions
6730         functional on remote files.  (Bug#6764)
6732 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
6734         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
6736 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
6738         * emacs-lisp/find-gc.el (find-gc-source-files):
6739         Rename unexec.c => unexcoff.c.
6741         * emacs-lisp/authors.el (authors-fixed-entries):
6742         Rename unexec.c => unexcoff.c.
6744 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
6746         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
6747         cache, not only file cache.
6748         (tramp-process-sentinel): New defun.
6749         (tramp-handle-start-file-process): Use it, in order to invalidate
6750         file caches.
6752 2010-08-03  Leo  <sdl.web@gmail.com>
6754         * server.el (server-start): Simplify loop.
6756 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6758         * frame.el (screen-height, screen-width, set-screen-width)
6759         (set-screen-height): Remove ancient compatibility aliases.
6761         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
6762         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
6764         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
6765         that change current buffer.
6767 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
6769         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
6770         beginning of the string.  Use `string-match-p'.  (Bug#6765)
6772 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
6774         * cus-start.el (x-gtk-use-system-tooltips): New variable.
6776 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
6778         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
6779         (package--builtins): Tweak descriptions.
6780         (package-print-package): Upcase descriptions if necessary.
6781         Show all built-in packages in font-lock-builtin-face.
6782         (package-list-packages-internal): Omit "emacs" package.
6783         Show status of built-in packages as "built-in".
6785 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
6787         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
6788         before killing to preserve the primary selection (Bug#6701).
6790         * term/x-win.el (x-select-text): Doc fix.
6792 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
6794         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
6795         (objc-font-lock-extra-types):
6796         * progmodes/cc-mode.el (c-basic-common-init):
6797         * progmodes/cc-langs.el (c-make-mode-syntax-table)
6798         (c++-make-template-syntax-table)
6799         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
6800         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
6801         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
6802         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
6803         * progmodes/cc-fonts.el (c-make-inverse-face)
6804         (c-basic-matchers-after):
6805         * progmodes/cc-engine.el (c-forward-keyword-clause)
6806         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
6807         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
6808         (c-guess-continued-construct, c-guess-basic-syntax):
6809         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
6810         The above functions were modified or created.
6812 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
6814         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
6816 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
6818         * files.el (bidi-paragraph-direction): Define safe local values.
6820         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
6821         language-info-alist.  Remove outdated FIXME in a comment.
6823 2010-07-31  Alan Mackenzie  <acm@muc.de>
6825         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
6826         Auto-fill broken in C/C++ modes.
6828 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
6830         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6831         (menu-bar-showhide-tool-bar-menu-customize-disable)
6832         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6833         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
6834         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
6835         (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
6836         make a menu for Options => toolbar that can move it.
6838 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
6840         * emacs-lisp/package-x.el (package--make-rss-entry):
6841         (package-maint-add-news-item, package--update-news)
6842         (package-upload-buffer-internal): New arg ARCHIVE-URL.
6844         * emacs-lisp/package.el (package-archive-url): Rename from
6845         package-archive-id.
6846         (package-install): Doc fix.
6847         (package-download-single, package-download-tar, package-install)
6848         (package-menu-view-commentary): Callers changed.
6850 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
6852         * net/tramp.el (tramp-handle-start-file-process): Check only for
6853         `remote-tty' process property.
6854         (tramp-open-shell): Don't check for tty.
6855         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6856         process property.
6858         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
6859         host.
6861 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
6863         * emacs-lisp/package.el (package-load-list, package-archives)
6864         (package-archive-contents, package-user-dir)
6865         (package-directory-list, package--builtins, package-alist)
6866         (package-activated-list, package-obsolete-alist): Mark as risky.
6868 2010-07-28  Phil Hagelberg  <phil@evri.com>
6870         Add support for non-default package repositories.
6871         * emacs-lisp/package.el (package-archive-base): Var deleted.
6872         (package-archives): New variable.
6873         (package-archive-contents): Doc fix.
6874         (package-load-descriptor): Do nothing if descriptor file is missing.
6875         (package--write-file-no-coding): New function.
6876         (package-unpack-single): Use it.
6877         (package-archive-id): New function.
6878         (package-download-single, package-download-tar)
6879         (package-menu-view-commentary): Use it.
6880         (package-installed-p): Make second argument optional.
6881         (package-read-all-archive-contents): New function.
6882         (package-initialize): Use it.
6883         (package-read-archive-contents): Add ARCHIVE argument.
6884         (package--add-to-archive-contents): New function.
6885         (package-install): Don't call package-read-archive-contents.
6886         (package--download-one-archive): Store archive file in a
6887         subdirectory of package-user-dir.
6888         (package-menu-execute): Remove spurious line movement.
6890 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
6892         * cus-start.el (tool-bar-style): Add text-image-horiz.
6894 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
6896         * progmodes/gud.el (gud-common-init): Check for remoteness of
6897         `file', and not of `default-directory'.
6899 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
6901         * net/tramp.el (tramp-methods): Move hostname to the end in all
6902         ssh `tramp-login-args'.
6903         (tramp-verbose): Describe verbose level 9.
6904         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
6905         (tramp-open-connection-setup-interactive-shell): Trace stty
6906         settings if `tramp-verbose' >= 9.
6907         (tramp-handle-start-file-process): Implement tty setting.
6908         (Bug#4604, Bug#6360)
6910         * net/tramp-cmds.el (tramp-bug): Recommend setting of
6911         `tramp-verbose' to 9.
6913 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
6915         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
6916         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
6917         Remove references to package `lisp-re' (bug#4369).
6919 2010-07-27  Tom Tromey  <tromey@redhat.com>
6921         * progmodes/js.el (js-mode):
6922         * progmodes/make-mode.el (makefile-mode):
6923         * progmodes/simula.el (simula-mode):
6924         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
6926 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
6928         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
6930         * time.el (display-time-day-and-date): Remove spurious * in docstring.
6931         (display-time-world-buffer-name, display-time-world-mode-map):
6932         Fix typos in docstrings.
6934 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
6936         * image-mode.el (image-display-size): New function.
6937         (image-forward-hscroll, image-next-line, image-eol, image-eob)
6938         (image-mode-fit-frame): Use it (Bug#6639).
6940 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
6942         * dired.el (dired-buffers-for-dir): Handle list values of
6943         dired-directory (Bug#6636).
6945 2010-07-26  Sam Steingold  <sds@gnu.org>
6947         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
6948         Do not call `x-get-selection' the second time, reuse the value.
6950 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
6952         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
6953         which consist of control chars only.  Suggested by Richard Stallman.
6955 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
6957         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
6958         exists before passing an error to find-file-not-found-functions
6959         (bug#6723).
6961 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
6963         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
6964         Remove leading nil element, adjust values.
6965         (tetris-shapes, tetris-shape-scores):
6966         Change representation of shapes and remove some redundancy.
6967         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
6968         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
6969         Adjust for working with new representation of shapes.
6970         (tetris-shape-rotations): New function.
6971         (tetris-move-bottom, tetris-move-left, tetris-move-right)
6972         (tetris-rotate-prev, tetris-rotate-next):
6973         Adjust for working with the new version of tetris-test-shape.
6975 2010-07-23  Markus Triska  <markus.triska@gmx.at>
6977         * progmodes/ps-mode.el: Use comint (bug#5954).
6978         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
6979         (ps-mode-other-newline): Simplify.
6980         (ps-run-mode): Derive from comint-mode instead of
6981         fundamental-mode, yielding input history etc.
6982         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
6983         (ps-run-send-string): Adapt for comint-mode.
6984         (ps-run-newline): Remove now unneeded function.
6986 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
6988         * net/tramp.el (tramp-methods): Move hostname to the end in all
6989         plink `tramp-login-args'.
6991 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
6993         * net/tramp.el (tramp-open-shell): New defun.
6994         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6995         Use it.
6997 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
6999         * net/tramp.el (tramp-file-name-regexp-unified)
7000         (tramp-completion-file-name-regexp-unified): On W32 systems, do
7001         not regard the volume letter as remote filename.  (Bug#5447)
7003 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
7005         * custom.el (custom-declare-variable): Give a clearer error message
7006         when the docstring is missing (bug#6476).
7008 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
7010         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
7011         (sql-login-params): New widget definition.
7012         (sql-oracle-login-params, sql-mysql-login-params)
7013         (sql-solid-login-params, sql-sybase-login-params)
7014         (sql-informix-login-params, sql-ingres-login-params)
7015         (sql-ms-login-params, sql-postgres-login-params)
7016         (sql-interbase-login-params, sql-db2-login-params)
7017         (sql-linter-login-params): Use it.
7018         (sql-sqlite-login-params): Use it; Define "database" parameter as
7019         a file name.
7020         (sql-sqlite-program): Change to "sqlite3".
7021         (sql-comint-sqlite): Make sure database name is complete.
7022         (sql-for-each-login): New function.
7023         (sql-connect, sql-save-connection): Use it.
7024         (sql-get-login-ext): New function.
7025         (sql-get-login): Use it.
7026         (sql-make-alternate-buffer-name): Handle :file parameters.
7028 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
7030         * dired.el (dired-no-confirm): Document value t and fix defcustom to
7031         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
7033 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
7035         * dired.el (dired-mode-map): Use command remapping (bug#6632).
7037 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
7039         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
7041 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
7043         * net/tramp.el (tramp-get-ls-command)
7044         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
7045         instead of "/".
7047 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
7049         * progmodes/sql.el: Version 2.3.
7050         (sql-connection-alist): Change keys from symbols to strings;
7051         enhanced the widget definition.
7052         (sql-mode-menu): Add submenu to select connections.
7053         (sql-interactive-mode-menu): Add "Save Connection" item.
7054         (sql-add-product): Fix menu item.
7055         (sql-get-product-feature): Improved error handling.
7056         (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
7057         (sql-make-alternate-buffer-name): Simplified.
7058         (sql-product-interactive): Handle missing product.
7059         (sql-connect): Support string keys, minor improvements.
7060         (sql-save-connection): New function.
7061         (sql-connection-menu-filter): New function.
7063 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
7065         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
7066         (tramp-open-connection-setup-interactive-shell):
7067         Apply workaround for IRIX64 bug.  Move argument of last
7068         `tramp-send-command' where it belongs to.
7070 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
7072         * net/tramp.el (tramp-perl-file-attributes)
7073         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
7074         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
7075         front of `login-args'.
7077 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
7079         * time.el (display-time-world-mode): Define with `define-derived-mode'.
7080         Set `show-trailing-whitespace' to nil.
7081         (display-time-world-display): Simplify.
7083 2010-07-18  Alan Mackenzie  <acm@muc.de>
7085         Enhance `c-file-style' in file/directory local variables.
7086         * progmodes/cc-mode.el (c-count-cfss): New function.
7087         (c-before-hack-hook): Call `c-set-style' differently according to
7088         whether c-file-style was set in file or directory local
7089         variables.
7091 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
7093         * progmodes/sql.el: Version 2.2.
7094         (sql-product, sql-user, sql-database, sql-server, sql-port):
7095         Use defcustom :safe keyword rather than putting safe-local-variable
7096         property.
7097         (sql-password): Use defcustom :risky keyword rather than putting
7098         risky-local-variable property.
7099         (sql-oracle-login-params, sql-sqlite-login-params)
7100         (sql-solid-login-params, sql-sybase-login-params)
7101         (sql-informix-login-params, sql-ingres-login-params)
7102         (sql-ms-login-params, sql-postgres-login-params)
7103         (sql-interbase-login-params, sql-db2-login-params)
7104         (sql-linter-login-params): Add `port' option.
7105         (sql-get-product-feature): Add NO-INDIRECT parameter.
7106         (sql-comint-oracle, sql-comint-sybase)
7107         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
7108         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
7109         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
7110         (sql-comint-linter): Rename sql-connect-* functions to
7111         sql-comint-*.
7112         (sql-product-alist, sql-mode-menu): Rename as above and
7113         :sqli-connect-func to :sqli-comint-func.
7114         (sql-connection): New variable.
7115         (sql-interactive-mode): Set it.
7116         (sql-connection-alist): New variable.
7117         (sql-connect): New function.
7118         (sql--alt-buffer-part, sql--alt-if-not-empty)
7119         (sql-make-alternate-buffer-name): Improved alternative buffer name.
7121 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7123         * image-mode.el (image-bookmark-make-record): Do not set context
7124         in an image (Bug#6650).
7126 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
7128         * simple.el (select-active-region): New function.
7129         (push-mark-command, set-mark, activate-mark)
7130         (handle-shift-selection): Use it.
7131         (deactivate-mark): Don't check for size of region.
7133         * mouse.el (mouse-drag-track): Use select-active-region.
7135 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
7137         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
7138         "--dired" stronger.
7140 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
7142         * term/x-win.el (x-select-enable-primary): Change default to nil.
7143         (x-select-enable-clipboard): Add :version keyword.
7145         * mouse.el (mouse-drag-copy-region):
7146         * simple.el (select-active-regions): Likewise.
7148 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
7150         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
7151         (vc-coding-system-for-diff): Use it to decide whether to inherit
7152         from the file the EOL format for reading the diffs of that file.
7153         (Bug#4451)
7155 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
7157         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
7158         unibyte, so compressed attachments are not compressed again.
7160 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
7162         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
7163         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
7164         (tramp-find-shell): Simplify setting connection property.
7165         (tramp-get-ls-command): Make test for "--color=never" stronger.
7167 2010-07-15  Simon South  <ssouth@member.fsf.org>
7169         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
7170         blocks within record declarations (i.e. variant parts) correctly.
7172 2010-07-15  Simon South  <ssouth@member.fsf.org>
7174         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
7175         over literal tokens when parsing so newlines aren't "absorbed" by
7176         single-line comments.  Corrects the indentation of case blocks
7177         that have a comment on the first line.
7179 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
7181         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
7182         by Drew Adams (Bug#5504).
7184 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
7186         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
7187         now that Unicode is used (Bug#6594).
7189 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
7191         * term/x-win.el (x-select-enable-clipboard): Default to t.
7192         (x-initialize-window-system): Don't overwrite Paste menu item.
7194         * simple.el (select-active-regions): Default to t.
7195         (push-mark-command): Don't overwrite primary with empty string.
7197         * mouse.el: Bind mouse-2 to mouse-yank-primary.
7198         (mouse-drag-copy-region): Default to nil.
7200         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
7201         Cut/Copy/Paste menu bar items.
7203 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7205         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
7206         Patch applied by Karl Fogel.
7208         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
7209         and `bookmark-current-buffer' if they have been already set in
7210         another buffer (e.g gnus-art).
7212 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
7213             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7215         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
7217         * bookmark.el (bookmark-make-record-default): Allow unneeded
7218         information to be omitted from the record.
7220         Adjust declarations and calls:
7222         * info.el (bookmark-make-record-default): Adjust declaration.
7223         (Info-bookmark-make-record): Adjust call.
7225         * woman.el (bookmark-make-record-default): Adjust declaration.
7226         (woman-bookmark-make-record): Adjust call.
7228         * man.el (bookmark-make-record-default): Adjust declaration.
7229         (Man-bookmark-make-record): Adjust call.
7231         * image-mode.el (bookmark-make-record-default): Adjust declaration.
7233         * doc-view.el (bookmark-make-record-default): Adjust declaration.
7235 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
7237         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
7238         This is also from Thierry Volpiatto's patch in bug #6444.  However,
7239         because it was extraneous to the functional change in that patch,
7240         and causes a re-indendation, I am committing it separately.
7242 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7244         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
7245         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
7246         Patch applied by Karl Fogel (Bug#6444).
7248 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
7250         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
7252 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
7254         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
7255         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
7256         (ns-alternatives-map): Change S-tab binding to backtab
7257         (bug#6616).
7259         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
7260         under ns.
7262 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
7264         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
7265         (Bug#5806)
7267         * language/tv-util.el (tai-viet-re): Remove format.
7269 2010-07-12  Kenichi Handa  <handa@m17n.org>
7271         * language/hebrew.el: Remove no-byte-compile declaration.
7272         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
7273         composition-function-table for 3-character looking back.
7274         (hebrew-font-get-precomposed): New function.
7275         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
7277 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
7279         * mouse.el (mouse-drag-track): Handle select-active-regions
7280         (Bug#6612).
7282 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
7284         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
7285         empty argument to gvfs-copy.
7287 2010-07-10  Glenn Morris  <rgm@gnu.org>
7289         * calendar/calendar.el (calendar-week-end-day): New function.
7290         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
7291         Respect calendar-week-start-day.  (Bug#6606)
7292         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
7293         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
7294         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
7295         respect calendar-week-start-day.
7297 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
7299         * simple.el (use-region-p): Doc fix (Bug#6607).
7301 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
7303         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7304         Add regexps for cucumber and ruby.
7306 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
7308         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
7309         (epa-file-insert-file-contents): Hack to prevent
7310         find-file from opening empty buffer when decryption failed
7311         (bug#6568).
7313 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
7315         * textmodes/ispell.el (ispell-alternate-dictionary):
7316         Use file-readable-p.
7317         Return nil if no word-list is found at default locations.
7318         (ispell-complete-word-dict): Default to nil.
7319         (ispell-command-loop): Use 'word-list' when using lookup-words.
7320         (lookup-words): Use ispell-complete-word-dict or
7321         ispell-alternate-dictionary.  Check for word-list availability
7322         and handle errors if needed with better messages (Bug#6539).
7323         (ispell-complete-word): Use ispell-complete-word-dict or
7324         ispell-alternate-dictionary.
7326 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
7328         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
7329         builtins (BufferError, BytesWarning, WindowsError; callables
7330         bin, bytearray, bytes, format, memoryview, next, print; __package__).
7332 2010-07-07  Glenn Morris  <rgm@gnu.org>
7334         * play/zone.el (top-level): Do not require timer, tabify, or cl.
7335         (zone-shift-left): Ignore intangibility, and any errors from
7336         forward-char.
7337         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
7338         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
7339         deleting, and copying text properties.
7340         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
7341         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
7342         to point-max is hard.
7343         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
7344         (zone-fill-out-screen): Ignore intangibility.
7346 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
7348         * menu-bar.el (menu-bar-mode):
7349         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
7350         if it has been set.
7352         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
7353         word/line selection (Bug#6565).
7355 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
7357         * net/dbus.el (dbus-send-signal): Declare function.
7359 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
7361         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
7362         (dbus-register-property): New optional argument EMITS-SIGNAL.
7363         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
7365 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
7367         * mouse.el (mouse-drag-overlay): Variable deleted.
7368         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
7369         (mouse--remap-link-click-p): New function.
7370         (mouse-drag-track): Handle dragging by using temporary Transient
7371         Mark mode, instead of a special overlay.
7372         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
7373         mouse-show-mark.
7375         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
7376         deleted.
7378 2010-07-02  Juri Linkov  <juri@jurta.org>
7380         * autoinsert.el (auto-insert-alist): Fix readability
7381         by using dotted pair notation for lambda.
7383 2010-07-02  Juri Linkov  <juri@jurta.org>
7385         * faces.el (read-face-name): Rename arg `string-describing-default'
7386         to `default'.  Doc fix.  Display the default value in quotes
7387         in the prompt.  With empty input, return the `default' arg,
7388         unless the default value is a string (in which case return nil).
7389         (describe-face): Replace the string `default' arg of `read-face-name'
7390         with the symbol `default'.
7392 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
7394         * emulation/viper-cmd.el (viper-delete-backward-char)
7395         (viper-del-backward-char-in-insert)
7396         (viper-del-backward-char-in-replace, viper-change)
7397         (viper-backward-indent): Replace delete-backward-char with
7398         delete-char (Bug#6552).
7400 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
7402         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
7404 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
7406         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
7407         argument passed to frame-creation-function (Bug#5378).
7409         * faces.el (x-handle-named-frame-geometry)
7410         (x-handle-reverse-video, x-create-frame-with-faces)
7411         (face-set-after-frame-default, tty-create-frame-with-faces):
7412         Don't separately consult default-frame-alist.  It is now passed as the
7413         PARAMETER argument.
7415 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
7417         * startup.el (command-line): Don't call tool-bar-setup in a
7418         tty-only build.
7420 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
7422         * ruler-mode.el (ruler--save-header-line-format): New fun.
7423         (ruler-mode): Use it as a setter function, so as not to overwrite
7424         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
7426 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
7428         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
7429         (vc-root-diff, vc-print-root-log, vc-log-incoming)
7430         (vc-log-outgoing): Use it.
7431         (vc-diff-internal): Set diff-vc-backend.
7433         * vc/diff-mode.el (diff-vc-backend): New var.
7435 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
7437         * dynamic-setting.el (font-setting-change-default-font):
7438         Remove call to message.
7440 2010-06-28  Kenichi Handa  <handa@m17n.org>
7442         * international/quail.el (quail-insert-kbd-layout): Fix the
7443         showing of untranslated characters.
7445 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
7447         * simple.el (delete-active-region): New option.
7448         (delete-backward-char): Implement in Lisp.
7449         (delete-forward-char): New command.
7451         * mouse.el (mouse-region-delete-keys): Deleted.
7452         (mouse-show-mark): Simplify.
7454         * bindings.el (global-map): Bind delete and DEL, the former to
7455         delete-forward-char.
7457 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
7459         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
7460         (ruby-mode): Bind indent-line-function (Bug#5119).
7462 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
7464         * startup.el (command-line): Recognize "0" X resource value.
7466 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
7468         * startup.el (command-line): Use X resources to set the value of
7469         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
7471         * menu-bar.el (menu-bar-mode):
7472         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
7473         Set init-value to t.
7475         * frame.el (frame-notice-user-settings): Don't change
7476         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
7477         vice versa (Bug#2249).
7479 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
7481         * w32-fns.el (w32-convert-standard-filename): Doc fix.
7483 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
7485         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
7486         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
7488         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
7489         default directories are expanded (Bug#6143).
7491 2010-06-24  Juri Linkov  <juri@jurta.org>
7493         * minibuffer.el (completions-format): Change default from nil to
7494         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
7496 2010-06-24  Juri Linkov  <juri@jurta.org>
7498         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
7499         buffer-locally to lambda that re-runs the vc diff command.
7500         (Bug#6447)
7502 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
7504         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
7505         echo area is in use (Bug#3412).
7507 2010-06-22  Glenn Morris  <rgm@gnu.org>
7509         * textmodes/texinfmt.el (texinfo-format-region)
7510         (texinfo-raise-lower-sections, texinfo-format-separate-node)
7511         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
7512         (texinfo-format-option, texinfo-noindent):
7513         Use line-beginning-position and line-end-position.
7515         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
7516         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
7517         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
7518         utf-8 characters.
7520 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
7522         * play/zone.el (zone-fall-through-ws): Fix next-line ->
7523         forward-line fallout.
7525 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
7527         * mouse.el (mouse-appearance-menu): Add docstring.
7529         * help.el (describe-key): Print up-event using key-description.
7531 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
7533         * net/zeroconf.el (zeroconf-resolve-service)
7534         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
7535         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
7537 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
7539         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
7541 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
7543         Avoid displaying files with a nil state in vc-dir.
7544         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
7545         cases that cause insertion.
7546         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
7547         with a nil state.
7549 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
7551         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
7553 2010-06-29  Leo  <sdl.web@gmail.com>
7555         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
7557 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
7559         * generic-x.el (bat-generic-mode): Fix regexp for command line
7560         switches (Bug#5719).
7562 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
7564         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
7565         of nconc to avoid pure storage error (Bug#6239).
7567 2010-06-27  Christoph  <cschol2112@googlemail.com>  (tiny change)
7569         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
7570         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
7571         bindings of bookmark-automatically-show-annotations (Bug#6515).
7573 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
7575         * arc-mode.el (archive-zip-extract): Don't quote the file name on
7576         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
7578 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
7580         * comint.el (make-comint, make-comint-in-buffer): Mention return
7581         value in the docstrings.  (Bug#6498)
7583 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
7585         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
7586         since it is not present when using some non-default switches.
7588 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
7590         * simple.el (compose-mail): Fix doc string to refer to
7591         `compose-mail-user-agent-warnings', instead of to the
7592         nonexistent `compose-mail-check-user-agent'.
7594 2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>
7596         Fix an indentation bug:
7598         * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
7599         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
7600         of existing values.
7602         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
7603         (c-clear->-pair-props-if-match-before): now return t when they've
7604         cleared properties, nil otherwise.
7605         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
7606         by taking account of the existing value.
7608         * progmodes/cc-defs.el
7609         (c-clear-char-property-with-value-function): Fix this to clear the
7610         property rather than overwriting it with nil.
7612 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
7614         * emacs-lisp/package.el (package-print-package): Add link to
7615         package description via describe-package.
7616         (describe-package-1): List package requirements.  Add button to
7617         perform installation.
7618         (package-menu-describe-package): New command.
7620         * help-mode.el (help-package): New button type.
7622 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
7624         * emacs-lisp/package.el: Move package-list-packages binding to
7625         menu-bar.el.
7626         (describe-package, describe-package-1, package--dir): New funs.
7627         (package-activate-1): Use package--dir.
7629         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
7631         * help-mode.el (help-package-def): New button type.
7633         * menu-bar.el: Move package-list-packages binding here from
7634         package.el.
7636 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
7638         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
7640 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7642         * emacs-lisp/edebug.el (edebug-read-list):
7643         Phase out old-style backquotes.
7645 2010-06-17  Juri Linkov  <juri@jurta.org>
7647         * help-mode.el (help-mode): Set buffer-local variable
7648         revert-buffer-function to help-mode-revert-buffer.
7649         (help-mode-revert-buffer): New function.
7651         * info.el (Info-revert-find-node): Check for major-mode Info-mode
7652         before popping to "*info*" (like in other Info functions).
7653         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
7654         old-history-forward.  Pop to old-buffer-name or "*info*" to
7655         recreate the killed buffer.  Set Info-history-forward from
7656         old-history-forward.
7657         (Info-breadcrumbs-depth): Add :group and :version.
7659 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
7661         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
7663 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
7665         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
7666         for languages like Portuguese with pt_{BR,PT} and no plain pt.
7668 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
7670         * emacs-lisp/package.el (package-menu-mode-map):
7671         Move initialization into declaration.
7673         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
7675 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
7677         * emacs-lisp/package.el (package-archive-base): Point to
7678         elpa.gnu.org.
7679         (package-enable, package-load-list): New defcustoms.
7680         (package-user-dir, package-directory-list): Turn into defcustoms.
7681         Don't include package-user-dir in package-directory-list.
7682         (package--builtins-base): Don't include Emacs as a "package".
7683         (package-subdirectory-regexp): New var.
7684         (package-load-all-descriptors, package-compute-transaction)
7685         (package-download-transaction): Obey package-load-list.
7686         (package-activate-1): Rename from package-do-activate.
7687         (package-list-packages-internal): Check package-load-list.
7688         (package-load-descriptor, package-generate-autoloads)
7689         (package-unpack, package-unpack-single)
7690         (package--read-archive-file, package-delete):
7691         Use expand-file-name.
7693         * emacs-lisp/package-x.el: New file.  Package uploading
7694         functionality split out from package.el.
7696         * startup.el (command-line): Load packages after reading init file.
7698 2010-06-17  Tom Tromey  <tromey@redhat.com>
7700         * emacs-lisp/package.el: New file.
7702 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
7704         Fix vc-annotate for renamed files when using Git.
7705         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
7706         ls-files.  Doe not pass the object as a file name to cat-file, it
7707         is not a file name.
7708         (vc-git-annotate-command): Pass the file name using -- to avoid
7709         ambiguity with the revision.
7710         (vc-git-previous-revision): Pass a relative file name.
7712 2010-06-22  Glenn Morris  <rgm@gnu.org>
7714         * progmodes/js.el (js-mode-map): Use standard capitalization and
7715         ellipses for menu entries.
7717         * wid-edit.el (widget-complete): Doc fix.
7719 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
7721         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
7723 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
7725         Fix annotating other revisions for renamed files in vc-annotate.
7726         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
7727         VC backend.  Use it when non-nil.
7728         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
7729         (Bug#6487).
7731         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
7732         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7733         Do not pass the file name to the 'previous-revision call when we
7734         don't want a file diff.  (Bug#6489)
7736 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
7738         Fix finding revisions for renamed files in vc-annotate.
7739         * vc/vc.el (vc-find-revision): Add an optional argument for
7740         the VC backend.  Use it when non-nil.
7741         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
7742         backend to vc-find-revision.  (Bug#6487)
7744 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
7746         Fix reading file names in Git annotate buffers.
7747         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
7748         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
7750 2010-06-20  Alan Mackenzie  <acm@muc.de>
7752         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
7753         in file local variables, set it first.
7755 2010-06-19  Glenn Morris  <rgm@gnu.org>
7757         * descr-text.el (describe-char-unicode-data): Insert separating
7758         space when needed.  (Bug#6422)
7760         * progmodes/idlwave.el (idlwave-action-and-binding):
7761         Fix typo in 2009-12-03 change.  (Bug#6450)
7763 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7765         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
7766         handling for `lambda' (misunderstanding).
7768 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
7770         * calc/calc-poly.el (math-accum-factors): Make sure that
7771         constants aren't distributed after they are factored out.
7773 2010-06-16  Juri Linkov  <juri@jurta.org>
7775         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
7776         `list-colors-print'.  (Bug#6332)
7778         * subr.el (read-quoted-char): Fix up last change (bug#6290).
7780 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
7782         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
7783         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
7785         * font-lock.el (font-lock-major-mode): Rename from
7786         font-lock-mode-major-mode to distinguish it from
7787         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
7788         (font-lock-set-defaults):
7789         * font-core.el (font-lock-default-function): Adjust users.
7790         (font-lock-mode): Don't set it at all.
7792 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
7794         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
7796 2010-06-16  Glenn Morris  <rgm@gnu.org>
7798         * calendar/appt.el (appt-time-msg-list): Doc fix.
7799         (appt-check): Let-bind appt-warn-time.
7800         (appt-add): Make the 3rd argument optional.
7801         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
7802         Only add WARNTIME to the output list if non-nil.
7804 2010-06-16  Ivan Kanis  <apple@kanis.eu>
7806         * calendar/appt.el (appt-check): Let the 3rd element of
7807         appt-time-msg-list specify the warning time.
7808         (appt-add): Add new argument with the warning time.  (Bug#5176)
7810 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
7812         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
7813         older than version 1.6.  (Bug#6361)
7815 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
7817         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
7818         used by cl-do-arglist.  (Bug#6408)
7820 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
7822         * textmodes/ispell.el (ispell-dictionary-base-alist):
7823         Fix portuguese casechars/not-casechars for missing 'çÇ'.
7824         Suggested by Rolando Pereira (bug#6434).
7826 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
7828         * facemenu.el (list-colors-sort): Doc fix.
7830 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
7832         * progmodes/sql.el (sql-connect-mysql): Fix typo.
7834 2010-06-14  Juri Linkov  <juri@jurta.org>
7836         Add sort option `list-colors-sort'.  (Bug#6332)
7837         * facemenu.el (color-rgb-to-hsv): New function.
7838         (list-colors-sort): New defcustom.
7839         (list-colors-sort-key): New function.
7840         (list-colors-display): Doc fix.  Sort list according to the option
7841         `list-colors-sort'.
7842         (list-colors-print): Add HSV values to `help-echo' property of
7843         RGB strings.
7845 2010-06-14  Juri Linkov  <juri@jurta.org>
7847         * compare-w.el: Move to the "vc" subdirectory.
7849 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7851         * image-mode.el (image-mode-map): Remap left-char and right-char.
7853         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
7855 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
7857         * term/common-win.el (x-colors): Add all the color names defined
7858         in rgb.txt (Bug#6332).
7860         * facemenu.el (list-colors-print): Don't print extra names if it
7861         will overflow the window width.
7863         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
7864         change (Bug#6343).
7866 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
7868         * files.el (make-directory): Doc fix (bug#6396).
7870 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
7872         * net/tramp.el (tramp-remote-process-environment): Protect version
7873         string by apostroph.
7874         (tramp-shell-prompt-pattern): Do not use a shy group in case of
7875         XEmacs.
7876         (tramp-file-name-for-operation): Add `call-process-region'.
7877         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
7879         * net/tramp-compat.el (top): Do not autoload
7880         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
7881         only when `start-file-process' is not bound.
7882         (tramp-advice-file-expand-wildcards): Do not use
7883         `tramp-handle-file-remote-p'.
7884         (tramp-compat-make-temp-file): Handle the case, that
7885         `make-temp-file' has no third argument EXTENSION.
7887 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
7889         * makefile.w32-in (WINS_BASIC): Include new directory vc.
7891         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
7893 2010-06-11  Juri Linkov  <juri@jurta.org>
7895         * finder.el (finder-known-keywords): Add keyword "vc"
7896         for version control.
7898         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
7899         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
7900         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
7901         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
7903 2010-06-11  Juri Linkov  <juri@jurta.org>
7905         Move version control related files to the "vc" subdirectory.
7906         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
7907         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
7908         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
7909         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
7910         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
7911         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
7912         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
7913         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
7914         Move files to the "vc" subdirectory.
7916 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
7918         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
7919         (Bug#6367).
7921 2010-06-11  Stephen Eglen  <stephen@gnu.org>
7923         * shell.el: Bind `shell-resync-dirs' to M-RET.
7925 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
7927         * notifications.el: Move file from lisp/net, because it is
7928         supposed to talk locally to the user.
7930 2010-06-10  Julien Danjou  <julien@danjou.info>
7932         * net/notifications.el (notifications-on-action-signal)
7933         (notifications-on-closed-signal): Pass notification id as first
7934         argument to the callback functions.  Add docstrings.
7935         (notifications-notify): Fix docstring.
7937 2010-06-10  Glenn Morris  <rgm@gnu.org>
7939         * emacs-lisp/authors.el (authors-ignored-files)
7940         (authors-valid-file-names): Add some files.
7942 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7944         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
7945         merge conflict, giving preference to the emacs-23 version of the code.
7947 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7949         * emacs-lisp/advice.el (ad-compile-function):
7950         Define warning-suppress-types before we let-bind it (bug#6275).
7952         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
7953         declare it, make it buffer-local and permanent-local (bug#6324).
7954         (vc-resynch-window): Adjust name.
7955         * vc-hooks.el (vc-find-file-hook): Adjust name.
7957 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
7959         * net/notifications.el (notifications-notify): Fix docstring.
7961 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
7963         Update to Unicode 6.0.0 beta.
7964         * international/charprop.el: Update copyright.
7965         * international/mule-cmds.el (ucs-names): Update character ranges.
7966         * international/uni-bidi.el:
7967         * international/uni-category.el:
7968         * international/uni-combining.el:
7969         * international/uni-comment.el:
7970         * international/uni-decimal.el:
7971         * international/uni-decomposition.el:
7972         * international/uni-digit.el:
7973         * international/uni-lowercase.el:
7974         * international/uni-mirrored.el:
7975         * international/uni-name.el:
7976         * international/uni-numeric.el:
7977         * international/uni-old-name.el:
7978         * international/uni-titlecase.el:
7979         * international/uni-uppercase.el: Regenerate.
7981 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
7983         * emacs-lisp/smie.el (comment-string-strip): Declare function.
7984         (smie-precs-precedence-table): Fix typo in docstring.
7986         * vc-mtn.el (log-edit-extract-headers): Declare function.
7988         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
7990         * net/notifications.el (dbus-register-signal): Declare function.
7991         (notifications-notify): Fix typos and reflow docstring.
7993 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
7995         Improve VC create/retrieve tag/branch.
7996         * vc.el (vc-create-tag): Do not read the directory name for VCs
7997         with repository revision granularity.  Adjust the tag/branch
7998         prompt.  Reset VC properties.
7999         (vc-retrieve-tag): Do not read the directory name for VCs
8000         with repository revision granularity.  Reset VC properties.
8002 2010-06-09  Julien Danjou  <julien@danjou.info>
8004         * net/notifications.el: New file.
8006 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
8008         Add optional support for resetting VC properties.
8009         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
8010         call vc-file-clearprops when true.
8011         (vc-resynch-buffer): Add new optional argument, pass it down.
8012         (vc-resynch-buffers-in-directory): Likewise.
8014         Improve support for special markup in the VC commit message.
8015         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
8016         * vc-hg.el (vc-hg-checkin): Add support for Date:.
8017         * vc-git.el (vc-git-checkin):
8018         * vc-bzr.el (vc-bzr-checkin): Likewise.
8020 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8022         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
8023         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
8025 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
8027         * iimage.el: Remove images as soon as the underlying text is modified.
8028         (iimage-modification-hook): New function.
8029         (iimage-mode-buffer): Use it.
8031 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8033         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
8034         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
8035         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
8036         (smie-indent-keyword): Add handling of open-paren keywords.
8037         (smie-indent-comment-continue): Don't assume comment-continue.
8039 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
8041         * window.el (pop-to-buffer): Remove the conditional that
8042         compares new-window and old-window, so it will reselect
8043         the selected window unconditionally.
8044         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
8046 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8048         * emacs-lisp/smie.el (smie-indent-offset-after)
8049         (smie-indent-forward-token, smie-indent-backward-token): New functions.
8050         (smie-indent-after-keyword): Use them.
8051         (smie-indent-fixindent): Only applies to the indentation of the BOL.
8052         (smie-indent-keyword): Tweak the black magic.
8053         (smie-indent-comment-continue): Strip comment-continue before use.
8054         (smie-indent-functions): Indent comments before keywords.
8056 2010-06-06  Juri Linkov  <juri@jurta.org>
8058         * isearch.el (isearch-lazy-highlight-search): Fix looping
8059         by checking for empty match.  This syncs this loop with the
8060         similar loop in `isearch-search'.  (Bug#6362)
8062 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
8064         * net/dbus.el (dbus-register-method): Declare function.
8065         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
8066         (dbus-introspect): Doc fix.
8067         (dbus-event-bus-name, dbus-introspect-get-interface)
8068         (dbus-introspect-get-argument): Reflow docstrings.
8070 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
8072         vc-log-incoming/vc-log-outgoing fixes for Git.
8073         * vc-git.el (vc-git-log-view-mode): Fix font lock for
8074         incoming/outgoing logs.
8075         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
8076         instead of vc-git-compute-remote.
8077         (vc-git-compute-remote): Remove.
8079 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
8081         * term/common-win.el (x-colors): Add "dark green" and "dark
8082         turquoise" (Bug#6332).
8084 2010-06-04  Juri Linkov  <juri@jurta.org>
8086         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
8087         Instead of setting `replace' to t and replacing the same string
8088         with itself, don't do certain actions when
8089         kill-do-not-save-duplicates is non-nil and string is equal to car
8090         of kill-ring: don't call menu-bar-update-yank-menu, don't push
8091         interprogram-paste strings to kill-ring, and don't push the input
8092         argument `string' to kill-ring.
8093         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
8095 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
8097         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
8099 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
8101         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
8102         (tramp-gvfs-handler-mounted-unmounted)
8103         (tramp-gvfs-connection-mounted-p): Handle default-location.
8105         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
8106         move files to trash.
8108 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
8110         * international/mule-cmds.el (nonascii-insert-offset)
8111         (nonascii-translation-table): Add obsolescence information.
8113         * international/mule.el (make-translation-table-from-vector): Doc fix.
8115 2010-06-03  Glenn Morris  <rgm@gnu.org>
8117         * desktop.el (desktop-clear-preserve-buffers):
8118         Add "*Warnings*" buffer.  (Bug#6336)
8120 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
8122         vc-log-incoming/vc-log-outgoing improvements for Git.
8123         * vc-git.el (vc-git-log-outgoing): Use the same format as the
8124         short log.
8125         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
8127         Add bindings for vc-log-incoming and vc-log-outgoing.
8128         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
8129         and vc-log-outgoing.
8130         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
8131         and vc-log-outgoing.
8133 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
8135         * net/rcirc.el (rcirc-sort-nicknames): Remove.
8136         (rcirc-handler-366): Always sort nicknames.
8138 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
8140         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
8142 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
8144         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
8146 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8148         * net/rcirc.el (rcirc-sort-nicknames): Change default.
8149         (rcirc-sort-nicknames-join): Avoid setq.
8151 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
8153         * net/rcirc.el (rcirc-sort-nicknames): New custom.
8154         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
8155         (rcirc-handler-366): Use them.
8157 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8159         Split smie-indent-calculate into more manageable chunks.
8160         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
8161         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
8162         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
8163         (smie-indent-exps): Extract from smie-indent-calculate.
8164         (smie-indent-functions): New var.
8165         (smie-indent-functions): Use them.
8167 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8169         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
8170         (smie-indent-calculate): Simplify and cleanup.
8172 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
8174         * net/tramp-gvfs.el (top): Require url-util.
8175         (tramp-gvfs-mount-point): Remove.
8176         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
8177         New defuns.
8178         (with-tramp-dbus-call-method): Format trace message.
8179         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
8180         Implement backup call, when operation on local files fails.
8181         Use progress reporter.  Flush properties of changed files.
8182         (tramp-gvfs-handle-make-directory): Make more traces.
8183         (tramp-gvfs-url-file-name): Hexify file name in url.
8184         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
8185         into account for the resulting file name.
8186         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
8187         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
8188         (tramp-gvfs-handler-mounted-unmounted)
8189         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
8190         attribute "default_location".  Set "prefix" property.
8191         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
8192         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
8193         exists.  Raise an error, if not (due to a corresponding answer
8194         "no" in interactive questions, for example).
8196 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
8198         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
8200 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
8202         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
8203         right-*.  (Bug#6265)
8205 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
8207         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
8208         * vc-git.el (vc-git-compute-remote): New function.
8209         (vc-git-log-outgoing): Use it instead of hard coding a value.
8210         (vc-git-log-incoming): New function.
8212         Improve state updating for VC tag commands.
8213         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
8214         to update the state of all buffers in the directory.
8216         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
8218 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8220         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
8221         `file-directory-p' to the filename part rather than to the whole text.
8223 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8225         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
8227 2010-05-31  Drew Adams  <drew.adams@oracle.com>
8229         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
8231 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
8233         * subr.el (momentary-string-display): Just use read-event to read
8234         the exit event (Bug#6238).
8236 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
8238         * international/mule.el (define-coding-system): Doc fix (bug#6313).
8240 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
8242         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
8243         Suggested by Eli Zaretskii <eliz@gnu.org>.
8245 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8247         * minibuffer.el (completion-file-name-table): Don't return a boundary
8248         past the end of `string' (bug#6299).
8249         (completion--file-name-table): Delegate to completion-file-name-table
8250         for the `boundaries' case.
8252 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
8254         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
8255         movement commands.
8257         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
8258         `path-separator', but maintain compatibility with Emacs 20.2.
8260 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
8262         * server.el (server-process-filter): Receive parent-id argument
8263         from emacsclient.
8264         (server-create-window-system-frame): New arg.  Pass parent-id as
8265         frame parameter.
8267 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
8269         Bidi-sensitive word movement with arrow keys.
8270         * subr.el (right-arrow-command, left-arrow-command): Move to
8271         bindings.el.
8273         * bindings.el (right-char, left-char): Move from subr.el and
8274         rename from right-arrow-command and left-arrow-command.
8275         (right-word, left-word): New functions.
8276         (global-map) <right>: Bind to right-char.
8277         (global-map) <left>: Bind to left-char.
8278         (global-map) <C-right>: Bind to right-word.
8279         (global-map) <C-left>: Bind to left-word.
8281         * ls-lisp.el (ls-lisp-classify-file): New function.
8282         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
8283         (ls-lisp-classify): Call ls-lisp-classify-file.
8284         (insert-directory): Remove blanks from switches.
8286 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
8288         * ansi-color.el: Delete unused escape sequences (Bug#6085).
8289         (ansi-color-drop-regexp): New constant.
8290         (ansi-color-apply, ansi-color-filter-region)
8291         (ansi-color-apply-on-region): Delete unrecognized control sequences.
8292         (ansi-color-apply): Build string list before calling concat.
8294 2010-05-28  Juri Linkov  <juri@jurta.org>
8296         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8297         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
8298         (Bug#5270)
8300 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
8302         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
8303         to ignored backtrace functions.
8304         (with-progress-reporter): Expand docstring.
8305         (tramp-handle-delete-file): Implement TRASH argument.
8306         (tramp-get-remote-trash): New defun.
8308 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
8310         * net/tramp-compat.el (tramp-compat-delete-file):
8311         Use `symbol-value' for backward compatibility.
8313         * net/tramp.el (tramp-handle-make-symbolic-link)
8314         (tramp-handle-load)
8315         (tramp-do-copy-or-rename-file-via-buffer)
8316         (tramp-do-copy-or-rename-file-directly)
8317         (tramp-do-copy-or-rename-file-out-of-band)
8318         (tramp-handle-process-file, tramp-handle-call-process-region)
8319         (tramp-handle-shell-command, tramp-handle-file-local-copy)
8320         (tramp-handle-insert-file-contents, tramp-handle-write-region)
8321         (tramp-delete-temp-file-function): Use `delete-file' instead
8322         of `tramp-compat-delete-file'.
8324         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8325         (tramp-fish-handle-make-symbolic-link)
8326         (tramp-fish-handle-process-file): Use `delete-file' instead
8327         of `tramp-compat-delete-file'.
8329         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8330         Use `delete-file' instead of `tramp-compat-delete-file'.
8332         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8333         (tramp-gvfs-handle-write-region): Use `delete-file' instead of
8334         `tramp-compat-delete-file'.
8336         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
8337         Use `delete-file' instead of `tramp-compat-delete-file'.
8339         * net/tramp-smb.el (tramp-smb-handle-copy-file)
8340         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8341         (tramp-smb-handle-write-region): Use `delete-file' instead of
8342         `tramp-compat-delete-file'.
8343         (tramp-smb-handle-delete-directory): Use 'trash as arg.
8345 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
8347         * dired.el (dired-delete-file): New arg TRASH.
8348         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
8349         (dired-do-flagged-delete, dired-do-delete): Use trash.
8351         * speedbar.el (speedbar-item-delete): Allow trashing.
8353         * files.el (delete-directory): New arg TRASH.
8355         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
8356         (ange-ftp-rename-remote-to-remote)
8357         (ange-ftp-rename-local-to-remote)
8358         (ange-ftp-rename-remote-to-local, ange-ftp-load)
8359         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
8360         `delete-file'.
8361         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
8362         allow trashing.
8364         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
8365         handle new TRASH arg of `delete-file'.
8367         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
8368         (tramp-handle-make-symbolic-link, tramp-handle-load)
8369         (tramp-do-copy-or-rename-file-via-buffer)
8370         (tramp-do-copy-or-rename-file-directly)
8371         (tramp-do-copy-or-rename-file-out-of-band)
8372         (tramp-handle-process-file, tramp-handle-call-process-region)
8373         (tramp-handle-shell-command, tramp-handle-file-local-copy)
8374         (tramp-handle-insert-file-contents, tramp-handle-write-region)
8375         (tramp-delete-temp-file-function): Use null TRASH arg in
8376         tramp-compat-delete-file call.
8378         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8379         (tramp-fish-handle-delete-file)
8380         (tramp-fish-handle-make-symbolic-link)
8381         (tramp-fish-handle-process-file): Use null TRASH arg in
8382         `tramp-compat-delete-file' call.
8384         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
8385         arg in `tramp-compat-delete-file' call.
8387         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8388         (tramp-gvfs-handle-write-region): Use null TRASH arg in
8389         `tramp-compat-delete-file' call.
8391         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
8392         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
8393         `tramp-compat-delete-file' call.
8395         * net/tramp-smb.el (tramp-smb-handle-copy-file)
8396         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8397         (tramp-smb-handle-write-region): Use null TRASH arg in
8398         tramp-compat-delete-file call.
8399         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
8400         (tramp-smb-handle-delete-file): Rename arg.
8402         * diff.el (diff-sentinel):
8403         * epg.el (epg--make-temp-file, epg-decrypt-string)
8404         (epg-verify-string, epg-sign-string, epg-encrypt-string):
8405         * jka-compr.el (jka-compr-partial-uncompress)
8406         (jka-compr-call-process, jka-compr-write-region):
8407         * server.el (server-sentinel): Remove optional arg from
8408         delete-file, reverting 2010-05-03 change.
8410 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
8412         * progmodes/verilog-mode.el (verilog-type-font-keywords):
8413         Use font-lock-constant-face, not obsolete font-lock-reference-face.
8415 2010-05-27  Kenichi Handa  <handa@m17n.org>
8417         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
8418         element of GSTRING is nil.
8420 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8422         * emacs-lisp/smie.el (smie-forward-token-function)
8423         (smie-backward-token-function): New vars.
8424         (smie-backward-sexp, smie-forward-sexp)
8425         (smie-indent-hanging-p, smie-indent-calculate): Use them.
8426         (smie-default-backward-token): Rename from smie-backward-token and
8427         skip comments.
8428         (smie-default-forward-token): Rename from smie-forward-token and
8429         skip comments.
8430         (smie-next-sexp): Handle nil results from next-token.
8431         (smie-indent-calculate): Add a new case for special `fixindent' comments.
8433 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
8435         * progmodes/verilog-mode.el (verilog-type-font-keywords):
8436         Use font-lock-constant-face, not obsolete font-lock-reference-face.
8438 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
8440         * htmlfontify.el (hfy-face-resolve-face): New function.
8441         (hfy-face-to-style): Use it (Bug#6279).
8443 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8445         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
8446         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
8448 2010-05-26  Glenn Morris  <rgm@gnu.org>
8450         * emulation/edt.el (edt-load-keys): Use locate-library.
8452 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
8454         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
8455         (log-edit-changelog-entries): Doc fix.
8456         (log-edit-changelog-insert-entries): Args changed.
8457         Rename relative filenames in ChangeLog entries.  Delete tabs.
8458         (log-edit-insert-changelog-entries): Reorganize return value of
8459         `log-edit-changelog-entries' to pass filenames to
8460         log-edit-changelog-insert-entries.
8462 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8464         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
8465         `image-dired-dired-insert-marked-thumbs' to
8466         `image-dired-dired-toggle-marked-thumbs'.
8468         * image-dired.el: Require cl when compiling.
8469         (image-dired-dired-toggle-marked-thumbs): Rename from
8470         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
8471         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
8472         to 'no-dir.  Skip files whose names don't match
8473         `image-file-name-regexp'.  When file has a thumbnail overlay,
8474         delete it.  (Bug#5270)
8476 2010-05-25  Juri Linkov  <juri@jurta.org>
8478         * image-mode.el (image-mode): Add image-after-revert-hook to
8479         after-revert-hook.
8480         (image-after-revert-hook): New function.  (Bug#5669)
8482 2010-05-25  Juri Linkov  <juri@jurta.org>
8484         * image.el (image-animated-p): When delay between animated images
8485         is 0, set it to 10 (0.1 sec).  (Bug#6258)
8487 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
8489         * net/tramp.el (tramp-handle-insert-directory): Don't use
8490         `forward-word', its default syntax could be changed.
8492 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
8494         * net/tramp.el (tramp-progress-reporter-update): New defun.
8495         (with-progress-reporter): Use it.
8496         (tramp-process-actions):
8497         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
8498         Preserve current message, in order to let progress reporter continue
8499         afterwards.  (Bug#6257)
8501 2010-05-25  Glenn Morris  <rgm@gnu.org>
8503         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
8504         Add :version.
8506 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
8508         * net/rcirc.el (rcirc-default-user-name): Change to "user".
8509         (rcirc-default-full-name): Change to "unknown".
8510         (rcirc-user-name-history): Add variable.
8512 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
8513             Jonathan Rockway  <jon@jrock.us>
8515         * net/rcirc.el (rcirc-server-alist): Add :pass.
8516         (rcirc): When prompting for connection parameters, also prompt for
8517         username and password.
8518         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
8519         value to server when connecting.
8521 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8523         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
8524         (smie-merge-prec2s): Pass the tables as separate args.
8525         (smie-bnf-precedence-table): Adjust call accordingly.
8526         (smie-prec2-levels): Set levels at the end.
8528         Replace Lisp calls to delete-backward-char by delete-char.
8529         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
8530         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
8531         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
8532         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
8533         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
8534         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
8535         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
8536         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
8537         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
8538         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
8539         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
8540         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
8541         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
8542         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
8543         delete-backward-char by calls to delete-char.
8545 2010-05-25  Kenichi Handa  <handa@m17n.org>
8547         * language/hebrew.el (hebrew-shape-gstring): New function.
8548         Register it in composition-function-table for all Hebrew combining
8549         characters.
8551 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8553         * epa.el (epa--select-keys): Don't explicitly delete the window since
8554         that can fail (e.g. sole window in frame).  Use dedication instead.
8556 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
8558         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
8560 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
8562         * image.el (image-refresh): Define as an alias for image-flush.
8564         * image-mode.el (image-toggle-display-image): Caller changed.
8566 2010-05-21  Juri Linkov  <juri@jurta.org>
8568         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
8569         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
8570         whitespace, call wildcard-to-regexp on substrings and concat them
8571         with "\\|".  (Bug#6114)
8573 2010-05-21  Alan Mackenzie  <acm@muc.de>
8575         * progmodes/cc-engine.el (c-parse-state-get-strategy):
8576         Replace parameter `here' with `here-' and `here-plus', which sandwich
8577         any pertinent CPP construct.
8578         (c-remove-stale-state-cache-backwards): Fix a bug which happens
8579         when doing (c-parse-state) in a CPP construct: Exclude any "new"
8580         CPP construct from taking part in the scanning.
8582 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
8584         * net/tramp.el (tramp-do-copy-or-rename-file)
8585         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
8586         Tune `with-progress-reporter' messages.
8587         (tramp-handle-vc-registered):
8588         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
8589         (tramp-fish-handle-insert-file-contents)
8590         (tramp-fish-maybe-open-connection):
8591         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8592         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
8593         (tramp-imap-handle-insert-file-contents)
8594         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
8596 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
8598         * add-log.el (change-log-font-lock-keywords):
8599         Highlight all authors in multi-author entries.
8601         * smerge-mode.el (smerge-refine-ignore-whitespace)
8602         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
8603         Fix typos in docstrings.
8604         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
8606 2010-05-21  Glenn Morris  <rgm@gnu.org>
8608         * progmodes/fortran.el (fortran-mode):
8609         * progmodes/f90.el (f90-mode): Derive from prog-mode.
8611         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
8612         having a relative path in src/Makefile.in.
8614 2010-05-20  Kevin Ryde  <user42@zip.com.au>
8616         * help-mode.el (help-make-xrefs): For Info node links turn
8617         newlines into spaces.  Link node names with newlines are matched
8618         by help-xref-info-regexp and buttonized, this change ensures they
8619         can be followed successfully with RET.  (Bug#6206)
8621 2010-05-20  Juri Linkov  <juri@jurta.org>
8623         * locate.el (locate): Use pop-to-buffer instead of
8624         switch-to-buffer-other-window.  (Bug#6204)
8626 2010-05-20  Juri Linkov  <juri@jurta.org>
8628         * replace.el (replace-highlight): Fix lazy-highlighting
8629         for `M-s w str M-% str RET'.
8631 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
8633         * isearch.el (isearch-yank-word-or-char): Pull next subword
8634         when `subword-mode' is activated.  (Bug#6220)
8636 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
8638         * isearch.el (isearch-update-post-hook): New hook.
8639         (isearch-update): Use the new hook.  (Bug#6225)
8641 2010-05-20  Juri Linkov  <juri@jurta.org>
8643         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
8644         [f1], [help], and (char-to-string help-char) instead of "\C-h".
8645         (Bug#6222)
8647 2010-05-20  Juri Linkov  <juri@jurta.org>
8649         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
8650         (Bug#6223)
8652 2010-05-20  Juri Linkov  <juri@jurta.org>
8654         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
8655         FILE-NAME to read from the minibuffer when called interactively
8656         with prefix argument instead of using buffer-file-name.
8657         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
8659         * dired.el: Update autoloads.
8661 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
8663         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
8664         nxml-finish-element, for consistency with SGML mode.
8666         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
8667         octave-close-block.
8669 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
8671         * composite.el: Require cl when compiling.
8672         (reference-point-alist, compose-gstring-for-graphic)
8673         (compose-gstring-for-terminal): Fix typos in docstrings.
8675 2010-05-19  Juri Linkov  <juri@jurta.org>
8677         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
8678         set-window-parameter.
8680 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
8682         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
8683         where appropriate.
8684         (tramp-maybe-open-connection): Use it.
8686 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
8688         * simple.el (move-end-of-line): Make sure we are at line beginning
8689         before backing up to end of previous line.
8691 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
8693         * password-cache.el (password-cache-remove): Fix docstring.
8695         * net/secrets.el: Autoload the widget functions.
8696         (secrets-search-items, secrets-create-item)
8697         (secrets-get-attributes, secrets-expand-item): Attributes will be
8698         stored on the password database without leading ":", as all other
8699         clients do as well.
8700         (secrets-mode): Fix docstring.
8701         (secrets-show-secrets): Provide it as autoloaded command only when
8702         D-Bus support is available.  Check existence of Secret Service API.
8704 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8706         * indent.el (indent-region): Deactivate region (bug#6200).
8708 2010-05-19  Glenn Morris  <rgm@gnu.org>
8710         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
8712 2010-05-19  Kenichi Handa  <handa@m17n.org>
8714         * composite.el: Register compose-gstring-for-graphic in
8715         composition-function-table only for combining characters (Mn, Mc, Me).
8717 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
8719         * calc/calc-trail.el (calc-trail-isearch-forward)
8720         (calc-trail-isearch-backward): Ensure that the new window
8721         point is set correctly.
8723 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8725         * subr.el (read-quoted-char): Resolve modifiers after key
8726         remapping (bug#6212).
8728 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
8730         Add visualization code for secrets.
8731         * net/secrets.el (secrets-mode): New major mode.
8732         (secrets-show-secrets, secrets-show-collections)
8733         (secrets-expand-collection, secrets-expand-item)
8734         (secrets-tree-widget-after-toggle-function)
8735         (secrets-tree-widget-show-password): New defuns.
8737 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8739         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
8740         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
8741         handled in smie-next-sexp.
8742         (smie-indent-calculate): Provide a starting indentation (so the
8743         recursion is well-founded ;-).
8745         Fix handling of non-associative equal levels.
8746         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
8747         when it's not needed.
8748         (smie-op-left, smie-op-right): New functions.
8749         (smie-next-sexp): New function, extracted from smie-backward-sexp.
8750         Better handle equal levels to distinguish the associative case from
8751         the "multi-keyword construct" case.
8752         (smie-backward-sexp, smie-forward-sexp): Use it.
8754 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
8756         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
8758         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
8759         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
8761 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8763         Provide a simple generic indentation engine and use it for Prolog.
8764         * emacs-lisp/smie.el: New file.
8765         * progmodes/prolog.el (prolog-smie-op-levels)
8766         (prolog-smie-indent-rules): New var.
8767         (prolog-mode-variables): Use them to configure SMIE.
8768         (prolog-indent-line, prolog-indent-level): Remove.
8770 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
8772         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
8773         order before computing the averages.
8775 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
8777         * calc/calc-vec.el (calc-histogram):
8778         (calcFunc-histogram): Allow vectors as inputs.
8779         (math-vector-avg): New function.
8781         * calc/calc-ext.el (math-group-float): Have the number of digits
8782         being grouped depend on the radix (Bug#6189).
8784 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
8786         * version.el (emacs-copyright, emacs-version): Don't define here,
8787         now that emacs.c defines it.
8789 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
8791         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
8792         "Describe Language Environment" menu item.
8794         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
8796         Bidi-sensitive movement with arrow keys.
8797         * subr.el (right-arrow-command, left-arrow-command): New functions.
8799         * bindings.el (global-map): Bind them to right and left arrow keys.
8801         Don't override standard definition of convert-standard-filename.
8802         * files.el (convert-standard-filename):
8803         Call w32-convert-standard-filename and dos-convert-standard-filename on
8804         the corresponding systems.
8806         * w32-fns.el (w32-convert-standard-filename): Rename from
8807         convert-standard-filename.  Doc fix.
8809         * dos-fns.el (dos-convert-standard-filename): Doc fix.
8810         (convert-standard-filename): Don't defalias.
8811         (register-name-alist, make-register, register-value)
8812         (set-register-value, intdos): Obsolete aliases for the
8813         corresponding dos-* functions and variables.
8814         (dos-intdos): Add a doc string.
8816 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
8818         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
8819         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
8820         (math-compose-tex-func):
8821         * calc/calccomp.el (math-compose-expr):
8822         * calc/calc-ext.el (math-format-flat-expr-fancy):
8823         * calc/calc-store.el (calc-read-var-name):
8824         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
8826         * calc/calc.el (var-π, var-φ, var-γ): New variables.
8827         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
8828         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
8829         (math-standard-units): Add units.
8831 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8833         * progmodes/asm-mode.el (asm-mode):
8834         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
8836         * pcomplete.el (pcomplete-completions-at-point): New function,
8837         extracted from pcomplete-std-complete.
8838         (pcomplete-std-complete): Use it.
8840 2010-05-15  Glenn Morris  <rgm@gnu.org>
8842         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8843         Remove references to CVS, RCS and Old directories.
8845 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
8847         * calc/calc-bin.el (math-format-twos-complement): Group digits when
8848         appropriate.
8850 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8852         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
8853         (sh-mode-syntax-table): Give it a default value instead.
8854         (sh-header-marker): Make buffer-local.
8855         (sh-mode): Move make-local-variable to the corresponding setq.
8856         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
8857         Use complete-with-action.
8859         * simple.el (prog-mode): New (abstract) major mode.
8860         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
8861         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
8863 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
8865         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
8866         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
8867         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
8868         (sql-make-alternate-buffer-name, sql-placeholders-filter)
8869         (sql-escape-newlines-filter, sql-input-sender)
8870         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
8872 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
8874         Add TeX open-block and close-block keybindings to SGML, and vice versa.
8876         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
8877         latex-open-block and C-c / to latex-close-block.
8879         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
8880         and C-c C-e to sgml-close-tag.
8882 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
8884         * net/tramp.el (with-progress-reporter): Create reporter object
8885         only when the message would be displayed.  Handle nested calls.
8886         (tramp-handle-load, tramp-handle-file-local-copy)
8887         (tramp-handle-insert-file-contents, tramp-handle-write-region)
8888         (tramp-maybe-send-script, tramp-find-shell):
8889         Use `with-progress-reporter'.
8890         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
8891         Fix message text.
8893         * net/tramp-smb.el (tramp-smb-handle-copy-file)
8894         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8895         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
8896         Use `with-progress-reporter'.
8898 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
8900         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
8901         process everytime when spellchecking from the minibuffer (bug#6143).
8903 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8905         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
8907         * dos-fns.el: Add "dos-" prefix for namespace control.
8908         (convert-standard-filename): Define as alias for
8909         dos-convert-standard-filename but only if applicable.
8911 2010-05-12  Alan Mackenzie  <acm@muc.de>
8913         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
8914         Push the mark at the start of these functions when appropriate.
8916 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8918         * minibuffer.el (completion-cycle-threshold): New custom var.
8919         (completion--do-completion): Use it.
8920         (minibuffer-complete): Use cycling if appropriate.
8922 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
8924         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
8925         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
8927 2010-05-11  Juri Linkov  <juri@jurta.org>
8929         * scroll-all.el (scroll-all-check-to-scroll):
8930         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
8932 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8934         * iimage.el (iimage-mode-map): Move initialization into declaration.
8935         (iimage-mode-buffer): Use with-silent-modifications.
8936         Simplify calling convention.  Adjust callers.
8937         (iimage-mode): Don't run hook redundantly.
8939         * minibuffer.el (completion-pcm--pattern->regex):
8940         Fix last change (bug#6160).
8942 2010-05-10  Juri Linkov  <juri@jurta.org>
8944         Remove nodes visited during Isearch from the Info history.
8945         * info.el (Info-isearch-initial-history)
8946         (Info-isearch-initial-history-list): New variables.
8947         (Info-isearch-start): Record initial values of
8948         Info-isearch-initial-history and Info-isearch-initial-history-list.
8949         Add Info-isearch-end to isearch-mode-end-hook.
8950         (Info-isearch-end): New function.
8952 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
8954         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
8955         format string, in order to work around a bug in pdksh.
8956         Reported by Gilles Pion <gpion@lfdj.com>.
8957         (tramp-handle-verify-visited-file-modtime): Do not send a command
8958         when the connection is not established.
8959         (tramp-handle-set-file-times): Simplify the check for utc.
8961 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
8963         Fix use of `filter-buffer-substring' (rework previous change).
8964         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
8965         (cua-repeat-replace-region):
8966         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
8967         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
8968         (cua-cut-region-to-global-mark): Use it.
8970 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
8972         * progmodes/sql.el: Version 2.1.
8973         (sql-product-alist): Redesign structure of product info.
8974         (sql-product, sql-user, sql-server, sql-database): Safe variables.
8975         (sql-port, sql-port-history): New variables.
8976         (sql-interactive-product): New variable.
8977         (sql-send-terminator): New variable.
8978         (sql-imenu-generic-expression): Add "Types" imenu entry.
8979         (sql-oracle-login-params, sql-sqlite-login-params)
8980         (sql-mysql-login-params, sql-solid-login-params)
8981         (sql-sybase-login-params, sql-informix-login-params)
8982         (sql-ingres-login-params, sql-ms-login-params)
8983         (sql-postgres-login-params, sql-interbase-login-params)
8984         (sql-db2-login-params, sql-linter-login-params)
8985         (sql-oracle-scan-on): New variables.
8986         (sql-mode-map): Add C-c C-i to start interactive mode.
8987         (sql-mode-menu): Update existing menu entries.
8988         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
8989         (sql-mode-oracle-font-lock-keywords)
8990         (sql-mode-postgres-font-lock-keywords)
8991         (sql-mode-ms-font-lock-keywords)
8992         (sql-mode-sybase-font-lock-keywords)
8993         (sql-mode-informix-font-lock-keywords)
8994         (sql-mode-interbase-font-lock-keywords)
8995         (sql-mode-ingres-font-lock-keywords)
8996         (sql-mode-solid-font-lock-keywords)
8997         (sql-mode-mysql-font-lock-keywords)
8998         (sql-mode-sqlite-font-lock-keywords)
8999         (sql-mode-db2-font-lock-keywords)
9000         (sql-mode-linter-font-lock-keywords): Update initialization to
9001         reduce run-time complexity.
9002         (sql-add-product, sql-del-product): New functions.
9003         (sql-set-product-feature, sql-get-product-feature): New functions.
9004         (sql-product-font-lock): Update product API.
9005         (sql-add-product-keywords): New function.
9006         (sql-highlight-product): Update product API.
9007         (sql-help-list-products): New function.
9008         (sql-help): Dynamically lists free and non-free products.
9009         (sql-get-login): Correct bug in handling history and added
9010         prompt for port.
9011         (sql-copy-column): Copy without properties.
9012         (sqli-input-sender): Apply filters to SQLi input.
9013         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
9014         Implement as a filter.
9015         (sql-escape-newlines-filter): Implement as a filter.
9016         (sql-remove-tabs-filter): New function.
9017         (sql-send-magic-terminator): New function.
9018         (sql-send-string): Implement magic terminator.
9019         (sql-send-region): Use `sql-send-string'.
9020         (sql-interactive-mode): Use product API.
9021         (sql-product-interactive): Use product API.
9022         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
9023         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
9024         (sql-db2, sql-linter): Use `sql-product-interactive'.
9025         (sql-connect): New function.
9026         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
9027         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
9028         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
9029         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
9030         Use `sql-connect'.
9032 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9034         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
9035         New custom variable.
9036         (completion-pcm--string->pattern): Use it.
9037         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
9038         Make it handle any symbol as `any'.
9039         (completion-pcm--merge-completions): Extract common suffix for the new
9040         `prefix' symbol as well.
9041         (completion-substring--all-completions): Use the new `prefix' symbol.
9043 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
9045         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
9046         not bound.
9047         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
9048         (tramp-compat-funcall): New defmacro.
9049         (tramp-compat-line-beginning-position)
9050         (tramp-compat-line-end-position)
9051         (tramp-compat-temporary-file-directory)
9052         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
9053         (tramp-compat-copy-file, tramp-compat-copy-directory)
9054         (tramp-compat-delete-file, tramp-compat-delete-directory)
9055         (tramp-compat-number-sequence, tramp-compat-process-running-p)
9056         * net/tramp.el (top, with-progress-reporter)
9057         (tramp-rfn-eshadow-setup-minibuffer)
9058         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
9059         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
9060         (tramp-completion-mode-p, tramp-check-for-regexp)
9061         (tramp-open-connection-setup-interactive-shell)
9062         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
9063         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
9064         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
9065         * net/tramp-cmds.el (tramp-cleanup-all-connections)
9066         (tramp-reporter-dump-variable, tramp-load-report-modules)
9067         (tramp-append-tramp-buffers)
9068         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
9070         * net/tramp-imap.el (top): Autoload `epg-make-context'.
9072 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9074         * progmodes/compile.el (compilation-buffer-modtime): Rename from
9075         buffer-modtime.  Adjust users.
9077 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
9079         * international/mule.el (auto-coding-alist): Only purecopy
9080         car of each item, not the whole list (Bug#6083).
9082 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
9084         * progmodes/js.el (js-mode): Make paragraph variables local before
9085         calling c-setup-paragraph-variables (Bug#6071).
9087 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
9089         * composite.el (compose-region, reference-point-alist): Fix typos
9090         in the doc strings.
9092 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
9094         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
9095         gnuplot's "set" command.
9097 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
9099         * abbrev.el (last-abbrev-text): Doc fix.
9100         (abbrev-prefix-mark): Don't escape parenthesis.
9102 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
9104         * composite.el (find-composition): Doc fix.
9106 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
9108         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
9109         (sql-oracle-program, sql-sqlite-options)
9110         (sql-query-placeholders-and-send): Doc fixes.
9111         (sql-set-product, sql-interactive-mode): Reflow docstrings.
9112         (sql-imenu-generic-expression, sql-buffer)
9113         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
9114         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
9115         (sql-mode-sybase-font-lock-keywords)
9116         (sql-mode-informix-font-lock-keywords)
9117         (sql-mode-interbase-font-lock-keywords)
9118         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
9119         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
9120         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
9121         (sql-product-feature, sql-highlight-product)
9122         (comint-line-beginning-position, sql-rename-buffer)
9123         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
9124         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
9125         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
9126         Fix typos in docstrings.
9128 2010-05-08  Juri Linkov  <juri@jurta.org>
9130         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
9131         property instead of `invisible' and `after-string' (bug#5998).
9133 2010-05-08  Juri Linkov  <juri@jurta.org>
9135         * image-mode.el (image-mode-as-text): Fix typo in docstring.
9137 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
9139         * filecache.el (file-cache-add-directory-list)
9140         (file-cache-add-directory-recursively): Fix typos in docstrings.
9142 2010-05-08  Kenichi Handa  <handa@m17n.org>
9144         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
9145         (gujarati-composable-pattern): Fix typo.
9147 2010-05-08  Kenichi Handa  <handa@m17n.org>
9149         * language/indian.el (oriya-composable-pattern)
9150         (tamil-composable-pattern, malayalam-composable-pattern):
9151         Add two-part vowels to "v" (vowel sign).
9153 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
9155         * files.el (copy-directory): Handle symlinks (Bug#5982).
9157 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
9159         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
9160         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
9161         (Bug#5846).
9163 2010-05-08  Glenn Morris  <rgm@gnu.org>
9165         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
9167         * minibuffer.el (completion-at-point): Doc fix.
9169 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9171         * electric.el (Electric-command-loop): Minor tweak.
9173         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
9174         better with dedicated windows.
9176 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
9178         * Version 23.2 released.
9180 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
9181             Stefan Monnier  <monnier@iro.umontreal.ca>
9183         Highlight vendor specific properties.
9184         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
9185         (css-proprietary-property): New face.
9186         (css-font-lock-keywords): Use them.
9188 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
9190         * cus-start.el (all): Add native condition for tool-bar-* symbols.
9192 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9194         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
9195         * files.el (auto-mode-alist): Remove redundant entries.
9197         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
9198         * simple.el (auto-save-mode): Move from files.el.
9199         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
9201 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
9203         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
9205 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
9207         * mail/binhex.el (binhex-decode-region-internal)
9208         * mail/uudecode.el (uudecode-decode-region-internal)
9209         * net/dns.el (dns-read-string-name, dns-write, dns-read)
9210         (dns-read-type, dns-query)
9211         * pgg-parse.el (pgg-parse-armor)
9212         * pgg.el (pgg-verify-region)
9213         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
9214         XEmacs.
9216         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
9218 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
9220         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
9222         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
9223         * emulation/cua-base.el (cua-repeat-replace-region):
9224         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9225         (cua-cut-region-to-global-mark):
9226         Remove text properties with `set-text-properties'.
9228 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
9230         * net/tramp.el (top, with-progress-reporter):
9231         Use `symbol-function' inside `funcall'.
9233         * net/tramp-compat.el (tramp-compat-file-attributes)
9234         (tramp-compat-delete-file, tramp-compat-delete-directory):
9235         Handle only `wrong-number-of-arguments' error.
9237         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
9238         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
9239         inside `funcall'.
9241 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9243         * minibuffer.el (completion--sreverse, completion--common-suffix):
9244         New functions.
9245         (completion-pcm--merge-completions): Extract common suffix when safe.
9247         * emacs-lisp/easy-mmode.el (define-minor-mode):
9248         Make :variable more flexible.
9249         * files.el (auto-save-mode): Use it to define using define-minor-mode.
9251 2010-05-05  Juri Linkov  <juri@jurta.org>
9253         Add `slow' and `history' tags to the desktop data.
9255         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
9256         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
9257         (Info-finder-find-node): Require `finder.el' to be able
9258         to restore node from the desktop.
9259         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
9260         data `Info-history' and `slow' tag in the assoc list.
9261         (Info-restore-desktop-buffer): Don't restore nodes with the
9262         `slow' tag.  Restore `Info-history'.
9264 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
9266         Add FORCE argument to `delete-file'.
9268         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
9269         forcing to delete the temporary file.
9270         (ange-ftp-delete-file): Add FORCE arg.
9271         (ange-ftp-rename-remote-to-remote)
9272         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
9273         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
9274         Force file deletion.
9276         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
9278         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
9279         (tramp-handle-make-symbolic-link, tramp-handle-load)
9280         (tramp-do-copy-or-rename-file-via-buffer)
9281         (tramp-do-copy-or-rename-file-directly)
9282         (tramp-do-copy-or-rename-file-out-of-band)
9283         (tramp-handle-process-file, tramp-handle-call-process-region)
9284         (tramp-handle-shell-command, tramp-handle-file-local-copy)
9285         (tramp-handle-insert-file-contents, tramp-handle-write-region)
9286         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
9288         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
9289         (tramp-fish-handle-make-symbolic-link)
9290         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
9292         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9293         Use `tramp-compat-delete-file'.
9295         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
9296         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
9298         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
9299         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
9301         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
9302         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
9303         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
9304         Use `tramp-compat-delete-file'.
9306 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9308         Minor cleanups.
9309         * subr.el (add-minor-mode): Use push.
9310         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
9311         * emulation/edt.el (edt-select-mode): Simplify.
9313         Use define-minor-mode in more cases.
9314         * term/tvi970.el (tvi970-set-keypad-mode):
9315         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9316         (normal-erase-is-backspace-mode):
9317         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
9318         (set-scroll-bar-mode-1): (Re)move to its sole caller.
9319         (get-scroll-bar-mode): New function.
9320         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
9322         Use define-minor-mode for less obvious cases.
9323         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
9324         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
9325         * international/iso-ascii.el (iso-ascii-mode):
9326         * frame.el (auto-raise-mode, auto-lower-mode):
9327         * composite.el (global-auto-composition-mode): Use define-minor-mode.
9329 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
9331         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
9332         in order to see error messages for failed logins.
9334 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
9336         * diff.el (diff-sentinel):
9338         * epg.el (epg--make-temp-file, epg-decrypt-string)
9339         (epg-verify-string, epg-sign-string, epg-encrypt-string):
9341         * jka-compr.el (jka-compr-partial-uncompress)
9342         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
9344         * server.el (server-sentinel): Use delete-file's new FORCE arg
9345         (Bug#6070).
9347 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9349         Use define-minor-mode where applicable.
9350         * view.el (view-mode):
9351         * type-break.el (type-break-query-mode)
9352         (type-break-mode-line-message-mode):
9353         * textmodes/reftex.el (reftex-mode):
9354         * term/vt100.el (vt100-wide-mode):
9355         * tar-mode.el (tar-subfile-mode):
9356         * savehist.el (savehist-mode):
9357         * ibuf-ext.el (ibuffer-auto-mode):
9358         * composite.el (auto-composition-mode):
9359         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9360         Use define-minor-mode.
9361         (vhdl-mode): Use static mode-line format.
9362         (vhdl-mode-line-update): Delete.
9363         (vhdl-create-mode-menu, vhdl-activate-customizations)
9364         (vhdl-hs-minor-mode): Don't bother calling it.
9366 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9368         * simple.el (with-wrapper-hook): Move.
9369         (buffer-substring-filters): Mark obsolete.
9370         (filter-buffer-substring-functions): New variable.
9371         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
9373 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
9374             Michael Albinus  <michael.albinus@gmx.de>
9376         Implement compression for inline methods.
9378         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
9379         (tramp-copy-size-limit): Allow also nil.
9380         (tramp-inline-compress-commands): New defconst.
9381         (tramp-find-inline-compress, tramp-get-inline-compress)
9382         (tramp-get-inline-coding): New defuns.
9383         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
9384         replaced by `tramp-get-inline-coding'.
9385         (tramp-handle-file-local-copy, tramp-handle-write-region)
9386         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
9388 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9390         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
9391         Remove unused functions.
9393         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
9394         Set find-tag-default-function as a variable rather than a property.
9396         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
9397         * progmodes/etags.el (tags-completion-at-point-function):
9398         Remove left over interactive spec.  Add autoloading stub.
9399         (complete-tag): Use tags-completion-at-point-function.
9401 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
9403         * minibuffer.el (tags-completion-at-point-function): Fix return value.
9405 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
9407         * ido.el (ido-init-completion-maps): Remove C-v binding.
9408         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
9410 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
9412         * minibuffer.el (tags-completion-at-point-function): New function.
9413         (completion-at-point-functions): Use it.
9415         * progmodes/etags.el (complete-tag): Revert last change.
9417 2010-04-29  Alan Mackenzie  <acm@muc.de>
9419         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
9420         off-by-one error (in end of macro position).
9422 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
9424         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
9425         firefox is absent.  Don't autoload.
9426         (browse-url-galeon-program): Don't autoload.
9428 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
9430         * bindings.el (complete-symbol): Move into minibuffer.el.
9432         * minibuffer.el (complete-tag): Move from etags.el.  If tags
9433         completion cannot be performed, return nil instead of signalling
9434         an error.
9435         (completion-at-point): Make it an alias for complete-symbol.
9436         (complete-symbol): Move from bindings.el, and replace with the
9437         body of completion-at-point.
9439         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
9441 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
9443         * net/tramp.el (tramp-remote-selinux-p): New defun.
9444         (tramp-handle-file-selinux-context)
9445         (tramp-handle-set-file-selinux-context): Use it.
9447 2010-04-28  Sam Steingold  <sds@gnu.org>
9449         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9450         `safe-local-variable' if the value is a string or a symbol with
9451         the property `bug-reference-url-format'.
9453 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
9455         * progmodes/bug-reference.el (bug-reference-url-format):
9456         Revert 2010-04-27 change due to security risk.
9458 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9460         Make it possible to locally disable a globally enabled mode.
9461         * simple.el (fundamental-mode): Run fundamental-mode-hook.
9462         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
9463         rather than kill-all-local-variables so it runs fundamental-mode-hook.
9464         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9465         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
9466         that subsequent hooks get a chance to disable it.
9468 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9470         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9471         Avoid re-enabling a minor mode after the user turned the minor mode
9472         off if MODE-enable-in-buffers is run twice (typically once from
9473         fundamental-mode's after-change-major-mode-hook and a second time from
9474         run-mode-hook's own after-change-major-mode-hook).
9476         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
9478 2010-04-27  Sam Steingold  <sds@gnu.org>
9480         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9481         `safe-local-variable' if the value is a string or a function, as
9482         documented and implemented on 2010-04-02.
9484 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
9486         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
9487         when method is 'kill.
9489 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
9491         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
9492         condition in default directory check.
9493         (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
9494         Kill ispell process when killing its associated buffer.
9496 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
9498         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
9499         but we aren't using it.
9501 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
9503         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
9504         checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
9506 2010-04-24  Glenn Morris  <rgm@gnu.org>
9508         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
9509         Ignore VCS-ignore files, and deleted nextstep preferences files.
9510         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
9511         (authors-ambiguous-files): New list.
9512         (authors-valid-file-names): Add some deleted files.
9513         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
9514         (authors-disambiguate-file-name): New function.  (Bug#5501)
9515         (authors-canonical-file-name): Doc fix.
9516         Don't warn about obsolete files.
9517         (authors-canonical-file-name, authors-scan-el):
9518         Use authors-disambiguate-file-name.
9520         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9521         Add autoload cookies.
9522         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
9523         (generated-autoload-file): Set file-local value to "htmlfontify.el".
9524         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
9525         They have definitions / compiler macros in cl.el.
9526         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9527         Replace manual autoloads with generated ones.
9528         (htmlfontify-unload-rgb-file): Remove autoload.
9529         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
9531 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9533         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
9534         (byte-compile-setq-default): Optimize for the
9535         single-var case and don't call byte-compile-form in this case to avoid
9536         inf-loop with byte-compile-set-default.
9538         * progmodes/compile.el (compilation-start): Abbreviate default directory.
9540 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
9542         Implement SELINUX backends.
9544         * net/tramp.el (tramp-file-name-handler-alist):
9545         Add `file-selinux-context' and `set-file-selinux-context'.
9546         (tramp-handle-file-selinux-context)
9547         (tramp-handle-set-file-selinux-context): New defuns.
9548         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
9549         Handle PRESERVE-SELINUX-CONTEXT.
9551         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9552         Add `file-selinux-context' and `set-file-selinux-context'.
9553         (tramp-gvfs-handle-file-selinux-context)
9554         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
9555         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
9557         * net/ange-ftp.el (ange-ftp-copy-file):
9558         * net/tramp-fish.el (tramp-fish-handle-copy-file):
9559         * net/tramp-imap.el (tramp-imap-handle-copy-file):
9560         * net/tramp-smb.el (tramp-smb-handle-copy-file):
9561         Add PRESERVE-SELINUX-CONTEXT.
9563 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
9565         Synchronize with Tramp repository.
9567         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
9568         (tramp-action-process-alive, tramp-action-out-of-band)
9569         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
9570         (tramp-exists-file-name-handler): Fix docstring.
9571         (with-progress-reporter): New defmacro.
9572         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
9573         (tramp-maybe-open-connection): Use it.
9575 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
9577         Detect ssh 'ControlMaster' argument automatically in some cases.
9579         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
9580         (tramp-default-method): Use it.
9582 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
9584         * net/tramp.el (tramp-handle-copy-file): Add new optional
9585         parameter `preserve-selinux-context'.
9586         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
9588 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
9590         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
9591         Ensure, that non remote files are still checked.  Oops.
9593 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
9595         Fix Bug#5840.
9597         * icomplete.el (icomplete-completions): Use `non-essential'.
9599         * net/tramp.el (tramp-connectable-p): New defun.
9600         (tramp-handle-expand-file-name)
9601         (tramp-completion-handle-file-name-all-completions)
9602         (tramp-completion-handle-file-name-completion): Use it.
9604 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9606         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
9608 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
9610         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
9612         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
9614         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
9615         is present.
9617         * info.el (info-tool-bar-map): Add labels.
9619         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
9621         * cus-edit.el (custom-commands): Add labels for tool bar.
9622         (custom-buffer-create-internal, Custom-mode): Adjust for
9623         labels in custom-commands.
9625         * dynamic-setting.el: Renamed from font-setting.el.
9627 2010-04-21  John Wiegley  <jwiegley@gmail.com>
9629         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
9630         toggles the use of virtual buffers.
9631         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
9632         (ido-toggle-virtual-buffers): New function.
9634 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
9636         Use `define-derived-mode'; fix window selection; doc fixes.
9637         * play/tetris.el (tetris, tetris-update-speed-function)
9638         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
9639         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
9640         (tetris-rotate-next, tetris-end-game, tetris-start-game)
9641         (tetris-pause-game): Fix typos in docstrings.
9642         (tetris-mode-map, tetris-null-map):
9643         Move initialization into declaration.
9644         (tetris-mode): Define with `define-derived-mode';
9645         set show-trailing-whitespace to nil.
9646         (tetris): Prefer window already displaying the "*Tetris*" buffer.
9648 2010-04-21  Karel Klíč  <kklic@redhat.com>
9650         * files.el (backup-buffer): Handle SELinux context, and return it
9651         if a backup was made by renaming.
9652         (backup-buffer-copy): Set SELinux context to the target file.
9653         (basic-save-buffer): Set SELinux context of the newly written file.
9654         (basic-save-buffer-1): Now it also returns any SELinux context.
9655         (basic-save-buffer-2): Set SELinux context of the newly created file,
9656         and return it.
9657         * net/tramp.el (tramp-file-name-for-operation):
9658         Add file-selinux-context.
9660 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9662         Make the log-edit comments use RFC822 format throughout.
9664         * vc.el (vc-checkin, vc-modify-change-comment):
9665         Adjust to new vc-start/finish-logentry.
9666         (vc-find-conflicted-file): New command.
9667         (vc-transfer-file): Adjust to new vc-checkin.
9668         (vc-next-action): Improve scoping.
9670         * vc-hg.el (vc-hg-log-edit-mode): Remove.
9671         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
9673         * vc-git.el (vc-git-log-edit-mode): Remove.
9674         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
9675         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
9677         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
9678         (vc-start-logentry): Remove argument `extra'.
9679         (vc-finish-logentry): Remove extra args.
9681         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
9682         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
9683         (vc-bzr-conflicted-files): New function.
9685         * log-edit.el (log-edit-extra-flags)
9686         (log-edit-before-checkin-process): Remove.
9687         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
9688         (log-edit-headers-alist): New var.
9689         (log-edit-header-contents-regexp): New const.
9690         (log-edit-match-to-eoh): New function.
9691         (log-edit-font-lock-keywords): Use them.
9692         (log-edit): Insert a "Summary:" header as default.
9693         (log-edit-mode): Mark font-lock rules as case-insensitive.
9694         (log-edit-done): Cleanup headers.
9695         (log-view-process-buffer): Remove.
9696         (log-edit-extract-headers): New function to replace it.
9698 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
9700         * subr.el (default-direction-reversed): Remove obsolescence info.
9702 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9704         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
9705         windows/frames.
9707         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
9708         I.e. include text after point in the completion region.
9709         Also, return nil when we're not after/in a symbol.
9711         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
9712         default enable-multibyte-characters.
9714 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9716         * international/mule.el: Help the user choose a valid coding-system.
9717         (read-buffer-file-coding-system): New function.
9718         (set-buffer-file-coding-system): Use it.  Prompt the user if the
9719         coding-system cannot encode all the chars.
9721         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
9722         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
9723         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
9724         Don't use *vc-bzr-shelve*.
9726 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
9728         Fix the version number for added files.
9729         * vc-hg.el (vc-hg-working-revision): Check if the file is
9730         registered after hg parent fails (Bug#5961).
9732 2010-04-19  Glenn Morris  <rgm@gnu.org>
9734         * htmlfontify.el (htmlfontify-buffer)
9735         (htmlfontify-copy-and-link-dir): Autoload entry points.
9737 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
9739         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
9740         name relative to the project root (Bug#5960).
9742 2010-04-19  Glenn Morris  <rgm@gnu.org>
9744         * vc-git.el (vc-git-print-log): Doc fix.
9746 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
9748         * ido.el (ido-file-internal): Fix 2009-12-02 change.
9750 2010-04-19  Christoph  <cschol2112@googlemail.com>  (tiny change)
9752         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
9753         default settings (Bug#5928).
9755 2010-04-19  Glenn Morris  <rgm@gnu.org>
9757         * progmodes/fortran.el (fortran-match-and-skip-declaration):
9758         New function.
9759         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
9761 2010-04-19  Kenichi Handa  <handa@m17n.org>
9763         * language/indian.el (malayalam-composable-pattern): Fix previous
9764         change (add U+0D4D "SIGN VIRAMA").
9765         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
9766         (tamil-composable-pattern): Fix typo in the regexp.
9767         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
9768         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
9769         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
9771 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
9773         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
9774         paragraph-separate (Bug#5821).
9776 2010-04-19  Juri Linkov  <juri@jurta.org>
9778         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
9780         * info.el (Info-find-node-2): Comment out code that skips
9781         breadcrumbs line.
9782         (Info-mouse-follow-link): New command.
9783         (Info-link-keymap): New keymap.
9784         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
9785         Return a string with links instead of inserting breadcrumbs
9786         to the Info buffer.
9787         (Info-fontify-node): Comment out code that inserts breadcrumbs.
9788         Instead of putting the `invisible' text property over the Info
9789         header, make an overlay over the Info header with the `invisible'
9790         property and `after-string' set to the string returned by
9791         `Info-breadcrumbs'.
9793 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
9795         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
9796         Reported by monkey@sandpframing.com.
9798 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9800         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
9801         (tmm-get-keymap): Add key-binding shortcuts now that they're not
9802         available in the "keyseq cache" any more.
9804         * custom.el (defcustom): Add edebug spec.
9806 2010-04-18  Juri Linkov  <juri@jurta.org>
9808         Test for special mode-class in view-buffer instead of view-file (bug#5513).
9810         * view.el (view-file, view-buffer): Move test for special mode-class
9811         from view-file to view-buffer.
9813         * tar-mode.el (tar-extract): Turn if's into one cond
9814         like in arc-mode.el.
9816 2010-04-18  Juri Linkov  <juri@jurta.org>
9818         Add 7z archive format support (bug#5475).
9820         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
9821         (archive-7z-extract): New defcustom.
9822         (archive-find-type): Add magic string for 7z.
9823         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
9824         If `stderr-file' is non-nil, use `(t stderr-file)' for the
9825         `buffer' arg of `call-process'.
9826         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
9827         call the function `archive-7z-extract' with the variable
9828         `archive-7z-extract' let-bound to `archive-zip-extract'.
9829         (archive-7z-summarize, archive-7z-extract): New functions.
9831         * international/mule.el (auto-coding-alist):
9832         * files.el (auto-mode-alist): Add 7z file extension.
9834 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9836         * loadup.el: Setup hash-cons for pure data.
9838         Fix duplicate entries in cedet's loaddefs.el files.
9839         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
9840         Should make most file-local generated-autoload-file unnecessary.
9841         (print-readably): Silence warnings.
9842         (autoload-find-destination): Take load-name as an arg to make sure
9843         it's the same as the one that will be in the file.
9844         (autoload-generate-file-autoloads): Adjust to above changes.
9845         Try to make the dataflow a bit simpler.
9847         * cvs-status.el (cvs-refontify): Remove unused.
9849 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
9851         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
9853         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
9854         twos-complement mode.
9856 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
9858         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
9859         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
9860         (calc-inverse): Add "Option" to message, as appropriate.
9861         (calc-hyperbolic): Add "Option" to message, as appropriate.
9862         (calc-option, calc-is-option): New functions.
9864         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
9865         (calc-option-prefix-help): New function.
9867         * calc/calc-misc.el (calc-help): Add "Option" entry.
9869         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
9870         (calc-option-flag): New variable.
9871         (calc-do): Set `calc-option-flag to nil.
9872         (calc-set-mode-line): Add "Opt " as appropriate.
9874 2010-04-16  Juri Linkov  <juri@jurta.org>
9876         Move scrolling commands from simple.el to window.el
9877         because their primitives are implemented in window.c.
9879         * simple.el (scroll-error-top-bottom)
9880         (scroll-up-command, scroll-down-command, scroll-up-line)
9881         (scroll-down-line, scroll-other-window-down)
9882         (beginning-of-buffer-other-window, end-of-buffer-other-window):
9883         * window.el (scroll-error-top-bottom)
9884         (scroll-up-command, scroll-down-command, scroll-up-line)
9885         (scroll-down-line, scroll-other-window-down)
9886         (beginning-of-buffer-other-window, end-of-buffer-other-window):
9887         Move from simple.el to window.el because their primitives are
9888         implemented in window.c.
9890 2010-04-16  Juri Linkov  <juri@jurta.org>
9892         * isearch.el (isearch-lookup-scroll-key): Check both
9893         `isearch-scroll' and `scroll-command' properties.
9894         (scroll-up, scroll-down): Remove `isearch-scroll' property.
9896         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
9898         * simple.el (scroll-up-command, scroll-down-command)
9899         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
9901 2010-04-15  Juri Linkov  <juri@jurta.org>
9903         * simple.el (scroll-up-command, scroll-down-command)
9904         (scroll-up-line, scroll-down-line): Put `scroll-command'
9905         property on the these symbols.  Remove them from
9906         `scroll-preserve-screen-position-commands'.
9908         * mwheel.el (mwheel-scroll): Put `scroll-command' and
9909         `isearch-scroll' properties on the `mwheel-scroll' symbol.
9910         Remove it from `scroll-preserve-screen-position-commands'.
9912         * isearch.el (isearch-allow-scroll): Doc fix.
9914 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
9916         * net/tramp.el (tramp-error-with-buffer): Don't show the
9917         connection buffer when we are in completion mode.
9918         (tramp-file-name-handler): Catch the error for some operations
9919         when we are in completion mode.  This gives the user the chance to
9920         correct the file name in the minibuffer.
9922 2010-04-15  Glenn Morris  <rgm@gnu.org>
9924         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
9926 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
9928         Simplify by using `define-derived-mode'.
9929         * info.el (Info-mode):
9930         * calendar/todo-mode.el (todo-mode):
9931         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
9932         (gomoku-mode-map): Move initialization into declaration.
9934 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
9936         Fix Bug#5840.
9937         * ido.el (ido-file-name-all-completions-1):
9938         * minibuffer.el (minibuffer-completion-help):
9939         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
9941 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9943         * simple.el (non-essential): New var.
9945         Add a new field `location' to bookmarks for non-file bookmarks.
9946         * bookmark.el (bookmark-location): Use the new field, if present.
9947         (bookmark-insert-location): Undo last change, not needed any more.
9948         * man.el (Man-bookmark-make-record):
9949         * woman.el (woman-bookmark-make-record): Add `location' field.
9951 2010-04-14  Juri Linkov  <juri@jurta.org>
9953         * simple.el (scroll-error-top-bottom): New defcustom.
9954         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
9956         * emulation/pc-select.el (pc-select-override-scroll-error):
9957         Obsolete in favor of `scroll-error-top-bottom'.
9959 2010-04-14  Juri Linkov  <juri@jurta.org>
9961         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
9962         `scroll-up-command' and `M-v' to `scroll-down-command'.
9964         * emulation/cua-rect.el (cua--init-rectangles):
9965         * forms.el (forms--change-commands):
9966         * image-mode.el (image-mode-map):
9967         Remap scroll-down-command and scroll-up-command
9968         in addition to scroll-down and scroll-up.
9970 2010-04-14  Juri Linkov  <juri@jurta.org>
9972         * mwheel.el (scroll-preserve-screen-position-commands):
9973         Add mwheel-scroll to this list of commands.
9975         * simple.el (scroll-preserve-screen-position-commands):
9976         Add scroll-up-command, scroll-down-command, scroll-up-line,
9977         scroll-down-line to this list of commands.
9979 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9981         * obsolete/complete.el: Move from lisp/complete.el.
9983         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
9985         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
9986         to the minor mode function now turns the mode ON unconditionally.
9988 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9990         * vc-dir.el (vc-dir-kill-line): New command.
9991         (vc-dir-mode-map): Bind it to C-k.
9993         * bookmark.el (bookmark-insert-location): Handle a nil filename.
9995         * woman.el: Add bookmark declarations to silence the compiler.
9996         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
9997         step to compatibility between man and woman bookmarks.
9998         Adjust for Man-default-bookmark-title renaming.
9999         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
10001         * man.el: Add bookmark declarations to silence the compiler.
10002         (Man-name-local-regexp): Make it match NAME as well.
10003         (Man-getpage-in-background): Return the buffer.
10004         (Man-notify-when-ready): Use `case'.
10005         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
10006         Don't hardcode "NAME".  Simplify.
10007         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
10008         Rename from Man-bookmark-make-record.
10009         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
10010         we have the actual man-args.  Use Man-getpage-in-background rather
10011         than `man' since the arg is already processed.  Let bookmark.el do the
10012         window handling.  Only wait for the relevant process.
10013         Don't forget to autoload.
10015         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
10017 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10019         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
10020         New functions.
10021         (woman-mode): Setup bookmark support.
10023         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
10024         (man-bookmark-jump): New functions.
10025         (Man-mode): Setup bookmark support.
10027 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
10029         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
10030         recognize ssh-keygen prompt (Bug#2817).
10032 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
10034         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
10036 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
10038         Synchronize with Tramp repository.
10040         * net/tramp.el (tramp-completion-function-alist)
10041         (tramp-file-name-regexp, tramp-chunksize)
10042         (tramp-local-coding-commands, tramp-remote-coding-commands):
10043         Fix docstring.
10044         (tramp-remote-process-environment): Use `format' instead of `concat'.
10045         (tramp-handle-directory-files-and-attributes)
10046         (tramp-get-remote-path): Use `copy-tree'.
10047         (tramp-handle-file-name-all-completions): Backward/ XEmacs
10048         compatibility: Use `completion-ignore-case' if
10049         `read-file-name-completion-ignore-case' does not exist.
10050         (tramp-do-copy-or-rename-file-directly): Do not use
10051         `tramp-handle-file-remote-p'.
10052         (tramp-do-copy-or-rename-file-out-of-band):
10053         Use `tramp-compat-delete-directory'.
10054         (tramp-do-copy-or-rename-file-out-of-band)
10055         (tramp-compute-multi-hops, tramp-maybe-open-connection):
10056         Use `format-spec-make'.
10057         (tramp-find-foreign-file-name-handler)
10058         (tramp-advice-make-auto-save-file-name)
10059         (tramp-set-auto-save-file-modes): Remove superfluous check for
10060         `stringp'.  This is done inside `tramp-tramp-file-p'.
10061         (tramp-debug-outline-regexp): New defconst.
10062         (tramp-get-debug-buffer): Use it.
10063         (tramp-check-for-regexp): Use (forward-line 1).
10064         (tramp-set-auto-save-file-modes): Adapt version check.
10066         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
10067         Wrap call of `featurep' for 2nd argument.
10068         (tramp-compat-make-temp-file): Simplify fallback implementation.
10069         (tramp-compat-copy-tree): Remove function.
10070         (tramp-compat-delete-directory): Provide implementation for older
10071         Emacsen.
10073         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
10074         Do not use `tramp-fish-handle-file-attributes.
10076         * net/trampver.el: Update release number.
10078 2010-04-10  Glenn Morris  <rgm@gnu.org>
10080         * progmodes/compile.el (compilation-save-buffers-predicate):
10081         Add missing :version tag.
10083 2010-04-09  Sam Steingold  <sds@gnu.org>
10085         * progmodes/compile.el (compilation-save-buffers-predicate):
10086         Remove the "autoload" cookie.
10088         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
10089         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
10090         and `bug-reference-prog-mode' can be used in hooks directly.
10092 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
10094         Add --author support to git commit.
10095         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
10096         (vc-git-log-edit-mode): New minor mode.
10097         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
10098         New declarations.
10100 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
10102         * vc-hooks.el, vc-git.el: Improve documentation comments.
10104 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10106         Fix some of the problems in defsubst* (bug#5728).
10107         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
10108         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
10110 2010-04-07  Sam Steingold  <sds@gnu.org>
10112         * progmodes/compile.el (compilation-save-buffers-predicate):
10113         New custom variable.
10114         (compile, recompile): Pass it to `save-some-buffers'.
10116 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
10118         * wid-edit.el (widget-choose): Move cursor to the second line of
10119         the buffer (Bug#5695).
10121 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
10123         Add new VC methods: vc-log-incoming and vc-log-outgoing.
10124         * vc.el (vc-print-log-setup-buttons): New function split out from
10125         vc-print-log-internal.
10126         (vc-log-internal-common): New function, a parametrized version of
10127         vc-print-log-internal.
10128         (vc-print-log-internal): Just call vc-log-internal-common with the
10129         right arguments.
10130         (vc-incoming-outgoing-internal):
10131         (vc-log-incoming, vc-log-outgoing): New functions.
10132         (vc-log-view-type): New permanent local variable.
10134         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
10136         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
10137         of the dynamic bound vc-short-log.
10138         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
10140         * vc-git.el (vc-git-log-outgoing): New function.
10141         (vc-git-log-view-mode): Use vc-log-view-type instead
10142         of the dynamic bound vc-short-log.
10144         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
10145         of the dynamic bound vc-short-log.  Highlight the tag.
10146         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
10147         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
10148         (vc-hg-incoming-mode): Remove.
10149         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
10151 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
10153         Fix default-directory for vc-root-diff.
10154         * vc.el (vc-root-diff): Bind default-directory to the root
10155         directory for the diff command.
10157 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
10159         * progmodes/verilog-mode.el (verilog-forward-sexp):
10160         (verilog-calc-1): Support "disable fork" and "fork wait" multi
10161         word keywords, suggested by Steve Pearlmutter.
10162         (verilog-pretty-declarations): Support lineup of declarations in
10163         port lists.
10164         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
10165         fix bug for /* / comments.
10166         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
10167         Speed up and simplfy as this is never called with a bound.
10168         (verilog-pretty-declarations): Enhance to line up declarations
10169         inside a parameter list, suggested by Alan Morgan.
10170         (verilog-pretty-expr): Tune assignment regular expression match
10171         string for corner cases; also use markers instead of character
10172         number as indent changes the later.
10174 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
10176         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
10177         as missing keyword.
10178         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
10179         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
10180         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
10181         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
10182         Tennant.
10183         (verilog-keywords):
10184         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
10185         1800-2009 keywords, including "global.".
10187 2010-04-06  John Wiegley  <jwiegley@gmail.com>
10189         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
10190         appearing in buffer list (if a live buffer name matched a recentf
10191         file basename).  Should use uniquify to offer a real solution.
10193 2010-04-06  John Wiegley  <jwiegley@gmail.com>
10195         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
10196         comment to code, and add a :version tag.
10197         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
10199 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
10201         Enable recentf-mode if using virtual buffers.
10202         * ido.el (recentf-list): Declare for byte-compiler.
10203         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
10204         (ido-make-buffer-list): Simplify.
10205         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
10207 2010-04-05  Juri Linkov  <juri@jurta.org>
10209         Scrolling commands which scroll a line instead of full screen.
10210         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10212         * simple.el (scroll-up-line, scroll-down-line): New commands.
10213         Put property isearch-scroll=t on them.
10215         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
10216         Remove commands.
10218 2010-04-05  Juri Linkov  <juri@jurta.org>
10220         Scrolling commands which do not signal errors at top/bottom.
10221         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10223         * simple.el (scroll-up-command, scroll-down-command): New commands.
10224         Put property isearch-scroll=t on them.
10226         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
10227         `scroll-down-command' and [next] from `scroll-up' to
10228         `scroll-up-command'.
10230         * emulation/cua-base.el: Put property CUA=move on
10231         `scroll-up-command' and `scroll-down-command'.
10232         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
10233         and `scroll-down-command' to `cua-scroll-down'.
10235 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
10237         * help.el (describe-mode): Return nil.
10239 2010-04-04  John Wiegley  <jwiegley@gmail.com>
10241         * ido.el (ido-use-virtual-buffers): New variable to indicate
10242         whether "virtual buffer" support is enabled for IDO.
10243         (ido-virtual): Face used to indicate virtual buffers in the list.
10244         (ido-buffer-internal): If a buffer is chosen, and no such buffer
10245         exists, but a virtual buffer of that name does (which would be why
10246         it was in the list), recreate the buffer by reopening the file.
10247         (ido-make-buffer-list): If virtual buffers are being used, call
10248         `ido-add-virtual-buffers-to-list' before the make list hook.
10249         (ido-virtual-buffers): New variable which contains a copy of the
10250         current contents of the `recentf-list', albeit pared down for the
10251         sake of speed, and with proper faces applied.
10252         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
10253         create a list of "virtual buffers" to present to the user in
10254         addition to the currently open set.  Note that this logic could
10255         get rather slow if that list is too large.  With the default
10256         `recentf-max-saved-items' of 200, there is little speed penalty.
10258 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10260         * font-lock.el: Require CL when compiling.
10261         (font-lock-turn-on-thing-lock): Use `case'.
10263 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
10265         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
10266         Zaretskii.
10268 2010-04-02  Juri Linkov  <juri@jurta.org>
10270         * ehelp.el (electric-help-orig-major-mode):
10271         New buffer-local variable.
10272         (electric-help-mode): Set it to original major-mode.  Doc fix.
10273         (with-electric-help): Use `electric-help-orig-major-mode' instead
10274         of (default-value 'major-mode).  Doc fix.
10275         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
10277 2010-04-02  Sam Steingold  <sds@gnu.org>
10279         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
10280         `vc-hg-command' with a list of flags.
10282         * progmodes/bug-reference.el (bug-reference-bug-regexp):
10283         Also accept "patch" and "RFE".
10284         (bug-reference-fontify): `bug-reference-url-format' can also be a
10285         function to be able to handle the bug kind.
10286         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
10288 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
10290         * tmm.el (tmm-get-keymap): Check with symbolp before passing
10291         value to fboundp, it may not be a symbol.
10293 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
10295         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
10297 2010-03-31  Juri Linkov  <juri@jurta.org>
10299         * simple.el (next-line, previous-line): Re-throw a signal
10300         with `signal' instead of using `ding'.
10301         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
10303 2010-03-31  Juri Linkov  <juri@jurta.org>
10305         * simple.el (keyboard-escape-quit): Raise deselecting the active
10306         region higher than exiting the minibuffer.
10307         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
10309 2010-03-31  Juri Linkov  <juri@jurta.org>
10311         * image.el (image-animated-p): Use `image-metadata' instead of
10312         `image-extension-data'.  Get GIF extenstion data from metadata
10313         property `extension-data'.
10315 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10317         * simple.el (append-to-buffer): Simplify.
10319 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
10321         * textmodes/artist.el (artist-mode): Fix typo in docstring.
10322         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
10324 2010-03-31  Kenichi Handa  <handa@m17n.org>
10326         * language/sinhala.el (composition-function-table): Fix regexp for
10327         the new Unicode specification.
10329         * language/indian.el (devanagari-composable-pattern)
10330         (tamil-composable-pattern, kannada-composable-pattern)
10331         (malayalam-composable-pattern): Adjust for the new Unicode
10332         specification.
10333         (bengali-composable-pattern, gurmukhi-composable-pattern)
10334         (gujarati-composable-pattern, oriya-composable-pattern)
10335         (telugu-composable-pattern): New variables to cope with the new
10336         Unicode specification.  Use them in composition-function-table.
10338 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10340         Make tmm-menubar work for the Buffers menu again (bug#5726).
10341         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
10342         vectors rather than cons cells, as used in menu-bar-update-buffers.
10344 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
10346         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
10347         (js-insert-and-indent): Revert 2009-08-15 change, restoring
10348         electric punctuation for "{}();,:" (Bug#5586).
10350         * mail/sendmail.el (mail-default-directory): Doc fix.
10352 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
10354         * mail/sendmail.el (mail-default-directory): Doc fix.
10356 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
10358         * subr.el (version-regexp-alist, version-to-list)
10359         (version-list-<, version-list-=, version-list-<=)
10360         (version-list-not-zero, version<, version<=, version=): Doc fix.
10361         (Bug#5744).
10363 2010-02-31  Dan Nicolaescu  <dann@ics.uci.edu>
10365         * vc.el (vc-root-diff): Doc fix.
10367 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
10369         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
10371         * simple.el (append-to-buffer): Fix last change.
10373 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
10375         * simple.el (append-to-buffer): Ensure that point is preserved if
10376         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
10377         (Bug#5749)
10379 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10381         * files.el (auto-mode-case-fold): Change default to t.
10383 2010-03-30  Juri Linkov  <juri@jurta.org>
10385         * dired-x.el (dired-omit-mode): Doc fix.
10387 2010-03-30  Juri Linkov  <juri@jurta.org>
10389         * replace.el (occur-accumulate-lines): Move occur-engine related
10390         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
10391         to be located after `occur-engine'.
10393 2010-03-30  Juri Linkov  <juri@jurta.org>
10395         Make occur handle multi-line matches cleanly with context.
10396         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
10398         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
10399         (occur-engine): Add local variables `ret', `prev-after-lines',
10400         `prev-lines'.  Use more arguments for `occur-context-lines'.
10401         Set first elem of its returned list to `data', and the second elem
10402         to `prev-after-lines'.  Don't print the separator line.
10403         In the end, print remaining context after-lines.
10404         (occur-context-lines): Add new arguments `begpt', `endpt',
10405         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
10406         after-lines of the previous match with before-lines of the
10407         current match and not overlap them.  Return a list with two
10408         values: the output line and the list of context after-lines.
10410 2010-03-30  Juri Linkov  <juri@jurta.org>
10412         * replace.el (occur-accumulate-lines): Fix a bug where the first
10413         context line at the beginning of the buffer was missing.
10415 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
10417         * files.el: Make bidi-display-reordering safe variable for boolean
10418         values.
10420 2010-03-29  Phil Hagelberg  <phil@evri.com>
10421             Chong Yidong  <cyd@stupidchicken.com>
10423         * subr.el: Extend progress reporters to perform "spinning".
10424         (progress-reporter-update, progress-reporter-do-update):
10425         Handle non-numeric value arguments.
10426         (progress-reporter--pulse-characters): New var.
10428 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
10430         * progmodes/compile.el (compilation-start): Fix regexp detection
10431         of initial cd command (Bug#5771).
10433 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
10435         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
10437 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
10439         Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
10440         * progmodes/gdb-mi.el: Restore.
10441         * progmodes/gdb-ui.el: Remove.
10442         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
10444 2010-03-25  Glenn Morris  <rgm@gnu.org>
10446         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
10447         all dired buffers, even tramp ones.  (Bug#5755)
10449 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10451         Add "union tags" in mpc.el.
10452         * mpc.el: Remove backward compatibility code.
10453         (mpc-browser-tags): Change default.
10454         (mpc--find-memoize-union-tags): New var.
10455         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
10456         (mpc-cmd-find): Handle the case where the playlist does not exist.
10457         Handle union-tags.
10458         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
10459         (mpc-cmd-add): Use mpc-cmd-flush.
10460         (mpc-tagbrowser-tag-name): New fun.
10461         (mpc-tagbrowser-buf): Use it.
10462         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
10464 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10466         Misc cleanup.
10467         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
10468         Use replace-regexp-in-string.
10469         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
10470         (makefile-imake-mode-syntax-table): Move init into defvar.
10471         (makefile-mode): Use define-derived-mode.
10473         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
10474         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
10475         not be present any more.
10477 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
10479         * faces.el (set-face-attribute): Fix typo in docstring.
10480         (face-valid-attribute-values): Reflow docstring.
10482 2010-03-24  Glenn Morris  <rgm@gnu.org>
10484         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
10486 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
10488         * indent.el (indent-for-tab-command): Doc fix.
10490 2010-03-24  Alan Mackenzie  <acm@muc.de>
10492         * progmodes/cc-engine.el (c-remove-stale-state-cache):
10493         Fix off-by-one error.  Fixes bug #5747.
10495 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
10497         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
10498         (image-dired-read-comment): Doc fix.
10500         * json.el (json-object-type, json-array-type, json-key-type)
10501         (json-false, json-null, json-read-number):
10502         * minibuffer.el (completion-in-region-functions):
10503         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
10504         (cal-tex-cursor-week):
10505         * emacs-lisp/trace.el (trace-function):
10506         * eshell/em-basic.el (eshell/printnl):
10507         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
10508         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
10509         * obsolete/levents.el (allocate-event, event-key, event-object)
10510         (event-point, event-process, event-timestamp, event-to-character)
10511         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
10512         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
10513         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
10514         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
10515         (reftex-highlight-selection): Fix typos in docstrings.
10517 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
10519         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
10521 2010-03-24  Glenn Morris  <rgm@gnu.org>
10523         * mail/rmail.el (rmail-highlight-face): Restore option deleted
10524         2008-02-13 without comment; mark it obsolete.
10525         (rmail-highlight-headers): Use rmail-highlight-face once more.
10527 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
10529         * woman.el (woman2-process-escapes): Only consume the newline if
10530         the filler character is on a line by itself (Bug#5729).
10532 2010-03-24  Kenichi Handa  <handa@m17n.org>
10534         * language/indian.el (devanagari-composable-pattern): Add more
10535         consonants.
10537 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
10539         * net/trampver.el: Update release number.
10541 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
10543         * net/tramp.el (tramp-find-executable):
10544         Use `tramp-get-connection-buffer'.  Make the regexp for checking
10545         output of "wc -l" more robust.
10546         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
10547         (tramp-open-connection-setup-interactive-shell): Remove workaround
10548         for OpenSolaris bug, it is not needed anymore.
10550 2010-03-24  Glenn Morris  <rgm@gnu.org>
10552         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
10554 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
10556         * files.el (auto-mode-alist): Accept more verilog file patterns.
10558 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10560         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
10562 2010-03-24  Glenn Morris  <rgm@gnu.org>
10564         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
10565         log-edit-before-checkin-process.
10567         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
10569         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
10571         * vc-dispatcher.el (vc-start-logentry): Doc fix.
10572         (log-view-process-buffer, log-edit-extra-flags): Declare.
10574         * log-edit.el (log-edit-before-checkin-process): Doc fix.
10576 2010-03-23  Sam Steingold  <sds@gnu.org>
10578         Fix bug#5620: recalculate all markers on compilation buffer
10579         modifications, not on file modifications.
10580         * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
10581         variable: the buffer modification time, for buffers not associated with
10582         files.
10583         (compilation-mode): Create it.
10584         (compilation-filter): Update it.
10585         (compilation-next-error-function): Use it instead of
10586         `visited-file-modtime' for timestamp.
10588 2010-03-23  Juri Linkov  <juri@jurta.org>
10590         Implement Occur multi-line matches.
10591         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
10593         * replace.el (occur): Doc fix.
10594         (occur-engine): Set `begpt' to the beginning of the first line.
10595         Set `endpt' to the end of the last match line.  At first, count
10596         line numbers between `origpt' and `begpt'.  Split out code from
10597         `out-line' variable to new let-bindings `match-prefix' and
10598         `match-str'.  In `out-line' add non-numeric prefix to all
10599         non-first lines of multi-line matches.  Finally, count lines
10600         between `begpt' and `endpt' and add to `lines'.
10602 2010-03-23  Juri Linkov  <juri@jurta.org>
10604         * replace.el (occur-accumulate-lines, occur-engine):
10605         Use `occur-engine-line' instead of duplicate code.
10606         (occur-engine-line): New function created from duplicate code
10607         in `occur-accumulate-lines' and `occur-engine'.
10609         * replace.el (occur-engine-line): Add optional arg `keep-props'.
10610         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
10612 2010-03-23  Juri Linkov  <juri@jurta.org>
10614         * finder.el: Remove TODO tasks.
10616         * info.el (Info-finder-find-node): Add node "all"
10617         with all package info.  Handle a list of multiple keywords
10618         separated by comma.
10619         (info-finder): In interactive use with a prefix argument,
10620         use `completing-read-multiple' to read a list of keywords
10621         separated by comma.
10623 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10625         Add a new completion style `substring'.
10626         * minibuffer.el (completion-basic--pattern): New function.
10627         (completion-basic-try-completion, completion-basic-all-completions):
10628         Use it.
10629         (completion-substring--all-completions)
10630         (completion-substring-try-completion)
10631         (completion-substring-all-completions): New functions.
10632         (completion-styles-alist): New style `substring'.
10634 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10636         Get rid of .elc files after removal of the corresponding .el.
10637         * Makefile.in (compile-clean): New target.
10638         (compile-main): Use it.
10640 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
10642         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
10643         don't do make there.  When compiling with separate object dir, there
10644         is no Makefile there.
10646 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10648         Get rid of the ELCFILES abomination, again.
10649         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
10650         (all, compile): Don't call compile-last.
10651         (compile-main): Build the "elcfiles" list dynamically.
10652         (compile-targets): New (internal) target.
10654 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
10656         * Makefile.in (top_srcdir): Define.
10657         (abs_top_builddir): Define.
10658         (srcdir): Don't append `/..'.
10659         (EMACS): Use ${abs_top_builddir}.
10660         (all, compile, compile-always, compile-last): Don't set emacswd.
10661         (update-subdirs, update-authors): Use $(top_srcdir) instead of
10662         $(srcdir).
10663         (lisp): Use $(srcdir) instead of @srcdir@.
10665 2010-03-21  Juri Linkov  <juri@jurta.org>
10667         Fix message of multi-line occur regexps and multi-buffer header lines.
10668         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
10670         * replace.el (occur-1): Don't display regexp if it is longer
10671         than window-width.  Use `query-replace-descr' to display regexp.
10672         (occur-engine): Don't display regexp in the buffer header for
10673         multi-buffer occur.  Display a separate header line with total
10674         match count and regexp for multi-buffer occur.
10675         Use `query-replace-descr' to display regexp.
10677 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
10679         * net/secrets.el: Fix parenthesis.
10680         (secrets-enabled): Fix parenthesis.
10682 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10684         Use more relative file and directory names.
10685         * Makefile.in (EMACS): Arrange for it to work when we chdir.
10686         (setwins, setwins_almost, setwins_for_subdirs):
10687         Don't `cd'; output relative names.
10688         (all, compile, compile-always, compile-last): Set emacswd.
10689         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
10690         Just cd to the lisp source dir so we can use relative file names.
10692         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
10694 2010-03-20  Glenn Morris  <rgm@gnu.org>
10696         * textmodes/rst.el: Use faces for font-lock customization, and make the
10697         old -face variables obsolete.
10698         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
10699         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
10700         (rst-block-face, rst-external-face, rst-definition-face)
10701         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
10702         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
10703         Make obsolete.
10704         (rst-font-lock-keywords-function): Update for above changes.
10706 2010-03-20  Juri Linkov  <juri@jurta.org>
10708         * s-region.el:
10709         * obsolete/s-region.el: Move to obsolete.
10711 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
10713         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
10715 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
10717         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
10719 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
10721         Add special markup processing for commit logs.
10722         * log-edit.el (log-edit-extra-flags): New variable.
10723         (log-edit): Add new argument MODE.  Use that mode when non-nil
10724         instead of the log-view-mode.
10725         (log-view-process-buffer): New function.
10727         * vc.el: Document that the checkin method takes optional
10728         arguments.  Document new backend specific method: log-view-mode.
10729         (vc-default-log-edit-mode): New function.
10730         (vc-checkin): Use a backend specific log-view-mode.
10731         Pass extra arguments to the checkin method.
10732         (vc-modify-change-comment): Pass a dummy extra argument.
10734         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
10735         log-edit.
10736         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
10737         (vc-finish-logentry): Process the log buffer before passing it
10738         down.  Pass log-edit-extra-flags.
10740         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
10741         command.
10742         (log-edit-extra-flags, log-edit-before-checkin-process):
10743         New declarations.
10745         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
10746         command.
10747         (log-edit-extra-flags, log-edit-before-checkin-process):
10748         New declarations.
10749         (vc-hg-log-edit-mode): New derived mode.
10751         * vc-arch.el (vc-arch-checkin):
10752         * vc-cvs.el (vc-cvs-checkin):
10753         * vc-git.el (vc-git-checkin):
10754         * vc-mtn.el (vc-mtn-checkin):
10755         * vc-rcs.el (vc-rcs-checkin):
10756         * vc-sccs.el (vc-sccs-checkin):
10757         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
10759 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10761         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
10762         parent typo).
10764 2010-03-19  Glenn Morris  <rgm@gnu.org>
10766         * password-cache.el (password-cache, password-cache-expiry): Autoload.
10768 2010-03-18  Glenn Morris  <rgm@gnu.org>
10770         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
10772         * replace.el (query-replace-history): Give it a doc string.
10773         (map-query-replace-regexp): Use query-replace-from-history-variable
10774         and query-replace-to-history-variable.
10776         * mail/hashcash.el (declare-function): Remove duplicate definition.
10778         * mail/emacsbug.el (report-emacs-bug-pretest-address):
10779         Make it an obsolete alias for report-emacs-bug-address.
10780         (message-strip-special-text-properties): Declare.
10781         (report-emacs-bug): Remove test for a pretest bug address.
10782         Combine message-mode-specific code.
10784         * mail/supercite.el: Don't require sendmail.
10785         (mh-in-header-p): Declare rather than using with-no-warnings.
10786         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
10787         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
10789         * calendar/cal-french.el: Convert to utf-8.
10791         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
10792         Emacs scripts.
10794 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
10796         * net/secrets.el (secrets-enabled): New variable.  Use it instead
10797         of a subfeature.
10799 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
10801         * net/secrets.el (top): Register the D-Bus signals only when the
10802         service "org.freedesktop.secrets" can be pinged.
10803         Provide subfeature `enabled'.
10805 2010-03-14  Juri Linkov  <juri@jurta.org>
10807         Add finder unknown keywords.
10809         * finder.el (finder-unknown-keywords): New function.
10811         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
10812         to create a Finder node with unknown keywords.
10814 2010-03-14  Juri Linkov  <juri@jurta.org>
10816         * finder.el (finder-compile-keywords): Replace `princ' with
10817         `prin1' on a list of symbols interned from keyword strings.
10819         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
10820         a comma, then split keywords using a comma and optional whitespace.
10821         Otherwise, split by whitespace.
10823         * complete.el:
10824         * face-remap.el:
10825         * log-view.el:
10826         * net/hmac-def.el:
10827         * net/hmac-md5.el:
10828         * net/netrc.el:
10829         * progmodes/mixal-mode.el: Fix keywords.
10831 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
10833         * Makefile.in (ELCFILES): Add net/secrets.elc.
10835         * net/secrets.el: New file.
10837 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
10839         * facemenu.el (list-colors-display, list-colors-print): New arg
10840         callback.  Use it to allow selecting colors.
10842         * wid-edit.el (widget-image-insert): Insert image prop even if the
10843         current display is non-graphic.
10844         (widget-field-value-set): New fun.
10845         (editable-field): Use it.
10846         (widget-field-value-get): Clean up unused var.
10847         (widget-color-value-create, widget-color--choose-action):
10848         New funs.  Allow using list-colors-display to choose color.
10850 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
10852         * cus-edit.el: Resort topmost custom groups.
10853         (custom-buffer-sort-alphabetically): Default to t.
10854         (customize-apropos): Use apropos-parse-pattern.
10855         (custom-search-field): New var.
10856         (custom-buffer-create-internal): Add custom-apropos search field.
10857         (custom-add-parent-links): Don't display parent doc.
10858         (custom-group-value-create): Don't sort top-level custom group.
10859         (custom-magic-value-create): Show visibility button before option name.
10861         (custom-variable-state): New fun, from custom-variable-state-set.
10862         (custom-variable-state-set): Use it.
10863         (custom-group-value-create): Hide options with standard values
10864         using the :hidden-states property.  Use progress reporter.
10866         (custom-show): Simplify.
10867         (custom-visibility): Disable images by default.
10868         (custom-variable): New property :hidden-states.
10869         (custom-variable-value-create): Enable images for
10870         custom-visibility widgets.  Use :hidden-states property to
10871         determine initial visibility.
10873         * wid-edit.el (widget-image-find): Give images center ascent.
10874         (visibility): Add :on-image and :off-image properties.
10875         (widget-visibility-value-create): Use them.
10877 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
10879         * cus-edit.el (processes): Remove from development group.
10880         (oop, hypermedia): Delete group.
10881         (comm): Promote to top-level group.
10883         * net/browse-url.el (browse-url):
10884         * net/xesam.el (xesam):
10885         * net/tramp.el (tramp):
10886         * net/goto-addr.el (goto-address):
10887         * net/ange-ftp.el (ange-ftp): Put in comm group.
10889         * view.el (view): Remove from editing group.
10891         * uniquify.el (uniquify): Put in files group.
10893         * net/browse-url.el (browse-url):
10894         * ps-print.el (postscript): Put in external group.
10896         * cus-edit.el (outlines):
10897         * textmodes/text-mode.el (text-mode-hook):
10898         * textmodes/table.el (table):
10899         * textmodes/picture.el (picture):
10900         * outline.el (outlines): Put in wp group.
10902         * nxml/nxml-mode.el (nxml): Remove from wp group.
10904         * net/tramp-imap.el (tramp-imap): Put in tramp group.
10906         * mail/metamail.el (metamail): Remove from hypermedia group.
10908         * cus-edit.el (abbrev):
10909         * whitespace.el (whitespace):
10910         * vcursor.el (vcursor):
10911         * reveal.el (reveal):
10912         * hl-line.el (hl-line): Put in convenience group.
10914         * epg-config.el (epg): Put in data group.
10916         * emulation/pc-select.el (pc-select): Put in emulations group.
10918         * calculator.el (calculator): Put in applications group.
10920 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
10922         Add .dir-locals.el support for file-less buffers.
10923         * files.el (hack-local-variables): Split out code to apply local
10924         variable settings ...
10925         (hack-local-variables-apply): ... here.  New function.
10926         (hack-dir-local-variables): Use the default directory for when the
10927         buffer does not have an associated file.
10928         (hack-dir-local-variables-non-file-buffer): New function.
10929         * diff-mode.el (diff-mode):
10930         * vc-annotate.el (vc-annotate-mode):
10931         * vc-dir.el (vc-dir-mode):
10932         * log-edit.el (log-edit-mode):
10933         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
10935 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
10937         Add support for shelving snapshots and for showing shelves.
10938         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
10939         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
10940         New functions.
10941         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
10942         (vc-bzr-extra-menu-map): Map them.
10944 2010-03-11  Glenn Morris  <rgm@gnu.org>
10946         * cus-edit.el (customize-changed-options-previous-release):
10947         Bump to 23.1.
10949         * image.el (image-animate-max-time): Fix :version tag.
10951 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
10953         * Branch for 23.2.
10955 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10957         * vc-git.el (vc-git-revision-table): Include remote branches.
10959 2010-03-10  Kim F. Storm  <storm@cua.dk>
10961         Animated image API.
10962         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
10964         * image.el (image-animate-max-time): New defcustom.
10965         (image-animated-types): New defconst.
10966         (create-animated-image, image-animate-timer)
10967         (image-animate-start, image-animate-stop, image-animate-timeout)
10968         (image-animated-p): New functions.
10970         * image-mode.el (image-toggle-display-image):
10971         Replace `create-image' with `create-animated-image'.
10973 2010-03-09  Miles Bader  <miles@gnu.org>
10975         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
10976         instead of "format:"; this ensures that the output is
10977         newline-terminated.
10979 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
10981         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
10982         that all errors are caught, and that the return value is always a
10983         list (Bug#5692).
10985 2010-03-08  Kenichi Handa  <handa@m17n.org>
10987         * language/misc-lang.el (windows-1256): New coding system.
10988         (cp1256): New alias of windows-1256 (bug#5690).
10990 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
10992         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
10993         call to rfc822-bad-address.  (Bug#5692)
10995 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
10997         * vc-git.el (vc-git-annotate-extract-revision-at-line):
10998         Use vc-git-root as default directory for revision path (Bug#5657).
11000 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
11002         * calculator.el (calculator): Don't bind split-window-keep-point
11003         (Bug#5674).
11005 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11007         * vc-git.el: Re-flow to fit into 80 columns.
11008         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
11009         Remove spurious `quote' element in each case alternative.
11010         (vc-git-show-log-entry): Use prog1.
11011         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
11013 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11015         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
11017 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
11019         * macros.el (insert-kbd-macro): Look up keyboard macro using the
11020         definition, not the name (Bug#5481).
11022 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
11024         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
11025         argument with a local variable.  (Bug#5670)
11027 2010-03-02  Juri Linkov  <juri@jurta.org>
11029         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
11031 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
11033         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
11034         error when FILENAME and NEWNAME are existing remote directories.
11036         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
11037         parameter DIR-FLAG.
11039 2010-03-02  Glenn Morris  <rgm@gnu.org>
11041         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
11042         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
11044 2010-03-01  Kenichi Handa  <handa@m17n.org>
11046         * language/burmese.el (burmese-composable-pattern): Rename from
11047         myanmar-composable-pattern.
11049         * international/characters.el (script-list):
11050         * international/fontset.el (script-representative-chars):
11051         Change myanmar to burmese.
11052         (otf-script-alist): Likewise.
11053         (setup-default-fontset): Likewise.  Re-fix :otf spec.
11055 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
11057         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
11059 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
11061         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
11063 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
11065         * net/tramp.el (tramp-handle-write-region): START can be a string.
11066         Take care in the checks.  Reported by Dan Davison
11067         <davison@stats.ox.ac.uk>.
11069 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
11071         * net/dbus.el (dbus-introspect, dbus-get-property)
11072         (dbus-set-property, dbus-get-all-properties):
11073         Use `dbus-call-method' when noninteractive.  (Bug#5645)
11075 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
11077         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
11078         * emacs-lisp/elint.el (elint-add-required-env):
11079         * calendar/icalendar.el (icalendar--add-diary-entry):
11080         * calc/calcalg2.el (math-tracing-integral):
11081         * files.el (recover-session-finish): Use with-current-buffer
11082         instead of save-excursion.
11084 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11086         Fix in-buffer completion when after-change-functions modify the buffer.
11087         * minibuffer.el (completion--replace): New function.
11088         (completion--do-completion): Use it and use relative movement.
11090 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
11092         * international/fontset.el (setup-default-fontset): Fix :otf spec.
11094 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
11096         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
11097         Allow the characters _<> in the stack entry (Bug#5653).
11099 2010-02-26  Kenichi Handa  <handa@m17n.org>
11101         * language/burmese.el: Fix entries in composition-function-table.
11102         (myanmar-composable-pattern): New variable.
11104         * international/fontset.el (setup-default-fontset): Add an entry
11105         for myanmar.
11107         * international/characters.el (script-list): Add Myanmar
11108         Extended-A.
11110 2010-02-26  Glenn Morris  <rgm@gnu.org>
11112         * custom.el (custom-initialize-delay): Doc fix.
11114         * mail/sendmail.el (send-mail-function): Autoload the call
11115         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
11117 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
11119         * files.el (hack-local-variables-filter): For eval forms, also
11120         check safe-local-variable-p (Bug#5636).
11122 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
11124         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
11125         setting the modes by `ignore-errors'.  It might fail, for example
11126         if the file is not owned by the user but the group.
11127         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
11129 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
11131         * files.el (directory-listing-before-filename-regexp):
11132         Use stricter matching for iso-style dates, to avoid false matches with
11133         date-like filenames (Bug#5597).
11135         * htmlfontify.el (htmlfontify): Doc fix.
11137         * eshell/eshell.el (eshell): Doc fix.
11139         * startup.el (fancy-about-screen): In mode-line, apply
11140         mode-line-buffer-id face only to the buffer name (Bug#5613).
11142 2010-02-20  Kevin Ryde  <user42@zip.com.au>
11144         * progmodes/compile.el (compilation-error-regexp-alist-alist):
11145         In `watcom' anchor regexp to start of line, to avoid slowness
11146         (Bug#5599).
11148 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
11150         * subr.el (remove-yank-excluded-properties): Explain in a comment
11151         why `category' property is removed.
11153 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
11155         * isearch.el (isearch-update-post-hook, isearch-update):
11156         Revert 2010-02-17 change.
11158 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
11160         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
11161         (icalendar--convert-weekly-to-ical)
11162         (icalendar--convert-yearly-to-ical)
11163         (icalendar--convert-block-to-ical)
11164         (icalendar--convert-cyclic-to-ical)
11165         (icalendar--convert-anniversary-to-ical): Take care of time
11166         specifications where hour has 1-digit only (Bug#5549).
11168 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
11170         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
11171         of disassemble output in GDB 7.1.
11173 2010-02-19  Glenn Morris  <rgm@gnu.org>
11175         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
11176         property.  (Bug#5593)
11178 2010-02-18  Sam Steingold  <sds@gnu.org>
11180         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
11182 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11184         Use abbreviated file names in bookmarks (bug#5591).
11185         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
11186         calls to expand-file-name.
11187         (bookmark-relocate): Use abbreviated file names in bookmarks.
11188         (bookmark-load): Use abbreviated file names in messages.
11190 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
11192         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
11193         expand "." and "..".  Reported by Thierry Volpiatto
11194         <thierry.volpiatto@gmail.com>.
11196 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
11198         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
11199         permissions of the temporary file to "0600".  In case the remote
11200         file has no read permissions for the owner, there might be
11201         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
11203 22010-02-18  Glenn Morris  <rgm@gnu.org>
11205         * emacs-lisp/authors.el (authors-renamed-files-alist):
11206         Add entries for INSTALL.CVS.
11208 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
11210         * vc-bzr.el: Fix typo in Known Bugs section.
11212         * isearch.el (isearch-update-post-hook): New hook.
11213         (isearch-update): Use the new hook.
11215 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
11217         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
11218         Fix errors in copying directories.
11219         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
11220         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
11221         (tramp-handle-delete-file)
11222         (tramp-handle-dired-recursive-delete-directory)
11223         (tramp-handle-write-region): Flush also the cache for the upper
11224         directory.
11226 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
11228         * simple.el (save-interprogram-paste-before-kill): Doc fix.
11230         * cus-edit.el (hardware): Doc fix.
11232         * man.el (man): Add to external custom group.
11234         * delim-col.el (columns): Move to wp custom group.
11236         * doc-view.el (doc-view): Add to data custom group.
11238         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
11240         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
11241         by ispell-parse-output (Bug#5575).
11243 2010-02-16  Kenichi Handa  <handa@m17n.org>
11245         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
11246         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
11247         (skkdic-convert): Use `euc-japan' coding system for writing.
11249 2010-02-16  Glenn Morris  <rgm@gnu.org>
11251         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
11252         tex-main-file before using it.  (Bug#5562)
11254 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11256         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
11257         warnings, since it is annoying for the user to see them each time he
11258         runs the code.
11260 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
11262         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
11263         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
11264         instead of PROC for caching "first-password-request".  Otherwise,
11265         new processes would not profit from passwords already entered.
11267         * net/tramp-cache.el (tramp-dump-connection-properties):
11268         Don't save "first-password-request" property.
11270 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
11272         * outline.el (outline-head-from-level):
11273         * simple.el (with-wrapper-hook):
11274         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
11275         (elint-defun, elint-buffer-env, elint-top-form-logged)
11276         (elint-unbound-variable):
11277         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
11278         Fix typos in docstrings.
11280 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
11282         * files.el (insert-directory): When WILDCARD-REGEXP and
11283         FULL-DIRECTORY-P are nil, insert the file entry instead of the
11284         whole directory.  (Bug#5551)
11286         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
11287         dired's alignment sanity.  (Bug#5516)
11289 2010-02-14  Juri Linkov  <juri@jurta.org>
11291         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
11292         Remove remaining ^H with their preceding chars.  (Bug#5566)
11294 2010-02-13  Glenn Morris  <rgm@gnu.org>
11296         * simple.el (transpose-subr): Give it a doc-string.
11298         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
11299         Doc fixes.
11301 2010-02-12  Juri Linkov  <juri@jurta.org>
11303         * arc-mode.el (archive-unique-fname): Make directories for nested
11304         archives.  (Bug#5540)
11306 2010-02-12  Juri Linkov  <juri@jurta.org>
11308         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
11310 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11312         * subr.el (copy-overlay): Handle deleted overlays.
11314         * man.el (Man-completion-table): Don't signal an error if we can't run
11315         manual-program (bug#4056).
11317 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
11319         * textmodes/artist.el (artist-mt): Fix typos in docstring.
11321 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11323         * info.el (Info-bookmark-jump): Simplify.
11325         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
11326         (bookmark-default-handler): Accept new bookmark field `buffer'.
11328 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
11330         * iswitchb.el (iswitchb-completions): Revert last change.
11332 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
11334         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
11335         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
11336         This prevents file names like "~/" being listed literally.
11338 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
11340         * term/xterm.el (xterm-maybe-set-dark-background-mode):
11341         Remove dead code.  (Bug#5546)
11343 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
11345         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
11346         correctly (Bug#5548).
11348 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
11350         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
11351         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
11353 2010-02-08  Kenichi Handa  <handa@m17n.org>
11355         * international/mule-util.el (with-coding-priority): Add autoload
11356         cookie for putting `lisp-indent-function'.
11358 2010-02-07  Glenn Morris  <rgm@gnu.org>
11360         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
11361         Move F2003 named interfaces from keywords-2 to keywords-1, and
11362         use function-name-face rather than constant-face.
11363         Simplify "abstract interface" regexp.
11365 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
11367         * eshell/esh-util.el (eshell-file-attributes): New optional arg
11368         ID-FORMAT.  Pass it to `file-attributes'.
11370         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
11372 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
11374         * faces.el (set-face-attribute): Allow calling
11375         internal-set-lisp-face-attribute with 'unspecified family and
11376         foundry argument (Bug#5536).
11378 2010-02-07  Glenn Morris  <rgm@gnu.org>
11380         * progmodes/f90.el (f90-font-lock-keywords-2)
11381         (f90-looking-at-type-like, f90-looking-at-program-block-end):
11382         Handle F2003 named interfaces.
11384 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
11386         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
11387         beg and end before calling c-get-state-before-change-functions.
11389 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
11391         * vc-bzr.el (vc-bzr-dir-extra-headers):
11392         Disable the pending merges header.
11394 2010-02-05  Juri Linkov  <juri@jurta.org>
11396         * doc-view.el (doc-view-mode):
11397         * image-mode.el (image-mode): Put property mode-class=special.
11398         (Bug#4896)
11400 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
11402         * vc-svn.el (vc-svn-revision-table): New function.
11404 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
11406         * net/ange-ftp.el (ange-ftp-insert-directory):
11407         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11408         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11409         Handle also directories.  (Bug#5478)
11411 2010-02-05  Glenn Morris  <rgm@gnu.org>
11413         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
11415 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
11417         * startup.el (command-line-1): Convert options beginning with a
11418         single dash as well (Bug#5519).
11420 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11422         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
11423         * minibuffer.el (completion-initials-expand): Only check the presence
11424         of delims *within* the boundaries, since otherwise the / delim is
11425         always found for files.
11427         Fix up various corner case problems.
11428         * doc-view.el (doc-view-last-page-number): New function.
11429         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
11430         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
11431         (doc-view-kill-proc): Avoid inf-loop in freak cases.
11432         (doc-view-reconvert-doc): Use the new recursive delete-directory.
11433         (doc-view-convert-current-doc): Don't create the resolution.el file
11434         here any more.
11435         (doc-view-pdf/ps->png): Do it here instead.
11436         (doc-view-already-converted-p): Check that resolution.el is present.
11437         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
11438         windows that are not yet showing images.
11440 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
11442         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
11443         `dired-uncache' for every elemnt which is an absolute file name.
11445         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
11446         directory, handle its directory component.
11447         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
11448         function is called permanently and creates noise, otherwise.
11450         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11451         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11452         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
11454 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
11456         * macros.el (apply-macro-to-region-lines):
11457         Minor simplification.  (Bug#5485)
11459 2010-02-04  Glenn Morris  <rgm@gnu.org>
11461         * mail/rmail.el (rmail-show-message-1): Handle malformed
11462         quoted-printable text.  (Bug#5441)
11464         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
11466         * simple.el (visual-line-mode): Capitalize lighter.
11468 2010-02-03  John Wiegley  <jwiegley@gmail.com>
11470         * iswitchb.el (iswitchb-completions): Add bookmark files to the
11471         list of files considered for "virtual buffer" completions.
11473 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
11475         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
11476         also in case of (and (not full) (not wildcard)).  This is needed
11477         when dired is called with a list of files, which are not in
11478         `default-directory'.  (Bug#5478)
11480 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11482         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
11484 2010-02-02  Juri Linkov  <juri@jurta.org>
11486         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
11487         from unidiff to allow function-line after @@.
11489 2010-02-02  Juri Linkov  <juri@jurta.org>
11491         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
11492         '(RCS SCCS) with inverted condition.
11494 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
11496         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
11497         messages.
11499 2010-02-01  Juri Linkov  <juri@jurta.org>
11501         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
11502         compare with "pkunzip" and "pkzip" instead of only "pkzip".
11503         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
11504         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
11506 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11508         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
11509         (doc-view-revert-buffer): New command.
11510         (doc-view-mode-map): Use it.
11512 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
11514         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
11515         pending merge is detected.
11517 2010-01-31  Juri Linkov  <juri@jurta.org>
11519         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
11520         beginning of interactive spec like all other grep commands do.
11521         Put "all" in front of "gz".  (Bug#5260)
11523 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
11525         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
11527 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
11529         * dirtrack.el (dirtrack): Warn instead of signalling error if the
11530         regexp is incorrect (Bug#5476).
11532 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
11534         * net/tramp.el (tramp-handle-insert-directory): Handle also
11535         symlinks, when FILENAME is not in `default-directory'.
11537 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
11539         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
11540         FILE is not in `default-directory'.  (Bug#5478)
11542         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
11543         of SWITCHES.  Handle the case, FILENAME is not in
11544         `default-directory'.  (Bug#5478)
11545         (tramp-register-file-name-handlers): Add safe-magic property.
11547 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
11549         * arc-mode.el (archive-zip-extract): Quote the argument passed to
11550         unzip (Bug#5475).
11552 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
11554         * progmodes/flymake.el (flymake-allowed-file-name-masks)
11555         (flymake-master-make-header-init): Add other C++ filename masks.
11556         (flymake-find-possible-master-files)
11557         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
11559 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
11561         Fix some busybox annoyances.
11563         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
11564         not responding." string.
11565         (tramp-open-connection-setup-interactive-shell): Dump stty
11566         settings.  Enable "neveropen" arg for all `tramp-send-command'
11567         calls.  Handle "=" in variable values properly.
11568         (tramp-find-inline-encoding): Raise an error, when no encoding is
11569         found.
11570         (tramp-wait-for-output): Check, whether PROC buffer is available.
11571         Remove spurious " ^H" sequences, sent by busybox.
11572         (tramp-get-ls-command): Suppress coloring, if possible.
11574 2010-01-28  Glenn Morris  <rgm@gnu.org>
11576         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
11578         * log-edit.el (log-edit-strip-single-file-name): Add missing
11579         :safe, :group, and :version tags.
11581 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
11583         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
11584         buffers.  (Bug#5477)
11586 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
11588         * files.el (delete-directory): Handle moving to trash without
11589         first doing recursion (Bug#5436).
11591 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
11593         * vc-hooks.el (vc-path): Mark as obsolete.
11595 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
11597         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
11598         names too.
11600         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
11601         for the short log.
11602         (vc-bzr-log-view-mode): Adjust regexp for the above change.
11604 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
11606         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
11608         * vc-bzr.el (vc-bzr-revision-table): New function.
11610 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>
11612         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
11613         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
11615 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
11617         Remove support for adding --signoff on commit.
11618         Future support will use an incompatible generic mechanism.
11619         * vc-git.el (vc-git-add-signoff): Remove variable.
11620         (vc-git-toggle-signoff): Remove function.
11621         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
11623         * term/xterm.el (xterm-maybe-set-dark-background-mode):
11624         Rename from xterm-set-background-mode.  Return t if the background mode
11625         was set.
11626         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
11627         earlier, call it again in case the background mode has changed.
11629 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
11631         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
11632         (Bug#3541).
11634 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
11636         * emacs-lisp/assoc.el (aelement): Doc fix.
11637         (aput, adelete, amake): Use lexical-let (Bug#5450).
11639 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
11641         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
11642         is the same as subprogram call, not declaration.  (Bug#5435).
11644 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
11646         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
11647         (tramp-smb-maybe-open-connection): Use it.
11649 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
11651         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
11653 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11655         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
11656         just because we see "encoding: 8bit".
11657         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
11659 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
11661         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
11663 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
11665         * jka-compr.el (jka-compr-load): If load-file is not in
11666         load-history, try its file-truename version.  (bug#5447)
11668 2010-01-21  Alan Mackenzie  <acm@muc.de>
11670         Fix a situation where deletion of a cpp construct throws an error.
11671         * progmodes/cc-engine.el (c-invalidate-state-cache):
11672         Before invoking c-with-all-but-one-cpps-commented-out, check that the
11673         special cpp construct is still in the buffer.
11674         (c-parse-state): Record the special cpp with markers, not numbers.
11676 2010-01-21  Kenichi Handa  <handa@m17n.org>
11678         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
11679         process last-command-event, as it is now decoded first (Bug#5380).
11681 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
11683         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
11685 2010-01-20  Glenn Morris  <rgm@gnu.org>
11687         * indent.el (tab-always-indent): Fix custom-type.
11689 2010-01-19  Alan Mackenzie  <acm@muc.de>
11691         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
11692         buffer throws "args out of range".
11693         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
11694         playing the role of delimiter.
11696 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
11698         * progmodes/ada-mode.el: Fix bug#5400.
11699         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
11700         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
11701         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
11702         Improve comments in "is" portion.  Handle null procedure declaration.
11703         (ada-move-to-end): Improve doc string.
11705 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
11707         * ido.el (ido-cur-list): Initialize to nil.
11708         Remove obsolete information from commentary.
11709         (ido-choice-list): Initialize to nil.
11710         (ido-get-bufname): Reject minibuffers.
11711         (ido-make-buffer-list): If "default" is a nonexistent
11712         buffer, ignore it, as per the function's comment.
11713         (ido-kill-buffer-internal): New function.
11714         (ido-kill-buffer-at-head): Use it.
11715         (ido-visit-buffer): Likewise.
11717 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
11719         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
11721 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
11723         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
11724         Fix typos in chart titles.
11726         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
11727         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
11728         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
11729         (describe-class, eieio-describe-generic, describe-generic):
11730         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
11731         (eieio-speedbar-expand):
11732         * emulation/viper-cmd.el (viper-exec-form-in-vi)
11733         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
11734         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
11735         (viper-del-backward-char-in-replace, viper-backward-indent)
11736         (viper-brac-function, viper-register-to-point, viper-submit-report):
11737         * net/tramp.el (tramp-remote-coding-commands):
11738         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
11739         Fix typos in docstrings.
11741 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
11743         * mail/sendmail.el (mail-yank-original): Set the mark if the
11744         specified function for yanking does not do it.
11746 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
11748         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
11750         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
11751         resyncing a directory.
11753 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
11755         * progmodes/ada-mode.el: Fix bug#1920.
11756         (ada-ident-re): Delete ., allow multibyte characters.
11757         (ada-goto-label-re): New; matches goto labels.
11758         (ada-block-label-re): New; matches block labels.
11759         (ada-label-re): New; matches both.
11760         (ada-named-block-re): Deleted; callers changed to use
11761         `ada-block-label-re' instead.
11762         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
11763         Use `ada-block-label-re'.
11764         (ada-indent-on-previous-lines): Improve handling of goto labels.
11765         (ada-get-indent-block-start): Special-case block label.
11766         (ada-get-indent-label): Split into `ada-indent-block-label' and
11767         `ada-indent-goto-label'.
11768         (ada-goto-stmt-start, ada-goto-next-non-ws):
11769         Optionally ignore goto labels.
11770         (ada-goto-next-word): Simplify.
11771         (ada-indent-newline-indent-conditional): Insert newline before
11772         trying to fix indentation; doc fix.
11774 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
11776         * calc/calc.el (calc-command-flags): Give it an initial value.
11778 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
11780         * files.el (minibuffer-with-setup-hook):
11781         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
11782         (artist-key-draw-continously, artist-key-do-continously-continously)
11783         (artist-key-set-point-continously, artist-mouse-draw-continously):
11784         Fix typos in docstrings.
11786 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
11788         * nxml/nxml-mode.el (nxml-extend-after-change-region):
11789         Never return t (Bug#3898).
11791 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
11793         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
11794         can parse the output of the external commands (Bug#5279).
11796 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
11798         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
11800 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
11802         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
11804         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
11806         * startup.el (command-line): Remove unused --icon-type arg.
11807         Handle --display arg, passing it to command-line-1 (Bug#5392).
11809 2010-01-16  Mario Lang  <mlang@delysid.org>
11811         * emacs-lisp/chart.el (chart-translate-namezone):
11812         * textmodes/artist.el (artist-compute-popup-menu-table):
11813         Remove duplicated words in doc-strings.
11815 2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)
11817         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
11818         to mairix-search to suppress threading (Bug#5342).
11820 2010-01-15  Kenichi Handa  <handa@m17n.org>
11822         * international/mule-cmds.el (canonicalize-coding-system-name):
11823         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
11825 2010-01-15  Glenn Morris  <rgm@gnu.org>
11827         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
11829         * wid-edit.el (widget-keymap): Doc fix.
11831         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
11832         former seems to be more widely accepted by various svn versions.
11834 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
11836         * find-cmd.el (find-constituents):
11837         * vc-arch.el (vc-arch-root):
11838         * window.el (window-body-height, pop-up-frames):
11839         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
11840         * progmodes/ada-stmt.el (ada-if):
11841         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
11842         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
11843         (ispell-encoding8-command, ispell-aspell-supports-utf8)
11844         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
11846         * progmodes/flymake.el (flymake-post-syntax-check):
11847         Fix typo in error message.
11849 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
11851         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
11852         which is always a string.  (Bug#5313)
11854 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
11856         * progmodes/ada-xref.el (ada-default-prj-properties):
11857         Simplify previous change.
11859 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
11861         * progmodes/ada-xref.el (ada-default-prj-properties):
11862         Default ada_project_path to $ADA_PROJECT_PATH.
11864 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
11866         * progmodes/ada-mode.el (ada-create-keymap):
11867         Override `narrow-to-defun' with `ada-narrow-to-defun'.
11869 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
11871         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
11872         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
11873         (ada-get-current-indent, ada-imenu-generic-expression)
11874         (ada-which-function): Check for it.
11876 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
11878         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
11879         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
11881 2010-01-14  Glenn Morris  <rgm@gnu.org>
11883         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
11885 2010-01-14  Kenichi Handa  <handa@m17n.org>
11887         * composite.el (auto-composition-mode): Make it a buffer local
11888         variable (permanent-local).
11889         (auto-composition-function): Set the default value to
11890         auto-compose-chars.
11891         (auto-composition-mode): Make it a simple function, not a minor mode.
11892         (global-auto-composition-mode): Likewise.
11893         (turn-on-auto-composition-if-enabled): Delete it.
11895 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
11897         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
11899 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
11901         * files.el (copy-directory): Compute target for recursive
11902         directories with identical names.  (Bug#5343)
11904 2010-01-12  Glenn Morris  <rgm@gnu.org>
11906         * mail/emacsbug.el (report-emacs-bug-pretest-address):
11907         Set it to bug-gnu-emacs rather than emacs-pretest-bug.
11909 2010-01-11  Sam Steingold  <sds@gnu.org>
11911         * imenu.el (imenu-default-create-index-function): Detect infinite
11912         loops caused by imenu-prev-index-position-function.
11914 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
11916         * htmlfontify.el (htmlfontify-load-rgb-file)
11917         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
11918         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
11919         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
11920         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
11921         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
11922         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
11923         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
11924         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
11925         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
11926         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
11927         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
11928         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
11929         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
11930         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
11931         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
11932         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
11933         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
11934         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
11935         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
11936         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
11937         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
11938         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
11939         backslash-quoting from parentheses, etc.
11941 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
11943         * progmodes/js.el: Autoload javascript-mode alias.
11945 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
11947         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
11948         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
11949         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
11950         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
11951         Fix typos in docstrings.
11952         (ffap-url-regexp): Doc fix.
11953         (ffap-at-mouse): Fix typo in message.
11955 2010-01-11  Glenn Morris  <rgm@gnu.org>
11957         * version.el (emacs-copyright): Set copyright year to 2010.
11959 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
11961         * format.el (format-annotate-function): Only set
11962         write-region-post-annotation-function after running to-fn so as not to
11963         affect nested write-region calls (bug#5273).
11965 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
11967         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
11968         wisent/python.el.
11970 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
11972         * man.el (Man-goto-section): Signal error if the section is not
11973         found (Bug#5317).
11975 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
11977         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
11978         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
11980 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
11982         * progmodes/compile.el: Don't treat compile-command as safe if
11983         compilation-read-command might be nil (Bug#4218).
11985 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
11987         * startup.el (command-line-1): Use orig-argi to check for ignored X and
11988         NS options.
11990 2010-01-08  Kenichi Handa  <handa@m17n.org>
11992         * international/fontset.el (build-default-fontset-data):
11993         Exclude characters in scripts kana, hangul, han, or cjk-misc.
11995 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
11997         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
11998         to `create-file-buffer' as it expects, not just a buffer name.
11999         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
12000         to help uniquify.  (Bug#3224)
12002 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
12004         * font-setting.el (font-setting-change-default-font): Use user-spec
12005         instead of name.
12007 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
12009         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
12011 2010-01-05  Tom Tromey  <tromey@redhat.com>
12013         * progmodes/python.el (python-font-lock-keywords):
12014         Handle qualified decorators (Bug#881).
12016 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
12018         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
12019         in a lightweight checkout.
12021 2010-01-05  Kenichi Handa  <handa@m17n.org>
12023         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
12025 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
12027         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
12029 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
12031         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
12032         checkouts.  (Bug#618)
12033         (vc-bzr-log-view-mode): Also highlight the author.
12034         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
12035         (vc-bzr-shelve-menu-map):
12036         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
12037         (vc-bzr-shelve-apply): Make prompt more explicit.
12039 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
12041         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
12042         They are valid characters in URL paths (rfc3986), and at least
12043         Firefox does not understand the encoded version (Bug#3166).
12045 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
12047         * progmodes/octave-mod.el (octave-end-keywords)
12048         (octave-block-begin-or-end-regexp, octave-block-match-alist):
12049         Add "end" keyword (Bug#3061).
12050         (octave-end-as-array-index-p): New function.
12051         (calculate-octave-indent): Use it.
12053 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12055         * bookmark.el: Consistently put the text property on the bookmark name.
12056         (bookmark-bmenu-marks-width): Bump back to 2, to include
12057         annotation marks.
12058         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
12059         property on the bookmark name, instead of not putting it at all.
12060         (bookmark-bmenu-list): Fix where we put the text property.
12062 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12064         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
12065         for showing buffer modified state (as added in the previous change).
12067 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12069         * bookmark.el: Show modified state of bookmark buffer more accurately.
12070         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
12071         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
12072         (with-buffer-modified-unmodified): New macro.
12073         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
12074         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
12075         Use new macro to preserve the buffer modified state.
12077 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12079         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
12080         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
12081         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
12082         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
12083         (bookmark-bmenu-rename, bookmark-bmenu-locate)
12084         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
12085         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
12087 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
12089         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12090         Make the lines in the generated doc string shorter.  (Bug#4668)
12092 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
12094         * net/rcirc.el: Add follow-link binding (Bug#4738).
12096 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
12098         * Makefile.in (bzr-update): Rename from cvs-update.
12099         (cvs-update): New target for backward compatibility.
12101         * makefile.w32-in (bzr-update): Rename from cvs-update.
12102         (cvs-update): New target for backward compatibility.
12104 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12106         * bookmark.el: Remove gratuitous gratitude.
12108 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12110         * bookmark.el (bookmark-bmenu-any-marks): New function.
12111         (bookmark-bmenu-save): Clear buffer modification if no marks.
12113 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12115         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
12116         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
12117         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
12118         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
12120         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
12121         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
12122         To: emacs-devel {_AT_} gnu.org
12123         Subject: bookmark.el bug report
12124         Date: Mon, 28 Dec 2009 14:19:16 +0800
12125         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
12127 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12129         * bookmark.el: Improvements suggested by Drew Adams:
12130         (bookmark-bmenu-ensure-position): New name for
12131         `bookmark-bmenu-check-position'.  Just ensure the position,
12132         don't return any meaningful value.
12133         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
12134         New constants.
12136 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
12138         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
12139         (bookmark-yank-point, bookmark-bmenu-check-position):
12140         Fix typos in docstrings.
12141         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
12142         (bookmark-name-from-full-record, bookmark-get-position)
12143         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
12144         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
12145         Remove useless quoting of parenthesis, etc. in docstrings.
12147         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
12148         (ediff-append-custom-diff): Fix typo in error message.
12149         (ediff-meta-mark-equal-files): Fix typos in messages.
12151         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
12153         * net/imap-hash.el (imap-hash-make): Doc fix.
12154         (imap-hash-test): Fix typo in error message; reflow docstring.
12155         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
12156         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
12157         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
12158         Fix typos in docstrings.
12159         (imap-hash-open-connection): Fix typo in error message.
12161         * play/gomoku.el (gomoku): Fix typos in docstring.
12163         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
12164         (gdb-jsonify-buffer): Fix typos in docstring.
12165         (gdb-goto-breakpoint): Fix typo in error message.
12166         ("Display Other Windows"): Fix typo in help message.
12167         (gdb-speedbar-expand-node): Fix typo in question.
12169         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
12170         (idlwave-html-system-help-location, idlwave-html-help-location)
12171         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
12172         (idlwave-help-browser-generic-args, idlwave-help-directory)
12173         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
12174         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
12175         (idlwave-online-help, idlwave-help-html-link)
12176         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
12177         Fix typos in docstrings.
12178         (idlwave-help-with-source, idlwave-help-find-routine-definition):
12179         Reflow docstrings.
12180         (idlwave-help-assistant-start): Fix typo in error message.
12182         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
12183         (octave-electric-space): Fix typos in docstrings.
12185 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
12187         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
12189 2010-01-01  Juri Linkov  <juri@jurta.org>
12191         * comint.el (comint-input-ring-size): Make it a defcustom and
12192         increase the default to 500 (Bug#5148).
12194 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
12196         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
12197         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
12198         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
12200 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
12202         Show working revision correctly for mercurial.
12203         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
12204         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
12206 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
12208         Declare some functions for the byte-compiler.
12209         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
12210         (speedbar-timer-fn, speedbar-change-expand-button-char)
12211         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
12213 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
12215         This changeset reverts GDB Graphical Interface to use annotations.
12216         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
12218 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
12220         Make vc-dir work on subdirectories of the bzr root.
12221         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
12222         Return file names relative to it.
12223         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
12224         relative directory to vc-bzr-after-dir-status.
12226 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
12228         * font-lock.el (font-lock-refresh-defaults): New function, which
12229         can be used to let font-lock react to external changes in
12230         variables like font-lock-defaults and keywords.
12231         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
12233 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
12235         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
12237         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
12239 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
12241         Supersede color.diff settings in git log (bug#5211).
12243         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
12244         escape chars in its output when the user has color.diff set to `always'.
12245         This fix works on git 1.4.2 and newer (released on 2006-08-13).
12247 2009-12-26  Kevin Ryde  <user42@zip.com.au>
12249         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
12250         node.  Keep previous "Index" name to work with past coreutils too.
12252         * man.el (man): Revise docstring a bit to show -a and -l as
12253         examples.  Add -k description since support for it has otherwise
12254         been a secret.  (Further to bug#3717.)
12255         (Man-bgproc-sentinel): When "-k foo" produces no output show error
12256         "no matches" rather than "Can't find manpage", as the latter reads
12257         like -k was interpreted as a page name, which is not so.  (Bug#5431)
12259 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
12261         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
12262         switches.  Check also for //SUBDIRED// line.
12264 2009-12-25  Kenichi Handa  <handa@m17n.org>
12266         * language/indian.el (devanagari-composable-pattern): Fix to
12267         handle ZWNJ and ZWJ.  Use it in composition-function-table for
12268         Devanagari.
12269         (malayalam-composable-pattern): Fix previous change.
12271 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
12273         * ps-print.el (ps-face-attributes): It was not returning the
12274         attribute face for faces specified as string.  Reported by harven
12275         <harven@free.fr>.  (Bug#5254)
12276         (ps-print-version): New version 7.3.5.
12278 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
12280         * calendar/icalendar.el (icalendar--convert-tz-offset):
12281         Fix timezone names.
12282         (icalendar--convert-tz-offset): Fix the "last-day-problem".
12283         (icalendar--add-diary-entry): Remove the trailing blank that
12284         diary-make-entry inserts.
12286 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
12288         Make `file-expand-wildcards' work for remote files.
12290         * files.el (file-expand-wildcards): In case of remote files, check
12291         only local file name part for wildcards.  Provide feature 'files
12292         and subfeature 'remote-wildcards.  (Bug#5198)
12294         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
12295         if there is already an established connection.
12296         (tramp-advice-file-expand-wildcards): Remove it.
12298         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
12299         (tramp-advice-file-expand-wildcards): Move from tramp.el.
12300         Activate advice for older GNU Emacs versions.  (Bug#5237)
12302 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
12304         Some doc fixes (more needed).
12306         * find-cmd.el (find-constituents): Reflow docstring.
12307         (find-cmd, find-prune, find-command): Fix typos in docstrings.
12308         (find-generic): Doc fix.
12310 2009-12-17  Juri Linkov  <juri@jurta.org>
12312         Fix regression from 23.1 to allow multiple modes in Local Variables.
12314         * files.el (hack-local-variables-filter): While ignoring duplicates,
12315         don't take `mode' into account.
12316         (hack-local-variables-filter, hack-dir-local-variables):
12317         Don't remove duplicate `mode' from local-variables-alist (like `eval').
12319 2009-12-17  Juri Linkov  <juri@jurta.org>
12321         Make `dired-diff' safer.  (Bug#5225)
12323         * dired-aux.el (dired-diff): Signal an error when `file' equals to
12324         `current' or when `file' is a directory of the `current' file.
12326 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
12328         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
12329         unconditionally preloaded files.
12331 2009-12-16  Juri Linkov  <juri@jurta.org>
12333         Revert to old 23.1 logic of using the file at the mark as default.
12334         * dired-aux.el (dired-diff): Use the file at the mark as default
12335         if it's not the same as the current file, and the target dir is
12336         the current dir or the mark is active.  Add the current file
12337         as the arg of `dired-dwim-target-defaults'.  Use the default file
12338         in the prompt.  (Bug#5225)
12340 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
12342         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
12343         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
12344         (tramp-check-for-regexp): Check also, when an echoing shell stops
12345         to echo sent commands.
12347 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
12349         * Makefile.in: Revert last change (Bug#5191).
12351 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
12353         * vc-hg.el (vc-hg-print-log): Fix argument order.
12354         (vc-hg-working-revision): Make sure the command is executed in a
12355         known environment so that we can parse the output.  (Bug#4417)
12357 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
12359         * progmodes/python.el (python-symbol-completions): Remove text
12360         properties from symbol string before calling python-send-receive.
12362 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
12364         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
12365         when there are values for both file and line.  (Bug#5060)
12367 2009-12-14  Juri Linkov  <juri@jurta.org>
12369         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
12370         whitespace after the file name of the first line of unified format,
12371         because git-diff doesn't output whitespace and file modification time
12372         after the file name.
12374 2009-12-14  David Kastrup  <dak@gnu.org>
12376         * info.el (Info-hide-cookies-node): Before hiding a cookie,
12377         check if it already has the `display' property added by
12378         `Info-display-images-node', and not put the `invisible' property
12379         in this case.
12381 2009-12-13  Glenn Morris  <rgm@gnu.org>
12383         * mail/emacsbug.el (message-sort-headers): Define for compiler.
12384         (report-emacs-bug): In message-mode, sort manually before storing
12385         original report text.  (Bug#5178)
12386         Remove superfluous save-excursion.
12388 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
12390         * net/dbus.el (dbus-property-handler): Filter lambda forms out
12391         when responding to "GetAll" properties.
12393 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
12395         * simple.el (compose-mail): Remove mail-setup-with-from from
12396         customization checks.
12398 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
12400         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
12401         RAR archives created on Unix systems.
12403 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12405         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
12406         the varalias that was accidentally removed by the 2009-11-19 change
12407         (bug#5186).
12409 2009-12-12  Kenichi Handa  <handa@m17n.org>
12411         * language/indian.el (indian-compose-regexp): New function.
12412         (malayalam-composable-pattern): Fix the pattern.
12413         (composition-function-table): Set malayalam-composable-pattern for
12414         Malayalam characters.
12416 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
12418         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
12419         rather than down-mouse-1, based on follow-link conventions.
12421         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
12422         are compiled.
12424 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
12426         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
12427         (verilog-vmm-statement-re, verilog-ovm-statement-re)
12428         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
12429         (verilog-leap-to-head, verilog-backward-token):
12430         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
12432 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
12434         * progmodes/verilog-mode.el (verilog-auto-lineup)
12435         (verilog-nameable-item-re): Cleanup user-visible spelling and
12436         documentation errors.  One reported by Gary Delp.
12437         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
12438         (verilog-read-decls): Fix AUTOWIRE with types declared in a
12439         package, bug195.  Reported by Pierre-David Pfister.
12441 2009-12-11  Glenn Morris  <rgm@gnu.org>
12443         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
12445         * mail/emacsbug.el: No longer require sendmail.
12446         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
12447         (report-emacs-bug-orig-text): Doc fix.
12448         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
12449         New local variables, to adapt to different mail-user-agents.
12450         (report-emacs-bug): Fix test for a gnu.org address.
12451         Use overlays for emphasis, since font-lock defeats 'face property.
12452         Pretest bugs also end up at the newsgroup these days.
12453         Stop message-mode stripping text properties.
12454         Set and use the new buffer-local variables.
12455         (report-emacs-bug-hook): Add doc-string.
12456         Remove some unnecessary save-excursions and simplify.
12457         Use the appropriate hook and send-command.
12459         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
12460         capitalization of some menu entries.
12462 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
12464         * whitespace.el (whitespace-display-char-on):
12465         Ensure `buffer-display-table' is unique when two or more windows are
12466         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
12467         New version 12.1.
12469 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
12471         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
12472         characters in the Attribute field.
12474 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
12476         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
12478 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
12480         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
12481         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12482         Disregard autoload-excludes.
12483         (update-directory-autoloads): Obey autoload-excludes here instead.
12484         But don't store its contents in no-autoloads and remove entries that
12485         refer to excludes files.
12487 2009-12-10  Glenn Morris  <rgm@gnu.org>
12489         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
12490         (expand-mail-aliases): Define for compiler.
12492         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
12493         Define for compiler.
12495         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
12496         appropriate for the mail-user-agent in use.
12498 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
12500         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
12502 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
12504         Fix short log parsing and fontification.
12505         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
12506         Fix fontification for the [merge] label.
12508 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
12510         Drop some properties to avoid surprises (bug#5002).
12511         * htmlfontify.el (hfy-ignored-properties): New defcustom.
12512         (hfy-fontify-buffer): Use it.
12514 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
12516         Minor cleanup.
12517         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
12518         Adjust all callers.
12519         (ffap-locate-file): Remove unused arg `dir-ok' and make other
12520         args compulsory.  Adjust callers.
12521         (ffap-gopher-at-point): Remove unused var `name'.
12523         Get rid of the ELCFILES abomination.
12524         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12525         (compile-elcfiles): New phony target.
12526         (compile-main): Compute ELCFILES dynamically.
12527         (compile-clean): New target to remove left-over elc files.
12528         (compile, all): Use it.
12530 2009-12-09  Kenichi Handa  <handa@etlken>
12532         * international/mule-diag.el: Require help-mode instead of help-fns.
12534 2009-12-09  Kenichi Handa  <handa@m17n.org>
12536         * international/mule-cmds.el (ucs-names): Supply sufficiently
12537         fine ranges instead of pre-calculating accurate ranges.
12538         Iterate with bigger gc-cons-threshold.
12540 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
12542         Add support for stashing a snapshot of the current tree.
12543         * vc-git.el (vc-git-stash-snapshot): New function.
12544         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
12546 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
12548         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
12549         instead of `(beginning|end)-of-line'.
12551 2009-12-08  Glenn Morris  <rgm@gnu.org>
12553         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
12555         * Makefile.in (ELCFILES): Regenerate.
12557 2009-12-07  Juri Linkov  <juri@jurta.org>
12559         Don't lazy-highlight the comint output in history Isearch mode.
12561         * comint.el (comint-history-isearch-search): Instead of
12562         `comint-line-beginning-position', use `comint-after-pmark-p'
12563         to check if point if before the process mark, and go to
12564         `process-mark' in this case.
12566 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
12568         * textmodes/tex-mode.el (latex-complete)
12569         (latex-indent-or-complete): Remove.
12570         (latex-mode): Set completion-at-point-functions instead.
12572         Provide a standard completion command and hook it into TAB.
12573         * minibuffer.el (completion-at-point-functions): New var.
12574         (completion-at-point): New command.
12575         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
12576         * progmodes/python.el (python-mode-map): Use completion-at-point.
12577         (python-completion-at-point): Rename from python-partial-symbol and
12578         adjust for use in completion-at-point-functions.
12579         (python-mode): Setup completion-at-point for Python completion.
12580         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
12581         extracted from lisp-complete-symbol.
12582         (lisp-complete-symbol): Use it.
12583         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
12584         setup completion-at-point for Elisp completion.
12585         (emacs-lisp-mode-map, lisp-interaction-mode-map):
12586         Use completion-at-point.
12587         * ielm.el (ielm-map): Use completion-at-point.
12588         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
12589         * progmodes/sym-comp.el: Move to...
12590         * obsolete/sym-comp.el: Move from progmodes.
12592 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
12594         Prevent save-buffer in Rmail buffers from using the coding-system
12595         of the current message, and from clobbering the encoding mnemonics
12596         in the mode line (Bug#4623).
12598         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
12599         flag, too.
12600         (rmail-message-encoding): New variable.
12601         (rmail-write-region-annotate): Record the encoding of the current
12602         message in rmail-message-encoding.
12603         (rmail-after-save-hook): New function, restores the encoding of
12604         the current message after the message collection is saved.
12606 2009-12-07  Juri Linkov  <juri@jurta.org>
12608         * progmodes/grep.el (grep-read-files): Use `completing-read'
12609         instead of `read-string'.  Set its `collection' arg to
12610         `read-file-name-internal'.  (Bug#4301)
12612 2009-12-07  Juri Linkov  <juri@jurta.org>
12614         Correctly restore original Isearch point.  (Bug#4994)
12616         * isearch.el (isearch-mode): Move `isearch-push-state' after
12617         `(run-hooks 'isearch-mode-hook)'.
12618         (isearch-cancel): When `isearch-push-state-function' is defined,
12619         let-bind `isearch-cmds' to the first state (the last element of
12620         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
12621         function and restores the original point).  Otherwise, move point
12622         to `isearch-opoint'.
12624 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
12626         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
12627         chars that don't have names, so the table can be built much faster at
12628         run-time.
12630 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
12632         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
12633         change.  Suggested by David Kastrup.
12635         * simple.el (compose-mail): Check for incompatibilities and warn.
12636         (compose-mail-user-agent-warnings): New option.
12638 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
12640         Support showing a single log entry from vc-annotate.
12641         * vc.el (print-log): Add a new argument: START-REVISION.
12642         (vc-print-log-internal): Add a new optional argument and
12643         pass it to the backend.
12644         (vc-print-log, vc-print-root-log): Adjust callers.
12645         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
12646         buffer already displays the requested log entry, use it.
12647         Otherwise display only the log entry in question.
12648         * vc-svn.el (vc-svn-print-log):
12649         * vc-mtn.el (vc-mtn-print-log):
12650         * vc-hg.el (vc-hg-state):
12651         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
12652         (vc-git-show-log-entry): Return t on success.
12653         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
12654         (vc-bzr-show-log-entry): Return t on success.
12655         * vc-rcs.el (vc-rcs-print-log):
12656         * vc-sccs.el (vc-sccs-print-log):
12657         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
12659 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
12661         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
12662         Add menus to the meta mode.  (Bug#5043)
12664 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
12666         * ediff-init.el (ediff-event-key): Use event-to-character instead of
12667         event-key.
12669         * ediff.el (ediff-buffers-internal): Add unwind-protect.
12671 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
12673         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
12674         Berbain <raphael.berbain@gmail.com>.
12676         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
12677         characters.
12678         (tramp-initial-end-of-output): New defconst.
12679         (tramp-methods, tramp-find-shell)
12680         (tramp-open-connection-setup-interactive-shell)
12681         (tramp-maybe-open-connection): Use it.
12682         (tramp-shell-prompt-pattern, tramp-wait-for-output):
12683         Handle existence of `#' and `$'.
12685         * net/tramp-fish.el (tramp-fish-maybe-open-connection):
12686         Use `tramp-initial-end-of-output'.
12688 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
12690         Get the background mode from the terminal for xterm, and set
12691         faces accordingly.
12692         * term/xterm.el (xterm-set-background-mode): New function.
12693         (terminal-init-xterm): Use it in case xterm supports background
12694         color queries.  Recompute faces after getting the background
12695         color.
12697 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
12699         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
12700         number comment back on its own line, for easier parsing.
12702 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
12704         Make it work for non-file buffers (bug#5102).
12705         * doc-view.el (doc-view-current-cache-dir):
12706         Use doc-view-buffer-file-name rather than buffer-file-name.
12707         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
12709 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
12711         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
12712         author field is too short.
12714 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
12716         * vc-git.el (vc-git-print-log): Handle a limit argument.
12717         Display the short log in graph form and with labels.
12718         (vc-git-log-view-mode): Handle labels.
12720         Make vc-revert change VC state from 'added to 'unregistered.
12721         * vc-git.el (vc-git-revert): Call git reset first.
12723 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
12725         * net/newst-backend.el, net/newst-plainview.el:
12726         * net/newst-reader.el, net/newst-ticker.el:
12727         * net/newst-treeview.el, net/newsticker.el:
12728         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
12730 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
12732         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
12734         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
12735         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
12736         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
12737         Update annotation regexp.
12739         * simple.el (beginning-of-visual-line): Constrain to field
12740         boundaries (Bug#5106).
12742 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
12744         * xml.el (xml-substitute-numeric-entities):
12745         Move newsticker--decode-numeric-entities in newst-backend.el to
12746         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
12747         * net/newst-backend.el (newsticker--parse-generic-feed)
12748         (newsticker--parse-generic-items)
12749         (newsticker--decode-numeric-entities):
12750         Move newsticker--decode-numeric-entities in newst-backend.el to
12751         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
12753 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
12755         * progmodes/js.el (js--js-not): Add null to the list of values.
12757 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
12759         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
12761 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
12763         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
12764         delimiter if it is at the end of the current line.
12765         (bibtex-generate-url-list): Fix docstring.
12767 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12769         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
12770         minibuffer's content with itself.
12771         Fold the confirm-after-completion case into the `confirm' case.
12772         (completion-pcm-word-delimiters): Add : and / to the delimiters.
12774 2009-12-06  Kevin Ryde  <user42@zip.com.au>
12776         * ffap.el (ffap-rfc-path): Make this a defcustom since
12777         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
12779         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
12780         manuals, similar to existing setup for help-mode.  (Bug#3913.)
12782 2009-12-05  Juri Linkov  <juri@jurta.org>
12784         Save and restore dired buffer's point positions too.  (Bug#4880)
12786         * dired.el (dired-save-positions): Return in the first element
12787         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
12788         Doc fix.
12789         (dired-restore-positions): First restore buffer's position.
12790         While restoring window's positions, check if window still displays
12791         the original buffer.
12793 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
12795         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
12796         if possible.
12798         * shell.el (shell): Require ansi-color (Bug#5113).
12800         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
12802         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
12804 2009-12-05  Alan Mackenzie  <acm@muc.de>
12806         * progmodes/cc-mode.el (c-before-hack-hook)
12807         (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
12808         `c-file-style' to work again.  This reversion restores the current
12809         software to its state in Emacs 23.1.  (Bug#4146)
12811 2009-12-05  Kevin Ryde  <user42@zip.com.au>
12813         * textmodes/sgml-mode.el (sgml-lexical-context):
12814         Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
12816 2009-12-05  Juri Linkov  <juri@jurta.org>
12818         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
12819         for virtual nodes.  (Bug#4147)
12820         (Info-find-node-2): Set `Info-current-node-virtual' to nil
12821         when moving from a virtual node.
12822         (Info-mode-menu): Add `Info-virtual-index' to the menu.
12823         (Info-mode): Add `Info-virtual-index' to the docstring.
12825 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
12827         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
12828         track of the buffer position of the end of a BibTeX entry as this
12829         position may change during reformatting.
12830         (bibtex-format-entry): Remove whitespace before processing
12831         numerical fields so that we recognize the latter properly.
12832         (bibtex-reformat): Do not use push which changes the global value
12833         of bibtex-entry-format.
12834         (bibtex-field-braces-alist, bibtex-field-strings-alist)
12835         (bibtex-field-re-init): Replace only space characters by regexp
12836         for whitespace.
12837         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
12838         (bibtex-initialize): Also update bibtex-strings.
12839         (bibtex-kill-field): Preserve white space at end of entry.
12840         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
12841         Update bibtex-reference-keys.
12843 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12845         * minibuffer.el (completion-pcm--merge-try): Also consider placing
12846         point after a star, if that's the only place where modifications can
12847         make progress.
12849 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
12851         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
12852         in docstrings.
12854 2009-12-04  Juri Linkov  <juri@jurta.org>
12856         * proced.el (proced): Call `(proced-update t)' to update process
12857         information instead of only running proced-post-display-hook.
12858         (proced-send-signal): Add a leading space to the buffer name
12859         " *Marked Processes*" to make this buffer ephemeral.
12861 2009-12-04  Juri Linkov  <juri@jurta.org>
12863         * dired.el (dired-auto-revert-buffer): New defcustom.
12864         (dired-internal-noselect): Use it.
12866 2009-12-04  Juri Linkov  <juri@jurta.org>
12868         Change roles of modes and functions in image-mode.el (Bug#5062).
12870         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
12871         in `auto-mode-alist'.
12872         (image-mode-previous-major-mode): New variable.
12873         (image-minor-mode-map): Rename from `image-mode-text-map'.
12874         (image-mode): Move graceful error-handling code from
12875         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
12876         (image-minor-mode): Remove all image-handling code.
12877         Replace `image-mode-text-map' with `image-minor-mode-map'.
12878         Check for `image-type' in mode-line format string.
12879         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
12880         (image-mode-as-text): New function with most code from
12881         `image-mode-maybe'.
12882         (image-toggle-display-text): Move code that removes image
12883         properties from `image-toggle-display' to here.
12884         (image-toggle-display-image): New function with code that adds
12885         image properties copied from `image-toggle-display'.
12886         (image-toggle-display): Remove most code with leaving only code
12887         that toggles between `image-mode-as-text' and `image-mode'.
12889 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
12891         * net/newst-treeview.el
12892         (newsticker--treeview-list-highlight-start): Restored call to
12893         save-excursion: Selected item was stuck.
12894         (newsticker--treeview-list-select): New.
12895         (newsticker--treeview-item-show-text)
12896         (newsticker--treeview-item-show)
12897         (newsticker--treeview-item-update): Use new
12898         newsticker-treeview-item-mode.
12899         (newsticker-treeview-update): Keep current item.
12900         (newsticker-treeview-next-new-or-immortal-item): Doc change.
12901         (newsticker--treeview-first-feed): Doc change.
12902         (newsticker-treeview-list-menu)
12903         (newsticker-treeview-item-menu): Add menu entries.
12904         (newsticker-treeview-item-mode): New.
12906         * net/newst-backend.el (newsticker-customize): Delete other
12907         windows.
12909 2009-12-04  Sam Steingold  <sds@gnu.org>
12911         * log-view.el (log-view-mode-map): "q" calls quit-window,
12912         like in all the other non-self-insert buffers.
12914 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12916         Minor cleanup.
12917         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
12918         key decoding rather than do it manually via last-input-event +
12919         ascii-character.
12920         (term-exec): Use delete-and-extract-region.
12921         (term-handle-ansi-terminal-messages): Remove unused var `end'.
12922         (term-process-pager): Remove unused var `i'.
12923         (term-dynamic-simple-complete): Make obsolete.
12924         (serial-update-config-menu): Remove unused vars `y' and `str'.
12925         (term-update-mode-line): Remove unused var `temp'.
12927 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
12929         Limit the number of log entries displayed by default.
12930         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
12931         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
12932         using a prefix argument.
12934 2009-12-03  Glenn Morris  <rgm@gnu.org>
12936         * progmodes/idlwave.el (class): Restore still useful declaration.
12938 2009-12-03  Alan Mackenzie  <acm@muc.de>
12940         Enhance `c-parse-state' to run efficiently in "brace deserts".
12942         * progmodes/cc-mode.el (c-basic-common-init):
12943         Call c-state-cache-init.
12944         (c-neutralize-syntax-in-and-mark-CPP): Rename from
12945         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
12946         placing `category' properties value 'c-cpp-delimiter at its boundaries.
12948         * progmodes/cc-langs.el (c-before-font-lock-function):
12949         c-extend-and-neutralize-syntax-in-CPP has been renamed
12950         c-neutralize-syntax-in-and-mark-CPP.
12952         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
12953         with `category' properties now, not `syntax-table' ones.
12955         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
12956         enhanced (but slower) version of c-end-of-macro that won't land
12957         inside a literal or on another awkward character.
12958         (c-state-cache-too-far, c-state-cache-start)
12959         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
12960         (c-state-nonlit-pos-cache-limit, c-state-point-min)
12961         (c-state-point-min-lit-type, c-state-point-min-lit-start)
12962         (c-state-min-scan-pos, c-state-brace-pair-desert)
12963         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
12964         buffer local variables.
12965         (c-state-literal-at, c-state-lit-beg)
12966         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
12967         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
12968         (c-state-cache-top-paren, c-state-cache-after-top-paren)
12969         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
12970         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
12971         (c-renarrow-state-cache)
12972         (c-append-lower-brace-pair-to-state-cache)
12973         (c-state-push-any-brace-pair, c-append-to-state-cache)
12974         (c-remove-stale-state-cache)
12975         (c-remove-stale-state-cache-backwards, c-state-cache-init)
12976         (c-invalidate-state-cache-1, c-parse-state-1)
12977         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
12978         (c-parse-state): Enhance and refactor.
12979         (c-debug-parse-state): Amend to deal with all the new variables.
12981         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
12982         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
12983         modify to use category text properties rather than syntax-table ones.
12984         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
12985         to switch off/on the syntactic paren property of C++ template
12986         delimiters using the category property.
12987         (c-with-<->-as-parens-suppressed): Macro to invoke code with
12988         template delims suppressed.
12989         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
12990         New constant/macros which apply category properties to the start
12991         and end of preprocessor constructs.
12992         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
12993         "comment out" the syntactic value of characters in preprocessor
12994         constructs.
12995         (c-with-cpps-commented-out)
12996         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
12997         with characters in all or all but one preprocessor constructs
12998         "commented out".
13000 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
13002         * proced.el (proced-filter-alist): Use regexp-quote.
13004 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
13006         Cleanup.
13007         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
13008         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
13009         arguments.  Expand `default-directory'.
13011         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
13012         the benefit of returning an expanded localname.
13013         (tramp-tramp-file-p): Handle the case NAME is not a string.
13015 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
13017         Add support for bzr shelve/unshelve.
13018         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13019         (vc-bzr-extra-menu-map): New variables.
13020         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
13021         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
13022         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
13023         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
13024         (vc-bzr-dir-extra-headers): Display shelves.
13026         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
13028 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13030         * textmodes/bibtex.el (bibtex-complete-internal):
13031         Use completion-in-region.
13032         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
13034 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
13036         Support applying stashes.  Improve UI.
13037         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
13038         (vc-git-stash-apply, vc-git-stash-pop)
13039         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
13040         (vc-git-stash-menu): New functions.
13041         (vc-git-stash-menu-map): New variable.
13042         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
13044 2009-12-03  Glenn Morris  <rgm@gnu.org>
13046         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
13047         (vc-print-log-internal): Fix previous change.
13048         (vc-revert): Correct pluralization.
13050 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13052         * progmodes/make-mode.el (makefile-special-targets-list): No need for
13053         it to be an alist any more.
13054         (makefile-complete): Use completion-in-region.
13056         * progmodes/octave-mod.el (octave-complete-symbol):
13057         Use completion-in-region.
13059         Misc cleanup.
13060         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
13061         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
13062         (idlwave-complete-class): Don't quote lambda.
13063         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
13064         (idlwave-mode-map): Move initialization into declaration.
13065         (idlwave-action-and-binding): Use backquotes.
13066         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
13067         Simplify.
13068         (idlwave-is-pointer-dereference): Remove unused var `pos'.
13069         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
13070         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
13071         `parts', and `all-parts'.
13072         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
13073         (idlwave-convert-xml-system-routine-info): Remove unused string
13074         `version-string'.
13075         (idlwave-display-user-catalog-widget): Use dolist.
13076         (idlwave-scanning-lib): Declare dynamically-scoped var.
13077         (idlwave-scan-library-catalogs): Remove unused var `flags'.
13078         (completion-highlight-first-word-only): Declare to silence bytecomp.
13079         (idlwave-popup-select): Tighten scope of `resp'.
13080         (idlwave-find-struct-tag): Remove unused var `beg'.
13081         (idlwave-after-load-rinfo-hook): Declare.
13082         (idlwave-sintern-class-info): Remove unused var `taglist'.
13083         (idlwave-find-class-definition): Remove unused var `list'.
13084         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
13085         (idlwave-what-module-find-class): Remove unused var `classes'.
13087 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
13089         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
13091 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13093         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
13094         buffers visited.  Remove redundant current-buffer-saving.
13096 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13098         Use completion-in-buffer and remove uses of dynamic scoping.
13099         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
13100         (pascal-buffer-to-use, pascal-flag): Don't declare.
13101         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
13102         (pascal-get-completion-decl, pascal-keyword-completion):
13103         Add `pascal-str' argument, save-excursion,
13104         return the found completions, and don't filter with pascal-pred.
13105         (pascal-completion-cache): New var.
13106         (pascal-completion): Don't switch buffer any more (it was never
13107         necessary).  Don't save-excursion any more (it's done by the called
13108         subroutines).  Use a cache to avoid redundant computations.
13109         Use complete-with-action rather than pascal-completion-response and
13110         let it apply the predicate as well.
13111         (pascal-complete-word): Use completion-in-buffer when
13112         pascal-toggle-completions is nil.
13113         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
13114         not used any more.
13115         (pascal-comp-defun): Don't change buffer any more.
13116         Use complete-with-action rather than pascal-completion-response and
13117         let it apply the predicate as well.
13118         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
13119         when neded.
13121 2009-12-02  Kenichi Handa  <handa@m17n.org>
13123         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
13124         shape for all Indic scripts.
13126 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13128         Use completion-in-buffer.
13129         * wid-edit.el (widget-field-text-end): New function.
13130         (widget-field-value-get): Use it.
13131         (widget-string-complete, widget-file-complete)
13132         (widget-color-complete): Use it and completion-in-region.
13133         (widget-complete): Don't narrow the buffer.
13135 2009-12-02  Glenn Morris  <rgm@gnu.org>
13137         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
13138         (rmail-select-summary): Use rmail-pop-to-buffer.
13139         * mail/rmailsum.el: Replace all pop-to-buffer calls with
13140         rmail-pop-to-buffer, to prevent horizontal splits.
13142         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
13143         save-excursion with save-current-buffer.
13144         Widen before searching.  (Bug#5093)
13145         (diary-list-sexp-entries): Remove superfluous save-excursion.
13147 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
13149         * woman.el (woman-make-bufname): Handle man-pages with "." in the
13150         name.  (Bug#5038)
13152 2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
13154         * ido.el (ido-file-internal): Handle filenames at point that do
13155         not have a directory part.  (Bug#5049)
13157 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
13159         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
13160         (mpc-songs-jump-to, mpc-resume): Doc fixes.
13162 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
13164         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
13165         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
13166         any more.
13168 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13170         * comint.el (comint-insert-input): Ignore clicks to the right of
13171         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
13173         * vc.el (vc-print-log-internal): Don't wait for the process to
13174         terminate before setting up the major mode.
13176         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
13177         in case.
13179         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
13180         the last element.
13182         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
13184 2009-12-01  Glenn Morris  <rgm@gnu.org>
13186         * window.el (window--display-buffer-2): Fix previous changes.
13188 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
13190         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
13192 2009-12-01  Glenn Morris  <rgm@gnu.org>
13194         * Makefile.in (ELCFILES): Add mpc.elc.
13196 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13198         * mpc.el: New file.
13200 2009-12-01  Glenn Morris  <rgm@gnu.org>
13202         * window.el (window-to-use): Define for compiler.
13204         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
13205         consistent with others (no final period).
13207         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
13208         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
13210 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
13212         Make vc-print-log buttons work.
13213         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
13215 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
13217         * savehist.el (savehist-autosave-interval): Allow setting to nil
13218         through customize.  (Bug#5056)
13220 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
13222         Fix references to jit-lock properties.
13223         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
13224         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
13225         (perl-font-lock-special-syntactic-constructs):
13226         Quote jit-lock-defer-multiline property.
13228 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
13230         * vc-git.el (vc-git-registered): Call vc-git-root only once.
13232 2009-11-30  Juri Linkov  <juri@jurta.org>
13234         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
13235         value `buffer' of `multi-isearch-next-buffer-current-function'.
13236         Use `(current-buffer)' when `buffer' is nil.
13237         (multi-isearch-next-buffer-from-list): Don't fallback to
13238         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
13240 2009-11-30  Juri Linkov  <juri@jurta.org>
13242         * misearch.el (multi-isearch-read-buffers): Move canonicalization
13243         of buffers with `get-buffer' to `multi-isearch-buffers'.
13244         (multi-isearch-buffers, multi-isearch-buffers-regexp):
13245         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
13246         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
13247         FILES with `expand-file-name' converting relative file names
13248         to absolute.  Doc fix.  (Bug#4727)
13250 2009-11-30  Juri Linkov  <juri@jurta.org>
13252         * misearch.el (multi-isearch-read-buffers)
13253         (multi-isearch-read-matching-buffers): New functions.
13254         (multi-isearch-buffers, multi-isearch-buffers-regexp):
13255         Use them in the `interactive' spec.  Doc fix.
13256         (multi-isearch-read-files, multi-isearch-read-matching-files):
13257         New functions.
13258         (multi-isearch-files, multi-isearch-files-regexp):
13259         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
13261 2009-11-30  Juri Linkov  <juri@jurta.org>
13263         * doc-view.el (doc-view-continuous):
13264         Rename from `doc-view-continuous-mode'.
13265         (doc-view-menu): Move "Toggle display" to the top.
13266         Add submenu "Continuous" with radio buttons "Off"/"On"
13267         and "Save as Default".
13268         (doc-view-scroll-up-or-next-page)
13269         (doc-view-scroll-down-or-previous-page)
13270         (doc-view-next-line-or-next-page)
13271         (doc-view-previous-line-or-previous-page):
13272         Rename `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
13274 2009-11-30  Juri Linkov  <juri@jurta.org>
13276         * comint.el (comint-mode-map): Rebind `M-r' from
13277         `comint-previous-matching-input' to
13278         `comint-history-isearch-backward-regexp'.
13279         Unbind `M-s' to allow global key binding `M-s'.
13280         Add menu items for `comint-history-isearch-backward' and
13281         `comint-history-isearch-backward-regexp'.  (Bug#3746)
13283 2009-11-30  Juri Linkov  <juri@jurta.org>
13285         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
13286         For def=recenter, replace `recenter' with `recenter-top-bottom'
13287         that is called with `this-command' and `last-command' let-bound
13288         to `recenter-top-bottom'.  When the last `def' was not `recenter',
13289         set `recenter-last-op' to nil.  (Bug#4981)
13291 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
13293         Minor cleanup and simplification.
13294         * filecache.el (file-cache-add-directory)
13295         (file-cache-add-directory-recursively)
13296         (file-cache-add-from-file-cache-buffer)
13297         (file-cache-delete-file-regexp, file-cache-delete-directory)
13298         (file-cache-files-matching-internal, file-cache-display): Use dolist.
13299         (file-cache-temp-minibuffer-message): Delete function.
13300         (file-cache-minibuffer-complete): Use minibuffer-message instead.
13302         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
13303         Don't signal an error when bumping into EOB in tr, s, or y.
13305 2009-11-29  Juri Linkov  <juri@jurta.org>
13307         * startup.el (fancy-about-text): Fix wording of Guided Tour.
13308         (Bug#4960)
13310         * descr-text.el (describe-char-unidata-list): Use lowercase name
13311         for "Unicode name" like in other tags.
13313 2009-11-29  Juri Linkov  <juri@jurta.org>
13315         * ediff-util.el (ediff-minibuffer-with-setup-hook):
13316         New compatibility macro.
13317         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
13319 2009-11-29  Juri Linkov  <juri@jurta.org>
13321         Add defcustom to define the cycling order of `recenter-top-bottom'.
13322         (Bug#4981)
13324         * window.el (recenter-last-op): Doc fix.
13325         (recenter-positions): New defcustom.
13326         (recenter-top-bottom): Rewrite to use `recenter-positions'.
13327         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
13329 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
13331         Improve integration of Tramp and ange-ftp in eshell.
13333         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
13334         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
13335         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
13337         * eshell/esh-util.el (top): Require also Tramp when compiling.
13338         (eshell-directory-files-and-attributes): Check for FTP remote
13339         connection.
13340         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
13341         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
13342         (eshell-file-attributes): Handle ".".  Return `entry'.
13344         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
13345         (ange-ftp-directory-files-and-attributes)
13346         (ange-ftp-real-directory-files-and-attributes): New defuns.
13348         * net/tramp.el (tramp-maybe-open-connection): Open the remote
13349         shell with "exec" when possible.  This prevents trailing prompts
13350         in `start-file-process'.
13352 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13354         Try and remove assumptions about point-min==1.
13355         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
13356         (rng-compute-mode-line-string): Show the validation percentage in
13357         terms of the narrowed text, not the widened text.
13358         (rng-do-some-validation): Don't catch internal errors when debugging.
13359         (rng-first-error): Simplify.
13360         (rng-after-change-function): Remove work around.  AFAIK the bug has
13361         been fixed a while ago.
13363         * image-mode.el (image-minor-mode): Exit more gracefully when the image
13364         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
13366         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
13368         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
13369         `cd' doesn't always do it for us (bug#5067).
13371         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
13372         on 2009-10-25 as part of some other change (bug#5067).
13374 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
13376         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
13377         `suspicious'.
13378         (byte-compile-warnings): Use byte-compile-warning-types.
13379         (byte-compile-save-excursion): Warn about use of set-buffer right
13380         after save-excursion.
13382         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
13383         the excursion as well.
13385 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
13387         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
13388         providing a Tramp related implementation of "su" and "sudo".
13389         (eshell-unix-initialize): Add "su" and "sudo".
13391 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
13393         * net/socks.el (socks-send-command): Convert binary request to
13394         unibyte before sending.  This fixes mishandling of some port
13395         numbers such as 129.
13397 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
13399         * help.el (describe-bindings-internal): Remove `interactive'.
13401         * man.el (Man-completion-table): Trim a terminating "(".
13402         Remove the space between name page a section.
13403         Add the command's description on the `help-echo' property.
13404         Remove `process-connection-type' binding since it's unused by
13405         call-process.
13406         Provide completion for the "<section> <name>" format as well.
13407         (Man-default-man-entry): Remove spurious var shadowing the argument.
13409 2009-11-26  Kevin Ryde  <user42@zip.com.au>
13411         * log-view.el: Add "Keywords: tools", since its other keywords
13412         aren't in finder-known-keywords, and following vc.el.
13414         * sha1.el (sha1-string-external): default-directory "/" in case
13415         otherwise non-existent.  process-connection-type pipe for touch of
13416         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
13418 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
13420         Misc coding convention cleanups.
13421         * htmlfontify.el (hfy-init-kludge-hook): Rename from
13422         hfy-init-kludge-hooks.
13423         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
13424         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
13425         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
13426         and push.
13427         (hfy-slant, hfy-weight): Use tables rather than code.
13428         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
13429         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
13430         (hfy-face-attr-for-class): Initialize `face-spec' directly.
13431         (hfy-face-to-css): Remove `nconc' with single arg.
13432         (hfy-p-to-face-lennart): Use `or'.
13433         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
13434         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
13435         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
13436         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
13437         (hfy-force-fontification): Use run-hooks.
13439 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
13441         Various minor fixes.
13442         * htmlfontify.el (hfy-default-header): Add toggle_invis since
13443         Javascript belongs in the header, not the body.
13444         (hfy-javascript): Remove.
13445         (hfy-fontify-buffer): Don't insert it any more.
13446         (hfy-face-at): Handle (face0 face1 face2) style face properties.
13447         Fix bug in invis handling when there were no invis props in a chunk.
13449 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
13451         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
13453 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
13455         * finder.el (finder-mode-map): Add a menu.
13457 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
13459         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
13460         "unsigned" structs.
13462         (verilog-leap-to-head, verilog-backward-token): Handle "disable
13463         fork" statement better.
13465 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
13467         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
13468         (verilog-delete-auto, verilog-delete-empty-auto-pair)
13469         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
13470         Reported by Clay Douglass.
13472         (verilog-auto-inst, verilog-auto-star-safe)
13473         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
13474         Fix removing "// Interfaces" when saving .* expansions.
13475         Reported by Pierre-David Pfister.
13477 2009-11-26  Glenn Morris  <rgm@gnu.org>
13479         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
13480         the scope.
13482 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
13484         * vc-annotate.el (vc-annotate-revision-previous-to-line):
13485         Really use previous revision.
13487 2009-11-25  Kevin Ryde  <user42@zip.com.au>
13489         * man.el (Man-completion-table): default-directory "/" in case
13490         doesn't otherwise exist.  process-environment COLUMNS=999 so as
13491         not to truncate long names.  process-connection-type pipe to avoid
13492         any chance of hitting the pseudo-tty TIOCGWINSZ.
13493         (man): completion-ignore-case t for friendliness and since man
13494         itself is case-insensitive on the command line.
13495         Further to Bug#3717.
13497         * arc-mode.el: Add "Keywords: files", so the details in its
13498         commentary can be reached from finder-by-keyword.
13499         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
13500         editing mode, but it's comms related and sgml-mode.el has "comm"
13501         on that basis too.
13502         * textmodes/bibtex-style.el: Add "Keywords: tex".
13503         * international/isearch-x.el, international/ja-dic-cnv.el:
13504         * international/ja-dic-utl.el, international/kkc.el:
13505         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
13507 2009-11-25  Juri Linkov  <juri@jurta.org>
13509         * man.el (Man-completion-table): Modify regexp to include
13510         section names to completion strings.  (Bug#3717)
13512 2009-11-25  Juri Linkov  <juri@jurta.org>
13514         Search recursively in gzipped files.  (Bug#4982)
13516         * progmodes/grep.el (grep-highlight-matches): Add new options
13517         `always' and `auto'.  Doc fix.
13518         (grep-process-setup): Check `grep-highlight-matches' for
13519         `auto-detect' to determine the need to compute grep defaults.
13520         Move Windows/DOS specific --colors settings handling
13521         to `grep-compute-defaults'.  Check `grep-highlight-matches'
13522         to get the value of "--color=".
13523         (grep-compute-defaults): Compute `grep-highlight-matches' when it
13524         has the value `auto-detect'.  Move Windows/DOS specific settings
13525         from `grep-process-setup'.
13526         (zrgrep): New command with alias `rzgrep'.
13528 2009-11-25  Juri Linkov  <juri@jurta.org>
13530         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
13531         to nil instead of switching off view-mode.  (Bug#4896)
13533 2009-11-25  Juri Linkov  <juri@jurta.org>
13535         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
13537         * mwheel.el (mwheel-scroll-up-function)
13538         (mwheel-scroll-down-function): New defvars.
13539         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
13540         `scroll-up', and `mwheel-scroll-down-function' instead of
13541         `scroll-down'.
13543         * doc-view.el (doc-view-scroll-up-or-next-page)
13544         (doc-view-scroll-down-or-previous-page): Add optional ARG.
13545         Use this ARG in the call to image-scroll-up/image-scroll-down.
13546         Change `interactive' spec to "P".  Goto next/previous page only
13547         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
13548         SPC/DEL case).  Doc fix.
13549         (doc-view-next-line-or-next-page)
13550         (doc-view-previous-line-or-previous-page): Rename arg to ARG
13551         for consistency.
13552         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
13553         `doc-view-scroll-up-or-next-page', and buffer-local
13554         `mwheel-scroll-down-function' to
13555         `doc-view-scroll-down-or-previous-page'.
13557 2009-11-25  Juri Linkov  <juri@jurta.org>
13559         Provide additional default values (directories at other Dired
13560         windows) via M-n in the minibuffer of some Dired commands.
13562         * dired-aux.el (dired-diff, dired-compare-directories)
13563         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
13564         `minibuffer-default' in `minibuffer-with-setup-hook'.
13565         (dired-dwim-target-directory): Find a window that displays Dired
13566         buffer instead of failing when the next window is not Dired.
13567         Use `get-window-with-predicate' to find for the next Dired window.
13568         (dired-dwim-target-defaults): New function.
13570         * ediff-util.el (ediff-read-file-name):
13571         Use `dired-dwim-target-defaults' to set `minibuffer-default'
13572         in `minibuffer-with-setup-hook'.
13574 2009-11-25  Juri Linkov  <juri@jurta.org>
13576         Provide additional default values (file name at point or at the
13577         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
13579         * minibuffer.el (read-file-name-defaults): New function.
13580         (read-file-name): Reset `minibuffer-default' to nil when
13581         it duplicates initial input `insdef'.
13582         Bind `minibuffer-default-add-function' to lambda that
13583         calls `read-file-name-defaults' in `minibuffer-selected-window'.
13584         (minibuffer-insert-file-name-at-point): New command.
13586         * files.el (file-name-at-point-functions): New defcustom.
13587         (find-file-default): Remove defvar.
13588         (find-file-read-args): Don't use `find-file-default'.
13589         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13590         to `read-file-name'.
13591         (find-file-literally): Use `read-file-name' with
13592         `confirm-nonexistent-file-or-buffer'.
13594         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
13596         * dired.el (dired-read-dir-and-switches):
13597         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13598         to `read-file-name'.
13599         (dired-file-name-at-point): New function.
13600         (dired-mode): Add hook `dired-file-name-at-point' to
13601         `file-name-at-point-functions'.
13603 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13605         Really make the *Completions* window soft-dedicated (bug#5030).
13606         * window.el (window--display-buffer-2): Add `dedicated' argument.
13607         (display-buffer): Pass it when needed so the dedicated flag is set
13608         after calling set-window-buffer, which would otherwise reset it.
13610 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13612         * progmodes/meta-mode.el (meta-complete-symbol):
13613         * progmodes/etags.el (complete-tag):
13614         * mail/mailabbrev.el (mail-abbrev-complete-alias):
13615         Use completion-in-region.
13617         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
13618         (dabbrev-completion): Use completion-in-region.
13619         (dabbrev--abbrev-at-point): Simplify regexp.
13621         * abbrev.el (abbrev--before-point): Use word-motion functions
13622         if :regexp is not specified (bug#5031).
13624         * subr.el (string-prefix-p): New function.
13626         * man.el (Man-completion-cache): New var.
13627         (Man-completion-table): Use it.
13629         * vc.el (vc-print-log-internal): Make `limit' optional for better
13630         compatibility (e.g. with vc-annotate.el).
13632 2009-11-24  Kevin Ryde  <user42@zip.com.au>
13634         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
13635         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
13637         * emacs-lisp/elint.el (elint-add-required-env): Better error message
13638         when .el source file not found or other error.
13640 2009-11-24  Markus Triska  <markus.triska@gmx.at>
13642         * linum.el (linum-update-window): Ignore intangible (bug#4996).
13644 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13646         Handle the [back] button properly (bug#4979).
13647         * descr-text.el (describe-text-properties): Add a `buffer' argument.
13648         Use help-setup-xref, help-buffer, and with-help-window.
13649         (describe-char): Add `buffer' argument.
13650         Pass proper command to help-setup-xref.  Don't meddle with
13651         help-xref-stack-item directly.
13652         (describe-text-category): Use with-help-window and help-buffer.
13654         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
13655         for the displayed buffer (bug#4887).
13657         * man.el (Man-completion-table): New function.
13658         (man): Use it.
13660 2009-11-24  David Reitter  <david.reitter@gmail.com>
13662         * vc-git.el (vc-git-registered): Use checkout directory (where
13663         .git is) rather than the file's directory and a relative path spec
13664         to work around a bug in git.
13666 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
13668         Improve handling of processes on remote hosts.
13670         * eshell/esh-util.el (eshell-path-env): New defvar.
13671         (eshell-parse-colon-path): New defun.
13672         (eshell-file-attributes): Use `eshell-parse-colon-path'.
13674         * eshell/esh-ext.el (eshell-search-path):
13675         Use `eshell-parse-colon-path'.
13676         (eshell-remote-command): Remove argument HANDLER.
13677         (eshell-external-command): Check for FTP remote connection.
13679         * eshell/esh-proc.el (eshell-gather-process-output):
13680         Use `file-truename', in order to start also symlinked files.
13681         Apply `start-file-process' instead of `start-process'.
13682         Shorten `command' to the local file name part.
13684         * eshell/em-cmpl.el (eshell-complete-commands-list):
13685         Use `eshell-parse-colon-path'.
13687         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
13689         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
13690         to `eshell-directory-change-hook'.
13692 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
13694         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
13695         because it could be enabled automatically if view-read-only is non-nil.
13697 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
13699         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
13700         made on 2009-11-22.
13702 2009-11-24  Glenn Morris  <rgm@gnu.org>
13704         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
13705         deleted variable bookmark-bmenu-bookmark-column.
13707 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13709         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
13711 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
13713         * net/browse-url.el (browse-url-filename-alist): On Windows, add
13714         two slashes to the "file:" prefix.
13715         (browse-url-file-url): De-munge Cygwin filenames before passing
13716         them to Windows browser.
13717         (browse-url-default-windows-browser): Use call-process.
13719 2009-11-23  Juri Linkov  <juri@jurta.org>
13721         Implement DocView Continuous mode.  (Bug#4896)
13722         * doc-view.el (doc-view-continuous-mode): New defcustom.
13723         (doc-view-mode-map): Bind C-n/<down> to
13724         `doc-view-next-line-or-next-page', C-p/<up> to
13725         `doc-view-previous-line-or-previous-page'.
13726         (doc-view-next-line-or-next-page)
13727         (doc-view-previous-line-or-previous-page): New commands.
13729 2009-11-23  Juri Linkov  <juri@jurta.org>
13731         Implement Isearch in comint input history.  (Bug#3746)
13732         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
13733         `isearch-mode-hook'.
13734         (comint-history-isearch): New defcustom.
13735         (comint-history-isearch-backward)
13736         (comint-history-isearch-backward-regexp): New commands.
13737         (comint-history-isearch-message-overlay): New buffer-local variable.
13738         (comint-history-isearch-setup, comint-history-isearch-end)
13739         (comint-goto-input, comint-history-isearch-search)
13740         (comint-history-isearch-message, comint-history-isearch-wrap)
13741         (comint-history-isearch-push-state)
13742         (comint-history-isearch-pop-state): New functions.
13744 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
13746         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
13747         return.
13748         (tramp-handle-make-symbolic-link)
13749         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
13750         Quote file names.
13751         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
13752         (tramp-handle-process-file): Use it.
13754 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13756         * window.el (move-to-window-line-last-op): Remove.
13757         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
13759 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
13761         Make M-r mirror the new cycling behavior of C-l.
13762         * window.el (move-to-window-line-last-op): New var.
13763         (move-to-window-line-top-bottom): New command.
13764         (global-map): Bind M-r move-to-window-line-top-bottom.
13766 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
13768         * dired-x.el (dired-guess-shell-alist-default):
13769         Support xz format.  (Bug#4953)
13771 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
13773         * emulation/viper-cmd.el: Use viper-last-command-char instead of
13774         last-command-char/last-command-event.
13775         (viper-prefix-arg-value): Do correct conversion of event-char for
13776         XEmacs.
13778         * emulation/viper-util.el, emulation/viper.el:
13779         Use viper-last-command-char instead of
13780         last-command-char/last-command-event.
13782         * ediff-init.el, ediff-mult.el, ediff-util.el:
13783         Replace last-command-char and last-command-event
13784         with (ediff-last-command-char) everywhere.
13786         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
13787         created in fundamental mode.
13789         * ediff.el (ediff-version): Revert the change of interactive-p to
13790         called-interactively-p.
13792 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
13794         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
13795         generation from word-movement command names.
13797 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
13799         * cus-start.el (all): Add native condition for font-use-system-font.
13801 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
13803         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
13804         Correct the patch from 2009-11-18.  (Bug#3910)
13806 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
13808         * progmodes/subword.el: Rename from lisp/subword.el.
13810         * subword.el: Rename to progmodes/subword.el.
13812         * Makefile.in (ELCFILES): Adapt to subword.el move.
13814 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
13815             Stefan Monnier  <monnier@iro.umontreal.ca>
13817         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
13818         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
13819         (bookmark-bmenu-show-filenames): Use push.
13820         (bookmark-bmenu-hide-filenames): Use local var instead of
13821         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
13822         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
13823         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
13824         filenames now that the bookmark names are always available.
13826 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13828         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
13829         (bookmark-search-pattern): Move and leave unbound.
13830         (bookmark-bmenu-mode-map): Change binding.
13831         (bookmark-read-search-input): Simplify.
13832         Don't use text-char-description.  Don't error on non-char events.
13833         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
13834         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
13835         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
13836         Use a local var for the timer.
13837         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
13838         (i.e. bookmark-bmenu-search).
13840 2009-11-21  Glenn Morris  <rgm@gnu.org>
13842         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
13844 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
13846         * net/browse-url.el (browse-url-default-windows-browser):
13847         Use cygstart for cygwin.
13849 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
13851         * bookmark.el: Formatting and doc fixes only:
13852         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
13853         (bookmark-bmenu-search): Wrap to fit within 80 columns.
13854         Minor grammar and punctuation fixes in doc string.
13855         (bookmark-read-search-input): Adjust to fit within 80 columns.
13857 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
13859         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
13860         (c-backward-into-nomenclature): Adapt to subword renaming.
13862         * subword.el (subword-forward, subword-backward, subword-mark)
13863         (subword-kill, subword-backward-kill, subword-transpose)
13864         (subword-downcase, subword-upcase, subword-capitalize)
13865         (subword-forward-internal, subword-backward-internal):
13866         Rename from forward-subword, backward-subword, mark-subword,
13867         kill-subword, backward-kill-subword, transpose-subwords,
13868         downcase-subword, upcase-subword, capitalize-subword,
13869         forward-subword-internal, backward-subword-internal.
13871 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
13873         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
13874         New options.
13875         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
13876         New vars.
13877         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
13878         (bookmark-bmenu-filter-alist-by-regexp)
13879         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
13880         (bookmark-bmenu-search): New command.
13881         (bookmark-bmenu-mode-map): Bind it.
13883 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
13885         * progmodes/cc-cmds.el: declare-functioned forward-subword and
13886         backward-subword to quit the byte-compiler.
13888         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
13890         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
13892         * progmodes/cc-cmds.el (c-update-modeline)
13893         (c-forward-into-nomenclature, c-backward-into-nomenclature):
13894         Refer to subword.el functions instead of cc-subword.el.
13896         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
13897         subword.el functions instead of cc-subword.el.
13899         * progmodes/cc-subword.el: Rename to subword.el.
13900         * subword.el: Rename from progmodes/cc-subword.el.
13901         (subword-mode-map): Rename from c-subword-mode-map.
13902         (subword-mode): Rename from c-subword-mode.
13903         (global-subword-mode): New global minor mode.
13904         (forward-subword): Rename from c-forward-subword.
13905         (backward-subword): Rename from c-backward-subword.
13906         (mark-subword): Rename from c-mark-subword.
13907         (kill-subword): Rename from c-kill-subword.
13908         (backward-kill-subword): Rename from c-backward-kill-subword.
13909         (transpose-subwords): Rename from c-tranpose-subword.
13910         (downcase-subword): Rename from c-downcase-subword.
13911         (capitalize-subword): Rename from c-capitalize-subword.
13912         (forward-subword-internal): Rename from c-forward-subword-internal.
13913         (backward-subword-internal): Rename from c-backward-subword-internal.
13915 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
13917         * vc.el (vc-deduce-fileset): Allow non-state changing operations
13918         from a dired buffer.
13919         (vc-dired-deduce-fileset): New function.
13920         (vc-root-diff, vc-print-root-log): Use it.
13922         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
13923         nil LIMIT argument to vc-print-log-internal.
13925 2009-11-20  Glenn Morris  <rgm@gnu.org>
13927         * Makefile.in (ELCFILES): Regenerate.
13929 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
13931         * calc/calc.el (calc-set-mode-line):
13932         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13933         (math-format-number): Rename `math-format-complement-signed' to
13934         `math-format-twos-complement'.
13936         * calc/calc-bin.el (math-format-twos-complement): Rename from
13937         math-format-complement-signed.
13938         (calc-radix): Rename `calc-complement-signed-mode' to
13939         `calc-twos-complement-mode'.
13940         (calc-octal-radix, calc-hex-radix): Add an argument for
13941         two's complement.
13943         * calc/calc-embed.el (calc-embedded-mode-vars):
13944         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13946         * calc/calc-ext.el (calc-init-extensions):
13947         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13948         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
13950         * calc/calc-units.el (math-build-units-table-buffer):
13951         Let `calc-twos-complement-mode' be nil.
13953         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
13954         entries.
13956         * calc/calc-vec.el (calcFunc-vunpack):
13957         * calc/calc-aent.el (calc-do-calc-eval):
13958         * calc/calc-forms.el (math-format-date):
13959         * calc/calc-graph.el (calc-graph-plot):
13960         * calc/calc-math.el (math-use-emacs-fn):
13961         * calc/calccomp.el (math-compose-expr):
13962         Let `calc-twos-complement-mode' be nil.
13964 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
13966         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
13967         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
13968         * minibuffer.el (completion-in-region-functions): New hook.
13969         (completion-in-region): New function.
13970         * emacs-lisp/lisp.el (lisp-complete-symbol):
13971         * pcomplete.el (pcomplete-std-complete): Use it.
13973 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
13975         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
13976         (latex-complete-alist): New vars.
13977         (latex-string-prefix-p, latex-complete-bibtex-keys)
13978         (latex-complete-envnames, latex-complete-refkeys)
13979         (latex-complete-data): New functions.
13980         (latex-complete, latex-indent-or-complete): New commands.
13982         * window.el (display-buffer-mark-dedicated): New var.
13983         (display-buffer): Obey it.
13984         * minibuffer.el (minibuffer-completion-help): Use it.
13986         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
13988         * filecache.el (file-cache-add-file): Use push and cons.
13989         (file-cache-delete-file-regexp): Use push.
13990         (file-cache-complete): Use completion-in-region.
13992         * simple.el (with-wrapper-hook): Fix thinko.
13994         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
13995         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
13996         Use with-current-buffer and string-to-number.
13997         (hfy-fallback-colour-values): Use assoc-string.
13998         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
13999         (hfy-face-at): Remove unused var `found-face'.
14000         (hfy-compile-stylesheet): Remove unused var `css'.
14001         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
14002         and `orig-buffer'.
14003         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
14004         Use with-current-buffer.
14005         (hfy-text-p): Use expand-file-name and fewer setq.
14007 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
14009         * htmlfontify.el, hfy-cmap.el: New files.
14011 2009-11-19  Juri Linkov  <juri@jurta.org>
14013         * minibuffer.el (completions-format): New defcustom.
14014         (completion--insert-strings): Implement vertical format.
14016         * simple.el (switch-to-completions): Move point to the first
14017         completion when point was at the beginning of the buffer.
14019 2009-11-19  Juri Linkov  <juri@jurta.org>
14021         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
14023         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
14025 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
14027         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
14028         (mail-signature): Change default to t.
14029         (mail-from-style): Deprecate `system-default' value.
14030         (mail-insert-from-field): For default value of mail-from-style,
14031         default to `angles' unless `angles' needs quoting and `parens'
14032         does not.
14033         (mail-citation-prefix-regexp): Use citation regexp from
14034         message-mode.
14036 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
14038         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
14039         Set variables for computing the prompt for reading password.
14041 2009-11-19  Glenn Morris  <rgm@gnu.org>
14043         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
14045         * textmodes/flyspell.el (sgml-lexical-context): Declare.
14047         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
14048         (newsticker-treeview-listwindow-height): Fix custom type.
14050 2009-11-19  Kenichi Handa  <handa@m17n.org>
14052         * descr-text.el (describe-char-padded-string): Compose with TAB
14053         only if there's a font for CH.
14054         (describe-char): Fix the condition for detecting a trivial composition.
14056 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
14058         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
14059         more accurate version of the regexp.  (Bug#3910)
14061 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
14063         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
14065 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
14067         * font-setting.el (font-use-system-font): Declare for byte-compiler.
14068         (font-setting-change-default-font): Fix typo in docstring.
14070 2009-11-18  Alan Mackenzie  <acm@muc.de>
14072         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
14074 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
14076         * font-setting.el (font-use-system-font): Move ...
14078         * cus-start.el (all): ... to here.
14080 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
14082         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
14083         Don't set `ad-return-value' if `ad-do-it' doesn't.
14085         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
14086         modification time.
14088 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
14090         * menu-bar.el: Put "Use system font" in Option-menu.
14091         (menu-bar-options-save): Add font-use-system-font.
14093         * loadup.el: If feature system-font-setting or font-render-setting is
14094         there, load font-setting.
14096         * Makefile.in (ELCFILES): Add font-settings.el.
14097         * font-setting.el: New file.
14099 2009-11-17  Glenn Morris  <rgm@gnu.org>
14101         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
14103         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
14104         Preserve point in the list buffer.  (Bug#4939)
14105         Use point-at-eol.
14106         (newsticker--treeview-list-update-highlight)
14107         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
14109 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
14111         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
14112         Remove.
14114         * calc/calc-ext.el (calc-init-extensions): Remove references to
14115         symclip.
14117         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
14119         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
14120         * calc/calc-help.el (calc-b-prefix-help): Remove references to
14121         `calc-symclip'.
14123 2009-11-16  Kevin Ryde  <user42@zip.com.au>
14125         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
14126         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
14128         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
14129         (lm-keywords-list): Allow comma-only separator like "foo,bar".
14130         Ignore trailing spaces by omit-nulls to split-string (fixing
14131         regression from Emacs 21 due to the incompatible split-string
14132         change).  (Bug #4928.)
14134 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
14136         * vc.el (vc-log-show-limit): Default to 2000.
14137         (vc-print-log-internal): Insert buttons to request more entries
14138         when limiting the output.
14140         * vc-sccs.el (vc-sccs-print-log):
14141         * vc-rcs.el (vc-rcs-print-log):
14142         * vc-cvs.el (vc-cvs-print-log):
14143         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
14144         LIMIT is non-nil.
14146 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
14148         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
14149         error when `tramp-gvfs-dbus-event-vector' is set.
14150         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
14152 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
14154         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
14156 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
14158         * net/dbus.el (dbus-unregister-service): New defun.
14159         (dbus-register-property): Register the handlers of
14160         "org.freedesktop.DBus.Properties" for SERVICE.
14161         (dbus-property-handler): Fix docstring.
14163 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
14165         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
14166         Quote doc string reference in defvaralias as it is not in special form.
14167         (byte-compile-output-docform): Doc fix.
14169 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
14171         * calc/calc.el (math-2-word-size, math-half-2-word-size)
14172         (calc-complement-signed-mode): New variables.
14173         (calc-set-mode-line): Add indicator for twos-complements.
14174         (math-format-number): Format twos-complement notation.
14176         * calc/calc-bin.el (calc-word-size): Reset the variables
14177         `math-2-word-size' and `math-half-2-word-size'.
14178         (math-format-complement-signed, math-symclip, calcFunc-symclip)
14179         (calc-symclip): New functions.
14181         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
14183         * calc/calc-embed.el (calc-embedded-mode-vars):
14184         Add `calc-complement-signed-mode' to the list of modes.
14186         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
14187         (calc-b-oper-keys): Add `calc-symclip' to list.
14189         * calc/calc-ext.el (math-read-number-fancy): Read complement
14190         signed numbers.
14191         (calc-init-extensions): Add binding for `calc-symclip'.
14192         Add autoload for `calcFunc-symclip' and `calc-symclip'.
14194         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
14195         `calc-symclip'.
14196         (calc-modes-menu): Add item for twos complement mode.
14198         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
14200 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
14202         * register.el (jump-to-register, insert-register): Handle Semantic
14203         tags.  From commented-out advice in semantic/senator.el.
14205 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
14207         * vc.el (vc-log-show-limit): New variable.
14208         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
14209         when using a prefix argument.
14210         (vc-print-log-internal): Add new argument LIMIT.
14212         * vc-svn.el (vc-svn-print-log):
14213         * vc-mtn.el (vc-mtn-print-log):
14214         * vc-hg.el (vc-hg-print-log):
14215         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
14216         pass it to the log command when set.  Make the BUFFER argument
14217         non-optional.
14219         * vc-sccs.el (vc-sccs-print-log):
14220         * vc-rcs.el (vc-rcs-print-log):
14221         * vc-git.el (vc-git-print-log):
14222         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
14223         ignore it.  Make the BUFFER argument non-optional
14225         * bindings.el (mode-line-buffer-identification): Do not purecopy.
14227 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
14229         * dired.el (dired-mode-map): Move encryption items to "Operate"
14230         menu (Bug#4703).
14232         * strokes.el (strokes-update-window-configuration): Make strokes
14233         buffer current before erasing (Bug#4906).
14235 2009-11-15  Juri Linkov  <juri@jurta.org>
14237         * simple.el (set-mark-default-inactive): Add :type, :group
14238         and :version.  (Bug#4876)
14240 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
14242         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
14243         (archive-unique-fname): ... here.  (Bug#4929)
14245 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14247         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
14248         with a real fix.
14250         * novice.el (disabled-command-function): Add useful args.
14251         Setup the help buffer so that [back] works.
14252         Remove redundant call to help-mode.
14253         (disabled-command-function): Use `case'.
14254         (en/disable-command): New function extracted from enable-command.
14255         (enable-command, disable-command): Use it.
14257 2009-11-14  Glenn Morris  <rgm@gnu.org>
14259         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
14260         constants.  (Bug#4913)
14262         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
14264 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
14266         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
14267         defined in C that have no doc-strings.  (Bug#1063)
14269 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
14271         * cus-edit.el (data, files):
14272         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
14274 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
14276         * simple.el (shell-command): Doc fix (Bug#4891).
14278         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
14280 2009-11-14  Glenn Morris  <rgm@gnu.org>
14282         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
14283         statements for vc-diff, emerge-quit, and rmail-cease-edit.
14284         If they are already loaded, eval-after-load will do the right thing.
14286         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
14287         compiling.
14289         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
14291         * simple.el (x-selection-owner-p): Declare.
14292         (read-mail-command): Use custom radio type rather than choice.
14293         (completion-no-auto-exit): Doc fix.
14295         * custom.el (defgroup):
14296         * epg-config.el (epg): Doc fixes.
14298 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
14300         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
14301         * international/ccl.el (define-ccl-program): Do not purecopy the
14302         docstring, defconst does it anyway.
14304 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14306         * add-log.el (add-change-log-entry): Avoid displaying the changelog
14307         a second time.
14309         * x-dnd.el (x-dnd-maybe-call-test-function):
14310         * window.el (split-window-vertically):
14311         * whitespace.el (whitespace-help-on):
14312         * vc-rcs.el (vc-rcs-consult-headers):
14313         * userlock.el (ask-user-about-lock-help)
14314         (ask-user-about-supersession-help):
14315         * type-break.el (type-break-force-mode-line-update):
14316         * time-stamp.el (time-stamp-conv-warn):
14317         * terminal.el (te-set-output-log, te-more-break, te-filter)
14318         (te-sentinel, terminal-emulator):
14319         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
14320         (term-write-input-ring, term-check-source, term-start-output-log):
14321         (term-display-buffer-line, term-dynamic-list-completions):
14322         (term-ansi-make-term, serial-term):
14323         * subr.el (selective-display):
14324         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
14325         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
14326         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
14327         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
14328         (speedbar-remove-localized-speedbar-support)
14329         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
14330         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
14331         (speedbar-buffers-line-directory):
14332         * simple.el (shell-command-on-region, append-to-buffer)
14333         (prepend-to-buffer):
14334         * shadowfile.el (shadow-save-todo-file):
14335         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
14336         (scroll-bar-maybe-set-window-start):
14337         * sb-image.el (speedbar-image-dump):
14338         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
14339         (load-save-place-alist-from-file):
14340         * ps-samp.el (ps-print-message-from-summary):
14341         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
14342         (ps-background-image, ps-begin-job, ps-do-despool):
14343         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
14344         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
14345         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
14346         (pr-call-process, pr-file-list, pr-interface-save):
14347         * novice.el (disabled-command-function)
14348         (enable-command, disable-command):
14349         * mouse.el (mouse-buffer-menu-alist):
14350         * mouse-copy.el (mouse-kill-preserving-secondary):
14351         * macros.el (kbd-macro-query):
14352         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
14353         * informat.el (batch-info-validate):
14354         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
14355         * hippie-exp.el (try-expand-dabbrev-visible):
14356         * help-mode.el (help-make-xrefs):
14357         * help-fns.el (describe-variable):
14358         * generic-x.el (bat-generic-mode-run-as-comint):
14359         * finder.el (finder-mouse-select):
14360         * find-dired.el (find-dired-sentinel):
14361         * filesets.el (filesets-file-close):
14362         * files.el (list-directory):
14363         * faces.el (list-faces-display, describe-face):
14364         * facemenu.el (list-colors-display):
14365         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
14366         * epg.el (epg--process-filter, epg-cancel):
14367         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
14368         (epa--read-signature-type):
14369         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
14370         (emerge-file-names):
14371         * ehelp.el (electric-helpify):
14372         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
14373         * ediff-vers.el (rcs-ediff-view-revision):
14374         * ediff-util.el (ediff-setup):
14375         * ediff-mult.el (ediff-append-custom-diff):
14376         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
14377         (ediff-wordify):
14378         * echistory.el (Electric-command-history-redo-expression):
14379         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
14380         * disp-table.el (describe-display-table):
14381         * dired.el (dired-find-buffer-nocreate):
14382         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
14383         * dabbrev.el (dabbrev--same-major-mode-p):
14384         * chistory.el (list-command-history):
14385         * apropos.el (apropos-documentation):
14386         * allout.el (allout-obtain-passphrase):
14387         (allout-copy-exposed-to-buffer):
14388         (allout-verify-passphrase): Use with-current-buffer.
14390 2009-11-13  Glenn Morris  <rgm@gnu.org>
14392         * Makefile.in (ELCFILES): Regenerate.
14394 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
14396         * net/dbus.el (dbus-registered-objects-table): Rename from
14397         `dbus-registered-functions-table', because it contains also properties.
14398         (dbus-unregister-object): Unregister also properties.
14399         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14400         Use a timeout of 500 msec, in order to not block.
14401         (dbus-register-property, dbus-property-handler): New defuns.
14403 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14405         * simple.el (minibuffer-default-add-completions): Drop deprecated
14406         4th arg.
14408 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
14410         * textmodes/artist.el (artist-mouse-choose-operation):
14411         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
14412         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
14413         (artist-compute-up-event-key): New function.
14414         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
14416 2009-11-13  Kenichi Handa  <handa@m17n.org>
14418         * language/japan-util.el: Make sure that the value of jisx0208
14419         property is jisx0208 character.
14421 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
14423         * international/mule.el (auto-coding-regexp-alist): Only purecopy
14424         car or each item, not the whole list.
14426 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14428         * minibuffer.el (minibuffer-completion-help):
14429         Use minibuffer-hide-completions.
14431 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
14433         * dired.el (dired-save-positions, dired-restore-positions): New funs.
14434         (dired-revert): Use them (bug#4880).
14436 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
14438         * tooltip.el (tooltip-frame-parameters): Undo previous change.
14440 2009-11-12  Juri Linkov  <juri@jurta.org>
14442         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
14443         New functions.
14444         (find-file-literally-at-point): Alias of `ffap-literally'.
14446 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
14448         * textmodes/ispell.el (ispell-skip-region-alist):
14449         * textmodes/css-mode.el (auto-mode-alist):
14450         * progmodes/compile.el (auto-mode-alist):
14451         * international/mule.el (ctext-non-standard-encodings-alist)
14452         (ctext-non-standard-encodings-regexp):
14453         * simple.el (shell-command-switch, text-read-only):
14454         * replace.el (occur-mode-map):
14455         * paths.el (rmail-file-name):
14456         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
14457         * find-file.el (ff-special-constructs):
14458         * files.el (file-name-handler-alist):
14459         * composite.el: Purecopy strings.
14461         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
14463 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
14465         * widget.el (define-widget): Purecopy the docstring.
14466         * international/mule-cmds.el (charset): Do not purecopy the
14467         docstring here, define-widget does it.
14469         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
14470         * textmodes/bibtex-style.el (auto-mode-alist):
14471         * progmodes/inf-lisp.el (inferior-lisp-prompt):
14472         * progmodes/compile.el (compile-command):
14473         * language/korea-util.el (default-korean-keyboard):
14474         * international/mule-conf.el (file-coding-system-alist):
14475         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
14476         * tooltip.el (tooltip-frame-parameters):
14477         * newcomment.el (comment-end, comment-padding):
14478         * dired.el (dired-trivial-filenames):
14479         * comint.el (comint-file-name-prefix): Purecopy initial values.
14481 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
14483         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
14484         (tramp-advice-minibuffer-electric-tilde): Unload advices via
14485         `tramp-unload'.
14486         (tramp-advice-make-auto-save-file-name)
14487         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
14488         after removing the advice.
14490 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
14492         * progmodes/grep.el (grep-regexp-alist):
14493         * international/mule-cmds.el (iso-2022-control-alist):
14494         * emacs-lisp/timer.el (timer-duration-words):
14495         * subr.el (version-separator, version-regexp-alist):
14496         * minibuffer.el (completion-styles-alist):
14497         * faces.el (face-attribute-name-alist, list-faces-sample-text):
14498         Change defvars to defconsts.
14500         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
14501         * loadup.el ("international/mule-conf"): Load the byte compiled version.
14502         * international/mule-conf.el: Allow to be byte compiled.
14504         * international/mule.el (define-charset): Purecopy props.
14505         (load-with-code-conversion): Purecopy doc string and file name.
14506         (put-charset-property): Purecopy strings.
14507         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
14509         * international/mule-cmds.el (register-input-method): Purecopy arguments.
14510         (define-char-code-property): Correctly purecopy the table.
14512         * international/ccl.el (define-ccl-program): Purecopy the docstring.
14514         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
14516         * subr.el (add-hook): Purecopy strings.
14517         (eval-after-load): Purecopy load-history-regexp and the form.
14519         * custom.el (custom-declare-group): Purecopy load-file-name.
14521         * subr.el (menu-bar-separator): New defconst.
14522         * net/eudc.el (eudc-tools-menu):
14523         * international/mule-cmds.el (set-coding-system-map)
14524         (mule-menu-keymap):
14525         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14526         * vc-hooks.el (vc-menu-map):
14527         * replace.el (occur-mode-map):
14528         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
14529         (menu-bar-edit-menu, menu-bar-goto-menu)
14530         (menu-bar-custom-menu, menu-bar-showhide-menu)
14531         (menu-bar-options-menu, menu-bar-tools-menu)
14532         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
14533         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
14534         (menu-bar-help-menu):
14535         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
14536         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
14538         * term/x-win.el (x-gtk-stock-map):
14539         * progmodes/vera-mode.el (auto-mode-alist):
14540         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
14541         (inferior-lisp-program, inferior-lisp-load-command):
14542         * progmodes/hideshow.el (hs-special-modes-alist):
14543         * progmodes/gud.el (same-window-regexps):
14544         * progmodes/grep.el (grep-program, find-program, xargs-program):
14545         * net/telnet.el (same-window-regexps):
14546         * net/rlogin.el (same-window-regexps):
14547         * language/ethiopic.el (font-ccl-encoder-alist):
14548         * vc-sccs.el (vc-sccs-master-templates):
14549         * vc-rcs.el (vc-rcs-master-templates):
14550         * subr.el (cl-assertion-failed):
14551         * simple.el (next-error-overlay-arrow-position):
14552         * lpr.el (lpr-command):
14553         * locate.el (locate-ls-subdir-switches):
14554         * info.el (same-window-regexps, info)
14555         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
14556         * image-mode.el (image-mode, auto-mode-alist):
14557         * hippie-exp.el (hippie-expand-ignore-buffers):
14558         * format.el (format-alist):
14559         * find-dired.el (find-ls-subdir-switches, find-grep-options)
14560         (find-name-arg):
14561         * facemenu.el (facemenu-keybindings):
14562         * dired.el (dired-listing-switches, dired-chown-program):
14563         * diff.el (diff-switches, diff-command):
14564         * cus-edit.el (same-window-regexps):
14565         * bindings.el (mode-line-mule-info)
14566         (mode-line-buffer-identification): Purecopy strings.
14568 2009-11-11  Juri Linkov  <juri@jurta.org>
14570         * simple.el (dired-get-filename) <declare-function>:
14571         Tell the byte-compiler about dired-get-filename.
14572         (shell-command): In Dired mode, get filename from the current line
14573         as the default value.
14575 2009-11-10  Glenn Morris  <rgm@gnu.org>
14577         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
14578         * calendar/holidays.el, progmodes/cperl-mode.el:
14579         Update x-popup-menu declarations.
14581         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
14582         (list-load-path-shadows): Use dolist.
14583         (list-load-path-shadows): Use with-current-buffer.
14585 2009-11-10  Juri Linkov  <juri@jurta.org>
14587         * minibuffer.el (read-file-name): Support a list of default values
14588         in `default-filename'.  Use the first file name where only one
14589         element is required.  Doc fix.
14591 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
14593         * net/dbus.el (dbus-unregister-object): Release service, if no
14594         other method is registered for it.
14596 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
14598         * bookmark.el (bookmark-completing-read): Sort bookmark names if
14599         bookmark-sort-flag is non-nil (Bug#4653).
14601 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
14603         * emulation/cua-base.el: Add CUA property to some CC mode commands
14604         (Bug#4100).
14606 2009-11-08  Kevin Ryde  <user42@zip.com.au>
14608         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
14609         at end of sentence (Bug#4818).
14611 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
14613         * progmodes/compile.el (compilation-error-regexp-alist-alist):
14614         Handle "see declaration of" MSFT statements (Bug#4100).
14616 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
14618         * net/tramp.el (tramp-advice-make-auto-save-file-name)
14619         (tramp-advice-file-expand-wildcards): Unload via
14620         `ad-remove-advice'.
14622         * net/trampver.el: Update release number.
14624 2009-11-08  Kevin Ryde  <user42@zip.com.au>
14626         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
14627         `ad-do-it'.
14629 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
14631         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
14632         in order to keep context in SELinux.
14634 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
14636         * dired-aux.el (dired-query): Place cursor in echo area and allow
14637         C-g.
14639         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
14640         menu item if not on a directory (Bug#4701).
14642 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
14644         Sync with Tramp 2.1.17.
14646         * net/tramp.el (tramp-handle-copy-directory): Don't use
14647         `file-remote-p' (due to compatibility).
14649         * net/tramp-compat.el (tramp-compat-copy-directory)
14650         (tramp-compat-delete-directory): New defuns.
14652         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
14653         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
14654         Use `tramp-compat-delete-directory'.
14656         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
14657         (tramp-smb-handle-delete-directory):
14658         Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
14660         * net/trampver.el: Update release number.
14662 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
14664         * tar-mode.el (tar-copy): Call write-region on the right buffer
14665         (Bug#4857).
14667         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
14668         by hand, if necessary (Bug#4878).
14670 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
14672         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
14673         align size column (Bug#4839).
14675         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
14676         statement.
14678 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
14680         * progmodes/ld-script.el (auto-mode-alist):
14681         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
14683         * cus-face.el (custom-declare-face): Purecopy face spec.
14685 2009-11-06  Kenichi Handa  <handa@m17n.org>
14687         * international/uni-bidi.el: Re-generated.
14688         * international/uni-category.el: Re-generated.
14689         * international/uni-combining.el: Re-generated.
14690         * international/uni-mirrored.el: Re-generated.
14692 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
14694         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
14695         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
14696         (tex-start-options, slitex-run-command, latex-run-command)
14697         (tex-run-command, tex-directory):
14698         * textmodes/ispell.el (ispell-html-skip-alists)
14699         (ispell-tex-skip-alists, ispell-tex-skip-alists):
14700         * textmodes/fill.el (adaptive-fill-first-line-regexp):
14701         (adaptive-fill-regexp):
14702         * textmodes/dns-mode.el (auto-mode-alist):
14703         * progmodes/python.el (interpreter-mode-alist):
14704         * progmodes/etags.el (tags-compression-info-list):
14705         * progmodes/etags.el (tags-file-name):
14706         * net/browse-url.el (browse-url-galeon-program)
14707         (browse-url-firefox-program):
14708         * mail/sendmail.el (mail-signature-file)
14709         (mail-citation-prefix-regexp):
14710         * international/mule-conf.el (eight-bit):
14711         * international/latexenc.el (latex-inputenc-coding-alist):
14712         * international/fontset.el (x-pixel-size-width-font-regexp):
14713         * emacs-lisp/warnings.el (warning-type-format):
14714         * emacs-lisp/trace.el (trace-buffer):
14715         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
14716         (emacs-lisp-mode-map):
14717         * calendar/holidays.el (holiday-solar-holidays)
14718         (holiday-bahai-holidays, holiday-islamic-holidays)
14719         (holiday-christian-holidays, holiday-hebrew-holidays)
14720         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
14721         (hebrew-holidays-1, holiday-oriental-holidays)
14722         (holiday-general-holidays):
14723         * x-dnd.el (x-dnd-known-types):
14724         * tool-bar.el (tool-bar):
14725         * startup.el (site-run-file):
14726         * shell.el (shell-dumb-shell-regexp):
14727         * rfn-eshadow.el (file-name-shadow-tty-properties)
14728         (file-name-shadow-properties):
14729         * paths.el (remote-shell-program, news-directory):
14730         * mouse.el ([C-down-mouse-3]):
14731         * menu-bar.el (menu-bar-tools-menu):
14732         * jka-cmpr-hook.el (jka-compr-load-suffixes)
14733         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
14734         (jka-compr-compression-info-list):
14735         * isearch.el (search-whitespace-regexp):
14736         * image-file.el (image-file-name-extensions):
14737         * find-dired.el (find-ls-option):
14738         * files.el (directory-listing-before-filename-regexp)
14739         (directory-free-space-args, insert-directory-program)
14740         (list-directory-brief-switches, magic-fallback-mode-alist)
14741         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
14742         (automount-dir-prefix):
14743         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
14744         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
14745         (face-font-registry-alternatives, face-font-registry-alternatives)
14746         (face-font-family-alternatives):
14747         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
14748         (facemenu-foreground-menu, facemenu-face-menu):
14749         * epa-hook.el (epa-file-name-regexp):
14750         * dnd.el (dnd-protocol-alist):
14751         * textmodes/rst.el (auto-mode-alist):
14752         * button.el (default-button): Purecopy strings.
14754 2009-11-06  Glenn Morris  <rgm@gnu.org>
14756         * Makefile.in (ELCFILES): Update.
14758 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14760         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
14761         * emacs-lisp/levents.el: Move to obsolete/levents.el.
14763         * nxml/xsd-regexp.el (xsdre-gen-categories):
14764         * nxml/xmltok.el (xmltok-parse-entity):
14765         * nxml/rng-parse.el (rng-parse-validate-file):
14766         * nxml/rng-maint.el (rng-format-manual)
14767         (rng-manual-output-force-new-line):
14768         * nxml/rng-loc.el (rng-save-schema-location-1):
14769         * nxml/rng-cmpct.el (rng-c-parse-file):
14770         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
14771         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
14773 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
14775         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
14776         Remove extra save-excursions and make-variable-buffer-local's.
14777         Suggested by Stefan Monnier.
14779         (verilog-getopt-file, verilog-module-inside-filename-p)
14780         (verilog-set-define): Merge GNU 1.35 and repair changes from
14781         switching to using with-current-buffer.
14783         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
14784         being treated as a number and confusing AUTORESET.
14785         Reported by Dan Dever.
14787         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
14788         Add verilog-auto-ignore-concat to fix backward compatibility with
14789         older verilog-modes.  Reported by Dan Katz.
14791         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
14792         containing closing anchors "...$".
14794         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
14795         Reported by Wade Smith.
14797         (verilog-batch-execute-func): Comment on function usage.
14799 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
14801         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
14802         for labels.
14804         (verilog-label-re, verilog-calc-1): Support proper indent of named
14805         asserts.
14807         (verilog-backward-token, verilog-basic-complete-re)
14808         (verilog-beg-of-statement, verilog-indent-re): Support proper
14809         indent of the assert statement at the beginning of a block of text.
14811         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
14812         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
14813         tokens as begins.
14815 2009-11-05  Glenn Morris  <rgm@gnu.org>
14817         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
14818         Emacs 19.  (Bug#1531)
14819         (byte-compile-fix-header): Update for the above change.
14820         Drop test for epoch::version.
14822         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
14823         * cus-dep.el (custom-make-dependencies):
14824         * finder.el (finder-compile-keywords):
14825         Use autoload-rubric's feature argument.
14827         * calendar/diary-lib.el (top-level): Make load behave more like require.
14829         * vc-git.el (vc-git-stash-map): Move definition before use.
14831 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
14833         * custom.el (custom-declare-group): Purecopy standard-value.
14834         (custom-declare-group): Purecopy custom-prefix.
14836         * international/mule.el (load-with-code-conversion):
14837         Call do-after-load-evaluation unconditionally.
14839         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
14841 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14843         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
14845 2009-11-04  Glenn Morris  <rgm@gnu.org>
14847         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
14848         (byte-compile-compatibility): Remove option.
14849         (byte-compile-close-variables, byte-compile-fix-header)
14850         (byte-compile-insert-header, byte-compile-output-docform)
14851         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
14852         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
14853         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
14854         (byte-compile-insert, byte-compile-defun):
14855         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
14856         (byte-defop-compiler19): Remove.
14857         Without byte-compile-compatibility, the 'emacs19-opcode property is not
14858         used by anything.  Replace all calls with byte-defop-compiler.
14860 2009-11-04  Juri Linkov  <juri@jurta.org>
14862         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
14863         (menu-bar-options-menu): Don't quote the `prop' arg of
14864         `menu-bar-make-mm-toggle'.
14866 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
14868         * calendar/calendar.el (cal-loaddefs):
14869         * calendar/diary-lib.el (diary-loaddefs):
14870         * calendar/holidays.el (hol-loaddefs):
14871         * eshell/esh-module.el (esh-groups): Load rather than require.
14873 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14875         * calendar/todo-mode.el (todo-add-category): Don't hardcode
14876         point-min==1.
14877         (todo-top-priorities): Only display-buffer when called interactively.
14878         (todo-item-start): Don't save excursion point.
14879         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
14880         (todo-insert-item-here, todo-file-item, todo-remove-item):
14881         Adjust uses of todo-item-start and todo-item-end.
14883         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
14884         (autoload-rubric): Don't use any more.
14886         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
14887         and only put a prop if it is non-nil.
14889 2009-11-03  Juri Linkov  <juri@jurta.org>
14891         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
14892         (menu-bar-options-menu): Fix list quoting (Bug#4429).
14894         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
14895         and "Menu" to make top-level menu item visually one unit (like
14896         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
14897         multi-word menu items).  Fix :help string for quit-window.
14899 2009-11-03  Glenn Morris  <rgm@gnu.org>
14901         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
14902         (byte-compile-file-form-define-abbrev-table)
14903         (byte-compile-file-form-custom-declare-variable)
14904         (byte-compile-variable-ref, byte-compile-defvar):
14905         Whether or not a warning is enabled should only affect whether we issue
14906         the warning, not whether or not we collect the relevant data.
14907         Eg warnings can be turned on and off throughout the course of a file.
14909         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
14910         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
14912 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14914         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
14915         * play/mpuz.el (mpuz-create-buffer):
14916         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
14917         (lm-print-y,s,noise, lm-print-w0, lm-init):
14918         * play/gomoku.el (gomoku-prompt-for-move):
14919         * play/fortune.el (fortune-in-buffer):
14920         * play/dissociate.el (dissociated-press):
14921         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
14922         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
14923         * mail/supercite.el (sc-eref-show):
14924         * mail/smtpmail.el (smtpmail-send-it):
14925         * mail/rmailsum.el (rmail-summary-next-labeled-message)
14926         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
14927         (rmail-summary-undelete-many, rmail-summary-rmail-update)
14928         (rmail-summary-goto-msg, rmail-summary-expunge)
14929         (rmail-summary-get-new-mail, rmail-summary-search-backward)
14930         (rmail-summary-add-label, rmail-summary-output-menu)
14931         (rmail-summary-output-body):
14932         * mail/rfc822.el (rfc822-addresses):
14933         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
14934         * mail/mailpost.el (post-mail-send-it):
14935         * mail/hashcash.el (hashcash-generate-payment):
14936         * mail/feedmail.el (feedmail-run-the-queue)
14937         (feedmail-queue-send-edit-prompt-help-first)
14938         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
14939         (feedmail-deduce-address-list):
14940         * eshell/esh-ext.el (eshell-remote-command):
14941         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
14942         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
14943         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
14944         (viper-save-string-in-file, viper-valid-marker):
14945         * emulation/viper-keym.el (viper-toggle-key):
14946         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
14947         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
14948         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
14949         * emulation/viper-cmd.el (viper-exec-form-in-vi)
14950         (viper-exec-form-in-emacs, viper-brac-function):
14951         * emulation/viper.el (viper-delocalize-var):
14952         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
14953         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
14954         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
14955         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
14956         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
14957         * emulation/edt.el (edt-electric-helpify):
14958         * emulation/cua-rect.el (cua--rectangle-aux-replace):
14959         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
14960         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
14961         (cua-indent-to-global-mark-column):
14962         * calendar/diary-lib.el (calendar-mark-1):
14963         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
14964         Use with-current-buffer.
14965         * emulation/viper.el (viper-delocalize-var): Use dolist.
14967 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
14969         * comint.el (comint-replace-by-expanded-history-before-point):
14970         Replace !! with the previous input string literally (Bug#1795).
14972 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
14974         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
14975         to be made up of whitespace.
14977 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
14979         * minibuffer.el (read-file-name): Don't use file dialogs for
14980         remote directories (Bug#99).
14982 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
14984         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
14986 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
14988         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
14989         instead of deleting the window or frame.
14991 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
14993         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
14994         Support face colors.
14996         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
14997         New function.  Support face colors (Bug#1168).
14998         (tex-common-initialization): Use it.
15000         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
15001         mode allows it (Bug#1168).
15003 2009-10-31  Juri Linkov  <juri@jurta.org>
15005         * facemenu.el (list-colors-display): Don't mark buffer as
15006         modified (Bug#3948).
15008 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
15010         * international/mule-diag.el (list-character-sets-1):
15011         Minor message fix (Bug#3526).
15013         * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
15014         Fix face property (Bug#4834).
15015         (etags-list-tags, etags-tags-apropos-additional)
15016         (etags-tags-apropos, tags-select-tags-table): Add follow-link
15017         property.
15019         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
15020         items.
15022 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
15024         * textmodes/two-column.el (2C-split):
15025         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
15026         * textmodes/tex-mode.el (tex-set-buffer-directory):
15027         * textmodes/spell.el (spell-region, spell-string):
15028         * textmodes/reftex.el (reftex-erase-buffer):
15029         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
15030         * textmodes/reftex-toc.el (reftex-toc-promote-action):
15031         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
15032         (reftex-select-item):
15033         * textmodes/reftex-ref.el (reftex-label-info-update)
15034         (reftex-offer-label-menu):
15035         * textmodes/reftex-index.el (reftex-index-change-entry)
15036         (reftex-index-phrases-info):
15037         * textmodes/reftex-global.el (reftex-create-tags-file)
15038         (reftex-save-all-document-buffers, reftex-ensure-write-access):
15039         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
15040         (reftex-view-crossref-from-bibtex):
15041         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
15042         (reftex-extract-bib-entries-from-thebibliography)
15043         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
15044         * textmodes/refbib.el (r2b-capitalize-title):
15045         (r2b-convert-buffer, r2b-help):
15046         * textmodes/page-ext.el (pages-directory)
15047         (pages-directory-goto-with-mouse):
15048         * textmodes/bibtex.el (bibtex-validate-globally):
15049         * textmodes/bib-mode.el (bib-capitalize-title):
15050         * textmodes/artist.el (artist-clear-buffer, artist-system):
15051         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
15052         (local-set-scheme-interaction-buffer, xscheme-process-filter)
15053         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
15054         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
15055         (xscheme-send-control-g-interrupt, xscheme-start-process)
15056         (xscheme-process-sentinel, xscheme-cd):
15057         * progmodes/verilog-mode.el (verilog-read-always-signals)
15058         (verilog-set-define, verilog-getopt-file)
15059         (verilog-module-inside-filename-p):
15060         * progmodes/sh-script.el:
15061         * progmodes/python.el (python-pdbtrack-get-source-buffer)
15062         (python-pdbtrack-grub-for-buffer, python-execute-file):
15063         * progmodes/octave-inf.el (inferior-octave):
15064         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
15065         (idlwave-shell-compile-helper-routines, idlwave-set-local)
15066         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
15067         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
15068         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
15069         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
15070         (idlwave-shell-filter, idlwave-shell-examine-highlight)
15071         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
15072         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
15073         (idlwave-shell-examine-display, idlwave-shell-run-region)
15074         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
15075         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
15076         * progmodes/idlw-help.el (idlwave-help-get-special-help)
15077         (idlwave-help-get-help-buffer):
15078         * progmodes/gud.el (gud-basic-call, gud-find-class)
15079         (gud-tooltip-activate-mouse-motions-if-enabled):
15080         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
15081         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
15082         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
15083         (ebrowse-tags-next-file):
15084         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
15085         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
15086         (ebnf-eps-finish-and-write):
15087         * progmodes/cpp.el (cpp-edit-save):
15088         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
15089         * progmodes/cc-defs.el (c-emacs-features):
15090         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
15091         (antlr-directory-dependencies):
15092         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
15093         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
15094         (ada-find-any-references, ada-make-filename-from-adaname)
15095         (ada-make-body-gnatstub):
15096         * obsolete/rnews.el (news-list-news-groups):
15097         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
15098         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
15099         * net/rcirc.el (rcirc-debug):
15100         * net/newst-treeview.el (newsticker--treeview-list-add-item)
15101         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
15102         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
15103         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
15104         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
15105         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
15106         (newsticker--treeview-list-clear-highlight)
15107         (newsticker--treeview-list-update-highlight)
15108         (newsticker--treeview-list-highlight-start)
15109         (newsticker--treeview-tree-update-highlight)
15110         (newsticker--treeview-get-selected-item)
15111         (newsticker-treeview-mark-list-items-old)
15112         (newsticker--treeview-set-current-node):
15113         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
15114         * net/newst-backend.el (newsticker--get-news-by-funcall)
15115         (newsticker--get-news-by-wget, newsticker--image-get)
15116         (newsticker--image-sentinel):
15117         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
15118         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
15119         (eudc-ph-close-session):
15120         * net/eudc.el (eudc-save-options):
15121         * language/thai-word.el (thai-update-word-table):
15122         * language/japan-util.el (japanese-string-conversion):
15123         * international/titdic-cnv.el (tsang-quick-converter)
15124         (ziranma-converter, ctlau-converter):
15125         * international/mule-cmds.el (describe-language-environment):
15126         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
15127         (skkdic-convert-postfix, skkdic-convert-prefix):
15128         (skkdic-convert-okuri-nasi, skkdic-convert):
15129         * emacs-lisp/re-builder.el (reb-update-overlays):
15130         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
15131         * emacs-lisp/gulp.el (gulp-send-requests):
15132         * emacs-lisp/find-gc.el (trace-call-tree):
15133         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
15134         (eieio-describe-generic):
15135         * emacs-lisp/eieio-base.el (eieio-persistent-read):
15136         * emacs-lisp/edebug.el (edebug-outside-excursion):
15137         * emacs-lisp/debug.el (debugger-make-xrefs):
15138         * emacs-lisp/cust-print.el (custom-prin1-to-string):
15139         * emacs-lisp/chart.el (chart-new-buffer):
15140         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
15141         Use with-current-buffer.
15142         * textmodes/artist.el (artist-system): Don't call
15143         copy-sequence on a fresh string.
15144         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
15146 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
15148         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
15149         is no item to edit.  (Bug#4820)
15150         (todo-top-priorities): Restore point and restore narrowing in Todo
15151         buffer.  (Bug#4820)
15153 2009-10-31  Glenn Morris  <rgm@gnu.org>
15155         * net/ange-ftp.el (top-level): Don't require dired when compiling.
15156         (comint-last-output-start, comint-last-input-start)
15157         (comint-last-input-end): Don't defvar when compiling.
15158         (ange-ftp-process-file): Use bound-and-true-p.
15160         * pcmpl-rpm.el (top-level): Move provide statement to end.
15161         (pcmpl-rpm): Remove unused custom group.
15163         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
15165         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
15167         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
15168         (byte-compile-warnings): Add `constants' as an option.
15169         (byte-compile-callargs-warn, byte-compile-arglist-warn)
15170         (display-call-tree): Update for byte-compile-fdefinition possibly
15171         returning `(macro lambda ...)'.  (Bug#4778)
15172         (byte-compile-variable-ref, byte-compile-setq-default):
15173         Respect `constants' member of byte-compile-warnings.
15175 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15177         * vc-bzr.el (vc-bzr-revision-keywords): New var.
15178         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
15179         to "submit:".
15181 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
15183         * textmodes/ispell.el (ispell-skip-region-alist):
15184         * international/mule-conf.el (eight-bit):
15185         * international/fontset.el (font-encoding-alist):
15186         * startup.el (pure-space-overflow-message):
15187         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
15188         * paths.el (gnus-nntp-service, rmail-spool-directory)
15189         (term-file-prefix):
15190         * files.el (save-some-buffers-action-alist):
15191         * cmuscheme.el (same-window-buffer-names):
15192         * ielm.el (same-window-buffer-names):
15193         * shell.el (same-window-buffer-names):
15194         * mail/sendmail.el (same-window-buffer-names):
15195         * progmodes/inf-lisp.el (same-window-buffer-names):
15196         * bindings.el (mode-line-client)
15197         (mode-line-column-line-number-mode-map):
15198         * language/tibetan.el (tibetan-precomposition-rule-regexp)
15199         (tibetan-precomposed-regexp): Purecopy string arguments.
15201 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15203         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
15204         (calcDigit-nondigit):
15205         * calc/calc-yank.el (calc-copy-to-buffer):
15206         * calc/calc-units.el (calc-invalidate-units-table):
15207         * calc/calc-trail.el (calc-trail-yank):
15208         * calc/calc-store.el (calc-insert-variables):
15209         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
15210         * calc/calc-prog.el (calc-read-parse-table):
15211         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
15212         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
15213         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
15214         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
15215         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
15216         (calc-graph-name, calc-graph-find-command, calc-graph-view)
15217         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
15218         * calc/calc-ext.el (calc-realign):
15219         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
15220         (calc-embedded-finish-edit, calc-embedded-make-info)
15221         (calc-embedded-finish-command, calc-embedded-stack-change):
15222         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
15224         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
15225         shell-dynamic-complete-filename in preference to
15226         comint-dynamic-complete-filename.
15228         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
15229         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
15230         Don't consider whether the display supports colors.
15231         (bookmark-import-new-list): Use dolist.
15232         (bookmark-bmenu-mode-map): Move initialization into declaration.
15233         (bookmark-bmenu-list): Use dolist, simplify.
15234         (bookmark-show-all-annotations): Use save-selected-window and dolist.
15235         (menu-bar-final-items): Use push.
15237 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
15239         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
15240         it works on remote files.
15241         (vc-hg-diff): Don't pass any `--cwd' argument.
15243 2009-10-27  Kevin Ryde  <user42@zip.com.au>
15245         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15246         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
15247         (Further to Bug#3921).
15249 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
15251         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
15252         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
15253         calling `tramp-imap-put-file'.  Add file size to the call.
15254         (tramp-imap-get-file-entries): Compute also user name, file size,
15255         and date.
15256         (tramp-imap-handle-insert-directory): Insert uid and gid.
15257         (tramp-imap-handle-file-attributes): Transform uid and gid
15258         according to `id-format'.
15259         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
15260         size in header X-Size.
15262 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
15264         * simple.el (transpose-subr): Give clearer error when the mark
15265         is not set.  (Bug#4807)
15267 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
15269         * net/tramp.el (tramp-perl-file-truename): New defconst.
15270         Perl code contributed by yary <not.com@gmail.com> (tiny change).
15271         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
15272         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
15273         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
15275         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
15276         Ignore `dired-call-process'.
15277         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
15279 2009-10-26  Julian Scheid  <julians37@gmail.com>
15281         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
15282         (tramp-get-remote-readlink): New defun.
15283         (tramp-handle-file-truename): Use it.
15284         (tramp-handle-file-exists-p): Check file-attributes cache, assume
15285         file exists if cache value present.
15286         (tramp-check-cached-permissions): New defun.
15287         (tramp-handle-file-readable-p): Use it.
15288         (tramp-handle-file-writable-p): Likewise.
15289         (tramp-handle-file-executable-p): Likewise.
15290         (tramp-handle-file-name-all-completions): Try using Perl to get
15291         partial completions.  When perl not available, combine `cd' and
15292         `ls' into single remote operation and use shell expansion to get
15293         partial remote directory contents.  Set `file-exists-p' cache for
15294         directory and any files returned by ls.  Change cache handling to
15295         support partial directory contents.  Use error message emitted by
15296         remote `cd' or Perl code for local tramp-error.
15297         (tramp-do-copy-or-rename-file-directly): Avoid separate
15298         tramp-send-command-and-check call.
15299         (tramp-handle-process-file): Merge three remote ops into one.
15300         Do not flush all caches when `process-file-side-effects' is set.
15301         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
15302         file-attributes shows uid/gid to be set already.
15304 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
15306         * textmodes/tex-mode.el (tex-dvi-view-command)
15307         (tex-show-queue-command, tex-open-quote):
15308         * progmodes/ruby-mode.el (auto-mode-alist)
15309         (interpreter-mode-alist): Purecopy strings.
15311         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
15313         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
15314         string for the hook, keymap and abbrev table.
15316         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
15318         * x-dnd.el (x-dnd-xdnd-to-action):
15319         * startup.el (fancy-startup-text, fancy-about-text): Change to
15320         defconst from defvar.
15322         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
15324         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
15325         Purecopy initialization strings.
15327         * mail/sendmail.el (mail-header-separator)
15328         (mail-personal-alias-file):
15329         * mail/rmail.el (rmail-default-dont-reply-to-names)
15330         (rmail-ignored-headers, rmail-retry-ignored-headers)
15331         (rmail-highlighted-headers, rmail-secondary-file-directory)
15332         (rmail-secondary-file-regexp):
15333         * files.el (null-device, file-name-invalid-regexp)
15334         (locate-dominating-stop-dir-regexp)
15335         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
15336         (interpreter-mode-alist): Use mapcar instead of mapc.
15338         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
15340         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
15341         (completion-ignored-extensions):
15342         (debug-ignored-errors): Purecopy strings.
15344 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15346         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
15347         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
15348         (pcomplete--here): Use push.
15350         * subr.el (all-completions): Declare the 4th arg obsolete.
15352 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15354         * pcomplete.el (pcomplete-unquote-argument-function): New var.
15355         (pcomplete-unquote-argument): New function.
15356         (pcomplete--common-suffix): Always pay attention to case.
15357         (pcomplete--table-subvert): Quote and unquote the text.
15358         (pcomplete--common-quoted-suffix): New function.
15359         (pcomplete-std-complete): Use it and pcomplete-begin.
15361         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
15362         we're inside a dedicated or minibuffer window.
15364 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
15366         * bookmark.el: Update documentation, especially documentation
15367         of `bookmark-alist' and of the bookmark file format.
15368         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
15370 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
15372         * mail/emacsbug.el (report-emacs-bug): Clarify that the
15373         keybindings apply to the mail buffer (Bug#4003).  Shrink help
15374         window to buffer.
15376         * whitespace.el (whitespace-mode, whitespace-newline-mode)
15377         (global-whitespace-mode, global-whitespace-newline-mode)
15378         (whitespace-toggle-options, global-whitespace-toggle-options):
15379         Doc fix (Bug#3660).
15381         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
15382         of xmltok-start before the end tag was inserted (Bug#2840).
15384         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
15385         patterns that are preceded by an open-paren (Bug#1320).
15387 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
15389         * files.el (delete-directory): Delete symlinks to directories with
15390         delete-file (Bug#4739).
15392 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
15394         * vc.el (vc-backend-for-registration): Rename from
15395         vc-get-backend-for-registration.  Update callers.
15397         * international/mule-cmds.el (set-language-info-alist):
15398         Purecopy lang-env.
15399         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
15400         (charset): Purecopy the name.
15401         (define-char-code-property): Purecopy string arguments.
15403         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15404         Purecopy string arguments.
15406         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15407         * ediff-hook.el (menu-bar-ediff-menu):
15408         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
15409         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
15411 2009-10-24  Glenn Morris  <rgm@gnu.org>
15413         * comint.el (comint-dynamic-list-completions):
15414         * term.el (term-dynamic-list-completions): Use choose-completion rather
15415         than obsolete alias mouse-choose-completion.
15417         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
15418         file-cache-choose-completion.
15419         (file-cache-choose-completion): Handle an optional event argument.
15420         (file-cache-mouse-choose-completion): Make it an obsolete alias.
15422         * progmodes/octave-mod.el (octave-complete-symbol):
15423         Use choose-completion if mouse-choose-completion is ever removed.
15425         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
15426         use.
15428         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
15429         compiler.
15431         * vc-hooks.el (vc-responsible-backend): Fix declaration.
15433 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15435         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
15436         Ignore `pred' now that we receive one.
15437         Handle test-completion specially.
15439 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
15441         * vc.el (vc-responsible-backend): Throw an error if not backend is
15442         found.  Remove the REGISTER argument.  Move the code dealing with
15443         REGISTER ...
15444         (vc-get-backend-for-registration): ... here.  New function.
15445         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
15446         of vc-responsible-backend, pass the file name instead of the
15447         directory name.
15449 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15451         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
15452         New funs.
15453         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
15454         (pcomplete-comint-setup): Don't modify a global var via
15455         accidental side-effects.
15456         (pcomplete-shell-setup): Adjust call accordingly.
15457         (pcomplete-parse-comint-arguments): Use push.
15459 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
15461         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15462         Allow uncapitalized info node names (Bug#3921).
15464         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
15465         to the DEBUG file (Bug#3781).
15467 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
15469         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
15470         dictionary entry (Bug#4579).
15472 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
15474         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
15475         from `rfn-eshadow-update-overlay-hook' when unloading.
15476         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
15477         "rsyncc".  Adjust doc string.
15478         (tramp-temp-buffer-file-name): New buffer-local defvar.
15479         (tramp-handle-insert-file-contents, tramp-handle-write-region):
15480         Keep temporary file when indicated by method ("rsync" and
15481         "rsyncc").
15482         (tramp-handle-write-region): Handle APPEND.
15483         (tramp-delete-temp-file-function): New defun.  Added to
15484         `kill-buffer-hook'.
15486 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
15488         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
15490 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
15492         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
15493         (color-name-rgb-alist, tty-standard-colors)
15494         (tty-color-mode-alist): Change to defconst.
15496         * simple.el (mark-inactive): Purecopy message.
15498         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
15499         (global-map, yank-menu):
15500         * textmodes/ispell.el (ispell-menu-map):
15501         * net/eudc.el (eudc-tools-menu):
15502         * international/mule-cmds.el (describe-language-environment-map)
15503         (setup-language-environment-map, set-coding-system-map)
15504         (mule-menu-keymap):
15505         * vc-hooks.el (vc-menu-entry, vc-menu-map):
15506         * replace.el (occur-mode-map):
15507         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
15509 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
15511         * calc/calc.el (math-read-number, math-read-number-simple):
15512         Use `save-match-data'.
15514 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
15516         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
15517         rather than fiddling with global-map bindings, since it should only
15518         affect per-terminal settings.
15519         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
15521         * minibuffer.el (completion-table-with-terminator): Allow to specify
15522         the terminator-regexp.
15524         * simple.el (switch-to-completions): Look for *Completions* in other
15525         frames as well.
15527         * pcomplete.el: Allow the use of completion-tables.
15528         (pcomplete-std-complete): New command.
15529         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
15530         (pcomplete--here): Use a function for `form' rather than an expression,
15531         so it can be byte-compiled.
15532         (pcomplete-here, pcomplete-here*): Adjust accordingly.
15533         Add edebug declaration.
15534         (pcomplete-show-completions): Remove unused var `curbuf'.
15535         (pcomplete-do-complete, pcomplete-stub):
15536         Don't assume `completions' is a list of strings any more.
15538 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
15540         * find-dired.el (find-name-arg): Fix typo in docstring.
15542 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
15544         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
15545         (pcmpl-linux-fs-types): Same, and update to new modules layout.
15547         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
15548         pcomplete-entries.
15550         * comint.el (comint-read-input-ring, comint-write-input-ring)
15551         (comint-substitute-in-file-name)
15552         (comint-dynamic-complete-as-filename)
15553         (comint-dynamic-simple-complete)
15554         (comint-dynamic-list-filename-completions)
15555         (comint-dynamic-list-completions)
15556         (comint-redirect-results-list-from-process): Minor simplifications.
15558 2009-10-21  Kevin Ryde  <user42@zip.com.au>
15560         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
15561         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
15562         the first form.  And insert a blank line after ";;; Code" since
15563         that's usual style.  (Bug#4612)
15565         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
15567 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15569         * minibuffer.el (completion-table-with-terminator): Properly implement
15570         boundaries, in case `terminator' appears in the suffix.
15571         (completion--embedded-envvar-table): Don't return boundaries if
15572         there's no valid completion.  Simplify.
15573         (completion-file-name-table): New completion table extracted from
15574         completion--file-name-table.
15575         (completion--file-name-table): Use it.
15576         (read-file-name-predicate): Declare obsolete.
15577         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
15578         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
15579         completion-file-name-table, and use the `pred' argument.
15580         * files.el (locate-file-completion-table): Use the `pred' arg rather
15581         than read-file-name-predicate.
15582         (abbreviate-file-name): Use \` rather than ^ for BOS.
15584 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
15586         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
15587         vc-responsible-backend to register, it causes problems.
15589 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15591         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
15593 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
15595         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
15596         (tramp-smb-handle-file-attributes): Use it.
15597         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
15598         (tramp-smb-handle-insert-directory): Use `mapc' rather than
15599         `mapcar'.  Use `tramp-smb-get-stat-capability'.
15600         Add `dired-filename' text properties.
15601         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
15602         (tramp-smb-maybe-open-connection): Simplify check for smbclient
15603         version.
15605 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
15607         * subr.el (read-key-delay): Reduce to 0.01.
15608         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
15609         (bug#4751).
15611 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15613         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
15615         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
15616         (Info-menu): Remove unused vars `last' and `completions'.
15617         (Info-index-nodes): Remove unused var `node'.
15619         * info.el (Info-complete-menu-item): Use complete-with-action.
15621 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
15623         Make vc-annotate work through copies and renames.
15624         * vc-annotate.el (vc-annotate-extract-revision-at-line):
15625         Return the file name too.
15626         (vc-annotate-revision-at-line)
15627         (vc-annotate-find-revision-at-line)
15628         (vc-annotate-revision-previous-to-line)
15629         (vc-annotate-show-log-revision-at-line): Update to get the file
15630         name from vc-annotate-extract-revision-at-line.
15631         (vc-annotate-show-diff-revision-at-line-internal): Change the
15632         argument to mean whether to show a file diff or not.  Get the file
15633         name from vc-annotate-extract-revision-at-line.
15634         (vc-annotate-show-diff-revision-at-line):
15635         Update vc-annotate-show-diff-revision-at-line call.
15636         (vc-annotate-warp-revision): Add an optional file argument.
15638         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
15639         (vc-git-annotate-extract-revision-at-line): Also return the file
15640         name if found.
15642         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
15643         command.  Remove unused code.
15644         (vc-hg-annotate-re): Update to match --follow output.
15645         (vc-hg-annotate-extract-revision-at-line): Also return the file
15646         name if found.
15648         * vc.el: Update annotate-extract-revision-at-line documentation.
15650 2009-10-18  Kevin Ryde  <user42@zip.com.au>
15652         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
15653         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
15655         * net/browse-url.el (browse-url): Identify alist with "consp and
15656         not functionp" and let all other things go down the `apply' leg,
15657         as suggested by Stefan.  (Further to bug#4531.)
15659 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
15661         * minibuffer.el (read-file-name): Check for repeat before putting
15662         a default argument in file-name-history (Bug#4657).
15664         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
15665         read syntax (Bug#4737).
15667         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
15669 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
15671         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
15672         (html-tag-alist, html-tag-help): Add descriptions for undocumented
15673         entries and make note of obsolete tags.
15675 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
15677         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
15679 2009-10-18  Glenn Morris  <rgm@gnu.org>
15681         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
15682         grep, so that binary files (eg international/uni-bidi.el) can match.
15683         Remove test for "UnicodeData" files, since it is hopefully unnecessary
15684         now, and in any case the file header format has changed.
15686 2009-10-17  Glenn Morris  <rgm@gnu.org>
15688         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
15689         (flyspell-get-word, flyspell-large-region)
15690         (flyspell-auto-correct-previous-word): Doc/error message fixes.
15692 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
15694         * Makefile.in (ELCFILES): Add ede/shell.
15696 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
15698         * term/common-win.el (x-colors): Purecopy it.
15700 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15702         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
15703         permissive for when the buffer is empty.
15704         (tar-header-block-tokenize): Decode the username and groupname.
15705         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
15707 2009-10-17  Eric Ludlam  <zappo@gnu.org>
15709         * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
15710         contains multibyte characters, choose first applicable coding
15711         system automatically.
15713 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15715         * international/mule-cmds.el (select-safe-coding-system): If the file
15716         has a coding cookie, use it regardless of any other setting (bug#4712).
15718 2009-10-17  Glenn Morris  <rgm@gnu.org>
15720         * foldout.el (foldout-mouse-swallow-events):
15721         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
15723         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
15724         (dired-keep-marker-copy, dired-keep-marker-hardlink)
15725         (dired-keep-marker-symlink, dired-dwim-target)
15726         (dired-copy-preserve-time): Do not autoload these defcustoms.
15728         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
15729         messages from messing up the file coding.  (Bug#4623)
15731 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
15733         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
15734         if no match is found for the current dictionary.  (Bug#4578)
15736         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
15737         optional, since that is how it is documented, and this is often called
15738         with a nil argument.  (Bug#4577)
15739         (flyspell-external-point-words, flyspell-auto-correct-word)
15740         (flyspell-correct-word-before-point, flyspell-word-search-forward)
15741         (flyspell-word-search-backward): Remove nil argument in calls to
15742         flyspell-get-word, since it is not needed now.
15744 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
15746         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
15748 2009-10-16  Glenn Morris  <rgm@gnu.org>
15750         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
15752 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
15754         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
15755         (ange-ftp-file-size): New function.
15756         (ange-ftp-file-attributes): Use it.
15758 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
15760         * net/tramp-smb.el (tramp-smb-version): New defvar.
15761         (tramp-smb-maybe-open-connection): Use it, in order to avoid
15762         repeated checks.
15764 2009-10-16  Glenn Morris  <rgm@gnu.org>
15766         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
15767         Maybe copy some custom properties from old to new name.  (Bug#4706)
15769 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
15771         * subr.el (error, sit-for, start-process-shell-command)
15772         (start-file-process-shell-command): Set the calling convention
15773         after the function definition.
15775 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15777         * subr.el (error, sit-for, start-process-shell-command)
15778         (start-file-process-shell-command): Use the new
15779         set-advertised-calling-convention feature.
15781 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
15783         * international/ucs-normalize.el (ucs-normalize-version):
15784         Change to 1.2.
15785         (check-range): Adjust for Unicode 5.2.
15787 2009-10-15  Juri Linkov  <juri@jurta.org>
15789         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
15790         to the `menu-item' format.
15792 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
15794         * net/tramp.el (tramp-replace-environment-variables): Do not fail
15795         if the environment variable does not exist.
15797         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15798         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
15799         parameter.
15800         (tramp-smb-handle-add-name-to-file)
15801         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15802         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15803         (tramp-smb-handle-file-attributes)
15804         (tramp-smb-do-file-attributes-with-stat)
15805         (tramp-smb-handle-file-local-copy)
15806         (tramp-smb-handle-insert-directory)
15807         (tramp-smb-handle-make-directory)
15808         (tramp-smb-handle-make-directory-internal)
15809         (tramp-smb-handle-make-symbolic-link)
15810         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
15811         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
15812         (tramp-smb-maybe-open-connection): Apply the changed parameters.
15813         (tramp-smb-read-file-entry): Read Disk names in compressed format.
15814         Handle long file names.
15815         (tramp-smb-get-cifs-capabilities): Check, whether the connection
15816         process is running.
15817         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
15818         Read share names with "-g" option.
15820 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
15822         * net/rcirc.el (rcirc-view-log-file): New command.
15823         (rcirc-track-minor-mode-map): Remove C-c ` binding.
15824         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
15825         specified.
15827 2009-10-15  Glenn Morris  <rgm@gnu.org>
15829         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
15830         from the second command-line argument.
15831         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
15832         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
15833         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
15834         w32-batch-update-autoloads.
15835         * emacs-lisp/autoload.el (autoload-make-program): New variable.
15836         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
15838         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
15839         the headers cannot be located.  Simplify, subtracting superflous
15840         save-excursions.
15842 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15844         Replace completion-base-size by completion-base-position to fix bugs
15845         such as (bug#4699).
15846         * simple.el (completion-base-position): New var.
15847         (completion-base-size): Mark as obsolete.
15848         (choose-completion): Make it work for mouse events as well.
15849         Pass the new base-position to choose-completion-string.
15850         (choose-completion-guess-base-position): New function, extracted from
15851         choose-completion-delete-max-match.
15852         (choose-completion-delete-max-match): Use it.  Make obsolete.
15853         (choose-completion-string): Use the new base-position info.
15854         (completion-root-regexp): Delete.
15855         (completion-setup-function): Preserve completion-base-position.
15856         Eliminate obsolete base-size manipulation.
15857         * minibuffer.el (display-completion-list): Don't mess with base-size.
15858         (minibuffer-completion-help): Set completion-base-position instead.
15859         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
15860         choose-completion.
15861         * textmodes/bibtex.el (bibtex-complete):
15862         * emacs-lisp/crm.el (crm--choose-completion-string):
15863         Adjust to new calling convention.
15864         * complete.el (partial-completion-mode): Use minibufferp to avoid
15865         bumping into incompatible change to choose-completion-string-functions.
15866         * ido.el (ido-choose-completion-string): Make its calling convention
15867         more permissive.
15868         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
15869         base-size manipulation.
15870         (comint-dynamic-list-input-ring): Use dotimes and push.
15871         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
15872         fundamental-mode.  Use `or'.
15874 2009-10-14  Juri Linkov  <juri@jurta.org>
15876         * misearch.el (multi-isearch-next-buffer-from-list)
15877         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
15879 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
15881         * Makefile.in (compile-onefile): Load `bytecomp' rather than
15882         `bytecomp.el'.
15884         * minibuffer.el (completion-pcm--merge-completions): Make sure the
15885         string we return is all made up of text from the completions rather
15886         than part from the completions and part from the input (bug#4219).
15888         * ido.el (ido-everywhere): Use define-minor-mode.
15890         * buff-menu.el (list-buffers, ctl-x-map):
15891         Mark the entry points with ;;;###autoload cookies.
15893 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
15895         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
15896         correctly in the detached head case.
15897         (vc-git-print-log): Remove unused binding.
15899         * vc.el (vc-responsible-backend): When a directory is passed for
15900         for registration create a VC repository if no backend is
15901         responsible for the directory argument.
15902         (vc-deduce-fileset): Tell vc-responsible-backend to register.
15904         * vc.el: Move comments about RCS and SCCS ...
15905         * vc-rcs.el:
15906         * vc-sccs.el: ... here, respectively.
15908 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
15910         * minibuffer.el (completion--file-name-table): Return nil if there's
15911         no file completion, even if substitute-in-file-name changed
15912         the string (bug#4708).
15914 2009-10-13  Juri Linkov  <juri@jurta.org>
15916         * files-x.el (read-file-local-variable-value): Don't filter out
15917         minor modes from mode name completion (bug#4664).
15919 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
15921         * international/mule-cmds.el (ucs-names): Remove exclusion of
15922         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
15924 2009-10-13  Kenichi Handa  <handa@m17n.org>
15926         * international/uni-name.el: Regenerated.
15928 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
15930         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
15931         should be automatically buffer-local, but isn't.)
15933 2009-10-12  Sam Steingold  <sds@gnu.org>
15935         * progmodes/compile.el (compilation-next-error-function): Fix the
15936         timestamps if the buffer has been visited before.
15937         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
15938         non-anchored patterns, like the perl one (bug#3928).
15940 2009-10-12  Glenn Morris  <rgm@gnu.org>
15942         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
15943         Let-bind `size'.
15945 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
15947         * proced.el (proced-unload-function): New function.
15949         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
15950         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
15951         Doc fix.
15953         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
15955 2009-10-11  Juri Linkov  <juri@jurta.org>
15957         * files-x.el (read-file-local-variable-value):
15958         Provide default value only for bound variables (bug#4664).
15960 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
15962         * net/tramp.el (tramp-local-host-p): Function shall return nil for
15963         connection methods like smb.
15965         * net/tramp-cache.el (tramp-flush-connection-property): The hash
15966         can be empty.
15968         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15969         (tramp-smb-file-name-handler-alist): Add handlers for
15970         `add-name-to-file', `make-symbolic-link'.
15971         (tramp-smb-handle-add-name-to-file)
15972         (tramp-smb-do-file-attributes-with-stat)
15973         (tramp-smb-handle-make-symbolic-link)
15974         (tramp-smb-get-cifs-capabilities): New defuns.
15975         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15976         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15977         (tramp-smb-handle-file-local-copy)
15978         (tramp-smb-handle-make-directory-internal)
15979         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
15980         The file name syntax depends on cifs capabilities.
15981         (tramp-smb-handle-file-attributes):
15982         Call `tramp-smb-do-file-attributes-with-stat' if possible.
15983         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
15984         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
15986 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
15988         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
15989         (eieio-defclass): Apply deftype handler and setf-method properties
15990         directly.
15991         (eieio-add-new-slot): Avoid union function from cl library.
15992         (eieio--typep): New function.
15993         (eieio-perform-slot-validation): Use it.
15995 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
15997         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
15998         Update documentation to refer to the variables documented in r1.135.
15999         (Bug#4188)
16001 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
16003         * bookmark.el (Info-suffix-list): Remove this unused variable.
16004         (bookmark-current-point): Remove this obsolete variable.
16005         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
16006         Adjust for removal of bookmark-current-point.
16008         (bookmarks-already-loaded, bookmark-current-buffer)
16009         (bookmark-yank-point): Document.  (Bug#4188)
16011 2009-10-10  Glenn Morris  <rgm@gnu.org>
16013         * frame.el (frame-height): Doc fix.
16015         * calendar/calendar.el (calendar-split-width-threshold): New option.
16016         (calendar-basic-setup): Use calendar-split-width-threshold.
16018 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
16020         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
16021         Ideographic Supplement" range (U+1F200..U+1F2FF).
16023 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
16025         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
16026         since the list will have been rebuilt anyway.  (Bug#4349)
16028 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
16030         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
16031         (bookmark-bmenu-execute-deletions): Don't save here, as
16032         bookmark-delete will now do so if necessary.
16033         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
16034         (Bug#4348)
16036 2009-10-09  Glenn Morris  <rgm@gnu.org>
16038         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
16040 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
16042         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
16043         (bookmark-jump-other-window): Just invoke bookmark-jump with new
16044         argument now, so the two function's behaviors will match.  (Bug#3645)
16046 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
16048         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
16049         (tramp-file-name-real-host, tramp-file-name-port):
16050         Apply `save-match-data'.
16052         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
16053         case both directories are remote.
16054         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
16055         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
16057 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
16059         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
16061 2009-10-07  Glenn Morris  <rgm@gnu.org>
16063         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
16064         of concat.
16066 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
16068         * files-x.el (read-file-local-variable): Include some
16069         non-user-variables in the completion table (bug#4664).
16071 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
16073         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
16074         message.
16076         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16077         (tramp-smb-file-name-handler-alist): Add handler for
16078         `copy-directory', `expand-file-name', `set-file-modes'.
16079         (tramp-smb-handle-copy-directory)
16080         (tramp-smb-handle-expand-file-name)
16081         (tramp-smb-handle-set-file-modes): New defuns.
16082         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
16083         (tramp-smb-handle-file-attributes): Simplify check for retrieving
16084         entry.
16085         (tramp-smb-handle-insert-directory): Don't flush the cache.
16086         (tramp-smb-maybe-open-connection): Check for samba client and
16087         server versions.
16089 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
16091         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
16092         to not error out of search for "^lisp=" fails.
16094 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
16096         * makefile.w32-in (WINS_UPDATES): New macro.
16097         (custom-deps, finder-data, autoloads): Use it.
16099 2009-10-07  Glenn Morris  <rgm@gnu.org>
16101         * Makefile.in (autoloads): Revert previous change.
16102         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
16103         the list of preloaded files passed on the command-line, get
16104         it from src/Makefile.
16106         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
16107         show the original buffer rather than a random one.
16109 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
16111         * help.el (describe-no-warranty): Place point in a slightly better
16112         position in the GPLv3 text.
16114 2009-10-06  Sam Steingold  <sds@gnu.org>
16116         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
16117         the comm attribute is present before calling regexp-quote.
16119 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
16121         * play/animate.el (animate-string): For good effect, make sure
16122         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
16124         * play/animate.el (animate-sequence, animate-birthday-present):
16125         * misc.el (butterfly): Don't set `indent-tabs-mode'.
16127 2009-10-06  Glenn Morris  <rgm@gnu.org>
16129         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
16131         * emacs-lisp/autoload.el (autoload-excludes): New variable.
16132         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
16133         (batch-update-autoloads): Process a string value of autoload-excludes,
16134         set during the build process.
16135         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
16137         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
16138         inside with-parsed...  macro so that `v' is defined.
16140         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
16141         * progmodes/fortran.el (fortran-end-of-block)
16142         (fortran-beginning-of-block):
16143         Also push mark in the macro case.
16145         * emerge.el (emerge-show-file-name):
16146         * calc/calc.el (calc-quit):
16147         * calc/calc-misc.el (calc-big-or-small):
16148         * calc/calc-graph.el (calc-graph-view):
16149         * calc/calc-ext.el (calc-reset):
16150         * calendar/calendar.el (calendar-basic-setup):
16151         Use window-full-height-p.
16153         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
16154         header we don't understand, don't insert another.  (Bug#4624)
16155         If changing mime charset, insert the new one in the right place.
16157 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
16159         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
16160         (cal-tex-cursor-month): Correctly increment the end date for diary and
16161         holiday listing.  (Bug#4626)
16163 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16165         * help-fns.el (describe-function-1): Don't burp if the function is not
16166         a symbol.
16168 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
16170         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
16171         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
16172         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
16173         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
16175         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
16176         (eieio-default-superclass): Reflow docstrings.
16177         (this, class-option-assoc, defclass, eieio-class-un-autoload)
16178         (eieio-unbind-method-implementations, defmethod)
16179         (eieio-validate-slot-value, eieio-validate-class-slot-value)
16180         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
16181         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
16182         (eieio-slot-originating-class-p, eieio-slot-name-index)
16183         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
16184         (constructor, initialize-instance, no-next-method, object-print)
16185         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
16186         Fix typos in docstrings.
16187         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
16188         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
16189         (next-method-p): Doc fixes.
16190         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
16191         Fix typos in error messages.
16192         (eieio-defmethod): Fix typo in description of generic method.
16194         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
16195         (eieio-persistent-save-interactive, slot-missing):
16196         Fix typos in docstrings.
16197         (eieio-instance-inheritor-slot-boundp): Doc fix.
16199         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
16200         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
16202         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
16203         (eieio-custom-object-apply-reset):
16204         Fix typos in docstrings and error messages.
16206         * emacs-lisp/eieio-datadebug.el (data-debug-show):
16207         Fix typo in docstring.
16209         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
16210         (eieio-browse-tree): Doc fix.
16211         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
16212         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
16213         Fix typos in docstrings.
16215         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
16216         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
16217         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
16218         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
16219         Reflow docstrings.
16221 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
16223         * vc-hg.el (log-view-vc-backend): Declare for compiler.
16224         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
16225         Set log-view-vc-backend so that diff can work.
16227         * log-view.el (log-view-diff): Use vc-diff-internal instead of
16228         vc-version-diff.
16229         (vc-diff-internal): Autoload this instead of vc-version-diff.
16231 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
16233         * simple.el (eval-expression): Doc fix.
16235         * progmodes/cwarn.el (cwarn-mode): Doc fix.
16237 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
16239         * files.el (directory-files-no-dot-files-regexp): New defconst.
16240         (delete-directory): Use it.
16241         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
16243         * net/tramp.el (tramp-verbose): Fix docstring.
16244         (tramp-methods): Add recursive option to `tramp-copy-args'.
16245         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
16246         "scp1_old", "scp2_old", "rsync", "rsyncc".
16247         (tramp-default-method): Check also for `auth-source-user-or-password'.
16248         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
16249         Add handler for `copy-directory'.
16250         (tramp-handle-copy-directory): New defun.
16251         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
16252         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
16253         Optimize sent command.
16255 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16257         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
16258         window if necessary.
16260         * calendar/calendar.el (calendar-basic-setup): Don't call
16261         switch-to-buffer in a dedicated window.
16263 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
16265         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
16266         don't do anything related to relocating, just return nil.
16267         (bookmark-error-no-filename): New error.
16268         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
16269         bookmark has no file.  Don't even attempt to handle things that
16270         are not files; the whole point of custom handlers is to keep that
16271         knowledge elsewhere anyway.  Tighten some comments.
16272         (bookmark-file-or-variation-thereof): Remove now-unused function.
16273         (bookmark-location): Doc string fix.
16274         (Bug#4250)
16276 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
16278         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
16279         don't use a file dialog, because they usually don't know how to read
16280         a directory target from the user.  (Bug#4230)
16281         Also, make sure the prompt can display directories as well as files.
16283 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
16285         * bookmark.el (bookmark-set, bookmark-buffer-name):
16286         Improve doc strings.  (Bug#1193)
16288 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
16290         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
16291         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
16292         (bookmark-get-annotation, bookmark-set-annotation)
16293         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
16294         (bookmark-set-position, bookmark-get-front-context-string)
16295         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
16296         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
16297         (bookmark-jump-other-window, bookmark-handle-bookmark)
16298         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
16299         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
16300         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
16301         Improve doc strings to say whether bookmark can be a string or
16302         a record or both, and make other consistency and clarity fixes.
16303         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
16304         (bookmark-default-annotation-text, bookmark-yank-word)
16305         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
16306         (bookmark-import-new-list, bookmark-maybe-rename)
16307         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
16308         (bookmark-bmenu-bookmark): Give these doc strings.
16309         (bookmark-bmenu-check-position): Give this a doc string, but also
16310         add a FIXME comment about how the function may be pointless.
16311         (bookmark-default-handler): Rework doc string and change a
16312         parameter name, to clarify that this takes a bookmark record
16313         not a bookmark name.
16314         (bookmark-set): Change a parameter name to indicate its meaning,
16315         and improve the doc string a bit.
16316         (Bug#4188)
16318 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
16320         * bookmark.el (bookmark-alist): Document the new `handler' element
16321         in the param alist.
16322         (bookmark-make-record-function): Adjust documentation for above.
16323         (Bug#4193)
16325 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
16327         * info.el (Info-bookmark-make-record): Document this function.
16328         (Info-bookmark-jump): Document with a doc string, not just a comment.
16329         (Bug#4203)
16331 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
16333         * files.el (copy-directory): New defun.
16335         * dired-aux.el (dired-copy-file-recursive): Use it.
16337 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
16339         * files-x.el (modify-dir-local-variable)
16340         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
16341         docstrings.
16343         * recentf.el (recentf-unload-function): New function.
16345 2009-10-04  Glenn Morris  <rgm@gnu.org>
16347         * window.el (window-full-height-p): Add doc string.
16349 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
16351         * window.el (window-full-height-p): New function.  (Bug#4543)
16353 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
16355         * vc.el: Remove commented out code.
16356         (vc-derived-from-dir-mode): Remove, unused.
16357         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
16359 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
16361         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
16362         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
16363         there could be recursive loading when `default-directory' is a
16364         remote file name.  (Bug#4614)
16366 2009-10-03  Glenn Morris  <rgm@gnu.org>
16368         * calendar/calendar.el (calendar-basic-setup): Handle the case where
16369         the frame is wide.
16370         (calendar-generate-window): Test for shrinkability rather than width.
16372         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
16373         reusing existing buffers, in case we happen to visit two files with the
16374         same basename.  (Bug#4593)
16376 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
16378         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
16379         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
16380         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
16381         subdirs of cedet as well.
16382         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
16384 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
16386         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
16387         Obey advertised-signature-table.
16389         * help-fns.el (help-function-arglist): Don't check
16390         advertised-signature-table.
16391         (describe-function-1): Do it here instead so it also applies to subrs.
16393 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
16395         * simple.el (start-file-process): Say in the doc-string, that file
16396         handlers might not support pty association, if PROGRAM is nil.
16398         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
16399         HOST and USER are strings.  They are nil, when there are
16400         incomplete entries in ~/.netrc, for example.
16401         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
16402         root directory ("device busy" error otherwise).
16404         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
16405         Flush file properties of created directory.
16407 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
16409         * makefile.w32-in (WINS_BASIC): Remove cedet.
16410         (WINS_CEDET): Add cedet.
16411         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
16413 2009-10-02  Kevin Ryde  <user42@zip.com.au>
16415         * net/browse-url.el (browse-url): Pass any symbol in
16416         browse-url-browser-function to `apply', since if you've mistakenly put
16417         an unbound symbol then the error is clearer.  (Bug#4531)
16419 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
16421         * allout.el (allout-init, allout-back-to-current-heading)
16422         (allout-beginning-of-current-entry, allout-ascend-to-depth)
16423         (allout-ascend, allout-up-current-level, allout-end-of-level)
16424         (allout-previous-visible-heading, allout-forward-current-level)
16425         (allout-backward-current-level, allout-show-children):
16426         * apropos.el (apropos-describe-plist):
16427         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
16428         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
16429         * completion.el (add-completion, add-permanent-completion):
16430         * descr-text.el (describe-text-category, describe-char):
16431         * desktop.el (desktop-lazy-abort):
16432         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
16433         * dired.el (dired-build-subdir-alist):
16434         * ediff.el (ediff-version):
16435         * elide-head.el (elide-head, elide-head-show):
16436         * emerge.el (emerge-version):
16437         * env.el (getenv):
16438         * face-remap.el (variable-pitch-mode):
16439         * faces.el (describe-face):
16440         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
16441         (dired-at-point):
16442         * files.el (find-file-existing, auto-save-mode):
16443         * font-lock.el (font-lock-fontify-buffer):
16444         * help-fns.el (describe-function, describe-variable)
16445         (describe-syntax, describe-categories):
16446         * help.el (view-lossage, describe-bindings, describe-key)
16447         (describe-mode):
16448         * hexl.el (hexl-current-address):
16449         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
16450         * info.el (Info-goto-emacs-key-command-node):
16451         * log-edit.el (log-edit-insert-cvs-template)
16452         (log-edit-insert-cvs-rcstemplate):
16453         * menu-bar.el (menu-bar-mode):
16454         * mouse.el (mouse-appearance-menu):
16455         * newcomment.el (comment-indent-new-line):
16456         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
16457         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
16458         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
16459         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
16460         * recentf.el (recentf-mode):
16461         * savehist.el (savehist-mode, savehist-save):
16462         * shadowfile.el (shadow-copy-files):
16463         * simple.el (kill-ring-save, next-line, previous-line)
16464         (normal-erase-is-backspace-mode):
16465         * strokes.el (strokes-update-window-configuration)
16466         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
16467         (strokes-xpm-for-stroke):
16468         * time.el (emacs-uptime, emacs-init-time):
16469         * tutorial.el (tutorial--describe-nonstandard-key)
16470         (tutorial--detailed-help):
16471         * type-break.el (type-break-mode)
16472         (type-break-mode-line-message-mode, type-break-query-mode)
16473         (type-break-guesstimate-keystroke-threshold):
16474         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
16475         * version.el (emacs-version):
16476         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
16477         * winner.el (winner-mode):
16478         * calendar/timeclock.el (timeclock-in, timeclock-out)
16479         (timeclock-status-string, timeclock-change)
16480         (timeclock-workday-remaining-string)
16481         (timeclock-workday-elapsed-string)
16482         (timeclock-when-to-leave-string):
16483         * calendar/todo-mode.el (todo-add-category):
16484         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
16485         * emacs-lisp/autoload.el (update-file-autoloads):
16486         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
16487         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
16488         (checkdoc-message-text, checkdoc-defun):
16489         * emacs-lisp/debug.el (debugger-list-functions):
16490         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
16491         * emacs-lisp/eieio-opt.el (eieio-describe-class)
16492         (eieio-describe-generic):
16493         * emacs-lisp/lisp-mnt.el (lm-synopsis):
16494         * emacs-lisp/shadow.el (list-load-path-shadows):
16495         * emulation/cua-base.el (cua-mode):
16496         * emulation/edt.el (edt-set-scroll-margins):
16497         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
16498         (tpu-toggle-regexp, tpu-toggle-search-direction)
16499         (tpu-toggle-rectangle, tpu-toggle-control-keys):
16500         * emulation/tpu-extras.el (tpu-set-scroll-margins):
16501         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
16502         (viper-set-parsing-style-toggling-macro)
16503         (viper-set-emacs-state-searchstyle-macros):
16504         * emulation/viper.el (viper-set-hooks):
16505         * eshell/esh-mode.el (eshell-truncate-buffer):
16506         * international/mule-cmds.el (prefer-coding-system)
16507         (describe-input-method, describe-language-environment):
16508         * international/mule-diag.el (list-character-sets)
16509         (describe-character-set, describe-coding-system)
16510         (describe-fontset, list-fontsets, list-input-methods):
16511         * mail/sendmail.el (mail-signature):
16512         * net/ange-ftp.el (ange-ftp-copy-file):
16513         * net/browse-url.el (browse-url):
16514         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
16515         * net/quickurl.el (quickurl-add-url):
16516         * net/rcirc.el (names, topic):
16517         * net/xesam.el (xesam-mode):
16518         * play/5x5.el (5x5-new-game):
16519         * play/yow.el (apropos-zippy):
16520         * progmodes/ada-mode.el (ada-mode-version):
16521         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
16522         (f90-end-of-block)
16523         (f90-beginning-of-block):
16524         * progmodes/fortran.el (fortran-end-of-block)
16525         (fortran-beginning-of-block):
16526         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
16527         * progmodes/python.el (python-describe-symbol, python-shell):
16528         * term/ns-win.el (ns-print-buffer):
16529         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
16530         * textmodes/flyspell.el (flyspell-mode-on):
16531         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
16532         (pages-directory-for-addresses):
16533         * textmodes/table.el (table-recognize-cell)
16534         (table-query-dimension, table-generate-source)
16535         (table-insert-sequence, table--warn-incompatibility):
16536         * textmodes/tex-mode.el (tex-validate-buffer):
16537         * textmodes/texinfmt.el (texinfmt-version)
16538         (texinfo-format-buffer):
16539         Use `called-interactively-p' instead of `interactive-p'.
16541 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
16543         * image-mode.el (image-toggle-display):
16544         * emacs-lisp/elp.el (elp-instrument-function):
16545         * emacs-lisp/advice.el (ad-make-advised-definition):
16546         * emacs-lisp/easy-mmode.el (define-minor-mode):
16547         * net/browse-url.el (browse-url-maybe-new-window):
16548         * progmodes/sh-script.el (sh-learn-buffer-indent):
16549         Pass new argument 'any to `called-interactively-p'.
16551 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
16553         * international/uni-bidi.el:
16554         * international/uni-category.el:
16555         * international/uni-combining.el:
16556         * international/uni-comment.el:
16557         * international/uni-decimal.el:
16558         * international/uni-decomposition.el:
16559         * international/uni-digit.el:
16560         * international/uni-lowercase.el:
16561         * international/uni-mirrored.el:
16562         * international/uni-name.el:
16563         * international/uni-numeric.el:
16564         * international/uni-old-name.el:
16565         * international/uni-titlecase.el:
16566         * international/uni-uppercase.el:
16567         Regenerate from Unicode 5.2.0 data.
16569 2009-10-01  Glenn Morris  <rgm@gnu.org>
16571         * Makefile.in (ELCFILES): Regenerate.
16573 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
16575         * subr.el (interactive-p): Mark obsolete.
16576         (called-interactively-p): Make the optional-ness of `kind' obsolete.
16577         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
16578         advertised-signature-table for subroutines as well.
16580         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
16581         (set-advertised-calling-convention): New function.
16582         (make-obsolete, define-obsolete-function-alias)
16583         (make-obsolete-variable, define-obsolete-variable-alias):
16584         Make the optional-ness of `when' obsolete.
16585         (define-obsolete-face-alias): Make `when' non-optional.
16586         * help-fns.el (help-function-arglist):
16587         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
16588         Use advertised-signature-table.
16590 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
16592         * files.el (delete-directory): New defun.  The original function
16593         in fileio.c has been renamed to `delete-directory-internal'.
16595         * dired.el (dired-delete-file): Call `delete-directory' with
16596         RECURSIVE parameter.
16598         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
16599         parameter RECURSIVE.  Implementation is missing.
16601         * net/tramp.el (tramp-handle-make-directory): Flush upper
16602         directory's file properties.
16603         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
16604         (tramp-handle-dired-recursive-delete-directory): Flush directory
16605         properties after the remove command only.
16607         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16608         Handle optional parameter RECURSIVE.
16610         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16611         Handle optional parameter RECURSIVE.
16613         * net/tramp-smb.el (tramp-smb-errors): Add error message for
16614         connection timeout.
16615         (tramp-smb-handle-delete-directory): Handle optional parameter
16616         RECURSIVE.
16618 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
16620         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
16621         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
16622         (byte-compile-defmacro): Use backquotes.
16624         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
16626         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
16627         has no associated file.
16628         (vc-resynch-buffer): Use vc-dir-buffers.
16630 2009-10-01  Glenn Morris  <rgm@gnu.org>
16632         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
16633         (chart-file-count):
16634         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
16635         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
16636         * emacs-lisp/eieio-opt.el (eieio-describe-class):
16637         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
16638         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
16639         (eieio-copy-parents-into-subclass, make-instance, class-children)
16640         (eieio-generic-form):
16642         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
16643         match-data.  (Bug#4555).
16645         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
16646         rather than parsing it as a regexp.  This relaxes the layout
16647         requirements and makes errors easier to detect.
16648         (check-declare-verify): Check file is regular.
16649         (check-declare-directory): Doc fix.
16650         * subr.el (declare-function): Doc fix.
16652         * ibuffer.el (ibuffer-format-qualifier):
16653         * isearch.el (hi-lock-regexp-okay):
16654         * calc/calc.el (math-zerop):
16655         * mail/uce.el (rmail-msgbeg, rmail-msgend):
16656         * term/w32-win.el (setup-default-fontset, set-fontset-font):
16657         Remove unused declarations.
16659 2009-09-30  Eric Ludlam  <zappo@gnu.org>
16661         * emacs-lisp/eieio.el (boolean-p): Delete.
16663 2009-09-30  Glenn Morris  <rgm@gnu.org>
16665         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
16667         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
16668         filename is not a string.
16670 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
16672         * files.el (safe-local-eval-forms): Fix typo.
16674 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
16676         * vc-hooks.el (vc-dir-buffers): New var.
16677         (vc-state-refresh): New function.
16678         (vc-state): Use it.
16679         (vc-after-save): Always ask the backend to recompute the new state.
16680         Always call vc-dir if necessary, using vc-dir-buffers.
16681         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
16682         Use vc-dir-buffers.
16683         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
16684         (vc-dir-prepare-status-buffer, vc-dir-update)
16685         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
16686         Don't call expand-file-name on default-directory.
16688 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
16690         * speedbar.el (speedbar-item-delete):
16691         * calc/calc-prog.el (calc-kbd-if):
16692         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
16694         * epa.el (epa-key-list-mode-map):
16695         * hi-lock.el (hi-lock-menu): Fix typos in menus.
16697         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
16698         (hs-show-hook): Fix typo in docstring.
16700 2009-09-29  Glenn Morris  <rgm@gnu.org>
16702         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
16703         file-name-nondirectory call preventing location of cedet files.
16704         (check-declare-verify): Use literal search rather than re-search.
16705         Add basic defmethod and defclass, and define-overloadable-function.
16707         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16708         Use tramp-compat-file-attributes rather than nonexistent
16709         tramp-compat-handle-file-attributes.
16711         * Makefile.in (lisptagsfiles4): New.
16712         (AUTOGENEL): Add cedet loaddefs files.
16713         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
16714         (update-elclist, compile-always, backup-compiled-files)
16715         (bootstrap-clean): Add yet another directory level.
16716         (update-elclist): Use LC_COLLATE rather than COLLATE.
16717         (ELCFILES): Update, via `make update-elclist'.
16719 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
16721         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
16722         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
16723         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
16725 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
16727         * Makefile.in (lisptagsfiles3): Define.
16728         (TAGS, TAGS-LISP): Use it.
16729         (update-elclist): Add third directory level to look for elc files.
16730         (compile-always): Likewise.
16731         (backup-compiled-files): Likewise.
16732         (bootstrap-clean): Likewise.
16733         (ELCFILES): Update.
16735 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
16737         * Makefile.in (ELCFILES): Add CEDET files.
16739 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
16741         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
16743         * net/tramp.el (top): Require tramp-imap.
16745         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16746         Use `tramp-compat-handle-file-attributes'.
16748 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
16750         * net/tramp-imap.el: New package.
16752 2009-09-28  Eric Ludlam  <zappo@gnu.org>
16754         * emacs-lisp/chart.el:
16755         * emacs-lisp/eieio-base.el:
16756         * emacs-lisp/eieio-comp.el:
16757         * emacs-lisp/eieio-custom.el:
16758         * emacs-lisp/eieio-datadebug.el:
16759         * emacs-lisp/eieio-opt.el:
16760         * emacs-lisp/eieio-speedbar.el:
16761         * emacs-lisp/eieio.el: New files.
16763 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
16765         * whitespace.el (whitespace-trailing-regexp)
16766         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
16767         Fix doc string.
16769 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
16771         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
16772         menu.
16774         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
16775         menu-bar-ediff-menu.
16777         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
16778         define-overloadable-function.
16780         * progmodes/autoconf.el: Provide autoconf as well, so that this
16781         file can be `require'd.
16783         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
16785         * emacs-lisp/autoload.el (generated-autoload-feature)
16786         (generated-autoload-load-name): New vars.
16787         (autoload-rubric, autoload-generate-file-autoloads): Use them.
16788         (make-autoload): Recognize define-overloadable-function and
16789         defclass forms (for EIEIO).
16791         * Makefile.in (update-subdirs): Exclude cedet directory.
16793 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
16795         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
16797         * faces.el: Default light-background background for region face to
16798         ns_selection_color under NS.
16800 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
16802         * net/imap-hash.el: New library, see NEWS.
16804         * Makefile.in (ELCFILES): Add imap-hash.el.
16806 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
16808         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
16809         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
16810         * help-macro.el (make-help-screen): Avoid using an ambiguous function
16811         definition where the docstring could be taken for the return value.
16813 2009-09-26  Glenn Morris  <rgm@gnu.org>
16815         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
16816         Add option to only show images below a certain size.
16817         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
16818         save-excursion calls.
16820 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
16822         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
16823         subdirectories) and eieio.
16825 2009-09-26  Alan Mackenzie  <acm@muc.de>
16827         * progmodes/cc-engine.el (c-beginning-of-statement-1):
16828         Correct buggy bracketing.  (Bug#4289)
16830         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
16831         character constants (as case labels).  (Bug#4289)
16833 2009-09-25  Juri Linkov  <juri@jurta.org>
16835         * files.el (safe-local-eval-forms): Allow time-stamp in
16836         before-save-hook (Bug#4554).
16838 2009-09-25  Drew Adams  <drew.adams@oracle.com>
16840         * menu-bar.el (list-buffers-directory): Doc fix.
16842 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16844         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
16845         Try and avoid copying twice the same paragraph.
16846         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
16847         Remove save-excursion.
16848         (log-edit-changelog-entry): Do it here instead.
16850 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
16852         * bs.el (bs--get-file-name): Use `list-buffers-directory'
16853         when available, instead of hardcoding mode names.  Doc fix.
16855         * menu-bar.el (list-buffers-directory): Add docstring.
16856         Make automatically buffer-local.
16858         * dired.el (dired-mode):
16859         * files.el (cd-absolute):
16860         * pcvs.el (cvs-temp-buffer):
16861         * pcvs-util.el (cvs-get-buffer-create):
16862         * shell.el (shell-mode):
16863         * vc-dir.el (vc-dir-mode):
16864         Don't make `list-buffers-directory' buffer local.
16866 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
16868         * comint.el (comint-exec, comint-run, make-comint):
16869         Doc fixes (Bug#4542).
16871 2009-09-25  Glenn Morris  <rgm@gnu.org>
16873         * mail/rmailmm.el (rmail-mime): New custom group.
16874         Move all defcustoms in this file into this group.
16875         (rmail-mime-media-type-handlers-alist): Revert previous change.
16876         (rmail-mime-show-images): New option.
16877         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
16878         references to it, since it wasn't actually used for anything.
16879         (rmail-mime-insert-image): New function.
16880         (rmail-mime-image): Use rmail-mime-insert-image.
16881         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
16882         obey the value of `rmail-mime-show-images' option.  Print the size of
16883         attachments.
16885 2009-09-25  David Engster  <deng@randomsample.de>
16887         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
16889 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
16891         * whitespace.el: Does not highlight trailing spaces While point is
16892         at end of line.  Does not highligt spaces at beginning of buffer
16893         while point is at beginning of buffer.  Does not highlight spaces
16894         at end of buffer while point is at end of buffer.  (Bug#4177)
16895         New version 12.0.
16896         (whitespace-display-mappings): Adjust initialization.
16897         (whitespace-point, whitespace-font-lock-refontify): New vars.
16898         (whitespace-color-on, whitespace-color-off): Adjust code.
16899         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
16900         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
16901         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
16903 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
16905         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
16907         * textmodes/sgml-mode.el: Remove xml-mode alias.
16909         * files.el (auto-mode-alist, conf-mode-maybe)
16910         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
16912 2009-09-24  Alan Mackenzie  <acm@muc.de>
16914         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
16915         c-forward-conditionals, but it doesn't move point and doesn't set
16916         the mark.
16917         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
16918         (c-down-conditional-with-else, c-backward-conditional)
16919         (c-forward-conditional): Refactor to use c-scan-conditionals.
16921 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
16923         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
16924         (help-default-arg-highlight): Remove.
16925         (help-highlight-arg): New function.
16926         (help-do-arg-highlight): Use it.
16927         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
16929 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16931         * term.el (term-set-scroll-region, term-handle-ansi-escape):
16932         Undo last change, which didn't fix the problem and introduced others.
16934 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
16936         * progmodes/gdb-mi.el: Don't require speedbar.
16937         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
16939 2009-09-24  Glenn Morris  <rgm@gnu.org>
16941         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
16943         * term/ns-win.el (ns-reg-to-script): Define for compiler.
16945         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
16946         there is no newline after the final mime boundary.  (Bug#4539)
16947         Move markers on insertion so that any buttons inserted don't end up in
16948         the next part of a multipart message.
16949         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
16950         (rmail-mime-bulk-handler): Optionally handle images.
16951         (rmail-mime-image): New button action.
16952         (rmail-mime-image-handler): New function.
16953         (rmail-mime-mode): New mode.
16954         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
16956 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16958         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
16959         than just dropping elements from it (bug#4504).
16961         * term.el (term-set-scroll-region): Don't move cursor any more.
16962         (term-handle-ansi-escape): Call term-goto here instead.
16963         Suggested by Ivan Kanis <apple@kanis.eu>.
16965         * term.el: Require CL.
16966         (term-ansi-reset): New function.
16967         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
16968         (term-handle-colors-array): Simplify.
16970 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
16972         * allout.el (allout-overlay-interior-modification-handler)
16973         (allout-obtain-passphrase):
16974         * epa-file.el (epa-file-write-region):
16975         * ps-print.el (ps-begin-job):
16976         * vc-hooks.el (vc-toggle-read-only):
16977         * vc-rcs.el (vc-rcs-rollback):
16978         * vc-sccs.el (vc-sccs-rollback):
16979         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
16980         (vc-version-diff, vc-revert, vc-rollback):
16981         * wdired.el (wdired-check-kill-buffer):
16982         * emacs-lisp/authors.el (authors):
16983         * net/socks.el (socks-open-connection):
16984         * net/zeroconf.el (zeroconf-service-add-hook):
16985         * obsolete/vc-mcvs.el (vc-mcvs-register):
16986         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
16987         (gdb-select-frame):
16988         * progmodes/grep.el (lgrep, rgrep):
16989         * progmodes/idlw-help.el (idlwave-help-check-locations)
16990         (idlwave-help-html-link, idlwave-help-assistant-open-link):
16991         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
16992         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
16993         (reftex-toc-rename-label): Fix typos in error messages.
16995         * dired-aux.el (dired-do-shell-command): Reflow docstring.
16996         (dired-copy-how-to-fn): Doc fix.
16997         (dired-files-attributes, dired-read-shell-command):
16998         Fix typos in docstrings.
17000         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
17001         (dired-x-find-file-other-window): Reflow docstrings.
17002         (dired-omit-marker-char, dired-read-shell-command)
17003         (dired-x-submit-report): Fix typos in docstrings.
17005         * shell.el (shell-mode-hook):
17006         * view.el (View-scroll-line-forward):
17007         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
17008         Fix typos in docstrings.
17010         * net/dig.el (dig-invoke): Fix typo in docstring.
17011         (query-dig): Reflow docstring.
17013         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
17014         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
17015         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
17016         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
17017         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
17018         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
17019         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
17020         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
17021         (idlwave-completion-map, idlwave-current-indent)
17022         (idlwave-custom-ampersand-surround, idlwave-customize)
17023         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
17024         (idlwave-define-abbrev, idlwave-determine-class-special)
17025         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
17026         (idlwave-end-block-reg, idlwave-end-of-statement)
17027         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
17028         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
17029         (idlwave-explicit-class-listed, idlwave-file-header)
17030         (idlwave-fill-paragraph, idlwave-find-class-definition)
17031         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
17032         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
17033         (idlwave-in-quote, idlwave-indent-action-table)
17034         (idlwave-indent-expand-table, idlwave-indent-line)
17035         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
17036         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
17037         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
17038         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
17039         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
17040         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
17041         (idlwave-outlawed-buffers, idlwave-popup-select)
17042         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
17043         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
17044         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
17045         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
17046         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
17047         (idlwave-statement-type, idlwave-struct-skip)
17048         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
17049         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
17050         (idlwave-what-module-find-class): Fix typos in docstrings.
17051         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
17052         (idlwave-calculate-cont-indent, idlwave-expand-equal)
17053         (idlwave-find-module, idlwave-find-structure-definition)
17054         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
17055         (idlwave-list-load-path-shadows, idlwave-next-statement)
17056         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
17057         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
17058         (idlwave-template): Reflow docstrings.
17060         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
17061         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
17062         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
17063         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
17064         (idlwave-shell-display-line, idlwave-shell-display-wframe)
17065         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
17066         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
17067         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
17068         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
17069         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
17070         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
17071         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
17072         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
17073         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
17074         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
17075         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
17076         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
17077         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
17078         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
17079         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
17080         Fix typos in docstrings.
17081         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
17082         (idlwave-shell-hide-output, idlwave-shell-mode)
17083         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
17084         Reflow docstrings.
17086         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
17088 2009-09-24  Ivan Kanis  <apple@kanis.eu>
17090         * term.el (term-bold-attribute): New var.
17091         (term-handle-colors-array): Use it.
17093 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
17095         * progmodes/gdb-mi.el (gdb-version): New variable.
17096         (gdb-non-stop-handler): Set gdb-version.
17097         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
17098         Condition "--thread" option on gdb-version.
17099         (gdb-invalidate-threads): Remove unused argument.
17101 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17103         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
17104         to looking-back to avoid ridiculous slow down in large files (bug#4511).
17106 2009-09-23  Glenn Morris  <rgm@gnu.org>
17108         * mail/rmail.el (rmail-reply): Don't try to add a References header when
17109         replying to mail without References or Message-Id.  (Bug#4525)
17111 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
17113         * term/ns-win.el (ns-reg-to-script): New variable.
17115 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
17117         * epg.el (epg-wait-for-status): Preserve existing 'error results.
17119 2009-09-22  Sam Steingold  <sds@gnu.org>
17121         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
17122         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
17123         to 1 because hg returns status 1 when nothing is found.
17124         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
17126 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17128         * textmodes/fill.el: Convert to utf-8 encoding.
17129         (fill-french-nobreak-p): Remove redundant » and « inherited from our
17130         pre-Unicode days.
17132         * add-log.el (change-log-fill-forward-paragraph): New function.
17133         (change-log-mode): Use it so fill-region DTRT.
17134         Set fill-indent-according-to-mode here rather than in
17135         change-log-fill-paragraph.
17136         (change-log-fill-paragraph): Remove.
17138 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
17140         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
17141         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
17143 2009-09-22  Glenn Morris  <rgm@gnu.org>
17145         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
17146         the scroll-bar scroll the calendar window rather than the buffer.
17148         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
17149         commands that move point (as opposed to scrolling).
17151         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
17153         * emacs-lisp/elint.el (elint): New custom group.
17154         (elint-log-buffer): Make it a defcustom.
17155         (elint-scan-preloaded, elint-ignored-warnings)
17156         (elint-directory-skip-re): New options.
17157         (elint-builtin-variables): Doc fix.
17158         (elint-preloaded-env): New variable.
17159         (elint-unknown-builtin-args): Add an entry for encode-time.
17160         (elint-extra-errors): Make it a variable rather than a constant.
17161         (elint-preloaded-skip-re): New constant.
17162         (elint-directory): Skip files matching elint-directory-skip-re.
17163         (elint-features): New variable, local to linted buffers.
17164         (elint-update-env): Initialize elint-features.  Possibly add
17165         elint-preloaded-env to the buffer's environment.
17166         (elint-get-top-forms): Bind elint-current-pos, for log messages.
17167         Skip quoted forms.
17168         (elint-init-form): New function, extracted from elint-init-env.
17169         Make non-list forms a warning rather than an error.
17170         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
17171         easy-menu-define, put that adds an error-condition, and provide.
17172         When requiring cl, also require cl-macs.  Really require cl, to handle
17173         some cl macros.  Store required libraries in the list elint-features,
17174         so as not to re-load them.  Treat cc-require like require.
17175         (elint-init-env): Call elint-init-form to do the work.
17176         Handle eval-and-compile and such like.
17177         (elint-add-required-env): Do not clear messages.
17178         (elint-special-forms): Add handlers for function, defalias, if, when,
17179         unless, and, or.
17180         (elint-form): Add optional argument to ignore elint-special-forms,
17181         useful to prevent recursive calls from handlers.  Doc fix.
17182         Respect elint-ignored-warnings.
17183         (elint-form): Respect elint-ignored-warnings.
17184         (elint-bound-variable, elint-bound-function): New variables.
17185         (elint-unbound-variable): Respect elint-bound-variable.
17186         (elint-get-args): Respect elint-bound-function.
17187         (elint-check-cond-form): Add some simple handling for (f)boundp and
17188         featurep tests.
17189         (elint-check-defalias-form): New handler.
17190         (elint-check-let-form): Make an empty let a warning rather than an
17191         error.
17192         (elint-check-setq-form): Make an empty setq a warning rather than an
17193         error.  Respect elint-ignored-warnings.
17194         (elint-check-defvar-form): Accept null doc-strings.
17195         (elint-check-conditional-form): New handler.  Does some simple-minded
17196         checking of featurep and (f)boundp tests.
17197         (elint-put-function-args): New function.
17198         (elint-initialize): Use elint-scan-doc-file rather than
17199         elint-find-builtin-variables.  Use elint-put-function-args.
17200         Possibly scan preloaded-file-list.
17201         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
17202         extend to handle functions as well.
17204 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
17206         * linum.el (linum-delete-overlays, linum-update-window):
17207         Do not modify the right margin.  (Bug#3971)
17209 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
17211         * files.el (conf-mode-maybe, magic-fallback-mode-alist):
17212         Use nxml-mode instead of xml-mode.
17214 2009-09-21  Kevin Ryde  <user42@zip.com.au>
17216         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
17218 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17220         * net/dig.el (dig-mode): Use define-derived-mode.
17222 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
17224         * vc-dispatcher.el (vc-do-command): Return the process object in
17225         the asynchronous case.  Use when instead of if.  Do not run
17226         vc-exec-after to display a message if not enabled.  (Bug#4463)
17228         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
17229         properties to the stash strings.
17230         (vc-git-stash-list): Return a list of strings.
17231         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
17232         (vc-git-stash-show-at-point): New functions.
17233         (vc-git-stash-map): New keymap.
17235         * register.el (ctl-x-r-map): Define the keys here instead of
17236         using autoload.
17238 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
17240         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
17241         list, to workaround performance problem (bug#4485).
17243 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
17245         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
17247 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
17249         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
17250         Document that this option is not recommended to use.
17252 2009-09-19  Glenn Morris  <rgm@gnu.org>
17254         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
17255         variable `var'.
17257         * calc/calc-alg.el (var):
17258         * calc/calcalg2.el (var): Define for compiler.
17260 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
17262         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
17263         Doc fix (Bug#3932).
17265         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
17267         * time-stamp.el (time-stamp-month-dd-yyyy)
17268         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
17269         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
17270         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
17271         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
17272         Remove functions that have been obsolete since 1995 (Bug#4436).
17274         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
17275         indent buffer only if called interactively (Bug#4452).
17277 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
17278             Eli Zaretskii  <eliz@gnu.org>
17280         This fixes bug#4197 (merged to bug#865, though not identical).
17281         * server.el (server-auth-dir): Add docstring note about FAT32.
17282         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
17283         but warn against using them.
17285 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
17287         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
17288         older GDB where there is no has_more field.
17290 2009-09-19  Glenn Morris  <rgm@gnu.org>
17292         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
17294 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
17296         * files.el (auto-mode-alist): Change default for XML files to nXML
17297         mode (Bug#4169).
17299 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
17301         * server.el (server-ensure-safe-dir): Pass 'integer
17302         to `file-attributes', as suggested.
17304 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17306         * dired-aux.el (dired-query-alist): Remove spurious backslash.
17307         (dired-query): Use read-key.
17309 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
17311         * cus-start.el (ns-use-qd-smoothing): Remove.
17313 2009-09-18  Glenn Morris  <rgm@gnu.org>
17315         * allout.el (top-level): Remove unnecessary progn.
17317         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
17319         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
17320         definition of abbrev table.
17322         * speedbar.el (speedbar-track-mouse):
17323         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
17324         * net/eudc.el (eudc-expand-inline):
17325         * net/newst-backend.el (newsticker--cache-read-feed):
17326         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
17327         condition-case handlers.
17329 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
17331         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
17332         (gdb-var-list): Add an element for has_more field.
17333         (gdb-non-stop-handler): Enable pretty printing for STL containers.
17334         (gdb-var-create-handler, gdb-var-list-children-handler-1)
17335         (gdb-var-update-handler-1): Parse output of dynamic variable
17336         objects (STL containers).
17337         (gdb-var-delete-1): Pass var1 as an explicit second argument.
17338         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
17340         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
17341         gdb-var-list.
17342         (gud-speedbar-buttons): Make node expandable if expression "has more"
17343         children.
17345 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
17347         * startup.el (emacs-quick-startup): Remove variable and all uses.
17348         (command-line): Set `inhibit-x-resources' instead.
17349         (command-line-1): Use `inhibit-x-resources' instead.
17351 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
17353         * subr.el: Fix last change to avoid using the `unless' macro,
17354         which breaks bootstrapping.
17356 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17358         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
17359         extended definitions, in case we reload subr.el after having
17360         loaded CL.
17361         (eval-next-after-load): Mark as obsolete.
17363 2009-09-17  Juri Linkov  <juri@jurta.org>
17365         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
17366         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
17367         (menu-bar-showhide-menu, menu-bar-tools-menu)
17368         (menu-bar-describe-menu, menu-bar-help-menu)
17369         (minibuffer-local-completion-map, minibuffer-local-map):
17370         Fix list quoting.
17372 2009-09-17  Glenn Morris  <rgm@gnu.org>
17374         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
17375         arguments, whether or not it has a handler.
17377         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
17379         * simple.el (hard-newline): Give it a doc-string.
17381         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17382         (lisp-mode-syntax-table): Give them doc-strings.
17384 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
17386         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
17387         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
17388         (menu-bar-options-menu, menu-bar-showhide-menu)
17389         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
17390         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
17391         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
17392         (menu-bar-options-menu, menu-bar-tools-menu)
17393         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
17394         (menu-bar-help-menu):
17395         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
17396         string arguments.
17398         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
17399         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
17400         calls for the menu names and :help.
17402 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17404         * mouse.el (minor-mode-menu-from-indicator): Pay attention
17405         to :minor-mode-function (bug#4455).
17407 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17409         * startup.el (command-line): Initialize the window-system after
17410         processing the command-line.
17412         * textmodes/page.el (what-page): Make sure we don't inf-loop if
17413         page-delimiter matches the empty string.
17415 2009-09-16  Glenn Morris  <rgm@gnu.org>
17417         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
17418         byte-compile-not-obsolete-var.  It's a list now.
17419         (byte-compile-not-obsolete-funcs): New variable.
17420         (byte-compile-warn-obsolete): Don't warn about functions if they are in
17421         byte-compile-not-obsolete-funcs.
17422         (byte-compile-variable-ref, byte-compile-defvar): Update for
17423         byte-compile-not-obsolete-vars name-change and list nature.
17424         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
17425         and variables behind (f)boundp tests.
17426         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
17428 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
17430         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
17432 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17434         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
17435         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
17436         Don't autoload.
17438 2009-09-15  Stephen Eglen  <stephen@gnu.org>
17440         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
17441         the virtual-buffers, use the name of the buffer specified by
17442         find-file-noselect, as the match may be a symlink.  (This was a
17443         problem if the target and the symlink had different names.)
17445 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17447         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
17449         * desktop.el (desktop-path): Check user-emacs-directory.
17451         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
17453         * loadup.el: Use after-load-functions to GC after loading each file.
17454         Remove the explicit GC calls that used to be sprinkled around.
17456         * subr.el (after-load-functions): New hook.
17457         (do-after-load-evaluation): Run it.  Use string-match-p to detect
17458         `obsolete' packages, rather than painfully extracting the relevant
17459         directory name.
17461 2009-09-15  Glenn Morris  <rgm@gnu.org>
17463         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
17464         free variable `doc'.
17466         * dired.el (dired-mode-map): Add menu entry for async shell command.
17468         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
17469         variables, also consider the .elc files, since the .el files are
17470         normally gzipped (subsequent code locates the .el.gz from the .elc).
17472         * calc/calc-prog.el (arglist): Define for compiler.
17474         * calendar/diary-lib.el (diary-display-function): Change the default to
17475         fancy display.
17476         (body): Define for compiler.
17478         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
17479         (byte-compile-file-form, byte-compile-lambda)
17480         (byte-compile-top-level-body, byte-compile-form)
17481         (byte-compile-variable-ref, byte-compile-setq)
17482         (byte-compile-setq-default, byte-compile-body)
17483         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
17484         (batch-byte-compile): Give some more local variables with common names
17485         a "bytecomp-" prefix to avoid masking warnings about free variables.
17487         * startup.el (command-line-1): Give local variables with common names a
17488         distinguishing prefix, so as not to hide free variable warnings during
17489         bootstrap.
17491         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
17492         clever and add a suffix to make a unique name, just let the user decide
17493         whether or not to overwrite it.  If the input is a directory, write the
17494         default filename to that directory.  (Bug#4388)
17495         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
17496         is a filename-as-a-directory.
17498 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17500         * textmodes/page.el (what-page): Don't move to beginning of line.
17501         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
17503 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
17505         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
17507 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
17509         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
17510         * help.el (help-for-help-internal): Add purecopy calls for text.
17512         * vc.el (top): print-log method now takes an optional SHORTLOG
17513         argument.  Add a new method: root.
17514         (vc-root-diff, vc-print-root-log): New functions.
17515         (vc-log-short-style): New variable.
17516         (vc-print-log-internal): Add support for showing short logs.
17518         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
17519         vc-print-root-log and vc-print-root-diff.
17521         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
17522         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
17523         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
17524         short logs.
17526         * vc-cvs.el (vc-cvs-print-log):
17527         * vc-mtn.el (vc-mtn-print-log):
17528         * vc-rcs.el (vc-rcs-print-log):
17529         * vc-sccs.el (vc-sccs-print-log):
17530         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
17531         that is ignored for now.
17533         * vc-mtn.el (vc-mtn-annotate-command):
17534         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
17536 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17538         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
17539         to function-key-map, and give them ascii-character property.
17540         * term/x-win.el (x-alternatives-map):
17541         * term/ns-win.el (ns-alternatives-map):
17542         * term/internal.el (msdos-key-remapping-map):
17543         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
17545 2009-09-14  Glenn Morris  <rgm@gnu.org>
17547         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
17548         temp-buffers (2009-09-12).
17550 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
17552         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
17553         the new read-key function.
17555 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
17557         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
17558         is defined (Bug#4405).
17560 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
17562         * recentf.el (recentf-cleanup): Use a hash table to find
17563         duplicates (Bug#4407).
17565 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
17567         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
17568         kp-0 to ascii equivalents (Bug#4325).
17570 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
17572         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
17574         * eshell/em-hist.el:
17575         * eshell/em-dirs.el (eshell-complete-user-reference):
17576         Declare pcomplete functions and variables to avoid compiler warnings.
17578 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
17580         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
17581         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
17582         * eshell/em-alias.el (eshell-aliases-file):
17583         * eshell/em-hist.el (eshell-history-file-name):
17584         Use expand-file-name instead of concat to make file names (Bug#4308).
17586 2009-09-13  Glenn Morris  <rgm@gnu.org>
17588         * ediff-merg.el (ediff-do-merge):
17589         * filesets.el (filesets-run-cmd):
17590         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
17591         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
17592         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
17593         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
17594         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
17595         Replace empty `let's with `progn'.
17597 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
17599         * mail/sendmail.el (send-mail-function):
17600         * tooltip.el (tooltip-mode):
17601         * simple.el (transient-mark-mode):
17602         * rfn-eshadow.el (file-name-shadow-mode):
17603         * frame.el (blink-cursor-mode):
17604         * font-core.el (global-font-lock-mode):
17605         * files.el (temporary-file-directory)
17606         (small-temporary-file-directory, auto-save-file-name-transforms):
17607         * epa-hook.el (auto-encryption-mode):
17608         * composite.el (global-auto-composition-mode):
17609         Use custom-initialize-delay.
17610         * startup.el (command-line): Don't explicitly call
17611         custom-reevaluate-setting for all the above vars.
17612         * custom.el (custom-initialize-safe-set)
17613         (custom-initialize-safe-default): Delete.
17615 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17617         * term/x-win.el (x-initialize-window-system):
17618         * term/w32-win.el (w32-initialize-window-system):
17619         * term/ns-win.el (ns-initialize-window-system): Don't call
17620         mouse-wheel-mode since it's enabled globally by default already.
17622         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
17623         actually define the variable, but only silences the byte-compiler.
17624         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
17625         before looking it up.
17626         (mouse-wheel-scroll-amount): Also reset the bindings if this value
17627         is changed.
17629 2009-09-12  Glenn Morris  <rgm@gnu.org>
17631         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
17632         1000.
17633         (elint-add-required-env): Don't beep on error.
17634         (elint-forms): In case of error, return ENV unchanged.
17635         (elint-init-env): Skip non-list forms.
17636         (elint-log): Handle unknown file positions.
17638 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
17640         * epg.el (epg-make-context): Add autoload cookie.
17641         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
17642         (epg-decrypt-string, epg-start-verify, epg-verify-file)
17643         (epg-verify-string, epg-start-sign, epg-sign-file)
17644         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
17645         (epg-encrypt-string, epg-start-export-keys)
17646         (epg-export-keys-to-file, epg-export-keys-to-string)
17647         (epg-start-import-keys, epg-import-keys-from-file)
17648         (epg-import-keys-from-string, epg-start-receive-keys)
17649         (epg-receive-keys, epg-import-keys-from-server)
17650         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
17651         (epg-sign-keys, epg-start-generate-key)
17652         (epg-generate-key-from-file, epg-generate-key-from-string):
17653         Remove autoload cookie.
17655 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
17657         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
17658         reevaluation of trash-directory.
17660         * mwheel.el: Fix last change.
17661         (mouse-wheel-mode): New defvar.
17662         (mouse-wheel-mode): Remove autoload cookie.
17664 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17666         * mwheel.el (mwheel-installed-bindings): New var.
17667         (mouse-wheel-mode): Use it, so as to make sure we really remove all
17668         the bindings we set last time.  Use custom-initialize-delay.
17669         * loadup.el: Load mwheel after term/*-win.el.
17670         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
17671         and mouse-wheel-up-event now that their first evaluation is done
17672         sufficiently late to be correct.
17674         * startup.el (tutorial-directory): Make it a defcustom.
17675         Use custom-initialize-delay rather than eval-at-startup to set it.
17676         * image.el (image-load-path): Make it a defcustom.
17677         Use custom-initialize-delay rather than eval-at-startup to set it.
17678         * subr.el (eval-at-startup): Remove.
17679         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
17681         * subr.el (do-after-load-evaluation): Warn the user after loading an
17682         obsolete package.
17684 2009-09-12  Glenn Morris  <rgm@gnu.org>
17686         * proced.el (proced-mark-alt): Remove alias.
17687         (proced-mode-map): Remove proced-mark-alt.
17689         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
17690         Elint file and directory.  Remove initialization entry.
17692         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
17693         commands.
17694         (elint-current-buffer): Set mode-line-process.
17695         (elint-init-env): Handle define-derived-mode.
17696         Fix declare-function with unspecified arglist.  Guard against odd
17697         defalias statements (eg iso-insert's 8859-1-map).
17698         (elint-add-required-env): Use a temp buffer.
17699         (elint-form): Just print the function/macro name, not the whole form.
17700         Return env unchanged if we fail to parse a macro.
17701         (elint-forms): Guard against parse errors.
17702         (elint-output): New function, to handle batch mode.
17703         (elint-log-message): Add optional argument.  Use elint-output.
17704         (elint-set-mode-line): New function.
17706 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
17708         * emacs-lisp/elp.el (elp-not-profilable): Add more
17709         functions (Bug#4233).
17711 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
17713         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
17714         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
17716 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
17718         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
17719         (gdb-var-list-children): Use json parsing.
17721 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
17723         * progmodes/js.el (js--proper-indentation): Handle the case where
17724         char-before is null.  Reported by Deniz Dogan.
17726 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
17728         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
17730 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
17732         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
17733         (epg-digest-algorithm-alist): Add SHA224.
17734         (epg-context-set-passphrase-callback)
17735         (epg-context-set-progress-callback): Add description about
17736         callback function.
17738 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
17740         * custom.el (custom-delayed-init-variables): New var.
17741         (custom-initialize-delay): New function.
17742         * startup.el (command-line): "Re"evaluate all vars in
17743         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
17744         explicitly any more.
17745         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
17746         to avoid creating a ~/.emacs.d at build-time (bug#4347).
17748         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
17750 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
17752         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
17753         (gdb-var-update-handler): Use json parsing.
17755 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
17757         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
17758         decode annotated text, regardless of language environment.  (Bug#2741)
17760 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
17762         * Makefile.in (autoloads): Make rmail.el writable as well.
17764 2009-09-11  Glenn Morris  <rgm@gnu.org>
17766         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
17767         loaddefs.el.
17768         * dired.el: Regenerate with extracted autoloads.
17769         * Makefile.in (autoloads): Make dired.el writable.
17771         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
17772         * ibuffer.el: Regenerate with extracted autoloads.
17773         * Makefile.in (autoloads): Make ibuffer.el writable.
17775         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
17776         * version.el (emacs-copyright, emacs-major-version)
17777         (emacs-minor-version): Reformat doc-strings for make-docfile.
17779         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
17780         functions and variables, since they must be stuff specific to some other
17781         platform.
17782         (apropos-print): Make mouse-click message less specific about button.
17784         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
17785         that records where a macro was defined.
17786         * help-fns.el (describe-function-1): Mention if a function has a
17787         compiler-macro.
17788         * help-mode.el (help-function-cmacro): New button.
17790         * locate.el (top-level): Always require dired.
17791         (locate-mode-map): Initialize inside the defvar.
17793         * net/ange-ftp.el (dired-compress-file): Declare.
17794         (ange-ftp-dired-compress-file): Add doc string.
17796         * term/ns-win.el (x-display-name, x-setup-function-keys):
17797         Unify doc-strings with X versions.
17799 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
17801         * emulation/crisp.el (crisp-mode-map): Move initialization
17802         into declaration.
17803         (crisp-mode): Use define-minor-mode.
17805         * progmodes/xscheme.el (xscheme-evaluation-commands):
17806         Put a :advertised-binding property rather than using
17807         advertised-xscheme-send-previous-expression.
17808         (advertised-xscheme-send-previous-expression): Declare obsolete.
17809         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
17810         `advertised-undo'.
17811         (crisp-mode): Add corresponding bindings to
17812         undo's :advertised-binding instead.
17813         * dired.el (dired-mode-map): Put a :advertised-binding property rather
17814         than using dired-advertised-find-file.
17815         (dired-advertised-find-file):
17816         * simple.el (advertised-undo):
17817         * wid-edit.el (advertised-widget-backward): Declare obsolete.
17818         (widget-keymap): Put a :advertised-binding property rather
17819         than using advertised-widget-backward.
17820         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
17821         than using advertised-undo.
17822         * tutorial.el (tutorial--default-keys): Adjust accordingly.
17824 2009-09-10  Simon South  <ssouth@slowcomputing.org>
17826         * progmodes/delphi.el (delphi-tab): Indent region when Transient
17827         Mark mode is enabled and region is active; otherwise indent or
17828         insert TAB as usual.
17829         (delphi-mode): Update description of TAB-key binding.
17831 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
17833         * subr.el (define-key-rebound-commands): Mark obsolete.
17834         * startup.el (precompute-menubar-bindings): Remove.
17835         (normal-top-level): Remove obsolete code that tried to precompute
17836         menubar bindings.
17837         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
17838         define-key-rebound-commands and precompute-menubar-bindings.
17840 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
17842         * net/imap.el (imap-interactive-login): Better messages.
17843         (imap-open): Fix bug with renamed buffer on reconnect.
17844         (imap-authenticate): Add buffer-local imap-last-authenticator variable
17845         for easier debugging and cleaner code.  On successful (guessed based on
17846         server capabilities) secondary authentication, set imap-state
17847         correctly.
17848         (imap-last-authenticator): Define imap-last-authenticator as a variable
17849         to avoid warnings.
17851 2009-09-10  Glenn Morris  <rgm@gnu.org>
17853         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
17855         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
17856         (byte-compile-file-form-autoload): Don't warn about unknown functions
17857         where the autoload statement comes after the use.
17858         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
17859         that any handlers inside the body (eg require) are in turn respected.
17861         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
17862         effects.
17864         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
17865         and syntax and abbrev tables basic docs, if they don't have any.
17867         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
17869         * international/mule-cmds.el (top-level): Require cl when compiling.
17870         (view-hello-file): Use default-value rather than
17871         default-enable-multibyte-characters.
17873         * progmodes/fortran.el: Move all safe and risky properties into the
17874         defcustoms.
17876         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
17877         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
17878         * mail/undigest.el:
17879         Put autoloads in rmail.el rather than loaddefs.el.
17880         * mail/rmail.el: Regenerate with extracted autoloads.
17882         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
17883         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
17885 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
17887         Reported in thread for Bug#4375.
17888         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
17889         "-data-evaluate-expression" instead of print.
17890         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
17891         (gdb-tooltip-print): Parse output from above MI command.
17892         (gdb): Revert 2009-08-11 change.  User should detach inferior
17893         manually.
17895         Remove the word "separate" from IO functions as inferior
17896         output is now never displayed in the GUD buffer.
17898 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
17900         * startup.el (command-line-normalize-file-name): On Windows and
17901         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
17903 2009-09-10  Juri Linkov  <juri@jurta.org>
17905         * isearch.el (isearch-text-char-description): Propertize escape
17906         character sequences with the `escape-glyph' face.  (Bug#4344)
17908         * simple.el (shell-command): Set asynchronous process filter to
17909         `comint-output-filter'.  (Bug#4343)
17911         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
17912         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
17913         the list.  Move "asm" to the bottom.
17914         (grep-find-ignored-directories): Add `choice' with nil value
17915         to empty the list easily.
17916         (grep-find-ignored-files): New option.
17917         (grep-files-history): Set to nil by default instead of '("ch" "el").
17918         (grep-compute-defaults): Add "<X>" to `grep-template'.
17919         (grep-read-files): Bind new local variables `default-alias' and
17920         `default-extension'.  Use a list of default values for the file prompt.
17921         (lgrep): Add `--exclude=' command line options composed from
17922         `grep-find-ignored-files'.
17923         (rgrep): Add `-name' command line options composed from
17924         `grep-find-ignored-files'.  (Bug#4301)
17926 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
17928         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
17929         (bug#4368).
17931 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
17933         * calendar/time-date.el (autoload):
17934         Expand define-obsolete-function-alias into defalias and make-obsolete
17935         for old Emacsen that Gnus supports.
17936         (with-no-warnings): Define it for old Emacsen.
17937         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
17938         is available.
17939         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
17940         float-time is available; suppress compile warning for time-to-seconds.
17942 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
17944         * net/imap.el (imap-message-map): Docstring fix.
17946 2009-09-09  Glenn Morris  <rgm@gnu.org>
17948         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
17949         line numbers too.  (Bug#4374)
17951 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
17953         * smerge-mode.el (smerge-remove-props, smerge-refine):
17954         Use with-silent-modifications (bug#4342).
17956         * subr.el (with-silent-modifications): New macro.
17958 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
17960         * files.el (top-level): Require `cl' when compiling.
17962 2009-09-07  Glenn Morris  <rgm@gnu.org>
17964         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
17966         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
17967         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
17969 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
17971         * vc-git.el (vc-git-annotate-command): Use separator to parse
17972         arguments correctly.
17974 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
17976         * proced.el (proced-mode): Doc fix.
17978 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
17980         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
17981         lstat fails.
17982         (tramp-do-file-attributes-with-ls): Check for file existence at
17983         remote end.
17984         (tramp-do-file-attributes-with-stat): Likewise.
17985         (tramp-convert-file-attributes): Return nil when attr is nil.
17987 2009-09-05  Glenn Morris  <rgm@gnu.org>
17989         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
17990         properties to this button.
17991         (diary-fancy-display): Don't extend the button to the final newline.
17992         (diary-fancy-display-mode): Continue to define "q" as a local key.
17994         * calendar/cal-china.el (holiday-chinese): Make it slightly more
17995         efficient.
17997         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
17999         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
18000         (byte-compile-dest-file-function): New option.
18001         (byte-compile-dest-file): Doc fix.
18002         Obey byte-compile-dest-file-function.
18003         (byte-compile-cl-file-p): New function.
18004         (byte-compile-eval): Only suppress noruntime warnings about cl functions
18005         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
18006         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
18007         than for file being previously loaded.
18008         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
18009         (byte-compile-file-form-require): Handle the case where requiring a file
18010         indirectly causes CL to be loaded.
18012 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
18014         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
18015         before killing the old buffer, since by the time `kill-buffer' is
18016         run so many buffer variables have been set to nil that it may not
18017         behave as expected.  (Bug#4061)
18019 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
18021         * files.el (find-alternate-file): If the old buffer is modified
18022         and visiting a file, behave similarly to `kill-buffer' when
18023         killing it, thus reverting to the pre-1.878 behavior; see
18024         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
18025         for discussion.  Also, consult `buffer-file-name' as a variable
18026         not as a function, for consistency with the rest of the code.
18028 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
18030         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
18031         also when adding a new directory.
18033         * net/tramp-compat.el (tramp-compat-line-beginning-position):
18034         New defun.
18036 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
18038         * files.el (locate-file-completion-table): Make it provide boundary
18039         information, so partial-completion works better.
18041 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
18043         * mail/footnote.el (Footnote-text-under-cursor):
18044         Check footnote-text-marker-alist before using it (bug#4324).
18046 2009-09-04  Glenn Morris  <rgm@gnu.org>
18048         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
18049         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
18050         * play/solitaire.el, play/tetris.el:
18051         Remove leading * from defcustom and defface docs.
18053         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
18054         necessary.
18055         (diary-fancy-overriding-map): New variable.
18056         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
18057         Use view-mode.
18059         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
18060         goto-line.
18062 2009-09-03  Glenn Morris  <rgm@gnu.org>
18064         * arc-mode.el (archive-mode):
18065         * dos-fns.el (set-default-process-coding-system):
18066         * man.el (Man-getpage-in-background):
18067         * menu-bar.el (menu-bar-describe-menu):
18068         * server.el (server-process-filter):
18069         * startup.el (command-line):
18070         * tar-mode.el (tar-header-block-tokenize, tar-extract):
18071         * w32-fns.el (set-default-process-coding-system):
18072         * x-dnd.el (x-dnd-handle-file-name):
18073         * international/mule-cmds.el (mule-menu-keymap)
18074         (set-default-coding-systems, language-info-alist, set-language-info)
18075         (set-language-environment, standard-display-european-internal)
18076         (set-locale-environment):
18077         * international/mule-diag.el (mule-diag):
18078         * mail/emacsbug.el (report-emacs-bug):
18079         * mail/rmail.el (rmail-mode):
18080         * mail/sendmail.el (mail-setup):
18081         Use default-value rather than default-enable-multibyte-characters.
18083         * progmodes/f90.el: Move all safe properties into the defcustoms.
18084         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
18086         * calendar/appt.el (appt-check):
18087         * calendar/diary-lib.el (diary-set-header, diary-live-p)
18088         (diary-check-diary-file, diary-list-entries)
18089         (diary-include-other-diary-files, diary-simple-display)
18090         (diary-fancy-display, diary-print-entries)
18091         (diary-mark-included-diary-files, diary-make-entry):
18092         Don't call substitute-in-file-name on diary-file.
18094 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
18095             Stefan Monnier  <monnier@iro.umontreal.ca>
18097         * mail/footnote.el (footnote-prefix): Make it a defcustom.
18098         (footnote-mode-map): Move initialization into the declaration.
18099         (footnote-minor-mode-map): Define it rather than changing global-map.
18100         (footnote-mode): Use define-minor-mode.
18102 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
18104         * net/tramp.el (tramp-handle-file-attributes-with-ls)
18105         (tramp-do-file-attributes-with-perl)
18106         (tramp-do-file-attributes-with-stat): Rename from
18107         `tramp-handle-file-attributes-with-*'.
18108         (tramp-handle-file-attributes): Use them.
18109         (tramp-do-directory-files-and-attributes-with-perl)
18110         (tramp-do-directory-files-and-attributes-with-stat): Rename from
18111         `tramp-handle-directory-files-and-attributes-with-*'.
18112         (tramp-handle-directory-files-and-attributes): Use them.
18113         (tramp-method-out-of-band-p): Additional parameter SIZE.
18114         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
18115         (tramp-handle-write-region): Use it.
18116         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
18117         (tramp-handle-vc-registered): Check, whether the first run did
18118         return files to be tested.
18119         (tramp-advice-make-auto-save-file-name): Do not call directly
18120         `tramp-handle-make-auto-save-file-name', because this would bypass
18121         the locking mechanism.
18123         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
18124         (file-remote-p, process-file, start-file-process, set-file-times)
18125         (tramp-compat-file-attributes): Compatibility functions shall not
18126         call directly `tramp-handle-*', because this would bypass the
18127         locking mechanism.
18128         (tramp-compat-number-sequence): New defun.
18130 2009-09-02  Glenn Morris  <rgm@gnu.org>
18132         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
18133         alias for float-time.
18134         (time-to-number-of-days): In Emacs, use float-time.
18135         * net/newst-backend.el (time-add): Suppress warnings from compat
18136         function.
18137         * time.el (emacs-uptime, emacs-init-time):
18138         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
18139         Use float-time rather than time-to-seconds.
18141         * minibuffer.el (completion-initials-expand): Fix typo.
18143         * faces.el (modeline, modeline-inactive, modeline-highlight)
18144         (modeline-buffer-id):
18145         * info.el (info-menu-5): Mark these face aliases as obsolete.
18147 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
18149         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
18150         space ...
18151         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
18152         no "--thread" option.
18153         (gdb-stopped): Don't print "Switched to thread" message when it is
18154         unchanged.
18156 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18158         * minibuffer.el (completion-try-completion)
18159         (completion-all-completions): Remove ill-defined (and
18160         mistakenly installed and luckily never used nor documented)
18161         `completion-styles' property.
18162         (completion-initials-expand, completion-initials-all-completions)
18163         (completion-initials-try-completion): New functions.
18164         (completion-styles-alist): Add doc to each entry.
18165         Add new `initials' entry.
18167 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
18169         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
18170         MI command -var-evaluate-expression.
18171         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
18172         and tweak for case of string child.
18173         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
18175 2009-09-01  Glenn Morris  <rgm@gnu.org>
18177         * add-log.el (change-log-date-face, change-log-name-face)
18178         (change-log-email-face, change-log-file-face, change-log-list-face)
18179         (change-log-conditionals-face, change-log-function-face)
18180         (change-log-acknowledgement-face):
18181         * cus-edit.el (custom-invalid-face, custom-rogue-face)
18182         (custom-modified-face, custom-set-face, custom-changed-face)
18183         (custom-saved-face, custom-button-face, custom-button-pressed-face)
18184         (custom-documentation-face, custom-state-face, custom-comment-face)
18185         (custom-comment-tag-face, custom-variable-tag-face)
18186         (custom-variable-button-face, custom-face-tag-face)
18187         (custom-group-tag-face-1, custom-group-tag-face):
18188         * diff-mode.el (diff-header-face, diff-file-header-face)
18189         (diff-index-face, diff-hunk-header-face, diff-removed-face)
18190         (diff-added-face, diff-changed-face, diff-function-face)
18191         (diff-context-face, diff-nonexistent-face):
18192         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
18193         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
18194         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
18195         (Info-title-4-face):
18196         * isearch.el (isearch-lazy-highlight-face):
18197         * log-view.el (log-view-file-face, log-view-message-face):
18198         * paren.el (show-paren-match-face, show-paren-mismatch-face):
18199         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
18200         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
18201         (cvs-msg-face):
18202         * smerge-mode.el (smerge-mine-face, smerge-other-face)
18203         (smerge-base-face, smerge-markers-face):
18204         * wid-edit.el (widget-documentation-face, widget-button-face)
18205         (widget-field-face, widget-single-line-field-face)
18206         (widget-inactive-face, widget-button-pressed-face):
18207         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
18208         (woman-addition-face):
18209         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
18210         (eshell-ls-executable-face, eshell-ls-readonly-face)
18211         (eshell-ls-unreadable-face, eshell-ls-special-face)
18212         (eshell-ls-missing-face, eshell-ls-archive-face)
18213         (eshell-ls-backup-face, eshell-ls-product-face)
18214         (eshell-ls-clutter-face):
18215         * eshell/em-prompt.el (eshell-prompt-face):
18216         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
18217         * obsolete/old-whitespace.el (whitespace-highlight-face):
18218         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
18219         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
18220         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
18221         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
18222         (antlr-font-lock-literal-face):
18223         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
18224         (ebrowse-root-class-face, ebrowse-file-name-face)
18225         (ebrowse-default-face, ebrowse-member-attribute-face)
18226         (ebrowse-member-class-face, ebrowse-progress-face):
18227         * progmodes/make-mode.el (makefile-space-face):
18228         * progmodes/sh-script.el (sh-heredoc-face):
18229         * textmodes/flyspell.el (flyspell-incorrect-face)
18230         (flyspell-duplicate-face):
18231         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
18232         * textmodes/texinfo.el (texinfo-heading-face):
18233         Mark face aliases with "-face" suffix as obsolete.
18235         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
18236         compiler.
18238         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
18239         (eudc-bob-sound-menu): Use defvar rather than defconst, since
18240         easy-menu-define wants to modify these.
18242         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
18244         * net/browse-url.el (browse-url-file-url):
18245         * term/internal.el (dos-codepage-setup):
18246         Use default-value rather than default-enable-multibyte-characters.
18248         * progmodes/etags.el (etags-goto-tag-location):
18249         * progmodes/flymake.el (flymake-highlight-line)
18250         (flymake-goto-file-and-line, flymake-goto-line):
18251         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
18252         (gdb-goto-breakpoint):
18253         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
18254         * progmodes/python.el (python-find-function)
18255         (python-pdbtrack-track-stack-file):
18256         * progmodes/verilog-mode.el (verilog-surelint-off):
18257         * term/ns-win.el (ns-open-file-select-line):
18258         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
18259         Use forward-line rather than goto-line.
18261         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
18262         * textmodes/reftex-index.el (reftex-display-index):
18263         * textmodes/reftex-ref.el (reftex-offer-label-menu):
18264         * textmodes/reftex-toc.el (reftex-toc):
18265         Remove unnecessary bindings of default-major-mode (all are followed by
18266         major-mode check and possible mode switch).
18268 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
18270         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
18271         Handle watchpoints (bug#4282).
18272         (def-gdb-thread-buffer-command): Enable thread to be selected by
18273         clicking without selecting threads buffer first.
18274         (gdb-current-context-command): Use selected frame so that "up",
18275         "down" etc work in the GUD buffer.
18276         (gdb-update): Find selected frame before rendering stack buffer.
18277         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
18279 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
18281         * progmodes/sym-comp.el (displayed-completions): Remove.
18282         (symbol-complete): Use minibuffer-complete.
18284 2009-08-31  Glenn Morris  <rgm@gnu.org>
18286         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
18288         * apropos.el (apropos-symbols-internal):
18289         Handle (obsolete) face aliases.
18291         * faces.el (describe-face): Adjust the output format to be more like
18292         describe-variable, and to mention (obsolete) face aliases.
18293         Adjust the whitespace so that help-setup-xref works.
18295         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
18296         * calendar/diary-lib.el (diary-button-face):
18297         Mark these face aliases as obsolete.
18299         * calendar/calendar.el (calendar-today): Doc fix.
18301 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
18303         * progmodes/gdb-mi.el (gdb-control-all-threads)
18304         (gdb-control-current-thread): Force tool bar update.
18305         (gdb-non-stop-handler): New function.
18306         (gdb-init-1): Use it to test if non-stop mode is supported.
18307         Remove unused gdbmi buffer type.
18309 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
18311         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
18312         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
18314 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
18316         * comint.el (comint-exec-1): Check command is non-null first.
18317         Part of gdb-mi.el change (2009-08-28).
18319 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
18321         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
18323 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
18325         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
18326         instead of `dolist' to avoid a recursive require when bootstrapping.
18328 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
18330         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
18332         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
18334         * net/imap.el (imap-send-command): Simplify.
18335         (imap-wait-for-tag): point-max -> buffer-size.
18337         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
18339         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
18340         with constant argument.
18342         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
18344         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
18346         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
18347         Change default, since most of our files don't have a history.
18348         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
18349         the user.
18351         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18352         Add comint-run.
18354         * calc/calc.el: Improve commenting convention.
18355         (calc-digit-map, toplevel): Simplify.
18357         * comint.el (comint-insert-input): Be careful to only set point if we
18358         don't delegate to some other command.
18360         * proced.el (proced-signal-list): Make it an alist.
18361         (proced-grammar-alist): Capitalize names.
18362         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
18363         Disable undo manually and make it read-only.
18364         Use completion-annotate-function.
18366         * minibuffer.el (minibuffer-message): If the current buffer is not
18367         a minibuffer, insert the message in the echo area rather than at the
18368         end of the buffer.
18369         (completion-annotate-function): New variable.
18370         (minibuffer-completion-help): Use it.
18371         (completion--embedded-envvar-table): Environment vars are
18372         always case-sensitive.
18374 2009-08-30  Glenn Morris  <rgm@gnu.org>
18376         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
18377         from fortran-current-defun.
18378         (fortran-beginning-of-subprogram): Be more precise about finding the
18379         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
18380         (fortran-end-of-subprogram): Simplify.
18381         (fortran-current-defun): Use fortran-start-prog-re.
18383 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
18385         * subr.el (do-after-load-evaluation): Simplify.
18387 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
18389         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
18391         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
18392         (vc-rcs-print-log): Use it.
18394         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
18396 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
18398         * paths.el (abbrev-file-name): Move to abbrev.el.
18399         * abbrev.el (abbrev-file-name): Move from paths.el.
18400         Obey user-emacs-directory.
18401         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
18402         user-emacs-directory.
18403         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
18404         abbrev-file-name and calc-settings-file any more.
18405         * startup.el (command-line): Recompute abbrev-file-name and
18406         abbreviated-home-dir.
18407         (normal-no-mouse-startup-screen): Improve the generic code and get rid
18408         of the special code for when C-h bindings haven't been changed.
18409         (display-startup-echo-area-message): Use with-current-buffer.
18410         (command-line-1): Use a list of strings, rather than a list of lists
18411         of strings for longopts.
18413         * files.el (get-free-disk-space): Use / for default-directory.
18415         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
18416         Use with-current-buffer.
18418         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
18419         Recognize immutable variables like most-positive-fixnum.
18420         (byte-compile-setq-default): Check and warn if trying to assign
18421         to an immutable variable, or a non-variable.
18423         * progmodes/cc-vars.el (c-comment-continuation-stars):
18424         * progmodes/cc-engine.el (c-looking-at-bos):
18425         * progmodes/cc-cmds.el (c-toggle-auto-state)
18426         (c-forward-into-nomenclature, c-backward-into-nomenclature)
18427         (c-comment-line-break-function): Add version of obsolescence.
18429 2009-08-28  Juri Linkov  <juri@jurta.org>
18431         * files.el (magic-fallback-mode-alist): Add ZIP magic number
18432         associated with `archive-mode'.
18434         * image.el (image-type-header-regexps): Use only JPEG magic number
18435         to determine JPEG images, and don't use `image-jpeg-p' because
18436         Emacs can display non-JFIF non-Exif JPEG images.
18438 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
18440         * arc-mode.el (archive-mode):
18441         * emacs-lisp/re-builder.el (re-builder-unload-function):
18442         Protect against the default value of `major-mode' being nil.
18444 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
18446         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
18447         Fix typos in docstrings.
18449         * progmodes/js.el (js--macro-decl-re): Doc fix.
18450         (js--plain-method-re, js--split-name): Refloc docstring.
18451         (js--class-styles, js--make-merged-item, js--splice-into-items):
18452         Fix typos in docstrings; reflow docstrings.
18453         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
18454         (js--variable-decl-matcher, js--inside-pitem-p)
18455         (js--parse-state-at-point, js--get-all-known-symbols)
18456         (js--symbol-history, js-find-symbol, js--js-references)
18457         (js--moz-interactor, js--js-encode-value, js--read-tab):
18458         Fix typos in docstrings.
18460 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
18462         * textmodes/reftex.el (reftex-get-file-buffer-force):
18463         * progmodes/verilog-mode.el (verilog-batch-execute-func):
18464         * emulation/viper.el (viper-go-away, viper-set-hooks):
18465         * emacs-lisp/re-builder.el (re-builder-unload-function):
18466         * emacs-lisp/bytecomp.el (byte-compile-file):
18467         * ses.el (ses-unload-function):
18468         * hexl.el (hexl-find-file):
18469         * files.el (normal-mode):
18470         * ehelp.el (with-electric-help):
18471         * autoinsert.el (auto-insert-alist):
18472         * arc-mode.el (archive-mode):
18473         Use (default-value 'major-mode) instead of default-major-mode.
18475         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
18476         * international/mule.el (load-with-code-conversion):
18477         * emacs-lisp/debug.el (debug):
18478         * ediff-vers.el (ediff-rcs-get-output-buffer):
18479         * dired.el (dired-internal-noselect): Don't let-bind
18480         default-major-mode around code that doesn't use it.
18481         E.g. buffer creation via get-buffer-create doesn't use it.
18483 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
18485         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
18486         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
18487         when writing the temp file.  Otherwise, epa-file gets confused.
18488         (tramp-register-file-name-handlers): Make it a defun.  Move also
18489         `epa-file-handler' to the front of `file-name-handler-alist'.
18491 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
18493         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
18494         start right after a ^M.
18495         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
18496         (tramp-completion-file-name-regexp-separate)
18497         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
18498         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
18499         Don't modify last-coding-system-used by accident.
18500         (tramp-completion-file-name-handler): Apply the checks here,
18501         instead during registration.
18502         (tramp-register-file-name-handlers): Rename from
18503         `tramp-register-file-name-handler'.  Register both
18504         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
18505         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
18507 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
18509         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
18510         Remove variable ...
18511         (gdb-init-1, gdb-display-separate-io-buffer)
18512         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
18513         references to it.
18514         (gdb-inferior-io-mode): Use make-comint-in-buffer.
18515         (gdb-inferior-filter): Use comint-output-filter to stop
18516         echoing and remove ^M characters.
18518 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
18520         * emulation/viper-init.el (viper-restore-cursor-type):
18521         * emulation/cua-base.el (cua--update-indications):
18522         Replace default-cursor-type with (default-value 'cursor-type).
18524         * mail/sendmail.el (mail-recover-1):
18525         * international/mule-diag.el (describe-current-coding-system-briefly)
18526         (describe-current-coding-system):
18527         * international/mule-cmds.el (select-safe-coding-system)
18528         (select-message-coding-system)
18529         (set-language-environment-coding-systems, set-locale-environment):
18530         * hexl.el (hexl-insert-multibyte-char):
18531         * dos-w32.el (find-buffer-file-type-coding-system):
18532         * simple.el (what-cursor-position):
18533         Replace uses of default-buffer-file-coding-system
18534         with (default-value 'buffer-file-coding-system).
18536         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
18537         Replace uses of default-cursor-in-non-selected-windows
18538         with (default-value 'cursor-in-non-selected-windows).
18539         Use with-current-buffer.
18541         * mail/feedmail.el: Use CL macros.
18542         (feedmail-run-the-queue, feedmail-send-it-immediately):
18543         * dos-w32.el (find-buffer-file-type): Replace uses of
18544         default-buffer-file-type with (default-value 'buffer-file-type).
18546 2009-08-28  Glenn Morris  <rgm@gnu.org>
18548         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
18549         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
18550         Use default-value of major-mode rather than default-major-mode.
18552 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
18554         * Makefile.in (update-elcfiles): Report left over elc files.
18556         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
18557         expand-file-name and with-current-buffer.
18558         (mail-get-names, mail-directory): Use with-current-buffer.
18560         * vc.el (vc-read-revision): New function.
18561         (vc-version-diff, vc-merge): Use it.
18563 2009-08-27  Sam Steingold  <sds@gnu.org>
18565         * simple.el (kill-do-not-save-duplicates): New user option.
18566         (kill-new): When it is non-nil, and the new string is the same as
18567         the latest kill, set replace to t to avoid duplicates in kill-ring.
18569 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
18571         * net/tramp.el (tramp-handle-process-file): Do not flush all
18572         caches when `process-file-side-effects' is set.
18573         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
18574         instead of `tramp-find-file-exists-command'.
18575         Unset `process-file-side-effects'.
18577 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
18579         * net/tramp.el (tramp-methods): New method "rsyncc".
18580         (top): Add completion function for "rsyncc".
18581         (tramp-message-show-message): New defvar.
18582         (tramp-message, tramp-error): Use it.
18583         (tramp-do-copy-or-rename-file-directly): Extend check for direct
18584         remote copying.
18585         (tramp-do-copy-or-rename-file-out-of-band): Handle new
18586         `tramp-methods' entry `copy-env' of "rsyncc".
18587         (tramp-vc-registered-read-file-names): New defconst.
18588         (tramp-vc-registered-file-names): New defvar.
18589         (tramp-handle-vc-registered): Implement optimization strategy.
18590         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
18591         (tramp-vc-file-name-handler): New defun.
18592         (tramp-get-ls-command, tramp-get-test-command)
18593         (tramp-get-file-exists-command, tramp-get-remote-ln)
18594         (tramp-get-remote-perl, tramp-get-remote-stat)
18595         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
18597         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
18598         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
18599         timestamps.
18600         (tramp-get-file-property): Check for timestamps in
18601         `tramp-cache-inhibit-cache'.
18602         (tramp-set-file-property): Write timestamp.
18604 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
18606         * language/japan-util.el (japanese-symbol-table): Add entries for
18607         cp932-2-byte.
18609         * international/characters.el: Add category `j' to cp932-2-byte.
18611 2009-08-27  Kenichi Handa  <handa@m17n.org>
18613         * international/fontset.el (build-default-fontset-data): New macro.
18614         (setup-default-fontset): Use build-default-fontset-data for CJK,
18615         tibetan, ethiopic, and ipa.
18617 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
18619         * cus-start.el (default-major-mode): Customize `major-mode' instead.
18620         (enable-multibyte-characters): Not customizable any more.
18622         * subr.el (default-mode-line-format, default-header-line-format)
18623         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
18624         (default-direction-reversed, default-truncate-lines)
18625         (default-left-margin, default-tab-width, default-case-fold-search)
18626         (default-left-margin-width, default-right-margin-width)
18627         (default-left-fringe-width, default-right-fringe-width)
18628         (default-fringes-outside-margins, default-scroll-bar-width)
18629         (default-vertical-scroll-bar, default-indicate-empty-lines)
18630         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
18631         (default-fringe-cursor-alist, default-scroll-up-aggressively)
18632         (default-scroll-down-aggressively, default-fill-column)
18633         (default-cursor-type, default-buffer-file-type)
18634         (default-cursor-in-non-selected-windows)
18635         (default-buffer-file-coding-system, default-major-mode)
18636         (default-enable-multibyte-characters): Mark as obsolete.
18638 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
18640         * vc-dir.el (vc-dir-update): Remove debug helper.
18642         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
18644 2009-08-26  Sam Steingold  <sds@gnu.org>
18646         * simple.el (save-interprogram-paste-before-kill): New user option.
18647         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
18648         save the interprogram-paste into kill-ring before overriding it
18649         with the Emacs kill.
18651 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
18653         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
18654         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
18655         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
18656         and move to vc-rcs.el.
18657         (vc-default-next-revision): Rename to vc-rcs-next-revision and
18658         move to vc-rcs.el.
18659         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
18660         (vc-rcs-update-changelog): Remove.
18661         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
18662         and move to vc-rcs.el.
18664         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
18665         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
18666         renaming.
18667         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
18668         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
18669         vc.el, renamed to be RCS specific.
18671         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
18672         New functions.
18673         (vc-cvs-update-changelog): Move here from vc.el.
18675         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
18676         New functions.
18678 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
18680         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
18682 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
18684         * vc-git.el (vc-git-register): Use "git add" for directories.
18685         (vc-git-stash, vc-git-stash-show): New functions.
18686         (vc-git-extra-menu-map): Bind them.
18688         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
18689         directory correctly in case the item is a directory itself.
18691         * vc.el: Document the desired behavior for reverted files in the
18692         `added' state.
18693         (vc-default-prettify-state-info): Remove function, unused.
18695         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
18697 2009-08-26  Glenn Morris  <rgm@gnu.org>
18699         * bindings.el (standard-mode-line-format): Reposition dashes in
18700         which-func entry.  (Bug#4217)
18702         * files.el (enable-local-variables, enable-local-eval)
18703         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
18704         the defcustoms.
18705         (auto-mode-alist, ignored-local-variables)
18706         (save-some-buffers-action-alist): Move risky declarations to the
18707         definitions.
18708         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
18709         (font-lock-defaults, format-alist, imenu--index-alist)
18710         (imenu-generic-expression, input-method-alist, minor-mode-alist)
18711         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
18712         (mode-line-modified, mode-line-mule-info, mode-line-position)
18713         (mode-line-process, mode-line-remote, outline-level)
18714         (parse-time-rules, rmail-output-file-alist)
18715         (special-display-buffer-names, vc-mode):
18716         Move risky declarations to the relevant files.
18717         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
18718         (mode-line-modified, mode-line-process, mode-line-position)
18719         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
18720         * font-core.el (font-lock-defaults):
18721         * format.el (format-alist):
18722         * vc-hooks.el (vc-mode):
18723         * window.el (special-display-buffer-names):
18724         * international/mule-cmds.el (input-method-alist):
18725         Define riskiness here (dumped file) rather than in files.el.
18726         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
18727         * imenu.el (imenu-generic-expression, imenu--index-alist):
18728         * outline.el (outline-level):
18729         * time.el (display-time-string):
18730         * calendar/parse-time.el (parse-time-rules):
18731         * mail/rmailout.el (rmail-output-file-alist):
18732         Autoload riskiness here, rather than placing in files.el.
18734 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
18736         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
18738 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
18740         * simple.el (process-file-side-effects): New defvar.
18742         * dired-aux.el (dired-show-file-type):
18743         * vc.el (vc-diff-internal):
18744         * vc-arch.el (vc-arch-diff):
18745         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
18746         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
18747         * vc-git.el (vc-git-registered, vc-git-working-revision)
18748         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
18749         (vc-git--empty-db-p):
18750         * vc-hooks.el (vc-user-login-name):
18751         * vc-svn.el (vc-svn-registered, vc-svn-state)
18752         (vc-svn-dir-extra-headers, vc-svn-find-revision):
18753         * progmodes/grep.el (grep-probe): Let-bind
18754         `process-file-side-effects' with nil.
18756         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
18758         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
18759         daemon.  Replace ping by checking for running service for bluez
18760         and zeroconf.  (Bug#4239)
18762 2009-08-25  Kevin Ryde  <user42@zip.com.au>
18764         * net/dig.el (dig): Add autoload cookie.
18766 2009-08-25  Glenn Morris  <rgm@gnu.org>
18768         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
18769         load-history for absolute file-names.
18770         (byte-compile-file-form-require): Warn about use of the cl package.
18772         * format.el (format-alist): Doc fix.
18774         * play/bubbles.el (top-level): Don't require cl at run-time.
18776         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
18777         run-time cl).
18779 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
18781         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
18782         from cl package.
18783         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
18785 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
18787         * calc/calc-alg.el (math-trig-rewrite)
18788         (math-hyperbolic-trig-rewrite): New functions.
18789         (calc-simplify): Simplify trig functions when asked.
18791 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
18793         * diff-mode.el (diff-find-source-location): Avoid goto-line.
18795 2009-08-24  Kenichi Handa  <handa@m17n.org>
18797         * language/ind-util.el (mapthread): Delete it.
18798         (combinatorial): New function.
18799         (indian--puthash-cv): Use combinatorial instead of mapthread.
18801 2009-08-22  Kevin Ryde  <user42@zip.com.au>
18803         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
18804         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
18805         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
18806         Clarify docstring that the value is strings not symbols.
18807         (checkdoc-list-of-strings-p): New function.
18809 2009-08-22  Glenn Morris  <rgm@gnu.org>
18811         * files.el (auto-mode-alist):
18812         * hippie-exp.el (he-concat-directory-file-name):
18813         * lpr.el (lpr-windows-system, printer-name):
18814         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
18815         * ps-print.el (ps-windows-system):
18816         * startup.el (command-line):
18817         * emulation/viper-ex.el (viper-glob-function):
18818         * international/mule-cmds.el (set-language-environment-coding-systems):
18819         * net/ange-ftp.el (ange-ftp-write-region):
18820         * obsolete/fast-lock.el (fast-lock-cache-name):
18821         Remove code for defunct system-types emx, macos, mswindows, next-mach,
18822         unisoft-unix, vax-vms, win32, w32.
18824         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
18825         given name if the pattern is not more specific.
18827         * calendar/lunar.el (lunar-phase-names): New option.
18828         (lunar-phase): Doc fix.
18829         (lunar-cycles-per-year): New constant.
18830         (lunar-index): New function.
18831         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
18832         (lunar-phase-name): Use lunar-phase-names.
18833         (calendar-lunar-phases): Use format.
18834         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
18836         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
18837         Copy imenu-example--name-and-position function here for own use.
18838         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
18840         * bs.el (bs--redisplay):
18841         * cus-edit.el (custom-redraw):
18842         * ibuffer.el (ibuffer-bury-buffer):
18843         * server.el (server-goto-line-column):
18844         * startup.el (command-line-1):
18845         * strokes.el (strokes-xpm-for-stroke):
18846         * term.el (term-display-buffer-line):
18847         * view.el (View-goto-line):
18848         * calc/calc.el (calc-do, calc-trail-buffer):
18849         * play/gamegrid.el (gamegrid-add-score-insecure):
18850         * progmodes/ada-mode.el (ada-compile-goto-error):
18851         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
18852         (ebrowse-select-1st-to-9nth):
18853         * progmodes/cperl-mode.el (cperl-time-fontification):
18854         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
18855         * progmodes/gud.el (gud-display-line):
18856         (idlwave-shell-display-line):
18857         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
18858         * progmodes/make-mode.el (makefile-browser-toggle):
18859         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
18860         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
18861         * textmodes/picture.el (picture-draw-rectangle):
18862         * textmodes/reftex-index.el (reftex-index-goto-letter):
18863         (reftex-select-jump-to-previous):
18864         * textmodes/reftex-sel.el (reftex-find-start-point)
18865         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
18866         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
18867         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
18868         * textmodes/tex-mode.el (tex-compilation-parse-errors):
18869         * textmodes/two-column.el (2C-associated-buffer):
18870         Use forward-line rather than goto-line.
18872         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
18873         goto-line.
18875         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
18876         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
18877         (quick-check-list-to-regexp): Declare.
18879         * progmodes/make-mode.el (makefile-browser-insert-selection):
18880         Use goto-char rather than goto-line.
18882         * progmodes/prolog.el (compilation-error-regexp-alist)
18883         (compilation-forget-errors): Declare.
18885 2009-08-22  Juri Linkov  <juri@jurta.org>
18887         * progmodes/grep.el (lgrep, rgrep): At the beginning
18888         set `dir' to `default-directory' unless `dir' is a non-nil
18889         readable directory.  (Bug#4052)
18890         (lgrep, rgrep): Change a weird way to report an error
18891         from using `read-string' to using `error'.
18892         Instead of using interactive arguments in the function body,
18893         add new argument `confirm'.
18895 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
18897         * textmodes/remember.el (remember-buffer):
18898         * progmodes/cperl-mode.el (cperl-vc-header-alist):
18899         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
18900         (icalendar-extract-ical-from-buffer):
18901         * net/newst-treeview.el (newsticker-groups-filename):
18902         * net/newst-backend.el (newsticker-cache-filename):
18903         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
18904         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
18905         (speedbar-add-ignored-path-regexp, speedbar-line-path)
18906         (speedbar-buffers-line-path, speedbar-path-line)
18907         (speedbar-buffers-line-path):
18908         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
18909         (epg-sign-keys):
18910         * epa.el (epa-display-verify-result):
18911         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
18913 2009-08-21  Glenn Morris  <rgm@gnu.org>
18915         * progmodes/js.el (inferior-moz-process): Fix declaration.
18917         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
18919         * obsolete/rnewspost.el (news-mail-reply):
18920         Use goto-char rather than goto-line.
18922         * term/ns-win.el (ns-open-file-select-line):
18923         Use line-beginning-position rather than goto-line.
18925         * apropos.el (apropos-command):
18926         * ehelp.el (electric-helpify):
18927         * printing.el (pr-show-setup):
18928         * strokes.el (strokes-help):
18929         * tutorial.el (tutorial--describe-nonstandard-key)
18930         (tutorial--detailed-help):
18931         * woman.el (woman-mini-help, woman-display-extended-fonts):
18932         * calc/calc-help.el (calc-describe-key):
18933         * emulation/edt.el (edt-electric-helpify):
18934         * international/mule-diag.el (mule-diag):
18935         * play/yow.el (apropos-zippy):
18936         * progmodes/python.el (python-describe-symbol):
18937         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
18938         * textmodes/table.el (*table--cell-describe-mode)
18939         (*table--cell-describe-bindings):
18940         Use help-print-return-message rather than the now obsolete alias.
18942         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
18943         (calendar-cursor-to-visible-date):
18944         * play/5x5.el (5x5-position-cursor):
18945         * play/decipher.el (decipher):
18946         * play/gomoku.el (gomoku-goto-xy):
18947         * play/landmark.el (lm-goto-xy):
18948         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
18949         (mpuz-paint-digit):
18950         Use forward-line, not goto-line.
18952         * mail/rmail.el (rmail-obsolete): Delete custom group.
18953         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
18954         (rmail-remote-password, rmail-remote-password-required):
18955         Remove unneeded :set-after and :set properties.
18957 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
18959         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
18961 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
18963         * loadup.el: Remove leftover macos code.
18965         * vc-git.el (vc-git-annotate-command): Run asynchronously.
18966         Explicitly pass the date format to git blame so that user local
18967         so that the output format can be parsed.
18969 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
18971         * net/dbus.el (top): Don't check for (getenv
18972         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
18974 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
18976         * log-edit.el (log-edit-strip-single-file-name): New var.
18977         (log-edit-insert-changelog): Use it.  Bug#3571
18979 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
18981         * subr.el (read-passwd): Use read-key so keypad keys work as well.
18982         Bug#3287
18984         * help.el (help-print-return-message): Rename from
18985         print-help-return-message.
18987         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
18988         cvs-mode-map parent hack.
18989         (log-view-mode): Derive from special-mode.
18991         * linum.el (linum-mode): window-size-change-functions is redundant.
18992         Adapt to new window-configuration-change-hook behavior.
18993         (linum-after-size, linum-after-config): Remove.
18995         * imenu.el (imenu-example--name-and-position)
18996         (imenu-example--lisp-extract-index-name)
18997         (imenu-example--create-lisp-index, imenu-example--create-c-index):
18998         Mark as obsolete.
19000         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
19001         (inferior-prolog-mode): Use it.
19002         (inferior-prolog-load-file): Reset list of errors.
19004 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
19006         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
19008         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
19010 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
19012         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
19013         is running already.
19015 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
19017         * subr.el (listify-key-sequence-1): Use normal syntax since those
19018         integers are nowadays always represented by the same (positive) number
19019         on all platforms.
19020         (read-key-empty-map): New const.
19021         (read-key-delay): New var.
19022         (read-key): New function.
19023         (force-mode-line-update): Use with-current-buffer.
19024         (locate-user-emacs-file): Don't forget to abbreviate the file name.
19025         (start-process-shell-command, start-file-process-shell-command):
19026         Discourage the use of command-args.
19028 2009-08-19  Glenn Morris  <rgm@gnu.org>
19030         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
19032 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
19034         * simple.el (choose-completion-string): Don't rely on
19035         minibuffer-completing-file-name and ad-hoc checks to decide whether
19036         to continue completion or not.
19038         * minibuffer.el (minibuffer-hide-completions): New function.
19039         (completion--do-completion): Use it.
19040         (completions-annotations): New face.
19041         (completion--insert-strings): Use it.
19042         (completion-pcm--delim-wild-regex): Add docstring.
19043         (completion-pcm--string->pattern): Add support for 0-width delimiters
19044         in completion-pcm--delim-wild-regex.
19046 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
19048         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
19049         Remove unused var `buffer-modified-p'.
19051         * minibuffer.el (completion--do-completion): Move point for the #b001
19052         case as well (bug#4176).
19053         (minibuffer-complete, minibuffer-complete-word): Don't move point.
19055 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
19057         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
19058         and :session buses.
19060 2009-08-18  Kenichi Handa  <handa@m17n.org>
19062         * international/ucs-normalize.el (ucs-normalize-version):
19063         Change to 1.1.
19064         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
19065         (utf-8-hfs): Make it perform normalization on encoding too.
19067         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
19068         (sentence-end-without-space): Delete duplicated chars.
19069         (sentence-end-base): Likewise.
19071         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
19072         (html-mode): Delete duplicated chars from sentence-end-base.
19074         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
19075         (texinfo-mode): Delete duplicated chars from sentence-end-base.
19077 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
19079         * files.el (hack-one-local-variable): If the mode function is for
19080         a minor mode, pass it an argument (Bug#4148).
19082 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
19084         * net/tramp.el (tramp-register-completion-file-name-handler):
19085         Check also for (member 'partial-completion completion-styles).
19087 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
19089         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
19090         abbrev (Bug#3943).
19092 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
19094         * progmodes/cperl-mode.el: Merge upstream 6.2.
19095         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
19096         (cperl-forward-re): Check cperl-brace-recursing.
19097         (cperl-highlight-charclass): New function.
19098         (cperl-find-pods-heres): Use it.
19099         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
19100         (cperl-beautify-regexp-piece): Fix column calculation.
19101         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
19102         (cperl-beautify-level): Don't process entire regexp.
19103         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
19104         calling man.
19105         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
19106         (cperl-init-faces): Build a list in the normal way.
19108 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
19110         * calendar/parse-time.el (parse-time-string-chars): Save match
19111         data.
19113 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
19115         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
19116         (sql-product): Use it.
19117         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
19118         (sql-set-product): Add completion.
19119         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
19120         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
19121         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
19122         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
19123         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
19124         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
19125         (sql-highlight-db2-keywords): Remove.
19126         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
19127         (sql-highlight-product): Use derived-mode-p.
19128         (sql-set-sqli-buffer): Use with-current-buffer.
19129         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
19130         Simplify.
19132         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
19134         * term.el: Fix commenting convention, turn comments into docstrings.
19136 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
19138         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
19140 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
19142         * calendar/parse-time.el (parse-time-string-chars): Compute using
19143         character classes, to handle non-ascii characters (Bug#3190).
19145 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
19147         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
19148         another heredoc if the user adds another < (Bug#3226).
19150         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
19151         Don't initialize based on window-system (Bug#4124).
19153         * facemenu.el (facemenu-read-color): Use a completion function
19154         that accepts any defined color, such as RGB triplets (Bug#3677).
19156         * files.el (get-free-disk-space): Change fallback default
19157         directory to /.  Expand DIR argument before switching to fallback.
19158         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
19160 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
19162         * files.el (load-library): Doc fix.
19164 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
19166         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
19167         (viper-if-string): Redefine C-s in the minibuffer to insert the last
19168         incremental search string.
19170         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
19171         XEmacs.
19173         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
19174         (ediff-merge-region-is-non-clash)
19175         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
19176         Also check if the job is really a merge job.
19178         * ediff.el (ediff-current-file): New function.
19180 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
19182         * progmodes/js.el: Edit docstrings throughout to follow Emacs
19183         conventions.
19184         (js-insert-and-indent): Delete function.
19185         (js-mode-map): Don't bind keys to js-insert-and-indent.
19186         (js-beginning-of-defun): Rename from js--beginning-of-defun.
19187         (js-end-of-defun): Rename from js--end-of-defun.
19188         (js-auto-indent-flag): Delete variable.
19190 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
19192         * progmodes/js.el: Remove proclaim statement.
19193         Defvar which-func-imenu-joiner-function to silence compiler.
19195         * files.el (auto-mode-alist): Use js-mode for .js files.
19197         * progmodes/js2-mode.el: Remove file.
19199         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
19201         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
19203         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
19205 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
19206             Karl Landstrom  <karl.landstrom@brgeight.se>
19208         * progmodes/js.el: New file.
19210 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
19212         * timezone.el (timezone-parse-date): Add ability to understand ISO
19213         basic format (minimal separators) dates in addition to the
19214         already-supported extended format dates.
19216 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
19218         * international/ucs-normalize.el: Add a `coding' file variable.
19220         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
19222 2009-08-14  Sam Steingold  <sds@gnu.org>
19224         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
19226 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
19228         * faces.el (help-argument-name): Define it here instead of
19229         help-fns.el, because in daemon mode help-fns.el may be loaded when
19230         faces are still uninitialized (Bug#1078).
19232         * help-fns.el (help-argument-name): Move defface to faces.el.
19234 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
19236         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
19237         create buffer with a pty but no process so that GDB can make the
19238         inferior the controlling process.
19240 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
19242         * international/ucs-normalize.el: New file.
19244 2009-08-13  Richard Stallman  <rms@gnu.org>
19246         * mail/rmail.el (rmail-get-attr-names):
19247         Accept an attribute header that is too short.
19249         * mail/rmail.el (rmail-forget-messages):
19250         Ignore nil elt in rmail-message-vector.  Use dotimes.
19252         * progmodes/compile.el (compilation-goto-locus):
19253         Use next-error-move-function.
19255         * simple.el (next-error-move-function): New variable.
19257 2009-08-12  Juri Linkov  <juri@jurta.org>
19259         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
19260         always non-nil.  (Bug#4052)
19262         * replace.el (read-regexp): Return empty string when
19263         `default-value' is nil.
19264         (keep-lines-read-args): Don't use empty string as the
19265         default value for `read-regexp'.  (Bug#2495)
19267 2009-08-12  Juri Linkov  <juri@jurta.org>
19269         * international/mule-cmds.el (ucs-insert): Change arguments
19270         from `arg' to `character', `count', `inherit' to be the same
19271         as in `insert-char'.  Doc fix.  (Bug#4039)
19273         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
19275 2009-08-12  Juri Linkov  <juri@jurta.org>
19277         * files-x.el: New file.
19279         * files.el: Move code that deals with adding/deleting
19280         file/directory-local variables to files-x.el.
19282         * Makefile.in (ELCFILES): Add files-x.elc.
19284 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
19286         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
19287         to use `goto-line'.
19288         (gdb-place-breakpoints, gdb-get-location): Rewritten without
19289         `goto-line'.
19290         (gdb-invalidate-disassembly): Do not refresh upon receiving
19291         'update signal.  Instead, update all disassembly buffers only after
19292         threads list.
19293         (gdb): Send -target-detach when buffer is killed (Bug#3794).
19294         (gdb-starting): Move -data-list-register-names...
19295         (gdb-stopped): ...here so it's sent when first thread stops.
19296         (gdb-registers-handler-custom): Do nothing if register names are
19297         unknown yet.
19299         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
19300         from `gdb-mi.el' to avoid extra tangling.
19302         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
19303         change which breaks `gud-def' definitions used in `gdb'.
19304         (gdb-update-gud-running): No extra fuss for updating frame number.
19306 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
19308         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
19309         (describe-language-environment-map, setup-language-environment-map)
19310         (set-coding-system-map): Move initialization into declaration.
19311         (set-language-info-alist): Last arg to define-key-after can be skipped.
19313         * international/quail.el (quail-completion-1): Simplify.
19314         (quail-define-rules): Use slightly more compact code.
19315         (quail-insert-decode-map): Propertize keys, compact columns.
19317         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19318         Add goto-line.
19320 2009-08-10  Miles Bader  <miles@gnu.org>
19322         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
19323         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
19324         (js2-instance-member, js2-private-member, js2-private-function-call)
19325         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
19326         (js2-magic-paren, js2-external-variable):
19327         Remove "-face" suffix from face names.
19328         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
19329         (js2-highlight-undeclared-vars, js2-peek-token)
19330         (js2-parse-function-params, js2-mode-show-errors)
19331         (js2-mode-show-warnings, js2-make-magic-delimiter)
19332         (js2-mode-highlight-magic-parens): Update to use new face names.
19334 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
19336         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
19337         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
19339 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
19341         * subr.el: Provide hashtable-print-readable.
19343         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
19344         hs-c-like-adjust-block-beginning.
19345         (hs-hide-block-at-point): Stop hiding at the beginning of
19346         hs-block-end-regexp (Bug#700).
19348 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
19350         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
19351         a macro.
19352         (gdb-registers-handler-custom): Do not fail when register names
19353         are unavailable.
19355 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
19357         * progmodes/gdb-mi.el (gdb-control-all-threads)
19358         (gdb-control-current-thread): Interactive setters for
19359         `gdb-gud-control-all-threads' to use in menu.
19360         (gdb-show-run-p): Show «Go» when process is not active.
19361         (gud-tool-bar-map): Add non-stop/A,T indicator.
19362         Uses gud/thread.xpm and gud/all.xpm.
19364 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
19366         * net/net-utils.el (net-utils-font-lock-keywords): New var.
19367         (nslookup-font-lock-keywords): Make it a variable.
19368         (net-utils-mode): New mode for viewing diagnostic network output.
19369         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
19370         (net-utils-run-simple): New function.
19371         (ifconfig, iwconfig, netstat, arp, route): Use it.
19373 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
19375         * progmodes/gdb-mi.el (gdb-read-memory-custom)
19376         (gdb-memory-set-address, def-gdb-set-positive-number)
19377         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
19378         after changing settings.
19379         (gdb-invalidate-disassembly): Update when first shown.
19380         (gdb-edit-locals-value): Fixed.
19381         (gdb-registers-handler-custom): Print registers in right order and
19382         allow changing register values (only for current thread yet).
19383         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
19384         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
19385         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
19386         (gdb-locals-handler-custom, gdb-registers-handler-custom):
19387         Thread info in mode name.
19388         (gdb-registers-mode-map): TAB to switch to locals.
19390 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
19392         * mail/rmail.el (rmail-add-mbox-headers)
19393         (rmail-set-message-counters-counter): Search for
19394         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
19396 2009-08-08  Glenn Morris  <rgm@gnu.org>
19398         * Makefile.in (ELCFILES): Update.
19400 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
19402         * mail/sendmail.el (mail-yank-original):
19403         Set buffer-file-coding-system from the one used by the message whose
19404         text is yanked.
19406         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
19407         to "windows" when "pgnuplot" is used.
19408         (calc-graph-command, calc-gnuplot-command, calc-graph-init):
19409         Don't call accept-process-output if "pgnuplot" is used.
19410         (calc-graph-init): Don't send -display and -geometry to
19411         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
19412         running "pgnuplot -V" with shell-command-to-string.
19414         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
19415         the default.
19417 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
19419         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
19420         org/org-latex.elc.
19422 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
19424         * vc-dispatcher.el (vc-resynch-window): Update comment.
19426         * term.el (term-handle-ansi-escape): Add comments with the
19427         terminfo capabilities implemented.
19429 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
19431         * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
19432         (gdb-var-create-handler): Rewritten using JSON parser.
19433         (gdb-propertize-header): Move earlier.
19434         (gdb-set-header): Remove to avoid duplication.
19435         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
19436         Refresh disassembly buffers only after threads list have been
19437         update.
19438         (gdb-threads-header, gdb-registers-header): Per-buffer header line
19439         variables.
19441 2009-08-04  Juri Linkov  <juri@jurta.org>
19443         * files.el: Commands to add/delete file/directory-local variables.
19444         (read-file-local-variable, read-file-local-variable-value)
19445         (read-file-local-variable-mode, modify-file-local-variable)
19446         (modify-file-local-variable-prop-line)
19447         (modify-dir-local-variable): New functions.
19448         (add-file-local-variable, delete-file-local-variable)
19449         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
19450         (add-dir-local-variable, delete-dir-local-variable)
19451         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
19452         (copy-dir-locals-to-file-locals-prop-line): New commands.
19454 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
19456         * abbrev.el (insert-abbrev-table-description): Prettify output.
19457         Suggested by Karl Chen.
19459 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
19461         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
19462         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
19463         (gdb-overlay-arrow-position, gdb-thread-position)
19464         (gdb-disassembly-position): Declare variables.
19465         (gdb-wait-for-pending): Function now.
19466         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
19467         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
19468         compilation goes smoothly.
19469         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
19470         (gdb-non-stop-setting): New customization setting which replaces
19471         `gdb-non-stop' so changing it doesn't break active GDB session.
19472         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
19473         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
19474         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
19475         (gdb-show-threads-by-default): New customization options.
19476         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
19477         routines.
19478         (gdb-get-buffer-create): Send buffers update signal when they are
19479         created.
19480         (gdb-invalidate-locals, gdb-invalidate-registers)
19481         (gdb-invalidate-breakpoints)
19482         (gdb-invalidate-threads, gdb-invalidate-disassembly)
19483         (gdb-invalidate-memory): Accept update signal.
19484         (gdb-current-context-command): Use --frame option.
19485         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
19486         Implement `gdb-frame-number' selection logic.
19487         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
19488         whether to show GUD toolbar buttons.
19489         (gdb-thread-exited): Unselect current thread when it exits.
19490         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
19491         (gdb-mark-line): Routine which sets overlay arrow or inverses
19492         video on fringeless displays.
19493         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
19494         to build aligned columns of data in GDB buffers and set text
19495         properties line-by-line.
19496         (gdb-invalidate-breakpoints)
19497         (gdb-breakpoints-list-handler-custom)
19498         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
19499         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
19500         (gdb-registers-handler-custom): Align data columns.
19501         (gdb-locals-handler-custom): Now prints data like in variable
19502         declarations.
19503         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
19504         Remove confusing buttons.
19505         (gdb-invalidate-threads): Append --frame.
19506         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
19507         between breakpoints/threads buffers.
19508         (gdb-set-window-buffer): Now can ignore dedicated windows.
19509         (gdb-propertize-header): Use `gdb-set-window-buffer'.
19510         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
19511         (def-gdb-thread-buffer-gud-command): Replaces
19512         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
19513         for fine thread control.
19514         (gdb-preempt-existing-or-display-buffer): New function used to
19515         display bound buffers without breaking window layout.
19516         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
19517         (gdb-select-frame): New version of `gdb-frames-select' which now
19518         sets `gdb-frame-number' so commands may use --frame option instead
19519         of inner debugger state.
19520         (gdb-frame-handler): Do not set `gdb-frame-number'.
19521         (gdb-threads-mode-map): Select threads with mouse.
19523         * progmodes/gud.el (gdb-gud-context-call): Declare function to
19524         avoid compilation warning.
19525         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
19526         `gdb-show-stop-p`.
19528         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
19529         Argument `key' renamed to `buffer-type'.
19530         (gdb-current-context-buffer-name): Do not add thread info to
19531         buffer name when no thread is selected.
19532         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
19533         command (bug 3794).
19534         (gdb-thread-selected): Handle `=thread-selected' notification.
19535         (gdb-wait-for-pending): New macro to deal with congestion problems.
19536         (gdb-breakpoints-list-handler-custom): Don't fail on pending
19537         breakpoints.
19538         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
19539         This fixes problem similar to one described in bug 3947.
19540         (gud-menu-map): More menu items.
19541         (gdb-init-1): Reset `gdb-thread-number' to nil.
19543         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
19544         non-stop settings.
19546         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
19547         (gdb-current-context-command): Do not append --thread if
19548         `gdb-thread-number' is nil.
19549         (gdb-running-threads-count, gdb-stopped-threads-count):
19550         New variables.
19551         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
19552         (gdb-stopped-hooks, gdb-switch-when-another-stopped):
19553         New customization options.
19554         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
19555         GUD commands.
19556         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
19557         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
19558         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
19559         set `gdb-thread-number' and update `gud-running' properly.
19560         (gdb-running): Update threads list when new threads appear.
19561         (gdb-stopped): Support non-stop operation and new thread switching
19562         logic.
19563         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
19564         (gdb-json-partial-output): New set of JSON routines.
19565         (def-gdb-auto-update-trigger): New `signal-list' optional
19566         argument.
19567         (gdb-thread-list-handler-custom): Update `gud-running',
19568         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
19569         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
19570         (gdb-continue-thread, gdb-step-thread): New commands for fine
19571         thread execution control.
19572         (gud-menu-map): New menu items to switch non-stop options.
19573         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
19574         (gdb-send): Mimic RET properly (bug 3794).
19576         * progmodes/gdb-mi.el (gdb-rules-name-maker)
19577         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
19578         gdb-buffer-rules.
19579         (def-gdb-auto-update-handler): New nopreserve optional argument.
19580         (gdb-stack-list-frames-custom): Print stack from top to bottom.
19582         * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
19583         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
19584         (gdb-parent-mode): New mode to derive other GDB modes from.
19585         (gdb-display-disassembly-for-thread)
19586         (gdb-frame-disassembly-for-thread): New commands for threads
19587         buffer.
19589         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
19590         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
19591         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
19592         (gdb-update): We now store all GDB buffers in a list so that they
19593         can be updated by traversing a list instead of calling invalidate
19594         triggers explicitly.
19595         (def-gdb-trigger-and-handler): New macro to define trigger-handler
19596         pair for GDB buffer.
19597         (gdb-stack-buffer-name): Add thread information.
19598         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
19599         handle pending triggers.
19600         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
19601         (def-gdb-thread-buffer-simple-command)
19602         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
19603         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
19604         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
19605         New commands which show buffers bound to thread.
19606         (gdb-stack-list-locals-regexp): Remove unused regexp.
19608         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
19609         (gdb-locals-buffer-name, gdb-registers-buffer-name)
19610         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
19611         to (gud-comint-buffer) in *-buffer-name functions
19612         because (gdb-get-target-string) already does that.
19613         (gdb-locals-handler-custom, gdb-registers-handler-custom)
19614         (gdb-changed-registers-handler): Rewritten without regexps.
19616         * progmodes/gdb-mi.el: Basic thread selection support.
19617         (gdb-thread-number): New variable.
19618         (gdb-current-context-command): New macro which adds --thread
19619         option to command.
19620         (gdb-threads-mode-map): Select thread with SPC.
19621         (gdb-thread-list-handler-custom): Mark current thread with overlay
19622         arrow.  Synchronize GDB thread and Emacs thread.
19623         (gdb-select-thread): New command which selects current thread.
19624         (gdb-invalidate-frames, gdb-invalidate-locals)
19625         (gdb-invalidate-registers): Use --thread option.
19627 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
19629         * net/tramp.el (top): Make check for tramp-gvfs loading more
19630         robust.  (Bug#3977)
19631         (tramp-handle-insert-file-contents): `unwind-protect' must be
19632         inside `with-parsed-tramp-file-name'.
19634         * net/tramp-gvfs.el (top): Remove superfluous message when loading
19635         fails.
19637 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
19639         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
19640         directory if CLASSPATH is not set.
19642 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
19644         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
19645         New defconst.
19646         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
19648 2009-08-02  Kevin Ryde  <user42@zip.com.au>
19650         * net/newst-backend.el (newsticker--raw-url-list-defaults):
19651         Update freshmeat link.  Delete newsforge.com as it seems gone.
19653 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
19655         * select.el (x-set-selection): Doc fix (Bug#4021).
19657         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
19659         * help-fns.el (describe-variable): Treat list return values from
19660         dir-locals-find-file properly (Bug#4005).
19662 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
19664         * net/tramp.el (tramp-debug-message): Print also microseconds.
19666 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
19668         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
19669         or END is non-nil.
19670         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
19671         (tramp-get-debug-buffer): Change `outline-regexp' according to new
19672         format.
19674         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
19675         (tramp-get-file-property): Use it.
19677         * autorevert.el (auto-revert-handler):
19678         Allow `auto-revert-tail-mode' for remote files.
19680 2009-08-02  Jason Rumney  <jasonr@gnu.org>
19682         * minibuffer.el (read-file-name): Treat confirm options to
19683         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
19685 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
19687         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
19688         (font-lock-variable-name-face, font-lock-constant-face):
19689         Darken the colors for light backgrounds.
19691 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
19693         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
19694         month names.  (Bug#3987)
19696 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
19698         * simple.el (line-move-finish): Pass whole number to
19699         line-move-to-column.
19700         (line-move-visual): Perform hscroll to the recorded position.
19702 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
19704         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
19706 2009-07-29  Alan Mackenzie  <acm@muc.de>
19708         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
19710 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
19712         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
19713         (gdb-place-breakpoints): Use full path when setting breakpoints.
19715 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
19717         * calc/calc.el (calc-mode-map): Add keybinding for
19718         `calc-transpose-lines'.
19720 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
19722         * calc/calc-misc.el (calc-transpose-lines): New function.
19724 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
19726         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
19727         Simplify check for out-of-band methods.
19728         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
19729         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
19731 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
19733         * vc-git.el (vc-git-checkin): Fix typo.
19735 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
19737         * progmodes/js2-mode.el: New file.
19739 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
19741         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
19742         (gud-menu-map): Adjust tooltip accordingly.
19744 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
19746         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
19747         (vc-bzr-log-view-mode): Adjust log-view-file-re.
19749         * add-log.el (change-log-mode-map): Add a menu.
19751 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
19753         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
19754         function returns nil.
19755         (dbus-handle-event): Handle special return value :ignore.
19756         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
19758 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
19760         * view.el (view-mode-enable): Don't define Helper-return-blurb if
19761         it's not needed.
19763 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
19765         Fix Bug#3888:
19767         * w32-vars.el (x-select-enable-clipboard): Doc fix.
19769         * term/pc-win.el (x-display-name, x-colors)
19770         (x-select-enable-clipboard, x-select-text): Doc fix.
19772         * term/common-win.el (x-display-name, x-colors): Doc fix.
19774         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
19775         (xw-defined-colors): Doc fix.
19777         * w32-fns.el (x-select-text, x-setup-function-keys)
19778         (x-get-selection, x-set-selection): Doc fix.
19780         * term/x-win.el (x-select-text, x-setup-function-keys)
19781         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
19783         * select.el (x-set-selection): Doc fix.
19785 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
19787         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
19788         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
19789         "IsNSSSupportAvailable" method is not available.
19790         Reported by Steve Youngs <steve@sxemacs.org>.
19792 2009-07-24  Kenichi Handa  <handa@m17n.org>
19794         * international/characters.el: Fix setting of category ?C, ?|, ?K,
19795         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
19796         (build-unicode-category-table): Fix range checks.
19798 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
19800         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
19801         the buffer we try to sync is current when calling
19802         vc-resynch-buffer.
19804         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
19805         not show up to date files.
19807 2009-07-24  Glenn Morris  <rgm@gnu.org>
19809         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
19810         Add autoload cookies.  If necessary, initialize.
19811         (elint-log): Handle non-file buffers.
19812         (elint-initialize): Add optional argument to reinitialize.
19813         (elint-find-builtin-variables): Save excursion.
19815 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
19817         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
19818         for Lint.
19820 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
19822         * vc.el (vc-print-log-internal): New function, split out from ...
19823         (vc-print-log): ... here.
19824         (vc-dir-move-to-goal-column): Declare.
19826         * vc-git.el (vc-git-add-signoff): New variable.
19827         (vc-git-checkin): Use it.
19828         (vc-git-toggle-signoff): New function.
19829         (vc-git-extra-menu-map): Bind it to menu.
19830         (vc-git--run-command-string): Accept a nil FILE argument.
19831         (vc-git-stash-list): New function.
19832         (vc-git-dir-extra-headers): Use it.
19834 2009-07-23  Glenn Morris  <rgm@gnu.org>
19836         * help-fns.el (describe-variable): Describe ignored and risky local
19837         variables in a similar way to that in which we describe safe ones.
19839         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
19840         (byte-compile-output-file-form, byte-compile-output-docform)
19841         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
19842         Give some more local variables with common names a "bytecomp-" prefix,
19843         so as not to shadow things during compilation.
19844         * emacs-lisp/cl-macs.el (load-time-value)
19845         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
19846         `outbuffer' to `bytecomp-outbuffer'.
19848         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
19849         since the next two variables cover them automatically now.
19850         (elint-builtin-variables, elint-autoloaded-variables): New.
19851         (elint-unknown-builtin-args): Remove all members, since they can be
19852         parsed automatically now.
19853         (elint-extra-errors): New.
19854         (elint-env-add-env, elint-env-add-macro): Use cadr.
19855         (elint-current-buffer): Use or.  Change final message.
19856         (elint-get-top-forms): Use line-end-position.
19857         (elint-init-env): Use cadr.  Handle autoload, declare-function,
19858         and defalias.
19859         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
19860         (regexp-assoc): Remove unused function.
19861         (elint-top-form): Set elint-current-pos, to record the start of the
19862         top-level form, for compilation-mode.
19863         (elint-form): Trap errors in macro expansion.  Use dolist.
19864         (elint-unbound-variable): Use elint-builtin-variables and
19865         elint-autoloaded-variables.
19866         (elint-get-args): Use cadr, or.
19867         (elint-check-cond-form): Use dolist, cadr.
19868         (elint-check-condition-case-form): Doc fix.  Use cadr.
19869         Use elint-extra-errors.
19870         (elint-log): New function.
19871         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
19872         Distinguish errors and warnings.
19873         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
19874         Use a bytecomp-style format.
19875         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
19876         (elint-get-log-buffer): Use compilation mode.  Disable undo.
19877         Don't truncate lines.
19878         (elint-initialize): Set builtin and autoloaded variable lists.
19879         Only process elint-unknown-builtin-args if non-nil.
19880         (elint-find-builtin-variables, elint-find-autoloaded-variables):
19881         New functions.
19882         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
19884 2009-07-22  Kevin Ryde  <user42@zip.com.au>
19886         * net/newst-backend.el (newsticker--parse-atom-1.0)
19887         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
19888         (newsticker--parse-rss-1.0):
19889         * progmodes/idlwave.el (idlwave-mode):
19890         * progmodes/idlw-shell.el (idlwave-shell-mode):
19891         * progmodes/vera-mode.el (vera-mode):
19892         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
19893         * progmodes/vhdl-mode.el (vhdl-mode):
19894         * textmodes/table.el (table-generate-source)
19895         (table--warn-incompatibility):
19896         Hyperlink urls in docstrings with URL `...'.
19898 2009-07-22  Glenn Morris  <rgm@gnu.org>
19900         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
19901         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
19902         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
19903         Remove leading * from defcustom docs.
19905         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
19907         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
19908         defcustom doc.
19909         (list-load-path-shadows): Optionally, just return shadows as a string.
19911         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
19913 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
19915         * mail/rmailedit.el (rmail-edit-mode):
19916         Use auto-save-include-big-deletions.
19918         * mail/rmail.el (rmail-variables):
19919         Use auto-save-include-big-deletions.
19921         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
19922         changes.
19924 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
19926         * calc/calc.el (calc-undo-length): New variable.
19927         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
19929 2009-07-21  Richard Stallman  <rms@gnu.org>
19931         * files.el (auto-save-mode): Handle buffer-save-size = -2
19932         for toggling mode.
19934 2009-07-21  Glenn Morris  <rgm@gnu.org>
19936         * textmodes/ispell.el (ispell-looking-back): Update declaration.
19938         * calendar/todo-mode.el (calendar-current-date): Update declaration.
19940         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
19941         silence compiler.  Instead...
19942         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
19943         (ps-print-ensure-fontified): Update for above function name changes.
19945         * printing.el (pr-mh-get-msg-num, pr-mh-show)
19946         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
19947         silence compiler.  Instead...
19948         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
19949         (mh-show-buffer): Only define for compiler.
19950         (pr-mh-current-message): Update for above function name changes.
19952         * files.el (abort-if-file-too-large): Explicitly pass `filename'
19953         as an argument.
19954         (find-file-noselect, insert-file-1): Update for above change.
19956         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
19958         * mail/mailclient.el (mailclient-send-it): Fix message.
19960         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
19961         (edebug-eval): Check cl-debug-env is bound.
19962         (print-level, print-circle): Don't redefine built-in variables.
19964         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
19965         (custom-print-vectors): Remove old comments from doc.
19967         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
19968         (emerge-version): Make the variable an obsolete alias for the
19969         emacs-version variable.  Make the function obsolete.
19970         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
19971         Emerge options, rather than merging in into the main Options menu.
19972         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
19973         and auto advance modes.  Disable edit/fast items when not relevant.
19975 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
19977         * term/vt420.el (terminal-init-vt420): Fix typo.
19979 2009-07-20  Sam Steingold  <sds@gnu.org>
19981         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
19982         variable (removed from compile.el on 2004-03-11).
19984 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
19986         * files.el (hack-local-variables-filter): Fix last change.
19988 2009-07-19  Juri Linkov  <juri@jurta.org>
19990         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
19991         (dir-local-variables-alist): New buffer-local variable.
19992         (hack-local-variables-filter): If variable is not dir-local,
19993         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
19994         because file-local overrides dir-local.
19995         (c-postprocess-file-styles) <declare-function>:
19996         Remove obsolete declaration.
19997         (hack-dir-local-variables): Add dir-local variable/value pair to
19998         `dir-local-variables-alist' and remove duplicates.  Doc fix.
20000         * help-fns.el (describe-variable): Add information about
20001         file-local and dir-local variables.
20003 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
20005         * files.el (hack-local-variables-filter): Rewrite.
20007 2009-07-19  Glenn Morris  <rgm@gnu.org>
20009         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
20010         Silence compiler by only defining on XEmacs.
20012         * international/mule.el (auto-coding-regexp-alist): Only match
20013         BABYL... at the start of buffer, not of lines.  (Bug#3790)
20015         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
20016         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
20017         (cal-menu-context-mouse-menu): Doc fix.
20019         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
20021         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
20023 2009-07-18  Juri Linkov  <juri@jurta.org>
20025         * info.el: Virtual Info keyword finder.
20026         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
20027         (Info-finder-file): New variable.
20028         (Info-finder-find-file): New function.
20029         (finder-known-keywords, finder-package-info)
20030         (find-library-name, lm-commentary): Use defvar and
20031         declare-function to silence compiler warnings.
20032         (Info-finder-find-node): New function.
20033         (info-finder): New command.
20035         * subr.el (process-kill-buffer-query-function): New function.
20036         (add-hook)<kill-buffer-query-functions>: Add hook
20037         `process-kill-buffer-query-function'.
20039 2009-07-18  Alan Mackenzie  <acm@muc.de>
20041         * progmodes/cc-mode.el (c-before-hack-hook)
20042         (c-postprocess-file-styles): Give invocation of `c-set-style'
20043         DONT-OVERRIDE parameter of t.  Already set style variables will
20044         thus not be overridden by style settings given by `c-file-syle'.
20046         * files.el (hack-local-variables-filter): Remove entries with
20047         duplicate keys from `file-local-variables-alist'.
20049 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
20051         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
20052         x-set-selection if display-selections-p returns nil for the
20053         current frame.
20055 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
20057         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
20059 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
20061         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
20062         Accept nil in addition to a regexp.
20063         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
20064         Accept nil in addition to a regexp.
20065         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
20066         buffers that have an associated file.  Handle nil values of
20067         desktop-buffers-not-to-save and desktop-files-not-to-save.
20068         (Bug#3833)
20070         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
20071         (x-disown-selection-internal): New functions.
20073 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
20075         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
20076         warning.
20077         (gdb-breakpoints-header): Move forward to avoid compiler warning.
20078         (gdb-make-header-line-mouse-map): Remove duplicate definition.
20080 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
20082         * simple.el (set-mark): Revert last change.
20084 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
20086         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
20087         rendering of pngs is not possible instead of messaging a long
20088         description.
20090 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
20092         * w32-fns.el (x-selection-owner-p): New function.
20094         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
20095         (mouse-yank-at-click, mouse-yank-primary):
20096         If select-active-regions is non-nil, deactivate the mark before
20097         insertion.
20099         * simple.el (deactivate-mark, set-mark): Only save selection if we
20100         own it.
20102 2009-07-17  Kenichi Handa  <handa@m17n.org>
20104         * case-table.el (describe-buffer-case-table): Fix for the case
20105         that KEY is a cons.
20107 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
20109         * vc-rcs.el (vc-rcs-find-file-hook):
20110         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
20112 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
20114         * net/tramp.el (tramp-wait-for-output): Handle the case when
20115         commands do not return a newline but a null byte before the shell
20116         prompt.  (Bug#3858)
20118 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
20120         * term/ns-win.el (ns-set-alpha): Don't declare.
20121         (ns-set-background-alpha): Remove function.
20123 2009-07-16  Kevin Ryde  <user42@zip.com.au>
20125         * emacs-lisp/copyright.el (copyright-update): Save match-data across
20126         y-or-n-p, for safety.
20128 2009-07-16  Richard Stallman  <rms@gnu.org>
20130         * files.el (auto-save-mode): If buffer-saved-size is -2,
20131         don't clobber it.
20133         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
20134         (rmail-retry-ignored-headers): Add more uninteresting fields.
20136 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
20138         * net/rcirc.el (rcirc): Use history variables.
20139         (rcirc-server-name-history, rcirc-nick-name-history)
20140         (rcirc-server-port-history): New variables.
20142 2009-07-15  Kenichi Handa  <handa@m17n.org>
20144         * international/mule-cmds.el (set-language-environment-charset):
20145         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
20146         ignore them.
20148         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
20149         Delete unibyte-display.
20151 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
20153         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
20155 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
20157         * simple.el (deactivate-mark): Optional argument FORCE.
20158         (set-mark): Use deactivate-mark.
20160         * info.el (Info-search): No need to check transient-mark-mode
20161         before calling deactivate-mark.
20163         * select.el (x-set-selection): Doc fix.
20164         (x-valid-simple-selection-p): Allow buffer values.
20165         (xselect--selection-bounds): Handle buffer values.
20166         Suggested by David De La Harpe Golden.
20168         * mouse.el (mouse-set-region, mouse-drag-track):
20169         Call copy-region-as-kill before setting the mark, to let
20170         select-active-regions work.
20172 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
20174         * simple.el (deactivate-mark): If select-active-regions is
20175         non-nil, copy the selection data into a string.
20176         (activate-mark): If select-active-regions is non-nil, set the
20177         selection to the current buffer.
20178         (set-mark): Update selection if select-active-regions is non-nil.
20180         * select.el (x-valid-simple-selection-p): Allow buffer values.
20182 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
20184         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
20185         and more featureful message-mode.
20187 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
20189         * select.el (x-set-selection): Doc fix.
20190         (x-valid-simple-selection-p): Disallow selection data consisting
20191         of a list or cons of integers, since that is not used.
20192         (xselect--selection-bounds, xselect--int-to-cons): New functions.
20193         (xselect-convert-to-string, xselect-convert-to-length)
20194         (xselect-convert-to-filename, xselect-convert-to-charpos)
20195         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
20197 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
20199         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
20200         output in -break-info command (Emacs bug #3794).
20202 2009-07-14  Glenn Morris  <rgm@gnu.org>
20204         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
20205         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
20206         (edebug-print-length, edebug-print-level, edebug-print-circle)
20207         (edebug-sit-for-seconds, edebug-view-outside)
20208         (edebug-bounce-point, edebug-set-global-break-condition)
20209         (edebug-Go-nonstop-mode, edebug-trace-mode)
20210         (edebug-Trace-fast-mode, edebug-continue-mode)
20211         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
20212         (edebug-visit-eval-list): Doc fixes.
20214         * subr.el (def-edebug-spec): Doc fix.
20216 2009-07-14  Kenichi Handa  <handa@m17n.org>
20218         * international/characters.el: Fix setting of category ?C.
20220 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
20222         * term/ns-win.el (x-select-font): defalias x-select-font to
20223         ns-popup-font-panel instead of generate-fontset-menu.
20225 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
20227         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
20229 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
20231         * arc-mode.el (archive-find-type): Allow for a PK00 string before
20232         the PK\003\004 header (Bug#3770).
20234 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
20236         * pcomplete.el (pcomplete-comint-setup): Check for
20237         shell-dynamic-complete-filename too.
20239 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
20241         * simple.el (temporary-goal-column): Change the value for
20242         line-move-visual to a cons cell.
20243         (line-move-visual): Record or set the window hscroll, if
20244         necessary (Bug#3494).
20245         (line-move-1): Handle cons value of temporary-goal-column.
20247 2009-07-11  Kenichi Handa  <handa@m17n.org>
20249         * international/mule-diag.el (describe-character-set): Don't show
20250         width.
20252 2009-07-10  Sam Steingold  <sds@gnu.org>
20254         * progmodes/compile.el (compilation-mode-font-lock-keywords):
20255         Omake sometimes indents the errors it prints, so allow all
20256         regexps to start with spaces.
20258 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
20260         * cus-edit.el (customize-changed-options-previous-release):
20261         Bump value to 22.1.  (Bug#3804)
20263 2009-07-08  Sam Steingold  <sds@gnu.org>
20265         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
20266         to be a cons cell (test . ignored-directory) to selectively ignore
20267         some directories depending on the location of the search.
20269 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
20271         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
20272         remote user is root, on the local host.
20273         (tramp-local-host-p): Either the local user or the remote user
20274         must be root.  (Bug#3771)
20276 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
20278         * progmodes/gdb-mi.el (gdb): Remove description of
20279         gdb-use-separate-io-buffer.
20280         (menu): Don't allow toggling of or enable
20281         gdb-use-separate-io-buffer from menubar.
20283 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
20285         * mail/unrmail.el (unrmail): Make sure the message ends with two
20286         newlines (Bug#3769).
20288 2009-07-08  Glenn Morris  <rgm@gnu.org>
20290         * calendar/calendar.el (calendar-current-date): Rework previous change.
20292 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
20294         * calendar/calendar.el (calendar-current-date):
20295         Add an optional argument giving an offset from today.
20297 2009-07-08  Glenn Morris  <rgm@gnu.org>
20299         * tutorial.el (tutorial--describe-nonstandard-key):
20300         Adjust the message for when a key has been unbound.
20301         (help-with-tutorial): Hide the arch-tag.
20303 2009-07-08  Kenichi Handa  <handa@m17n.org>
20305         * international/fontset.el (setup-default-fontset): For each
20306         script, append (not set) font-specs.
20308         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
20309         docstring.
20311 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
20313         * progmodes/gdb-mi.el (gdb-init-1): Move sending
20314         -data-list-register-names to ...
20315         (gdb-starting): ... here because GDB 7.0 requires execution to
20316         have started when using this MI command.
20317         (gdb-set-header): New function to distinguish select and
20318         unselected tabs in gdb buffers.
20319         (gdb-propertize-header): New macro that uses gdb-set-header.
20320         (gdb-breakpoints-header, gdb-locals-header): Use it.
20321         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
20323 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
20325         * Makefile.in (ELCFILES): Remove fadr.elc.
20327 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
20329         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
20330         may contain frame information, so `string-match' should be used.
20331         (gdb-update): Disassembly is invalidated through
20332         `gdb-get-selected-frame'.
20333         (gdb-pad-string): New function to pad string with spaces.
20334         (gdb-invalidate-disassembly): Invalidate only if the buffer
20335         exists.
20336         (gdb-disassembly-handler-custom): Column alignment.
20337         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
20338         placing new ones.
20339         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
20340         end of line, too.
20341         (gdb-frame-handler): Match convention to for disassembly buffer
20342         mode name.
20343         (gdb-stack-list-frames-handler): Rewritten without regexps.
20344         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
20345         not highlight breakpoints without line information.
20346         (gdb-input): Add trailing newline to command.
20348         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
20349         buffer properly.
20350         (gdb-breakpoints-list-handler-custom): Replacement for
20351         `gdb-break-list-handler'.  Using real parser instead of regexps
20352         now.
20353         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
20354         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
20355         to place breakpoints.
20356         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
20357         functions.
20358         (gdb-disassembly-handler-custom): Show overlay arrow.
20359         (gdb-disassembly-place-breakpoints): Show breakpoints in
20360         disassembly buffer.
20361         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
20362         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
20363         instead of parsing breakpoints buffer.  Fixed old menu references
20364         in `gud-menu-map'.
20366         * fadr.el: Remove.
20368         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
20369         (gdb-memory-address): New variable which holds top address of
20370         memory page shown in memory buffer.
20371         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
20372         New customization variables.
20373         New functions:
20374         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
20375         display the memory buffer.
20376         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
20377         buffer display parameters.
20378         (def-gdb-memory-format, gdb-memory-format-binary)
20379         (gdb-memory-format-octal, gdb-memory-format-unsigned)
20380         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
20381         Functions for setting memory buffer format.
20382         (gdb-memory-unit-word, gdb-memory-unit-halfword)
20383         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
20384         unit size used in memory buffer.
20385         (gdb-memory-show-next-page, gdb-memory-show-previous-page):
20386         Switch to next/previous page of memory buffer.
20387         Now using (bindat-get-field) instead of fadr functions.
20389 2009-07-07  Sam Steingold  <sds@gnu.org>
20391         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
20392         non-top-level files.
20394 2009-07-07  Kenichi Handa  <handa@m17n.org>
20396         * international/mule-cmds.el (reset-language-environment):
20397         Put the highset priority to the charset iso-8859-1.
20399 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
20401         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
20402         to the end of the line when locating the block (Bug#700).
20404 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
20406         * net/tramp.el (tramp-handle-write-region): Flush file properties
20407         in case of short track.
20409 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
20411         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
20412         Coded custom representation of verilog error regular expressions
20413         to work with Emacs-22's new format.
20414         (verilog-error-regexp-xemacs-alist): Coded custom representation
20415         of verilog error regular expressions to work with XEmacs format.
20416         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
20417         error recognition into XEmacs.
20418         (verilog-error-regexp-add-emacs): Hook routine to install verilog
20419         error recognition into Emacs-22.
20421 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
20423         * woman.el: Remove stand-alone closing parentheses.
20424         (woman-file-name, woman2-format-paragraphs)
20425         (woman-leave-blank-lines): Code cleanup.
20426         (woman-use-own-frame): Change default to nil.
20427         (woman-italic, woman-bold, woman-unknown, woman-addition):
20428         Change defaults to inherit from default faces.
20429         (woman2-process-escapes): Consume the newline after a stand-alone
20430         filler character (Bug#3651).
20432 2009-07-06  Glenn Morris  <rgm@gnu.org>
20434         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
20435         (top-level): Move provide to the end.
20436         (ffap): Remove defunct URL from custom group.
20438         * subr.el (eval-after-load): Doc fix.
20440 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
20442         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
20443         `calc-embedded-word' is called twice.
20445 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
20447         * files.el (find-alternate-file-other-window, find-alternate-file):
20448         Obey confirm-nonexistent-file-or-buffer.
20450 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
20452         * dired-aux.el (dired-show-file-type): Handle remote files.
20454 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
20456         * desktop.el (desktop-globals-to-save):
20457         Add file-name-history (Bug#2750).
20459 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
20461         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
20463 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
20465         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
20466         property on entire argument since this is what eshell-lisp-command
20467         expects.
20469 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
20471         * net/tramp-gvfs.el (tramp-gvfs-methods)
20472         (tramp-gvfs-zeroconf-domain)
20473         (tramp-bluez-discover-devices-timeout): Add version flag.
20474         (tramp-gvfs-handler-mounted-unmounted)
20475         (tramp-gvfs-connection-mounted-p): Polish handling of
20476         incompatibilities between GVFS 0.2 and 1.0.
20478 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
20480         * cus-start.el (all): Add make-pointer-invisible.
20482 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
20484         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
20485         formatted correctly.
20487 2009-07-02  Juri Linkov  <juri@jurta.org>
20489         * info.el: Virtual Info files and nodes.
20490         (Info-virtual-files, Info-virtual-nodes): New variables.
20491         (Info-current-node-virtual): New variable.
20492         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
20493         New functions.
20494         (Info-file-supports-index-cookies): Use Info-virtual-file-p
20495         to check for a virtual file instead of checking a fixed list
20496         of node names.
20497         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
20498         instead of ad-hoc processing of "dir" and (apropos history toc).
20499         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
20500         instead of ad-hoc processing of "dir" and (apropos history toc).
20501         Reread a file when moving from a virtual node.
20502         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
20503         (Info-directory-toc-nodes, Info-directory-find-file)
20504         (Info-directory-find-node): New functions.
20505         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
20506         (Info-history): Move part of code to
20507         `Info-history-find-node'.
20508         (Info-history-toc-nodes, Info-history-find-file)
20509         (Info-history-find-node): New functions.
20510         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
20511         (Info-toc): Move part of code to `Info-toc-find-node'.
20512         (Info-toc-find-node): New function.
20513         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
20514         the current Info file name to references because now the node
20515         "*TOC*" belongs to the same Info manual.
20516         (Info-toc-build): Rename from `Info-build-toc'.
20517         (Info-toc-nodes): Rename input argument `file' to `filename'.
20518         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
20519         instead of ad-hoc processing of ("dir" apropos history toc).
20520         (Info-index-nodes): Use Info-virtual-file-p
20521         to check for a virtual file instead of checking a fixed list
20522         of node names.
20523         (Info-index-node): Add check for `Info-current-node-virtual'.
20524         Raise `save-match-data' higher up the tree to contain
20525         `search-forward' too (bug fix).
20526         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
20527         (Info-virtual-index-nodes): New variable.
20528         (Info-virtual-index-find-node, Info-virtual-index): New functions.
20529         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
20530         (Info-apropos-file, Info-apropos-nodes): New variables.
20531         (Info-apropos-toc-nodes, Info-apropos-find-file)
20532         (Info-apropos-find-node, Info-apropos-matches): New functions.
20533         (info-apropos): Move part of code to `Info-apropos-find-node' and
20534         `Info-apropos-matches'.
20535         (Info-mode-map): Bind "I" to `Info-virtual-index'.
20536         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
20537         for a virtual file instead of checking a fixed list of node names.
20539         * simple.el (async-shell-command): New command.
20541         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
20543         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
20544         instead of `mount-info'.
20546 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
20548         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
20549         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
20551 2009-07-02  Kenichi Handa  <handa@m17n.org>
20553         * international/mule.el (set-keyboard-coding-system): Force *-unix
20554         coding-system to avoid eol conversion.
20556 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
20558         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20559         Add handler for `process-file', `shell-command' and
20560         `start-file-process'.
20561         (tramp-gvfs-handle-shell-command)
20562         (tramp-gvfs-handle-start-file-process)
20563         (tramp-gvfs-handle-process-file): New defuns.
20564         (tramp-synce-list-devices): Simplify check for existence of property.
20566 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
20568         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
20570 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
20572         * language/korean.el (set-language-info-alist): Add korean-cp949,
20573         cp949 to spec.
20575 2009-07-01  Kenichi Handa  <handa@m17n.org>
20577         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
20579         * international/encoded-kb.el: Deleted.
20581         * international/mule.el (set-keyboard-coding-system): Perform the
20582         necessary setup here instead of calling encoded-kbd-setup-display.
20584 2009-07-01  Glenn Morris  <rgm@gnu.org>
20586         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
20588 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
20590         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
20592 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
20594         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
20595         Handle also the 'rename case, when setting file modes.  (Bug#3712)
20596         (tramp-default-file-modes): Remove execute permissions.
20598         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
20599         (top): Add a default for "synce" in `tramp-default-user-alist'.
20600         Add completion function for "synce" method.
20601         (tramp-hal-service, tramp-hal-path-manager)
20602         (tramp-hal-interface-manager, tramp-hal-interface-device):
20603         New defconst.
20604         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
20605         (tramp-synce-list-devices, tramp-synce-parse-device-names):
20606         New defuns.
20608         * net/trampver.el: Update release number.
20610 2009-06-30  Kenichi Handa  <handa@m17n.org>
20612         * international/fontset.el (setup-default-fontset): Add CJK fonts
20613         for symbols and the other miscellaneous characters.
20615         * language/korea-util.el (setup-korean-environment-internal):
20616         Make char-width-table suitable for Korean environments.
20617         (exit-korean-environment): Cancel above.
20619         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
20620         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
20621         setup-function to make char-width-table suitable for respective
20622         environments, and an exit-function to cancel that.
20624         * language/japan-util.el (setup-japanese-environment-internal):
20625         Call use-cjk-char-width-table with arg `ja_JP'.
20627         * international/characters.el (cjk-char-width-table): Delete it.
20628         (cjk-char-width-table-list): New variable.
20629         (use-cjk-char-width-table): New arg local-name.
20630         (use-default-char-width-table): Fix for the case that Emacs is
20631         already using the default char-width-table.
20633 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
20635         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
20636         modes mandatory.  (Bug#3712)
20638 2009-06-29  Alan Mackenzie  <acm@muc.de>
20640         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
20641         correction between the visible width of TABs and their number of bytes.
20643 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
20645         * server.el (server-buffer-done): Prevent kill-buffer from
20646         prompting by clearing the buffer modification flag (Bug#3696).
20648 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
20650         * progmodes/verilog-mode.el (verilog-beg-of-statement)
20651         (verilog-endcomment-reason-re): Support unique case and priority case.
20652         (verilog-basic-complete-re): Support localparam lineup.
20653         (verilog-beg-of-statement-1): Fix for robustness, unique case.
20654         (verilog-set-auto-endcomments): Fix for unique case, always_comb
20655         commenting.
20656         (verilog-leap-to-case-head): Now support *nested* unique &
20657         priority case statements.
20658         (verilog-auto-lineup): Make just declarations the default (as it
20659         had been).
20660         (verilog-leap-to-case-head): Support priority/unique case statements.
20661         (verilog-auto-lineup): Rework to give users radio buttons to
20662         select the various styles of automatic lineup.
20663         (verilog-error-regexp-alist): Rework to support the XEmacs style
20664         of error regular expressions from compilers, lint tools &
20665         simulators.  Note that GNU Emacs has made it impossible for a mode
20666         to load such things.
20667         (electric-verilog-terminate-line, verilog-indent-declaration)
20668         (verilog-auto-wiure): Rework for radio button selection of
20669         auto-lineup selection of specification of auto lineup.
20670         (verilog-beg-of-statement-1): Redesign to support proper operation
20671         in additional code, based on testing with auto-lineup.
20672         (verilog-calculate-indent, assignments & declarations)
20673         (verilog-backward-token): Enhance to support auto-lineup of
20674         assignments & declarations.
20675         (verilog-in-directive-p, verilog-at-struct-p): New function for
20676         easy test of whether we are.
20677         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
20678         to support safe execution at almost anyline.
20679         (verilog-calc-1): Properly support indenting deep inside generate
20680         blocks.
20681         (verilog-init-font): Remove definition & use of verilog-init-font,
20682         as it is redundant with font-lock-defaults.
20683         (verilog-mode): Alter the definition of verilog-font-lock-defaults
20684         to avoid circular calls if syntax-ppss is a function (as is the
20685         case now in 22.x GNU Emacs) as that function would sometimes call
20686         itself, leading to (nearly) infinite recursion.
20687         (verilog-ovm-begin-re, verilog-ovm-end-re)
20688         (verilog-ovm-statement-re, verilog-leap-to-head)
20689         (verilog-backward-token): Add support for OVM macros.  Some are
20690         complete statements, and others open and close scopes like begin
20691         and end.
20692         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
20693         (verilog-defun-level-generate-only-re): Really fix the defun-list
20694         compilation issue.
20695         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
20696         coverpoint, constraint and cross statements.
20697         (verilog-defun-level-list, verilog-generate-defun-level-list)
20698         (verilog-all-defun-level-list): Redo these specifications - it is
20699         too hard to support eval-when compile aggregation of lists also
20700         built at when-compile time.
20701         (verilog-defun-level-list): Place defconsts of variables used in
20702         building regular expressions which are built in eval-when-compile
20703         bodies in the same eval-when-compile body to facilitate compile
20704         without load.
20705         (verilog-beg-block-re-ordered): Support indenting
20706         virtual/protected tasks and functions.
20707         (verilog-defun-level-list, verilog-in-generate-region-p)
20708         (verilog-backward-ws&directives, verilog-calc-1): Speed up
20709         indentation of some module items (generate items).
20710         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
20711         across virtual/protected tasks and functions.
20713 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
20715         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
20716         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
20717         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
20718         in concatenations.  Reported by Yishay Belkind.
20719         (verilog-auto-ascii-enum): Support one-hot state machines in
20720         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
20721         (verilog-auto-inst, verilog-auto-inst-port): Include interface
20722         modport in AUTOINST and add vl-modport for users.
20723         Reported by David Rogoff.
20724         (verilog-auto-inout-module, verilog-auto-inst)
20725         (verilog-decls-get-interfaces, verilog-insert-definition)
20726         (verilog-insert-one-definition, verilog-read-decls)
20727         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
20728         (verilog-sig-modport, verilog-signals-combine-bus)
20729         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
20730         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
20731         Suggested by David Rogoff.
20732         (verilog-repair-open-comma): Fix non-insertion of comma when
20733         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
20734         (verilog-make-width-expression): Simplify [A-1:0] expression
20735         widths to just {A{1'b0}}.
20736         (verilog-mode): Cleanup checkdoc warnings.
20737         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
20738         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
20739         inputs/outputs or data type.  Suggested by Vasu Kandadi.
20740         (next-error-last-buffer): Fix byte-compiler warning.
20741         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
20742         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
20743         or shell command text during AUTO expansion.  Suggested by Tad Truex.
20744         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
20745         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
20746         Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
20747         in AUTOINOUT.  Reported by Matthew Lovell.
20748         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
20749         causing use of <= assignments.  Reported by Alex Reed.
20750         (verilog-read-decls): Fix triand, trior, wand, wor to be
20751         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
20752         (verilog-extended-complete-re): Support import "DPI-C" functions.
20753         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
20754         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
20755         (verilog-insert-date, verilog-insert-year)
20756         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
20757         Windows systems.  Reported by Michael Potts.
20758         (verilog-read-module-name): Fix AUTOINST when the child module
20759         declaration's name is a tick define.  Reported by Elliot Mednick.
20760         (verilog-read-decls): Fix V2K parameter bit subscripts getting
20761         passed to next parameter's definition.  Reported by Bruce T.
20762         (verilog-read-decls): Fix detecting "parameter int" when using
20763         AUTOINSTPARAM.  Reported by Bruce T.
20764         (verilog-goto-defun): Fix goto not finding modules unless first
20765         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
20766         (verilog-mode): Expand -f flag arguments on entry to mode so
20767         verilog-goto-defun will work.  Reported by Lawrence Butcher.
20768         (verilog-getopt): Expand environment variables in -f file
20769         arguments.  Suggested by Lawrence Butcher.
20770         (verilog-set-define): Fix "Symbol's value as variable is void"
20771         when reading enumerations.
20772         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
20773         Suggested by Stephen Peltan.
20774         (verilog-read-defines): Fix reading of enumerations in include
20775         files.  Reported by Steve Peltan.
20777 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
20779         * files.el (trash-directory): Fix defcustom type.
20781 2009-06-28  Juri Linkov  <juri@jurta.org>
20783         * help-fns.el (describe-function-1): Correctly locate adviced
20784         functions in hyperlink (Bug#2438).
20786 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
20788         * files.el (trash-directory): Change default to nil.
20789         (move-file-to-trash): If trash-directory is nil and
20790         system-move-file-to-trash is unbound, perform freedesktop-style
20791         trashing.
20793 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
20795         * files.el (move-file-to-trash): Add freedesktop trash
20796         support (Bug#973).
20798 2009-06-28  Glenn Morris  <rgm@gnu.org>
20800         * autorevert.el (global-auto-revert-non-file-buffers)
20801         (global-auto-revert-mode): Doc fixes.
20803 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
20805         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
20807 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
20809         * faces.el (x-handle-named-frame-geometry): Ensure that we have
20810         opened an X connection before calling x-get-resource (Bug#3194).
20812         * play/doctor.el: Remove reference to obsolete website.
20813         (make-doctor-variables): Correct grammar mistake (Bug#2633).
20815 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
20817         Remove find-file-not-found-hook VC method.  (Bug#2757)
20818         * vc-hooks.el (vc-file-not-found-hook)
20819         (vc-default-find-file-not-found-hook): Remove functions.
20820         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
20821         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
20822         * vc.el:
20823         * vc-hg.el:
20824         * vc-git.el: Do not mention find-file-not-found-hook VC method.
20826 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
20828         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
20829         compatibility function for `looking-back'.
20831         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
20832         Use `ispell-looking-back'.
20834 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
20836         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
20837         rather than `filename'.
20839 2009-06-23  Miles Bader  <miles@gnu.org>
20841         * face-remap.el (text-scale-set): New function.
20843 2009-06-23  Glenn Morris  <rgm@gnu.org>
20845         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
20847         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
20849         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
20851         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
20853         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
20854         Simplify Persian conditionals.
20856         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
20857         variable `filename'.
20859         * comint.el (comint-insert-input): Doc fix.
20861         * Makefile.in (ELCFILES): Fix typo in previous change.
20863 2009-06-23  Miles Bader  <miles@gnu.org>
20865         * cus-start.el: Add entry for `recenter-redisplay'.
20867 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
20869         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
20870         Add an optional argument for the backend, use it instead of
20871         calling vc-backend.
20872         (vc-mode-line): Add an optional argument for the backend.
20873         Pass the backend to vc-state and vc-working-revision.  Move code for
20874         special handling for vc-state being a buffer to ...
20876         * vc-rcs.el (vc-rcs-find-file-hook):
20877         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
20879         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
20880         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
20881         vc-stay-local-p and vc-mode-line calls.
20883         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
20884         (vc-cvs-diff, vc-cvs-annotate-command)
20885         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
20886         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
20887         vc-mode-line calls.
20889         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
20890         direct comparison.
20891         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
20892         backend when calling vc-mode-line.
20893         (vc-register): Do not create a closure for calling the vc register
20894         function, call it directly.
20896 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
20898         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
20899         to make it obvious item can be clicked.
20901         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
20903 2009-06-23  Kenichi Handa  <handa@m17n.org>
20905         * language/korea-util.el (korean-key-bindings): Change the binding
20906         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
20907         same command.
20909 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
20911         Sync with Tramp 2.1.16.
20913         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
20915         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
20916         when a loading of a package fails.  Completion function for rsync
20917         is `tramp-completion-function-alist-ssh'.
20918         (all): Replace all calls of `split-string' and
20919         `tramp-split-string' by `tramp-compat-split-string'.
20920         (tramp-default-method): Use `tramp-compat-process-running-p'.
20921         (tramp-default-proxies-alist): Allow also Lisp forms.
20922         (tramp-remote-path): Add choice "Private Directories".
20923         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
20924         (tramp-domain-regexp): Allow also "-", "_" and ".".
20925         (tramp-end-of-output): Remove newlines, and add "$" at the end.
20926         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
20927         (tramp-debug-message): Insert header line in debug buffer.
20928         (tramp-handle-directory-files-and-attributes-with-stat):
20929         Care about filenames with spaces, or starting with "-".
20930         (tramp-handle-dired-uncache): New defun.
20931         (tramp-handle-insert-directory): Don't flush the directory from
20932         cache, this is handled by `dired-uncache' now.
20933         (tramp-handle-insert-file-contents): Improve error handling.
20934         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20935         Quote `tramp-end-of-output'.
20936         (tramp-action-password): Improve trace message.
20937         (tramp-check-for-regexp): Both echoes must be present, before removing.
20938         (tramp-open-connection-setup-interactive-shell): Trace coding system.
20939         (tramp-compute-multi-hops): Eval cons cells of
20940         `tramp-default-proxies-alist'.
20941         (tramp-maybe-open-connection): Use the same command pattern for
20942         first hop and further hops.
20943         (tramp-wait-for-output): Remove handling of newlines.
20944         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
20945         (tramp-split-string): Remove function.  It is handled in
20946         tramp-compat now.
20948         * net/tramp-cmds.el (tramp-bug):
20949         Recommend `tramp-cleanup-all-connections' in the bug mail.
20951         * net/tramp-compat.el (tramp-compat-split-string)
20952         (tramp-compat-process-running-p): New defuns.
20954         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
20955         for `dired-uncache'.
20957         * net/tramp-gvfs.el: New package.
20959         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20960         Add handler for `dired-uncache'.
20961         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
20963         * net/trampver.el: Update release number.  Make version check fit
20964         for SXEmacs 22.
20966 2009-06-22  Jim Meyering  <meyering@redhat.com>
20968         Automatically handle .xz suffix (XZ-compressed files), too.
20969         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
20970         XZ is the successor to LZMA: <http://tukaani.org/xz/>
20972 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
20973             Nick Roberts  <nickrob@snap.net.nz>
20975         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
20976         repository (http://sphinx.net.ru/hg/gdb-mi/).
20978 2009-06-22  Glenn Morris  <rgm@gnu.org>
20980         * files.el (dir-locals-collect-mode-variables): Allow for any number of
20981         `mode' and `eval' entries.  (Bug#3430)
20983         * Makefile.in (ELCFILES): Add fadr.elc.
20985         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
20986         differing behavior of \n and ^ in strings.  (Bug#3385)
20988         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
20990         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
20991         property.
20992         (lisp-indent-function): Make it a defcustom.
20994 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
20996         * progmodes/gdb-ui.el: Replace with ...
20997         * progmodes/gdb-mi.el: ... this file.
20998         * progmodes/gud.el: Modify for gdb-mi.el.
21000 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
21002         * fadr.el: New file.
21004 See ChangeLog.14 for earlier changes.
21006 ;; Local Variables:
21007 ;; coding: utf-8
21008 ;; End:
21010   Copyright (C) 2009, 2010, 2011  Free Software Foundation, Inc.
21012   This file is part of GNU Emacs.
21014   GNU Emacs is free software: you can redistribute it and/or modify
21015   it under the terms of the GNU General Public License as published by
21016   the Free Software Foundation, either version 3 of the License, or
21017   (at your option) any later version.
21019   GNU Emacs is distributed in the hope that it will be useful,
21020   but WITHOUT ANY WARRANTY; without even the implied warranty of
21021   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21022   GNU General Public License for more details.
21024   You should have received a copy of the GNU General Public License
21025   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.