* lisp/info-xref.el (info-xref-docstrings): Replace cl function.
[emacs.git] / lisp / ChangeLog
blob45096e52ec01cce9284d0eee9be46ff76948d97a
1 2011-01-16  Glenn Morris  <rgm@gnu.org>
3         * info-xref.el (info-xref-docstrings): Replace cl function.
5 2011-01-16  Kevin Ryde  <user42@zip.com.au>
7         * info-xref.el: Version 3.
8         (info-xref-check, info-xref-check-all): Move commentary details
9         into docstrings for better visibility.
10         Use compilation-mode for the results buffer.
11         (info-xref-output, info-xref-output-error, info-xref-with-output)
12         (info-xref-filename, info-xref-in-progress):
13         New internals for this.
14         (info-xref-check-list, info-xref-check-buffer)
15         (info-xref-check-all-custom): Use those.
16         (info-xref-output-buffer): Rename from info-xref-results-buffer.
17         (info-xref-output-heading): Rename from info-xref-filename-heading.
18         (info-xref-good, info-xref-bad, info-xref-xfile-alist)
19         (info-xref-filename-heading): Move to output managing section.
20         (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
21         (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
22         (info-xref-subfile-p): Move to generic section with those two.
23         (info-xref-check-node): New function split from
24         info-xref-check-buffer, shared by info-xref-docstrings.
25         (info-xref-goto-node-p): Move to a checking section with that func.
26         (info-xref-unavail): New counter.
27         (info-xref-check-node): Use it.
28         (info-xref-with-output): Show count of unavailables at end of output.
29         (info-xref-all-info-files): Exclude ".*" dotfiles.  Ignore broken
30         symlinks.  Exclude .texi files.  Exclude Emacs backup files.
31         (info-xref-check-all-custom): Fix quietening viper-mode and
32         gnus-registry-install -- use setq not let so as not to unbind
33         after load.
35 2011-01-16  Juri Linkov  <juri@jurta.org>
37         * isearch.el (isearch-abort): Don't quit if search has
38         an incomplete regexp (isearch-error is non-nil).  (Bug#7534)
40 2011-01-15  Mark Diekhans  <markd@soe.ucsc.edu>
42         * files.el (backup-buffer): Make last-resort backup file in
43         .emacs.d (Bug#6953).
45         * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
46         make it with permission 700.
48 2011-01-15  Kenichi Handa  <handa@m17n.org>
50         * mail/rmailmm.el (rmail-mime-insert-header): Set
51         rmail-mime-coding-system to a cons whose car is the last coding
52         system used to decode the header.
53         (rmail-mime-find-header-encoding): New function.
54         (rmail-mime-insert-decoded-text): Override
55         rmail-mime-coding-system if it is a cons.
56         (rmail-show-mime): If only a header part was decoded, find the
57         coding system while ignoring mm-charset-override-alist.
59 2011-01-15  Chong Yidong  <cyd@stupidchicken.com>
61         * subr.el (event-start, event-end): Doc fix (Bug#7826).
63 2011-01-15  Kenichi Handa  <handa@m17n.org>
65         * mail/rmailmm.el (rmail-mime-next-item)
66         (rmail-mime-previous-item): Delete them.
67         (rmail-mime-shown-mode): Recursively call for children.
68         (rmail-mime-hidden-mode): Delete the 2nd arg TOP.  Callers
69         changed.
70         (rmail-mime-raw-mode): Recursively call for children.
71         (rmail-mode-map): Change mapping of tab and backtab to
72         forward-button and backward-button respectively.
73         (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
74         button.
75         (rmail-mime-update-tagline): New function.
76         (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
77         body display is changed.
78         (rmail-mime-toggle-button): Renamed from rmail-mime-image.
79         (rmail-mime-image): Delete this button type.
80         (rmail-mime-toggle): New button type.
81         (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
82         body display is changed.  Change the save button label to "Save".
83         Don't process show/hide button here.
84         (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
85         the body display is changed.  Unconditionally call
86         rmail-mime-insert for children.
87         (rmail-mime-handle): Update `display' vector of the just inserted
88         entity.
89         (rmail-mime-process): If mail-header-parse-content-type returns
90         nil, use "text/plain" as the fallback type.
91         (rmail-mime-insert): For raw-mode, recursively call
92         rmail-mim-insert for children.
93         (rmail-mime): Handle the case that the current buffer is not rmail
94         buffer (e.g. in summary buffer).
96 2011-01-15  Kenichi Handa  <handa@m17n.org>
98         * mail/rmailmm.el (rmail-mime-next-item)
99         (rmail-mime-previous-item): Skip the body of a non-multipart
100         entity if a tagline is shown.
102 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
104         * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
105         (tmm-prompt): Simplify.
106         (tmm-add-prompt): Remove unused var `win'.
108         * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
109         to minor mode which used nil accidentally to mean "turn off".
111 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
113         * net/tramp-sh.el (tramp-find-inline-compress)
114         (tramp-get-inline-coding): Quote command after pipe symbol for
115         local calls under W32.  (Bug#6784)
117 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
119         * net/tramp.el (tramp-default-method): Initialize with pscp/plink
120         only when running under W32.
122 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
124         * progmodes/grep.el (grep-compute-defaults): Quote the program
125         file name after the pipe symbol in Grep templates.  (Bug#6784)
126         * jka-compr.el (jka-compr-partial-uncompress): Likewise.
128 2011-01-15  Lennart Borgman  <lennart.borgman@gmail.com>
130         * buff-menu.el (Buffer-menu-buffer-list): New var.
131         (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
132         restricted buffer list is not lost on revert (Bug#7749).
134 2011-01-15  Eric Hanchrow  <eric.hanchrow@gmail.com>
136         * net/ldap.el (ldap-search-internal): Discard stderr output.
138 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
140         * files.el (directory-abbrev-alist): Doc fix.  (Bug#7777)
142 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
144         * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
146 2011-01-15  Kenichi Handa  <handa@m17n.org>
148         * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
149         part as a plain text.
150         (rmail-mime-process-multipart): Set the default content-type to
151         nil for unknown multipart subtypes (bug#7651).
153 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
155         * hexl.el (hexl-mode-old-*): Remove.
156         (hexl-mode--old-var-vals): New var to replace them.
157         (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
158         (hexl-mode, hexl-follow-line, hexl-activate-ruler):
159         Use them to set local vars (bug#7846).
160         (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
161         (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
162         (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
164         * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
165         (smerge-resolve--normalize-re): New var.
166         (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
167         (smerge-resolve): Use them.
168         * newcomment.el (comment-only-p): New function.
169         (comment-or-uncomment-region): Use it.
171 2011-01-14  Brent Goodrick  <bgoodr@gmail.com>  (tiny change)
173         * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
174         table, get the value before switching to the output buffer.  (Bug#7733)
176 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
178         * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
180 2011-01-14  Kim F. Storm  <storm@cua.dk>
182         * emulation/cua-base.el (cua--init-keymaps):
183         Remap exchange-point-and-mark in cua-global-keymap.
185 2011-01-14  Tassilo Horn  <tassilo@member.fsf.org>
187         * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
188         loop keyword.
190 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
192         * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
193         Require CL.
194         (easy-menu-create-menu, easy-menu-convert-item-1):
195         Use :label rather than nil for labels.  Use `case'.
196         Add :enable as alias for :active.
197         (easy-menu-binding): Obey :label.
199 2011-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
201         Use run-mode-hooks for major mode hooks (bug#513).
202         * textmodes/reftex-toc.el (reftex-toc-mode-map):
203         Rename from reftex-toc-map.
204         (reftex-toc-mode): Use define-derived-mode.
205         * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
206         (reftex-select-label-mode-map, reftex-select-bib-mode-map):
207         Rename from reftex-select-(label|bib)-map.  Move init into declaration.
208         (reftex-select-label-mode, reftex-select-bib-mode):
209         Use define-derived-mode.
210         * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
211         (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
212         Move init into delcaration.
213         (reftex-index-mode, reftex-index-phrases-mode):
214         Use define-derived-mode.
215         * speedbar.el (speedbar-mode-syntax-table): Renaqme from
216         speedbar-syntax-table.  Move init into declaration.
217         (speedbar-mode-map): Rename from speedbar-key-map.
218         Move init into declaration.
219         (speedbar-file-key-map): Move init into declaration.
220         (speedbar-mode): Use define-derived-mode.
221         * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
222         * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
223         * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
224         (chart-face-list): Move initialization into declaration.
225         (chart-mode): Use define-derived-mode.
226         * calculator.el (calculator-mode-map): Move init into declaration.
227         (calculator-mode): Use define-derived-mode.
229         * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
230         work for nested comments.
232         * progmodes/prolog.el: Use syntax-propertize.  Further code cleanup.
233         (prolog-use-prolog-tokenizer-flag): Change default when
234         syntax-propertize can be used.
235         (prolog-syntax-propertize-function): New var.
236         (prolog-mode-variables): Move make-local-variable into `set'.
237         Don't make comment-column local since we don't set it.
238         Set comment-add (as it was in previous prolog.el).  Use dolist.
239         Set syntax-propertize-function.
240         (prolog-mode, prolog-inferior-mode):
241         Call prolog(-inferior)-menu directly, not through the mode-hook.
242         (prolog-buffer-module, prolog-indent-level)
243         (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
244         (prolog-comment-limits, prolog-goto-comment-column):
245         Use line-(end|beginning)-position.
246         (prolog-build-prolog-command): Tighten up regexp.
247         (prolog-consult-compile): Move make-local-variable into `set'.
248         (prolog-consult-compile-filter, prolog-goto-next-paren)
249         (prolog-help-on-predicate, prolog-clause-info)
250         (prolog-mark-predicate): Don't let+setq.
251         (prolog-indent-line): Use indent-line-to.
252         Only call prolog-goto-comment-column if necessary.
253         (prolog-indent-level): Use bobp.
254         (prolog-first-pos-on-line): Remove, not used any more.
255         (prolog-in-string-or-comment): Use syntax-ppss if available.
256         (prolog-help-on-predicate): Use read-string.
257         (prolog-goto-predicate-info): Simplify.
258         (prolog-read-predicate): Use `default' rather than `initial'.
259         (prolog-temporary-file): Use make-temp-file to close a security hole.
260         (prolog-toggle-sicstus-sd): New command.
261         (prolog-electric-underscore, prolog-variables-to-anonymous):
262         Use dynamic-scoping as it was meant.
263         (prolog-menu): Move menu definitions to top-level.
264         Use a toggle-button for Sicstus's source debugger.
265         Change "Code" to the more usual "Prolog", and hence change "Prolog"
266         to "System".
267         (prolog-inferior-menu): Reuse prolog-menu's help menu.
268         Move other menu definition to top-level.
270 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
272         * doc-view.el (doc-view-open-text): Use meaningful text buffer
273         name.  Keep original document's directory as default-directory
274         (bug#6446).
275         (doc-view-initiate-display): Fall back to normal mode when
276         doc-view-mode cannot be enabled, also when extracting the document
277         text into a separate buffer (bug#6446).
279         * simple.el (shell-command): Don't error out if shell command
280         buffer contains text with non-nil read-only property when erasing
281         the buffer.
283 2011-01-13  Kim F. Storm  <storm@cua.dk>
285         * ido.el (ido-may-cache-directory): Move "too-big" check later.
286         (ido-next-match, ido-prev-match): Fix stray reordering of matching
287         items when cycling through the matches.
289 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
291         * dired-x.el (dired-omit-verbose): New defcustom that allows
292         disabling the omit messages.
293         (dired-omit-expunge): Use it.
295 2011-01-13  Christian Ohler  <ohler@gnu.org>
297         * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
299 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
301         * font-lock.el (font-lock-verbose): Default to nil.
303 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
305         * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
306         (compose-mail): New arg RETURN-ACTION.
307         (compose-mail-other-window, compose-mail-other-frame): Likewise.
309         * mail/sendmail.el (mail-return-action): New var.
310         (mail-mode): Make it buffer-local.
311         (mail-bury): Obey it.  Move special Rmail window handling to
312         rmail-mail-return.
313         (mail, mail-setup): New arg RETURN-ACTION.
314         (sendmail-user-agent-compose): Move from simple.el.
316         * mail/rmail.el (rmail-mail-return): New function.
317         (rmail-start-mail): Pass it to compose-mail.
319 2011-01-12  Chong Yidong  <cyd@stupidchicken.com>
321         * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
322         menus.  Add menu item for customize-themes.
324         * cus-theme.el (customize-themes):
325         * emacs-lisp/package.el (package--list-packages): Use
326         switch-to-buffer.
328 2011-01-11  Johan Bockgård  <bojohan@gnu.org>
330         * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
332 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
334         * progmodes/prolog.el: Fix up coding convention and such.
335         (prolog-indent-width): Use the same default as in
336         previous prolog.el rather than tab-width which depends on which buffer
337         is current when the file is loaded.
338         (prolog-electric-newline-flag): Only enable if electric-indent-mode
339         is not available.
340         (prolog-emacs): Remove.  Use (featurep 'xemacs) instead.
341         (prolog-known-systems): Remove.
342         (prolog-mode-syntax-table, prolog-inferior-mode-map):
343         Move initialization into declaration.
344         (prolog-mode-map): Move initialization into declaration.
345         Remove system-specific mode-map vars, since they referred to the same
346         keymap anyway.
347         (prolog-mode-variables): Obey the user's preference w.r.t
348         adaptive-fill-mode.  Prefer symbol-value to `eval'.
349         (prolog-mode-keybindings-edit): Add compatibility bindings.
350         (prolog-mode): Use define-derived-mode.  Don't handle mercury here.
351         (mercury-mode-map): New var.
352         (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
353         (prolog-ensure-process, prolog-process-insert-string)
354         (prolog-consult-compile): Use with-current-buffer.
355         (prolog-guess-fill-prefix): Simplify data flow.
356         (prolog-replace-in-string): New function to use instead of
357         replace-in-string.
358         (prolog-enable-sicstus-sd): Don't abuse `eval'.
359         (prolog-uncomment-region): Use `uncomment-region' when available.
360         (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
361         (prolog-int-to-char, prolog-char-to-int): New functions to use instead
362         of int-to-char and char-to-int.
363         (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
365 2011-01-11  Stefan Bruda  <stefan@bruda.ca>
367         * progmodes/prolog.el: Replace by a whole new file.
369 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
371         * subr.el (eval-after-load): Fix timing for features (bug#7769).
372         (declare-function, undefined, insert-for-yank)
373         (replace-regexp-in-string): Follow checkdoc's recommendations.
375 2011-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
377         * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
378         refreshing the diary buffer.
380 2011-01-10  Ken Manheimer  <ken.manheimer@gmail.com>
382         * allout.el: Add 2011 to the file copyright.
383         (allout-encrypt-string): Prevent encryption from adding an extra
384         newline at the end of the topic body.
385         (allout-version): Increment to 2.3.
387 2011-01-10  Michael Albinus  <michael.albinus@gmx.de>
389         * net/dbus.el (dbus-unregister-service): Complete doc.
390         Fix call of dbus-error signal.
391         (dbus-register-property): Use `dont-register' keyword.
393 2011-01-10  Jan Moringen  <jan.moringen@uni-bielefeld.de>
395         * net/dbus.el (dbus-unregister-service): Translate returned
396         integer into a symbol.
397         (dbus-register-property): Use `dbus-register-service' to do the
398         name registration.
400 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
402         * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
403         Suggested by Joakim Verona.
405         * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
407         * wid-edit.el (visibility): Replace :on-image and :off-image
408         widget properties with :on-glyph and :off-glyph, for consistency
409         with the `visibility' widget.
410         (widget-toggle-value-create, widget-visibility-value-create):
411         Merge into a single function `widget-toggle-value-create'.
413         * cus-edit.el (custom-variable-value-create, custom-visibility)
414         (custom-face-edit-value-create, custom-face-value-create):
415         Replace :on-image and :off-image widget properties with :on-glyph and
416         :off-glyph, for consistency with the `visibility' widget.
418 2011-01-09  Andreas Schwab  <schwab@linux-m68k.org>
420         * net/ldap.el (ldap-search-internal): Don't use eval.
422 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
424         * subr.el (read-char-choice): Use read-key.
426         * custom.el (custom-safe-themes): Rename from
427         custom-safe-theme-files.  Add :risky tag.
428         (load-theme, custom-theme-load-confirm): Save sha1 hashes to
429         custom-safe-themes, not filenames.  Suggested by Stefan Monnier.
431 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
433         * tool-bar.el (tool-bar-setup): Remove Help button.  Remove label
434         from Search and add a label to Undo.
436         * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
437         inappropriate buttons and adding :vert-only tags.
439         * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
440         removal of Help tool-bar button.  Remove Undo button for space.
442         * info.el (info-tool-bar-map): Add :vert-only tags.
444 2011-01-08  Tassilo Horn  <tassilo@member.fsf.org>
446         * doc-view.el (doc-view-mode-p): Check for png or imagemagick
447         image backend support.  Either of them is fine.
449 2011-01-08  Chong Yidong  <cyd@stupidchicken.com>
451         * subr.el (y-or-n-p): Doc fix.
453         * custom.el (custom-safe-theme-files): New defcustom.
454         (custom-theme-load-confirm): New function.
455         (load-theme): Load theme using `load', confirming with
456         custom-theme-load-confirm if necessary.
458         * subr.el (read-char-choice): New function, factored out from
459         dired-query and hack-local-variables-confirm.
461         * dired-aux.el (dired-query):
462         * files.el (hack-local-variables-confirm): Use it.
464         * dired-aux.el (dired-compress-file):
465         * files.el (abort-if-file-too-large, find-alternate-file)
466         (set-visited-file-name, write-file, backup-buffer)
467         (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
468         (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
469         Use new format string args for y-or-n-p and yes-or-no-p.
471 2011-01-08  Andreas Schwab  <schwab@linux-m68k.org>
473         * progmodes/compile.el (compilation-error-regexp-alist-alist)
474         [gcc-include]: Tighten file name match, add match for column
475         number.  (Bug#7806)
476         [gnu]: Remove unused group.
478 2011-01-08  Glenn Morris  <rgm@gnu.org>
480         * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
482         * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
484 2011-01-07  Sam Steingold  <sds@gnu.org>
486         * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
487         the `explicit-shell-file-name' because that is the
488         non-interactive shell.
490 2011-01-07  Chong Yidong  <cyd@stupidchicken.com>
492         * subr.el (y-or-n-p): Accept format string args.
494 2011-01-07  Glenn Morris  <rgm@gnu.org>
496         * Makefile.in (EMACSOPT): Add --no-site-lisp.
498 2011-01-06  Ken Manheimer  <ken.manheimer@gmail.com>
500         * allout.el (allout-back-to-current-heading): Ensure return to
501         the visible containing topic, rather than a collapsed one.
502         (allout-view-change-hook): Remove hook that was deprecated long ago.
503         (allout-exposure-change-hook): Remove documentation remarks
504         concerning removed allout-view-change-hook.
505         (allout-flag-region): Remove invocation of and documentation
506         remarks concerning allout-view-change-hook.
508 2011-01-06  Glenn Morris  <rgm@gnu.org>
510         * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
511         (vc-bzr-annotate-extract-revision-at-line):
512         Handle authors with embedded spaces.  (Bug#7792)
514 2011-01-05  Tassilo Horn  <tassilo@member.fsf.org>
516         * doc-view.el (doc-view-image-width): New variable.
517         (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
518         backend for PNG images, and do dynamic rescaling instead of
519         reconverting the whole doc.
521 2011-01-05  Glenn Morris  <rgm@gnu.org>
523         * emacs-lisp/rx.el (rx-repeat): Replace CL function.
525 2011-01-04  Ken Manheimer  <ken.manheimer@gmail.com>
527         * allout.el: Reconcile with changes in line movement behavior for
528         long text lines that cross more than a single physical window
529         line, ie when truncate-lines is nil.
530         (allout-next-visible-heading): Provide for change in line-move
531         behavior on long lines when truncate-lines is nil.  In that case,
532         line-move can wind up on the same textual line when it moves to
533         the next window line, and moving to the bullet position after the
534         move yields zero advancement.  Add logic to detect and compensate
535         for the lack of progress.
536         (allout-current-topic-collapsed-p): move-end-of-line respect for
537         field boundaries is different when operating with body lines
538         shorter than window width versus ones greater than window width,
539         which can yield false negatives in this function.  Avoid
540         difference by applying move-end-of-line while field-text-motion is
541         inhibited.
543 2011-01-04  Glenn Morris  <rgm@gnu.org>
545         * textmodes/rst.el (rst-compile-toolsets):
546         Add pdf and s5 to option alist.
548 2011-01-04  Jan Moringen  <jan.moringen@uni-bielefeld.de>
550         * net/dbus.el (dbus-register-property): Add optional parameter
551         dont-register-service.  Updated docstring accordingly.
553 2011-01-04  Andreas Schwab  <schwab@linux-m68k.org>
555         * textmodes/rst.el (rst-compile-pdf-preview)
556         (rst-compile-slides-preview): Remove extra line.
558 2011-01-04  Glenn Morris  <rgm@gnu.org>
560         * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
561         Add `pdf' and `s5' entries.  Use `prog.py' if found, otherwise
562         default to `prog' without a .py extension.
563         (rst-compile-pdf-preview, rst-compile-slides-preview):
564         Use program names from rst-compile-toolsets, rather than hard-coding.
565         (rst-portable-mark-active-p): Fix presumed typo.
567 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
569         * term/w32-win.el (dynamic-library-alist): Set up correctly for
570         libpng versions both before and after 1.4.0.  (Bug#7716)
572 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
574         * time.el (display-time-mode): Mention display-time-interval in
575         the doc string.  (Bug#7713)
577 2011-01-02  Kenichi Handa  <handa@m17n.org>
579         * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
580         condition-case and return an error message string if something
581         goes wrong.
582         (rmail-show-mime): Adjust for the above change.  Insert the
583         header by rmail-mime-insert-header.
585 2011-01-02  Kenichi Handa  <handa@m17n.org>
587         * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
588         rmail-mime-previous-item, and rmail-mime-toggle-hidden.
589         (rmail-mime-mbox-buffer)
590         (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
591         (rmail-mime-entity): Argument changed.  All codes handling an
592         entity object are changed.
593         (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
594         the above change.
595         (rmail-mime-entity-children, rmail-mime-entity-handler)
596         (rmail-mime-entity-tagline): New functions.
597         (rmail-mime-message-p): New function.
598         (rmail-mime-save): Bind rmail-mime-mbox-buffer.
599         (rmail-mime-entity-segment, rmail-mime-next-item)
600         (rmail-mime-previous-item, rmail-mime-shown-mode)
601         (rmail-mime-hidden-mode, rmail-mime-raw-mode)
602         (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
603         (rmail-mime-insert-tagline, rmail-mime-insert-header):
604         New functions.
605         (rmail-mime-text-handler): Call rmail-mime-insert-text.
606         (rmail-mime-insert-decoded-text): New function.
607         (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
608         (rmail-mime-insert-image): Argument changed.  Caller changed.
609         (rmail-mime-image): Call rmail-mime-toggle-hidden.
610         (rmail-mime-set-bulk-data): New funciton.
611         (rmail-mime-insert-bulk): Argument changed.
612         (rmail-mime-multipart-handler): Return t.
613         (rmail-mime-process-multipart): Argument changed.
614         Handle "multipart/alternative" here.
615         (rmail-mime-process): Argument changed.
616         (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
617         (rmail-mime-insert): Argument changed.  Handle raw display mode.
618         (rmail-mime): Argument changed.  Handle toggling of raw display
619         mode.
620         (rmail-show-mime): Bind rmail-mime-mbox-buffer and
621         rmail-mime-view-buffer.
622         (rmail-insert-mime-forwarded-message): Likewise.
623         (rmail-search-mime-message): Likewise.  Don't bind rmail-buffer.
625         * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
626         non-nil, handle the header in rmail-show-mime-function.
628 2011-01-02  Leo  <sdl.web@gmail.com>
630         * help-fns.el (describe-variable): Fix previous change.
632 2011-01-02  Juri Linkov  <juri@jurta.org>
634         * isearch.el (isearch-lazy-highlight-error): New variable.
635         (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
636         `isearch-lazy-highlight-error'.  Set `isearch-lazy-highlight-error'
637         to the current value of `isearch-error' (Bug#7468).
639 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
641         * help-fns.el (describe-variable): Don't emit trailing whitespace
642         (Bug#7511).
644 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
646         * textmodes/rst.el (rst-compile-pdf-preview)
647         (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
649 2011-01-02  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
651         * emulation/edt-mapper.el: Override mapping of function keys so
652         that the later call to read-key-sequence works.
654 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
656         * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
657         Unix EOLs.  (Bug#7589)
659 2011-01-02  Leo  <sdl.web@gmail.com>
661         * eshell/em-hist.el (eshell-previous-matching-input): Signal error
662         if point is not behind eshell-last-output-end (Bug#7585).
664 2011-01-02  Stefan Monnier  <monnier@iro.umontreal.ca>
666         * files.el (file-local-variables-alist):
667         Make permanent-local (bug#7767).
669 2011-01-02  Glenn Morris  <rgm@gnu.org>
671         * version.el (emacs-copyright): Set short copyright year to 2011.
673 2011-01-02  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
675         * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
676         an existing temp buffer.  (Bug#7746)
678 2011-01-02  Glenn Morris  <rgm@gnu.org>
680         * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
681         multiple addresses.  (Bug#7760)
683 2011-01-01  Ken Manheimer  <ken.manheimer@gmail.com>
685         * allout.el (allout-auto-fill): Do not infinitely recurse - use
686         do-auto-fill if everything points back to allout-auto-fill.
687         (allout-mode-deactivate-hook): Declare obsolete, in favor of
688         standard-formed minor-mode deactivate hook, allout-mode-off-hook.
690 2010-12-31  Michael Albinus  <michael.albinus@gmx.de>
692         * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
693         and "scpx".
695 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
697         * doc-view.el (doc-view-set-doc-type): New function refactored
698         from doc-view-mode.
699         (doc-view-fallback-mode): New function.
700         (doc-view-mode): Use it.
701         (doc-view-mode-maybe): New function that checks if doc-view-mode
702         can be used and falls back to the next best mode otherwise.
704         * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
705         DVI, OpenDocument, and MS Office files.
707 2010-12-30  Andreas Schwab  <schwab@linux-m68k.org>
709         * emacs-lisp/rx.el (rx-syntax): Fix typo.
711 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
713         * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
714         on a copy of auto-mode-alist, because that deletes with side
715         effects.
717 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
719         * doc-view.el (doc-view-mode, doc-view-toggle-display):
720         Use normal-mode without doc-view-mode bindings in auto-mode-alist as
721         fallback instead of hard coding fundamental mode.
723 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
725         * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
726         Office) files also for searching.
728 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
730         * doc-view.el: Implement viewing of OpenDocument (and Microsoft
731         Office) files.  Not yet enabled via auto-mode-list.
732         (doc-view-unoconv-program): New custom variable.
733         (doc-view-mode-p): Handle new odf document type.
734         (doc-view-odf->pdf): New conversion function.
735         (doc-view-convert-current-doc): Call it for odf files.
736         (doc-view-mode): Recognize newly supported file extensions.
738 2010-12-30  Michael Albinus  <michael.albinus@gmx.de>
740         * net/tramp.el (tramp-default-method-alist)
741         (tramp-default-user-alist)
742         (tramp-local-host-regexp, tramp-prefix-domain-format)
743         (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
745         * net/tramp-ftp.el:
746         * net/tramp-gvfs.el:
747         * net/tramp-gw.el:
748         * net/tramp-imap.el:
749         * net/tramp-sh.el:
750         * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
751         code of `tramp-default-method-alist' and `tramp-default-user-alist'.
753 2010-12-29  Karl Fogel  <kfogel@red-bean.com>
755         * saveplace.el (save-place-alist-to-file): Save list sorted and
756         pretty-printed, so that it is mergeable by line-based text merging,
757         as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
759 2010-12-28  Ken Manheimer  <ken.manheimer@gmail.com>
761         * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
762         (allout-mode): Argument "toggle" => "force".
763         Refine the docstring.
764         Remove special provisions for reactivation, besides the 'force'
765         argument.
766         Consolidate layout provisions coce directly into the activation
767         condition branch, now that we've removed those provisions.
768         (allout-unload-function): Explicitly activate the mode before
769         deactivating, if it's initially deactivated.
770         (allout-set-buffer-multibyte): Properly prevent byte-compiler
771         warnings for version of function used only where
772         set-buffer-multibyte is unavailable.
774 2010-12-28  Chong Yidong  <cyd@stupidchicken.com>
776         * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
777         are handled by the menu-bar entries.  As before, don't use
778         :visibile to avoid changing the tool-bar.
780 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
782         * net/secrets.el (secrets-delete-alias): New defun.
784 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
786         * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
787         methods, otherwise ~/.ssh/config would be ignored.
789 2010-12-26  Stefan Monnier  <monnier@iro.umontreal.ca>
791         * emacs-lisp/rx.el: Make it a superset of sregex.
792         (rx-constituents): Add `any => "."', mark `repeat' as taking any number
793         of args, add `regex' alias.
794         (rx-info): Add arg to distinguish head and standalone forms.
795         (rx-check, rx-form): Pass the corresponding arg.
796         (rx-**): Simplify.
797         (rx-repeat): Make it work for any number of args.
798         (rx-syntax): Make it accept syntax chars as is.
799         * obsolete/sregex.el: Move from emacs-lisp/.
800         * emacs-lisp/re-builder.el: Remove sregex support.
801         * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
803 2010-12-25  Eli Zaretskii  <eliz@gnu.org>
805         * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
806         PRIMARY first, then the clipboard.  (Bug#7699)
808 2010-12-22  Stefan Monnier  <monnier@iro.umontreal.ca>
810         * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
811         print-number-table.
813 2010-12-21  Chong Yidong  <cyd@stupidchicken.com>
815         * help-fns.el (find-lisp-object-file-name): Locate .emacs from
816         .emacs.elc (Bug#7530).
818         * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
819         image spec (Bug#7480).
821 2010-12-21  Daiki Ueno  <ueno@unixuser.org>
823         * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
824         * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
825         Move from lisp/.
827 2010-12-20  Leo  <sdl.web@gmail.com>
829         * dnd.el (dnd-get-local-file-name): Unhex of file name shall
830         always be performed (Bug#7680).
832 2010-12-20  Chong Yidong  <cyd@stupidchicken.com>
834         * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
835         (menu-bar-edit-menu): Bind "Copy" to kill-ring-save.  Don't use
836         mouse-region-match.
838         * color.el: Move from gnus/.
840         * vc/diff.el (diff-better-file-name): Function deleted.
841         abbreviating file names causes problems with shell-quote-argument.
842         (diff-no-select): Just use expand-file-name.
844         * tool-bar.el (tool-bar--image-expression): New function.
845         (tool-bar-local-item, tool-bar--image-exp): Use it.
846         (tool-bar-setup): Initialize tool-bar-separator-image-expression.
847         Use :enable instead of :visible to avoid changing the tool-bar
848         configuration unnecessarily.
850         * info.el (info-tool-bar-map): Add separators.
852 2010-12-17  Ken Brown  <kbrown@cornell.edu>
854         * loadup.el: Use version numbers in Cygwin build.
856 2010-12-17  Ryan Twitchell  <metatheorem@gmail.com>  (tiny change)
858         * ido.el (ido-file-internal): Ask for confirmation before
859         overwriting an existing file (Bug#1238).
861 2010-12-16  Chong Yidong  <cyd@stupidchicken.com>
863         * tool-bar.el (tool-bar-setup): Add separators.
865         * menu-bar.el (featurep): Use menu-bar-separator.
867 2010-12-16  Ken Manheimer  <ken.manheimer@gmail.com>
869         Migrate allout encryption provisions from pgg to epg.
871         * allout.el (allout-toggle-current-subtree-encryption)
872         (allout-toggle-subtree-encryption): Adjust docstrings to reflect
873         defaulting policy and other changes.  Change fetch-pass to keymode-cue,
874         for simpler universal argument interpretation.
875         (allout-toggle-subtree-encryption):  Adjust docstring to describe
876         changed encryption provisions.  Change fetch-pass to keymode-cue, for
877         simpler universal argument interpretation.  Remove provisions for
878         handling key type and identity - they'll all be within
879         allout-encrypt-string or epg/epg or even contained all the way in gpg.
880         (allout-encrypt-string): Include keymode-cue, for optionally prompting
881         for keypair recipients (universal argument > 1) and, in addition,
882         associating the specified recipients with the outline (universal
883         argument > 4) using a file local variable setting for
884         'epa-file-encrypt-to'.
885         Require epa, for recipients handling.
886         Change how regexp filtering elements are named.
887         Describe the problem with caching of incorrect symmetric-decryption
888         keys.
889         Use the epa-passphrase-callback-function, in case the user is using
890         GnuPG v1.
891         Support saving of the selected keypair recipients when invoked with a
892         keymode-cue > 4.
893         Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
894         Require 'epa.
895         Establish epg-context with armoring and default epg-protocol.
896         Remove all passphrase cache, verification, and hinting code.
897         (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
898         No longer used, delete.
899         (allout-mode): Adjust docstring to describe changed encryption
900         provisions.  Describe the problem with caching of incorrect
901         symmetric-decryption keys.
902         (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
903         (allout-make-passphrase-state, allout-passphrase-state-passphrase)
904         (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
905         (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
906         Obsolete, remove.
908 2010-12-16  Daiki Ueno  <ueno@unixuser.org>
910         * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
911         key selection prompt; make 'silent as default (Bug#7487).
913 2010-12-16  Leo  <sdl.web@gmail.com>
915         * eshell/eshell.el (eshell-directory-name):
916         Use locate-user-emacs-file (Bug#7578).
918 2010-12-15  Glenn Morris  <rgm@gnu.org>
920         * loadup.el (symbol-file-load-history-loaded): Remove; unused.
922 2010-12-15  Jari Aalto  <jari.aalto@cante.net>
923             Scott Evans <gse@antisleep.com>
925         * rect.el (rectange--default-line-number-format)
926         (rectangle-number-line-callback): New functions.
927         (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
929 2010-12-15  Chong Yidong  <cyd@stupidchicken.com>
931         * rect.el (operate-on-rectangle-lines, string-rectangle-string):
932         Delete unused variables.
933         (move-to-column-force): Remove function obsolete since 21.2.
935 2010-12-14  Michael Albinus  <michael.albinus@gmx.de>
937         * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
938         (tramp-handle-insert-file-contents): Do not set permanent-local
939         property.
941         * net/tramp-cache.el (tramp-persistency-file-name):
942         Use `locate-user-emacs-file' if fboundp.
944         * net/tramp-sh.el (tramp-methods): Add "ksu".
945         (tramp-default-user-alist): Add "ksu".  Use `regexp-opt' for
946         method list.
948 2010-12-14  Glenn Morris  <rgm@gnu.org>
950         * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
951         (find-tag-marker-ring): Declare.
952         (js-find-symbol): Require etags.
954         * mail/sendmail.el: Don't require rmail or mailalias when compiling.
955         Require mail-utils.
956         (mail-alias-file): Don't autoload.  Doc fix.
957         (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
958         (mail-mailer-swallows-blank-line): Default to nil.  Doc fix.
959         Mark as obsolete, and risky.
960         (mail-setup): Simplify.
962         * mail/mailalias.el (build-mail-aliases): Make it interactive.
963         * mail/sendmail.el (build-mail-aliases): Update autoload.
965         * dired.el (dired-trivial-filenames, dired-chown-program)
966         (dired-auto-revert-buffer): Remove autoload cookies.
967         * mail/sendmail.el (mail-recover-1): Require 'dired.
969         * dired.el (dired-subdir-switches, dired-chown-program)
970         (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
971         Make into defcustoms.
972         (dired-chown-program): Simplify initialization.
974         * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
976 2010-12-13  Romain Francoise  <romain@orebokech.com>
978         * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
980 2010-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
982         * net/netrc.el (netrc-point-at-eol): Remove the unused
983         netrc-point-at-old and netrc-bound-and-true-p bindings.
984         (netrc-parse): Cache the netrc contents.
986 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
988         * subr.el (posn-col-row): Evaluate header-line-format in the
989         context of the POSITION window's buffer.
991 2010-12-13  Glenn Morris  <rgm@gnu.org>
993         * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
994         (with-silent-modifications): Doc fixes.
996 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
998         * net/tramp.el (tramp-action-password, tramp-process-actions):
999         Revert previous from.  Use `save-restriction'.
1001 2010-12-13  Stephen Berman  <stephen.berman@gmx.net>
1003         * calendar/diary-lib.el (diary-list-sexp-entries):
1004         Handle case of no newline at end of file.  (Bug#7536)
1006 2010-12-13  Glenn Morris  <rgm@gnu.org>
1008         * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
1010 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
1012         * net/tramp.el (tramp-action-password): Delete region, do not narrow.
1013         (tramp-process-actions): Do not widen.
1015         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1016         Protect buffer-modified value.  (Bug#7557)
1018 2010-12-13   Jan Moringen  <jmoringe@techfak.uni-bielefeld.de>
1020         * log-edit.el (log-edit-changelog-entries):
1021         Regexp quote filename.  (Bug#7505)
1023 2010-12-13  Tom Breton  <tehom@panix.com>
1025         * cus-edit.el (custom-save-all):
1026         Bind print-length and print-level to nil.  (Bug#7581)
1028 2010-12-13  Glenn Morris  <rgm@gnu.org>
1030         * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
1031         Run hooks to update menu contents.  (Bug#7586)
1033         * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
1034         file names, for the sake of MS Windows.  (Bug#7588)
1036 2010-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1038         * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
1039         empty lines without a leading space.
1041 2010-12-13  Leo  <sdl.web@gmail.com>
1043         * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
1044         while mapping over marks (Bug#6810).
1046 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
1048         * image-dired.el (image-dired-db-file)
1049         (image-dired-temp-image-file, image-dired-gallery-dir)
1050         (image-dired-temp-rotate-image-file): Set default values relative
1051         to image-dired-dir (Bug#7518).
1053 2010-12-13  Lawrence Mitchell  <wence@gmx.li>
1055         * format.el (format-decode-run-method): Pass args FROM and TO, not
1056         point-min and point-max, to shell-command-on-region (Bug#7488).
1058 2010-12-13  Jan Djärv  <jan.h.d@swipnet.se>
1060         * frame.el (blink-cursor-mode): Make default t for ns.
1062 2010-12-13  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
1064         * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1066 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
1068         * comint.el (comint-dynamic-list-input-ring)
1069         (comint-dynamic-complete-filename)
1070         (comint-replace-by-expanded-filename)
1071         (comint-dynamic-simple-complete)
1072         (comint-dynamic-list-filename-completions)
1073         (comint-dynamic-list-completions): Doc fix (Bug#7499).
1075         * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
1076         Doc fix (Bug#7471).
1078 2010-12-13  Martin Rudalics  <rudalics@gmx.at>
1080         * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
1081         (Bug#7533).
1083 2010-12-13  W. Martin Borgert <debacle@debian.org>  (tiny change)
1085         * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
1086         (Bug#7491).
1088 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
1090         * files.el (file-relative-name): Handle UNC file names on
1091         DOS/Windows.  (Bug#4674)
1093 2010-12-13  Daiki Ueno  <ueno@unixuser.org>
1095         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1096         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
1097         (epg-context-set-passphrase-callback): Mention that the callback
1098         is not called when used with GnuPG 2.x.
1100 2010-12-13  Glenn Morris  <rgm@gnu.org>
1102         * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
1103         Ensure ps-footer-font-size-internal is initialized.
1104         Call ps-get-page-dimensions before trying to use ps-font-for-text.
1106 2010-12-13  Kenichi Handa  <handa@m17n.org>
1108         * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
1109         within condition-case.
1110         (rmail-show-mime): Don't use condition-case.
1111         (rmail-search-mime-message): New function.
1112         (rmail-search-mime-message-function): Set to
1113         rmail-search-mime-message.
1115 2010-12-13  Leo  <sdl.web@gmail.com>
1117         * ido.el (ido-common-initialization): New function.  (bug#3274)
1118         (ido-mode): Use it.
1119         (ido-completing-read): Call it.
1121 2010-12-12  Karl Fogel  <kfogel@red-bean.com>
1123         * bookmark.el (bookmark-name-from-full-record): Rename back to
1124         this original name from `bookmark-name-from-record' reverting part
1125         of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
1126         As Drew Adams pointed out, there was no reason to cause churn for
1127         third-party callers.
1129 2010-12-12  Alan Mackenzie  <acm@muc.de>
1131         * progmodes/cc-engine.el (c-forward-type): Before scanning a
1132         template arglist, check that the current language supports this.
1134 2010-12-11  Glenn Morris  <rgm@gnu.org>
1136         * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
1137         state of the file matches.  (Bug#7544)
1138         (vc-bzr-register, vc-bzr-checkin)
1139         (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
1140         (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
1142         * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
1144 2010-12-11  Karel Klíč  <kklic@redhat.com>
1146         * files.el (auto-mode-alist): Use html-mode for *.xhtml.  (Bug#7606)
1148 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1150         Derive from prog-mode, use derived-mode-p, and fix up various
1151         minor style issues in lisp/progmodes.
1153         * progmodes/vhdl-mode.el (vhdl-mode):
1154         * progmodes/verilog-mode.el (verilog-mode):
1155         * progmodes/vera-mode.el (vera-mode):
1156         * progmodes/sql.el (sql-mode):
1157         * progmodes/scheme.el (scheme-mode):
1158         * progmodes/perl-mode.el (perl-mode):
1159         * progmodes/octave-inf.el (inferior-octave-mode):
1160         * progmodes/autoconf.el (autoconf-mode):
1161         * progmodes/m4-mode.el (m4-mode):
1162         * progmodes/inf-lisp.el (inferior-lisp-mode):
1163         * progmodes/idlwave.el (idlwave-mode):
1164         * progmodes/icon.el (icon-mode):
1165         * progmodes/idlw-help.el (idlwave-help-mode):
1166         * progmodes/dcl-mode.el (dcl-mode):
1167         * progmodes/idlw-shell.el (idlwave-shell-mode):
1168         * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
1169         (ebrowse-member-mode, ebrowse-electric-position-mode):
1170         Use define-derived-mode.
1172         * progmodes/xscheme.el (exit-scheme-interaction-mode)
1173         (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
1174         (xscheme-debugger-mode-p, xscheme-send-string-1):
1175         * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
1176         (tcl-load-file, tcl-restart-with-file):
1177         * progmodes/ps-mode.el (ps-run-running):
1178         * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
1179         * progmodes/js.el (js--get-all-known-symbols):
1180         * progmodes/inf-lisp.el (inferior-lisp-proc):
1181         * progmodes/idlwave.el (idlwave-beginning-of-statement)
1182         (idlwave-template, idlwave-update-buffer-routine-info)
1183         (idlwave-update-current-buffer-info)
1184         (idlwave-get-routine-info-from-buffers, idlwave-choose)
1185         (idlwave-scan-class-info, idlwave-fix-keywords)
1186         (idlwave-list-buffer-load-path-shadows):
1187         * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
1188         (idlwave-toolbar-remove):
1189         * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
1190         (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
1191         (idlwave-shell-menu-def):
1192         * progmodes/idlw-complete-structtag.el
1193         (idlwave-prepare-structure-tag-completion):
1194         * progmodes/gud.el (gud-set-buffer):
1195         * progmodes/f90.el (f90-backslash-not-special):
1196         * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
1198         * progmodes/xscheme.el (xscheme-start)
1199         (local-set-scheme-interaction-buffer, scheme-interaction-mode):
1200         * progmodes/which-func.el (which-function):
1201         * progmodes/vhdl-mode.el (vhdl-set-style):
1202         * progmodes/verilog-mode.el (verilog-set-compile-command)
1203         (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
1204         (verilog-set-define, verilog-auto-reeval-locals):
1205         * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
1206         * progmodes/simula.el (simula-mode):
1207         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
1208         * progmodes/python.el (python-check, python-mode):
1209         * progmodes/prolog.el (prolog-mode-variables):
1210         * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
1211         * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
1212         * progmodes/delphi.el (delphi-mode):
1213         * progmodes/cc-styles.el (c-setup-paragraph-variables):
1214         * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
1215         (c-font-lock-init): Move make-local-variable to their setq.
1217         * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
1218         (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
1219         make-local-hook.
1220         * progmodes/sh-script.el (sh-require-final-newline): Remove.
1221         (sh-set-shell): Don't set require-final-newline since it's already done
1222         by prog-mode.
1223         * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
1224         since we never set it.
1225         * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
1226         Use read-string and standard prompt.
1227         * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
1228         * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
1229         (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
1230         (meta-common-mode-map): Rename from meta-mode-map.
1231         Remove C-m binding, which is a user preference, not mode specific.
1232         (meta-common-mode): New major mode; replace meta-common-initialization.
1233         * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
1234         around with font-lock.
1235         * progmodes/etags.el (select-tags-table-mode):
1236         Derive from special-mode.
1237         * progmodes/octave-mod.el (octave-mode):
1238         * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
1239         (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
1240         (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
1241         Let define-derived-mode do its job.
1242         * progmodes/cpp.el (cpp-edit-mode-map):
1243         Move initialization into declaration.
1244         (cpp-edit-mode): Use define-derived-mode.
1245         (cpp-edit-load): Use derived-mode-p.
1246         * progmodes/mixal-mode.el (mixal-mode):
1247         * progmodes/f90.el (f90-mode):
1248         * progmodes/cfengine.el (cfengine-mode): Don't bother setting
1249         require-final-newline since prog-mode does it already.
1250         * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
1251         * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
1252         * progmodes/antlr-mode.el: Require cc-mode upfront.
1253         (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
1254         the declaration.
1255         (antlr-directory-dependencies, antlr-show-makefile-rules):
1256         Use derived-mode-p.
1257         (antlr-language-option): Don't assume point-min==1.
1258         (antlr-mode): Use define-derived-mode.
1259         * progmodes/ada-mode.el: Use derived-mode-p.
1260         (ada-mode): Use define-derived-mode.
1261         Use hack-local-variables-hook.
1263 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1265         * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
1266         (texinfo-mode): Don't disable adaptive-fill-mode.
1267         (texinfo-insert-block): Adjust cursor placement for blocks with arg.
1268         (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
1269         (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
1270         (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
1271         (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
1272         (texinfo-insert-@quotation, texinfo-insert-@samp)
1273         (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
1274         (texinfo-insert-@uref): Use define-skeleton.
1275         (texinfo-insert-@-with-arg): Delete.
1277 2010-12-10  Eli Zaretskii  <eliz@gnu.org>
1279         * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
1280         nil, do quote archive member names.  (Bug#6144)
1282 2010-12-10  Glenn Morris  <rgm@gnu.org>
1284         * files.el (diff-no-select): Declare.
1286         * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
1287         (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
1289         * comint.el (comint-input-ring-file-name): Doc fix.
1291 2010-12-09  Eli Zaretskii  <eliz@gnu.org>
1293         * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
1294         New functions.
1295         (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
1296         Use them instead of `nil' and `>', respectively.
1297         (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
1298         instead of `nil'.
1299         (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
1300         and menu-bar-positive-p instead of `nil' and `>', respectively.
1301         (Bug#1077)
1303 2010-12-09  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
1305         * whitespace.el (whitespace-newline-mode): Code fix.
1307 2010-12-09  Glenn Morris  <rgm@gnu.org>
1309         * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
1310         Rename functions without commas, update callers.
1312 2010-12-08  Jeff Dairiki  <dairiki@dairiki.org>  (tiny change)
1314         * whitespace.el (whitespace-cleanup-region):
1315         Clean up spaces before tabs.  (Bug#7582)
1317 2010-12-08  Karl Fogel  <kfogel@red-bean.com>
1319         * bookmark.el: Adjust parameter names and doc strings to resolve
1320         confusion over whether "bookmark" meant a bookmark name or a
1321         bookmark record.  Along the way, shorten one function's name for
1322         similar reasons.  (Issue #7548)
1323         (bookmark-name-from-record): New name for
1324         `bookmark-name-from-full-record'.  All callers changed.
1325         (bookmark-get-bookmark, bookmark-get-bookmark-record)
1326         (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
1327         (bookmark-get-annotation, bookmark-set-annotation)
1328         (bookmark-get-filename, bookmark-set-filename)
1329         (bookmark-get-position, bookmark-set-position)
1330         (bookmark-get-front-context-string, bookmark-set-front-context-string)
1331         (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
1332         (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
1333         (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
1334         Rename `bookmark' parameter to `bookmark-name-or-record', to
1335         clearly show its role, and shorten or adjust doc strings accordingly.
1336         (bookmark-set-name): Same, and pass the parameter directly to
1337         `bookmark-get-bookmark' instead of redundantly doing the callee's work.
1338         (bookmark-default-annotation-text, bookmark-send-edited-annotation)
1339         (bookmark-relocate, bookmark-insert-location, bookmark-insert)
1340         (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
1341         and in some cases shorten doc string accordingly.
1342         (bookmark-rename): Change `old' and `new' parameters to `old-name'
1343         and `new-name', and adjust an internal variable to avoid confusion.
1344         (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
1345         parameter in doc string.
1347 2010-12-08  Glenn Morris  <rgm@gnu.org>
1349         * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
1350         from gdb's history file.  (Bug#7575)
1352         * mail/emacsbug.el (report-emacs-bug):
1353         Try to handle some other mail clients.
1355 2010-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1357         * files.el (dir-locals-collect-variables): Don't let errors stop us.
1358         Use string-prefix-p.
1359         (file-name-version-regexp): New var.
1360         (file-name-sans-versions):
1361         * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
1362         (jka-compr-get-compression-info): Use dolist.
1363         (jka-compr-compression-info-list): Don't bother specifying
1364         version/backup regexps.
1366 2010-12-07  Tassilo Horn  <tassilo@member.fsf.org>
1368         * simple.el (just-one-space): Make argument n default to 1 if
1369         omitted.
1371 2010-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1373         * electric.el (electric-indent-post-self-insert-function):
1374         Delete trailing newlines even if we don't reindent.
1376 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1378         * minibuffer.el (completion-at-point): Remove the `arg'.
1379         * bindings.el (complete-symbol): Move back from minibuffer.el.
1381 2010-12-06  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1383         * simple.el (just-one-space): Delete newlines for negative arg.
1385 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1387         * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
1388         (ansi-color-filter-apply): Simplify.
1389         (ansi-color-apply): Use `font-lock-face' rather than `face'.
1391 2010-12-05  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
1393         * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1395 2010-12-04  Chong Yidong  <cyd@stupidchicken.com>
1397         * dired.el (dired-use-ls-dired): Set default to a special
1398         "unspecified" value.
1399         (dired-insert-directory): When called the first time, check
1400         whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
1402 2010-12-04  Tak Ota  <Takaaki.Ota@am.sony.com>
1404         * replace.el: Add "collect" feature to occur.
1405         (occur-collect-regexp-history): New var.
1406         (occur-read-primary-args): Return a replace string for nlines,
1407         if needed.
1408         (occur): Extend the meaning of nlines.
1410 2010-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1412         * progmodes/which-func.el (which-func-ff-hook): Log the error message.
1413         (which-func-update-1): Distinguish symbols from strings.
1414         (which-function): Stay within 80 columns.
1416 2010-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1418         * subr.el (with-demoted-errors): Distinguish symbols from strings.
1420         * newcomment.el (comment-styles): Add docs to each style (bug#7509).
1421         Improve docstring.
1422         (comment-style): Use comment-styles's docs to describe values.
1424 2010-12-03  Jan Djärv  <jan.h.d@swipnet.se>
1426         * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
1427         and ns-show-prefs (Bug#7535).
1429         * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
1430         bindings (Bug#7535).
1432 2010-12-03  Glenn Morris  <rgm@gnu.org>
1434         * nxml/nxml-mode.el: Require rng-nxml.
1435         (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
1436         Remove declarations.
1438         * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
1439         * nxml/rng-nxml.el, nxml/rng-valid.el:
1440         Remove leading `*' from defcustom docs.
1442         * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
1443         (normal-top-level-add-to-load-path, tty-handle-args):
1444         Convert comments to basic doc-strings.
1446         * net/browse-url.el (browse-url-url-at-point)
1447         (browse-url-default-browser): Remove autoload cookies.
1449         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1450         Remove more undefined cl functions.
1452         * vc/diff.el (diff-sentinel): Make new arguments optional.
1453         * ibuf-ext.el (diff-sentinel): Update declaration.
1455 2010-12-03  Daiki Ueno  <ueno@unixuser.org>
1457         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1458         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
1459         (epg-context-set-passphrase-callback): Mention that the callback
1460         is not called when used with GnuPG 2.x.
1462 2010-12-02  Michael Albinus  <michael.albinus@gmx.de>
1464         * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
1465         (tramp-file-name-port): Check also for `tramp-default-port'.
1466         (tramp-get-connection-name): New defun.
1467         (tramp-get-connection-process): Use it.
1468         (tramp-debug-message): Extend function exclude list.
1469         (tramp-drop-volume-letter): Fix doc string.
1471         * net/tramp-cmds.el: Remove solved todo item.
1473         * net/tramp-efs.el:
1474         * net/tramp-ftp.el:
1475         * net/tramp-gvfs.el:
1476         * net/tramp-gw.el:
1477         * net/tramp-imap.el:
1478         * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
1479         and `tramp-default-user-alist', respectively.
1481         * net/tramp-gw.el (tramp-gw-open-connection):
1482         Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
1484         * net/tramp-imap.el (tramp-imap-make-iht): Use just
1485         `tramp-file-name-port'.
1487         * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
1488         and "psftp".  Exchange "%k" marker with options.
1489         (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
1490         Compute size of link target.
1491         (tramp-do-copy-or-rename-file-out-of-band). Move setting of
1492         `tramp-current-*' up due to gateway methods.  Optimze computing of
1493         copy arguments.  Use `tramp-get-connection-name' and
1494         `tramp-get-connection-buffer'.  Improve debug messages.
1495         (tramp-compute-multi-hops): Remove port determination.
1496         (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
1498         * net/trampver.el: Update release number.
1500 2010-12-02  Glenn Morris  <rgm@gnu.org>
1502         * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1503         Avoid infinite loop over windows.  (Bug#7492)
1505         * progmodes/flymake.el (flymake-check-file-limit):
1506         Allow nil to mean "no limit".
1507         (flymake-check-patch-master-file-buffer): Update for above change.
1508         Allow a .tex file-name extension to be optional.
1509         (flymake-master-tex-init): Also match \include statements.
1511 2010-11-30  Sam Steingold  <sds@gnu.org>
1513         * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
1514         (nxml-parent-document-set): A function to set `nxml-parent-document'.
1515         (nxml-mode): Define using `define-derived-mode' instead of `defun'.
1516         (nxml-mode-hook): Remove `defcustom' (auto-defined by
1517         define-derived-mode').
1518         * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
1519         users who want to call `nxml-parent-document-set'.
1521 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
1523         * log-edit.el (log-edit-font-lock-keywords): Don't try matching
1524         stand-alone lines, since that is handled by log-edit-match-to-eoh
1525         (Bug#6465).
1527 2010-11-27  Eduard Wiebe  <usenet@pusto.de>
1529         * dired.el (dired-get-filename): Replace backslashes with slashes
1530         in file names on MS-Windows, needed by `locate'.  (Bug#7308)
1531         * locate.el (locate-default-make-command-line): Don't consider
1532         drive letter and root directory part of
1533         `directory-listing-before-filename-regexp'.  (Bug#7308)
1534         (locate-post-command-hook, locate-post-command-hook): New defcustoms.
1536 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1538         * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
1539         of :smie-open/close-alist.
1540         (smie-next-sexp): Make it accept a "start token" as argument.
1541         (smie-indent-keyword): Be careful not to misidentify tokens that span
1542         more than one line, as empty lines.  Add argument `token'.
1544 2010-11-27  Kenichi Handa  <handa@m17n.org>
1546         * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
1547         multipart subtypes, insert all as usual.
1549         * mail/rmail.el: Require rfc2047.
1551 2010-11-27  Kenichi Handa  <handa@m17n.org>
1553         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
1554         (rmail-mime-entity-disposition)
1555         (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
1556         (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
1557         (rmail-mime-save): Handle the case that the button's `data' is a
1558         MIME entity.
1559         (rmail-mime-insert-text): New function.
1560         (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
1561         (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
1562         (rmail-mime-insert-bulk): New function mostly copied from the old
1563         rmail-mime-bulk-handler.
1564         (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
1565         (rmail-mime-process-multipart): New function mostly copied from
1566         the old rmail-mime-multipart-handler.
1567         (rmail-mime-show): Just call rmail-mime-process.
1568         (rmail-mime-process): New function mostly copied from the old
1569         rmail-mime-show.
1570         (rmail-mime-insert-multipart, rmail-mime-parse)
1571         (rmail-mime-insert, rmail-show-mime)
1572         (rmail-insert-mime-forwarded-message)
1573         (rmail-insert-mime-resent-message): New functions.
1574         (rmail-insert-mime-forwarded-message-function): Set to
1575         rmail-insert-mime-forwarded-message.
1576         (rmail-insert-mime-resent-message-function): Set to
1577         rmail-insert-mime-resent-message.
1579         * mail/rmailsum.el: Require rfc2047.
1580         (rmail-header-summary): Handle multiline Subject: field.
1581         (rmail-summary-line-decoder): Change the default to
1582         rfc2047-decode-string.
1584         * mail/rmail.el (rmail-enable-mime): Change the default to t.
1585         (rmail-mime-feature): Change the default to `rmailmm'.
1586         (rmail-quit): Delete the specifal code for rmail-enable-mime.
1587         (rmail-display-labels): Likewise.
1588         (rmail-show-message-1): Check rmail-enable-mime, and use
1589         rmail-show-mime-function for a MIME message.  Decode the headers
1590         according to RFC2047.
1592 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1594         * progmodes/which-func.el (which-func-imenu-joiner-function):
1595         Return a string, as expected.
1596         (which-function-mode): Make sure we stop any previous timer before
1597         starting a new one.
1599 2010-11-27  Michael Albinus  <michael.albinus@gmx.de>
1601         * net/tramp.el (tramp-default-method-alist)
1602         (tramp-default-user-alist, tramp-default-proxies-alist):
1603         Adapt custom options type.  (Bug#7445)
1605 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
1607         * progmodes/python.el: Add Ipython support (Bug#5390).
1608         (python-shell-prompt-alist)
1609         (python-shell-continuation-prompt-alist): New options.
1610         (python--set-prompt-regexp): New function.
1611         (inferior-python-mode, run-python, python-shell):
1612         Require ansi-color.  Use python--set-prompt-regexp to set the comint
1613         prompt based on the Python interpreter.
1614         (python--prompt-regexp): New var.
1615         (python-check-comint-prompt)
1616         (python-comint-output-filter-function): Use it.
1617         (run-python): Use a pipe (Bug#5694).
1619 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
1621         * progmodes/python.el (run-python): Doc fix.
1622         (python-keep-current-directory-in-path): New var (Bug#7454).
1624 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
1626         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1627         Prompt user before actually printing.
1629 2010-11-27  Glenn Morris  <rgm@gnu.org>
1631         * startup.el (package-enable-at-startup, package-initialize):
1632         Remove unnecessary declarations.
1634 2010-11-27  Eli Zaretskii  <eliz@gnu.org>
1636         * international/characters.el (glyphless-char-display-control):
1637         Exclude newline and TAB from the c0-control group.
1639 2010-11-27  Glenn Morris  <rgm@gnu.org>
1641         * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
1642         (expand-mail-aliases): Remove unnecessary autoload.
1644         * allout.el (allout-command-prefix, allout-mode-map): Declare.
1646         * shell.el (shell-dir-cookie-re): Move definition before use.
1648         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1649         Replace undefined CL functions.
1651 2010-11-26  Eli Zaretskii  <eliz@gnu.org>
1653         * simple.el (prog-mode): Set bidi-paragraph-direction to
1654         left-to-right.
1656         * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
1658 2010-11-26  Glenn Morris  <rgm@gnu.org>
1660         * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
1661         diary-outlook-formats can be sensitive to calendar-date-style.
1662         (diary-outlook-formats): Simplify the default setting.
1663         (diary-from-outlook-internal): Pass subject and body as arguments.
1664         Use dolist rather than dotimes.  Don't save the diary buffer.
1665         (diary-from-outlook-gnus, diary-from-outlook-rmail):
1666         Pass subject and body as explicit arguments to the -internal function.
1668 2010-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1670         * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
1671         parsing them.  This makes mailto:...?subject=foo\nbar work.
1673 2010-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1675         * vc/diff.el (diff): Fix last change.
1677 2010-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1679         * emacs-lisp/pcase.el: Improve pcase-let.  Use "pcase--" prefix.
1680         (pcase--dontcare-upats): New var.
1681         (pcase-let, pcase-let*): Generate better code.
1682         Accept the same bodies as `let'.
1683         (pcase-dolist): New macro.
1684         (pcase--trivial-upat-p): New helper function.
1685         (pcase--expand): Strip leading "(let nil" if any.
1687 2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1689         * mail/mailclient.el (browse-url): Require.
1690         (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
1691         use the external browser function to send the mail (bug#7469).
1693         * net/browse-url.el (browse-url-browser-function): Revert the
1694         default back to the previous value, since the new value broke
1695         mailclient.el.
1696         (browse-url-mailto-function): New variable for mailto: URLs.
1697         (browse-url): Use the new variable for mailto: URLs.
1699 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1701         * eshell/esh-cmd.el (eshell-parse-command):
1702         * eshell/esh-arg.el (eshell-parse-arguments):
1703         * eshell/em-script.el (eshell-source-file):
1704         Use with-silent-modifications.
1706 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
1708         * vc/vc.el (vc-merge): Remove optional arg PROMPT.  Always prompt
1709         for a merge location.
1711         * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
1712         (vc-bzr-merge-branch): Always prompt.
1713         (vc-bzr-async-command): Use the full branch filename.
1715 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1717         * shell.el (shell): Use current-buffer by default if it's already
1718         a shell mode buffer and its process is dead.
1719         Suggested by Jose E. Marchesi <jemarch@gnu.org>.
1721 2010-11-23  Tassilo Horn  <tassilo@member.fsf.org>
1723         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1724         Mention that the keywords should be comma separated.
1726 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
1728         * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
1729         Accept optional prefix arg meaning to prompt for a command.
1730         (vc-update): Use vc-BACKEND-pull if available.  Accept optional
1731         prefix arg meaning to prompt for a command.
1732         (vc-pull): Alias for vc-update.
1734         * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
1735         (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
1736         (vc-bzr-merge-branch): New functions, implementing merge-branch
1737         and pull operations.
1739 2010-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1741         * Makefile.in: Fix up last merge.
1743         * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
1744         (diff-sentinel): Get them as arguments instead.
1745         (diff-old-file, diff-new-file, diff-extra-args): Remove.
1746         (diff-file-local-copy, diff-better-file-name): New funs.
1747         (diff-no-select): Rename from diff-into-buffer.
1748         Support buffers additionally to files.  Move `buf' arg.  Don't display buf.
1749         Prefer closures to buffer-local variables.
1750         (diff): Adjust accordingly.
1751         (diff-buffer-with-file): Move from files.el.
1752         * files.el (diff-buffer-with-file): Move to vc/diff.el.
1753         (diff-buffer-internal): Remove.
1754         (diff-buffer-buffer): Remove.
1755         (save-some-buffers-action-alist): Use diff-no-select so as not to guess
1756         the buffer name used, and so as not to mess up windows and frames.
1758 2010-11-22  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
1760         * files.el: Make revert work with diff-buffer-with-file (bug#7277).
1761         (diff-buffer-internal): New function extracted from diff-buffer-with-file
1762         (diff-buffer-with-file): Use it.
1763         * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
1764         (diff): Use it.
1766 2010-11-22  Tassilo Horn  <tassilo@member.fsf.org>
1768         * textmodes/reftex-ref.el (reftex-goto-label): Use the current
1769         \ref's or \pageref's value as default instead of initial input.
1771 2010-11-21  Michael Albinus  <michael.albinus@gmx.de>
1773         * files.el (backup-by-copying-when-mismatch): The default value is
1774         now t.
1776         * startup.el (normal-top-level):
1777         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
1778         `backup-by-copying-when-mismatch'.
1780 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
1782         * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
1784 2010-11-21  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1786         * progmodes/python.el (python-font-lock-keywords):
1787         Highlight top-level augmented assignments (Bug#6445).
1789 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
1791         * term/ns-win.el (ns-right-control-modifier)
1792         (ns-right-command-modifier): Defvar them.
1794         * cus-start.el (all): Add ns-right-control-modifier and
1795         ns-right-command-modifier (Bug#7458).
1797 2010-11-20  Glenn Morris  <rgm@gnu.org>
1799         * emacs-lisp/authors.el (authors-ignored-files)
1800         (authors-valid-file-names, authors-renamed-files-alist): Add entries.
1802 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
1804         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
1805         (report-emacs-bug-parse-query-results)
1806         (report-emacs-bug-create-existing-bugs-buffer): Pass through
1807         keywords used for querying the bug database to show them in the
1808         existing bugs buffer.
1810 2010-11-20  Jan Djärv  <jan.h.d@swipnet.se>
1812         * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
1814         * info.el (info-tool-bar-map): Add some :vert-only keywords.
1816 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
1818         * international/characters.el (glyphless-char-display-control):
1819         Make it a defcustom, with update-glyphless-char-display as its
1820         :set attribute.
1821         (top level): Don't call update-glyphless-char-display.
1823 2010-11-20  Michael Albinus  <michael.albinus@gmx.de>
1825         Sync with Tramp 2.2.0.
1827         * net/tramp.el (tramp-handle-insert-file-contents): Don't use
1828         `file-remote-p' (due to compatibility).
1830         * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
1831         (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
1833         * net/trampver.el: Update release number.
1835 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
1837         * faces.el (glyphless-char): Define value for `pc'.
1839 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
1841         Implemented a bug querying mechanism.
1842         * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
1843         (report-emacs-bug-create-existing-bugs-buffer)
1844         (report-emacs-bug-parse-query-results)
1845         (report-emacs-bug-query-existing-bugs): New functions.
1847 2010-11-19  Tassilo Horn  <tassilo@member.fsf.org>
1849         * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
1850         a \ref{} or \pageref{} macro, then use its value as initial input.
1852 2010-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
1854         * calc/calc-units.el (math-build-units-table-buffer):
1855         calc/README: Mention that the TeX specific units won't use the
1856         `tex' prefix in TeX mode.
1857         calc/calc-lang.el (math-variable-table): Don't use the `tex'
1858         prefix for units in TeX mode.
1860 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1862         * simple.el (kill-new, kill-append, kill-region):
1863         * comint.el (comint-kill-region): Make the yank-handler argument
1864         obsolete.
1866 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1868         * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
1869         that are both openers (resp. closers) and something else.
1870         (smie-grammar): Loosen definition of valid values.
1871         (smie-next-sexp, smie-down-list, smie-blink-matching-open)
1872         (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
1873         (smie-indent-after-keyword): Adjust users.
1874         (smie-indent-keyword): Don't indent empty lines.
1876         * vc-hg.el (vc-hg-program): New var.
1877         Suggested by Norman Gray <norman@astro.gla.ac.uk>.
1878         (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
1880 2010-11-18  Glenn Morris  <rgm@gnu.org>
1882         * emacs-lisp/autoload.el (autoload-find-destination): The function
1883         coding-system-eol-type may return non-numeric values.  (Bug#7414)
1885 2010-11-18  Ulrich Mueller  <ulm@gentoo.org>
1887         * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
1889 2010-11-18  Eli Zaretskii  <eliz@gnu.org>
1891         * subr.el (posn-col-row): Pay attention to header line.  (Bug#7390)
1893 2010-11-18  Chong Yidong  <cyd@stupidchicken.com>
1895         * textmodes/picture.el (picture-mouse-set-point): Don't use
1896         posn-col-row; explicitly compute the motion based on the posn at
1897         the window-start (Bug#7390).
1899 2010-11-18  Glenn Morris  <rgm@gnu.org>
1901         * novice.el (disabled-command-function):
1902         Fix 2009-11-15 change.  (Bug#7384)
1904 2010-11-18  Glenn Morris  <rgm@gnu.org>
1906         * calendar/calendar.el (diary-iso-date-forms): Make elements
1907         mutually exclusive.  (Bug#7377)
1909 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1911         * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
1912         when filling the remaining "unconstrained" values.
1914 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1916         * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
1917         safety predicate.
1919         * files.el (safe-local-variable-p): Gracefully handle errors.
1921         * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
1922         Use smie-indent-virtual when indenting relative to an opener.
1923         (smie-rule-separator): Use smie-rule-parent.
1924         (smie-indent-keyword): Consult rules, even for openers at bol.
1925         (smie-indent-comment-close): Try to align closer's content.
1927 2010-11-18  Glenn Morris  <rgm@gnu.org>
1929         * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
1931 2010-11-18  Glenn Morris  <rgm@gnu.org>
1933         * printing.el (pr-menu-bind): Doc fix.
1935         * speedbar.el (speedbar-toggle-images): Doc fix.
1937         * progmodes/python.el (python-shell): Doc fix.
1939         * wid-edit.el (widget-field-use-before-change)
1940         (widget-use-overlay-change): Doc fixes.
1942 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1944         Minor cleanup to improve style.
1945         * textmodes/rst.el (rst-update-section): Use point-marker.
1946         (rst-get-decoration): Eliminate unneeded assignment.
1947         (rst-promote-region, rst-straighten-decorations)
1948         (rst-section-tree, rst-adjust): Use point-marker.
1949         (rst-toc-mode-mouse-goto): Avoid setq.
1950         (rst-shift-region-guts, rst-shift-region-left)
1951         (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
1952         (rst-convert-bullets-to-enumeration): Use copy-marker.
1954         * minibuffer.el (completion-fail-discreetly): New var.
1955         (completion--do-completion): Use it.
1957         * electric.el (electric-pair-pairs): New var.
1958         (electric-pair-post-self-insert-function): Use it.
1959         (electric-layout-post-self-insert-function): Don't insert a before
1960         newline unless it's actually needed.
1962 2010-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1964         * progmodes/python.el (run-python): Explain why we remove the current
1965         directory from sys.path.  Suggested by Eric Hanchrow <erich@cozi.com>.
1967         * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
1969 2010-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1971         * progmodes/octave-mod.el: Rely on elecric-*-modes.
1972         (octave-mode-map): Don't bind ;, SPC, and LF.
1973         (octave-auto-indent, octave-auto-newline): Remove.
1974         (electric-layout-rules): Declare.
1975         (octave-mode): Set electric-layout-rules.
1976         (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
1977         (octave-reindent-then-newline-and-indent, octave-electric-semi)
1978         (octave-electric-space): Remove.
1980         * electric.el (electric-layout-mode): New minor mode.
1981         (electric--after-char-pos): New function.
1982         (electric-indent-post-self-insert-function): Use it.
1983         (electric-layout-rules): New var.
1984         (electric-layout-post-self-insert-function): New function.
1985         (electric-indent-mode): Make them interact better.
1987 2010-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1989         * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
1990         (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
1991         (checkdoc-proper-noun-region-engine): Use with-syntax-table.
1993 2010-11-15  Agustín Martín  <agustin.martin@hispalinux.es>
1995         * textmodes/flyspell.el (flyspell-generic-progmode-verify):
1996         Make sure to check inside the word (Bug#6761).
1998 2010-11-14  Chong Yidong  <cyd@stupidchicken.com>
2000         * startup.el (command-line): If the cursorColor resource is set,
2001         change the cursor face-spec (Bug#7392).
2003 2010-11-13  Ken Manheimer  <ken.manheimer@gmail.com>
2005         The main features of the following allout.el changes are:
2006         - implement user customization for the allout key bindings
2007         - add a customization control by which the user can inhibit use of
2008           a trailing Ctrl-H, so by default it's reserved for use with
2009           describe-prefix-bindings
2010         - adapt to new version of called-interactively-p, while
2011           maintaining backwards compatibility with old version
2012         - fix hotspot navigation so i works properly with meta-modified keys
2014         * allout.el (allout-keybindings, allout-bind-keys)
2015         (allout-keybindings-binding, allout-prefixed-keybindings)
2016         (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
2017         (allout-keybindings-list, allout-mode-map-adjustments)
2018         (allout-setup-mode-map): Establish allout-mode keymaps as user
2019         customizable settings, and also establish a customizable setting which
2020         regulates whether or not a trailing control-h is reserved for use with
2021         describe-prefix-bindings - and inhibit it by default, so that control-h
2022         *is* reserved for describe-prefix-bindings unless the user changes it.
2024         * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
2025         and accurately between modified and unmodified events, and handle
2026         modified events more comprehensively.
2028         * allout.el (allout-substring-no-properties):
2029         Alias to use or provide version of `substring-no-properties'.
2030         (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
2032         * allout.el (allout-next-single-char-property-change):
2033         Alias to use or provide version of `next-single-char-property-change'.
2034         (allout-annotate-hidden, allout-hide-by-annotation):
2035         Use `allout-next-single-char-property-change'.
2037         * allout.el (allout-select-safe-coding-system):
2038         Alias to use or provide version of `select-safe-coding-system'.
2039         (allout-toggle-subtree-encryption):
2040         Use `allout-select-safe-coding-system'.
2042         * allout.el (allout-set-buffer-multibyte):
2043         Alias to use or provide version of `set-buffer-multibyte'.
2044         (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
2046         * allout.el (allout-called-interactively-p): Macro for using the
2047         different versions of called-interactively-p identically, depending on
2048         the subroutine's argument signature.
2049         (allout-back-to-current-heading, allout-beginning-of-current-entry):
2050         Use `(interactive "p")' instead of `(called-interactively-p)'.
2052         * allout.el (allout-init, allout-ascend, allout-end-of-level)
2053         (allout-previous-visible-heading, allout-forward-current-level)
2054         (allout-backward-current-level, allout-show-children):
2055         Use `allout-called-interactively-p' instead of `called-interactively-p'.
2057         * allout.el (allout-before-change-handler):
2058         Exempt edits to the (overlaid) character after the allout outline
2059         bullet from edit confirmation prompt.
2061         * allout.el (allout-add-resumptions):
2062         Ensure that it respects correct buffer for keybindings.
2064         * allout.el (allout-beginning-of-line):
2065         Use `allout-previous-single-char-property-change' alias for the sake of
2066         diverse compatibility.
2068         * allout.el (allout-end-of-line):
2069         Use `allout-mark-active-p' to encapsulate respect for mark activity.
2071 2010-11-13  Chong Yidong  <cyd@stupidchicken.com>
2073         * frame.el (frame-notice-user-settings): Don't clobber other
2074         user-set parameters when calling face-set-after-frame-default in
2075         response to background-color parameter (Bug#7373).
2077 2010-11-13  Eli Zaretskii  <eliz@gnu.org>
2079         * international/characters.el (glyphless-char-display-control):
2080         Rename from glyphless-char-control; all users changed.  Doc fix.
2081         Signal an error if display method is not one of the recognized
2082         symbols.
2084 2010-11-13  Michael Albinus  <michael.albinus@gmx.de>
2086         * net/tramp-compat.el (tramp-compat-line-beginning-position)
2087         (tramp-compat-line-end-position): Remove them.
2089         * net/tramp.el (tramp-parse-rhosts-group)
2090         (tramp-parse-shosts-group, tramp-parse-sconfig-group)
2091         (tramp-parse-hosts-group, tramp-parse-passwd-group)
2092         (tramp-parse-netrc-group, tramp-parse-putty-group)
2093         * net/tramp-cmds.el (tramp-append-tramp-buffers)
2094         * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
2095         (tramp-sh-handle-file-selinux-context)
2096         (tramp-sh-handle-file-name-all-completions)
2097         (tramp-sh-handle-insert-directory)
2098         (tramp-sh-handle-expand-file-name, tramp-find-executable)
2099         (tramp-wait-for-output, tramp-send-command-and-read)
2100         * net/tramp-smb.el (tramp-smb-read-file-entry)
2101         (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
2103         * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
2104         `point-at-bol'.
2105         (tramp-remote-coding-commands): Add an alternative using "base64
2106         -d -i".  This is needed for older base64 versions from GNU
2107         coreutils.  Reported by Klaus Reichl
2108         <Klaus.Reichl@thalesgroup.com>.
2110 2010-11-13  Hrvoje Niksic  <hniksic@xemacs.org>
2112         * simple.el (count-words-region): New function.
2114 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2116         * shell.el (shell-dir-cookie-re): New custom variable.
2117         (shell-dir-cookie-watcher): New function.
2119         * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
2120         and compilation-mode (bug#7350).
2122         * vc/smerge-mode.el (smerge-refine): Choose better default part to
2123         highlight when one of them is empty.
2125         * skeleton.el (skeleton-read): Don't use `newline' since it may strip
2126         trailing space.
2127         (skeleton-newline): New function.
2128         (skeleton-internal-1): Use it.
2130         * simple.el (open-line): `newline' may strip trailing space.
2132 2010-11-12  Kevin Ryde  <user42@zip.com.au>
2134         * international/mule-cmds.el (princ-list): Use mapc.
2136 2010-11-12  Glenn Morris  <rgm@gnu.org>
2138         * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
2139         Use it to replace all instances of "*Compile-Log*"
2141 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2143         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
2144         indentation specs.
2146 2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2148         * progmodes/modula2.el: Use SMIE and skeleton.
2149         (m2-mode-syntax-table): (*..*) can be nested.
2150         Add //...\n.  Fix paren syntax.
2151         (m2-mode-map): Remove LF and TAB bindings.
2152         (m2-indent): Add safety property.
2153         (m2-smie-grammar): New var.
2154         (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
2155         (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
2156         (m2-mode): Use define-derived-mode.
2157         (m2-newline, m2-tab): Remove.
2158         (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
2159         (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
2160         (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
2161         (m2-import): Use define-skeleton.
2163 2010-11-11  Glenn Morris  <rgm@gnu.org>
2165         * obsolete/lucid.el: Don't warn about any CL functions in this file.
2167         * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
2168         (ls-lisp-verbosity): Add custom :set-after property.
2169         (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
2170         (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
2171         (ls-lisp-insert-directory): Update caller.
2172         (ls-lisp-set-options): New function.
2173         (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
2174         Doc fix.
2176         * play/landmark.el (lm-prompt-for-move):
2177         * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
2179         * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
2181         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
2182         (idlwave-study-twins): Prefix dynamic local variable `name'.
2183         (idlwave-routine-twin-compare): Update for above change.
2185         * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
2186         Prefix dynamic local variables `name', `kwd', and `link'.
2187         * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
2188         * progmodes/idlw-complete-structtag.el
2189         (idlwave-complete-structure-tag-help):
2190         * progmodes/idlwave.el (idlwave-complete-sysvar-help)
2191         (idlwave-complete-sysvar-tag-help)
2192         (idlwave-complete-class-structure-tag-help):
2193         Update for above name changes.
2195 2010-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2197         * net/browse-url.el (browse-url-browser-function): Change the
2198         default to use `browse-url-mail' on mailto: URLs.
2200 2010-11-10  Chong Yidong  <cyd@stupidchicken.com>
2202         * emacs-lisp/package.el (package-read-all-archive-contents):
2203         Reset package-archive-contents to nil before re-reading.
2205 2010-11-10  Brandon Craig Rhodes  <brandon@rhodesmill.org>  (tiny change)
2207         * textmodes/flyspell.el (flyspell-word): Do not re-check words
2208         already found as misspellings by (flyspell-large-region), just
2209         do highlighting (bug#7322).
2211 2010-11-10  Glenn Morris  <rgm@gnu.org>
2213         * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
2215         * emulation/edt.el (edt-with-position): New macro.
2216         (edt-find-forward, edt-find-backward, edt-find-next-forward)
2217         (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
2218         (edt-paragraph-forward, edt-paragraph-backward): Use it.
2220         * emulation/tpu-extras.el (tpu-with-position): New macro.
2221         (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
2223         * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
2225         * textmodes/texnfo-upd.el (texinfo-all-menus-update)
2226         (texinfo-menu-copy-old-description, texinfo-start-menu-description)
2227         (texinfo-master-menu, texinfo-insert-node-lines)
2228         (texinfo-multiple-files-update):
2229         * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
2230         Use line-beginning-position.
2232         * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
2233         No recent Emacs supports system-type `emx'.
2235         * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
2236         (ada-command-separator, ada-default-prj-properties)
2237         (ada-find-any-references): Update for above name change.
2239         * dirtrack.el (dirtrack-directory-function)
2240         (dirtrack-canonicalize-function):
2241         * filecache.el (file-cache-completion-ignore-case)
2242         (file-cache-case-fold-search, file-cache-ignore-case):
2243         * term.el (serial-port-is-file-p): Cosmetic change.
2245         * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
2246         Remove non-existent `windows-95' system-type.
2247         * dired.el (dired-chown-program): Remove non-existent `linux'
2248         system-type.
2250         * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
2251         (ping-program-options): Remove non-existent `linux' system-type.
2253         * startup.el (package-initialize): Update declaration.
2255         * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
2256         (ls-lisp-handle-switches): Use time-less-p.
2257         (ls-lisp-format-time): Use float-time.
2259         * textmodes/remember.el (remember-time-to-seconds): Remove.
2260         (remember-store-in-mailbox): Use float-time.
2262         * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
2264         * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
2265         never a real function.
2266         (with-no-warnings): Remove compat stub, now unused.
2267         (time-less-p): Doc fix.
2268         (time-to-number-of-days): Simplify.
2270         * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
2271         Remove.
2272         (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
2273         * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
2274         * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
2275         * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
2276         * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
2278         * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
2279         (eshell-shuffle-files, eshell-shorthand-tar-command)
2280         (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
2281         Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
2282         * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
2283         Prefix dynamic local variable `matches'.
2285         * skeleton.el (skeleton-internal-list, skeleton-internal-1):
2286         Prefix dynamic local variable `skeleton'.
2288 2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
2290         * net/browse-url.el (browse-url-mail): Insert body part of mailto url
2291         in mail buffer; make yank-action always a command that yanks original
2292         buffer.
2294 2010-11-09  Glenn Morris  <rgm@gnu.org>
2296         * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
2298 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2300         * minibuffer.el (minibuffer-completion-help): Specify the end of the
2301         completion field (bug#7211).
2303         * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
2304         Fix handling of backslash escapes.
2305         (python-quote-syntax): Adjust accordingly.
2307 2010-11-09  Richard Levitte  <richard@levitte.org>  (tiny change)
2309         * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
2310         (vc-mtn-workfile-branch): Adjust to new output format.
2312 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2314         * international/mule-cmds.el (princ-list): Mark as obsolete.
2316 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2318         * emacs-lisp/smie.el: New package.
2320 2010-11-09  Michael Albinus  <michael.albinus@gmx.de>
2322         * files.el (backup-by-copying-when-mismatch):
2323         Set `permanent-local' property.
2325         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2326         `permanent-local' property for `backup-by-copying-when-mismatch'.
2328 2010-11-09  Eli Zaretskii  <eliz@gnu.org>
2330         * ls-lisp.el (insert-directory): Doc fix.  (bug#7285)
2332 2010-11-09  Wilson Snyder  <wsnyder@wsnyder.org>
2334         * progmodes/verilog-mode.el (verilog-insert-one-definition)
2335         (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
2336         AUTOINOUT for SV style multidimensional arrays, bug294.
2337         Reported by Eric Mastromarchi.
2338         (verilog-preprocess): Use with-current-buffer and
2339         font-lock-fontify-buffer to cleanup style issues.
2341 2010-11-09  Glenn Morris  <rgm@gnu.org>
2343         * locate.el (locate, locate-mode): Doc fixes.
2345 2010-11-09  Chong Yidong  <cyd@stupidchicken.com>
2347         * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
2348         user for confirmation.
2349         (server-force-stop): Use it.
2350         (server-start): Use server-force-stop for kill-emacs-hook, to
2351         avoid user interaction while killing Emacs.
2353 2010-11-09  Glenn Morris  <rgm@gnu.org>
2355         * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
2356         (meta-indent-line): Simplify.
2358         * vc/emerge.el (emerge-line-number-in-buf):
2359         * textmodes/ispell.el (ispell-region):
2360         * textmodes/fill.el (current-fill-column):
2361         * progmodes/xscheme.el (xscheme-send-current-line):
2362         * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
2363         * progmodes/tcl.el (tcl-hairy-scan-for-comment):
2364         * progmodes/sh-script.el (sh-handle-prev-do):
2365         * progmodes/meta-mode.el (meta-indent-line):
2366         * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
2367         (idlwave-in-quote):
2368         * progmodes/idlw-shell.el (idlwave-shell-current-frame)
2369         (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
2370         * progmodes/fortran.el (fortran-looking-at-if-then):
2371         * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
2372         * progmodes/cperl-mode.el (cperl-sniff-for-indent)
2373         (cperl-find-pods-heres):
2374         * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
2375         * net/quickurl.el (quickurl-list-insert):
2376         * net/ldap.el (ldap-search-internal):
2377         * net/eudc.el (eudc-expand-inline):
2378         * mail/sendmail.el (sendmail-send-it):
2379         * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
2380         * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
2381         (viper-brac-function):
2382         * calc/calc-yank.el (calc-do-grab-region):
2383         * calc/calc-keypd.el (calc-keypad-press):
2384         * term.el (term-move-columns, term-insert-spaces):
2385         * speedbar.el (speedbar-highlight-one-tag-line):
2386         * simple.el (current-word):
2387         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
2388         * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
2389         (Info-scroll-down):
2390         * hippie-exp.el (he-line-beg):
2391         * epa.el (epa--marked-keys):
2392         * dired-aux.el (dired-kill-line, dired-do-kill-lines)
2393         (dired-update-file-line, dired-add-entry, dired-remove-entry)
2394         (dired-relist-entry):
2395         * buff-menu.el (Buffer-menu-buffer):
2396         * array.el (current-line):
2397         * allout.el (allout-resolve-xref)
2398         (allout-latex-verbatim-quote-curr-line):
2399         Replace yet more uses of end-of-line etc with line-end-position, etc.
2401 2010-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2403         * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
2404         (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
2405         (checkdoc-syntax-table): Initialize in the declaration.
2406         (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
2407         the mode on unconditionally.
2409         * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
2410         (extent-end-position, extent-start-position): Remove setf method for
2411         non-existing functions (bug#7319).
2413 2010-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2415         * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
2416         (smie-precs->prec2): Rename from smie-precs-precedence-table.
2417         (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
2418         (smie-prec2->grammar): Rename from smie-prec2-levels.
2419         (smie-grammar): Rename from smie-op-levels.
2420         (smie-indent--hanging-p): Rename from smie-hanging-p.
2421         (smie-rule-hanging-p): New alias.
2422         (smie-indent--bolp): Rename from smie-bolp.
2423         (smie-indent--hanging-p): New alias.
2424         (smie--token): New dynamically bound variable.
2425         (smie-indent--parent): New function.
2426         (smie-rule-parent-p): Use it; rename from smie-parent-p.
2427         (smie-rule-next-p): Rename from smie-next-p.
2428         (smie-rule-prev-p): Rename from smie-prev-p.
2429         (smie-rule-sibling-p, smie-rule-parent)
2430         (smie-indent--separator-outdent, smie-rule-separator): New functions.
2431         (smie-rule-separator-outdent): New var.
2432         (smie-indent--rule): Merge with smie-indent--column.
2433         (smie-indent-forward-token, smie-indent-backward-token):
2434         Also recognize close parens.
2435         (smie-indent-keyword): Don't use smie-indent--column any more.
2436         (smie-indent-after-keyword): Ignore closers by default.
2437         (smie-indent-line): Use with-demoted-errors.
2438         * progmodes/octave-mod.el (octave-smie-grammar):
2439         Rename from octave-smie-op-levels.
2440         (octave-smie-rules): Adjust to new behavior.
2441         * progmodes/prolog.el (prolog-smie-grammar):
2442         Rename from prolog-smie-op-levels.
2444 2010-11-07  Glenn Morris  <rgm@gnu.org>
2446         * eshell/esh-util.el (subst-char-in-string)
2447         (directory-files-and-attributes): These compatibility definitions are
2448         not needed on any version of Emacs since at least 21.4.
2450         * progmodes/verilog-mode.el (verilog-get-beg-of-line)
2451         (verilog-get-end-of-line): Remove.
2452         (verilog-within-string, verilog-re-search-forward-substr)
2453         (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
2454         (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
2455         Use point-at-bol, point-at-eol.
2456         * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
2457         Remove.
2458         (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
2459         (electric-pascal-terminate-line, pascal-set-auto-comments)
2460         (pascal-indent-paramlist, pascal-indent-declaration)
2461         (pascal-get-lineup-indent, pascal-func-completion)
2462         (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
2463         Use point-at-bol, point-at-eol.
2464         * progmodes/flymake.el (flymake-line-beginning-position)
2465         (flymake-line-end-position): Remove.
2466         (flymake-highlight-line): Use point-at-bol, point-at-eol.
2467         * eshell/esh-util.el (line-end-position, line-beginning-position):
2468         Remove compat definitions.
2470         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2471         Use end-of-line N.
2472         (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
2473         Use line-end-position.
2475         * emacs-lisp/chart.el (chart-zap-chars):
2476         * play/decipher.el (decipher-set-map):
2477         * progmodes/ada-mode.el (ada-get-current-indent)
2478         (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
2479         * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
2480         * progmodes/ada-xref.el (ada-initialize-runtime-library)
2481         (ada-get-all-references):
2482         * progmodes/cperl-mode.el (cperl-electric-paren)
2483         (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
2484         (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
2485         (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
2486         (cperl-word-at-point-hard):
2487         * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
2488         (idlwave-shell-filename-string, idlwave-shell-batch-command)
2489         (idlwave-shell-display-line):
2490         * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
2491         (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
2492         * progmodes/js.el (js--re-search-forward-inner)
2493         (js--re-search-backward-inner):
2494         * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
2495         (vhdl-fix-clause, vhdl-compose-configuration-architecture):
2496         * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
2497         * textmodes/flyspell.el (flyspell-process-localwords):
2498         * textmodes/ispell.el (ispell-buffer-local-parsing)
2499         (ispell-buffer-local-dict, ispell-buffer-local-words):
2500         Use point-at-bol and point-at-eol.
2502         * speedbar.el (speedbar-generic-item-info)
2503         (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
2504         (speedbar-add-indicator, speedbar-check-vc-this-line)
2505         (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
2506         (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
2507         Replace more uses of end-of-line etc with line-end-position.
2509 2010-11-06  Glenn Morris  <rgm@gnu.org>
2511         * textmodes/texnfo-upd.el (texinfo-start-menu-description)
2512         (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
2513         (texinfo-delete-existing-pointers, texinfo-find-pointer)
2514         (texinfo-clean-up-node-line, texinfo-insert-node-lines)
2515         (texinfo-multiple-files-update):
2516         * textmodes/table.el (table--probe-cell-left-up)
2517         (table--probe-cell-right-bottom):
2518         * textmodes/picture.el (picture-tab-search):
2519         * textmodes/page-ext.el (pages-copy-header-and-position)
2520         (pages-directory-for-addresses):
2521         * progmodes/vera-mode.el (vera-get-offset):
2522         * progmodes/simula.el (simula-calculate-indent):
2523         * progmodes/python.el (python-pdbtrack-overlay-arrow):
2524         * progmodes/prolog.el (end-of-prolog-clause):
2525         * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
2526         * progmodes/icon.el (indent-icon-exp):
2527         * progmodes/etags.el (tag-re-match-p):
2528         * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
2529         * progmodes/ebnf2ps.el (ebnf-begin-file):
2530         * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
2531         (dcl-save-local-variable):
2532         * play/life.el (life-setup):
2533         * play/gametree.el (gametree-looking-at-ply):
2534         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
2535         * mail/sendmail.el (mail-mode-auto-fill):
2536         * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
2537         * emacs-lisp/edebug.el (edebug-overlay-arrow):
2538         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
2539         * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
2540         (woman-tab-to-tab-stop, WoMan-warn-ignored):
2541         * type-break.el (type-break-file-keystroke-count):
2542         * term.el (term-replace-by-expanded-history-before-point)
2543         (term-skip-prompt, term-extract-string):
2544         * speedbar.el (speedbar-edit-line, speedbar-expand-line)
2545         (speedbar-contract-line, speedbar-toggle-line-expansion)
2546         (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
2547         (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
2548         * sort.el (sort-skip-fields):
2549         * skeleton.el (skeleton-internal-list):
2550         * simple.el (line-move-finish, line-move-to-column):
2551         * shell.el (shell-forward-command):
2552         * misc.el (copy-from-above-command):
2553         * makesum.el (double-column):
2554         * ebuff-menu.el (electric-buffer-update-highlight):
2555         * dired.el (dired-move-to-end-of-filename):
2556         * dframe.el (dframe-popup-kludge):
2557         * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
2558         * arc-mode.el (archive-get-lineno):
2559         Use line-end-position and line-beginning-position.
2561         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
2562         (idlwave-study-twins): Prefix dynamic local `class'.
2563         (idlwave-routine-twin-compare): Update for above name change.
2565         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
2566         Use boundp tests to silence compiler.  Update for changed name of
2567         bytecomp-filename variable.
2569         * emulation/viper-cmd.el (viper-read-string-with-history):
2570         Prefix dynamic local `initial'.
2571         (viper-minibuffer-standard-hook): Update for above name change.
2573         * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
2574         (elint-init-form): Update for above name change.
2576         * mail/mail-extr.el (mail-extract-address-components): Give dynamic
2577         local variables `cbeg' and `cend' a prefix.
2578         (mail-extr-voodoo): Update for above name change.
2580         * textmodes/reftex-toc.el (reftex-toc-do-promote)
2581         (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
2582         (reftex-toc-promote-action): Doc fix.
2584         * textmodes/reftex-sel.el (reftex-select-item): Give local variables
2585         `prompt', `data' a prefix.
2586         (reftex-select-post-command-hook, reftex-select-callback)
2587         (reftex-select-mouse-accept, reftex-select-read-cite):
2588         Update for above name changes.
2590         * textmodes/reftex-ref.el (reftex-reference): Rename local variable
2591         `refstyle' to reftex-refstyle.
2592         (reftex-offer-label-menu): Update for above name change.
2593         * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
2594         `refstyle' name change.
2596         * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
2597         with with-current-buffer.
2598         (diff, template): Give dynamic local variables a prefix.
2599         (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
2600         (emerge-line-number-in-buf): Update for above name change.
2601         (emerge-combine-versions-internal): Rename local `template' to
2602         emerge-combine-template.
2603         (emerge-combine-versions-edit): Update for above name change.
2605 2010-11-06  Ralf Angeli  <angeli@caeruleus.net>
2607         * textmodes/reftex-cite.el
2608         (reftex-extract-bib-entries-from-thebibliography): Match bibitem
2609         entries with whitespace after \bibitem.
2610         (reftex-create-bibtex-file): Match entries containing numbers and
2611         symbol constituents.  Make sure that entries with whitespace at
2612         various places are found.
2614 2010-11-05  Christian Millour  <cm@abtela.com>  (tiny change)
2616         * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
2618 2010-11-05  Jan Djärv  <jan.h.d@swipnet.se>
2620         * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
2622 2010-11-05  Glenn Morris  <rgm@gnu.org>
2624         * woman.el (woman0-roff-buffer, woman1-roff-buffer)
2625         (woman2-roff-buffer): Give local variable `request' a prefix.
2626         (woman0-macro): Rename argument `request' in the same way.
2627         (woman-request): New name for `request' dynamic variable.
2628         (woman-unquote, woman-forward-arg): Update for above name change.
2629         (woman1-roff-buffer): Give local variable `unquote' a prefix.
2630         (woman1-unquote): New name for `unquote' dynamic variable.
2631         (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
2632         (woman-translations): Rename from `translations'.  No longer global.
2633         (woman2-tr, woman-translate): Update for above name change.
2634         (woman-translate): Check for bound variable.
2635         (woman2-roff-buffer): Give local variable `translations' a prefix.
2637         * play/doctor.el: Give all local variables a prefix.  Update callers.
2638         (doc$, doctor-put-meaning): Use backquote.
2640         * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
2641         (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
2643         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
2644         variables bytes, ptr, op a prefix.
2645         (disassemble-offset): Update for above change.
2647 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
2649         * emacs-lisp/package.el (package-unpack): Remove no-op.
2650         (package--builtins, package--dir): Doc fix.
2651         (package-activate-1, package-activate, package-install)
2652         (package-compute-transaction): Fix error message.
2653         (package-delete): Use delete-directory.  Omit system packages.
2654         (package-initialize): Set package-alist to nil first.
2655         (package-menu-mark-delete, package-menu-mark-install): Don't add
2656         symbols that are inconsistent with the package state.
2657         (package-menu-execute): Perform deletions and installations as
2658         single batch operations.
2660 2010-11-03  Glenn Morris  <rgm@gnu.org>
2662         * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
2663         (props): Remove unnecessary declaration.
2665         * textmodes/ispell.el (ispell-init-process): On Emacs, always use
2666         set-process-query-on-exit-flag.
2668         * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
2669         (reftex-toc-do-promote): Remove unused local `mpos'.
2670         (reftex-toc-restore-region): Make `mpos' local to this function.
2672         * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
2674         * play/landmark.el (lm-losing-threshold): Correct spelling.
2675         (lm-human-plays): Use new name.
2677         * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
2678         (gomoku-human-plays): Use new name.
2680         * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
2681         (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
2682         (gomoku-score-trans-table, gomoku-winning-threshold)
2683         (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
2685 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
2687         * emacs-lisp/package.el: Don't put built-in packages in
2688         package-alist, to avoid loading inefficiencies.
2689         (package-built-in-p): Make VERSION optional, and treat it as a
2690         minimum acceptable version.
2691         (package-activate): Search separately for built-in packages.
2692         Emit a warning if a dependency fails.
2693         (define-package): Handle most common case, where there is no
2694         obsolete package, first.
2695         (package-compute-transaction): Print required version in error.
2696         (package--initialized): New variable.
2697         (list-packages): Use it.
2698         (package-initialize): Optional arg NO-ACTIVATE.  Don't put
2699         built-in packages in packages-alist; keep it separate.
2700         Set package--initialized.
2701         (describe-package): Avoid activating packages as a side-effect.
2702         Search separately for built-in packages.
2703         (describe-package-1): Handle the case where an elpa package is
2704         simultaneously built-in and available/installed.
2705         (package-installed-p, package--generate-package-list):
2706         Search separately for built-in packages.
2707         (package-load-descriptor): Doc fix.
2709 2010-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2711         * progmodes/perl-mode.el (perl-syntax-propertize-function):
2712         Handle __DATA__ and __END__.
2714 2010-11-02  Noah Friedman  <friedman@splode.com>
2716         * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
2717         nil, do not ask to recompile files that are not already compiled,
2718         and do not recompile them.
2720 2010-11-02  Chong Yidong  <cyd@stupidchicken.com>
2722         * emacs-lisp/package.el (package-initialize): Ensure that
2723         obsoleted built-in packages are not in package-activated-list
2724         during activation.
2725         (describe-package-1): Make the "installed" status override
2726         "built-in".
2728 2010-11-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2730         * subr.el (version-separator, version-regexp-alist): Remove '*'
2731         from docstring.
2732         (version-list-<=, version<=, version=): Doc fix.
2734 2010-11-01  Kenichi Handa  <handa@m17n.org>
2736         * faces.el (glyphless-char): Inherit underline for tty.
2738 2010-11-01  Kenichi Handa  <handa@m17n.org>
2740         Implement various display methods for glyphless characters.
2742         * international/characters.el (char-acronym-table): New variable.
2743         (glyphless-char-control): New variable.
2744         (update-glyphless-char-display): New funciton.
2746         * faces.el (glyphless-char): New face.
2748 2010-11-01  Glenn Morris  <rgm@gnu.org>
2750         * calendar/holidays.el (general-holidays, oriental-holidays)
2751         (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
2752         (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
2753         the definitions of their targets.
2755         * emacs-lisp/smie.el (smie): New custom group.
2756         (smie-blink-matching-inners, smie-indent-basic): Add :group.
2758         * faces.el (xw-defined-colors, x-setup-function-keys):
2759         * mouse-sel.el (x-select-text):
2760         * term/w32console.el (x-setup-function-keys): Update declarations.
2762         * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
2764         * textmodes/ispell.el (comment-add): Declare.
2766         * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
2767         Declare.
2769         * info.el (finder-keywords-hash, package-alist): Declare.
2771 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
2773         * finder.el (finder-compile-keywords): Don't use intern-soft,
2774         since package names may not yet exist in the obarray.
2776 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
2778         * vc/vc-arch.el (vc-arch-checkin):
2779         * vc/vc-cvs.el (vc-cvs-checkin):
2780         * vc/vc-mtn.el (vc-mtn-checkin):
2781         * vc/vc-rcs.el (vc-rcs-checkin):
2782         * vc/vc-sccs.el (vc-sccs-checkin):
2783         * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
2784         since 2010-04-21 commit by Stefan Monnier.
2786 2010-11-01  Glenn Morris  <rgm@gnu.org>
2788         * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
2790         * startup.el (package-enable-at-startup, package-initialize):
2791         Silence compiler.
2793         * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
2794         Silence compiler.
2796 2010-10-31  Julien Danjou  <julien@danjou.info>
2798         * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
2799         (byte-recompile-directory):
2800         * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
2801         Use `byte-recompile-file'.
2803 2010-10-31  Glenn Morris  <rgm@gnu.org>
2805         * cus-start.el: Handle standard values via a keyword.
2806         Only set version property if specified.
2807         (cursor-in-non-selected-windows, menu-bar-mode)
2808         (tool-bar-mode, show-trailing-whitespace):
2809         Do not specify standard values.
2810         (transient-mark-mode, temporary-file-directory): Use :standard.
2812 2010-10-31  Jan Djärv  <jan.h.d@swipnet.se>
2814         * term/x-win.el (x-get-selection-value): New function that gets
2815         PRIMARY with type as specified in x-select-request-type. (Bug#6802).
2817 2010-10-31  Michael Albinus  <michael.albinus@gmx.de>
2819         * net/tramp.el (tramp-handle-insert-file-contents): For root,
2820         preserve owner and group when editing files.  (Bug#7289)
2822 2010-10-31  Glenn Morris  <rgm@gnu.org>
2824         * speedbar.el (speedbar-mode):
2825         * play/fortune.el (fortune-in-buffer, fortune):
2826         * play/gomoku.el (gomoku-mode):
2827         * play/landmark.el (lm-mode):
2828         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
2829         Replace inappropriate uses of toggle-read-only.  (Bug#7292)
2831         * select.el (x-selection): Mark it as an obsolete alias.
2833 2010-10-31  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
2835         * vc/add-log.el (find-change-log): Use derived-mode-p rather than
2836         major-mode (bug#7284).
2838 2010-10-31  Glenn Morris  <rgm@gnu.org>
2840         * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
2841         rather than just an unused variable that inherits from the real one.
2843 2010-10-31  Alan Mackenzie  <acm@muc.de>
2845         * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
2846         This fixes bug #7185.
2848 2010-10-30  Chong Yidong  <cyd@stupidchicken.com>
2850         * startup.el (command-line): Search for package directories, and
2851         don't load package.el if none are found.
2853         * emacs-lisp/package.el (describe-package, list-packages):
2854         Call package-initialize if it has not been called yet.
2856 2010-10-30  Alan Mackenzie  <acm@muc.de>
2858         * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
2859         which fontifies the tail of an enum.
2860         (c-basic-matchers-after): Insert a call to the above new function.
2861         This fixes bug #7264.
2863 2010-10-30  Glenn Morris  <rgm@gnu.org>
2865         * cus-start.el: Add :set properties for minor modes menu-bar-mode,
2866         tool-bar-mode, transient-mark-mode.  (Bug#7306)
2867         Include the :set property in the dumped Emacs.
2869 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2871         SMIE: change indent rules format, improve smie-setup.
2872         * emacs-lisp/smie.el (smie-precs-precedence-table)
2873         (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
2874         Mark them pure so the tables gets built at compile time.
2875         (smie-bnf-precedence-table): Store the closer-alist in the table.
2876         (smie-prec2-levels): Preserve the closer-alist.
2877         (smie-blink-matching-open): Be more forgiving in case of indentation.
2878         (smie-hanging-p): Rename from smie-indent--hanging-p.
2879         (smie-bolp): Rename from smie-indent--bolp.
2880         (smie--parent, smie--after): New dynamic vars.
2881         (smie-parent-p, smie-next-p, smie-prev-p): New funs.
2882         (smie-indent-rules): Remove.
2883         (smie-indent--offset-rule): Remove fun.
2884         (smie-rules-function): New var.
2885         (smie-indent--rule): New fun.
2886         (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
2887         (smie-indent-exps): Use it.
2888         (smie-setup): Setup paren blinking; add keyword args for token
2889         functions; extract closer-alist from op-levels.
2890         (smie-indent-debug-log): Remove var.
2891         (smie-indent-debug): Remove fun.
2892         * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
2893         (prolog-smie-rules): New fun to replace it.
2894         (prolog-mode-variables): Simplify.
2895         * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
2896         it's setup automatically.
2897         (octave-smie-indent-rules): Remove.
2898         (octave-smie-rules): New fun to replace it.
2899         (octave-mode): Simplify.
2901 2010-10-29  Glenn Morris  <rgm@gnu.org>
2903         * files.el (temporary-file-directory): Remove (already defined in C).
2904         * cus-start.el: Add temporary-file-directory.
2906         * abbrev.el (abbrev-mode):
2907         * composite.el (auto-composition-mode):
2908         * menu-bar.el (menu-bar-mode):
2909         * simple.el (transient-mark-mode):
2910         * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
2911         that they do not define the associated variables twice.
2912         * simple.el (transient-mark-mode): Remove defvar.
2913         * composite.el (auto-composition-mode): Make variable auto-buffer-local.
2914         * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
2915         Handle multiple groups, and also custom-delayed-init-variables.
2916         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2918 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2920         * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
2921         (pcase-if): Add one minor optimization.
2922         (pcase-split-equal): Rename from pcase-split-eq.
2923         (pcase-split-member): Rename from pcase-split-memq.
2924         (pcase-u1): Add strings to the member optimization.
2925         Add `guard' variant of predicates.
2926         (pcase-q1): Add string patterns.
2928 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2930         * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
2932 2010-10-28  Glenn Morris  <rgm@gnu.org>
2934         * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2935         Move menu-bar related settings to ../menu-bar.el.
2936         * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2937         Move ns-specific settings here from term/ns-win.el.
2939         * simple.el (x-selection-owner-p): Remove unused declaration.
2941 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2943         * minibuffer.el (completion-cycling): New var (bug#7266).
2944         (minibuffer-complete, completion--do-completion):
2945         Use completion--flush-all-sorted-completions.
2946         (minibuffer-complete): Only cycle if completion-cycling is set.
2947         (completion--flush-all-sorted-completions): Unset completion-cycling.
2948         (minibuffer-force-complete): Set completion-cycling.
2949         (completion-all-sorted-completions): Move declaration before first use.
2951 2010-10-28  Leo  <sdl.web@gmail.com>
2953         * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
2954         which changes the order of matches seen by users (bug#7231).
2956 2010-10-28  Jes Bodi Klinke  <jes@bodi-klinke.dk>  (tiny change)
2958         * progmodes/compile.el (compilation-mode-font-lock-keywords):
2959         Don't confuse -omega as "-o mega".
2961 2010-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2963         * vc/log-edit.el (log-edit-rewrite-fixes): New var.
2964         (log-edit-author): New dynamic var.
2965         (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
2966         to return the author if different from committer.
2967         (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
2969         * play/landmark.el: Adjust commenting convention.
2970         (lm-nil-score): Rename from nil-score.
2971         (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
2972         (OOOOscore): Move into a let in lm-score-trans-table.
2973         (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
2975         * electric.el (electric-indent-chars): Autoload.
2976         * progmodes/octave-mod.el (octave-mode):
2977         * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
2978         (ruby-mode-abbrev-table): Merge initialization and declaration.
2980 2010-10-27  Glenn Morris  <rgm@gnu.org>
2982         * abbrev.el (abbrev-mode): Remove one of the three definitions of this
2983         variable.
2985         * server.el (server-host, server-port, server-auth-dir): Autoload risky.
2987         * term/ns-win.el: Restore require of cl when compiling.
2988         (menu-bar-final-items): Remove non-existent `windows' menu.
2989         (ns-handle-nxopen): Optionally handle the temp-case.
2990         (ns-handle-nxopentemp): Just call ns-handle-nxopen.
2991         (ns-insert-file, ns-find-file): Use `pop'.
2993 2010-10-26  Glenn Morris  <rgm@gnu.org>
2995         * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
2997 2010-10-26  Adrian Robert  <Adrian.B.Robert@gmail.com>
2999         * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
3000         global map.
3001         * term/common-win.el (x-setup-function-keys): Remove most of the
3002         keymappings.  Comment on the remaining ones.
3004 2010-10-26  Peter Oliver  <p.d.oliver@mavit.org.uk>  (tiny change)
3006         * server.el (server-port): New option.  (Bug#854)
3007         (server-start): Use server-port.
3009 2010-10-26  Glenn Morris  <rgm@gnu.org>
3011         * term/ns-win.el (ns-version-string): Remove unused declaration.
3012         (ns-invocation-args): Change to x-invocation-args.
3013         (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
3014         (ns-handle-name-switch, ns-ignore-2-arg): Remove.
3015         (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
3016         Use x-invocation-args instead of ns-invocation-args.
3017         (ns-initialize-window-system, handle-args-function-alist):
3018         Use x-handle-args instead of ns-handle-args.
3019         * term/common-win.el (x-handle-args): Also handle nextstep arguments.
3020         * startup.el (command-line-ns-option-alist): Replace
3021         ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
3022         ns-handle-iconic with the x- equivalents.
3024         * term/common-win.el (x-select-enable-clipboard):
3025         * term/pc-win.el (x-select-enable-clipboard): Doc fix.
3027         * term/ns-win.el: No need to require cl when compiling.
3028         (x-display-name, x-setup-function-keys, x-select-text, x-colors)
3029         (xw-defined-colors): Use the common-win definitions.
3030         (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
3031         (ns-handle-iconic): Make it an alias for x-handle-iconic.
3032         * term/common-win.el (x-select-text, x-alternatives-map)
3033         (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
3034         * loadup.el [ns]: Load common-win.
3036 2010-10-26  Daiki Ueno  <ueno@unixuser.org>
3038         * epa-mail.el (epa-mail-encrypt): Handle local-part only
3039         recipients; expand mail aliases (Bug#7280).
3041 2010-10-25  Glenn Morris  <rgm@gnu.org>
3043         * term/common-win.el (x-handle-switch): Simplify with pop.
3044         Optionally handle numeric switches.
3045         (x-handle-numeric-switch): Just call x-handle-switch.
3046         (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
3047         (x-handle-name-switch, x-handle-display, x-handle-args):
3048         Simplify with pop.
3050         * term/ns-win.el: Do not require easymenu.
3051         (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
3052         <spell>: Move adjustments to menu-bar.el.
3053         * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
3054         <separator-undo, spell>: Move ns-win's adjustments here.
3055         * loadup.el [ns]: Do not load easymenu.
3057 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
3059         * image.el (image-checkbox-checked, image-checkbox-unchecked):
3060         Delete (Bug#7222).
3062         * startup.el (fancy-startup-tail): Instead of using inline images,
3063         refer to image files from etc/.
3065         * wid-edit.el (checkbox): Likewise.
3066         (widget-image-find): Center image specs.
3068 2010-10-24  Glenn Morris  <rgm@gnu.org>
3070         * term/ns-win.el (x-select-text): Doc fix.
3071         * w32-fns.el (x-alternatives-map, x-setup-function-keys)
3072         (x-select-text): Move to term/common-win.
3073         * term/w32-win.el (xw-defined-colors): Move to common-win.
3074         * term/x-win.el (xw-defined-colors, x-alternatives-map)
3075         (x-setup-function-keys, x-select-text): Move to common-win.
3076         * term/common-win.el (x-select-text, x-alternatives-map)
3077         (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
3078         definitions here.
3080 2010-10-24  T.V. Raman  <tv.raman.tv@gmail.com>  (tiny change)
3082         * net/mairix.el (mairix-searches-mode-map):
3083         * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
3085 2010-10-24  Michael McNamara  <mac@mail.brushroad.com>
3087         * verilog-mode.el (verilog-directive-re): Make this variable
3088         auto-built for efficiency of execution and updating.
3089         (verilog-extended-complete-re): Support 'pure' fucntion & task
3090         declarations (these have no bodies).
3091         (verilog-beg-of-statement): General cleanup to enable support of
3092         'pure' fucntion & task declarations (these have no bodies).
3093         These efforts together fix Verilog bug210 from veripool; which was also
3094         noticed by Steve Pearlmutter.
3095         (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
3096         (verilog-directive-nest-re, verilog-set-auto-endcomments):
3097         Support `elsif.  Reported by Shankar Giri.
3098         (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
3099         attribute handling for lining up declarations and assignments.
3100         (verilog-beg-of-statement-1): Fix issue where continued declaration
3101         is indented differently if it is after a begin..end clock.
3102         (verilog-in-attribute-p, verilog-skip-backward-comments)
3103         (verilog-skip-forward-comment-p): Support proper treatment of
3104         attributes by indent code. Reported by Jeff Steele.
3105         (verilog-in-directive-p): Fix comment to correctly describe function.
3106         (verilog-backward-up-list, verilog-in-struct-region-p)
3107         (verilog-backward-token, verilog-in-struct-p)
3108         (verilog-in-coverage-p, verilog-do-indent)
3109         (verilog-pretty-declarations): Use verilog-backward-up-list as
3110         wrapper around backward-up-list inorder to properly skip comments.
3111         Reported by David Rogoff.
3112         (verilog-property-re, verilog-endcomment-reason-re)
3113         (verilog-beg-of-statement, verilog-set-auto-endcomments)
3114         (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
3115         of if). Reported by Max Bjurling and
3116         (verilog-calc-1): Fix for clocking block in modport
3117         declaration. Reported by Brian Hunter.
3119 2010-10-24  Wilson Snyder  <wsnyder@wsnyder.org>
3121         * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
3122         (verilog-gate-keywords, verilog-read-sub-decls)
3123         (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
3124         (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
3125         AUTOINST for gate primitives, bug284.  Reported by Mark Johnson.
3126         (verilog-read-decls): Fix spaces in V2K module parameters causing
3127         mis-identification as interfaces, bug287.
3128         (verilog-read-decls): Fix not treating "parameter string" as a
3129         parameter in AUTOINSTPARAM.
3130         (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
3131         treating `elsif similar to `endif inside AUTOSENSE.
3132         (verilog-do-indent): Implement correct automatic or static task or
3133         function end comment highlight. Reported by Steve Pearlmutter.
3134         (verilog-font-lock-keywords-2): Fix highlighting of single
3135         character pins, bug264.  Reported by Michael Laajanen.
3136         (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
3137         (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
3138         (verilog-subdecls-get-interfaced, verilog-subdecls-new):
3139         Support interfaces with AUTOINST, bug270.  Reported by Luis Gutierrez.
3140         (verilog-pretty-expr): Fix interactive arguments, bug272.
3141         Reported by Mark Johnson.
3142         (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
3143         Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
3144         bug269. Suggested by Gary Delp.
3145         (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
3146         (verilog-preprocessor, verilog-set-compile-command):
3147         Create verilog-preprocess and verilog-preprocessor to show
3148         preprocessed output.
3149         (verilog-get-beg-of-line, verilog-get-end-of-line)
3150         (verilog-modi-file-or-buffer, verilog-modi-name)
3151         (verilog-modi-point, verilog-within-string): Move defmacro's
3152         before first use to avoid warning. Reported by Steve Pearlmutter.
3153         (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
3154         (verilog-colorize-region, verilog-highlight-buffer)
3155         (verilog-highlight-includes, verilog-highlight-modules)
3156         (verilog-highlight-region, verilog-mode): Rename colorize to
3157         highlight to match other packages.  Disable module highlighting,
3158         as received speed complaints, reenable for experimentation only
3159         using new verilog-highlight-modules.
3160         (verilog-read-decls): Fix regexp stack overflow in very large
3161         AUTO_TEMPLATEs, bug250.
3162         (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
3163         (verilog-scan): Create verilog-save-buffer-state to standardize
3164         making insignificant changes that shouldn't call hooks.
3165         (verilog-save-no-change-functions, verilog-save-scan-cache)
3166         (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
3167         Create verilog-save-no-change-functions to wrap verilog-scan
3168         preservation, and fix to work with nested preserved calls.
3169         (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
3170         port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
3171         generate .name with AUTOINST, bug245.  Suggested by David Rogoff.
3172         (verilog-submit-bug-report): Update variable list to be complete.
3173         (verilog-auto, verilog-colorize-region): Fix AUTO expansion
3174         breaking on-the-fly font-locking.
3175         (verilog-colorize-buffer, verilog-colorize-include-files)
3176         (verilog-colorize-include-files-buffer, verilog-colorize-region)
3177         (verilog-load-file-at-mouse, verilog-load-file-at-point)
3178         (verilog-mode, verilog-read-inst-module-matcher): With point on a
3179         AUTOINST cell instance name, middle mouse button now finds-file on
3180         it.  Suggested by Brad Dobbie.
3181         (verilog-alw-get-temps, verilog-auto-reset)
3182         (verilog-auto-sense-sigs, verilog-read-always-signals)
3183         (verilog-read-always-signals-recurse): Fix loop indexes being
3184         AUTORESET. AUTORESET now assumes any variables in the
3185         initialization section of a for() should be ignored.
3186         Reported by Dan Dever.
3187         (verilog-error-font-lock-keywords)
3188         (verilog-error-regexp-emacs-alist)
3189         (verilog-error-regexp-xemacs-alist): Fix error detection of
3190         Cadence HAL, reported by David Asher.  Repair drift between the
3191         three similar error variables.
3192         (verilog-modi-lookup, verilog-modi-lookup-cache)
3193         (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
3194         (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
3195         Fix slow verilog-auto expansion on very large files.
3196         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
3197         Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
3198         "{1*2{...".  Broke in last revision.
3199         (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
3200         submodule connections with replications "{#{a},#{b}}".
3202 2010-10-24  Juanma Barranquero  <lekktu@gmail.com>
3204         * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
3205         Fix typo in docstring.
3207 2010-10-24  Kenichi Handa  <handa@m17n.org>
3209         * face-remap.el (text-scale-adjust): Call read-event with a proper
3210         prompt.
3212 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
3214         * emacs-lisp/unsafep.el: Don't mark functions that display
3215         messages as safe.  Suggested by Johan Bockgård.
3217 2010-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3219         * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
3220         Turn comments into docstrings.
3222         * minibuffer.el (completion--replace): Move point where it belongs
3223         when there's a common suffix (bug#7215).
3225 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
3227         Merge read-color and facemenu-read-color (Bug#7242).
3229         * faces.el (read-color): Use the completion code from
3230         facemenu-read-color.  Require match in completion.  Doc fix.
3232         * facemenu.el (facemenu-read-color): Alias for read-color.
3233         (facemenu-set-foreground, facemenu-set-background):
3234         Use read-color.
3236         * frame.el (set-background-color, set-foreground-color)
3237         (set-cursor-color, set-mouse-color, set-border-color):
3238         Use read-color.
3240 2010-10-24  Leo  <sdl.web@gmail.com>
3242         * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
3243         argument of delete-file and delete-directory (Bug#7011).
3245 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
3247         * emacs-lisp/package.el (package-menu-mode-map): Inherit from
3248         button-buffer-map.
3250 2010-10-24  Ralf Angeli  <angeli@caeruleus.net>
3252         * emacs-lisp/package.el (package--generate-package-list): Make the
3253         *Packages* buffer read-only.
3255 2010-10-24  Alan Mackenzie  <acm@muc.de>
3257         * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
3258         result of `c-beginning-of-decl-1' between invocations of a lambda
3259         function (Bug #7265).
3261 2010-10-24  Daiki Ueno  <ueno@unixuser.org>
3263         * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
3264         executable is not available on the system (Bug#7268).
3266 2010-10-24  Glenn Morris  <rgm@gnu.org>
3268         * select.el (selection-coding-system, next-selection-coding-system):
3269         Sync doc with C versions.
3271         * w32-vars.el (x-select-enable-clipboard):
3272         * term/x-win.el (x-select-enable-clipboard): Move to common-win.
3273         * term/common-win.el (x-select-enable-clipboard): Move here.
3275         * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
3276         definition of C variable.
3278         * frame.el (show-trailing-whitespace, auto-hscroll-mode)
3279         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3280         Don't redefine things that are defined in C.
3281         * cus-start.el: Also handle :risky, :safe, :set, and :tag.
3282         (show-trailing-whitespace, auto-hscroll-mode)
3283         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3284         Set up the appropriate custom properties.
3286 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
3288         Bind "C-c ]" to ...
3289         * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
3290         * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
3291         * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
3292         * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
3294 2010-10-23  Glenn Morris  <rgm@gnu.org>
3296         * textmodes/flyspell.el (flyspell-mode): If there was an error,
3297         say what it was.
3299         * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
3300         Sync docs with C version.
3302         * term/ns-win.el (xw-defined-colors):
3303         * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
3305         * term/pc-win.el (x-select-enable-clipboard):
3306         * term/x-win.el (x-select-enable-clipboard):
3307         * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
3309         * comint.el (comint-password-prompt-regexp): Make it less vague.
3310         Bump version.
3312         * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
3314         * help.el (finder-by-keyword): Remove unnecessary autoload.
3316 2010-10-22  Glenn Morris  <rgm@gnu.org>
3318         * loadup.el: Unconditionally load float-sup.
3319         * paren.el (show-paren-delay):
3320         * emacs-lisp/float-sup.el:
3321         * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
3322         * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
3323         (lazy-lock-stealth-verbose): Assume float support.
3324         * ps-print.el: Assume float support on Emacs.
3325         * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
3326         Remove non-float branch.
3328         * emacs-lisp/autoload.el (batch-update-autoloads): Update for
3329         src/Makefile no longer being pre-processed.
3331 2010-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3333         * emacs-lisp/find-func.el (find-library): Use test-completion.
3335 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3337         * newcomment.el (comment-dwim): Fix the intentation in the doc string.
3339 2010-10-21  Michael Albinus  <michael.albinus@gmx.de>
3341         * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
3342         space in stat format string.
3343         (tramp-send-command): Unset $PS1 when using here documents, in
3344         order not to get several prompts.
3345         (tramp-get-inline-coding): Return `nil' in case of errors.
3347 2010-10-21  Daiki Ueno  <ueno@unixuser.org>
3349         * hexl.el (hexl-mode, hexl-mode-exit):
3350         Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
3351         (hexl-revert-buffer-function): New function.
3352         (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
3354 2010-10-19  Alan Mackenzie  <acm@muc.de>
3356         * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
3357         Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
3358         that these keywords aren't wrongly matched as identifiers.
3360         * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
3361         setting of c-new-BEG and c-new-END from c-before-change to
3362         c-after-change.  (Bug#7181)
3364 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
3366         * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
3367         Don't mark as safe.
3369         * custom.el (custom-theme-set-variables): Likewise.
3370         (load-theme): Add custom-theme-set-faces and
3371         custom-theme-set-variables to safe-functions while loading.
3372         (custom-enabled-themes): Mark as risky.
3374 2010-10-18  Julien Danjou  <julien@danjou.info>
3376         * bindings.el: Remove end dashes in default mode-line-format.
3378 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
3380         * bindings.el (global-map): Bind C-d to delete-char and deletechar
3381         to delete-forward-char.
3383         * simple.el (normal-erase-is-backspace-mode): Remap delete to
3384         deletechar, and hence delete-forward-char.
3386 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3388         * repeat.el (repeat): Use read-key (bug#6256).
3390 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
3392         * emacs-lisp/unsafep.el: Don't mark functions that display
3393         messages as safe.  Suggested by Johan Bockgård.
3395 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3397         * minibuffer.el (completion--replace): Move point where it belongs
3398         when there's a common suffix (bug#7215).
3400 2010-10-19  Kenichi Handa  <handa@m17n.org>
3402         * international/characters.el: Add category '|' (word breakable)
3403         to fullwidth characters.
3405 2010-10-19  Michael Albinus  <michael.albinus@gmx.de>
3407         * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
3408         (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
3409         order to make stat results a float.  Patch by Andreas Schwab
3410         <schwab@linux-m68k.org>.
3412 2010-10-18  Julien Danjou  <julien@danjou.info>
3414         * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
3415         hidden by `make-pointer-invisible'.
3417 2010-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3419         * files.el (locate-file-completion-table): Strip non-matching elements
3420         before checking length of list (bug#7238).
3422 2010-10-18  Chong Yidong  <cyd@stupidchicken.com>
3424         * custom.el (custom-theme-set-variables): Mark as a safe function.
3425         (load-theme): Check forms using unsafep.
3427         * cus-face.el (custom-theme-set-faces): Mark as a safe function.
3429 2010-10-17  Agustín Martín  <agustin.martin@hispalinux.es>
3431         * textmodes/ispell.el (ispell-aspell-find-dictionary):
3432         Fix aspell data file searching (bug#7230).
3434 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
3436         * cus-theme.el (custom-theme--migrate-settings): New var.
3437         (customize-create-theme): Allow editing the `user' theme.
3438         (custom-theme-add-variable, custom-theme-add-var-1)
3439         (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
3440         to the front of each variable or face widget.
3441         (custom-theme-write): Save theme settings in the correct order.
3442         Optionally, remove saved settings from user customizations.
3443         (custom-theme-write-variables, custom-theme-write-faces):
3444         Save only the checked widgets.
3445         (customize-themes): Add a link for migrating custom settings.
3447         * custom.el (custom-declare-theme, provide-theme):
3448         Use custom-theme-name-valid-p.
3449         (custom-theme-name-valid-p): Remove checks that are now
3450         unnecessary since themes no longer obey load-path.
3452         * cus-edit.el (custom-variable-value-create): For the simple
3453         style, hide documentation string when hidden.
3455 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
3457         * cus-edit.el (custom-variable, custom-face): Combine the
3458         :inhibit-magic and :display-style properties into a single
3459         :custom-style property.
3460         (custom-toggle-hide-variable, custom-toggle-hide-face):
3461         New functions.  If hiding an edited value, save it to :shown-value.
3462         (custom-variable-value-create, custom-face-value-create): Use them.
3463         (custom-magic-reset): Allow magic property to be unset.
3465         * custom.el: Custom themes no longer use load-path.
3466         (custom-theme-load-path): New option.  Change built-in theme
3467         directory to etc/.
3468         (custom-enabled-themes): Add custom-theme-load-path dependency.
3469         (custom-theme--load-path): New function.
3470         (load-theme, custom-available-themes): Use it.
3472         * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
3473         (customize-themes): Link to custom-theme-load-path variable.
3474         (custom-theme-add-var-1, custom-theme-add-face-1): Use the
3475         :custom-style property.
3477         * themes/*.el: Moved to etc/.
3479 2010-10-16  Ralf Angeli  <angeli@caeruleus.net>
3481         * textmodes/reftex-cite.el
3482         (reftex-extract-bib-entries-from-thebibliography): Do not move
3483         point when searching for \bibitem entries.  Match entries with
3484         spaces or tabs in front of arguments.
3486 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
3488         * cus-theme.el (customize-create-theme): Delete overlays after
3489         erasing.  If given a THEME arg, display only the faces of that arg
3490         instead of custom-theme--listed-faces.
3491         (custom-theme-variable-menu, custom-theme-variable-action)
3492         (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
3493         (custom-theme-add-variable, custom-theme-add-face): Apply value
3494         from the theme settings, instead of the current value.
3495         (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
3496         (custom-theme-visit-theme): Allow calling outside theme buffers.
3497         (custom-theme-merge-theme): Don't enable the theme when merging.
3498         (custom-theme-write-variables, custom-theme-write-faces): Use the
3499         :shown-value properties to save buffer values, not global ones.
3500         (customize-themes): Display a warning about user customizations.
3502         * cus-edit.el (custom-variable-value-create)
3503         (custom-face-value-create): Obey new special properties
3504         :shown-value and :inhibit-magic.
3506 2010-10-15  Michael Albinus  <michael.albinus@gmx.de>
3508         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3509         Suppress expansion of tabs to spaces.  Reported by Dale Sedivec
3510         <dale@codefu.org>.
3512 2010-10-14  Kenichi Handa  <handa@m17n.org>
3514         * mail/rmail.el (rmail-show-message-1): Catch an error of
3515         base64-decode-region and just show an error message (bug#7165).
3517         * ps-mule.el (ps-mule-font-spec-list): Delete it.  Not used anymore.
3518         (ps-mule-begin-job): Fix for the case that only ENCODING is set in
3519         a font-spec (bug#7197).
3521 2010-10-14  Glenn Morris  <rgm@gnu.org>
3523         * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
3525 2010-10-14  Juanma Barranquero  <lekktu@gmail.com>
3527         * international/mule.el (define-coding-system):
3528         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3529         * composite.el (compose-region): Fix typo in docstring.
3531 2010-10-14  Chong Yidong  <cyd@stupidchicken.com>
3533         * cus-face.el (custom-theme-set-faces): Call custom-push-theme
3534         only after checking the theme-face property.
3536         * faces.el (face-spec-reset-face): Reset all attributes in one
3537         single call to set-face-attribute.
3538         (face-spec-match-p): Make it a defsubst.
3539         (frame-set-background-mode): New arg KEEP-FACE-SPECS.
3540         (x-create-frame-with-faces, tty-create-frame-with-faces)
3541         (tty-set-up-initial-frame-faces): Don't recompute face specs in
3542         frame-set-background-mode, since they are recomputed immediately
3543         afterwards in face-set-after-frame-default.
3544         (face-set-after-frame-default): Minor optimization.
3545         (cursor): Provide non-trivial defface spec.
3547         * custom.el (custom-theme-recalc-face): Simplify.
3549 2010-10-14  Jay Belanger  <jay.p.belanger@gmail.com>
3551         * calc/calc-alg.el (math-var): Rename from `var'.
3552         (math-is-polynomial, math-is-poly-rec): Replace `var'
3553         with `math-var'.
3555         * calc/calcalg2.el (math-var): Rename from `var'.
3556         (calcFunc-table, math-scan-for-limits): Replace `var'
3557         with `math-var'.
3559 2010-10-13  Glenn Morris  <rgm@gnu.org>
3561         * subr.el (last): Deal with dotted lists (reported in bug#7174).
3563 2010-10-13  Stephen Berman  <stephen.berman@gmx.net>
3565         * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
3567 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3569         * net/tls.el (tls-program): Remove spurious %s from openssl.
3570         (tls-starttls-switches): Remove starttls hack.
3571         (open-tls-stream): Ditto.
3572         (tls-find-starttls-argument): Ditto.
3574 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
3576         * image.el (image-library-alist): Declare as obsolete alias.
3577         (image-type-available-p): Use `dynamic-library-alist'.
3579         * term/w32-win.el (dynamic-library-alist):
3580         Use instead of `image-library-alist'.
3582 2010-10-13  IRIE Shinsuke  <irieshinsuke@yahoo.co.jp>  (tiny change)
3584         * subr.el (last): Make it faster.  (Bug#7174)
3586 2010-10-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>  (tiny change)
3588         * Makefile.in (compile-clean): Use `` instead of $().  (Bug#7178)
3590 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
3592         * cus-theme.el (custom-theme--listed-faces): Add cursor face.
3593         (describe-theme-1): Extract doc from unloaded themes.
3595         * custom.el (custom-theme-name-valid-p): Don't list color-themes.
3597         * themes/tango-theme.el:
3598         * themes/tango-dark-theme.el:
3599         * themes/wheatgrass-theme.el: New files.
3601 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
3603         * cus-theme.el (describe-theme, customize-themes)
3604         (custom-theme-save): New commands.
3605         (custom-new-theme-mode-map): Bind C-x C-s.
3606         (custom-new-theme-mode): Use custom--initialize-widget-variables.
3607         (customize-create-theme): New optional arg THEME.
3608         (custom-theme-revert): Use it.
3609         (custom-theme-visit-theme): Remove dead code.
3610         (custom-theme-merge-theme): Use custom-available-themes.
3611         (custom-theme-write): Make interactive.
3612         (custom-theme-write): Use custom-theme-name-valid-p.
3613         (describe-theme-1, custom-theme-choose-revert)
3614         (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
3615         New funs.
3616         (custom-theme-allow-multiple-selections): New option.
3617         (custom-theme-choose-mode): New major mode.
3619         * custom.el (custom-theme-set-variables): Remove dead code.
3620         Obey custom--inhibit-theme-enable.
3621         (custom--inhibit-theme-enable): New var.
3622         (provide-theme): Obey it.
3623         (load-theme): Replace load with manual read/eval, in order to
3624         check for correctness.  Use custom-theme-name-valid-p.
3625         (custom-theme-name-valid-p): New function.
3626         (custom-available-themes): Use it.
3628         * cus-edit.el (custom--initialize-widget-variables): New function.
3629         (Custom-mode): Use it.
3631         * cus-face.el (custom-theme-set-faces): Remove dead code.
3632         Obey custom--inhibit-theme-enable.
3634         * help-mode.el (help-theme-def, help-theme-edit): New buttons.
3636 2010-10-12  Juanma Barranquero  <lekktu@gmail.com>
3638         * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
3640 2010-10-12  Jan Djärv  <jan.h.d@swipnet.se>
3642         * term/ns-win.el (ns-right-alternate-modifier): New defvar.
3643         (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
3644         (mac-right-option-modifier): New alias for ns-right-option-modifier.
3646         * cus-start.el (all): ns-right-alternate-modifier is new.
3648 2010-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3650         * emacs-lisp/lisp.el (lisp-completion-at-point):
3651         Use emacs-lisp-mode-syntax-table for the whole function.
3653 2010-10-12  David Koppelman  <koppel@ece.lsu.edu>
3655         * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
3656         instead of font-lock-mode before adding keywords.
3657         Remove hi-lock-mode off code.  Remove inhibit hack.
3658         (hi-lock-set-pattern): Only add keywords if font-lock-fontified
3659         non-nil; removed hook inhibit hack.
3661 2010-10-12  Glenn Morris  <rgm@gnu.org>
3663         * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
3664         (load-path-shadows-find): ... to this.
3665         (list-load-path-shadows): Update for above change.
3667         * mail/mail-utils.el (mail-mbox-from): Also try return-path.
3669 2010-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
3671         * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
3672         Fix comment for declare-function.
3674 2010-10-11  Chong Yidong  <cyd@stupidchicken.com>
3676         * custom.el (custom-fix-face-spec): New function; code moved from
3677         custom-face-edit-fix-value.
3678         (custom-push-theme): Use it when checking if a face has been
3679         changed outside customize.
3680         (custom-available-themes): New function.
3681         (load-theme): Use it.
3683         * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
3685         * custom.el (custom-push-theme): Cleanup (use cond).
3686         (disable-theme): Recompute the saved-face property.
3687         (custom-theme-recalc-face): Follow face alias before setting prop.
3689         * image.el (image-checkbox-checked, image-checkbox-unchecked):
3690         New variables, containing checkbox images.
3692         * startup.el (fancy-startup-tail):
3693         * wid-edit.el (checkbox): Use them.
3695 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
3697         * shell.el (shell-mode-map):
3698         * progmodes/modula2.el (m2-mode-map):
3699         * progmodes/inf-lisp.el (inferior-lisp-mode-map):
3700         * play/mpuz.el (mpuz-mode-map):
3701         * play/landmark.el (lm-mode-map):
3702         * play/decipher.el (decipher-mode-map):
3703         * play/5x5.el (5x5-mode-map):
3704         * net/telnet.el (telnet-mode-map):
3705         * net/quickurl.el (quickurl-list-mode-map):
3706         * net/mairix.el (mairix-searches-mode-map):
3707         * net/eudc-hotlist.el (eudc-hotlist-mode-map):
3708         * net/dig.el (dig-mode-map):
3709         * mail/mspools.el (mspools-mode-map):
3710         * hexl.el (hexl-mode-map):
3711         * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
3712         (wordstar-C-o-map, wordstar-C-q-map):
3713         * emacs-lisp/edebug.el (edebug-eval-mode-map):
3714         * emacs-lisp/chart.el (chart-map):
3715         * edmacro.el (edmacro-mode-map):
3716         * erc/erc-list.el (erc-list-menu-mode-map):
3717         * array.el (array-mode-map): Declare and define in one step.
3719         * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
3721 2010-10-10  Daiki Ueno  <ueno@unixuser.org>
3723         * epa.el (epa-passphrase-callback-function): Display filename
3724         passed as the 3rd arg.
3725         * epa-file.el (epa-file-passphrase-callback-function):
3726         Pass filename to epa-passphrase-callback-function.
3728 2010-10-09  Chong Yidong  <cyd@stupidchicken.com>
3730         * cus-edit.el (custom-face-widget-to-spec)
3731         (custom-face-get-current-spec, custom-face-state): New functions.
3732         (custom-face-set, custom-face-mark-to-save)
3733         (custom-face-value-create, custom-face-state-set): Use them.
3735         * cus-theme.el (custom-theme--listed-faces): New var.
3736         (customize-create-theme): Use *Custom Theme* as the buffer name.
3737         Set revert-buffer-function.  Optional arg BUFFER.  Insert all
3738         faces listed in custom-theme--listed-faces.
3739         (custom-theme-revert): New function.
3740         (custom-theme-add-variable, custom-theme-add-face): Insert at the
3741         bottom of the list.
3742         (custom-theme-write): Prompt for theme name if empty.
3743         (custom-theme-write-variables): Use dolist.
3744         (custom-theme-write-faces): Handle hidden (collapsed) widgets.
3746 2010-10-09  Alan Mackenzie  <acm@muc.de>
3748         Enhance fontification of declarators to take account of the
3749         presence/absence of "typedef".
3751         * cc-engine.el (c-forward-type): New &optional param
3752         "brace-block-too".
3753         (c-forward-decl-or-cast-1): cdr of return value now indicates the
3754         presence of either or both of a "struct"-like keyword and "typedef".
3756         * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
3757         fontification of declarators which follow a "}".
3758         (c-font-lock-declarations): Fontify declarators according to the
3759         presence/absence of "typedef".
3761         * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
3762         for "typedef".
3763         (c-typedef-decl-key): New lang variable built from
3764         c-typedef-decl-kwds.
3766 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3768         * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
3769         since that's too annoying.  Move the filter groups commands to
3770         TAB/backtab.
3772         * epa.el (epa-passphrase-callback-function): Say what we're
3773         querying the password for.
3775         * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
3776         behaviour, don't bury the ibuffer buffer when visiting other buffers.
3778 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
3780         * cus-edit.el (custom-commands, custom-buffer-create-internal)
3781         (custom-magic-value-create): Pad button tags with spaces.
3782         (custom-face-edit): New variable.
3783         (custom-face-value-create): Determine whether to use the usual
3784         face editor here, instead of using custom-face-selected.
3785         Pass face defaults to custom-face-edit widget.
3786         (custom-face-selected, custom-display-unselected): Delete widgets.
3787         (custom-display-unselected-match): Function removed.
3788         (custom-face-set, custom-face-mark-to-save):
3789         Accept custom-face-edit widgets as the direct widget child.
3791         * wid-edit.el (widget--completing-widget): New var.
3792         (widget-default-complete): Bind it when doing completion.
3793         (widget-string-complete, widget-file-complete): Use it.
3795 2010-10-09  Glenn Morris  <rgm@gnu.org>
3797         * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
3798         (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
3799         (holiday-hebrew-misc): Small simplifications.
3801         * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
3803         * net/browse-url.el: Don't require thingatpt, term, dired,
3804         executable, or w3-auto when compiling.
3805         (dired-get-filename, term-char-mode, term-send-down, term-send-string):
3806         Declare.
3807         (browse-url-text-emacs): Require term.
3809 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
3811         * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
3813 2010-10-08  Glenn Morris  <rgm@gnu.org>
3815         * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
3817         * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
3818         (shadows-compare-text-p): Make it an obsolete alias for...
3819         (load-path-shadows-compare-text): ... new name.
3820         (find-emacs-lisp-shadows): Update for above name change.
3821         (load-path-shadows-same-file-or-nonexistent): New name for the old
3822         shadow-same-file-or-nonexistent.
3824 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
3826         * minibuffer.el (completion--some, completion--do-completion)
3827         (minibuffer-complete-and-exit, minibuffer-completion-help)
3828         (completion-basic-try-completion)
3829         (completion-basic-all-completions)
3830         (completion-pcm--find-all-completions): Use lexical-let to
3831         avoid some false matches in variable completion (Bug#7056)
3833 2010-10-08  Olof Ohlsson Sax  <olof.ohlsson.sax@gmail.com>  (tiny change)
3835         * vc-svn.el (vc-svn-merge-news): Use --non-interactive.  (Bug#7152)
3837 2010-10-08  Leo  <sdl.web@gmail.com>
3839         * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
3840         return non-nil if the file exists (Bug#7090).
3842 2010-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3844         * minibuffer.el (completion--replace):
3845         Better preserve markers (bug#7138).
3847 2010-10-08  Juanma Barranquero  <lekktu@gmail.com>
3849         * server.el (server-process-filter): Doc fix.
3851 2010-10-08  Drew Adams  <drew.adams@oracle.com>
3853         * dired.el (dired-save-positions): Doc fix.  (Bug#7119)
3855 2010-10-08  Glenn Morris  <rgm@gnu.org>
3857         * vc/ediff-wind.el (ediff-setup-control-frame):
3858         * vc/ediff-ptch.el (ediff-default-backup-extension):
3859         * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
3860         (ediff-exec-process): Remove system-types emx, windows-95.
3862         * net/browse-url.el (browse-url-xdg-open): Shell-quote url.  (Bug#7166)
3864 2010-10-07  Chong Yidong  <cyd@stupidchicken.com>
3866         * cus-edit.el (custom-variable, custom-face): Doc fix.
3867         (custom-face-edit): Add value-create attribute.
3868         (custom-face-edit-value-create)
3869         (custom-face-edit-value-visibility-action): New functions.
3870         Hide unused face attributes by default, and add a visibility toggle.
3871         (custom-face-edit-deactivate): Show empty values with shadow face.
3872         (custom-face-selected): Only use this for face specs with default
3873         attributes.
3874         (custom-face-value-create): Cleanup.
3876         * wid-edit.el (widget-checklist-value-create): Use dolist.
3877         (widget-checklist-match-find): Make second arg optional.
3879 2010-10-07  Glenn Morris  <rgm@gnu.org>
3881         * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
3882         Prefix things.
3884         * emacs-lisp/shadow.el (shadow-font-lock-keywords)
3885         (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
3886         load-path-shadows-mode, update references.
3887         (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
3888         Rename variable and button.
3889         (list-load-path-shadows): Update button caller.
3891 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3893         * emacs-lisp/smie.el (smie-bnf-classify): New function.
3894         (smie-bnf-precedence-table): Use it to remember the closers/openers.
3895         (smie-merge-prec2s): Handle those new entries.
3896         (smie-prec2-levels): Only set precedence to nil for actual
3897         openers/closers.
3898         * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
3899         that is now unnecessary.
3901 2010-10-07  Miles Bader  <miles@gnu.org>
3903         * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
3905 2010-10-07  Glenn Morris  <rgm@gnu.org>
3907         * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
3908         (mail-position-on-field): Remove declarations.
3909         (mail-position-on-field): Autoload it.
3910         (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
3911         and mail-header-end.  Don't require sendmail.
3913         * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
3914         (shadow-mode): New mode.
3915         (shadow-find-file): New button.
3916         (list-load-path-shadows): Use shadow-mode and buttons.
3918         * iimage.el (iimage-version): Remove.
3919         (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
3920         Turn into defcustoms.
3921         (iimage-mode-map): Give it a doc string.
3923         * calendar/appt.el (appt-activate): Give a warning rather than an error
3924         if there is no diary-file.
3926 2010-10-06  Michael Albinus  <michael.albinus@gmx.de>
3928         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3929         Use `tramp-handle-find-backup-file-name'.
3931 2010-10-06  Glenn Morris  <rgm@gnu.org>
3933         * font-core.el (font-lock-defaults-alist): Remove variable.
3934         (font-lock-mode): Doc fix.
3935         (font-lock-default-function): Do not consult font-lock-defaults-alist.
3936         * font-lock.el (font-lock-refresh-defaults): Doc fix.
3937         (font-lock-set-defaults): Doc fix.
3938         Do not consult font-lock-defaults-alist.
3940         * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
3942         * emacs-lisp/cl.el: No longer provide cl-19.
3944 2010-10-05  Michael Albinus  <michael.albinus@gmx.de>
3946         * net/tramp.el (tramp-handle-directory-files-and-attributes)
3947         (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
3948         New defuns, taken from tramp-smb.el.
3949         (tramp-coding-system-change-eol-conversion)
3950         (tramp-set-process-query-on-exit-flag): Remove.
3952         * net/tramp-compat.el (top): Do not check for byte-compiler objects.
3953         (tramp-compat-coding-system-change-eol-conversion)
3954         (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
3955         from tramp.el.
3957         * net/tramp-gvfs.el:
3958         * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
3959         by `tramp-compat-set-process-query-on-exit-flag'.
3961         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
3962         Use `tramp-handle-directory-files-and-attributes',
3963         `tramp-handle-file-exists-p' and
3964         `tramp-handle-file-newer-than-file-p'.
3965         (tramp-imap-handle-file-exists-p)
3966         (tramp-imap-handle-file-executable-p)
3967         (tramp-imap-handle-file-readable-p)
3968         (tramp-imap-handle-directory-files-and-attributes)
3969         (tramp-imap-handle-file-newer-than-file-p): Remove.
3971         * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
3972         by `tramp-compat-set-process-query-on-exit-flag' and
3973         `tramp-coding-system-change-eol-conversion' by
3974         `tramp-compat-coding-system-change-eol-conversion'.
3976         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3977         Use `tramp-handle-directory-files-and-attributes',
3978         `tramp-handle-file-exists-p' and
3979         `tramp-handle-file-newer-than-file-p'.
3980         (tramp-smb-handle-directory-files-and-attributes)
3981         (tramp-smb-handle-file-exists-p)
3982         (tramp-smb-handle-file-newer-than-file-p): Remove.
3983         (tramp-smb-maybe-open-connection):
3984         Replace `tramp-set-process-query-on-exit-flag' by
3985         `tramp-compat-set-process-query-on-exit-flag'.
3987 2010-10-05  Glenn Morris  <rgm@gnu.org>
3989         * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
3991 2010-10-04  Michael Albinus  <michael.albinus@gmx.de>
3993         Continue reorganization of load dependencies.  (Bug#7156)
3995         * net/tramp.el (tramp-handle-file-local-copy-hook)
3996         (tramp-delete-temp-file-function): Move down.
3997         (tramp-exists-file-name-handler): Move up.
3998         (tramp-register-file-name-handlers): Simplify autoload.
3999         (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
4000         (tramp-handle-directory-files, tramp-handle-dired-uncache)
4001         (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
4002         (tramp-handle-file-name-completion)
4003         (tramp-handle-file-name-directory)
4004         (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
4005         (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
4006         (tramp-handle-find-backup-file-name)
4007         (tramp-handle-insert-file-contents, tramp-handle-load)
4008         (tramp-handle-substitute-in-file-name)
4009         (tramp-handle-unhandled-file-name-directory)
4010         (tramp-mode-string-to-int, tramp-local-host-p)
4011         (tramp-make-tramp-temp-file): Move from tramp-sh.el.
4013         * net/tramp-gvfs.el (top):
4014         * net/tramp-smb.el (top): Do not require 'tramp-sh.
4016         * net/tramp-sh.el (all): Move several objects to tramp.el, see
4017         there.  Rename `tramp-handle-*' to `tramp-sh-handle-*'.
4019 2010-10-04  Glenn Morris  <rgm@gnu.org>
4021         * calendar/appt.el (appt-add): Ensure reminders are enabled.
4022         (appt-activate): Give status messages.
4024 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
4026         * net/gnutls.el: Improve docs.  Remove starttls and ssl emulation.
4027         Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
4028         `gnutls-negotiate' (formerly `starttls-negotiate').
4029         Remove trivial wrapper `starttls-open-stream'.
4031 2010-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
4033         Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
4034         log-outgoing commands.
4035         * vc/vc.el (vc-log-internal-common): Add a new argument and use it
4036         to create a buffer local revert-buffer-function variable.
4037         (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
4038         revert-buffer-function lambda.
4040 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
4042         * net/gnutls.el (starttls-negotiate): Use the plist interface to
4043         `gnutls-boot'.  Make TYPE the only required parameter.
4044         Allow TRUSTFILES and KEYFILES to be lists.
4045         (open-ssl-stream): Use it.
4047 2010-10-03  Glenn Morris  <rgm@gnu.org>
4049         * subr.el (directory-sep-char): Remove obsolete variable.
4050         * net/tramp-compat.el: Don't mess about with the byte-compiler unless
4051         it is "necessary".
4053         * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
4054         * vc/vc.el (vc-static-header-alist): Doc fix.
4055         * vc/vc-cvs.el (vc-cvs-header):
4056         * vc/vc-rcs.el (vc-rcs-header):
4057         * vc/vc-sccs.el (vc-sccs-header):
4058         * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
4059         * obsolete/vc-mcvs.el (vc-mcvs-header):
4060         * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
4061         on XEmacs.
4063 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
4065         * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
4066         Remove obsolete use of binary-overwrite-mode (Bug#7001).
4068 2010-10-03  Glenn Morris  <rgm@gnu.org>
4070         * obsolete/x-menu.el: Remove file, obsolete since 21.1
4072         * textmodes/rst.el (rst-font-lock-keywords-function):
4073         Drop Emacs 20 code.
4075         * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
4077         * printing.el: Drop Emacs 20 code.
4079         * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
4080         without having used appt.el already).
4082         * subr.el (make-local-hook): Remove function obsolete since 21.1.
4083         * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
4084         (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
4085         XEmacs.
4086         * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
4087         (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
4089         * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
4090         (charset-width, find-charset-region, chars-in-region, forward-point)
4091         (encode-coding-string, coding-system-p, ccl-execute-on-string)
4092         (define-ccl-program, multibyte-string-p, string-make-multibyte):
4093         Remove compatibility cruft (none of these are used by ps*.el).
4095 2010-10-03  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
4097         * subr.el (booleanp): Return t instead of a list (Bug#7086).
4099 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
4101         * server.el (server-process-filter, server-return-error):
4102         Give emacsclient time to shut down after receiving an error string.
4104 2010-10-02  Michael Albinus  <michael.albinus@gmx.de>
4106         * files.el (remote-file-name-inhibit-cache): New defcustom.
4108         * time.el (display-time-file-nonempty-p):
4109         Use `remote-file-name-inhibit-cache'.
4111         * net/tramp.el (tramp-completion-reread-directory-timeout):
4112         Fix docstring.
4114         * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
4115         (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
4116         `remote-file-name-inhibit-cache'.  Check also for an integer
4117         value.  Add/increase counter when `tramp-verbose' >= 10.
4118         (tramp-set-file-property): Add/increase counter when
4119         `tramp-verbose' >= 10.
4121         * net/tramp-cmds.el (tramp-cleanup-all-connections)
4122         (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
4123         (tramp-bug): Set tramp-autoload cookie.  Report all interned
4124         tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
4125         (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
4126         characters only in strings.
4128         * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
4129         to backward compatibility.
4131         * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
4132         (tramp-handle-file-name-all-completions)
4133         (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
4134         (tramp-open-connection-setup-interactive-shell):
4135         Call `tramp-cleanup-connection' directly.
4137 2010-10-02  Glenn Morris  <rgm@gnu.org>
4139         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
4141         * subr.el (char-bytes): Remove obsolete function.
4143         * isearch.el (isearch-return-char): Remove obsolete function.
4145         * mouse.el: No longer provide mldrag.
4146         (mldrag-drag-mode-line, mldrag-drag-vertical-line):
4147         Remove obsolete aliases.
4149         * comint.el (comint-kill-output): Remove obsolete alias.
4151         * composite.el (decompose-composite-char): Remove obsolete function.
4152         * ps-def.el (decompose-composite-char): Remove unused function.
4154         * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
4156         * outline.el (outline-visible): Remove obsolete function.
4158         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
4159         * faces.el (internal-find-face, internal-get-face)
4160         (frame-update-faces, frame-update-face-colors)
4161         (x-frob-font-weight, x-frob-font-slant)
4162         (internal-frob-font-weight, internal-frob-font-slant)
4163         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
4164         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
4165         (x-make-font-bold-italic): Remove functions and aliases, obsolete
4166         since Emacs 21.1.
4167         * emulation/viper-util.el (viper-get-face):
4168         * obsolete/lucid.el (find-face, get-face): Use facep.
4169         * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
4170         Remove unused functions.
4171         * vc/ediff-util.el (ediff-submit-report): Doc fix.
4173         * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
4174         delete tempfile if interrupted during compilation.
4176 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4178         * net/tls.el (tls-starttls-switches): Give up on using starttls with
4179         gnutls-cli.
4180         (tls-program): Add --insecure to be consistent with the defaults from
4181         openssl s_client.  Now all three commands are insecure.
4183 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
4185         * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
4186         (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
4187         (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
4189 2010-10-01  Glenn Morris  <rgm@gnu.org>
4191         * obsolete/sc.el: Remove file.
4193         * files.el (temporary-file-directory): On darwin, also try
4194         DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
4196 2010-10-01  Juanma Barranquero  <lekktu@gmail.com>
4198         * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
4199         Let's not break compatibility gratuitously, shall we?
4201 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4203         * net/tls.el (tls-starttls-switches): New variable.
4204         (tls-find-starttls-argument): Use it.
4205         (open-tls-stream): Ditto.
4207         * net/netrc.el (netrc-credentials): Return the value of the "default"
4208         entry.
4209         (netrc-machine): Ditto.
4211 2010-09-30  Eli Zaretskii  <eliz@gnu.org>
4213         * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
4215 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
4217         * server.el (server-start): Don't write pid to the authentication file.
4218         (server-create-tty-frame): Don't send pid.
4219         (server-process-filter): Send pid at the start of every connection.
4221 2010-09-30  Glenn Morris  <rgm@gnu.org>
4223         * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
4224         (show-all-diary-entries): Remove obsolete function aliases.
4226         * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
4227         Remove options, obsolete since 22.1.
4228         (appt-display-format, appt-display-message):
4229         Remove backwards-compatibility code.
4230         (appt-check): No longer check appt-issue-message.
4231         (appt-make-list): No longer autoload it.  Doc fix.  No longer
4232         activate the package.
4234 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4236         * net/gnutls.el (starttls-negotiate): Loop a lot longer.
4237         (starttls-negotiate): Just call boot, and let the handshake be
4238         triggered from the read loop.
4240 2010-09-29  Glenn Morris  <rgm@gnu.org>
4242         * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
4243         not displaying the diary.
4244         (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
4245         * calendar/appt.el (appt-check): No longer need to kill diary.
4247         * calendar/diary-lib.el (diary-list-entries): Move the
4248         "Preparing..." message entirely here.
4249         (diary-simple-display, diary-fancy-display): Move "Preparing..."
4250         messages to diary-list-entries.
4251         (diary-include-other-diary-files): Use LIST-ONLY rather than setting
4252         diary-display-function.
4254         * calendar/diary-lib.el (diary-include-other-diary-files):
4255         Trap some recursive includes.
4257         * calendar/appt.el (appt-activate): Check diary file.
4259 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
4261         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
4262         construction.
4264         * calendar/time-date.el: No need to require cl for Emacs 21.
4266 2010-09-28  Glenn Morris  <rgm@gnu.org>
4268         * calendar/appt.el (appt-check): Minor simplification.
4270 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
4272         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
4273         citation prefix.
4275 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
4277         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4278         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
4280 2010-09-27  Kenichi Handa  <handa@m17n.org>
4282         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
4283         "ustar" format.
4285 2010-09-27  Kenichi Handa  <handa@m17n.org>
4287         * international/mule.el (define-coding-system): Docstring fixed.
4289         * international/mule-diag.el (describe-character-set): Use princ
4290         with proper print-length and print-level instead of insert.
4292 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
4294         * window.el (walk-windows): Doc fix (bug#7105).
4296 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4298         * emacs-lisp/float-sup.el (e): Remove.
4300 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
4302         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
4303         variable.
4304         (starttls-negotiate): Use it.
4306 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4308         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
4309         back.
4311 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4313         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
4315 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4317         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
4319         * net/netrc.el (netrc-store-data): New function.
4321 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
4323         * net/gnutls.el: GnuTLS glue code to set up a connection.
4325 2010-09-25  Julien Danjou  <julien@danjou.info>
4327         * notifications.el: Call dbus-register-signal only if it is bound.
4329 2010-09-25  Glenn Morris  <rgm@gnu.org>
4331         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4332         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4333         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4334         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4335         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4336         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
4337         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
4338         * eshell/esh-util.el, eshell/esh-var.el:
4339         Remove leading `*' from docs of faces and defcustoms.
4341 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
4343         * eshell/em-ls.el (eshell-ls-archive-regexp):
4344         * eshell/esh-util.el (eshell-tar-regexp):
4345         * ibuffer.el (ibuffer-compressed-file-name-regexp):
4346         * info.el (Info-suffix-list):
4347         * international/mule.el (auto-coding-alist):
4348         * woman.el (woman-file-regexp, woman-file-compression-regexp):
4349         * progmodes/etags.el (tags-compression-info-list):
4350         Support xz compression.
4352 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
4354         * files.el (get-free-disk-space): Don't assume the "df" output
4355         columns line up (Bug#6995).
4357 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
4359         * finder.el (finder-unknown-keywords):
4360         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
4361         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
4363 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
4365         * server.el (server-start): Revert part of 2010-08-08 change.  Using
4366         address 127.0.0.1 for local host is now done in Fmake_network_process.
4368 2010-09-24  Glenn Morris  <rgm@gnu.org>
4370         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
4371         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
4372         * textmodes/css-mode.el, textmodes/dns-mode.el:
4373         Move autoloaded auto-mode-alist entries to files.el.
4374         * files.el (auto-mode-alist): Move entries here.
4376 2010-09-23  Glenn Morris  <rgm@gnu.org>
4378         * isearch.el (isearch-lazy-highlight-cleanup)
4379         (isearch-lazy-highlight-initial-delay)
4380         (isearch-lazy-highlight-interval)
4381         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
4382         * net/net-utils.el (ipconfig-program-options):
4383         Move aliases to options before the associated definitions.
4385 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4387         * newcomment.el (comment-normalize-vars): Better test validity of
4388         comment-end-skip.
4390 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4392         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
4393         (float-e): New name for `e'.
4394         (degrees-to-radians, radians-to-degrees):
4395         * calendar/solar.el (solar-longitude):
4396         * calculator.el (calculator-registers, calculator-funcall):
4397         * textmodes/artist.el (artist-spray-random-points):
4398         * play/bubbles.el (bubbles--initialize-images): Use new names.
4400 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
4402         Update to CEDET 1.0's version of EIEIO.
4404         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
4405         New function.
4406         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
4407         (eieio-default-eval-maybe): Eval val instead of unquoting only.
4408         (class-precedence-list): If class is nil, return nil.
4409         (eieio-generic-call): If class of first input arg is nil, don't
4410         look up static methods, and do check for primary methods.
4411         (initialize-instance): See if the default needs to be evaluated
4412         during the constructor.
4413         (eieio-perform-slot-validation-for-default): Don't do the check
4414         for values that will eventually be evaluated.
4415         (eieio-eval-default-p): New function.
4416         (eieio-default-eval-maybe): Use it.
4418 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
4420         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
4421         method-invocation-order.
4422         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
4423         (eieio-class-precedence-dfs): Compute class precedence list using
4424         dfs algorithm.
4425         (eieio-class-precedence-bfs): Compute class precedence list using
4426         bfs algorithm.
4427         (eieio-class-precedence-c3): Compute class precedence list using
4428         c3 algorithm.
4429         (class-precedence-list): New function.
4430         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
4431         (inconsistent-class-hierarchy): New error symbol.
4432         (call-next-method): Stow the replacement argument list for future
4433         call-next-method invocations.
4435 2010-09-23  Glenn Morris  <rgm@gnu.org>
4437         * calendar/appt.el (appt-check): If not displaying the diary,
4438         use (diary 1) to only get the entries we need.
4439         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
4440         that it is in day order.  (Bug#7019)
4442         * calendar/appt.el (appt-check): Rather than showing the diary,
4443         just turn off invisible display, and only if needed.
4445         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
4447 2010-09-23  Glenn Morris  <rgm@gnu.org>
4449         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4450         (byte-compile-defvar, byte-compile-cl-warn):
4451         Start warnings with lower-case, like the majority.
4453         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
4455         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
4457         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
4458         * files.el (auto-mode-alist): Move ld-script entries here, further down
4459         the list.
4461         * vc/add-log.el: Don't require timezone when compiling.
4462         (timezone-make-date-sortable): Autoload it.
4463         (change-log-sortable-date-at): Don't require timezone.
4464         Use `ignore-errors'.
4466         * comint.el (comint-use-prompt-regexp-instead-of-fields):
4467         Move alias before definition, so it does not need autoloading.
4469         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
4470         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
4471         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
4472         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
4473         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
4474         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
4475         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
4476         * textmodes/tex-mode.el, textmodes/two-column.el:
4477         Remove leading `*' from docs of defcustoms etc.
4479 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
4481         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
4483 2010-09-22  Dan Christensen  <jdc@uwo.ca>
4485         * calendar/time-date.el (date-to-time): Try using parse-time-string
4486         first before using the slower timezone-make-date-arpa-standard.
4488 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
4490         * calendar/time-date.el (format-seconds): Comment fix.
4492 2010-09-22  Glenn Morris  <rgm@gnu.org>
4494         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
4495         is not automatically buffer-local.
4497 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4499         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
4500         (smie-indent-comment): Be more careful with comment-start-skip.
4501         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
4502         (smie-indent-functions): Use them.
4504 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
4506         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
4508 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
4510         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
4511         tool-bar-position.  Don't modify frame parameters here.
4512         (menu-bar-options-save): Add tool-bar-position.
4514         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
4516 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4518         * textmodes/reftex-parse.el (reftex-what-macro)
4519         (reftex-context-substring): Let-bind forward-sexp-function to nil
4520         since we don't need/want to treat \begin...\end as a block (bug#7053).
4522         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
4524         * simple.el (blink-matching-open): Use syntax-class.
4526         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
4527         Set invisibility spec for pascal's outline mode.
4528         (pascal-outline-change): Clean up calling convention.
4529         (pascal-show-all, pascal-hide-other-defuns): Update callers.
4531         * progmodes/prolog.el (prolog-smie-forward-token)
4532         (prolog-smie-backward-token): New functions.
4533         (prolog-mode-variables): Use them to parse "!," correctly.
4534         Set up smie-blink-matching for ".".
4536         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
4537         and `end'.
4538         (ispell-region, ispell-process-line): Update users.
4540         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
4541         point-min==1.
4543         * textmodes/ispell.el: Fix commenting convention.
4544         (ispell-parse-output): Simplify, use push.
4545         (ispell-region): Use match-string-no-properties.
4546         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
4547         (ispell-minor-mode): Use define-minor-mode.
4548         (ispell-message): Remove unused var `skip-regexp'.
4549         (ispell-add-per-file-word-list): Use dynamic let-binding.
4550         Try and use the proper comment marker.
4552         * mail/sendmail.el: Fix commenting convention.
4553         (sendmail-send-it): Use line-beginning-position.
4555         * help-fns.el (describe-variable): Add original value, if applicable.
4557 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
4559         * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
4561         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
4563 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4565         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
4566         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
4567         (smie-prec2-levels): Use them to better diagnose precedence cycles.
4568         (smie-blink-matching-check): Don't signal a mismatch if car is t.
4569         (smie-blink-matching-open): Rewrite to remove assumptions, so that
4570         something like "." can also be a closer.
4571         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
4572         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
4573         Rename internal functions to use "--".  Update callers.
4575         * frame.el (make-frame-names-alist): Don't list frames on other displays.
4577         * fringe.el (fringe-styles): New var.
4578         (fringe-mode, fringe-query-style): Use it.
4580 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
4582         * progmodes/sql.el: Version 2.8
4583         (sql-login-params): Update widget structure; changes still needed.
4584         (sql-product-alist): Add :list-all and :list-table features for
4585         SQLite, Postgres and MySQL products.
4586         (sql-redirect): Handle default value.
4587         (sql-execute, sql-execute-feature): New functions.
4588         (sql-read-table-name): New function.
4589         (sql-list-all, sql-list-table): New functions.  User API.
4590         (sql-mode-map, sql-interactive-mode-map): Add key definitions
4591         for above functions.
4592         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
4593         for above functions.
4594         (sql-postgres-login-params): Add user and database defaults.
4595         (sql-buffer-live-p): Bug fix.
4596         (sql-product-history): New variable.
4597         (sql-read-product): New function. Use it.
4598         (sql-set-product, sql-product-interactive): Use it.
4599         (sql-connection-history): New variable.
4600         (sql-read-connection): New function.  Use it.
4601         (sql-connect): New function.
4602         (sql-for-each-login): Redesign function interface.
4603         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
4604         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
4605         (sql-comint): Check for program.  Existing live buffer.
4606         (sql-comint-postgres): Add port parameter.
4608 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4610         * emacs-lisp/warnings.el: Fix commenting convention.
4611         (display-warning): Use special mode and make the buffer read-only.
4613 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
4615         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
4616         empty string when it follows a repeated or optional pattern.
4618 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4620         * indent.el (indent-according-to-mode): Apply syntax-propertize.
4621         (indent-region): Use indent-according-to-mode.
4623 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
4625         * fringe.el (fringe-mode): Doc fix.
4627 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
4629         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
4630         refreshing the preview buffer.
4632 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4634         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
4635         (latex-syntax-propertize-rules): New consts; replace
4636         tex-font-lock-syntactic-keywords.
4637         (tex-env-mark, latex-env-before-change): New functions.
4638         (latex-electric-env-pair-mode): New minor mode.
4639         (tex-font-lock-verb): Change arguments; do move point.
4640         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
4641         representation as a form of comment.
4642         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
4643         (doctex-syntax-propertize-rules): New const; replaces
4644         doctex-font-lock-syntactic-keywords.
4645         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
4647         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
4648         (fortran-make-syntax-propertize-function): New function; replaces
4649         fortran-font-lock-syntactic-keywords.
4650         (fortran-mode): Use it.
4651         (fortran-line-length): Use it.  Improve interactive spec.
4653         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
4654         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
4655         when adding surrounding \(..\).
4657         * progmodes/js.el (js-mode): Fix last change (bug#7054).
4659 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4661         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
4662         Use with-current-buffer.
4664         * isearch.el (isearch-face): Rename from `isearch'.
4665         (isearch-highlight): Use new name.
4667 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
4669         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
4670         5, for `half' width fringes.  (Bug#6933)
4672 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4674         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
4675         (byte-compile-defvar): "foo/bar" does not lack a prefix.
4677         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
4679 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
4681         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
4682         in calculating new frame position.  Add more space between new and
4683         parent on the left (Bug#7048).
4685 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
4687         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
4688         defmacro.
4690 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
4692         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
4694         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
4695         obsolete alias for x-selection-value.
4697         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
4699 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
4701         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
4702         cookie.
4704 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
4706         * net/tramp-compat.el (tramp-compat-with-temp-message)
4707         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
4708         (tramp-compat-process-put): New defuns.
4710         * net/tramp.el (top):
4711         * net/tramp-gvfs.el (top):
4712         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
4714         * net/tramp.el (tramp-progress-reporter-update):
4715         Use `tramp-compat-funcall'.
4717         * net/tramp.el (tramp-process-actions):
4718         * net/tramp-gvfs.el (tramp-handle-vc-registered):
4719         * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
4720         (tramp-get-remote-stat, tramp-get-remote-readlink):
4721         Use `tramp-compat-with-temp-message'.
4723         * net/tramp-sh.el (top): Require 'cl.
4724         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
4725         (tramp-open-connection-setup-interactive-shell):
4726         Use `tramp-compat-process-put'.
4728 2010-09-15  Alan Mackenzie  <acm@muc.de>
4730         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
4731         indentation.
4732         (c-forward-<>-arglist-recur): Fix an infinite recursion.
4734 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4736         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
4737         `lexical' for warnings related to lexical scoping.
4738         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
4739         global vars which don't have a prefix and could hence affect lexical
4740         scoping in unrelated files.
4742 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4744         * net/imap.el: Revert back to version
4745         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
4746         seem problematic.
4748 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
4750         * obsolete/old-whitespace.el (whitespace-unload-function):
4751         Explicitly pass `obarray' to `unintern' to avoid a warning.
4753 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4755         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
4756         Add `when' argument.  Update callers.
4758         * subr.el (unintern): Declare the obarray arg mandatory.
4760 2010-09-14  Glenn Morris  <rgm@gnu.org>
4762         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
4763         Doc fixes.
4765         * calendar/diary-lib.el (diary-included-files): New variable.
4766         (diary-list-entries): Maybe initialize diary-included-files.
4767         (diary-include-other-diary-files): Append to diary-included-files.
4768         * calendar/appt.el (appt-update-list): Also check the members of
4769         diary-included-files.  (Bug#6999)
4770         (appt-check): Doc fix.
4772 2010-09-14  David Reitter  <david.reitter@gmail.com>
4774         * simple.el (line-move-visual): Do not truncate goal column to
4775         integer size.  (Bug#7020)
4777 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4779         * repeat.el (repeat): Allow repeating when the last event is a click.
4780         Suggested by Drew Adams (bug#6256).
4782 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
4784         * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
4785         Replace setting HGRCPATH to "" by some less invasive --config options.
4787 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4789         * font-lock.el (font-lock-beginning-of-syntax-function):
4790         Mark as obsolete.
4792 2010-09-14  Glenn Morris  <rgm@gnu.org>
4794         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
4795         and tool-bar modes.  (Bug#6211)
4796         (menu-bar-mode): Move setting of standard-value after the
4797         minor-mode definition, otherwise it seems to have no effect.
4799 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
4801         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
4802         Fix typo.  (Bug#6976)
4804 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4806         * whitespace.el: Allow cleaning up blanks without blank
4807         visualization (Bug#6651).  Adjust help window for
4808         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
4809         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
4810         (whitespace-style): Add new value 'face.  Adjust docstring.
4811         (whitespace-space, whitespace-hspace, whitespace-tab):
4812         Adjust foreground property face.
4813         (whitespace-line-column): Adjust docstring and type declaration.
4814         (whitespace-style-value-list, whitespace-toggle-option-alist)
4815         (whitespace-help-text): Adjust const initialization.
4816         (whitespace-toggle-options, global-whitespace-toggle-options):
4817         Adjust docstring.
4818         (whitespace-display-window, whitespace-interactive-char)
4819         (whitespace-style-face-p, whitespace-color-on): Adjust code.
4820         (whitespace-help-scroll): New fun.
4822 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
4824         * calendar/time-date.el (format-seconds): Comment fix.
4826 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
4828         * progmodes/sql.el: Version 2.7.
4829         (sql-buffer-live-p): Improve detection.
4830         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
4831         (sql-set-sqli-buffer): Use it.
4832         (sql-product-interactive): Run `sql-set-sqli-hook'.
4833         (sql-rename-buffer): Code cleanup.
4834         (sql-redirect, sql-redirect-value): New functions.  More to come.
4836 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
4838         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.
4839         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
4840         (TRAMP_SRC): New macro.
4841         ($(lisp)/net/tramp-loaddefs.el): New target.
4843 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
4845         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
4847         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
4849         * net/tramp.el (top): Don't show loading message.  Require just
4850         'tramp-compat, everything else is required there.
4851         Use `ignore-errors' where appropriate.
4852         (tramp-inline-compress-start-size, tramp-copy-size-limit)
4853         (tramp-terminal-type, tramp-end-of-output)
4854         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
4855         (tramp-completion-function-alist-ssh)
4856         (tramp-completion-function-alist-telnet)
4857         (tramp-completion-function-alist-su)
4858         (tramp-completion-function-alist-putty, tramp-remote-path)
4859         (tramp-remote-process-environment, tramp-sh-extra-args)
4860         (tramp-actions-before-shell, tramp-uudecode)
4861         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
4862         (tramp-perl-file-attributes)
4863         (tramp-perl-directory-files-and-attributes)
4864         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
4865         (tramp-perl-encode, tramp-perl-decode)
4866         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
4867         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
4868         (tramp-handle-make-symbolic-link, tramp-handle-load)
4869         (tramp-handle-file-name-as-directory)
4870         (tramp-handle-file-name-directory)
4871         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
4872         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
4873         (tramp-do-file-attributes-with-ls)
4874         (tramp-do-file-attributes-with-perl)
4875         (tramp-do-file-attributes-with-stat)
4876         (tramp-handle-set-visited-file-modtime)
4877         (tramp-handle-verify-visited-file-modtime)
4878         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
4879         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
4880         (tramp-handle-file-selinux-context)
4881         (tramp-handle-set-file-selinux-context)
4882         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
4883         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
4884         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
4885         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
4886         (tramp-handle-file-ownership-preserved-p)
4887         (tramp-handle-directory-file-name, tramp-handle-directory-files)
4888         (tramp-handle-directory-files-and-attributes)
4889         (tramp-do-directory-files-and-attributes-with-perl)
4890         (tramp-do-directory-files-and-attributes-with-stat)
4891         (tramp-handle-file-name-all-completions)
4892         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
4893         (tramp-handle-copy-file, tramp-handle-copy-directory)
4894         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
4895         (tramp-do-copy-or-rename-file-via-buffer)
4896         (tramp-do-copy-or-rename-file-directly)
4897         (tramp-do-copy-or-rename-file-out-of-band)
4898         (tramp-handle-make-directory, tramp-handle-delete-directory)
4899         (tramp-handle-delete-file)
4900         (tramp-handle-dired-recursive-delete-directory)
4901         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
4902         (tramp-handle-insert-directory)
4903         (tramp-handle-unhandled-file-name-directory)
4904         (tramp-handle-expand-file-name)
4905         (tramp-handle-substitute-in-file-name)
4906         (tramp-handle-executable-find, tramp-process-sentinel)
4907         (tramp-handle-start-file-process, tramp-handle-process-file)
4908         (tramp-handle-call-process-region, tramp-handle-shell-command)
4909         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
4910         (tramp-handle-insert-file-contents)
4911         (tramp-handle-insert-file-contents-literally)
4912         (tramp-handle-find-backup-file-name)
4913         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
4914         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
4915         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
4916         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
4917         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
4918         (tramp-find-file-exists-command, tramp-open-shell)
4919         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
4920         (tramp-open-connection-setup-interactive-shell)
4921         (tramp-local-coding-commands, tramp-remote-coding-commands)
4922         (tramp-find-inline-encoding, tramp-call-local-coding-command)
4923         (tramp-inline-compress-commands, tramp-find-inline-compress)
4924         (tramp-compute-multi-hops, tramp-maybe-open-connection)
4925         (tramp-send-command, tramp-wait-for-output)
4926         (tramp-send-command-and-check, tramp-barf-unless-okay)
4927         (tramp-send-command-and-read, tramp-mode-string-to-int)
4928         (tramp-convert-file-attributes, tramp-check-cached-permissions)
4929         (tramp-file-mode-from-int, tramp-file-mode-permissions)
4930         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
4931         (tramp-method-out-of-band-p, tramp-local-host-p)
4932         (tramp-get-remote-path, tramp-get-remote-tmpdir)
4933         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
4934         (tramp-get-test-command, tramp-get-test-nt-command)
4935         (tramp-get-file-exists-command, tramp-get-remote-ln)
4936         (tramp-get-remote-perl, tramp-get-remote-stat)
4937         (tramp-get-remote-readlink, tramp-get-remote-trash)
4938         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
4939         (tramp-get-local-uid, tramp-get-local-gid)
4940         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
4941         tramp-sh.el.
4942         (tramp-methods, tramp-default-method-alist)
4943         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
4944         Move initialization to tramp-sh.el.
4945         (tramp-temp-name-prefix): Make it a defconst.
4946         (tramp-dissect-file-name): Don't check anymore for multi-hop
4947         methods.
4948         (tramp-debug-outline-regexp): Add a docstring.
4949         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
4950         (tramp-get-debug-buffer): Use it.
4952         * net/tramp-cache.el (top): Set tramp-autoload cookie for
4953         initialization forms.
4954         (tramp-set-connection-property): Don't protect `tramp-message'
4955         call, it isn't necessary any longer.
4956         (tramp-dump-connection-properties): Use `ignore-errors'.
4958         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
4959         'password-cache and 'auth-source.
4961         * net/tramp-gvfs.el (top):
4962         * net/tramp-smb.el (top): Require 'tramp-sh.
4964         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
4966         * net/tramp-sh.el: New file, derived from tramp.el.
4967         (top): Initialize `tramp-methods', `tramp-default-method-alist',
4968         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
4969         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
4970         Use `ignore-errors' where appropriate.
4971         (tramp-sh-file-name-handler-alist): Rename from
4972         `tramp-file-name-handler-alist'.
4973         (tramp-send-command-and-check): Return t or nil.  Remove all
4974         `zerop' checks, where called.
4975         (tramp-handle-set-file-modes)
4976         (tramp-do-copy-or-rename-file-directly)
4977         (tramp-handle-delete-directory, tramp-handle-delete-file)
4978         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
4979         (tramp-sh-file-name-handler, tramp-send-command-and-check)
4980         (tramp-get-remote-ln): Set tramp-autoload cookie.
4982         * net/tramp-fish.el: Remove file.
4984 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
4986         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
4987         buffer-file-name to avoid file-locking.  (Bug#7026)
4989 2010-09-13  Julien Danjou  <julien@danjou.info>
4991         * notifications.el (notifications-notify): Add support for
4992         image-path and sound-name.
4993         (notifications-specification-version): Add this variable.
4995 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4997         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
4999 2010-09-12  Leo  <sdl.web@gmail.com>
5001         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
5002         (rcirc-completion-start): New variables.
5003         (rcirc-nick-completions): Rename to rcirc-completions.
5004         (rcirc-nick-completion-start-offset): Delete.
5005         (rcirc-completion-at-point): New function for constructing
5006         completion data for both nicks and irc commands.  Add to
5007         completion-at-point-functions in rcirc mode.
5008         (rcirc-complete): Rename from rcirc-nick-complete; use
5009         rcirc-completion-at-point.
5010         (defun-rcirc-command): Update rcirc-client-commands.
5012 2010-09-11  Glenn Morris  <rgm@gnu.org>
5014         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
5015         atomically, to avoid parallel build errors.  (Bug#4196)
5017 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
5019         * progmodes/sql.el: Version 2.6
5020         (sql-dialect): Synonym for "sql-product".
5021         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5022         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
5023         Set "sql-buffer" to buffer name not buffer object so multiple sql
5024         interactive buffers work properly.  Reverts misguided changes in
5025         earlier work.
5026         (sql-comint): Make sure different buffer name is used if "*SQL*"
5027         buffer is for a different product.
5028         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
5029         login param.
5030         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
5031         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
5032         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
5033         Accept new buffer name or prompt for one.
5034         (sql-port): Default to zero.
5035         (sql-comint-mysql): Handle "sql-port" as a numeric.
5036         (sql-port-history): Delete unused variable.
5037         (sql-get-login): Default "sql-port" to a number.
5038         (sql-product-alist): Correct Postgres prompt and terminator regexp.
5039         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
5040         "sqlite3" executables.
5041         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
5042         (sql-buffer-live-p): New function.
5043         (sql-mode-menu, sql-send-string): Use it.
5044         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
5045         syntax pattern.
5046         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
5047         (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
5049 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5051         * net/netrc.el (netrc-credentials): New convenience function.
5053 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5055         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
5056         to replace texinfo-font-lock-syntactic-keywords.
5057         (texinfo-mode): Use it.
5059         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
5060         Use syntax-propertize-function.
5062         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
5063         replace sgml-font-lock-syntactic-keywords.
5064         (sgml-mode): Use it.
5066         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
5067         since we don't use it.
5069         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
5071         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
5072         if available.
5073         (vhdl-fontify-buffer): Adjust.
5075         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
5076         replace tcl-font-lock-syntactic-keywords.
5077         (tcl-mode): Use it.
5079         * progmodes/simula.el (simula-syntax-propertize-function): New var to
5080         replace simula-font-lock-syntactic-keywords.
5081         (simula-mode): Use it.
5083         * progmodes/sh-script.el (sh-st-symbol): Remove.
5084         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
5085         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
5086         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
5087         (sh-font-lock-paren): Set syntax-multiline.
5088         (sh-font-lock-syntactic-keywords): Remove.
5089         (sh-syntax-propertize-function): New function to replace it.
5090         (sh-mode): Use it.
5092         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
5093         Define while compiling.
5094         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5095         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
5096         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
5097         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5098         (ruby-here-doc-end-syntax): Only define when
5099         syntax-propertize is not available.
5100         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
5101         New functions.
5102         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
5103         (electric-indent-chars): Silence bytecompiler.
5104         (ruby-mode): Use prog-mode, syntax-propertize-function, and
5105         electric-indent-chars.
5107         * progmodes/python.el (python-syntax-propertize-function): New var to
5108         replace python-font-lock-syntactic-keywords.
5109         (python-mode): Use it.
5110         (python-quote-syntax): Simplify and adjust to new use.
5112         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
5113         replace perl-font-lock-syntactic-keywords.
5114         (perl-syntax-propertize-special-constructs): New fun to replace
5115         perl-font-lock-special-syntactic-constructs.
5116         (perl-font-lock-syntactic-face-function): New fun.
5117         (perl-mode): Use it.
5119         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
5120         to replace octave-font-lock-close-quotes.
5121         (octave-syntax-propertize-function): New function to replace
5122         octave-font-lock-syntactic-keywords.
5123         (octave-mode): Use it.
5125         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
5126         replaces mixal-font-lock-syntactic-keywords.
5127         (mixal-mode): Use it.
5129         * progmodes/make-mode.el (makefile-syntax-propertize-function):
5130         New var; replaces makefile-font-lock-syntactic-keywords.
5131         (makefile-mode): Use it.
5132         (makefile-imake-mode): Adjust.
5134         * progmodes/js.el (js--regexp-literal): Define while compiling.
5135         (js-syntax-propertize-function): New var; replaces
5136         js-font-lock-syntactic-keywords.
5137         (js-mode): Use it.
5139         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
5140         replaces gdb-script-font-lock-syntactic-keywords.
5141         (gdb-script-mode): Use it.
5143         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
5144         (fortran--font-lock-syntactic-keywords): New var.
5145         (fortran-line-length): Update syntax-propertize-function and
5146         fortran--font-lock-syntactic-keywords.
5148         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
5150         * progmodes/cfengine.el (cfengine-mode):
5151         Use syntax-propertize-function.
5152         (cfengine-font-lock-syntactic-keywords): Remove.
5154         * progmodes/autoconf.el (autoconf-mode):
5155         Use syntax-propertize-function.
5156         (autoconf-font-lock-syntactic-keywords): Remove.
5158         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
5159         (ada-after-change-function, ada-initialize-syntax-table-properties)
5160         (ada-handle-syntax-table-properties): Only define when
5161         syntax-propertize is not available.
5162         (ada-mode): Use syntax-propertize-function.
5164         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
5165         (font-lock-fontify-syntactic-keywords-region): Move handling of
5166         font-lock-syntactically-fontified to...
5167         (font-lock-default-fontify-region): ...here.
5168         Let syntax-propertize-function take precedence.
5169         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
5171         * emacs-lisp/syntax.el (syntax-propertize-function)
5172         (syntax-propertize-chunk-size, syntax-propertize--done)
5173         (syntax-propertize-extend-region-functions): New vars.
5174         (syntax-propertize-wholelines, syntax-propertize-multiline)
5175         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
5176         (syntax-propertize): New functions.
5177         (syntax-propertize-rules): New macro.
5178         (syntax-ppss-flush-cache): Set syntax-propertize--done.
5179         (syntax-ppss): Call syntax-propertize.
5181         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
5183 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
5185         * textmodes/ispell.el (ispell-init-process): Improve comments.
5186         XEmacs compatibility changes regarding (add-hook) 'local option
5187         and (set-process-query-on-exit-flag).
5189 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
5191         * net/tramp-cache.el (tramp-parse-connection-properties):
5192         Set tramp-autoload cookie.
5194 2010-09-09  Glenn Morris  <rgm@gnu.org>
5196         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
5197         (imagemagick-register-types): Doc fix.
5199 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5201         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
5203         * progmodes/js.el (require): Require is already "eval-and-compile".
5204         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
5205         (js--re-search-backward): Use js--re-search-forward.
5207         * progmodes/fortran.el (fortran-line-length): Don't recompute
5208         syntactic keywords redundantly a second time.
5210         * progmodes/ada-mode.el: Replace "(set '" with setq.
5211         (ada-mode): Simplify.
5212         (ada-create-case-exception, ada-adjust-case-interactive)
5213         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
5214         (ada-search-ignore-string-comment, ada-move-to-start)
5215         (ada-move-to-end): Use with-syntax-table.
5217         * font-lock.el (save-buffer-state): Remove `varlist' arg.
5218         (font-lock-unfontify-region, font-lock-default-fontify-region):
5219         Update usage correspondingly.
5220         (font-lock-fontify-syntactic-keywords-region):
5221         Set parse-sexp-lookup-properties buffer-locally here.
5222         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
5224         * simple.el (blink-matching-open): Don't burp if we can't find a match.
5226 2010-09-08  Glenn Morris  <rgm@gnu.org>
5228         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
5229         Error if not compiled with -DBYTE_CODE_METER.
5231         * emacs-lisp/bytecomp.el (byte-recompile-directory):
5232         Ignore dir-locals-file.
5234 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5236         * progmodes/compile.el (compilation-error-regexp-alist-alist):
5237         Not a const.
5238         (compilation-error-regexp-alist-alist): Rule out ": " in file names
5239         for the `gnu' messages.
5240         (compilation-set-skip-threshold): New command.
5241         (compilation-start): Use \' rather than $.
5242         (compilation-forget-errors): Use clrhash.
5244 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
5246         * textmodes/ispell.el (ispell-valid-dictionary-list):
5247         Simplify logic.
5249 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
5251         Migrate to Tramp 2.2.  Rearrange load dependencies.
5252         (Bug#1529, Bug#5448, Bug#5705)
5254         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
5255         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
5256         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5258         * net/tramp.el (top): Remove all other tramp-* loads except
5259         tramp-compat.el.  Remove all changes to tramp-unload-hook for
5260         other tramp-* packages.  Rearrange defun order.  Change calls of
5261         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
5262         `tramp-compat-octal-to-decimal' to new function names.
5263         (tramp-terminal-type, tramp-initial-end-of-output)
5264         (tramp-methods, tramp-foreign-file-name-handler-alist)
5265         (tramp-tramp-file-p, tramp-completion-mode-p)
5266         (tramp-send-command-and-check, tramp-get-remote-path)
5267         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
5268         (tramp-shell-quote-argument): Set tramp-autoload cookie.
5269         (with-file-property, with-connection-property): Move to
5270         tramp-cache.el.
5271         (tramp-local-call-process, tramp-decimal-to-octal)
5272         (tramp-octal-to-decimal): Move to tramp-compat.el.
5273         (tramp-handle-shell-command): Do not require 'shell.
5274         (tramp-compute-multi-hops): No special handling for tramp-gw-*
5275         symbols.
5276         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
5278         * net/tramp-cache.el (top): Require 'tramp.  Add to
5279         `tramp-unload-hook'.
5280         (tramp-cache-data, tramp-get-file-property)
5281         (tramp-set-file-property, tramp-flush-file-property)
5282         (tramp-flush-directory-property, tramp-get-connection-property)
5283         (tramp-set-connection-property, tramp-flush-connection-property)
5284         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
5285         cookie.
5286         (with-file-property, with-connection-property): New defuns, moved
5287         from tramp.el.
5288         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
5289         macro.
5291         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
5292         (tramp-version): Set tramp-autoload cookie.
5294         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
5295         changes to tramp-unload-hook for other tramp-* packages.  Add to
5296         `tramp-unload-hook'.
5297         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
5298         (tramp-compat-call-process): New defuns, moved from tramp.el.
5300         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
5301         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5302         Add to `tramp-unload-hook'.  Change call of
5303         `tramp-compat-decimal-to-octal' to new function name.
5304         (tramp-fish-method): Make it a defconst.
5305         (tramp-fish-file-name-p): Make it a defsubst.
5306         (tramp-fish-method, tramp-fish-file-name-handler)
5307         (tramp-fish-file-name-p): Set tramp-autoload cookie.
5309         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
5310         `tramp-foreign-file-name-handler-alist'.  Add to
5311         `tramp-unload-hook'.
5312         (tramp-ftp-method): Make it a defconst.
5313         (tramp-ftp-file-name-p): Make it a defsubst.
5314         (tramp-ftp-method, tramp-ftp-file-name-handler)
5315         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
5317         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
5318         `tramp-foreign-file-name-handler-alist'.  Add to
5319         `tramp-unload-hook'.  Change checks, whether package can be
5320         loaded.
5321         (tramp-gvfs-file-name-p): Make it a defsubst.
5322         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
5323         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
5324         (tramp-gvfs-handle-file-directory-p): New defun.
5325         (tramp-gvfs-file-name-handler-alist): Use it.
5327         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
5328         `tramp-foreign-file-name-handler-alist'.  Add to
5329         `tramp-unload-hook'.
5330         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
5331         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
5332         defconst.
5333         (tramp-gw-tunnel-method, tramp-gw-socks-method)
5334         (tramp-gw-open-connection): Set tramp-autoload cookie.
5336         * net/tramp-imap.el (top) Require just 'tramp.  Add objects to
5337         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5338         Add to `tramp-unload-hook'.  Change checks, whether package can be
5339         loaded.
5340         (tramp-imap-file-name-p): Make it a defsubst.
5341         (tramp-imap-method, tramp-imaps-method)
5342         (tramp-imap-file-name-handler)
5343         (tramp-imap-file-name-p): Set tramp-autoload cookie.
5345         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
5346         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5347         Add to `tramp-unload-hook'.  Change checks, whether package can be
5348         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
5349         function name.
5350         (tramp-smb-tunnel-method): Make it a defconst.
5351         (tramp-smb-file-name-p): Make it a defsubst.
5352         (tramp-smb-method, tramp-smb-file-name-handler)
5353         (tramp-smb-file-name-p): Set tramp-autoload cookie.
5355         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
5356         (tramp-uuencode-region): Set tramp-autoload cookie.
5358         * net/trampver.el (top) Add to `tramp-unload-hook'.
5359         (tramp-version, tramp-bug-report-address): Set tramp-autoload
5360         cookie.  Update release number.
5362 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
5364         * textmodes/ispell.el (ispell-start-process): Make sure original
5365         arg list is properly initialized (Bug#6993, Bug#6994).
5367 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
5369         * files.el (directory-abbrev-alist): Use \` as default regexp.
5371         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
5372         chars like - or ] (bug#6984).
5373         (rx-any-condense-range): Explode 2-char ranges.
5375 2010-09-06  Glenn Morris  <rgm@gnu.org>
5377         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
5379 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5381         * textmodes/bibtex.el:
5382         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
5384 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5386         * net/imap.el (imap-message-map): Remove optional buffer parameter,
5387         since no callers use it.
5388         (imap-message-get): Ditto.
5389         (imap-message-put): Ditto.
5390         (imap-mailbox-map): Ditto.
5391         (imap-mailbox-put): Ditto.
5392         (imap-mailbox-get): Ditto.
5393         (imap-mailbox-get): Revert last change for this function.
5395 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5397         * net/imap.el (imap-fetch-safe): Remove function, and alter all
5398         callers to use `imap-fetch' instead.  According to the comments, this
5399         should be safe, since all other IMAP clients use the 1:* syntax.
5400         (imap-enable-exchange-bug-workaround): Remove.
5401         (imap-debug): Remove -- doesn't seem very useful.
5403 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5405         * net/imap.el (imap-log): New convenience function used throughout
5406         instead of repeating the same code all over the place.
5408 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
5410         * mouse.el (mouse-save-then-kill): Save region to kill-ring
5411         when mouse-drag-copy-region is non-nil (Bug#6956).
5413 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
5415         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
5416         Improve regexps (Bug#6987).
5417         (dired-sort-toggle): Search more robustly for -t flag.
5419         * files.el (get-free-disk-space): Search more robustly for
5420         "available" column.  Suggested by Ehud Karni
5421         <ehud@unix.mvs.co.il>.
5423 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
5425         * international/uni-bidi.el:
5426         * international/uni-category.el:
5427         * international/uni-combining.el:
5428         * international/uni-decimal.el:
5429         * international/uni-mirrored.el:
5430         * international/uni-name.el: Regenerate.
5432 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5434         * electric.el (electric-indent-post-self-insert-function):
5435         Don't reindent with a sloppy indentation function.
5437         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
5438         border case in change-log-mode.
5440 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
5442         * progmodes/compile.el (compilation-error-regexp-alist-alist):
5443         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
5444         Recognize leading tab in gcc-include regexp.  Ignore names with
5445         leading "from" or "in" in gnu regexp (Bug#6937).
5447 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5449         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
5450         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
5451         (ispell-start-process): Avoid setq and simplify logic.
5452         (ispell-init-process): Setup kill-buffer-hook locally when needed.
5453         (kill-buffer-hook): Don't use it globally with code that uses
5454         expand-file-name since that may call kill-buffer via
5455         code_conversion_restore.
5457 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
5459         * emacs-lisp/package.el (package-directory-list): Only call
5460         file-name-nondirectory on a string.
5462 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
5464         * emacs-lisp/package.el (package--download-one-archive):
5465         Ensure that archive-contents is valid before saving it.
5466         (package-activate-1, package-mark-obsolete, define-package)
5467         (package-compute-transaction, package-list-maybe-add): Use push.
5469 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5471         Use SMIE's blink-paren for octave-mode.
5472         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
5473         Backslashes do not escape single-quotes, single-quotes do.
5474         (octave-block-else-regexp, octave-block-end-regexp)
5475         (octave-block-match-alist): Remove.
5476         (octave-smie-bnf-table): New var, with old content.
5477         (octave-smie-op-levels): Use it.
5478         (octave-smie-closer-alist): New var.
5479         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
5480         (octave-blink-matching-block-open): Remove.
5481         (octave-reindent-then-newline-and-indent, octave-electric-semi)
5482         (octave-electric-space): Let self-insert-command run expand-abbrev and
5483         blink parens.
5485         * electric.el (electricity): New group.
5486         (electric-indent-chars): New var.
5487         (electric-indent-post-self-insert-function): New fun.
5488         (electric-indent-mode): New minor mode.
5489         (electric-pair-skip-self): New custom.
5490         (electric-pair-post-self-insert-function): New function.
5491         (electric-pair-mode): New minor mode.
5493         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
5494         calcAlg-blink-matching-open.
5495         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
5496         (calc-do-alg-entry): Only touch the part of the keymap that varies.
5497         Use the new blink-matching-check-function.
5499         Provide blink-matching support to SMIE.
5500         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
5501         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
5502         (smie-blink-matching-check, smie-blink-matching-open): New functions.
5504         * simple.el (newline): Fix last change to properly remove itself from
5505         the hook.
5507 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5509         * simple.el (newline): Eliminate optimization.
5510         Use post-self-insert-hook to set hard-newline and things before
5511         running post-self-insert-hook.
5512         (blink-matching-check-mismatch): New function.
5513         (blink-matching-check-function): New variable.
5514         (blink-matching-open): Use them.
5515         Skip back forward over prefix chars skipped by forward-sexp.
5516         Don't check if the parens are backslash escaped.
5517         (blink-paren-post-self-insert-function): Check backslash escaping here.
5519 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
5521         * emacs-lisp/package.el (package-menu-mode-map):
5522         Change package-menu-revert bindings to revert-buffer.
5523         (package-menu-mode): Set revert-buffer-function.
5524         (package-menu-revert): Doc fix.
5526 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
5528         * textmodes/ispell.el (ispell-init-process): Use "~/" as
5529         `default-directory' unless using Ispell per-directory personal
5530         dictionaries and not in a mini-buffer under XEmacs.
5531         (kill-buffer-hook): Do not kill ispell process on exit when
5532         `ispell-process-directory' is "~/".  (Bug#6143)
5534 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
5536         * simple.el (kill-new): Call interprogram-cut-function with only
5537         one argument.
5539         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
5540         Remove cut buffer from error message.
5542         * term/x-win.el (x-select-text):
5543         * term/pc-win.el (x-selection-value):
5544         * term/ns-win.el (x-selection-value):
5545         * eshell/em-term.el:
5546         * w32-fns.el (x-get-selection-value):
5547         * mouse-sel.el (mouse-sel-set-selection-function):
5548         * frame.el (display-selections-p): Remove cut-buffer in documentation.
5550         * term/x-win.el: Update documentation for x-last-selected-text-*.
5551         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
5552         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
5553         (x-select-text): Remove argument PUSH, update documentation.
5554         Remove cut-buffer code.
5555         (x-selection-value-internal): Was previously x-selection-value.
5556         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5557         Update documentation, remove cut-buffer code.
5558         Call x-selection-value-internal.
5559         (x-clipboard-yank): Call x-selection-value-internal.
5560         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
5562         * term/pc-win.el (x-last-selected-text):
5563         x-cut-buffer-or-selection-value renamed to x-selection-value
5564         (x-select-text): Remove argument PUSH, update documentation.
5566         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
5567         x-cut-buffer-or-selection-value renamed to x-selection-value
5568         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5569         (x-select-text): Remove argument PUSH, update documentation.
5571         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
5573         * w32-fns.el (x-last-selected-text):
5574         x-cut-buffer-or-selection-value renamed to x-selection-value.
5575         (x-cut-buffer-max): Remove.
5576         (x-select-text): Remove argument PUSH, update documentation.
5578         * simple.el (interprogram-cut-function): Remove mention of PUSH.
5580         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
5582         * mouse-sel.el (mouse-sel-get-selection-function):
5583         x-cut-buffer-or-selection-value renamed to x-selection-value.
5584         (x-select-text): Remove optional push.
5586 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5588         * simple.el (blink-paren-function): Move from C to here.
5589         (blink-paren-post-self-insert-function): New function.
5590         (post-self-insert-hook): Use it.
5592         * emacs-lisp/pcase.el (pcase-split-memq):
5593         Fix overenthusiastic optimisation.
5594         (pcase-u1): Handle the case of a lambda pred.
5596 2010-08-31  Kenichi Handa  <handa@m17n.org>
5598         * international/mule-cmds.el (standard-display-european-internal):
5599         Setup standard-display-table for 8-bit characters by storing 8-bit
5600         characters in the element vector.
5602         * disp-table.el (standard-display-8bit):
5603         Setup standard-display-table for 8-bit characters by storing 8-bit
5604         characters in the element vector.
5605         (standard-display-european): Likewise.
5607 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
5609         * textmodes/nroff-mode.el (nroff-view): New command.
5610         (nroff-mode-map): Bind it to C-c C-c.
5612 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
5614         * emacs-lisp/smie.el (smie-down-list): New command.
5616         Remove old indentation and navigation code on octave-mode.
5617         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
5618         smie-down-list rather than add a binding for octave-down-block.
5619         (octave-mark-block, octave-blink-matching-block-open):
5620         Rely on forward-sexp-function.
5621         (octave-fill-paragraph): Don't narrow, so you can use
5622         indent-according-to-mode.
5623         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
5624         (octave-in-block-p, octave-re-search-forward-kw)
5625         (octave-re-search-backward-kw, octave-indent-calculate)
5626         (octave-end-as-array-index-p, octave-block-end-offset)
5627         (octave-scan-blocks, octave-forward-block, octave-backward-block)
5628         (octave-down-block, octave-backward-up-block, octave-up-block)
5629         (octave-before-magic-comment-p, octave-indent-line): Remove.
5631 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
5633         * emacs-lisp/package.el (package--read-archive-file): Just use
5634         `read', to avoid copying an additional string.
5635         (package-menu-mode): Set header-line-format here.
5636         (package-menu-refresh, package-menu-revert): Signal an error if
5637         not in the Package Menu.
5638         (package-menu-package-list): New var.
5639         (package--generate-package-list): Operate on the current buffer;
5640         don't assume that it is *Packages*, since the user may rename it.
5641         Allow persistent package listings and sort keys using
5642         package-menu-package-list and package-menu-package-sort-key.
5643         (package-menu--version-predicate): Fix version calculation.
5644         (package-menu-sort-by-column): Don't select the window.
5645         (package--list-packages): Create the *Packages* buffer.
5646         Set package-menu-package-list-key.
5647         (list-packages): Sorting by status is now the default.
5648         (package-buffer-info): Use match-string-no-properties.
5649         (define-package): Add a &rest argument for future proofing, but
5650         don't use it yet.
5651         (package-install-from-buffer, package-install-buffer-internal):
5652         Merge into a single function, package-install-from-buffer.
5653         (package-install-file): Change caller.
5655         * finder.el: Load finder-inf using `require'.
5656         (finder-list-matches): Sorting by status is now the default.
5657         (finder-compile-keywords): Simpify printing.
5659 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5661         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
5662         (octave-mode-map): Remove special bindings for forward/backward-block
5663         and octave-backward-up-block.  Use smie-close-block.
5664         (octave-continuation-marker-regexp): New var.
5665         (octave-continuation-regexp): Use it.
5666         (octave-operator-table, octave-smie-op-levels)
5667         (octave-operator-regexp, octave-smie-indent-rules): New vars.
5668         (octave-smie-backward-token, octave-smie-forward-token): New funs.
5669         (octave-mode): Use SMIE.
5670         (octave-close-block): Delete.
5672 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
5674         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
5675         CLIPBOARD, not in PRIMARY.  (Bug#6944)
5677 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5679         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
5680         a list of parents.
5681         (smie-indent-column): Allow indirection through variables.
5683         * composite.el (save-buffer-state): Delete, unused.
5684         * font-lock.el (save-buffer-state): Use with-silent-modifications.
5685         (font-lock-default-fontify-region): Use with-syntax-table.
5686         * jit-lock.el (with-buffer-unmodified): Remove.
5687         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
5689         Use `declare' in defmacros.
5690         * window.el (save-selected-window):
5691         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
5692         * progmodes/python.el (def-python-skeleton):
5693         * net/dbus.el (dbus-ignore-errors):
5694         * jka-cmpr-hook.el (with-auto-compression-mode):
5695         * international/mule.el (with-category-table):
5696         * emacs-lisp/timer.el (with-timeout):
5697         * emacs-lisp/lisp-mnt.el (lm-with-file):
5698         * emacs-lisp/eieio.el (with-slots):
5699         * emacs-lisp/easymenu.el (easy-menu-define):
5700         * emacs-lisp/debug.el (debugger-env-macro):
5701         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
5702         (Multiple-value-call, Multiple-value-prog1):
5703         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
5704         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
5705         edebug rule to definition.
5706         * emacs-lisp/lisp-mode.el (save-selected-window)
5707         (with-current-buffer, combine-after-change-calls)
5708         (with-output-to-string, with-temp-file, with-temp-buffer)
5709         (with-temp-message, with-syntax-table, read-if, eval-after-load)
5710         (dolist, dotimes, when, unless):
5711         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
5713 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
5715         * finder.el: Require `package'.
5716         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
5717         (finder-package-info): Var deleted.
5718         (finder-keywords-hash, finder--builtins-alist): New vars.
5719         (finder-compile-keywords): Compute package--builtins and
5720         finder-keywords-hash instead of finder-keywords-hash, respecting
5721         the "Package" header.
5722         (finder-unknown-keywords, finder-list-matches):
5723         Use finder-keywords-hash and package--list-packages.
5724         (finder-mode): Don't set font-lock-defaults.
5725         (finder-exit): We don't use "*Finder-package*" and "*Finder
5726         Category*" buffers anymore.
5728         * emacs-lisp/package.el (package--builtins-base): Var deleted.
5729         (package--builtins): Set default value to nil.
5730         (package-initialize): Load precomputed value of package--builtins
5731         from finder-inf.el.
5732         (package-alist, package-compute-transaction)
5733         (package-download-transaction): Improve docstring.
5734         (package-read-all-archive-contents): Do not change
5735         package--builtins here.
5736         (list-packages): Make package-list-packages an alias for this.
5737         Sort by status by default.
5738         (package--list-packages): Add optional PACKAGES arg.
5739         (describe-package-1): Use font-lock-face property.  For built-in
5740         packages, insert file commentary.
5741         (package--generate-package-list): Rename from
5742         package-list-packages-internal; all callers changed.  Add optional
5743         PACKAGES arg.  Add alphabetical sort fallbacks.
5744         (package-menu--version-predicate, package-menu--status-predicate)
5745         (package-menu--description-predicate)
5746         (package-menu--name-predicate): New functions.
5748         * info.el (Info-finder-find-node): Search package-alist instead of
5749         finder-package-info.
5751 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
5753         * subr.el (version-regexp-alist): Don't use "a" and "b" for
5754         "alpha" and "beta".
5755         (version-to-list): Handle versions like "10.3d".
5757 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5759         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
5760         (macroexp-accumulate): Use `declare'.
5762 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
5764         * whitespace.el (whitespace-style): Adjust type declaration.
5766 2010-08-26  Magnus Henoch  <magnus.henoch@gmail.com>
5768         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
5769         empty argument to gvfs-copy.
5771 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
5773         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
5774         handle new TRASH arg of `delete-file'.
5776 2010-08-26  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
5778         * net/tramp.el (tramp-handle-insert-directory): Don't use
5779         `forward-word', its default syntax could be changed.
5781 2010-08-26  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
5782             Michael Albinus  <michael.albinus@gmx.de>
5784         Implement compression for inline methods.
5786         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
5787         (tramp-copy-size-limit): Allow also nil.
5788         (tramp-inline-compress-commands): New defconst.
5789         (tramp-find-inline-compress, tramp-get-inline-compress)
5790         (tramp-get-inline-coding): New defuns.
5791         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
5792         replaced by `tramp-get-inline-coding'.
5793         (tramp-handle-file-local-copy, tramp-handle-write-region)
5794         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
5796 2010-08-26  Noah Lavine  <noah549@gmail.com>  (tiny change)
5798         Detect ssh 'ControlMaster' argument automatically in some cases.
5800         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
5801         (tramp-default-method): Use it.
5803 2010-08-26  Karel Klíč  <kklic@redhat.com>
5805         * net/tramp.el (tramp-file-name-for-operation):
5806         Add file-selinux-context.
5808 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
5810         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
5812 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
5814         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
5815         (Bug#6907).
5817 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
5819         * progmodes/js.el: Make indentation more customizable (Bug#6914).
5820         (js-paren-indent-offset, js-square-indent-offset)
5821         (js-curly-indent-offset): New options.
5822         (js--proper-indentation): Use them.
5824 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
5826         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
5827         instead of inspecting font-lock properties (Bug#6916).
5829 2010-08-26  David Reitter  <david.reitter@gmail.com>
5831         * server.el (server-visit-files): Run pre-command-hook and
5832         post-command-hook for each buffer while it is current (Bug#6910).
5833         (server-execute): Do not run hooks here.
5835 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
5837         Sync with Tramp 2.1.19.
5839         * net/tramp-cmds.el (tramp-cleanup-all-connections)
5840         (tramp-reporter-dump-variable, tramp-load-report-modules)
5841         (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
5842         (tramp-bug): Recommend setting of `tramp-verbose' to 9.
5844         * net/tramp-compat.el (top): Do not autoload
5845         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
5846         only when `start-file-process' is not bound.
5847         (byte-compile-not-obsolete-vars): Define if not bound.
5848         (tramp-compat-funcall): New defmacro.
5849         (tramp-compat-line-beginning-position)
5850         (tramp-compat-line-end-position)
5851         (tramp-compat-temporary-file-directory)
5852         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
5853         (tramp-compat-copy-file, tramp-compat-copy-directory)
5854         (tramp-compat-delete-file, tramp-compat-delete-directory)
5855         (tramp-compat-number-sequence, tramp-compat-process-running-p):
5856         Use it.
5857         (tramp-advice-file-expand-wildcards): Do not use
5858         `tramp-handle-file-remote-p'.
5859         (tramp-compat-make-temp-file): Simplify fallback implementation.
5860         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5861         (tramp-compat-copy-tree): Remove function.
5862         (tramp-compat-delete-file): New defun.
5863         (tramp-compat-delete-directory): Provide implementation for older
5864         Emacsen.
5865         (tramp-compat-file-attributes): Handle only
5866         `wrong-number-of-arguments' error.
5868         * net/tramp-fish.el (tramp-fish-handle-copy-file):
5869         Add PRESERVE_SELINUX_CONTEXT.
5870         (tramp-fish-handle-delete-file): Add TRASH arg.
5871         (tramp-fish-handle-directory-files-and-attributes):
5872         Do not use `tramp-fish-handle-file-attributes.
5873         (tramp-fish-handle-file-local-copy)
5874         (tramp-fish-handle-insert-file-contents)
5875         (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
5877         * net/tramp-gvfs.el (top): Require url-util.
5878         (tramp-gvfs-mount-point): Remove.
5879         (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
5880         and `set-file-selinux-context'.
5881         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
5882         (tramp-gvfs-handle-file-selinux-context)
5883         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
5884         (with-tramp-dbus-call-method): Format trace message.
5885         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
5886         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
5887         Implement backup call, when operation on local files fails.
5888         Use progress reporter.  Flush properties of changed files.
5889         (tramp-gvfs-handle-delete-file): Add TRASH arg.
5890         Use `tramp-compat-delete-file'.
5891         (tramp-gvfs-handle-expand-file-name): Expand "~/".
5892         (tramp-gvfs-handle-make-directory): Make more traces.
5893         (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
5894         (tramp-gvfs-url-file-name): Hexify file name in url.
5895         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
5896         into account for the resulting file name.
5897         (tramp-gvfs-handler-askquestion): Preserve current message, in
5898         order to let progress reporter continue afterwards.  (Bug#6257)
5899         Return dummy mountpoint, when the answer is "no".
5900         See `tramp-gvfs-maybe-open-connection'.
5901         (tramp-gvfs-handler-mounted-unmounted)
5902         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
5903         attribute "default_location".  Set "prefix" property.
5904         Handle default-location.
5905         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
5906         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
5907         exists.  Raise an error, if not (due to a corresponding answer
5908         "no" in interactive questions, for example).
5909         Use `tramp-compat-funcall'.
5911         * net/tramp-imap.el (top): Autoload `epg-make-context'.
5912         (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5913         (tramp-imap-do-copy-or-rename-file)
5914         (tramp-imap-handle-insert-file-contents)
5915         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
5916         (tramp-imap-handle-delete-file): Add TRASH arg.
5918         * net/tramp-smb.el (tramp-smb-handle-copy-file):
5919         Add PRESERVE-SELINUX-CONTEXT.
5920         (tramp-smb-handle-copy-file)
5921         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5922         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
5923         Use `with-progress-reporter'.
5924         (tramp-smb-handle-delete-file): Add TRASH arg.
5926         * net/tramp.el (tramp-methods): Move hostname to the end in all
5927         ssh `tramp-login-args'.  Add `tramp-async-args' attribute where
5928         appropriate.
5929         (tramp-verbose): Describe verbose level 9.
5930         (tramp-completion-function-alist)
5931         (tramp-file-name-regexp, tramp-chunksize)
5932         (tramp-local-coding-commands, tramp-remote-coding-commands)
5933         (with-connection-property, tramp-completion-mode-p)
5934         (tramp-action-process-alive, tramp-action-out-of-band)
5935         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
5936         (tramp-exists-file-name-handler): Fix docstring.
5937         (tramp-remote-process-environment): Use `format' instead of
5938         `concat'.  Protect version string by apostroph.
5939         (tramp-shell-prompt-pattern): Do not use a shy group in case of
5940         XEmacs.
5941         (tramp-file-name-regexp-unified)
5942         (tramp-completion-file-name-regexp-unified): On W32 systems, do
5943         not regard the volume letter as remote filename.  (Bug#5447)
5944         (tramp-perl-file-attributes)
5945         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
5946         (tramp-vc-registered-read-file-names): Read input as
5947         here-document, otherwise the command could exceed maximum length
5948         of command line.
5949         (tramp-file-name-handler-alist): Add `file-selinux-context' and
5950         `set-file-selinux-context'.
5951         (tramp-debug-message): Add `tramp-compat-funcall' to ignored
5952         backtrace functions.
5953         (tramp-error-with-buffer): Don't show the connection buffer when
5954         we are in completion mode.
5955         (tramp-progress-reporter-update, tramp-remote-selinux-p)
5956         (tramp-handle-file-selinux-context)
5957         (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
5958         (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
5959         New defuns.
5960         (with-progress-reporter): New defmacro.
5961         (tramp-debug-outline-regexp): New defconst.
5962         (top, tramp-rfn-eshadow-setup-minibuffer)
5963         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
5964         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
5965         (tramp-completion-mode-p, tramp-check-for-regexp)
5966         (tramp-open-connection-setup-interactive-shell)
5967         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
5968         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
5969         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
5970         Use `tramp-compat-funcall'.
5971         (tramp-handle-make-symbolic-link): Flush file properties.
5972         (tramp-handle-load, tramp-handle-file-local-copy)
5973         (tramp-handle-insert-file-contents, tramp-handle-write-region)
5974         (tramp-handle-vc-registered, tramp-maybe-send-script)
5975         (tramp-find-shell): Use `with-progress-reporter'.
5976         (tramp-do-file-attributes-with-stat): Add space in format string,
5977         in order to work around a bug in pdksh.  Reported by Gilles Pion
5978         <gpion@lfdj.com>.
5979         (tramp-handle-verify-visited-file-modtime): Do not send a command
5980         when the connection is not established.
5981         (tramp-handle-set-file-times): Simplify the check for utc.
5982         (tramp-handle-directory-files-and-attributes)
5983         (tramp-get-remote-path): Use `copy-tree'.
5984         (tramp-completion-handle-file-name-all-completions): Ensure, that
5985         non remote files are still checked.  Oops.
5986         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
5987         Handle PRESERVE-SELINUX-CONTEXT.
5988         (tramp-do-copy-or-rename-file): Add progress reporter.
5989         (tramp-do-copy-or-rename-file-directly): Do not use
5990         `tramp-handle-file-remote-p'.
5991         (tramp-do-copy-or-rename-file-out-of-band):
5992         Use `tramp-compat-delete-directory'.
5993         (tramp-do-copy-or-rename-file-out-of-band)
5994         (tramp-compute-multi-hops, tramp-maybe-open-connection):
5995         Use `format-spec-make'.
5996         (tramp-handle-delete-file): Add TRASH arg.
5997         (tramp-handle-dired-uncache): Flush directory cache, not only file
5998         cache.
5999         (tramp-handle-expand-file-name)
6000         (tramp-completion-handle-file-name-all-completions)
6001         (tramp-completion-handle-file-name-completion):
6002         Use `tramp-connectable-p'.
6003         (tramp-handle-start-file-process): Set connection property "vec".
6004         Use it, in order to invalidate file caches.  Check only for
6005         `remote-tty' process property.
6006         Implement tty setting.  (Bug#4604, Bug#6360)
6007         (tramp-file-name-for-operation): Add `call-process-region' and
6008         `set-file-selinux-context'.
6009         (tramp-find-foreign-file-name-handler)
6010         (tramp-advice-make-auto-save-file-name)
6011         (tramp-set-auto-save-file-modes): Remove superfluous check for
6012         `stringp'.  This is done inside `tramp-tramp-file-p'.
6013         (tramp-file-name-handler): Trace 'quit.  Catch the error for some
6014         operations when we are in completion mode.  This gives the user
6015         the chance to correct the file name in the minibuffer.
6016         (tramp-completion-mode-p): Use `non-essential'.
6017         (tramp-handle-file-name-all-completions): Backward/ XEmacs
6018         compatibility: Use `completion-ignore-case' if
6019         `read-file-name-completion-ignore-case' does not exist.
6020         (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
6021         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6022         `tramp-open-shell'.
6023         (tramp-action-password): Hide password prompt before next run.
6024         (tramp-process-actions): Widen connection buffer for the trace.
6025         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6026         process property.  Trace stty settings if `tramp-verbose' >= 9.
6027         Apply workaround for IRIX64 bug.  Move argument of last
6028         `tramp-send-command' where it belongs to.
6029         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6030         front of `login-args'.
6031         (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
6032         on "/dev/null" instead of "/".
6033         (tramp-get-ls-command-with-dired): Make test for "--dired"
6034         stronger.
6035         (tramp-set-auto-save-file-modes): Adapt version check.
6036         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6037         (tramp-handle-process-file): Call the program in a subshell, in
6038         order to preserve working directory.
6039         (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
6040         `tramp-remote-sh' from `tramp-methods'.
6041         (tramp-get-ls-command): Make test for "--color=never" stronger.
6042         (tramp-check-for-regexp): Use (forward-line 1).
6044         * net/trampver.el: Update release number.
6046 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
6048         * help.el (help-map): Bind `C-h P' to describe-package.
6050         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
6052         * emacs-lisp/package.el (package-refresh-contents): Catch errors
6053         when downloading archives.
6054         (describe-package-1): Add package commentary.
6055         (package-install-button-action): New function.
6056         (package-menu-mode-map): Bind ? to package-menu-describe-package.
6057         (package-menu-view-commentary): Function removed.
6058         (package-list-packages-internal): Hide the `package' package too.
6060 2010-08-25  Kenichi Handa  <handa@m17n.org>
6062         * language/misc-lang.el ("Arabic"): New language environment.
6063         Setup composition-function-table for Arabic characters.
6065         * international/fontset.el (setup-default-fontset): Fix typo for
6066         arabic OTF spec (fini->fina).
6068 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
6070         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
6071         on all frames.
6073 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
6075         * whitespace.el: Allow cleaning up blanks without blank
6076         visualization (Bug#6651).  Adjust help window for
6077         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
6078         instead of whitespace-line-column (from EmacsWiki).  New version
6079         13.1.
6080         (whitespace-style): Add new value 'face.  Adjust docstring.
6081         (whitespace-space, whitespace-hspace, whitespace-tab):
6082         Adjust foreground property face.
6083         (whitespace-line-column): Adjust docstring and type declaration.
6084         (whitespace-style-value-list, whitespace-toggle-option-alist)
6085         (whitespace-help-text): Adjust const initialization.
6086         (whitespace-toggle-options, global-whitespace-toggle-options):
6087         Adjust docstring.
6088         (whitespace-display-window, whitespace-interactive-char)
6089         (whitespace-style-face-p, whitespace-color-on): Adjust code.
6090         (whitespace-help-scroll): New fun.
6092 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
6094         * emacs-lisp/package.el (list-packages): Alias for
6095         package-list-packages.
6097 2010-08-24  Kevin Ryde  <user42@zip.com.au>
6099         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
6100         (Bug#5651).
6102         * progmodes/ruby-mode.el (ruby): Add defgroup.
6104 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
6106         * progmodes/python.el: Add Ipython support (Bug#5390).
6107         (python-shell-prompt-alist)
6108         (python-shell-continuation-prompt-alist): New options.
6109         (python--set-prompt-regexp): New function.
6110         (inferior-python-mode, run-python, python-shell):
6111         Require ansi-color.  Use python--set-prompt-regexp to set the comint
6112         prompt based on the Python interpreter.
6113         (python--prompt-regexp): New var.
6114         (python-check-comint-prompt)
6115         (python-comint-output-filter-function): Use it.
6116         (run-python): Use a pipe (Bug#5694).
6118 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
6120         * progmodes/python.el (python-send-region): Send a different
6121         Python command if Ipython is in use.
6122         (python-check-version): Use a Python command to find the version.
6124 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
6126         * mouse.el (mouse-yank-primary): Avoid setting primary when
6127         deactivating the mark (Bug#6872).
6129 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
6131         * progmodes/python.el (python-block-pairs): Allow use of "finally"
6132         with "else" (Bug#3991).
6134 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
6136         * net/dbus.el: Accept UNIX domain sockets as bus address.
6137         (top): Don't initialize `dbus-registered-objects-table' anymore,
6138         this is done in dbusbind,c.
6139         (dbus-check-event): Adapt test for bus.
6140         (dbus-return-values-table, dbus-unregister-service)
6141         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
6142         Adapt doc string.
6144 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
6146         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
6148 2010-08-22  Juri Linkov  <juri@jurta.org>
6150         * simple.el (read-extended-command): New function with the logic
6151         for `completing-read' moved to Elisp from `execute-extended-command'.
6152         Use `function-called-at-point' in `minibuffer-default-add-function'
6153         to get a command name for M-n (bug#5364, bug#5214).
6155 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
6157         * startup.el (command-line-1): Issue warning for ignored arguments
6158         --unibyte, etc (Bug#6886).
6160 2010-08-22  Leo  <sdl.web@gmail.com>
6162         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
6163         (ignore, bright, dim, keyword): Split list of nicknames before
6164         passing to rcirc-add-or-remove (Bug#6894).
6166 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
6168         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
6170 2010-08-22  Leo  <sdl.web@gmail.com>
6172         Fix buffer-list rename&refresh after killing a buffer in ido.
6173         * ido.el: Revert Óscar's.
6174         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
6175         Remember the buffers at head, rather than their name.
6176         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
6178 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
6179             Stefan Monnier  <monnier@iro.umontreal.ca>
6181         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
6182         extra backslash added to each line (bug#6890).
6184 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6186         * subr.el (read-key): Don't echo keystrokes (bug#6883).
6188 2010-08-22  Glenn Morris  <rgm@gnu.org>
6190         * menu-bar.el (menu-bar-games-menu): Add landmark.
6192 2010-08-22  Glenn Morris  <rgm@gnu.org>
6194         * align.el (align-regexp): Make group and spacing arguments
6195         use the interactive defaults when non-interactive.  (Bug#6698)
6197         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
6198         expansion, so as not to need sendmail.
6199         (mail-text-start): Remove declaration.
6200         (rmail-retry-failure): Require sendmail.
6202 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
6204         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
6206 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
6208         * progmodes/flymake.el (flymake-start-syntax-check-process):
6209         Use `start-file-process' in order to let it run also on remote hosts.
6211 2010-08-22  Kenichi Handa  <handa@m17n.org>
6213         * files.el: Add `word-wrap' as safe local variable.
6215 2010-08-22  Glenn Morris  <rgm@gnu.org>
6217         * woman.el (woman-translate): Case matters.  (Bug#6849)
6219 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
6221         * simple.el (kill-region): Doc fix (Bug#6787).
6223 2010-08-22  Glenn Morris  <rgm@gnu.org>
6225         * calendar/diary-lib.el (diary-header-line-format):
6226         Fit it to the window, not the frame.
6228 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
6230         * subr.el (ignore-errors): Add debug declaration.
6232 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
6234         * whitespace.el (whitespace-color-off): Remove post-command-hook
6235         locally.
6237 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6239         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
6241 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
6243         * cus-edit.el (custom-group-value-create): Add extra newline
6244         before end line (Bug#6876).
6246 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
6248         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
6249         when extending it.  Before killing on the second click, check if
6250         the buffer is the correct one.  Doc fix.
6251         (mouse-secondary-save-then-kill): Allow usage without first
6252         calling mouse-start-secondary, by defaulting to point.  Don't save
6253         an empty secondary selection.  Doc fix.
6255 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
6257         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
6258         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
6259         New version 13.0.
6260         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
6261         Adjust initialization.
6262         (whitespace-bob-marker, whitespace-eob-marker)
6263         (whitespace-buffer-changed): New vars.
6264         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
6265         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
6266         (whitespace-post-command-hook, whitespace-display-char-on):
6267         Adjust code.
6268         (whitespace-looking-back, whitespace-buffer-changed): New funs.
6269         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
6271 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6273         * files.el (locate-file-completion-table): Only list the .el and .elc
6274         extensions if there's no other choice (bug#5955).
6276         * facemenu.el (facemenu-self-insert-data): New var.
6277         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
6278         New functions.
6279         (facemenu-add-face): Use them.
6281         * simple.el (blink-matching-open): Obey forward-sexp-function.
6283 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6285         * simple.el (prog-mode-map): New var.
6286         (prog-indent-sexp): New command.
6288         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
6290         * progmodes/prolog.el (smie): Require.
6292         * emacs-lisp/smie.el (smie-default-backward-token)
6293         (smie-default-forward-token): Strip properties.
6294         (smie-next-sexp): Be more careful with associative operators.
6295         (smie-forward-sexp-command): Generalize.
6296         (smie-backward-sexp-command): Simplify.
6297         (smie-closer-alist): New var.
6298         (smie-close-block): New command.
6299         (smie-indent-debug-log): New var.
6300         (smie-indent-offset-rule): Add a few more cases.
6301         (smie-indent-column): New function.
6302         (smie-indent-after-keyword): Use it.
6303         (smie-indent-keyword): Use it.
6304         Fix up the opener code's point position.
6305         (smie-indent-comment): Only applies at BOL.
6306         (smie-indent-debug): New command.
6308         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
6309         declarations that are useful before running the macro.
6311 2010-08-18  Joakim Verona  <joakim@verona.se>
6313         * image.el (imagemagick-types-inhibit): New variable.
6314         (imagemagick-register-types): New function.
6315         * image-mode.el (image-transform-properties): New function.
6316         (image-transform-set-scale, image-transform-fit-to-height)
6317         (image-transform-set-rotation, image-transform-set-resize)
6318         (image-transform-fit-to-width, image-transform-fit-to-height):
6319         New functions.
6320         (image-toggle-display-image): Support image transforms.
6322 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
6324         * image.el (create-animated-image): Don't add heuristic mask to image
6325         (Bug#6839).
6327 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
6329         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
6330         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
6332 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6334         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
6336         Font-lock '...' strings, plus various simplifications and fixes.
6337         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6338         (octave-font-lock-close-quotes): New function.
6339         (octave-font-lock-syntactic-keywords): New var.
6340         (octave-mode): Use it.  Set beginning-of-defun-function.
6341         (octave-mode-map): Don't override the <foo>-defun commands.
6342         (octave-mode-menu): Pass it directly to easy-menu-define;
6343         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
6344         (octave-block-match-alist): Fix up last change so that
6345         octave-close-block uses the more specific keyword.
6346         (info-lookup-mode): Silence byte-compiler.
6347         (octave-beginning-of-defun): Not interactive any more.
6348         Optimize slightly.
6349         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
6350         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
6351         (octave-completion-at-point-function): Make sure point is within
6352         beg..end.
6353         (octave-reindent-then-newline-and-indent):
6354         Use reindent-then-newline-and-indent.
6355         (octave-add-octave-menu): Remove.
6357 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
6359         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
6360         (report-emacs-bug-can-use-xdg-email): New functions.
6361         (report-emacs-bug): Set can-xdg-email to result of
6362         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
6363         \C-cm to report-emacs-bug-insert-to-mailer and add help text
6364         about it.
6366         * net/browse-url.el (browse-url-default-browser): Add cond
6367         for browse-url-xdg-open.
6368         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
6370 2010-08-17  Glenn Morris  <rgm@gnu.org>
6372         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
6373         (c-fontify-recorded-types-and-refs): Define for compiler.
6374         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
6375         before use.
6377         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
6378         Fix format call.
6380 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
6382         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
6383         properties.
6384         (tramp-handle-process-file): Call the program in a subshell, in
6385         order to preserve working directory.
6386         (tramp-action-password): Hide password prompt before next run.
6387         (tramp-process-actions): Widen connection buffer for the trace.
6389 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
6391         * net/rcirc.el (rcirc-log-process-buffers): New option.
6392         (rcirc-print): Use it.
6393         (rcirc-generate-log-filename): New function.
6394         (rcirc-log-filename-function): Change default to
6395         rcirc-generate-log-filename (Bug#6828).
6397 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
6399         * simple.el (deactivate-mark): If select-active-regions is `only',
6400         only set selection for temporarily active regions.
6402         * cus-start.el: Change defcustom for select-active-regions.
6404 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
6406         * mouse.el (mouse--drag-set-mark-and-point): New function.
6407         (mouse-drag-track): Use LOCATION arg to push-mark.
6408         Use mouse--drag-set-mark-and-point to take click-count into
6409         consideration when updating point and mark (Bug#6840).
6411 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
6413         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6414         Give the Ruby rule a lower priority than Gnu (Bug#6778).
6416 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
6418         * font-lock.el (lisp-font-lock-keywords-2):
6419         Add combine-after-change-calls, condition-case-no-debug,
6420         with-demoted-errors, and with-silent-modifications (Bug#6025).
6422 2010-08-14  Kevin Ryde  <user42@zip.com.au>
6424         * emacs-lisp/copyright.el (copyright-update-year)
6425         (copyright-update): Temporary switch-to-buffer to ensure the
6426         buffer change being queried is visible (Bug#5394).
6428 2010-08-14  Tom Tromey  <tromey@redhat.com>
6430         * progmodes/etags.el (tags-file-name): Mark safe if stringp
6431         (Bug#6733).
6433 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
6435         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
6436         MS-DOS.  (Bug#6689)
6438 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
6440         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
6441         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6442         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6443         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
6444         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
6445         Call menu-bar-set-tool-bar-position.
6447 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6449         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
6450         comment style (bug#6834).
6451         * progmodes/scheme.el (scheme-mode-syntax-table):
6452         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
6453         "b" flag in "' 14b" syntax.
6455         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
6456         for (un)commenting the region and performing completion.
6457         (octave-mode-menu): Use standard commands for help and completion.
6458         (octave-mode-syntax-table): Support %{..%} comments (sort of).
6459         (octave-mode): Use define-derived-mode.
6460         Set completion-at-point-functions and don't set columns.
6461         Don't disable adaptive-fill-regexp.
6462         (octave-describe-major-mode, octave-comment-region)
6463         (octave-uncomment-region, octave-comment-indent)
6464         (octave-indent-for-comment): Remove.
6465         (octave-indent-calculate): Rename from calculate-octave-indent.
6466         (octave-indent-line, octave-fill-paragraph): Update caller.
6467         (octave-initialize-completions): No need to make an alist.
6468         (octave-completion-at-point-function): New function.
6469         (octave-complete-symbol): Use it.
6470         (octave-insert-defun): Use define-skeleton.
6472         * progmodes/octave-mod.el (octave-mode): Set comment-add.
6473         (octave-mode-map): Use comment-dwim (bug#6829).
6475 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)
6477         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
6478         indentation of inserted comment.
6480 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
6482         * faces.el (region): Add type gtk that uses gtk colors.
6484         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
6485         Handle theme-name change.
6487 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
6489         * progmodes/sql.el: Version 2.5
6490         (sql-product-alist): Add :prompt-cont-regexp property for several
6491         database products.
6492         (sql-prompt-cont-regexp): New variable.
6493         (sql-output-newline-count, sql-output-by-send):
6494         New variables.  Record number of newlines in input text.
6495         (sql-send-string): Handle multiple filters and count newlines.
6496         (sql-send-magic-terminator): Count terminator newline.
6497         (sql-interactive-remove-continuation-prompt): Filters output to
6498         remove continuation prompts; one for each newline.
6499         (sql-interactive-mode): Set up new variables, prompt regexp and
6500         output filter.
6501         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
6502         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
6504 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6506         * emacs-lisp/pcase.el: New file.
6508 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
6510         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
6511         as here-document, otherwise the command could exceed maximum
6512         length of command line.
6513         (tramp-handle-vc-registered): Call script accordingly.
6514         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
6516 2010-08-10  Kenichi Handa  <handa@m17n.org>
6518         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
6519         composable pattern.
6521 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
6523         * emacs-lisp/package.el (package-version-split)
6524         (package--version-first-nonzero, package-version-compare):
6525         Functions removed.
6526         (package-directory-list, package-load-all-descriptors)
6527         (package--built-in, package-activate, define-package)
6528         (package-installed-p, package-compute-transaction)
6529         (package-read-all-archive-contents)
6530         (package--add-to-archive-contents, package-buffer-info)
6531         (package-tar-file-info, package-list-packages-internal):
6532         Use version-to-list and version-list-*.
6534         * emacs-lisp/package-x.el (package-upload-buffer-internal):
6535         Use version-to-list.
6536         (package-upload-buffer-internal): Use version-list-<=.
6538 2010-08-09  Kenichi Handa  <handa@m17n.org>
6540         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
6541         composable pattern.
6543 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
6545         * tutorial.el (tutorial--default-keys): C-d is now bound to
6546         delete-forward-char (Bug#6826).
6548         * mouse.el (mouse-drag-track): Remove accidentally-removed check
6549         for `double' value of mouse-1-click-follows-link (Bug#6807).
6551 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
6553         * replace.el (replace-highlight): Bind isearch-forward and
6554         isearch-error, ensuring that highlighting is updated if the user
6555         switches the search direction (Bug#6808).
6557         * isearch.el (isearch-lazy-highlight-forward): New var.
6558         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6559         (isearch-lazy-highlight-update): Use it.
6561 2010-08-08  Kenichi Handa  <handa@m17n.org>
6563         * international/mule.el (define-charset): Store NAME as :base property.
6564         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
6565         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
6566         current priority.  Force using the designation of the specific
6567         charset by adding `charset' text property.  Improve the whole algorithm.
6569 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
6571         * emulation/pc-select.el (pc-selection-mode-hook)
6572         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
6573         (pc-selection-mode): Fix typos in docstrings.
6575 2010-08-08  Kenichi Handa  <handa@m17n.org>
6577         * language/cyrillic.el: Don't add "microsoft-cp1251" to
6578         ctext-non-standard-encodings-alist here.
6580         * international/mule.el (ctext-non-standard-encodings-alist):
6581         Add "koi8-r" and "microsoft-cp1251".
6582         (ctext-standard-encodings): New variable.
6583         (ctext-non-standard-encodings-table): List only elements for
6584         non-standard encodings.
6585         (ctext-pre-write-conversion): Adjust for the above change.
6586         Check ctext-standard-encodings.
6588         * international/mule-conf.el (compound-text): Doc fix.
6589         (ctext-no-compositions): Doc fix.
6590         (compound-text-with-extensions): Doc fix.
6592 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6594         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
6596 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
6598         * progmodes/which-func.el (which-func-format): Split help-echo text
6599         into lines, like other mode-line tooltips.
6601         * server.el (server-start): When using TCP sockets, force IPv4
6602         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
6604 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6606         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
6608 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
6610         * term.el (term-delimiter-argument-list): Reflow docstring.
6611         (term-read-input-ring, term-write-input-ring, term-send-input)
6612         (term-bol, term-erase-in-display, serial-supported-or-barf):
6613         Fix typos in docstrings.
6615 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6617         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
6619 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
6621         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
6623 2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
6625         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
6626         Fix typo in docstring (bug#6747).
6628 2010-08-08  Leo  <sdl.web@gmail.com>
6630         * eshell/esh-io.el (eshell-get-target): Better detection of
6631         read-only file (Bug#6762).
6633 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
6635         * align.el (align-default-spacing): Doc fix.
6636         (align-region-heuristic, align-regexp): Fix typos in docstrings.
6638 2010-08-08  Stephen Peters  <speters@itasoftware.com>
6640         * calendar/icalendar.el
6641         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
6642         (icalendar--get-weekday-numbers): New.
6643         (icalendar--convert-recurring-to-diary): Handle multiple byday
6644         values in weekly rules.  (Bug#6766)
6646 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
6648         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
6649         (icalendar--create-uid, icalendar-export-region)
6650         (icalendar--parse-summary-and-rest): Code formatting.
6652 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
6654         * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
6655         to italicize headers.
6656         (calc-highlight-selections-with-faces): New variable.
6657         (calc-selected-face, calc-nonselected-face): New faces.
6659         * calc/calccomp.el (math-comp-highlight-string): Use
6660         `calc-highlight-selections-with-faces' to determine how to highlight
6661         sub-formulas.
6663         * calc/calc-sel.el (calc-show-selections): Change message to when
6664         using faces to highlight selections.
6666 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
6668         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
6669         Add SQLite 3 keywords, functions and datatypes.
6670         (sql-interactive-mode): Remove `comint-process-echoes' set to t
6671         (Bug#6686).
6673 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
6675         * simple.el (select-active-regions): Move to keyboard.c.
6676         (deactivate-mark): Used saved-region-selection.
6677         (select-active-region): Function removed.
6678         (activate-mark, set-mark, push-mark-command)
6679         (handle-shift-selection): Don't call it.
6680         (keyboard-quit): Avoid adding the region to the window selection.
6682         * mouse.el (mouse-drag-track): Remove hacks to deal with old
6683         select-active-regions implementation.
6684         (mouse-yank-at-click): Doc fix.
6686         * cus-start.el: Add custom declaration for select-active-regions.
6688 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
6690         * simple.el (delete-forward-char): Doc fix.
6692         * tutorial.el (help-with-tutorial): Hack safe file-local variables
6693         after reading the tutorial.
6695 2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
6697         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
6698         Fix for the case that a C style comment has its delimiters alone on
6699         their respective lines.
6701 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
6703         * net/tramp.el (tramp-handle-start-file-process): Set connection
6704         property "vec".
6705         (tramp-process-sentinel): Use it for flushing the cache.
6706         We cannot do it via the process buffer, the buffer could be deleted
6707         already when running the sentinel.
6709 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
6711         * comint.el (comint-mode): Make directory tracking functions
6712         functional on remote files.  (Bug#6764)
6714 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
6716         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
6718 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
6720         * emacs-lisp/find-gc.el (find-gc-source-files):
6721         Rename unexec.c => unexcoff.c.
6723         * emacs-lisp/authors.el (authors-fixed-entries):
6724         Rename unexec.c => unexcoff.c.
6726 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
6728         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
6729         cache, not only file cache.
6730         (tramp-process-sentinel): New defun.
6731         (tramp-handle-start-file-process): Use it, in order to invalidate
6732         file caches.
6734 2010-08-03  Leo  <sdl.web@gmail.com>
6736         * server.el (server-start): Simplify loop.
6738 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6740         * frame.el (screen-height, screen-width, set-screen-width)
6741         (set-screen-height): Remove ancient compatibility aliases.
6743         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
6744         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
6746         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
6747         that change current buffer.
6749 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
6751         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
6752         beginning of the string.  Use `string-match-p'.  (Bug#6765)
6754 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
6756         * cus-start.el (x-gtk-use-system-tooltips): New variable.
6758 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
6760         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
6761         (package--builtins): Tweak descriptions.
6762         (package-print-package): Upcase descriptions if necessary.
6763         Show all built-in packages in font-lock-builtin-face.
6764         (package-list-packages-internal): Omit "emacs" package.
6765         Show status of built-in packages as "built-in".
6767 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
6769         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
6770         before killing to preserve the primary selection (Bug#6701).
6772         * term/x-win.el (x-select-text): Doc fix.
6774 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
6776         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
6777         (objc-font-lock-extra-types):
6778         * progmodes/cc-mode.el (c-basic-common-init):
6779         * progmodes/cc-langs.el (c-make-mode-syntax-table)
6780         (c++-make-template-syntax-table)
6781         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
6782         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
6783         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
6784         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
6785         * progmodes/cc-fonts.el (c-make-inverse-face)
6786         (c-basic-matchers-after):
6787         * progmodes/cc-engine.el (c-forward-keyword-clause)
6788         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
6789         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
6790         (c-guess-continued-construct, c-guess-basic-syntax):
6791         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
6792         The above functions were modified or created.
6794 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
6796         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
6798 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
6800         * files.el (bidi-paragraph-direction): Define safe local values.
6802         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
6803         language-info-alist.  Remove outdated FIXME in a comment.
6805 2010-07-31  Alan Mackenzie  <acm@muc.de>
6807         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
6808         Auto-fill broken in C/C++ modes.
6810 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
6812         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6813         (menu-bar-showhide-tool-bar-menu-customize-disable)
6814         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6815         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
6816         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
6817         (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
6818         make a menu for Options => toolbar that can move it.
6820 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
6822         * emacs-lisp/package-x.el (package--make-rss-entry):
6823         (package-maint-add-news-item, package--update-news)
6824         (package-upload-buffer-internal): New arg ARCHIVE-URL.
6826         * emacs-lisp/package.el (package-archive-url): Rename from
6827         package-archive-id.
6828         (package-install): Doc fix.
6829         (package-download-single, package-download-tar, package-install)
6830         (package-menu-view-commentary): Callers changed.
6832 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
6834         * net/tramp.el (tramp-handle-start-file-process): Check only for
6835         `remote-tty' process property.
6836         (tramp-open-shell): Don't check for tty.
6837         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6838         process property.
6840         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
6841         host.
6843 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
6845         * emacs-lisp/package.el (package-load-list, package-archives)
6846         (package-archive-contents, package-user-dir)
6847         (package-directory-list, package--builtins, package-alist)
6848         (package-activated-list, package-obsolete-alist): Mark as risky.
6850 2010-07-28  Phil Hagelberg  <phil@evri.com>
6852         Add support for non-default package repositories.
6853         * emacs-lisp/package.el (package-archive-base): Var deleted.
6854         (package-archives): New variable.
6855         (package-archive-contents): Doc fix.
6856         (package-load-descriptor): Do nothing if descriptor file is missing.
6857         (package--write-file-no-coding): New function.
6858         (package-unpack-single): Use it.
6859         (package-archive-id): New function.
6860         (package-download-single, package-download-tar)
6861         (package-menu-view-commentary): Use it.
6862         (package-installed-p): Make second argument optional.
6863         (package-read-all-archive-contents): New function.
6864         (package-initialize): Use it.
6865         (package-read-archive-contents): Add ARCHIVE argument.
6866         (package--add-to-archive-contents): New function.
6867         (package-install): Don't call package-read-archive-contents.
6868         (package--download-one-archive): Store archive file in a
6869         subdirectory of package-user-dir.
6870         (package-menu-execute): Remove spurious line movement.
6872 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
6874         * cus-start.el (tool-bar-style): Add text-image-horiz.
6876 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
6878         * progmodes/gud.el (gud-common-init): Check for remoteness of
6879         `file', and not of `default-directory'.
6881 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
6883         * net/tramp.el (tramp-methods): Move hostname to the end in all
6884         ssh `tramp-login-args'.
6885         (tramp-verbose): Describe verbose level 9.
6886         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
6887         (tramp-open-connection-setup-interactive-shell): Trace stty
6888         settings if `tramp-verbose' >= 9.
6889         (tramp-handle-start-file-process): Implement tty setting.
6890         (Bug#4604, Bug#6360)
6892         * net/tramp-cmds.el (tramp-bug): Recommend setting of
6893         `tramp-verbose' to 9.
6895 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
6897         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
6898         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
6899         Remove references to package `lisp-re' (bug#4369).
6901 2010-07-27  Tom Tromey  <tromey@redhat.com>
6903         * progmodes/js.el (js-mode):
6904         * progmodes/make-mode.el (makefile-mode):
6905         * progmodes/simula.el (simula-mode):
6906         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
6908 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
6910         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
6912         * time.el (display-time-day-and-date): Remove spurious * in docstring.
6913         (display-time-world-buffer-name, display-time-world-mode-map):
6914         Fix typos in docstrings.
6916 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
6918         * image-mode.el (image-display-size): New function.
6919         (image-forward-hscroll, image-next-line, image-eol, image-eob)
6920         (image-mode-fit-frame): Use it (Bug#6639).
6922 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
6924         * dired.el (dired-buffers-for-dir): Handle list values of
6925         dired-directory (Bug#6636).
6927 2010-07-26  Sam Steingold  <sds@gnu.org>
6929         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
6930         Do not call `x-get-selection' the second time, reuse the value.
6932 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
6934         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
6935         which consist of control chars only.  Suggested by Richard Stallman.
6937 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
6939         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
6940         exists before passing an error to find-file-not-found-functions
6941         (bug#6723).
6943 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
6945         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
6946         Remove leading nil element, adjust values.
6947         (tetris-shapes, tetris-shape-scores):
6948         Change representation of shapes and remove some redundancy.
6949         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
6950         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
6951         Adjust for working with new representation of shapes.
6952         (tetris-shape-rotations): New function.
6953         (tetris-move-bottom, tetris-move-left, tetris-move-right)
6954         (tetris-rotate-prev, tetris-rotate-next):
6955         Adjust for working with the new version of tetris-test-shape.
6957 2010-07-23  Markus Triska  <markus.triska@gmx.at>
6959         * progmodes/ps-mode.el: Use comint (bug#5954).
6960         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
6961         (ps-mode-other-newline): Simplify.
6962         (ps-run-mode): Derive from comint-mode instead of
6963         fundamental-mode, yielding input history etc.
6964         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
6965         (ps-run-send-string): Adapt for comint-mode.
6966         (ps-run-newline): Remove now unneeded function.
6968 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
6970         * net/tramp.el (tramp-methods): Move hostname to the end in all
6971         plink `tramp-login-args'.
6973 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
6975         * net/tramp.el (tramp-open-shell): New defun.
6976         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6977         Use it.
6979 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
6981         * net/tramp.el (tramp-file-name-regexp-unified)
6982         (tramp-completion-file-name-regexp-unified): On W32 systems, do
6983         not regard the volume letter as remote filename.  (Bug#5447)
6985 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
6987         * custom.el (custom-declare-variable): Give a clearer error message
6988         when the docstring is missing (bug#6476).
6990 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
6992         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
6993         (sql-login-params): New widget definition.
6994         (sql-oracle-login-params, sql-mysql-login-params)
6995         (sql-solid-login-params, sql-sybase-login-params)
6996         (sql-informix-login-params, sql-ingres-login-params)
6997         (sql-ms-login-params, sql-postgres-login-params)
6998         (sql-interbase-login-params, sql-db2-login-params)
6999         (sql-linter-login-params): Use it.
7000         (sql-sqlite-login-params): Use it; Define "database" parameter as
7001         a file name.
7002         (sql-sqlite-program): Change to "sqlite3".
7003         (sql-comint-sqlite): Make sure database name is complete.
7004         (sql-for-each-login): New function.
7005         (sql-connect, sql-save-connection): Use it.
7006         (sql-get-login-ext): New function.
7007         (sql-get-login): Use it.
7008         (sql-make-alternate-buffer-name): Handle :file parameters.
7010 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
7012         * dired.el (dired-no-confirm): Document value t and fix defcustom to
7013         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
7015 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
7017         * dired.el (dired-mode-map): Use command remapping (bug#6632).
7019 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
7021         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
7023 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
7025         * net/tramp.el (tramp-get-ls-command)
7026         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
7027         instead of "/".
7029 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
7031         * progmodes/sql.el: Version 2.3.
7032         (sql-connection-alist): Change keys from symbols to strings;
7033         enhanced the widget definition.
7034         (sql-mode-menu): Add submenu to select connections.
7035         (sql-interactive-mode-menu): Add "Save Connection" item.
7036         (sql-add-product): Fix menu item.
7037         (sql-get-product-feature): Improved error handling.
7038         (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
7039         (sql-make-alternate-buffer-name): Simplified.
7040         (sql-product-interactive): Handle missing product.
7041         (sql-connect): Support string keys, minor improvements.
7042         (sql-save-connection): New function.
7043         (sql-connection-menu-filter): New function.
7045 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
7047         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
7048         (tramp-open-connection-setup-interactive-shell):
7049         Apply workaround for IRIX64 bug.  Move argument of last
7050         `tramp-send-command' where it belongs to.
7052 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
7054         * net/tramp.el (tramp-perl-file-attributes)
7055         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
7056         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
7057         front of `login-args'.
7059 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
7061         * time.el (display-time-world-mode): Define with `define-derived-mode'.
7062         Set `show-trailing-whitespace' to nil.
7063         (display-time-world-display): Simplify.
7065 2010-07-18  Alan Mackenzie  <acm@muc.de>
7067         Enhance `c-file-style' in file/directory local variables.
7068         * progmodes/cc-mode.el (c-count-cfss): New function.
7069         (c-before-hack-hook): Call `c-set-style' differently according to
7070         whether c-file-style was set in file or directory local
7071         variables.
7073 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
7075         * progmodes/sql.el: Version 2.2.
7076         (sql-product, sql-user, sql-database, sql-server, sql-port):
7077         Use defcustom :safe keyword rather than putting safe-local-variable
7078         property.
7079         (sql-password): Use defcustom :risky keyword rather than putting
7080         risky-local-variable property.
7081         (sql-oracle-login-params, sql-sqlite-login-params)
7082         (sql-solid-login-params, sql-sybase-login-params)
7083         (sql-informix-login-params, sql-ingres-login-params)
7084         (sql-ms-login-params, sql-postgres-login-params)
7085         (sql-interbase-login-params, sql-db2-login-params)
7086         (sql-linter-login-params): Add `port' option.
7087         (sql-get-product-feature): Add NO-INDIRECT parameter.
7088         (sql-comint-oracle, sql-comint-sybase)
7089         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
7090         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
7091         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
7092         (sql-comint-linter): Rename sql-connect-* functions to
7093         sql-comint-*.
7094         (sql-product-alist, sql-mode-menu): Rename as above and
7095         :sqli-connect-func to :sqli-comint-func.
7096         (sql-connection): New variable.
7097         (sql-interactive-mode): Set it.
7098         (sql-connection-alist): New variable.
7099         (sql-connect): New function.
7100         (sql--alt-buffer-part, sql--alt-if-not-empty)
7101         (sql-make-alternate-buffer-name): Improved alternative buffer name.
7103 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7105         * image-mode.el (image-bookmark-make-record): Do not set context
7106         in an image (Bug#6650).
7108 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
7110         * simple.el (select-active-region): New function.
7111         (push-mark-command, set-mark, activate-mark)
7112         (handle-shift-selection): Use it.
7113         (deactivate-mark): Don't check for size of region.
7115         * mouse.el (mouse-drag-track): Use select-active-region.
7117 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
7119         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
7120         "--dired" stronger.
7122 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
7124         * term/x-win.el (x-select-enable-primary): Change default to nil.
7125         (x-select-enable-clipboard): Add :version keyword.
7127         * mouse.el (mouse-drag-copy-region):
7128         * simple.el (select-active-regions): Likewise.
7130 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
7132         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
7133         (vc-coding-system-for-diff): Use it to decide whether to inherit
7134         from the file the EOL format for reading the diffs of that file.
7135         (Bug#4451)
7137 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
7139         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
7140         unibyte, so compressed attachments are not compressed again.
7142 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
7144         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
7145         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
7146         (tramp-find-shell): Simplify setting connection property.
7147         (tramp-get-ls-command): Make test for "--color=never" stronger.
7149 2010-07-15  Simon South  <ssouth@member.fsf.org>
7151         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
7152         blocks within record declarations (i.e. variant parts) correctly.
7154 2010-07-15  Simon South  <ssouth@member.fsf.org>
7156         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
7157         over literal tokens when parsing so newlines aren't "absorbed" by
7158         single-line comments.  Corrects the indentation of case blocks
7159         that have a comment on the first line.
7161 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
7163         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
7164         by Drew Adams (Bug#5504).
7166 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
7168         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
7169         now that Unicode is used (Bug#6594).
7171 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
7173         * term/x-win.el (x-select-enable-clipboard): Default to t.
7174         (x-initialize-window-system): Don't overwrite Paste menu item.
7176         * simple.el (select-active-regions): Default to t.
7177         (push-mark-command): Don't overwrite primary with empty string.
7179         * mouse.el: Bind mouse-2 to mouse-yank-primary.
7180         (mouse-drag-copy-region): Default to nil.
7182         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
7183         Cut/Copy/Paste menu bar items.
7185 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7187         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
7188         Patch applied by Karl Fogel.
7190         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
7191         and `bookmark-current-buffer' if they have been already set in
7192         another buffer (e.g gnus-art).
7194 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
7195             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7197         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
7199         * bookmark.el (bookmark-make-record-default): Allow unneeded
7200         information to be omitted from the record.
7202         Adjust declarations and calls:
7204         * info.el (bookmark-make-record-default): Adjust declaration.
7205         (Info-bookmark-make-record): Adjust call.
7207         * woman.el (bookmark-make-record-default): Adjust declaration.
7208         (woman-bookmark-make-record): Adjust call.
7210         * man.el (bookmark-make-record-default): Adjust declaration.
7211         (Man-bookmark-make-record): Adjust call.
7213         * image-mode.el (bookmark-make-record-default): Adjust declaration.
7215         * doc-view.el (bookmark-make-record-default): Adjust declaration.
7217 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
7219         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
7220         This is also from Thierry Volpiatto's patch in bug #6444.  However,
7221         because it was extraneous to the functional change in that patch,
7222         and causes a re-indendation, I am committing it separately.
7224 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7226         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
7227         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
7228         Patch applied by Karl Fogel (Bug#6444).
7230 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
7232         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
7234 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
7236         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
7237         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
7238         (ns-alternatives-map): Change S-tab binding to backtab
7239         (bug#6616).
7241         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
7242         under ns.
7244 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
7246         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
7247         (Bug#5806)
7249         * language/tv-util.el (tai-viet-re): Remove format.
7251 2010-07-12  Kenichi Handa  <handa@m17n.org>
7253         * language/hebrew.el: Remove no-byte-compile declaration.
7254         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
7255         composition-function-table for 3-character looking back.
7256         (hebrew-font-get-precomposed): New function.
7257         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
7259 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
7261         * mouse.el (mouse-drag-track): Handle select-active-regions
7262         (Bug#6612).
7264 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
7266         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
7267         empty argument to gvfs-copy.
7269 2010-07-10  Glenn Morris  <rgm@gnu.org>
7271         * calendar/calendar.el (calendar-week-end-day): New function.
7272         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
7273         Respect calendar-week-start-day.  (Bug#6606)
7274         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
7275         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
7276         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
7277         respect calendar-week-start-day.
7279 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
7281         * simple.el (use-region-p): Doc fix (Bug#6607).
7283 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
7285         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7286         Add regexps for cucumber and ruby.
7288 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
7290         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
7291         (epa-file-insert-file-contents): Hack to prevent
7292         find-file from opening empty buffer when decryption failed
7293         (bug#6568).
7295 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
7297         * textmodes/ispell.el (ispell-alternate-dictionary):
7298         Use file-readable-p.
7299         Return nil if no word-list is found at default locations.
7300         (ispell-complete-word-dict): Default to nil.
7301         (ispell-command-loop): Use 'word-list' when using lookup-words.
7302         (lookup-words): Use ispell-complete-word-dict or
7303         ispell-alternate-dictionary.  Check for word-list availability
7304         and handle errors if needed with better messages (Bug#6539).
7305         (ispell-complete-word): Use ispell-complete-word-dict or
7306         ispell-alternate-dictionary.
7308 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
7310         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
7311         builtins (BufferError, BytesWarning, WindowsError; callables
7312         bin, bytearray, bytes, format, memoryview, next, print; __package__).
7314 2010-07-07  Glenn Morris  <rgm@gnu.org>
7316         * play/zone.el (top-level): Do not require timer, tabify, or cl.
7317         (zone-shift-left): Ignore intangibility, and any errors from
7318         forward-char.
7319         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
7320         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
7321         deleting, and copying text properties.
7322         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
7323         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
7324         to point-max is hard.
7325         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
7326         (zone-fill-out-screen): Ignore intangibility.
7328 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
7330         * menu-bar.el (menu-bar-mode):
7331         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
7332         if it has been set.
7334         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
7335         word/line selection (Bug#6565).
7337 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
7339         * net/dbus.el (dbus-send-signal): Declare function.
7341 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
7343         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
7344         (dbus-register-property): New optional argument EMITS-SIGNAL.
7345         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
7347 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
7349         * mouse.el (mouse-drag-overlay): Variable deleted.
7350         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
7351         (mouse--remap-link-click-p): New function.
7352         (mouse-drag-track): Handle dragging by using temporary Transient
7353         Mark mode, instead of a special overlay.
7354         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
7355         mouse-show-mark.
7357         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
7358         deleted.
7360 2010-07-02  Juri Linkov  <juri@jurta.org>
7362         * autoinsert.el (auto-insert-alist): Fix readability
7363         by using dotted pair notation for lambda.
7365 2010-07-02  Juri Linkov  <juri@jurta.org>
7367         * faces.el (read-face-name): Rename arg `string-describing-default'
7368         to `default'.  Doc fix.  Display the default value in quotes
7369         in the prompt.  With empty input, return the `default' arg,
7370         unless the default value is a string (in which case return nil).
7371         (describe-face): Replace the string `default' arg of `read-face-name'
7372         with the symbol `default'.
7374 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
7376         * emulation/viper-cmd.el (viper-delete-backward-char)
7377         (viper-del-backward-char-in-insert)
7378         (viper-del-backward-char-in-replace, viper-change)
7379         (viper-backward-indent): Replace delete-backward-char with
7380         delete-char (Bug#6552).
7382 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
7384         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
7386 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
7388         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
7389         argument passed to frame-creation-function (Bug#5378).
7391         * faces.el (x-handle-named-frame-geometry)
7392         (x-handle-reverse-video, x-create-frame-with-faces)
7393         (face-set-after-frame-default, tty-create-frame-with-faces):
7394         Don't separately consult default-frame-alist.  It is now passed as the
7395         PARAMETER argument.
7397 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
7399         * startup.el (command-line): Don't call tool-bar-setup in a
7400         tty-only build.
7402 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
7404         * ruler-mode.el (ruler--save-header-line-format): New fun.
7405         (ruler-mode): Use it as a setter function, so as not to overwrite
7406         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
7408 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
7410         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
7411         (vc-root-diff, vc-print-root-log, vc-log-incoming)
7412         (vc-log-outgoing): Use it.
7413         (vc-diff-internal): Set diff-vc-backend.
7415         * vc/diff-mode.el (diff-vc-backend): New var.
7417 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
7419         * dynamic-setting.el (font-setting-change-default-font):
7420         Remove call to message.
7422 2010-06-28  Kenichi Handa  <handa@m17n.org>
7424         * international/quail.el (quail-insert-kbd-layout): Fix the
7425         showing of untranslated characters.
7427 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
7429         * simple.el (delete-active-region): New option.
7430         (delete-backward-char): Implement in Lisp.
7431         (delete-forward-char): New command.
7433         * mouse.el (mouse-region-delete-keys): Deleted.
7434         (mouse-show-mark): Simplify.
7436         * bindings.el (global-map): Bind delete and DEL, the former to
7437         delete-forward-char.
7439 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
7441         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
7442         (ruby-mode): Bind indent-line-function (Bug#5119).
7444 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
7446         * startup.el (command-line): Recognize "0" X resource value.
7448 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
7450         * startup.el (command-line): Use X resources to set the value of
7451         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
7453         * menu-bar.el (menu-bar-mode):
7454         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
7455         Set init-value to t.
7457         * frame.el (frame-notice-user-settings): Don't change
7458         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
7459         vice versa (Bug#2249).
7461 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
7463         * w32-fns.el (w32-convert-standard-filename): Doc fix.
7465 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
7467         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
7468         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
7470         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
7471         default directories are expanded (Bug#6143).
7473 2010-06-24  Juri Linkov  <juri@jurta.org>
7475         * minibuffer.el (completions-format): Change default from nil to
7476         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
7478 2010-06-24  Juri Linkov  <juri@jurta.org>
7480         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
7481         buffer-locally to lambda that re-runs the vc diff command.
7482         (Bug#6447)
7484 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
7486         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
7487         echo area is in use (Bug#3412).
7489 2010-06-22  Glenn Morris  <rgm@gnu.org>
7491         * textmodes/texinfmt.el (texinfo-format-region)
7492         (texinfo-raise-lower-sections, texinfo-format-separate-node)
7493         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
7494         (texinfo-format-option, texinfo-noindent):
7495         Use line-beginning-position and line-end-position.
7497         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
7498         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
7499         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
7500         utf-8 characters.
7502 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
7504         * play/zone.el (zone-fall-through-ws): Fix next-line ->
7505         forward-line fallout.
7507 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
7509         * mouse.el (mouse-appearance-menu): Add docstring.
7511         * help.el (describe-key): Print up-event using key-description.
7513 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
7515         * net/zeroconf.el (zeroconf-resolve-service)
7516         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
7517         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
7519 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
7521         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
7523 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
7525         Avoid displaying files with a nil state in vc-dir.
7526         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
7527         cases that cause insertion.
7528         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
7529         with a nil state.
7531 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
7533         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
7535 2010-06-29  Leo  <sdl.web@gmail.com>
7537         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
7539 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
7541         * generic-x.el (bat-generic-mode): Fix regexp for command line
7542         switches (Bug#5719).
7544 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
7546         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
7547         of nconc to avoid pure storage error (Bug#6239).
7549 2010-06-27  Christoph  <cschol2112@googlemail.com>  (tiny change)
7551         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
7552         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
7553         bindings of bookmark-automatically-show-annotations (Bug#6515).
7555 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
7557         * arc-mode.el (archive-zip-extract): Don't quote the file name on
7558         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
7560 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
7562         * comint.el (make-comint, make-comint-in-buffer): Mention return
7563         value in the docstrings.  (Bug#6498)
7565 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
7567         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
7568         since it is not present when using some non-default switches.
7570 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
7572         * simple.el (compose-mail): Fix doc string to refer to
7573         `compose-mail-user-agent-warnings', instead of to the
7574         nonexistent `compose-mail-check-user-agent'.
7576 2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>
7578         Fix an indentation bug:
7580         * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
7581         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
7582         of existing values.
7584         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
7585         (c-clear->-pair-props-if-match-before): now return t when they've
7586         cleared properties, nil otherwise.
7587         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
7588         by taking account of the existing value.
7590         * progmodes/cc-defs.el
7591         (c-clear-char-property-with-value-function): Fix this to clear the
7592         property rather than overwriting it with nil.
7594 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
7596         * emacs-lisp/package.el (package-print-package): Add link to
7597         package description via describe-package.
7598         (describe-package-1): List package requirements.  Add button to
7599         perform installation.
7600         (package-menu-describe-package): New command.
7602         * help-mode.el (help-package): New button type.
7604 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
7606         * emacs-lisp/package.el: Move package-list-packages binding to
7607         menu-bar.el.
7608         (describe-package, describe-package-1, package--dir): New funs.
7609         (package-activate-1): Use package--dir.
7611         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
7613         * help-mode.el (help-package-def): New button type.
7615         * menu-bar.el: Move package-list-packages binding here from
7616         package.el.
7618 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
7620         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
7622 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7624         * emacs-lisp/edebug.el (edebug-read-list):
7625         Phase out old-style backquotes.
7627 2010-06-17  Juri Linkov  <juri@jurta.org>
7629         * help-mode.el (help-mode): Set buffer-local variable
7630         revert-buffer-function to help-mode-revert-buffer.
7631         (help-mode-revert-buffer): New function.
7633         * info.el (Info-revert-find-node): Check for major-mode Info-mode
7634         before popping to "*info*" (like in other Info functions).
7635         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
7636         old-history-forward.  Pop to old-buffer-name or "*info*" to
7637         recreate the killed buffer.  Set Info-history-forward from
7638         old-history-forward.
7639         (Info-breadcrumbs-depth): Add :group and :version.
7641 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
7643         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
7645 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
7647         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
7648         for languages like Portuguese with pt_{BR,PT} and no plain pt.
7650 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
7652         * emacs-lisp/package.el (package-menu-mode-map):
7653         Move initialization into declaration.
7655         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
7657 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
7659         * emacs-lisp/package.el (package-archive-base): Point to
7660         elpa.gnu.org.
7661         (package-enable, package-load-list): New defcustoms.
7662         (package-user-dir, package-directory-list): Turn into defcustoms.
7663         Don't include package-user-dir in package-directory-list.
7664         (package--builtins-base): Don't include Emacs as a "package".
7665         (package-subdirectory-regexp): New var.
7666         (package-load-all-descriptors, package-compute-transaction)
7667         (package-download-transaction): Obey package-load-list.
7668         (package-activate-1): Rename from package-do-activate.
7669         (package-list-packages-internal): Check package-load-list.
7670         (package-load-descriptor, package-generate-autoloads)
7671         (package-unpack, package-unpack-single)
7672         (package--read-archive-file, package-delete):
7673         Use expand-file-name.
7675         * emacs-lisp/package-x.el: New file.  Package uploading
7676         functionality split out from package.el.
7678         * startup.el (command-line): Load packages after reading init file.
7680 2010-06-17  Tom Tromey  <tromey@redhat.com>
7682         * emacs-lisp/package.el: New file.
7684 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
7686         Fix vc-annotate for renamed files when using Git.
7687         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
7688         ls-files.  Doe not pass the object as a file name to cat-file, it
7689         is not a file name.
7690         (vc-git-annotate-command): Pass the file name using -- to avoid
7691         ambiguity with the revision.
7692         (vc-git-previous-revision): Pass a relative file name.
7694 2010-06-22  Glenn Morris  <rgm@gnu.org>
7696         * progmodes/js.el (js-mode-map): Use standard capitalization and
7697         ellipses for menu entries.
7699         * wid-edit.el (widget-complete): Doc fix.
7701 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
7703         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
7705 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
7707         Fix annotating other revisions for renamed files in vc-annotate.
7708         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
7709         VC backend.  Use it when non-nil.
7710         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
7711         (Bug#6487).
7713         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
7714         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7715         Do not pass the file name to the 'previous-revision call when we
7716         don't want a file diff.  (Bug#6489)
7718 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
7720         Fix finding revisions for renamed files in vc-annotate.
7721         * vc/vc.el (vc-find-revision): Add an optional argument for
7722         the VC backend.  Use it when non-nil.
7723         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
7724         backend to vc-find-revision.  (Bug#6487)
7726 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
7728         Fix reading file names in Git annotate buffers.
7729         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
7730         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
7732 2010-06-20  Alan Mackenzie  <acm@muc.de>
7734         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
7735         in file local variables, set it first.
7737 2010-06-19  Glenn Morris  <rgm@gnu.org>
7739         * descr-text.el (describe-char-unicode-data): Insert separating
7740         space when needed.  (Bug#6422)
7742         * progmodes/idlwave.el (idlwave-action-and-binding):
7743         Fix typo in 2009-12-03 change.  (Bug#6450)
7745 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7747         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
7748         handling for `lambda' (misunderstanding).
7750 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
7752         * calc/calc-poly.el (math-accum-factors): Make sure that
7753         constants aren't distributed after they are factored out.
7755 2010-06-16  Juri Linkov  <juri@jurta.org>
7757         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
7758         `list-colors-print'.  (Bug#6332)
7760         * subr.el (read-quoted-char): Fix up last change (bug#6290).
7762 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
7764         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
7765         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
7767         * font-lock.el (font-lock-major-mode): Rename from
7768         font-lock-mode-major-mode to distinguish it from
7769         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
7770         (font-lock-set-defaults):
7771         * font-core.el (font-lock-default-function): Adjust users.
7772         (font-lock-mode): Don't set it at all.
7774 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
7776         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
7778 2010-06-16  Glenn Morris  <rgm@gnu.org>
7780         * calendar/appt.el (appt-time-msg-list): Doc fix.
7781         (appt-check): Let-bind appt-warn-time.
7782         (appt-add): Make the 3rd argument optional.
7783         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
7784         Only add WARNTIME to the output list if non-nil.
7786 2010-06-16  Ivan Kanis  <apple@kanis.eu>
7788         * calendar/appt.el (appt-check): Let the 3rd element of
7789         appt-time-msg-list specify the warning time.
7790         (appt-add): Add new argument with the warning time.  (Bug#5176)
7792 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
7794         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
7795         older than version 1.6.  (Bug#6361)
7797 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
7799         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
7800         used by cl-do-arglist.  (Bug#6408)
7802 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
7804         * textmodes/ispell.el (ispell-dictionary-base-alist):
7805         Fix portuguese casechars/not-casechars for missing 'çÇ'.
7806         Suggested by Rolando Pereira (bug#6434).
7808 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
7810         * facemenu.el (list-colors-sort): Doc fix.
7812 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
7814         * progmodes/sql.el (sql-connect-mysql): Fix typo.
7816 2010-06-14  Juri Linkov  <juri@jurta.org>
7818         Add sort option `list-colors-sort'.  (Bug#6332)
7819         * facemenu.el (color-rgb-to-hsv): New function.
7820         (list-colors-sort): New defcustom.
7821         (list-colors-sort-key): New function.
7822         (list-colors-display): Doc fix.  Sort list according to the option
7823         `list-colors-sort'.
7824         (list-colors-print): Add HSV values to `help-echo' property of
7825         RGB strings.
7827 2010-06-14  Juri Linkov  <juri@jurta.org>
7829         * compare-w.el: Move to the "vc" subdirectory.
7831 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7833         * image-mode.el (image-mode-map): Remap left-char and right-char.
7835         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
7837 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
7839         * term/common-win.el (x-colors): Add all the color names defined
7840         in rgb.txt (Bug#6332).
7842         * facemenu.el (list-colors-print): Don't print extra names if it
7843         will overflow the window width.
7845         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
7846         change (Bug#6343).
7848 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
7850         * files.el (make-directory): Doc fix (bug#6396).
7852 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
7854         * net/tramp.el (tramp-remote-process-environment): Protect version
7855         string by apostroph.
7856         (tramp-shell-prompt-pattern): Do not use a shy group in case of
7857         XEmacs.
7858         (tramp-file-name-for-operation): Add `call-process-region'.
7859         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
7861         * net/tramp-compat.el (top): Do not autoload
7862         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
7863         only when `start-file-process' is not bound.
7864         (tramp-advice-file-expand-wildcards): Do not use
7865         `tramp-handle-file-remote-p'.
7866         (tramp-compat-make-temp-file): Handle the case, that
7867         `make-temp-file' has no third argument EXTENSION.
7869 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
7871         * makefile.w32-in (WINS_BASIC): Include new directory vc.
7873         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
7875 2010-06-11  Juri Linkov  <juri@jurta.org>
7877         * finder.el (finder-known-keywords): Add keyword "vc"
7878         for version control.
7880         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
7881         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
7882         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
7883         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
7885 2010-06-11  Juri Linkov  <juri@jurta.org>
7887         Move version control related files to the "vc" subdirectory.
7888         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
7889         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
7890         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
7891         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
7892         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
7893         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
7894         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
7895         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
7896         Move files to the "vc" subdirectory.
7898 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
7900         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
7901         (Bug#6367).
7903 2010-06-11  Stephen Eglen  <stephen@gnu.org>
7905         * shell.el: Bind `shell-resync-dirs' to M-RET.
7907 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
7909         * notifications.el: Move file from lisp/net, because it is
7910         supposed to talk locally to the user.
7912 2010-06-10  Julien Danjou  <julien@danjou.info>
7914         * net/notifications.el (notifications-on-action-signal)
7915         (notifications-on-closed-signal): Pass notification id as first
7916         argument to the callback functions.  Add docstrings.
7917         (notifications-notify): Fix docstring.
7919 2010-06-10  Glenn Morris  <rgm@gnu.org>
7921         * emacs-lisp/authors.el (authors-ignored-files)
7922         (authors-valid-file-names): Add some files.
7924 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7926         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
7927         merge conflict, giving preference to the emacs-23 version of the code.
7929 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7931         * emacs-lisp/advice.el (ad-compile-function):
7932         Define warning-suppress-types before we let-bind it (bug#6275).
7934         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
7935         declare it, make it buffer-local and permanent-local (bug#6324).
7936         (vc-resynch-window): Adjust name.
7937         * vc-hooks.el (vc-find-file-hook): Adjust name.
7939 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
7941         * net/notifications.el (notifications-notify): Fix docstring.
7943 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
7945         Update to Unicode 6.0.0 beta.
7946         * international/charprop.el: Update copyright.
7947         * international/mule-cmds.el (ucs-names): Update character ranges.
7948         * international/uni-bidi.el:
7949         * international/uni-category.el:
7950         * international/uni-combining.el:
7951         * international/uni-comment.el:
7952         * international/uni-decimal.el:
7953         * international/uni-decomposition.el:
7954         * international/uni-digit.el:
7955         * international/uni-lowercase.el:
7956         * international/uni-mirrored.el:
7957         * international/uni-name.el:
7958         * international/uni-numeric.el:
7959         * international/uni-old-name.el:
7960         * international/uni-titlecase.el:
7961         * international/uni-uppercase.el: Regenerate.
7963 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
7965         * emacs-lisp/smie.el (comment-string-strip): Declare function.
7966         (smie-precs-precedence-table): Fix typo in docstring.
7968         * vc-mtn.el (log-edit-extract-headers): Declare function.
7970         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
7972         * net/notifications.el (dbus-register-signal): Declare function.
7973         (notifications-notify): Fix typos and reflow docstring.
7975 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
7977         Improve VC create/retrieve tag/branch.
7978         * vc.el (vc-create-tag): Do not read the directory name for VCs
7979         with repository revision granularity.  Adjust the tag/branch
7980         prompt.  Reset VC properties.
7981         (vc-retrieve-tag): Do not read the directory name for VCs
7982         with repository revision granularity.  Reset VC properties.
7984 2010-06-09  Julien Danjou  <julien@danjou.info>
7986         * net/notifications.el: New file.
7988 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
7990         Add optional support for resetting VC properties.
7991         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
7992         call vc-file-clearprops when true.
7993         (vc-resynch-buffer): Add new optional argument, pass it down.
7994         (vc-resynch-buffers-in-directory): Likewise.
7996         Improve support for special markup in the VC commit message.
7997         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
7998         * vc-hg.el (vc-hg-checkin): Add support for Date:.
7999         * vc-git.el (vc-git-checkin):
8000         * vc-bzr.el (vc-bzr-checkin): Likewise.
8002 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8004         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
8005         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
8007 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
8009         * iimage.el: Remove images as soon as the underlying text is modified.
8010         (iimage-modification-hook): New function.
8011         (iimage-mode-buffer): Use it.
8013 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8015         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
8016         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
8017         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
8018         (smie-indent-keyword): Add handling of open-paren keywords.
8019         (smie-indent-comment-continue): Don't assume comment-continue.
8021 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
8023         * window.el (pop-to-buffer): Remove the conditional that
8024         compares new-window and old-window, so it will reselect
8025         the selected window unconditionally.
8026         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
8028 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8030         * emacs-lisp/smie.el (smie-indent-offset-after)
8031         (smie-indent-forward-token, smie-indent-backward-token): New functions.
8032         (smie-indent-after-keyword): Use them.
8033         (smie-indent-fixindent): Only applies to the indentation of the BOL.
8034         (smie-indent-keyword): Tweak the black magic.
8035         (smie-indent-comment-continue): Strip comment-continue before use.
8036         (smie-indent-functions): Indent comments before keywords.
8038 2010-06-06  Juri Linkov  <juri@jurta.org>
8040         * isearch.el (isearch-lazy-highlight-search): Fix looping
8041         by checking for empty match.  This syncs this loop with the
8042         similar loop in `isearch-search'.  (Bug#6362)
8044 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
8046         * net/dbus.el (dbus-register-method): Declare function.
8047         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
8048         (dbus-introspect): Doc fix.
8049         (dbus-event-bus-name, dbus-introspect-get-interface)
8050         (dbus-introspect-get-argument): Reflow docstrings.
8052 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
8054         vc-log-incoming/vc-log-outgoing fixes for Git.
8055         * vc-git.el (vc-git-log-view-mode): Fix font lock for
8056         incoming/outgoing logs.
8057         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
8058         instead of vc-git-compute-remote.
8059         (vc-git-compute-remote): Remove.
8061 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
8063         * term/common-win.el (x-colors): Add "dark green" and "dark
8064         turquoise" (Bug#6332).
8066 2010-06-04  Juri Linkov  <juri@jurta.org>
8068         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
8069         Instead of setting `replace' to t and replacing the same string
8070         with itself, don't do certain actions when
8071         kill-do-not-save-duplicates is non-nil and string is equal to car
8072         of kill-ring: don't call menu-bar-update-yank-menu, don't push
8073         interprogram-paste strings to kill-ring, and don't push the input
8074         argument `string' to kill-ring.
8075         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
8077 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
8079         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
8081 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
8083         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
8084         (tramp-gvfs-handler-mounted-unmounted)
8085         (tramp-gvfs-connection-mounted-p): Handle default-location.
8087         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
8088         move files to trash.
8090 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
8092         * international/mule-cmds.el (nonascii-insert-offset)
8093         (nonascii-translation-table): Add obsolescence information.
8095         * international/mule.el (make-translation-table-from-vector): Doc fix.
8097 2010-06-03  Glenn Morris  <rgm@gnu.org>
8099         * desktop.el (desktop-clear-preserve-buffers):
8100         Add "*Warnings*" buffer.  (Bug#6336)
8102 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
8104         vc-log-incoming/vc-log-outgoing improvements for Git.
8105         * vc-git.el (vc-git-log-outgoing): Use the same format as the
8106         short log.
8107         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
8109         Add bindings for vc-log-incoming and vc-log-outgoing.
8110         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
8111         and vc-log-outgoing.
8112         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
8113         and vc-log-outgoing.
8115 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
8117         * net/rcirc.el (rcirc-sort-nicknames): Remove.
8118         (rcirc-handler-366): Always sort nicknames.
8120 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
8122         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
8124 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
8126         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
8128 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8130         * net/rcirc.el (rcirc-sort-nicknames): Change default.
8131         (rcirc-sort-nicknames-join): Avoid setq.
8133 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
8135         * net/rcirc.el (rcirc-sort-nicknames): New custom.
8136         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
8137         (rcirc-handler-366): Use them.
8139 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8141         Split smie-indent-calculate into more manageable chunks.
8142         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
8143         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
8144         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
8145         (smie-indent-exps): Extract from smie-indent-calculate.
8146         (smie-indent-functions): New var.
8147         (smie-indent-functions): Use them.
8149 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8151         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
8152         (smie-indent-calculate): Simplify and cleanup.
8154 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
8156         * net/tramp-gvfs.el (top): Require url-util.
8157         (tramp-gvfs-mount-point): Remove.
8158         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
8159         New defuns.
8160         (with-tramp-dbus-call-method): Format trace message.
8161         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
8162         Implement backup call, when operation on local files fails.
8163         Use progress reporter.  Flush properties of changed files.
8164         (tramp-gvfs-handle-make-directory): Make more traces.
8165         (tramp-gvfs-url-file-name): Hexify file name in url.
8166         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
8167         into account for the resulting file name.
8168         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
8169         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
8170         (tramp-gvfs-handler-mounted-unmounted)
8171         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
8172         attribute "default_location".  Set "prefix" property.
8173         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
8174         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
8175         exists.  Raise an error, if not (due to a corresponding answer
8176         "no" in interactive questions, for example).
8178 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
8180         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
8182 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
8184         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
8185         right-*.  (Bug#6265)
8187 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
8189         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
8190         * vc-git.el (vc-git-compute-remote): New function.
8191         (vc-git-log-outgoing): Use it instead of hard coding a value.
8192         (vc-git-log-incoming): New function.
8194         Improve state updating for VC tag commands.
8195         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
8196         to update the state of all buffers in the directory.
8198         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
8200 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8202         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
8203         `file-directory-p' to the filename part rather than to the whole text.
8205 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8207         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
8209 2010-05-31  Drew Adams  <drew.adams@oracle.com>
8211         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
8213 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
8215         * subr.el (momentary-string-display): Just use read-event to read
8216         the exit event (Bug#6238).
8218 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
8220         * international/mule.el (define-coding-system): Doc fix (bug#6313).
8222 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
8224         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
8225         Suggested by Eli Zaretskii <eliz@gnu.org>.
8227 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8229         * minibuffer.el (completion-file-name-table): Don't return a boundary
8230         past the end of `string' (bug#6299).
8231         (completion--file-name-table): Delegate to completion-file-name-table
8232         for the `boundaries' case.
8234 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
8236         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
8237         movement commands.
8239         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
8240         `path-separator', but maintain compatibility with Emacs 20.2.
8242 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
8244         * server.el (server-process-filter): Receive parent-id argument
8245         from emacsclient.
8246         (server-create-window-system-frame): New arg.  Pass parent-id as
8247         frame parameter.
8249 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
8251         Bidi-sensitive word movement with arrow keys.
8252         * subr.el (right-arrow-command, left-arrow-command): Move to
8253         bindings.el.
8255         * bindings.el (right-char, left-char): Move from subr.el and
8256         rename from right-arrow-command and left-arrow-command.
8257         (right-word, left-word): New functions.
8258         (global-map) <right>: Bind to right-char.
8259         (global-map) <left>: Bind to left-char.
8260         (global-map) <C-right>: Bind to right-word.
8261         (global-map) <C-left>: Bind to left-word.
8263         * ls-lisp.el (ls-lisp-classify-file): New function.
8264         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
8265         (ls-lisp-classify): Call ls-lisp-classify-file.
8266         (insert-directory): Remove blanks from switches.
8268 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
8270         * ansi-color.el: Delete unused escape sequences (Bug#6085).
8271         (ansi-color-drop-regexp): New constant.
8272         (ansi-color-apply, ansi-color-filter-region)
8273         (ansi-color-apply-on-region): Delete unrecognized control sequences.
8274         (ansi-color-apply): Build string list before calling concat.
8276 2010-05-28  Juri Linkov  <juri@jurta.org>
8278         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8279         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
8280         (Bug#5270)
8282 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
8284         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
8285         to ignored backtrace functions.
8286         (with-progress-reporter): Expand docstring.
8287         (tramp-handle-delete-file): Implement TRASH argument.
8288         (tramp-get-remote-trash): New defun.
8290 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
8292         * net/tramp-compat.el (tramp-compat-delete-file):
8293         Use `symbol-value' for backward compatibility.
8295         * net/tramp.el (tramp-handle-make-symbolic-link)
8296         (tramp-handle-load)
8297         (tramp-do-copy-or-rename-file-via-buffer)
8298         (tramp-do-copy-or-rename-file-directly)
8299         (tramp-do-copy-or-rename-file-out-of-band)
8300         (tramp-handle-process-file, tramp-handle-call-process-region)
8301         (tramp-handle-shell-command, tramp-handle-file-local-copy)
8302         (tramp-handle-insert-file-contents, tramp-handle-write-region)
8303         (tramp-delete-temp-file-function): Use `delete-file' instead
8304         of `tramp-compat-delete-file'.
8306         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8307         (tramp-fish-handle-make-symbolic-link)
8308         (tramp-fish-handle-process-file): Use `delete-file' instead
8309         of `tramp-compat-delete-file'.
8311         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8312         Use `delete-file' instead of `tramp-compat-delete-file'.
8314         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8315         (tramp-gvfs-handle-write-region): Use `delete-file' instead of
8316         `tramp-compat-delete-file'.
8318         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
8319         Use `delete-file' instead of `tramp-compat-delete-file'.
8321         * net/tramp-smb.el (tramp-smb-handle-copy-file)
8322         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8323         (tramp-smb-handle-write-region): Use `delete-file' instead of
8324         `tramp-compat-delete-file'.
8325         (tramp-smb-handle-delete-directory): Use 'trash as arg.
8327 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
8329         * dired.el (dired-delete-file): New arg TRASH.
8330         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
8331         (dired-do-flagged-delete, dired-do-delete): Use trash.
8333         * speedbar.el (speedbar-item-delete): Allow trashing.
8335         * files.el (delete-directory): New arg TRASH.
8337         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
8338         (ange-ftp-rename-remote-to-remote)
8339         (ange-ftp-rename-local-to-remote)
8340         (ange-ftp-rename-remote-to-local, ange-ftp-load)
8341         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
8342         `delete-file'.
8343         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
8344         allow trashing.
8346         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
8347         handle new TRASH arg of `delete-file'.
8349         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
8350         (tramp-handle-make-symbolic-link, tramp-handle-load)
8351         (tramp-do-copy-or-rename-file-via-buffer)
8352         (tramp-do-copy-or-rename-file-directly)
8353         (tramp-do-copy-or-rename-file-out-of-band)
8354         (tramp-handle-process-file, tramp-handle-call-process-region)
8355         (tramp-handle-shell-command, tramp-handle-file-local-copy)
8356         (tramp-handle-insert-file-contents, tramp-handle-write-region)
8357         (tramp-delete-temp-file-function): Use null TRASH arg in
8358         tramp-compat-delete-file call.
8360         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8361         (tramp-fish-handle-delete-file)
8362         (tramp-fish-handle-make-symbolic-link)
8363         (tramp-fish-handle-process-file): Use null TRASH arg in
8364         `tramp-compat-delete-file' call.
8366         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
8367         arg in `tramp-compat-delete-file' call.
8369         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8370         (tramp-gvfs-handle-write-region): Use null TRASH arg in
8371         `tramp-compat-delete-file' call.
8373         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
8374         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
8375         `tramp-compat-delete-file' call.
8377         * net/tramp-smb.el (tramp-smb-handle-copy-file)
8378         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8379         (tramp-smb-handle-write-region): Use null TRASH arg in
8380         tramp-compat-delete-file call.
8381         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
8382         (tramp-smb-handle-delete-file): Rename arg.
8384         * diff.el (diff-sentinel):
8385         * epg.el (epg--make-temp-file, epg-decrypt-string)
8386         (epg-verify-string, epg-sign-string, epg-encrypt-string):
8387         * jka-compr.el (jka-compr-partial-uncompress)
8388         (jka-compr-call-process, jka-compr-write-region):
8389         * server.el (server-sentinel): Remove optional arg from
8390         delete-file, reverting 2010-05-03 change.
8392 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
8394         * progmodes/verilog-mode.el (verilog-type-font-keywords):
8395         Use font-lock-constant-face, not obsolete font-lock-reference-face.
8397 2010-05-27  Kenichi Handa  <handa@m17n.org>
8399         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
8400         element of GSTRING is nil.
8402 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8404         * emacs-lisp/smie.el (smie-forward-token-function)
8405         (smie-backward-token-function): New vars.
8406         (smie-backward-sexp, smie-forward-sexp)
8407         (smie-indent-hanging-p, smie-indent-calculate): Use them.
8408         (smie-default-backward-token): Rename from smie-backward-token and
8409         skip comments.
8410         (smie-default-forward-token): Rename from smie-forward-token and
8411         skip comments.
8412         (smie-next-sexp): Handle nil results from next-token.
8413         (smie-indent-calculate): Add a new case for special `fixindent' comments.
8415 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
8417         * progmodes/verilog-mode.el (verilog-type-font-keywords):
8418         Use font-lock-constant-face, not obsolete font-lock-reference-face.
8420 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
8422         * htmlfontify.el (hfy-face-resolve-face): New function.
8423         (hfy-face-to-style): Use it (Bug#6279).
8425 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8427         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
8428         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
8430 2010-05-26  Glenn Morris  <rgm@gnu.org>
8432         * emulation/edt.el (edt-load-keys): Use locate-library.
8434 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
8436         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
8437         (log-edit-changelog-entries): Doc fix.
8438         (log-edit-changelog-insert-entries): Args changed.
8439         Rename relative filenames in ChangeLog entries.  Delete tabs.
8440         (log-edit-insert-changelog-entries): Reorganize return value of
8441         `log-edit-changelog-entries' to pass filenames to
8442         log-edit-changelog-insert-entries.
8444 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8446         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
8447         `image-dired-dired-insert-marked-thumbs' to
8448         `image-dired-dired-toggle-marked-thumbs'.
8450         * image-dired.el: Require cl when compiling.
8451         (image-dired-dired-toggle-marked-thumbs): Rename from
8452         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
8453         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
8454         to 'no-dir.  Skip files whose names don't match
8455         `image-file-name-regexp'.  When file has a thumbnail overlay,
8456         delete it.  (Bug#5270)
8458 2010-05-25  Juri Linkov  <juri@jurta.org>
8460         * image-mode.el (image-mode): Add image-after-revert-hook to
8461         after-revert-hook.
8462         (image-after-revert-hook): New function.  (Bug#5669)
8464 2010-05-25  Juri Linkov  <juri@jurta.org>
8466         * image.el (image-animated-p): When delay between animated images
8467         is 0, set it to 10 (0.1 sec).  (Bug#6258)
8469 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
8471         * net/tramp.el (tramp-handle-insert-directory): Don't use
8472         `forward-word', its default syntax could be changed.
8474 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
8476         * net/tramp.el (tramp-progress-reporter-update): New defun.
8477         (with-progress-reporter): Use it.
8478         (tramp-process-actions):
8479         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
8480         Preserve current message, in order to let progress reporter continue
8481         afterwards.  (Bug#6257)
8483 2010-05-25  Glenn Morris  <rgm@gnu.org>
8485         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
8486         Add :version.
8488 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
8490         * net/rcirc.el (rcirc-default-user-name): Change to "user".
8491         (rcirc-default-full-name): Change to "unknown".
8492         (rcirc-user-name-history): Add variable.
8494 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
8495             Jonathan Rockway  <jon@jrock.us>
8497         * net/rcirc.el (rcirc-server-alist): Add :pass.
8498         (rcirc): When prompting for connection parameters, also prompt for
8499         username and password.
8500         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
8501         value to server when connecting.
8503 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8505         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
8506         (smie-merge-prec2s): Pass the tables as separate args.
8507         (smie-bnf-precedence-table): Adjust call accordingly.
8508         (smie-prec2-levels): Set levels at the end.
8510         Replace Lisp calls to delete-backward-char by delete-char.
8511         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
8512         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
8513         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
8514         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
8515         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
8516         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
8517         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
8518         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
8519         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
8520         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
8521         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
8522         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
8523         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
8524         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
8525         delete-backward-char by calls to delete-char.
8527 2010-05-25  Kenichi Handa  <handa@m17n.org>
8529         * language/hebrew.el (hebrew-shape-gstring): New function.
8530         Register it in composition-function-table for all Hebrew combining
8531         characters.
8533 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8535         * epa.el (epa--select-keys): Don't explicitly delete the window since
8536         that can fail (e.g. sole window in frame).  Use dedication instead.
8538 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
8540         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
8542 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
8544         * image.el (image-refresh): Define as an alias for image-flush.
8546         * image-mode.el (image-toggle-display-image): Caller changed.
8548 2010-05-21  Juri Linkov  <juri@jurta.org>
8550         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
8551         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
8552         whitespace, call wildcard-to-regexp on substrings and concat them
8553         with "\\|".  (Bug#6114)
8555 2010-05-21  Alan Mackenzie  <acm@muc.de>
8557         * progmodes/cc-engine.el (c-parse-state-get-strategy):
8558         Replace parameter `here' with `here-' and `here-plus', which sandwich
8559         any pertinent CPP construct.
8560         (c-remove-stale-state-cache-backwards): Fix a bug which happens
8561         when doing (c-parse-state) in a CPP construct: Exclude any "new"
8562         CPP construct from taking part in the scanning.
8564 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
8566         * net/tramp.el (tramp-do-copy-or-rename-file)
8567         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
8568         Tune `with-progress-reporter' messages.
8569         (tramp-handle-vc-registered):
8570         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
8571         (tramp-fish-handle-insert-file-contents)
8572         (tramp-fish-maybe-open-connection):
8573         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8574         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
8575         (tramp-imap-handle-insert-file-contents)
8576         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
8578 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
8580         * add-log.el (change-log-font-lock-keywords):
8581         Highlight all authors in multi-author entries.
8583         * smerge-mode.el (smerge-refine-ignore-whitespace)
8584         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
8585         Fix typos in docstrings.
8586         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
8588 2010-05-21  Glenn Morris  <rgm@gnu.org>
8590         * progmodes/fortran.el (fortran-mode):
8591         * progmodes/f90.el (f90-mode): Derive from prog-mode.
8593         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
8594         having a relative path in src/Makefile.in.
8596 2010-05-20  Kevin Ryde  <user42@zip.com.au>
8598         * help-mode.el (help-make-xrefs): For Info node links turn
8599         newlines into spaces.  Link node names with newlines are matched
8600         by help-xref-info-regexp and buttonized, this change ensures they
8601         can be followed successfully with RET.  (Bug#6206)
8603 2010-05-20  Juri Linkov  <juri@jurta.org>
8605         * locate.el (locate): Use pop-to-buffer instead of
8606         switch-to-buffer-other-window.  (Bug#6204)
8608 2010-05-20  Juri Linkov  <juri@jurta.org>
8610         * replace.el (replace-highlight): Fix lazy-highlighting
8611         for `M-s w str M-% str RET'.
8613 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
8615         * isearch.el (isearch-yank-word-or-char): Pull next subword
8616         when `subword-mode' is activated.  (Bug#6220)
8618 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
8620         * isearch.el (isearch-update-post-hook): New hook.
8621         (isearch-update): Use the new hook.  (Bug#6225)
8623 2010-05-20  Juri Linkov  <juri@jurta.org>
8625         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
8626         [f1], [help], and (char-to-string help-char) instead of "\C-h".
8627         (Bug#6222)
8629 2010-05-20  Juri Linkov  <juri@jurta.org>
8631         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
8632         (Bug#6223)
8634 2010-05-20  Juri Linkov  <juri@jurta.org>
8636         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
8637         FILE-NAME to read from the minibuffer when called interactively
8638         with prefix argument instead of using buffer-file-name.
8639         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
8641         * dired.el: Update autoloads.
8643 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
8645         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
8646         nxml-finish-element, for consistency with SGML mode.
8648         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
8649         octave-close-block.
8651 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
8653         * composite.el: Require cl when compiling.
8654         (reference-point-alist, compose-gstring-for-graphic)
8655         (compose-gstring-for-terminal): Fix typos in docstrings.
8657 2010-05-19  Juri Linkov  <juri@jurta.org>
8659         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
8660         set-window-parameter.
8662 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
8664         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
8665         where appropriate.
8666         (tramp-maybe-open-connection): Use it.
8668 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
8670         * simple.el (move-end-of-line): Make sure we are at line beginning
8671         before backing up to end of previous line.
8673 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
8675         * password-cache.el (password-cache-remove): Fix docstring.
8677         * net/secrets.el: Autoload the widget functions.
8678         (secrets-search-items, secrets-create-item)
8679         (secrets-get-attributes, secrets-expand-item): Attributes will be
8680         stored on the password database without leading ":", as all other
8681         clients do as well.
8682         (secrets-mode): Fix docstring.
8683         (secrets-show-secrets): Provide it as autoloaded command only when
8684         D-Bus support is available.  Check existence of Secret Service API.
8686 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8688         * indent.el (indent-region): Deactivate region (bug#6200).
8690 2010-05-19  Glenn Morris  <rgm@gnu.org>
8692         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
8694 2010-05-19  Kenichi Handa  <handa@m17n.org>
8696         * composite.el: Register compose-gstring-for-graphic in
8697         composition-function-table only for combining characters (Mn, Mc, Me).
8699 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
8701         * calc/calc-trail.el (calc-trail-isearch-forward)
8702         (calc-trail-isearch-backward): Ensure that the new window
8703         point is set correctly.
8705 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8707         * subr.el (read-quoted-char): Resolve modifiers after key
8708         remapping (bug#6212).
8710 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
8712         Add visualization code for secrets.
8713         * net/secrets.el (secrets-mode): New major mode.
8714         (secrets-show-secrets, secrets-show-collections)
8715         (secrets-expand-collection, secrets-expand-item)
8716         (secrets-tree-widget-after-toggle-function)
8717         (secrets-tree-widget-show-password): New defuns.
8719 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8721         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
8722         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
8723         handled in smie-next-sexp.
8724         (smie-indent-calculate): Provide a starting indentation (so the
8725         recursion is well-founded ;-).
8727         Fix handling of non-associative equal levels.
8728         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
8729         when it's not needed.
8730         (smie-op-left, smie-op-right): New functions.
8731         (smie-next-sexp): New function, extracted from smie-backward-sexp.
8732         Better handle equal levels to distinguish the associative case from
8733         the "multi-keyword construct" case.
8734         (smie-backward-sexp, smie-forward-sexp): Use it.
8736 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
8738         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
8740         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
8741         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
8743 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8745         Provide a simple generic indentation engine and use it for Prolog.
8746         * emacs-lisp/smie.el: New file.
8747         * progmodes/prolog.el (prolog-smie-op-levels)
8748         (prolog-smie-indent-rules): New var.
8749         (prolog-mode-variables): Use them to configure SMIE.
8750         (prolog-indent-line, prolog-indent-level): Remove.
8752 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
8754         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
8755         order before computing the averages.
8757 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
8759         * calc/calc-vec.el (calc-histogram):
8760         (calcFunc-histogram): Allow vectors as inputs.
8761         (math-vector-avg): New function.
8763         * calc/calc-ext.el (math-group-float): Have the number of digits
8764         being grouped depend on the radix (Bug#6189).
8766 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
8768         * version.el (emacs-copyright, emacs-version): Don't define here,
8769         now that emacs.c defines it.
8771 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
8773         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
8774         "Describe Language Environment" menu item.
8776         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
8778         Bidi-sensitive movement with arrow keys.
8779         * subr.el (right-arrow-command, left-arrow-command): New functions.
8781         * bindings.el (global-map): Bind them to right and left arrow keys.
8783         Don't override standard definition of convert-standard-filename.
8784         * files.el (convert-standard-filename):
8785         Call w32-convert-standard-filename and dos-convert-standard-filename on
8786         the corresponding systems.
8788         * w32-fns.el (w32-convert-standard-filename): Rename from
8789         convert-standard-filename.  Doc fix.
8791         * dos-fns.el (dos-convert-standard-filename): Doc fix.
8792         (convert-standard-filename): Don't defalias.
8793         (register-name-alist, make-register, register-value)
8794         (set-register-value, intdos): Obsolete aliases for the
8795         corresponding dos-* functions and variables.
8796         (dos-intdos): Add a doc string.
8798 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
8800         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
8801         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
8802         (math-compose-tex-func):
8803         * calc/calccomp.el (math-compose-expr):
8804         * calc/calc-ext.el (math-format-flat-expr-fancy):
8805         * calc/calc-store.el (calc-read-var-name):
8806         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
8808         * calc/calc.el (var-π, var-φ, var-γ): New variables.
8809         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
8810         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
8811         (math-standard-units): Add units.
8813 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8815         * progmodes/asm-mode.el (asm-mode):
8816         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
8818         * pcomplete.el (pcomplete-completions-at-point): New function,
8819         extracted from pcomplete-std-complete.
8820         (pcomplete-std-complete): Use it.
8822 2010-05-15  Glenn Morris  <rgm@gnu.org>
8824         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8825         Remove references to CVS, RCS and Old directories.
8827 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
8829         * calc/calc-bin.el (math-format-twos-complement): Group digits when
8830         appropriate.
8832 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8834         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
8835         (sh-mode-syntax-table): Give it a default value instead.
8836         (sh-header-marker): Make buffer-local.
8837         (sh-mode): Move make-local-variable to the corresponding setq.
8838         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
8839         Use complete-with-action.
8841         * simple.el (prog-mode): New (abstract) major mode.
8842         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
8843         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
8845 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
8847         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
8848         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
8849         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
8850         (sql-make-alternate-buffer-name, sql-placeholders-filter)
8851         (sql-escape-newlines-filter, sql-input-sender)
8852         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
8854 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
8856         Add TeX open-block and close-block keybindings to SGML, and vice versa.
8858         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
8859         latex-open-block and C-c / to latex-close-block.
8861         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
8862         and C-c C-e to sgml-close-tag.
8864 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
8866         * net/tramp.el (with-progress-reporter): Create reporter object
8867         only when the message would be displayed.  Handle nested calls.
8868         (tramp-handle-load, tramp-handle-file-local-copy)
8869         (tramp-handle-insert-file-contents, tramp-handle-write-region)
8870         (tramp-maybe-send-script, tramp-find-shell):
8871         Use `with-progress-reporter'.
8872         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
8873         Fix message text.
8875         * net/tramp-smb.el (tramp-smb-handle-copy-file)
8876         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8877         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
8878         Use `with-progress-reporter'.
8880 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
8882         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
8883         process everytime when spellchecking from the minibuffer (bug#6143).
8885 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8887         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
8889         * dos-fns.el: Add "dos-" prefix for namespace control.
8890         (convert-standard-filename): Define as alias for
8891         dos-convert-standard-filename but only if applicable.
8893 2010-05-12  Alan Mackenzie  <acm@muc.de>
8895         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
8896         Push the mark at the start of these functions when appropriate.
8898 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8900         * minibuffer.el (completion-cycle-threshold): New custom var.
8901         (completion--do-completion): Use it.
8902         (minibuffer-complete): Use cycling if appropriate.
8904 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
8906         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
8907         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
8909 2010-05-11  Juri Linkov  <juri@jurta.org>
8911         * scroll-all.el (scroll-all-check-to-scroll):
8912         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
8914 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8916         * iimage.el (iimage-mode-map): Move initialization into declaration.
8917         (iimage-mode-buffer): Use with-silent-modifications.
8918         Simplify calling convention.  Adjust callers.
8919         (iimage-mode): Don't run hook redundantly.
8921         * minibuffer.el (completion-pcm--pattern->regex):
8922         Fix last change (bug#6160).
8924 2010-05-10  Juri Linkov  <juri@jurta.org>
8926         Remove nodes visited during Isearch from the Info history.
8927         * info.el (Info-isearch-initial-history)
8928         (Info-isearch-initial-history-list): New variables.
8929         (Info-isearch-start): Record initial values of
8930         Info-isearch-initial-history and Info-isearch-initial-history-list.
8931         Add Info-isearch-end to isearch-mode-end-hook.
8932         (Info-isearch-end): New function.
8934 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
8936         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
8937         format string, in order to work around a bug in pdksh.
8938         Reported by Gilles Pion <gpion@lfdj.com>.
8939         (tramp-handle-verify-visited-file-modtime): Do not send a command
8940         when the connection is not established.
8941         (tramp-handle-set-file-times): Simplify the check for utc.
8943 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
8945         Fix use of `filter-buffer-substring' (rework previous change).
8946         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
8947         (cua-repeat-replace-region):
8948         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
8949         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
8950         (cua-cut-region-to-global-mark): Use it.
8952 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
8954         * progmodes/sql.el: Version 2.1.
8955         (sql-product-alist): Redesign structure of product info.
8956         (sql-product, sql-user, sql-server, sql-database): Safe variables.
8957         (sql-port, sql-port-history): New variables.
8958         (sql-interactive-product): New variable.
8959         (sql-send-terminator): New variable.
8960         (sql-imenu-generic-expression): Add "Types" imenu entry.
8961         (sql-oracle-login-params, sql-sqlite-login-params)
8962         (sql-mysql-login-params, sql-solid-login-params)
8963         (sql-sybase-login-params, sql-informix-login-params)
8964         (sql-ingres-login-params, sql-ms-login-params)
8965         (sql-postgres-login-params, sql-interbase-login-params)
8966         (sql-db2-login-params, sql-linter-login-params)
8967         (sql-oracle-scan-on): New variables.
8968         (sql-mode-map): Add C-c C-i to start interactive mode.
8969         (sql-mode-menu): Update existing menu entries.
8970         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
8971         (sql-mode-oracle-font-lock-keywords)
8972         (sql-mode-postgres-font-lock-keywords)
8973         (sql-mode-ms-font-lock-keywords)
8974         (sql-mode-sybase-font-lock-keywords)
8975         (sql-mode-informix-font-lock-keywords)
8976         (sql-mode-interbase-font-lock-keywords)
8977         (sql-mode-ingres-font-lock-keywords)
8978         (sql-mode-solid-font-lock-keywords)
8979         (sql-mode-mysql-font-lock-keywords)
8980         (sql-mode-sqlite-font-lock-keywords)
8981         (sql-mode-db2-font-lock-keywords)
8982         (sql-mode-linter-font-lock-keywords): Update initialization to
8983         reduce run-time complexity.
8984         (sql-add-product, sql-del-product): New functions.
8985         (sql-set-product-feature, sql-get-product-feature): New functions.
8986         (sql-product-font-lock): Update product API.
8987         (sql-add-product-keywords): New function.
8988         (sql-highlight-product): Update product API.
8989         (sql-help-list-products): New function.
8990         (sql-help): Dynamically lists free and non-free products.
8991         (sql-get-login): Correct bug in handling history and added
8992         prompt for port.
8993         (sql-copy-column): Copy without properties.
8994         (sqli-input-sender): Apply filters to SQLi input.
8995         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
8996         Implement as a filter.
8997         (sql-escape-newlines-filter): Implement as a filter.
8998         (sql-remove-tabs-filter): New function.
8999         (sql-send-magic-terminator): New function.
9000         (sql-send-string): Implement magic terminator.
9001         (sql-send-region): Use `sql-send-string'.
9002         (sql-interactive-mode): Use product API.
9003         (sql-product-interactive): Use product API.
9004         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
9005         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
9006         (sql-db2, sql-linter): Use `sql-product-interactive'.
9007         (sql-connect): New function.
9008         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
9009         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
9010         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
9011         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
9012         Use `sql-connect'.
9014 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9016         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
9017         New custom variable.
9018         (completion-pcm--string->pattern): Use it.
9019         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
9020         Make it handle any symbol as `any'.
9021         (completion-pcm--merge-completions): Extract common suffix for the new
9022         `prefix' symbol as well.
9023         (completion-substring--all-completions): Use the new `prefix' symbol.
9025 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
9027         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
9028         not bound.
9029         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
9030         (tramp-compat-funcall): New defmacro.
9031         (tramp-compat-line-beginning-position)
9032         (tramp-compat-line-end-position)
9033         (tramp-compat-temporary-file-directory)
9034         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
9035         (tramp-compat-copy-file, tramp-compat-copy-directory)
9036         (tramp-compat-delete-file, tramp-compat-delete-directory)
9037         (tramp-compat-number-sequence, tramp-compat-process-running-p)
9038         * net/tramp.el (top, with-progress-reporter)
9039         (tramp-rfn-eshadow-setup-minibuffer)
9040         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
9041         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
9042         (tramp-completion-mode-p, tramp-check-for-regexp)
9043         (tramp-open-connection-setup-interactive-shell)
9044         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
9045         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
9046         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
9047         * net/tramp-cmds.el (tramp-cleanup-all-connections)
9048         (tramp-reporter-dump-variable, tramp-load-report-modules)
9049         (tramp-append-tramp-buffers)
9050         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
9052         * net/tramp-imap.el (top): Autoload `epg-make-context'.
9054 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9056         * progmodes/compile.el (compilation-buffer-modtime): Rename from
9057         buffer-modtime.  Adjust users.
9059 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
9061         * international/mule.el (auto-coding-alist): Only purecopy
9062         car of each item, not the whole list (Bug#6083).
9064 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
9066         * progmodes/js.el (js-mode): Make paragraph variables local before
9067         calling c-setup-paragraph-variables (Bug#6071).
9069 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
9071         * composite.el (compose-region, reference-point-alist): Fix typos
9072         in the doc strings.
9074 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
9076         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
9077         gnuplot's "set" command.
9079 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
9081         * abbrev.el (last-abbrev-text): Doc fix.
9082         (abbrev-prefix-mark): Don't escape parenthesis.
9084 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
9086         * composite.el (find-composition): Doc fix.
9088 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
9090         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
9091         (sql-oracle-program, sql-sqlite-options)
9092         (sql-query-placeholders-and-send): Doc fixes.
9093         (sql-set-product, sql-interactive-mode): Reflow docstrings.
9094         (sql-imenu-generic-expression, sql-buffer)
9095         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
9096         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
9097         (sql-mode-sybase-font-lock-keywords)
9098         (sql-mode-informix-font-lock-keywords)
9099         (sql-mode-interbase-font-lock-keywords)
9100         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
9101         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
9102         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
9103         (sql-product-feature, sql-highlight-product)
9104         (comint-line-beginning-position, sql-rename-buffer)
9105         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
9106         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
9107         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
9108         Fix typos in docstrings.
9110 2010-05-08  Juri Linkov  <juri@jurta.org>
9112         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
9113         property instead of `invisible' and `after-string' (bug#5998).
9115 2010-05-08  Juri Linkov  <juri@jurta.org>
9117         * image-mode.el (image-mode-as-text): Fix typo in docstring.
9119 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
9121         * filecache.el (file-cache-add-directory-list)
9122         (file-cache-add-directory-recursively): Fix typos in docstrings.
9124 2010-05-08  Kenichi Handa  <handa@m17n.org>
9126         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
9127         (gujarati-composable-pattern): Fix typo.
9129 2010-05-08  Kenichi Handa  <handa@m17n.org>
9131         * language/indian.el (oriya-composable-pattern)
9132         (tamil-composable-pattern, malayalam-composable-pattern):
9133         Add two-part vowels to "v" (vowel sign).
9135 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
9137         * files.el (copy-directory): Handle symlinks (Bug#5982).
9139 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
9141         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
9142         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
9143         (Bug#5846).
9145 2010-05-08  Glenn Morris  <rgm@gnu.org>
9147         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
9149         * minibuffer.el (completion-at-point): Doc fix.
9151 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9153         * electric.el (Electric-command-loop): Minor tweak.
9155         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
9156         better with dedicated windows.
9158 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
9160         * Version 23.2 released.
9162 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
9163             Stefan Monnier  <monnier@iro.umontreal.ca>
9165         Highlight vendor specific properties.
9166         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
9167         (css-proprietary-property): New face.
9168         (css-font-lock-keywords): Use them.
9170 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
9172         * cus-start.el (all): Add native condition for tool-bar-* symbols.
9174 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9176         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
9177         * files.el (auto-mode-alist): Remove redundant entries.
9179         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
9180         * simple.el (auto-save-mode): Move from files.el.
9181         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
9183 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
9185         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
9187 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
9189         * mail/binhex.el (binhex-decode-region-internal)
9190         * mail/uudecode.el (uudecode-decode-region-internal)
9191         * net/dns.el (dns-read-string-name, dns-write, dns-read)
9192         (dns-read-type, dns-query)
9193         * pgg-parse.el (pgg-parse-armor)
9194         * pgg.el (pgg-verify-region)
9195         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
9196         XEmacs.
9198         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
9200 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
9202         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
9204         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
9205         * emulation/cua-base.el (cua-repeat-replace-region):
9206         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9207         (cua-cut-region-to-global-mark):
9208         Remove text properties with `set-text-properties'.
9210 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
9212         * net/tramp.el (top, with-progress-reporter):
9213         Use `symbol-function' inside `funcall'.
9215         * net/tramp-compat.el (tramp-compat-file-attributes)
9216         (tramp-compat-delete-file, tramp-compat-delete-directory):
9217         Handle only `wrong-number-of-arguments' error.
9219         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
9220         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
9221         inside `funcall'.
9223 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9225         * minibuffer.el (completion--sreverse, completion--common-suffix):
9226         New functions.
9227         (completion-pcm--merge-completions): Extract common suffix when safe.
9229         * emacs-lisp/easy-mmode.el (define-minor-mode):
9230         Make :variable more flexible.
9231         * files.el (auto-save-mode): Use it to define using define-minor-mode.
9233 2010-05-05  Juri Linkov  <juri@jurta.org>
9235         Add `slow' and `history' tags to the desktop data.
9237         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
9238         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
9239         (Info-finder-find-node): Require `finder.el' to be able
9240         to restore node from the desktop.
9241         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
9242         data `Info-history' and `slow' tag in the assoc list.
9243         (Info-restore-desktop-buffer): Don't restore nodes with the
9244         `slow' tag.  Restore `Info-history'.
9246 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
9248         Add FORCE argument to `delete-file'.
9250         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
9251         forcing to delete the temporary file.
9252         (ange-ftp-delete-file): Add FORCE arg.
9253         (ange-ftp-rename-remote-to-remote)
9254         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
9255         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
9256         Force file deletion.
9258         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
9260         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
9261         (tramp-handle-make-symbolic-link, tramp-handle-load)
9262         (tramp-do-copy-or-rename-file-via-buffer)
9263         (tramp-do-copy-or-rename-file-directly)
9264         (tramp-do-copy-or-rename-file-out-of-band)
9265         (tramp-handle-process-file, tramp-handle-call-process-region)
9266         (tramp-handle-shell-command, tramp-handle-file-local-copy)
9267         (tramp-handle-insert-file-contents, tramp-handle-write-region)
9268         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
9270         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
9271         (tramp-fish-handle-make-symbolic-link)
9272         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
9274         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9275         Use `tramp-compat-delete-file'.
9277         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
9278         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
9280         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
9281         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
9283         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
9284         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
9285         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
9286         Use `tramp-compat-delete-file'.
9288 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9290         Minor cleanups.
9291         * subr.el (add-minor-mode): Use push.
9292         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
9293         * emulation/edt.el (edt-select-mode): Simplify.
9295         Use define-minor-mode in more cases.
9296         * term/tvi970.el (tvi970-set-keypad-mode):
9297         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9298         (normal-erase-is-backspace-mode):
9299         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
9300         (set-scroll-bar-mode-1): (Re)move to its sole caller.
9301         (get-scroll-bar-mode): New function.
9302         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
9304         Use define-minor-mode for less obvious cases.
9305         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
9306         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
9307         * international/iso-ascii.el (iso-ascii-mode):
9308         * frame.el (auto-raise-mode, auto-lower-mode):
9309         * composite.el (global-auto-composition-mode): Use define-minor-mode.
9311 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
9313         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
9314         in order to see error messages for failed logins.
9316 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
9318         * diff.el (diff-sentinel):
9320         * epg.el (epg--make-temp-file, epg-decrypt-string)
9321         (epg-verify-string, epg-sign-string, epg-encrypt-string):
9323         * jka-compr.el (jka-compr-partial-uncompress)
9324         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
9326         * server.el (server-sentinel): Use delete-file's new FORCE arg
9327         (Bug#6070).
9329 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9331         Use define-minor-mode where applicable.
9332         * view.el (view-mode):
9333         * type-break.el (type-break-query-mode)
9334         (type-break-mode-line-message-mode):
9335         * textmodes/reftex.el (reftex-mode):
9336         * term/vt100.el (vt100-wide-mode):
9337         * tar-mode.el (tar-subfile-mode):
9338         * savehist.el (savehist-mode):
9339         * ibuf-ext.el (ibuffer-auto-mode):
9340         * composite.el (auto-composition-mode):
9341         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9342         Use define-minor-mode.
9343         (vhdl-mode): Use static mode-line format.
9344         (vhdl-mode-line-update): Delete.
9345         (vhdl-create-mode-menu, vhdl-activate-customizations)
9346         (vhdl-hs-minor-mode): Don't bother calling it.
9348 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9350         * simple.el (with-wrapper-hook): Move.
9351         (buffer-substring-filters): Mark obsolete.
9352         (filter-buffer-substring-functions): New variable.
9353         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
9355 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
9356             Michael Albinus  <michael.albinus@gmx.de>
9358         Implement compression for inline methods.
9360         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
9361         (tramp-copy-size-limit): Allow also nil.
9362         (tramp-inline-compress-commands): New defconst.
9363         (tramp-find-inline-compress, tramp-get-inline-compress)
9364         (tramp-get-inline-coding): New defuns.
9365         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
9366         replaced by `tramp-get-inline-coding'.
9367         (tramp-handle-file-local-copy, tramp-handle-write-region)
9368         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
9370 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9372         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
9373         Remove unused functions.
9375         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
9376         Set find-tag-default-function as a variable rather than a property.
9378         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
9379         * progmodes/etags.el (tags-completion-at-point-function):
9380         Remove left over interactive spec.  Add autoloading stub.
9381         (complete-tag): Use tags-completion-at-point-function.
9383 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
9385         * minibuffer.el (tags-completion-at-point-function): Fix return value.
9387 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
9389         * ido.el (ido-init-completion-maps): Remove C-v binding.
9390         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
9392 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
9394         * minibuffer.el (tags-completion-at-point-function): New function.
9395         (completion-at-point-functions): Use it.
9397         * progmodes/etags.el (complete-tag): Revert last change.
9399 2010-04-29  Alan Mackenzie  <acm@muc.de>
9401         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
9402         off-by-one error (in end of macro position).
9404 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
9406         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
9407         firefox is absent.  Don't autoload.
9408         (browse-url-galeon-program): Don't autoload.
9410 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
9412         * bindings.el (complete-symbol): Move into minibuffer.el.
9414         * minibuffer.el (complete-tag): Move from etags.el.  If tags
9415         completion cannot be performed, return nil instead of signalling
9416         an error.
9417         (completion-at-point): Make it an alias for complete-symbol.
9418         (complete-symbol): Move from bindings.el, and replace with the
9419         body of completion-at-point.
9421         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
9423 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
9425         * net/tramp.el (tramp-remote-selinux-p): New defun.
9426         (tramp-handle-file-selinux-context)
9427         (tramp-handle-set-file-selinux-context): Use it.
9429 2010-04-28  Sam Steingold  <sds@gnu.org>
9431         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9432         `safe-local-variable' if the value is a string or a symbol with
9433         the property `bug-reference-url-format'.
9435 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
9437         * progmodes/bug-reference.el (bug-reference-url-format):
9438         Revert 2010-04-27 change due to security risk.
9440 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9442         Make it possible to locally disable a globally enabled mode.
9443         * simple.el (fundamental-mode): Run fundamental-mode-hook.
9444         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
9445         rather than kill-all-local-variables so it runs fundamental-mode-hook.
9446         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9447         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
9448         that subsequent hooks get a chance to disable it.
9450 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9452         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9453         Avoid re-enabling a minor mode after the user turned the minor mode
9454         off if MODE-enable-in-buffers is run twice (typically once from
9455         fundamental-mode's after-change-major-mode-hook and a second time from
9456         run-mode-hook's own after-change-major-mode-hook).
9458         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
9460 2010-04-27  Sam Steingold  <sds@gnu.org>
9462         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9463         `safe-local-variable' if the value is a string or a function, as
9464         documented and implemented on 2010-04-02.
9466 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
9468         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
9469         when method is 'kill.
9471 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
9473         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
9474         condition in default directory check.
9475         (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
9476         Kill ispell process when killing its associated buffer.
9478 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
9480         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
9481         but we aren't using it.
9483 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
9485         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
9486         checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
9488 2010-04-24  Glenn Morris  <rgm@gnu.org>
9490         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
9491         Ignore VCS-ignore files, and deleted nextstep preferences files.
9492         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
9493         (authors-ambiguous-files): New list.
9494         (authors-valid-file-names): Add some deleted files.
9495         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
9496         (authors-disambiguate-file-name): New function.  (Bug#5501)
9497         (authors-canonical-file-name): Doc fix.
9498         Don't warn about obsolete files.
9499         (authors-canonical-file-name, authors-scan-el):
9500         Use authors-disambiguate-file-name.
9502         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9503         Add autoload cookies.
9504         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
9505         (generated-autoload-file): Set file-local value to "htmlfontify.el".
9506         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
9507         They have definitions / compiler macros in cl.el.
9508         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9509         Replace manual autoloads with generated ones.
9510         (htmlfontify-unload-rgb-file): Remove autoload.
9511         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
9513 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9515         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
9516         (byte-compile-setq-default): Optimize for the
9517         single-var case and don't call byte-compile-form in this case to avoid
9518         inf-loop with byte-compile-set-default.
9520         * progmodes/compile.el (compilation-start): Abbreviate default directory.
9522 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
9524         Implement SELINUX backends.
9526         * net/tramp.el (tramp-file-name-handler-alist):
9527         Add `file-selinux-context' and `set-file-selinux-context'.
9528         (tramp-handle-file-selinux-context)
9529         (tramp-handle-set-file-selinux-context): New defuns.
9530         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
9531         Handle PRESERVE-SELINUX-CONTEXT.
9533         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9534         Add `file-selinux-context' and `set-file-selinux-context'.
9535         (tramp-gvfs-handle-file-selinux-context)
9536         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
9537         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
9539         * net/ange-ftp.el (ange-ftp-copy-file):
9540         * net/tramp-fish.el (tramp-fish-handle-copy-file):
9541         * net/tramp-imap.el (tramp-imap-handle-copy-file):
9542         * net/tramp-smb.el (tramp-smb-handle-copy-file):
9543         Add PRESERVE-SELINUX-CONTEXT.
9545 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
9547         Synchronize with Tramp repository.
9549         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
9550         (tramp-action-process-alive, tramp-action-out-of-band)
9551         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
9552         (tramp-exists-file-name-handler): Fix docstring.
9553         (with-progress-reporter): New defmacro.
9554         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
9555         (tramp-maybe-open-connection): Use it.
9557 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
9559         Detect ssh 'ControlMaster' argument automatically in some cases.
9561         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
9562         (tramp-default-method): Use it.
9564 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
9566         * net/tramp.el (tramp-handle-copy-file): Add new optional
9567         parameter `preserve-selinux-context'.
9568         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
9570 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
9572         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
9573         Ensure, that non remote files are still checked.  Oops.
9575 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
9577         Fix Bug#5840.
9579         * icomplete.el (icomplete-completions): Use `non-essential'.
9581         * net/tramp.el (tramp-connectable-p): New defun.
9582         (tramp-handle-expand-file-name)
9583         (tramp-completion-handle-file-name-all-completions)
9584         (tramp-completion-handle-file-name-completion): Use it.
9586 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9588         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
9590 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
9592         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
9594         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
9596         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
9597         is present.
9599         * info.el (info-tool-bar-map): Add labels.
9601         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
9603         * cus-edit.el (custom-commands): Add labels for tool bar.
9604         (custom-buffer-create-internal, Custom-mode): Adjust for
9605         labels in custom-commands.
9607         * dynamic-setting.el: Renamed from font-setting.el.
9609 2010-04-21  John Wiegley  <jwiegley@gmail.com>
9611         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
9612         toggles the use of virtual buffers.
9613         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
9614         (ido-toggle-virtual-buffers): New function.
9616 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
9618         Use `define-derived-mode'; fix window selection; doc fixes.
9619         * play/tetris.el (tetris, tetris-update-speed-function)
9620         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
9621         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
9622         (tetris-rotate-next, tetris-end-game, tetris-start-game)
9623         (tetris-pause-game): Fix typos in docstrings.
9624         (tetris-mode-map, tetris-null-map):
9625         Move initialization into declaration.
9626         (tetris-mode): Define with `define-derived-mode';
9627         set show-trailing-whitespace to nil.
9628         (tetris): Prefer window already displaying the "*Tetris*" buffer.
9630 2010-04-21  Karel Klíč  <kklic@redhat.com>
9632         * files.el (backup-buffer): Handle SELinux context, and return it
9633         if a backup was made by renaming.
9634         (backup-buffer-copy): Set SELinux context to the target file.
9635         (basic-save-buffer): Set SELinux context of the newly written file.
9636         (basic-save-buffer-1): Now it also returns any SELinux context.
9637         (basic-save-buffer-2): Set SELinux context of the newly created file,
9638         and return it.
9639         * net/tramp.el (tramp-file-name-for-operation):
9640         Add file-selinux-context.
9642 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9644         Make the log-edit comments use RFC822 format throughout.
9646         * vc.el (vc-checkin, vc-modify-change-comment):
9647         Adjust to new vc-start/finish-logentry.
9648         (vc-find-conflicted-file): New command.
9649         (vc-transfer-file): Adjust to new vc-checkin.
9650         (vc-next-action): Improve scoping.
9652         * vc-hg.el (vc-hg-log-edit-mode): Remove.
9653         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
9655         * vc-git.el (vc-git-log-edit-mode): Remove.
9656         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
9657         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
9659         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
9660         (vc-start-logentry): Remove argument `extra'.
9661         (vc-finish-logentry): Remove extra args.
9663         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
9664         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
9665         (vc-bzr-conflicted-files): New function.
9667         * log-edit.el (log-edit-extra-flags)
9668         (log-edit-before-checkin-process): Remove.
9669         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
9670         (log-edit-headers-alist): New var.
9671         (log-edit-header-contents-regexp): New const.
9672         (log-edit-match-to-eoh): New function.
9673         (log-edit-font-lock-keywords): Use them.
9674         (log-edit): Insert a "Summary:" header as default.
9675         (log-edit-mode): Mark font-lock rules as case-insensitive.
9676         (log-edit-done): Cleanup headers.
9677         (log-view-process-buffer): Remove.
9678         (log-edit-extract-headers): New function to replace it.
9680 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
9682         * subr.el (default-direction-reversed): Remove obsolescence info.
9684 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9686         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
9687         windows/frames.
9689         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
9690         I.e. include text after point in the completion region.
9691         Also, return nil when we're not after/in a symbol.
9693         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
9694         default enable-multibyte-characters.
9696 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9698         * international/mule.el: Help the user choose a valid coding-system.
9699         (read-buffer-file-coding-system): New function.
9700         (set-buffer-file-coding-system): Use it.  Prompt the user if the
9701         coding-system cannot encode all the chars.
9703         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
9704         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
9705         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
9706         Don't use *vc-bzr-shelve*.
9708 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
9710         Fix the version number for added files.
9711         * vc-hg.el (vc-hg-working-revision): Check if the file is
9712         registered after hg parent fails (Bug#5961).
9714 2010-04-19  Glenn Morris  <rgm@gnu.org>
9716         * htmlfontify.el (htmlfontify-buffer)
9717         (htmlfontify-copy-and-link-dir): Autoload entry points.
9719 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
9721         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
9722         name relative to the project root (Bug#5960).
9724 2010-04-19  Glenn Morris  <rgm@gnu.org>
9726         * vc-git.el (vc-git-print-log): Doc fix.
9728 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
9730         * ido.el (ido-file-internal): Fix 2009-12-02 change.
9732 2010-04-19  Christoph  <cschol2112@googlemail.com>  (tiny change)
9734         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
9735         default settings (Bug#5928).
9737 2010-04-19  Glenn Morris  <rgm@gnu.org>
9739         * progmodes/fortran.el (fortran-match-and-skip-declaration):
9740         New function.
9741         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
9743 2010-04-19  Kenichi Handa  <handa@m17n.org>
9745         * language/indian.el (malayalam-composable-pattern): Fix previous
9746         change (add U+0D4D "SIGN VIRAMA").
9747         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
9748         (tamil-composable-pattern): Fix typo in the regexp.
9749         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
9750         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
9751         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
9753 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
9755         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
9756         paragraph-separate (Bug#5821).
9758 2010-04-19  Juri Linkov  <juri@jurta.org>
9760         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
9762         * info.el (Info-find-node-2): Comment out code that skips
9763         breadcrumbs line.
9764         (Info-mouse-follow-link): New command.
9765         (Info-link-keymap): New keymap.
9766         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
9767         Return a string with links instead of inserting breadcrumbs
9768         to the Info buffer.
9769         (Info-fontify-node): Comment out code that inserts breadcrumbs.
9770         Instead of putting the `invisible' text property over the Info
9771         header, make an overlay over the Info header with the `invisible'
9772         property and `after-string' set to the string returned by
9773         `Info-breadcrumbs'.
9775 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
9777         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
9778         Reported by monkey@sandpframing.com.
9780 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9782         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
9783         (tmm-get-keymap): Add key-binding shortcuts now that they're not
9784         available in the "keyseq cache" any more.
9786         * custom.el (defcustom): Add edebug spec.
9788 2010-04-18  Juri Linkov  <juri@jurta.org>
9790         Test for special mode-class in view-buffer instead of view-file (bug#5513).
9792         * view.el (view-file, view-buffer): Move test for special mode-class
9793         from view-file to view-buffer.
9795         * tar-mode.el (tar-extract): Turn if's into one cond
9796         like in arc-mode.el.
9798 2010-04-18  Juri Linkov  <juri@jurta.org>
9800         Add 7z archive format support (bug#5475).
9802         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
9803         (archive-7z-extract): New defcustom.
9804         (archive-find-type): Add magic string for 7z.
9805         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
9806         If `stderr-file' is non-nil, use `(t stderr-file)' for the
9807         `buffer' arg of `call-process'.
9808         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
9809         call the function `archive-7z-extract' with the variable
9810         `archive-7z-extract' let-bound to `archive-zip-extract'.
9811         (archive-7z-summarize, archive-7z-extract): New functions.
9813         * international/mule.el (auto-coding-alist):
9814         * files.el (auto-mode-alist): Add 7z file extension.
9816 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9818         * loadup.el: Setup hash-cons for pure data.
9820         Fix duplicate entries in cedet's loaddefs.el files.
9821         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
9822         Should make most file-local generated-autoload-file unnecessary.
9823         (print-readably): Silence warnings.
9824         (autoload-find-destination): Take load-name as an arg to make sure
9825         it's the same as the one that will be in the file.
9826         (autoload-generate-file-autoloads): Adjust to above changes.
9827         Try to make the dataflow a bit simpler.
9829         * cvs-status.el (cvs-refontify): Remove unused.
9831 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
9833         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
9835         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
9836         twos-complement mode.
9838 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
9840         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
9841         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
9842         (calc-inverse): Add "Option" to message, as appropriate.
9843         (calc-hyperbolic): Add "Option" to message, as appropriate.
9844         (calc-option, calc-is-option): New functions.
9846         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
9847         (calc-option-prefix-help): New function.
9849         * calc/calc-misc.el (calc-help): Add "Option" entry.
9851         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
9852         (calc-option-flag): New variable.
9853         (calc-do): Set `calc-option-flag to nil.
9854         (calc-set-mode-line): Add "Opt " as appropriate.
9856 2010-04-16  Juri Linkov  <juri@jurta.org>
9858         Move scrolling commands from simple.el to window.el
9859         because their primitives are implemented in window.c.
9861         * simple.el (scroll-error-top-bottom)
9862         (scroll-up-command, scroll-down-command, scroll-up-line)
9863         (scroll-down-line, scroll-other-window-down)
9864         (beginning-of-buffer-other-window, end-of-buffer-other-window):
9865         * window.el (scroll-error-top-bottom)
9866         (scroll-up-command, scroll-down-command, scroll-up-line)
9867         (scroll-down-line, scroll-other-window-down)
9868         (beginning-of-buffer-other-window, end-of-buffer-other-window):
9869         Move from simple.el to window.el because their primitives are
9870         implemented in window.c.
9872 2010-04-16  Juri Linkov  <juri@jurta.org>
9874         * isearch.el (isearch-lookup-scroll-key): Check both
9875         `isearch-scroll' and `scroll-command' properties.
9876         (scroll-up, scroll-down): Remove `isearch-scroll' property.
9878         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
9880         * simple.el (scroll-up-command, scroll-down-command)
9881         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
9883 2010-04-15  Juri Linkov  <juri@jurta.org>
9885         * simple.el (scroll-up-command, scroll-down-command)
9886         (scroll-up-line, scroll-down-line): Put `scroll-command'
9887         property on the these symbols.  Remove them from
9888         `scroll-preserve-screen-position-commands'.
9890         * mwheel.el (mwheel-scroll): Put `scroll-command' and
9891         `isearch-scroll' properties on the `mwheel-scroll' symbol.
9892         Remove it from `scroll-preserve-screen-position-commands'.
9894         * isearch.el (isearch-allow-scroll): Doc fix.
9896 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
9898         * net/tramp.el (tramp-error-with-buffer): Don't show the
9899         connection buffer when we are in completion mode.
9900         (tramp-file-name-handler): Catch the error for some operations
9901         when we are in completion mode.  This gives the user the chance to
9902         correct the file name in the minibuffer.
9904 2010-04-15  Glenn Morris  <rgm@gnu.org>
9906         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
9908 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
9910         Simplify by using `define-derived-mode'.
9911         * info.el (Info-mode):
9912         * calendar/todo-mode.el (todo-mode):
9913         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
9914         (gomoku-mode-map): Move initialization into declaration.
9916 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
9918         Fix Bug#5840.
9919         * ido.el (ido-file-name-all-completions-1):
9920         * minibuffer.el (minibuffer-completion-help):
9921         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
9923 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9925         * simple.el (non-essential): New var.
9927         Add a new field `location' to bookmarks for non-file bookmarks.
9928         * bookmark.el (bookmark-location): Use the new field, if present.
9929         (bookmark-insert-location): Undo last change, not needed any more.
9930         * man.el (Man-bookmark-make-record):
9931         * woman.el (woman-bookmark-make-record): Add `location' field.
9933 2010-04-14  Juri Linkov  <juri@jurta.org>
9935         * simple.el (scroll-error-top-bottom): New defcustom.
9936         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
9938         * emulation/pc-select.el (pc-select-override-scroll-error):
9939         Obsolete in favor of `scroll-error-top-bottom'.
9941 2010-04-14  Juri Linkov  <juri@jurta.org>
9943         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
9944         `scroll-up-command' and `M-v' to `scroll-down-command'.
9946         * emulation/cua-rect.el (cua--init-rectangles):
9947         * forms.el (forms--change-commands):
9948         * image-mode.el (image-mode-map):
9949         Remap scroll-down-command and scroll-up-command
9950         in addition to scroll-down and scroll-up.
9952 2010-04-14  Juri Linkov  <juri@jurta.org>
9954         * mwheel.el (scroll-preserve-screen-position-commands):
9955         Add mwheel-scroll to this list of commands.
9957         * simple.el (scroll-preserve-screen-position-commands):
9958         Add scroll-up-command, scroll-down-command, scroll-up-line,
9959         scroll-down-line to this list of commands.
9961 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9963         * obsolete/complete.el: Move from lisp/complete.el.
9965         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
9967         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
9968         to the minor mode function now turns the mode ON unconditionally.
9970 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9972         * vc-dir.el (vc-dir-kill-line): New command.
9973         (vc-dir-mode-map): Bind it to C-k.
9975         * bookmark.el (bookmark-insert-location): Handle a nil filename.
9977         * woman.el: Add bookmark declarations to silence the compiler.
9978         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
9979         step to compatibility between man and woman bookmarks.
9980         Adjust for Man-default-bookmark-title renaming.
9981         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
9983         * man.el: Add bookmark declarations to silence the compiler.
9984         (Man-name-local-regexp): Make it match NAME as well.
9985         (Man-getpage-in-background): Return the buffer.
9986         (Man-notify-when-ready): Use `case'.
9987         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
9988         Don't hardcode "NAME".  Simplify.
9989         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
9990         Rename from Man-bookmark-make-record.
9991         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
9992         we have the actual man-args.  Use Man-getpage-in-background rather
9993         than `man' since the arg is already processed.  Let bookmark.el do the
9994         window handling.  Only wait for the relevant process.
9995         Don't forget to autoload.
9997         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
9999 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10001         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
10002         New functions.
10003         (woman-mode): Setup bookmark support.
10005         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
10006         (man-bookmark-jump): New functions.
10007         (Man-mode): Setup bookmark support.
10009 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
10011         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
10012         recognize ssh-keygen prompt (Bug#2817).
10014 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
10016         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
10018 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
10020         Synchronize with Tramp repository.
10022         * net/tramp.el (tramp-completion-function-alist)
10023         (tramp-file-name-regexp, tramp-chunksize)
10024         (tramp-local-coding-commands, tramp-remote-coding-commands):
10025         Fix docstring.
10026         (tramp-remote-process-environment): Use `format' instead of `concat'.
10027         (tramp-handle-directory-files-and-attributes)
10028         (tramp-get-remote-path): Use `copy-tree'.
10029         (tramp-handle-file-name-all-completions): Backward/ XEmacs
10030         compatibility: Use `completion-ignore-case' if
10031         `read-file-name-completion-ignore-case' does not exist.
10032         (tramp-do-copy-or-rename-file-directly): Do not use
10033         `tramp-handle-file-remote-p'.
10034         (tramp-do-copy-or-rename-file-out-of-band):
10035         Use `tramp-compat-delete-directory'.
10036         (tramp-do-copy-or-rename-file-out-of-band)
10037         (tramp-compute-multi-hops, tramp-maybe-open-connection):
10038         Use `format-spec-make'.
10039         (tramp-find-foreign-file-name-handler)
10040         (tramp-advice-make-auto-save-file-name)
10041         (tramp-set-auto-save-file-modes): Remove superfluous check for
10042         `stringp'.  This is done inside `tramp-tramp-file-p'.
10043         (tramp-debug-outline-regexp): New defconst.
10044         (tramp-get-debug-buffer): Use it.
10045         (tramp-check-for-regexp): Use (forward-line 1).
10046         (tramp-set-auto-save-file-modes): Adapt version check.
10048         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
10049         Wrap call of `featurep' for 2nd argument.
10050         (tramp-compat-make-temp-file): Simplify fallback implementation.
10051         (tramp-compat-copy-tree): Remove function.
10052         (tramp-compat-delete-directory): Provide implementation for older
10053         Emacsen.
10055         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
10056         Do not use `tramp-fish-handle-file-attributes.
10058         * net/trampver.el: Update release number.
10060 2010-04-10  Glenn Morris  <rgm@gnu.org>
10062         * progmodes/compile.el (compilation-save-buffers-predicate):
10063         Add missing :version tag.
10065 2010-04-09  Sam Steingold  <sds@gnu.org>
10067         * progmodes/compile.el (compilation-save-buffers-predicate):
10068         Remove the "autoload" cookie.
10070         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
10071         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
10072         and `bug-reference-prog-mode' can be used in hooks directly.
10074 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
10076         Add --author support to git commit.
10077         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
10078         (vc-git-log-edit-mode): New minor mode.
10079         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
10080         New declarations.
10082 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
10084         * vc-hooks.el, vc-git.el: Improve documentation comments.
10086 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10088         Fix some of the problems in defsubst* (bug#5728).
10089         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
10090         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
10092 2010-04-07  Sam Steingold  <sds@gnu.org>
10094         * progmodes/compile.el (compilation-save-buffers-predicate):
10095         New custom variable.
10096         (compile, recompile): Pass it to `save-some-buffers'.
10098 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
10100         * wid-edit.el (widget-choose): Move cursor to the second line of
10101         the buffer (Bug#5695).
10103 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
10105         Add new VC methods: vc-log-incoming and vc-log-outgoing.
10106         * vc.el (vc-print-log-setup-buttons): New function split out from
10107         vc-print-log-internal.
10108         (vc-log-internal-common): New function, a parametrized version of
10109         vc-print-log-internal.
10110         (vc-print-log-internal): Just call vc-log-internal-common with the
10111         right arguments.
10112         (vc-incoming-outgoing-internal):
10113         (vc-log-incoming, vc-log-outgoing): New functions.
10114         (vc-log-view-type): New permanent local variable.
10116         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
10118         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
10119         of the dynamic bound vc-short-log.
10120         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
10122         * vc-git.el (vc-git-log-outgoing): New function.
10123         (vc-git-log-view-mode): Use vc-log-view-type instead
10124         of the dynamic bound vc-short-log.
10126         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
10127         of the dynamic bound vc-short-log.  Highlight the tag.
10128         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
10129         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
10130         (vc-hg-incoming-mode): Remove.
10131         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
10133 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
10135         Fix default-directory for vc-root-diff.
10136         * vc.el (vc-root-diff): Bind default-directory to the root
10137         directory for the diff command.
10139 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
10141         * progmodes/verilog-mode.el (verilog-forward-sexp):
10142         (verilog-calc-1): Support "disable fork" and "fork wait" multi
10143         word keywords, suggested by Steve Pearlmutter.
10144         (verilog-pretty-declarations): Support lineup of declarations in
10145         port lists.
10146         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
10147         fix bug for /* / comments.
10148         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
10149         Speed up and simplfy as this is never called with a bound.
10150         (verilog-pretty-declarations): Enhance to line up declarations
10151         inside a parameter list, suggested by Alan Morgan.
10152         (verilog-pretty-expr): Tune assignment regular expression match
10153         string for corner cases; also use markers instead of character
10154         number as indent changes the later.
10156 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
10158         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
10159         as missing keyword.
10160         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
10161         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
10162         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
10163         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
10164         Tennant.
10165         (verilog-keywords):
10166         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
10167         1800-2009 keywords, including "global.".
10169 2010-04-06  John Wiegley  <jwiegley@gmail.com>
10171         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
10172         appearing in buffer list (if a live buffer name matched a recentf
10173         file basename).  Should use uniquify to offer a real solution.
10175 2010-04-06  John Wiegley  <jwiegley@gmail.com>
10177         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
10178         comment to code, and add a :version tag.
10179         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
10181 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
10183         Enable recentf-mode if using virtual buffers.
10184         * ido.el (recentf-list): Declare for byte-compiler.
10185         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
10186         (ido-make-buffer-list): Simplify.
10187         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
10189 2010-04-05  Juri Linkov  <juri@jurta.org>
10191         Scrolling commands which scroll a line instead of full screen.
10192         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10194         * simple.el (scroll-up-line, scroll-down-line): New commands.
10195         Put property isearch-scroll=t on them.
10197         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
10198         Remove commands.
10200 2010-04-05  Juri Linkov  <juri@jurta.org>
10202         Scrolling commands which do not signal errors at top/bottom.
10203         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10205         * simple.el (scroll-up-command, scroll-down-command): New commands.
10206         Put property isearch-scroll=t on them.
10208         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
10209         `scroll-down-command' and [next] from `scroll-up' to
10210         `scroll-up-command'.
10212         * emulation/cua-base.el: Put property CUA=move on
10213         `scroll-up-command' and `scroll-down-command'.
10214         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
10215         and `scroll-down-command' to `cua-scroll-down'.
10217 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
10219         * help.el (describe-mode): Return nil.
10221 2010-04-04  John Wiegley  <jwiegley@gmail.com>
10223         * ido.el (ido-use-virtual-buffers): New variable to indicate
10224         whether "virtual buffer" support is enabled for IDO.
10225         (ido-virtual): Face used to indicate virtual buffers in the list.
10226         (ido-buffer-internal): If a buffer is chosen, and no such buffer
10227         exists, but a virtual buffer of that name does (which would be why
10228         it was in the list), recreate the buffer by reopening the file.
10229         (ido-make-buffer-list): If virtual buffers are being used, call
10230         `ido-add-virtual-buffers-to-list' before the make list hook.
10231         (ido-virtual-buffers): New variable which contains a copy of the
10232         current contents of the `recentf-list', albeit pared down for the
10233         sake of speed, and with proper faces applied.
10234         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
10235         create a list of "virtual buffers" to present to the user in
10236         addition to the currently open set.  Note that this logic could
10237         get rather slow if that list is too large.  With the default
10238         `recentf-max-saved-items' of 200, there is little speed penalty.
10240 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10242         * font-lock.el: Require CL when compiling.
10243         (font-lock-turn-on-thing-lock): Use `case'.
10245 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
10247         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
10248         Zaretskii.
10250 2010-04-02  Juri Linkov  <juri@jurta.org>
10252         * ehelp.el (electric-help-orig-major-mode):
10253         New buffer-local variable.
10254         (electric-help-mode): Set it to original major-mode.  Doc fix.
10255         (with-electric-help): Use `electric-help-orig-major-mode' instead
10256         of (default-value 'major-mode).  Doc fix.
10257         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
10259 2010-04-02  Sam Steingold  <sds@gnu.org>
10261         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
10262         `vc-hg-command' with a list of flags.
10264         * progmodes/bug-reference.el (bug-reference-bug-regexp):
10265         Also accept "patch" and "RFE".
10266         (bug-reference-fontify): `bug-reference-url-format' can also be a
10267         function to be able to handle the bug kind.
10268         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
10270 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
10272         * tmm.el (tmm-get-keymap): Check with symbolp before passing
10273         value to fboundp, it may not be a symbol.
10275 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
10277         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
10279 2010-03-31  Juri Linkov  <juri@jurta.org>
10281         * simple.el (next-line, previous-line): Re-throw a signal
10282         with `signal' instead of using `ding'.
10283         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
10285 2010-03-31  Juri Linkov  <juri@jurta.org>
10287         * simple.el (keyboard-escape-quit): Raise deselecting the active
10288         region higher than exiting the minibuffer.
10289         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
10291 2010-03-31  Juri Linkov  <juri@jurta.org>
10293         * image.el (image-animated-p): Use `image-metadata' instead of
10294         `image-extension-data'.  Get GIF extenstion data from metadata
10295         property `extension-data'.
10297 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10299         * simple.el (append-to-buffer): Simplify.
10301 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
10303         * textmodes/artist.el (artist-mode): Fix typo in docstring.
10304         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
10306 2010-03-31  Kenichi Handa  <handa@m17n.org>
10308         * language/sinhala.el (composition-function-table): Fix regexp for
10309         the new Unicode specification.
10311         * language/indian.el (devanagari-composable-pattern)
10312         (tamil-composable-pattern, kannada-composable-pattern)
10313         (malayalam-composable-pattern): Adjust for the new Unicode
10314         specification.
10315         (bengali-composable-pattern, gurmukhi-composable-pattern)
10316         (gujarati-composable-pattern, oriya-composable-pattern)
10317         (telugu-composable-pattern): New variables to cope with the new
10318         Unicode specification.  Use them in composition-function-table.
10320 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10322         Make tmm-menubar work for the Buffers menu again (bug#5726).
10323         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
10324         vectors rather than cons cells, as used in menu-bar-update-buffers.
10326 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
10328         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
10329         (js-insert-and-indent): Revert 2009-08-15 change, restoring
10330         electric punctuation for "{}();,:" (Bug#5586).
10332         * mail/sendmail.el (mail-default-directory): Doc fix.
10334 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
10336         * mail/sendmail.el (mail-default-directory): Doc fix.
10338 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
10340         * subr.el (version-regexp-alist, version-to-list)
10341         (version-list-<, version-list-=, version-list-<=)
10342         (version-list-not-zero, version<, version<=, version=): Doc fix.
10343         (Bug#5744).
10345 2010-02-31  Dan Nicolaescu  <dann@ics.uci.edu>
10347         * vc.el (vc-root-diff): Doc fix.
10349 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
10351         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
10353         * simple.el (append-to-buffer): Fix last change.
10355 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
10357         * simple.el (append-to-buffer): Ensure that point is preserved if
10358         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
10359         (Bug#5749)
10361 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10363         * files.el (auto-mode-case-fold): Change default to t.
10365 2010-03-30  Juri Linkov  <juri@jurta.org>
10367         * dired-x.el (dired-omit-mode): Doc fix.
10369 2010-03-30  Juri Linkov  <juri@jurta.org>
10371         * replace.el (occur-accumulate-lines): Move occur-engine related
10372         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
10373         to be located after `occur-engine'.
10375 2010-03-30  Juri Linkov  <juri@jurta.org>
10377         Make occur handle multi-line matches cleanly with context.
10378         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
10380         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
10381         (occur-engine): Add local variables `ret', `prev-after-lines',
10382         `prev-lines'.  Use more arguments for `occur-context-lines'.
10383         Set first elem of its returned list to `data', and the second elem
10384         to `prev-after-lines'.  Don't print the separator line.
10385         In the end, print remaining context after-lines.
10386         (occur-context-lines): Add new arguments `begpt', `endpt',
10387         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
10388         after-lines of the previous match with before-lines of the
10389         current match and not overlap them.  Return a list with two
10390         values: the output line and the list of context after-lines.
10392 2010-03-30  Juri Linkov  <juri@jurta.org>
10394         * replace.el (occur-accumulate-lines): Fix a bug where the first
10395         context line at the beginning of the buffer was missing.
10397 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
10399         * files.el: Make bidi-display-reordering safe variable for boolean
10400         values.
10402 2010-03-29  Phil Hagelberg  <phil@evri.com>
10403             Chong Yidong  <cyd@stupidchicken.com>
10405         * subr.el: Extend progress reporters to perform "spinning".
10406         (progress-reporter-update, progress-reporter-do-update):
10407         Handle non-numeric value arguments.
10408         (progress-reporter--pulse-characters): New var.
10410 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
10412         * progmodes/compile.el (compilation-start): Fix regexp detection
10413         of initial cd command (Bug#5771).
10415 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
10417         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
10419 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
10421         Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
10422         * progmodes/gdb-mi.el: Restore.
10423         * progmodes/gdb-ui.el: Remove.
10424         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
10426 2010-03-25  Glenn Morris  <rgm@gnu.org>
10428         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
10429         all dired buffers, even tramp ones.  (Bug#5755)
10431 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10433         Add "union tags" in mpc.el.
10434         * mpc.el: Remove backward compatibility code.
10435         (mpc-browser-tags): Change default.
10436         (mpc--find-memoize-union-tags): New var.
10437         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
10438         (mpc-cmd-find): Handle the case where the playlist does not exist.
10439         Handle union-tags.
10440         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
10441         (mpc-cmd-add): Use mpc-cmd-flush.
10442         (mpc-tagbrowser-tag-name): New fun.
10443         (mpc-tagbrowser-buf): Use it.
10444         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
10446 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10448         Misc cleanup.
10449         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
10450         Use replace-regexp-in-string.
10451         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
10452         (makefile-imake-mode-syntax-table): Move init into defvar.
10453         (makefile-mode): Use define-derived-mode.
10455         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
10456         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
10457         not be present any more.
10459 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
10461         * faces.el (set-face-attribute): Fix typo in docstring.
10462         (face-valid-attribute-values): Reflow docstring.
10464 2010-03-24  Glenn Morris  <rgm@gnu.org>
10466         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
10468 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
10470         * indent.el (indent-for-tab-command): Doc fix.
10472 2010-03-24  Alan Mackenzie  <acm@muc.de>
10474         * progmodes/cc-engine.el (c-remove-stale-state-cache):
10475         Fix off-by-one error.  Fixes bug #5747.
10477 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
10479         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
10480         (image-dired-read-comment): Doc fix.
10482         * json.el (json-object-type, json-array-type, json-key-type)
10483         (json-false, json-null, json-read-number):
10484         * minibuffer.el (completion-in-region-functions):
10485         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
10486         (cal-tex-cursor-week):
10487         * emacs-lisp/trace.el (trace-function):
10488         * eshell/em-basic.el (eshell/printnl):
10489         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
10490         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
10491         * obsolete/levents.el (allocate-event, event-key, event-object)
10492         (event-point, event-process, event-timestamp, event-to-character)
10493         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
10494         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
10495         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
10496         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
10497         (reftex-highlight-selection): Fix typos in docstrings.
10499 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
10501         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
10503 2010-03-24  Glenn Morris  <rgm@gnu.org>
10505         * mail/rmail.el (rmail-highlight-face): Restore option deleted
10506         2008-02-13 without comment; mark it obsolete.
10507         (rmail-highlight-headers): Use rmail-highlight-face once more.
10509 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
10511         * woman.el (woman2-process-escapes): Only consume the newline if
10512         the filler character is on a line by itself (Bug#5729).
10514 2010-03-24  Kenichi Handa  <handa@m17n.org>
10516         * language/indian.el (devanagari-composable-pattern): Add more
10517         consonants.
10519 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
10521         * net/trampver.el: Update release number.
10523 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
10525         * net/tramp.el (tramp-find-executable):
10526         Use `tramp-get-connection-buffer'.  Make the regexp for checking
10527         output of "wc -l" more robust.
10528         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
10529         (tramp-open-connection-setup-interactive-shell): Remove workaround
10530         for OpenSolaris bug, it is not needed anymore.
10532 2010-03-24  Glenn Morris  <rgm@gnu.org>
10534         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
10536 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
10538         * files.el (auto-mode-alist): Accept more verilog file patterns.
10540 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10542         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
10544 2010-03-24  Glenn Morris  <rgm@gnu.org>
10546         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
10547         log-edit-before-checkin-process.
10549         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
10551         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
10553         * vc-dispatcher.el (vc-start-logentry): Doc fix.
10554         (log-view-process-buffer, log-edit-extra-flags): Declare.
10556         * log-edit.el (log-edit-before-checkin-process): Doc fix.
10558 2010-03-23  Sam Steingold  <sds@gnu.org>
10560         Fix bug#5620: recalculate all markers on compilation buffer
10561         modifications, not on file modifications.
10562         * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
10563         variable: the buffer modification time, for buffers not associated with
10564         files.
10565         (compilation-mode): Create it.
10566         (compilation-filter): Update it.
10567         (compilation-next-error-function): Use it instead of
10568         `visited-file-modtime' for timestamp.
10570 2010-03-23  Juri Linkov  <juri@jurta.org>
10572         Implement Occur multi-line matches.
10573         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
10575         * replace.el (occur): Doc fix.
10576         (occur-engine): Set `begpt' to the beginning of the first line.
10577         Set `endpt' to the end of the last match line.  At first, count
10578         line numbers between `origpt' and `begpt'.  Split out code from
10579         `out-line' variable to new let-bindings `match-prefix' and
10580         `match-str'.  In `out-line' add non-numeric prefix to all
10581         non-first lines of multi-line matches.  Finally, count lines
10582         between `begpt' and `endpt' and add to `lines'.
10584 2010-03-23  Juri Linkov  <juri@jurta.org>
10586         * replace.el (occur-accumulate-lines, occur-engine):
10587         Use `occur-engine-line' instead of duplicate code.
10588         (occur-engine-line): New function created from duplicate code
10589         in `occur-accumulate-lines' and `occur-engine'.
10591         * replace.el (occur-engine-line): Add optional arg `keep-props'.
10592         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
10594 2010-03-23  Juri Linkov  <juri@jurta.org>
10596         * finder.el: Remove TODO tasks.
10598         * info.el (Info-finder-find-node): Add node "all"
10599         with all package info.  Handle a list of multiple keywords
10600         separated by comma.
10601         (info-finder): In interactive use with a prefix argument,
10602         use `completing-read-multiple' to read a list of keywords
10603         separated by comma.
10605 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10607         Add a new completion style `substring'.
10608         * minibuffer.el (completion-basic--pattern): New function.
10609         (completion-basic-try-completion, completion-basic-all-completions):
10610         Use it.
10611         (completion-substring--all-completions)
10612         (completion-substring-try-completion)
10613         (completion-substring-all-completions): New functions.
10614         (completion-styles-alist): New style `substring'.
10616 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10618         Get rid of .elc files after removal of the corresponding .el.
10619         * Makefile.in (compile-clean): New target.
10620         (compile-main): Use it.
10622 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
10624         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
10625         don't do make there.  When compiling with separate object dir, there
10626         is no Makefile there.
10628 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10630         Get rid of the ELCFILES abomination, again.
10631         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
10632         (all, compile): Don't call compile-last.
10633         (compile-main): Build the "elcfiles" list dynamically.
10634         (compile-targets): New (internal) target.
10636 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
10638         * Makefile.in (top_srcdir): Define.
10639         (abs_top_builddir): Define.
10640         (srcdir): Don't append `/..'.
10641         (EMACS): Use ${abs_top_builddir}.
10642         (all, compile, compile-always, compile-last): Don't set emacswd.
10643         (update-subdirs, update-authors): Use $(top_srcdir) instead of
10644         $(srcdir).
10645         (lisp): Use $(srcdir) instead of @srcdir@.
10647 2010-03-21  Juri Linkov  <juri@jurta.org>
10649         Fix message of multi-line occur regexps and multi-buffer header lines.
10650         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
10652         * replace.el (occur-1): Don't display regexp if it is longer
10653         than window-width.  Use `query-replace-descr' to display regexp.
10654         (occur-engine): Don't display regexp in the buffer header for
10655         multi-buffer occur.  Display a separate header line with total
10656         match count and regexp for multi-buffer occur.
10657         Use `query-replace-descr' to display regexp.
10659 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
10661         * net/secrets.el: Fix parenthesis.
10662         (secrets-enabled): Fix parenthesis.
10664 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10666         Use more relative file and directory names.
10667         * Makefile.in (EMACS): Arrange for it to work when we chdir.
10668         (setwins, setwins_almost, setwins_for_subdirs):
10669         Don't `cd'; output relative names.
10670         (all, compile, compile-always, compile-last): Set emacswd.
10671         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
10672         Just cd to the lisp source dir so we can use relative file names.
10674         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
10676 2010-03-20  Glenn Morris  <rgm@gnu.org>
10678         * textmodes/rst.el: Use faces for font-lock customization, and make the
10679         old -face variables obsolete.
10680         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
10681         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
10682         (rst-block-face, rst-external-face, rst-definition-face)
10683         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
10684         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
10685         Make obsolete.
10686         (rst-font-lock-keywords-function): Update for above changes.
10688 2010-03-20  Juri Linkov  <juri@jurta.org>
10690         * s-region.el:
10691         * obsolete/s-region.el: Move to obsolete.
10693 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
10695         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
10697 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
10699         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
10701 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
10703         Add special markup processing for commit logs.
10704         * log-edit.el (log-edit-extra-flags): New variable.
10705         (log-edit): Add new argument MODE.  Use that mode when non-nil
10706         instead of the log-view-mode.
10707         (log-view-process-buffer): New function.
10709         * vc.el: Document that the checkin method takes optional
10710         arguments.  Document new backend specific method: log-view-mode.
10711         (vc-default-log-edit-mode): New function.
10712         (vc-checkin): Use a backend specific log-view-mode.
10713         Pass extra arguments to the checkin method.
10714         (vc-modify-change-comment): Pass a dummy extra argument.
10716         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
10717         log-edit.
10718         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
10719         (vc-finish-logentry): Process the log buffer before passing it
10720         down.  Pass log-edit-extra-flags.
10722         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
10723         command.
10724         (log-edit-extra-flags, log-edit-before-checkin-process):
10725         New declarations.
10727         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
10728         command.
10729         (log-edit-extra-flags, log-edit-before-checkin-process):
10730         New declarations.
10731         (vc-hg-log-edit-mode): New derived mode.
10733         * vc-arch.el (vc-arch-checkin):
10734         * vc-cvs.el (vc-cvs-checkin):
10735         * vc-git.el (vc-git-checkin):
10736         * vc-mtn.el (vc-mtn-checkin):
10737         * vc-rcs.el (vc-rcs-checkin):
10738         * vc-sccs.el (vc-sccs-checkin):
10739         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
10741 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10743         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
10744         parent typo).
10746 2010-03-19  Glenn Morris  <rgm@gnu.org>
10748         * password-cache.el (password-cache, password-cache-expiry): Autoload.
10750 2010-03-18  Glenn Morris  <rgm@gnu.org>
10752         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
10754         * replace.el (query-replace-history): Give it a doc string.
10755         (map-query-replace-regexp): Use query-replace-from-history-variable
10756         and query-replace-to-history-variable.
10758         * mail/hashcash.el (declare-function): Remove duplicate definition.
10760         * mail/emacsbug.el (report-emacs-bug-pretest-address):
10761         Make it an obsolete alias for report-emacs-bug-address.
10762         (message-strip-special-text-properties): Declare.
10763         (report-emacs-bug): Remove test for a pretest bug address.
10764         Combine message-mode-specific code.
10766         * mail/supercite.el: Don't require sendmail.
10767         (mh-in-header-p): Declare rather than using with-no-warnings.
10768         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
10769         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
10771         * calendar/cal-french.el: Convert to utf-8.
10773         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
10774         Emacs scripts.
10776 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
10778         * net/secrets.el (secrets-enabled): New variable.  Use it instead
10779         of a subfeature.
10781 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
10783         * net/secrets.el (top): Register the D-Bus signals only when the
10784         service "org.freedesktop.secrets" can be pinged.
10785         Provide subfeature `enabled'.
10787 2010-03-14  Juri Linkov  <juri@jurta.org>
10789         Add finder unknown keywords.
10791         * finder.el (finder-unknown-keywords): New function.
10793         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
10794         to create a Finder node with unknown keywords.
10796 2010-03-14  Juri Linkov  <juri@jurta.org>
10798         * finder.el (finder-compile-keywords): Replace `princ' with
10799         `prin1' on a list of symbols interned from keyword strings.
10801         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
10802         a comma, then split keywords using a comma and optional whitespace.
10803         Otherwise, split by whitespace.
10805         * complete.el:
10806         * face-remap.el:
10807         * log-view.el:
10808         * net/hmac-def.el:
10809         * net/hmac-md5.el:
10810         * net/netrc.el:
10811         * progmodes/mixal-mode.el: Fix keywords.
10813 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
10815         * Makefile.in (ELCFILES): Add net/secrets.elc.
10817         * net/secrets.el: New file.
10819 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
10821         * facemenu.el (list-colors-display, list-colors-print): New arg
10822         callback.  Use it to allow selecting colors.
10824         * wid-edit.el (widget-image-insert): Insert image prop even if the
10825         current display is non-graphic.
10826         (widget-field-value-set): New fun.
10827         (editable-field): Use it.
10828         (widget-field-value-get): Clean up unused var.
10829         (widget-color-value-create, widget-color--choose-action):
10830         New funs.  Allow using list-colors-display to choose color.
10832 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
10834         * cus-edit.el: Resort topmost custom groups.
10835         (custom-buffer-sort-alphabetically): Default to t.
10836         (customize-apropos): Use apropos-parse-pattern.
10837         (custom-search-field): New var.
10838         (custom-buffer-create-internal): Add custom-apropos search field.
10839         (custom-add-parent-links): Don't display parent doc.
10840         (custom-group-value-create): Don't sort top-level custom group.
10841         (custom-magic-value-create): Show visibility button before option name.
10843         (custom-variable-state): New fun, from custom-variable-state-set.
10844         (custom-variable-state-set): Use it.
10845         (custom-group-value-create): Hide options with standard values
10846         using the :hidden-states property.  Use progress reporter.
10848         (custom-show): Simplify.
10849         (custom-visibility): Disable images by default.
10850         (custom-variable): New property :hidden-states.
10851         (custom-variable-value-create): Enable images for
10852         custom-visibility widgets.  Use :hidden-states property to
10853         determine initial visibility.
10855         * wid-edit.el (widget-image-find): Give images center ascent.
10856         (visibility): Add :on-image and :off-image properties.
10857         (widget-visibility-value-create): Use them.
10859 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
10861         * cus-edit.el (processes): Remove from development group.
10862         (oop, hypermedia): Delete group.
10863         (comm): Promote to top-level group.
10865         * net/browse-url.el (browse-url):
10866         * net/xesam.el (xesam):
10867         * net/tramp.el (tramp):
10868         * net/goto-addr.el (goto-address):
10869         * net/ange-ftp.el (ange-ftp): Put in comm group.
10871         * view.el (view): Remove from editing group.
10873         * uniquify.el (uniquify): Put in files group.
10875         * net/browse-url.el (browse-url):
10876         * ps-print.el (postscript): Put in external group.
10878         * cus-edit.el (outlines):
10879         * textmodes/text-mode.el (text-mode-hook):
10880         * textmodes/table.el (table):
10881         * textmodes/picture.el (picture):
10882         * outline.el (outlines): Put in wp group.
10884         * nxml/nxml-mode.el (nxml): Remove from wp group.
10886         * net/tramp-imap.el (tramp-imap): Put in tramp group.
10888         * mail/metamail.el (metamail): Remove from hypermedia group.
10890         * cus-edit.el (abbrev):
10891         * whitespace.el (whitespace):
10892         * vcursor.el (vcursor):
10893         * reveal.el (reveal):
10894         * hl-line.el (hl-line): Put in convenience group.
10896         * epg-config.el (epg): Put in data group.
10898         * emulation/pc-select.el (pc-select): Put in emulations group.
10900         * calculator.el (calculator): Put in applications group.
10902 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
10904         Add .dir-locals.el support for file-less buffers.
10905         * files.el (hack-local-variables): Split out code to apply local
10906         variable settings ...
10907         (hack-local-variables-apply): ... here.  New function.
10908         (hack-dir-local-variables): Use the default directory for when the
10909         buffer does not have an associated file.
10910         (hack-dir-local-variables-non-file-buffer): New function.
10911         * diff-mode.el (diff-mode):
10912         * vc-annotate.el (vc-annotate-mode):
10913         * vc-dir.el (vc-dir-mode):
10914         * log-edit.el (log-edit-mode):
10915         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
10917 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
10919         Add support for shelving snapshots and for showing shelves.
10920         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
10921         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
10922         New functions.
10923         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
10924         (vc-bzr-extra-menu-map): Map them.
10926 2010-03-11  Glenn Morris  <rgm@gnu.org>
10928         * cus-edit.el (customize-changed-options-previous-release):
10929         Bump to 23.1.
10931         * image.el (image-animate-max-time): Fix :version tag.
10933 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
10935         * Branch for 23.2.
10937 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10939         * vc-git.el (vc-git-revision-table): Include remote branches.
10941 2010-03-10  Kim F. Storm  <storm@cua.dk>
10943         Animated image API.
10944         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
10946         * image.el (image-animate-max-time): New defcustom.
10947         (image-animated-types): New defconst.
10948         (create-animated-image, image-animate-timer)
10949         (image-animate-start, image-animate-stop, image-animate-timeout)
10950         (image-animated-p): New functions.
10952         * image-mode.el (image-toggle-display-image):
10953         Replace `create-image' with `create-animated-image'.
10955 2010-03-09  Miles Bader  <miles@gnu.org>
10957         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
10958         instead of "format:"; this ensures that the output is
10959         newline-terminated.
10961 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
10963         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
10964         that all errors are caught, and that the return value is always a
10965         list (Bug#5692).
10967 2010-03-08  Kenichi Handa  <handa@m17n.org>
10969         * language/misc-lang.el (windows-1256): New coding system.
10970         (cp1256): New alias of windows-1256 (bug#5690).
10972 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
10974         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
10975         call to rfc822-bad-address.  (Bug#5692)
10977 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
10979         * vc-git.el (vc-git-annotate-extract-revision-at-line):
10980         Use vc-git-root as default directory for revision path (Bug#5657).
10982 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
10984         * calculator.el (calculator): Don't bind split-window-keep-point
10985         (Bug#5674).
10987 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10989         * vc-git.el: Re-flow to fit into 80 columns.
10990         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
10991         Remove spurious `quote' element in each case alternative.
10992         (vc-git-show-log-entry): Use prog1.
10993         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
10995 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10997         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
10999 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
11001         * macros.el (insert-kbd-macro): Look up keyboard macro using the
11002         definition, not the name (Bug#5481).
11004 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
11006         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
11007         argument with a local variable.  (Bug#5670)
11009 2010-03-02  Juri Linkov  <juri@jurta.org>
11011         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
11013 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
11015         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
11016         error when FILENAME and NEWNAME are existing remote directories.
11018         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
11019         parameter DIR-FLAG.
11021 2010-03-02  Glenn Morris  <rgm@gnu.org>
11023         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
11024         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
11026 2010-03-01  Kenichi Handa  <handa@m17n.org>
11028         * language/burmese.el (burmese-composable-pattern): Rename from
11029         myanmar-composable-pattern.
11031         * international/characters.el (script-list):
11032         * international/fontset.el (script-representative-chars):
11033         Change myanmar to burmese.
11034         (otf-script-alist): Likewise.
11035         (setup-default-fontset): Likewise.  Re-fix :otf spec.
11037 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
11039         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
11041 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
11043         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
11045 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
11047         * net/tramp.el (tramp-handle-write-region): START can be a string.
11048         Take care in the checks.  Reported by Dan Davison
11049         <davison@stats.ox.ac.uk>.
11051 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
11053         * net/dbus.el (dbus-introspect, dbus-get-property)
11054         (dbus-set-property, dbus-get-all-properties):
11055         Use `dbus-call-method' when noninteractive.  (Bug#5645)
11057 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
11059         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
11060         * emacs-lisp/elint.el (elint-add-required-env):
11061         * calendar/icalendar.el (icalendar--add-diary-entry):
11062         * calc/calcalg2.el (math-tracing-integral):
11063         * files.el (recover-session-finish): Use with-current-buffer
11064         instead of save-excursion.
11066 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11068         Fix in-buffer completion when after-change-functions modify the buffer.
11069         * minibuffer.el (completion--replace): New function.
11070         (completion--do-completion): Use it and use relative movement.
11072 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
11074         * international/fontset.el (setup-default-fontset): Fix :otf spec.
11076 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
11078         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
11079         Allow the characters _<> in the stack entry (Bug#5653).
11081 2010-02-26  Kenichi Handa  <handa@m17n.org>
11083         * language/burmese.el: Fix entries in composition-function-table.
11084         (myanmar-composable-pattern): New variable.
11086         * international/fontset.el (setup-default-fontset): Add an entry
11087         for myanmar.
11089         * international/characters.el (script-list): Add Myanmar
11090         Extended-A.
11092 2010-02-26  Glenn Morris  <rgm@gnu.org>
11094         * custom.el (custom-initialize-delay): Doc fix.
11096         * mail/sendmail.el (send-mail-function): Autoload the call
11097         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
11099 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
11101         * files.el (hack-local-variables-filter): For eval forms, also
11102         check safe-local-variable-p (Bug#5636).
11104 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
11106         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
11107         setting the modes by `ignore-errors'.  It might fail, for example
11108         if the file is not owned by the user but the group.
11109         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
11111 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
11113         * files.el (directory-listing-before-filename-regexp):
11114         Use stricter matching for iso-style dates, to avoid false matches with
11115         date-like filenames (Bug#5597).
11117         * htmlfontify.el (htmlfontify): Doc fix.
11119         * eshell/eshell.el (eshell): Doc fix.
11121         * startup.el (fancy-about-screen): In mode-line, apply
11122         mode-line-buffer-id face only to the buffer name (Bug#5613).
11124 2010-02-20  Kevin Ryde  <user42@zip.com.au>
11126         * progmodes/compile.el (compilation-error-regexp-alist-alist):
11127         In `watcom' anchor regexp to start of line, to avoid slowness
11128         (Bug#5599).
11130 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
11132         * subr.el (remove-yank-excluded-properties): Explain in a comment
11133         why `category' property is removed.
11135 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
11137         * isearch.el (isearch-update-post-hook, isearch-update):
11138         Revert 2010-02-17 change.
11140 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
11142         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
11143         (icalendar--convert-weekly-to-ical)
11144         (icalendar--convert-yearly-to-ical)
11145         (icalendar--convert-block-to-ical)
11146         (icalendar--convert-cyclic-to-ical)
11147         (icalendar--convert-anniversary-to-ical): Take care of time
11148         specifications where hour has 1-digit only (Bug#5549).
11150 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
11152         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
11153         of disassemble output in GDB 7.1.
11155 2010-02-19  Glenn Morris  <rgm@gnu.org>
11157         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
11158         property.  (Bug#5593)
11160 2010-02-18  Sam Steingold  <sds@gnu.org>
11162         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
11164 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11166         Use abbreviated file names in bookmarks (bug#5591).
11167         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
11168         calls to expand-file-name.
11169         (bookmark-relocate): Use abbreviated file names in bookmarks.
11170         (bookmark-load): Use abbreviated file names in messages.
11172 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
11174         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
11175         expand "." and "..".  Reported by Thierry Volpiatto
11176         <thierry.volpiatto@gmail.com>.
11178 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
11180         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
11181         permissions of the temporary file to "0600".  In case the remote
11182         file has no read permissions for the owner, there might be
11183         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
11185 22010-02-18  Glenn Morris  <rgm@gnu.org>
11187         * emacs-lisp/authors.el (authors-renamed-files-alist):
11188         Add entries for INSTALL.CVS.
11190 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
11192         * vc-bzr.el: Fix typo in Known Bugs section.
11194         * isearch.el (isearch-update-post-hook): New hook.
11195         (isearch-update): Use the new hook.
11197 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
11199         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
11200         Fix errors in copying directories.
11201         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
11202         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
11203         (tramp-handle-delete-file)
11204         (tramp-handle-dired-recursive-delete-directory)
11205         (tramp-handle-write-region): Flush also the cache for the upper
11206         directory.
11208 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
11210         * simple.el (save-interprogram-paste-before-kill): Doc fix.
11212         * cus-edit.el (hardware): Doc fix.
11214         * man.el (man): Add to external custom group.
11216         * delim-col.el (columns): Move to wp custom group.
11218         * doc-view.el (doc-view): Add to data custom group.
11220         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
11222         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
11223         by ispell-parse-output (Bug#5575).
11225 2010-02-16  Kenichi Handa  <handa@m17n.org>
11227         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
11228         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
11229         (skkdic-convert): Use `euc-japan' coding system for writing.
11231 2010-02-16  Glenn Morris  <rgm@gnu.org>
11233         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
11234         tex-main-file before using it.  (Bug#5562)
11236 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11238         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
11239         warnings, since it is annoying for the user to see them each time he
11240         runs the code.
11242 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
11244         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
11245         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
11246         instead of PROC for caching "first-password-request".  Otherwise,
11247         new processes would not profit from passwords already entered.
11249         * net/tramp-cache.el (tramp-dump-connection-properties):
11250         Don't save "first-password-request" property.
11252 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
11254         * outline.el (outline-head-from-level):
11255         * simple.el (with-wrapper-hook):
11256         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
11257         (elint-defun, elint-buffer-env, elint-top-form-logged)
11258         (elint-unbound-variable):
11259         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
11260         Fix typos in docstrings.
11262 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
11264         * files.el (insert-directory): When WILDCARD-REGEXP and
11265         FULL-DIRECTORY-P are nil, insert the file entry instead of the
11266         whole directory.  (Bug#5551)
11268         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
11269         dired's alignment sanity.  (Bug#5516)
11271 2010-02-14  Juri Linkov  <juri@jurta.org>
11273         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
11274         Remove remaining ^H with their preceding chars.  (Bug#5566)
11276 2010-02-13  Glenn Morris  <rgm@gnu.org>
11278         * simple.el (transpose-subr): Give it a doc-string.
11280         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
11281         Doc fixes.
11283 2010-02-12  Juri Linkov  <juri@jurta.org>
11285         * arc-mode.el (archive-unique-fname): Make directories for nested
11286         archives.  (Bug#5540)
11288 2010-02-12  Juri Linkov  <juri@jurta.org>
11290         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
11292 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11294         * subr.el (copy-overlay): Handle deleted overlays.
11296         * man.el (Man-completion-table): Don't signal an error if we can't run
11297         manual-program (bug#4056).
11299 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
11301         * textmodes/artist.el (artist-mt): Fix typos in docstring.
11303 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11305         * info.el (Info-bookmark-jump): Simplify.
11307         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
11308         (bookmark-default-handler): Accept new bookmark field `buffer'.
11310 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
11312         * iswitchb.el (iswitchb-completions): Revert last change.
11314 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
11316         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
11317         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
11318         This prevents file names like "~/" being listed literally.
11320 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
11322         * term/xterm.el (xterm-maybe-set-dark-background-mode):
11323         Remove dead code.  (Bug#5546)
11325 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
11327         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
11328         correctly (Bug#5548).
11330 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
11332         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
11333         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
11335 2010-02-08  Kenichi Handa  <handa@m17n.org>
11337         * international/mule-util.el (with-coding-priority): Add autoload
11338         cookie for putting `lisp-indent-function'.
11340 2010-02-07  Glenn Morris  <rgm@gnu.org>
11342         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
11343         Move F2003 named interfaces from keywords-2 to keywords-1, and
11344         use function-name-face rather than constant-face.
11345         Simplify "abstract interface" regexp.
11347 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
11349         * eshell/esh-util.el (eshell-file-attributes): New optional arg
11350         ID-FORMAT.  Pass it to `file-attributes'.
11352         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
11354 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
11356         * faces.el (set-face-attribute): Allow calling
11357         internal-set-lisp-face-attribute with 'unspecified family and
11358         foundry argument (Bug#5536).
11360 2010-02-07  Glenn Morris  <rgm@gnu.org>
11362         * progmodes/f90.el (f90-font-lock-keywords-2)
11363         (f90-looking-at-type-like, f90-looking-at-program-block-end):
11364         Handle F2003 named interfaces.
11366 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
11368         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
11369         beg and end before calling c-get-state-before-change-functions.
11371 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
11373         * vc-bzr.el (vc-bzr-dir-extra-headers):
11374         Disable the pending merges header.
11376 2010-02-05  Juri Linkov  <juri@jurta.org>
11378         * doc-view.el (doc-view-mode):
11379         * image-mode.el (image-mode): Put property mode-class=special.
11380         (Bug#4896)
11382 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
11384         * vc-svn.el (vc-svn-revision-table): New function.
11386 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
11388         * net/ange-ftp.el (ange-ftp-insert-directory):
11389         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11390         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11391         Handle also directories.  (Bug#5478)
11393 2010-02-05  Glenn Morris  <rgm@gnu.org>
11395         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
11397 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
11399         * startup.el (command-line-1): Convert options beginning with a
11400         single dash as well (Bug#5519).
11402 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11404         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
11405         * minibuffer.el (completion-initials-expand): Only check the presence
11406         of delims *within* the boundaries, since otherwise the / delim is
11407         always found for files.
11409         Fix up various corner case problems.
11410         * doc-view.el (doc-view-last-page-number): New function.
11411         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
11412         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
11413         (doc-view-kill-proc): Avoid inf-loop in freak cases.
11414         (doc-view-reconvert-doc): Use the new recursive delete-directory.
11415         (doc-view-convert-current-doc): Don't create the resolution.el file
11416         here any more.
11417         (doc-view-pdf/ps->png): Do it here instead.
11418         (doc-view-already-converted-p): Check that resolution.el is present.
11419         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
11420         windows that are not yet showing images.
11422 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
11424         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
11425         `dired-uncache' for every elemnt which is an absolute file name.
11427         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
11428         directory, handle its directory component.
11429         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
11430         function is called permanently and creates noise, otherwise.
11432         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11433         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11434         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
11436 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
11438         * macros.el (apply-macro-to-region-lines):
11439         Minor simplification.  (Bug#5485)
11441 2010-02-04  Glenn Morris  <rgm@gnu.org>
11443         * mail/rmail.el (rmail-show-message-1): Handle malformed
11444         quoted-printable text.  (Bug#5441)
11446         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
11448         * simple.el (visual-line-mode): Capitalize lighter.
11450 2010-02-03  John Wiegley  <jwiegley@gmail.com>
11452         * iswitchb.el (iswitchb-completions): Add bookmark files to the
11453         list of files considered for "virtual buffer" completions.
11455 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
11457         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
11458         also in case of (and (not full) (not wildcard)).  This is needed
11459         when dired is called with a list of files, which are not in
11460         `default-directory'.  (Bug#5478)
11462 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11464         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
11466 2010-02-02  Juri Linkov  <juri@jurta.org>
11468         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
11469         from unidiff to allow function-line after @@.
11471 2010-02-02  Juri Linkov  <juri@jurta.org>
11473         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
11474         '(RCS SCCS) with inverted condition.
11476 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
11478         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
11479         messages.
11481 2010-02-01  Juri Linkov  <juri@jurta.org>
11483         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
11484         compare with "pkunzip" and "pkzip" instead of only "pkzip".
11485         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
11486         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
11488 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11490         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
11491         (doc-view-revert-buffer): New command.
11492         (doc-view-mode-map): Use it.
11494 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
11496         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
11497         pending merge is detected.
11499 2010-01-31  Juri Linkov  <juri@jurta.org>
11501         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
11502         beginning of interactive spec like all other grep commands do.
11503         Put "all" in front of "gz".  (Bug#5260)
11505 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
11507         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
11509 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
11511         * dirtrack.el (dirtrack): Warn instead of signalling error if the
11512         regexp is incorrect (Bug#5476).
11514 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
11516         * net/tramp.el (tramp-handle-insert-directory): Handle also
11517         symlinks, when FILENAME is not in `default-directory'.
11519 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
11521         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
11522         FILE is not in `default-directory'.  (Bug#5478)
11524         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
11525         of SWITCHES.  Handle the case, FILENAME is not in
11526         `default-directory'.  (Bug#5478)
11527         (tramp-register-file-name-handlers): Add safe-magic property.
11529 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
11531         * arc-mode.el (archive-zip-extract): Quote the argument passed to
11532         unzip (Bug#5475).
11534 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
11536         * progmodes/flymake.el (flymake-allowed-file-name-masks)
11537         (flymake-master-make-header-init): Add other C++ filename masks.
11538         (flymake-find-possible-master-files)
11539         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
11541 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
11543         Fix some busybox annoyances.
11545         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
11546         not responding." string.
11547         (tramp-open-connection-setup-interactive-shell): Dump stty
11548         settings.  Enable "neveropen" arg for all `tramp-send-command'
11549         calls.  Handle "=" in variable values properly.
11550         (tramp-find-inline-encoding): Raise an error, when no encoding is
11551         found.
11552         (tramp-wait-for-output): Check, whether PROC buffer is available.
11553         Remove spurious " ^H" sequences, sent by busybox.
11554         (tramp-get-ls-command): Suppress coloring, if possible.
11556 2010-01-28  Glenn Morris  <rgm@gnu.org>
11558         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
11560         * log-edit.el (log-edit-strip-single-file-name): Add missing
11561         :safe, :group, and :version tags.
11563 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
11565         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
11566         buffers.  (Bug#5477)
11568 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
11570         * files.el (delete-directory): Handle moving to trash without
11571         first doing recursion (Bug#5436).
11573 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
11575         * vc-hooks.el (vc-path): Mark as obsolete.
11577 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
11579         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
11580         names too.
11582         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
11583         for the short log.
11584         (vc-bzr-log-view-mode): Adjust regexp for the above change.
11586 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
11588         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
11590         * vc-bzr.el (vc-bzr-revision-table): New function.
11592 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>
11594         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
11595         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
11597 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
11599         Remove support for adding --signoff on commit.
11600         Future support will use an incompatible generic mechanism.
11601         * vc-git.el (vc-git-add-signoff): Remove variable.
11602         (vc-git-toggle-signoff): Remove function.
11603         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
11605         * term/xterm.el (xterm-maybe-set-dark-background-mode):
11606         Rename from xterm-set-background-mode.  Return t if the background mode
11607         was set.
11608         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
11609         earlier, call it again in case the background mode has changed.
11611 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
11613         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
11614         (Bug#3541).
11616 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
11618         * emacs-lisp/assoc.el (aelement): Doc fix.
11619         (aput, adelete, amake): Use lexical-let (Bug#5450).
11621 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
11623         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
11624         is the same as subprogram call, not declaration.  (Bug#5435).
11626 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
11628         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
11629         (tramp-smb-maybe-open-connection): Use it.
11631 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
11633         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
11635 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11637         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
11638         just because we see "encoding: 8bit".
11639         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
11641 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
11643         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
11645 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
11647         * jka-compr.el (jka-compr-load): If load-file is not in
11648         load-history, try its file-truename version.  (bug#5447)
11650 2010-01-21  Alan Mackenzie  <acm@muc.de>
11652         Fix a situation where deletion of a cpp construct throws an error.
11653         * progmodes/cc-engine.el (c-invalidate-state-cache):
11654         Before invoking c-with-all-but-one-cpps-commented-out, check that the
11655         special cpp construct is still in the buffer.
11656         (c-parse-state): Record the special cpp with markers, not numbers.
11658 2010-01-21  Kenichi Handa  <handa@m17n.org>
11660         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
11661         process last-command-event, as it is now decoded first (Bug#5380).
11663 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
11665         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
11667 2010-01-20  Glenn Morris  <rgm@gnu.org>
11669         * indent.el (tab-always-indent): Fix custom-type.
11671 2010-01-19  Alan Mackenzie  <acm@muc.de>
11673         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
11674         buffer throws "args out of range".
11675         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
11676         playing the role of delimiter.
11678 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
11680         * progmodes/ada-mode.el: Fix bug#5400.
11681         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
11682         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
11683         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
11684         Improve comments in "is" portion.  Handle null procedure declaration.
11685         (ada-move-to-end): Improve doc string.
11687 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
11689         * ido.el (ido-cur-list): Initialize to nil.
11690         Remove obsolete information from commentary.
11691         (ido-choice-list): Initialize to nil.
11692         (ido-get-bufname): Reject minibuffers.
11693         (ido-make-buffer-list): If "default" is a nonexistent
11694         buffer, ignore it, as per the function's comment.
11695         (ido-kill-buffer-internal): New function.
11696         (ido-kill-buffer-at-head): Use it.
11697         (ido-visit-buffer): Likewise.
11699 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
11701         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
11703 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
11705         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
11706         Fix typos in chart titles.
11708         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
11709         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
11710         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
11711         (describe-class, eieio-describe-generic, describe-generic):
11712         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
11713         (eieio-speedbar-expand):
11714         * emulation/viper-cmd.el (viper-exec-form-in-vi)
11715         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
11716         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
11717         (viper-del-backward-char-in-replace, viper-backward-indent)
11718         (viper-brac-function, viper-register-to-point, viper-submit-report):
11719         * net/tramp.el (tramp-remote-coding-commands):
11720         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
11721         Fix typos in docstrings.
11723 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
11725         * mail/sendmail.el (mail-yank-original): Set the mark if the
11726         specified function for yanking does not do it.
11728 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
11730         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
11732         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
11733         resyncing a directory.
11735 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
11737         * progmodes/ada-mode.el: Fix bug#1920.
11738         (ada-ident-re): Delete ., allow multibyte characters.
11739         (ada-goto-label-re): New; matches goto labels.
11740         (ada-block-label-re): New; matches block labels.
11741         (ada-label-re): New; matches both.
11742         (ada-named-block-re): Deleted; callers changed to use
11743         `ada-block-label-re' instead.
11744         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
11745         Use `ada-block-label-re'.
11746         (ada-indent-on-previous-lines): Improve handling of goto labels.
11747         (ada-get-indent-block-start): Special-case block label.
11748         (ada-get-indent-label): Split into `ada-indent-block-label' and
11749         `ada-indent-goto-label'.
11750         (ada-goto-stmt-start, ada-goto-next-non-ws):
11751         Optionally ignore goto labels.
11752         (ada-goto-next-word): Simplify.
11753         (ada-indent-newline-indent-conditional): Insert newline before
11754         trying to fix indentation; doc fix.
11756 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
11758         * calc/calc.el (calc-command-flags): Give it an initial value.
11760 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
11762         * files.el (minibuffer-with-setup-hook):
11763         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
11764         (artist-key-draw-continously, artist-key-do-continously-continously)
11765         (artist-key-set-point-continously, artist-mouse-draw-continously):
11766         Fix typos in docstrings.
11768 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
11770         * nxml/nxml-mode.el (nxml-extend-after-change-region):
11771         Never return t (Bug#3898).
11773 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
11775         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
11776         can parse the output of the external commands (Bug#5279).
11778 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
11780         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
11782 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
11784         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
11786         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
11788         * startup.el (command-line): Remove unused --icon-type arg.
11789         Handle --display arg, passing it to command-line-1 (Bug#5392).
11791 2010-01-16  Mario Lang  <mlang@delysid.org>
11793         * emacs-lisp/chart.el (chart-translate-namezone):
11794         * textmodes/artist.el (artist-compute-popup-menu-table):
11795         Remove duplicated words in doc-strings.
11797 2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)
11799         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
11800         to mairix-search to suppress threading (Bug#5342).
11802 2010-01-15  Kenichi Handa  <handa@m17n.org>
11804         * international/mule-cmds.el (canonicalize-coding-system-name):
11805         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
11807 2010-01-15  Glenn Morris  <rgm@gnu.org>
11809         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
11811         * wid-edit.el (widget-keymap): Doc fix.
11813         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
11814         former seems to be more widely accepted by various svn versions.
11816 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
11818         * find-cmd.el (find-constituents):
11819         * vc-arch.el (vc-arch-root):
11820         * window.el (window-body-height, pop-up-frames):
11821         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
11822         * progmodes/ada-stmt.el (ada-if):
11823         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
11824         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
11825         (ispell-encoding8-command, ispell-aspell-supports-utf8)
11826         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
11828         * progmodes/flymake.el (flymake-post-syntax-check):
11829         Fix typo in error message.
11831 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
11833         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
11834         which is always a string.  (Bug#5313)
11836 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
11838         * progmodes/ada-xref.el (ada-default-prj-properties):
11839         Simplify previous change.
11841 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
11843         * progmodes/ada-xref.el (ada-default-prj-properties):
11844         Default ada_project_path to $ADA_PROJECT_PATH.
11846 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
11848         * progmodes/ada-mode.el (ada-create-keymap):
11849         Override `narrow-to-defun' with `ada-narrow-to-defun'.
11851 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
11853         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
11854         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
11855         (ada-get-current-indent, ada-imenu-generic-expression)
11856         (ada-which-function): Check for it.
11858 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
11860         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
11861         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
11863 2010-01-14  Glenn Morris  <rgm@gnu.org>
11865         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
11867 2010-01-14  Kenichi Handa  <handa@m17n.org>
11869         * composite.el (auto-composition-mode): Make it a buffer local
11870         variable (permanent-local).
11871         (auto-composition-function): Set the default value to
11872         auto-compose-chars.
11873         (auto-composition-mode): Make it a simple function, not a minor mode.
11874         (global-auto-composition-mode): Likewise.
11875         (turn-on-auto-composition-if-enabled): Delete it.
11877 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
11879         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
11881 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
11883         * files.el (copy-directory): Compute target for recursive
11884         directories with identical names.  (Bug#5343)
11886 2010-01-12  Glenn Morris  <rgm@gnu.org>
11888         * mail/emacsbug.el (report-emacs-bug-pretest-address):
11889         Set it to bug-gnu-emacs rather than emacs-pretest-bug.
11891 2010-01-11  Sam Steingold  <sds@gnu.org>
11893         * imenu.el (imenu-default-create-index-function): Detect infinite
11894         loops caused by imenu-prev-index-position-function.
11896 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
11898         * htmlfontify.el (htmlfontify-load-rgb-file)
11899         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
11900         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
11901         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
11902         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
11903         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
11904         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
11905         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
11906         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
11907         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
11908         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
11909         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
11910         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
11911         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
11912         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
11913         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
11914         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
11915         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
11916         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
11917         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
11918         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
11919         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
11920         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
11921         backslash-quoting from parentheses, etc.
11923 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
11925         * progmodes/js.el: Autoload javascript-mode alias.
11927 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
11929         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
11930         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
11931         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
11932         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
11933         Fix typos in docstrings.
11934         (ffap-url-regexp): Doc fix.
11935         (ffap-at-mouse): Fix typo in message.
11937 2010-01-11  Glenn Morris  <rgm@gnu.org>
11939         * version.el (emacs-copyright): Set copyright year to 2010.
11941 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
11943         * format.el (format-annotate-function): Only set
11944         write-region-post-annotation-function after running to-fn so as not to
11945         affect nested write-region calls (bug#5273).
11947 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
11949         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
11950         wisent/python.el.
11952 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
11954         * man.el (Man-goto-section): Signal error if the section is not
11955         found (Bug#5317).
11957 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
11959         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
11960         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
11962 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
11964         * progmodes/compile.el: Don't treat compile-command as safe if
11965         compilation-read-command might be nil (Bug#4218).
11967 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
11969         * startup.el (command-line-1): Use orig-argi to check for ignored X and
11970         NS options.
11972 2010-01-08  Kenichi Handa  <handa@m17n.org>
11974         * international/fontset.el (build-default-fontset-data):
11975         Exclude characters in scripts kana, hangul, han, or cjk-misc.
11977 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
11979         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
11980         to `create-file-buffer' as it expects, not just a buffer name.
11981         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
11982         to help uniquify.  (Bug#3224)
11984 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
11986         * font-setting.el (font-setting-change-default-font): Use user-spec
11987         instead of name.
11989 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
11991         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
11993 2010-01-05  Tom Tromey  <tromey@redhat.com>
11995         * progmodes/python.el (python-font-lock-keywords):
11996         Handle qualified decorators (Bug#881).
11998 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
12000         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
12001         in a lightweight checkout.
12003 2010-01-05  Kenichi Handa  <handa@m17n.org>
12005         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
12007 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
12009         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
12011 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
12013         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
12014         checkouts.  (Bug#618)
12015         (vc-bzr-log-view-mode): Also highlight the author.
12016         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
12017         (vc-bzr-shelve-menu-map):
12018         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
12019         (vc-bzr-shelve-apply): Make prompt more explicit.
12021 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
12023         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
12024         They are valid characters in URL paths (rfc3986), and at least
12025         Firefox does not understand the encoded version (Bug#3166).
12027 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
12029         * progmodes/octave-mod.el (octave-end-keywords)
12030         (octave-block-begin-or-end-regexp, octave-block-match-alist):
12031         Add "end" keyword (Bug#3061).
12032         (octave-end-as-array-index-p): New function.
12033         (calculate-octave-indent): Use it.
12035 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12037         * bookmark.el: Consistently put the text property on the bookmark name.
12038         (bookmark-bmenu-marks-width): Bump back to 2, to include
12039         annotation marks.
12040         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
12041         property on the bookmark name, instead of not putting it at all.
12042         (bookmark-bmenu-list): Fix where we put the text property.
12044 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12046         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
12047         for showing buffer modified state (as added in the previous change).
12049 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12051         * bookmark.el: Show modified state of bookmark buffer more accurately.
12052         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
12053         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
12054         (with-buffer-modified-unmodified): New macro.
12055         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
12056         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
12057         Use new macro to preserve the buffer modified state.
12059 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12061         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
12062         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
12063         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
12064         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
12065         (bookmark-bmenu-rename, bookmark-bmenu-locate)
12066         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
12067         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
12069 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
12071         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12072         Make the lines in the generated doc string shorter.  (Bug#4668)
12074 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
12076         * net/rcirc.el: Add follow-link binding (Bug#4738).
12078 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
12080         * Makefile.in (bzr-update): Rename from cvs-update.
12081         (cvs-update): New target for backward compatibility.
12083         * makefile.w32-in (bzr-update): Rename from cvs-update.
12084         (cvs-update): New target for backward compatibility.
12086 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12088         * bookmark.el: Remove gratuitous gratitude.
12090 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12092         * bookmark.el (bookmark-bmenu-any-marks): New function.
12093         (bookmark-bmenu-save): Clear buffer modification if no marks.
12095 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12097         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
12098         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
12099         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
12100         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
12102         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
12103         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
12104         To: emacs-devel {_AT_} gnu.org
12105         Subject: bookmark.el bug report
12106         Date: Mon, 28 Dec 2009 14:19:16 +0800
12107         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
12109 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12111         * bookmark.el: Improvements suggested by Drew Adams:
12112         (bookmark-bmenu-ensure-position): New name for
12113         `bookmark-bmenu-check-position'.  Just ensure the position,
12114         don't return any meaningful value.
12115         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
12116         New constants.
12118 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
12120         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
12121         (bookmark-yank-point, bookmark-bmenu-check-position):
12122         Fix typos in docstrings.
12123         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
12124         (bookmark-name-from-full-record, bookmark-get-position)
12125         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
12126         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
12127         Remove useless quoting of parenthesis, etc. in docstrings.
12129         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
12130         (ediff-append-custom-diff): Fix typo in error message.
12131         (ediff-meta-mark-equal-files): Fix typos in messages.
12133         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
12135         * net/imap-hash.el (imap-hash-make): Doc fix.
12136         (imap-hash-test): Fix typo in error message; reflow docstring.
12137         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
12138         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
12139         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
12140         Fix typos in docstrings.
12141         (imap-hash-open-connection): Fix typo in error message.
12143         * play/gomoku.el (gomoku): Fix typos in docstring.
12145         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
12146         (gdb-jsonify-buffer): Fix typos in docstring.
12147         (gdb-goto-breakpoint): Fix typo in error message.
12148         ("Display Other Windows"): Fix typo in help message.
12149         (gdb-speedbar-expand-node): Fix typo in question.
12151         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
12152         (idlwave-html-system-help-location, idlwave-html-help-location)
12153         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
12154         (idlwave-help-browser-generic-args, idlwave-help-directory)
12155         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
12156         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
12157         (idlwave-online-help, idlwave-help-html-link)
12158         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
12159         Fix typos in docstrings.
12160         (idlwave-help-with-source, idlwave-help-find-routine-definition):
12161         Reflow docstrings.
12162         (idlwave-help-assistant-start): Fix typo in error message.
12164         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
12165         (octave-electric-space): Fix typos in docstrings.
12167 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
12169         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
12171 2010-01-01  Juri Linkov  <juri@jurta.org>
12173         * comint.el (comint-input-ring-size): Make it a defcustom and
12174         increase the default to 500 (Bug#5148).
12176 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
12178         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
12179         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
12180         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
12182 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
12184         Show working revision correctly for mercurial.
12185         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
12186         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
12188 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
12190         Declare some functions for the byte-compiler.
12191         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
12192         (speedbar-timer-fn, speedbar-change-expand-button-char)
12193         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
12195 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
12197         This changeset reverts GDB Graphical Interface to use annotations.
12198         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
12200 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
12202         Make vc-dir work on subdirectories of the bzr root.
12203         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
12204         Return file names relative to it.
12205         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
12206         relative directory to vc-bzr-after-dir-status.
12208 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
12210         * font-lock.el (font-lock-refresh-defaults): New function, which
12211         can be used to let font-lock react to external changes in
12212         variables like font-lock-defaults and keywords.
12213         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
12215 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
12217         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
12219         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
12221 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
12223         Supersede color.diff settings in git log (bug#5211).
12225         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
12226         escape chars in its output when the user has color.diff set to `always'.
12227         This fix works on git 1.4.2 and newer (released on 2006-08-13).
12229 2009-12-26  Kevin Ryde  <user42@zip.com.au>
12231         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
12232         node.  Keep previous "Index" name to work with past coreutils too.
12234         * man.el (man): Revise docstring a bit to show -a and -l as
12235         examples.  Add -k description since support for it has otherwise
12236         been a secret.  (Further to bug#3717.)
12237         (Man-bgproc-sentinel): When "-k foo" produces no output show error
12238         "no matches" rather than "Can't find manpage", as the latter reads
12239         like -k was interpreted as a page name, which is not so.  (Bug#5431)
12241 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
12243         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
12244         switches.  Check also for //SUBDIRED// line.
12246 2009-12-25  Kenichi Handa  <handa@m17n.org>
12248         * language/indian.el (devanagari-composable-pattern): Fix to
12249         handle ZWNJ and ZWJ.  Use it in composition-function-table for
12250         Devanagari.
12251         (malayalam-composable-pattern): Fix previous change.
12253 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
12255         * ps-print.el (ps-face-attributes): It was not returning the
12256         attribute face for faces specified as string.  Reported by harven
12257         <harven@free.fr>.  (Bug#5254)
12258         (ps-print-version): New version 7.3.5.
12260 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
12262         * calendar/icalendar.el (icalendar--convert-tz-offset):
12263         Fix timezone names.
12264         (icalendar--convert-tz-offset): Fix the "last-day-problem".
12265         (icalendar--add-diary-entry): Remove the trailing blank that
12266         diary-make-entry inserts.
12268 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
12270         Make `file-expand-wildcards' work for remote files.
12272         * files.el (file-expand-wildcards): In case of remote files, check
12273         only local file name part for wildcards.  Provide feature 'files
12274         and subfeature 'remote-wildcards.  (Bug#5198)
12276         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
12277         if there is already an established connection.
12278         (tramp-advice-file-expand-wildcards): Remove it.
12280         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
12281         (tramp-advice-file-expand-wildcards): Move from tramp.el.
12282         Activate advice for older GNU Emacs versions.  (Bug#5237)
12284 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
12286         Some doc fixes (more needed).
12288         * find-cmd.el (find-constituents): Reflow docstring.
12289         (find-cmd, find-prune, find-command): Fix typos in docstrings.
12290         (find-generic): Doc fix.
12292 2009-12-17  Juri Linkov  <juri@jurta.org>
12294         Fix regression from 23.1 to allow multiple modes in Local Variables.
12296         * files.el (hack-local-variables-filter): While ignoring duplicates,
12297         don't take `mode' into account.
12298         (hack-local-variables-filter, hack-dir-local-variables):
12299         Don't remove duplicate `mode' from local-variables-alist (like `eval').
12301 2009-12-17  Juri Linkov  <juri@jurta.org>
12303         Make `dired-diff' safer.  (Bug#5225)
12305         * dired-aux.el (dired-diff): Signal an error when `file' equals to
12306         `current' or when `file' is a directory of the `current' file.
12308 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
12310         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
12311         unconditionally preloaded files.
12313 2009-12-16  Juri Linkov  <juri@jurta.org>
12315         Revert to old 23.1 logic of using the file at the mark as default.
12316         * dired-aux.el (dired-diff): Use the file at the mark as default
12317         if it's not the same as the current file, and the target dir is
12318         the current dir or the mark is active.  Add the current file
12319         as the arg of `dired-dwim-target-defaults'.  Use the default file
12320         in the prompt.  (Bug#5225)
12322 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
12324         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
12325         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
12326         (tramp-check-for-regexp): Check also, when an echoing shell stops
12327         to echo sent commands.
12329 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
12331         * Makefile.in: Revert last change (Bug#5191).
12333 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
12335         * vc-hg.el (vc-hg-print-log): Fix argument order.
12336         (vc-hg-working-revision): Make sure the command is executed in a
12337         known environment so that we can parse the output.  (Bug#4417)
12339 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
12341         * progmodes/python.el (python-symbol-completions): Remove text
12342         properties from symbol string before calling python-send-receive.
12344 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
12346         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
12347         when there are values for both file and line.  (Bug#5060)
12349 2009-12-14  Juri Linkov  <juri@jurta.org>
12351         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
12352         whitespace after the file name of the first line of unified format,
12353         because git-diff doesn't output whitespace and file modification time
12354         after the file name.
12356 2009-12-14  David Kastrup  <dak@gnu.org>
12358         * info.el (Info-hide-cookies-node): Before hiding a cookie,
12359         check if it already has the `display' property added by
12360         `Info-display-images-node', and not put the `invisible' property
12361         in this case.
12363 2009-12-13  Glenn Morris  <rgm@gnu.org>
12365         * mail/emacsbug.el (message-sort-headers): Define for compiler.
12366         (report-emacs-bug): In message-mode, sort manually before storing
12367         original report text.  (Bug#5178)
12368         Remove superfluous save-excursion.
12370 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
12372         * net/dbus.el (dbus-property-handler): Filter lambda forms out
12373         when responding to "GetAll" properties.
12375 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
12377         * simple.el (compose-mail): Remove mail-setup-with-from from
12378         customization checks.
12380 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
12382         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
12383         RAR archives created on Unix systems.
12385 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12387         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
12388         the varalias that was accidentally removed by the 2009-11-19 change
12389         (bug#5186).
12391 2009-12-12  Kenichi Handa  <handa@m17n.org>
12393         * language/indian.el (indian-compose-regexp): New function.
12394         (malayalam-composable-pattern): Fix the pattern.
12395         (composition-function-table): Set malayalam-composable-pattern for
12396         Malayalam characters.
12398 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
12400         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
12401         rather than down-mouse-1, based on follow-link conventions.
12403         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
12404         are compiled.
12406 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
12408         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
12409         (verilog-vmm-statement-re, verilog-ovm-statement-re)
12410         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
12411         (verilog-leap-to-head, verilog-backward-token):
12412         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
12414 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
12416         * progmodes/verilog-mode.el (verilog-auto-lineup)
12417         (verilog-nameable-item-re): Cleanup user-visible spelling and
12418         documentation errors.  One reported by Gary Delp.
12419         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
12420         (verilog-read-decls): Fix AUTOWIRE with types declared in a
12421         package, bug195.  Reported by Pierre-David Pfister.
12423 2009-12-11  Glenn Morris  <rgm@gnu.org>
12425         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
12427         * mail/emacsbug.el: No longer require sendmail.
12428         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
12429         (report-emacs-bug-orig-text): Doc fix.
12430         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
12431         New local variables, to adapt to different mail-user-agents.
12432         (report-emacs-bug): Fix test for a gnu.org address.
12433         Use overlays for emphasis, since font-lock defeats 'face property.
12434         Pretest bugs also end up at the newsgroup these days.
12435         Stop message-mode stripping text properties.
12436         Set and use the new buffer-local variables.
12437         (report-emacs-bug-hook): Add doc-string.
12438         Remove some unnecessary save-excursions and simplify.
12439         Use the appropriate hook and send-command.
12441         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
12442         capitalization of some menu entries.
12444 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
12446         * whitespace.el (whitespace-display-char-on):
12447         Ensure `buffer-display-table' is unique when two or more windows are
12448         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
12449         New version 12.1.
12451 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
12453         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
12454         characters in the Attribute field.
12456 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
12458         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
12460 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
12462         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
12463         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12464         Disregard autoload-excludes.
12465         (update-directory-autoloads): Obey autoload-excludes here instead.
12466         But don't store its contents in no-autoloads and remove entries that
12467         refer to excludes files.
12469 2009-12-10  Glenn Morris  <rgm@gnu.org>
12471         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
12472         (expand-mail-aliases): Define for compiler.
12474         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
12475         Define for compiler.
12477         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
12478         appropriate for the mail-user-agent in use.
12480 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
12482         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
12484 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
12486         Fix short log parsing and fontification.
12487         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
12488         Fix fontification for the [merge] label.
12490 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
12492         Drop some properties to avoid surprises (bug#5002).
12493         * htmlfontify.el (hfy-ignored-properties): New defcustom.
12494         (hfy-fontify-buffer): Use it.
12496 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
12498         Minor cleanup.
12499         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
12500         Adjust all callers.
12501         (ffap-locate-file): Remove unused arg `dir-ok' and make other
12502         args compulsory.  Adjust callers.
12503         (ffap-gopher-at-point): Remove unused var `name'.
12505         Get rid of the ELCFILES abomination.
12506         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12507         (compile-elcfiles): New phony target.
12508         (compile-main): Compute ELCFILES dynamically.
12509         (compile-clean): New target to remove left-over elc files.
12510         (compile, all): Use it.
12512 2009-12-09  Kenichi Handa  <handa@etlken>
12514         * international/mule-diag.el: Require help-mode instead of help-fns.
12516 2009-12-09  Kenichi Handa  <handa@m17n.org>
12518         * international/mule-cmds.el (ucs-names): Supply sufficiently
12519         fine ranges instead of pre-calculating accurate ranges.
12520         Iterate with bigger gc-cons-threshold.
12522 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
12524         Add support for stashing a snapshot of the current tree.
12525         * vc-git.el (vc-git-stash-snapshot): New function.
12526         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
12528 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
12530         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
12531         instead of `(beginning|end)-of-line'.
12533 2009-12-08  Glenn Morris  <rgm@gnu.org>
12535         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
12537         * Makefile.in (ELCFILES): Regenerate.
12539 2009-12-07  Juri Linkov  <juri@jurta.org>
12541         Don't lazy-highlight the comint output in history Isearch mode.
12543         * comint.el (comint-history-isearch-search): Instead of
12544         `comint-line-beginning-position', use `comint-after-pmark-p'
12545         to check if point if before the process mark, and go to
12546         `process-mark' in this case.
12548 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
12550         * textmodes/tex-mode.el (latex-complete)
12551         (latex-indent-or-complete): Remove.
12552         (latex-mode): Set completion-at-point-functions instead.
12554         Provide a standard completion command and hook it into TAB.
12555         * minibuffer.el (completion-at-point-functions): New var.
12556         (completion-at-point): New command.
12557         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
12558         * progmodes/python.el (python-mode-map): Use completion-at-point.
12559         (python-completion-at-point): Rename from python-partial-symbol and
12560         adjust for use in completion-at-point-functions.
12561         (python-mode): Setup completion-at-point for Python completion.
12562         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
12563         extracted from lisp-complete-symbol.
12564         (lisp-complete-symbol): Use it.
12565         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
12566         setup completion-at-point for Elisp completion.
12567         (emacs-lisp-mode-map, lisp-interaction-mode-map):
12568         Use completion-at-point.
12569         * ielm.el (ielm-map): Use completion-at-point.
12570         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
12571         * progmodes/sym-comp.el: Move to...
12572         * obsolete/sym-comp.el: Move from progmodes.
12574 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
12576         Prevent save-buffer in Rmail buffers from using the coding-system
12577         of the current message, and from clobbering the encoding mnemonics
12578         in the mode line (Bug#4623).
12580         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
12581         flag, too.
12582         (rmail-message-encoding): New variable.
12583         (rmail-write-region-annotate): Record the encoding of the current
12584         message in rmail-message-encoding.
12585         (rmail-after-save-hook): New function, restores the encoding of
12586         the current message after the message collection is saved.
12588 2009-12-07  Juri Linkov  <juri@jurta.org>
12590         * progmodes/grep.el (grep-read-files): Use `completing-read'
12591         instead of `read-string'.  Set its `collection' arg to
12592         `read-file-name-internal'.  (Bug#4301)
12594 2009-12-07  Juri Linkov  <juri@jurta.org>
12596         Correctly restore original Isearch point.  (Bug#4994)
12598         * isearch.el (isearch-mode): Move `isearch-push-state' after
12599         `(run-hooks 'isearch-mode-hook)'.
12600         (isearch-cancel): When `isearch-push-state-function' is defined,
12601         let-bind `isearch-cmds' to the first state (the last element of
12602         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
12603         function and restores the original point).  Otherwise, move point
12604         to `isearch-opoint'.
12606 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
12608         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
12609         chars that don't have names, so the table can be built much faster at
12610         run-time.
12612 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
12614         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
12615         change.  Suggested by David Kastrup.
12617         * simple.el (compose-mail): Check for incompatibilities and warn.
12618         (compose-mail-user-agent-warnings): New option.
12620 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
12622         Support showing a single log entry from vc-annotate.
12623         * vc.el (print-log): Add a new argument: START-REVISION.
12624         (vc-print-log-internal): Add a new optional argument and
12625         pass it to the backend.
12626         (vc-print-log, vc-print-root-log): Adjust callers.
12627         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
12628         buffer already displays the requested log entry, use it.
12629         Otherwise display only the log entry in question.
12630         * vc-svn.el (vc-svn-print-log):
12631         * vc-mtn.el (vc-mtn-print-log):
12632         * vc-hg.el (vc-hg-state):
12633         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
12634         (vc-git-show-log-entry): Return t on success.
12635         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
12636         (vc-bzr-show-log-entry): Return t on success.
12637         * vc-rcs.el (vc-rcs-print-log):
12638         * vc-sccs.el (vc-sccs-print-log):
12639         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
12641 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
12643         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
12644         Add menus to the meta mode.  (Bug#5043)
12646 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
12648         * ediff-init.el (ediff-event-key): Use event-to-character instead of
12649         event-key.
12651         * ediff.el (ediff-buffers-internal): Add unwind-protect.
12653 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
12655         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
12656         Berbain <raphael.berbain@gmail.com>.
12658         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
12659         characters.
12660         (tramp-initial-end-of-output): New defconst.
12661         (tramp-methods, tramp-find-shell)
12662         (tramp-open-connection-setup-interactive-shell)
12663         (tramp-maybe-open-connection): Use it.
12664         (tramp-shell-prompt-pattern, tramp-wait-for-output):
12665         Handle existence of `#' and `$'.
12667         * net/tramp-fish.el (tramp-fish-maybe-open-connection):
12668         Use `tramp-initial-end-of-output'.
12670 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
12672         Get the background mode from the terminal for xterm, and set
12673         faces accordingly.
12674         * term/xterm.el (xterm-set-background-mode): New function.
12675         (terminal-init-xterm): Use it in case xterm supports background
12676         color queries.  Recompute faces after getting the background
12677         color.
12679 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
12681         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
12682         number comment back on its own line, for easier parsing.
12684 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
12686         Make it work for non-file buffers (bug#5102).
12687         * doc-view.el (doc-view-current-cache-dir):
12688         Use doc-view-buffer-file-name rather than buffer-file-name.
12689         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
12691 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
12693         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
12694         author field is too short.
12696 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
12698         * vc-git.el (vc-git-print-log): Handle a limit argument.
12699         Display the short log in graph form and with labels.
12700         (vc-git-log-view-mode): Handle labels.
12702         Make vc-revert change VC state from 'added to 'unregistered.
12703         * vc-git.el (vc-git-revert): Call git reset first.
12705 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
12707         * net/newst-backend.el, net/newst-plainview.el:
12708         * net/newst-reader.el, net/newst-ticker.el:
12709         * net/newst-treeview.el, net/newsticker.el:
12710         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
12712 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
12714         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
12716         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
12717         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
12718         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
12719         Update annotation regexp.
12721         * simple.el (beginning-of-visual-line): Constrain to field
12722         boundaries (Bug#5106).
12724 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
12726         * xml.el (xml-substitute-numeric-entities):
12727         Move newsticker--decode-numeric-entities in newst-backend.el to
12728         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
12729         * net/newst-backend.el (newsticker--parse-generic-feed)
12730         (newsticker--parse-generic-items)
12731         (newsticker--decode-numeric-entities):
12732         Move newsticker--decode-numeric-entities in newst-backend.el to
12733         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
12735 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
12737         * progmodes/js.el (js--js-not): Add null to the list of values.
12739 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
12741         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
12743 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
12745         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
12746         delimiter if it is at the end of the current line.
12747         (bibtex-generate-url-list): Fix docstring.
12749 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12751         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
12752         minibuffer's content with itself.
12753         Fold the confirm-after-completion case into the `confirm' case.
12754         (completion-pcm-word-delimiters): Add : and / to the delimiters.
12756 2009-12-06  Kevin Ryde  <user42@zip.com.au>
12758         * ffap.el (ffap-rfc-path): Make this a defcustom since
12759         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
12761         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
12762         manuals, similar to existing setup for help-mode.  (Bug#3913.)
12764 2009-12-05  Juri Linkov  <juri@jurta.org>
12766         Save and restore dired buffer's point positions too.  (Bug#4880)
12768         * dired.el (dired-save-positions): Return in the first element
12769         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
12770         Doc fix.
12771         (dired-restore-positions): First restore buffer's position.
12772         While restoring window's positions, check if window still displays
12773         the original buffer.
12775 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
12777         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
12778         if possible.
12780         * shell.el (shell): Require ansi-color (Bug#5113).
12782         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
12784         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
12786 2009-12-05  Alan Mackenzie  <acm@muc.de>
12788         * progmodes/cc-mode.el (c-before-hack-hook)
12789         (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
12790         `c-file-style' to work again.  This reversion restores the current
12791         software to its state in Emacs 23.1.  (Bug#4146)
12793 2009-12-05  Kevin Ryde  <user42@zip.com.au>
12795         * textmodes/sgml-mode.el (sgml-lexical-context):
12796         Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
12798 2009-12-05  Juri Linkov  <juri@jurta.org>
12800         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
12801         for virtual nodes.  (Bug#4147)
12802         (Info-find-node-2): Set `Info-current-node-virtual' to nil
12803         when moving from a virtual node.
12804         (Info-mode-menu): Add `Info-virtual-index' to the menu.
12805         (Info-mode): Add `Info-virtual-index' to the docstring.
12807 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
12809         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
12810         track of the buffer position of the end of a BibTeX entry as this
12811         position may change during reformatting.
12812         (bibtex-format-entry): Remove whitespace before processing
12813         numerical fields so that we recognize the latter properly.
12814         (bibtex-reformat): Do not use push which changes the global value
12815         of bibtex-entry-format.
12816         (bibtex-field-braces-alist, bibtex-field-strings-alist)
12817         (bibtex-field-re-init): Replace only space characters by regexp
12818         for whitespace.
12819         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
12820         (bibtex-initialize): Also update bibtex-strings.
12821         (bibtex-kill-field): Preserve white space at end of entry.
12822         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
12823         Update bibtex-reference-keys.
12825 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12827         * minibuffer.el (completion-pcm--merge-try): Also consider placing
12828         point after a star, if that's the only place where modifications can
12829         make progress.
12831 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
12833         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
12834         in docstrings.
12836 2009-12-04  Juri Linkov  <juri@jurta.org>
12838         * proced.el (proced): Call `(proced-update t)' to update process
12839         information instead of only running proced-post-display-hook.
12840         (proced-send-signal): Add a leading space to the buffer name
12841         " *Marked Processes*" to make this buffer ephemeral.
12843 2009-12-04  Juri Linkov  <juri@jurta.org>
12845         * dired.el (dired-auto-revert-buffer): New defcustom.
12846         (dired-internal-noselect): Use it.
12848 2009-12-04  Juri Linkov  <juri@jurta.org>
12850         Change roles of modes and functions in image-mode.el (Bug#5062).
12852         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
12853         in `auto-mode-alist'.
12854         (image-mode-previous-major-mode): New variable.
12855         (image-minor-mode-map): Rename from `image-mode-text-map'.
12856         (image-mode): Move graceful error-handling code from
12857         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
12858         (image-minor-mode): Remove all image-handling code.
12859         Replace `image-mode-text-map' with `image-minor-mode-map'.
12860         Check for `image-type' in mode-line format string.
12861         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
12862         (image-mode-as-text): New function with most code from
12863         `image-mode-maybe'.
12864         (image-toggle-display-text): Move code that removes image
12865         properties from `image-toggle-display' to here.
12866         (image-toggle-display-image): New function with code that adds
12867         image properties copied from `image-toggle-display'.
12868         (image-toggle-display): Remove most code with leaving only code
12869         that toggles between `image-mode-as-text' and `image-mode'.
12871 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
12873         * net/newst-treeview.el
12874         (newsticker--treeview-list-highlight-start): Restored call to
12875         save-excursion: Selected item was stuck.
12876         (newsticker--treeview-list-select): New.
12877         (newsticker--treeview-item-show-text)
12878         (newsticker--treeview-item-show)
12879         (newsticker--treeview-item-update): Use new
12880         newsticker-treeview-item-mode.
12881         (newsticker-treeview-update): Keep current item.
12882         (newsticker-treeview-next-new-or-immortal-item): Doc change.
12883         (newsticker--treeview-first-feed): Doc change.
12884         (newsticker-treeview-list-menu)
12885         (newsticker-treeview-item-menu): Add menu entries.
12886         (newsticker-treeview-item-mode): New.
12888         * net/newst-backend.el (newsticker-customize): Delete other
12889         windows.
12891 2009-12-04  Sam Steingold  <sds@gnu.org>
12893         * log-view.el (log-view-mode-map): "q" calls quit-window,
12894         like in all the other non-self-insert buffers.
12896 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12898         Minor cleanup.
12899         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
12900         key decoding rather than do it manually via last-input-event +
12901         ascii-character.
12902         (term-exec): Use delete-and-extract-region.
12903         (term-handle-ansi-terminal-messages): Remove unused var `end'.
12904         (term-process-pager): Remove unused var `i'.
12905         (term-dynamic-simple-complete): Make obsolete.
12906         (serial-update-config-menu): Remove unused vars `y' and `str'.
12907         (term-update-mode-line): Remove unused var `temp'.
12909 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
12911         Limit the number of log entries displayed by default.
12912         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
12913         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
12914         using a prefix argument.
12916 2009-12-03  Glenn Morris  <rgm@gnu.org>
12918         * progmodes/idlwave.el (class): Restore still useful declaration.
12920 2009-12-03  Alan Mackenzie  <acm@muc.de>
12922         Enhance `c-parse-state' to run efficiently in "brace deserts".
12924         * progmodes/cc-mode.el (c-basic-common-init):
12925         Call c-state-cache-init.
12926         (c-neutralize-syntax-in-and-mark-CPP): Rename from
12927         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
12928         placing `category' properties value 'c-cpp-delimiter at its boundaries.
12930         * progmodes/cc-langs.el (c-before-font-lock-function):
12931         c-extend-and-neutralize-syntax-in-CPP has been renamed
12932         c-neutralize-syntax-in-and-mark-CPP.
12934         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
12935         with `category' properties now, not `syntax-table' ones.
12937         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
12938         enhanced (but slower) version of c-end-of-macro that won't land
12939         inside a literal or on another awkward character.
12940         (c-state-cache-too-far, c-state-cache-start)
12941         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
12942         (c-state-nonlit-pos-cache-limit, c-state-point-min)
12943         (c-state-point-min-lit-type, c-state-point-min-lit-start)
12944         (c-state-min-scan-pos, c-state-brace-pair-desert)
12945         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
12946         buffer local variables.
12947         (c-state-literal-at, c-state-lit-beg)
12948         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
12949         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
12950         (c-state-cache-top-paren, c-state-cache-after-top-paren)
12951         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
12952         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
12953         (c-renarrow-state-cache)
12954         (c-append-lower-brace-pair-to-state-cache)
12955         (c-state-push-any-brace-pair, c-append-to-state-cache)
12956         (c-remove-stale-state-cache)
12957         (c-remove-stale-state-cache-backwards, c-state-cache-init)
12958         (c-invalidate-state-cache-1, c-parse-state-1)
12959         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
12960         (c-parse-state): Enhance and refactor.
12961         (c-debug-parse-state): Amend to deal with all the new variables.
12963         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
12964         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
12965         modify to use category text properties rather than syntax-table ones.
12966         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
12967         to switch off/on the syntactic paren property of C++ template
12968         delimiters using the category property.
12969         (c-with-<->-as-parens-suppressed): Macro to invoke code with
12970         template delims suppressed.
12971         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
12972         New constant/macros which apply category properties to the start
12973         and end of preprocessor constructs.
12974         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
12975         "comment out" the syntactic value of characters in preprocessor
12976         constructs.
12977         (c-with-cpps-commented-out)
12978         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
12979         with characters in all or all but one preprocessor constructs
12980         "commented out".
12982 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
12984         * proced.el (proced-filter-alist): Use regexp-quote.
12986 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
12988         Cleanup.
12989         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
12990         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
12991         arguments.  Expand `default-directory'.
12993         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
12994         the benefit of returning an expanded localname.
12995         (tramp-tramp-file-p): Handle the case NAME is not a string.
12997 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
12999         Add support for bzr shelve/unshelve.
13000         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13001         (vc-bzr-extra-menu-map): New variables.
13002         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
13003         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
13004         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
13005         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
13006         (vc-bzr-dir-extra-headers): Display shelves.
13008         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
13010 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13012         * textmodes/bibtex.el (bibtex-complete-internal):
13013         Use completion-in-region.
13014         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
13016 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
13018         Support applying stashes.  Improve UI.
13019         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
13020         (vc-git-stash-apply, vc-git-stash-pop)
13021         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
13022         (vc-git-stash-menu): New functions.
13023         (vc-git-stash-menu-map): New variable.
13024         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
13026 2009-12-03  Glenn Morris  <rgm@gnu.org>
13028         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
13029         (vc-print-log-internal): Fix previous change.
13030         (vc-revert): Correct pluralization.
13032 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13034         * progmodes/make-mode.el (makefile-special-targets-list): No need for
13035         it to be an alist any more.
13036         (makefile-complete): Use completion-in-region.
13038         * progmodes/octave-mod.el (octave-complete-symbol):
13039         Use completion-in-region.
13041         Misc cleanup.
13042         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
13043         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
13044         (idlwave-complete-class): Don't quote lambda.
13045         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
13046         (idlwave-mode-map): Move initialization into declaration.
13047         (idlwave-action-and-binding): Use backquotes.
13048         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
13049         Simplify.
13050         (idlwave-is-pointer-dereference): Remove unused var `pos'.
13051         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
13052         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
13053         `parts', and `all-parts'.
13054         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
13055         (idlwave-convert-xml-system-routine-info): Remove unused string
13056         `version-string'.
13057         (idlwave-display-user-catalog-widget): Use dolist.
13058         (idlwave-scanning-lib): Declare dynamically-scoped var.
13059         (idlwave-scan-library-catalogs): Remove unused var `flags'.
13060         (completion-highlight-first-word-only): Declare to silence bytecomp.
13061         (idlwave-popup-select): Tighten scope of `resp'.
13062         (idlwave-find-struct-tag): Remove unused var `beg'.
13063         (idlwave-after-load-rinfo-hook): Declare.
13064         (idlwave-sintern-class-info): Remove unused var `taglist'.
13065         (idlwave-find-class-definition): Remove unused var `list'.
13066         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
13067         (idlwave-what-module-find-class): Remove unused var `classes'.
13069 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
13071         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
13073 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13075         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
13076         buffers visited.  Remove redundant current-buffer-saving.
13078 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13080         Use completion-in-buffer and remove uses of dynamic scoping.
13081         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
13082         (pascal-buffer-to-use, pascal-flag): Don't declare.
13083         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
13084         (pascal-get-completion-decl, pascal-keyword-completion):
13085         Add `pascal-str' argument, save-excursion,
13086         return the found completions, and don't filter with pascal-pred.
13087         (pascal-completion-cache): New var.
13088         (pascal-completion): Don't switch buffer any more (it was never
13089         necessary).  Don't save-excursion any more (it's done by the called
13090         subroutines).  Use a cache to avoid redundant computations.
13091         Use complete-with-action rather than pascal-completion-response and
13092         let it apply the predicate as well.
13093         (pascal-complete-word): Use completion-in-buffer when
13094         pascal-toggle-completions is nil.
13095         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
13096         not used any more.
13097         (pascal-comp-defun): Don't change buffer any more.
13098         Use complete-with-action rather than pascal-completion-response and
13099         let it apply the predicate as well.
13100         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
13101         when neded.
13103 2009-12-02  Kenichi Handa  <handa@m17n.org>
13105         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
13106         shape for all Indic scripts.
13108 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13110         Use completion-in-buffer.
13111         * wid-edit.el (widget-field-text-end): New function.
13112         (widget-field-value-get): Use it.
13113         (widget-string-complete, widget-file-complete)
13114         (widget-color-complete): Use it and completion-in-region.
13115         (widget-complete): Don't narrow the buffer.
13117 2009-12-02  Glenn Morris  <rgm@gnu.org>
13119         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
13120         (rmail-select-summary): Use rmail-pop-to-buffer.
13121         * mail/rmailsum.el: Replace all pop-to-buffer calls with
13122         rmail-pop-to-buffer, to prevent horizontal splits.
13124         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
13125         save-excursion with save-current-buffer.
13126         Widen before searching.  (Bug#5093)
13127         (diary-list-sexp-entries): Remove superfluous save-excursion.
13129 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
13131         * woman.el (woman-make-bufname): Handle man-pages with "." in the
13132         name.  (Bug#5038)
13134 2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
13136         * ido.el (ido-file-internal): Handle filenames at point that do
13137         not have a directory part.  (Bug#5049)
13139 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
13141         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
13142         (mpc-songs-jump-to, mpc-resume): Doc fixes.
13144 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
13146         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
13147         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
13148         any more.
13150 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13152         * comint.el (comint-insert-input): Ignore clicks to the right of
13153         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
13155         * vc.el (vc-print-log-internal): Don't wait for the process to
13156         terminate before setting up the major mode.
13158         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
13159         in case.
13161         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
13162         the last element.
13164         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
13166 2009-12-01  Glenn Morris  <rgm@gnu.org>
13168         * window.el (window--display-buffer-2): Fix previous changes.
13170 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
13172         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
13174 2009-12-01  Glenn Morris  <rgm@gnu.org>
13176         * Makefile.in (ELCFILES): Add mpc.elc.
13178 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13180         * mpc.el: New file.
13182 2009-12-01  Glenn Morris  <rgm@gnu.org>
13184         * window.el (window-to-use): Define for compiler.
13186         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
13187         consistent with others (no final period).
13189         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
13190         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
13192 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
13194         Make vc-print-log buttons work.
13195         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
13197 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
13199         * savehist.el (savehist-autosave-interval): Allow setting to nil
13200         through customize.  (Bug#5056)
13202 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
13204         Fix references to jit-lock properties.
13205         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
13206         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
13207         (perl-font-lock-special-syntactic-constructs):
13208         Quote jit-lock-defer-multiline property.
13210 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
13212         * vc-git.el (vc-git-registered): Call vc-git-root only once.
13214 2009-11-30  Juri Linkov  <juri@jurta.org>
13216         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
13217         value `buffer' of `multi-isearch-next-buffer-current-function'.
13218         Use `(current-buffer)' when `buffer' is nil.
13219         (multi-isearch-next-buffer-from-list): Don't fallback to
13220         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
13222 2009-11-30  Juri Linkov  <juri@jurta.org>
13224         * misearch.el (multi-isearch-read-buffers): Move canonicalization
13225         of buffers with `get-buffer' to `multi-isearch-buffers'.
13226         (multi-isearch-buffers, multi-isearch-buffers-regexp):
13227         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
13228         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
13229         FILES with `expand-file-name' converting relative file names
13230         to absolute.  Doc fix.  (Bug#4727)
13232 2009-11-30  Juri Linkov  <juri@jurta.org>
13234         * misearch.el (multi-isearch-read-buffers)
13235         (multi-isearch-read-matching-buffers): New functions.
13236         (multi-isearch-buffers, multi-isearch-buffers-regexp):
13237         Use them in the `interactive' spec.  Doc fix.
13238         (multi-isearch-read-files, multi-isearch-read-matching-files):
13239         New functions.
13240         (multi-isearch-files, multi-isearch-files-regexp):
13241         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
13243 2009-11-30  Juri Linkov  <juri@jurta.org>
13245         * doc-view.el (doc-view-continuous):
13246         Rename from `doc-view-continuous-mode'.
13247         (doc-view-menu): Move "Toggle display" to the top.
13248         Add submenu "Continuous" with radio buttons "Off"/"On"
13249         and "Save as Default".
13250         (doc-view-scroll-up-or-next-page)
13251         (doc-view-scroll-down-or-previous-page)
13252         (doc-view-next-line-or-next-page)
13253         (doc-view-previous-line-or-previous-page):
13254         Rename `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
13256 2009-11-30  Juri Linkov  <juri@jurta.org>
13258         * comint.el (comint-mode-map): Rebind `M-r' from
13259         `comint-previous-matching-input' to
13260         `comint-history-isearch-backward-regexp'.
13261         Unbind `M-s' to allow global key binding `M-s'.
13262         Add menu items for `comint-history-isearch-backward' and
13263         `comint-history-isearch-backward-regexp'.  (Bug#3746)
13265 2009-11-30  Juri Linkov  <juri@jurta.org>
13267         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
13268         For def=recenter, replace `recenter' with `recenter-top-bottom'
13269         that is called with `this-command' and `last-command' let-bound
13270         to `recenter-top-bottom'.  When the last `def' was not `recenter',
13271         set `recenter-last-op' to nil.  (Bug#4981)
13273 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
13275         Minor cleanup and simplification.
13276         * filecache.el (file-cache-add-directory)
13277         (file-cache-add-directory-recursively)
13278         (file-cache-add-from-file-cache-buffer)
13279         (file-cache-delete-file-regexp, file-cache-delete-directory)
13280         (file-cache-files-matching-internal, file-cache-display): Use dolist.
13281         (file-cache-temp-minibuffer-message): Delete function.
13282         (file-cache-minibuffer-complete): Use minibuffer-message instead.
13284         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
13285         Don't signal an error when bumping into EOB in tr, s, or y.
13287 2009-11-29  Juri Linkov  <juri@jurta.org>
13289         * startup.el (fancy-about-text): Fix wording of Guided Tour.
13290         (Bug#4960)
13292         * descr-text.el (describe-char-unidata-list): Use lowercase name
13293         for "Unicode name" like in other tags.
13295 2009-11-29  Juri Linkov  <juri@jurta.org>
13297         * ediff-util.el (ediff-minibuffer-with-setup-hook):
13298         New compatibility macro.
13299         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
13301 2009-11-29  Juri Linkov  <juri@jurta.org>
13303         Add defcustom to define the cycling order of `recenter-top-bottom'.
13304         (Bug#4981)
13306         * window.el (recenter-last-op): Doc fix.
13307         (recenter-positions): New defcustom.
13308         (recenter-top-bottom): Rewrite to use `recenter-positions'.
13309         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
13311 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
13313         Improve integration of Tramp and ange-ftp in eshell.
13315         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
13316         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
13317         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
13319         * eshell/esh-util.el (top): Require also Tramp when compiling.
13320         (eshell-directory-files-and-attributes): Check for FTP remote
13321         connection.
13322         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
13323         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
13324         (eshell-file-attributes): Handle ".".  Return `entry'.
13326         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
13327         (ange-ftp-directory-files-and-attributes)
13328         (ange-ftp-real-directory-files-and-attributes): New defuns.
13330         * net/tramp.el (tramp-maybe-open-connection): Open the remote
13331         shell with "exec" when possible.  This prevents trailing prompts
13332         in `start-file-process'.
13334 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13336         Try and remove assumptions about point-min==1.
13337         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
13338         (rng-compute-mode-line-string): Show the validation percentage in
13339         terms of the narrowed text, not the widened text.
13340         (rng-do-some-validation): Don't catch internal errors when debugging.
13341         (rng-first-error): Simplify.
13342         (rng-after-change-function): Remove work around.  AFAIK the bug has
13343         been fixed a while ago.
13345         * image-mode.el (image-minor-mode): Exit more gracefully when the image
13346         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
13348         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
13350         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
13351         `cd' doesn't always do it for us (bug#5067).
13353         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
13354         on 2009-10-25 as part of some other change (bug#5067).
13356 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
13358         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
13359         `suspicious'.
13360         (byte-compile-warnings): Use byte-compile-warning-types.
13361         (byte-compile-save-excursion): Warn about use of set-buffer right
13362         after save-excursion.
13364         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
13365         the excursion as well.
13367 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
13369         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
13370         providing a Tramp related implementation of "su" and "sudo".
13371         (eshell-unix-initialize): Add "su" and "sudo".
13373 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
13375         * net/socks.el (socks-send-command): Convert binary request to
13376         unibyte before sending.  This fixes mishandling of some port
13377         numbers such as 129.
13379 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
13381         * help.el (describe-bindings-internal): Remove `interactive'.
13383         * man.el (Man-completion-table): Trim a terminating "(".
13384         Remove the space between name page a section.
13385         Add the command's description on the `help-echo' property.
13386         Remove `process-connection-type' binding since it's unused by
13387         call-process.
13388         Provide completion for the "<section> <name>" format as well.
13389         (Man-default-man-entry): Remove spurious var shadowing the argument.
13391 2009-11-26  Kevin Ryde  <user42@zip.com.au>
13393         * log-view.el: Add "Keywords: tools", since its other keywords
13394         aren't in finder-known-keywords, and following vc.el.
13396         * sha1.el (sha1-string-external): default-directory "/" in case
13397         otherwise non-existent.  process-connection-type pipe for touch of
13398         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
13400 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
13402         Misc coding convention cleanups.
13403         * htmlfontify.el (hfy-init-kludge-hook): Rename from
13404         hfy-init-kludge-hooks.
13405         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
13406         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
13407         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
13408         and push.
13409         (hfy-slant, hfy-weight): Use tables rather than code.
13410         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
13411         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
13412         (hfy-face-attr-for-class): Initialize `face-spec' directly.
13413         (hfy-face-to-css): Remove `nconc' with single arg.
13414         (hfy-p-to-face-lennart): Use `or'.
13415         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
13416         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
13417         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
13418         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
13419         (hfy-force-fontification): Use run-hooks.
13421 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
13423         Various minor fixes.
13424         * htmlfontify.el (hfy-default-header): Add toggle_invis since
13425         Javascript belongs in the header, not the body.
13426         (hfy-javascript): Remove.
13427         (hfy-fontify-buffer): Don't insert it any more.
13428         (hfy-face-at): Handle (face0 face1 face2) style face properties.
13429         Fix bug in invis handling when there were no invis props in a chunk.
13431 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
13433         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
13435 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
13437         * finder.el (finder-mode-map): Add a menu.
13439 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
13441         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
13442         "unsigned" structs.
13444         (verilog-leap-to-head, verilog-backward-token): Handle "disable
13445         fork" statement better.
13447 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
13449         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
13450         (verilog-delete-auto, verilog-delete-empty-auto-pair)
13451         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
13452         Reported by Clay Douglass.
13454         (verilog-auto-inst, verilog-auto-star-safe)
13455         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
13456         Fix removing "// Interfaces" when saving .* expansions.
13457         Reported by Pierre-David Pfister.
13459 2009-11-26  Glenn Morris  <rgm@gnu.org>
13461         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
13462         the scope.
13464 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
13466         * vc-annotate.el (vc-annotate-revision-previous-to-line):
13467         Really use previous revision.
13469 2009-11-25  Kevin Ryde  <user42@zip.com.au>
13471         * man.el (Man-completion-table): default-directory "/" in case
13472         doesn't otherwise exist.  process-environment COLUMNS=999 so as
13473         not to truncate long names.  process-connection-type pipe to avoid
13474         any chance of hitting the pseudo-tty TIOCGWINSZ.
13475         (man): completion-ignore-case t for friendliness and since man
13476         itself is case-insensitive on the command line.
13477         Further to Bug#3717.
13479         * arc-mode.el: Add "Keywords: files", so the details in its
13480         commentary can be reached from finder-by-keyword.
13481         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
13482         editing mode, but it's comms related and sgml-mode.el has "comm"
13483         on that basis too.
13484         * textmodes/bibtex-style.el: Add "Keywords: tex".
13485         * international/isearch-x.el, international/ja-dic-cnv.el:
13486         * international/ja-dic-utl.el, international/kkc.el:
13487         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
13489 2009-11-25  Juri Linkov  <juri@jurta.org>
13491         * man.el (Man-completion-table): Modify regexp to include
13492         section names to completion strings.  (Bug#3717)
13494 2009-11-25  Juri Linkov  <juri@jurta.org>
13496         Search recursively in gzipped files.  (Bug#4982)
13498         * progmodes/grep.el (grep-highlight-matches): Add new options
13499         `always' and `auto'.  Doc fix.
13500         (grep-process-setup): Check `grep-highlight-matches' for
13501         `auto-detect' to determine the need to compute grep defaults.
13502         Move Windows/DOS specific --colors settings handling
13503         to `grep-compute-defaults'.  Check `grep-highlight-matches'
13504         to get the value of "--color=".
13505         (grep-compute-defaults): Compute `grep-highlight-matches' when it
13506         has the value `auto-detect'.  Move Windows/DOS specific settings
13507         from `grep-process-setup'.
13508         (zrgrep): New command with alias `rzgrep'.
13510 2009-11-25  Juri Linkov  <juri@jurta.org>
13512         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
13513         to nil instead of switching off view-mode.  (Bug#4896)
13515 2009-11-25  Juri Linkov  <juri@jurta.org>
13517         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
13519         * mwheel.el (mwheel-scroll-up-function)
13520         (mwheel-scroll-down-function): New defvars.
13521         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
13522         `scroll-up', and `mwheel-scroll-down-function' instead of
13523         `scroll-down'.
13525         * doc-view.el (doc-view-scroll-up-or-next-page)
13526         (doc-view-scroll-down-or-previous-page): Add optional ARG.
13527         Use this ARG in the call to image-scroll-up/image-scroll-down.
13528         Change `interactive' spec to "P".  Goto next/previous page only
13529         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
13530         SPC/DEL case).  Doc fix.
13531         (doc-view-next-line-or-next-page)
13532         (doc-view-previous-line-or-previous-page): Rename arg to ARG
13533         for consistency.
13534         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
13535         `doc-view-scroll-up-or-next-page', and buffer-local
13536         `mwheel-scroll-down-function' to
13537         `doc-view-scroll-down-or-previous-page'.
13539 2009-11-25  Juri Linkov  <juri@jurta.org>
13541         Provide additional default values (directories at other Dired
13542         windows) via M-n in the minibuffer of some Dired commands.
13544         * dired-aux.el (dired-diff, dired-compare-directories)
13545         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
13546         `minibuffer-default' in `minibuffer-with-setup-hook'.
13547         (dired-dwim-target-directory): Find a window that displays Dired
13548         buffer instead of failing when the next window is not Dired.
13549         Use `get-window-with-predicate' to find for the next Dired window.
13550         (dired-dwim-target-defaults): New function.
13552         * ediff-util.el (ediff-read-file-name):
13553         Use `dired-dwim-target-defaults' to set `minibuffer-default'
13554         in `minibuffer-with-setup-hook'.
13556 2009-11-25  Juri Linkov  <juri@jurta.org>
13558         Provide additional default values (file name at point or at the
13559         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
13561         * minibuffer.el (read-file-name-defaults): New function.
13562         (read-file-name): Reset `minibuffer-default' to nil when
13563         it duplicates initial input `insdef'.
13564         Bind `minibuffer-default-add-function' to lambda that
13565         calls `read-file-name-defaults' in `minibuffer-selected-window'.
13566         (minibuffer-insert-file-name-at-point): New command.
13568         * files.el (file-name-at-point-functions): New defcustom.
13569         (find-file-default): Remove defvar.
13570         (find-file-read-args): Don't use `find-file-default'.
13571         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13572         to `read-file-name'.
13573         (find-file-literally): Use `read-file-name' with
13574         `confirm-nonexistent-file-or-buffer'.
13576         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
13578         * dired.el (dired-read-dir-and-switches):
13579         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13580         to `read-file-name'.
13581         (dired-file-name-at-point): New function.
13582         (dired-mode): Add hook `dired-file-name-at-point' to
13583         `file-name-at-point-functions'.
13585 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13587         Really make the *Completions* window soft-dedicated (bug#5030).
13588         * window.el (window--display-buffer-2): Add `dedicated' argument.
13589         (display-buffer): Pass it when needed so the dedicated flag is set
13590         after calling set-window-buffer, which would otherwise reset it.
13592 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13594         * progmodes/meta-mode.el (meta-complete-symbol):
13595         * progmodes/etags.el (complete-tag):
13596         * mail/mailabbrev.el (mail-abbrev-complete-alias):
13597         Use completion-in-region.
13599         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
13600         (dabbrev-completion): Use completion-in-region.
13601         (dabbrev--abbrev-at-point): Simplify regexp.
13603         * abbrev.el (abbrev--before-point): Use word-motion functions
13604         if :regexp is not specified (bug#5031).
13606         * subr.el (string-prefix-p): New function.
13608         * man.el (Man-completion-cache): New var.
13609         (Man-completion-table): Use it.
13611         * vc.el (vc-print-log-internal): Make `limit' optional for better
13612         compatibility (e.g. with vc-annotate.el).
13614 2009-11-24  Kevin Ryde  <user42@zip.com.au>
13616         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
13617         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
13619         * emacs-lisp/elint.el (elint-add-required-env): Better error message
13620         when .el source file not found or other error.
13622 2009-11-24  Markus Triska  <markus.triska@gmx.at>
13624         * linum.el (linum-update-window): Ignore intangible (bug#4996).
13626 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13628         Handle the [back] button properly (bug#4979).
13629         * descr-text.el (describe-text-properties): Add a `buffer' argument.
13630         Use help-setup-xref, help-buffer, and with-help-window.
13631         (describe-char): Add `buffer' argument.
13632         Pass proper command to help-setup-xref.  Don't meddle with
13633         help-xref-stack-item directly.
13634         (describe-text-category): Use with-help-window and help-buffer.
13636         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
13637         for the displayed buffer (bug#4887).
13639         * man.el (Man-completion-table): New function.
13640         (man): Use it.
13642 2009-11-24  David Reitter  <david.reitter@gmail.com>
13644         * vc-git.el (vc-git-registered): Use checkout directory (where
13645         .git is) rather than the file's directory and a relative path spec
13646         to work around a bug in git.
13648 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
13650         Improve handling of processes on remote hosts.
13652         * eshell/esh-util.el (eshell-path-env): New defvar.
13653         (eshell-parse-colon-path): New defun.
13654         (eshell-file-attributes): Use `eshell-parse-colon-path'.
13656         * eshell/esh-ext.el (eshell-search-path):
13657         Use `eshell-parse-colon-path'.
13658         (eshell-remote-command): Remove argument HANDLER.
13659         (eshell-external-command): Check for FTP remote connection.
13661         * eshell/esh-proc.el (eshell-gather-process-output):
13662         Use `file-truename', in order to start also symlinked files.
13663         Apply `start-file-process' instead of `start-process'.
13664         Shorten `command' to the local file name part.
13666         * eshell/em-cmpl.el (eshell-complete-commands-list):
13667         Use `eshell-parse-colon-path'.
13669         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
13671         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
13672         to `eshell-directory-change-hook'.
13674 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
13676         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
13677         because it could be enabled automatically if view-read-only is non-nil.
13679 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
13681         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
13682         made on 2009-11-22.
13684 2009-11-24  Glenn Morris  <rgm@gnu.org>
13686         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
13687         deleted variable bookmark-bmenu-bookmark-column.
13689 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13691         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
13693 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
13695         * net/browse-url.el (browse-url-filename-alist): On Windows, add
13696         two slashes to the "file:" prefix.
13697         (browse-url-file-url): De-munge Cygwin filenames before passing
13698         them to Windows browser.
13699         (browse-url-default-windows-browser): Use call-process.
13701 2009-11-23  Juri Linkov  <juri@jurta.org>
13703         Implement DocView Continuous mode.  (Bug#4896)
13704         * doc-view.el (doc-view-continuous-mode): New defcustom.
13705         (doc-view-mode-map): Bind C-n/<down> to
13706         `doc-view-next-line-or-next-page', C-p/<up> to
13707         `doc-view-previous-line-or-previous-page'.
13708         (doc-view-next-line-or-next-page)
13709         (doc-view-previous-line-or-previous-page): New commands.
13711 2009-11-23  Juri Linkov  <juri@jurta.org>
13713         Implement Isearch in comint input history.  (Bug#3746)
13714         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
13715         `isearch-mode-hook'.
13716         (comint-history-isearch): New defcustom.
13717         (comint-history-isearch-backward)
13718         (comint-history-isearch-backward-regexp): New commands.
13719         (comint-history-isearch-message-overlay): New buffer-local variable.
13720         (comint-history-isearch-setup, comint-history-isearch-end)
13721         (comint-goto-input, comint-history-isearch-search)
13722         (comint-history-isearch-message, comint-history-isearch-wrap)
13723         (comint-history-isearch-push-state)
13724         (comint-history-isearch-pop-state): New functions.
13726 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
13728         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
13729         return.
13730         (tramp-handle-make-symbolic-link)
13731         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
13732         Quote file names.
13733         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
13734         (tramp-handle-process-file): Use it.
13736 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13738         * window.el (move-to-window-line-last-op): Remove.
13739         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
13741 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
13743         Make M-r mirror the new cycling behavior of C-l.
13744         * window.el (move-to-window-line-last-op): New var.
13745         (move-to-window-line-top-bottom): New command.
13746         (global-map): Bind M-r move-to-window-line-top-bottom.
13748 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
13750         * dired-x.el (dired-guess-shell-alist-default):
13751         Support xz format.  (Bug#4953)
13753 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
13755         * emulation/viper-cmd.el: Use viper-last-command-char instead of
13756         last-command-char/last-command-event.
13757         (viper-prefix-arg-value): Do correct conversion of event-char for
13758         XEmacs.
13760         * emulation/viper-util.el, emulation/viper.el:
13761         Use viper-last-command-char instead of
13762         last-command-char/last-command-event.
13764         * ediff-init.el, ediff-mult.el, ediff-util.el:
13765         Replace last-command-char and last-command-event
13766         with (ediff-last-command-char) everywhere.
13768         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
13769         created in fundamental mode.
13771         * ediff.el (ediff-version): Revert the change of interactive-p to
13772         called-interactively-p.
13774 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
13776         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
13777         generation from word-movement command names.
13779 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
13781         * cus-start.el (all): Add native condition for font-use-system-font.
13783 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
13785         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
13786         Correct the patch from 2009-11-18.  (Bug#3910)
13788 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
13790         * progmodes/subword.el: Rename from lisp/subword.el.
13792         * subword.el: Rename to progmodes/subword.el.
13794         * Makefile.in (ELCFILES): Adapt to subword.el move.
13796 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
13797             Stefan Monnier  <monnier@iro.umontreal.ca>
13799         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
13800         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
13801         (bookmark-bmenu-show-filenames): Use push.
13802         (bookmark-bmenu-hide-filenames): Use local var instead of
13803         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
13804         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
13805         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
13806         filenames now that the bookmark names are always available.
13808 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13810         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
13811         (bookmark-search-pattern): Move and leave unbound.
13812         (bookmark-bmenu-mode-map): Change binding.
13813         (bookmark-read-search-input): Simplify.
13814         Don't use text-char-description.  Don't error on non-char events.
13815         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
13816         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
13817         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
13818         Use a local var for the timer.
13819         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
13820         (i.e. bookmark-bmenu-search).
13822 2009-11-21  Glenn Morris  <rgm@gnu.org>
13824         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
13826 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
13828         * net/browse-url.el (browse-url-default-windows-browser):
13829         Use cygstart for cygwin.
13831 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
13833         * bookmark.el: Formatting and doc fixes only:
13834         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
13835         (bookmark-bmenu-search): Wrap to fit within 80 columns.
13836         Minor grammar and punctuation fixes in doc string.
13837         (bookmark-read-search-input): Adjust to fit within 80 columns.
13839 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
13841         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
13842         (c-backward-into-nomenclature): Adapt to subword renaming.
13844         * subword.el (subword-forward, subword-backward, subword-mark)
13845         (subword-kill, subword-backward-kill, subword-transpose)
13846         (subword-downcase, subword-upcase, subword-capitalize)
13847         (subword-forward-internal, subword-backward-internal):
13848         Rename from forward-subword, backward-subword, mark-subword,
13849         kill-subword, backward-kill-subword, transpose-subwords,
13850         downcase-subword, upcase-subword, capitalize-subword,
13851         forward-subword-internal, backward-subword-internal.
13853 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
13855         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
13856         New options.
13857         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
13858         New vars.
13859         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
13860         (bookmark-bmenu-filter-alist-by-regexp)
13861         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
13862         (bookmark-bmenu-search): New command.
13863         (bookmark-bmenu-mode-map): Bind it.
13865 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
13867         * progmodes/cc-cmds.el: declare-functioned forward-subword and
13868         backward-subword to quit the byte-compiler.
13870         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
13872         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
13874         * progmodes/cc-cmds.el (c-update-modeline)
13875         (c-forward-into-nomenclature, c-backward-into-nomenclature):
13876         Refer to subword.el functions instead of cc-subword.el.
13878         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
13879         subword.el functions instead of cc-subword.el.
13881         * progmodes/cc-subword.el: Rename to subword.el.
13882         * subword.el: Rename from progmodes/cc-subword.el.
13883         (subword-mode-map): Rename from c-subword-mode-map.
13884         (subword-mode): Rename from c-subword-mode.
13885         (global-subword-mode): New global minor mode.
13886         (forward-subword): Rename from c-forward-subword.
13887         (backward-subword): Rename from c-backward-subword.
13888         (mark-subword): Rename from c-mark-subword.
13889         (kill-subword): Rename from c-kill-subword.
13890         (backward-kill-subword): Rename from c-backward-kill-subword.
13891         (transpose-subwords): Rename from c-tranpose-subword.
13892         (downcase-subword): Rename from c-downcase-subword.
13893         (capitalize-subword): Rename from c-capitalize-subword.
13894         (forward-subword-internal): Rename from c-forward-subword-internal.
13895         (backward-subword-internal): Rename from c-backward-subword-internal.
13897 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
13899         * vc.el (vc-deduce-fileset): Allow non-state changing operations
13900         from a dired buffer.
13901         (vc-dired-deduce-fileset): New function.
13902         (vc-root-diff, vc-print-root-log): Use it.
13904         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
13905         nil LIMIT argument to vc-print-log-internal.
13907 2009-11-20  Glenn Morris  <rgm@gnu.org>
13909         * Makefile.in (ELCFILES): Regenerate.
13911 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
13913         * calc/calc.el (calc-set-mode-line):
13914         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13915         (math-format-number): Rename `math-format-complement-signed' to
13916         `math-format-twos-complement'.
13918         * calc/calc-bin.el (math-format-twos-complement): Rename from
13919         math-format-complement-signed.
13920         (calc-radix): Rename `calc-complement-signed-mode' to
13921         `calc-twos-complement-mode'.
13922         (calc-octal-radix, calc-hex-radix): Add an argument for
13923         two's complement.
13925         * calc/calc-embed.el (calc-embedded-mode-vars):
13926         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13928         * calc/calc-ext.el (calc-init-extensions):
13929         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13930         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
13932         * calc/calc-units.el (math-build-units-table-buffer):
13933         Let `calc-twos-complement-mode' be nil.
13935         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
13936         entries.
13938         * calc/calc-vec.el (calcFunc-vunpack):
13939         * calc/calc-aent.el (calc-do-calc-eval):
13940         * calc/calc-forms.el (math-format-date):
13941         * calc/calc-graph.el (calc-graph-plot):
13942         * calc/calc-math.el (math-use-emacs-fn):
13943         * calc/calccomp.el (math-compose-expr):
13944         Let `calc-twos-complement-mode' be nil.
13946 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
13948         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
13949         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
13950         * minibuffer.el (completion-in-region-functions): New hook.
13951         (completion-in-region): New function.
13952         * emacs-lisp/lisp.el (lisp-complete-symbol):
13953         * pcomplete.el (pcomplete-std-complete): Use it.
13955 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
13957         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
13958         (latex-complete-alist): New vars.
13959         (latex-string-prefix-p, latex-complete-bibtex-keys)
13960         (latex-complete-envnames, latex-complete-refkeys)
13961         (latex-complete-data): New functions.
13962         (latex-complete, latex-indent-or-complete): New commands.
13964         * window.el (display-buffer-mark-dedicated): New var.
13965         (display-buffer): Obey it.
13966         * minibuffer.el (minibuffer-completion-help): Use it.
13968         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
13970         * filecache.el (file-cache-add-file): Use push and cons.
13971         (file-cache-delete-file-regexp): Use push.
13972         (file-cache-complete): Use completion-in-region.
13974         * simple.el (with-wrapper-hook): Fix thinko.
13976         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
13977         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
13978         Use with-current-buffer and string-to-number.
13979         (hfy-fallback-colour-values): Use assoc-string.
13980         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
13981         (hfy-face-at): Remove unused var `found-face'.
13982         (hfy-compile-stylesheet): Remove unused var `css'.
13983         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
13984         and `orig-buffer'.
13985         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
13986         Use with-current-buffer.
13987         (hfy-text-p): Use expand-file-name and fewer setq.
13989 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
13991         * htmlfontify.el, hfy-cmap.el: New files.
13993 2009-11-19  Juri Linkov  <juri@jurta.org>
13995         * minibuffer.el (completions-format): New defcustom.
13996         (completion--insert-strings): Implement vertical format.
13998         * simple.el (switch-to-completions): Move point to the first
13999         completion when point was at the beginning of the buffer.
14001 2009-11-19  Juri Linkov  <juri@jurta.org>
14003         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
14005         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
14007 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
14009         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
14010         (mail-signature): Change default to t.
14011         (mail-from-style): Deprecate `system-default' value.
14012         (mail-insert-from-field): For default value of mail-from-style,
14013         default to `angles' unless `angles' needs quoting and `parens'
14014         does not.
14015         (mail-citation-prefix-regexp): Use citation regexp from
14016         message-mode.
14018 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
14020         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
14021         Set variables for computing the prompt for reading password.
14023 2009-11-19  Glenn Morris  <rgm@gnu.org>
14025         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
14027         * textmodes/flyspell.el (sgml-lexical-context): Declare.
14029         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
14030         (newsticker-treeview-listwindow-height): Fix custom type.
14032 2009-11-19  Kenichi Handa  <handa@m17n.org>
14034         * descr-text.el (describe-char-padded-string): Compose with TAB
14035         only if there's a font for CH.
14036         (describe-char): Fix the condition for detecting a trivial composition.
14038 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
14040         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
14041         more accurate version of the regexp.  (Bug#3910)
14043 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
14045         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
14047 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
14049         * font-setting.el (font-use-system-font): Declare for byte-compiler.
14050         (font-setting-change-default-font): Fix typo in docstring.
14052 2009-11-18  Alan Mackenzie  <acm@muc.de>
14054         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
14056 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
14058         * font-setting.el (font-use-system-font): Move ...
14060         * cus-start.el (all): ... to here.
14062 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
14064         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
14065         Don't set `ad-return-value' if `ad-do-it' doesn't.
14067         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
14068         modification time.
14070 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
14072         * menu-bar.el: Put "Use system font" in Option-menu.
14073         (menu-bar-options-save): Add font-use-system-font.
14075         * loadup.el: If feature system-font-setting or font-render-setting is
14076         there, load font-setting.
14078         * Makefile.in (ELCFILES): Add font-settings.el.
14079         * font-setting.el: New file.
14081 2009-11-17  Glenn Morris  <rgm@gnu.org>
14083         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
14085         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
14086         Preserve point in the list buffer.  (Bug#4939)
14087         Use point-at-eol.
14088         (newsticker--treeview-list-update-highlight)
14089         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
14091 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
14093         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
14094         Remove.
14096         * calc/calc-ext.el (calc-init-extensions): Remove references to
14097         symclip.
14099         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
14101         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
14102         * calc/calc-help.el (calc-b-prefix-help): Remove references to
14103         `calc-symclip'.
14105 2009-11-16  Kevin Ryde  <user42@zip.com.au>
14107         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
14108         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
14110         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
14111         (lm-keywords-list): Allow comma-only separator like "foo,bar".
14112         Ignore trailing spaces by omit-nulls to split-string (fixing
14113         regression from Emacs 21 due to the incompatible split-string
14114         change).  (Bug #4928.)
14116 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
14118         * vc.el (vc-log-show-limit): Default to 2000.
14119         (vc-print-log-internal): Insert buttons to request more entries
14120         when limiting the output.
14122         * vc-sccs.el (vc-sccs-print-log):
14123         * vc-rcs.el (vc-rcs-print-log):
14124         * vc-cvs.el (vc-cvs-print-log):
14125         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
14126         LIMIT is non-nil.
14128 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
14130         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
14131         error when `tramp-gvfs-dbus-event-vector' is set.
14132         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
14134 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
14136         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
14138 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
14140         * net/dbus.el (dbus-unregister-service): New defun.
14141         (dbus-register-property): Register the handlers of
14142         "org.freedesktop.DBus.Properties" for SERVICE.
14143         (dbus-property-handler): Fix docstring.
14145 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
14147         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
14148         Quote doc string reference in defvaralias as it is not in special form.
14149         (byte-compile-output-docform): Doc fix.
14151 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
14153         * calc/calc.el (math-2-word-size, math-half-2-word-size)
14154         (calc-complement-signed-mode): New variables.
14155         (calc-set-mode-line): Add indicator for twos-complements.
14156         (math-format-number): Format twos-complement notation.
14158         * calc/calc-bin.el (calc-word-size): Reset the variables
14159         `math-2-word-size' and `math-half-2-word-size'.
14160         (math-format-complement-signed, math-symclip, calcFunc-symclip)
14161         (calc-symclip): New functions.
14163         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
14165         * calc/calc-embed.el (calc-embedded-mode-vars):
14166         Add `calc-complement-signed-mode' to the list of modes.
14168         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
14169         (calc-b-oper-keys): Add `calc-symclip' to list.
14171         * calc/calc-ext.el (math-read-number-fancy): Read complement
14172         signed numbers.
14173         (calc-init-extensions): Add binding for `calc-symclip'.
14174         Add autoload for `calcFunc-symclip' and `calc-symclip'.
14176         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
14177         `calc-symclip'.
14178         (calc-modes-menu): Add item for twos complement mode.
14180         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
14182 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
14184         * register.el (jump-to-register, insert-register): Handle Semantic
14185         tags.  From commented-out advice in semantic/senator.el.
14187 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
14189         * vc.el (vc-log-show-limit): New variable.
14190         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
14191         when using a prefix argument.
14192         (vc-print-log-internal): Add new argument LIMIT.
14194         * vc-svn.el (vc-svn-print-log):
14195         * vc-mtn.el (vc-mtn-print-log):
14196         * vc-hg.el (vc-hg-print-log):
14197         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
14198         pass it to the log command when set.  Make the BUFFER argument
14199         non-optional.
14201         * vc-sccs.el (vc-sccs-print-log):
14202         * vc-rcs.el (vc-rcs-print-log):
14203         * vc-git.el (vc-git-print-log):
14204         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
14205         ignore it.  Make the BUFFER argument non-optional
14207         * bindings.el (mode-line-buffer-identification): Do not purecopy.
14209 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
14211         * dired.el (dired-mode-map): Move encryption items to "Operate"
14212         menu (Bug#4703).
14214         * strokes.el (strokes-update-window-configuration): Make strokes
14215         buffer current before erasing (Bug#4906).
14217 2009-11-15  Juri Linkov  <juri@jurta.org>
14219         * simple.el (set-mark-default-inactive): Add :type, :group
14220         and :version.  (Bug#4876)
14222 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
14224         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
14225         (archive-unique-fname): ... here.  (Bug#4929)
14227 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14229         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
14230         with a real fix.
14232         * novice.el (disabled-command-function): Add useful args.
14233         Setup the help buffer so that [back] works.
14234         Remove redundant call to help-mode.
14235         (disabled-command-function): Use `case'.
14236         (en/disable-command): New function extracted from enable-command.
14237         (enable-command, disable-command): Use it.
14239 2009-11-14  Glenn Morris  <rgm@gnu.org>
14241         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
14242         constants.  (Bug#4913)
14244         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
14246 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
14248         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
14249         defined in C that have no doc-strings.  (Bug#1063)
14251 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
14253         * cus-edit.el (data, files):
14254         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
14256 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
14258         * simple.el (shell-command): Doc fix (Bug#4891).
14260         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
14262 2009-11-14  Glenn Morris  <rgm@gnu.org>
14264         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
14265         statements for vc-diff, emerge-quit, and rmail-cease-edit.
14266         If they are already loaded, eval-after-load will do the right thing.
14268         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
14269         compiling.
14271         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
14273         * simple.el (x-selection-owner-p): Declare.
14274         (read-mail-command): Use custom radio type rather than choice.
14275         (completion-no-auto-exit): Doc fix.
14277         * custom.el (defgroup):
14278         * epg-config.el (epg): Doc fixes.
14280 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
14282         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
14283         * international/ccl.el (define-ccl-program): Do not purecopy the
14284         docstring, defconst does it anyway.
14286 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14288         * add-log.el (add-change-log-entry): Avoid displaying the changelog
14289         a second time.
14291         * x-dnd.el (x-dnd-maybe-call-test-function):
14292         * window.el (split-window-vertically):
14293         * whitespace.el (whitespace-help-on):
14294         * vc-rcs.el (vc-rcs-consult-headers):
14295         * userlock.el (ask-user-about-lock-help)
14296         (ask-user-about-supersession-help):
14297         * type-break.el (type-break-force-mode-line-update):
14298         * time-stamp.el (time-stamp-conv-warn):
14299         * terminal.el (te-set-output-log, te-more-break, te-filter)
14300         (te-sentinel, terminal-emulator):
14301         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
14302         (term-write-input-ring, term-check-source, term-start-output-log):
14303         (term-display-buffer-line, term-dynamic-list-completions):
14304         (term-ansi-make-term, serial-term):
14305         * subr.el (selective-display):
14306         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
14307         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
14308         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
14309         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
14310         (speedbar-remove-localized-speedbar-support)
14311         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
14312         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
14313         (speedbar-buffers-line-directory):
14314         * simple.el (shell-command-on-region, append-to-buffer)
14315         (prepend-to-buffer):
14316         * shadowfile.el (shadow-save-todo-file):
14317         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
14318         (scroll-bar-maybe-set-window-start):
14319         * sb-image.el (speedbar-image-dump):
14320         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
14321         (load-save-place-alist-from-file):
14322         * ps-samp.el (ps-print-message-from-summary):
14323         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
14324         (ps-background-image, ps-begin-job, ps-do-despool):
14325         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
14326         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
14327         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
14328         (pr-call-process, pr-file-list, pr-interface-save):
14329         * novice.el (disabled-command-function)
14330         (enable-command, disable-command):
14331         * mouse.el (mouse-buffer-menu-alist):
14332         * mouse-copy.el (mouse-kill-preserving-secondary):
14333         * macros.el (kbd-macro-query):
14334         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
14335         * informat.el (batch-info-validate):
14336         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
14337         * hippie-exp.el (try-expand-dabbrev-visible):
14338         * help-mode.el (help-make-xrefs):
14339         * help-fns.el (describe-variable):
14340         * generic-x.el (bat-generic-mode-run-as-comint):
14341         * finder.el (finder-mouse-select):
14342         * find-dired.el (find-dired-sentinel):
14343         * filesets.el (filesets-file-close):
14344         * files.el (list-directory):
14345         * faces.el (list-faces-display, describe-face):
14346         * facemenu.el (list-colors-display):
14347         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
14348         * epg.el (epg--process-filter, epg-cancel):
14349         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
14350         (epa--read-signature-type):
14351         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
14352         (emerge-file-names):
14353         * ehelp.el (electric-helpify):
14354         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
14355         * ediff-vers.el (rcs-ediff-view-revision):
14356         * ediff-util.el (ediff-setup):
14357         * ediff-mult.el (ediff-append-custom-diff):
14358         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
14359         (ediff-wordify):
14360         * echistory.el (Electric-command-history-redo-expression):
14361         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
14362         * disp-table.el (describe-display-table):
14363         * dired.el (dired-find-buffer-nocreate):
14364         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
14365         * dabbrev.el (dabbrev--same-major-mode-p):
14366         * chistory.el (list-command-history):
14367         * apropos.el (apropos-documentation):
14368         * allout.el (allout-obtain-passphrase):
14369         (allout-copy-exposed-to-buffer):
14370         (allout-verify-passphrase): Use with-current-buffer.
14372 2009-11-13  Glenn Morris  <rgm@gnu.org>
14374         * Makefile.in (ELCFILES): Regenerate.
14376 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
14378         * net/dbus.el (dbus-registered-objects-table): Rename from
14379         `dbus-registered-functions-table', because it contains also properties.
14380         (dbus-unregister-object): Unregister also properties.
14381         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14382         Use a timeout of 500 msec, in order to not block.
14383         (dbus-register-property, dbus-property-handler): New defuns.
14385 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14387         * simple.el (minibuffer-default-add-completions): Drop deprecated
14388         4th arg.
14390 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
14392         * textmodes/artist.el (artist-mouse-choose-operation):
14393         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
14394         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
14395         (artist-compute-up-event-key): New function.
14396         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
14398 2009-11-13  Kenichi Handa  <handa@m17n.org>
14400         * language/japan-util.el: Make sure that the value of jisx0208
14401         property is jisx0208 character.
14403 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
14405         * international/mule.el (auto-coding-regexp-alist): Only purecopy
14406         car or each item, not the whole list.
14408 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14410         * minibuffer.el (minibuffer-completion-help):
14411         Use minibuffer-hide-completions.
14413 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
14415         * dired.el (dired-save-positions, dired-restore-positions): New funs.
14416         (dired-revert): Use them (bug#4880).
14418 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
14420         * tooltip.el (tooltip-frame-parameters): Undo previous change.
14422 2009-11-12  Juri Linkov  <juri@jurta.org>
14424         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
14425         New functions.
14426         (find-file-literally-at-point): Alias of `ffap-literally'.
14428 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
14430         * textmodes/ispell.el (ispell-skip-region-alist):
14431         * textmodes/css-mode.el (auto-mode-alist):
14432         * progmodes/compile.el (auto-mode-alist):
14433         * international/mule.el (ctext-non-standard-encodings-alist)
14434         (ctext-non-standard-encodings-regexp):
14435         * simple.el (shell-command-switch, text-read-only):
14436         * replace.el (occur-mode-map):
14437         * paths.el (rmail-file-name):
14438         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
14439         * find-file.el (ff-special-constructs):
14440         * files.el (file-name-handler-alist):
14441         * composite.el: Purecopy strings.
14443         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
14445 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
14447         * widget.el (define-widget): Purecopy the docstring.
14448         * international/mule-cmds.el (charset): Do not purecopy the
14449         docstring here, define-widget does it.
14451         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
14452         * textmodes/bibtex-style.el (auto-mode-alist):
14453         * progmodes/inf-lisp.el (inferior-lisp-prompt):
14454         * progmodes/compile.el (compile-command):
14455         * language/korea-util.el (default-korean-keyboard):
14456         * international/mule-conf.el (file-coding-system-alist):
14457         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
14458         * tooltip.el (tooltip-frame-parameters):
14459         * newcomment.el (comment-end, comment-padding):
14460         * dired.el (dired-trivial-filenames):
14461         * comint.el (comint-file-name-prefix): Purecopy initial values.
14463 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
14465         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
14466         (tramp-advice-minibuffer-electric-tilde): Unload advices via
14467         `tramp-unload'.
14468         (tramp-advice-make-auto-save-file-name)
14469         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
14470         after removing the advice.
14472 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
14474         * progmodes/grep.el (grep-regexp-alist):
14475         * international/mule-cmds.el (iso-2022-control-alist):
14476         * emacs-lisp/timer.el (timer-duration-words):
14477         * subr.el (version-separator, version-regexp-alist):
14478         * minibuffer.el (completion-styles-alist):
14479         * faces.el (face-attribute-name-alist, list-faces-sample-text):
14480         Change defvars to defconsts.
14482         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
14483         * loadup.el ("international/mule-conf"): Load the byte compiled version.
14484         * international/mule-conf.el: Allow to be byte compiled.
14486         * international/mule.el (define-charset): Purecopy props.
14487         (load-with-code-conversion): Purecopy doc string and file name.
14488         (put-charset-property): Purecopy strings.
14489         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
14491         * international/mule-cmds.el (register-input-method): Purecopy arguments.
14492         (define-char-code-property): Correctly purecopy the table.
14494         * international/ccl.el (define-ccl-program): Purecopy the docstring.
14496         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
14498         * subr.el (add-hook): Purecopy strings.
14499         (eval-after-load): Purecopy load-history-regexp and the form.
14501         * custom.el (custom-declare-group): Purecopy load-file-name.
14503         * subr.el (menu-bar-separator): New defconst.
14504         * net/eudc.el (eudc-tools-menu):
14505         * international/mule-cmds.el (set-coding-system-map)
14506         (mule-menu-keymap):
14507         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14508         * vc-hooks.el (vc-menu-map):
14509         * replace.el (occur-mode-map):
14510         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
14511         (menu-bar-edit-menu, menu-bar-goto-menu)
14512         (menu-bar-custom-menu, menu-bar-showhide-menu)
14513         (menu-bar-options-menu, menu-bar-tools-menu)
14514         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
14515         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
14516         (menu-bar-help-menu):
14517         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
14518         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
14520         * term/x-win.el (x-gtk-stock-map):
14521         * progmodes/vera-mode.el (auto-mode-alist):
14522         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
14523         (inferior-lisp-program, inferior-lisp-load-command):
14524         * progmodes/hideshow.el (hs-special-modes-alist):
14525         * progmodes/gud.el (same-window-regexps):
14526         * progmodes/grep.el (grep-program, find-program, xargs-program):
14527         * net/telnet.el (same-window-regexps):
14528         * net/rlogin.el (same-window-regexps):
14529         * language/ethiopic.el (font-ccl-encoder-alist):
14530         * vc-sccs.el (vc-sccs-master-templates):
14531         * vc-rcs.el (vc-rcs-master-templates):
14532         * subr.el (cl-assertion-failed):
14533         * simple.el (next-error-overlay-arrow-position):
14534         * lpr.el (lpr-command):
14535         * locate.el (locate-ls-subdir-switches):
14536         * info.el (same-window-regexps, info)
14537         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
14538         * image-mode.el (image-mode, auto-mode-alist):
14539         * hippie-exp.el (hippie-expand-ignore-buffers):
14540         * format.el (format-alist):
14541         * find-dired.el (find-ls-subdir-switches, find-grep-options)
14542         (find-name-arg):
14543         * facemenu.el (facemenu-keybindings):
14544         * dired.el (dired-listing-switches, dired-chown-program):
14545         * diff.el (diff-switches, diff-command):
14546         * cus-edit.el (same-window-regexps):
14547         * bindings.el (mode-line-mule-info)
14548         (mode-line-buffer-identification): Purecopy strings.
14550 2009-11-11  Juri Linkov  <juri@jurta.org>
14552         * simple.el (dired-get-filename) <declare-function>:
14553         Tell the byte-compiler about dired-get-filename.
14554         (shell-command): In Dired mode, get filename from the current line
14555         as the default value.
14557 2009-11-10  Glenn Morris  <rgm@gnu.org>
14559         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
14560         * calendar/holidays.el, progmodes/cperl-mode.el:
14561         Update x-popup-menu declarations.
14563         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
14564         (list-load-path-shadows): Use dolist.
14565         (list-load-path-shadows): Use with-current-buffer.
14567 2009-11-10  Juri Linkov  <juri@jurta.org>
14569         * minibuffer.el (read-file-name): Support a list of default values
14570         in `default-filename'.  Use the first file name where only one
14571         element is required.  Doc fix.
14573 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
14575         * net/dbus.el (dbus-unregister-object): Release service, if no
14576         other method is registered for it.
14578 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
14580         * bookmark.el (bookmark-completing-read): Sort bookmark names if
14581         bookmark-sort-flag is non-nil (Bug#4653).
14583 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
14585         * emulation/cua-base.el: Add CUA property to some CC mode commands
14586         (Bug#4100).
14588 2009-11-08  Kevin Ryde  <user42@zip.com.au>
14590         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
14591         at end of sentence (Bug#4818).
14593 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
14595         * progmodes/compile.el (compilation-error-regexp-alist-alist):
14596         Handle "see declaration of" MSFT statements (Bug#4100).
14598 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
14600         * net/tramp.el (tramp-advice-make-auto-save-file-name)
14601         (tramp-advice-file-expand-wildcards): Unload via
14602         `ad-remove-advice'.
14604         * net/trampver.el: Update release number.
14606 2009-11-08  Kevin Ryde  <user42@zip.com.au>
14608         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
14609         `ad-do-it'.
14611 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
14613         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
14614         in order to keep context in SELinux.
14616 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
14618         * dired-aux.el (dired-query): Place cursor in echo area and allow
14619         C-g.
14621         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
14622         menu item if not on a directory (Bug#4701).
14624 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
14626         Sync with Tramp 2.1.17.
14628         * net/tramp.el (tramp-handle-copy-directory): Don't use
14629         `file-remote-p' (due to compatibility).
14631         * net/tramp-compat.el (tramp-compat-copy-directory)
14632         (tramp-compat-delete-directory): New defuns.
14634         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
14635         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
14636         Use `tramp-compat-delete-directory'.
14638         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
14639         (tramp-smb-handle-delete-directory):
14640         Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
14642         * net/trampver.el: Update release number.
14644 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
14646         * tar-mode.el (tar-copy): Call write-region on the right buffer
14647         (Bug#4857).
14649         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
14650         by hand, if necessary (Bug#4878).
14652 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
14654         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
14655         align size column (Bug#4839).
14657         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
14658         statement.
14660 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
14662         * progmodes/ld-script.el (auto-mode-alist):
14663         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
14665         * cus-face.el (custom-declare-face): Purecopy face spec.
14667 2009-11-06  Kenichi Handa  <handa@m17n.org>
14669         * international/uni-bidi.el: Re-generated.
14670         * international/uni-category.el: Re-generated.
14671         * international/uni-combining.el: Re-generated.
14672         * international/uni-mirrored.el: Re-generated.
14674 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
14676         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
14677         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
14678         (tex-start-options, slitex-run-command, latex-run-command)
14679         (tex-run-command, tex-directory):
14680         * textmodes/ispell.el (ispell-html-skip-alists)
14681         (ispell-tex-skip-alists, ispell-tex-skip-alists):
14682         * textmodes/fill.el (adaptive-fill-first-line-regexp):
14683         (adaptive-fill-regexp):
14684         * textmodes/dns-mode.el (auto-mode-alist):
14685         * progmodes/python.el (interpreter-mode-alist):
14686         * progmodes/etags.el (tags-compression-info-list):
14687         * progmodes/etags.el (tags-file-name):
14688         * net/browse-url.el (browse-url-galeon-program)
14689         (browse-url-firefox-program):
14690         * mail/sendmail.el (mail-signature-file)
14691         (mail-citation-prefix-regexp):
14692         * international/mule-conf.el (eight-bit):
14693         * international/latexenc.el (latex-inputenc-coding-alist):
14694         * international/fontset.el (x-pixel-size-width-font-regexp):
14695         * emacs-lisp/warnings.el (warning-type-format):
14696         * emacs-lisp/trace.el (trace-buffer):
14697         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
14698         (emacs-lisp-mode-map):
14699         * calendar/holidays.el (holiday-solar-holidays)
14700         (holiday-bahai-holidays, holiday-islamic-holidays)
14701         (holiday-christian-holidays, holiday-hebrew-holidays)
14702         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
14703         (hebrew-holidays-1, holiday-oriental-holidays)
14704         (holiday-general-holidays):
14705         * x-dnd.el (x-dnd-known-types):
14706         * tool-bar.el (tool-bar):
14707         * startup.el (site-run-file):
14708         * shell.el (shell-dumb-shell-regexp):
14709         * rfn-eshadow.el (file-name-shadow-tty-properties)
14710         (file-name-shadow-properties):
14711         * paths.el (remote-shell-program, news-directory):
14712         * mouse.el ([C-down-mouse-3]):
14713         * menu-bar.el (menu-bar-tools-menu):
14714         * jka-cmpr-hook.el (jka-compr-load-suffixes)
14715         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
14716         (jka-compr-compression-info-list):
14717         * isearch.el (search-whitespace-regexp):
14718         * image-file.el (image-file-name-extensions):
14719         * find-dired.el (find-ls-option):
14720         * files.el (directory-listing-before-filename-regexp)
14721         (directory-free-space-args, insert-directory-program)
14722         (list-directory-brief-switches, magic-fallback-mode-alist)
14723         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
14724         (automount-dir-prefix):
14725         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
14726         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
14727         (face-font-registry-alternatives, face-font-registry-alternatives)
14728         (face-font-family-alternatives):
14729         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
14730         (facemenu-foreground-menu, facemenu-face-menu):
14731         * epa-hook.el (epa-file-name-regexp):
14732         * dnd.el (dnd-protocol-alist):
14733         * textmodes/rst.el (auto-mode-alist):
14734         * button.el (default-button): Purecopy strings.
14736 2009-11-06  Glenn Morris  <rgm@gnu.org>
14738         * Makefile.in (ELCFILES): Update.
14740 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14742         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
14743         * emacs-lisp/levents.el: Move to obsolete/levents.el.
14745         * nxml/xsd-regexp.el (xsdre-gen-categories):
14746         * nxml/xmltok.el (xmltok-parse-entity):
14747         * nxml/rng-parse.el (rng-parse-validate-file):
14748         * nxml/rng-maint.el (rng-format-manual)
14749         (rng-manual-output-force-new-line):
14750         * nxml/rng-loc.el (rng-save-schema-location-1):
14751         * nxml/rng-cmpct.el (rng-c-parse-file):
14752         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
14753         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
14755 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
14757         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
14758         Remove extra save-excursions and make-variable-buffer-local's.
14759         Suggested by Stefan Monnier.
14761         (verilog-getopt-file, verilog-module-inside-filename-p)
14762         (verilog-set-define): Merge GNU 1.35 and repair changes from
14763         switching to using with-current-buffer.
14765         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
14766         being treated as a number and confusing AUTORESET.
14767         Reported by Dan Dever.
14769         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
14770         Add verilog-auto-ignore-concat to fix backward compatibility with
14771         older verilog-modes.  Reported by Dan Katz.
14773         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
14774         containing closing anchors "...$".
14776         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
14777         Reported by Wade Smith.
14779         (verilog-batch-execute-func): Comment on function usage.
14781 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
14783         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
14784         for labels.
14786         (verilog-label-re, verilog-calc-1): Support proper indent of named
14787         asserts.
14789         (verilog-backward-token, verilog-basic-complete-re)
14790         (verilog-beg-of-statement, verilog-indent-re): Support proper
14791         indent of the assert statement at the beginning of a block of text.
14793         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
14794         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
14795         tokens as begins.
14797 2009-11-05  Glenn Morris  <rgm@gnu.org>
14799         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
14800         Emacs 19.  (Bug#1531)
14801         (byte-compile-fix-header): Update for the above change.
14802         Drop test for epoch::version.
14804         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
14805         * cus-dep.el (custom-make-dependencies):
14806         * finder.el (finder-compile-keywords):
14807         Use autoload-rubric's feature argument.
14809         * calendar/diary-lib.el (top-level): Make load behave more like require.
14811         * vc-git.el (vc-git-stash-map): Move definition before use.
14813 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
14815         * custom.el (custom-declare-group): Purecopy standard-value.
14816         (custom-declare-group): Purecopy custom-prefix.
14818         * international/mule.el (load-with-code-conversion):
14819         Call do-after-load-evaluation unconditionally.
14821         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
14823 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14825         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
14827 2009-11-04  Glenn Morris  <rgm@gnu.org>
14829         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
14830         (byte-compile-compatibility): Remove option.
14831         (byte-compile-close-variables, byte-compile-fix-header)
14832         (byte-compile-insert-header, byte-compile-output-docform)
14833         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
14834         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
14835         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
14836         (byte-compile-insert, byte-compile-defun):
14837         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
14838         (byte-defop-compiler19): Remove.
14839         Without byte-compile-compatibility, the 'emacs19-opcode property is not
14840         used by anything.  Replace all calls with byte-defop-compiler.
14842 2009-11-04  Juri Linkov  <juri@jurta.org>
14844         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
14845         (menu-bar-options-menu): Don't quote the `prop' arg of
14846         `menu-bar-make-mm-toggle'.
14848 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
14850         * calendar/calendar.el (cal-loaddefs):
14851         * calendar/diary-lib.el (diary-loaddefs):
14852         * calendar/holidays.el (hol-loaddefs):
14853         * eshell/esh-module.el (esh-groups): Load rather than require.
14855 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14857         * calendar/todo-mode.el (todo-add-category): Don't hardcode
14858         point-min==1.
14859         (todo-top-priorities): Only display-buffer when called interactively.
14860         (todo-item-start): Don't save excursion point.
14861         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
14862         (todo-insert-item-here, todo-file-item, todo-remove-item):
14863         Adjust uses of todo-item-start and todo-item-end.
14865         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
14866         (autoload-rubric): Don't use any more.
14868         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
14869         and only put a prop if it is non-nil.
14871 2009-11-03  Juri Linkov  <juri@jurta.org>
14873         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
14874         (menu-bar-options-menu): Fix list quoting (Bug#4429).
14876         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
14877         and "Menu" to make top-level menu item visually one unit (like
14878         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
14879         multi-word menu items).  Fix :help string for quit-window.
14881 2009-11-03  Glenn Morris  <rgm@gnu.org>
14883         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
14884         (byte-compile-file-form-define-abbrev-table)
14885         (byte-compile-file-form-custom-declare-variable)
14886         (byte-compile-variable-ref, byte-compile-defvar):
14887         Whether or not a warning is enabled should only affect whether we issue
14888         the warning, not whether or not we collect the relevant data.
14889         Eg warnings can be turned on and off throughout the course of a file.
14891         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
14892         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
14894 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14896         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
14897         * play/mpuz.el (mpuz-create-buffer):
14898         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
14899         (lm-print-y,s,noise, lm-print-w0, lm-init):
14900         * play/gomoku.el (gomoku-prompt-for-move):
14901         * play/fortune.el (fortune-in-buffer):
14902         * play/dissociate.el (dissociated-press):
14903         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
14904         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
14905         * mail/supercite.el (sc-eref-show):
14906         * mail/smtpmail.el (smtpmail-send-it):
14907         * mail/rmailsum.el (rmail-summary-next-labeled-message)
14908         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
14909         (rmail-summary-undelete-many, rmail-summary-rmail-update)
14910         (rmail-summary-goto-msg, rmail-summary-expunge)
14911         (rmail-summary-get-new-mail, rmail-summary-search-backward)
14912         (rmail-summary-add-label, rmail-summary-output-menu)
14913         (rmail-summary-output-body):
14914         * mail/rfc822.el (rfc822-addresses):
14915         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
14916         * mail/mailpost.el (post-mail-send-it):
14917         * mail/hashcash.el (hashcash-generate-payment):
14918         * mail/feedmail.el (feedmail-run-the-queue)
14919         (feedmail-queue-send-edit-prompt-help-first)
14920         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
14921         (feedmail-deduce-address-list):
14922         * eshell/esh-ext.el (eshell-remote-command):
14923         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
14924         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
14925         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
14926         (viper-save-string-in-file, viper-valid-marker):
14927         * emulation/viper-keym.el (viper-toggle-key):
14928         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
14929         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
14930         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
14931         * emulation/viper-cmd.el (viper-exec-form-in-vi)
14932         (viper-exec-form-in-emacs, viper-brac-function):
14933         * emulation/viper.el (viper-delocalize-var):
14934         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
14935         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
14936         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
14937         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
14938         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
14939         * emulation/edt.el (edt-electric-helpify):
14940         * emulation/cua-rect.el (cua--rectangle-aux-replace):
14941         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
14942         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
14943         (cua-indent-to-global-mark-column):
14944         * calendar/diary-lib.el (calendar-mark-1):
14945         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
14946         Use with-current-buffer.
14947         * emulation/viper.el (viper-delocalize-var): Use dolist.
14949 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
14951         * comint.el (comint-replace-by-expanded-history-before-point):
14952         Replace !! with the previous input string literally (Bug#1795).
14954 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
14956         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
14957         to be made up of whitespace.
14959 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
14961         * minibuffer.el (read-file-name): Don't use file dialogs for
14962         remote directories (Bug#99).
14964 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
14966         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
14968 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
14970         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
14971         instead of deleting the window or frame.
14973 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
14975         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
14976         Support face colors.
14978         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
14979         New function.  Support face colors (Bug#1168).
14980         (tex-common-initialization): Use it.
14982         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
14983         mode allows it (Bug#1168).
14985 2009-10-31  Juri Linkov  <juri@jurta.org>
14987         * facemenu.el (list-colors-display): Don't mark buffer as
14988         modified (Bug#3948).
14990 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
14992         * international/mule-diag.el (list-character-sets-1):
14993         Minor message fix (Bug#3526).
14995         * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
14996         Fix face property (Bug#4834).
14997         (etags-list-tags, etags-tags-apropos-additional)
14998         (etags-tags-apropos, tags-select-tags-table): Add follow-link
14999         property.
15001         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
15002         items.
15004 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
15006         * textmodes/two-column.el (2C-split):
15007         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
15008         * textmodes/tex-mode.el (tex-set-buffer-directory):
15009         * textmodes/spell.el (spell-region, spell-string):
15010         * textmodes/reftex.el (reftex-erase-buffer):
15011         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
15012         * textmodes/reftex-toc.el (reftex-toc-promote-action):
15013         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
15014         (reftex-select-item):
15015         * textmodes/reftex-ref.el (reftex-label-info-update)
15016         (reftex-offer-label-menu):
15017         * textmodes/reftex-index.el (reftex-index-change-entry)
15018         (reftex-index-phrases-info):
15019         * textmodes/reftex-global.el (reftex-create-tags-file)
15020         (reftex-save-all-document-buffers, reftex-ensure-write-access):
15021         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
15022         (reftex-view-crossref-from-bibtex):
15023         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
15024         (reftex-extract-bib-entries-from-thebibliography)
15025         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
15026         * textmodes/refbib.el (r2b-capitalize-title):
15027         (r2b-convert-buffer, r2b-help):
15028         * textmodes/page-ext.el (pages-directory)
15029         (pages-directory-goto-with-mouse):
15030         * textmodes/bibtex.el (bibtex-validate-globally):
15031         * textmodes/bib-mode.el (bib-capitalize-title):
15032         * textmodes/artist.el (artist-clear-buffer, artist-system):
15033         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
15034         (local-set-scheme-interaction-buffer, xscheme-process-filter)
15035         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
15036         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
15037         (xscheme-send-control-g-interrupt, xscheme-start-process)
15038         (xscheme-process-sentinel, xscheme-cd):
15039         * progmodes/verilog-mode.el (verilog-read-always-signals)
15040         (verilog-set-define, verilog-getopt-file)
15041         (verilog-module-inside-filename-p):
15042         * progmodes/sh-script.el:
15043         * progmodes/python.el (python-pdbtrack-get-source-buffer)
15044         (python-pdbtrack-grub-for-buffer, python-execute-file):
15045         * progmodes/octave-inf.el (inferior-octave):
15046         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
15047         (idlwave-shell-compile-helper-routines, idlwave-set-local)
15048         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
15049         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
15050         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
15051         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
15052         (idlwave-shell-filter, idlwave-shell-examine-highlight)
15053         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
15054         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
15055         (idlwave-shell-examine-display, idlwave-shell-run-region)
15056         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
15057         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
15058         * progmodes/idlw-help.el (idlwave-help-get-special-help)
15059         (idlwave-help-get-help-buffer):
15060         * progmodes/gud.el (gud-basic-call, gud-find-class)
15061         (gud-tooltip-activate-mouse-motions-if-enabled):
15062         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
15063         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
15064         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
15065         (ebrowse-tags-next-file):
15066         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
15067         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
15068         (ebnf-eps-finish-and-write):
15069         * progmodes/cpp.el (cpp-edit-save):
15070         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
15071         * progmodes/cc-defs.el (c-emacs-features):
15072         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
15073         (antlr-directory-dependencies):
15074         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
15075         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
15076         (ada-find-any-references, ada-make-filename-from-adaname)
15077         (ada-make-body-gnatstub):
15078         * obsolete/rnews.el (news-list-news-groups):
15079         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
15080         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
15081         * net/rcirc.el (rcirc-debug):
15082         * net/newst-treeview.el (newsticker--treeview-list-add-item)
15083         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
15084         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
15085         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
15086         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
15087         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
15088         (newsticker--treeview-list-clear-highlight)
15089         (newsticker--treeview-list-update-highlight)
15090         (newsticker--treeview-list-highlight-start)
15091         (newsticker--treeview-tree-update-highlight)
15092         (newsticker--treeview-get-selected-item)
15093         (newsticker-treeview-mark-list-items-old)
15094         (newsticker--treeview-set-current-node):
15095         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
15096         * net/newst-backend.el (newsticker--get-news-by-funcall)
15097         (newsticker--get-news-by-wget, newsticker--image-get)
15098         (newsticker--image-sentinel):
15099         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
15100         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
15101         (eudc-ph-close-session):
15102         * net/eudc.el (eudc-save-options):
15103         * language/thai-word.el (thai-update-word-table):
15104         * language/japan-util.el (japanese-string-conversion):
15105         * international/titdic-cnv.el (tsang-quick-converter)
15106         (ziranma-converter, ctlau-converter):
15107         * international/mule-cmds.el (describe-language-environment):
15108         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
15109         (skkdic-convert-postfix, skkdic-convert-prefix):
15110         (skkdic-convert-okuri-nasi, skkdic-convert):
15111         * emacs-lisp/re-builder.el (reb-update-overlays):
15112         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
15113         * emacs-lisp/gulp.el (gulp-send-requests):
15114         * emacs-lisp/find-gc.el (trace-call-tree):
15115         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
15116         (eieio-describe-generic):
15117         * emacs-lisp/eieio-base.el (eieio-persistent-read):
15118         * emacs-lisp/edebug.el (edebug-outside-excursion):
15119         * emacs-lisp/debug.el (debugger-make-xrefs):
15120         * emacs-lisp/cust-print.el (custom-prin1-to-string):
15121         * emacs-lisp/chart.el (chart-new-buffer):
15122         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
15123         Use with-current-buffer.
15124         * textmodes/artist.el (artist-system): Don't call
15125         copy-sequence on a fresh string.
15126         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
15128 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
15130         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
15131         is no item to edit.  (Bug#4820)
15132         (todo-top-priorities): Restore point and restore narrowing in Todo
15133         buffer.  (Bug#4820)
15135 2009-10-31  Glenn Morris  <rgm@gnu.org>
15137         * net/ange-ftp.el (top-level): Don't require dired when compiling.
15138         (comint-last-output-start, comint-last-input-start)
15139         (comint-last-input-end): Don't defvar when compiling.
15140         (ange-ftp-process-file): Use bound-and-true-p.
15142         * pcmpl-rpm.el (top-level): Move provide statement to end.
15143         (pcmpl-rpm): Remove unused custom group.
15145         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
15147         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
15149         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
15150         (byte-compile-warnings): Add `constants' as an option.
15151         (byte-compile-callargs-warn, byte-compile-arglist-warn)
15152         (display-call-tree): Update for byte-compile-fdefinition possibly
15153         returning `(macro lambda ...)'.  (Bug#4778)
15154         (byte-compile-variable-ref, byte-compile-setq-default):
15155         Respect `constants' member of byte-compile-warnings.
15157 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15159         * vc-bzr.el (vc-bzr-revision-keywords): New var.
15160         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
15161         to "submit:".
15163 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
15165         * textmodes/ispell.el (ispell-skip-region-alist):
15166         * international/mule-conf.el (eight-bit):
15167         * international/fontset.el (font-encoding-alist):
15168         * startup.el (pure-space-overflow-message):
15169         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
15170         * paths.el (gnus-nntp-service, rmail-spool-directory)
15171         (term-file-prefix):
15172         * files.el (save-some-buffers-action-alist):
15173         * cmuscheme.el (same-window-buffer-names):
15174         * ielm.el (same-window-buffer-names):
15175         * shell.el (same-window-buffer-names):
15176         * mail/sendmail.el (same-window-buffer-names):
15177         * progmodes/inf-lisp.el (same-window-buffer-names):
15178         * bindings.el (mode-line-client)
15179         (mode-line-column-line-number-mode-map):
15180         * language/tibetan.el (tibetan-precomposition-rule-regexp)
15181         (tibetan-precomposed-regexp): Purecopy string arguments.
15183 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15185         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
15186         (calcDigit-nondigit):
15187         * calc/calc-yank.el (calc-copy-to-buffer):
15188         * calc/calc-units.el (calc-invalidate-units-table):
15189         * calc/calc-trail.el (calc-trail-yank):
15190         * calc/calc-store.el (calc-insert-variables):
15191         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
15192         * calc/calc-prog.el (calc-read-parse-table):
15193         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
15194         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
15195         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
15196         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
15197         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
15198         (calc-graph-name, calc-graph-find-command, calc-graph-view)
15199         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
15200         * calc/calc-ext.el (calc-realign):
15201         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
15202         (calc-embedded-finish-edit, calc-embedded-make-info)
15203         (calc-embedded-finish-command, calc-embedded-stack-change):
15204         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
15206         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
15207         shell-dynamic-complete-filename in preference to
15208         comint-dynamic-complete-filename.
15210         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
15211         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
15212         Don't consider whether the display supports colors.
15213         (bookmark-import-new-list): Use dolist.
15214         (bookmark-bmenu-mode-map): Move initialization into declaration.
15215         (bookmark-bmenu-list): Use dolist, simplify.
15216         (bookmark-show-all-annotations): Use save-selected-window and dolist.
15217         (menu-bar-final-items): Use push.
15219 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
15221         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
15222         it works on remote files.
15223         (vc-hg-diff): Don't pass any `--cwd' argument.
15225 2009-10-27  Kevin Ryde  <user42@zip.com.au>
15227         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15228         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
15229         (Further to Bug#3921).
15231 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
15233         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
15234         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
15235         calling `tramp-imap-put-file'.  Add file size to the call.
15236         (tramp-imap-get-file-entries): Compute also user name, file size,
15237         and date.
15238         (tramp-imap-handle-insert-directory): Insert uid and gid.
15239         (tramp-imap-handle-file-attributes): Transform uid and gid
15240         according to `id-format'.
15241         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
15242         size in header X-Size.
15244 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
15246         * simple.el (transpose-subr): Give clearer error when the mark
15247         is not set.  (Bug#4807)
15249 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
15251         * net/tramp.el (tramp-perl-file-truename): New defconst.
15252         Perl code contributed by yary <not.com@gmail.com> (tiny change).
15253         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
15254         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
15255         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
15257         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
15258         Ignore `dired-call-process'.
15259         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
15261 2009-10-26  Julian Scheid  <julians37@gmail.com>
15263         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
15264         (tramp-get-remote-readlink): New defun.
15265         (tramp-handle-file-truename): Use it.
15266         (tramp-handle-file-exists-p): Check file-attributes cache, assume
15267         file exists if cache value present.
15268         (tramp-check-cached-permissions): New defun.
15269         (tramp-handle-file-readable-p): Use it.
15270         (tramp-handle-file-writable-p): Likewise.
15271         (tramp-handle-file-executable-p): Likewise.
15272         (tramp-handle-file-name-all-completions): Try using Perl to get
15273         partial completions.  When perl not available, combine `cd' and
15274         `ls' into single remote operation and use shell expansion to get
15275         partial remote directory contents.  Set `file-exists-p' cache for
15276         directory and any files returned by ls.  Change cache handling to
15277         support partial directory contents.  Use error message emitted by
15278         remote `cd' or Perl code for local tramp-error.
15279         (tramp-do-copy-or-rename-file-directly): Avoid separate
15280         tramp-send-command-and-check call.
15281         (tramp-handle-process-file): Merge three remote ops into one.
15282         Do not flush all caches when `process-file-side-effects' is set.
15283         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
15284         file-attributes shows uid/gid to be set already.
15286 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
15288         * textmodes/tex-mode.el (tex-dvi-view-command)
15289         (tex-show-queue-command, tex-open-quote):
15290         * progmodes/ruby-mode.el (auto-mode-alist)
15291         (interpreter-mode-alist): Purecopy strings.
15293         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
15295         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
15296         string for the hook, keymap and abbrev table.
15298         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
15300         * x-dnd.el (x-dnd-xdnd-to-action):
15301         * startup.el (fancy-startup-text, fancy-about-text): Change to
15302         defconst from defvar.
15304         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
15306         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
15307         Purecopy initialization strings.
15309         * mail/sendmail.el (mail-header-separator)
15310         (mail-personal-alias-file):
15311         * mail/rmail.el (rmail-default-dont-reply-to-names)
15312         (rmail-ignored-headers, rmail-retry-ignored-headers)
15313         (rmail-highlighted-headers, rmail-secondary-file-directory)
15314         (rmail-secondary-file-regexp):
15315         * files.el (null-device, file-name-invalid-regexp)
15316         (locate-dominating-stop-dir-regexp)
15317         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
15318         (interpreter-mode-alist): Use mapcar instead of mapc.
15320         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
15322         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
15323         (completion-ignored-extensions):
15324         (debug-ignored-errors): Purecopy strings.
15326 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15328         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
15329         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
15330         (pcomplete--here): Use push.
15332         * subr.el (all-completions): Declare the 4th arg obsolete.
15334 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15336         * pcomplete.el (pcomplete-unquote-argument-function): New var.
15337         (pcomplete-unquote-argument): New function.
15338         (pcomplete--common-suffix): Always pay attention to case.
15339         (pcomplete--table-subvert): Quote and unquote the text.
15340         (pcomplete--common-quoted-suffix): New function.
15341         (pcomplete-std-complete): Use it and pcomplete-begin.
15343         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
15344         we're inside a dedicated or minibuffer window.
15346 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
15348         * bookmark.el: Update documentation, especially documentation
15349         of `bookmark-alist' and of the bookmark file format.
15350         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
15352 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
15354         * mail/emacsbug.el (report-emacs-bug): Clarify that the
15355         keybindings apply to the mail buffer (Bug#4003).  Shrink help
15356         window to buffer.
15358         * whitespace.el (whitespace-mode, whitespace-newline-mode)
15359         (global-whitespace-mode, global-whitespace-newline-mode)
15360         (whitespace-toggle-options, global-whitespace-toggle-options):
15361         Doc fix (Bug#3660).
15363         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
15364         of xmltok-start before the end tag was inserted (Bug#2840).
15366         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
15367         patterns that are preceded by an open-paren (Bug#1320).
15369 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
15371         * files.el (delete-directory): Delete symlinks to directories with
15372         delete-file (Bug#4739).
15374 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
15376         * vc.el (vc-backend-for-registration): Rename from
15377         vc-get-backend-for-registration.  Update callers.
15379         * international/mule-cmds.el (set-language-info-alist):
15380         Purecopy lang-env.
15381         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
15382         (charset): Purecopy the name.
15383         (define-char-code-property): Purecopy string arguments.
15385         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15386         Purecopy string arguments.
15388         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15389         * ediff-hook.el (menu-bar-ediff-menu):
15390         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
15391         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
15393 2009-10-24  Glenn Morris  <rgm@gnu.org>
15395         * comint.el (comint-dynamic-list-completions):
15396         * term.el (term-dynamic-list-completions): Use choose-completion rather
15397         than obsolete alias mouse-choose-completion.
15399         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
15400         file-cache-choose-completion.
15401         (file-cache-choose-completion): Handle an optional event argument.
15402         (file-cache-mouse-choose-completion): Make it an obsolete alias.
15404         * progmodes/octave-mod.el (octave-complete-symbol):
15405         Use choose-completion if mouse-choose-completion is ever removed.
15407         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
15408         use.
15410         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
15411         compiler.
15413         * vc-hooks.el (vc-responsible-backend): Fix declaration.
15415 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15417         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
15418         Ignore `pred' now that we receive one.
15419         Handle test-completion specially.
15421 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
15423         * vc.el (vc-responsible-backend): Throw an error if not backend is
15424         found.  Remove the REGISTER argument.  Move the code dealing with
15425         REGISTER ...
15426         (vc-get-backend-for-registration): ... here.  New function.
15427         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
15428         of vc-responsible-backend, pass the file name instead of the
15429         directory name.
15431 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15433         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
15434         New funs.
15435         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
15436         (pcomplete-comint-setup): Don't modify a global var via
15437         accidental side-effects.
15438         (pcomplete-shell-setup): Adjust call accordingly.
15439         (pcomplete-parse-comint-arguments): Use push.
15441 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
15443         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15444         Allow uncapitalized info node names (Bug#3921).
15446         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
15447         to the DEBUG file (Bug#3781).
15449 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
15451         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
15452         dictionary entry (Bug#4579).
15454 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
15456         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
15457         from `rfn-eshadow-update-overlay-hook' when unloading.
15458         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
15459         "rsyncc".  Adjust doc string.
15460         (tramp-temp-buffer-file-name): New buffer-local defvar.
15461         (tramp-handle-insert-file-contents, tramp-handle-write-region):
15462         Keep temporary file when indicated by method ("rsync" and
15463         "rsyncc").
15464         (tramp-handle-write-region): Handle APPEND.
15465         (tramp-delete-temp-file-function): New defun.  Added to
15466         `kill-buffer-hook'.
15468 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
15470         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
15472 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
15474         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
15475         (color-name-rgb-alist, tty-standard-colors)
15476         (tty-color-mode-alist): Change to defconst.
15478         * simple.el (mark-inactive): Purecopy message.
15480         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
15481         (global-map, yank-menu):
15482         * textmodes/ispell.el (ispell-menu-map):
15483         * net/eudc.el (eudc-tools-menu):
15484         * international/mule-cmds.el (describe-language-environment-map)
15485         (setup-language-environment-map, set-coding-system-map)
15486         (mule-menu-keymap):
15487         * vc-hooks.el (vc-menu-entry, vc-menu-map):
15488         * replace.el (occur-mode-map):
15489         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
15491 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
15493         * calc/calc.el (math-read-number, math-read-number-simple):
15494         Use `save-match-data'.
15496 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
15498         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
15499         rather than fiddling with global-map bindings, since it should only
15500         affect per-terminal settings.
15501         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
15503         * minibuffer.el (completion-table-with-terminator): Allow to specify
15504         the terminator-regexp.
15506         * simple.el (switch-to-completions): Look for *Completions* in other
15507         frames as well.
15509         * pcomplete.el: Allow the use of completion-tables.
15510         (pcomplete-std-complete): New command.
15511         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
15512         (pcomplete--here): Use a function for `form' rather than an expression,
15513         so it can be byte-compiled.
15514         (pcomplete-here, pcomplete-here*): Adjust accordingly.
15515         Add edebug declaration.
15516         (pcomplete-show-completions): Remove unused var `curbuf'.
15517         (pcomplete-do-complete, pcomplete-stub):
15518         Don't assume `completions' is a list of strings any more.
15520 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
15522         * find-dired.el (find-name-arg): Fix typo in docstring.
15524 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
15526         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
15527         (pcmpl-linux-fs-types): Same, and update to new modules layout.
15529         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
15530         pcomplete-entries.
15532         * comint.el (comint-read-input-ring, comint-write-input-ring)
15533         (comint-substitute-in-file-name)
15534         (comint-dynamic-complete-as-filename)
15535         (comint-dynamic-simple-complete)
15536         (comint-dynamic-list-filename-completions)
15537         (comint-dynamic-list-completions)
15538         (comint-redirect-results-list-from-process): Minor simplifications.
15540 2009-10-21  Kevin Ryde  <user42@zip.com.au>
15542         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
15543         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
15544         the first form.  And insert a blank line after ";;; Code" since
15545         that's usual style.  (Bug#4612)
15547         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
15549 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15551         * minibuffer.el (completion-table-with-terminator): Properly implement
15552         boundaries, in case `terminator' appears in the suffix.
15553         (completion--embedded-envvar-table): Don't return boundaries if
15554         there's no valid completion.  Simplify.
15555         (completion-file-name-table): New completion table extracted from
15556         completion--file-name-table.
15557         (completion--file-name-table): Use it.
15558         (read-file-name-predicate): Declare obsolete.
15559         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
15560         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
15561         completion-file-name-table, and use the `pred' argument.
15562         * files.el (locate-file-completion-table): Use the `pred' arg rather
15563         than read-file-name-predicate.
15564         (abbreviate-file-name): Use \` rather than ^ for BOS.
15566 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
15568         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
15569         vc-responsible-backend to register, it causes problems.
15571 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15573         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
15575 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
15577         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
15578         (tramp-smb-handle-file-attributes): Use it.
15579         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
15580         (tramp-smb-handle-insert-directory): Use `mapc' rather than
15581         `mapcar'.  Use `tramp-smb-get-stat-capability'.
15582         Add `dired-filename' text properties.
15583         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
15584         (tramp-smb-maybe-open-connection): Simplify check for smbclient
15585         version.
15587 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
15589         * subr.el (read-key-delay): Reduce to 0.01.
15590         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
15591         (bug#4751).
15593 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15595         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
15597         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
15598         (Info-menu): Remove unused vars `last' and `completions'.
15599         (Info-index-nodes): Remove unused var `node'.
15601         * info.el (Info-complete-menu-item): Use complete-with-action.
15603 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
15605         Make vc-annotate work through copies and renames.
15606         * vc-annotate.el (vc-annotate-extract-revision-at-line):
15607         Return the file name too.
15608         (vc-annotate-revision-at-line)
15609         (vc-annotate-find-revision-at-line)
15610         (vc-annotate-revision-previous-to-line)
15611         (vc-annotate-show-log-revision-at-line): Update to get the file
15612         name from vc-annotate-extract-revision-at-line.
15613         (vc-annotate-show-diff-revision-at-line-internal): Change the
15614         argument to mean whether to show a file diff or not.  Get the file
15615         name from vc-annotate-extract-revision-at-line.
15616         (vc-annotate-show-diff-revision-at-line):
15617         Update vc-annotate-show-diff-revision-at-line call.
15618         (vc-annotate-warp-revision): Add an optional file argument.
15620         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
15621         (vc-git-annotate-extract-revision-at-line): Also return the file
15622         name if found.
15624         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
15625         command.  Remove unused code.
15626         (vc-hg-annotate-re): Update to match --follow output.
15627         (vc-hg-annotate-extract-revision-at-line): Also return the file
15628         name if found.
15630         * vc.el: Update annotate-extract-revision-at-line documentation.
15632 2009-10-18  Kevin Ryde  <user42@zip.com.au>
15634         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
15635         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
15637         * net/browse-url.el (browse-url): Identify alist with "consp and
15638         not functionp" and let all other things go down the `apply' leg,
15639         as suggested by Stefan.  (Further to bug#4531.)
15641 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
15643         * minibuffer.el (read-file-name): Check for repeat before putting
15644         a default argument in file-name-history (Bug#4657).
15646         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
15647         read syntax (Bug#4737).
15649         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
15651 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
15653         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
15654         (html-tag-alist, html-tag-help): Add descriptions for undocumented
15655         entries and make note of obsolete tags.
15657 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
15659         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
15661 2009-10-18  Glenn Morris  <rgm@gnu.org>
15663         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
15664         grep, so that binary files (eg international/uni-bidi.el) can match.
15665         Remove test for "UnicodeData" files, since it is hopefully unnecessary
15666         now, and in any case the file header format has changed.
15668 2009-10-17  Glenn Morris  <rgm@gnu.org>
15670         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
15671         (flyspell-get-word, flyspell-large-region)
15672         (flyspell-auto-correct-previous-word): Doc/error message fixes.
15674 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
15676         * Makefile.in (ELCFILES): Add ede/shell.
15678 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
15680         * term/common-win.el (x-colors): Purecopy it.
15682 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15684         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
15685         permissive for when the buffer is empty.
15686         (tar-header-block-tokenize): Decode the username and groupname.
15687         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
15689 2009-10-17  Eric Ludlam  <zappo@gnu.org>
15691         * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
15692         contains multibyte characters, choose first applicable coding
15693         system automatically.
15695 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15697         * international/mule-cmds.el (select-safe-coding-system): If the file
15698         has a coding cookie, use it regardless of any other setting (bug#4712).
15700 2009-10-17  Glenn Morris  <rgm@gnu.org>
15702         * foldout.el (foldout-mouse-swallow-events):
15703         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
15705         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
15706         (dired-keep-marker-copy, dired-keep-marker-hardlink)
15707         (dired-keep-marker-symlink, dired-dwim-target)
15708         (dired-copy-preserve-time): Do not autoload these defcustoms.
15710         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
15711         messages from messing up the file coding.  (Bug#4623)
15713 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
15715         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
15716         if no match is found for the current dictionary.  (Bug#4578)
15718         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
15719         optional, since that is how it is documented, and this is often called
15720         with a nil argument.  (Bug#4577)
15721         (flyspell-external-point-words, flyspell-auto-correct-word)
15722         (flyspell-correct-word-before-point, flyspell-word-search-forward)
15723         (flyspell-word-search-backward): Remove nil argument in calls to
15724         flyspell-get-word, since it is not needed now.
15726 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
15728         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
15730 2009-10-16  Glenn Morris  <rgm@gnu.org>
15732         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
15734 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
15736         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
15737         (ange-ftp-file-size): New function.
15738         (ange-ftp-file-attributes): Use it.
15740 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
15742         * net/tramp-smb.el (tramp-smb-version): New defvar.
15743         (tramp-smb-maybe-open-connection): Use it, in order to avoid
15744         repeated checks.
15746 2009-10-16  Glenn Morris  <rgm@gnu.org>
15748         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
15749         Maybe copy some custom properties from old to new name.  (Bug#4706)
15751 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
15753         * subr.el (error, sit-for, start-process-shell-command)
15754         (start-file-process-shell-command): Set the calling convention
15755         after the function definition.
15757 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15759         * subr.el (error, sit-for, start-process-shell-command)
15760         (start-file-process-shell-command): Use the new
15761         set-advertised-calling-convention feature.
15763 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
15765         * international/ucs-normalize.el (ucs-normalize-version):
15766         Change to 1.2.
15767         (check-range): Adjust for Unicode 5.2.
15769 2009-10-15  Juri Linkov  <juri@jurta.org>
15771         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
15772         to the `menu-item' format.
15774 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
15776         * net/tramp.el (tramp-replace-environment-variables): Do not fail
15777         if the environment variable does not exist.
15779         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15780         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
15781         parameter.
15782         (tramp-smb-handle-add-name-to-file)
15783         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15784         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15785         (tramp-smb-handle-file-attributes)
15786         (tramp-smb-do-file-attributes-with-stat)
15787         (tramp-smb-handle-file-local-copy)
15788         (tramp-smb-handle-insert-directory)
15789         (tramp-smb-handle-make-directory)
15790         (tramp-smb-handle-make-directory-internal)
15791         (tramp-smb-handle-make-symbolic-link)
15792         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
15793         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
15794         (tramp-smb-maybe-open-connection): Apply the changed parameters.
15795         (tramp-smb-read-file-entry): Read Disk names in compressed format.
15796         Handle long file names.
15797         (tramp-smb-get-cifs-capabilities): Check, whether the connection
15798         process is running.
15799         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
15800         Read share names with "-g" option.
15802 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
15804         * net/rcirc.el (rcirc-view-log-file): New command.
15805         (rcirc-track-minor-mode-map): Remove C-c ` binding.
15806         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
15807         specified.
15809 2009-10-15  Glenn Morris  <rgm@gnu.org>
15811         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
15812         from the second command-line argument.
15813         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
15814         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
15815         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
15816         w32-batch-update-autoloads.
15817         * emacs-lisp/autoload.el (autoload-make-program): New variable.
15818         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
15820         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
15821         the headers cannot be located.  Simplify, subtracting superflous
15822         save-excursions.
15824 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15826         Replace completion-base-size by completion-base-position to fix bugs
15827         such as (bug#4699).
15828         * simple.el (completion-base-position): New var.
15829         (completion-base-size): Mark as obsolete.
15830         (choose-completion): Make it work for mouse events as well.
15831         Pass the new base-position to choose-completion-string.
15832         (choose-completion-guess-base-position): New function, extracted from
15833         choose-completion-delete-max-match.
15834         (choose-completion-delete-max-match): Use it.  Make obsolete.
15835         (choose-completion-string): Use the new base-position info.
15836         (completion-root-regexp): Delete.
15837         (completion-setup-function): Preserve completion-base-position.
15838         Eliminate obsolete base-size manipulation.
15839         * minibuffer.el (display-completion-list): Don't mess with base-size.
15840         (minibuffer-completion-help): Set completion-base-position instead.
15841         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
15842         choose-completion.
15843         * textmodes/bibtex.el (bibtex-complete):
15844         * emacs-lisp/crm.el (crm--choose-completion-string):
15845         Adjust to new calling convention.
15846         * complete.el (partial-completion-mode): Use minibufferp to avoid
15847         bumping into incompatible change to choose-completion-string-functions.
15848         * ido.el (ido-choose-completion-string): Make its calling convention
15849         more permissive.
15850         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
15851         base-size manipulation.
15852         (comint-dynamic-list-input-ring): Use dotimes and push.
15853         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
15854         fundamental-mode.  Use `or'.
15856 2009-10-14  Juri Linkov  <juri@jurta.org>
15858         * misearch.el (multi-isearch-next-buffer-from-list)
15859         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
15861 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
15863         * Makefile.in (compile-onefile): Load `bytecomp' rather than
15864         `bytecomp.el'.
15866         * minibuffer.el (completion-pcm--merge-completions): Make sure the
15867         string we return is all made up of text from the completions rather
15868         than part from the completions and part from the input (bug#4219).
15870         * ido.el (ido-everywhere): Use define-minor-mode.
15872         * buff-menu.el (list-buffers, ctl-x-map):
15873         Mark the entry points with ;;;###autoload cookies.
15875 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
15877         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
15878         correctly in the detached head case.
15879         (vc-git-print-log): Remove unused binding.
15881         * vc.el (vc-responsible-backend): When a directory is passed for
15882         for registration create a VC repository if no backend is
15883         responsible for the directory argument.
15884         (vc-deduce-fileset): Tell vc-responsible-backend to register.
15886         * vc.el: Move comments about RCS and SCCS ...
15887         * vc-rcs.el:
15888         * vc-sccs.el: ... here, respectively.
15890 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
15892         * minibuffer.el (completion--file-name-table): Return nil if there's
15893         no file completion, even if substitute-in-file-name changed
15894         the string (bug#4708).
15896 2009-10-13  Juri Linkov  <juri@jurta.org>
15898         * files-x.el (read-file-local-variable-value): Don't filter out
15899         minor modes from mode name completion (bug#4664).
15901 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
15903         * international/mule-cmds.el (ucs-names): Remove exclusion of
15904         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
15906 2009-10-13  Kenichi Handa  <handa@m17n.org>
15908         * international/uni-name.el: Regenerated.
15910 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
15912         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
15913         should be automatically buffer-local, but isn't.)
15915 2009-10-12  Sam Steingold  <sds@gnu.org>
15917         * progmodes/compile.el (compilation-next-error-function): Fix the
15918         timestamps if the buffer has been visited before.
15919         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
15920         non-anchored patterns, like the perl one (bug#3928).
15922 2009-10-12  Glenn Morris  <rgm@gnu.org>
15924         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
15925         Let-bind `size'.
15927 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
15929         * proced.el (proced-unload-function): New function.
15931         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
15932         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
15933         Doc fix.
15935         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
15937 2009-10-11  Juri Linkov  <juri@jurta.org>
15939         * files-x.el (read-file-local-variable-value):
15940         Provide default value only for bound variables (bug#4664).
15942 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
15944         * net/tramp.el (tramp-local-host-p): Function shall return nil for
15945         connection methods like smb.
15947         * net/tramp-cache.el (tramp-flush-connection-property): The hash
15948         can be empty.
15950         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15951         (tramp-smb-file-name-handler-alist): Add handlers for
15952         `add-name-to-file', `make-symbolic-link'.
15953         (tramp-smb-handle-add-name-to-file)
15954         (tramp-smb-do-file-attributes-with-stat)
15955         (tramp-smb-handle-make-symbolic-link)
15956         (tramp-smb-get-cifs-capabilities): New defuns.
15957         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15958         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15959         (tramp-smb-handle-file-local-copy)
15960         (tramp-smb-handle-make-directory-internal)
15961         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
15962         The file name syntax depends on cifs capabilities.
15963         (tramp-smb-handle-file-attributes):
15964         Call `tramp-smb-do-file-attributes-with-stat' if possible.
15965         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
15966         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
15968 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
15970         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
15971         (eieio-defclass): Apply deftype handler and setf-method properties
15972         directly.
15973         (eieio-add-new-slot): Avoid union function from cl library.
15974         (eieio--typep): New function.
15975         (eieio-perform-slot-validation): Use it.
15977 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
15979         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
15980         Update documentation to refer to the variables documented in r1.135.
15981         (Bug#4188)
15983 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
15985         * bookmark.el (Info-suffix-list): Remove this unused variable.
15986         (bookmark-current-point): Remove this obsolete variable.
15987         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
15988         Adjust for removal of bookmark-current-point.
15990         (bookmarks-already-loaded, bookmark-current-buffer)
15991         (bookmark-yank-point): Document.  (Bug#4188)
15993 2009-10-10  Glenn Morris  <rgm@gnu.org>
15995         * frame.el (frame-height): Doc fix.
15997         * calendar/calendar.el (calendar-split-width-threshold): New option.
15998         (calendar-basic-setup): Use calendar-split-width-threshold.
16000 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
16002         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
16003         Ideographic Supplement" range (U+1F200..U+1F2FF).
16005 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
16007         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
16008         since the list will have been rebuilt anyway.  (Bug#4349)
16010 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
16012         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
16013         (bookmark-bmenu-execute-deletions): Don't save here, as
16014         bookmark-delete will now do so if necessary.
16015         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
16016         (Bug#4348)
16018 2009-10-09  Glenn Morris  <rgm@gnu.org>
16020         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
16022 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
16024         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
16025         (bookmark-jump-other-window): Just invoke bookmark-jump with new
16026         argument now, so the two function's behaviors will match.  (Bug#3645)
16028 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
16030         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
16031         (tramp-file-name-real-host, tramp-file-name-port):
16032         Apply `save-match-data'.
16034         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
16035         case both directories are remote.
16036         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
16037         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
16039 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
16041         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
16043 2009-10-07  Glenn Morris  <rgm@gnu.org>
16045         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
16046         of concat.
16048 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
16050         * files-x.el (read-file-local-variable): Include some
16051         non-user-variables in the completion table (bug#4664).
16053 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
16055         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
16056         message.
16058         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16059         (tramp-smb-file-name-handler-alist): Add handler for
16060         `copy-directory', `expand-file-name', `set-file-modes'.
16061         (tramp-smb-handle-copy-directory)
16062         (tramp-smb-handle-expand-file-name)
16063         (tramp-smb-handle-set-file-modes): New defuns.
16064         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
16065         (tramp-smb-handle-file-attributes): Simplify check for retrieving
16066         entry.
16067         (tramp-smb-handle-insert-directory): Don't flush the cache.
16068         (tramp-smb-maybe-open-connection): Check for samba client and
16069         server versions.
16071 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
16073         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
16074         to not error out of search for "^lisp=" fails.
16076 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
16078         * makefile.w32-in (WINS_UPDATES): New macro.
16079         (custom-deps, finder-data, autoloads): Use it.
16081 2009-10-07  Glenn Morris  <rgm@gnu.org>
16083         * Makefile.in (autoloads): Revert previous change.
16084         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
16085         the list of preloaded files passed on the command-line, get
16086         it from src/Makefile.
16088         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
16089         show the original buffer rather than a random one.
16091 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
16093         * help.el (describe-no-warranty): Place point in a slightly better
16094         position in the GPLv3 text.
16096 2009-10-06  Sam Steingold  <sds@gnu.org>
16098         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
16099         the comm attribute is present before calling regexp-quote.
16101 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
16103         * play/animate.el (animate-string): For good effect, make sure
16104         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
16106         * play/animate.el (animate-sequence, animate-birthday-present):
16107         * misc.el (butterfly): Don't set `indent-tabs-mode'.
16109 2009-10-06  Glenn Morris  <rgm@gnu.org>
16111         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
16113         * emacs-lisp/autoload.el (autoload-excludes): New variable.
16114         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
16115         (batch-update-autoloads): Process a string value of autoload-excludes,
16116         set during the build process.
16117         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
16119         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
16120         inside with-parsed...  macro so that `v' is defined.
16122         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
16123         * progmodes/fortran.el (fortran-end-of-block)
16124         (fortran-beginning-of-block):
16125         Also push mark in the macro case.
16127         * emerge.el (emerge-show-file-name):
16128         * calc/calc.el (calc-quit):
16129         * calc/calc-misc.el (calc-big-or-small):
16130         * calc/calc-graph.el (calc-graph-view):
16131         * calc/calc-ext.el (calc-reset):
16132         * calendar/calendar.el (calendar-basic-setup):
16133         Use window-full-height-p.
16135         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
16136         header we don't understand, don't insert another.  (Bug#4624)
16137         If changing mime charset, insert the new one in the right place.
16139 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
16141         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
16142         (cal-tex-cursor-month): Correctly increment the end date for diary and
16143         holiday listing.  (Bug#4626)
16145 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16147         * help-fns.el (describe-function-1): Don't burp if the function is not
16148         a symbol.
16150 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
16152         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
16153         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
16154         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
16155         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
16157         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
16158         (eieio-default-superclass): Reflow docstrings.
16159         (this, class-option-assoc, defclass, eieio-class-un-autoload)
16160         (eieio-unbind-method-implementations, defmethod)
16161         (eieio-validate-slot-value, eieio-validate-class-slot-value)
16162         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
16163         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
16164         (eieio-slot-originating-class-p, eieio-slot-name-index)
16165         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
16166         (constructor, initialize-instance, no-next-method, object-print)
16167         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
16168         Fix typos in docstrings.
16169         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
16170         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
16171         (next-method-p): Doc fixes.
16172         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
16173         Fix typos in error messages.
16174         (eieio-defmethod): Fix typo in description of generic method.
16176         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
16177         (eieio-persistent-save-interactive, slot-missing):
16178         Fix typos in docstrings.
16179         (eieio-instance-inheritor-slot-boundp): Doc fix.
16181         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
16182         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
16184         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
16185         (eieio-custom-object-apply-reset):
16186         Fix typos in docstrings and error messages.
16188         * emacs-lisp/eieio-datadebug.el (data-debug-show):
16189         Fix typo in docstring.
16191         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
16192         (eieio-browse-tree): Doc fix.
16193         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
16194         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
16195         Fix typos in docstrings.
16197         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
16198         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
16199         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
16200         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
16201         Reflow docstrings.
16203 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
16205         * vc-hg.el (log-view-vc-backend): Declare for compiler.
16206         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
16207         Set log-view-vc-backend so that diff can work.
16209         * log-view.el (log-view-diff): Use vc-diff-internal instead of
16210         vc-version-diff.
16211         (vc-diff-internal): Autoload this instead of vc-version-diff.
16213 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
16215         * simple.el (eval-expression): Doc fix.
16217         * progmodes/cwarn.el (cwarn-mode): Doc fix.
16219 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
16221         * files.el (directory-files-no-dot-files-regexp): New defconst.
16222         (delete-directory): Use it.
16223         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
16225         * net/tramp.el (tramp-verbose): Fix docstring.
16226         (tramp-methods): Add recursive option to `tramp-copy-args'.
16227         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
16228         "scp1_old", "scp2_old", "rsync", "rsyncc".
16229         (tramp-default-method): Check also for `auth-source-user-or-password'.
16230         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
16231         Add handler for `copy-directory'.
16232         (tramp-handle-copy-directory): New defun.
16233         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
16234         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
16235         Optimize sent command.
16237 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16239         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
16240         window if necessary.
16242         * calendar/calendar.el (calendar-basic-setup): Don't call
16243         switch-to-buffer in a dedicated window.
16245 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
16247         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
16248         don't do anything related to relocating, just return nil.
16249         (bookmark-error-no-filename): New error.
16250         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
16251         bookmark has no file.  Don't even attempt to handle things that
16252         are not files; the whole point of custom handlers is to keep that
16253         knowledge elsewhere anyway.  Tighten some comments.
16254         (bookmark-file-or-variation-thereof): Remove now-unused function.
16255         (bookmark-location): Doc string fix.
16256         (Bug#4250)
16258 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
16260         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
16261         don't use a file dialog, because they usually don't know how to read
16262         a directory target from the user.  (Bug#4230)
16263         Also, make sure the prompt can display directories as well as files.
16265 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
16267         * bookmark.el (bookmark-set, bookmark-buffer-name):
16268         Improve doc strings.  (Bug#1193)
16270 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
16272         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
16273         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
16274         (bookmark-get-annotation, bookmark-set-annotation)
16275         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
16276         (bookmark-set-position, bookmark-get-front-context-string)
16277         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
16278         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
16279         (bookmark-jump-other-window, bookmark-handle-bookmark)
16280         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
16281         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
16282         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
16283         Improve doc strings to say whether bookmark can be a string or
16284         a record or both, and make other consistency and clarity fixes.
16285         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
16286         (bookmark-default-annotation-text, bookmark-yank-word)
16287         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
16288         (bookmark-import-new-list, bookmark-maybe-rename)
16289         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
16290         (bookmark-bmenu-bookmark): Give these doc strings.
16291         (bookmark-bmenu-check-position): Give this a doc string, but also
16292         add a FIXME comment about how the function may be pointless.
16293         (bookmark-default-handler): Rework doc string and change a
16294         parameter name, to clarify that this takes a bookmark record
16295         not a bookmark name.
16296         (bookmark-set): Change a parameter name to indicate its meaning,
16297         and improve the doc string a bit.
16298         (Bug#4188)
16300 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
16302         * bookmark.el (bookmark-alist): Document the new `handler' element
16303         in the param alist.
16304         (bookmark-make-record-function): Adjust documentation for above.
16305         (Bug#4193)
16307 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
16309         * info.el (Info-bookmark-make-record): Document this function.
16310         (Info-bookmark-jump): Document with a doc string, not just a comment.
16311         (Bug#4203)
16313 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
16315         * files.el (copy-directory): New defun.
16317         * dired-aux.el (dired-copy-file-recursive): Use it.
16319 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
16321         * files-x.el (modify-dir-local-variable)
16322         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
16323         docstrings.
16325         * recentf.el (recentf-unload-function): New function.
16327 2009-10-04  Glenn Morris  <rgm@gnu.org>
16329         * window.el (window-full-height-p): Add doc string.
16331 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
16333         * window.el (window-full-height-p): New function.  (Bug#4543)
16335 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
16337         * vc.el: Remove commented out code.
16338         (vc-derived-from-dir-mode): Remove, unused.
16339         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
16341 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
16343         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
16344         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
16345         there could be recursive loading when `default-directory' is a
16346         remote file name.  (Bug#4614)
16348 2009-10-03  Glenn Morris  <rgm@gnu.org>
16350         * calendar/calendar.el (calendar-basic-setup): Handle the case where
16351         the frame is wide.
16352         (calendar-generate-window): Test for shrinkability rather than width.
16354         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
16355         reusing existing buffers, in case we happen to visit two files with the
16356         same basename.  (Bug#4593)
16358 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
16360         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
16361         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
16362         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
16363         subdirs of cedet as well.
16364         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
16366 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
16368         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
16369         Obey advertised-signature-table.
16371         * help-fns.el (help-function-arglist): Don't check
16372         advertised-signature-table.
16373         (describe-function-1): Do it here instead so it also applies to subrs.
16375 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
16377         * simple.el (start-file-process): Say in the doc-string, that file
16378         handlers might not support pty association, if PROGRAM is nil.
16380         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
16381         HOST and USER are strings.  They are nil, when there are
16382         incomplete entries in ~/.netrc, for example.
16383         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
16384         root directory ("device busy" error otherwise).
16386         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
16387         Flush file properties of created directory.
16389 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
16391         * makefile.w32-in (WINS_BASIC): Remove cedet.
16392         (WINS_CEDET): Add cedet.
16393         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
16395 2009-10-02  Kevin Ryde  <user42@zip.com.au>
16397         * net/browse-url.el (browse-url): Pass any symbol in
16398         browse-url-browser-function to `apply', since if you've mistakenly put
16399         an unbound symbol then the error is clearer.  (Bug#4531)
16401 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
16403         * allout.el (allout-init, allout-back-to-current-heading)
16404         (allout-beginning-of-current-entry, allout-ascend-to-depth)
16405         (allout-ascend, allout-up-current-level, allout-end-of-level)
16406         (allout-previous-visible-heading, allout-forward-current-level)
16407         (allout-backward-current-level, allout-show-children):
16408         * apropos.el (apropos-describe-plist):
16409         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
16410         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
16411         * completion.el (add-completion, add-permanent-completion):
16412         * descr-text.el (describe-text-category, describe-char):
16413         * desktop.el (desktop-lazy-abort):
16414         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
16415         * dired.el (dired-build-subdir-alist):
16416         * ediff.el (ediff-version):
16417         * elide-head.el (elide-head, elide-head-show):
16418         * emerge.el (emerge-version):
16419         * env.el (getenv):
16420         * face-remap.el (variable-pitch-mode):
16421         * faces.el (describe-face):
16422         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
16423         (dired-at-point):
16424         * files.el (find-file-existing, auto-save-mode):
16425         * font-lock.el (font-lock-fontify-buffer):
16426         * help-fns.el (describe-function, describe-variable)
16427         (describe-syntax, describe-categories):
16428         * help.el (view-lossage, describe-bindings, describe-key)
16429         (describe-mode):
16430         * hexl.el (hexl-current-address):
16431         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
16432         * info.el (Info-goto-emacs-key-command-node):
16433         * log-edit.el (log-edit-insert-cvs-template)
16434         (log-edit-insert-cvs-rcstemplate):
16435         * menu-bar.el (menu-bar-mode):
16436         * mouse.el (mouse-appearance-menu):
16437         * newcomment.el (comment-indent-new-line):
16438         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
16439         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
16440         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
16441         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
16442         * recentf.el (recentf-mode):
16443         * savehist.el (savehist-mode, savehist-save):
16444         * shadowfile.el (shadow-copy-files):
16445         * simple.el (kill-ring-save, next-line, previous-line)
16446         (normal-erase-is-backspace-mode):
16447         * strokes.el (strokes-update-window-configuration)
16448         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
16449         (strokes-xpm-for-stroke):
16450         * time.el (emacs-uptime, emacs-init-time):
16451         * tutorial.el (tutorial--describe-nonstandard-key)
16452         (tutorial--detailed-help):
16453         * type-break.el (type-break-mode)
16454         (type-break-mode-line-message-mode, type-break-query-mode)
16455         (type-break-guesstimate-keystroke-threshold):
16456         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
16457         * version.el (emacs-version):
16458         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
16459         * winner.el (winner-mode):
16460         * calendar/timeclock.el (timeclock-in, timeclock-out)
16461         (timeclock-status-string, timeclock-change)
16462         (timeclock-workday-remaining-string)
16463         (timeclock-workday-elapsed-string)
16464         (timeclock-when-to-leave-string):
16465         * calendar/todo-mode.el (todo-add-category):
16466         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
16467         * emacs-lisp/autoload.el (update-file-autoloads):
16468         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
16469         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
16470         (checkdoc-message-text, checkdoc-defun):
16471         * emacs-lisp/debug.el (debugger-list-functions):
16472         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
16473         * emacs-lisp/eieio-opt.el (eieio-describe-class)
16474         (eieio-describe-generic):
16475         * emacs-lisp/lisp-mnt.el (lm-synopsis):
16476         * emacs-lisp/shadow.el (list-load-path-shadows):
16477         * emulation/cua-base.el (cua-mode):
16478         * emulation/edt.el (edt-set-scroll-margins):
16479         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
16480         (tpu-toggle-regexp, tpu-toggle-search-direction)
16481         (tpu-toggle-rectangle, tpu-toggle-control-keys):
16482         * emulation/tpu-extras.el (tpu-set-scroll-margins):
16483         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
16484         (viper-set-parsing-style-toggling-macro)
16485         (viper-set-emacs-state-searchstyle-macros):
16486         * emulation/viper.el (viper-set-hooks):
16487         * eshell/esh-mode.el (eshell-truncate-buffer):
16488         * international/mule-cmds.el (prefer-coding-system)
16489         (describe-input-method, describe-language-environment):
16490         * international/mule-diag.el (list-character-sets)
16491         (describe-character-set, describe-coding-system)
16492         (describe-fontset, list-fontsets, list-input-methods):
16493         * mail/sendmail.el (mail-signature):
16494         * net/ange-ftp.el (ange-ftp-copy-file):
16495         * net/browse-url.el (browse-url):
16496         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
16497         * net/quickurl.el (quickurl-add-url):
16498         * net/rcirc.el (names, topic):
16499         * net/xesam.el (xesam-mode):
16500         * play/5x5.el (5x5-new-game):
16501         * play/yow.el (apropos-zippy):
16502         * progmodes/ada-mode.el (ada-mode-version):
16503         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
16504         (f90-end-of-block)
16505         (f90-beginning-of-block):
16506         * progmodes/fortran.el (fortran-end-of-block)
16507         (fortran-beginning-of-block):
16508         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
16509         * progmodes/python.el (python-describe-symbol, python-shell):
16510         * term/ns-win.el (ns-print-buffer):
16511         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
16512         * textmodes/flyspell.el (flyspell-mode-on):
16513         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
16514         (pages-directory-for-addresses):
16515         * textmodes/table.el (table-recognize-cell)
16516         (table-query-dimension, table-generate-source)
16517         (table-insert-sequence, table--warn-incompatibility):
16518         * textmodes/tex-mode.el (tex-validate-buffer):
16519         * textmodes/texinfmt.el (texinfmt-version)
16520         (texinfo-format-buffer):
16521         Use `called-interactively-p' instead of `interactive-p'.
16523 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
16525         * image-mode.el (image-toggle-display):
16526         * emacs-lisp/elp.el (elp-instrument-function):
16527         * emacs-lisp/advice.el (ad-make-advised-definition):
16528         * emacs-lisp/easy-mmode.el (define-minor-mode):
16529         * net/browse-url.el (browse-url-maybe-new-window):
16530         * progmodes/sh-script.el (sh-learn-buffer-indent):
16531         Pass new argument 'any to `called-interactively-p'.
16533 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
16535         * international/uni-bidi.el:
16536         * international/uni-category.el:
16537         * international/uni-combining.el:
16538         * international/uni-comment.el:
16539         * international/uni-decimal.el:
16540         * international/uni-decomposition.el:
16541         * international/uni-digit.el:
16542         * international/uni-lowercase.el:
16543         * international/uni-mirrored.el:
16544         * international/uni-name.el:
16545         * international/uni-numeric.el:
16546         * international/uni-old-name.el:
16547         * international/uni-titlecase.el:
16548         * international/uni-uppercase.el:
16549         Regenerate from Unicode 5.2.0 data.
16551 2009-10-01  Glenn Morris  <rgm@gnu.org>
16553         * Makefile.in (ELCFILES): Regenerate.
16555 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
16557         * subr.el (interactive-p): Mark obsolete.
16558         (called-interactively-p): Make the optional-ness of `kind' obsolete.
16559         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
16560         advertised-signature-table for subroutines as well.
16562         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
16563         (set-advertised-calling-convention): New function.
16564         (make-obsolete, define-obsolete-function-alias)
16565         (make-obsolete-variable, define-obsolete-variable-alias):
16566         Make the optional-ness of `when' obsolete.
16567         (define-obsolete-face-alias): Make `when' non-optional.
16568         * help-fns.el (help-function-arglist):
16569         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
16570         Use advertised-signature-table.
16572 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
16574         * files.el (delete-directory): New defun.  The original function
16575         in fileio.c has been renamed to `delete-directory-internal'.
16577         * dired.el (dired-delete-file): Call `delete-directory' with
16578         RECURSIVE parameter.
16580         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
16581         parameter RECURSIVE.  Implementation is missing.
16583         * net/tramp.el (tramp-handle-make-directory): Flush upper
16584         directory's file properties.
16585         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
16586         (tramp-handle-dired-recursive-delete-directory): Flush directory
16587         properties after the remove command only.
16589         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16590         Handle optional parameter RECURSIVE.
16592         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16593         Handle optional parameter RECURSIVE.
16595         * net/tramp-smb.el (tramp-smb-errors): Add error message for
16596         connection timeout.
16597         (tramp-smb-handle-delete-directory): Handle optional parameter
16598         RECURSIVE.
16600 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
16602         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
16603         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
16604         (byte-compile-defmacro): Use backquotes.
16606         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
16608         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
16609         has no associated file.
16610         (vc-resynch-buffer): Use vc-dir-buffers.
16612 2009-10-01  Glenn Morris  <rgm@gnu.org>
16614         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
16615         (chart-file-count):
16616         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
16617         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
16618         * emacs-lisp/eieio-opt.el (eieio-describe-class):
16619         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
16620         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
16621         (eieio-copy-parents-into-subclass, make-instance, class-children)
16622         (eieio-generic-form):
16624         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
16625         match-data.  (Bug#4555).
16627         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
16628         rather than parsing it as a regexp.  This relaxes the layout
16629         requirements and makes errors easier to detect.
16630         (check-declare-verify): Check file is regular.
16631         (check-declare-directory): Doc fix.
16632         * subr.el (declare-function): Doc fix.
16634         * ibuffer.el (ibuffer-format-qualifier):
16635         * isearch.el (hi-lock-regexp-okay):
16636         * calc/calc.el (math-zerop):
16637         * mail/uce.el (rmail-msgbeg, rmail-msgend):
16638         * term/w32-win.el (setup-default-fontset, set-fontset-font):
16639         Remove unused declarations.
16641 2009-09-30  Eric Ludlam  <zappo@gnu.org>
16643         * emacs-lisp/eieio.el (boolean-p): Delete.
16645 2009-09-30  Glenn Morris  <rgm@gnu.org>
16647         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
16649         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
16650         filename is not a string.
16652 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
16654         * files.el (safe-local-eval-forms): Fix typo.
16656 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
16658         * vc-hooks.el (vc-dir-buffers): New var.
16659         (vc-state-refresh): New function.
16660         (vc-state): Use it.
16661         (vc-after-save): Always ask the backend to recompute the new state.
16662         Always call vc-dir if necessary, using vc-dir-buffers.
16663         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
16664         Use vc-dir-buffers.
16665         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
16666         (vc-dir-prepare-status-buffer, vc-dir-update)
16667         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
16668         Don't call expand-file-name on default-directory.
16670 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
16672         * speedbar.el (speedbar-item-delete):
16673         * calc/calc-prog.el (calc-kbd-if):
16674         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
16676         * epa.el (epa-key-list-mode-map):
16677         * hi-lock.el (hi-lock-menu): Fix typos in menus.
16679         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
16680         (hs-show-hook): Fix typo in docstring.
16682 2009-09-29  Glenn Morris  <rgm@gnu.org>
16684         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
16685         file-name-nondirectory call preventing location of cedet files.
16686         (check-declare-verify): Use literal search rather than re-search.
16687         Add basic defmethod and defclass, and define-overloadable-function.
16689         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16690         Use tramp-compat-file-attributes rather than nonexistent
16691         tramp-compat-handle-file-attributes.
16693         * Makefile.in (lisptagsfiles4): New.
16694         (AUTOGENEL): Add cedet loaddefs files.
16695         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
16696         (update-elclist, compile-always, backup-compiled-files)
16697         (bootstrap-clean): Add yet another directory level.
16698         (update-elclist): Use LC_COLLATE rather than COLLATE.
16699         (ELCFILES): Update, via `make update-elclist'.
16701 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
16703         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
16704         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
16705         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
16707 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
16709         * Makefile.in (lisptagsfiles3): Define.
16710         (TAGS, TAGS-LISP): Use it.
16711         (update-elclist): Add third directory level to look for elc files.
16712         (compile-always): Likewise.
16713         (backup-compiled-files): Likewise.
16714         (bootstrap-clean): Likewise.
16715         (ELCFILES): Update.
16717 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
16719         * Makefile.in (ELCFILES): Add CEDET files.
16721 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
16723         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
16725         * net/tramp.el (top): Require tramp-imap.
16727         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16728         Use `tramp-compat-handle-file-attributes'.
16730 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
16732         * net/tramp-imap.el: New package.
16734 2009-09-28  Eric Ludlam  <zappo@gnu.org>
16736         * emacs-lisp/chart.el:
16737         * emacs-lisp/eieio-base.el:
16738         * emacs-lisp/eieio-comp.el:
16739         * emacs-lisp/eieio-custom.el:
16740         * emacs-lisp/eieio-datadebug.el:
16741         * emacs-lisp/eieio-opt.el:
16742         * emacs-lisp/eieio-speedbar.el:
16743         * emacs-lisp/eieio.el: New files.
16745 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
16747         * whitespace.el (whitespace-trailing-regexp)
16748         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
16749         Fix doc string.
16751 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
16753         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
16754         menu.
16756         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
16757         menu-bar-ediff-menu.
16759         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
16760         define-overloadable-function.
16762         * progmodes/autoconf.el: Provide autoconf as well, so that this
16763         file can be `require'd.
16765         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
16767         * emacs-lisp/autoload.el (generated-autoload-feature)
16768         (generated-autoload-load-name): New vars.
16769         (autoload-rubric, autoload-generate-file-autoloads): Use them.
16770         (make-autoload): Recognize define-overloadable-function and
16771         defclass forms (for EIEIO).
16773         * Makefile.in (update-subdirs): Exclude cedet directory.
16775 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
16777         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
16779         * faces.el: Default light-background background for region face to
16780         ns_selection_color under NS.
16782 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
16784         * net/imap-hash.el: New library, see NEWS.
16786         * Makefile.in (ELCFILES): Add imap-hash.el.
16788 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
16790         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
16791         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
16792         * help-macro.el (make-help-screen): Avoid using an ambiguous function
16793         definition where the docstring could be taken for the return value.
16795 2009-09-26  Glenn Morris  <rgm@gnu.org>
16797         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
16798         Add option to only show images below a certain size.
16799         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
16800         save-excursion calls.
16802 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
16804         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
16805         subdirectories) and eieio.
16807 2009-09-26  Alan Mackenzie  <acm@muc.de>
16809         * progmodes/cc-engine.el (c-beginning-of-statement-1):
16810         Correct buggy bracketing.  (Bug#4289)
16812         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
16813         character constants (as case labels).  (Bug#4289)
16815 2009-09-25  Juri Linkov  <juri@jurta.org>
16817         * files.el (safe-local-eval-forms): Allow time-stamp in
16818         before-save-hook (Bug#4554).
16820 2009-09-25  Drew Adams  <drew.adams@oracle.com>
16822         * menu-bar.el (list-buffers-directory): Doc fix.
16824 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16826         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
16827         Try and avoid copying twice the same paragraph.
16828         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
16829         Remove save-excursion.
16830         (log-edit-changelog-entry): Do it here instead.
16832 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
16834         * bs.el (bs--get-file-name): Use `list-buffers-directory'
16835         when available, instead of hardcoding mode names.  Doc fix.
16837         * menu-bar.el (list-buffers-directory): Add docstring.
16838         Make automatically buffer-local.
16840         * dired.el (dired-mode):
16841         * files.el (cd-absolute):
16842         * pcvs.el (cvs-temp-buffer):
16843         * pcvs-util.el (cvs-get-buffer-create):
16844         * shell.el (shell-mode):
16845         * vc-dir.el (vc-dir-mode):
16846         Don't make `list-buffers-directory' buffer local.
16848 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
16850         * comint.el (comint-exec, comint-run, make-comint):
16851         Doc fixes (Bug#4542).
16853 2009-09-25  Glenn Morris  <rgm@gnu.org>
16855         * mail/rmailmm.el (rmail-mime): New custom group.
16856         Move all defcustoms in this file into this group.
16857         (rmail-mime-media-type-handlers-alist): Revert previous change.
16858         (rmail-mime-show-images): New option.
16859         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
16860         references to it, since it wasn't actually used for anything.
16861         (rmail-mime-insert-image): New function.
16862         (rmail-mime-image): Use rmail-mime-insert-image.
16863         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
16864         obey the value of `rmail-mime-show-images' option.  Print the size of
16865         attachments.
16867 2009-09-25  David Engster  <deng@randomsample.de>
16869         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
16871 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
16873         * whitespace.el: Does not highlight trailing spaces While point is
16874         at end of line.  Does not highligt spaces at beginning of buffer
16875         while point is at beginning of buffer.  Does not highlight spaces
16876         at end of buffer while point is at end of buffer.  (Bug#4177)
16877         New version 12.0.
16878         (whitespace-display-mappings): Adjust initialization.
16879         (whitespace-point, whitespace-font-lock-refontify): New vars.
16880         (whitespace-color-on, whitespace-color-off): Adjust code.
16881         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
16882         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
16883         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
16885 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
16887         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
16889         * textmodes/sgml-mode.el: Remove xml-mode alias.
16891         * files.el (auto-mode-alist, conf-mode-maybe)
16892         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
16894 2009-09-24  Alan Mackenzie  <acm@muc.de>
16896         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
16897         c-forward-conditionals, but it doesn't move point and doesn't set
16898         the mark.
16899         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
16900         (c-down-conditional-with-else, c-backward-conditional)
16901         (c-forward-conditional): Refactor to use c-scan-conditionals.
16903 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
16905         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
16906         (help-default-arg-highlight): Remove.
16907         (help-highlight-arg): New function.
16908         (help-do-arg-highlight): Use it.
16909         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
16911 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16913         * term.el (term-set-scroll-region, term-handle-ansi-escape):
16914         Undo last change, which didn't fix the problem and introduced others.
16916 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
16918         * progmodes/gdb-mi.el: Don't require speedbar.
16919         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
16921 2009-09-24  Glenn Morris  <rgm@gnu.org>
16923         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
16925         * term/ns-win.el (ns-reg-to-script): Define for compiler.
16927         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
16928         there is no newline after the final mime boundary.  (Bug#4539)
16929         Move markers on insertion so that any buttons inserted don't end up in
16930         the next part of a multipart message.
16931         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
16932         (rmail-mime-bulk-handler): Optionally handle images.
16933         (rmail-mime-image): New button action.
16934         (rmail-mime-image-handler): New function.
16935         (rmail-mime-mode): New mode.
16936         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
16938 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16940         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
16941         than just dropping elements from it (bug#4504).
16943         * term.el (term-set-scroll-region): Don't move cursor any more.
16944         (term-handle-ansi-escape): Call term-goto here instead.
16945         Suggested by Ivan Kanis <apple@kanis.eu>.
16947         * term.el: Require CL.
16948         (term-ansi-reset): New function.
16949         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
16950         (term-handle-colors-array): Simplify.
16952 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
16954         * allout.el (allout-overlay-interior-modification-handler)
16955         (allout-obtain-passphrase):
16956         * epa-file.el (epa-file-write-region):
16957         * ps-print.el (ps-begin-job):
16958         * vc-hooks.el (vc-toggle-read-only):
16959         * vc-rcs.el (vc-rcs-rollback):
16960         * vc-sccs.el (vc-sccs-rollback):
16961         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
16962         (vc-version-diff, vc-revert, vc-rollback):
16963         * wdired.el (wdired-check-kill-buffer):
16964         * emacs-lisp/authors.el (authors):
16965         * net/socks.el (socks-open-connection):
16966         * net/zeroconf.el (zeroconf-service-add-hook):
16967         * obsolete/vc-mcvs.el (vc-mcvs-register):
16968         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
16969         (gdb-select-frame):
16970         * progmodes/grep.el (lgrep, rgrep):
16971         * progmodes/idlw-help.el (idlwave-help-check-locations)
16972         (idlwave-help-html-link, idlwave-help-assistant-open-link):
16973         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
16974         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
16975         (reftex-toc-rename-label): Fix typos in error messages.
16977         * dired-aux.el (dired-do-shell-command): Reflow docstring.
16978         (dired-copy-how-to-fn): Doc fix.
16979         (dired-files-attributes, dired-read-shell-command):
16980         Fix typos in docstrings.
16982         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
16983         (dired-x-find-file-other-window): Reflow docstrings.
16984         (dired-omit-marker-char, dired-read-shell-command)
16985         (dired-x-submit-report): Fix typos in docstrings.
16987         * shell.el (shell-mode-hook):
16988         * view.el (View-scroll-line-forward):
16989         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
16990         Fix typos in docstrings.
16992         * net/dig.el (dig-invoke): Fix typo in docstring.
16993         (query-dig): Reflow docstring.
16995         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
16996         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
16997         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
16998         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
16999         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
17000         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
17001         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
17002         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
17003         (idlwave-completion-map, idlwave-current-indent)
17004         (idlwave-custom-ampersand-surround, idlwave-customize)
17005         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
17006         (idlwave-define-abbrev, idlwave-determine-class-special)
17007         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
17008         (idlwave-end-block-reg, idlwave-end-of-statement)
17009         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
17010         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
17011         (idlwave-explicit-class-listed, idlwave-file-header)
17012         (idlwave-fill-paragraph, idlwave-find-class-definition)
17013         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
17014         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
17015         (idlwave-in-quote, idlwave-indent-action-table)
17016         (idlwave-indent-expand-table, idlwave-indent-line)
17017         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
17018         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
17019         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
17020         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
17021         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
17022         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
17023         (idlwave-outlawed-buffers, idlwave-popup-select)
17024         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
17025         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
17026         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
17027         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
17028         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
17029         (idlwave-statement-type, idlwave-struct-skip)
17030         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
17031         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
17032         (idlwave-what-module-find-class): Fix typos in docstrings.
17033         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
17034         (idlwave-calculate-cont-indent, idlwave-expand-equal)
17035         (idlwave-find-module, idlwave-find-structure-definition)
17036         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
17037         (idlwave-list-load-path-shadows, idlwave-next-statement)
17038         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
17039         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
17040         (idlwave-template): Reflow docstrings.
17042         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
17043         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
17044         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
17045         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
17046         (idlwave-shell-display-line, idlwave-shell-display-wframe)
17047         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
17048         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
17049         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
17050         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
17051         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
17052         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
17053         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
17054         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
17055         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
17056         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
17057         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
17058         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
17059         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
17060         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
17061         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
17062         Fix typos in docstrings.
17063         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
17064         (idlwave-shell-hide-output, idlwave-shell-mode)
17065         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
17066         Reflow docstrings.
17068         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
17070 2009-09-24  Ivan Kanis  <apple@kanis.eu>
17072         * term.el (term-bold-attribute): New var.
17073         (term-handle-colors-array): Use it.
17075 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
17077         * progmodes/gdb-mi.el (gdb-version): New variable.
17078         (gdb-non-stop-handler): Set gdb-version.
17079         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
17080         Condition "--thread" option on gdb-version.
17081         (gdb-invalidate-threads): Remove unused argument.
17083 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17085         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
17086         to looking-back to avoid ridiculous slow down in large files (bug#4511).
17088 2009-09-23  Glenn Morris  <rgm@gnu.org>
17090         * mail/rmail.el (rmail-reply): Don't try to add a References header when
17091         replying to mail without References or Message-Id.  (Bug#4525)
17093 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
17095         * term/ns-win.el (ns-reg-to-script): New variable.
17097 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
17099         * epg.el (epg-wait-for-status): Preserve existing 'error results.
17101 2009-09-22  Sam Steingold  <sds@gnu.org>
17103         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
17104         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
17105         to 1 because hg returns status 1 when nothing is found.
17106         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
17108 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17110         * textmodes/fill.el: Convert to utf-8 encoding.
17111         (fill-french-nobreak-p): Remove redundant » and « inherited from our
17112         pre-Unicode days.
17114         * add-log.el (change-log-fill-forward-paragraph): New function.
17115         (change-log-mode): Use it so fill-region DTRT.
17116         Set fill-indent-according-to-mode here rather than in
17117         change-log-fill-paragraph.
17118         (change-log-fill-paragraph): Remove.
17120 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
17122         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
17123         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
17125 2009-09-22  Glenn Morris  <rgm@gnu.org>
17127         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
17128         the scroll-bar scroll the calendar window rather than the buffer.
17130         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
17131         commands that move point (as opposed to scrolling).
17133         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
17135         * emacs-lisp/elint.el (elint): New custom group.
17136         (elint-log-buffer): Make it a defcustom.
17137         (elint-scan-preloaded, elint-ignored-warnings)
17138         (elint-directory-skip-re): New options.
17139         (elint-builtin-variables): Doc fix.
17140         (elint-preloaded-env): New variable.
17141         (elint-unknown-builtin-args): Add an entry for encode-time.
17142         (elint-extra-errors): Make it a variable rather than a constant.
17143         (elint-preloaded-skip-re): New constant.
17144         (elint-directory): Skip files matching elint-directory-skip-re.
17145         (elint-features): New variable, local to linted buffers.
17146         (elint-update-env): Initialize elint-features.  Possibly add
17147         elint-preloaded-env to the buffer's environment.
17148         (elint-get-top-forms): Bind elint-current-pos, for log messages.
17149         Skip quoted forms.
17150         (elint-init-form): New function, extracted from elint-init-env.
17151         Make non-list forms a warning rather than an error.
17152         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
17153         easy-menu-define, put that adds an error-condition, and provide.
17154         When requiring cl, also require cl-macs.  Really require cl, to handle
17155         some cl macros.  Store required libraries in the list elint-features,
17156         so as not to re-load them.  Treat cc-require like require.
17157         (elint-init-env): Call elint-init-form to do the work.
17158         Handle eval-and-compile and such like.
17159         (elint-add-required-env): Do not clear messages.
17160         (elint-special-forms): Add handlers for function, defalias, if, when,
17161         unless, and, or.
17162         (elint-form): Add optional argument to ignore elint-special-forms,
17163         useful to prevent recursive calls from handlers.  Doc fix.
17164         Respect elint-ignored-warnings.
17165         (elint-form): Respect elint-ignored-warnings.
17166         (elint-bound-variable, elint-bound-function): New variables.
17167         (elint-unbound-variable): Respect elint-bound-variable.
17168         (elint-get-args): Respect elint-bound-function.
17169         (elint-check-cond-form): Add some simple handling for (f)boundp and
17170         featurep tests.
17171         (elint-check-defalias-form): New handler.
17172         (elint-check-let-form): Make an empty let a warning rather than an
17173         error.
17174         (elint-check-setq-form): Make an empty setq a warning rather than an
17175         error.  Respect elint-ignored-warnings.
17176         (elint-check-defvar-form): Accept null doc-strings.
17177         (elint-check-conditional-form): New handler.  Does some simple-minded
17178         checking of featurep and (f)boundp tests.
17179         (elint-put-function-args): New function.
17180         (elint-initialize): Use elint-scan-doc-file rather than
17181         elint-find-builtin-variables.  Use elint-put-function-args.
17182         Possibly scan preloaded-file-list.
17183         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
17184         extend to handle functions as well.
17186 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
17188         * linum.el (linum-delete-overlays, linum-update-window):
17189         Do not modify the right margin.  (Bug#3971)
17191 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
17193         * files.el (conf-mode-maybe, magic-fallback-mode-alist):
17194         Use nxml-mode instead of xml-mode.
17196 2009-09-21  Kevin Ryde  <user42@zip.com.au>
17198         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
17200 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17202         * net/dig.el (dig-mode): Use define-derived-mode.
17204 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
17206         * vc-dispatcher.el (vc-do-command): Return the process object in
17207         the asynchronous case.  Use when instead of if.  Do not run
17208         vc-exec-after to display a message if not enabled.  (Bug#4463)
17210         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
17211         properties to the stash strings.
17212         (vc-git-stash-list): Return a list of strings.
17213         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
17214         (vc-git-stash-show-at-point): New functions.
17215         (vc-git-stash-map): New keymap.
17217         * register.el (ctl-x-r-map): Define the keys here instead of
17218         using autoload.
17220 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
17222         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
17223         list, to workaround performance problem (bug#4485).
17225 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
17227         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
17229 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
17231         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
17232         Document that this option is not recommended to use.
17234 2009-09-19  Glenn Morris  <rgm@gnu.org>
17236         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
17237         variable `var'.
17239         * calc/calc-alg.el (var):
17240         * calc/calcalg2.el (var): Define for compiler.
17242 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
17244         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
17245         Doc fix (Bug#3932).
17247         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
17249         * time-stamp.el (time-stamp-month-dd-yyyy)
17250         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
17251         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
17252         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
17253         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
17254         Remove functions that have been obsolete since 1995 (Bug#4436).
17256         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
17257         indent buffer only if called interactively (Bug#4452).
17259 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
17260             Eli Zaretskii  <eliz@gnu.org>
17262         This fixes bug#4197 (merged to bug#865, though not identical).
17263         * server.el (server-auth-dir): Add docstring note about FAT32.
17264         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
17265         but warn against using them.
17267 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
17269         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
17270         older GDB where there is no has_more field.
17272 2009-09-19  Glenn Morris  <rgm@gnu.org>
17274         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
17276 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
17278         * files.el (auto-mode-alist): Change default for XML files to nXML
17279         mode (Bug#4169).
17281 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
17283         * server.el (server-ensure-safe-dir): Pass 'integer
17284         to `file-attributes', as suggested.
17286 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17288         * dired-aux.el (dired-query-alist): Remove spurious backslash.
17289         (dired-query): Use read-key.
17291 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
17293         * cus-start.el (ns-use-qd-smoothing): Remove.
17295 2009-09-18  Glenn Morris  <rgm@gnu.org>
17297         * allout.el (top-level): Remove unnecessary progn.
17299         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
17301         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
17302         definition of abbrev table.
17304         * speedbar.el (speedbar-track-mouse):
17305         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
17306         * net/eudc.el (eudc-expand-inline):
17307         * net/newst-backend.el (newsticker--cache-read-feed):
17308         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
17309         condition-case handlers.
17311 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
17313         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
17314         (gdb-var-list): Add an element for has_more field.
17315         (gdb-non-stop-handler): Enable pretty printing for STL containers.
17316         (gdb-var-create-handler, gdb-var-list-children-handler-1)
17317         (gdb-var-update-handler-1): Parse output of dynamic variable
17318         objects (STL containers).
17319         (gdb-var-delete-1): Pass var1 as an explicit second argument.
17320         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
17322         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
17323         gdb-var-list.
17324         (gud-speedbar-buttons): Make node expandable if expression "has more"
17325         children.
17327 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
17329         * startup.el (emacs-quick-startup): Remove variable and all uses.
17330         (command-line): Set `inhibit-x-resources' instead.
17331         (command-line-1): Use `inhibit-x-resources' instead.
17333 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
17335         * subr.el: Fix last change to avoid using the `unless' macro,
17336         which breaks bootstrapping.
17338 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17340         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
17341         extended definitions, in case we reload subr.el after having
17342         loaded CL.
17343         (eval-next-after-load): Mark as obsolete.
17345 2009-09-17  Juri Linkov  <juri@jurta.org>
17347         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
17348         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
17349         (menu-bar-showhide-menu, menu-bar-tools-menu)
17350         (menu-bar-describe-menu, menu-bar-help-menu)
17351         (minibuffer-local-completion-map, minibuffer-local-map):
17352         Fix list quoting.
17354 2009-09-17  Glenn Morris  <rgm@gnu.org>
17356         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
17357         arguments, whether or not it has a handler.
17359         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
17361         * simple.el (hard-newline): Give it a doc-string.
17363         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17364         (lisp-mode-syntax-table): Give them doc-strings.
17366 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
17368         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
17369         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
17370         (menu-bar-options-menu, menu-bar-showhide-menu)
17371         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
17372         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
17373         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
17374         (menu-bar-options-menu, menu-bar-tools-menu)
17375         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
17376         (menu-bar-help-menu):
17377         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
17378         string arguments.
17380         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
17381         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
17382         calls for the menu names and :help.
17384 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17386         * mouse.el (minor-mode-menu-from-indicator): Pay attention
17387         to :minor-mode-function (bug#4455).
17389 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17391         * startup.el (command-line): Initialize the window-system after
17392         processing the command-line.
17394         * textmodes/page.el (what-page): Make sure we don't inf-loop if
17395         page-delimiter matches the empty string.
17397 2009-09-16  Glenn Morris  <rgm@gnu.org>
17399         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
17400         byte-compile-not-obsolete-var.  It's a list now.
17401         (byte-compile-not-obsolete-funcs): New variable.
17402         (byte-compile-warn-obsolete): Don't warn about functions if they are in
17403         byte-compile-not-obsolete-funcs.
17404         (byte-compile-variable-ref, byte-compile-defvar): Update for
17405         byte-compile-not-obsolete-vars name-change and list nature.
17406         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
17407         and variables behind (f)boundp tests.
17408         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
17410 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
17412         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
17414 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17416         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
17417         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
17418         Don't autoload.
17420 2009-09-15  Stephen Eglen  <stephen@gnu.org>
17422         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
17423         the virtual-buffers, use the name of the buffer specified by
17424         find-file-noselect, as the match may be a symlink.  (This was a
17425         problem if the target and the symlink had different names.)
17427 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17429         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
17431         * desktop.el (desktop-path): Check user-emacs-directory.
17433         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
17435         * loadup.el: Use after-load-functions to GC after loading each file.
17436         Remove the explicit GC calls that used to be sprinkled around.
17438         * subr.el (after-load-functions): New hook.
17439         (do-after-load-evaluation): Run it.  Use string-match-p to detect
17440         `obsolete' packages, rather than painfully extracting the relevant
17441         directory name.
17443 2009-09-15  Glenn Morris  <rgm@gnu.org>
17445         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
17446         free variable `doc'.
17448         * dired.el (dired-mode-map): Add menu entry for async shell command.
17450         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
17451         variables, also consider the .elc files, since the .el files are
17452         normally gzipped (subsequent code locates the .el.gz from the .elc).
17454         * calc/calc-prog.el (arglist): Define for compiler.
17456         * calendar/diary-lib.el (diary-display-function): Change the default to
17457         fancy display.
17458         (body): Define for compiler.
17460         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
17461         (byte-compile-file-form, byte-compile-lambda)
17462         (byte-compile-top-level-body, byte-compile-form)
17463         (byte-compile-variable-ref, byte-compile-setq)
17464         (byte-compile-setq-default, byte-compile-body)
17465         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
17466         (batch-byte-compile): Give some more local variables with common names
17467         a "bytecomp-" prefix to avoid masking warnings about free variables.
17469         * startup.el (command-line-1): Give local variables with common names a
17470         distinguishing prefix, so as not to hide free variable warnings during
17471         bootstrap.
17473         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
17474         clever and add a suffix to make a unique name, just let the user decide
17475         whether or not to overwrite it.  If the input is a directory, write the
17476         default filename to that directory.  (Bug#4388)
17477         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
17478         is a filename-as-a-directory.
17480 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17482         * textmodes/page.el (what-page): Don't move to beginning of line.
17483         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
17485 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
17487         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
17489 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
17491         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
17492         * help.el (help-for-help-internal): Add purecopy calls for text.
17494         * vc.el (top): print-log method now takes an optional SHORTLOG
17495         argument.  Add a new method: root.
17496         (vc-root-diff, vc-print-root-log): New functions.
17497         (vc-log-short-style): New variable.
17498         (vc-print-log-internal): Add support for showing short logs.
17500         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
17501         vc-print-root-log and vc-print-root-diff.
17503         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
17504         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
17505         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
17506         short logs.
17508         * vc-cvs.el (vc-cvs-print-log):
17509         * vc-mtn.el (vc-mtn-print-log):
17510         * vc-rcs.el (vc-rcs-print-log):
17511         * vc-sccs.el (vc-sccs-print-log):
17512         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
17513         that is ignored for now.
17515         * vc-mtn.el (vc-mtn-annotate-command):
17516         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
17518 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17520         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
17521         to function-key-map, and give them ascii-character property.
17522         * term/x-win.el (x-alternatives-map):
17523         * term/ns-win.el (ns-alternatives-map):
17524         * term/internal.el (msdos-key-remapping-map):
17525         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
17527 2009-09-14  Glenn Morris  <rgm@gnu.org>
17529         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
17530         temp-buffers (2009-09-12).
17532 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
17534         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
17535         the new read-key function.
17537 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
17539         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
17540         is defined (Bug#4405).
17542 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
17544         * recentf.el (recentf-cleanup): Use a hash table to find
17545         duplicates (Bug#4407).
17547 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
17549         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
17550         kp-0 to ascii equivalents (Bug#4325).
17552 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
17554         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
17556         * eshell/em-hist.el:
17557         * eshell/em-dirs.el (eshell-complete-user-reference):
17558         Declare pcomplete functions and variables to avoid compiler warnings.
17560 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
17562         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
17563         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
17564         * eshell/em-alias.el (eshell-aliases-file):
17565         * eshell/em-hist.el (eshell-history-file-name):
17566         Use expand-file-name instead of concat to make file names (Bug#4308).
17568 2009-09-13  Glenn Morris  <rgm@gnu.org>
17570         * ediff-merg.el (ediff-do-merge):
17571         * filesets.el (filesets-run-cmd):
17572         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
17573         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
17574         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
17575         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
17576         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
17577         Replace empty `let's with `progn'.
17579 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
17581         * mail/sendmail.el (send-mail-function):
17582         * tooltip.el (tooltip-mode):
17583         * simple.el (transient-mark-mode):
17584         * rfn-eshadow.el (file-name-shadow-mode):
17585         * frame.el (blink-cursor-mode):
17586         * font-core.el (global-font-lock-mode):
17587         * files.el (temporary-file-directory)
17588         (small-temporary-file-directory, auto-save-file-name-transforms):
17589         * epa-hook.el (auto-encryption-mode):
17590         * composite.el (global-auto-composition-mode):
17591         Use custom-initialize-delay.
17592         * startup.el (command-line): Don't explicitly call
17593         custom-reevaluate-setting for all the above vars.
17594         * custom.el (custom-initialize-safe-set)
17595         (custom-initialize-safe-default): Delete.
17597 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17599         * term/x-win.el (x-initialize-window-system):
17600         * term/w32-win.el (w32-initialize-window-system):
17601         * term/ns-win.el (ns-initialize-window-system): Don't call
17602         mouse-wheel-mode since it's enabled globally by default already.
17604         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
17605         actually define the variable, but only silences the byte-compiler.
17606         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
17607         before looking it up.
17608         (mouse-wheel-scroll-amount): Also reset the bindings if this value
17609         is changed.
17611 2009-09-12  Glenn Morris  <rgm@gnu.org>
17613         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
17614         1000.
17615         (elint-add-required-env): Don't beep on error.
17616         (elint-forms): In case of error, return ENV unchanged.
17617         (elint-init-env): Skip non-list forms.
17618         (elint-log): Handle unknown file positions.
17620 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
17622         * epg.el (epg-make-context): Add autoload cookie.
17623         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
17624         (epg-decrypt-string, epg-start-verify, epg-verify-file)
17625         (epg-verify-string, epg-start-sign, epg-sign-file)
17626         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
17627         (epg-encrypt-string, epg-start-export-keys)
17628         (epg-export-keys-to-file, epg-export-keys-to-string)
17629         (epg-start-import-keys, epg-import-keys-from-file)
17630         (epg-import-keys-from-string, epg-start-receive-keys)
17631         (epg-receive-keys, epg-import-keys-from-server)
17632         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
17633         (epg-sign-keys, epg-start-generate-key)
17634         (epg-generate-key-from-file, epg-generate-key-from-string):
17635         Remove autoload cookie.
17637 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
17639         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
17640         reevaluation of trash-directory.
17642         * mwheel.el: Fix last change.
17643         (mouse-wheel-mode): New defvar.
17644         (mouse-wheel-mode): Remove autoload cookie.
17646 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17648         * mwheel.el (mwheel-installed-bindings): New var.
17649         (mouse-wheel-mode): Use it, so as to make sure we really remove all
17650         the bindings we set last time.  Use custom-initialize-delay.
17651         * loadup.el: Load mwheel after term/*-win.el.
17652         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
17653         and mouse-wheel-up-event now that their first evaluation is done
17654         sufficiently late to be correct.
17656         * startup.el (tutorial-directory): Make it a defcustom.
17657         Use custom-initialize-delay rather than eval-at-startup to set it.
17658         * image.el (image-load-path): Make it a defcustom.
17659         Use custom-initialize-delay rather than eval-at-startup to set it.
17660         * subr.el (eval-at-startup): Remove.
17661         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
17663         * subr.el (do-after-load-evaluation): Warn the user after loading an
17664         obsolete package.
17666 2009-09-12  Glenn Morris  <rgm@gnu.org>
17668         * proced.el (proced-mark-alt): Remove alias.
17669         (proced-mode-map): Remove proced-mark-alt.
17671         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
17672         Elint file and directory.  Remove initialization entry.
17674         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
17675         commands.
17676         (elint-current-buffer): Set mode-line-process.
17677         (elint-init-env): Handle define-derived-mode.
17678         Fix declare-function with unspecified arglist.  Guard against odd
17679         defalias statements (eg iso-insert's 8859-1-map).
17680         (elint-add-required-env): Use a temp buffer.
17681         (elint-form): Just print the function/macro name, not the whole form.
17682         Return env unchanged if we fail to parse a macro.
17683         (elint-forms): Guard against parse errors.
17684         (elint-output): New function, to handle batch mode.
17685         (elint-log-message): Add optional argument.  Use elint-output.
17686         (elint-set-mode-line): New function.
17688 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
17690         * emacs-lisp/elp.el (elp-not-profilable): Add more
17691         functions (Bug#4233).
17693 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
17695         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
17696         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
17698 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
17700         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
17701         (gdb-var-list-children): Use json parsing.
17703 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
17705         * progmodes/js.el (js--proper-indentation): Handle the case where
17706         char-before is null.  Reported by Deniz Dogan.
17708 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
17710         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
17712 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
17714         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
17715         (epg-digest-algorithm-alist): Add SHA224.
17716         (epg-context-set-passphrase-callback)
17717         (epg-context-set-progress-callback): Add description about
17718         callback function.
17720 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
17722         * custom.el (custom-delayed-init-variables): New var.
17723         (custom-initialize-delay): New function.
17724         * startup.el (command-line): "Re"evaluate all vars in
17725         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
17726         explicitly any more.
17727         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
17728         to avoid creating a ~/.emacs.d at build-time (bug#4347).
17730         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
17732 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
17734         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
17735         (gdb-var-update-handler): Use json parsing.
17737 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
17739         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
17740         decode annotated text, regardless of language environment.  (Bug#2741)
17742 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
17744         * Makefile.in (autoloads): Make rmail.el writable as well.
17746 2009-09-11  Glenn Morris  <rgm@gnu.org>
17748         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
17749         loaddefs.el.
17750         * dired.el: Regenerate with extracted autoloads.
17751         * Makefile.in (autoloads): Make dired.el writable.
17753         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
17754         * ibuffer.el: Regenerate with extracted autoloads.
17755         * Makefile.in (autoloads): Make ibuffer.el writable.
17757         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
17758         * version.el (emacs-copyright, emacs-major-version)
17759         (emacs-minor-version): Reformat doc-strings for make-docfile.
17761         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
17762         functions and variables, since they must be stuff specific to some other
17763         platform.
17764         (apropos-print): Make mouse-click message less specific about button.
17766         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
17767         that records where a macro was defined.
17768         * help-fns.el (describe-function-1): Mention if a function has a
17769         compiler-macro.
17770         * help-mode.el (help-function-cmacro): New button.
17772         * locate.el (top-level): Always require dired.
17773         (locate-mode-map): Initialize inside the defvar.
17775         * net/ange-ftp.el (dired-compress-file): Declare.
17776         (ange-ftp-dired-compress-file): Add doc string.
17778         * term/ns-win.el (x-display-name, x-setup-function-keys):
17779         Unify doc-strings with X versions.
17781 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
17783         * emulation/crisp.el (crisp-mode-map): Move initialization
17784         into declaration.
17785         (crisp-mode): Use define-minor-mode.
17787         * progmodes/xscheme.el (xscheme-evaluation-commands):
17788         Put a :advertised-binding property rather than using
17789         advertised-xscheme-send-previous-expression.
17790         (advertised-xscheme-send-previous-expression): Declare obsolete.
17791         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
17792         `advertised-undo'.
17793         (crisp-mode): Add corresponding bindings to
17794         undo's :advertised-binding instead.
17795         * dired.el (dired-mode-map): Put a :advertised-binding property rather
17796         than using dired-advertised-find-file.
17797         (dired-advertised-find-file):
17798         * simple.el (advertised-undo):
17799         * wid-edit.el (advertised-widget-backward): Declare obsolete.
17800         (widget-keymap): Put a :advertised-binding property rather
17801         than using advertised-widget-backward.
17802         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
17803         than using advertised-undo.
17804         * tutorial.el (tutorial--default-keys): Adjust accordingly.
17806 2009-09-10  Simon South  <ssouth@slowcomputing.org>
17808         * progmodes/delphi.el (delphi-tab): Indent region when Transient
17809         Mark mode is enabled and region is active; otherwise indent or
17810         insert TAB as usual.
17811         (delphi-mode): Update description of TAB-key binding.
17813 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
17815         * subr.el (define-key-rebound-commands): Mark obsolete.
17816         * startup.el (precompute-menubar-bindings): Remove.
17817         (normal-top-level): Remove obsolete code that tried to precompute
17818         menubar bindings.
17819         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
17820         define-key-rebound-commands and precompute-menubar-bindings.
17822 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
17824         * net/imap.el (imap-interactive-login): Better messages.
17825         (imap-open): Fix bug with renamed buffer on reconnect.
17826         (imap-authenticate): Add buffer-local imap-last-authenticator variable
17827         for easier debugging and cleaner code.  On successful (guessed based on
17828         server capabilities) secondary authentication, set imap-state
17829         correctly.
17830         (imap-last-authenticator): Define imap-last-authenticator as a variable
17831         to avoid warnings.
17833 2009-09-10  Glenn Morris  <rgm@gnu.org>
17835         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
17837         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
17838         (byte-compile-file-form-autoload): Don't warn about unknown functions
17839         where the autoload statement comes after the use.
17840         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
17841         that any handlers inside the body (eg require) are in turn respected.
17843         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
17844         effects.
17846         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
17847         and syntax and abbrev tables basic docs, if they don't have any.
17849         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
17851         * international/mule-cmds.el (top-level): Require cl when compiling.
17852         (view-hello-file): Use default-value rather than
17853         default-enable-multibyte-characters.
17855         * progmodes/fortran.el: Move all safe and risky properties into the
17856         defcustoms.
17858         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
17859         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
17860         * mail/undigest.el:
17861         Put autoloads in rmail.el rather than loaddefs.el.
17862         * mail/rmail.el: Regenerate with extracted autoloads.
17864         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
17865         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
17867 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
17869         Reported in thread for Bug#4375.
17870         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
17871         "-data-evaluate-expression" instead of print.
17872         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
17873         (gdb-tooltip-print): Parse output from above MI command.
17874         (gdb): Revert 2009-08-11 change.  User should detach inferior
17875         manually.
17877         Remove the word "separate" from IO functions as inferior
17878         output is now never displayed in the GUD buffer.
17880 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
17882         * startup.el (command-line-normalize-file-name): On Windows and
17883         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
17885 2009-09-10  Juri Linkov  <juri@jurta.org>
17887         * isearch.el (isearch-text-char-description): Propertize escape
17888         character sequences with the `escape-glyph' face.  (Bug#4344)
17890         * simple.el (shell-command): Set asynchronous process filter to
17891         `comint-output-filter'.  (Bug#4343)
17893         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
17894         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
17895         the list.  Move "asm" to the bottom.
17896         (grep-find-ignored-directories): Add `choice' with nil value
17897         to empty the list easily.
17898         (grep-find-ignored-files): New option.
17899         (grep-files-history): Set to nil by default instead of '("ch" "el").
17900         (grep-compute-defaults): Add "<X>" to `grep-template'.
17901         (grep-read-files): Bind new local variables `default-alias' and
17902         `default-extension'.  Use a list of default values for the file prompt.
17903         (lgrep): Add `--exclude=' command line options composed from
17904         `grep-find-ignored-files'.
17905         (rgrep): Add `-name' command line options composed from
17906         `grep-find-ignored-files'.  (Bug#4301)
17908 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
17910         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
17911         (bug#4368).
17913 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
17915         * calendar/time-date.el (autoload):
17916         Expand define-obsolete-function-alias into defalias and make-obsolete
17917         for old Emacsen that Gnus supports.
17918         (with-no-warnings): Define it for old Emacsen.
17919         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
17920         is available.
17921         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
17922         float-time is available; suppress compile warning for time-to-seconds.
17924 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
17926         * net/imap.el (imap-message-map): Docstring fix.
17928 2009-09-09  Glenn Morris  <rgm@gnu.org>
17930         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
17931         line numbers too.  (Bug#4374)
17933 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
17935         * smerge-mode.el (smerge-remove-props, smerge-refine):
17936         Use with-silent-modifications (bug#4342).
17938         * subr.el (with-silent-modifications): New macro.
17940 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
17942         * files.el (top-level): Require `cl' when compiling.
17944 2009-09-07  Glenn Morris  <rgm@gnu.org>
17946         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
17948         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
17949         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
17951 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
17953         * vc-git.el (vc-git-annotate-command): Use separator to parse
17954         arguments correctly.
17956 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
17958         * proced.el (proced-mode): Doc fix.
17960 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
17962         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
17963         lstat fails.
17964         (tramp-do-file-attributes-with-ls): Check for file existence at
17965         remote end.
17966         (tramp-do-file-attributes-with-stat): Likewise.
17967         (tramp-convert-file-attributes): Return nil when attr is nil.
17969 2009-09-05  Glenn Morris  <rgm@gnu.org>
17971         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
17972         properties to this button.
17973         (diary-fancy-display): Don't extend the button to the final newline.
17974         (diary-fancy-display-mode): Continue to define "q" as a local key.
17976         * calendar/cal-china.el (holiday-chinese): Make it slightly more
17977         efficient.
17979         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
17981         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
17982         (byte-compile-dest-file-function): New option.
17983         (byte-compile-dest-file): Doc fix.
17984         Obey byte-compile-dest-file-function.
17985         (byte-compile-cl-file-p): New function.
17986         (byte-compile-eval): Only suppress noruntime warnings about cl functions
17987         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
17988         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
17989         than for file being previously loaded.
17990         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
17991         (byte-compile-file-form-require): Handle the case where requiring a file
17992         indirectly causes CL to be loaded.
17994 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
17996         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
17997         before killing the old buffer, since by the time `kill-buffer' is
17998         run so many buffer variables have been set to nil that it may not
17999         behave as expected.  (Bug#4061)
18001 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
18003         * files.el (find-alternate-file): If the old buffer is modified
18004         and visiting a file, behave similarly to `kill-buffer' when
18005         killing it, thus reverting to the pre-1.878 behavior; see
18006         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
18007         for discussion.  Also, consult `buffer-file-name' as a variable
18008         not as a function, for consistency with the rest of the code.
18010 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
18012         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
18013         also when adding a new directory.
18015         * net/tramp-compat.el (tramp-compat-line-beginning-position):
18016         New defun.
18018 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
18020         * files.el (locate-file-completion-table): Make it provide boundary
18021         information, so partial-completion works better.
18023 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
18025         * mail/footnote.el (Footnote-text-under-cursor):
18026         Check footnote-text-marker-alist before using it (bug#4324).
18028 2009-09-04  Glenn Morris  <rgm@gnu.org>
18030         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
18031         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
18032         * play/solitaire.el, play/tetris.el:
18033         Remove leading * from defcustom and defface docs.
18035         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
18036         necessary.
18037         (diary-fancy-overriding-map): New variable.
18038         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
18039         Use view-mode.
18041         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
18042         goto-line.
18044 2009-09-03  Glenn Morris  <rgm@gnu.org>
18046         * arc-mode.el (archive-mode):
18047         * dos-fns.el (set-default-process-coding-system):
18048         * man.el (Man-getpage-in-background):
18049         * menu-bar.el (menu-bar-describe-menu):
18050         * server.el (server-process-filter):
18051         * startup.el (command-line):
18052         * tar-mode.el (tar-header-block-tokenize, tar-extract):
18053         * w32-fns.el (set-default-process-coding-system):
18054         * x-dnd.el (x-dnd-handle-file-name):
18055         * international/mule-cmds.el (mule-menu-keymap)
18056         (set-default-coding-systems, language-info-alist, set-language-info)
18057         (set-language-environment, standard-display-european-internal)
18058         (set-locale-environment):
18059         * international/mule-diag.el (mule-diag):
18060         * mail/emacsbug.el (report-emacs-bug):
18061         * mail/rmail.el (rmail-mode):
18062         * mail/sendmail.el (mail-setup):
18063         Use default-value rather than default-enable-multibyte-characters.
18065         * progmodes/f90.el: Move all safe properties into the defcustoms.
18066         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
18068         * calendar/appt.el (appt-check):
18069         * calendar/diary-lib.el (diary-set-header, diary-live-p)
18070         (diary-check-diary-file, diary-list-entries)
18071         (diary-include-other-diary-files, diary-simple-display)
18072         (diary-fancy-display, diary-print-entries)
18073         (diary-mark-included-diary-files, diary-make-entry):
18074         Don't call substitute-in-file-name on diary-file.
18076 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
18077             Stefan Monnier  <monnier@iro.umontreal.ca>
18079         * mail/footnote.el (footnote-prefix): Make it a defcustom.
18080         (footnote-mode-map): Move initialization into the declaration.
18081         (footnote-minor-mode-map): Define it rather than changing global-map.
18082         (footnote-mode): Use define-minor-mode.
18084 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
18086         * net/tramp.el (tramp-handle-file-attributes-with-ls)
18087         (tramp-do-file-attributes-with-perl)
18088         (tramp-do-file-attributes-with-stat): Rename from
18089         `tramp-handle-file-attributes-with-*'.
18090         (tramp-handle-file-attributes): Use them.
18091         (tramp-do-directory-files-and-attributes-with-perl)
18092         (tramp-do-directory-files-and-attributes-with-stat): Rename from
18093         `tramp-handle-directory-files-and-attributes-with-*'.
18094         (tramp-handle-directory-files-and-attributes): Use them.
18095         (tramp-method-out-of-band-p): Additional parameter SIZE.
18096         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
18097         (tramp-handle-write-region): Use it.
18098         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
18099         (tramp-handle-vc-registered): Check, whether the first run did
18100         return files to be tested.
18101         (tramp-advice-make-auto-save-file-name): Do not call directly
18102         `tramp-handle-make-auto-save-file-name', because this would bypass
18103         the locking mechanism.
18105         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
18106         (file-remote-p, process-file, start-file-process, set-file-times)
18107         (tramp-compat-file-attributes): Compatibility functions shall not
18108         call directly `tramp-handle-*', because this would bypass the
18109         locking mechanism.
18110         (tramp-compat-number-sequence): New defun.
18112 2009-09-02  Glenn Morris  <rgm@gnu.org>
18114         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
18115         alias for float-time.
18116         (time-to-number-of-days): In Emacs, use float-time.
18117         * net/newst-backend.el (time-add): Suppress warnings from compat
18118         function.
18119         * time.el (emacs-uptime, emacs-init-time):
18120         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
18121         Use float-time rather than time-to-seconds.
18123         * minibuffer.el (completion-initials-expand): Fix typo.
18125         * faces.el (modeline, modeline-inactive, modeline-highlight)
18126         (modeline-buffer-id):
18127         * info.el (info-menu-5): Mark these face aliases as obsolete.
18129 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
18131         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
18132         space ...
18133         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
18134         no "--thread" option.
18135         (gdb-stopped): Don't print "Switched to thread" message when it is
18136         unchanged.
18138 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18140         * minibuffer.el (completion-try-completion)
18141         (completion-all-completions): Remove ill-defined (and
18142         mistakenly installed and luckily never used nor documented)
18143         `completion-styles' property.
18144         (completion-initials-expand, completion-initials-all-completions)
18145         (completion-initials-try-completion): New functions.
18146         (completion-styles-alist): Add doc to each entry.
18147         Add new `initials' entry.
18149 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
18151         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
18152         MI command -var-evaluate-expression.
18153         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
18154         and tweak for case of string child.
18155         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
18157 2009-09-01  Glenn Morris  <rgm@gnu.org>
18159         * add-log.el (change-log-date-face, change-log-name-face)
18160         (change-log-email-face, change-log-file-face, change-log-list-face)
18161         (change-log-conditionals-face, change-log-function-face)
18162         (change-log-acknowledgement-face):
18163         * cus-edit.el (custom-invalid-face, custom-rogue-face)
18164         (custom-modified-face, custom-set-face, custom-changed-face)
18165         (custom-saved-face, custom-button-face, custom-button-pressed-face)
18166         (custom-documentation-face, custom-state-face, custom-comment-face)
18167         (custom-comment-tag-face, custom-variable-tag-face)
18168         (custom-variable-button-face, custom-face-tag-face)
18169         (custom-group-tag-face-1, custom-group-tag-face):
18170         * diff-mode.el (diff-header-face, diff-file-header-face)
18171         (diff-index-face, diff-hunk-header-face, diff-removed-face)
18172         (diff-added-face, diff-changed-face, diff-function-face)
18173         (diff-context-face, diff-nonexistent-face):
18174         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
18175         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
18176         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
18177         (Info-title-4-face):
18178         * isearch.el (isearch-lazy-highlight-face):
18179         * log-view.el (log-view-file-face, log-view-message-face):
18180         * paren.el (show-paren-match-face, show-paren-mismatch-face):
18181         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
18182         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
18183         (cvs-msg-face):
18184         * smerge-mode.el (smerge-mine-face, smerge-other-face)
18185         (smerge-base-face, smerge-markers-face):
18186         * wid-edit.el (widget-documentation-face, widget-button-face)
18187         (widget-field-face, widget-single-line-field-face)
18188         (widget-inactive-face, widget-button-pressed-face):
18189         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
18190         (woman-addition-face):
18191         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
18192         (eshell-ls-executable-face, eshell-ls-readonly-face)
18193         (eshell-ls-unreadable-face, eshell-ls-special-face)
18194         (eshell-ls-missing-face, eshell-ls-archive-face)
18195         (eshell-ls-backup-face, eshell-ls-product-face)
18196         (eshell-ls-clutter-face):
18197         * eshell/em-prompt.el (eshell-prompt-face):
18198         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
18199         * obsolete/old-whitespace.el (whitespace-highlight-face):
18200         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
18201         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
18202         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
18203         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
18204         (antlr-font-lock-literal-face):
18205         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
18206         (ebrowse-root-class-face, ebrowse-file-name-face)
18207         (ebrowse-default-face, ebrowse-member-attribute-face)
18208         (ebrowse-member-class-face, ebrowse-progress-face):
18209         * progmodes/make-mode.el (makefile-space-face):
18210         * progmodes/sh-script.el (sh-heredoc-face):
18211         * textmodes/flyspell.el (flyspell-incorrect-face)
18212         (flyspell-duplicate-face):
18213         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
18214         * textmodes/texinfo.el (texinfo-heading-face):
18215         Mark face aliases with "-face" suffix as obsolete.
18217         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
18218         compiler.
18220         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
18221         (eudc-bob-sound-menu): Use defvar rather than defconst, since
18222         easy-menu-define wants to modify these.
18224         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
18226         * net/browse-url.el (browse-url-file-url):
18227         * term/internal.el (dos-codepage-setup):
18228         Use default-value rather than default-enable-multibyte-characters.
18230         * progmodes/etags.el (etags-goto-tag-location):
18231         * progmodes/flymake.el (flymake-highlight-line)
18232         (flymake-goto-file-and-line, flymake-goto-line):
18233         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
18234         (gdb-goto-breakpoint):
18235         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
18236         * progmodes/python.el (python-find-function)
18237         (python-pdbtrack-track-stack-file):
18238         * progmodes/verilog-mode.el (verilog-surelint-off):
18239         * term/ns-win.el (ns-open-file-select-line):
18240         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
18241         Use forward-line rather than goto-line.
18243         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
18244         * textmodes/reftex-index.el (reftex-display-index):
18245         * textmodes/reftex-ref.el (reftex-offer-label-menu):
18246         * textmodes/reftex-toc.el (reftex-toc):
18247         Remove unnecessary bindings of default-major-mode (all are followed by
18248         major-mode check and possible mode switch).
18250 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
18252         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
18253         Handle watchpoints (bug#4282).
18254         (def-gdb-thread-buffer-command): Enable thread to be selected by
18255         clicking without selecting threads buffer first.
18256         (gdb-current-context-command): Use selected frame so that "up",
18257         "down" etc work in the GUD buffer.
18258         (gdb-update): Find selected frame before rendering stack buffer.
18259         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
18261 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
18263         * progmodes/sym-comp.el (displayed-completions): Remove.
18264         (symbol-complete): Use minibuffer-complete.
18266 2009-08-31  Glenn Morris  <rgm@gnu.org>
18268         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
18270         * apropos.el (apropos-symbols-internal):
18271         Handle (obsolete) face aliases.
18273         * faces.el (describe-face): Adjust the output format to be more like
18274         describe-variable, and to mention (obsolete) face aliases.
18275         Adjust the whitespace so that help-setup-xref works.
18277         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
18278         * calendar/diary-lib.el (diary-button-face):
18279         Mark these face aliases as obsolete.
18281         * calendar/calendar.el (calendar-today): Doc fix.
18283 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
18285         * progmodes/gdb-mi.el (gdb-control-all-threads)
18286         (gdb-control-current-thread): Force tool bar update.
18287         (gdb-non-stop-handler): New function.
18288         (gdb-init-1): Use it to test if non-stop mode is supported.
18289         Remove unused gdbmi buffer type.
18291 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
18293         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
18294         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
18296 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
18298         * comint.el (comint-exec-1): Check command is non-null first.
18299         Part of gdb-mi.el change (2009-08-28).
18301 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
18303         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
18305 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
18307         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
18308         instead of `dolist' to avoid a recursive require when bootstrapping.
18310 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
18312         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
18314         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
18316         * net/imap.el (imap-send-command): Simplify.
18317         (imap-wait-for-tag): point-max -> buffer-size.
18319         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
18321         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
18322         with constant argument.
18324         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
18326         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
18328         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
18329         Change default, since most of our files don't have a history.
18330         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
18331         the user.
18333         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18334         Add comint-run.
18336         * calc/calc.el: Improve commenting convention.
18337         (calc-digit-map, toplevel): Simplify.
18339         * comint.el (comint-insert-input): Be careful to only set point if we
18340         don't delegate to some other command.
18342         * proced.el (proced-signal-list): Make it an alist.
18343         (proced-grammar-alist): Capitalize names.
18344         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
18345         Disable undo manually and make it read-only.
18346         Use completion-annotate-function.
18348         * minibuffer.el (minibuffer-message): If the current buffer is not
18349         a minibuffer, insert the message in the echo area rather than at the
18350         end of the buffer.
18351         (completion-annotate-function): New variable.
18352         (minibuffer-completion-help): Use it.
18353         (completion--embedded-envvar-table): Environment vars are
18354         always case-sensitive.
18356 2009-08-30  Glenn Morris  <rgm@gnu.org>
18358         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
18359         from fortran-current-defun.
18360         (fortran-beginning-of-subprogram): Be more precise about finding the
18361         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
18362         (fortran-end-of-subprogram): Simplify.
18363         (fortran-current-defun): Use fortran-start-prog-re.
18365 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
18367         * subr.el (do-after-load-evaluation): Simplify.
18369 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
18371         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
18373         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
18374         (vc-rcs-print-log): Use it.
18376         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
18378 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
18380         * paths.el (abbrev-file-name): Move to abbrev.el.
18381         * abbrev.el (abbrev-file-name): Move from paths.el.
18382         Obey user-emacs-directory.
18383         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
18384         user-emacs-directory.
18385         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
18386         abbrev-file-name and calc-settings-file any more.
18387         * startup.el (command-line): Recompute abbrev-file-name and
18388         abbreviated-home-dir.
18389         (normal-no-mouse-startup-screen): Improve the generic code and get rid
18390         of the special code for when C-h bindings haven't been changed.
18391         (display-startup-echo-area-message): Use with-current-buffer.
18392         (command-line-1): Use a list of strings, rather than a list of lists
18393         of strings for longopts.
18395         * files.el (get-free-disk-space): Use / for default-directory.
18397         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
18398         Use with-current-buffer.
18400         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
18401         Recognize immutable variables like most-positive-fixnum.
18402         (byte-compile-setq-default): Check and warn if trying to assign
18403         to an immutable variable, or a non-variable.
18405         * progmodes/cc-vars.el (c-comment-continuation-stars):
18406         * progmodes/cc-engine.el (c-looking-at-bos):
18407         * progmodes/cc-cmds.el (c-toggle-auto-state)
18408         (c-forward-into-nomenclature, c-backward-into-nomenclature)
18409         (c-comment-line-break-function): Add version of obsolescence.
18411 2009-08-28  Juri Linkov  <juri@jurta.org>
18413         * files.el (magic-fallback-mode-alist): Add ZIP magic number
18414         associated with `archive-mode'.
18416         * image.el (image-type-header-regexps): Use only JPEG magic number
18417         to determine JPEG images, and don't use `image-jpeg-p' because
18418         Emacs can display non-JFIF non-Exif JPEG images.
18420 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
18422         * arc-mode.el (archive-mode):
18423         * emacs-lisp/re-builder.el (re-builder-unload-function):
18424         Protect against the default value of `major-mode' being nil.
18426 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
18428         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
18429         Fix typos in docstrings.
18431         * progmodes/js.el (js--macro-decl-re): Doc fix.
18432         (js--plain-method-re, js--split-name): Refloc docstring.
18433         (js--class-styles, js--make-merged-item, js--splice-into-items):
18434         Fix typos in docstrings; reflow docstrings.
18435         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
18436         (js--variable-decl-matcher, js--inside-pitem-p)
18437         (js--parse-state-at-point, js--get-all-known-symbols)
18438         (js--symbol-history, js-find-symbol, js--js-references)
18439         (js--moz-interactor, js--js-encode-value, js--read-tab):
18440         Fix typos in docstrings.
18442 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
18444         * textmodes/reftex.el (reftex-get-file-buffer-force):
18445         * progmodes/verilog-mode.el (verilog-batch-execute-func):
18446         * emulation/viper.el (viper-go-away, viper-set-hooks):
18447         * emacs-lisp/re-builder.el (re-builder-unload-function):
18448         * emacs-lisp/bytecomp.el (byte-compile-file):
18449         * ses.el (ses-unload-function):
18450         * hexl.el (hexl-find-file):
18451         * files.el (normal-mode):
18452         * ehelp.el (with-electric-help):
18453         * autoinsert.el (auto-insert-alist):
18454         * arc-mode.el (archive-mode):
18455         Use (default-value 'major-mode) instead of default-major-mode.
18457         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
18458         * international/mule.el (load-with-code-conversion):
18459         * emacs-lisp/debug.el (debug):
18460         * ediff-vers.el (ediff-rcs-get-output-buffer):
18461         * dired.el (dired-internal-noselect): Don't let-bind
18462         default-major-mode around code that doesn't use it.
18463         E.g. buffer creation via get-buffer-create doesn't use it.
18465 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
18467         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
18468         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
18469         when writing the temp file.  Otherwise, epa-file gets confused.
18470         (tramp-register-file-name-handlers): Make it a defun.  Move also
18471         `epa-file-handler' to the front of `file-name-handler-alist'.
18473 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
18475         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
18476         start right after a ^M.
18477         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
18478         (tramp-completion-file-name-regexp-separate)
18479         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
18480         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
18481         Don't modify last-coding-system-used by accident.
18482         (tramp-completion-file-name-handler): Apply the checks here,
18483         instead during registration.
18484         (tramp-register-file-name-handlers): Rename from
18485         `tramp-register-file-name-handler'.  Register both
18486         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
18487         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
18489 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
18491         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
18492         Remove variable ...
18493         (gdb-init-1, gdb-display-separate-io-buffer)
18494         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
18495         references to it.
18496         (gdb-inferior-io-mode): Use make-comint-in-buffer.
18497         (gdb-inferior-filter): Use comint-output-filter to stop
18498         echoing and remove ^M characters.
18500 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
18502         * emulation/viper-init.el (viper-restore-cursor-type):
18503         * emulation/cua-base.el (cua--update-indications):
18504         Replace default-cursor-type with (default-value 'cursor-type).
18506         * mail/sendmail.el (mail-recover-1):
18507         * international/mule-diag.el (describe-current-coding-system-briefly)
18508         (describe-current-coding-system):
18509         * international/mule-cmds.el (select-safe-coding-system)
18510         (select-message-coding-system)
18511         (set-language-environment-coding-systems, set-locale-environment):
18512         * hexl.el (hexl-insert-multibyte-char):
18513         * dos-w32.el (find-buffer-file-type-coding-system):
18514         * simple.el (what-cursor-position):
18515         Replace uses of default-buffer-file-coding-system
18516         with (default-value 'buffer-file-coding-system).
18518         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
18519         Replace uses of default-cursor-in-non-selected-windows
18520         with (default-value 'cursor-in-non-selected-windows).
18521         Use with-current-buffer.
18523         * mail/feedmail.el: Use CL macros.
18524         (feedmail-run-the-queue, feedmail-send-it-immediately):
18525         * dos-w32.el (find-buffer-file-type): Replace uses of
18526         default-buffer-file-type with (default-value 'buffer-file-type).
18528 2009-08-28  Glenn Morris  <rgm@gnu.org>
18530         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
18531         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
18532         Use default-value of major-mode rather than default-major-mode.
18534 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
18536         * Makefile.in (update-elcfiles): Report left over elc files.
18538         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
18539         expand-file-name and with-current-buffer.
18540         (mail-get-names, mail-directory): Use with-current-buffer.
18542         * vc.el (vc-read-revision): New function.
18543         (vc-version-diff, vc-merge): Use it.
18545 2009-08-27  Sam Steingold  <sds@gnu.org>
18547         * simple.el (kill-do-not-save-duplicates): New user option.
18548         (kill-new): When it is non-nil, and the new string is the same as
18549         the latest kill, set replace to t to avoid duplicates in kill-ring.
18551 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
18553         * net/tramp.el (tramp-handle-process-file): Do not flush all
18554         caches when `process-file-side-effects' is set.
18555         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
18556         instead of `tramp-find-file-exists-command'.
18557         Unset `process-file-side-effects'.
18559 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
18561         * net/tramp.el (tramp-methods): New method "rsyncc".
18562         (top): Add completion function for "rsyncc".
18563         (tramp-message-show-message): New defvar.
18564         (tramp-message, tramp-error): Use it.
18565         (tramp-do-copy-or-rename-file-directly): Extend check for direct
18566         remote copying.
18567         (tramp-do-copy-or-rename-file-out-of-band): Handle new
18568         `tramp-methods' entry `copy-env' of "rsyncc".
18569         (tramp-vc-registered-read-file-names): New defconst.
18570         (tramp-vc-registered-file-names): New defvar.
18571         (tramp-handle-vc-registered): Implement optimization strategy.
18572         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
18573         (tramp-vc-file-name-handler): New defun.
18574         (tramp-get-ls-command, tramp-get-test-command)
18575         (tramp-get-file-exists-command, tramp-get-remote-ln)
18576         (tramp-get-remote-perl, tramp-get-remote-stat)
18577         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
18579         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
18580         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
18581         timestamps.
18582         (tramp-get-file-property): Check for timestamps in
18583         `tramp-cache-inhibit-cache'.
18584         (tramp-set-file-property): Write timestamp.
18586 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
18588         * language/japan-util.el (japanese-symbol-table): Add entries for
18589         cp932-2-byte.
18591         * international/characters.el: Add category `j' to cp932-2-byte.
18593 2009-08-27  Kenichi Handa  <handa@m17n.org>
18595         * international/fontset.el (build-default-fontset-data): New macro.
18596         (setup-default-fontset): Use build-default-fontset-data for CJK,
18597         tibetan, ethiopic, and ipa.
18599 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
18601         * cus-start.el (default-major-mode): Customize `major-mode' instead.
18602         (enable-multibyte-characters): Not customizable any more.
18604         * subr.el (default-mode-line-format, default-header-line-format)
18605         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
18606         (default-direction-reversed, default-truncate-lines)
18607         (default-left-margin, default-tab-width, default-case-fold-search)
18608         (default-left-margin-width, default-right-margin-width)
18609         (default-left-fringe-width, default-right-fringe-width)
18610         (default-fringes-outside-margins, default-scroll-bar-width)
18611         (default-vertical-scroll-bar, default-indicate-empty-lines)
18612         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
18613         (default-fringe-cursor-alist, default-scroll-up-aggressively)
18614         (default-scroll-down-aggressively, default-fill-column)
18615         (default-cursor-type, default-buffer-file-type)
18616         (default-cursor-in-non-selected-windows)
18617         (default-buffer-file-coding-system, default-major-mode)
18618         (default-enable-multibyte-characters): Mark as obsolete.
18620 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
18622         * vc-dir.el (vc-dir-update): Remove debug helper.
18624         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
18626 2009-08-26  Sam Steingold  <sds@gnu.org>
18628         * simple.el (save-interprogram-paste-before-kill): New user option.
18629         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
18630         save the interprogram-paste into kill-ring before overriding it
18631         with the Emacs kill.
18633 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
18635         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
18636         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
18637         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
18638         and move to vc-rcs.el.
18639         (vc-default-next-revision): Rename to vc-rcs-next-revision and
18640         move to vc-rcs.el.
18641         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
18642         (vc-rcs-update-changelog): Remove.
18643         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
18644         and move to vc-rcs.el.
18646         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
18647         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
18648         renaming.
18649         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
18650         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
18651         vc.el, renamed to be RCS specific.
18653         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
18654         New functions.
18655         (vc-cvs-update-changelog): Move here from vc.el.
18657         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
18658         New functions.
18660 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
18662         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
18664 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
18666         * vc-git.el (vc-git-register): Use "git add" for directories.
18667         (vc-git-stash, vc-git-stash-show): New functions.
18668         (vc-git-extra-menu-map): Bind them.
18670         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
18671         directory correctly in case the item is a directory itself.
18673         * vc.el: Document the desired behavior for reverted files in the
18674         `added' state.
18675         (vc-default-prettify-state-info): Remove function, unused.
18677         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
18679 2009-08-26  Glenn Morris  <rgm@gnu.org>
18681         * bindings.el (standard-mode-line-format): Reposition dashes in
18682         which-func entry.  (Bug#4217)
18684         * files.el (enable-local-variables, enable-local-eval)
18685         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
18686         the defcustoms.
18687         (auto-mode-alist, ignored-local-variables)
18688         (save-some-buffers-action-alist): Move risky declarations to the
18689         definitions.
18690         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
18691         (font-lock-defaults, format-alist, imenu--index-alist)
18692         (imenu-generic-expression, input-method-alist, minor-mode-alist)
18693         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
18694         (mode-line-modified, mode-line-mule-info, mode-line-position)
18695         (mode-line-process, mode-line-remote, outline-level)
18696         (parse-time-rules, rmail-output-file-alist)
18697         (special-display-buffer-names, vc-mode):
18698         Move risky declarations to the relevant files.
18699         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
18700         (mode-line-modified, mode-line-process, mode-line-position)
18701         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
18702         * font-core.el (font-lock-defaults):
18703         * format.el (format-alist):
18704         * vc-hooks.el (vc-mode):
18705         * window.el (special-display-buffer-names):
18706         * international/mule-cmds.el (input-method-alist):
18707         Define riskiness here (dumped file) rather than in files.el.
18708         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
18709         * imenu.el (imenu-generic-expression, imenu--index-alist):
18710         * outline.el (outline-level):
18711         * time.el (display-time-string):
18712         * calendar/parse-time.el (parse-time-rules):
18713         * mail/rmailout.el (rmail-output-file-alist):
18714         Autoload riskiness here, rather than placing in files.el.
18716 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
18718         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
18720 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
18722         * simple.el (process-file-side-effects): New defvar.
18724         * dired-aux.el (dired-show-file-type):
18725         * vc.el (vc-diff-internal):
18726         * vc-arch.el (vc-arch-diff):
18727         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
18728         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
18729         * vc-git.el (vc-git-registered, vc-git-working-revision)
18730         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
18731         (vc-git--empty-db-p):
18732         * vc-hooks.el (vc-user-login-name):
18733         * vc-svn.el (vc-svn-registered, vc-svn-state)
18734         (vc-svn-dir-extra-headers, vc-svn-find-revision):
18735         * progmodes/grep.el (grep-probe): Let-bind
18736         `process-file-side-effects' with nil.
18738         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
18740         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
18741         daemon.  Replace ping by checking for running service for bluez
18742         and zeroconf.  (Bug#4239)
18744 2009-08-25  Kevin Ryde  <user42@zip.com.au>
18746         * net/dig.el (dig): Add autoload cookie.
18748 2009-08-25  Glenn Morris  <rgm@gnu.org>
18750         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
18751         load-history for absolute file-names.
18752         (byte-compile-file-form-require): Warn about use of the cl package.
18754         * format.el (format-alist): Doc fix.
18756         * play/bubbles.el (top-level): Don't require cl at run-time.
18758         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
18759         run-time cl).
18761 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
18763         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
18764         from cl package.
18765         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
18767 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
18769         * calc/calc-alg.el (math-trig-rewrite)
18770         (math-hyperbolic-trig-rewrite): New functions.
18771         (calc-simplify): Simplify trig functions when asked.
18773 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
18775         * diff-mode.el (diff-find-source-location): Avoid goto-line.
18777 2009-08-24  Kenichi Handa  <handa@m17n.org>
18779         * language/ind-util.el (mapthread): Delete it.
18780         (combinatorial): New function.
18781         (indian--puthash-cv): Use combinatorial instead of mapthread.
18783 2009-08-22  Kevin Ryde  <user42@zip.com.au>
18785         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
18786         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
18787         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
18788         Clarify docstring that the value is strings not symbols.
18789         (checkdoc-list-of-strings-p): New function.
18791 2009-08-22  Glenn Morris  <rgm@gnu.org>
18793         * files.el (auto-mode-alist):
18794         * hippie-exp.el (he-concat-directory-file-name):
18795         * lpr.el (lpr-windows-system, printer-name):
18796         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
18797         * ps-print.el (ps-windows-system):
18798         * startup.el (command-line):
18799         * emulation/viper-ex.el (viper-glob-function):
18800         * international/mule-cmds.el (set-language-environment-coding-systems):
18801         * net/ange-ftp.el (ange-ftp-write-region):
18802         * obsolete/fast-lock.el (fast-lock-cache-name):
18803         Remove code for defunct system-types emx, macos, mswindows, next-mach,
18804         unisoft-unix, vax-vms, win32, w32.
18806         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
18807         given name if the pattern is not more specific.
18809         * calendar/lunar.el (lunar-phase-names): New option.
18810         (lunar-phase): Doc fix.
18811         (lunar-cycles-per-year): New constant.
18812         (lunar-index): New function.
18813         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
18814         (lunar-phase-name): Use lunar-phase-names.
18815         (calendar-lunar-phases): Use format.
18816         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
18818         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
18819         Copy imenu-example--name-and-position function here for own use.
18820         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
18822         * bs.el (bs--redisplay):
18823         * cus-edit.el (custom-redraw):
18824         * ibuffer.el (ibuffer-bury-buffer):
18825         * server.el (server-goto-line-column):
18826         * startup.el (command-line-1):
18827         * strokes.el (strokes-xpm-for-stroke):
18828         * term.el (term-display-buffer-line):
18829         * view.el (View-goto-line):
18830         * calc/calc.el (calc-do, calc-trail-buffer):
18831         * play/gamegrid.el (gamegrid-add-score-insecure):
18832         * progmodes/ada-mode.el (ada-compile-goto-error):
18833         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
18834         (ebrowse-select-1st-to-9nth):
18835         * progmodes/cperl-mode.el (cperl-time-fontification):
18836         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
18837         * progmodes/gud.el (gud-display-line):
18838         (idlwave-shell-display-line):
18839         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
18840         * progmodes/make-mode.el (makefile-browser-toggle):
18841         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
18842         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
18843         * textmodes/picture.el (picture-draw-rectangle):
18844         * textmodes/reftex-index.el (reftex-index-goto-letter):
18845         (reftex-select-jump-to-previous):
18846         * textmodes/reftex-sel.el (reftex-find-start-point)
18847         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
18848         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
18849         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
18850         * textmodes/tex-mode.el (tex-compilation-parse-errors):
18851         * textmodes/two-column.el (2C-associated-buffer):
18852         Use forward-line rather than goto-line.
18854         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
18855         goto-line.
18857         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
18858         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
18859         (quick-check-list-to-regexp): Declare.
18861         * progmodes/make-mode.el (makefile-browser-insert-selection):
18862         Use goto-char rather than goto-line.
18864         * progmodes/prolog.el (compilation-error-regexp-alist)
18865         (compilation-forget-errors): Declare.
18867 2009-08-22  Juri Linkov  <juri@jurta.org>
18869         * progmodes/grep.el (lgrep, rgrep): At the beginning
18870         set `dir' to `default-directory' unless `dir' is a non-nil
18871         readable directory.  (Bug#4052)
18872         (lgrep, rgrep): Change a weird way to report an error
18873         from using `read-string' to using `error'.
18874         Instead of using interactive arguments in the function body,
18875         add new argument `confirm'.
18877 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
18879         * textmodes/remember.el (remember-buffer):
18880         * progmodes/cperl-mode.el (cperl-vc-header-alist):
18881         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
18882         (icalendar-extract-ical-from-buffer):
18883         * net/newst-treeview.el (newsticker-groups-filename):
18884         * net/newst-backend.el (newsticker-cache-filename):
18885         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
18886         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
18887         (speedbar-add-ignored-path-regexp, speedbar-line-path)
18888         (speedbar-buffers-line-path, speedbar-path-line)
18889         (speedbar-buffers-line-path):
18890         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
18891         (epg-sign-keys):
18892         * epa.el (epa-display-verify-result):
18893         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
18895 2009-08-21  Glenn Morris  <rgm@gnu.org>
18897         * progmodes/js.el (inferior-moz-process): Fix declaration.
18899         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
18901         * obsolete/rnewspost.el (news-mail-reply):
18902         Use goto-char rather than goto-line.
18904         * term/ns-win.el (ns-open-file-select-line):
18905         Use line-beginning-position rather than goto-line.
18907         * apropos.el (apropos-command):
18908         * ehelp.el (electric-helpify):
18909         * printing.el (pr-show-setup):
18910         * strokes.el (strokes-help):
18911         * tutorial.el (tutorial--describe-nonstandard-key)
18912         (tutorial--detailed-help):
18913         * woman.el (woman-mini-help, woman-display-extended-fonts):
18914         * calc/calc-help.el (calc-describe-key):
18915         * emulation/edt.el (edt-electric-helpify):
18916         * international/mule-diag.el (mule-diag):
18917         * play/yow.el (apropos-zippy):
18918         * progmodes/python.el (python-describe-symbol):
18919         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
18920         * textmodes/table.el (*table--cell-describe-mode)
18921         (*table--cell-describe-bindings):
18922         Use help-print-return-message rather than the now obsolete alias.
18924         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
18925         (calendar-cursor-to-visible-date):
18926         * play/5x5.el (5x5-position-cursor):
18927         * play/decipher.el (decipher):
18928         * play/gomoku.el (gomoku-goto-xy):
18929         * play/landmark.el (lm-goto-xy):
18930         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
18931         (mpuz-paint-digit):
18932         Use forward-line, not goto-line.
18934         * mail/rmail.el (rmail-obsolete): Delete custom group.
18935         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
18936         (rmail-remote-password, rmail-remote-password-required):
18937         Remove unneeded :set-after and :set properties.
18939 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
18941         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
18943 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
18945         * loadup.el: Remove leftover macos code.
18947         * vc-git.el (vc-git-annotate-command): Run asynchronously.
18948         Explicitly pass the date format to git blame so that user local
18949         so that the output format can be parsed.
18951 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
18953         * net/dbus.el (top): Don't check for (getenv
18954         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
18956 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
18958         * log-edit.el (log-edit-strip-single-file-name): New var.
18959         (log-edit-insert-changelog): Use it.  Bug#3571
18961 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
18963         * subr.el (read-passwd): Use read-key so keypad keys work as well.
18964         Bug#3287
18966         * help.el (help-print-return-message): Rename from
18967         print-help-return-message.
18969         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
18970         cvs-mode-map parent hack.
18971         (log-view-mode): Derive from special-mode.
18973         * linum.el (linum-mode): window-size-change-functions is redundant.
18974         Adapt to new window-configuration-change-hook behavior.
18975         (linum-after-size, linum-after-config): Remove.
18977         * imenu.el (imenu-example--name-and-position)
18978         (imenu-example--lisp-extract-index-name)
18979         (imenu-example--create-lisp-index, imenu-example--create-c-index):
18980         Mark as obsolete.
18982         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
18983         (inferior-prolog-mode): Use it.
18984         (inferior-prolog-load-file): Reset list of errors.
18986 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
18988         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
18990         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
18992 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
18994         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
18995         is running already.
18997 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
18999         * subr.el (listify-key-sequence-1): Use normal syntax since those
19000         integers are nowadays always represented by the same (positive) number
19001         on all platforms.
19002         (read-key-empty-map): New const.
19003         (read-key-delay): New var.
19004         (read-key): New function.
19005         (force-mode-line-update): Use with-current-buffer.
19006         (locate-user-emacs-file): Don't forget to abbreviate the file name.
19007         (start-process-shell-command, start-file-process-shell-command):
19008         Discourage the use of command-args.
19010 2009-08-19  Glenn Morris  <rgm@gnu.org>
19012         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
19014 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
19016         * simple.el (choose-completion-string): Don't rely on
19017         minibuffer-completing-file-name and ad-hoc checks to decide whether
19018         to continue completion or not.
19020         * minibuffer.el (minibuffer-hide-completions): New function.
19021         (completion--do-completion): Use it.
19022         (completions-annotations): New face.
19023         (completion--insert-strings): Use it.
19024         (completion-pcm--delim-wild-regex): Add docstring.
19025         (completion-pcm--string->pattern): Add support for 0-width delimiters
19026         in completion-pcm--delim-wild-regex.
19028 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
19030         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
19031         Remove unused var `buffer-modified-p'.
19033         * minibuffer.el (completion--do-completion): Move point for the #b001
19034         case as well (bug#4176).
19035         (minibuffer-complete, minibuffer-complete-word): Don't move point.
19037 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
19039         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
19040         and :session buses.
19042 2009-08-18  Kenichi Handa  <handa@m17n.org>
19044         * international/ucs-normalize.el (ucs-normalize-version):
19045         Change to 1.1.
19046         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
19047         (utf-8-hfs): Make it perform normalization on encoding too.
19049         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
19050         (sentence-end-without-space): Delete duplicated chars.
19051         (sentence-end-base): Likewise.
19053         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
19054         (html-mode): Delete duplicated chars from sentence-end-base.
19056         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
19057         (texinfo-mode): Delete duplicated chars from sentence-end-base.
19059 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
19061         * files.el (hack-one-local-variable): If the mode function is for
19062         a minor mode, pass it an argument (Bug#4148).
19064 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
19066         * net/tramp.el (tramp-register-completion-file-name-handler):
19067         Check also for (member 'partial-completion completion-styles).
19069 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
19071         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
19072         abbrev (Bug#3943).
19074 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
19076         * progmodes/cperl-mode.el: Merge upstream 6.2.
19077         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
19078         (cperl-forward-re): Check cperl-brace-recursing.
19079         (cperl-highlight-charclass): New function.
19080         (cperl-find-pods-heres): Use it.
19081         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
19082         (cperl-beautify-regexp-piece): Fix column calculation.
19083         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
19084         (cperl-beautify-level): Don't process entire regexp.
19085         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
19086         calling man.
19087         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
19088         (cperl-init-faces): Build a list in the normal way.
19090 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
19092         * calendar/parse-time.el (parse-time-string-chars): Save match
19093         data.
19095 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
19097         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
19098         (sql-product): Use it.
19099         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
19100         (sql-set-product): Add completion.
19101         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
19102         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
19103         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
19104         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
19105         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
19106         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
19107         (sql-highlight-db2-keywords): Remove.
19108         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
19109         (sql-highlight-product): Use derived-mode-p.
19110         (sql-set-sqli-buffer): Use with-current-buffer.
19111         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
19112         Simplify.
19114         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
19116         * term.el: Fix commenting convention, turn comments into docstrings.
19118 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
19120         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
19122 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
19124         * calendar/parse-time.el (parse-time-string-chars): Compute using
19125         character classes, to handle non-ascii characters (Bug#3190).
19127 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
19129         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
19130         another heredoc if the user adds another < (Bug#3226).
19132         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
19133         Don't initialize based on window-system (Bug#4124).
19135         * facemenu.el (facemenu-read-color): Use a completion function
19136         that accepts any defined color, such as RGB triplets (Bug#3677).
19138         * files.el (get-free-disk-space): Change fallback default
19139         directory to /.  Expand DIR argument before switching to fallback.
19140         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
19142 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
19144         * files.el (load-library): Doc fix.
19146 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
19148         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
19149         (viper-if-string): Redefine C-s in the minibuffer to insert the last
19150         incremental search string.
19152         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
19153         XEmacs.
19155         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
19156         (ediff-merge-region-is-non-clash)
19157         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
19158         Also check if the job is really a merge job.
19160         * ediff.el (ediff-current-file): New function.
19162 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
19164         * progmodes/js.el: Edit docstrings throughout to follow Emacs
19165         conventions.
19166         (js-insert-and-indent): Delete function.
19167         (js-mode-map): Don't bind keys to js-insert-and-indent.
19168         (js-beginning-of-defun): Rename from js--beginning-of-defun.
19169         (js-end-of-defun): Rename from js--end-of-defun.
19170         (js-auto-indent-flag): Delete variable.
19172 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
19174         * progmodes/js.el: Remove proclaim statement.
19175         Defvar which-func-imenu-joiner-function to silence compiler.
19177         * files.el (auto-mode-alist): Use js-mode for .js files.
19179         * progmodes/js2-mode.el: Remove file.
19181         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
19183         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
19185         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
19187 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
19188             Karl Landstrom  <karl.landstrom@brgeight.se>
19190         * progmodes/js.el: New file.
19192 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
19194         * timezone.el (timezone-parse-date): Add ability to understand ISO
19195         basic format (minimal separators) dates in addition to the
19196         already-supported extended format dates.
19198 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
19200         * international/ucs-normalize.el: Add a `coding' file variable.
19202         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
19204 2009-08-14  Sam Steingold  <sds@gnu.org>
19206         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
19208 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
19210         * faces.el (help-argument-name): Define it here instead of
19211         help-fns.el, because in daemon mode help-fns.el may be loaded when
19212         faces are still uninitialized (Bug#1078).
19214         * help-fns.el (help-argument-name): Move defface to faces.el.
19216 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
19218         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
19219         create buffer with a pty but no process so that GDB can make the
19220         inferior the controlling process.
19222 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
19224         * international/ucs-normalize.el: New file.
19226 2009-08-13  Richard Stallman  <rms@gnu.org>
19228         * mail/rmail.el (rmail-get-attr-names):
19229         Accept an attribute header that is too short.
19231         * mail/rmail.el (rmail-forget-messages):
19232         Ignore nil elt in rmail-message-vector.  Use dotimes.
19234         * progmodes/compile.el (compilation-goto-locus):
19235         Use next-error-move-function.
19237         * simple.el (next-error-move-function): New variable.
19239 2009-08-12  Juri Linkov  <juri@jurta.org>
19241         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
19242         always non-nil.  (Bug#4052)
19244         * replace.el (read-regexp): Return empty string when
19245         `default-value' is nil.
19246         (keep-lines-read-args): Don't use empty string as the
19247         default value for `read-regexp'.  (Bug#2495)
19249 2009-08-12  Juri Linkov  <juri@jurta.org>
19251         * international/mule-cmds.el (ucs-insert): Change arguments
19252         from `arg' to `character', `count', `inherit' to be the same
19253         as in `insert-char'.  Doc fix.  (Bug#4039)
19255         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
19257 2009-08-12  Juri Linkov  <juri@jurta.org>
19259         * files-x.el: New file.
19261         * files.el: Move code that deals with adding/deleting
19262         file/directory-local variables to files-x.el.
19264         * Makefile.in (ELCFILES): Add files-x.elc.
19266 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
19268         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
19269         to use `goto-line'.
19270         (gdb-place-breakpoints, gdb-get-location): Rewritten without
19271         `goto-line'.
19272         (gdb-invalidate-disassembly): Do not refresh upon receiving
19273         'update signal.  Instead, update all disassembly buffers only after
19274         threads list.
19275         (gdb): Send -target-detach when buffer is killed (Bug#3794).
19276         (gdb-starting): Move -data-list-register-names...
19277         (gdb-stopped): ...here so it's sent when first thread stops.
19278         (gdb-registers-handler-custom): Do nothing if register names are
19279         unknown yet.
19281         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
19282         from `gdb-mi.el' to avoid extra tangling.
19284         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
19285         change which breaks `gud-def' definitions used in `gdb'.
19286         (gdb-update-gud-running): No extra fuss for updating frame number.
19288 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
19290         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
19291         (describe-language-environment-map, setup-language-environment-map)
19292         (set-coding-system-map): Move initialization into declaration.
19293         (set-language-info-alist): Last arg to define-key-after can be skipped.
19295         * international/quail.el (quail-completion-1): Simplify.
19296         (quail-define-rules): Use slightly more compact code.
19297         (quail-insert-decode-map): Propertize keys, compact columns.
19299         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19300         Add goto-line.
19302 2009-08-10  Miles Bader  <miles@gnu.org>
19304         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
19305         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
19306         (js2-instance-member, js2-private-member, js2-private-function-call)
19307         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
19308         (js2-magic-paren, js2-external-variable):
19309         Remove "-face" suffix from face names.
19310         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
19311         (js2-highlight-undeclared-vars, js2-peek-token)
19312         (js2-parse-function-params, js2-mode-show-errors)
19313         (js2-mode-show-warnings, js2-make-magic-delimiter)
19314         (js2-mode-highlight-magic-parens): Update to use new face names.
19316 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
19318         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
19319         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
19321 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
19323         * subr.el: Provide hashtable-print-readable.
19325         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
19326         hs-c-like-adjust-block-beginning.
19327         (hs-hide-block-at-point): Stop hiding at the beginning of
19328         hs-block-end-regexp (Bug#700).
19330 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
19332         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
19333         a macro.
19334         (gdb-registers-handler-custom): Do not fail when register names
19335         are unavailable.
19337 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
19339         * progmodes/gdb-mi.el (gdb-control-all-threads)
19340         (gdb-control-current-thread): Interactive setters for
19341         `gdb-gud-control-all-threads' to use in menu.
19342         (gdb-show-run-p): Show «Go» when process is not active.
19343         (gud-tool-bar-map): Add non-stop/A,T indicator.
19344         Uses gud/thread.xpm and gud/all.xpm.
19346 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
19348         * net/net-utils.el (net-utils-font-lock-keywords): New var.
19349         (nslookup-font-lock-keywords): Make it a variable.
19350         (net-utils-mode): New mode for viewing diagnostic network output.
19351         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
19352         (net-utils-run-simple): New function.
19353         (ifconfig, iwconfig, netstat, arp, route): Use it.
19355 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
19357         * progmodes/gdb-mi.el (gdb-read-memory-custom)
19358         (gdb-memory-set-address, def-gdb-set-positive-number)
19359         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
19360         after changing settings.
19361         (gdb-invalidate-disassembly): Update when first shown.
19362         (gdb-edit-locals-value): Fixed.
19363         (gdb-registers-handler-custom): Print registers in right order and
19364         allow changing register values (only for current thread yet).
19365         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
19366         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
19367         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
19368         (gdb-locals-handler-custom, gdb-registers-handler-custom):
19369         Thread info in mode name.
19370         (gdb-registers-mode-map): TAB to switch to locals.
19372 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
19374         * mail/rmail.el (rmail-add-mbox-headers)
19375         (rmail-set-message-counters-counter): Search for
19376         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
19378 2009-08-08  Glenn Morris  <rgm@gnu.org>
19380         * Makefile.in (ELCFILES): Update.
19382 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
19384         * mail/sendmail.el (mail-yank-original):
19385         Set buffer-file-coding-system from the one used by the message whose
19386         text is yanked.
19388         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
19389         to "windows" when "pgnuplot" is used.
19390         (calc-graph-command, calc-gnuplot-command, calc-graph-init):
19391         Don't call accept-process-output if "pgnuplot" is used.
19392         (calc-graph-init): Don't send -display and -geometry to
19393         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
19394         running "pgnuplot -V" with shell-command-to-string.
19396         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
19397         the default.
19399 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
19401         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
19402         org/org-latex.elc.
19404 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
19406         * vc-dispatcher.el (vc-resynch-window): Update comment.
19408         * term.el (term-handle-ansi-escape): Add comments with the
19409         terminfo capabilities implemented.
19411 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
19413         * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
19414         (gdb-var-create-handler): Rewritten using JSON parser.
19415         (gdb-propertize-header): Move earlier.
19416         (gdb-set-header): Remove to avoid duplication.
19417         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
19418         Refresh disassembly buffers only after threads list have been
19419         update.
19420         (gdb-threads-header, gdb-registers-header): Per-buffer header line
19421         variables.
19423 2009-08-04  Juri Linkov  <juri@jurta.org>
19425         * files.el: Commands to add/delete file/directory-local variables.
19426         (read-file-local-variable, read-file-local-variable-value)
19427         (read-file-local-variable-mode, modify-file-local-variable)
19428         (modify-file-local-variable-prop-line)
19429         (modify-dir-local-variable): New functions.
19430         (add-file-local-variable, delete-file-local-variable)
19431         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
19432         (add-dir-local-variable, delete-dir-local-variable)
19433         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
19434         (copy-dir-locals-to-file-locals-prop-line): New commands.
19436 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
19438         * abbrev.el (insert-abbrev-table-description): Prettify output.
19439         Suggested by Karl Chen.
19441 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
19443         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
19444         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
19445         (gdb-overlay-arrow-position, gdb-thread-position)
19446         (gdb-disassembly-position): Declare variables.
19447         (gdb-wait-for-pending): Function now.
19448         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
19449         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
19450         compilation goes smoothly.
19451         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
19452         (gdb-non-stop-setting): New customization setting which replaces
19453         `gdb-non-stop' so changing it doesn't break active GDB session.
19454         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
19455         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
19456         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
19457         (gdb-show-threads-by-default): New customization options.
19458         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
19459         routines.
19460         (gdb-get-buffer-create): Send buffers update signal when they are
19461         created.
19462         (gdb-invalidate-locals, gdb-invalidate-registers)
19463         (gdb-invalidate-breakpoints)
19464         (gdb-invalidate-threads, gdb-invalidate-disassembly)
19465         (gdb-invalidate-memory): Accept update signal.
19466         (gdb-current-context-command): Use --frame option.
19467         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
19468         Implement `gdb-frame-number' selection logic.
19469         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
19470         whether to show GUD toolbar buttons.
19471         (gdb-thread-exited): Unselect current thread when it exits.
19472         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
19473         (gdb-mark-line): Routine which sets overlay arrow or inverses
19474         video on fringeless displays.
19475         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
19476         to build aligned columns of data in GDB buffers and set text
19477         properties line-by-line.
19478         (gdb-invalidate-breakpoints)
19479         (gdb-breakpoints-list-handler-custom)
19480         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
19481         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
19482         (gdb-registers-handler-custom): Align data columns.
19483         (gdb-locals-handler-custom): Now prints data like in variable
19484         declarations.
19485         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
19486         Remove confusing buttons.
19487         (gdb-invalidate-threads): Append --frame.
19488         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
19489         between breakpoints/threads buffers.
19490         (gdb-set-window-buffer): Now can ignore dedicated windows.
19491         (gdb-propertize-header): Use `gdb-set-window-buffer'.
19492         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
19493         (def-gdb-thread-buffer-gud-command): Replaces
19494         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
19495         for fine thread control.
19496         (gdb-preempt-existing-or-display-buffer): New function used to
19497         display bound buffers without breaking window layout.
19498         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
19499         (gdb-select-frame): New version of `gdb-frames-select' which now
19500         sets `gdb-frame-number' so commands may use --frame option instead
19501         of inner debugger state.
19502         (gdb-frame-handler): Do not set `gdb-frame-number'.
19503         (gdb-threads-mode-map): Select threads with mouse.
19505         * progmodes/gud.el (gdb-gud-context-call): Declare function to
19506         avoid compilation warning.
19507         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
19508         `gdb-show-stop-p`.
19510         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
19511         Argument `key' renamed to `buffer-type'.
19512         (gdb-current-context-buffer-name): Do not add thread info to
19513         buffer name when no thread is selected.
19514         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
19515         command (bug 3794).
19516         (gdb-thread-selected): Handle `=thread-selected' notification.
19517         (gdb-wait-for-pending): New macro to deal with congestion problems.
19518         (gdb-breakpoints-list-handler-custom): Don't fail on pending
19519         breakpoints.
19520         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
19521         This fixes problem similar to one described in bug 3947.
19522         (gud-menu-map): More menu items.
19523         (gdb-init-1): Reset `gdb-thread-number' to nil.
19525         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
19526         non-stop settings.
19528         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
19529         (gdb-current-context-command): Do not append --thread if
19530         `gdb-thread-number' is nil.
19531         (gdb-running-threads-count, gdb-stopped-threads-count):
19532         New variables.
19533         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
19534         (gdb-stopped-hooks, gdb-switch-when-another-stopped):
19535         New customization options.
19536         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
19537         GUD commands.
19538         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
19539         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
19540         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
19541         set `gdb-thread-number' and update `gud-running' properly.
19542         (gdb-running): Update threads list when new threads appear.
19543         (gdb-stopped): Support non-stop operation and new thread switching
19544         logic.
19545         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
19546         (gdb-json-partial-output): New set of JSON routines.
19547         (def-gdb-auto-update-trigger): New `signal-list' optional
19548         argument.
19549         (gdb-thread-list-handler-custom): Update `gud-running',
19550         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
19551         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
19552         (gdb-continue-thread, gdb-step-thread): New commands for fine
19553         thread execution control.
19554         (gud-menu-map): New menu items to switch non-stop options.
19555         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
19556         (gdb-send): Mimic RET properly (bug 3794).
19558         * progmodes/gdb-mi.el (gdb-rules-name-maker)
19559         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
19560         gdb-buffer-rules.
19561         (def-gdb-auto-update-handler): New nopreserve optional argument.
19562         (gdb-stack-list-frames-custom): Print stack from top to bottom.
19564         * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
19565         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
19566         (gdb-parent-mode): New mode to derive other GDB modes from.
19567         (gdb-display-disassembly-for-thread)
19568         (gdb-frame-disassembly-for-thread): New commands for threads
19569         buffer.
19571         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
19572         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
19573         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
19574         (gdb-update): We now store all GDB buffers in a list so that they
19575         can be updated by traversing a list instead of calling invalidate
19576         triggers explicitly.
19577         (def-gdb-trigger-and-handler): New macro to define trigger-handler
19578         pair for GDB buffer.
19579         (gdb-stack-buffer-name): Add thread information.
19580         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
19581         handle pending triggers.
19582         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
19583         (def-gdb-thread-buffer-simple-command)
19584         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
19585         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
19586         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
19587         New commands which show buffers bound to thread.
19588         (gdb-stack-list-locals-regexp): Remove unused regexp.
19590         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
19591         (gdb-locals-buffer-name, gdb-registers-buffer-name)
19592         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
19593         to (gud-comint-buffer) in *-buffer-name functions
19594         because (gdb-get-target-string) already does that.
19595         (gdb-locals-handler-custom, gdb-registers-handler-custom)
19596         (gdb-changed-registers-handler): Rewritten without regexps.
19598         * progmodes/gdb-mi.el: Basic thread selection support.
19599         (gdb-thread-number): New variable.
19600         (gdb-current-context-command): New macro which adds --thread
19601         option to command.
19602         (gdb-threads-mode-map): Select thread with SPC.
19603         (gdb-thread-list-handler-custom): Mark current thread with overlay
19604         arrow.  Synchronize GDB thread and Emacs thread.
19605         (gdb-select-thread): New command which selects current thread.
19606         (gdb-invalidate-frames, gdb-invalidate-locals)
19607         (gdb-invalidate-registers): Use --thread option.
19609 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
19611         * net/tramp.el (top): Make check for tramp-gvfs loading more
19612         robust.  (Bug#3977)
19613         (tramp-handle-insert-file-contents): `unwind-protect' must be
19614         inside `with-parsed-tramp-file-name'.
19616         * net/tramp-gvfs.el (top): Remove superfluous message when loading
19617         fails.
19619 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
19621         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
19622         directory if CLASSPATH is not set.
19624 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
19626         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
19627         New defconst.
19628         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
19630 2009-08-02  Kevin Ryde  <user42@zip.com.au>
19632         * net/newst-backend.el (newsticker--raw-url-list-defaults):
19633         Update freshmeat link.  Delete newsforge.com as it seems gone.
19635 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
19637         * select.el (x-set-selection): Doc fix (Bug#4021).
19639         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
19641         * help-fns.el (describe-variable): Treat list return values from
19642         dir-locals-find-file properly (Bug#4005).
19644 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
19646         * net/tramp.el (tramp-debug-message): Print also microseconds.
19648 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
19650         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
19651         or END is non-nil.
19652         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
19653         (tramp-get-debug-buffer): Change `outline-regexp' according to new
19654         format.
19656         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
19657         (tramp-get-file-property): Use it.
19659         * autorevert.el (auto-revert-handler):
19660         Allow `auto-revert-tail-mode' for remote files.
19662 2009-08-02  Jason Rumney  <jasonr@gnu.org>
19664         * minibuffer.el (read-file-name): Treat confirm options to
19665         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
19667 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
19669         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
19670         (font-lock-variable-name-face, font-lock-constant-face):
19671         Darken the colors for light backgrounds.
19673 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
19675         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
19676         month names.  (Bug#3987)
19678 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
19680         * simple.el (line-move-finish): Pass whole number to
19681         line-move-to-column.
19682         (line-move-visual): Perform hscroll to the recorded position.
19684 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
19686         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
19688 2009-07-29  Alan Mackenzie  <acm@muc.de>
19690         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
19692 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
19694         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
19695         (gdb-place-breakpoints): Use full path when setting breakpoints.
19697 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
19699         * calc/calc.el (calc-mode-map): Add keybinding for
19700         `calc-transpose-lines'.
19702 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
19704         * calc/calc-misc.el (calc-transpose-lines): New function.
19706 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
19708         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
19709         Simplify check for out-of-band methods.
19710         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
19711         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
19713 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
19715         * vc-git.el (vc-git-checkin): Fix typo.
19717 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
19719         * progmodes/js2-mode.el: New file.
19721 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
19723         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
19724         (gud-menu-map): Adjust tooltip accordingly.
19726 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
19728         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
19729         (vc-bzr-log-view-mode): Adjust log-view-file-re.
19731         * add-log.el (change-log-mode-map): Add a menu.
19733 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
19735         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
19736         function returns nil.
19737         (dbus-handle-event): Handle special return value :ignore.
19738         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
19740 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
19742         * view.el (view-mode-enable): Don't define Helper-return-blurb if
19743         it's not needed.
19745 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
19747         Fix Bug#3888:
19749         * w32-vars.el (x-select-enable-clipboard): Doc fix.
19751         * term/pc-win.el (x-display-name, x-colors)
19752         (x-select-enable-clipboard, x-select-text): Doc fix.
19754         * term/common-win.el (x-display-name, x-colors): Doc fix.
19756         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
19757         (xw-defined-colors): Doc fix.
19759         * w32-fns.el (x-select-text, x-setup-function-keys)
19760         (x-get-selection, x-set-selection): Doc fix.
19762         * term/x-win.el (x-select-text, x-setup-function-keys)
19763         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
19765         * select.el (x-set-selection): Doc fix.
19767 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
19769         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
19770         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
19771         "IsNSSSupportAvailable" method is not available.
19772         Reported by Steve Youngs <steve@sxemacs.org>.
19774 2009-07-24  Kenichi Handa  <handa@m17n.org>
19776         * international/characters.el: Fix setting of category ?C, ?|, ?K,
19777         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
19778         (build-unicode-category-table): Fix range checks.
19780 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
19782         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
19783         the buffer we try to sync is current when calling
19784         vc-resynch-buffer.
19786         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
19787         not show up to date files.
19789 2009-07-24  Glenn Morris  <rgm@gnu.org>
19791         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
19792         Add autoload cookies.  If necessary, initialize.
19793         (elint-log): Handle non-file buffers.
19794         (elint-initialize): Add optional argument to reinitialize.
19795         (elint-find-builtin-variables): Save excursion.
19797 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
19799         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
19800         for Lint.
19802 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
19804         * vc.el (vc-print-log-internal): New function, split out from ...
19805         (vc-print-log): ... here.
19806         (vc-dir-move-to-goal-column): Declare.
19808         * vc-git.el (vc-git-add-signoff): New variable.
19809         (vc-git-checkin): Use it.
19810         (vc-git-toggle-signoff): New function.
19811         (vc-git-extra-menu-map): Bind it to menu.
19812         (vc-git--run-command-string): Accept a nil FILE argument.
19813         (vc-git-stash-list): New function.
19814         (vc-git-dir-extra-headers): Use it.
19816 2009-07-23  Glenn Morris  <rgm@gnu.org>
19818         * help-fns.el (describe-variable): Describe ignored and risky local
19819         variables in a similar way to that in which we describe safe ones.
19821         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
19822         (byte-compile-output-file-form, byte-compile-output-docform)
19823         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
19824         Give some more local variables with common names a "bytecomp-" prefix,
19825         so as not to shadow things during compilation.
19826         * emacs-lisp/cl-macs.el (load-time-value)
19827         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
19828         `outbuffer' to `bytecomp-outbuffer'.
19830         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
19831         since the next two variables cover them automatically now.
19832         (elint-builtin-variables, elint-autoloaded-variables): New.
19833         (elint-unknown-builtin-args): Remove all members, since they can be
19834         parsed automatically now.
19835         (elint-extra-errors): New.
19836         (elint-env-add-env, elint-env-add-macro): Use cadr.
19837         (elint-current-buffer): Use or.  Change final message.
19838         (elint-get-top-forms): Use line-end-position.
19839         (elint-init-env): Use cadr.  Handle autoload, declare-function,
19840         and defalias.
19841         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
19842         (regexp-assoc): Remove unused function.
19843         (elint-top-form): Set elint-current-pos, to record the start of the
19844         top-level form, for compilation-mode.
19845         (elint-form): Trap errors in macro expansion.  Use dolist.
19846         (elint-unbound-variable): Use elint-builtin-variables and
19847         elint-autoloaded-variables.
19848         (elint-get-args): Use cadr, or.
19849         (elint-check-cond-form): Use dolist, cadr.
19850         (elint-check-condition-case-form): Doc fix.  Use cadr.
19851         Use elint-extra-errors.
19852         (elint-log): New function.
19853         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
19854         Distinguish errors and warnings.
19855         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
19856         Use a bytecomp-style format.
19857         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
19858         (elint-get-log-buffer): Use compilation mode.  Disable undo.
19859         Don't truncate lines.
19860         (elint-initialize): Set builtin and autoloaded variable lists.
19861         Only process elint-unknown-builtin-args if non-nil.
19862         (elint-find-builtin-variables, elint-find-autoloaded-variables):
19863         New functions.
19864         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
19866 2009-07-22  Kevin Ryde  <user42@zip.com.au>
19868         * net/newst-backend.el (newsticker--parse-atom-1.0)
19869         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
19870         (newsticker--parse-rss-1.0):
19871         * progmodes/idlwave.el (idlwave-mode):
19872         * progmodes/idlw-shell.el (idlwave-shell-mode):
19873         * progmodes/vera-mode.el (vera-mode):
19874         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
19875         * progmodes/vhdl-mode.el (vhdl-mode):
19876         * textmodes/table.el (table-generate-source)
19877         (table--warn-incompatibility):
19878         Hyperlink urls in docstrings with URL `...'.
19880 2009-07-22  Glenn Morris  <rgm@gnu.org>
19882         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
19883         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
19884         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
19885         Remove leading * from defcustom docs.
19887         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
19889         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
19890         defcustom doc.
19891         (list-load-path-shadows): Optionally, just return shadows as a string.
19893         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
19895 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
19897         * mail/rmailedit.el (rmail-edit-mode):
19898         Use auto-save-include-big-deletions.
19900         * mail/rmail.el (rmail-variables):
19901         Use auto-save-include-big-deletions.
19903         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
19904         changes.
19906 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
19908         * calc/calc.el (calc-undo-length): New variable.
19909         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
19911 2009-07-21  Richard Stallman  <rms@gnu.org>
19913         * files.el (auto-save-mode): Handle buffer-save-size = -2
19914         for toggling mode.
19916 2009-07-21  Glenn Morris  <rgm@gnu.org>
19918         * textmodes/ispell.el (ispell-looking-back): Update declaration.
19920         * calendar/todo-mode.el (calendar-current-date): Update declaration.
19922         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
19923         silence compiler.  Instead...
19924         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
19925         (ps-print-ensure-fontified): Update for above function name changes.
19927         * printing.el (pr-mh-get-msg-num, pr-mh-show)
19928         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
19929         silence compiler.  Instead...
19930         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
19931         (mh-show-buffer): Only define for compiler.
19932         (pr-mh-current-message): Update for above function name changes.
19934         * files.el (abort-if-file-too-large): Explicitly pass `filename'
19935         as an argument.
19936         (find-file-noselect, insert-file-1): Update for above change.
19938         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
19940         * mail/mailclient.el (mailclient-send-it): Fix message.
19942         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
19943         (edebug-eval): Check cl-debug-env is bound.
19944         (print-level, print-circle): Don't redefine built-in variables.
19946         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
19947         (custom-print-vectors): Remove old comments from doc.
19949         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
19950         (emerge-version): Make the variable an obsolete alias for the
19951         emacs-version variable.  Make the function obsolete.
19952         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
19953         Emerge options, rather than merging in into the main Options menu.
19954         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
19955         and auto advance modes.  Disable edit/fast items when not relevant.
19957 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
19959         * term/vt420.el (terminal-init-vt420): Fix typo.
19961 2009-07-20  Sam Steingold  <sds@gnu.org>
19963         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
19964         variable (removed from compile.el on 2004-03-11).
19966 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
19968         * files.el (hack-local-variables-filter): Fix last change.
19970 2009-07-19  Juri Linkov  <juri@jurta.org>
19972         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
19973         (dir-local-variables-alist): New buffer-local variable.
19974         (hack-local-variables-filter): If variable is not dir-local,
19975         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
19976         because file-local overrides dir-local.
19977         (c-postprocess-file-styles) <declare-function>:
19978         Remove obsolete declaration.
19979         (hack-dir-local-variables): Add dir-local variable/value pair to
19980         `dir-local-variables-alist' and remove duplicates.  Doc fix.
19982         * help-fns.el (describe-variable): Add information about
19983         file-local and dir-local variables.
19985 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
19987         * files.el (hack-local-variables-filter): Rewrite.
19989 2009-07-19  Glenn Morris  <rgm@gnu.org>
19991         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
19992         Silence compiler by only defining on XEmacs.
19994         * international/mule.el (auto-coding-regexp-alist): Only match
19995         BABYL... at the start of buffer, not of lines.  (Bug#3790)
19997         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
19998         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
19999         (cal-menu-context-mouse-menu): Doc fix.
20001         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
20003         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
20005 2009-07-18  Juri Linkov  <juri@jurta.org>
20007         * info.el: Virtual Info keyword finder.
20008         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
20009         (Info-finder-file): New variable.
20010         (Info-finder-find-file): New function.
20011         (finder-known-keywords, finder-package-info)
20012         (find-library-name, lm-commentary): Use defvar and
20013         declare-function to silence compiler warnings.
20014         (Info-finder-find-node): New function.
20015         (info-finder): New command.
20017         * subr.el (process-kill-buffer-query-function): New function.
20018         (add-hook)<kill-buffer-query-functions>: Add hook
20019         `process-kill-buffer-query-function'.
20021 2009-07-18  Alan Mackenzie  <acm@muc.de>
20023         * progmodes/cc-mode.el (c-before-hack-hook)
20024         (c-postprocess-file-styles): Give invocation of `c-set-style'
20025         DONT-OVERRIDE parameter of t.  Already set style variables will
20026         thus not be overridden by style settings given by `c-file-syle'.
20028         * files.el (hack-local-variables-filter): Remove entries with
20029         duplicate keys from `file-local-variables-alist'.
20031 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
20033         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
20034         x-set-selection if display-selections-p returns nil for the
20035         current frame.
20037 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
20039         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
20041 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
20043         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
20044         Accept nil in addition to a regexp.
20045         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
20046         Accept nil in addition to a regexp.
20047         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
20048         buffers that have an associated file.  Handle nil values of
20049         desktop-buffers-not-to-save and desktop-files-not-to-save.
20050         (Bug#3833)
20052         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
20053         (x-disown-selection-internal): New functions.
20055 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
20057         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
20058         warning.
20059         (gdb-breakpoints-header): Move forward to avoid compiler warning.
20060         (gdb-make-header-line-mouse-map): Remove duplicate definition.
20062 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
20064         * simple.el (set-mark): Revert last change.
20066 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
20068         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
20069         rendering of pngs is not possible instead of messaging a long
20070         description.
20072 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
20074         * w32-fns.el (x-selection-owner-p): New function.
20076         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
20077         (mouse-yank-at-click, mouse-yank-primary):
20078         If select-active-regions is non-nil, deactivate the mark before
20079         insertion.
20081         * simple.el (deactivate-mark, set-mark): Only save selection if we
20082         own it.
20084 2009-07-17  Kenichi Handa  <handa@m17n.org>
20086         * case-table.el (describe-buffer-case-table): Fix for the case
20087         that KEY is a cons.
20089 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
20091         * vc-rcs.el (vc-rcs-find-file-hook):
20092         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
20094 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
20096         * net/tramp.el (tramp-wait-for-output): Handle the case when
20097         commands do not return a newline but a null byte before the shell
20098         prompt.  (Bug#3858)
20100 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
20102         * term/ns-win.el (ns-set-alpha): Don't declare.
20103         (ns-set-background-alpha): Remove function.
20105 2009-07-16  Kevin Ryde  <user42@zip.com.au>
20107         * emacs-lisp/copyright.el (copyright-update): Save match-data across
20108         y-or-n-p, for safety.
20110 2009-07-16  Richard Stallman  <rms@gnu.org>
20112         * files.el (auto-save-mode): If buffer-saved-size is -2,
20113         don't clobber it.
20115         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
20116         (rmail-retry-ignored-headers): Add more uninteresting fields.
20118 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
20120         * net/rcirc.el (rcirc): Use history variables.
20121         (rcirc-server-name-history, rcirc-nick-name-history)
20122         (rcirc-server-port-history): New variables.
20124 2009-07-15  Kenichi Handa  <handa@m17n.org>
20126         * international/mule-cmds.el (set-language-environment-charset):
20127         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
20128         ignore them.
20130         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
20131         Delete unibyte-display.
20133 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
20135         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
20137 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
20139         * simple.el (deactivate-mark): Optional argument FORCE.
20140         (set-mark): Use deactivate-mark.
20142         * info.el (Info-search): No need to check transient-mark-mode
20143         before calling deactivate-mark.
20145         * select.el (x-set-selection): Doc fix.
20146         (x-valid-simple-selection-p): Allow buffer values.
20147         (xselect--selection-bounds): Handle buffer values.
20148         Suggested by David De La Harpe Golden.
20150         * mouse.el (mouse-set-region, mouse-drag-track):
20151         Call copy-region-as-kill before setting the mark, to let
20152         select-active-regions work.
20154 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
20156         * simple.el (deactivate-mark): If select-active-regions is
20157         non-nil, copy the selection data into a string.
20158         (activate-mark): If select-active-regions is non-nil, set the
20159         selection to the current buffer.
20160         (set-mark): Update selection if select-active-regions is non-nil.
20162         * select.el (x-valid-simple-selection-p): Allow buffer values.
20164 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
20166         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
20167         and more featureful message-mode.
20169 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
20171         * select.el (x-set-selection): Doc fix.
20172         (x-valid-simple-selection-p): Disallow selection data consisting
20173         of a list or cons of integers, since that is not used.
20174         (xselect--selection-bounds, xselect--int-to-cons): New functions.
20175         (xselect-convert-to-string, xselect-convert-to-length)
20176         (xselect-convert-to-filename, xselect-convert-to-charpos)
20177         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
20179 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
20181         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
20182         output in -break-info command (Emacs bug #3794).
20184 2009-07-14  Glenn Morris  <rgm@gnu.org>
20186         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
20187         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
20188         (edebug-print-length, edebug-print-level, edebug-print-circle)
20189         (edebug-sit-for-seconds, edebug-view-outside)
20190         (edebug-bounce-point, edebug-set-global-break-condition)
20191         (edebug-Go-nonstop-mode, edebug-trace-mode)
20192         (edebug-Trace-fast-mode, edebug-continue-mode)
20193         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
20194         (edebug-visit-eval-list): Doc fixes.
20196         * subr.el (def-edebug-spec): Doc fix.
20198 2009-07-14  Kenichi Handa  <handa@m17n.org>
20200         * international/characters.el: Fix setting of category ?C.
20202 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
20204         * term/ns-win.el (x-select-font): defalias x-select-font to
20205         ns-popup-font-panel instead of generate-fontset-menu.
20207 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
20209         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
20211 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
20213         * arc-mode.el (archive-find-type): Allow for a PK00 string before
20214         the PK\003\004 header (Bug#3770).
20216 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
20218         * pcomplete.el (pcomplete-comint-setup): Check for
20219         shell-dynamic-complete-filename too.
20221 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
20223         * simple.el (temporary-goal-column): Change the value for
20224         line-move-visual to a cons cell.
20225         (line-move-visual): Record or set the window hscroll, if
20226         necessary (Bug#3494).
20227         (line-move-1): Handle cons value of temporary-goal-column.
20229 2009-07-11  Kenichi Handa  <handa@m17n.org>
20231         * international/mule-diag.el (describe-character-set): Don't show
20232         width.
20234 2009-07-10  Sam Steingold  <sds@gnu.org>
20236         * progmodes/compile.el (compilation-mode-font-lock-keywords):
20237         Omake sometimes indents the errors it prints, so allow all
20238         regexps to start with spaces.
20240 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
20242         * cus-edit.el (customize-changed-options-previous-release):
20243         Bump value to 22.1.  (Bug#3804)
20245 2009-07-08  Sam Steingold  <sds@gnu.org>
20247         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
20248         to be a cons cell (test . ignored-directory) to selectively ignore
20249         some directories depending on the location of the search.
20251 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
20253         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
20254         remote user is root, on the local host.
20255         (tramp-local-host-p): Either the local user or the remote user
20256         must be root.  (Bug#3771)
20258 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
20260         * progmodes/gdb-mi.el (gdb): Remove description of
20261         gdb-use-separate-io-buffer.
20262         (menu): Don't allow toggling of or enable
20263         gdb-use-separate-io-buffer from menubar.
20265 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
20267         * mail/unrmail.el (unrmail): Make sure the message ends with two
20268         newlines (Bug#3769).
20270 2009-07-08  Glenn Morris  <rgm@gnu.org>
20272         * calendar/calendar.el (calendar-current-date): Rework previous change.
20274 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
20276         * calendar/calendar.el (calendar-current-date):
20277         Add an optional argument giving an offset from today.
20279 2009-07-08  Glenn Morris  <rgm@gnu.org>
20281         * tutorial.el (tutorial--describe-nonstandard-key):
20282         Adjust the message for when a key has been unbound.
20283         (help-with-tutorial): Hide the arch-tag.
20285 2009-07-08  Kenichi Handa  <handa@m17n.org>
20287         * international/fontset.el (setup-default-fontset): For each
20288         script, append (not set) font-specs.
20290         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
20291         docstring.
20293 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
20295         * progmodes/gdb-mi.el (gdb-init-1): Move sending
20296         -data-list-register-names to ...
20297         (gdb-starting): ... here because GDB 7.0 requires execution to
20298         have started when using this MI command.
20299         (gdb-set-header): New function to distinguish select and
20300         unselected tabs in gdb buffers.
20301         (gdb-propertize-header): New macro that uses gdb-set-header.
20302         (gdb-breakpoints-header, gdb-locals-header): Use it.
20303         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
20305 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
20307         * Makefile.in (ELCFILES): Remove fadr.elc.
20309 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
20311         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
20312         may contain frame information, so `string-match' should be used.
20313         (gdb-update): Disassembly is invalidated through
20314         `gdb-get-selected-frame'.
20315         (gdb-pad-string): New function to pad string with spaces.
20316         (gdb-invalidate-disassembly): Invalidate only if the buffer
20317         exists.
20318         (gdb-disassembly-handler-custom): Column alignment.
20319         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
20320         placing new ones.
20321         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
20322         end of line, too.
20323         (gdb-frame-handler): Match convention to for disassembly buffer
20324         mode name.
20325         (gdb-stack-list-frames-handler): Rewritten without regexps.
20326         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
20327         not highlight breakpoints without line information.
20328         (gdb-input): Add trailing newline to command.
20330         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
20331         buffer properly.
20332         (gdb-breakpoints-list-handler-custom): Replacement for
20333         `gdb-break-list-handler'.  Using real parser instead of regexps
20334         now.
20335         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
20336         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
20337         to place breakpoints.
20338         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
20339         functions.
20340         (gdb-disassembly-handler-custom): Show overlay arrow.
20341         (gdb-disassembly-place-breakpoints): Show breakpoints in
20342         disassembly buffer.
20343         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
20344         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
20345         instead of parsing breakpoints buffer.  Fixed old menu references
20346         in `gud-menu-map'.
20348         * fadr.el: Remove.
20350         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
20351         (gdb-memory-address): New variable which holds top address of
20352         memory page shown in memory buffer.
20353         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
20354         New customization variables.
20355         New functions:
20356         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
20357         display the memory buffer.
20358         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
20359         buffer display parameters.
20360         (def-gdb-memory-format, gdb-memory-format-binary)
20361         (gdb-memory-format-octal, gdb-memory-format-unsigned)
20362         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
20363         Functions for setting memory buffer format.
20364         (gdb-memory-unit-word, gdb-memory-unit-halfword)
20365         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
20366         unit size used in memory buffer.
20367         (gdb-memory-show-next-page, gdb-memory-show-previous-page):
20368         Switch to next/previous page of memory buffer.
20369         Now using (bindat-get-field) instead of fadr functions.
20371 2009-07-07  Sam Steingold  <sds@gnu.org>
20373         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
20374         non-top-level files.
20376 2009-07-07  Kenichi Handa  <handa@m17n.org>
20378         * international/mule-cmds.el (reset-language-environment):
20379         Put the highset priority to the charset iso-8859-1.
20381 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
20383         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
20384         to the end of the line when locating the block (Bug#700).
20386 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
20388         * net/tramp.el (tramp-handle-write-region): Flush file properties
20389         in case of short track.
20391 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
20393         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
20394         Coded custom representation of verilog error regular expressions
20395         to work with Emacs-22's new format.
20396         (verilog-error-regexp-xemacs-alist): Coded custom representation
20397         of verilog error regular expressions to work with XEmacs format.
20398         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
20399         error recognition into XEmacs.
20400         (verilog-error-regexp-add-emacs): Hook routine to install verilog
20401         error recognition into Emacs-22.
20403 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
20405         * woman.el: Remove stand-alone closing parentheses.
20406         (woman-file-name, woman2-format-paragraphs)
20407         (woman-leave-blank-lines): Code cleanup.
20408         (woman-use-own-frame): Change default to nil.
20409         (woman-italic, woman-bold, woman-unknown, woman-addition):
20410         Change defaults to inherit from default faces.
20411         (woman2-process-escapes): Consume the newline after a stand-alone
20412         filler character (Bug#3651).
20414 2009-07-06  Glenn Morris  <rgm@gnu.org>
20416         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
20417         (top-level): Move provide to the end.
20418         (ffap): Remove defunct URL from custom group.
20420         * subr.el (eval-after-load): Doc fix.
20422 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
20424         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
20425         `calc-embedded-word' is called twice.
20427 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
20429         * files.el (find-alternate-file-other-window, find-alternate-file):
20430         Obey confirm-nonexistent-file-or-buffer.
20432 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
20434         * dired-aux.el (dired-show-file-type): Handle remote files.
20436 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
20438         * desktop.el (desktop-globals-to-save):
20439         Add file-name-history (Bug#2750).
20441 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
20443         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
20445 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
20447         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
20448         property on entire argument since this is what eshell-lisp-command
20449         expects.
20451 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
20453         * net/tramp-gvfs.el (tramp-gvfs-methods)
20454         (tramp-gvfs-zeroconf-domain)
20455         (tramp-bluez-discover-devices-timeout): Add version flag.
20456         (tramp-gvfs-handler-mounted-unmounted)
20457         (tramp-gvfs-connection-mounted-p): Polish handling of
20458         incompatibilities between GVFS 0.2 and 1.0.
20460 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
20462         * cus-start.el (all): Add make-pointer-invisible.
20464 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
20466         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
20467         formatted correctly.
20469 2009-07-02  Juri Linkov  <juri@jurta.org>
20471         * info.el: Virtual Info files and nodes.
20472         (Info-virtual-files, Info-virtual-nodes): New variables.
20473         (Info-current-node-virtual): New variable.
20474         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
20475         New functions.
20476         (Info-file-supports-index-cookies): Use Info-virtual-file-p
20477         to check for a virtual file instead of checking a fixed list
20478         of node names.
20479         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
20480         instead of ad-hoc processing of "dir" and (apropos history toc).
20481         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
20482         instead of ad-hoc processing of "dir" and (apropos history toc).
20483         Reread a file when moving from a virtual node.
20484         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
20485         (Info-directory-toc-nodes, Info-directory-find-file)
20486         (Info-directory-find-node): New functions.
20487         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
20488         (Info-history): Move part of code to
20489         `Info-history-find-node'.
20490         (Info-history-toc-nodes, Info-history-find-file)
20491         (Info-history-find-node): New functions.
20492         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
20493         (Info-toc): Move part of code to `Info-toc-find-node'.
20494         (Info-toc-find-node): New function.
20495         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
20496         the current Info file name to references because now the node
20497         "*TOC*" belongs to the same Info manual.
20498         (Info-toc-build): Rename from `Info-build-toc'.
20499         (Info-toc-nodes): Rename input argument `file' to `filename'.
20500         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
20501         instead of ad-hoc processing of ("dir" apropos history toc).
20502         (Info-index-nodes): Use Info-virtual-file-p
20503         to check for a virtual file instead of checking a fixed list
20504         of node names.
20505         (Info-index-node): Add check for `Info-current-node-virtual'.
20506         Raise `save-match-data' higher up the tree to contain
20507         `search-forward' too (bug fix).
20508         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
20509         (Info-virtual-index-nodes): New variable.
20510         (Info-virtual-index-find-node, Info-virtual-index): New functions.
20511         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
20512         (Info-apropos-file, Info-apropos-nodes): New variables.
20513         (Info-apropos-toc-nodes, Info-apropos-find-file)
20514         (Info-apropos-find-node, Info-apropos-matches): New functions.
20515         (info-apropos): Move part of code to `Info-apropos-find-node' and
20516         `Info-apropos-matches'.
20517         (Info-mode-map): Bind "I" to `Info-virtual-index'.
20518         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
20519         for a virtual file instead of checking a fixed list of node names.
20521         * simple.el (async-shell-command): New command.
20523         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
20525         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
20526         instead of `mount-info'.
20528 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
20530         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
20531         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
20533 2009-07-02  Kenichi Handa  <handa@m17n.org>
20535         * international/mule.el (set-keyboard-coding-system): Force *-unix
20536         coding-system to avoid eol conversion.
20538 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
20540         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20541         Add handler for `process-file', `shell-command' and
20542         `start-file-process'.
20543         (tramp-gvfs-handle-shell-command)
20544         (tramp-gvfs-handle-start-file-process)
20545         (tramp-gvfs-handle-process-file): New defuns.
20546         (tramp-synce-list-devices): Simplify check for existence of property.
20548 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
20550         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
20552 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
20554         * language/korean.el (set-language-info-alist): Add korean-cp949,
20555         cp949 to spec.
20557 2009-07-01  Kenichi Handa  <handa@m17n.org>
20559         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
20561         * international/encoded-kb.el: Deleted.
20563         * international/mule.el (set-keyboard-coding-system): Perform the
20564         necessary setup here instead of calling encoded-kbd-setup-display.
20566 2009-07-01  Glenn Morris  <rgm@gnu.org>
20568         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
20570 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
20572         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
20574 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
20576         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
20577         Handle also the 'rename case, when setting file modes.  (Bug#3712)
20578         (tramp-default-file-modes): Remove execute permissions.
20580         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
20581         (top): Add a default for "synce" in `tramp-default-user-alist'.
20582         Add completion function for "synce" method.
20583         (tramp-hal-service, tramp-hal-path-manager)
20584         (tramp-hal-interface-manager, tramp-hal-interface-device):
20585         New defconst.
20586         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
20587         (tramp-synce-list-devices, tramp-synce-parse-device-names):
20588         New defuns.
20590         * net/trampver.el: Update release number.
20592 2009-06-30  Kenichi Handa  <handa@m17n.org>
20594         * international/fontset.el (setup-default-fontset): Add CJK fonts
20595         for symbols and the other miscellaneous characters.
20597         * language/korea-util.el (setup-korean-environment-internal):
20598         Make char-width-table suitable for Korean environments.
20599         (exit-korean-environment): Cancel above.
20601         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
20602         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
20603         setup-function to make char-width-table suitable for respective
20604         environments, and an exit-function to cancel that.
20606         * language/japan-util.el (setup-japanese-environment-internal):
20607         Call use-cjk-char-width-table with arg `ja_JP'.
20609         * international/characters.el (cjk-char-width-table): Delete it.
20610         (cjk-char-width-table-list): New variable.
20611         (use-cjk-char-width-table): New arg local-name.
20612         (use-default-char-width-table): Fix for the case that Emacs is
20613         already using the default char-width-table.
20615 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
20617         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
20618         modes mandatory.  (Bug#3712)
20620 2009-06-29  Alan Mackenzie  <acm@muc.de>
20622         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
20623         correction between the visible width of TABs and their number of bytes.
20625 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
20627         * server.el (server-buffer-done): Prevent kill-buffer from
20628         prompting by clearing the buffer modification flag (Bug#3696).
20630 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
20632         * progmodes/verilog-mode.el (verilog-beg-of-statement)
20633         (verilog-endcomment-reason-re): Support unique case and priority case.
20634         (verilog-basic-complete-re): Support localparam lineup.
20635         (verilog-beg-of-statement-1): Fix for robustness, unique case.
20636         (verilog-set-auto-endcomments): Fix for unique case, always_comb
20637         commenting.
20638         (verilog-leap-to-case-head): Now support *nested* unique &
20639         priority case statements.
20640         (verilog-auto-lineup): Make just declarations the default (as it
20641         had been).
20642         (verilog-leap-to-case-head): Support priority/unique case statements.
20643         (verilog-auto-lineup): Rework to give users radio buttons to
20644         select the various styles of automatic lineup.
20645         (verilog-error-regexp-alist): Rework to support the XEmacs style
20646         of error regular expressions from compilers, lint tools &
20647         simulators.  Note that GNU Emacs has made it impossible for a mode
20648         to load such things.
20649         (electric-verilog-terminate-line, verilog-indent-declaration)
20650         (verilog-auto-wiure): Rework for radio button selection of
20651         auto-lineup selection of specification of auto lineup.
20652         (verilog-beg-of-statement-1): Redesign to support proper operation
20653         in additional code, based on testing with auto-lineup.
20654         (verilog-calculate-indent, assignments & declarations)
20655         (verilog-backward-token): Enhance to support auto-lineup of
20656         assignments & declarations.
20657         (verilog-in-directive-p, verilog-at-struct-p): New function for
20658         easy test of whether we are.
20659         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
20660         to support safe execution at almost anyline.
20661         (verilog-calc-1): Properly support indenting deep inside generate
20662         blocks.
20663         (verilog-init-font): Remove definition & use of verilog-init-font,
20664         as it is redundant with font-lock-defaults.
20665         (verilog-mode): Alter the definition of verilog-font-lock-defaults
20666         to avoid circular calls if syntax-ppss is a function (as is the
20667         case now in 22.x GNU Emacs) as that function would sometimes call
20668         itself, leading to (nearly) infinite recursion.
20669         (verilog-ovm-begin-re, verilog-ovm-end-re)
20670         (verilog-ovm-statement-re, verilog-leap-to-head)
20671         (verilog-backward-token): Add support for OVM macros.  Some are
20672         complete statements, and others open and close scopes like begin
20673         and end.
20674         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
20675         (verilog-defun-level-generate-only-re): Really fix the defun-list
20676         compilation issue.
20677         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
20678         coverpoint, constraint and cross statements.
20679         (verilog-defun-level-list, verilog-generate-defun-level-list)
20680         (verilog-all-defun-level-list): Redo these specifications - it is
20681         too hard to support eval-when compile aggregation of lists also
20682         built at when-compile time.
20683         (verilog-defun-level-list): Place defconsts of variables used in
20684         building regular expressions which are built in eval-when-compile
20685         bodies in the same eval-when-compile body to facilitate compile
20686         without load.
20687         (verilog-beg-block-re-ordered): Support indenting
20688         virtual/protected tasks and functions.
20689         (verilog-defun-level-list, verilog-in-generate-region-p)
20690         (verilog-backward-ws&directives, verilog-calc-1): Speed up
20691         indentation of some module items (generate items).
20692         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
20693         across virtual/protected tasks and functions.
20695 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
20697         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
20698         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
20699         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
20700         in concatenations.  Reported by Yishay Belkind.
20701         (verilog-auto-ascii-enum): Support one-hot state machines in
20702         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
20703         (verilog-auto-inst, verilog-auto-inst-port): Include interface
20704         modport in AUTOINST and add vl-modport for users.
20705         Reported by David Rogoff.
20706         (verilog-auto-inout-module, verilog-auto-inst)
20707         (verilog-decls-get-interfaces, verilog-insert-definition)
20708         (verilog-insert-one-definition, verilog-read-decls)
20709         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
20710         (verilog-sig-modport, verilog-signals-combine-bus)
20711         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
20712         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
20713         Suggested by David Rogoff.
20714         (verilog-repair-open-comma): Fix non-insertion of comma when
20715         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
20716         (verilog-make-width-expression): Simplify [A-1:0] expression
20717         widths to just {A{1'b0}}.
20718         (verilog-mode): Cleanup checkdoc warnings.
20719         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
20720         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
20721         inputs/outputs or data type.  Suggested by Vasu Kandadi.
20722         (next-error-last-buffer): Fix byte-compiler warning.
20723         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
20724         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
20725         or shell command text during AUTO expansion.  Suggested by Tad Truex.
20726         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
20727         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
20728         Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
20729         in AUTOINOUT.  Reported by Matthew Lovell.
20730         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
20731         causing use of <= assignments.  Reported by Alex Reed.
20732         (verilog-read-decls): Fix triand, trior, wand, wor to be
20733         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
20734         (verilog-extended-complete-re): Support import "DPI-C" functions.
20735         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
20736         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
20737         (verilog-insert-date, verilog-insert-year)
20738         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
20739         Windows systems.  Reported by Michael Potts.
20740         (verilog-read-module-name): Fix AUTOINST when the child module
20741         declaration's name is a tick define.  Reported by Elliot Mednick.
20742         (verilog-read-decls): Fix V2K parameter bit subscripts getting
20743         passed to next parameter's definition.  Reported by Bruce T.
20744         (verilog-read-decls): Fix detecting "parameter int" when using
20745         AUTOINSTPARAM.  Reported by Bruce T.
20746         (verilog-goto-defun): Fix goto not finding modules unless first
20747         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
20748         (verilog-mode): Expand -f flag arguments on entry to mode so
20749         verilog-goto-defun will work.  Reported by Lawrence Butcher.
20750         (verilog-getopt): Expand environment variables in -f file
20751         arguments.  Suggested by Lawrence Butcher.
20752         (verilog-set-define): Fix "Symbol's value as variable is void"
20753         when reading enumerations.
20754         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
20755         Suggested by Stephen Peltan.
20756         (verilog-read-defines): Fix reading of enumerations in include
20757         files.  Reported by Steve Peltan.
20759 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
20761         * files.el (trash-directory): Fix defcustom type.
20763 2009-06-28  Juri Linkov  <juri@jurta.org>
20765         * help-fns.el (describe-function-1): Correctly locate adviced
20766         functions in hyperlink (Bug#2438).
20768 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
20770         * files.el (trash-directory): Change default to nil.
20771         (move-file-to-trash): If trash-directory is nil and
20772         system-move-file-to-trash is unbound, perform freedesktop-style
20773         trashing.
20775 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
20777         * files.el (move-file-to-trash): Add freedesktop trash
20778         support (Bug#973).
20780 2009-06-28  Glenn Morris  <rgm@gnu.org>
20782         * autorevert.el (global-auto-revert-non-file-buffers)
20783         (global-auto-revert-mode): Doc fixes.
20785 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
20787         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
20789 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
20791         * faces.el (x-handle-named-frame-geometry): Ensure that we have
20792         opened an X connection before calling x-get-resource (Bug#3194).
20794         * play/doctor.el: Remove reference to obsolete website.
20795         (make-doctor-variables): Correct grammar mistake (Bug#2633).
20797 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
20799         Remove find-file-not-found-hook VC method.  (Bug#2757)
20800         * vc-hooks.el (vc-file-not-found-hook)
20801         (vc-default-find-file-not-found-hook): Remove functions.
20802         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
20803         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
20804         * vc.el:
20805         * vc-hg.el:
20806         * vc-git.el: Do not mention find-file-not-found-hook VC method.
20808 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
20810         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
20811         compatibility function for `looking-back'.
20813         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
20814         Use `ispell-looking-back'.
20816 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
20818         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
20819         rather than `filename'.
20821 2009-06-23  Miles Bader  <miles@gnu.org>
20823         * face-remap.el (text-scale-set): New function.
20825 2009-06-23  Glenn Morris  <rgm@gnu.org>
20827         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
20829         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
20831         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
20833         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
20835         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
20836         Simplify Persian conditionals.
20838         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
20839         variable `filename'.
20841         * comint.el (comint-insert-input): Doc fix.
20843         * Makefile.in (ELCFILES): Fix typo in previous change.
20845 2009-06-23  Miles Bader  <miles@gnu.org>
20847         * cus-start.el: Add entry for `recenter-redisplay'.
20849 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
20851         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
20852         Add an optional argument for the backend, use it instead of
20853         calling vc-backend.
20854         (vc-mode-line): Add an optional argument for the backend.
20855         Pass the backend to vc-state and vc-working-revision.  Move code for
20856         special handling for vc-state being a buffer to ...
20858         * vc-rcs.el (vc-rcs-find-file-hook):
20859         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
20861         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
20862         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
20863         vc-stay-local-p and vc-mode-line calls.
20865         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
20866         (vc-cvs-diff, vc-cvs-annotate-command)
20867         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
20868         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
20869         vc-mode-line calls.
20871         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
20872         direct comparison.
20873         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
20874         backend when calling vc-mode-line.
20875         (vc-register): Do not create a closure for calling the vc register
20876         function, call it directly.
20878 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
20880         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
20881         to make it obvious item can be clicked.
20883         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
20885 2009-06-23  Kenichi Handa  <handa@m17n.org>
20887         * language/korea-util.el (korean-key-bindings): Change the binding
20888         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
20889         same command.
20891 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
20893         Sync with Tramp 2.1.16.
20895         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
20897         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
20898         when a loading of a package fails.  Completion function for rsync
20899         is `tramp-completion-function-alist-ssh'.
20900         (all): Replace all calls of `split-string' and
20901         `tramp-split-string' by `tramp-compat-split-string'.
20902         (tramp-default-method): Use `tramp-compat-process-running-p'.
20903         (tramp-default-proxies-alist): Allow also Lisp forms.
20904         (tramp-remote-path): Add choice "Private Directories".
20905         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
20906         (tramp-domain-regexp): Allow also "-", "_" and ".".
20907         (tramp-end-of-output): Remove newlines, and add "$" at the end.
20908         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
20909         (tramp-debug-message): Insert header line in debug buffer.
20910         (tramp-handle-directory-files-and-attributes-with-stat):
20911         Care about filenames with spaces, or starting with "-".
20912         (tramp-handle-dired-uncache): New defun.
20913         (tramp-handle-insert-directory): Don't flush the directory from
20914         cache, this is handled by `dired-uncache' now.
20915         (tramp-handle-insert-file-contents): Improve error handling.
20916         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20917         Quote `tramp-end-of-output'.
20918         (tramp-action-password): Improve trace message.
20919         (tramp-check-for-regexp): Both echoes must be present, before removing.
20920         (tramp-open-connection-setup-interactive-shell): Trace coding system.
20921         (tramp-compute-multi-hops): Eval cons cells of
20922         `tramp-default-proxies-alist'.
20923         (tramp-maybe-open-connection): Use the same command pattern for
20924         first hop and further hops.
20925         (tramp-wait-for-output): Remove handling of newlines.
20926         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
20927         (tramp-split-string): Remove function.  It is handled in
20928         tramp-compat now.
20930         * net/tramp-cmds.el (tramp-bug):
20931         Recommend `tramp-cleanup-all-connections' in the bug mail.
20933         * net/tramp-compat.el (tramp-compat-split-string)
20934         (tramp-compat-process-running-p): New defuns.
20936         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
20937         for `dired-uncache'.
20939         * net/tramp-gvfs.el: New package.
20941         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20942         Add handler for `dired-uncache'.
20943         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
20945         * net/trampver.el: Update release number.  Make version check fit
20946         for SXEmacs 22.
20948 2009-06-22  Jim Meyering  <meyering@redhat.com>
20950         Automatically handle .xz suffix (XZ-compressed files), too.
20951         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
20952         XZ is the successor to LZMA: <http://tukaani.org/xz/>
20954 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
20955             Nick Roberts  <nickrob@snap.net.nz>
20957         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
20958         repository (http://sphinx.net.ru/hg/gdb-mi/).
20960 2009-06-22  Glenn Morris  <rgm@gnu.org>
20962         * files.el (dir-locals-collect-mode-variables): Allow for any number of
20963         `mode' and `eval' entries.  (Bug#3430)
20965         * Makefile.in (ELCFILES): Add fadr.elc.
20967         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
20968         differing behavior of \n and ^ in strings.  (Bug#3385)
20970         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
20972         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
20973         property.
20974         (lisp-indent-function): Make it a defcustom.
20976 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
20978         * progmodes/gdb-ui.el: Replace with ...
20979         * progmodes/gdb-mi.el: ... this file.
20980         * progmodes/gud.el: Modify for gdb-mi.el.
20982 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
20984         * fadr.el: New file.
20986 See ChangeLog.14 for earlier changes.
20988 ;; Local Variables:
20989 ;; coding: utf-8
20990 ;; End:
20992   Copyright (C) 2009, 2010, 2011  Free Software Foundation, Inc.
20994   This file is part of GNU Emacs.
20996   GNU Emacs is free software: you can redistribute it and/or modify
20997   it under the terms of the GNU General Public License as published by
20998   the Free Software Foundation, either version 3 of the License, or
20999   (at your option) any later version.
21001   GNU Emacs is distributed in the hope that it will be useful,
21002   but WITHOUT ANY WARRANTY; without even the implied warranty of
21003   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21004   GNU General Public License for more details.
21006   You should have received a copy of the GNU General Public License
21007   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.