1 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
3 * net/tramp.el (tramp-debug-message): Extend function exclude
4 list. Use `regexp-opt'.
6 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
8 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
9 highlighting doesn't spill over subsequent lines.
11 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
12 keymap expression. Improve docstring.
14 * electric.el (electric-indent-post-self-insert-function):
15 Don't auto-indent for indent-to-left-margin, it's too often
18 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
20 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
21 spaces if the frame was resized, so that the full visible buffer
22 serves as canvas for strokes.
24 2011-01-16 Glenn Morris <rgm@gnu.org>
26 * info-xref.el (info-xref-docstrings): Replace cl function.
27 Also skip directories.
29 2011-01-16 Kevin Ryde <user42@zip.com.au>
31 * info-xref.el: Version 3.
32 (info-xref-check, info-xref-check-all): Move commentary details
33 into docstrings for better visibility.
34 Use compilation-mode for the results buffer.
35 (info-xref-output, info-xref-output-error, info-xref-with-output)
36 (info-xref-filename, info-xref-in-progress):
37 New internals for this.
38 (info-xref-check-list, info-xref-check-buffer)
39 (info-xref-check-all-custom): Use those.
40 (info-xref-output-buffer): Rename from info-xref-results-buffer.
41 (info-xref-output-heading): Rename from info-xref-filename-heading.
42 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
43 (info-xref-filename-heading): Move to output managing section.
44 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
45 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
46 (info-xref-subfile-p): Move to generic section with those two.
47 (info-xref-check-node): New function split from
48 info-xref-check-buffer, shared by info-xref-docstrings.
49 (info-xref-goto-node-p): Move to a checking section with that func.
50 (info-xref-unavail): New counter.
51 (info-xref-check-node): Use it.
52 (info-xref-with-output): Show count of unavailables at end of output.
53 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
54 symlinks. Exclude .texi files. Exclude Emacs backup files.
55 (info-xref-check-all-custom): Fix quietening viper-mode and
56 gnus-registry-install -- use setq not let so as not to unbind
59 2011-01-16 Juri Linkov <juri@jurta.org>
61 * isearch.el (isearch-abort): Don't quit if search has
62 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
64 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
66 * files.el (backup-buffer): Make last-resort backup file in
69 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
70 make it with permission 700.
72 2011-01-15 Kenichi Handa <handa@m17n.org>
74 * mail/rmailmm.el (rmail-mime-insert-header):
75 Set rmail-mime-coding-system to a cons whose car is the last coding
76 system used to decode the header.
77 (rmail-mime-find-header-encoding): New function.
78 (rmail-mime-insert-decoded-text):
79 Override rmail-mime-coding-system if it is a cons.
80 (rmail-show-mime): If only a header part was decoded, find the
81 coding system while ignoring mm-charset-override-alist.
83 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
85 * subr.el (event-start, event-end): Doc fix (Bug#7826).
87 2011-01-15 Kenichi Handa <handa@m17n.org>
89 * mail/rmailmm.el (rmail-mime-next-item)
90 (rmail-mime-previous-item): Delete them.
91 (rmail-mime-shown-mode): Recursively call for children.
92 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
94 (rmail-mime-raw-mode): Recursively call for children.
95 (rmail-mode-map): Change mapping of tab and backtab to
96 forward-button and backward-button respectively.
97 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
99 (rmail-mime-update-tagline): New function.
100 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
101 body display is changed.
102 (rmail-mime-toggle-button): Rename from rmail-mime-image.
103 (rmail-mime-image): Delete this button type.
104 (rmail-mime-toggle): New button type.
105 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
106 body display is changed. Change the save button label to "Save".
107 Don't process show/hide button here.
108 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
109 the body display is changed. Unconditionally call
110 rmail-mime-insert for children.
111 (rmail-mime-handle): Update `display' vector of the just inserted
113 (rmail-mime-process): If mail-header-parse-content-type returns
114 nil, use "text/plain" as the fallback type.
115 (rmail-mime-insert): For raw-mode, recursively call
116 rmail-mim-insert for children.
117 (rmail-mime): Handle the case that the current buffer is not rmail
118 buffer (e.g. in summary buffer).
120 2011-01-15 Kenichi Handa <handa@m17n.org>
122 * mail/rmailmm.el (rmail-mime-next-item)
123 (rmail-mime-previous-item): Skip the body of a non-multipart
124 entity if a tagline is shown.
126 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
128 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
129 (tmm-prompt): Simplify.
130 (tmm-add-prompt): Remove unused var `win'.
132 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
133 to minor mode which used nil accidentally to mean "turn off".
135 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
137 * net/tramp-sh.el (tramp-find-inline-compress)
138 (tramp-get-inline-coding): Quote command after pipe symbol for
139 local calls under W32. (Bug#6784)
141 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
143 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
144 only when running under W32.
146 2011-01-15 Eli Zaretskii <eliz@gnu.org>
148 * progmodes/grep.el (grep-compute-defaults): Quote the program
149 file name after the pipe symbol in Grep templates. (Bug#6784)
150 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
152 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
154 * buff-menu.el (Buffer-menu-buffer-list): New var.
155 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
156 restricted buffer list is not lost on revert (Bug#7749).
158 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
160 * net/ldap.el (ldap-search-internal): Discard stderr output.
162 2011-01-15 Eli Zaretskii <eliz@gnu.org>
164 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
166 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
168 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
170 2011-01-15 Kenichi Handa <handa@m17n.org>
172 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
173 part as a plain text.
174 (rmail-mime-process-multipart): Set the default content-type to
175 nil for unknown multipart subtypes (bug#7651).
177 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
179 * hexl.el (hexl-mode-old-*): Remove.
180 (hexl-mode--old-var-vals): New var to replace them.
181 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
182 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
183 Use them to set local vars (bug#7846).
184 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
185 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
186 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
188 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
189 (smerge-resolve--normalize-re): New var.
190 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
191 (smerge-resolve): Use them.
192 * newcomment.el (comment-only-p): New function.
193 (comment-or-uncomment-region): Use it.
195 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
197 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
198 table, get the value before switching to the output buffer. (Bug#7733)
200 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
202 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
204 2011-01-14 Kim F. Storm <storm@cua.dk>
206 * emulation/cua-base.el (cua--init-keymaps):
207 Remap exchange-point-and-mark in cua-global-keymap.
209 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
211 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
214 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
216 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
218 (easy-menu-create-menu, easy-menu-convert-item-1):
219 Use :label rather than nil for labels. Use `case'.
220 Add :enable as alias for :active.
221 (easy-menu-binding): Obey :label.
223 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
225 Use run-mode-hooks for major mode hooks (bug#513).
226 * textmodes/reftex-toc.el (reftex-toc-mode-map):
227 Rename from reftex-toc-map.
228 (reftex-toc-mode): Use define-derived-mode.
229 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
230 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
231 Rename from reftex-select-(label|bib)-map. Move init into declaration.
232 (reftex-select-label-mode, reftex-select-bib-mode):
233 Use define-derived-mode.
234 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
235 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
236 Move init into delcaration.
237 (reftex-index-mode, reftex-index-phrases-mode):
238 Use define-derived-mode.
239 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
240 speedbar-syntax-table. Move init into declaration.
241 (speedbar-mode-map): Rename from speedbar-key-map.
242 Move init into declaration.
243 (speedbar-file-key-map): Move init into declaration.
244 (speedbar-mode): Use define-derived-mode.
245 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
246 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
247 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
248 (chart-face-list): Move initialization into declaration.
249 (chart-mode): Use define-derived-mode.
250 * calculator.el (calculator-mode-map): Move init into declaration.
251 (calculator-mode): Use define-derived-mode.
253 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
254 work for nested comments.
256 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
257 (prolog-use-prolog-tokenizer-flag): Change default when
258 syntax-propertize can be used.
259 (prolog-syntax-propertize-function): New var.
260 (prolog-mode-variables): Move make-local-variable into `set'.
261 Don't make comment-column local since we don't set it.
262 Set comment-add (as it was in previous prolog.el). Use dolist.
263 Set syntax-propertize-function.
264 (prolog-mode, prolog-inferior-mode):
265 Call prolog(-inferior)-menu directly, not through the mode-hook.
266 (prolog-buffer-module, prolog-indent-level)
267 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
268 (prolog-comment-limits, prolog-goto-comment-column):
269 Use line-(end|beginning)-position.
270 (prolog-build-prolog-command): Tighten up regexp.
271 (prolog-consult-compile): Move make-local-variable into `set'.
272 (prolog-consult-compile-filter, prolog-goto-next-paren)
273 (prolog-help-on-predicate, prolog-clause-info)
274 (prolog-mark-predicate): Don't let+setq.
275 (prolog-indent-line): Use indent-line-to.
276 Only call prolog-goto-comment-column if necessary.
277 (prolog-indent-level): Use bobp.
278 (prolog-first-pos-on-line): Remove, not used any more.
279 (prolog-in-string-or-comment): Use syntax-ppss if available.
280 (prolog-help-on-predicate): Use read-string.
281 (prolog-goto-predicate-info): Simplify.
282 (prolog-read-predicate): Use `default' rather than `initial'.
283 (prolog-temporary-file): Use make-temp-file to close a security hole.
284 (prolog-toggle-sicstus-sd): New command.
285 (prolog-electric-underscore, prolog-variables-to-anonymous):
286 Use dynamic-scoping as it was meant.
287 (prolog-menu): Move menu definitions to top-level.
288 Use a toggle-button for Sicstus's source debugger.
289 Change "Code" to the more usual "Prolog", and hence change "Prolog"
291 (prolog-inferior-menu): Reuse prolog-menu's help menu.
292 Move other menu definition to top-level.
294 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
296 * doc-view.el (doc-view-open-text): Use meaningful text buffer
297 name. Keep original document's directory as default-directory
299 (doc-view-initiate-display): Fall back to normal mode when
300 doc-view-mode cannot be enabled, also when extracting the document
301 text into a separate buffer (bug#6446).
303 * simple.el (shell-command): Don't error out if shell command
304 buffer contains text with non-nil read-only property when erasing
307 2011-01-13 Kim F. Storm <storm@cua.dk>
309 * ido.el (ido-may-cache-directory): Move "too-big" check later.
310 (ido-next-match, ido-prev-match): Fix stray reordering of matching
311 items when cycling through the matches.
313 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
315 * dired-x.el (dired-omit-verbose): New defcustom that allows
316 disabling the omit messages.
317 (dired-omit-expunge): Use it.
319 2011-01-13 Christian Ohler <ohler@gnu.org>
321 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
323 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
325 * font-lock.el (font-lock-verbose): Default to nil.
327 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
329 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
330 (compose-mail): New arg RETURN-ACTION.
331 (compose-mail-other-window, compose-mail-other-frame): Likewise.
333 * mail/sendmail.el (mail-return-action): New var.
334 (mail-mode): Make it buffer-local.
335 (mail-bury): Obey it. Move special Rmail window handling to
337 (mail, mail-setup): New arg RETURN-ACTION.
338 (sendmail-user-agent-compose): Move from simple.el.
340 * mail/rmail.el (rmail-mail-return): New function.
341 (rmail-start-mail): Pass it to compose-mail.
343 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
345 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
346 menus. Add menu item for customize-themes.
348 * cus-theme.el (customize-themes):
349 * emacs-lisp/package.el (package--list-packages):
350 Use switch-to-buffer.
352 2011-01-11 Johan Bockgård <bojohan@gnu.org>
354 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
356 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
358 * progmodes/prolog.el: Fix up coding convention and such.
359 (prolog-indent-width): Use the same default as in
360 previous prolog.el rather than tab-width which depends on which buffer
361 is current when the file is loaded.
362 (prolog-electric-newline-flag): Only enable if electric-indent-mode
364 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
365 (prolog-known-systems): Remove.
366 (prolog-mode-syntax-table, prolog-inferior-mode-map):
367 Move initialization into declaration.
368 (prolog-mode-map): Move initialization into declaration.
369 Remove system-specific mode-map vars, since they referred to the same
371 (prolog-mode-variables): Obey the user's preference w.r.t
372 adaptive-fill-mode. Prefer symbol-value to `eval'.
373 (prolog-mode-keybindings-edit): Add compatibility bindings.
374 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
375 (mercury-mode-map): New var.
376 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
377 (prolog-ensure-process, prolog-process-insert-string)
378 (prolog-consult-compile): Use with-current-buffer.
379 (prolog-guess-fill-prefix): Simplify data flow.
380 (prolog-replace-in-string): New function to use instead of
382 (prolog-enable-sicstus-sd): Don't abuse `eval'.
383 (prolog-uncomment-region): Use `uncomment-region' when available.
384 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
385 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
386 of int-to-char and char-to-int.
387 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
389 2011-01-11 Stefan Bruda <stefan@bruda.ca>
391 * progmodes/prolog.el: Replace by a whole new file.
393 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
395 * subr.el (eval-after-load): Fix timing for features (bug#7769).
396 (declare-function, undefined, insert-for-yank)
397 (replace-regexp-in-string): Follow checkdoc's recommendations.
399 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
401 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
402 refreshing the diary buffer.
404 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
406 * allout.el: Add 2011 to the file copyright.
407 (allout-encrypt-string): Prevent encryption from adding an extra
408 newline at the end of the topic body.
409 (allout-version): Increment to 2.3.
411 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
413 * net/dbus.el (dbus-unregister-service): Complete doc.
414 Fix call of dbus-error signal.
415 (dbus-register-property): Use `dont-register' keyword.
417 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
419 * net/dbus.el (dbus-unregister-service): Translate returned
420 integer into a symbol.
421 (dbus-register-property): Use `dbus-register-service' to do the
424 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
426 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
427 Suggested by Joakim Verona.
429 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
431 * wid-edit.el (visibility): Replace :on-image and :off-image
432 widget properties with :on-glyph and :off-glyph, for consistency
433 with the `visibility' widget.
434 (widget-toggle-value-create, widget-visibility-value-create):
435 Merge into a single function `widget-toggle-value-create'.
437 * cus-edit.el (custom-variable-value-create, custom-visibility)
438 (custom-face-edit-value-create, custom-face-value-create):
439 Replace :on-image and :off-image widget properties with :on-glyph and
440 :off-glyph, for consistency with the `visibility' widget.
442 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
444 * net/ldap.el (ldap-search-internal): Don't use eval.
446 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
448 * subr.el (read-char-choice): Use read-key.
450 * custom.el (custom-safe-themes): Rename from
451 custom-safe-theme-files. Add :risky tag.
452 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
453 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
455 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
457 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
458 from Search and add a label to Undo.
460 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
461 inappropriate buttons and adding :vert-only tags.
463 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
464 removal of Help tool-bar button. Remove Undo button for space.
466 * info.el (info-tool-bar-map): Add :vert-only tags.
468 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
470 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
471 image backend support. Either of them is fine.
473 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
475 * subr.el (y-or-n-p): Doc fix.
477 * custom.el (custom-safe-theme-files): New defcustom.
478 (custom-theme-load-confirm): New function.
479 (load-theme): Load theme using `load', confirming with
480 custom-theme-load-confirm if necessary.
482 * subr.el (read-char-choice): New function, factored out from
483 dired-query and hack-local-variables-confirm.
485 * dired-aux.el (dired-query):
486 * files.el (hack-local-variables-confirm): Use it.
488 * dired-aux.el (dired-compress-file):
489 * files.el (abort-if-file-too-large, find-alternate-file)
490 (set-visited-file-name, write-file, backup-buffer)
491 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
492 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
493 Use new format string args for y-or-n-p and yes-or-no-p.
495 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
497 * progmodes/compile.el (compilation-error-regexp-alist-alist)
498 [gcc-include]: Tighten file name match, add match for column
500 [gnu]: Remove unused group.
502 2011-01-08 Glenn Morris <rgm@gnu.org>
504 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
506 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
508 2011-01-07 Sam Steingold <sds@gnu.org>
510 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
511 the `explicit-shell-file-name' because that is the
512 non-interactive shell.
514 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
516 * subr.el (y-or-n-p): Accept format string args.
518 2011-01-07 Glenn Morris <rgm@gnu.org>
520 * Makefile.in (EMACSOPT): Add --no-site-lisp.
522 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
524 * allout.el (allout-back-to-current-heading): Ensure return to
525 the visible containing topic, rather than a collapsed one.
526 (allout-view-change-hook): Remove hook that was deprecated long ago.
527 (allout-exposure-change-hook): Remove documentation remarks
528 concerning removed allout-view-change-hook.
529 (allout-flag-region): Remove invocation of and documentation
530 remarks concerning allout-view-change-hook.
532 2011-01-06 Glenn Morris <rgm@gnu.org>
534 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
535 (vc-bzr-annotate-extract-revision-at-line):
536 Handle authors with embedded spaces. (Bug#7792)
538 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
540 * doc-view.el (doc-view-image-width): New variable.
541 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
542 backend for PNG images, and do dynamic rescaling instead of
543 reconverting the whole doc.
545 2011-01-05 Glenn Morris <rgm@gnu.org>
547 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
549 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
551 * allout.el: Reconcile with changes in line movement behavior for
552 long text lines that cross more than a single physical window
553 line, ie when truncate-lines is nil.
554 (allout-next-visible-heading): Provide for change in line-move
555 behavior on long lines when truncate-lines is nil. In that case,
556 line-move can wind up on the same textual line when it moves to
557 the next window line, and moving to the bullet position after the
558 move yields zero advancement. Add logic to detect and compensate
559 for the lack of progress.
560 (allout-current-topic-collapsed-p): move-end-of-line respect for
561 field boundaries is different when operating with body lines
562 shorter than window width versus ones greater than window width,
563 which can yield false negatives in this function. Avoid
564 difference by applying move-end-of-line while field-text-motion is
567 2011-01-04 Glenn Morris <rgm@gnu.org>
569 * textmodes/rst.el (rst-compile-toolsets):
570 Add pdf and s5 to option alist.
572 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
574 * net/dbus.el (dbus-register-property): Add optional parameter
575 dont-register-service. Updated docstring accordingly.
577 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
579 * textmodes/rst.el (rst-compile-pdf-preview)
580 (rst-compile-slides-preview): Remove extra line.
582 2011-01-04 Glenn Morris <rgm@gnu.org>
584 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
585 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
586 default to `prog' without a .py extension.
587 (rst-compile-pdf-preview, rst-compile-slides-preview):
588 Use program names from rst-compile-toolsets, rather than hard-coding.
589 (rst-portable-mark-active-p): Fix presumed typo.
591 2011-01-02 Eli Zaretskii <eliz@gnu.org>
593 * term/w32-win.el (dynamic-library-alist): Set up correctly for
594 libpng versions both before and after 1.4.0. (Bug#7716)
596 2011-01-02 Eli Zaretskii <eliz@gnu.org>
598 * time.el (display-time-mode): Mention display-time-interval in
599 the doc string. (Bug#7713)
601 2011-01-02 Kenichi Handa <handa@m17n.org>
603 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
604 condition-case and return an error message string if something
606 (rmail-show-mime): Adjust for the above change. Insert the
607 header by rmail-mime-insert-header.
609 2011-01-02 Kenichi Handa <handa@m17n.org>
611 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
612 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
613 (rmail-mime-mbox-buffer)
614 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
615 (rmail-mime-entity): Argument changed. All codes handling an
616 entity object are changed.
617 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
619 (rmail-mime-entity-children, rmail-mime-entity-handler)
620 (rmail-mime-entity-tagline): New functions.
621 (rmail-mime-message-p): New function.
622 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
623 (rmail-mime-entity-segment, rmail-mime-next-item)
624 (rmail-mime-previous-item, rmail-mime-shown-mode)
625 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
626 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
627 (rmail-mime-insert-tagline, rmail-mime-insert-header):
629 (rmail-mime-text-handler): Call rmail-mime-insert-text.
630 (rmail-mime-insert-decoded-text): New function.
631 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
632 (rmail-mime-insert-image): Argument changed. Caller changed.
633 (rmail-mime-image): Call rmail-mime-toggle-hidden.
634 (rmail-mime-set-bulk-data): New funciton.
635 (rmail-mime-insert-bulk): Argument changed.
636 (rmail-mime-multipart-handler): Return t.
637 (rmail-mime-process-multipart): Argument changed.
638 Handle "multipart/alternative" here.
639 (rmail-mime-process): Argument changed.
640 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
641 (rmail-mime-insert): Argument changed. Handle raw display mode.
642 (rmail-mime): Argument changed. Handle toggling of raw display
644 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
645 rmail-mime-view-buffer.
646 (rmail-insert-mime-forwarded-message): Likewise.
647 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
649 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
650 non-nil, handle the header in rmail-show-mime-function.
652 2011-01-02 Leo <sdl.web@gmail.com>
654 * help-fns.el (describe-variable): Fix previous change.
656 2011-01-02 Juri Linkov <juri@jurta.org>
658 * isearch.el (isearch-lazy-highlight-error): New variable.
659 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
660 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
661 to the current value of `isearch-error' (Bug#7468).
663 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
665 * help-fns.el (describe-variable): Don't emit trailing whitespace
668 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
670 * textmodes/rst.el (rst-compile-pdf-preview)
671 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
673 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
675 * emulation/edt-mapper.el: Override mapping of function keys so
676 that the later call to read-key-sequence works.
678 2011-01-02 Eli Zaretskii <eliz@gnu.org>
680 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
681 Unix EOLs. (Bug#7589)
683 2011-01-02 Leo <sdl.web@gmail.com>
685 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
686 if point is not behind eshell-last-output-end (Bug#7585).
688 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
690 * files.el (file-local-variables-alist):
691 Make permanent-local (bug#7767).
693 2011-01-02 Glenn Morris <rgm@gnu.org>
695 * version.el (emacs-copyright): Set short copyright year to 2011.
697 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
699 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
700 an existing temp buffer. (Bug#7746)
702 2011-01-02 Glenn Morris <rgm@gnu.org>
704 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
705 multiple addresses. (Bug#7760)
707 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
709 * allout.el (allout-auto-fill): Do not infinitely recurse - use
710 do-auto-fill if everything points back to allout-auto-fill.
711 (allout-mode-deactivate-hook): Declare obsolete, in favor of
712 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
714 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
716 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
719 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
721 * doc-view.el (doc-view-set-doc-type): New function refactored
723 (doc-view-fallback-mode): New function.
724 (doc-view-mode): Use it.
725 (doc-view-mode-maybe): New function that checks if doc-view-mode
726 can be used and falls back to the next best mode otherwise.
728 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
729 DVI, OpenDocument, and MS Office files.
731 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
733 * emacs-lisp/rx.el (rx-syntax): Fix typo.
735 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
737 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
738 on a copy of auto-mode-alist, because that deletes with side
741 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
743 * doc-view.el (doc-view-mode, doc-view-toggle-display):
744 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
745 fallback instead of hard coding fundamental mode.
747 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
749 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
750 Office) files also for searching.
752 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
754 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
755 Office) files. Not yet enabled via auto-mode-list.
756 (doc-view-unoconv-program): New custom variable.
757 (doc-view-mode-p): Handle new odf document type.
758 (doc-view-odf->pdf): New conversion function.
759 (doc-view-convert-current-doc): Call it for odf files.
760 (doc-view-mode): Recognize newly supported file extensions.
762 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
764 * net/tramp.el (tramp-default-method-alist)
765 (tramp-default-user-alist)
766 (tramp-local-host-regexp, tramp-prefix-domain-format)
767 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
774 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
775 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
777 2010-12-29 Karl Fogel <kfogel@red-bean.com>
779 * saveplace.el (save-place-alist-to-file): Save list sorted and
780 pretty-printed, so that it is mergeable by line-based text merging,
781 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
783 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
785 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
786 (allout-mode): Argument "toggle" => "force".
787 Refine the docstring.
788 Remove special provisions for reactivation, besides the 'force'
790 Consolidate layout provisions coce directly into the activation
791 condition branch, now that we've removed those provisions.
792 (allout-unload-function): Explicitly activate the mode before
793 deactivating, if it's initially deactivated.
794 (allout-set-buffer-multibyte): Properly prevent byte-compiler
795 warnings for version of function used only where
796 set-buffer-multibyte is unavailable.
798 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
800 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
801 are handled by the menu-bar entries. As before, don't use
802 :visibile to avoid changing the tool-bar.
804 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
806 * net/secrets.el (secrets-delete-alias): New defun.
808 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
810 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
811 methods, otherwise ~/.ssh/config would be ignored.
813 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
815 * emacs-lisp/rx.el: Make it a superset of sregex.
816 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
817 of args, add `regex' alias.
818 (rx-info): Add arg to distinguish head and standalone forms.
819 (rx-check, rx-form): Pass the corresponding arg.
821 (rx-repeat): Make it work for any number of args.
822 (rx-syntax): Make it accept syntax chars as is.
823 * obsolete/sregex.el: Move from emacs-lisp/.
824 * emacs-lisp/re-builder.el: Remove sregex support.
825 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
827 2010-12-25 Eli Zaretskii <eliz@gnu.org>
829 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
830 PRIMARY first, then the clipboard. (Bug#7699)
832 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
834 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
837 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
839 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
840 .emacs.elc (Bug#7530).
842 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
843 image spec (Bug#7480).
845 2010-12-21 Daiki Ueno <ueno@unixuser.org>
847 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
848 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
851 2010-12-20 Leo <sdl.web@gmail.com>
853 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
854 always be performed (Bug#7680).
856 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
858 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
859 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
862 * color.el: Move from gnus/.
864 * vc/diff.el (diff-better-file-name): Function deleted.
865 abbreviating file names causes problems with shell-quote-argument.
866 (diff-no-select): Just use expand-file-name.
868 * tool-bar.el (tool-bar--image-expression): New function.
869 (tool-bar-local-item, tool-bar--image-exp): Use it.
870 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
871 Use :enable instead of :visible to avoid changing the tool-bar
872 configuration unnecessarily.
874 * info.el (info-tool-bar-map): Add separators.
876 2010-12-17 Ken Brown <kbrown@cornell.edu>
878 * loadup.el: Use version numbers in Cygwin build.
880 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
882 * ido.el (ido-file-internal): Ask for confirmation before
883 overwriting an existing file (Bug#1238).
885 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
887 * tool-bar.el (tool-bar-setup): Add separators.
889 * menu-bar.el (featurep): Use menu-bar-separator.
891 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
893 Migrate allout encryption provisions from pgg to epg.
895 * allout.el (allout-toggle-current-subtree-encryption)
896 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
897 defaulting policy and other changes. Change fetch-pass to keymode-cue,
898 for simpler universal argument interpretation.
899 (allout-toggle-subtree-encryption): Adjust docstring to describe
900 changed encryption provisions. Change fetch-pass to keymode-cue, for
901 simpler universal argument interpretation. Remove provisions for
902 handling key type and identity - they'll all be within
903 allout-encrypt-string or epg/epg or even contained all the way in gpg.
904 (allout-encrypt-string): Include keymode-cue, for optionally prompting
905 for keypair recipients (universal argument > 1) and, in addition,
906 associating the specified recipients with the outline (universal
907 argument > 4) using a file local variable setting for
908 'epa-file-encrypt-to'.
909 Require epa, for recipients handling.
910 Change how regexp filtering elements are named.
911 Describe the problem with caching of incorrect symmetric-decryption
913 Use the epa-passphrase-callback-function, in case the user is using
915 Support saving of the selected keypair recipients when invoked with a
917 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
919 Establish epg-context with armoring and default epg-protocol.
920 Remove all passphrase cache, verification, and hinting code.
921 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
922 No longer used, delete.
923 (allout-mode): Adjust docstring to describe changed encryption
924 provisions. Describe the problem with caching of incorrect
925 symmetric-decryption keys.
926 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
927 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
928 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
929 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
932 2010-12-16 Daiki Ueno <ueno@unixuser.org>
934 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
935 key selection prompt; make 'silent as default (Bug#7487).
937 2010-12-16 Leo <sdl.web@gmail.com>
939 * eshell/eshell.el (eshell-directory-name):
940 Use locate-user-emacs-file (Bug#7578).
942 2010-12-15 Glenn Morris <rgm@gnu.org>
944 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
946 2010-12-15 Jari Aalto <jari.aalto@cante.net>
947 Scott Evans <gse@antisleep.com>
949 * rect.el (rectange--default-line-number-format)
950 (rectangle-number-line-callback): New functions.
951 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
953 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
955 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
956 Delete unused variables.
957 (move-to-column-force): Remove function obsolete since 21.2.
959 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
961 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
962 (tramp-handle-insert-file-contents): Do not set permanent-local
965 * net/tramp-cache.el (tramp-persistency-file-name):
966 Use `locate-user-emacs-file' if fboundp.
968 * net/tramp-sh.el (tramp-methods): Add "ksu".
969 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
972 2010-12-14 Glenn Morris <rgm@gnu.org>
974 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
975 (find-tag-marker-ring): Declare.
976 (js-find-symbol): Require etags.
978 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
980 (mail-alias-file): Don't autoload. Doc fix.
981 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
982 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
983 Mark as obsolete, and risky.
984 (mail-setup): Simplify.
986 * mail/mailalias.el (build-mail-aliases): Make it interactive.
987 * mail/sendmail.el (build-mail-aliases): Update autoload.
989 * dired.el (dired-trivial-filenames, dired-chown-program)
990 (dired-auto-revert-buffer): Remove autoload cookies.
991 * mail/sendmail.el (mail-recover-1): Require 'dired.
993 * dired.el (dired-subdir-switches, dired-chown-program)
994 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
995 Make into defcustoms.
996 (dired-chown-program): Simplify initialization.
998 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
1000 2010-12-13 Romain Francoise <romain@orebokech.com>
1002 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
1004 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1006 * net/netrc.el (netrc-point-at-eol): Remove the unused
1007 netrc-point-at-old and netrc-bound-and-true-p bindings.
1008 (netrc-parse): Cache the netrc contents.
1010 2010-12-13 Eli Zaretskii <eliz@gnu.org>
1012 * subr.el (posn-col-row): Evaluate header-line-format in the
1013 context of the POSITION window's buffer.
1015 2010-12-13 Glenn Morris <rgm@gnu.org>
1017 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
1018 (with-silent-modifications): Doc fixes.
1020 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1022 * net/tramp.el (tramp-action-password, tramp-process-actions):
1023 Revert previous from. Use `save-restriction'.
1025 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
1027 * calendar/diary-lib.el (diary-list-sexp-entries):
1028 Handle case of no newline at end of file. (Bug#7536)
1030 2010-12-13 Glenn Morris <rgm@gnu.org>
1032 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
1034 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1036 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
1037 (tramp-process-actions): Do not widen.
1039 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1040 Protect buffer-modified value. (Bug#7557)
1042 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
1044 * log-edit.el (log-edit-changelog-entries):
1045 Regexp quote filename. (Bug#7505)
1047 2010-12-13 Tom Breton <tehom@panix.com>
1049 * cus-edit.el (custom-save-all):
1050 Bind print-length and print-level to nil. (Bug#7581)
1052 2010-12-13 Glenn Morris <rgm@gnu.org>
1054 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
1055 Run hooks to update menu contents. (Bug#7586)
1057 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
1058 file names, for the sake of MS Windows. (Bug#7588)
1060 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1062 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
1063 empty lines without a leading space.
1065 2010-12-13 Leo <sdl.web@gmail.com>
1067 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
1068 while mapping over marks (Bug#6810).
1070 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
1072 * image-dired.el (image-dired-db-file)
1073 (image-dired-temp-image-file, image-dired-gallery-dir)
1074 (image-dired-temp-rotate-image-file): Set default values relative
1075 to image-dired-dir (Bug#7518).
1077 2010-12-13 Lawrence Mitchell <wence@gmx.li>
1079 * format.el (format-decode-run-method): Pass args FROM and TO, not
1080 point-min and point-max, to shell-command-on-region (Bug#7488).
1082 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
1084 * frame.el (blink-cursor-mode): Make default t for ns.
1086 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1088 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1090 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
1092 * comint.el (comint-dynamic-list-input-ring)
1093 (comint-dynamic-complete-filename)
1094 (comint-replace-by-expanded-filename)
1095 (comint-dynamic-simple-complete)
1096 (comint-dynamic-list-filename-completions)
1097 (comint-dynamic-list-completions): Doc fix (Bug#7499).
1099 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
1102 2010-12-13 Martin Rudalics <rudalics@gmx.at>
1104 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
1107 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
1109 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
1112 2010-12-13 Eli Zaretskii <eliz@gnu.org>
1114 * files.el (file-relative-name): Handle UNC file names on
1115 DOS/Windows. (Bug#4674)
1117 2010-12-13 Daiki Ueno <ueno@unixuser.org>
1119 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1120 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
1121 (epg-context-set-passphrase-callback): Mention that the callback
1122 is not called when used with GnuPG 2.x.
1124 2010-12-13 Glenn Morris <rgm@gnu.org>
1126 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
1127 Ensure ps-footer-font-size-internal is initialized.
1128 Call ps-get-page-dimensions before trying to use ps-font-for-text.
1130 2010-12-13 Kenichi Handa <handa@m17n.org>
1132 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
1133 within condition-case.
1134 (rmail-show-mime): Don't use condition-case.
1135 (rmail-search-mime-message): New function.
1136 (rmail-search-mime-message-function): Set to
1137 rmail-search-mime-message.
1139 2010-12-13 Leo <sdl.web@gmail.com>
1141 * ido.el (ido-common-initialization): New function. (bug#3274)
1143 (ido-completing-read): Call it.
1145 2010-12-12 Karl Fogel <kfogel@red-bean.com>
1147 * bookmark.el (bookmark-name-from-full-record): Rename back to
1148 this original name from `bookmark-name-from-record' reverting part
1149 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
1150 As Drew Adams pointed out, there was no reason to cause churn for
1151 third-party callers.
1153 2010-12-12 Alan Mackenzie <acm@muc.de>
1155 * progmodes/cc-engine.el (c-forward-type): Before scanning a
1156 template arglist, check that the current language supports this.
1158 2010-12-11 Glenn Morris <rgm@gnu.org>
1160 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
1161 state of the file matches. (Bug#7544)
1162 (vc-bzr-register, vc-bzr-checkin)
1163 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
1164 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
1166 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
1168 2010-12-11 Karel Klíč <kklic@redhat.com>
1170 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
1172 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1174 Derive from prog-mode, use derived-mode-p, and fix up various
1175 minor style issues in lisp/progmodes.
1177 * progmodes/vhdl-mode.el (vhdl-mode):
1178 * progmodes/verilog-mode.el (verilog-mode):
1179 * progmodes/vera-mode.el (vera-mode):
1180 * progmodes/sql.el (sql-mode):
1181 * progmodes/scheme.el (scheme-mode):
1182 * progmodes/perl-mode.el (perl-mode):
1183 * progmodes/octave-inf.el (inferior-octave-mode):
1184 * progmodes/autoconf.el (autoconf-mode):
1185 * progmodes/m4-mode.el (m4-mode):
1186 * progmodes/inf-lisp.el (inferior-lisp-mode):
1187 * progmodes/idlwave.el (idlwave-mode):
1188 * progmodes/icon.el (icon-mode):
1189 * progmodes/idlw-help.el (idlwave-help-mode):
1190 * progmodes/dcl-mode.el (dcl-mode):
1191 * progmodes/idlw-shell.el (idlwave-shell-mode):
1192 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
1193 (ebrowse-member-mode, ebrowse-electric-position-mode):
1194 Use define-derived-mode.
1196 * progmodes/xscheme.el (exit-scheme-interaction-mode)
1197 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
1198 (xscheme-debugger-mode-p, xscheme-send-string-1):
1199 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
1200 (tcl-load-file, tcl-restart-with-file):
1201 * progmodes/ps-mode.el (ps-run-running):
1202 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
1203 * progmodes/js.el (js--get-all-known-symbols):
1204 * progmodes/inf-lisp.el (inferior-lisp-proc):
1205 * progmodes/idlwave.el (idlwave-beginning-of-statement)
1206 (idlwave-template, idlwave-update-buffer-routine-info)
1207 (idlwave-update-current-buffer-info)
1208 (idlwave-get-routine-info-from-buffers, idlwave-choose)
1209 (idlwave-scan-class-info, idlwave-fix-keywords)
1210 (idlwave-list-buffer-load-path-shadows):
1211 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
1212 (idlwave-toolbar-remove):
1213 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
1214 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
1215 (idlwave-shell-menu-def):
1216 * progmodes/idlw-complete-structtag.el
1217 (idlwave-prepare-structure-tag-completion):
1218 * progmodes/gud.el (gud-set-buffer):
1219 * progmodes/f90.el (f90-backslash-not-special):
1220 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
1222 * progmodes/xscheme.el (xscheme-start)
1223 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
1224 * progmodes/which-func.el (which-function):
1225 * progmodes/vhdl-mode.el (vhdl-set-style):
1226 * progmodes/verilog-mode.el (verilog-set-compile-command)
1227 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
1228 (verilog-set-define, verilog-auto-reeval-locals):
1229 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
1230 * progmodes/simula.el (simula-mode):
1231 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
1232 * progmodes/python.el (python-check, python-mode):
1233 * progmodes/prolog.el (prolog-mode-variables):
1234 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
1235 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
1236 * progmodes/delphi.el (delphi-mode):
1237 * progmodes/cc-styles.el (c-setup-paragraph-variables):
1238 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
1239 (c-font-lock-init): Move make-local-variable to their setq.
1241 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
1242 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
1244 * progmodes/sh-script.el (sh-require-final-newline): Remove.
1245 (sh-set-shell): Don't set require-final-newline since it's already done
1247 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
1248 since we never set it.
1249 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
1250 Use read-string and standard prompt.
1251 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
1252 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
1253 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
1254 (meta-common-mode-map): Rename from meta-mode-map.
1255 Remove C-m binding, which is a user preference, not mode specific.
1256 (meta-common-mode): New major mode; replace meta-common-initialization.
1257 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
1258 around with font-lock.
1259 * progmodes/etags.el (select-tags-table-mode):
1260 Derive from special-mode.
1261 * progmodes/octave-mod.el (octave-mode):
1262 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
1263 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
1264 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
1265 Let define-derived-mode do its job.
1266 * progmodes/cpp.el (cpp-edit-mode-map):
1267 Move initialization into declaration.
1268 (cpp-edit-mode): Use define-derived-mode.
1269 (cpp-edit-load): Use derived-mode-p.
1270 * progmodes/mixal-mode.el (mixal-mode):
1271 * progmodes/f90.el (f90-mode):
1272 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
1273 require-final-newline since prog-mode does it already.
1274 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
1275 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
1276 * progmodes/antlr-mode.el: Require cc-mode upfront.
1277 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
1279 (antlr-directory-dependencies, antlr-show-makefile-rules):
1281 (antlr-language-option): Don't assume point-min==1.
1282 (antlr-mode): Use define-derived-mode.
1283 * progmodes/ada-mode.el: Use derived-mode-p.
1284 (ada-mode): Use define-derived-mode.
1285 Use hack-local-variables-hook.
1287 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1289 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
1290 (texinfo-mode): Don't disable adaptive-fill-mode.
1291 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
1292 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
1293 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
1294 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
1295 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
1296 (texinfo-insert-@quotation, texinfo-insert-@samp)
1297 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
1298 (texinfo-insert-@uref): Use define-skeleton.
1299 (texinfo-insert-@-with-arg): Delete.
1301 2010-12-10 Eli Zaretskii <eliz@gnu.org>
1303 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
1304 nil, do quote archive member names. (Bug#6144)
1306 2010-12-10 Glenn Morris <rgm@gnu.org>
1308 * files.el (diff-no-select): Declare.
1310 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
1311 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
1313 * comint.el (comint-input-ring-file-name): Doc fix.
1315 2010-12-09 Eli Zaretskii <eliz@gnu.org>
1317 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
1319 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
1320 Use them instead of `nil' and `>', respectively.
1321 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
1323 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
1324 and menu-bar-positive-p instead of `nil' and `>', respectively.
1327 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1329 * whitespace.el (whitespace-newline-mode): Code fix.
1331 2010-12-09 Glenn Morris <rgm@gnu.org>
1333 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
1334 Rename functions without commas, update callers.
1336 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
1338 * whitespace.el (whitespace-cleanup-region):
1339 Clean up spaces before tabs. (Bug#7582)
1341 2010-12-08 Karl Fogel <kfogel@red-bean.com>
1343 * bookmark.el: Adjust parameter names and doc strings to resolve
1344 confusion over whether "bookmark" meant a bookmark name or a
1345 bookmark record. Along the way, shorten one function's name for
1346 similar reasons. (Issue #7548)
1347 (bookmark-name-from-record): New name for
1348 `bookmark-name-from-full-record'. All callers changed.
1349 (bookmark-get-bookmark, bookmark-get-bookmark-record)
1350 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
1351 (bookmark-get-annotation, bookmark-set-annotation)
1352 (bookmark-get-filename, bookmark-set-filename)
1353 (bookmark-get-position, bookmark-set-position)
1354 (bookmark-get-front-context-string, bookmark-set-front-context-string)
1355 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
1356 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
1357 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
1358 Rename `bookmark' parameter to `bookmark-name-or-record', to
1359 clearly show its role, and shorten or adjust doc strings accordingly.
1360 (bookmark-set-name): Same, and pass the parameter directly to
1361 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
1362 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
1363 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
1364 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
1365 and in some cases shorten doc string accordingly.
1366 (bookmark-rename): Change `old' and `new' parameters to `old-name'
1367 and `new-name', and adjust an internal variable to avoid confusion.
1368 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
1369 parameter in doc string.
1371 2010-12-08 Glenn Morris <rgm@gnu.org>
1373 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
1374 from gdb's history file. (Bug#7575)
1376 * mail/emacsbug.el (report-emacs-bug):
1377 Try to handle some other mail clients.
1379 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1381 * files.el (dir-locals-collect-variables): Don't let errors stop us.
1382 Use string-prefix-p.
1383 (file-name-version-regexp): New var.
1384 (file-name-sans-versions):
1385 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
1386 (jka-compr-get-compression-info): Use dolist.
1387 (jka-compr-compression-info-list): Don't bother specifying
1388 version/backup regexps.
1390 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
1392 * simple.el (just-one-space): Make argument n default to 1 if
1395 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1397 * electric.el (electric-indent-post-self-insert-function):
1398 Delete trailing newlines even if we don't reindent.
1400 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1402 * minibuffer.el (completion-at-point): Remove the `arg'.
1403 * bindings.el (complete-symbol): Move back from minibuffer.el.
1405 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1407 * simple.el (just-one-space): Delete newlines for negative arg.
1409 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1411 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
1412 (ansi-color-filter-apply): Simplify.
1413 (ansi-color-apply): Use `font-lock-face' rather than `face'.
1415 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1417 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1419 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
1421 * dired.el (dired-use-ls-dired): Set default to a special
1422 "unspecified" value.
1423 (dired-insert-directory): When called the first time, check
1424 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
1426 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
1428 * replace.el: Add "collect" feature to occur.
1429 (occur-collect-regexp-history): New var.
1430 (occur-read-primary-args): Return a replace string for nlines,
1432 (occur): Extend the meaning of nlines.
1434 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1436 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
1437 (which-func-update-1): Distinguish symbols from strings.
1438 (which-function): Stay within 80 columns.
1440 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1442 * subr.el (with-demoted-errors): Distinguish symbols from strings.
1444 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
1446 (comment-style): Use comment-styles's docs to describe values.
1448 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
1450 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
1451 and ns-show-prefs (Bug#7535).
1453 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
1454 bindings (Bug#7535).
1456 2010-12-03 Glenn Morris <rgm@gnu.org>
1458 * nxml/nxml-mode.el: Require rng-nxml.
1459 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
1460 Remove declarations.
1462 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
1463 * nxml/rng-nxml.el, nxml/rng-valid.el:
1464 Remove leading `*' from defcustom docs.
1466 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
1467 (normal-top-level-add-to-load-path, tty-handle-args):
1468 Convert comments to basic doc-strings.
1470 * net/browse-url.el (browse-url-url-at-point)
1471 (browse-url-default-browser): Remove autoload cookies.
1473 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1474 Remove more undefined cl functions.
1476 * vc/diff.el (diff-sentinel): Make new arguments optional.
1477 * ibuf-ext.el (diff-sentinel): Update declaration.
1479 2010-12-03 Daiki Ueno <ueno@unixuser.org>
1481 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1482 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
1483 (epg-context-set-passphrase-callback): Mention that the callback
1484 is not called when used with GnuPG 2.x.
1486 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
1488 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
1489 (tramp-file-name-port): Check also for `tramp-default-port'.
1490 (tramp-get-connection-name): New defun.
1491 (tramp-get-connection-process): Use it.
1492 (tramp-debug-message): Extend function exclude list.
1493 (tramp-drop-volume-letter): Fix doc string.
1495 * net/tramp-cmds.el: Remove solved todo item.
1499 * net/tramp-gvfs.el:
1501 * net/tramp-imap.el:
1502 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
1503 and `tramp-default-user-alist', respectively.
1505 * net/tramp-gw.el (tramp-gw-open-connection):
1506 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
1508 * net/tramp-imap.el (tramp-imap-make-iht): Use just
1509 `tramp-file-name-port'.
1511 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
1512 and "psftp". Exchange "%k" marker with options.
1513 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
1514 Compute size of link target.
1515 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
1516 `tramp-current-*' up due to gateway methods. Optimze computing of
1517 copy arguments. Use `tramp-get-connection-name' and
1518 `tramp-get-connection-buffer'. Improve debug messages.
1519 (tramp-compute-multi-hops): Remove port determination.
1520 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
1522 * net/trampver.el: Update release number.
1524 2010-12-02 Glenn Morris <rgm@gnu.org>
1526 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1527 Avoid infinite loop over windows. (Bug#7492)
1529 * progmodes/flymake.el (flymake-check-file-limit):
1530 Allow nil to mean "no limit".
1531 (flymake-check-patch-master-file-buffer): Update for above change.
1532 Allow a .tex file-name extension to be optional.
1533 (flymake-master-tex-init): Also match \include statements.
1535 2010-11-30 Sam Steingold <sds@gnu.org>
1537 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
1538 (nxml-parent-document-set): A function to set `nxml-parent-document'.
1539 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
1540 (nxml-mode-hook): Remove `defcustom' (auto-defined by
1541 define-derived-mode').
1542 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
1543 users who want to call `nxml-parent-document-set'.
1545 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1547 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
1548 stand-alone lines, since that is handled by log-edit-match-to-eoh
1551 2010-11-27 Eduard Wiebe <usenet@pusto.de>
1553 * dired.el (dired-get-filename): Replace backslashes with slashes
1554 in file names on MS-Windows, needed by `locate'. (Bug#7308)
1555 * locate.el (locate-default-make-command-line): Don't consider
1556 drive letter and root directory part of
1557 `directory-listing-before-filename-regexp'. (Bug#7308)
1558 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
1560 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1562 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
1563 of :smie-open/close-alist.
1564 (smie-next-sexp): Make it accept a "start token" as argument.
1565 (smie-indent-keyword): Be careful not to misidentify tokens that span
1566 more than one line, as empty lines. Add argument `token'.
1568 2010-11-27 Kenichi Handa <handa@m17n.org>
1570 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
1571 multipart subtypes, insert all as usual.
1573 * mail/rmail.el: Require rfc2047.
1575 2010-11-27 Kenichi Handa <handa@m17n.org>
1577 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
1578 (rmail-mime-entity-disposition)
1579 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
1580 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
1581 (rmail-mime-save): Handle the case that the button's `data' is a
1583 (rmail-mime-insert-text): New function.
1584 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
1585 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
1586 (rmail-mime-insert-bulk): New function mostly copied from the old
1587 rmail-mime-bulk-handler.
1588 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
1589 (rmail-mime-process-multipart): New function mostly copied from
1590 the old rmail-mime-multipart-handler.
1591 (rmail-mime-show): Just call rmail-mime-process.
1592 (rmail-mime-process): New function mostly copied from the old
1594 (rmail-mime-insert-multipart, rmail-mime-parse)
1595 (rmail-mime-insert, rmail-show-mime)
1596 (rmail-insert-mime-forwarded-message)
1597 (rmail-insert-mime-resent-message): New functions.
1598 (rmail-insert-mime-forwarded-message-function): Set to
1599 rmail-insert-mime-forwarded-message.
1600 (rmail-insert-mime-resent-message-function): Set to
1601 rmail-insert-mime-resent-message.
1603 * mail/rmailsum.el: Require rfc2047.
1604 (rmail-header-summary): Handle multiline Subject: field.
1605 (rmail-summary-line-decoder): Change the default to
1606 rfc2047-decode-string.
1608 * mail/rmail.el (rmail-enable-mime): Change the default to t.
1609 (rmail-mime-feature): Change the default to `rmailmm'.
1610 (rmail-quit): Delete the specifal code for rmail-enable-mime.
1611 (rmail-display-labels): Likewise.
1612 (rmail-show-message-1): Check rmail-enable-mime, and use
1613 rmail-show-mime-function for a MIME message. Decode the headers
1614 according to RFC2047.
1616 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1618 * progmodes/which-func.el (which-func-imenu-joiner-function):
1619 Return a string, as expected.
1620 (which-function-mode): Make sure we stop any previous timer before
1623 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
1625 * net/tramp.el (tramp-default-method-alist)
1626 (tramp-default-user-alist, tramp-default-proxies-alist):
1627 Adapt custom options type. (Bug#7445)
1629 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1631 * progmodes/python.el: Add Ipython support (Bug#5390).
1632 (python-shell-prompt-alist)
1633 (python-shell-continuation-prompt-alist): New options.
1634 (python--set-prompt-regexp): New function.
1635 (inferior-python-mode, run-python, python-shell):
1636 Require ansi-color. Use python--set-prompt-regexp to set the comint
1637 prompt based on the Python interpreter.
1638 (python--prompt-regexp): New var.
1639 (python-check-comint-prompt)
1640 (python-comint-output-filter-function): Use it.
1641 (run-python): Use a pipe (Bug#5694).
1643 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1645 * progmodes/python.el (run-python): Doc fix.
1646 (python-keep-current-directory-in-path): New var (Bug#7454).
1648 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1650 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1651 Prompt user before actually printing.
1653 2010-11-27 Glenn Morris <rgm@gnu.org>
1655 * startup.el (package-enable-at-startup, package-initialize):
1656 Remove unnecessary declarations.
1658 2010-11-27 Eli Zaretskii <eliz@gnu.org>
1660 * international/characters.el (glyphless-char-display-control):
1661 Exclude newline and TAB from the c0-control group.
1663 2010-11-27 Glenn Morris <rgm@gnu.org>
1665 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
1666 (expand-mail-aliases): Remove unnecessary autoload.
1668 * allout.el (allout-command-prefix, allout-mode-map): Declare.
1670 * shell.el (shell-dir-cookie-re): Move definition before use.
1672 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1673 Replace undefined CL functions.
1675 2010-11-26 Eli Zaretskii <eliz@gnu.org>
1677 * simple.el (prog-mode): Set bidi-paragraph-direction to
1680 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
1682 2010-11-26 Glenn Morris <rgm@gnu.org>
1684 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
1685 diary-outlook-formats can be sensitive to calendar-date-style.
1686 (diary-outlook-formats): Simplify the default setting.
1687 (diary-from-outlook-internal): Pass subject and body as arguments.
1688 Use dolist rather than dotimes. Don't save the diary buffer.
1689 (diary-from-outlook-gnus, diary-from-outlook-rmail):
1690 Pass subject and body as explicit arguments to the -internal function.
1692 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1694 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
1695 parsing them. This makes mailto:...?subject=foo\nbar work.
1697 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1699 * vc/diff.el (diff): Fix last change.
1701 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
1703 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
1704 (pcase--dontcare-upats): New var.
1705 (pcase-let, pcase-let*): Generate better code.
1706 Accept the same bodies as `let'.
1707 (pcase-dolist): New macro.
1708 (pcase--trivial-upat-p): New helper function.
1709 (pcase--expand): Strip leading "(let nil" if any.
1711 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
1713 * mail/mailclient.el (browse-url): Require.
1714 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
1715 use the external browser function to send the mail (bug#7469).
1717 * net/browse-url.el (browse-url-browser-function): Revert the
1718 default back to the previous value, since the new value broke
1720 (browse-url-mailto-function): New variable for mailto: URLs.
1721 (browse-url): Use the new variable for mailto: URLs.
1723 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1725 * eshell/esh-cmd.el (eshell-parse-command):
1726 * eshell/esh-arg.el (eshell-parse-arguments):
1727 * eshell/em-script.el (eshell-source-file):
1728 Use with-silent-modifications.
1730 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
1732 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
1733 for a merge location.
1735 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
1736 (vc-bzr-merge-branch): Always prompt.
1737 (vc-bzr-async-command): Use the full branch filename.
1739 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1741 * shell.el (shell): Use current-buffer by default if it's already
1742 a shell mode buffer and its process is dead.
1743 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
1745 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
1747 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1748 Mention that the keywords should be comma separated.
1750 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
1752 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
1753 Accept optional prefix arg meaning to prompt for a command.
1754 (vc-update): Use vc-BACKEND-pull if available. Accept optional
1755 prefix arg meaning to prompt for a command.
1756 (vc-pull): Alias for vc-update.
1758 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
1759 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
1760 (vc-bzr-merge-branch): New functions, implementing merge-branch
1761 and pull operations.
1763 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
1765 * Makefile.in: Fix up last merge.
1767 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
1768 (diff-sentinel): Get them as arguments instead.
1769 (diff-old-file, diff-new-file, diff-extra-args): Remove.
1770 (diff-file-local-copy, diff-better-file-name): New funs.
1771 (diff-no-select): Rename from diff-into-buffer.
1772 Support buffers additionally to files. Move `buf' arg. Don't display buf.
1773 Prefer closures to buffer-local variables.
1774 (diff): Adjust accordingly.
1775 (diff-buffer-with-file): Move from files.el.
1776 * files.el (diff-buffer-with-file): Move to vc/diff.el.
1777 (diff-buffer-internal): Remove.
1778 (diff-buffer-buffer): Remove.
1779 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
1780 the buffer name used, and so as not to mess up windows and frames.
1782 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1784 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
1785 (diff-buffer-internal): New function extracted from diff-buffer-with-file
1786 (diff-buffer-with-file): Use it.
1787 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
1790 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
1792 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
1793 \ref's or \pageref's value as default instead of initial input.
1795 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
1797 * files.el (backup-by-copying-when-mismatch): The default value is
1800 * startup.el (normal-top-level):
1801 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
1802 `backup-by-copying-when-mismatch'.
1804 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
1806 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
1808 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1810 * progmodes/python.el (python-font-lock-keywords):
1811 Highlight top-level augmented assignments (Bug#6445).
1813 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
1815 * term/ns-win.el (ns-right-control-modifier)
1816 (ns-right-command-modifier): Defvar them.
1818 * cus-start.el (all): Add ns-right-control-modifier and
1819 ns-right-command-modifier (Bug#7458).
1821 2010-11-20 Glenn Morris <rgm@gnu.org>
1823 * emacs-lisp/authors.el (authors-ignored-files)
1824 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
1826 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
1828 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
1829 (report-emacs-bug-parse-query-results)
1830 (report-emacs-bug-create-existing-bugs-buffer): Pass through
1831 keywords used for querying the bug database to show them in the
1832 existing bugs buffer.
1834 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
1836 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
1838 * info.el (info-tool-bar-map): Add some :vert-only keywords.
1840 2010-11-20 Eli Zaretskii <eliz@gnu.org>
1842 * international/characters.el (glyphless-char-display-control):
1843 Make it a defcustom, with update-glyphless-char-display as its
1845 (top level): Don't call update-glyphless-char-display.
1847 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
1849 Sync with Tramp 2.2.0.
1851 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
1852 `file-remote-p' (due to compatibility).
1854 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
1855 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
1857 * net/trampver.el: Update release number.
1859 2010-11-20 Eli Zaretskii <eliz@gnu.org>
1861 * faces.el (glyphless-char): Define value for `pc'.
1863 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
1865 Implemented a bug querying mechanism.
1866 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
1867 (report-emacs-bug-create-existing-bugs-buffer)
1868 (report-emacs-bug-parse-query-results)
1869 (report-emacs-bug-query-existing-bugs): New functions.
1871 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
1873 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
1874 a \ref{} or \pageref{} macro, then use its value as initial input.
1876 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
1878 * calc/calc-units.el (math-build-units-table-buffer):
1879 calc/README: Mention that the TeX specific units won't use the
1880 `tex' prefix in TeX mode.
1881 calc/calc-lang.el (math-variable-table): Don't use the `tex'
1882 prefix for units in TeX mode.
1884 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1886 * simple.el (kill-new, kill-append, kill-region):
1887 * comint.el (comint-kill-region): Make the yank-handler argument
1890 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1892 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
1893 that are both openers (resp. closers) and something else.
1894 (smie-grammar): Loosen definition of valid values.
1895 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
1896 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
1897 (smie-indent-after-keyword): Adjust users.
1898 (smie-indent-keyword): Don't indent empty lines.
1900 * vc-hg.el (vc-hg-program): New var.
1901 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
1902 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
1904 2010-11-18 Glenn Morris <rgm@gnu.org>
1906 * emacs-lisp/autoload.el (autoload-find-destination): The function
1907 coding-system-eol-type may return non-numeric values. (Bug#7414)
1909 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
1911 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
1913 2010-11-18 Eli Zaretskii <eliz@gnu.org>
1915 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
1917 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
1919 * textmodes/picture.el (picture-mouse-set-point): Don't use
1920 posn-col-row; explicitly compute the motion based on the posn at
1921 the window-start (Bug#7390).
1923 2010-11-18 Glenn Morris <rgm@gnu.org>
1925 * novice.el (disabled-command-function):
1926 Fix 2009-11-15 change. (Bug#7384)
1928 2010-11-18 Glenn Morris <rgm@gnu.org>
1930 * calendar/calendar.el (diary-iso-date-forms): Make elements
1931 mutually exclusive. (Bug#7377)
1933 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1935 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
1936 when filling the remaining "unconstrained" values.
1938 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1940 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
1943 * files.el (safe-local-variable-p): Gracefully handle errors.
1945 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
1946 Use smie-indent-virtual when indenting relative to an opener.
1947 (smie-rule-separator): Use smie-rule-parent.
1948 (smie-indent-keyword): Consult rules, even for openers at bol.
1949 (smie-indent-comment-close): Try to align closer's content.
1951 2010-11-18 Glenn Morris <rgm@gnu.org>
1953 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
1955 2010-11-18 Glenn Morris <rgm@gnu.org>
1957 * printing.el (pr-menu-bind): Doc fix.
1959 * speedbar.el (speedbar-toggle-images): Doc fix.
1961 * progmodes/python.el (python-shell): Doc fix.
1963 * wid-edit.el (widget-field-use-before-change)
1964 (widget-use-overlay-change): Doc fixes.
1966 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1968 Minor cleanup to improve style.
1969 * textmodes/rst.el (rst-update-section): Use point-marker.
1970 (rst-get-decoration): Eliminate unneeded assignment.
1971 (rst-promote-region, rst-straighten-decorations)
1972 (rst-section-tree, rst-adjust): Use point-marker.
1973 (rst-toc-mode-mouse-goto): Avoid setq.
1974 (rst-shift-region-guts, rst-shift-region-left)
1975 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
1976 (rst-convert-bullets-to-enumeration): Use copy-marker.
1978 * minibuffer.el (completion-fail-discreetly): New var.
1979 (completion--do-completion): Use it.
1981 * electric.el (electric-pair-pairs): New var.
1982 (electric-pair-post-self-insert-function): Use it.
1983 (electric-layout-post-self-insert-function): Don't insert a before
1984 newline unless it's actually needed.
1986 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1988 * progmodes/python.el (run-python): Explain why we remove the current
1989 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
1991 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
1993 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1995 * progmodes/octave-mod.el: Rely on elecric-*-modes.
1996 (octave-mode-map): Don't bind ;, SPC, and LF.
1997 (octave-auto-indent, octave-auto-newline): Remove.
1998 (electric-layout-rules): Declare.
1999 (octave-mode): Set electric-layout-rules.
2000 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
2001 (octave-reindent-then-newline-and-indent, octave-electric-semi)
2002 (octave-electric-space): Remove.
2004 * electric.el (electric-layout-mode): New minor mode.
2005 (electric--after-char-pos): New function.
2006 (electric-indent-post-self-insert-function): Use it.
2007 (electric-layout-rules): New var.
2008 (electric-layout-post-self-insert-function): New function.
2009 (electric-indent-mode): Make them interact better.
2011 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2013 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
2014 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
2015 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
2017 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
2019 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
2020 Make sure to check inside the word (Bug#6761).
2022 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
2024 * startup.el (command-line): If the cursorColor resource is set,
2025 change the cursor face-spec (Bug#7392).
2027 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
2029 The main features of the following allout.el changes are:
2030 - implement user customization for the allout key bindings
2031 - add a customization control by which the user can inhibit use of
2032 a trailing Ctrl-H, so by default it's reserved for use with
2033 describe-prefix-bindings
2034 - adapt to new version of called-interactively-p, while
2035 maintaining backwards compatibility with old version
2036 - fix hotspot navigation so i works properly with meta-modified keys
2038 * allout.el (allout-keybindings, allout-bind-keys)
2039 (allout-keybindings-binding, allout-prefixed-keybindings)
2040 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
2041 (allout-keybindings-list, allout-mode-map-adjustments)
2042 (allout-setup-mode-map): Establish allout-mode keymaps as user
2043 customizable settings, and also establish a customizable setting which
2044 regulates whether or not a trailing control-h is reserved for use with
2045 describe-prefix-bindings - and inhibit it by default, so that control-h
2046 *is* reserved for describe-prefix-bindings unless the user changes it.
2048 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
2049 and accurately between modified and unmodified events, and handle
2050 modified events more comprehensively.
2052 * allout.el (allout-substring-no-properties):
2053 Alias to use or provide version of `substring-no-properties'.
2054 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
2056 * allout.el (allout-next-single-char-property-change):
2057 Alias to use or provide version of `next-single-char-property-change'.
2058 (allout-annotate-hidden, allout-hide-by-annotation):
2059 Use `allout-next-single-char-property-change'.
2061 * allout.el (allout-select-safe-coding-system):
2062 Alias to use or provide version of `select-safe-coding-system'.
2063 (allout-toggle-subtree-encryption):
2064 Use `allout-select-safe-coding-system'.
2066 * allout.el (allout-set-buffer-multibyte):
2067 Alias to use or provide version of `set-buffer-multibyte'.
2068 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
2070 * allout.el (allout-called-interactively-p): Macro for using the
2071 different versions of called-interactively-p identically, depending on
2072 the subroutine's argument signature.
2073 (allout-back-to-current-heading, allout-beginning-of-current-entry):
2074 Use `(interactive "p")' instead of `(called-interactively-p)'.
2076 * allout.el (allout-init, allout-ascend, allout-end-of-level)
2077 (allout-previous-visible-heading, allout-forward-current-level)
2078 (allout-backward-current-level, allout-show-children):
2079 Use `allout-called-interactively-p' instead of `called-interactively-p'.
2081 * allout.el (allout-before-change-handler):
2082 Exempt edits to the (overlaid) character after the allout outline
2083 bullet from edit confirmation prompt.
2085 * allout.el (allout-add-resumptions):
2086 Ensure that it respects correct buffer for keybindings.
2088 * allout.el (allout-beginning-of-line):
2089 Use `allout-previous-single-char-property-change' alias for the sake of
2090 diverse compatibility.
2092 * allout.el (allout-end-of-line):
2093 Use `allout-mark-active-p' to encapsulate respect for mark activity.
2095 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
2097 * frame.el (frame-notice-user-settings): Don't clobber other
2098 user-set parameters when calling face-set-after-frame-default in
2099 response to background-color parameter (Bug#7373).
2101 2010-11-13 Eli Zaretskii <eliz@gnu.org>
2103 * international/characters.el (glyphless-char-display-control):
2104 Rename from glyphless-char-control; all users changed. Doc fix.
2105 Signal an error if display method is not one of the recognized
2108 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
2110 * net/tramp-compat.el (tramp-compat-line-beginning-position)
2111 (tramp-compat-line-end-position): Remove them.
2113 * net/tramp.el (tramp-parse-rhosts-group)
2114 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
2115 (tramp-parse-hosts-group, tramp-parse-passwd-group)
2116 (tramp-parse-netrc-group, tramp-parse-putty-group)
2117 * net/tramp-cmds.el (tramp-append-tramp-buffers)
2118 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
2119 (tramp-sh-handle-file-selinux-context)
2120 (tramp-sh-handle-file-name-all-completions)
2121 (tramp-sh-handle-insert-directory)
2122 (tramp-sh-handle-expand-file-name, tramp-find-executable)
2123 (tramp-wait-for-output, tramp-send-command-and-read)
2124 * net/tramp-smb.el (tramp-smb-read-file-entry)
2125 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
2127 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
2129 (tramp-remote-coding-commands): Add an alternative using "base64
2130 -d -i". This is needed for older base64 versions from GNU
2131 coreutils. Reported by Klaus Reichl
2132 <Klaus.Reichl@thalesgroup.com>.
2134 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
2136 * simple.el (count-words-region): New function.
2138 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2140 * shell.el (shell-dir-cookie-re): New custom variable.
2141 (shell-dir-cookie-watcher): New function.
2143 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
2144 and compilation-mode (bug#7350).
2146 * vc/smerge-mode.el (smerge-refine): Choose better default part to
2147 highlight when one of them is empty.
2149 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
2151 (skeleton-newline): New function.
2152 (skeleton-internal-1): Use it.
2154 * simple.el (open-line): `newline' may strip trailing space.
2156 2010-11-12 Kevin Ryde <user42@zip.com.au>
2158 * international/mule-cmds.el (princ-list): Use mapc.
2160 2010-11-12 Glenn Morris <rgm@gnu.org>
2162 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
2163 Use it to replace all instances of "*Compile-Log*"
2165 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2167 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
2170 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2172 * progmodes/modula2.el: Use SMIE and skeleton.
2173 (m2-mode-syntax-table): (*..*) can be nested.
2174 Add //...\n. Fix paren syntax.
2175 (m2-mode-map): Remove LF and TAB bindings.
2176 (m2-indent): Add safety property.
2177 (m2-smie-grammar): New var.
2178 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
2179 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
2180 (m2-mode): Use define-derived-mode.
2181 (m2-newline, m2-tab): Remove.
2182 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
2183 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
2184 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
2185 (m2-import): Use define-skeleton.
2187 2010-11-11 Glenn Morris <rgm@gnu.org>
2189 * obsolete/lucid.el: Don't warn about any CL functions in this file.
2191 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
2192 (ls-lisp-verbosity): Add custom :set-after property.
2193 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
2194 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
2195 (ls-lisp-insert-directory): Update caller.
2196 (ls-lisp-set-options): New function.
2197 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
2200 * play/landmark.el (lm-prompt-for-move):
2201 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
2203 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
2205 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
2206 (idlwave-study-twins): Prefix dynamic local variable `name'.
2207 (idlwave-routine-twin-compare): Update for above change.
2209 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
2210 Prefix dynamic local variables `name', `kwd', and `link'.
2211 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
2212 * progmodes/idlw-complete-structtag.el
2213 (idlwave-complete-structure-tag-help):
2214 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
2215 (idlwave-complete-sysvar-tag-help)
2216 (idlwave-complete-class-structure-tag-help):
2217 Update for above name changes.
2219 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2221 * net/browse-url.el (browse-url-browser-function): Change the
2222 default to use `browse-url-mail' on mailto: URLs.
2224 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
2226 * emacs-lisp/package.el (package-read-all-archive-contents):
2227 Reset package-archive-contents to nil before re-reading.
2229 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
2231 * textmodes/flyspell.el (flyspell-word): Do not re-check words
2232 already found as misspellings by (flyspell-large-region), just
2233 do highlighting (bug#7322).
2235 2010-11-10 Glenn Morris <rgm@gnu.org>
2237 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
2239 * emulation/edt.el (edt-with-position): New macro.
2240 (edt-find-forward, edt-find-backward, edt-find-next-forward)
2241 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
2242 (edt-paragraph-forward, edt-paragraph-backward): Use it.
2244 * emulation/tpu-extras.el (tpu-with-position): New macro.
2245 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
2247 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
2249 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
2250 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
2251 (texinfo-master-menu, texinfo-insert-node-lines)
2252 (texinfo-multiple-files-update):
2253 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
2254 Use line-beginning-position.
2256 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
2257 No recent Emacs supports system-type `emx'.
2259 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
2260 (ada-command-separator, ada-default-prj-properties)
2261 (ada-find-any-references): Update for above name change.
2263 * dirtrack.el (dirtrack-directory-function)
2264 (dirtrack-canonicalize-function):
2265 * filecache.el (file-cache-completion-ignore-case)
2266 (file-cache-case-fold-search, file-cache-ignore-case):
2267 * term.el (serial-port-is-file-p): Cosmetic change.
2269 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
2270 Remove non-existent `windows-95' system-type.
2271 * dired.el (dired-chown-program): Remove non-existent `linux'
2274 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
2275 (ping-program-options): Remove non-existent `linux' system-type.
2277 * startup.el (package-initialize): Update declaration.
2279 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
2280 (ls-lisp-handle-switches): Use time-less-p.
2281 (ls-lisp-format-time): Use float-time.
2283 * textmodes/remember.el (remember-time-to-seconds): Remove.
2284 (remember-store-in-mailbox): Use float-time.
2286 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
2288 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
2289 never a real function.
2290 (with-no-warnings): Remove compat stub, now unused.
2291 (time-less-p): Doc fix.
2292 (time-to-number-of-days): Simplify.
2294 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
2296 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
2297 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
2298 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
2299 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
2300 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
2302 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
2303 (eshell-shuffle-files, eshell-shorthand-tar-command)
2304 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
2305 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
2306 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
2307 Prefix dynamic local variable `matches'.
2309 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
2310 Prefix dynamic local variable `skeleton'.
2312 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
2314 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
2315 in mail buffer; make yank-action always a command that yanks original
2318 2010-11-09 Glenn Morris <rgm@gnu.org>
2320 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
2322 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2324 * minibuffer.el (minibuffer-completion-help): Specify the end of the
2325 completion field (bug#7211).
2327 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
2328 Fix handling of backslash escapes.
2329 (python-quote-syntax): Adjust accordingly.
2331 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
2333 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
2334 (vc-mtn-workfile-branch): Adjust to new output format.
2336 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2338 * international/mule-cmds.el (princ-list): Mark as obsolete.
2340 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2342 * emacs-lisp/smie.el: New package.
2344 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
2346 * files.el (backup-by-copying-when-mismatch):
2347 Set `permanent-local' property.
2349 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2350 `permanent-local' property for `backup-by-copying-when-mismatch'.
2352 2010-11-09 Eli Zaretskii <eliz@gnu.org>
2354 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
2356 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
2358 * progmodes/verilog-mode.el (verilog-insert-one-definition)
2359 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
2360 AUTOINOUT for SV style multidimensional arrays, bug294.
2361 Reported by Eric Mastromarchi.
2362 (verilog-preprocess): Use with-current-buffer and
2363 font-lock-fontify-buffer to cleanup style issues.
2365 2010-11-09 Glenn Morris <rgm@gnu.org>
2367 * locate.el (locate, locate-mode): Doc fixes.
2369 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
2371 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
2372 user for confirmation.
2373 (server-force-stop): Use it.
2374 (server-start): Use server-force-stop for kill-emacs-hook, to
2375 avoid user interaction while killing Emacs.
2377 2010-11-09 Glenn Morris <rgm@gnu.org>
2379 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
2380 (meta-indent-line): Simplify.
2382 * vc/emerge.el (emerge-line-number-in-buf):
2383 * textmodes/ispell.el (ispell-region):
2384 * textmodes/fill.el (current-fill-column):
2385 * progmodes/xscheme.el (xscheme-send-current-line):
2386 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
2387 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
2388 * progmodes/sh-script.el (sh-handle-prev-do):
2389 * progmodes/meta-mode.el (meta-indent-line):
2390 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
2392 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
2393 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
2394 * progmodes/fortran.el (fortran-looking-at-if-then):
2395 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
2396 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
2397 (cperl-find-pods-heres):
2398 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
2399 * net/quickurl.el (quickurl-list-insert):
2400 * net/ldap.el (ldap-search-internal):
2401 * net/eudc.el (eudc-expand-inline):
2402 * mail/sendmail.el (sendmail-send-it):
2403 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
2404 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
2405 (viper-brac-function):
2406 * calc/calc-yank.el (calc-do-grab-region):
2407 * calc/calc-keypd.el (calc-keypad-press):
2408 * term.el (term-move-columns, term-insert-spaces):
2409 * speedbar.el (speedbar-highlight-one-tag-line):
2410 * simple.el (current-word):
2411 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
2412 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
2414 * hippie-exp.el (he-line-beg):
2415 * epa.el (epa--marked-keys):
2416 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
2417 (dired-update-file-line, dired-add-entry, dired-remove-entry)
2418 (dired-relist-entry):
2419 * buff-menu.el (Buffer-menu-buffer):
2420 * array.el (current-line):
2421 * allout.el (allout-resolve-xref)
2422 (allout-latex-verbatim-quote-curr-line):
2423 Replace yet more uses of end-of-line etc with line-end-position, etc.
2425 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2427 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
2428 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
2429 (checkdoc-syntax-table): Initialize in the declaration.
2430 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
2431 the mode on unconditionally.
2433 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
2434 (extent-end-position, extent-start-position): Remove setf method for
2435 non-existing functions (bug#7319).
2437 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2439 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
2440 (smie-precs->prec2): Rename from smie-precs-precedence-table.
2441 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
2442 (smie-prec2->grammar): Rename from smie-prec2-levels.
2443 (smie-grammar): Rename from smie-op-levels.
2444 (smie-indent--hanging-p): Rename from smie-hanging-p.
2445 (smie-rule-hanging-p): New alias.
2446 (smie-indent--bolp): Rename from smie-bolp.
2447 (smie-indent--hanging-p): New alias.
2448 (smie--token): New dynamically bound variable.
2449 (smie-indent--parent): New function.
2450 (smie-rule-parent-p): Use it; rename from smie-parent-p.
2451 (smie-rule-next-p): Rename from smie-next-p.
2452 (smie-rule-prev-p): Rename from smie-prev-p.
2453 (smie-rule-sibling-p, smie-rule-parent)
2454 (smie-indent--separator-outdent, smie-rule-separator): New functions.
2455 (smie-rule-separator-outdent): New var.
2456 (smie-indent--rule): Merge with smie-indent--column.
2457 (smie-indent-forward-token, smie-indent-backward-token):
2458 Also recognize close parens.
2459 (smie-indent-keyword): Don't use smie-indent--column any more.
2460 (smie-indent-after-keyword): Ignore closers by default.
2461 (smie-indent-line): Use with-demoted-errors.
2462 * progmodes/octave-mod.el (octave-smie-grammar):
2463 Rename from octave-smie-op-levels.
2464 (octave-smie-rules): Adjust to new behavior.
2465 * progmodes/prolog.el (prolog-smie-grammar):
2466 Rename from prolog-smie-op-levels.
2468 2010-11-07 Glenn Morris <rgm@gnu.org>
2470 * eshell/esh-util.el (subst-char-in-string)
2471 (directory-files-and-attributes): These compatibility definitions are
2472 not needed on any version of Emacs since at least 21.4.
2474 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
2475 (verilog-get-end-of-line): Remove.
2476 (verilog-within-string, verilog-re-search-forward-substr)
2477 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
2478 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
2479 Use point-at-bol, point-at-eol.
2480 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
2482 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
2483 (electric-pascal-terminate-line, pascal-set-auto-comments)
2484 (pascal-indent-paramlist, pascal-indent-declaration)
2485 (pascal-get-lineup-indent, pascal-func-completion)
2486 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
2487 Use point-at-bol, point-at-eol.
2488 * progmodes/flymake.el (flymake-line-beginning-position)
2489 (flymake-line-end-position): Remove.
2490 (flymake-highlight-line): Use point-at-bol, point-at-eol.
2491 * eshell/esh-util.el (line-end-position, line-beginning-position):
2492 Remove compat definitions.
2494 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2496 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
2497 Use line-end-position.
2499 * emacs-lisp/chart.el (chart-zap-chars):
2500 * play/decipher.el (decipher-set-map):
2501 * progmodes/ada-mode.el (ada-get-current-indent)
2502 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
2503 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
2504 * progmodes/ada-xref.el (ada-initialize-runtime-library)
2505 (ada-get-all-references):
2506 * progmodes/cperl-mode.el (cperl-electric-paren)
2507 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
2508 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
2509 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
2510 (cperl-word-at-point-hard):
2511 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
2512 (idlwave-shell-filename-string, idlwave-shell-batch-command)
2513 (idlwave-shell-display-line):
2514 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
2515 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
2516 * progmodes/js.el (js--re-search-forward-inner)
2517 (js--re-search-backward-inner):
2518 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
2519 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
2520 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
2521 * textmodes/flyspell.el (flyspell-process-localwords):
2522 * textmodes/ispell.el (ispell-buffer-local-parsing)
2523 (ispell-buffer-local-dict, ispell-buffer-local-words):
2524 Use point-at-bol and point-at-eol.
2526 * speedbar.el (speedbar-generic-item-info)
2527 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
2528 (speedbar-add-indicator, speedbar-check-vc-this-line)
2529 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
2530 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
2531 Replace more uses of end-of-line etc with line-end-position.
2533 2010-11-06 Glenn Morris <rgm@gnu.org>
2535 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
2536 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
2537 (texinfo-delete-existing-pointers, texinfo-find-pointer)
2538 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
2539 (texinfo-multiple-files-update):
2540 * textmodes/table.el (table--probe-cell-left-up)
2541 (table--probe-cell-right-bottom):
2542 * textmodes/picture.el (picture-tab-search):
2543 * textmodes/page-ext.el (pages-copy-header-and-position)
2544 (pages-directory-for-addresses):
2545 * progmodes/vera-mode.el (vera-get-offset):
2546 * progmodes/simula.el (simula-calculate-indent):
2547 * progmodes/python.el (python-pdbtrack-overlay-arrow):
2548 * progmodes/prolog.el (end-of-prolog-clause):
2549 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
2550 * progmodes/icon.el (indent-icon-exp):
2551 * progmodes/etags.el (tag-re-match-p):
2552 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
2553 * progmodes/ebnf2ps.el (ebnf-begin-file):
2554 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
2555 (dcl-save-local-variable):
2556 * play/life.el (life-setup):
2557 * play/gametree.el (gametree-looking-at-ply):
2558 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
2559 * mail/sendmail.el (mail-mode-auto-fill):
2560 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
2561 * emacs-lisp/edebug.el (edebug-overlay-arrow):
2562 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
2563 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
2564 (woman-tab-to-tab-stop, WoMan-warn-ignored):
2565 * type-break.el (type-break-file-keystroke-count):
2566 * term.el (term-replace-by-expanded-history-before-point)
2567 (term-skip-prompt, term-extract-string):
2568 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
2569 (speedbar-contract-line, speedbar-toggle-line-expansion)
2570 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
2571 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
2572 * sort.el (sort-skip-fields):
2573 * skeleton.el (skeleton-internal-list):
2574 * simple.el (line-move-finish, line-move-to-column):
2575 * shell.el (shell-forward-command):
2576 * misc.el (copy-from-above-command):
2577 * makesum.el (double-column):
2578 * ebuff-menu.el (electric-buffer-update-highlight):
2579 * dired.el (dired-move-to-end-of-filename):
2580 * dframe.el (dframe-popup-kludge):
2581 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
2582 * arc-mode.el (archive-get-lineno):
2583 Use line-end-position and line-beginning-position.
2585 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
2586 (idlwave-study-twins): Prefix dynamic local `class'.
2587 (idlwave-routine-twin-compare): Update for above name change.
2589 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
2590 Use boundp tests to silence compiler. Update for changed name of
2591 bytecomp-filename variable.
2593 * emulation/viper-cmd.el (viper-read-string-with-history):
2594 Prefix dynamic local `initial'.
2595 (viper-minibuffer-standard-hook): Update for above name change.
2597 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
2598 (elint-init-form): Update for above name change.
2600 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
2601 local variables `cbeg' and `cend' a prefix.
2602 (mail-extr-voodoo): Update for above name change.
2604 * textmodes/reftex-toc.el (reftex-toc-do-promote)
2605 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
2606 (reftex-toc-promote-action): Doc fix.
2608 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
2609 `prompt', `data' a prefix.
2610 (reftex-select-post-command-hook, reftex-select-callback)
2611 (reftex-select-mouse-accept, reftex-select-read-cite):
2612 Update for above name changes.
2614 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
2615 `refstyle' to reftex-refstyle.
2616 (reftex-offer-label-menu): Update for above name change.
2617 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
2618 `refstyle' name change.
2620 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
2621 with with-current-buffer.
2622 (diff, template): Give dynamic local variables a prefix.
2623 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
2624 (emerge-line-number-in-buf): Update for above name change.
2625 (emerge-combine-versions-internal): Rename local `template' to
2626 emerge-combine-template.
2627 (emerge-combine-versions-edit): Update for above name change.
2629 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
2631 * textmodes/reftex-cite.el
2632 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
2633 entries with whitespace after \bibitem.
2634 (reftex-create-bibtex-file): Match entries containing numbers and
2635 symbol constituents. Make sure that entries with whitespace at
2636 various places are found.
2638 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
2640 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
2642 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
2644 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
2646 2010-11-05 Glenn Morris <rgm@gnu.org>
2648 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
2649 (woman2-roff-buffer): Give local variable `request' a prefix.
2650 (woman0-macro): Rename argument `request' in the same way.
2651 (woman-request): New name for `request' dynamic variable.
2652 (woman-unquote, woman-forward-arg): Update for above name change.
2653 (woman1-roff-buffer): Give local variable `unquote' a prefix.
2654 (woman1-unquote): New name for `unquote' dynamic variable.
2655 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
2656 (woman-translations): Rename from `translations'. No longer global.
2657 (woman2-tr, woman-translate): Update for above name change.
2658 (woman-translate): Check for bound variable.
2659 (woman2-roff-buffer): Give local variable `translations' a prefix.
2661 * play/doctor.el: Give all local variables a prefix. Update callers.
2662 (doc$, doctor-put-meaning): Use backquote.
2664 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
2665 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
2667 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
2668 variables bytes, ptr, op a prefix.
2669 (disassemble-offset): Update for above change.
2671 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
2673 * emacs-lisp/package.el (package-unpack): Remove no-op.
2674 (package--builtins, package--dir): Doc fix.
2675 (package-activate-1, package-activate, package-install)
2676 (package-compute-transaction): Fix error message.
2677 (package-delete): Use delete-directory. Omit system packages.
2678 (package-initialize): Set package-alist to nil first.
2679 (package-menu-mark-delete, package-menu-mark-install): Don't add
2680 symbols that are inconsistent with the package state.
2681 (package-menu-execute): Perform deletions and installations as
2682 single batch operations.
2684 2010-11-03 Glenn Morris <rgm@gnu.org>
2686 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
2687 (props): Remove unnecessary declaration.
2689 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
2690 set-process-query-on-exit-flag.
2692 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
2693 (reftex-toc-do-promote): Remove unused local `mpos'.
2694 (reftex-toc-restore-region): Make `mpos' local to this function.
2696 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
2698 * play/landmark.el (lm-losing-threshold): Correct spelling.
2699 (lm-human-plays): Use new name.
2701 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
2702 (gomoku-human-plays): Use new name.
2704 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
2705 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
2706 (gomoku-score-trans-table, gomoku-winning-threshold)
2707 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
2709 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
2711 * emacs-lisp/package.el: Don't put built-in packages in
2712 package-alist, to avoid loading inefficiencies.
2713 (package-built-in-p): Make VERSION optional, and treat it as a
2714 minimum acceptable version.
2715 (package-activate): Search separately for built-in packages.
2716 Emit a warning if a dependency fails.
2717 (define-package): Handle most common case, where there is no
2718 obsolete package, first.
2719 (package-compute-transaction): Print required version in error.
2720 (package--initialized): New variable.
2721 (list-packages): Use it.
2722 (package-initialize): Optional arg NO-ACTIVATE. Don't put
2723 built-in packages in packages-alist; keep it separate.
2724 Set package--initialized.
2725 (describe-package): Avoid activating packages as a side-effect.
2726 Search separately for built-in packages.
2727 (describe-package-1): Handle the case where an elpa package is
2728 simultaneously built-in and available/installed.
2729 (package-installed-p, package--generate-package-list):
2730 Search separately for built-in packages.
2731 (package-load-descriptor): Doc fix.
2733 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2735 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2736 Handle __DATA__ and __END__.
2738 2010-11-02 Noah Friedman <friedman@splode.com>
2740 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
2741 nil, do not ask to recompile files that are not already compiled,
2742 and do not recompile them.
2744 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
2746 * emacs-lisp/package.el (package-initialize): Ensure that
2747 obsoleted built-in packages are not in package-activated-list
2749 (describe-package-1): Make the "installed" status override
2752 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2754 * subr.el (version-separator, version-regexp-alist): Remove '*'
2756 (version-list-<=, version<=, version=): Doc fix.
2758 2010-11-01 Kenichi Handa <handa@m17n.org>
2760 * faces.el (glyphless-char): Inherit underline for tty.
2762 2010-11-01 Kenichi Handa <handa@m17n.org>
2764 Implement various display methods for glyphless characters.
2766 * international/characters.el (char-acronym-table): New variable.
2767 (glyphless-char-control): New variable.
2768 (update-glyphless-char-display): New funciton.
2770 * faces.el (glyphless-char): New face.
2772 2010-11-01 Glenn Morris <rgm@gnu.org>
2774 * calendar/holidays.el (general-holidays, oriental-holidays)
2775 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
2776 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
2777 the definitions of their targets.
2779 * emacs-lisp/smie.el (smie): New custom group.
2780 (smie-blink-matching-inners, smie-indent-basic): Add :group.
2782 * faces.el (xw-defined-colors, x-setup-function-keys):
2783 * mouse-sel.el (x-select-text):
2784 * term/w32console.el (x-setup-function-keys): Update declarations.
2786 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
2788 * textmodes/ispell.el (comment-add): Declare.
2790 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
2793 * info.el (finder-keywords-hash, package-alist): Declare.
2795 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
2797 * finder.el (finder-compile-keywords): Don't use intern-soft,
2798 since package names may not yet exist in the obarray.
2800 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
2802 * vc/vc-arch.el (vc-arch-checkin):
2803 * vc/vc-cvs.el (vc-cvs-checkin):
2804 * vc/vc-mtn.el (vc-mtn-checkin):
2805 * vc/vc-rcs.el (vc-rcs-checkin):
2806 * vc/vc-sccs.el (vc-sccs-checkin):
2807 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
2808 since 2010-04-21 commit by Stefan Monnier.
2810 2010-11-01 Glenn Morris <rgm@gnu.org>
2812 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
2814 * startup.el (package-enable-at-startup, package-initialize):
2817 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
2820 2010-10-31 Julien Danjou <julien@danjou.info>
2822 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
2823 (byte-recompile-directory):
2824 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
2825 Use `byte-recompile-file'.
2827 2010-10-31 Glenn Morris <rgm@gnu.org>
2829 * cus-start.el: Handle standard values via a keyword.
2830 Only set version property if specified.
2831 (cursor-in-non-selected-windows, menu-bar-mode)
2832 (tool-bar-mode, show-trailing-whitespace):
2833 Do not specify standard values.
2834 (transient-mark-mode, temporary-file-directory): Use :standard.
2836 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
2838 * term/x-win.el (x-get-selection-value): New function that gets
2839 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
2841 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
2843 * net/tramp.el (tramp-handle-insert-file-contents): For root,
2844 preserve owner and group when editing files. (Bug#7289)
2846 2010-10-31 Glenn Morris <rgm@gnu.org>
2848 * speedbar.el (speedbar-mode):
2849 * play/fortune.el (fortune-in-buffer, fortune):
2850 * play/gomoku.el (gomoku-mode):
2851 * play/landmark.el (lm-mode):
2852 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
2853 Replace inappropriate uses of toggle-read-only. (Bug#7292)
2855 * select.el (x-selection): Mark it as an obsolete alias.
2857 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2859 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
2860 major-mode (bug#7284).
2862 2010-10-31 Glenn Morris <rgm@gnu.org>
2864 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
2865 rather than just an unused variable that inherits from the real one.
2867 2010-10-31 Alan Mackenzie <acm@muc.de>
2869 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
2870 This fixes bug #7185.
2872 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
2874 * startup.el (command-line): Search for package directories, and
2875 don't load package.el if none are found.
2877 * emacs-lisp/package.el (describe-package, list-packages):
2878 Call package-initialize if it has not been called yet.
2880 2010-10-30 Alan Mackenzie <acm@muc.de>
2882 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
2883 which fontifies the tail of an enum.
2884 (c-basic-matchers-after): Insert a call to the above new function.
2885 This fixes bug #7264.
2887 2010-10-30 Glenn Morris <rgm@gnu.org>
2889 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
2890 tool-bar-mode, transient-mark-mode. (Bug#7306)
2891 Include the :set property in the dumped Emacs.
2893 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2895 SMIE: change indent rules format, improve smie-setup.
2896 * emacs-lisp/smie.el (smie-precs-precedence-table)
2897 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
2898 Mark them pure so the tables gets built at compile time.
2899 (smie-bnf-precedence-table): Store the closer-alist in the table.
2900 (smie-prec2-levels): Preserve the closer-alist.
2901 (smie-blink-matching-open): Be more forgiving in case of indentation.
2902 (smie-hanging-p): Rename from smie-indent--hanging-p.
2903 (smie-bolp): Rename from smie-indent--bolp.
2904 (smie--parent, smie--after): New dynamic vars.
2905 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
2906 (smie-indent-rules): Remove.
2907 (smie-indent--offset-rule): Remove fun.
2908 (smie-rules-function): New var.
2909 (smie-indent--rule): New fun.
2910 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
2911 (smie-indent-exps): Use it.
2912 (smie-setup): Setup paren blinking; add keyword args for token
2913 functions; extract closer-alist from op-levels.
2914 (smie-indent-debug-log): Remove var.
2915 (smie-indent-debug): Remove fun.
2916 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
2917 (prolog-smie-rules): New fun to replace it.
2918 (prolog-mode-variables): Simplify.
2919 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
2920 it's setup automatically.
2921 (octave-smie-indent-rules): Remove.
2922 (octave-smie-rules): New fun to replace it.
2923 (octave-mode): Simplify.
2925 2010-10-29 Glenn Morris <rgm@gnu.org>
2927 * files.el (temporary-file-directory): Remove (already defined in C).
2928 * cus-start.el: Add temporary-file-directory.
2930 * abbrev.el (abbrev-mode):
2931 * composite.el (auto-composition-mode):
2932 * menu-bar.el (menu-bar-mode):
2933 * simple.el (transient-mark-mode):
2934 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
2935 that they do not define the associated variables twice.
2936 * simple.el (transient-mark-mode): Remove defvar.
2937 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
2938 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
2939 Handle multiple groups, and also custom-delayed-init-variables.
2940 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2942 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2944 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
2945 (pcase-if): Add one minor optimization.
2946 (pcase-split-equal): Rename from pcase-split-eq.
2947 (pcase-split-member): Rename from pcase-split-memq.
2948 (pcase-u1): Add strings to the member optimization.
2949 Add `guard' variant of predicates.
2950 (pcase-q1): Add string patterns.
2952 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2954 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
2956 2010-10-28 Glenn Morris <rgm@gnu.org>
2958 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2959 Move menu-bar related settings to ../menu-bar.el.
2960 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2961 Move ns-specific settings here from term/ns-win.el.
2963 * simple.el (x-selection-owner-p): Remove unused declaration.
2965 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2967 * minibuffer.el (completion-cycling): New var (bug#7266).
2968 (minibuffer-complete, completion--do-completion):
2969 Use completion--flush-all-sorted-completions.
2970 (minibuffer-complete): Only cycle if completion-cycling is set.
2971 (completion--flush-all-sorted-completions): Unset completion-cycling.
2972 (minibuffer-force-complete): Set completion-cycling.
2973 (completion-all-sorted-completions): Move declaration before first use.
2975 2010-10-28 Leo <sdl.web@gmail.com>
2977 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
2978 which changes the order of matches seen by users (bug#7231).
2980 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
2982 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2983 Don't confuse -omega as "-o mega".
2985 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
2987 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
2988 (log-edit-author): New dynamic var.
2989 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
2990 to return the author if different from committer.
2991 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
2993 * play/landmark.el: Adjust commenting convention.
2994 (lm-nil-score): Rename from nil-score.
2995 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
2996 (OOOOscore): Move into a let in lm-score-trans-table.
2997 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
2999 * electric.el (electric-indent-chars): Autoload.
3000 * progmodes/octave-mod.el (octave-mode):
3001 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
3002 (ruby-mode-abbrev-table): Merge initialization and declaration.
3004 2010-10-27 Glenn Morris <rgm@gnu.org>
3006 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
3009 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
3011 * term/ns-win.el: Restore require of cl when compiling.
3012 (menu-bar-final-items): Remove non-existent `windows' menu.
3013 (ns-handle-nxopen): Optionally handle the temp-case.
3014 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
3015 (ns-insert-file, ns-find-file): Use `pop'.
3017 2010-10-26 Glenn Morris <rgm@gnu.org>
3019 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
3021 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
3023 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
3025 * term/common-win.el (x-setup-function-keys): Remove most of the
3026 keymappings. Comment on the remaining ones.
3028 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
3030 * server.el (server-port): New option. (Bug#854)
3031 (server-start): Use server-port.
3033 2010-10-26 Glenn Morris <rgm@gnu.org>
3035 * term/ns-win.el (ns-version-string): Remove unused declaration.
3036 (ns-invocation-args): Change to x-invocation-args.
3037 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
3038 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
3039 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
3040 Use x-invocation-args instead of ns-invocation-args.
3041 (ns-initialize-window-system, handle-args-function-alist):
3042 Use x-handle-args instead of ns-handle-args.
3043 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
3044 * startup.el (command-line-ns-option-alist): Replace
3045 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
3046 ns-handle-iconic with the x- equivalents.
3048 * term/common-win.el (x-select-enable-clipboard):
3049 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
3051 * term/ns-win.el: No need to require cl when compiling.
3052 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
3053 (xw-defined-colors): Use the common-win definitions.
3054 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
3055 (ns-handle-iconic): Make it an alias for x-handle-iconic.
3056 * term/common-win.el (x-select-text, x-alternatives-map)
3057 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
3058 * loadup.el [ns]: Load common-win.
3060 2010-10-26 Daiki Ueno <ueno@unixuser.org>
3062 * epa-mail.el (epa-mail-encrypt): Handle local-part only
3063 recipients; expand mail aliases (Bug#7280).
3065 2010-10-25 Glenn Morris <rgm@gnu.org>
3067 * term/common-win.el (x-handle-switch): Simplify with pop.
3068 Optionally handle numeric switches.
3069 (x-handle-numeric-switch): Just call x-handle-switch.
3070 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
3071 (x-handle-name-switch, x-handle-display, x-handle-args):
3074 * term/ns-win.el: Do not require easymenu.
3075 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
3076 <spell>: Move adjustments to menu-bar.el.
3077 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
3078 <separator-undo, spell>: Move ns-win's adjustments here.
3079 * loadup.el [ns]: Do not load easymenu.
3081 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3083 * image.el (image-checkbox-checked, image-checkbox-unchecked):
3086 * startup.el (fancy-startup-tail): Instead of using inline images,
3087 refer to image files from etc/.
3089 * wid-edit.el (checkbox): Likewise.
3090 (widget-image-find): Center image specs.
3092 2010-10-24 Glenn Morris <rgm@gnu.org>
3094 * term/ns-win.el (x-select-text): Doc fix.
3095 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
3096 (x-select-text): Move to term/common-win.
3097 * term/w32-win.el (xw-defined-colors): Move to common-win.
3098 * term/x-win.el (xw-defined-colors, x-alternatives-map)
3099 (x-setup-function-keys, x-select-text): Move to common-win.
3100 * term/common-win.el (x-select-text, x-alternatives-map)
3101 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
3104 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
3106 * net/mairix.el (mairix-searches-mode-map):
3107 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
3109 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
3111 * verilog-mode.el (verilog-directive-re): Make this variable
3112 auto-built for efficiency of execution and updating.
3113 (verilog-extended-complete-re): Support 'pure' fucntion & task
3114 declarations (these have no bodies).
3115 (verilog-beg-of-statement): General cleanup to enable support of
3116 'pure' fucntion & task declarations (these have no bodies).
3117 These efforts together fix Verilog bug210 from veripool; which was also
3118 noticed by Steve Pearlmutter.
3119 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
3120 (verilog-directive-nest-re, verilog-set-auto-endcomments):
3121 Support `elsif. Reported by Shankar Giri.
3122 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
3123 attribute handling for lining up declarations and assignments.
3124 (verilog-beg-of-statement-1): Fix issue where continued declaration
3125 is indented differently if it is after a begin..end clock.
3126 (verilog-in-attribute-p, verilog-skip-backward-comments)
3127 (verilog-skip-forward-comment-p): Support proper treatment of
3128 attributes by indent code. Reported by Jeff Steele.
3129 (verilog-in-directive-p): Fix comment to correctly describe function.
3130 (verilog-backward-up-list, verilog-in-struct-region-p)
3131 (verilog-backward-token, verilog-in-struct-p)
3132 (verilog-in-coverage-p, verilog-do-indent)
3133 (verilog-pretty-declarations): Use verilog-backward-up-list as
3134 wrapper around backward-up-list inorder to properly skip comments.
3135 Reported by David Rogoff.
3136 (verilog-property-re, verilog-endcomment-reason-re)
3137 (verilog-beg-of-statement, verilog-set-auto-endcomments)
3138 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
3139 of if). Reported by Max Bjurling and
3140 (verilog-calc-1): Fix for clocking block in modport
3141 declaration. Reported by Brian Hunter.
3143 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
3145 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
3146 (verilog-gate-keywords, verilog-read-sub-decls)
3147 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
3148 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
3149 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
3150 (verilog-read-decls): Fix spaces in V2K module parameters causing
3151 mis-identification as interfaces, bug287.
3152 (verilog-read-decls): Fix not treating "parameter string" as a
3153 parameter in AUTOINSTPARAM.
3154 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
3155 treating `elsif similar to `endif inside AUTOSENSE.
3156 (verilog-do-indent): Implement correct automatic or static task or
3157 function end comment highlight. Reported by Steve Pearlmutter.
3158 (verilog-font-lock-keywords-2): Fix highlighting of single
3159 character pins, bug264. Reported by Michael Laajanen.
3160 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
3161 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
3162 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
3163 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
3164 (verilog-pretty-expr): Fix interactive arguments, bug272.
3165 Reported by Mark Johnson.
3166 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
3167 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
3168 bug269. Suggested by Gary Delp.
3169 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
3170 (verilog-preprocessor, verilog-set-compile-command):
3171 Create verilog-preprocess and verilog-preprocessor to show
3172 preprocessed output.
3173 (verilog-get-beg-of-line, verilog-get-end-of-line)
3174 (verilog-modi-file-or-buffer, verilog-modi-name)
3175 (verilog-modi-point, verilog-within-string): Move defmacro's
3176 before first use to avoid warning. Reported by Steve Pearlmutter.
3177 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
3178 (verilog-colorize-region, verilog-highlight-buffer)
3179 (verilog-highlight-includes, verilog-highlight-modules)
3180 (verilog-highlight-region, verilog-mode): Rename colorize to
3181 highlight to match other packages. Disable module highlighting,
3182 as received speed complaints, reenable for experimentation only
3183 using new verilog-highlight-modules.
3184 (verilog-read-decls): Fix regexp stack overflow in very large
3185 AUTO_TEMPLATEs, bug250.
3186 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
3187 (verilog-scan): Create verilog-save-buffer-state to standardize
3188 making insignificant changes that shouldn't call hooks.
3189 (verilog-save-no-change-functions, verilog-save-scan-cache)
3190 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
3191 Create verilog-save-no-change-functions to wrap verilog-scan
3192 preservation, and fix to work with nested preserved calls.
3193 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
3194 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
3195 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
3196 (verilog-submit-bug-report): Update variable list to be complete.
3197 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
3198 breaking on-the-fly font-locking.
3199 (verilog-colorize-buffer, verilog-colorize-include-files)
3200 (verilog-colorize-include-files-buffer, verilog-colorize-region)
3201 (verilog-load-file-at-mouse, verilog-load-file-at-point)
3202 (verilog-mode, verilog-read-inst-module-matcher): With point on a
3203 AUTOINST cell instance name, middle mouse button now finds-file on
3204 it. Suggested by Brad Dobbie.
3205 (verilog-alw-get-temps, verilog-auto-reset)
3206 (verilog-auto-sense-sigs, verilog-read-always-signals)
3207 (verilog-read-always-signals-recurse): Fix loop indexes being
3208 AUTORESET. AUTORESET now assumes any variables in the
3209 initialization section of a for() should be ignored.
3210 Reported by Dan Dever.
3211 (verilog-error-font-lock-keywords)
3212 (verilog-error-regexp-emacs-alist)
3213 (verilog-error-regexp-xemacs-alist): Fix error detection of
3214 Cadence HAL, reported by David Asher. Repair drift between the
3215 three similar error variables.
3216 (verilog-modi-lookup, verilog-modi-lookup-cache)
3217 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
3218 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
3219 Fix slow verilog-auto expansion on very large files.
3220 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
3221 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
3222 "{1*2{...". Broke in last revision.
3223 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
3224 submodule connections with replications "{#{a},#{b}}".
3226 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
3228 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
3229 Fix typo in docstring.
3231 2010-10-24 Kenichi Handa <handa@m17n.org>
3233 * face-remap.el (text-scale-adjust): Call read-event with a proper
3236 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3238 * emacs-lisp/unsafep.el: Don't mark functions that display
3239 messages as safe. Suggested by Johan Bockgård.
3241 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3243 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
3244 Turn comments into docstrings.
3246 * minibuffer.el (completion--replace): Move point where it belongs
3247 when there's a common suffix (bug#7215).
3249 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3251 Merge read-color and facemenu-read-color (Bug#7242).
3253 * faces.el (read-color): Use the completion code from
3254 facemenu-read-color. Require match in completion. Doc fix.
3256 * facemenu.el (facemenu-read-color): Alias for read-color.
3257 (facemenu-set-foreground, facemenu-set-background):
3260 * frame.el (set-background-color, set-foreground-color)
3261 (set-cursor-color, set-mouse-color, set-border-color):
3264 2010-10-24 Leo <sdl.web@gmail.com>
3266 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
3267 argument of delete-file and delete-directory (Bug#7011).
3269 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3271 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
3274 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
3276 * emacs-lisp/package.el (package--generate-package-list): Make the
3277 *Packages* buffer read-only.
3279 2010-10-24 Alan Mackenzie <acm@muc.de>
3281 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
3282 result of `c-beginning-of-decl-1' between invocations of a lambda
3283 function (Bug #7265).
3285 2010-10-24 Daiki Ueno <ueno@unixuser.org>
3287 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
3288 executable is not available on the system (Bug#7268).
3290 2010-10-24 Glenn Morris <rgm@gnu.org>
3292 * select.el (selection-coding-system, next-selection-coding-system):
3293 Sync doc with C versions.
3295 * w32-vars.el (x-select-enable-clipboard):
3296 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
3297 * term/common-win.el (x-select-enable-clipboard): Move here.
3299 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
3300 definition of C variable.
3302 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
3303 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3304 Don't redefine things that are defined in C.
3305 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
3306 (show-trailing-whitespace, auto-hscroll-mode)
3307 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3308 Set up the appropriate custom properties.
3310 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3313 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
3314 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
3315 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
3316 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
3318 2010-10-23 Glenn Morris <rgm@gnu.org>
3320 * textmodes/flyspell.el (flyspell-mode): If there was an error,
3323 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
3324 Sync docs with C version.
3326 * term/ns-win.el (xw-defined-colors):
3327 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
3329 * term/pc-win.el (x-select-enable-clipboard):
3330 * term/x-win.el (x-select-enable-clipboard):
3331 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
3333 * comint.el (comint-password-prompt-regexp): Make it less vague.
3336 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
3338 * help.el (finder-by-keyword): Remove unnecessary autoload.
3340 2010-10-22 Glenn Morris <rgm@gnu.org>
3342 * loadup.el: Unconditionally load float-sup.
3343 * paren.el (show-paren-delay):
3344 * emacs-lisp/float-sup.el:
3345 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
3346 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
3347 (lazy-lock-stealth-verbose): Assume float support.
3348 * ps-print.el: Assume float support on Emacs.
3349 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
3350 Remove non-float branch.
3352 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
3353 src/Makefile no longer being pre-processed.
3355 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3357 * emacs-lisp/find-func.el (find-library): Use test-completion.
3359 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3361 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
3363 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
3365 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
3366 space in stat format string.
3367 (tramp-send-command): Unset $PS1 when using here documents, in
3368 order not to get several prompts.
3369 (tramp-get-inline-coding): Return `nil' in case of errors.
3371 2010-10-21 Daiki Ueno <ueno@unixuser.org>
3373 * hexl.el (hexl-mode, hexl-mode-exit):
3374 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
3375 (hexl-revert-buffer-function): New function.
3376 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
3378 2010-10-19 Alan Mackenzie <acm@muc.de>
3380 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
3381 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
3382 that these keywords aren't wrongly matched as identifiers.
3384 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
3385 setting of c-new-BEG and c-new-END from c-before-change to
3386 c-after-change. (Bug#7181)
3388 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3390 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
3393 * custom.el (custom-theme-set-variables): Likewise.
3394 (load-theme): Add custom-theme-set-faces and
3395 custom-theme-set-variables to safe-functions while loading.
3396 (custom-enabled-themes): Mark as risky.
3398 2010-10-18 Julien Danjou <julien@danjou.info>
3400 * bindings.el: Remove end dashes in default mode-line-format.
3402 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3404 * bindings.el (global-map): Bind C-d to delete-char and deletechar
3405 to delete-forward-char.
3407 * simple.el (normal-erase-is-backspace-mode): Remap delete to
3408 deletechar, and hence delete-forward-char.
3410 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3412 * repeat.el (repeat): Use read-key (bug#6256).
3414 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3416 * emacs-lisp/unsafep.el: Don't mark functions that display
3417 messages as safe. Suggested by Johan Bockgård.
3419 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3421 * minibuffer.el (completion--replace): Move point where it belongs
3422 when there's a common suffix (bug#7215).
3424 2010-10-19 Kenichi Handa <handa@m17n.org>
3426 * international/characters.el: Add category '|' (word breakable)
3427 to fullwidth characters.
3429 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
3431 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
3432 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
3433 order to make stat results a float. Patch by Andreas Schwab
3434 <schwab@linux-m68k.org>.
3436 2010-10-18 Julien Danjou <julien@danjou.info>
3438 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
3439 hidden by `make-pointer-invisible'.
3441 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3443 * files.el (locate-file-completion-table): Strip non-matching elements
3444 before checking length of list (bug#7238).
3446 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
3448 * custom.el (custom-theme-set-variables): Mark as a safe function.
3449 (load-theme): Check forms using unsafep.
3451 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
3453 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
3455 * textmodes/ispell.el (ispell-aspell-find-dictionary):
3456 Fix aspell data file searching (bug#7230).
3458 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3460 * cus-theme.el (custom-theme--migrate-settings): New var.
3461 (customize-create-theme): Allow editing the `user' theme.
3462 (custom-theme-add-variable, custom-theme-add-var-1)
3463 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
3464 to the front of each variable or face widget.
3465 (custom-theme-write): Save theme settings in the correct order.
3466 Optionally, remove saved settings from user customizations.
3467 (custom-theme-write-variables, custom-theme-write-faces):
3468 Save only the checked widgets.
3469 (customize-themes): Add a link for migrating custom settings.
3471 * custom.el (custom-declare-theme, provide-theme):
3472 Use custom-theme-name-valid-p.
3473 (custom-theme-name-valid-p): Remove checks that are now
3474 unnecessary since themes no longer obey load-path.
3476 * cus-edit.el (custom-variable-value-create): For the simple
3477 style, hide documentation string when hidden.
3479 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3481 * cus-edit.el (custom-variable, custom-face): Combine the
3482 :inhibit-magic and :display-style properties into a single
3483 :custom-style property.
3484 (custom-toggle-hide-variable, custom-toggle-hide-face):
3485 New functions. If hiding an edited value, save it to :shown-value.
3486 (custom-variable-value-create, custom-face-value-create): Use them.
3487 (custom-magic-reset): Allow magic property to be unset.
3489 * custom.el: Custom themes no longer use load-path.
3490 (custom-theme-load-path): New option. Change built-in theme
3492 (custom-enabled-themes): Add custom-theme-load-path dependency.
3493 (custom-theme--load-path): New function.
3494 (load-theme, custom-available-themes): Use it.
3496 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
3497 (customize-themes): Link to custom-theme-load-path variable.
3498 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
3499 :custom-style property.
3501 * themes/*.el: Moved to etc/.
3503 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
3505 * textmodes/reftex-cite.el
3506 (reftex-extract-bib-entries-from-thebibliography): Do not move
3507 point when searching for \bibitem entries. Match entries with
3508 spaces or tabs in front of arguments.
3510 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3512 * cus-theme.el (customize-create-theme): Delete overlays after
3513 erasing. If given a THEME arg, display only the faces of that arg
3514 instead of custom-theme--listed-faces.
3515 (custom-theme-variable-menu, custom-theme-variable-action)
3516 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
3517 (custom-theme-add-variable, custom-theme-add-face): Apply value
3518 from the theme settings, instead of the current value.
3519 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
3520 (custom-theme-visit-theme): Allow calling outside theme buffers.
3521 (custom-theme-merge-theme): Don't enable the theme when merging.
3522 (custom-theme-write-variables, custom-theme-write-faces): Use the
3523 :shown-value properties to save buffer values, not global ones.
3524 (customize-themes): Display a warning about user customizations.
3526 * cus-edit.el (custom-variable-value-create)
3527 (custom-face-value-create): Obey new special properties
3528 :shown-value and :inhibit-magic.
3530 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
3532 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3533 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
3536 2010-10-14 Kenichi Handa <handa@m17n.org>
3538 * mail/rmail.el (rmail-show-message-1): Catch an error of
3539 base64-decode-region and just show an error message (bug#7165).
3541 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
3542 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
3543 a font-spec (bug#7197).
3545 2010-10-14 Glenn Morris <rgm@gnu.org>
3547 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
3549 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
3551 * international/mule.el (define-coding-system):
3552 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3553 * composite.el (compose-region): Fix typo in docstring.
3555 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
3557 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
3558 only after checking the theme-face property.
3560 * faces.el (face-spec-reset-face): Reset all attributes in one
3561 single call to set-face-attribute.
3562 (face-spec-match-p): Make it a defsubst.
3563 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
3564 (x-create-frame-with-faces, tty-create-frame-with-faces)
3565 (tty-set-up-initial-frame-faces): Don't recompute face specs in
3566 frame-set-background-mode, since they are recomputed immediately
3567 afterwards in face-set-after-frame-default.
3568 (face-set-after-frame-default): Minor optimization.
3569 (cursor): Provide non-trivial defface spec.
3571 * custom.el (custom-theme-recalc-face): Simplify.
3573 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
3575 * calc/calc-alg.el (math-var): Rename from `var'.
3576 (math-is-polynomial, math-is-poly-rec): Replace `var'
3579 * calc/calcalg2.el (math-var): Rename from `var'.
3580 (calcFunc-table, math-scan-for-limits): Replace `var'
3583 2010-10-13 Glenn Morris <rgm@gnu.org>
3585 * subr.el (last): Deal with dotted lists (reported in bug#7174).
3587 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
3589 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
3591 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3593 * net/tls.el (tls-program): Remove spurious %s from openssl.
3594 (tls-starttls-switches): Remove starttls hack.
3595 (open-tls-stream): Ditto.
3596 (tls-find-starttls-argument): Ditto.
3598 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
3600 * image.el (image-library-alist): Declare as obsolete alias.
3601 (image-type-available-p): Use `dynamic-library-alist'.
3603 * term/w32-win.el (dynamic-library-alist):
3604 Use instead of `image-library-alist'.
3606 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
3608 * subr.el (last): Make it faster. (Bug#7174)
3610 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
3612 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
3614 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
3616 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
3617 (describe-theme-1): Extract doc from unloaded themes.
3619 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
3621 * themes/tango-theme.el:
3622 * themes/tango-dark-theme.el:
3623 * themes/wheatgrass-theme.el: New files.
3625 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
3627 * cus-theme.el (describe-theme, customize-themes)
3628 (custom-theme-save): New commands.
3629 (custom-new-theme-mode-map): Bind C-x C-s.
3630 (custom-new-theme-mode): Use custom--initialize-widget-variables.
3631 (customize-create-theme): New optional arg THEME.
3632 (custom-theme-revert): Use it.
3633 (custom-theme-visit-theme): Remove dead code.
3634 (custom-theme-merge-theme): Use custom-available-themes.
3635 (custom-theme-write): Make interactive.
3636 (custom-theme-write): Use custom-theme-name-valid-p.
3637 (describe-theme-1, custom-theme-choose-revert)
3638 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
3640 (custom-theme-allow-multiple-selections): New option.
3641 (custom-theme-choose-mode): New major mode.
3643 * custom.el (custom-theme-set-variables): Remove dead code.
3644 Obey custom--inhibit-theme-enable.
3645 (custom--inhibit-theme-enable): New var.
3646 (provide-theme): Obey it.
3647 (load-theme): Replace load with manual read/eval, in order to
3648 check for correctness. Use custom-theme-name-valid-p.
3649 (custom-theme-name-valid-p): New function.
3650 (custom-available-themes): Use it.
3652 * cus-edit.el (custom--initialize-widget-variables): New function.
3653 (Custom-mode): Use it.
3655 * cus-face.el (custom-theme-set-faces): Remove dead code.
3656 Obey custom--inhibit-theme-enable.
3658 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
3660 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
3662 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
3664 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
3666 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
3667 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
3668 (mac-right-option-modifier): New alias for ns-right-option-modifier.
3670 * cus-start.el (all): ns-right-alternate-modifier is new.
3672 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3674 * emacs-lisp/lisp.el (lisp-completion-at-point):
3675 Use emacs-lisp-mode-syntax-table for the whole function.
3677 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
3679 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
3680 instead of font-lock-mode before adding keywords.
3681 Remove hi-lock-mode off code. Remove inhibit hack.
3682 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
3683 non-nil; removed hook inhibit hack.
3685 2010-10-12 Glenn Morris <rgm@gnu.org>
3687 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
3688 (load-path-shadows-find): ... to this.
3689 (list-load-path-shadows): Update for above change.
3691 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
3693 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
3695 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
3696 Fix comment for declare-function.
3698 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
3700 * custom.el (custom-fix-face-spec): New function; code moved from
3701 custom-face-edit-fix-value.
3702 (custom-push-theme): Use it when checking if a face has been
3703 changed outside customize.
3704 (custom-available-themes): New function.
3705 (load-theme): Use it.
3707 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
3709 * custom.el (custom-push-theme): Cleanup (use cond).
3710 (disable-theme): Recompute the saved-face property.
3711 (custom-theme-recalc-face): Follow face alias before setting prop.
3713 * image.el (image-checkbox-checked, image-checkbox-unchecked):
3714 New variables, containing checkbox images.
3716 * startup.el (fancy-startup-tail):
3717 * wid-edit.el (checkbox): Use them.
3719 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
3721 * shell.el (shell-mode-map):
3722 * progmodes/modula2.el (m2-mode-map):
3723 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
3724 * play/mpuz.el (mpuz-mode-map):
3725 * play/landmark.el (lm-mode-map):
3726 * play/decipher.el (decipher-mode-map):
3727 * play/5x5.el (5x5-mode-map):
3728 * net/telnet.el (telnet-mode-map):
3729 * net/quickurl.el (quickurl-list-mode-map):
3730 * net/mairix.el (mairix-searches-mode-map):
3731 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
3732 * net/dig.el (dig-mode-map):
3733 * mail/mspools.el (mspools-mode-map):
3734 * hexl.el (hexl-mode-map):
3735 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
3736 (wordstar-C-o-map, wordstar-C-q-map):
3737 * emacs-lisp/edebug.el (edebug-eval-mode-map):
3738 * emacs-lisp/chart.el (chart-map):
3739 * edmacro.el (edmacro-mode-map):
3740 * erc/erc-list.el (erc-list-menu-mode-map):
3741 * array.el (array-mode-map): Declare and define in one step.
3743 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
3745 2010-10-10 Daiki Ueno <ueno@unixuser.org>
3747 * epa.el (epa-passphrase-callback-function): Display filename
3748 passed as the 3rd arg.
3749 * epa-file.el (epa-file-passphrase-callback-function):
3750 Pass filename to epa-passphrase-callback-function.
3752 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
3754 * cus-edit.el (custom-face-widget-to-spec)
3755 (custom-face-get-current-spec, custom-face-state): New functions.
3756 (custom-face-set, custom-face-mark-to-save)
3757 (custom-face-value-create, custom-face-state-set): Use them.
3759 * cus-theme.el (custom-theme--listed-faces): New var.
3760 (customize-create-theme): Use *Custom Theme* as the buffer name.
3761 Set revert-buffer-function. Optional arg BUFFER. Insert all
3762 faces listed in custom-theme--listed-faces.
3763 (custom-theme-revert): New function.
3764 (custom-theme-add-variable, custom-theme-add-face): Insert at the
3766 (custom-theme-write): Prompt for theme name if empty.
3767 (custom-theme-write-variables): Use dolist.
3768 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
3770 2010-10-09 Alan Mackenzie <acm@muc.de>
3772 Enhance fontification of declarators to take account of the
3773 presence/absence of "typedef".
3775 * cc-engine.el (c-forward-type): New &optional param
3777 (c-forward-decl-or-cast-1): cdr of return value now indicates the
3778 presence of either or both of a "struct"-like keyword and "typedef".
3780 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
3781 fontification of declarators which follow a "}".
3782 (c-font-lock-declarations): Fontify declarators according to the
3783 presence/absence of "typedef".
3785 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
3787 (c-typedef-decl-key): New lang variable built from
3788 c-typedef-decl-kwds.
3790 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
3792 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
3793 since that's too annoying. Move the filter groups commands to
3796 * epa.el (epa-passphrase-callback-function): Say what we're
3797 querying the password for.
3799 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
3800 behaviour, don't bury the ibuffer buffer when visiting other buffers.
3802 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
3804 * cus-edit.el (custom-commands, custom-buffer-create-internal)
3805 (custom-magic-value-create): Pad button tags with spaces.
3806 (custom-face-edit): New variable.
3807 (custom-face-value-create): Determine whether to use the usual
3808 face editor here, instead of using custom-face-selected.
3809 Pass face defaults to custom-face-edit widget.
3810 (custom-face-selected, custom-display-unselected): Delete widgets.
3811 (custom-display-unselected-match): Function removed.
3812 (custom-face-set, custom-face-mark-to-save):
3813 Accept custom-face-edit widgets as the direct widget child.
3815 * wid-edit.el (widget--completing-widget): New var.
3816 (widget-default-complete): Bind it when doing completion.
3817 (widget-string-complete, widget-file-complete): Use it.
3819 2010-10-09 Glenn Morris <rgm@gnu.org>
3821 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
3822 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
3823 (holiday-hebrew-misc): Small simplifications.
3825 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
3827 * net/browse-url.el: Don't require thingatpt, term, dired,
3828 executable, or w3-auto when compiling.
3829 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
3831 (browse-url-text-emacs): Require term.
3833 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
3835 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
3837 2010-10-08 Glenn Morris <rgm@gnu.org>
3839 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
3841 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
3842 (shadows-compare-text-p): Make it an obsolete alias for...
3843 (load-path-shadows-compare-text): ... new name.
3844 (find-emacs-lisp-shadows): Update for above name change.
3845 (load-path-shadows-same-file-or-nonexistent): New name for the old
3846 shadow-same-file-or-nonexistent.
3848 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
3850 * minibuffer.el (completion--some, completion--do-completion)
3851 (minibuffer-complete-and-exit, minibuffer-completion-help)
3852 (completion-basic-try-completion)
3853 (completion-basic-all-completions)
3854 (completion-pcm--find-all-completions): Use lexical-let to
3855 avoid some false matches in variable completion (Bug#7056)
3857 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
3859 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
3861 2010-10-08 Leo <sdl.web@gmail.com>
3863 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
3864 return non-nil if the file exists (Bug#7090).
3866 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3868 * minibuffer.el (completion--replace):
3869 Better preserve markers (bug#7138).
3871 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
3873 * server.el (server-process-filter): Doc fix.
3875 2010-10-08 Drew Adams <drew.adams@oracle.com>
3877 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
3879 2010-10-08 Glenn Morris <rgm@gnu.org>
3881 * vc/ediff-wind.el (ediff-setup-control-frame):
3882 * vc/ediff-ptch.el (ediff-default-backup-extension):
3883 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
3884 (ediff-exec-process): Remove system-types emx, windows-95.
3886 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
3888 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
3890 * cus-edit.el (custom-variable, custom-face): Doc fix.
3891 (custom-face-edit): Add value-create attribute.
3892 (custom-face-edit-value-create)
3893 (custom-face-edit-value-visibility-action): New functions.
3894 Hide unused face attributes by default, and add a visibility toggle.
3895 (custom-face-edit-deactivate): Show empty values with shadow face.
3896 (custom-face-selected): Only use this for face specs with default
3898 (custom-face-value-create): Cleanup.
3900 * wid-edit.el (widget-checklist-value-create): Use dolist.
3901 (widget-checklist-match-find): Make second arg optional.
3903 2010-10-07 Glenn Morris <rgm@gnu.org>
3905 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
3908 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
3909 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
3910 load-path-shadows-mode, update references.
3911 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
3912 Rename variable and button.
3913 (list-load-path-shadows): Update button caller.
3915 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3917 * emacs-lisp/smie.el (smie-bnf-classify): New function.
3918 (smie-bnf-precedence-table): Use it to remember the closers/openers.
3919 (smie-merge-prec2s): Handle those new entries.
3920 (smie-prec2-levels): Only set precedence to nil for actual
3922 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
3923 that is now unnecessary.
3925 2010-10-07 Miles Bader <miles@gnu.org>
3927 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
3929 2010-10-07 Glenn Morris <rgm@gnu.org>
3931 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
3932 (mail-position-on-field): Remove declarations.
3933 (mail-position-on-field): Autoload it.
3934 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
3935 and mail-header-end. Don't require sendmail.
3937 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
3938 (shadow-mode): New mode.
3939 (shadow-find-file): New button.
3940 (list-load-path-shadows): Use shadow-mode and buttons.
3942 * iimage.el (iimage-version): Remove.
3943 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
3944 Turn into defcustoms.
3945 (iimage-mode-map): Give it a doc string.
3947 * calendar/appt.el (appt-activate): Give a warning rather than an error
3948 if there is no diary-file.
3950 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
3952 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3953 Use `tramp-handle-find-backup-file-name'.
3955 2010-10-06 Glenn Morris <rgm@gnu.org>
3957 * font-core.el (font-lock-defaults-alist): Remove variable.
3958 (font-lock-mode): Doc fix.
3959 (font-lock-default-function): Do not consult font-lock-defaults-alist.
3960 * font-lock.el (font-lock-refresh-defaults): Doc fix.
3961 (font-lock-set-defaults): Doc fix.
3962 Do not consult font-lock-defaults-alist.
3964 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
3966 * emacs-lisp/cl.el: No longer provide cl-19.
3968 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
3970 * net/tramp.el (tramp-handle-directory-files-and-attributes)
3971 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
3972 New defuns, taken from tramp-smb.el.
3973 (tramp-coding-system-change-eol-conversion)
3974 (tramp-set-process-query-on-exit-flag): Remove.
3976 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
3977 (tramp-compat-coding-system-change-eol-conversion)
3978 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
3981 * net/tramp-gvfs.el:
3982 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
3983 by `tramp-compat-set-process-query-on-exit-flag'.
3985 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
3986 Use `tramp-handle-directory-files-and-attributes',
3987 `tramp-handle-file-exists-p' and
3988 `tramp-handle-file-newer-than-file-p'.
3989 (tramp-imap-handle-file-exists-p)
3990 (tramp-imap-handle-file-executable-p)
3991 (tramp-imap-handle-file-readable-p)
3992 (tramp-imap-handle-directory-files-and-attributes)
3993 (tramp-imap-handle-file-newer-than-file-p): Remove.
3995 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
3996 by `tramp-compat-set-process-query-on-exit-flag' and
3997 `tramp-coding-system-change-eol-conversion' by
3998 `tramp-compat-coding-system-change-eol-conversion'.
4000 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4001 Use `tramp-handle-directory-files-and-attributes',
4002 `tramp-handle-file-exists-p' and
4003 `tramp-handle-file-newer-than-file-p'.
4004 (tramp-smb-handle-directory-files-and-attributes)
4005 (tramp-smb-handle-file-exists-p)
4006 (tramp-smb-handle-file-newer-than-file-p): Remove.
4007 (tramp-smb-maybe-open-connection):
4008 Replace `tramp-set-process-query-on-exit-flag' by
4009 `tramp-compat-set-process-query-on-exit-flag'.
4011 2010-10-05 Glenn Morris <rgm@gnu.org>
4013 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
4015 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
4017 Continue reorganization of load dependencies. (Bug#7156)
4019 * net/tramp.el (tramp-handle-file-local-copy-hook)
4020 (tramp-delete-temp-file-function): Move down.
4021 (tramp-exists-file-name-handler): Move up.
4022 (tramp-register-file-name-handlers): Simplify autoload.
4023 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
4024 (tramp-handle-directory-files, tramp-handle-dired-uncache)
4025 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
4026 (tramp-handle-file-name-completion)
4027 (tramp-handle-file-name-directory)
4028 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
4029 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
4030 (tramp-handle-find-backup-file-name)
4031 (tramp-handle-insert-file-contents, tramp-handle-load)
4032 (tramp-handle-substitute-in-file-name)
4033 (tramp-handle-unhandled-file-name-directory)
4034 (tramp-mode-string-to-int, tramp-local-host-p)
4035 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
4037 * net/tramp-gvfs.el (top):
4038 * net/tramp-smb.el (top): Do not require 'tramp-sh.
4040 * net/tramp-sh.el (all): Move several objects to tramp.el, see
4041 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
4043 2010-10-04 Glenn Morris <rgm@gnu.org>
4045 * calendar/appt.el (appt-add): Ensure reminders are enabled.
4046 (appt-activate): Give status messages.
4048 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4050 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
4051 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
4052 `gnutls-negotiate' (formerly `starttls-negotiate').
4053 Remove trivial wrapper `starttls-open-stream'.
4055 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
4057 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
4058 log-outgoing commands.
4059 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
4060 to create a buffer local revert-buffer-function variable.
4061 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
4062 revert-buffer-function lambda.
4064 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4066 * net/gnutls.el (starttls-negotiate): Use the plist interface to
4067 `gnutls-boot'. Make TYPE the only required parameter.
4068 Allow TRUSTFILES and KEYFILES to be lists.
4069 (open-ssl-stream): Use it.
4071 2010-10-03 Glenn Morris <rgm@gnu.org>
4073 * subr.el (directory-sep-char): Remove obsolete variable.
4074 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
4077 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
4078 * vc/vc.el (vc-static-header-alist): Doc fix.
4079 * vc/vc-cvs.el (vc-cvs-header):
4080 * vc/vc-rcs.el (vc-rcs-header):
4081 * vc/vc-sccs.el (vc-sccs-header):
4082 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
4083 * obsolete/vc-mcvs.el (vc-mcvs-header):
4084 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
4087 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
4089 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
4090 Remove obsolete use of binary-overwrite-mode (Bug#7001).
4092 2010-10-03 Glenn Morris <rgm@gnu.org>
4094 * obsolete/x-menu.el: Remove file, obsolete since 21.1
4096 * textmodes/rst.el (rst-font-lock-keywords-function):
4099 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
4101 * printing.el: Drop Emacs 20 code.
4103 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
4104 without having used appt.el already).
4106 * subr.el (make-local-hook): Remove function obsolete since 21.1.
4107 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
4108 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
4110 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
4111 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
4113 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
4114 (charset-width, find-charset-region, chars-in-region, forward-point)
4115 (encode-coding-string, coding-system-p, ccl-execute-on-string)
4116 (define-ccl-program, multibyte-string-p, string-make-multibyte):
4117 Remove compatibility cruft (none of these are used by ps*.el).
4119 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4121 * subr.el (booleanp): Return t instead of a list (Bug#7086).
4123 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
4125 * server.el (server-process-filter, server-return-error):
4126 Give emacsclient time to shut down after receiving an error string.
4128 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
4130 * files.el (remote-file-name-inhibit-cache): New defcustom.
4132 * time.el (display-time-file-nonempty-p):
4133 Use `remote-file-name-inhibit-cache'.
4135 * net/tramp.el (tramp-completion-reread-directory-timeout):
4138 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
4139 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
4140 `remote-file-name-inhibit-cache'. Check also for an integer
4141 value. Add/increase counter when `tramp-verbose' >= 10.
4142 (tramp-set-file-property): Add/increase counter when
4143 `tramp-verbose' >= 10.
4145 * net/tramp-cmds.el (tramp-cleanup-all-connections)
4146 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
4147 (tramp-bug): Set tramp-autoload cookie. Report all interned
4148 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
4149 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
4150 characters only in strings.
4152 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
4153 to backward compatibility.
4155 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
4156 (tramp-handle-file-name-all-completions)
4157 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
4158 (tramp-open-connection-setup-interactive-shell):
4159 Call `tramp-cleanup-connection' directly.
4161 2010-10-02 Glenn Morris <rgm@gnu.org>
4163 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
4165 * subr.el (char-bytes): Remove obsolete function.
4167 * isearch.el (isearch-return-char): Remove obsolete function.
4169 * mouse.el: No longer provide mldrag.
4170 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
4171 Remove obsolete aliases.
4173 * comint.el (comint-kill-output): Remove obsolete alias.
4175 * composite.el (decompose-composite-char): Remove obsolete function.
4176 * ps-def.el (decompose-composite-char): Remove unused function.
4178 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
4180 * outline.el (outline-visible): Remove obsolete function.
4182 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
4183 * faces.el (internal-find-face, internal-get-face)
4184 (frame-update-faces, frame-update-face-colors)
4185 (x-frob-font-weight, x-frob-font-slant)
4186 (internal-frob-font-weight, internal-frob-font-slant)
4187 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
4188 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
4189 (x-make-font-bold-italic): Remove functions and aliases, obsolete
4191 * emulation/viper-util.el (viper-get-face):
4192 * obsolete/lucid.el (find-face, get-face): Use facep.
4193 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
4194 Remove unused functions.
4195 * vc/ediff-util.el (ediff-submit-report): Doc fix.
4197 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
4198 delete tempfile if interrupted during compilation.
4200 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4202 * net/tls.el (tls-starttls-switches): Give up on using starttls with
4204 (tls-program): Add --insecure to be consistent with the defaults from
4205 openssl s_client. Now all three commands are insecure.
4207 2010-10-01 Eli Zaretskii <eliz@gnu.org>
4209 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
4210 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
4211 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
4213 2010-10-01 Glenn Morris <rgm@gnu.org>
4215 * obsolete/sc.el: Remove file.
4217 * files.el (temporary-file-directory): On darwin, also try
4218 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
4220 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
4222 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
4223 Let's not break compatibility gratuitously, shall we?
4225 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4227 * net/tls.el (tls-starttls-switches): New variable.
4228 (tls-find-starttls-argument): Use it.
4229 (open-tls-stream): Ditto.
4231 * net/netrc.el (netrc-credentials): Return the value of the "default"
4233 (netrc-machine): Ditto.
4235 2010-09-30 Eli Zaretskii <eliz@gnu.org>
4237 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
4239 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
4241 * server.el (server-start): Don't write pid to the authentication file.
4242 (server-create-tty-frame): Don't send pid.
4243 (server-process-filter): Send pid at the start of every connection.
4245 2010-09-30 Glenn Morris <rgm@gnu.org>
4247 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
4248 (show-all-diary-entries): Remove obsolete function aliases.
4250 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
4251 Remove options, obsolete since 22.1.
4252 (appt-display-format, appt-display-message):
4253 Remove backwards-compatibility code.
4254 (appt-check): No longer check appt-issue-message.
4255 (appt-make-list): No longer autoload it. Doc fix. No longer
4256 activate the package.
4258 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
4260 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
4261 (starttls-negotiate): Just call boot, and let the handshake be
4262 triggered from the read loop.
4264 2010-09-29 Glenn Morris <rgm@gnu.org>
4266 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
4267 not displaying the diary.
4268 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
4269 * calendar/appt.el (appt-check): No longer need to kill diary.
4271 * calendar/diary-lib.el (diary-list-entries): Move the
4272 "Preparing..." message entirely here.
4273 (diary-simple-display, diary-fancy-display): Move "Preparing..."
4274 messages to diary-list-entries.
4275 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
4276 diary-display-function.
4278 * calendar/diary-lib.el (diary-include-other-diary-files):
4279 Trap some recursive includes.
4281 * calendar/appt.el (appt-activate): Check diary file.
4283 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
4285 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
4288 * calendar/time-date.el: No need to require cl for Emacs 21.
4290 2010-09-28 Glenn Morris <rgm@gnu.org>
4292 * calendar/appt.el (appt-check): Minor simplification.
4294 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
4296 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
4299 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
4301 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4302 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
4304 2010-09-27 Kenichi Handa <handa@m17n.org>
4306 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
4309 2010-09-27 Kenichi Handa <handa@m17n.org>
4311 * international/mule.el (define-coding-system): Docstring fixed.
4313 * international/mule-diag.el (describe-character-set): Use princ
4314 with proper print-length and print-level instead of insert.
4316 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
4318 * window.el (walk-windows): Doc fix (bug#7105).
4320 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4322 * emacs-lisp/float-sup.el (e): Remove.
4324 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
4326 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
4328 (starttls-negotiate): Use it.
4330 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4332 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
4335 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
4337 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
4339 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4341 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
4343 * net/netrc.el (netrc-store-data): New function.
4345 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
4347 * net/gnutls.el: GnuTLS glue code to set up a connection.
4349 2010-09-25 Julien Danjou <julien@danjou.info>
4351 * notifications.el: Call dbus-register-signal only if it is bound.
4353 2010-09-25 Glenn Morris <rgm@gnu.org>
4355 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4356 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4357 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4358 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4359 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4360 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
4361 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
4362 * eshell/esh-util.el, eshell/esh-var.el:
4363 Remove leading `*' from docs of faces and defcustoms.
4365 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
4367 * eshell/em-ls.el (eshell-ls-archive-regexp):
4368 * eshell/esh-util.el (eshell-tar-regexp):
4369 * ibuffer.el (ibuffer-compressed-file-name-regexp):
4370 * info.el (Info-suffix-list):
4371 * international/mule.el (auto-coding-alist):
4372 * woman.el (woman-file-regexp, woman-file-compression-regexp):
4373 * progmodes/etags.el (tags-compression-info-list):
4374 Support xz compression.
4376 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
4378 * files.el (get-free-disk-space): Don't assume the "df" output
4379 columns line up (Bug#6995).
4381 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
4383 * finder.el (finder-unknown-keywords):
4384 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
4385 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
4387 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
4389 * server.el (server-start): Revert part of 2010-08-08 change. Using
4390 address 127.0.0.1 for local host is now done in Fmake_network_process.
4392 2010-09-24 Glenn Morris <rgm@gnu.org>
4394 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
4395 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
4396 * textmodes/css-mode.el, textmodes/dns-mode.el:
4397 Move autoloaded auto-mode-alist entries to files.el.
4398 * files.el (auto-mode-alist): Move entries here.
4400 2010-09-23 Glenn Morris <rgm@gnu.org>
4402 * isearch.el (isearch-lazy-highlight-cleanup)
4403 (isearch-lazy-highlight-initial-delay)
4404 (isearch-lazy-highlight-interval)
4405 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
4406 * net/net-utils.el (ipconfig-program-options):
4407 Move aliases to options before the associated definitions.
4409 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4411 * newcomment.el (comment-normalize-vars): Better test validity of
4414 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4416 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
4417 (float-e): New name for `e'.
4418 (degrees-to-radians, radians-to-degrees):
4419 * calendar/solar.el (solar-longitude):
4420 * calculator.el (calculator-registers, calculator-funcall):
4421 * textmodes/artist.el (artist-spray-random-points):
4422 * play/bubbles.el (bubbles--initialize-images): Use new names.
4424 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
4426 Update to CEDET 1.0's version of EIEIO.
4428 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
4430 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
4431 (eieio-default-eval-maybe): Eval val instead of unquoting only.
4432 (class-precedence-list): If class is nil, return nil.
4433 (eieio-generic-call): If class of first input arg is nil, don't
4434 look up static methods, and do check for primary methods.
4435 (initialize-instance): See if the default needs to be evaluated
4436 during the constructor.
4437 (eieio-perform-slot-validation-for-default): Don't do the check
4438 for values that will eventually be evaluated.
4439 (eieio-eval-default-p): New function.
4440 (eieio-default-eval-maybe): Use it.
4442 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
4444 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
4445 method-invocation-order.
4446 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
4447 (eieio-class-precedence-dfs): Compute class precedence list using
4449 (eieio-class-precedence-bfs): Compute class precedence list using
4451 (eieio-class-precedence-c3): Compute class precedence list using
4453 (class-precedence-list): New function.
4454 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
4455 (inconsistent-class-hierarchy): New error symbol.
4456 (call-next-method): Stow the replacement argument list for future
4457 call-next-method invocations.
4459 2010-09-23 Glenn Morris <rgm@gnu.org>
4461 * calendar/appt.el (appt-check): If not displaying the diary,
4462 use (diary 1) to only get the entries we need.
4463 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
4464 that it is in day order. (Bug#7019)
4466 * calendar/appt.el (appt-check): Rather than showing the diary,
4467 just turn off invisible display, and only if needed.
4469 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
4471 2010-09-23 Glenn Morris <rgm@gnu.org>
4473 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4474 (byte-compile-defvar, byte-compile-cl-warn):
4475 Start warnings with lower-case, like the majority.
4477 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
4479 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
4481 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
4482 * files.el (auto-mode-alist): Move ld-script entries here, further down
4485 * vc/add-log.el: Don't require timezone when compiling.
4486 (timezone-make-date-sortable): Autoload it.
4487 (change-log-sortable-date-at): Don't require timezone.
4488 Use `ignore-errors'.
4490 * comint.el (comint-use-prompt-regexp-instead-of-fields):
4491 Move alias before definition, so it does not need autoloading.
4493 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
4494 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
4495 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
4496 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
4497 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
4498 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
4499 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
4500 * textmodes/tex-mode.el, textmodes/two-column.el:
4501 Remove leading `*' from docs of defcustoms etc.
4503 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
4505 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
4507 2010-09-22 Dan Christensen <jdc@uwo.ca>
4509 * calendar/time-date.el (date-to-time): Try using parse-time-string
4510 first before using the slower timezone-make-date-arpa-standard.
4512 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
4514 * calendar/time-date.el (format-seconds): Comment fix.
4516 2010-09-22 Glenn Morris <rgm@gnu.org>
4518 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
4519 is not automatically buffer-local.
4521 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4523 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
4524 (smie-indent-comment): Be more careful with comment-start-skip.
4525 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
4526 (smie-indent-functions): Use them.
4528 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
4530 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
4532 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
4534 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
4535 tool-bar-position. Don't modify frame parameters here.
4536 (menu-bar-options-save): Add tool-bar-position.
4538 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
4540 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4542 * textmodes/reftex-parse.el (reftex-what-macro)
4543 (reftex-context-substring): Let-bind forward-sexp-function to nil
4544 since we don't need/want to treat \begin...\end as a block (bug#7053).
4546 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
4548 * simple.el (blink-matching-open): Use syntax-class.
4550 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
4551 Set invisibility spec for pascal's outline mode.
4552 (pascal-outline-change): Clean up calling convention.
4553 (pascal-show-all, pascal-hide-other-defuns): Update callers.
4555 * progmodes/prolog.el (prolog-smie-forward-token)
4556 (prolog-smie-backward-token): New functions.
4557 (prolog-mode-variables): Use them to parse "!," correctly.
4558 Set up smie-blink-matching for ".".
4560 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
4562 (ispell-region, ispell-process-line): Update users.
4564 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
4567 * textmodes/ispell.el: Fix commenting convention.
4568 (ispell-parse-output): Simplify, use push.
4569 (ispell-region): Use match-string-no-properties.
4570 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
4571 (ispell-minor-mode): Use define-minor-mode.
4572 (ispell-message): Remove unused var `skip-regexp'.
4573 (ispell-add-per-file-word-list): Use dynamic let-binding.
4574 Try and use the proper comment marker.
4576 * mail/sendmail.el: Fix commenting convention.
4577 (sendmail-send-it): Use line-beginning-position.
4579 * help-fns.el (describe-variable): Add original value, if applicable.
4581 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
4583 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
4585 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
4587 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4589 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
4590 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
4591 (smie-prec2-levels): Use them to better diagnose precedence cycles.
4592 (smie-blink-matching-check): Don't signal a mismatch if car is t.
4593 (smie-blink-matching-open): Rewrite to remove assumptions, so that
4594 something like "." can also be a closer.
4595 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
4596 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
4597 Rename internal functions to use "--". Update callers.
4599 * frame.el (make-frame-names-alist): Don't list frames on other displays.
4601 * fringe.el (fringe-styles): New var.
4602 (fringe-mode, fringe-query-style): Use it.
4604 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
4606 * progmodes/sql.el: Version 2.8
4607 (sql-login-params): Update widget structure; changes still needed.
4608 (sql-product-alist): Add :list-all and :list-table features for
4609 SQLite, Postgres and MySQL products.
4610 (sql-redirect): Handle default value.
4611 (sql-execute, sql-execute-feature): New functions.
4612 (sql-read-table-name): New function.
4613 (sql-list-all, sql-list-table): New functions. User API.
4614 (sql-mode-map, sql-interactive-mode-map): Add key definitions
4615 for above functions.
4616 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
4617 for above functions.
4618 (sql-postgres-login-params): Add user and database defaults.
4619 (sql-buffer-live-p): Bug fix.
4620 (sql-product-history): New variable.
4621 (sql-read-product): New function. Use it.
4622 (sql-set-product, sql-product-interactive): Use it.
4623 (sql-connection-history): New variable.
4624 (sql-read-connection): New function. Use it.
4625 (sql-connect): New function.
4626 (sql-for-each-login): Redesign function interface.
4627 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
4628 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
4629 (sql-comint): Check for program. Existing live buffer.
4630 (sql-comint-postgres): Add port parameter.
4632 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4634 * emacs-lisp/warnings.el: Fix commenting convention.
4635 (display-warning): Use special mode and make the buffer read-only.
4637 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
4639 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
4640 empty string when it follows a repeated or optional pattern.
4642 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4644 * indent.el (indent-according-to-mode): Apply syntax-propertize.
4645 (indent-region): Use indent-according-to-mode.
4647 2010-09-18 Eli Zaretskii <eliz@gnu.org>
4649 * fringe.el (fringe-mode): Doc fix.
4651 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
4653 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
4654 refreshing the preview buffer.
4656 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4658 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
4659 (latex-syntax-propertize-rules): New consts; replace
4660 tex-font-lock-syntactic-keywords.
4661 (tex-env-mark, latex-env-before-change): New functions.
4662 (latex-electric-env-pair-mode): New minor mode.
4663 (tex-font-lock-verb): Change arguments; do move point.
4664 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
4665 representation as a form of comment.
4666 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
4667 (doctex-syntax-propertize-rules): New const; replaces
4668 doctex-font-lock-syntactic-keywords.
4669 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
4671 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
4672 (fortran-make-syntax-propertize-function): New function; replaces
4673 fortran-font-lock-syntactic-keywords.
4674 (fortran-mode): Use it.
4675 (fortran-line-length): Use it. Improve interactive spec.
4677 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
4678 (syntax-propertize-rules): Add var-ref case. Fix offset computation
4679 when adding surrounding \(..\).
4681 * progmodes/js.el (js-mode): Fix last change (bug#7054).
4683 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4685 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
4686 Use with-current-buffer.
4688 * isearch.el (isearch-face): Rename from `isearch'.
4689 (isearch-highlight): Use new name.
4691 2010-09-17 Eli Zaretskii <eliz@gnu.org>
4693 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
4694 5, for `half' width fringes. (Bug#6933)
4696 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4698 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
4699 (byte-compile-defvar): "foo/bar" does not lack a prefix.
4701 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
4703 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
4705 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
4706 in calculating new frame position. Add more space between new and
4707 parent on the left (Bug#7048).
4709 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
4711 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
4714 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
4716 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
4718 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
4719 obsolete alias for x-selection-value.
4721 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
4723 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
4725 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
4728 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
4730 * net/tramp-compat.el (tramp-compat-with-temp-message)
4731 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
4732 (tramp-compat-process-put): New defuns.
4734 * net/tramp.el (top):
4735 * net/tramp-gvfs.el (top):
4736 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
4738 * net/tramp.el (tramp-progress-reporter-update):
4739 Use `tramp-compat-funcall'.
4741 * net/tramp.el (tramp-process-actions):
4742 * net/tramp-gvfs.el (tramp-handle-vc-registered):
4743 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
4744 (tramp-get-remote-stat, tramp-get-remote-readlink):
4745 Use `tramp-compat-with-temp-message'.
4747 * net/tramp-sh.el (top): Require 'cl.
4748 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
4749 (tramp-open-connection-setup-interactive-shell):
4750 Use `tramp-compat-process-put'.
4752 2010-09-15 Alan Mackenzie <acm@muc.de>
4754 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
4756 (c-forward-<>-arglist-recur): Fix an infinite recursion.
4758 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
4760 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
4761 `lexical' for warnings related to lexical scoping.
4762 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
4763 global vars which don't have a prefix and could hence affect lexical
4764 scoping in unrelated files.
4766 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4768 * net/imap.el: Revert back to version
4769 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
4772 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
4774 * obsolete/old-whitespace.el (whitespace-unload-function):
4775 Explicitly pass `obarray' to `unintern' to avoid a warning.
4777 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4779 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
4780 Add `when' argument. Update callers.
4782 * subr.el (unintern): Declare the obarray arg mandatory.
4784 2010-09-14 Glenn Morris <rgm@gnu.org>
4786 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
4789 * calendar/diary-lib.el (diary-included-files): New variable.
4790 (diary-list-entries): Maybe initialize diary-included-files.
4791 (diary-include-other-diary-files): Append to diary-included-files.
4792 * calendar/appt.el (appt-update-list): Also check the members of
4793 diary-included-files. (Bug#6999)
4794 (appt-check): Doc fix.
4796 2010-09-14 David Reitter <david.reitter@gmail.com>
4798 * simple.el (line-move-visual): Do not truncate goal column to
4799 integer size. (Bug#7020)
4801 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4803 * repeat.el (repeat): Allow repeating when the last event is a click.
4804 Suggested by Drew Adams (bug#6256).
4806 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
4808 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
4809 Replace setting HGRCPATH to "" by some less invasive --config options.
4811 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4813 * font-lock.el (font-lock-beginning-of-syntax-function):
4816 2010-09-14 Glenn Morris <rgm@gnu.org>
4818 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
4819 and tool-bar modes. (Bug#6211)
4820 (menu-bar-mode): Move setting of standard-value after the
4821 minor-mode definition, otherwise it seems to have no effect.
4823 2010-09-14 Masatake YAMATO <yamato@redhat.com>
4825 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
4826 Fix typo. (Bug#6976)
4828 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4830 * whitespace.el: Allow cleaning up blanks without blank
4831 visualization (Bug#6651). Adjust help window for
4832 whitespace-toggle-options (Bug#6479). Allow to use fill-column
4833 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
4834 (whitespace-style): Add new value 'face. Adjust docstring.
4835 (whitespace-space, whitespace-hspace, whitespace-tab):
4836 Adjust foreground property face.
4837 (whitespace-line-column): Adjust docstring and type declaration.
4838 (whitespace-style-value-list, whitespace-toggle-option-alist)
4839 (whitespace-help-text): Adjust const initialization.
4840 (whitespace-toggle-options, global-whitespace-toggle-options):
4842 (whitespace-display-window, whitespace-interactive-char)
4843 (whitespace-style-face-p, whitespace-color-on): Adjust code.
4844 (whitespace-help-scroll): New fun.
4846 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
4848 * calendar/time-date.el (format-seconds): Comment fix.
4850 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
4852 * progmodes/sql.el: Version 2.7.
4853 (sql-buffer-live-p): Improve detection.
4854 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
4855 (sql-set-sqli-buffer): Use it.
4856 (sql-product-interactive): Run `sql-set-sqli-hook'.
4857 (sql-rename-buffer): Code cleanup.
4858 (sql-redirect, sql-redirect-value): New functions. More to come.
4860 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
4862 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.
4863 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
4864 (TRAMP_SRC): New macro.
4865 ($(lisp)/net/tramp-loaddefs.el): New target.
4867 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
4869 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
4871 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
4873 * net/tramp.el (top): Don't show loading message. Require just
4874 'tramp-compat, everything else is required there.
4875 Use `ignore-errors' where appropriate.
4876 (tramp-inline-compress-start-size, tramp-copy-size-limit)
4877 (tramp-terminal-type, tramp-end-of-output)
4878 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
4879 (tramp-completion-function-alist-ssh)
4880 (tramp-completion-function-alist-telnet)
4881 (tramp-completion-function-alist-su)
4882 (tramp-completion-function-alist-putty, tramp-remote-path)
4883 (tramp-remote-process-environment, tramp-sh-extra-args)
4884 (tramp-actions-before-shell, tramp-uudecode)
4885 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
4886 (tramp-perl-file-attributes)
4887 (tramp-perl-directory-files-and-attributes)
4888 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
4889 (tramp-perl-encode, tramp-perl-decode)
4890 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
4891 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
4892 (tramp-handle-make-symbolic-link, tramp-handle-load)
4893 (tramp-handle-file-name-as-directory)
4894 (tramp-handle-file-name-directory)
4895 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
4896 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
4897 (tramp-do-file-attributes-with-ls)
4898 (tramp-do-file-attributes-with-perl)
4899 (tramp-do-file-attributes-with-stat)
4900 (tramp-handle-set-visited-file-modtime)
4901 (tramp-handle-verify-visited-file-modtime)
4902 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
4903 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
4904 (tramp-handle-file-selinux-context)
4905 (tramp-handle-set-file-selinux-context)
4906 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
4907 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
4908 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
4909 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
4910 (tramp-handle-file-ownership-preserved-p)
4911 (tramp-handle-directory-file-name, tramp-handle-directory-files)
4912 (tramp-handle-directory-files-and-attributes)
4913 (tramp-do-directory-files-and-attributes-with-perl)
4914 (tramp-do-directory-files-and-attributes-with-stat)
4915 (tramp-handle-file-name-all-completions)
4916 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
4917 (tramp-handle-copy-file, tramp-handle-copy-directory)
4918 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
4919 (tramp-do-copy-or-rename-file-via-buffer)
4920 (tramp-do-copy-or-rename-file-directly)
4921 (tramp-do-copy-or-rename-file-out-of-band)
4922 (tramp-handle-make-directory, tramp-handle-delete-directory)
4923 (tramp-handle-delete-file)
4924 (tramp-handle-dired-recursive-delete-directory)
4925 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
4926 (tramp-handle-insert-directory)
4927 (tramp-handle-unhandled-file-name-directory)
4928 (tramp-handle-expand-file-name)
4929 (tramp-handle-substitute-in-file-name)
4930 (tramp-handle-executable-find, tramp-process-sentinel)
4931 (tramp-handle-start-file-process, tramp-handle-process-file)
4932 (tramp-handle-call-process-region, tramp-handle-shell-command)
4933 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
4934 (tramp-handle-insert-file-contents)
4935 (tramp-handle-insert-file-contents-literally)
4936 (tramp-handle-find-backup-file-name)
4937 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
4938 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
4939 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
4940 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
4941 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
4942 (tramp-find-file-exists-command, tramp-open-shell)
4943 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
4944 (tramp-open-connection-setup-interactive-shell)
4945 (tramp-local-coding-commands, tramp-remote-coding-commands)
4946 (tramp-find-inline-encoding, tramp-call-local-coding-command)
4947 (tramp-inline-compress-commands, tramp-find-inline-compress)
4948 (tramp-compute-multi-hops, tramp-maybe-open-connection)
4949 (tramp-send-command, tramp-wait-for-output)
4950 (tramp-send-command-and-check, tramp-barf-unless-okay)
4951 (tramp-send-command-and-read, tramp-mode-string-to-int)
4952 (tramp-convert-file-attributes, tramp-check-cached-permissions)
4953 (tramp-file-mode-from-int, tramp-file-mode-permissions)
4954 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
4955 (tramp-method-out-of-band-p, tramp-local-host-p)
4956 (tramp-get-remote-path, tramp-get-remote-tmpdir)
4957 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
4958 (tramp-get-test-command, tramp-get-test-nt-command)
4959 (tramp-get-file-exists-command, tramp-get-remote-ln)
4960 (tramp-get-remote-perl, tramp-get-remote-stat)
4961 (tramp-get-remote-readlink, tramp-get-remote-trash)
4962 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
4963 (tramp-get-local-uid, tramp-get-local-gid)
4964 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
4966 (tramp-methods, tramp-default-method-alist)
4967 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
4968 Move initialization to tramp-sh.el.
4969 (tramp-temp-name-prefix): Make it a defconst.
4970 (tramp-dissect-file-name): Don't check anymore for multi-hop
4972 (tramp-debug-outline-regexp): Add a docstring.
4973 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
4974 (tramp-get-debug-buffer): Use it.
4976 * net/tramp-cache.el (top): Set tramp-autoload cookie for
4977 initialization forms.
4978 (tramp-set-connection-property): Don't protect `tramp-message'
4979 call, it isn't necessary any longer.
4980 (tramp-dump-connection-properties): Use `ignore-errors'.
4982 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
4983 'password-cache and 'auth-source.
4985 * net/tramp-gvfs.el (top):
4986 * net/tramp-smb.el (top): Require 'tramp-sh.
4988 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
4990 * net/tramp-sh.el: New file, derived from tramp.el.
4991 (top): Initialize `tramp-methods', `tramp-default-method-alist',
4992 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
4993 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
4994 Use `ignore-errors' where appropriate.
4995 (tramp-sh-file-name-handler-alist): Rename from
4996 `tramp-file-name-handler-alist'.
4997 (tramp-send-command-and-check): Return t or nil. Remove all
4998 `zerop' checks, where called.
4999 (tramp-handle-set-file-modes)
5000 (tramp-do-copy-or-rename-file-directly)
5001 (tramp-handle-delete-directory, tramp-handle-delete-file)
5002 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
5003 (tramp-sh-file-name-handler, tramp-send-command-and-check)
5004 (tramp-get-remote-ln): Set tramp-autoload cookie.
5006 * net/tramp-fish.el: Remove file.
5008 2010-09-13 Daiki Ueno <ueno@unixuser.org>
5010 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
5011 buffer-file-name to avoid file-locking. (Bug#7026)
5013 2010-09-13 Julien Danjou <julien@danjou.info>
5015 * notifications.el (notifications-notify): Add support for
5016 image-path and sound-name.
5017 (notifications-specification-version): Add this variable.
5019 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5021 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
5023 2010-09-12 Leo <sdl.web@gmail.com>
5025 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
5026 (rcirc-completion-start): New variables.
5027 (rcirc-nick-completions): Rename to rcirc-completions.
5028 (rcirc-nick-completion-start-offset): Delete.
5029 (rcirc-completion-at-point): New function for constructing
5030 completion data for both nicks and irc commands. Add to
5031 completion-at-point-functions in rcirc mode.
5032 (rcirc-complete): Rename from rcirc-nick-complete; use
5033 rcirc-completion-at-point.
5034 (defun-rcirc-command): Update rcirc-client-commands.
5036 2010-09-11 Glenn Morris <rgm@gnu.org>
5038 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
5039 atomically, to avoid parallel build errors. (Bug#4196)
5041 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
5043 * progmodes/sql.el: Version 2.6
5044 (sql-dialect): Synonym for "sql-product".
5045 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5046 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
5047 Set "sql-buffer" to buffer name not buffer object so multiple sql
5048 interactive buffers work properly. Reverts misguided changes in
5050 (sql-comint): Make sure different buffer name is used if "*SQL*"
5051 buffer is for a different product.
5052 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
5054 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
5055 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
5056 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
5057 Accept new buffer name or prompt for one.
5058 (sql-port): Default to zero.
5059 (sql-comint-mysql): Handle "sql-port" as a numeric.
5060 (sql-port-history): Delete unused variable.
5061 (sql-get-login): Default "sql-port" to a number.
5062 (sql-product-alist): Correct Postgres prompt and terminator regexp.
5063 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
5064 "sqlite3" executables.
5065 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
5066 (sql-buffer-live-p): New function.
5067 (sql-mode-menu, sql-send-string): Use it.
5068 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
5070 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
5071 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
5073 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5075 * net/netrc.el (netrc-credentials): New convenience function.
5077 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5079 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
5080 to replace texinfo-font-lock-syntactic-keywords.
5081 (texinfo-mode): Use it.
5083 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
5084 Use syntax-propertize-function.
5086 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
5087 replace sgml-font-lock-syntactic-keywords.
5088 (sgml-mode): Use it.
5090 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
5091 since we don't use it.
5093 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
5095 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
5097 (vhdl-fontify-buffer): Adjust.
5099 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
5100 replace tcl-font-lock-syntactic-keywords.
5103 * progmodes/simula.el (simula-syntax-propertize-function): New var to
5104 replace simula-font-lock-syntactic-keywords.
5105 (simula-mode): Use it.
5107 * progmodes/sh-script.el (sh-st-symbol): Remove.
5108 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
5109 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
5110 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
5111 (sh-font-lock-paren): Set syntax-multiline.
5112 (sh-font-lock-syntactic-keywords): Remove.
5113 (sh-syntax-propertize-function): New function to replace it.
5116 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
5117 Define while compiling.
5118 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5119 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
5120 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
5121 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5122 (ruby-here-doc-end-syntax): Only define when
5123 syntax-propertize is not available.
5124 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
5126 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
5127 (electric-indent-chars): Silence bytecompiler.
5128 (ruby-mode): Use prog-mode, syntax-propertize-function, and
5129 electric-indent-chars.
5131 * progmodes/python.el (python-syntax-propertize-function): New var to
5132 replace python-font-lock-syntactic-keywords.
5133 (python-mode): Use it.
5134 (python-quote-syntax): Simplify and adjust to new use.
5136 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
5137 replace perl-font-lock-syntactic-keywords.
5138 (perl-syntax-propertize-special-constructs): New fun to replace
5139 perl-font-lock-special-syntactic-constructs.
5140 (perl-font-lock-syntactic-face-function): New fun.
5141 (perl-mode): Use it.
5143 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
5144 to replace octave-font-lock-close-quotes.
5145 (octave-syntax-propertize-function): New function to replace
5146 octave-font-lock-syntactic-keywords.
5147 (octave-mode): Use it.
5149 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
5150 replaces mixal-font-lock-syntactic-keywords.
5151 (mixal-mode): Use it.
5153 * progmodes/make-mode.el (makefile-syntax-propertize-function):
5154 New var; replaces makefile-font-lock-syntactic-keywords.
5155 (makefile-mode): Use it.
5156 (makefile-imake-mode): Adjust.
5158 * progmodes/js.el (js--regexp-literal): Define while compiling.
5159 (js-syntax-propertize-function): New var; replaces
5160 js-font-lock-syntactic-keywords.
5163 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
5164 replaces gdb-script-font-lock-syntactic-keywords.
5165 (gdb-script-mode): Use it.
5167 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
5168 (fortran--font-lock-syntactic-keywords): New var.
5169 (fortran-line-length): Update syntax-propertize-function and
5170 fortran--font-lock-syntactic-keywords.
5172 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
5174 * progmodes/cfengine.el (cfengine-mode):
5175 Use syntax-propertize-function.
5176 (cfengine-font-lock-syntactic-keywords): Remove.
5178 * progmodes/autoconf.el (autoconf-mode):
5179 Use syntax-propertize-function.
5180 (autoconf-font-lock-syntactic-keywords): Remove.
5182 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
5183 (ada-after-change-function, ada-initialize-syntax-table-properties)
5184 (ada-handle-syntax-table-properties): Only define when
5185 syntax-propertize is not available.
5186 (ada-mode): Use syntax-propertize-function.
5188 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
5189 (font-lock-fontify-syntactic-keywords-region): Move handling of
5190 font-lock-syntactically-fontified to...
5191 (font-lock-default-fontify-region): ...here.
5192 Let syntax-propertize-function take precedence.
5193 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
5195 * emacs-lisp/syntax.el (syntax-propertize-function)
5196 (syntax-propertize-chunk-size, syntax-propertize--done)
5197 (syntax-propertize-extend-region-functions): New vars.
5198 (syntax-propertize-wholelines, syntax-propertize-multiline)
5199 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
5200 (syntax-propertize): New functions.
5201 (syntax-propertize-rules): New macro.
5202 (syntax-ppss-flush-cache): Set syntax-propertize--done.
5203 (syntax-ppss): Call syntax-propertize.
5205 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
5207 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
5209 * textmodes/ispell.el (ispell-init-process): Improve comments.
5210 XEmacs compatibility changes regarding (add-hook) 'local option
5211 and (set-process-query-on-exit-flag).
5213 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
5215 * net/tramp-cache.el (tramp-parse-connection-properties):
5216 Set tramp-autoload cookie.
5218 2010-09-09 Glenn Morris <rgm@gnu.org>
5220 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
5221 (imagemagick-register-types): Doc fix.
5223 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
5225 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
5227 * progmodes/js.el (require): Require is already "eval-and-compile".
5228 (js--re-search-forward): Avoid `eval'. Preserve the error data.
5229 (js--re-search-backward): Use js--re-search-forward.
5231 * progmodes/fortran.el (fortran-line-length): Don't recompute
5232 syntactic keywords redundantly a second time.
5234 * progmodes/ada-mode.el: Replace "(set '" with setq.
5235 (ada-mode): Simplify.
5236 (ada-create-case-exception, ada-adjust-case-interactive)
5237 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
5238 (ada-search-ignore-string-comment, ada-move-to-start)
5239 (ada-move-to-end): Use with-syntax-table.
5241 * font-lock.el (save-buffer-state): Remove `varlist' arg.
5242 (font-lock-unfontify-region, font-lock-default-fontify-region):
5243 Update usage correspondingly.
5244 (font-lock-fontify-syntactic-keywords-region):
5245 Set parse-sexp-lookup-properties buffer-locally here.
5246 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
5248 * simple.el (blink-matching-open): Don't burp if we can't find a match.
5250 2010-09-08 Glenn Morris <rgm@gnu.org>
5252 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
5253 Error if not compiled with -DBYTE_CODE_METER.
5255 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5256 Ignore dir-locals-file.
5258 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
5260 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5262 (compilation-error-regexp-alist-alist): Rule out ": " in file names
5263 for the `gnu' messages.
5264 (compilation-set-skip-threshold): New command.
5265 (compilation-start): Use \' rather than $.
5266 (compilation-forget-errors): Use clrhash.
5268 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
5270 * textmodes/ispell.el (ispell-valid-dictionary-list):
5273 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
5275 Migrate to Tramp 2.2. Rearrange load dependencies.
5276 (Bug#1529, Bug#5448, Bug#5705)
5278 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
5279 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
5280 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5282 * net/tramp.el (top): Remove all other tramp-* loads except
5283 tramp-compat.el. Remove all changes to tramp-unload-hook for
5284 other tramp-* packages. Rearrange defun order. Change calls of
5285 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
5286 `tramp-compat-octal-to-decimal' to new function names.
5287 (tramp-terminal-type, tramp-initial-end-of-output)
5288 (tramp-methods, tramp-foreign-file-name-handler-alist)
5289 (tramp-tramp-file-p, tramp-completion-mode-p)
5290 (tramp-send-command-and-check, tramp-get-remote-path)
5291 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
5292 (tramp-shell-quote-argument): Set tramp-autoload cookie.
5293 (with-file-property, with-connection-property): Move to
5295 (tramp-local-call-process, tramp-decimal-to-octal)
5296 (tramp-octal-to-decimal): Move to tramp-compat.el.
5297 (tramp-handle-shell-command): Do not require 'shell.
5298 (tramp-compute-multi-hops): No special handling for tramp-gw-*
5300 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
5302 * net/tramp-cache.el (top): Require 'tramp. Add to
5303 `tramp-unload-hook'.
5304 (tramp-cache-data, tramp-get-file-property)
5305 (tramp-set-file-property, tramp-flush-file-property)
5306 (tramp-flush-directory-property, tramp-get-connection-property)
5307 (tramp-set-connection-property, tramp-flush-connection-property)
5308 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
5310 (with-file-property, with-connection-property): New defuns, moved
5312 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
5315 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
5316 (tramp-version): Set tramp-autoload cookie.
5318 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
5319 changes to tramp-unload-hook for other tramp-* packages. Add to
5320 `tramp-unload-hook'.
5321 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
5322 (tramp-compat-call-process): New defuns, moved from tramp.el.
5324 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
5325 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5326 Add to `tramp-unload-hook'. Change call of
5327 `tramp-compat-decimal-to-octal' to new function name.
5328 (tramp-fish-method): Make it a defconst.
5329 (tramp-fish-file-name-p): Make it a defsubst.
5330 (tramp-fish-method, tramp-fish-file-name-handler)
5331 (tramp-fish-file-name-p): Set tramp-autoload cookie.
5333 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
5334 `tramp-foreign-file-name-handler-alist'. Add to
5335 `tramp-unload-hook'.
5336 (tramp-ftp-method): Make it a defconst.
5337 (tramp-ftp-file-name-p): Make it a defsubst.
5338 (tramp-ftp-method, tramp-ftp-file-name-handler)
5339 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
5341 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
5342 `tramp-foreign-file-name-handler-alist'. Add to
5343 `tramp-unload-hook'. Change checks, whether package can be
5345 (tramp-gvfs-file-name-p): Make it a defsubst.
5346 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
5347 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
5348 (tramp-gvfs-handle-file-directory-p): New defun.
5349 (tramp-gvfs-file-name-handler-alist): Use it.
5351 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
5352 `tramp-foreign-file-name-handler-alist'. Add to
5353 `tramp-unload-hook'.
5354 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
5355 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
5357 (tramp-gw-tunnel-method, tramp-gw-socks-method)
5358 (tramp-gw-open-connection): Set tramp-autoload cookie.
5360 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
5361 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5362 Add to `tramp-unload-hook'. Change checks, whether package can be
5364 (tramp-imap-file-name-p): Make it a defsubst.
5365 (tramp-imap-method, tramp-imaps-method)
5366 (tramp-imap-file-name-handler)
5367 (tramp-imap-file-name-p): Set tramp-autoload cookie.
5369 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
5370 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5371 Add to `tramp-unload-hook'. Change checks, whether package can be
5372 loaded. Change call of `tramp-compat-decimal-to-octal' to new
5374 (tramp-smb-tunnel-method): Make it a defconst.
5375 (tramp-smb-file-name-p): Make it a defsubst.
5376 (tramp-smb-method, tramp-smb-file-name-handler)
5377 (tramp-smb-file-name-p): Set tramp-autoload cookie.
5379 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
5380 (tramp-uuencode-region): Set tramp-autoload cookie.
5382 * net/trampver.el (top) Add to `tramp-unload-hook'.
5383 (tramp-version, tramp-bug-report-address): Set tramp-autoload
5384 cookie. Update release number.
5386 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
5388 * textmodes/ispell.el (ispell-start-process): Make sure original
5389 arg list is properly initialized (Bug#6993, Bug#6994).
5391 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
5393 * files.el (directory-abbrev-alist): Use \` as default regexp.
5395 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
5396 chars like - or ] (bug#6984).
5397 (rx-any-condense-range): Explode 2-char ranges.
5399 2010-09-06 Glenn Morris <rgm@gnu.org>
5401 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
5403 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5405 * textmodes/bibtex.el:
5406 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
5408 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5410 * net/imap.el (imap-message-map): Remove optional buffer parameter,
5411 since no callers use it.
5412 (imap-message-get): Ditto.
5413 (imap-message-put): Ditto.
5414 (imap-mailbox-map): Ditto.
5415 (imap-mailbox-put): Ditto.
5416 (imap-mailbox-get): Ditto.
5417 (imap-mailbox-get): Revert last change for this function.
5419 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5421 * net/imap.el (imap-fetch-safe): Remove function, and alter all
5422 callers to use `imap-fetch' instead. According to the comments, this
5423 should be safe, since all other IMAP clients use the 1:* syntax.
5424 (imap-enable-exchange-bug-workaround): Remove.
5425 (imap-debug): Remove -- doesn't seem very useful.
5427 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5429 * net/imap.el (imap-log): New convenience function used throughout
5430 instead of repeating the same code all over the place.
5432 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
5434 * mouse.el (mouse-save-then-kill): Save region to kill-ring
5435 when mouse-drag-copy-region is non-nil (Bug#6956).
5437 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
5439 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
5440 Improve regexps (Bug#6987).
5441 (dired-sort-toggle): Search more robustly for -t flag.
5443 * files.el (get-free-disk-space): Search more robustly for
5444 "available" column. Suggested by Ehud Karni
5445 <ehud@unix.mvs.co.il>.
5447 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
5449 * international/uni-bidi.el:
5450 * international/uni-category.el:
5451 * international/uni-combining.el:
5452 * international/uni-decimal.el:
5453 * international/uni-mirrored.el:
5454 * international/uni-name.el: Regenerate.
5456 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5458 * electric.el (electric-indent-post-self-insert-function):
5459 Don't reindent with a sloppy indentation function.
5461 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
5462 border case in change-log-mode.
5464 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
5466 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5467 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
5468 Recognize leading tab in gcc-include regexp. Ignore names with
5469 leading "from" or "in" in gnu regexp (Bug#6937).
5471 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5473 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
5474 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
5475 (ispell-start-process): Avoid setq and simplify logic.
5476 (ispell-init-process): Setup kill-buffer-hook locally when needed.
5477 (kill-buffer-hook): Don't use it globally with code that uses
5478 expand-file-name since that may call kill-buffer via
5479 code_conversion_restore.
5481 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
5483 * emacs-lisp/package.el (package-directory-list): Only call
5484 file-name-nondirectory on a string.
5486 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
5488 * emacs-lisp/package.el (package--download-one-archive):
5489 Ensure that archive-contents is valid before saving it.
5490 (package-activate-1, package-mark-obsolete, define-package)
5491 (package-compute-transaction, package-list-maybe-add): Use push.
5493 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5495 Use SMIE's blink-paren for octave-mode.
5496 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
5497 Backslashes do not escape single-quotes, single-quotes do.
5498 (octave-block-else-regexp, octave-block-end-regexp)
5499 (octave-block-match-alist): Remove.
5500 (octave-smie-bnf-table): New var, with old content.
5501 (octave-smie-op-levels): Use it.
5502 (octave-smie-closer-alist): New var.
5503 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
5504 (octave-blink-matching-block-open): Remove.
5505 (octave-reindent-then-newline-and-indent, octave-electric-semi)
5506 (octave-electric-space): Let self-insert-command run expand-abbrev and
5509 * electric.el (electricity): New group.
5510 (electric-indent-chars): New var.
5511 (electric-indent-post-self-insert-function): New fun.
5512 (electric-indent-mode): New minor mode.
5513 (electric-pair-skip-self): New custom.
5514 (electric-pair-post-self-insert-function): New function.
5515 (electric-pair-mode): New minor mode.
5517 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
5518 calcAlg-blink-matching-open.
5519 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
5520 (calc-do-alg-entry): Only touch the part of the keymap that varies.
5521 Use the new blink-matching-check-function.
5523 Provide blink-matching support to SMIE.
5524 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
5525 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
5526 (smie-blink-matching-check, smie-blink-matching-open): New functions.
5528 * simple.el (newline): Fix last change to properly remove itself from
5531 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5533 * simple.el (newline): Eliminate optimization.
5534 Use post-self-insert-hook to set hard-newline and things before
5535 running post-self-insert-hook.
5536 (blink-matching-check-mismatch): New function.
5537 (blink-matching-check-function): New variable.
5538 (blink-matching-open): Use them.
5539 Skip back forward over prefix chars skipped by forward-sexp.
5540 Don't check if the parens are backslash escaped.
5541 (blink-paren-post-self-insert-function): Check backslash escaping here.
5543 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
5545 * emacs-lisp/package.el (package-menu-mode-map):
5546 Change package-menu-revert bindings to revert-buffer.
5547 (package-menu-mode): Set revert-buffer-function.
5548 (package-menu-revert): Doc fix.
5550 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
5552 * textmodes/ispell.el (ispell-init-process): Use "~/" as
5553 `default-directory' unless using Ispell per-directory personal
5554 dictionaries and not in a mini-buffer under XEmacs.
5555 (kill-buffer-hook): Do not kill ispell process on exit when
5556 `ispell-process-directory' is "~/". (Bug#6143)
5558 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
5560 * simple.el (kill-new): Call interprogram-cut-function with only
5563 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
5564 Remove cut buffer from error message.
5566 * term/x-win.el (x-select-text):
5567 * term/pc-win.el (x-selection-value):
5568 * term/ns-win.el (x-selection-value):
5569 * eshell/em-term.el:
5570 * w32-fns.el (x-get-selection-value):
5571 * mouse-sel.el (mouse-sel-set-selection-function):
5572 * frame.el (display-selections-p): Remove cut-buffer in documentation.
5574 * term/x-win.el: Update documentation for x-last-selected-text-*.
5575 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
5576 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
5577 (x-select-text): Remove argument PUSH, update documentation.
5578 Remove cut-buffer code.
5579 (x-selection-value-internal): Was previously x-selection-value.
5580 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5581 Update documentation, remove cut-buffer code.
5582 Call x-selection-value-internal.
5583 (x-clipboard-yank): Call x-selection-value-internal.
5584 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
5586 * term/pc-win.el (x-last-selected-text):
5587 x-cut-buffer-or-selection-value renamed to x-selection-value
5588 (x-select-text): Remove argument PUSH, update documentation.
5590 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
5591 x-cut-buffer-or-selection-value renamed to x-selection-value
5592 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5593 (x-select-text): Remove argument PUSH, update documentation.
5595 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
5597 * w32-fns.el (x-last-selected-text):
5598 x-cut-buffer-or-selection-value renamed to x-selection-value.
5599 (x-cut-buffer-max): Remove.
5600 (x-select-text): Remove argument PUSH, update documentation.
5602 * simple.el (interprogram-cut-function): Remove mention of PUSH.
5604 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
5606 * mouse-sel.el (mouse-sel-get-selection-function):
5607 x-cut-buffer-or-selection-value renamed to x-selection-value.
5608 (x-select-text): Remove optional push.
5610 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
5612 * simple.el (blink-paren-function): Move from C to here.
5613 (blink-paren-post-self-insert-function): New function.
5614 (post-self-insert-hook): Use it.
5616 * emacs-lisp/pcase.el (pcase-split-memq):
5617 Fix overenthusiastic optimisation.
5618 (pcase-u1): Handle the case of a lambda pred.
5620 2010-08-31 Kenichi Handa <handa@m17n.org>
5622 * international/mule-cmds.el (standard-display-european-internal):
5623 Setup standard-display-table for 8-bit characters by storing 8-bit
5624 characters in the element vector.
5626 * disp-table.el (standard-display-8bit):
5627 Setup standard-display-table for 8-bit characters by storing 8-bit
5628 characters in the element vector.
5629 (standard-display-european): Likewise.
5631 2010-08-31 Masatake YAMATO <yamato@redhat.com>
5633 * textmodes/nroff-mode.el (nroff-view): New command.
5634 (nroff-mode-map): Bind it to C-c C-c.
5636 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
5638 * emacs-lisp/smie.el (smie-down-list): New command.
5640 Remove old indentation and navigation code on octave-mode.
5641 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
5642 smie-down-list rather than add a binding for octave-down-block.
5643 (octave-mark-block, octave-blink-matching-block-open):
5644 Rely on forward-sexp-function.
5645 (octave-fill-paragraph): Don't narrow, so you can use
5646 indent-according-to-mode.
5647 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
5648 (octave-in-block-p, octave-re-search-forward-kw)
5649 (octave-re-search-backward-kw, octave-indent-calculate)
5650 (octave-end-as-array-index-p, octave-block-end-offset)
5651 (octave-scan-blocks, octave-forward-block, octave-backward-block)
5652 (octave-down-block, octave-backward-up-block, octave-up-block)
5653 (octave-before-magic-comment-p, octave-indent-line): Remove.
5655 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
5657 * emacs-lisp/package.el (package--read-archive-file): Just use
5658 `read', to avoid copying an additional string.
5659 (package-menu-mode): Set header-line-format here.
5660 (package-menu-refresh, package-menu-revert): Signal an error if
5661 not in the Package Menu.
5662 (package-menu-package-list): New var.
5663 (package--generate-package-list): Operate on the current buffer;
5664 don't assume that it is *Packages*, since the user may rename it.
5665 Allow persistent package listings and sort keys using
5666 package-menu-package-list and package-menu-package-sort-key.
5667 (package-menu--version-predicate): Fix version calculation.
5668 (package-menu-sort-by-column): Don't select the window.
5669 (package--list-packages): Create the *Packages* buffer.
5670 Set package-menu-package-list-key.
5671 (list-packages): Sorting by status is now the default.
5672 (package-buffer-info): Use match-string-no-properties.
5673 (define-package): Add a &rest argument for future proofing, but
5675 (package-install-from-buffer, package-install-buffer-internal):
5676 Merge into a single function, package-install-from-buffer.
5677 (package-install-file): Change caller.
5679 * finder.el: Load finder-inf using `require'.
5680 (finder-list-matches): Sorting by status is now the default.
5681 (finder-compile-keywords): Simpify printing.
5683 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5685 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
5686 (octave-mode-map): Remove special bindings for forward/backward-block
5687 and octave-backward-up-block. Use smie-close-block.
5688 (octave-continuation-marker-regexp): New var.
5689 (octave-continuation-regexp): Use it.
5690 (octave-operator-table, octave-smie-op-levels)
5691 (octave-operator-regexp, octave-smie-indent-rules): New vars.
5692 (octave-smie-backward-token, octave-smie-forward-token): New funs.
5693 (octave-mode): Use SMIE.
5694 (octave-close-block): Delete.
5696 2010-08-30 Eli Zaretskii <eliz@gnu.org>
5698 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
5699 CLIPBOARD, not in PRIMARY. (Bug#6944)
5701 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5703 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
5705 (smie-indent-column): Allow indirection through variables.
5707 * composite.el (save-buffer-state): Delete, unused.
5708 * font-lock.el (save-buffer-state): Use with-silent-modifications.
5709 (font-lock-default-fontify-region): Use with-syntax-table.
5710 * jit-lock.el (with-buffer-unmodified): Remove.
5711 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
5713 Use `declare' in defmacros.
5714 * window.el (save-selected-window):
5715 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
5716 * progmodes/python.el (def-python-skeleton):
5717 * net/dbus.el (dbus-ignore-errors):
5718 * jka-cmpr-hook.el (with-auto-compression-mode):
5719 * international/mule.el (with-category-table):
5720 * emacs-lisp/timer.el (with-timeout):
5721 * emacs-lisp/lisp-mnt.el (lm-with-file):
5722 * emacs-lisp/eieio.el (with-slots):
5723 * emacs-lisp/easymenu.el (easy-menu-define):
5724 * emacs-lisp/debug.el (debugger-env-macro):
5725 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
5726 (Multiple-value-call, Multiple-value-prog1):
5727 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
5728 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
5729 edebug rule to definition.
5730 * emacs-lisp/lisp-mode.el (save-selected-window)
5731 (with-current-buffer, combine-after-change-calls)
5732 (with-output-to-string, with-temp-file, with-temp-buffer)
5733 (with-temp-message, with-syntax-table, read-if, eval-after-load)
5734 (dolist, dotimes, when, unless):
5735 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
5737 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
5739 * finder.el: Require `package'.
5740 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
5741 (finder-package-info): Var deleted.
5742 (finder-keywords-hash, finder--builtins-alist): New vars.
5743 (finder-compile-keywords): Compute package--builtins and
5744 finder-keywords-hash instead of finder-keywords-hash, respecting
5745 the "Package" header.
5746 (finder-unknown-keywords, finder-list-matches):
5747 Use finder-keywords-hash and package--list-packages.
5748 (finder-mode): Don't set font-lock-defaults.
5749 (finder-exit): We don't use "*Finder-package*" and "*Finder
5750 Category*" buffers anymore.
5752 * emacs-lisp/package.el (package--builtins-base): Var deleted.
5753 (package--builtins): Set default value to nil.
5754 (package-initialize): Load precomputed value of package--builtins
5756 (package-alist, package-compute-transaction)
5757 (package-download-transaction): Improve docstring.
5758 (package-read-all-archive-contents): Do not change
5759 package--builtins here.
5760 (list-packages): Make package-list-packages an alias for this.
5761 Sort by status by default.
5762 (package--list-packages): Add optional PACKAGES arg.
5763 (describe-package-1): Use font-lock-face property. For built-in
5764 packages, insert file commentary.
5765 (package--generate-package-list): Rename from
5766 package-list-packages-internal; all callers changed. Add optional
5767 PACKAGES arg. Add alphabetical sort fallbacks.
5768 (package-menu--version-predicate, package-menu--status-predicate)
5769 (package-menu--description-predicate)
5770 (package-menu--name-predicate): New functions.
5772 * info.el (Info-finder-find-node): Search package-alist instead of
5773 finder-package-info.
5775 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
5777 * subr.el (version-regexp-alist): Don't use "a" and "b" for
5779 (version-to-list): Handle versions like "10.3d".
5781 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5783 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
5784 (macroexp-accumulate): Use `declare'.
5786 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5788 * whitespace.el (whitespace-style): Adjust type declaration.
5790 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
5792 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
5793 empty argument to gvfs-copy.
5795 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5797 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
5798 handle new TRASH arg of `delete-file'.
5800 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
5802 * net/tramp.el (tramp-handle-insert-directory): Don't use
5803 `forward-word', its default syntax could be changed.
5805 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5806 Michael Albinus <michael.albinus@gmx.de>
5808 Implement compression for inline methods.
5810 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
5811 (tramp-copy-size-limit): Allow also nil.
5812 (tramp-inline-compress-commands): New defconst.
5813 (tramp-find-inline-compress, tramp-get-inline-compress)
5814 (tramp-get-inline-coding): New defuns.
5815 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
5816 replaced by `tramp-get-inline-coding'.
5817 (tramp-handle-file-local-copy, tramp-handle-write-region)
5818 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
5820 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
5822 Detect ssh 'ControlMaster' argument automatically in some cases.
5824 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
5825 (tramp-default-method): Use it.
5827 2010-08-26 Karel Klíč <kklic@redhat.com>
5829 * net/tramp.el (tramp-file-name-for-operation):
5830 Add file-selinux-context.
5832 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
5834 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
5836 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5838 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
5841 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
5843 * progmodes/js.el: Make indentation more customizable (Bug#6914).
5844 (js-paren-indent-offset, js-square-indent-offset)
5845 (js-curly-indent-offset): New options.
5846 (js--proper-indentation): Use them.
5848 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
5850 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
5851 instead of inspecting font-lock properties (Bug#6916).
5853 2010-08-26 David Reitter <david.reitter@gmail.com>
5855 * server.el (server-visit-files): Run pre-command-hook and
5856 post-command-hook for each buffer while it is current (Bug#6910).
5857 (server-execute): Do not run hooks here.
5859 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
5861 Sync with Tramp 2.1.19.
5863 * net/tramp-cmds.el (tramp-cleanup-all-connections)
5864 (tramp-reporter-dump-variable, tramp-load-report-modules)
5865 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
5866 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
5868 * net/tramp-compat.el (top): Do not autoload
5869 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
5870 only when `start-file-process' is not bound.
5871 (byte-compile-not-obsolete-vars): Define if not bound.
5872 (tramp-compat-funcall): New defmacro.
5873 (tramp-compat-line-beginning-position)
5874 (tramp-compat-line-end-position)
5875 (tramp-compat-temporary-file-directory)
5876 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
5877 (tramp-compat-copy-file, tramp-compat-copy-directory)
5878 (tramp-compat-delete-file, tramp-compat-delete-directory)
5879 (tramp-compat-number-sequence, tramp-compat-process-running-p):
5881 (tramp-advice-file-expand-wildcards): Do not use
5882 `tramp-handle-file-remote-p'.
5883 (tramp-compat-make-temp-file): Simplify fallback implementation.
5884 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5885 (tramp-compat-copy-tree): Remove function.
5886 (tramp-compat-delete-file): New defun.
5887 (tramp-compat-delete-directory): Provide implementation for older
5889 (tramp-compat-file-attributes): Handle only
5890 `wrong-number-of-arguments' error.
5892 * net/tramp-fish.el (tramp-fish-handle-copy-file):
5893 Add PRESERVE_SELINUX_CONTEXT.
5894 (tramp-fish-handle-delete-file): Add TRASH arg.
5895 (tramp-fish-handle-directory-files-and-attributes):
5896 Do not use `tramp-fish-handle-file-attributes.
5897 (tramp-fish-handle-file-local-copy)
5898 (tramp-fish-handle-insert-file-contents)
5899 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
5901 * net/tramp-gvfs.el (top): Require url-util.
5902 (tramp-gvfs-mount-point): Remove.
5903 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
5904 and `set-file-selinux-context'.
5905 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
5906 (tramp-gvfs-handle-file-selinux-context)
5907 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
5908 (with-tramp-dbus-call-method): Format trace message.
5909 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
5910 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
5911 Implement backup call, when operation on local files fails.
5912 Use progress reporter. Flush properties of changed files.
5913 (tramp-gvfs-handle-delete-file): Add TRASH arg.
5914 Use `tramp-compat-delete-file'.
5915 (tramp-gvfs-handle-expand-file-name): Expand "~/".
5916 (tramp-gvfs-handle-make-directory): Make more traces.
5917 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
5918 (tramp-gvfs-url-file-name): Hexify file name in url.
5919 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
5920 into account for the resulting file name.
5921 (tramp-gvfs-handler-askquestion): Preserve current message, in
5922 order to let progress reporter continue afterwards. (Bug#6257)
5923 Return dummy mountpoint, when the answer is "no".
5924 See `tramp-gvfs-maybe-open-connection'.
5925 (tramp-gvfs-handler-mounted-unmounted)
5926 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
5927 attribute "default_location". Set "prefix" property.
5928 Handle default-location.
5929 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
5930 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
5931 exists. Raise an error, if not (due to a corresponding answer
5932 "no" in interactive questions, for example).
5933 Use `tramp-compat-funcall'.
5935 * net/tramp-imap.el (top): Autoload `epg-make-context'.
5936 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5937 (tramp-imap-do-copy-or-rename-file)
5938 (tramp-imap-handle-insert-file-contents)
5939 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
5940 (tramp-imap-handle-delete-file): Add TRASH arg.
5942 * net/tramp-smb.el (tramp-smb-handle-copy-file):
5943 Add PRESERVE-SELINUX-CONTEXT.
5944 (tramp-smb-handle-copy-file)
5945 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5946 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
5947 Use `with-progress-reporter'.
5948 (tramp-smb-handle-delete-file): Add TRASH arg.
5950 * net/tramp.el (tramp-methods): Move hostname to the end in all
5951 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
5953 (tramp-verbose): Describe verbose level 9.
5954 (tramp-completion-function-alist)
5955 (tramp-file-name-regexp, tramp-chunksize)
5956 (tramp-local-coding-commands, tramp-remote-coding-commands)
5957 (with-connection-property, tramp-completion-mode-p)
5958 (tramp-action-process-alive, tramp-action-out-of-band)
5959 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
5960 (tramp-exists-file-name-handler): Fix docstring.
5961 (tramp-remote-process-environment): Use `format' instead of
5962 `concat'. Protect version string by apostroph.
5963 (tramp-shell-prompt-pattern): Do not use a shy group in case of
5965 (tramp-file-name-regexp-unified)
5966 (tramp-completion-file-name-regexp-unified): On W32 systems, do
5967 not regard the volume letter as remote filename. (Bug#5447)
5968 (tramp-perl-file-attributes)
5969 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
5970 (tramp-vc-registered-read-file-names): Read input as
5971 here-document, otherwise the command could exceed maximum length
5973 (tramp-file-name-handler-alist): Add `file-selinux-context' and
5974 `set-file-selinux-context'.
5975 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
5976 backtrace functions.
5977 (tramp-error-with-buffer): Don't show the connection buffer when
5978 we are in completion mode.
5979 (tramp-progress-reporter-update, tramp-remote-selinux-p)
5980 (tramp-handle-file-selinux-context)
5981 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
5982 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
5984 (with-progress-reporter): New defmacro.
5985 (tramp-debug-outline-regexp): New defconst.
5986 (top, tramp-rfn-eshadow-setup-minibuffer)
5987 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
5988 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
5989 (tramp-completion-mode-p, tramp-check-for-regexp)
5990 (tramp-open-connection-setup-interactive-shell)
5991 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
5992 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
5993 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
5994 Use `tramp-compat-funcall'.
5995 (tramp-handle-make-symbolic-link): Flush file properties.
5996 (tramp-handle-load, tramp-handle-file-local-copy)
5997 (tramp-handle-insert-file-contents, tramp-handle-write-region)
5998 (tramp-handle-vc-registered, tramp-maybe-send-script)
5999 (tramp-find-shell): Use `with-progress-reporter'.
6000 (tramp-do-file-attributes-with-stat): Add space in format string,
6001 in order to work around a bug in pdksh. Reported by Gilles Pion
6003 (tramp-handle-verify-visited-file-modtime): Do not send a command
6004 when the connection is not established.
6005 (tramp-handle-set-file-times): Simplify the check for utc.
6006 (tramp-handle-directory-files-and-attributes)
6007 (tramp-get-remote-path): Use `copy-tree'.
6008 (tramp-completion-handle-file-name-all-completions): Ensure, that
6009 non remote files are still checked. Oops.
6010 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
6011 Handle PRESERVE-SELINUX-CONTEXT.
6012 (tramp-do-copy-or-rename-file): Add progress reporter.
6013 (tramp-do-copy-or-rename-file-directly): Do not use
6014 `tramp-handle-file-remote-p'.
6015 (tramp-do-copy-or-rename-file-out-of-band):
6016 Use `tramp-compat-delete-directory'.
6017 (tramp-do-copy-or-rename-file-out-of-band)
6018 (tramp-compute-multi-hops, tramp-maybe-open-connection):
6019 Use `format-spec-make'.
6020 (tramp-handle-delete-file): Add TRASH arg.
6021 (tramp-handle-dired-uncache): Flush directory cache, not only file
6023 (tramp-handle-expand-file-name)
6024 (tramp-completion-handle-file-name-all-completions)
6025 (tramp-completion-handle-file-name-completion):
6026 Use `tramp-connectable-p'.
6027 (tramp-handle-start-file-process): Set connection property "vec".
6028 Use it, in order to invalidate file caches. Check only for
6029 `remote-tty' process property.
6030 Implement tty setting. (Bug#4604, Bug#6360)
6031 (tramp-file-name-for-operation): Add `call-process-region' and
6032 `set-file-selinux-context'.
6033 (tramp-find-foreign-file-name-handler)
6034 (tramp-advice-make-auto-save-file-name)
6035 (tramp-set-auto-save-file-modes): Remove superfluous check for
6036 `stringp'. This is done inside `tramp-tramp-file-p'.
6037 (tramp-file-name-handler): Trace 'quit. Catch the error for some
6038 operations when we are in completion mode. This gives the user
6039 the chance to correct the file name in the minibuffer.
6040 (tramp-completion-mode-p): Use `non-essential'.
6041 (tramp-handle-file-name-all-completions): Backward/ XEmacs
6042 compatibility: Use `completion-ignore-case' if
6043 `read-file-name-completion-ignore-case' does not exist.
6044 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
6045 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6047 (tramp-action-password): Hide password prompt before next run.
6048 (tramp-process-actions): Widen connection buffer for the trace.
6049 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6050 process property. Trace stty settings if `tramp-verbose' >= 9.
6051 Apply workaround for IRIX64 bug. Move argument of last
6052 `tramp-send-command' where it belongs to.
6053 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6054 front of `login-args'.
6055 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
6056 on "/dev/null" instead of "/".
6057 (tramp-get-ls-command-with-dired): Make test for "--dired"
6059 (tramp-set-auto-save-file-modes): Adapt version check.
6060 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6061 (tramp-handle-process-file): Call the program in a subshell, in
6062 order to preserve working directory.
6063 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
6064 `tramp-remote-sh' from `tramp-methods'.
6065 (tramp-get-ls-command): Make test for "--color=never" stronger.
6066 (tramp-check-for-regexp): Use (forward-line 1).
6068 * net/trampver.el: Update release number.
6070 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6072 * help.el (help-map): Bind `C-h P' to describe-package.
6074 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
6076 * emacs-lisp/package.el (package-refresh-contents): Catch errors
6077 when downloading archives.
6078 (describe-package-1): Add package commentary.
6079 (package-install-button-action): New function.
6080 (package-menu-mode-map): Bind ? to package-menu-describe-package.
6081 (package-menu-view-commentary): Function removed.
6082 (package-list-packages-internal): Hide the `package' package too.
6084 2010-08-25 Kenichi Handa <handa@m17n.org>
6086 * language/misc-lang.el ("Arabic"): New language environment.
6087 Setup composition-function-table for Arabic characters.
6089 * international/fontset.el (setup-default-fontset): Fix typo for
6090 arabic OTF spec (fini->fina).
6092 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
6094 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
6097 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6099 * whitespace.el: Allow cleaning up blanks without blank
6100 visualization (Bug#6651). Adjust help window for
6101 whitespace-toggle-options (Bug#6479). Allow to use fill-column
6102 instead of whitespace-line-column (from EmacsWiki). New version
6104 (whitespace-style): Add new value 'face. Adjust docstring.
6105 (whitespace-space, whitespace-hspace, whitespace-tab):
6106 Adjust foreground property face.
6107 (whitespace-line-column): Adjust docstring and type declaration.
6108 (whitespace-style-value-list, whitespace-toggle-option-alist)
6109 (whitespace-help-text): Adjust const initialization.
6110 (whitespace-toggle-options, global-whitespace-toggle-options):
6112 (whitespace-display-window, whitespace-interactive-char)
6113 (whitespace-style-face-p, whitespace-color-on): Adjust code.
6114 (whitespace-help-scroll): New fun.
6116 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6118 * emacs-lisp/package.el (list-packages): Alias for
6119 package-list-packages.
6121 2010-08-24 Kevin Ryde <user42@zip.com.au>
6123 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
6126 * progmodes/ruby-mode.el (ruby): Add defgroup.
6128 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6130 * progmodes/python.el: Add Ipython support (Bug#5390).
6131 (python-shell-prompt-alist)
6132 (python-shell-continuation-prompt-alist): New options.
6133 (python--set-prompt-regexp): New function.
6134 (inferior-python-mode, run-python, python-shell):
6135 Require ansi-color. Use python--set-prompt-regexp to set the comint
6136 prompt based on the Python interpreter.
6137 (python--prompt-regexp): New var.
6138 (python-check-comint-prompt)
6139 (python-comint-output-filter-function): Use it.
6140 (run-python): Use a pipe (Bug#5694).
6142 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
6144 * progmodes/python.el (python-send-region): Send a different
6145 Python command if Ipython is in use.
6146 (python-check-version): Use a Python command to find the version.
6148 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6150 * mouse.el (mouse-yank-primary): Avoid setting primary when
6151 deactivating the mark (Bug#6872).
6153 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
6155 * progmodes/python.el (python-block-pairs): Allow use of "finally"
6156 with "else" (Bug#3991).
6158 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
6160 * net/dbus.el: Accept UNIX domain sockets as bus address.
6161 (top): Don't initialize `dbus-registered-objects-table' anymore,
6162 this is done in dbusbind,c.
6163 (dbus-check-event): Adapt test for bus.
6164 (dbus-return-values-table, dbus-unregister-service)
6165 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
6168 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
6170 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
6172 2010-08-22 Juri Linkov <juri@jurta.org>
6174 * simple.el (read-extended-command): New function with the logic
6175 for `completing-read' moved to Elisp from `execute-extended-command'.
6176 Use `function-called-at-point' in `minibuffer-default-add-function'
6177 to get a command name for M-n (bug#5364, bug#5214).
6179 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6181 * startup.el (command-line-1): Issue warning for ignored arguments
6182 --unibyte, etc (Bug#6886).
6184 2010-08-22 Leo <sdl.web@gmail.com>
6186 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
6187 (ignore, bright, dim, keyword): Split list of nicknames before
6188 passing to rcirc-add-or-remove (Bug#6894).
6190 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6192 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
6194 2010-08-22 Leo <sdl.web@gmail.com>
6196 Fix buffer-list rename&refresh after killing a buffer in ido.
6197 * ido.el: Revert Óscar's.
6198 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
6199 Remember the buffers at head, rather than their name.
6200 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
6202 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
6203 Stefan Monnier <monnier@iro.umontreal.ca>
6205 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
6206 extra backslash added to each line (bug#6890).
6208 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6210 * subr.el (read-key): Don't echo keystrokes (bug#6883).
6212 2010-08-22 Glenn Morris <rgm@gnu.org>
6214 * menu-bar.el (menu-bar-games-menu): Add landmark.
6216 2010-08-22 Glenn Morris <rgm@gnu.org>
6218 * align.el (align-regexp): Make group and spacing arguments
6219 use the interactive defaults when non-interactive. (Bug#6698)
6221 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
6222 expansion, so as not to need sendmail.
6223 (mail-text-start): Remove declaration.
6224 (rmail-retry-failure): Require sendmail.
6226 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6228 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
6230 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
6232 * progmodes/flymake.el (flymake-start-syntax-check-process):
6233 Use `start-file-process' in order to let it run also on remote hosts.
6235 2010-08-22 Kenichi Handa <handa@m17n.org>
6237 * files.el: Add `word-wrap' as safe local variable.
6239 2010-08-22 Glenn Morris <rgm@gnu.org>
6241 * woman.el (woman-translate): Case matters. (Bug#6849)
6243 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6245 * simple.el (kill-region): Doc fix (Bug#6787).
6247 2010-08-22 Glenn Morris <rgm@gnu.org>
6249 * calendar/diary-lib.el (diary-header-line-format):
6250 Fit it to the window, not the frame.
6252 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
6254 * subr.el (ignore-errors): Add debug declaration.
6256 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
6258 * whitespace.el (whitespace-color-off): Remove post-command-hook
6261 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6263 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
6265 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
6267 * cus-edit.el (custom-group-value-create): Add extra newline
6268 before end line (Bug#6876).
6270 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
6272 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
6273 when extending it. Before killing on the second click, check if
6274 the buffer is the correct one. Doc fix.
6275 (mouse-secondary-save-then-kill): Allow usage without first
6276 calling mouse-start-secondary, by defaulting to point. Don't save
6277 an empty secondary selection. Doc fix.
6279 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6281 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
6282 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
6284 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
6285 Adjust initialization.
6286 (whitespace-bob-marker, whitespace-eob-marker)
6287 (whitespace-buffer-changed): New vars.
6288 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
6289 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
6290 (whitespace-post-command-hook, whitespace-display-char-on):
6292 (whitespace-looking-back, whitespace-buffer-changed): New funs.
6293 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
6295 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
6297 * files.el (locate-file-completion-table): Only list the .el and .elc
6298 extensions if there's no other choice (bug#5955).
6300 * facemenu.el (facemenu-self-insert-data): New var.
6301 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
6303 (facemenu-add-face): Use them.
6305 * simple.el (blink-matching-open): Obey forward-sexp-function.
6307 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
6309 * simple.el (prog-mode-map): New var.
6310 (prog-indent-sexp): New command.
6312 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
6314 * progmodes/prolog.el (smie): Require.
6316 * emacs-lisp/smie.el (smie-default-backward-token)
6317 (smie-default-forward-token): Strip properties.
6318 (smie-next-sexp): Be more careful with associative operators.
6319 (smie-forward-sexp-command): Generalize.
6320 (smie-backward-sexp-command): Simplify.
6321 (smie-closer-alist): New var.
6322 (smie-close-block): New command.
6323 (smie-indent-debug-log): New var.
6324 (smie-indent-offset-rule): Add a few more cases.
6325 (smie-indent-column): New function.
6326 (smie-indent-after-keyword): Use it.
6327 (smie-indent-keyword): Use it.
6328 Fix up the opener code's point position.
6329 (smie-indent-comment): Only applies at BOL.
6330 (smie-indent-debug): New command.
6332 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
6333 declarations that are useful before running the macro.
6335 2010-08-18 Joakim Verona <joakim@verona.se>
6337 * image.el (imagemagick-types-inhibit): New variable.
6338 (imagemagick-register-types): New function.
6339 * image-mode.el (image-transform-properties): New function.
6340 (image-transform-set-scale, image-transform-fit-to-height)
6341 (image-transform-set-rotation, image-transform-set-resize)
6342 (image-transform-fit-to-width, image-transform-fit-to-height):
6344 (image-toggle-display-image): Support image transforms.
6346 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
6348 * image.el (create-animated-image): Don't add heuristic mask to image
6351 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
6353 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
6354 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
6356 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
6358 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
6360 Font-lock '...' strings, plus various simplifications and fixes.
6361 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6362 (octave-font-lock-close-quotes): New function.
6363 (octave-font-lock-syntactic-keywords): New var.
6364 (octave-mode): Use it. Set beginning-of-defun-function.
6365 (octave-mode-map): Don't override the <foo>-defun commands.
6366 (octave-mode-menu): Pass it directly to easy-menu-define;
6367 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
6368 (octave-block-match-alist): Fix up last change so that
6369 octave-close-block uses the more specific keyword.
6370 (info-lookup-mode): Silence byte-compiler.
6371 (octave-beginning-of-defun): Not interactive any more.
6373 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
6374 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
6375 (octave-completion-at-point-function): Make sure point is within
6377 (octave-reindent-then-newline-and-indent):
6378 Use reindent-then-newline-and-indent.
6379 (octave-add-octave-menu): Remove.
6381 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
6383 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
6384 (report-emacs-bug-can-use-xdg-email): New functions.
6385 (report-emacs-bug): Set can-xdg-email to result of
6386 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
6387 \C-cm to report-emacs-bug-insert-to-mailer and add help text
6390 * net/browse-url.el (browse-url-default-browser): Add cond
6391 for browse-url-xdg-open.
6392 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
6394 2010-08-17 Glenn Morris <rgm@gnu.org>
6396 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
6397 (c-fontify-recorded-types-and-refs): Define for compiler.
6398 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
6401 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
6404 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
6406 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
6408 (tramp-handle-process-file): Call the program in a subshell, in
6409 order to preserve working directory.
6410 (tramp-action-password): Hide password prompt before next run.
6411 (tramp-process-actions): Widen connection buffer for the trace.
6413 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6415 * net/rcirc.el (rcirc-log-process-buffers): New option.
6416 (rcirc-print): Use it.
6417 (rcirc-generate-log-filename): New function.
6418 (rcirc-log-filename-function): Change default to
6419 rcirc-generate-log-filename (Bug#6828).
6421 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
6423 * simple.el (deactivate-mark): If select-active-regions is `only',
6424 only set selection for temporarily active regions.
6426 * cus-start.el: Change defcustom for select-active-regions.
6428 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
6430 * mouse.el (mouse--drag-set-mark-and-point): New function.
6431 (mouse-drag-track): Use LOCATION arg to push-mark.
6432 Use mouse--drag-set-mark-and-point to take click-count into
6433 consideration when updating point and mark (Bug#6840).
6435 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
6437 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6438 Give the Ruby rule a lower priority than Gnu (Bug#6778).
6440 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
6442 * font-lock.el (lisp-font-lock-keywords-2):
6443 Add combine-after-change-calls, condition-case-no-debug,
6444 with-demoted-errors, and with-silent-modifications (Bug#6025).
6446 2010-08-14 Kevin Ryde <user42@zip.com.au>
6448 * emacs-lisp/copyright.el (copyright-update-year)
6449 (copyright-update): Temporary switch-to-buffer to ensure the
6450 buffer change being queried is visible (Bug#5394).
6452 2010-08-14 Tom Tromey <tromey@redhat.com>
6454 * progmodes/etags.el (tags-file-name): Mark safe if stringp
6457 2010-08-14 Eli Zaretskii <eliz@gnu.org>
6459 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
6462 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
6464 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
6465 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6466 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6467 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
6468 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
6469 Call menu-bar-set-tool-bar-position.
6471 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6473 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
6474 comment style (bug#6834).
6475 * progmodes/scheme.el (scheme-mode-syntax-table):
6476 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
6477 "b" flag in "' 14b" syntax.
6479 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
6480 for (un)commenting the region and performing completion.
6481 (octave-mode-menu): Use standard commands for help and completion.
6482 (octave-mode-syntax-table): Support %{..%} comments (sort of).
6483 (octave-mode): Use define-derived-mode.
6484 Set completion-at-point-functions and don't set columns.
6485 Don't disable adaptive-fill-regexp.
6486 (octave-describe-major-mode, octave-comment-region)
6487 (octave-uncomment-region, octave-comment-indent)
6488 (octave-indent-for-comment): Remove.
6489 (octave-indent-calculate): Rename from calculate-octave-indent.
6490 (octave-indent-line, octave-fill-paragraph): Update caller.
6491 (octave-initialize-completions): No need to make an alist.
6492 (octave-completion-at-point-function): New function.
6493 (octave-complete-symbol): Use it.
6494 (octave-insert-defun): Use define-skeleton.
6496 * progmodes/octave-mod.el (octave-mode): Set comment-add.
6497 (octave-mode-map): Use comment-dwim (bug#6829).
6499 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
6501 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
6502 indentation of inserted comment.
6504 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
6506 * faces.el (region): Add type gtk that uses gtk colors.
6508 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
6509 Handle theme-name change.
6511 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
6513 * progmodes/sql.el: Version 2.5
6514 (sql-product-alist): Add :prompt-cont-regexp property for several
6516 (sql-prompt-cont-regexp): New variable.
6517 (sql-output-newline-count, sql-output-by-send):
6518 New variables. Record number of newlines in input text.
6519 (sql-send-string): Handle multiple filters and count newlines.
6520 (sql-send-magic-terminator): Count terminator newline.
6521 (sql-interactive-remove-continuation-prompt): Filters output to
6522 remove continuation prompts; one for each newline.
6523 (sql-interactive-mode): Set up new variables, prompt regexp and
6525 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
6526 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
6528 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6530 * emacs-lisp/pcase.el: New file.
6532 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
6534 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
6535 as here-document, otherwise the command could exceed maximum
6536 length of command line.
6537 (tramp-handle-vc-registered): Call script accordingly.
6538 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
6540 2010-08-10 Kenichi Handa <handa@m17n.org>
6542 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
6545 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
6547 * emacs-lisp/package.el (package-version-split)
6548 (package--version-first-nonzero, package-version-compare):
6550 (package-directory-list, package-load-all-descriptors)
6551 (package--built-in, package-activate, define-package)
6552 (package-installed-p, package-compute-transaction)
6553 (package-read-all-archive-contents)
6554 (package--add-to-archive-contents, package-buffer-info)
6555 (package-tar-file-info, package-list-packages-internal):
6556 Use version-to-list and version-list-*.
6558 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6559 Use version-to-list.
6560 (package-upload-buffer-internal): Use version-list-<=.
6562 2010-08-09 Kenichi Handa <handa@m17n.org>
6564 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
6567 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
6569 * tutorial.el (tutorial--default-keys): C-d is now bound to
6570 delete-forward-char (Bug#6826).
6572 * mouse.el (mouse-drag-track): Remove accidentally-removed check
6573 for `double' value of mouse-1-click-follows-link (Bug#6807).
6575 2010-08-08 Johan Bockgård <bojohan@gnu.org>
6577 * replace.el (replace-highlight): Bind isearch-forward and
6578 isearch-error, ensuring that highlighting is updated if the user
6579 switches the search direction (Bug#6808).
6581 * isearch.el (isearch-lazy-highlight-forward): New var.
6582 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6583 (isearch-lazy-highlight-update): Use it.
6585 2010-08-08 Kenichi Handa <handa@m17n.org>
6587 * international/mule.el (define-charset): Store NAME as :base property.
6588 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
6589 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
6590 current priority. Force using the designation of the specific
6591 charset by adding `charset' text property. Improve the whole algorithm.
6593 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6595 * emulation/pc-select.el (pc-selection-mode-hook)
6596 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
6597 (pc-selection-mode): Fix typos in docstrings.
6599 2010-08-08 Kenichi Handa <handa@m17n.org>
6601 * language/cyrillic.el: Don't add "microsoft-cp1251" to
6602 ctext-non-standard-encodings-alist here.
6604 * international/mule.el (ctext-non-standard-encodings-alist):
6605 Add "koi8-r" and "microsoft-cp1251".
6606 (ctext-standard-encodings): New variable.
6607 (ctext-non-standard-encodings-table): List only elements for
6608 non-standard encodings.
6609 (ctext-pre-write-conversion): Adjust for the above change.
6610 Check ctext-standard-encodings.
6612 * international/mule-conf.el (compound-text): Doc fix.
6613 (ctext-no-compositions): Doc fix.
6614 (compound-text-with-extensions): Doc fix.
6616 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6618 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
6620 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6622 * progmodes/which-func.el (which-func-format): Split help-echo text
6623 into lines, like other mode-line tooltips.
6625 * server.el (server-start): When using TCP sockets, force IPv4
6626 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
6628 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6630 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
6632 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6634 * term.el (term-delimiter-argument-list): Reflow docstring.
6635 (term-read-input-ring, term-write-input-ring, term-send-input)
6636 (term-bol, term-erase-in-display, serial-supported-or-barf):
6637 Fix typos in docstrings.
6639 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6641 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
6643 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6645 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
6647 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
6649 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
6650 Fix typo in docstring (bug#6747).
6652 2010-08-08 Leo <sdl.web@gmail.com>
6654 * eshell/esh-io.el (eshell-get-target): Better detection of
6655 read-only file (Bug#6762).
6657 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6659 * align.el (align-default-spacing): Doc fix.
6660 (align-region-heuristic, align-regexp): Fix typos in docstrings.
6662 2010-08-08 Stephen Peters <speters@itasoftware.com>
6664 * calendar/icalendar.el
6665 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
6666 (icalendar--get-weekday-numbers): New.
6667 (icalendar--convert-recurring-to-diary): Handle multiple byday
6668 values in weekly rules. (Bug#6766)
6670 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
6672 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
6673 (icalendar--create-uid, icalendar-export-region)
6674 (icalendar--parse-summary-and-rest): Code formatting.
6676 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
6678 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
6679 to italicize headers.
6680 (calc-highlight-selections-with-faces): New variable.
6681 (calc-selected-face, calc-nonselected-face): New faces.
6683 * calc/calccomp.el (math-comp-highlight-string): Use
6684 `calc-highlight-selections-with-faces' to determine how to highlight
6687 * calc/calc-sel.el (calc-show-selections): Change message to when
6688 using faces to highlight selections.
6690 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
6692 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
6693 Add SQLite 3 keywords, functions and datatypes.
6694 (sql-interactive-mode): Remove `comint-process-echoes' set to t
6697 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
6699 * simple.el (select-active-regions): Move to keyboard.c.
6700 (deactivate-mark): Used saved-region-selection.
6701 (select-active-region): Function removed.
6702 (activate-mark, set-mark, push-mark-command)
6703 (handle-shift-selection): Don't call it.
6704 (keyboard-quit): Avoid adding the region to the window selection.
6706 * mouse.el (mouse-drag-track): Remove hacks to deal with old
6707 select-active-regions implementation.
6708 (mouse-yank-at-click): Doc fix.
6710 * cus-start.el: Add custom declaration for select-active-regions.
6712 2010-08-07 Eli Zaretskii <eliz@gnu.org>
6714 * simple.el (delete-forward-char): Doc fix.
6716 * tutorial.el (help-with-tutorial): Hack safe file-local variables
6717 after reading the tutorial.
6719 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
6721 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
6722 Fix for the case that a C style comment has its delimiters alone on
6723 their respective lines.
6725 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
6727 * net/tramp.el (tramp-handle-start-file-process): Set connection
6729 (tramp-process-sentinel): Use it for flushing the cache.
6730 We cannot do it via the process buffer, the buffer could be deleted
6731 already when running the sentinel.
6733 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
6735 * comint.el (comint-mode): Make directory tracking functions
6736 functional on remote files. (Bug#6764)
6738 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
6740 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
6742 2010-08-05 Eli Zaretskii <eliz@gnu.org>
6744 * emacs-lisp/find-gc.el (find-gc-source-files):
6745 Rename unexec.c => unexcoff.c.
6747 * emacs-lisp/authors.el (authors-fixed-entries):
6748 Rename unexec.c => unexcoff.c.
6750 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
6752 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
6753 cache, not only file cache.
6754 (tramp-process-sentinel): New defun.
6755 (tramp-handle-start-file-process): Use it, in order to invalidate
6758 2010-08-03 Leo <sdl.web@gmail.com>
6760 * server.el (server-start): Simplify loop.
6762 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6764 * frame.el (screen-height, screen-width, set-screen-width)
6765 (set-screen-height): Remove ancient compatibility aliases.
6767 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
6768 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
6770 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
6771 that change current buffer.
6773 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6775 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
6776 beginning of the string. Use `string-match-p'. (Bug#6765)
6778 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
6780 * cus-start.el (x-gtk-use-system-tooltips): New variable.
6782 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
6784 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
6785 (package--builtins): Tweak descriptions.
6786 (package-print-package): Upcase descriptions if necessary.
6787 Show all built-in packages in font-lock-builtin-face.
6788 (package-list-packages-internal): Omit "emacs" package.
6789 Show status of built-in packages as "built-in".
6791 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
6793 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
6794 before killing to preserve the primary selection (Bug#6701).
6796 * term/x-win.el (x-select-text): Doc fix.
6798 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
6800 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
6801 (objc-font-lock-extra-types):
6802 * progmodes/cc-mode.el (c-basic-common-init):
6803 * progmodes/cc-langs.el (c-make-mode-syntax-table)
6804 (c++-make-template-syntax-table)
6805 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
6806 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
6807 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
6808 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
6809 * progmodes/cc-fonts.el (c-make-inverse-face)
6810 (c-basic-matchers-after):
6811 * progmodes/cc-engine.el (c-forward-keyword-clause)
6812 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
6813 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
6814 (c-guess-continued-construct, c-guess-basic-syntax):
6815 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
6816 The above functions were modified or created.
6818 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
6820 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
6822 2010-07-31 Eli Zaretskii <eliz@gnu.org>
6824 * files.el (bidi-paragraph-direction): Define safe local values.
6826 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
6827 language-info-alist. Remove outdated FIXME in a comment.
6829 2010-07-31 Alan Mackenzie <acm@muc.de>
6831 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
6832 Auto-fill broken in C/C++ modes.
6834 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
6836 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6837 (menu-bar-showhide-tool-bar-menu-customize-disable)
6838 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6839 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
6840 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
6841 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
6842 make a menu for Options => toolbar that can move it.
6844 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
6846 * emacs-lisp/package-x.el (package--make-rss-entry):
6847 (package-maint-add-news-item, package--update-news)
6848 (package-upload-buffer-internal): New arg ARCHIVE-URL.
6850 * emacs-lisp/package.el (package-archive-url): Rename from
6852 (package-install): Doc fix.
6853 (package-download-single, package-download-tar, package-install)
6854 (package-menu-view-commentary): Callers changed.
6856 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
6858 * net/tramp.el (tramp-handle-start-file-process): Check only for
6859 `remote-tty' process property.
6860 (tramp-open-shell): Don't check for tty.
6861 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6864 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
6867 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
6869 * emacs-lisp/package.el (package-load-list, package-archives)
6870 (package-archive-contents, package-user-dir)
6871 (package-directory-list, package--builtins, package-alist)
6872 (package-activated-list, package-obsolete-alist): Mark as risky.
6874 2010-07-28 Phil Hagelberg <phil@evri.com>
6876 Add support for non-default package repositories.
6877 * emacs-lisp/package.el (package-archive-base): Var deleted.
6878 (package-archives): New variable.
6879 (package-archive-contents): Doc fix.
6880 (package-load-descriptor): Do nothing if descriptor file is missing.
6881 (package--write-file-no-coding): New function.
6882 (package-unpack-single): Use it.
6883 (package-archive-id): New function.
6884 (package-download-single, package-download-tar)
6885 (package-menu-view-commentary): Use it.
6886 (package-installed-p): Make second argument optional.
6887 (package-read-all-archive-contents): New function.
6888 (package-initialize): Use it.
6889 (package-read-archive-contents): Add ARCHIVE argument.
6890 (package--add-to-archive-contents): New function.
6891 (package-install): Don't call package-read-archive-contents.
6892 (package--download-one-archive): Store archive file in a
6893 subdirectory of package-user-dir.
6894 (package-menu-execute): Remove spurious line movement.
6896 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
6898 * cus-start.el (tool-bar-style): Add text-image-horiz.
6900 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
6902 * progmodes/gud.el (gud-common-init): Check for remoteness of
6903 `file', and not of `default-directory'.
6905 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
6907 * net/tramp.el (tramp-methods): Move hostname to the end in all
6908 ssh `tramp-login-args'.
6909 (tramp-verbose): Describe verbose level 9.
6910 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
6911 (tramp-open-connection-setup-interactive-shell): Trace stty
6912 settings if `tramp-verbose' >= 9.
6913 (tramp-handle-start-file-process): Implement tty setting.
6914 (Bug#4604, Bug#6360)
6916 * net/tramp-cmds.el (tramp-bug): Recommend setting of
6917 `tramp-verbose' to 9.
6919 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
6921 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
6922 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
6923 Remove references to package `lisp-re' (bug#4369).
6925 2010-07-27 Tom Tromey <tromey@redhat.com>
6927 * progmodes/js.el (js-mode):
6928 * progmodes/make-mode.el (makefile-mode):
6929 * progmodes/simula.el (simula-mode):
6930 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
6932 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
6934 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
6936 * time.el (display-time-day-and-date): Remove spurious * in docstring.
6937 (display-time-world-buffer-name, display-time-world-mode-map):
6938 Fix typos in docstrings.
6940 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
6942 * image-mode.el (image-display-size): New function.
6943 (image-forward-hscroll, image-next-line, image-eol, image-eob)
6944 (image-mode-fit-frame): Use it (Bug#6639).
6946 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
6948 * dired.el (dired-buffers-for-dir): Handle list values of
6949 dired-directory (Bug#6636).
6951 2010-07-26 Sam Steingold <sds@gnu.org>
6953 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
6954 Do not call `x-get-selection' the second time, reuse the value.
6956 2010-07-26 Daiki Ueno <ueno@unixuser.org>
6958 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
6959 which consist of control chars only. Suggested by Richard Stallman.
6961 2010-07-25 Daiki Ueno <ueno@unixuser.org>
6963 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
6964 exists before passing an error to find-file-not-found-functions
6967 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
6969 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
6970 Remove leading nil element, adjust values.
6971 (tetris-shapes, tetris-shape-scores):
6972 Change representation of shapes and remove some redundancy.
6973 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
6974 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
6975 Adjust for working with new representation of shapes.
6976 (tetris-shape-rotations): New function.
6977 (tetris-move-bottom, tetris-move-left, tetris-move-right)
6978 (tetris-rotate-prev, tetris-rotate-next):
6979 Adjust for working with the new version of tetris-test-shape.
6981 2010-07-23 Markus Triska <markus.triska@gmx.at>
6983 * progmodes/ps-mode.el: Use comint (bug#5954).
6984 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
6985 (ps-mode-other-newline): Simplify.
6986 (ps-run-mode): Derive from comint-mode instead of
6987 fundamental-mode, yielding input history etc.
6988 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
6989 (ps-run-send-string): Adapt for comint-mode.
6990 (ps-run-newline): Remove now unneeded function.
6992 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6994 * net/tramp.el (tramp-methods): Move hostname to the end in all
6995 plink `tramp-login-args'.
6997 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6999 * net/tramp.el (tramp-open-shell): New defun.
7000 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7003 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7005 * net/tramp.el (tramp-file-name-regexp-unified)
7006 (tramp-completion-file-name-regexp-unified): On W32 systems, do
7007 not regard the volume letter as remote filename. (Bug#5447)
7009 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
7011 * custom.el (custom-declare-variable): Give a clearer error message
7012 when the docstring is missing (bug#6476).
7014 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
7016 * progmodes/sql.el: Version 2.4. Improved Login prompting.
7017 (sql-login-params): New widget definition.
7018 (sql-oracle-login-params, sql-mysql-login-params)
7019 (sql-solid-login-params, sql-sybase-login-params)
7020 (sql-informix-login-params, sql-ingres-login-params)
7021 (sql-ms-login-params, sql-postgres-login-params)
7022 (sql-interbase-login-params, sql-db2-login-params)
7023 (sql-linter-login-params): Use it.
7024 (sql-sqlite-login-params): Use it; Define "database" parameter as
7026 (sql-sqlite-program): Change to "sqlite3".
7027 (sql-comint-sqlite): Make sure database name is complete.
7028 (sql-for-each-login): New function.
7029 (sql-connect, sql-save-connection): Use it.
7030 (sql-get-login-ext): New function.
7031 (sql-get-login): Use it.
7032 (sql-make-alternate-buffer-name): Handle :file parameters.
7034 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
7036 * dired.el (dired-no-confirm): Document value t and fix defcustom to
7037 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
7039 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
7041 * dired.el (dired-mode-map): Use command remapping (bug#6632).
7043 2010-07-22 Lawrence Mitchell <wence@gmx.li>
7045 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
7047 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
7049 * net/tramp.el (tramp-get-ls-command)
7050 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
7053 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
7055 * progmodes/sql.el: Version 2.3.
7056 (sql-connection-alist): Change keys from symbols to strings;
7057 enhanced the widget definition.
7058 (sql-mode-menu): Add submenu to select connections.
7059 (sql-interactive-mode-menu): Add "Save Connection" item.
7060 (sql-add-product): Fix menu item.
7061 (sql-get-product-feature): Improved error handling.
7062 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
7063 (sql-make-alternate-buffer-name): Simplified.
7064 (sql-product-interactive): Handle missing product.
7065 (sql-connect): Support string keys, minor improvements.
7066 (sql-save-connection): New function.
7067 (sql-connection-menu-filter): New function.
7069 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
7071 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
7072 (tramp-open-connection-setup-interactive-shell):
7073 Apply workaround for IRIX64 bug. Move argument of last
7074 `tramp-send-command' where it belongs to.
7076 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
7078 * net/tramp.el (tramp-perl-file-attributes)
7079 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
7080 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
7081 front of `login-args'.
7083 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
7085 * time.el (display-time-world-mode): Define with `define-derived-mode'.
7086 Set `show-trailing-whitespace' to nil.
7087 (display-time-world-display): Simplify.
7089 2010-07-18 Alan Mackenzie <acm@muc.de>
7091 Enhance `c-file-style' in file/directory local variables.
7092 * progmodes/cc-mode.el (c-count-cfss): New function.
7093 (c-before-hack-hook): Call `c-set-style' differently according to
7094 whether c-file-style was set in file or directory local
7097 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
7099 * progmodes/sql.el: Version 2.2.
7100 (sql-product, sql-user, sql-database, sql-server, sql-port):
7101 Use defcustom :safe keyword rather than putting safe-local-variable
7103 (sql-password): Use defcustom :risky keyword rather than putting
7104 risky-local-variable property.
7105 (sql-oracle-login-params, sql-sqlite-login-params)
7106 (sql-solid-login-params, sql-sybase-login-params)
7107 (sql-informix-login-params, sql-ingres-login-params)
7108 (sql-ms-login-params, sql-postgres-login-params)
7109 (sql-interbase-login-params, sql-db2-login-params)
7110 (sql-linter-login-params): Add `port' option.
7111 (sql-get-product-feature): Add NO-INDIRECT parameter.
7112 (sql-comint-oracle, sql-comint-sybase)
7113 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
7114 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
7115 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
7116 (sql-comint-linter): Rename sql-connect-* functions to
7118 (sql-product-alist, sql-mode-menu): Rename as above and
7119 :sqli-connect-func to :sqli-comint-func.
7120 (sql-connection): New variable.
7121 (sql-interactive-mode): Set it.
7122 (sql-connection-alist): New variable.
7123 (sql-connect): New function.
7124 (sql--alt-buffer-part, sql--alt-if-not-empty)
7125 (sql-make-alternate-buffer-name): Improved alternative buffer name.
7127 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7129 * image-mode.el (image-bookmark-make-record): Do not set context
7130 in an image (Bug#6650).
7132 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
7134 * simple.el (select-active-region): New function.
7135 (push-mark-command, set-mark, activate-mark)
7136 (handle-shift-selection): Use it.
7137 (deactivate-mark): Don't check for size of region.
7139 * mouse.el (mouse-drag-track): Use select-active-region.
7141 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
7143 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
7146 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
7148 * term/x-win.el (x-select-enable-primary): Change default to nil.
7149 (x-select-enable-clipboard): Add :version keyword.
7151 * mouse.el (mouse-drag-copy-region):
7152 * simple.el (select-active-regions): Likewise.
7154 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
7156 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
7157 (vc-coding-system-for-diff): Use it to decide whether to inherit
7158 from the file the EOL format for reading the diffs of that file.
7161 2010-07-16 Eli Zaretskii <eliz@gnu.org>
7163 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
7164 unibyte, so compressed attachments are not compressed again.
7166 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
7168 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
7169 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
7170 (tramp-find-shell): Simplify setting connection property.
7171 (tramp-get-ls-command): Make test for "--color=never" stronger.
7173 2010-07-15 Simon South <ssouth@member.fsf.org>
7175 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
7176 blocks within record declarations (i.e. variant parts) correctly.
7178 2010-07-15 Simon South <ssouth@member.fsf.org>
7180 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
7181 over literal tokens when parsing so newlines aren't "absorbed" by
7182 single-line comments. Corrects the indentation of case blocks
7183 that have a comment on the first line.
7185 2010-07-14 Karl Fogel <kfogel@red-bean.com>
7187 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
7188 by Drew Adams (Bug#5504).
7190 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
7192 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
7193 now that Unicode is used (Bug#6594).
7195 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
7197 * term/x-win.el (x-select-enable-clipboard): Default to t.
7198 (x-initialize-window-system): Don't overwrite Paste menu item.
7200 * simple.el (select-active-regions): Default to t.
7201 (push-mark-command): Don't overwrite primary with empty string.
7203 * mouse.el: Bind mouse-2 to mouse-yank-primary.
7204 (mouse-drag-copy-region): Default to nil.
7206 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
7207 Cut/Copy/Paste menu bar items.
7209 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7211 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
7212 Patch applied by Karl Fogel.
7214 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
7215 and `bookmark-current-buffer' if they have been already set in
7216 another buffer (e.g gnus-art).
7218 2010-07-13 Karl Fogel <kfogel@red-bean.com>
7219 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7221 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
7223 * bookmark.el (bookmark-make-record-default): Allow unneeded
7224 information to be omitted from the record.
7226 Adjust declarations and calls:
7228 * info.el (bookmark-make-record-default): Adjust declaration.
7229 (Info-bookmark-make-record): Adjust call.
7231 * woman.el (bookmark-make-record-default): Adjust declaration.
7232 (woman-bookmark-make-record): Adjust call.
7234 * man.el (bookmark-make-record-default): Adjust declaration.
7235 (Man-bookmark-make-record): Adjust call.
7237 * image-mode.el (bookmark-make-record-default): Adjust declaration.
7239 * doc-view.el (bookmark-make-record-default): Adjust declaration.
7241 2010-07-13 Karl Fogel <kfogel@red-bean.com>
7243 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
7244 This is also from Thierry Volpiatto's patch in bug #6444. However,
7245 because it was extraneous to the functional change in that patch,
7246 and causes a re-indendation, I am committing it separately.
7248 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7250 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
7251 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
7252 Patch applied by Karl Fogel (Bug#6444).
7254 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
7256 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
7258 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
7260 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
7261 Dempsky; bug#5084). Remove incorrect binding for S-tab.
7262 (ns-alternatives-map): Change S-tab binding to backtab
7265 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
7268 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
7270 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
7273 * language/tv-util.el (tai-viet-re): Remove format.
7275 2010-07-12 Kenichi Handa <handa@m17n.org>
7277 * language/hebrew.el: Remove no-byte-compile declaration.
7278 Change coding: tag to utf-8. Register hebrew-shape-gstring in
7279 composition-function-table for 3-character looking back.
7280 (hebrew-font-get-precomposed): New function.
7281 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
7283 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
7285 * mouse.el (mouse-drag-track): Handle select-active-regions
7288 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
7290 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
7291 empty argument to gvfs-copy.
7293 2010-07-10 Glenn Morris <rgm@gnu.org>
7295 * calendar/calendar.el (calendar-week-end-day): New function.
7296 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
7297 Respect calendar-week-start-day. (Bug#6606)
7298 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
7299 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
7300 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
7301 respect calendar-week-start-day.
7303 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
7305 * simple.el (use-region-p): Doc fix (Bug#6607).
7307 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
7309 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7310 Add regexps for cucumber and ruby.
7312 2010-07-08 Daiki Ueno <ueno@unixuser.org>
7314 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
7315 (epa-file-insert-file-contents): Hack to prevent
7316 find-file from opening empty buffer when decryption failed
7319 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
7321 * textmodes/ispell.el (ispell-alternate-dictionary):
7322 Use file-readable-p.
7323 Return nil if no word-list is found at default locations.
7324 (ispell-complete-word-dict): Default to nil.
7325 (ispell-command-loop): Use 'word-list' when using lookup-words.
7326 (lookup-words): Use ispell-complete-word-dict or
7327 ispell-alternate-dictionary. Check for word-list availability
7328 and handle errors if needed with better messages (Bug#6539).
7329 (ispell-complete-word): Use ispell-complete-word-dict or
7330 ispell-alternate-dictionary.
7332 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
7334 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
7335 builtins (BufferError, BytesWarning, WindowsError; callables
7336 bin, bytearray, bytes, format, memoryview, next, print; __package__).
7338 2010-07-07 Glenn Morris <rgm@gnu.org>
7340 * play/zone.el (top-level): Do not require timer, tabify, or cl.
7341 (zone-shift-left): Ignore intangibility, and any errors from
7343 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
7344 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
7345 deleting, and copying text properties.
7346 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
7347 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
7348 to point-max is hard.
7349 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
7350 (zone-fill-out-screen): Ignore intangibility.
7352 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
7354 * menu-bar.el (menu-bar-mode):
7355 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
7358 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
7359 word/line selection (Bug#6565).
7361 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
7363 * net/dbus.el (dbus-send-signal): Declare function.
7365 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
7367 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
7368 (dbus-register-property): New optional argument EMITS-SIGNAL.
7369 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
7371 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
7373 * mouse.el (mouse-drag-overlay): Variable deleted.
7374 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
7375 (mouse--remap-link-click-p): New function.
7376 (mouse-drag-track): Handle dragging by using temporary Transient
7377 Mark mode, instead of a special overlay.
7378 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
7381 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
7384 2010-07-02 Juri Linkov <juri@jurta.org>
7386 * autoinsert.el (auto-insert-alist): Fix readability
7387 by using dotted pair notation for lambda.
7389 2010-07-02 Juri Linkov <juri@jurta.org>
7391 * faces.el (read-face-name): Rename arg `string-describing-default'
7392 to `default'. Doc fix. Display the default value in quotes
7393 in the prompt. With empty input, return the `default' arg,
7394 unless the default value is a string (in which case return nil).
7395 (describe-face): Replace the string `default' arg of `read-face-name'
7396 with the symbol `default'.
7398 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
7400 * emulation/viper-cmd.el (viper-delete-backward-char)
7401 (viper-del-backward-char-in-insert)
7402 (viper-del-backward-char-in-replace, viper-change)
7403 (viper-backward-indent): Replace delete-backward-char with
7404 delete-char (Bug#6552).
7406 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
7408 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
7410 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7412 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
7413 argument passed to frame-creation-function (Bug#5378).
7415 * faces.el (x-handle-named-frame-geometry)
7416 (x-handle-reverse-video, x-create-frame-with-faces)
7417 (face-set-after-frame-default, tty-create-frame-with-faces):
7418 Don't separately consult default-frame-alist. It is now passed as the
7421 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
7423 * startup.el (command-line): Don't call tool-bar-setup in a
7426 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7428 * ruler-mode.el (ruler--save-header-line-format): New fun.
7429 (ruler-mode): Use it as a setter function, so as not to overwrite
7430 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
7432 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
7434 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
7435 (vc-root-diff, vc-print-root-log, vc-log-incoming)
7436 (vc-log-outgoing): Use it.
7437 (vc-diff-internal): Set diff-vc-backend.
7439 * vc/diff-mode.el (diff-vc-backend): New var.
7441 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
7443 * dynamic-setting.el (font-setting-change-default-font):
7444 Remove call to message.
7446 2010-06-28 Kenichi Handa <handa@m17n.org>
7448 * international/quail.el (quail-insert-kbd-layout): Fix the
7449 showing of untranslated characters.
7451 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
7453 * simple.el (delete-active-region): New option.
7454 (delete-backward-char): Implement in Lisp.
7455 (delete-forward-char): New command.
7457 * mouse.el (mouse-region-delete-keys): Deleted.
7458 (mouse-show-mark): Simplify.
7460 * bindings.el (global-map): Bind delete and DEL, the former to
7461 delete-forward-char.
7463 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
7465 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
7466 (ruby-mode): Bind indent-line-function (Bug#5119).
7468 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
7470 * startup.el (command-line): Recognize "0" X resource value.
7472 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
7474 * startup.el (command-line): Use X resources to set the value of
7475 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
7477 * menu-bar.el (menu-bar-mode):
7478 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
7479 Set init-value to t.
7481 * frame.el (frame-notice-user-settings): Don't change
7482 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
7483 vice versa (Bug#2249).
7485 2010-06-26 Eli Zaretskii <eliz@gnu.org>
7487 * w32-fns.el (w32-convert-standard-filename): Doc fix.
7489 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
7491 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
7492 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
7494 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
7495 default directories are expanded (Bug#6143).
7497 2010-06-24 Juri Linkov <juri@jurta.org>
7499 * minibuffer.el (completions-format): Change default from nil to
7500 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
7502 2010-06-24 Juri Linkov <juri@jurta.org>
7504 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
7505 buffer-locally to lambda that re-runs the vc diff command.
7508 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
7510 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
7511 echo area is in use (Bug#3412).
7513 2010-06-22 Glenn Morris <rgm@gnu.org>
7515 * textmodes/texinfmt.el (texinfo-format-region)
7516 (texinfo-raise-lower-sections, texinfo-format-separate-node)
7517 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
7518 (texinfo-format-option, texinfo-noindent):
7519 Use line-beginning-position and line-end-position.
7521 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
7522 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
7523 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
7526 2010-06-21 Karl Fogel <kfogel@red-bean.com>
7528 * play/zone.el (zone-fall-through-ws): Fix next-line ->
7529 forward-line fallout.
7531 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
7533 * mouse.el (mouse-appearance-menu): Add docstring.
7535 * help.el (describe-key): Print up-event using key-description.
7537 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
7539 * net/zeroconf.el (zeroconf-resolve-service)
7540 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
7541 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
7543 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
7545 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
7547 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
7549 Avoid displaying files with a nil state in vc-dir.
7550 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
7551 cases that cause insertion.
7552 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
7555 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7557 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
7559 2010-06-29 Leo <sdl.web@gmail.com>
7561 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
7563 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7565 * generic-x.el (bat-generic-mode): Fix regexp for command line
7566 switches (Bug#5719).
7568 2010-06-27 Masatake YAMATO <yamato@redhat.com>
7570 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
7571 of nconc to avoid pure storage error (Bug#6239).
7573 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
7575 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
7576 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
7577 bindings of bookmark-automatically-show-annotations (Bug#6515).
7579 2010-06-25 Eli Zaretskii <eliz@gnu.org>
7581 * arc-mode.el (archive-zip-extract): Don't quote the file name on
7582 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
7584 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
7586 * comint.el (make-comint, make-comint-in-buffer): Mention return
7587 value in the docstrings. (Bug#6498)
7589 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
7591 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
7592 since it is not present when using some non-default switches.
7594 2010-06-23 Karl Fogel <kfogel@red-bean.com>
7596 * simple.el (compose-mail): Fix doc string to refer to
7597 `compose-mail-user-agent-warnings', instead of to the
7598 nonexistent `compose-mail-check-user-agent'.
7600 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
7602 Fix an indentation bug:
7604 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
7605 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
7608 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
7609 (c-clear->-pair-props-if-match-before): now return t when they've
7610 cleared properties, nil otherwise.
7611 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
7612 by taking account of the existing value.
7614 * progmodes/cc-defs.el
7615 (c-clear-char-property-with-value-function): Fix this to clear the
7616 property rather than overwriting it with nil.
7618 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
7620 * emacs-lisp/package.el (package-print-package): Add link to
7621 package description via describe-package.
7622 (describe-package-1): List package requirements. Add button to
7623 perform installation.
7624 (package-menu-describe-package): New command.
7626 * help-mode.el (help-package): New button type.
7628 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
7630 * emacs-lisp/package.el: Move package-list-packages binding to
7632 (describe-package, describe-package-1, package--dir): New funs.
7633 (package-activate-1): Use package--dir.
7635 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
7637 * help-mode.el (help-package-def): New button type.
7639 * menu-bar.el: Move package-list-packages binding here from
7642 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
7644 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
7646 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7648 * emacs-lisp/edebug.el (edebug-read-list):
7649 Phase out old-style backquotes.
7651 2010-06-17 Juri Linkov <juri@jurta.org>
7653 * help-mode.el (help-mode): Set buffer-local variable
7654 revert-buffer-function to help-mode-revert-buffer.
7655 (help-mode-revert-buffer): New function.
7657 * info.el (Info-revert-find-node): Check for major-mode Info-mode
7658 before popping to "*info*" (like in other Info functions).
7659 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
7660 old-history-forward. Pop to old-buffer-name or "*info*" to
7661 recreate the killed buffer. Set Info-history-forward from
7662 old-history-forward.
7663 (Info-breadcrumbs-depth): Add :group and :version.
7665 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
7667 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
7669 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
7671 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
7672 for languages like Portuguese with pt_{BR,PT} and no plain pt.
7674 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
7676 * emacs-lisp/package.el (package-menu-mode-map):
7677 Move initialization into declaration.
7679 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
7681 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
7683 * emacs-lisp/package.el (package-archive-base): Point to
7685 (package-enable, package-load-list): New defcustoms.
7686 (package-user-dir, package-directory-list): Turn into defcustoms.
7687 Don't include package-user-dir in package-directory-list.
7688 (package--builtins-base): Don't include Emacs as a "package".
7689 (package-subdirectory-regexp): New var.
7690 (package-load-all-descriptors, package-compute-transaction)
7691 (package-download-transaction): Obey package-load-list.
7692 (package-activate-1): Rename from package-do-activate.
7693 (package-list-packages-internal): Check package-load-list.
7694 (package-load-descriptor, package-generate-autoloads)
7695 (package-unpack, package-unpack-single)
7696 (package--read-archive-file, package-delete):
7697 Use expand-file-name.
7699 * emacs-lisp/package-x.el: New file. Package uploading
7700 functionality split out from package.el.
7702 * startup.el (command-line): Load packages after reading init file.
7704 2010-06-17 Tom Tromey <tromey@redhat.com>
7706 * emacs-lisp/package.el: New file.
7708 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
7710 Fix vc-annotate for renamed files when using Git.
7711 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
7712 ls-files. Doe not pass the object as a file name to cat-file, it
7714 (vc-git-annotate-command): Pass the file name using -- to avoid
7715 ambiguity with the revision.
7716 (vc-git-previous-revision): Pass a relative file name.
7718 2010-06-22 Glenn Morris <rgm@gnu.org>
7720 * progmodes/js.el (js-mode-map): Use standard capitalization and
7721 ellipses for menu entries.
7723 * wid-edit.el (widget-complete): Doc fix.
7725 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
7727 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
7729 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
7731 Fix annotating other revisions for renamed files in vc-annotate.
7732 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
7733 VC backend. Use it when non-nil.
7734 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
7737 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
7738 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7739 Do not pass the file name to the 'previous-revision call when we
7740 don't want a file diff. (Bug#6489)
7742 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
7744 Fix finding revisions for renamed files in vc-annotate.
7745 * vc/vc.el (vc-find-revision): Add an optional argument for
7746 the VC backend. Use it when non-nil.
7747 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
7748 backend to vc-find-revision. (Bug#6487)
7750 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
7752 Fix reading file names in Git annotate buffers.
7753 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
7754 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
7756 2010-06-20 Alan Mackenzie <acm@muc.de>
7758 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
7759 in file local variables, set it first.
7761 2010-06-19 Glenn Morris <rgm@gnu.org>
7763 * descr-text.el (describe-char-unicode-data): Insert separating
7764 space when needed. (Bug#6422)
7766 * progmodes/idlwave.el (idlwave-action-and-binding):
7767 Fix typo in 2009-12-03 change. (Bug#6450)
7769 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7771 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
7772 handling for `lambda' (misunderstanding).
7774 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
7776 * calc/calc-poly.el (math-accum-factors): Make sure that
7777 constants aren't distributed after they are factored out.
7779 2010-06-16 Juri Linkov <juri@jurta.org>
7781 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
7782 `list-colors-print'. (Bug#6332)
7784 * subr.el (read-quoted-char): Fix up last change (bug#6290).
7786 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
7788 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
7789 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
7791 * font-lock.el (font-lock-major-mode): Rename from
7792 font-lock-mode-major-mode to distinguish it from
7793 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
7794 (font-lock-set-defaults):
7795 * font-core.el (font-lock-default-function): Adjust users.
7796 (font-lock-mode): Don't set it at all.
7798 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
7800 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
7802 2010-06-16 Glenn Morris <rgm@gnu.org>
7804 * calendar/appt.el (appt-time-msg-list): Doc fix.
7805 (appt-check): Let-bind appt-warn-time.
7806 (appt-add): Make the 3rd argument optional.
7807 Simplify argument names. Doc fix. Check for integer WARNTIME.
7808 Only add WARNTIME to the output list if non-nil.
7810 2010-06-16 Ivan Kanis <apple@kanis.eu>
7812 * calendar/appt.el (appt-check): Let the 3rd element of
7813 appt-time-msg-list specify the warning time.
7814 (appt-add): Add new argument with the warning time. (Bug#5176)
7816 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
7818 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
7819 older than version 1.6. (Bug#6361)
7821 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
7823 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
7824 used by cl-do-arglist. (Bug#6408)
7826 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
7828 * textmodes/ispell.el (ispell-dictionary-base-alist):
7829 Fix portuguese casechars/not-casechars for missing 'çÇ'.
7830 Suggested by Rolando Pereira (bug#6434).
7832 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
7834 * facemenu.el (list-colors-sort): Doc fix.
7836 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
7838 * progmodes/sql.el (sql-connect-mysql): Fix typo.
7840 2010-06-14 Juri Linkov <juri@jurta.org>
7842 Add sort option `list-colors-sort'. (Bug#6332)
7843 * facemenu.el (color-rgb-to-hsv): New function.
7844 (list-colors-sort): New defcustom.
7845 (list-colors-sort-key): New function.
7846 (list-colors-display): Doc fix. Sort list according to the option
7848 (list-colors-print): Add HSV values to `help-echo' property of
7851 2010-06-14 Juri Linkov <juri@jurta.org>
7853 * compare-w.el: Move to the "vc" subdirectory.
7855 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7857 * image-mode.el (image-mode-map): Remap left-char and right-char.
7859 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
7861 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
7863 * term/common-win.el (x-colors): Add all the color names defined
7864 in rgb.txt (Bug#6332).
7866 * facemenu.el (list-colors-print): Don't print extra names if it
7867 will overflow the window width.
7869 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
7872 2010-06-12 Eli Zaretskii <eliz@gnu.org>
7874 * files.el (make-directory): Doc fix (bug#6396).
7876 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
7878 * net/tramp.el (tramp-remote-process-environment): Protect version
7879 string by apostroph.
7880 (tramp-shell-prompt-pattern): Do not use a shy group in case of
7882 (tramp-file-name-for-operation): Add `call-process-region'.
7883 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
7885 * net/tramp-compat.el (top): Do not autoload
7886 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
7887 only when `start-file-process' is not bound.
7888 (tramp-advice-file-expand-wildcards): Do not use
7889 `tramp-handle-file-remote-p'.
7890 (tramp-compat-make-temp-file): Handle the case, that
7891 `make-temp-file' has no third argument EXTENSION.
7893 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
7895 * makefile.w32-in (WINS_BASIC): Include new directory vc.
7897 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
7899 2010-06-11 Juri Linkov <juri@jurta.org>
7901 * finder.el (finder-known-keywords): Add keyword "vc"
7902 for version control.
7904 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
7905 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
7906 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
7907 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
7909 2010-06-11 Juri Linkov <juri@jurta.org>
7911 Move version control related files to the "vc" subdirectory.
7912 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
7913 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
7914 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
7915 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
7916 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
7917 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
7918 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
7919 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
7920 Move files to the "vc" subdirectory.
7922 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
7924 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
7927 2010-06-11 Stephen Eglen <stephen@gnu.org>
7929 * shell.el: Bind `shell-resync-dirs' to M-RET.
7931 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
7933 * notifications.el: Move file from lisp/net, because it is
7934 supposed to talk locally to the user.
7936 2010-06-10 Julien Danjou <julien@danjou.info>
7938 * net/notifications.el (notifications-on-action-signal)
7939 (notifications-on-closed-signal): Pass notification id as first
7940 argument to the callback functions. Add docstrings.
7941 (notifications-notify): Fix docstring.
7943 2010-06-10 Glenn Morris <rgm@gnu.org>
7945 * emacs-lisp/authors.el (authors-ignored-files)
7946 (authors-valid-file-names): Add some files.
7948 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7950 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
7951 merge conflict, giving preference to the emacs-23 version of the code.
7953 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7955 * emacs-lisp/advice.el (ad-compile-function):
7956 Define warning-suppress-types before we let-bind it (bug#6275).
7958 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
7959 declare it, make it buffer-local and permanent-local (bug#6324).
7960 (vc-resynch-window): Adjust name.
7961 * vc-hooks.el (vc-find-file-hook): Adjust name.
7963 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
7965 * net/notifications.el (notifications-notify): Fix docstring.
7967 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
7969 Update to Unicode 6.0.0 beta.
7970 * international/charprop.el: Update copyright.
7971 * international/mule-cmds.el (ucs-names): Update character ranges.
7972 * international/uni-bidi.el:
7973 * international/uni-category.el:
7974 * international/uni-combining.el:
7975 * international/uni-comment.el:
7976 * international/uni-decimal.el:
7977 * international/uni-decomposition.el:
7978 * international/uni-digit.el:
7979 * international/uni-lowercase.el:
7980 * international/uni-mirrored.el:
7981 * international/uni-name.el:
7982 * international/uni-numeric.el:
7983 * international/uni-old-name.el:
7984 * international/uni-titlecase.el:
7985 * international/uni-uppercase.el: Regenerate.
7987 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
7989 * emacs-lisp/smie.el (comment-string-strip): Declare function.
7990 (smie-precs-precedence-table): Fix typo in docstring.
7992 * vc-mtn.el (log-edit-extract-headers): Declare function.
7994 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
7996 * net/notifications.el (dbus-register-signal): Declare function.
7997 (notifications-notify): Fix typos and reflow docstring.
7999 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8001 Improve VC create/retrieve tag/branch.
8002 * vc.el (vc-create-tag): Do not read the directory name for VCs
8003 with repository revision granularity. Adjust the tag/branch
8004 prompt. Reset VC properties.
8005 (vc-retrieve-tag): Do not read the directory name for VCs
8006 with repository revision granularity. Reset VC properties.
8008 2010-06-09 Julien Danjou <julien@danjou.info>
8010 * net/notifications.el: New file.
8012 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8014 Add optional support for resetting VC properties.
8015 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
8016 call vc-file-clearprops when true.
8017 (vc-resynch-buffer): Add new optional argument, pass it down.
8018 (vc-resynch-buffers-in-directory): Likewise.
8020 Improve support for special markup in the VC commit message.
8021 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
8022 * vc-hg.el (vc-hg-checkin): Add support for Date:.
8023 * vc-git.el (vc-git-checkin):
8024 * vc-bzr.el (vc-bzr-checkin): Likewise.
8026 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8028 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
8029 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
8031 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
8033 * iimage.el: Remove images as soon as the underlying text is modified.
8034 (iimage-modification-hook): New function.
8035 (iimage-mode-buffer): Use it.
8037 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8039 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
8040 smie-indent-offset-after. Add :prev case. Make a bit more generic.
8041 (smie-indent-virtual): Remove `virtual' arg. Update callers.
8042 (smie-indent-keyword): Add handling of open-paren keywords.
8043 (smie-indent-comment-continue): Don't assume comment-continue.
8045 2010-06-07 Martin Rudalics <rudalics@gmx.at>
8047 * window.el (pop-to-buffer): Remove the conditional that
8048 compares new-window and old-window, so it will reselect
8049 the selected window unconditionally.
8050 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
8052 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8054 * emacs-lisp/smie.el (smie-indent-offset-after)
8055 (smie-indent-forward-token, smie-indent-backward-token): New functions.
8056 (smie-indent-after-keyword): Use them.
8057 (smie-indent-fixindent): Only applies to the indentation of the BOL.
8058 (smie-indent-keyword): Tweak the black magic.
8059 (smie-indent-comment-continue): Strip comment-continue before use.
8060 (smie-indent-functions): Indent comments before keywords.
8062 2010-06-06 Juri Linkov <juri@jurta.org>
8064 * isearch.el (isearch-lazy-highlight-search): Fix looping
8065 by checking for empty match. This syncs this loop with the
8066 similar loop in `isearch-search'. (Bug#6362)
8068 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
8070 * net/dbus.el (dbus-register-method): Declare function.
8071 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
8072 (dbus-introspect): Doc fix.
8073 (dbus-event-bus-name, dbus-introspect-get-interface)
8074 (dbus-introspect-get-argument): Reflow docstrings.
8076 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
8078 vc-log-incoming/vc-log-outgoing fixes for Git.
8079 * vc-git.el (vc-git-log-view-mode): Fix font lock for
8080 incoming/outgoing logs.
8081 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
8082 instead of vc-git-compute-remote.
8083 (vc-git-compute-remote): Remove.
8085 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
8087 * term/common-win.el (x-colors): Add "dark green" and "dark
8088 turquoise" (Bug#6332).
8090 2010-06-04 Juri Linkov <juri@jurta.org>
8092 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
8093 Instead of setting `replace' to t and replacing the same string
8094 with itself, don't do certain actions when
8095 kill-do-not-save-duplicates is non-nil and string is equal to car
8096 of kill-ring: don't call menu-bar-update-yank-menu, don't push
8097 interprogram-paste strings to kill-ring, and don't push the input
8098 argument `string' to kill-ring.
8099 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
8101 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
8103 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
8105 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
8107 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
8108 (tramp-gvfs-handler-mounted-unmounted)
8109 (tramp-gvfs-connection-mounted-p): Handle default-location.
8111 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
8112 move files to trash.
8114 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
8116 * international/mule-cmds.el (nonascii-insert-offset)
8117 (nonascii-translation-table): Add obsolescence information.
8119 * international/mule.el (make-translation-table-from-vector): Doc fix.
8121 2010-06-03 Glenn Morris <rgm@gnu.org>
8123 * desktop.el (desktop-clear-preserve-buffers):
8124 Add "*Warnings*" buffer. (Bug#6336)
8126 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
8128 vc-log-incoming/vc-log-outgoing improvements for Git.
8129 * vc-git.el (vc-git-log-outgoing): Use the same format as the
8131 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
8133 Add bindings for vc-log-incoming and vc-log-outgoing.
8134 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
8135 and vc-log-outgoing.
8136 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
8137 and vc-log-outgoing.
8139 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
8141 * net/rcirc.el (rcirc-sort-nicknames): Remove.
8142 (rcirc-handler-366): Always sort nicknames.
8144 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
8146 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
8148 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
8150 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
8152 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8154 * net/rcirc.el (rcirc-sort-nicknames): Change default.
8155 (rcirc-sort-nicknames-join): Avoid setq.
8157 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8159 * net/rcirc.el (rcirc-sort-nicknames): New custom.
8160 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
8161 (rcirc-handler-366): Use them.
8163 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8165 Split smie-indent-calculate into more manageable chunks.
8166 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
8167 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
8168 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
8169 (smie-indent-exps): Extract from smie-indent-calculate.
8170 (smie-indent-functions): New var.
8171 (smie-indent-functions): Use them.
8173 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8175 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
8176 (smie-indent-calculate): Simplify and cleanup.
8178 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
8180 * net/tramp-gvfs.el (top): Require url-util.
8181 (tramp-gvfs-mount-point): Remove.
8182 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
8184 (with-tramp-dbus-call-method): Format trace message.
8185 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
8186 Implement backup call, when operation on local files fails.
8187 Use progress reporter. Flush properties of changed files.
8188 (tramp-gvfs-handle-make-directory): Make more traces.
8189 (tramp-gvfs-url-file-name): Hexify file name in url.
8190 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
8191 into account for the resulting file name.
8192 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
8193 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
8194 (tramp-gvfs-handler-mounted-unmounted)
8195 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
8196 attribute "default_location". Set "prefix" property.
8197 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
8198 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
8199 exists. Raise an error, if not (due to a corresponding answer
8200 "no" in interactive questions, for example).
8202 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
8204 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
8206 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
8208 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
8211 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
8213 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
8214 * vc-git.el (vc-git-compute-remote): New function.
8215 (vc-git-log-outgoing): Use it instead of hard coding a value.
8216 (vc-git-log-incoming): New function.
8218 Improve state updating for VC tag commands.
8219 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
8220 to update the state of all buffers in the directory.
8222 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
8224 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8226 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
8227 `file-directory-p' to the filename part rather than to the whole text.
8229 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8231 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
8233 2010-05-31 Drew Adams <drew.adams@oracle.com>
8235 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
8237 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
8239 * subr.el (momentary-string-display): Just use read-event to read
8240 the exit event (Bug#6238).
8242 2010-05-30 Eli Zaretskii <eliz@gnu.org>
8244 * international/mule.el (define-coding-system): Doc fix (bug#6313).
8246 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
8248 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
8249 Suggested by Eli Zaretskii <eliz@gnu.org>.
8251 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8253 * minibuffer.el (completion-file-name-table): Don't return a boundary
8254 past the end of `string' (bug#6299).
8255 (completion--file-name-table): Delegate to completion-file-name-table
8256 for the `boundaries' case.
8258 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
8260 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
8263 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
8264 `path-separator', but maintain compatibility with Emacs 20.2.
8266 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
8268 * server.el (server-process-filter): Receive parent-id argument
8270 (server-create-window-system-frame): New arg. Pass parent-id as
8273 2010-05-29 Eli Zaretskii <eliz@gnu.org>
8275 Bidi-sensitive word movement with arrow keys.
8276 * subr.el (right-arrow-command, left-arrow-command): Move to
8279 * bindings.el (right-char, left-char): Move from subr.el and
8280 rename from right-arrow-command and left-arrow-command.
8281 (right-word, left-word): New functions.
8282 (global-map) <right>: Bind to right-char.
8283 (global-map) <left>: Bind to left-char.
8284 (global-map) <C-right>: Bind to right-word.
8285 (global-map) <C-left>: Bind to left-word.
8287 * ls-lisp.el (ls-lisp-classify-file): New function.
8288 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
8289 (ls-lisp-classify): Call ls-lisp-classify-file.
8290 (insert-directory): Remove blanks from switches.
8292 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
8294 * ansi-color.el: Delete unused escape sequences (Bug#6085).
8295 (ansi-color-drop-regexp): New constant.
8296 (ansi-color-apply, ansi-color-filter-region)
8297 (ansi-color-apply-on-region): Delete unrecognized control sequences.
8298 (ansi-color-apply): Build string list before calling concat.
8300 2010-05-28 Juri Linkov <juri@jurta.org>
8302 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8303 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
8306 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
8308 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
8309 to ignored backtrace functions.
8310 (with-progress-reporter): Expand docstring.
8311 (tramp-handle-delete-file): Implement TRASH argument.
8312 (tramp-get-remote-trash): New defun.
8314 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
8316 * net/tramp-compat.el (tramp-compat-delete-file):
8317 Use `symbol-value' for backward compatibility.
8319 * net/tramp.el (tramp-handle-make-symbolic-link)
8321 (tramp-do-copy-or-rename-file-via-buffer)
8322 (tramp-do-copy-or-rename-file-directly)
8323 (tramp-do-copy-or-rename-file-out-of-band)
8324 (tramp-handle-process-file, tramp-handle-call-process-region)
8325 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8326 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8327 (tramp-delete-temp-file-function): Use `delete-file' instead
8328 of `tramp-compat-delete-file'.
8330 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8331 (tramp-fish-handle-make-symbolic-link)
8332 (tramp-fish-handle-process-file): Use `delete-file' instead
8333 of `tramp-compat-delete-file'.
8335 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8336 Use `delete-file' instead of `tramp-compat-delete-file'.
8338 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8339 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
8340 `tramp-compat-delete-file'.
8342 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
8343 Use `delete-file' instead of `tramp-compat-delete-file'.
8345 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8346 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8347 (tramp-smb-handle-write-region): Use `delete-file' instead of
8348 `tramp-compat-delete-file'.
8349 (tramp-smb-handle-delete-directory): Use 'trash as arg.
8351 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8353 * dired.el (dired-delete-file): New arg TRASH.
8354 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
8355 (dired-do-flagged-delete, dired-do-delete): Use trash.
8357 * speedbar.el (speedbar-item-delete): Allow trashing.
8359 * files.el (delete-directory): New arg TRASH.
8361 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
8362 (ange-ftp-rename-remote-to-remote)
8363 (ange-ftp-rename-local-to-remote)
8364 (ange-ftp-rename-remote-to-local, ange-ftp-load)
8365 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
8367 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
8370 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
8371 handle new TRASH arg of `delete-file'.
8373 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
8374 (tramp-handle-make-symbolic-link, tramp-handle-load)
8375 (tramp-do-copy-or-rename-file-via-buffer)
8376 (tramp-do-copy-or-rename-file-directly)
8377 (tramp-do-copy-or-rename-file-out-of-band)
8378 (tramp-handle-process-file, tramp-handle-call-process-region)
8379 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8380 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8381 (tramp-delete-temp-file-function): Use null TRASH arg in
8382 tramp-compat-delete-file call.
8384 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8385 (tramp-fish-handle-delete-file)
8386 (tramp-fish-handle-make-symbolic-link)
8387 (tramp-fish-handle-process-file): Use null TRASH arg in
8388 `tramp-compat-delete-file' call.
8390 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
8391 arg in `tramp-compat-delete-file' call.
8393 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8394 (tramp-gvfs-handle-write-region): Use null TRASH arg in
8395 `tramp-compat-delete-file' call.
8397 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
8398 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
8399 `tramp-compat-delete-file' call.
8401 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8402 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8403 (tramp-smb-handle-write-region): Use null TRASH arg in
8404 tramp-compat-delete-file call.
8405 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
8406 (tramp-smb-handle-delete-file): Rename arg.
8408 * diff.el (diff-sentinel):
8409 * epg.el (epg--make-temp-file, epg-decrypt-string)
8410 (epg-verify-string, epg-sign-string, epg-encrypt-string):
8411 * jka-compr.el (jka-compr-partial-uncompress)
8412 (jka-compr-call-process, jka-compr-write-region):
8413 * server.el (server-sentinel): Remove optional arg from
8414 delete-file, reverting 2010-05-03 change.
8416 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8418 * progmodes/verilog-mode.el (verilog-type-font-keywords):
8419 Use font-lock-constant-face, not obsolete font-lock-reference-face.
8421 2010-05-27 Kenichi Handa <handa@m17n.org>
8423 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
8424 element of GSTRING is nil.
8426 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8428 * emacs-lisp/smie.el (smie-forward-token-function)
8429 (smie-backward-token-function): New vars.
8430 (smie-backward-sexp, smie-forward-sexp)
8431 (smie-indent-hanging-p, smie-indent-calculate): Use them.
8432 (smie-default-backward-token): Rename from smie-backward-token and
8434 (smie-default-forward-token): Rename from smie-forward-token and
8436 (smie-next-sexp): Handle nil results from next-token.
8437 (smie-indent-calculate): Add a new case for special `fixindent' comments.
8439 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8441 * progmodes/verilog-mode.el (verilog-type-font-keywords):
8442 Use font-lock-constant-face, not obsolete font-lock-reference-face.
8444 2010-05-27 Masatake YAMATO <yamato@redhat.com>
8446 * htmlfontify.el (hfy-face-resolve-face): New function.
8447 (hfy-face-to-style): Use it (Bug#6279).
8449 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8451 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
8452 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
8454 2010-05-26 Glenn Morris <rgm@gnu.org>
8456 * emulation/edt.el (edt-load-keys): Use locate-library.
8458 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
8460 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
8461 (log-edit-changelog-entries): Doc fix.
8462 (log-edit-changelog-insert-entries): Args changed.
8463 Rename relative filenames in ChangeLog entries. Delete tabs.
8464 (log-edit-insert-changelog-entries): Reorganize return value of
8465 `log-edit-changelog-entries' to pass filenames to
8466 log-edit-changelog-insert-entries.
8468 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8470 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
8471 `image-dired-dired-insert-marked-thumbs' to
8472 `image-dired-dired-toggle-marked-thumbs'.
8474 * image-dired.el: Require cl when compiling.
8475 (image-dired-dired-toggle-marked-thumbs): Rename from
8476 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
8477 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
8478 to 'no-dir. Skip files whose names don't match
8479 `image-file-name-regexp'. When file has a thumbnail overlay,
8480 delete it. (Bug#5270)
8482 2010-05-25 Juri Linkov <juri@jurta.org>
8484 * image-mode.el (image-mode): Add image-after-revert-hook to
8486 (image-after-revert-hook): New function. (Bug#5669)
8488 2010-05-25 Juri Linkov <juri@jurta.org>
8490 * image.el (image-animated-p): When delay between animated images
8491 is 0, set it to 10 (0.1 sec). (Bug#6258)
8493 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
8495 * net/tramp.el (tramp-handle-insert-directory): Don't use
8496 `forward-word', its default syntax could be changed.
8498 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
8500 * net/tramp.el (tramp-progress-reporter-update): New defun.
8501 (with-progress-reporter): Use it.
8502 (tramp-process-actions):
8503 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
8504 Preserve current message, in order to let progress reporter continue
8505 afterwards. (Bug#6257)
8507 2010-05-25 Glenn Morris <rgm@gnu.org>
8509 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
8512 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
8514 * net/rcirc.el (rcirc-default-user-name): Change to "user".
8515 (rcirc-default-full-name): Change to "unknown".
8516 (rcirc-user-name-history): Add variable.
8518 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
8519 Jonathan Rockway <jon@jrock.us>
8521 * net/rcirc.el (rcirc-server-alist): Add :pass.
8522 (rcirc): When prompting for connection parameters, also prompt for
8523 username and password.
8524 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
8525 value to server when connecting.
8527 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8529 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
8530 (smie-merge-prec2s): Pass the tables as separate args.
8531 (smie-bnf-precedence-table): Adjust call accordingly.
8532 (smie-prec2-levels): Set levels at the end.
8534 Replace Lisp calls to delete-backward-char by delete-char.
8535 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
8536 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
8537 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
8538 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
8539 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
8540 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
8541 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
8542 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
8543 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
8544 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
8545 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
8546 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
8547 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
8548 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
8549 delete-backward-char by calls to delete-char.
8551 2010-05-25 Kenichi Handa <handa@m17n.org>
8553 * language/hebrew.el (hebrew-shape-gstring): New function.
8554 Register it in composition-function-table for all Hebrew combining
8557 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8559 * epa.el (epa--select-keys): Don't explicitly delete the window since
8560 that can fail (e.g. sole window in frame). Use dedication instead.
8562 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
8564 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
8566 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
8568 * image.el (image-refresh): Define as an alias for image-flush.
8570 * image-mode.el (image-toggle-display-image): Caller changed.
8572 2010-05-21 Juri Linkov <juri@jurta.org>
8574 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
8575 Remove "all" from grep-files-aliases. Split grep-files-aliases by
8576 whitespace, call wildcard-to-regexp on substrings and concat them
8577 with "\\|". (Bug#6114)
8579 2010-05-21 Alan Mackenzie <acm@muc.de>
8581 * progmodes/cc-engine.el (c-parse-state-get-strategy):
8582 Replace parameter `here' with `here-' and `here-plus', which sandwich
8583 any pertinent CPP construct.
8584 (c-remove-stale-state-cache-backwards): Fix a bug which happens
8585 when doing (c-parse-state) in a CPP construct: Exclude any "new"
8586 CPP construct from taking part in the scanning.
8588 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
8590 * net/tramp.el (tramp-do-copy-or-rename-file)
8591 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
8592 Tune `with-progress-reporter' messages.
8593 (tramp-handle-vc-registered):
8594 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
8595 (tramp-fish-handle-insert-file-contents)
8596 (tramp-fish-maybe-open-connection):
8597 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8598 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
8599 (tramp-imap-handle-insert-file-contents)
8600 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
8602 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
8604 * add-log.el (change-log-font-lock-keywords):
8605 Highlight all authors in multi-author entries.
8607 * smerge-mode.el (smerge-refine-ignore-whitespace)
8608 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
8609 Fix typos in docstrings.
8610 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
8612 2010-05-21 Glenn Morris <rgm@gnu.org>
8614 * progmodes/fortran.el (fortran-mode):
8615 * progmodes/f90.el (f90-mode): Derive from prog-mode.
8617 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
8618 having a relative path in src/Makefile.in.
8620 2010-05-20 Kevin Ryde <user42@zip.com.au>
8622 * help-mode.el (help-make-xrefs): For Info node links turn
8623 newlines into spaces. Link node names with newlines are matched
8624 by help-xref-info-regexp and buttonized, this change ensures they
8625 can be followed successfully with RET. (Bug#6206)
8627 2010-05-20 Juri Linkov <juri@jurta.org>
8629 * locate.el (locate): Use pop-to-buffer instead of
8630 switch-to-buffer-other-window. (Bug#6204)
8632 2010-05-20 Juri Linkov <juri@jurta.org>
8634 * replace.el (replace-highlight): Fix lazy-highlighting
8635 for `M-s w str M-% str RET'.
8637 2009-12-15 Masatake YAMATO <yamato@redhat.com>
8639 * isearch.el (isearch-yank-word-or-char): Pull next subword
8640 when `subword-mode' is activated. (Bug#6220)
8642 2010-05-20 Mark A. Hershberger <mah@everybody.org>
8644 * isearch.el (isearch-update-post-hook): New hook.
8645 (isearch-update): Use the new hook. (Bug#6225)
8647 2010-05-20 Juri Linkov <juri@jurta.org>
8649 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
8650 [f1], [help], and (char-to-string help-char) instead of "\C-h".
8653 2010-05-20 Juri Linkov <juri@jurta.org>
8655 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
8658 2010-05-20 Juri Linkov <juri@jurta.org>
8660 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
8661 FILE-NAME to read from the minibuffer when called interactively
8662 with prefix argument instead of using buffer-file-name.
8663 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
8665 * dired.el: Update autoloads.
8667 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
8669 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
8670 nxml-finish-element, for consistency with SGML mode.
8672 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
8675 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
8677 * composite.el: Require cl when compiling.
8678 (reference-point-alist, compose-gstring-for-graphic)
8679 (compose-gstring-for-terminal): Fix typos in docstrings.
8681 2010-05-19 Juri Linkov <juri@jurta.org>
8683 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
8684 set-window-parameter.
8686 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
8688 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
8690 (tramp-maybe-open-connection): Use it.
8692 2010-05-19 Eli Zaretskii <eliz@gnu.org>
8694 * simple.el (move-end-of-line): Make sure we are at line beginning
8695 before backing up to end of previous line.
8697 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
8699 * password-cache.el (password-cache-remove): Fix docstring.
8701 * net/secrets.el: Autoload the widget functions.
8702 (secrets-search-items, secrets-create-item)
8703 (secrets-get-attributes, secrets-expand-item): Attributes will be
8704 stored on the password database without leading ":", as all other
8706 (secrets-mode): Fix docstring.
8707 (secrets-show-secrets): Provide it as autoloaded command only when
8708 D-Bus support is available. Check existence of Secret Service API.
8710 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
8712 * indent.el (indent-region): Deactivate region (bug#6200).
8714 2010-05-19 Glenn Morris <rgm@gnu.org>
8716 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
8718 2010-05-19 Kenichi Handa <handa@m17n.org>
8720 * composite.el: Register compose-gstring-for-graphic in
8721 composition-function-table only for combining characters (Mn, Mc, Me).
8723 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
8725 * calc/calc-trail.el (calc-trail-isearch-forward)
8726 (calc-trail-isearch-backward): Ensure that the new window
8727 point is set correctly.
8729 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8731 * subr.el (read-quoted-char): Resolve modifiers after key
8732 remapping (bug#6212).
8734 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
8736 Add visualization code for secrets.
8737 * net/secrets.el (secrets-mode): New major mode.
8738 (secrets-show-secrets, secrets-show-collections)
8739 (secrets-expand-collection, secrets-expand-item)
8740 (secrets-tree-widget-after-toggle-function)
8741 (secrets-tree-widget-show-password): New defuns.
8743 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8745 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
8746 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
8747 handled in smie-next-sexp.
8748 (smie-indent-calculate): Provide a starting indentation (so the
8749 recursion is well-founded ;-).
8751 Fix handling of non-associative equal levels.
8752 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
8753 when it's not needed.
8754 (smie-op-left, smie-op-right): New functions.
8755 (smie-next-sexp): New function, extracted from smie-backward-sexp.
8756 Better handle equal levels to distinguish the associative case from
8757 the "multi-keyword construct" case.
8758 (smie-backward-sexp, smie-forward-sexp): Use it.
8760 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
8762 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
8764 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
8765 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
8767 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8769 Provide a simple generic indentation engine and use it for Prolog.
8770 * emacs-lisp/smie.el: New file.
8771 * progmodes/prolog.el (prolog-smie-op-levels)
8772 (prolog-smie-indent-rules): New var.
8773 (prolog-mode-variables): Use them to configure SMIE.
8774 (prolog-indent-line, prolog-indent-level): Remove.
8776 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8778 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
8779 order before computing the averages.
8781 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
8783 * calc/calc-vec.el (calc-histogram):
8784 (calcFunc-histogram): Allow vectors as inputs.
8785 (math-vector-avg): New function.
8787 * calc/calc-ext.el (math-group-float): Have the number of digits
8788 being grouped depend on the radix (Bug#6189).
8790 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
8792 * version.el (emacs-copyright, emacs-version): Don't define here,
8793 now that emacs.c defines it.
8795 2010-05-15 Eli Zaretskii <eliz@gnu.org>
8797 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
8798 "Describe Language Environment" menu item.
8800 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
8802 Bidi-sensitive movement with arrow keys.
8803 * subr.el (right-arrow-command, left-arrow-command): New functions.
8805 * bindings.el (global-map): Bind them to right and left arrow keys.
8807 Don't override standard definition of convert-standard-filename.
8808 * files.el (convert-standard-filename):
8809 Call w32-convert-standard-filename and dos-convert-standard-filename on
8810 the corresponding systems.
8812 * w32-fns.el (w32-convert-standard-filename): Rename from
8813 convert-standard-filename. Doc fix.
8815 * dos-fns.el (dos-convert-standard-filename): Doc fix.
8816 (convert-standard-filename): Don't defalias.
8817 (register-name-alist, make-register, register-value)
8818 (set-register-value, intdos): Obsolete aliases for the
8819 corresponding dos-* functions and variables.
8820 (dos-intdos): Add a doc string.
8822 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
8824 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
8825 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
8826 (math-compose-tex-func):
8827 * calc/calccomp.el (math-compose-expr):
8828 * calc/calc-ext.el (math-format-flat-expr-fancy):
8829 * calc/calc-store.el (calc-read-var-name):
8830 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
8832 * calc/calc.el (var-π, var-φ, var-γ): New variables.
8833 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
8834 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
8835 (math-standard-units): Add units.
8837 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8839 * progmodes/asm-mode.el (asm-mode):
8840 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
8842 * pcomplete.el (pcomplete-completions-at-point): New function,
8843 extracted from pcomplete-std-complete.
8844 (pcomplete-std-complete): Use it.
8846 2010-05-15 Glenn Morris <rgm@gnu.org>
8848 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8849 Remove references to CVS, RCS and Old directories.
8851 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
8853 * calc/calc-bin.el (math-format-twos-complement): Group digits when
8856 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8858 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
8859 (sh-mode-syntax-table): Give it a default value instead.
8860 (sh-header-marker): Make buffer-local.
8861 (sh-mode): Move make-local-variable to the corresponding setq.
8862 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
8863 Use complete-with-action.
8865 * simple.el (prog-mode): New (abstract) major mode.
8866 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
8867 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
8869 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
8871 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
8872 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
8873 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
8874 (sql-make-alternate-buffer-name, sql-placeholders-filter)
8875 (sql-escape-newlines-filter, sql-input-sender)
8876 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
8878 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
8880 Add TeX open-block and close-block keybindings to SGML, and vice versa.
8882 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
8883 latex-open-block and C-c / to latex-close-block.
8885 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
8886 and C-c C-e to sgml-close-tag.
8888 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
8890 * net/tramp.el (with-progress-reporter): Create reporter object
8891 only when the message would be displayed. Handle nested calls.
8892 (tramp-handle-load, tramp-handle-file-local-copy)
8893 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8894 (tramp-maybe-send-script, tramp-find-shell):
8895 Use `with-progress-reporter'.
8896 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
8899 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8900 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8901 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
8902 Use `with-progress-reporter'.
8904 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
8906 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
8907 process everytime when spellchecking from the minibuffer (bug#6143).
8909 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8911 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
8913 * dos-fns.el: Add "dos-" prefix for namespace control.
8914 (convert-standard-filename): Define as alias for
8915 dos-convert-standard-filename but only if applicable.
8917 2010-05-12 Alan Mackenzie <acm@muc.de>
8919 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
8920 Push the mark at the start of these functions when appropriate.
8922 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8924 * minibuffer.el (completion-cycle-threshold): New custom var.
8925 (completion--do-completion): Use it.
8926 (minibuffer-complete): Use cycling if appropriate.
8928 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
8930 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
8931 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
8933 2010-05-11 Juri Linkov <juri@jurta.org>
8935 * scroll-all.el (scroll-all-check-to-scroll):
8936 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
8938 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8940 * iimage.el (iimage-mode-map): Move initialization into declaration.
8941 (iimage-mode-buffer): Use with-silent-modifications.
8942 Simplify calling convention. Adjust callers.
8943 (iimage-mode): Don't run hook redundantly.
8945 * minibuffer.el (completion-pcm--pattern->regex):
8946 Fix last change (bug#6160).
8948 2010-05-10 Juri Linkov <juri@jurta.org>
8950 Remove nodes visited during Isearch from the Info history.
8951 * info.el (Info-isearch-initial-history)
8952 (Info-isearch-initial-history-list): New variables.
8953 (Info-isearch-start): Record initial values of
8954 Info-isearch-initial-history and Info-isearch-initial-history-list.
8955 Add Info-isearch-end to isearch-mode-end-hook.
8956 (Info-isearch-end): New function.
8958 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
8960 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
8961 format string, in order to work around a bug in pdksh.
8962 Reported by Gilles Pion <gpion@lfdj.com>.
8963 (tramp-handle-verify-visited-file-modtime): Do not send a command
8964 when the connection is not established.
8965 (tramp-handle-set-file-times): Simplify the check for utc.
8967 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
8969 Fix use of `filter-buffer-substring' (rework previous change).
8970 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
8971 (cua-repeat-replace-region):
8972 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
8973 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
8974 (cua-cut-region-to-global-mark): Use it.
8976 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
8978 * progmodes/sql.el: Version 2.1.
8979 (sql-product-alist): Redesign structure of product info.
8980 (sql-product, sql-user, sql-server, sql-database): Safe variables.
8981 (sql-port, sql-port-history): New variables.
8982 (sql-interactive-product): New variable.
8983 (sql-send-terminator): New variable.
8984 (sql-imenu-generic-expression): Add "Types" imenu entry.
8985 (sql-oracle-login-params, sql-sqlite-login-params)
8986 (sql-mysql-login-params, sql-solid-login-params)
8987 (sql-sybase-login-params, sql-informix-login-params)
8988 (sql-ingres-login-params, sql-ms-login-params)
8989 (sql-postgres-login-params, sql-interbase-login-params)
8990 (sql-db2-login-params, sql-linter-login-params)
8991 (sql-oracle-scan-on): New variables.
8992 (sql-mode-map): Add C-c C-i to start interactive mode.
8993 (sql-mode-menu): Update existing menu entries.
8994 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
8995 (sql-mode-oracle-font-lock-keywords)
8996 (sql-mode-postgres-font-lock-keywords)
8997 (sql-mode-ms-font-lock-keywords)
8998 (sql-mode-sybase-font-lock-keywords)
8999 (sql-mode-informix-font-lock-keywords)
9000 (sql-mode-interbase-font-lock-keywords)
9001 (sql-mode-ingres-font-lock-keywords)
9002 (sql-mode-solid-font-lock-keywords)
9003 (sql-mode-mysql-font-lock-keywords)
9004 (sql-mode-sqlite-font-lock-keywords)
9005 (sql-mode-db2-font-lock-keywords)
9006 (sql-mode-linter-font-lock-keywords): Update initialization to
9007 reduce run-time complexity.
9008 (sql-add-product, sql-del-product): New functions.
9009 (sql-set-product-feature, sql-get-product-feature): New functions.
9010 (sql-product-font-lock): Update product API.
9011 (sql-add-product-keywords): New function.
9012 (sql-highlight-product): Update product API.
9013 (sql-help-list-products): New function.
9014 (sql-help): Dynamically lists free and non-free products.
9015 (sql-get-login): Correct bug in handling history and added
9017 (sql-copy-column): Copy without properties.
9018 (sqli-input-sender): Apply filters to SQLi input.
9019 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
9020 Implement as a filter.
9021 (sql-escape-newlines-filter): Implement as a filter.
9022 (sql-remove-tabs-filter): New function.
9023 (sql-send-magic-terminator): New function.
9024 (sql-send-string): Implement magic terminator.
9025 (sql-send-region): Use `sql-send-string'.
9026 (sql-interactive-mode): Use product API.
9027 (sql-product-interactive): Use product API.
9028 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
9029 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
9030 (sql-db2, sql-linter): Use `sql-product-interactive'.
9031 (sql-connect): New function.
9032 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
9033 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
9034 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
9035 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
9038 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9040 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
9041 New custom variable.
9042 (completion-pcm--string->pattern): Use it.
9043 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
9044 Make it handle any symbol as `any'.
9045 (completion-pcm--merge-completions): Extract common suffix for the new
9046 `prefix' symbol as well.
9047 (completion-substring--all-completions): Use the new `prefix' symbol.
9049 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
9051 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
9053 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
9054 (tramp-compat-funcall): New defmacro.
9055 (tramp-compat-line-beginning-position)
9056 (tramp-compat-line-end-position)
9057 (tramp-compat-temporary-file-directory)
9058 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
9059 (tramp-compat-copy-file, tramp-compat-copy-directory)
9060 (tramp-compat-delete-file, tramp-compat-delete-directory)
9061 (tramp-compat-number-sequence, tramp-compat-process-running-p)
9062 * net/tramp.el (top, with-progress-reporter)
9063 (tramp-rfn-eshadow-setup-minibuffer)
9064 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
9065 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
9066 (tramp-completion-mode-p, tramp-check-for-regexp)
9067 (tramp-open-connection-setup-interactive-shell)
9068 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
9069 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
9070 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
9071 * net/tramp-cmds.el (tramp-cleanup-all-connections)
9072 (tramp-reporter-dump-variable, tramp-load-report-modules)
9073 (tramp-append-tramp-buffers)
9074 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
9076 * net/tramp-imap.el (top): Autoload `epg-make-context'.
9078 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9080 * progmodes/compile.el (compilation-buffer-modtime): Rename from
9081 buffer-modtime. Adjust users.
9083 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9085 * international/mule.el (auto-coding-alist): Only purecopy
9086 car of each item, not the whole list (Bug#6083).
9088 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9090 * progmodes/js.el (js-mode): Make paragraph variables local before
9091 calling c-setup-paragraph-variables (Bug#6071).
9093 2010-05-08 Eli Zaretskii <eliz@gnu.org>
9095 * composite.el (compose-region, reference-point-alist): Fix typos
9098 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9100 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
9101 gnuplot's "set" command.
9103 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9105 * abbrev.el (last-abbrev-text): Doc fix.
9106 (abbrev-prefix-mark): Don't escape parenthesis.
9108 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
9110 * composite.el (find-composition): Doc fix.
9112 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9114 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
9115 (sql-oracle-program, sql-sqlite-options)
9116 (sql-query-placeholders-and-send): Doc fixes.
9117 (sql-set-product, sql-interactive-mode): Reflow docstrings.
9118 (sql-imenu-generic-expression, sql-buffer)
9119 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
9120 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
9121 (sql-mode-sybase-font-lock-keywords)
9122 (sql-mode-informix-font-lock-keywords)
9123 (sql-mode-interbase-font-lock-keywords)
9124 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
9125 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
9126 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
9127 (sql-product-feature, sql-highlight-product)
9128 (comint-line-beginning-position, sql-rename-buffer)
9129 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
9130 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
9131 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
9132 Fix typos in docstrings.
9134 2010-05-08 Juri Linkov <juri@jurta.org>
9136 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
9137 property instead of `invisible' and `after-string' (bug#5998).
9139 2010-05-08 Juri Linkov <juri@jurta.org>
9141 * image-mode.el (image-mode-as-text): Fix typo in docstring.
9143 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9145 * filecache.el (file-cache-add-directory-list)
9146 (file-cache-add-directory-recursively): Fix typos in docstrings.
9148 2010-05-08 Kenichi Handa <handa@m17n.org>
9150 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
9151 (gujarati-composable-pattern): Fix typo.
9153 2010-05-08 Kenichi Handa <handa@m17n.org>
9155 * language/indian.el (oriya-composable-pattern)
9156 (tamil-composable-pattern, malayalam-composable-pattern):
9157 Add two-part vowels to "v" (vowel sign).
9159 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9161 * files.el (copy-directory): Handle symlinks (Bug#5982).
9163 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
9165 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
9166 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
9169 2010-05-08 Glenn Morris <rgm@gnu.org>
9171 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
9173 * minibuffer.el (completion-at-point): Doc fix.
9175 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9177 * electric.el (Electric-command-loop): Minor tweak.
9179 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
9180 better with dedicated windows.
9182 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
9184 * Version 23.2 released.
9186 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
9187 Stefan Monnier <monnier@iro.umontreal.ca>
9189 Highlight vendor specific properties.
9190 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
9191 (css-proprietary-property): New face.
9192 (css-font-lock-keywords): Use them.
9194 2010-05-07 Eli Zaretskii <eliz@gnu.org>
9196 * cus-start.el (all): Add native condition for tool-bar-* symbols.
9198 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9200 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
9201 * files.el (auto-mode-alist): Remove redundant entries.
9203 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
9204 * simple.el (auto-save-mode): Move from files.el.
9205 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
9207 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
9209 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
9211 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
9213 * mail/binhex.el (binhex-decode-region-internal)
9214 * mail/uudecode.el (uudecode-decode-region-internal)
9215 * net/dns.el (dns-read-string-name, dns-write, dns-read)
9216 (dns-read-type, dns-query)
9217 * pgg-parse.el (pgg-parse-armor)
9218 * pgg.el (pgg-verify-region)
9219 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
9222 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
9224 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
9226 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
9228 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
9229 * emulation/cua-base.el (cua-repeat-replace-region):
9230 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9231 (cua-cut-region-to-global-mark):
9232 Remove text properties with `set-text-properties'.
9234 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
9236 * net/tramp.el (top, with-progress-reporter):
9237 Use `symbol-function' inside `funcall'.
9239 * net/tramp-compat.el (tramp-compat-file-attributes)
9240 (tramp-compat-delete-file, tramp-compat-delete-directory):
9241 Handle only `wrong-number-of-arguments' error.
9243 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
9244 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
9247 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9249 * minibuffer.el (completion--sreverse, completion--common-suffix):
9251 (completion-pcm--merge-completions): Extract common suffix when safe.
9253 * emacs-lisp/easy-mmode.el (define-minor-mode):
9254 Make :variable more flexible.
9255 * files.el (auto-save-mode): Use it to define using define-minor-mode.
9257 2010-05-05 Juri Linkov <juri@jurta.org>
9259 Add `slow' and `history' tags to the desktop data.
9261 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
9262 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
9263 (Info-finder-find-node): Require `finder.el' to be able
9264 to restore node from the desktop.
9265 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
9266 data `Info-history' and `slow' tag in the assoc list.
9267 (Info-restore-desktop-buffer): Don't restore nodes with the
9268 `slow' tag. Restore `Info-history'.
9270 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
9272 Add FORCE argument to `delete-file'.
9274 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
9275 forcing to delete the temporary file.
9276 (ange-ftp-delete-file): Add FORCE arg.
9277 (ange-ftp-rename-remote-to-remote)
9278 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
9279 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
9280 Force file deletion.
9282 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
9284 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
9285 (tramp-handle-make-symbolic-link, tramp-handle-load)
9286 (tramp-do-copy-or-rename-file-via-buffer)
9287 (tramp-do-copy-or-rename-file-directly)
9288 (tramp-do-copy-or-rename-file-out-of-band)
9289 (tramp-handle-process-file, tramp-handle-call-process-region)
9290 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9291 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9292 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
9294 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
9295 (tramp-fish-handle-make-symbolic-link)
9296 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
9298 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9299 Use `tramp-compat-delete-file'.
9301 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
9302 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
9304 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
9305 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
9307 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
9308 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
9309 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
9310 Use `tramp-compat-delete-file'.
9312 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9315 * subr.el (add-minor-mode): Use push.
9316 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
9317 * emulation/edt.el (edt-select-mode): Simplify.
9319 Use define-minor-mode in more cases.
9320 * term/tvi970.el (tvi970-set-keypad-mode):
9321 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9322 (normal-erase-is-backspace-mode):
9323 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
9324 (set-scroll-bar-mode-1): (Re)move to its sole caller.
9325 (get-scroll-bar-mode): New function.
9326 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
9328 Use define-minor-mode for less obvious cases.
9329 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
9330 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
9331 * international/iso-ascii.el (iso-ascii-mode):
9332 * frame.el (auto-raise-mode, auto-lower-mode):
9333 * composite.el (global-auto-composition-mode): Use define-minor-mode.
9335 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
9337 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
9338 in order to see error messages for failed logins.
9340 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
9342 * diff.el (diff-sentinel):
9344 * epg.el (epg--make-temp-file, epg-decrypt-string)
9345 (epg-verify-string, epg-sign-string, epg-encrypt-string):
9347 * jka-compr.el (jka-compr-partial-uncompress)
9348 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
9350 * server.el (server-sentinel): Use delete-file's new FORCE arg
9353 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9355 Use define-minor-mode where applicable.
9356 * view.el (view-mode):
9357 * type-break.el (type-break-query-mode)
9358 (type-break-mode-line-message-mode):
9359 * textmodes/reftex.el (reftex-mode):
9360 * term/vt100.el (vt100-wide-mode):
9361 * tar-mode.el (tar-subfile-mode):
9362 * savehist.el (savehist-mode):
9363 * ibuf-ext.el (ibuffer-auto-mode):
9364 * composite.el (auto-composition-mode):
9365 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9366 Use define-minor-mode.
9367 (vhdl-mode): Use static mode-line format.
9368 (vhdl-mode-line-update): Delete.
9369 (vhdl-create-mode-menu, vhdl-activate-customizations)
9370 (vhdl-hs-minor-mode): Don't bother calling it.
9372 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
9374 * simple.el (with-wrapper-hook): Move.
9375 (buffer-substring-filters): Mark obsolete.
9376 (filter-buffer-substring-functions): New variable.
9377 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
9379 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
9380 Michael Albinus <michael.albinus@gmx.de>
9382 Implement compression for inline methods.
9384 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
9385 (tramp-copy-size-limit): Allow also nil.
9386 (tramp-inline-compress-commands): New defconst.
9387 (tramp-find-inline-compress, tramp-get-inline-compress)
9388 (tramp-get-inline-coding): New defuns.
9389 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
9390 replaced by `tramp-get-inline-coding'.
9391 (tramp-handle-file-local-copy, tramp-handle-write-region)
9392 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
9394 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9396 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
9397 Remove unused functions.
9399 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
9400 Set find-tag-default-function as a variable rather than a property.
9402 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
9403 * progmodes/etags.el (tags-completion-at-point-function):
9404 Remove left over interactive spec. Add autoloading stub.
9405 (complete-tag): Use tags-completion-at-point-function.
9407 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
9409 * minibuffer.el (tags-completion-at-point-function): Fix return value.
9411 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
9413 * ido.el (ido-init-completion-maps): Remove C-v binding.
9414 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
9416 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
9418 * minibuffer.el (tags-completion-at-point-function): New function.
9419 (completion-at-point-functions): Use it.
9421 * progmodes/etags.el (complete-tag): Revert last change.
9423 2010-04-29 Alan Mackenzie <acm@muc.de>
9425 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
9426 off-by-one error (in end of macro position).
9428 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9430 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
9431 firefox is absent. Don't autoload.
9432 (browse-url-galeon-program): Don't autoload.
9434 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
9436 * bindings.el (complete-symbol): Move into minibuffer.el.
9438 * minibuffer.el (complete-tag): Move from etags.el. If tags
9439 completion cannot be performed, return nil instead of signalling
9441 (completion-at-point): Make it an alias for complete-symbol.
9442 (complete-symbol): Move from bindings.el, and replace with the
9443 body of completion-at-point.
9445 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
9447 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
9449 * net/tramp.el (tramp-remote-selinux-p): New defun.
9450 (tramp-handle-file-selinux-context)
9451 (tramp-handle-set-file-selinux-context): Use it.
9453 2010-04-28 Sam Steingold <sds@gnu.org>
9455 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9456 `safe-local-variable' if the value is a string or a symbol with
9457 the property `bug-reference-url-format'.
9459 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
9461 * progmodes/bug-reference.el (bug-reference-url-format):
9462 Revert 2010-04-27 change due to security risk.
9464 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9466 Make it possible to locally disable a globally enabled mode.
9467 * simple.el (fundamental-mode): Run fundamental-mode-hook.
9468 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
9469 rather than kill-all-local-variables so it runs fundamental-mode-hook.
9470 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9471 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
9472 that subsequent hooks get a chance to disable it.
9474 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9476 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9477 Avoid re-enabling a minor mode after the user turned the minor mode
9478 off if MODE-enable-in-buffers is run twice (typically once from
9479 fundamental-mode's after-change-major-mode-hook and a second time from
9480 run-mode-hook's own after-change-major-mode-hook).
9482 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
9484 2010-04-27 Sam Steingold <sds@gnu.org>
9486 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9487 `safe-local-variable' if the value is a string or a function, as
9488 documented and implemented on 2010-04-02.
9490 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
9492 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
9493 when method is 'kill.
9495 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
9497 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
9498 condition in default directory check.
9499 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
9500 Kill ispell process when killing its associated buffer.
9502 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
9504 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
9505 but we aren't using it.
9507 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
9509 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
9510 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
9512 2010-04-24 Glenn Morris <rgm@gnu.org>
9514 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
9515 Ignore VCS-ignore files, and deleted nextstep preferences files.
9516 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
9517 (authors-ambiguous-files): New list.
9518 (authors-valid-file-names): Add some deleted files.
9519 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
9520 (authors-disambiguate-file-name): New function. (Bug#5501)
9521 (authors-canonical-file-name): Doc fix.
9522 Don't warn about obsolete files.
9523 (authors-canonical-file-name, authors-scan-el):
9524 Use authors-disambiguate-file-name.
9526 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9527 Add autoload cookies.
9528 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
9529 (generated-autoload-file): Set file-local value to "htmlfontify.el".
9530 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
9531 They have definitions / compiler macros in cl.el.
9532 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9533 Replace manual autoloads with generated ones.
9534 (htmlfontify-unload-rgb-file): Remove autoload.
9535 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
9537 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9539 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
9540 (byte-compile-setq-default): Optimize for the
9541 single-var case and don't call byte-compile-form in this case to avoid
9542 inf-loop with byte-compile-set-default.
9544 * progmodes/compile.el (compilation-start): Abbreviate default directory.
9546 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
9548 Implement SELINUX backends.
9550 * net/tramp.el (tramp-file-name-handler-alist):
9551 Add `file-selinux-context' and `set-file-selinux-context'.
9552 (tramp-handle-file-selinux-context)
9553 (tramp-handle-set-file-selinux-context): New defuns.
9554 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
9555 Handle PRESERVE-SELINUX-CONTEXT.
9557 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9558 Add `file-selinux-context' and `set-file-selinux-context'.
9559 (tramp-gvfs-handle-file-selinux-context)
9560 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
9561 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
9563 * net/ange-ftp.el (ange-ftp-copy-file):
9564 * net/tramp-fish.el (tramp-fish-handle-copy-file):
9565 * net/tramp-imap.el (tramp-imap-handle-copy-file):
9566 * net/tramp-smb.el (tramp-smb-handle-copy-file):
9567 Add PRESERVE-SELINUX-CONTEXT.
9569 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9571 Synchronize with Tramp repository.
9573 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
9574 (tramp-action-process-alive, tramp-action-out-of-band)
9575 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
9576 (tramp-exists-file-name-handler): Fix docstring.
9577 (with-progress-reporter): New defmacro.
9578 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
9579 (tramp-maybe-open-connection): Use it.
9581 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
9583 Detect ssh 'ControlMaster' argument automatically in some cases.
9585 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
9586 (tramp-default-method): Use it.
9588 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9590 * net/tramp.el (tramp-handle-copy-file): Add new optional
9591 parameter `preserve-selinux-context'.
9592 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
9594 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9596 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
9597 Ensure, that non remote files are still checked. Oops.
9599 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
9603 * icomplete.el (icomplete-completions): Use `non-essential'.
9605 * net/tramp.el (tramp-connectable-p): New defun.
9606 (tramp-handle-expand-file-name)
9607 (tramp-completion-handle-file-name-all-completions)
9608 (tramp-completion-handle-file-name-completion): Use it.
9610 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9612 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
9614 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
9616 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
9618 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
9620 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
9623 * info.el (info-tool-bar-map): Add labels.
9625 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
9627 * cus-edit.el (custom-commands): Add labels for tool bar.
9628 (custom-buffer-create-internal, Custom-mode): Adjust for
9629 labels in custom-commands.
9631 * dynamic-setting.el: Renamed from font-setting.el.
9633 2010-04-21 John Wiegley <jwiegley@gmail.com>
9635 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
9636 toggles the use of virtual buffers.
9637 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
9638 (ido-toggle-virtual-buffers): New function.
9640 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
9642 Use `define-derived-mode'; fix window selection; doc fixes.
9643 * play/tetris.el (tetris, tetris-update-speed-function)
9644 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
9645 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
9646 (tetris-rotate-next, tetris-end-game, tetris-start-game)
9647 (tetris-pause-game): Fix typos in docstrings.
9648 (tetris-mode-map, tetris-null-map):
9649 Move initialization into declaration.
9650 (tetris-mode): Define with `define-derived-mode';
9651 set show-trailing-whitespace to nil.
9652 (tetris): Prefer window already displaying the "*Tetris*" buffer.
9654 2010-04-21 Karel Klíč <kklic@redhat.com>
9656 * files.el (backup-buffer): Handle SELinux context, and return it
9657 if a backup was made by renaming.
9658 (backup-buffer-copy): Set SELinux context to the target file.
9659 (basic-save-buffer): Set SELinux context of the newly written file.
9660 (basic-save-buffer-1): Now it also returns any SELinux context.
9661 (basic-save-buffer-2): Set SELinux context of the newly created file,
9663 * net/tramp.el (tramp-file-name-for-operation):
9664 Add file-selinux-context.
9666 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9668 Make the log-edit comments use RFC822 format throughout.
9670 * vc.el (vc-checkin, vc-modify-change-comment):
9671 Adjust to new vc-start/finish-logentry.
9672 (vc-find-conflicted-file): New command.
9673 (vc-transfer-file): Adjust to new vc-checkin.
9674 (vc-next-action): Improve scoping.
9676 * vc-hg.el (vc-hg-log-edit-mode): Remove.
9677 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
9679 * vc-git.el (vc-git-log-edit-mode): Remove.
9680 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
9681 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
9683 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
9684 (vc-start-logentry): Remove argument `extra'.
9685 (vc-finish-logentry): Remove extra args.
9687 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
9688 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
9689 (vc-bzr-conflicted-files): New function.
9691 * log-edit.el (log-edit-extra-flags)
9692 (log-edit-before-checkin-process): Remove.
9693 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
9694 (log-edit-headers-alist): New var.
9695 (log-edit-header-contents-regexp): New const.
9696 (log-edit-match-to-eoh): New function.
9697 (log-edit-font-lock-keywords): Use them.
9698 (log-edit): Insert a "Summary:" header as default.
9699 (log-edit-mode): Mark font-lock rules as case-insensitive.
9700 (log-edit-done): Cleanup headers.
9701 (log-view-process-buffer): Remove.
9702 (log-edit-extract-headers): New function to replace it.
9704 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
9706 * subr.el (default-direction-reversed): Remove obsolescence info.
9708 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9710 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
9713 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
9714 I.e. include text after point in the completion region.
9715 Also, return nil when we're not after/in a symbol.
9717 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
9718 default enable-multibyte-characters.
9720 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9722 * international/mule.el: Help the user choose a valid coding-system.
9723 (read-buffer-file-coding-system): New function.
9724 (set-buffer-file-coding-system): Use it. Prompt the user if the
9725 coding-system cannot encode all the chars.
9727 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
9728 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
9729 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
9730 Don't use *vc-bzr-shelve*.
9732 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
9734 Fix the version number for added files.
9735 * vc-hg.el (vc-hg-working-revision): Check if the file is
9736 registered after hg parent fails (Bug#5961).
9738 2010-04-19 Glenn Morris <rgm@gnu.org>
9740 * htmlfontify.el (htmlfontify-buffer)
9741 (htmlfontify-copy-and-link-dir): Autoload entry points.
9743 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
9745 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
9746 name relative to the project root (Bug#5960).
9748 2010-04-19 Glenn Morris <rgm@gnu.org>
9750 * vc-git.el (vc-git-print-log): Doc fix.
9752 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
9754 * ido.el (ido-file-internal): Fix 2009-12-02 change.
9756 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
9758 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
9759 default settings (Bug#5928).
9761 2010-04-19 Glenn Morris <rgm@gnu.org>
9763 * progmodes/fortran.el (fortran-match-and-skip-declaration):
9765 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
9767 2010-04-19 Kenichi Handa <handa@m17n.org>
9769 * language/indian.el (malayalam-composable-pattern): Fix previous
9770 change (add U+0D4D "SIGN VIRAMA").
9771 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
9772 (tamil-composable-pattern): Fix typo in the regexp.
9773 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
9774 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
9775 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
9777 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
9779 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
9780 paragraph-separate (Bug#5821).
9782 2010-04-19 Juri Linkov <juri@jurta.org>
9784 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
9786 * info.el (Info-find-node-2): Comment out code that skips
9788 (Info-mouse-follow-link): New command.
9789 (Info-link-keymap): New keymap.
9790 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
9791 Return a string with links instead of inserting breadcrumbs
9793 (Info-fontify-node): Comment out code that inserts breadcrumbs.
9794 Instead of putting the `invisible' text property over the Info
9795 header, make an overlay over the Info header with the `invisible'
9796 property and `after-string' set to the string returned by
9799 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
9801 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
9802 Reported by monkey@sandpframing.com.
9804 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9806 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
9807 (tmm-get-keymap): Add key-binding shortcuts now that they're not
9808 available in the "keyseq cache" any more.
9810 * custom.el (defcustom): Add edebug spec.
9812 2010-04-18 Juri Linkov <juri@jurta.org>
9814 Test for special mode-class in view-buffer instead of view-file (bug#5513).
9816 * view.el (view-file, view-buffer): Move test for special mode-class
9817 from view-file to view-buffer.
9819 * tar-mode.el (tar-extract): Turn if's into one cond
9820 like in arc-mode.el.
9822 2010-04-18 Juri Linkov <juri@jurta.org>
9824 Add 7z archive format support (bug#5475).
9826 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
9827 (archive-7z-extract): New defcustom.
9828 (archive-find-type): Add magic string for 7z.
9829 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
9830 If `stderr-file' is non-nil, use `(t stderr-file)' for the
9831 `buffer' arg of `call-process'.
9832 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
9833 call the function `archive-7z-extract' with the variable
9834 `archive-7z-extract' let-bound to `archive-zip-extract'.
9835 (archive-7z-summarize, archive-7z-extract): New functions.
9837 * international/mule.el (auto-coding-alist):
9838 * files.el (auto-mode-alist): Add 7z file extension.
9840 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9842 * loadup.el: Setup hash-cons for pure data.
9844 Fix duplicate entries in cedet's loaddefs.el files.
9845 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
9846 Should make most file-local generated-autoload-file unnecessary.
9847 (print-readably): Silence warnings.
9848 (autoload-find-destination): Take load-name as an arg to make sure
9849 it's the same as the one that will be in the file.
9850 (autoload-generate-file-autoloads): Adjust to above changes.
9851 Try to make the dataflow a bit simpler.
9853 * cvs-status.el (cvs-refontify): Remove unused.
9855 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
9857 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
9859 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
9860 twos-complement mode.
9862 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
9864 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
9865 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
9866 (calc-inverse): Add "Option" to message, as appropriate.
9867 (calc-hyperbolic): Add "Option" to message, as appropriate.
9868 (calc-option, calc-is-option): New functions.
9870 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
9871 (calc-option-prefix-help): New function.
9873 * calc/calc-misc.el (calc-help): Add "Option" entry.
9875 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
9876 (calc-option-flag): New variable.
9877 (calc-do): Set `calc-option-flag to nil.
9878 (calc-set-mode-line): Add "Opt " as appropriate.
9880 2010-04-16 Juri Linkov <juri@jurta.org>
9882 Move scrolling commands from simple.el to window.el
9883 because their primitives are implemented in window.c.
9885 * simple.el (scroll-error-top-bottom)
9886 (scroll-up-command, scroll-down-command, scroll-up-line)
9887 (scroll-down-line, scroll-other-window-down)
9888 (beginning-of-buffer-other-window, end-of-buffer-other-window):
9889 * window.el (scroll-error-top-bottom)
9890 (scroll-up-command, scroll-down-command, scroll-up-line)
9891 (scroll-down-line, scroll-other-window-down)
9892 (beginning-of-buffer-other-window, end-of-buffer-other-window):
9893 Move from simple.el to window.el because their primitives are
9894 implemented in window.c.
9896 2010-04-16 Juri Linkov <juri@jurta.org>
9898 * isearch.el (isearch-lookup-scroll-key): Check both
9899 `isearch-scroll' and `scroll-command' properties.
9900 (scroll-up, scroll-down): Remove `isearch-scroll' property.
9902 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
9904 * simple.el (scroll-up-command, scroll-down-command)
9905 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
9907 2010-04-15 Juri Linkov <juri@jurta.org>
9909 * simple.el (scroll-up-command, scroll-down-command)
9910 (scroll-up-line, scroll-down-line): Put `scroll-command'
9911 property on the these symbols. Remove them from
9912 `scroll-preserve-screen-position-commands'.
9914 * mwheel.el (mwheel-scroll): Put `scroll-command' and
9915 `isearch-scroll' properties on the `mwheel-scroll' symbol.
9916 Remove it from `scroll-preserve-screen-position-commands'.
9918 * isearch.el (isearch-allow-scroll): Doc fix.
9920 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
9922 * net/tramp.el (tramp-error-with-buffer): Don't show the
9923 connection buffer when we are in completion mode.
9924 (tramp-file-name-handler): Catch the error for some operations
9925 when we are in completion mode. This gives the user the chance to
9926 correct the file name in the minibuffer.
9928 2010-04-15 Glenn Morris <rgm@gnu.org>
9930 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
9932 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
9934 Simplify by using `define-derived-mode'.
9935 * info.el (Info-mode):
9936 * calendar/todo-mode.el (todo-mode):
9937 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
9938 (gomoku-mode-map): Move initialization into declaration.
9940 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
9943 * ido.el (ido-file-name-all-completions-1):
9944 * minibuffer.el (minibuffer-completion-help):
9945 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
9947 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9949 * simple.el (non-essential): New var.
9951 Add a new field `location' to bookmarks for non-file bookmarks.
9952 * bookmark.el (bookmark-location): Use the new field, if present.
9953 (bookmark-insert-location): Undo last change, not needed any more.
9954 * man.el (Man-bookmark-make-record):
9955 * woman.el (woman-bookmark-make-record): Add `location' field.
9957 2010-04-14 Juri Linkov <juri@jurta.org>
9959 * simple.el (scroll-error-top-bottom): New defcustom.
9960 (scroll-up-command, scroll-down-command): Use it. Doc fix.
9962 * emulation/pc-select.el (pc-select-override-scroll-error):
9963 Obsolete in favor of `scroll-error-top-bottom'.
9965 2010-04-14 Juri Linkov <juri@jurta.org>
9967 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
9968 `scroll-up-command' and `M-v' to `scroll-down-command'.
9970 * emulation/cua-rect.el (cua--init-rectangles):
9971 * forms.el (forms--change-commands):
9972 * image-mode.el (image-mode-map):
9973 Remap scroll-down-command and scroll-up-command
9974 in addition to scroll-down and scroll-up.
9976 2010-04-14 Juri Linkov <juri@jurta.org>
9978 * mwheel.el (scroll-preserve-screen-position-commands):
9979 Add mwheel-scroll to this list of commands.
9981 * simple.el (scroll-preserve-screen-position-commands):
9982 Add scroll-up-command, scroll-down-command, scroll-up-line,
9983 scroll-down-line to this list of commands.
9985 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9987 * obsolete/complete.el: Move from lisp/complete.el.
9989 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
9991 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
9992 to the minor mode function now turns the mode ON unconditionally.
9994 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9996 * vc-dir.el (vc-dir-kill-line): New command.
9997 (vc-dir-mode-map): Bind it to C-k.
9999 * bookmark.el (bookmark-insert-location): Handle a nil filename.
10001 * woman.el: Add bookmark declarations to silence the compiler.
10002 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
10003 step to compatibility between man and woman bookmarks.
10004 Adjust for Man-default-bookmark-title renaming.
10005 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
10007 * man.el: Add bookmark declarations to silence the compiler.
10008 (Man-name-local-regexp): Make it match NAME as well.
10009 (Man-getpage-in-background): Return the buffer.
10010 (Man-notify-when-ready): Use `case'.
10011 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
10012 Don't hardcode "NAME". Simplify.
10013 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
10014 Rename from Man-bookmark-make-record.
10015 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
10016 we have the actual man-args. Use Man-getpage-in-background rather
10017 than `man' since the arg is already processed. Let bookmark.el do the
10018 window handling. Only wait for the relevant process.
10019 Don't forget to autoload.
10021 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
10023 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10025 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
10027 (woman-mode): Setup bookmark support.
10029 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
10030 (man-bookmark-jump): New functions.
10031 (Man-mode): Setup bookmark support.
10033 2010-04-10 Jari Aalto <jari.aalto@cante.net>
10035 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
10036 recognize ssh-keygen prompt (Bug#2817).
10038 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10040 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
10042 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10044 Synchronize with Tramp repository.
10046 * net/tramp.el (tramp-completion-function-alist)
10047 (tramp-file-name-regexp, tramp-chunksize)
10048 (tramp-local-coding-commands, tramp-remote-coding-commands):
10050 (tramp-remote-process-environment): Use `format' instead of `concat'.
10051 (tramp-handle-directory-files-and-attributes)
10052 (tramp-get-remote-path): Use `copy-tree'.
10053 (tramp-handle-file-name-all-completions): Backward/ XEmacs
10054 compatibility: Use `completion-ignore-case' if
10055 `read-file-name-completion-ignore-case' does not exist.
10056 (tramp-do-copy-or-rename-file-directly): Do not use
10057 `tramp-handle-file-remote-p'.
10058 (tramp-do-copy-or-rename-file-out-of-band):
10059 Use `tramp-compat-delete-directory'.
10060 (tramp-do-copy-or-rename-file-out-of-band)
10061 (tramp-compute-multi-hops, tramp-maybe-open-connection):
10062 Use `format-spec-make'.
10063 (tramp-find-foreign-file-name-handler)
10064 (tramp-advice-make-auto-save-file-name)
10065 (tramp-set-auto-save-file-modes): Remove superfluous check for
10066 `stringp'. This is done inside `tramp-tramp-file-p'.
10067 (tramp-debug-outline-regexp): New defconst.
10068 (tramp-get-debug-buffer): Use it.
10069 (tramp-check-for-regexp): Use (forward-line 1).
10070 (tramp-set-auto-save-file-modes): Adapt version check.
10072 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
10073 Wrap call of `featurep' for 2nd argument.
10074 (tramp-compat-make-temp-file): Simplify fallback implementation.
10075 (tramp-compat-copy-tree): Remove function.
10076 (tramp-compat-delete-directory): Provide implementation for older
10079 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
10080 Do not use `tramp-fish-handle-file-attributes.
10082 * net/trampver.el: Update release number.
10084 2010-04-10 Glenn Morris <rgm@gnu.org>
10086 * progmodes/compile.el (compilation-save-buffers-predicate):
10087 Add missing :version tag.
10089 2010-04-09 Sam Steingold <sds@gnu.org>
10091 * progmodes/compile.el (compilation-save-buffers-predicate):
10092 Remove the "autoload" cookie.
10094 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
10095 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
10096 and `bug-reference-prog-mode' can be used in hooks directly.
10098 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
10100 Add --author support to git commit.
10101 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
10102 (vc-git-log-edit-mode): New minor mode.
10103 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
10106 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
10108 * vc-hooks.el, vc-git.el: Improve documentation comments.
10110 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10112 Fix some of the problems in defsubst* (bug#5728).
10113 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
10114 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
10116 2010-04-07 Sam Steingold <sds@gnu.org>
10118 * progmodes/compile.el (compilation-save-buffers-predicate):
10119 New custom variable.
10120 (compile, recompile): Pass it to `save-some-buffers'.
10122 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
10124 * wid-edit.el (widget-choose): Move cursor to the second line of
10125 the buffer (Bug#5695).
10127 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
10129 Add new VC methods: vc-log-incoming and vc-log-outgoing.
10130 * vc.el (vc-print-log-setup-buttons): New function split out from
10131 vc-print-log-internal.
10132 (vc-log-internal-common): New function, a parametrized version of
10133 vc-print-log-internal.
10134 (vc-print-log-internal): Just call vc-log-internal-common with the
10136 (vc-incoming-outgoing-internal):
10137 (vc-log-incoming, vc-log-outgoing): New functions.
10138 (vc-log-view-type): New permanent local variable.
10140 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
10142 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
10143 of the dynamic bound vc-short-log.
10144 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
10146 * vc-git.el (vc-git-log-outgoing): New function.
10147 (vc-git-log-view-mode): Use vc-log-view-type instead
10148 of the dynamic bound vc-short-log.
10150 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
10151 of the dynamic bound vc-short-log. Highlight the tag.
10152 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
10153 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
10154 (vc-hg-incoming-mode): Remove.
10155 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
10157 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
10159 Fix default-directory for vc-root-diff.
10160 * vc.el (vc-root-diff): Bind default-directory to the root
10161 directory for the diff command.
10163 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
10165 * progmodes/verilog-mode.el (verilog-forward-sexp):
10166 (verilog-calc-1): Support "disable fork" and "fork wait" multi
10167 word keywords, suggested by Steve Pearlmutter.
10168 (verilog-pretty-declarations): Support lineup of declarations in
10170 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
10171 fix bug for /* / comments.
10172 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
10173 Speed up and simplfy as this is never called with a bound.
10174 (verilog-pretty-declarations): Enhance to line up declarations
10175 inside a parameter list, suggested by Alan Morgan.
10176 (verilog-pretty-expr): Tune assignment regular expression match
10177 string for corner cases; also use markers instead of character
10178 number as indent changes the later.
10180 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
10182 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
10183 as missing keyword.
10184 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
10185 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
10186 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
10187 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
10189 (verilog-keywords):
10190 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
10191 1800-2009 keywords, including "global.".
10193 2010-04-06 John Wiegley <jwiegley@gmail.com>
10195 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
10196 appearing in buffer list (if a live buffer name matched a recentf
10197 file basename). Should use uniquify to offer a real solution.
10199 2010-04-06 John Wiegley <jwiegley@gmail.com>
10201 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
10202 comment to code, and add a :version tag.
10203 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
10205 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
10207 Enable recentf-mode if using virtual buffers.
10208 * ido.el (recentf-list): Declare for byte-compiler.
10209 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
10210 (ido-make-buffer-list): Simplify.
10211 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
10213 2010-04-05 Juri Linkov <juri@jurta.org>
10215 Scrolling commands which scroll a line instead of full screen.
10216 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10218 * simple.el (scroll-up-line, scroll-down-line): New commands.
10219 Put property isearch-scroll=t on them.
10221 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
10224 2010-04-05 Juri Linkov <juri@jurta.org>
10226 Scrolling commands which do not signal errors at top/bottom.
10227 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10229 * simple.el (scroll-up-command, scroll-down-command): New commands.
10230 Put property isearch-scroll=t on them.
10232 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
10233 `scroll-down-command' and [next] from `scroll-up' to
10234 `scroll-up-command'.
10236 * emulation/cua-base.el: Put property CUA=move on
10237 `scroll-up-command' and `scroll-down-command'.
10238 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
10239 and `scroll-down-command' to `cua-scroll-down'.
10241 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
10243 * help.el (describe-mode): Return nil.
10245 2010-04-04 John Wiegley <jwiegley@gmail.com>
10247 * ido.el (ido-use-virtual-buffers): New variable to indicate
10248 whether "virtual buffer" support is enabled for IDO.
10249 (ido-virtual): Face used to indicate virtual buffers in the list.
10250 (ido-buffer-internal): If a buffer is chosen, and no such buffer
10251 exists, but a virtual buffer of that name does (which would be why
10252 it was in the list), recreate the buffer by reopening the file.
10253 (ido-make-buffer-list): If virtual buffers are being used, call
10254 `ido-add-virtual-buffers-to-list' before the make list hook.
10255 (ido-virtual-buffers): New variable which contains a copy of the
10256 current contents of the `recentf-list', albeit pared down for the
10257 sake of speed, and with proper faces applied.
10258 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
10259 create a list of "virtual buffers" to present to the user in
10260 addition to the currently open set. Note that this logic could
10261 get rather slow if that list is too large. With the default
10262 `recentf-max-saved-items' of 200, there is little speed penalty.
10264 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
10266 * font-lock.el: Require CL when compiling.
10267 (font-lock-turn-on-thing-lock): Use `case'.
10269 2010-04-03 Eli Zaretskii <eliz@gnu.org>
10271 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
10274 2010-04-02 Juri Linkov <juri@jurta.org>
10276 * ehelp.el (electric-help-orig-major-mode):
10277 New buffer-local variable.
10278 (electric-help-mode): Set it to original major-mode. Doc fix.
10279 (with-electric-help): Use `electric-help-orig-major-mode' instead
10280 of (default-value 'major-mode). Doc fix.
10281 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
10283 2010-04-02 Sam Steingold <sds@gnu.org>
10285 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
10286 `vc-hg-command' with a list of flags.
10288 * progmodes/bug-reference.el (bug-reference-bug-regexp):
10289 Also accept "patch" and "RFE".
10290 (bug-reference-fontify): `bug-reference-url-format' can also be a
10291 function to be able to handle the bug kind.
10292 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
10294 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
10296 * tmm.el (tmm-get-keymap): Check with symbolp before passing
10297 value to fboundp, it may not be a symbol.
10299 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10301 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
10303 2010-03-31 Juri Linkov <juri@jurta.org>
10305 * simple.el (next-line, previous-line): Re-throw a signal
10306 with `signal' instead of using `ding'.
10307 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
10309 2010-03-31 Juri Linkov <juri@jurta.org>
10311 * simple.el (keyboard-escape-quit): Raise deselecting the active
10312 region higher than exiting the minibuffer.
10313 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
10315 2010-03-31 Juri Linkov <juri@jurta.org>
10317 * image.el (image-animated-p): Use `image-metadata' instead of
10318 `image-extension-data'. Get GIF extenstion data from metadata
10319 property `extension-data'.
10321 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10323 * simple.el (append-to-buffer): Simplify.
10325 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
10327 * textmodes/artist.el (artist-mode): Fix typo in docstring.
10328 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
10330 2010-03-31 Kenichi Handa <handa@m17n.org>
10332 * language/sinhala.el (composition-function-table): Fix regexp for
10333 the new Unicode specification.
10335 * language/indian.el (devanagari-composable-pattern)
10336 (tamil-composable-pattern, kannada-composable-pattern)
10337 (malayalam-composable-pattern): Adjust for the new Unicode
10339 (bengali-composable-pattern, gurmukhi-composable-pattern)
10340 (gujarati-composable-pattern, oriya-composable-pattern)
10341 (telugu-composable-pattern): New variables to cope with the new
10342 Unicode specification. Use them in composition-function-table.
10344 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10346 Make tmm-menubar work for the Buffers menu again (bug#5726).
10347 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
10348 vectors rather than cons cells, as used in menu-bar-update-buffers.
10350 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10352 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
10353 (js-insert-and-indent): Revert 2009-08-15 change, restoring
10354 electric punctuation for "{}();,:" (Bug#5586).
10356 * mail/sendmail.el (mail-default-directory): Doc fix.
10358 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10360 * mail/sendmail.el (mail-default-directory): Doc fix.
10362 2010-03-31 Eli Zaretskii <eliz@gnu.org>
10364 * subr.el (version-regexp-alist, version-to-list)
10365 (version-list-<, version-list-=, version-list-<=)
10366 (version-list-not-zero, version<, version<=, version=): Doc fix.
10369 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
10371 * vc.el (vc-root-diff): Doc fix.
10373 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10375 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
10377 * simple.el (append-to-buffer): Fix last change.
10379 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10381 * simple.el (append-to-buffer): Ensure that point is preserved if
10382 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
10385 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10387 * files.el (auto-mode-case-fold): Change default to t.
10389 2010-03-30 Juri Linkov <juri@jurta.org>
10391 * dired-x.el (dired-omit-mode): Doc fix.
10393 2010-03-30 Juri Linkov <juri@jurta.org>
10395 * replace.el (occur-accumulate-lines): Move occur-engine related
10396 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
10397 to be located after `occur-engine'.
10399 2010-03-30 Juri Linkov <juri@jurta.org>
10401 Make occur handle multi-line matches cleanly with context.
10402 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
10404 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
10405 (occur-engine): Add local variables `ret', `prev-after-lines',
10406 `prev-lines'. Use more arguments for `occur-context-lines'.
10407 Set first elem of its returned list to `data', and the second elem
10408 to `prev-after-lines'. Don't print the separator line.
10409 In the end, print remaining context after-lines.
10410 (occur-context-lines): Add new arguments `begpt', `endpt',
10411 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
10412 after-lines of the previous match with before-lines of the
10413 current match and not overlap them. Return a list with two
10414 values: the output line and the list of context after-lines.
10416 2010-03-30 Juri Linkov <juri@jurta.org>
10418 * replace.el (occur-accumulate-lines): Fix a bug where the first
10419 context line at the beginning of the buffer was missing.
10421 2010-03-30 Eli Zaretskii <eliz@gnu.org>
10423 * files.el: Make bidi-display-reordering safe variable for boolean
10426 2010-03-29 Phil Hagelberg <phil@evri.com>
10427 Chong Yidong <cyd@stupidchicken.com>
10429 * subr.el: Extend progress reporters to perform "spinning".
10430 (progress-reporter-update, progress-reporter-do-update):
10431 Handle non-numeric value arguments.
10432 (progress-reporter--pulse-characters): New var.
10434 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
10436 * progmodes/compile.el (compilation-start): Fix regexp detection
10437 of initial cd command (Bug#5771).
10439 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
10441 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
10443 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
10445 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
10446 * progmodes/gdb-mi.el: Restore.
10447 * progmodes/gdb-ui.el: Remove.
10448 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
10450 2010-03-25 Glenn Morris <rgm@gnu.org>
10452 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
10453 all dired buffers, even tramp ones. (Bug#5755)
10455 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10457 Add "union tags" in mpc.el.
10458 * mpc.el: Remove backward compatibility code.
10459 (mpc-browser-tags): Change default.
10460 (mpc--find-memoize-union-tags): New var.
10461 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
10462 (mpc-cmd-find): Handle the case where the playlist does not exist.
10464 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
10465 (mpc-cmd-add): Use mpc-cmd-flush.
10466 (mpc-tagbrowser-tag-name): New fun.
10467 (mpc-tagbrowser-buf): Use it.
10468 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
10470 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10473 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
10474 Use replace-regexp-in-string.
10475 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
10476 (makefile-imake-mode-syntax-table): Move init into defvar.
10477 (makefile-mode): Use define-derived-mode.
10479 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
10480 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
10481 not be present any more.
10483 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10485 * faces.el (set-face-attribute): Fix typo in docstring.
10486 (face-valid-attribute-values): Reflow docstring.
10488 2010-03-24 Glenn Morris <rgm@gnu.org>
10490 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
10492 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
10494 * indent.el (indent-for-tab-command): Doc fix.
10496 2010-03-24 Alan Mackenzie <acm@muc.de>
10498 * progmodes/cc-engine.el (c-remove-stale-state-cache):
10499 Fix off-by-one error. Fixes bug #5747.
10501 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10503 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
10504 (image-dired-read-comment): Doc fix.
10506 * json.el (json-object-type, json-array-type, json-key-type)
10507 (json-false, json-null, json-read-number):
10508 * minibuffer.el (completion-in-region-functions):
10509 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
10510 (cal-tex-cursor-week):
10511 * emacs-lisp/trace.el (trace-function):
10512 * eshell/em-basic.el (eshell/printnl):
10513 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
10514 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
10515 * obsolete/levents.el (allocate-event, event-key, event-object)
10516 (event-point, event-process, event-timestamp, event-to-character)
10517 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
10518 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
10519 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
10520 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
10521 (reftex-highlight-selection): Fix typos in docstrings.
10523 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10525 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
10527 2010-03-24 Glenn Morris <rgm@gnu.org>
10529 * mail/rmail.el (rmail-highlight-face): Restore option deleted
10530 2008-02-13 without comment; mark it obsolete.
10531 (rmail-highlight-headers): Use rmail-highlight-face once more.
10533 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
10535 * woman.el (woman2-process-escapes): Only consume the newline if
10536 the filler character is on a line by itself (Bug#5729).
10538 2010-03-24 Kenichi Handa <handa@m17n.org>
10540 * language/indian.el (devanagari-composable-pattern): Add more
10543 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
10545 * net/trampver.el: Update release number.
10547 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
10549 * net/tramp.el (tramp-find-executable):
10550 Use `tramp-get-connection-buffer'. Make the regexp for checking
10551 output of "wc -l" more robust.
10552 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
10553 (tramp-open-connection-setup-interactive-shell): Remove workaround
10554 for OpenSolaris bug, it is not needed anymore.
10556 2010-03-24 Glenn Morris <rgm@gnu.org>
10558 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
10560 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
10562 * files.el (auto-mode-alist): Accept more verilog file patterns.
10564 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10566 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
10568 2010-03-24 Glenn Morris <rgm@gnu.org>
10570 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
10571 log-edit-before-checkin-process.
10573 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
10575 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
10577 * vc-dispatcher.el (vc-start-logentry): Doc fix.
10578 (log-view-process-buffer, log-edit-extra-flags): Declare.
10580 * log-edit.el (log-edit-before-checkin-process): Doc fix.
10582 2010-03-23 Sam Steingold <sds@gnu.org>
10584 Fix bug#5620: recalculate all markers on compilation buffer
10585 modifications, not on file modifications.
10586 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
10587 variable: the buffer modification time, for buffers not associated with
10589 (compilation-mode): Create it.
10590 (compilation-filter): Update it.
10591 (compilation-next-error-function): Use it instead of
10592 `visited-file-modtime' for timestamp.
10594 2010-03-23 Juri Linkov <juri@jurta.org>
10596 Implement Occur multi-line matches.
10597 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
10599 * replace.el (occur): Doc fix.
10600 (occur-engine): Set `begpt' to the beginning of the first line.
10601 Set `endpt' to the end of the last match line. At first, count
10602 line numbers between `origpt' and `begpt'. Split out code from
10603 `out-line' variable to new let-bindings `match-prefix' and
10604 `match-str'. In `out-line' add non-numeric prefix to all
10605 non-first lines of multi-line matches. Finally, count lines
10606 between `begpt' and `endpt' and add to `lines'.
10608 2010-03-23 Juri Linkov <juri@jurta.org>
10610 * replace.el (occur-accumulate-lines, occur-engine):
10611 Use `occur-engine-line' instead of duplicate code.
10612 (occur-engine-line): New function created from duplicate code
10613 in `occur-accumulate-lines' and `occur-engine'.
10615 * replace.el (occur-engine-line): Add optional arg `keep-props'.
10616 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
10618 2010-03-23 Juri Linkov <juri@jurta.org>
10620 * finder.el: Remove TODO tasks.
10622 * info.el (Info-finder-find-node): Add node "all"
10623 with all package info. Handle a list of multiple keywords
10624 separated by comma.
10625 (info-finder): In interactive use with a prefix argument,
10626 use `completing-read-multiple' to read a list of keywords
10627 separated by comma.
10629 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10631 Add a new completion style `substring'.
10632 * minibuffer.el (completion-basic--pattern): New function.
10633 (completion-basic-try-completion, completion-basic-all-completions):
10635 (completion-substring--all-completions)
10636 (completion-substring-try-completion)
10637 (completion-substring-all-completions): New functions.
10638 (completion-styles-alist): New style `substring'.
10640 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
10642 Get rid of .elc files after removal of the corresponding .el.
10643 * Makefile.in (compile-clean): New target.
10644 (compile-main): Use it.
10646 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
10648 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
10649 don't do make there. When compiling with separate object dir, there
10650 is no Makefile there.
10652 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
10654 Get rid of the ELCFILES abomination, again.
10655 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
10656 (all, compile): Don't call compile-last.
10657 (compile-main): Build the "elcfiles" list dynamically.
10658 (compile-targets): New (internal) target.
10660 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
10662 * Makefile.in (top_srcdir): Define.
10663 (abs_top_builddir): Define.
10664 (srcdir): Don't append `/..'.
10665 (EMACS): Use ${abs_top_builddir}.
10666 (all, compile, compile-always, compile-last): Don't set emacswd.
10667 (update-subdirs, update-authors): Use $(top_srcdir) instead of
10669 (lisp): Use $(srcdir) instead of @srcdir@.
10671 2010-03-21 Juri Linkov <juri@jurta.org>
10673 Fix message of multi-line occur regexps and multi-buffer header lines.
10674 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
10676 * replace.el (occur-1): Don't display regexp if it is longer
10677 than window-width. Use `query-replace-descr' to display regexp.
10678 (occur-engine): Don't display regexp in the buffer header for
10679 multi-buffer occur. Display a separate header line with total
10680 match count and regexp for multi-buffer occur.
10681 Use `query-replace-descr' to display regexp.
10683 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
10685 * net/secrets.el: Fix parenthesis.
10686 (secrets-enabled): Fix parenthesis.
10688 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10690 Use more relative file and directory names.
10691 * Makefile.in (EMACS): Arrange for it to work when we chdir.
10692 (setwins, setwins_almost, setwins_for_subdirs):
10693 Don't `cd'; output relative names.
10694 (all, compile, compile-always, compile-last): Set emacswd.
10695 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
10696 Just cd to the lisp source dir so we can use relative file names.
10698 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
10700 2010-03-20 Glenn Morris <rgm@gnu.org>
10702 * textmodes/rst.el: Use faces for font-lock customization, and make the
10703 old -face variables obsolete.
10704 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
10705 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
10706 (rst-block-face, rst-external-face, rst-definition-face)
10707 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
10708 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
10710 (rst-font-lock-keywords-function): Update for above changes.
10712 2010-03-20 Juri Linkov <juri@jurta.org>
10715 * obsolete/s-region.el: Move to obsolete.
10717 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
10719 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
10721 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
10723 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
10725 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
10727 Add special markup processing for commit logs.
10728 * log-edit.el (log-edit-extra-flags): New variable.
10729 (log-edit): Add new argument MODE. Use that mode when non-nil
10730 instead of the log-view-mode.
10731 (log-view-process-buffer): New function.
10733 * vc.el: Document that the checkin method takes optional
10734 arguments. Document new backend specific method: log-view-mode.
10735 (vc-default-log-edit-mode): New function.
10736 (vc-checkin): Use a backend specific log-view-mode.
10737 Pass extra arguments to the checkin method.
10738 (vc-modify-change-comment): Pass a dummy extra argument.
10740 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
10742 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
10743 (vc-finish-logentry): Process the log buffer before passing it
10744 down. Pass log-edit-extra-flags.
10746 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
10748 (log-edit-extra-flags, log-edit-before-checkin-process):
10751 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
10753 (log-edit-extra-flags, log-edit-before-checkin-process):
10755 (vc-hg-log-edit-mode): New derived mode.
10757 * vc-arch.el (vc-arch-checkin):
10758 * vc-cvs.el (vc-cvs-checkin):
10759 * vc-git.el (vc-git-checkin):
10760 * vc-mtn.el (vc-mtn-checkin):
10761 * vc-rcs.el (vc-rcs-checkin):
10762 * vc-sccs.el (vc-sccs-checkin):
10763 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
10765 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10767 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
10770 2010-03-19 Glenn Morris <rgm@gnu.org>
10772 * password-cache.el (password-cache, password-cache-expiry): Autoload.
10774 2010-03-18 Glenn Morris <rgm@gnu.org>
10776 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
10778 * replace.el (query-replace-history): Give it a doc string.
10779 (map-query-replace-regexp): Use query-replace-from-history-variable
10780 and query-replace-to-history-variable.
10782 * mail/hashcash.el (declare-function): Remove duplicate definition.
10784 * mail/emacsbug.el (report-emacs-bug-pretest-address):
10785 Make it an obsolete alias for report-emacs-bug-address.
10786 (message-strip-special-text-properties): Declare.
10787 (report-emacs-bug): Remove test for a pretest bug address.
10788 Combine message-mode-specific code.
10790 * mail/supercite.el: Don't require sendmail.
10791 (mh-in-header-p): Declare rather than using with-no-warnings.
10792 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
10793 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
10795 * calendar/cal-french.el: Convert to utf-8.
10797 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
10800 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
10802 * net/secrets.el (secrets-enabled): New variable. Use it instead
10805 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
10807 * net/secrets.el (top): Register the D-Bus signals only when the
10808 service "org.freedesktop.secrets" can be pinged.
10809 Provide subfeature `enabled'.
10811 2010-03-14 Juri Linkov <juri@jurta.org>
10813 Add finder unknown keywords.
10815 * finder.el (finder-unknown-keywords): New function.
10817 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
10818 to create a Finder node with unknown keywords.
10820 2010-03-14 Juri Linkov <juri@jurta.org>
10822 * finder.el (finder-compile-keywords): Replace `princ' with
10823 `prin1' on a list of symbols interned from keyword strings.
10825 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
10826 a comma, then split keywords using a comma and optional whitespace.
10827 Otherwise, split by whitespace.
10835 * progmodes/mixal-mode.el: Fix keywords.
10837 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
10839 * Makefile.in (ELCFILES): Add net/secrets.elc.
10841 * net/secrets.el: New file.
10843 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10845 * facemenu.el (list-colors-display, list-colors-print): New arg
10846 callback. Use it to allow selecting colors.
10848 * wid-edit.el (widget-image-insert): Insert image prop even if the
10849 current display is non-graphic.
10850 (widget-field-value-set): New fun.
10851 (editable-field): Use it.
10852 (widget-field-value-get): Clean up unused var.
10853 (widget-color-value-create, widget-color--choose-action):
10854 New funs. Allow using list-colors-display to choose color.
10856 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10858 * cus-edit.el: Resort topmost custom groups.
10859 (custom-buffer-sort-alphabetically): Default to t.
10860 (customize-apropos): Use apropos-parse-pattern.
10861 (custom-search-field): New var.
10862 (custom-buffer-create-internal): Add custom-apropos search field.
10863 (custom-add-parent-links): Don't display parent doc.
10864 (custom-group-value-create): Don't sort top-level custom group.
10865 (custom-magic-value-create): Show visibility button before option name.
10867 (custom-variable-state): New fun, from custom-variable-state-set.
10868 (custom-variable-state-set): Use it.
10869 (custom-group-value-create): Hide options with standard values
10870 using the :hidden-states property. Use progress reporter.
10872 (custom-show): Simplify.
10873 (custom-visibility): Disable images by default.
10874 (custom-variable): New property :hidden-states.
10875 (custom-variable-value-create): Enable images for
10876 custom-visibility widgets. Use :hidden-states property to
10877 determine initial visibility.
10879 * wid-edit.el (widget-image-find): Give images center ascent.
10880 (visibility): Add :on-image and :off-image properties.
10881 (widget-visibility-value-create): Use them.
10883 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10885 * cus-edit.el (processes): Remove from development group.
10886 (oop, hypermedia): Delete group.
10887 (comm): Promote to top-level group.
10889 * net/browse-url.el (browse-url):
10890 * net/xesam.el (xesam):
10891 * net/tramp.el (tramp):
10892 * net/goto-addr.el (goto-address):
10893 * net/ange-ftp.el (ange-ftp): Put in comm group.
10895 * view.el (view): Remove from editing group.
10897 * uniquify.el (uniquify): Put in files group.
10899 * net/browse-url.el (browse-url):
10900 * ps-print.el (postscript): Put in external group.
10902 * cus-edit.el (outlines):
10903 * textmodes/text-mode.el (text-mode-hook):
10904 * textmodes/table.el (table):
10905 * textmodes/picture.el (picture):
10906 * outline.el (outlines): Put in wp group.
10908 * nxml/nxml-mode.el (nxml): Remove from wp group.
10910 * net/tramp-imap.el (tramp-imap): Put in tramp group.
10912 * mail/metamail.el (metamail): Remove from hypermedia group.
10914 * cus-edit.el (abbrev):
10915 * whitespace.el (whitespace):
10916 * vcursor.el (vcursor):
10917 * reveal.el (reveal):
10918 * hl-line.el (hl-line): Put in convenience group.
10920 * epg-config.el (epg): Put in data group.
10922 * emulation/pc-select.el (pc-select): Put in emulations group.
10924 * calculator.el (calculator): Put in applications group.
10926 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
10928 Add .dir-locals.el support for file-less buffers.
10929 * files.el (hack-local-variables): Split out code to apply local
10930 variable settings ...
10931 (hack-local-variables-apply): ... here. New function.
10932 (hack-dir-local-variables): Use the default directory for when the
10933 buffer does not have an associated file.
10934 (hack-dir-local-variables-non-file-buffer): New function.
10935 * diff-mode.el (diff-mode):
10936 * vc-annotate.el (vc-annotate-mode):
10937 * vc-dir.el (vc-dir-mode):
10938 * log-edit.el (log-edit-mode):
10939 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
10941 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
10943 Add support for shelving snapshots and for showing shelves.
10944 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
10945 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
10947 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
10948 (vc-bzr-extra-menu-map): Map them.
10950 2010-03-11 Glenn Morris <rgm@gnu.org>
10952 * cus-edit.el (customize-changed-options-previous-release):
10955 * image.el (image-animate-max-time): Fix :version tag.
10957 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
10961 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
10963 * vc-git.el (vc-git-revision-table): Include remote branches.
10965 2010-03-10 Kim F. Storm <storm@cua.dk>
10967 Animated image API.
10968 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
10970 * image.el (image-animate-max-time): New defcustom.
10971 (image-animated-types): New defconst.
10972 (create-animated-image, image-animate-timer)
10973 (image-animate-start, image-animate-stop, image-animate-timeout)
10974 (image-animated-p): New functions.
10976 * image-mode.el (image-toggle-display-image):
10977 Replace `create-image' with `create-animated-image'.
10979 2010-03-09 Miles Bader <miles@gnu.org>
10981 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
10982 instead of "format:"; this ensures that the output is
10983 newline-terminated.
10985 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
10987 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
10988 that all errors are caught, and that the return value is always a
10991 2010-03-08 Kenichi Handa <handa@m17n.org>
10993 * language/misc-lang.el (windows-1256): New coding system.
10994 (cp1256): New alias of windows-1256 (bug#5690).
10996 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
10998 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
10999 call to rfc822-bad-address. (Bug#5692)
11001 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
11003 * vc-git.el (vc-git-annotate-extract-revision-at-line):
11004 Use vc-git-root as default directory for revision path (Bug#5657).
11006 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
11008 * calculator.el (calculator): Don't bind split-window-keep-point
11011 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
11013 * vc-git.el: Re-flow to fit into 80 columns.
11014 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
11015 Remove spurious `quote' element in each case alternative.
11016 (vc-git-show-log-entry): Use prog1.
11017 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
11019 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
11021 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
11023 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
11025 * macros.el (insert-kbd-macro): Look up keyboard macro using the
11026 definition, not the name (Bug#5481).
11028 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
11030 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
11031 argument with a local variable. (Bug#5670)
11033 2010-03-02 Juri Linkov <juri@jurta.org>
11035 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
11037 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
11039 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
11040 error when FILENAME and NEWNAME are existing remote directories.
11042 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
11043 parameter DIR-FLAG.
11045 2010-03-02 Glenn Morris <rgm@gnu.org>
11047 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
11048 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
11050 2010-03-01 Kenichi Handa <handa@m17n.org>
11052 * language/burmese.el (burmese-composable-pattern): Rename from
11053 myanmar-composable-pattern.
11055 * international/characters.el (script-list):
11056 * international/fontset.el (script-representative-chars):
11057 Change myanmar to burmese.
11058 (otf-script-alist): Likewise.
11059 (setup-default-fontset): Likewise. Re-fix :otf spec.
11061 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
11063 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
11065 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
11067 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
11069 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
11071 * net/tramp.el (tramp-handle-write-region): START can be a string.
11072 Take care in the checks. Reported by Dan Davison
11073 <davison@stats.ox.ac.uk>.
11075 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
11077 * net/dbus.el (dbus-introspect, dbus-get-property)
11078 (dbus-set-property, dbus-get-all-properties):
11079 Use `dbus-call-method' when noninteractive. (Bug#5645)
11081 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
11083 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
11084 * emacs-lisp/elint.el (elint-add-required-env):
11085 * calendar/icalendar.el (icalendar--add-diary-entry):
11086 * calc/calcalg2.el (math-tracing-integral):
11087 * files.el (recover-session-finish): Use with-current-buffer
11088 instead of save-excursion.
11090 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
11092 Fix in-buffer completion when after-change-functions modify the buffer.
11093 * minibuffer.el (completion--replace): New function.
11094 (completion--do-completion): Use it and use relative movement.
11096 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
11098 * international/fontset.el (setup-default-fontset): Fix :otf spec.
11100 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
11102 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
11103 Allow the characters _<> in the stack entry (Bug#5653).
11105 2010-02-26 Kenichi Handa <handa@m17n.org>
11107 * language/burmese.el: Fix entries in composition-function-table.
11108 (myanmar-composable-pattern): New variable.
11110 * international/fontset.el (setup-default-fontset): Add an entry
11113 * international/characters.el (script-list): Add Myanmar
11116 2010-02-26 Glenn Morris <rgm@gnu.org>
11118 * custom.el (custom-initialize-delay): Doc fix.
11120 * mail/sendmail.el (send-mail-function): Autoload the call
11121 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
11123 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
11125 * files.el (hack-local-variables-filter): For eval forms, also
11126 check safe-local-variable-p (Bug#5636).
11128 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
11130 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
11131 setting the modes by `ignore-errors'. It might fail, for example
11132 if the file is not owned by the user but the group.
11133 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
11135 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
11137 * files.el (directory-listing-before-filename-regexp):
11138 Use stricter matching for iso-style dates, to avoid false matches with
11139 date-like filenames (Bug#5597).
11141 * htmlfontify.el (htmlfontify): Doc fix.
11143 * eshell/eshell.el (eshell): Doc fix.
11145 * startup.el (fancy-about-screen): In mode-line, apply
11146 mode-line-buffer-id face only to the buffer name (Bug#5613).
11148 2010-02-20 Kevin Ryde <user42@zip.com.au>
11150 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11151 In `watcom' anchor regexp to start of line, to avoid slowness
11154 2010-02-20 Eli Zaretskii <eliz@gnu.org>
11156 * subr.el (remove-yank-excluded-properties): Explain in a comment
11157 why `category' property is removed.
11159 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
11161 * isearch.el (isearch-update-post-hook, isearch-update):
11162 Revert 2010-02-17 change.
11164 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
11166 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
11167 (icalendar--convert-weekly-to-ical)
11168 (icalendar--convert-yearly-to-ical)
11169 (icalendar--convert-block-to-ical)
11170 (icalendar--convert-cyclic-to-ical)
11171 (icalendar--convert-anniversary-to-ical): Take care of time
11172 specifications where hour has 1-digit only (Bug#5549).
11174 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
11176 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
11177 of disassemble output in GDB 7.1.
11179 2010-02-19 Glenn Morris <rgm@gnu.org>
11181 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
11182 property. (Bug#5593)
11184 2010-02-18 Sam Steingold <sds@gnu.org>
11186 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
11188 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
11190 Use abbreviated file names in bookmarks (bug#5591).
11191 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
11192 calls to expand-file-name.
11193 (bookmark-relocate): Use abbreviated file names in bookmarks.
11194 (bookmark-load): Use abbreviated file names in messages.
11196 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
11198 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
11199 expand "." and "..". Reported by Thierry Volpiatto
11200 <thierry.volpiatto@gmail.com>.
11202 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
11204 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
11205 permissions of the temporary file to "0600". In case the remote
11206 file has no read permissions for the owner, there might be
11207 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
11209 22010-02-18 Glenn Morris <rgm@gnu.org>
11211 * emacs-lisp/authors.el (authors-renamed-files-alist):
11212 Add entries for INSTALL.CVS.
11214 2010-02-17 Mark A. Hershberger <mah@everybody.org>
11216 * vc-bzr.el: Fix typo in Known Bugs section.
11218 * isearch.el (isearch-update-post-hook): New hook.
11219 (isearch-update): Use the new hook.
11221 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
11223 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
11224 Fix errors in copying directories.
11225 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
11226 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
11227 (tramp-handle-delete-file)
11228 (tramp-handle-dired-recursive-delete-directory)
11229 (tramp-handle-write-region): Flush also the cache for the upper
11232 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
11234 * simple.el (save-interprogram-paste-before-kill): Doc fix.
11236 * cus-edit.el (hardware): Doc fix.
11238 * man.el (man): Add to external custom group.
11240 * delim-col.el (columns): Move to wp custom group.
11242 * doc-view.el (doc-view): Add to data custom group.
11244 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
11246 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
11247 by ispell-parse-output (Bug#5575).
11249 2010-02-16 Kenichi Handa <handa@m17n.org>
11251 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
11252 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
11253 (skkdic-convert): Use `euc-japan' coding system for writing.
11255 2010-02-16 Glenn Morris <rgm@gnu.org>
11257 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
11258 tex-main-file before using it. (Bug#5562)
11260 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
11262 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
11263 warnings, since it is annoying for the user to see them each time he
11266 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
11268 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
11269 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
11270 instead of PROC for caching "first-password-request". Otherwise,
11271 new processes would not profit from passwords already entered.
11273 * net/tramp-cache.el (tramp-dump-connection-properties):
11274 Don't save "first-password-request" property.
11276 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
11278 * outline.el (outline-head-from-level):
11279 * simple.el (with-wrapper-hook):
11280 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
11281 (elint-defun, elint-buffer-env, elint-top-form-logged)
11282 (elint-unbound-variable):
11283 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
11284 Fix typos in docstrings.
11286 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
11288 * files.el (insert-directory): When WILDCARD-REGEXP and
11289 FULL-DIRECTORY-P are nil, insert the file entry instead of the
11290 whole directory. (Bug#5551)
11292 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
11293 dired's alignment sanity. (Bug#5516)
11295 2010-02-14 Juri Linkov <juri@jurta.org>
11297 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
11298 Remove remaining ^H with their preceding chars. (Bug#5566)
11300 2010-02-13 Glenn Morris <rgm@gnu.org>
11302 * simple.el (transpose-subr): Give it a doc-string.
11304 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
11307 2010-02-12 Juri Linkov <juri@jurta.org>
11309 * arc-mode.el (archive-unique-fname): Make directories for nested
11310 archives. (Bug#5540)
11312 2010-02-12 Juri Linkov <juri@jurta.org>
11314 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
11316 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
11318 * subr.el (copy-overlay): Handle deleted overlays.
11320 * man.el (Man-completion-table): Don't signal an error if we can't run
11321 manual-program (bug#4056).
11323 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
11325 * textmodes/artist.el (artist-mt): Fix typos in docstring.
11327 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11329 * info.el (Info-bookmark-jump): Simplify.
11331 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
11332 (bookmark-default-handler): Accept new bookmark field `buffer'.
11334 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
11336 * iswitchb.el (iswitchb-completions): Revert last change.
11338 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
11340 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
11341 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
11342 This prevents file names like "~/" being listed literally.
11344 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
11346 * term/xterm.el (xterm-maybe-set-dark-background-mode):
11347 Remove dead code. (Bug#5546)
11349 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
11351 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
11352 correctly (Bug#5548).
11354 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
11356 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
11357 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
11359 2010-02-08 Kenichi Handa <handa@m17n.org>
11361 * international/mule-util.el (with-coding-priority): Add autoload
11362 cookie for putting `lisp-indent-function'.
11364 2010-02-07 Glenn Morris <rgm@gnu.org>
11366 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
11367 Move F2003 named interfaces from keywords-2 to keywords-1, and
11368 use function-name-face rather than constant-face.
11369 Simplify "abstract interface" regexp.
11371 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
11373 * eshell/esh-util.el (eshell-file-attributes): New optional arg
11374 ID-FORMAT. Pass it to `file-attributes'.
11376 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
11378 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
11380 * faces.el (set-face-attribute): Allow calling
11381 internal-set-lisp-face-attribute with 'unspecified family and
11382 foundry argument (Bug#5536).
11384 2010-02-07 Glenn Morris <rgm@gnu.org>
11386 * progmodes/f90.el (f90-font-lock-keywords-2)
11387 (f90-looking-at-type-like, f90-looking-at-program-block-end):
11388 Handle F2003 named interfaces.
11390 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
11392 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
11393 beg and end before calling c-get-state-before-change-functions.
11395 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
11397 * vc-bzr.el (vc-bzr-dir-extra-headers):
11398 Disable the pending merges header.
11400 2010-02-05 Juri Linkov <juri@jurta.org>
11402 * doc-view.el (doc-view-mode):
11403 * image-mode.el (image-mode): Put property mode-class=special.
11406 2010-02-05 Mark A. Hershberger <mah@everybody.org>
11408 * vc-svn.el (vc-svn-revision-table): New function.
11410 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
11412 * net/ange-ftp.el (ange-ftp-insert-directory):
11413 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11414 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11415 Handle also directories. (Bug#5478)
11417 2010-02-05 Glenn Morris <rgm@gnu.org>
11419 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
11421 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
11423 * startup.el (command-line-1): Convert options beginning with a
11424 single dash as well (Bug#5519).
11426 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
11428 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
11429 * minibuffer.el (completion-initials-expand): Only check the presence
11430 of delims *within* the boundaries, since otherwise the / delim is
11431 always found for files.
11433 Fix up various corner case problems.
11434 * doc-view.el (doc-view-last-page-number): New function.
11435 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
11436 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
11437 (doc-view-kill-proc): Avoid inf-loop in freak cases.
11438 (doc-view-reconvert-doc): Use the new recursive delete-directory.
11439 (doc-view-convert-current-doc): Don't create the resolution.el file
11441 (doc-view-pdf/ps->png): Do it here instead.
11442 (doc-view-already-converted-p): Check that resolution.el is present.
11443 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
11444 windows that are not yet showing images.
11446 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
11448 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
11449 `dired-uncache' for every elemnt which is an absolute file name.
11451 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
11452 directory, handle its directory component.
11453 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
11454 function is called permanently and creates noise, otherwise.
11456 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11457 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11458 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
11460 2010-02-04 David Burger <dburger@google.com> (tiny change)
11462 * macros.el (apply-macro-to-region-lines):
11463 Minor simplification. (Bug#5485)
11465 2010-02-04 Glenn Morris <rgm@gnu.org>
11467 * mail/rmail.el (rmail-show-message-1): Handle malformed
11468 quoted-printable text. (Bug#5441)
11470 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
11472 * simple.el (visual-line-mode): Capitalize lighter.
11474 2010-02-03 John Wiegley <jwiegley@gmail.com>
11476 * iswitchb.el (iswitchb-completions): Add bookmark files to the
11477 list of files considered for "virtual buffer" completions.
11479 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
11481 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
11482 also in case of (and (not full) (not wildcard)). This is needed
11483 when dired is called with a list of files, which are not in
11484 `default-directory'. (Bug#5478)
11486 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
11488 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
11490 2010-02-02 Juri Linkov <juri@jurta.org>
11492 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
11493 from unidiff to allow function-line after @@.
11495 2010-02-02 Juri Linkov <juri@jurta.org>
11497 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
11498 '(RCS SCCS) with inverted condition.
11500 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
11502 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
11505 2010-02-01 Juri Linkov <juri@jurta.org>
11507 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
11508 compare with "pkunzip" and "pkzip" instead of only "pkzip".
11509 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
11510 only when (car archive-zip-extract) is "unzip". (Bug#5475)
11512 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
11514 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
11515 (doc-view-revert-buffer): New command.
11516 (doc-view-mode-map): Use it.
11518 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
11520 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
11521 pending merge is detected.
11523 2010-01-31 Juri Linkov <juri@jurta.org>
11525 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
11526 beginning of interactive spec like all other grep commands do.
11527 Put "all" in front of "gz". (Bug#5260)
11529 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
11531 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
11533 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
11535 * dirtrack.el (dirtrack): Warn instead of signalling error if the
11536 regexp is incorrect (Bug#5476).
11538 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
11540 * net/tramp.el (tramp-handle-insert-directory): Handle also
11541 symlinks, when FILENAME is not in `default-directory'.
11543 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
11545 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
11546 FILE is not in `default-directory'. (Bug#5478)
11548 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
11549 of SWITCHES. Handle the case, FILENAME is not in
11550 `default-directory'. (Bug#5478)
11551 (tramp-register-file-name-handlers): Add safe-magic property.
11553 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
11555 * arc-mode.el (archive-zip-extract): Quote the argument passed to
11558 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
11560 * progmodes/flymake.el (flymake-allowed-file-name-masks)
11561 (flymake-master-make-header-init): Add other C++ filename masks.
11562 (flymake-find-possible-master-files)
11563 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
11565 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
11567 Fix some busybox annoyances.
11569 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
11570 not responding." string.
11571 (tramp-open-connection-setup-interactive-shell): Dump stty
11572 settings. Enable "neveropen" arg for all `tramp-send-command'
11573 calls. Handle "=" in variable values properly.
11574 (tramp-find-inline-encoding): Raise an error, when no encoding is
11576 (tramp-wait-for-output): Check, whether PROC buffer is available.
11577 Remove spurious " ^H" sequences, sent by busybox.
11578 (tramp-get-ls-command): Suppress coloring, if possible.
11580 2010-01-28 Glenn Morris <rgm@gnu.org>
11582 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
11584 * log-edit.el (log-edit-strip-single-file-name): Add missing
11585 :safe, :group, and :version tags.
11587 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
11589 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
11590 buffers. (Bug#5477)
11592 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
11594 * files.el (delete-directory): Handle moving to trash without
11595 first doing recursion (Bug#5436).
11597 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
11599 * vc-hooks.el (vc-path): Mark as obsolete.
11601 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
11603 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
11606 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
11608 (vc-bzr-log-view-mode): Adjust regexp for the above change.
11610 2010-01-25 Mark A. Hershberger <mah@everybody.org>
11612 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
11614 * vc-bzr.el (vc-bzr-revision-table): New function.
11616 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
11618 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
11619 diff-index command. This requires at least git-1.5.5. (Bug#1589).
11621 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
11623 Remove support for adding --signoff on commit.
11624 Future support will use an incompatible generic mechanism.
11625 * vc-git.el (vc-git-add-signoff): Remove variable.
11626 (vc-git-toggle-signoff): Remove function.
11627 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
11629 * term/xterm.el (xterm-maybe-set-dark-background-mode):
11630 Rename from xterm-set-background-mode. Return t if the background mode
11632 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
11633 earlier, call it again in case the background mode has changed.
11635 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
11637 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
11640 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
11642 * emacs-lisp/assoc.el (aelement): Doc fix.
11643 (aput, adelete, amake): Use lexical-let (Bug#5450).
11645 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
11647 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
11648 is the same as subprogram call, not declaration. (Bug#5435).
11650 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
11652 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
11653 (tramp-smb-maybe-open-connection): Use it.
11655 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
11657 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
11659 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
11661 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
11662 just because we see "encoding: 8bit".
11663 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
11665 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
11667 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
11669 2010-01-22 Eli Zaretskii <eliz@gnu.org>
11671 * jka-compr.el (jka-compr-load): If load-file is not in
11672 load-history, try its file-truename version. (bug#5447)
11674 2010-01-21 Alan Mackenzie <acm@muc.de>
11676 Fix a situation where deletion of a cpp construct throws an error.
11677 * progmodes/cc-engine.el (c-invalidate-state-cache):
11678 Before invoking c-with-all-but-one-cpps-commented-out, check that the
11679 special cpp construct is still in the buffer.
11680 (c-parse-state): Record the special cpp with markers, not numbers.
11682 2010-01-21 Kenichi Handa <handa@m17n.org>
11684 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
11685 process last-command-event, as it is now decoded first (Bug#5380).
11687 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
11689 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
11691 2010-01-20 Glenn Morris <rgm@gnu.org>
11693 * indent.el (tab-always-indent): Fix custom-type.
11695 2010-01-19 Alan Mackenzie <acm@muc.de>
11697 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
11698 buffer throws "args out of range".
11699 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
11700 playing the role of delimiter.
11702 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
11704 * progmodes/ada-mode.el: Fix bug#5400.
11705 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
11706 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
11707 changed. Delete RECURSIVE parameter; never used. Improve doc string.
11708 Improve comments in "is" portion. Handle null procedure declaration.
11709 (ada-move-to-end): Improve doc string.
11711 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
11713 * ido.el (ido-cur-list): Initialize to nil.
11714 Remove obsolete information from commentary.
11715 (ido-choice-list): Initialize to nil.
11716 (ido-get-bufname): Reject minibuffers.
11717 (ido-make-buffer-list): If "default" is a nonexistent
11718 buffer, ignore it, as per the function's comment.
11719 (ido-kill-buffer-internal): New function.
11720 (ido-kill-buffer-at-head): Use it.
11721 (ido-visit-buffer): Likewise.
11723 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
11725 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
11727 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
11729 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
11730 Fix typos in chart titles.
11732 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
11733 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
11734 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
11735 (describe-class, eieio-describe-generic, describe-generic):
11736 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
11737 (eieio-speedbar-expand):
11738 * emulation/viper-cmd.el (viper-exec-form-in-vi)
11739 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
11740 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
11741 (viper-del-backward-char-in-replace, viper-backward-indent)
11742 (viper-brac-function, viper-register-to-point, viper-submit-report):
11743 * net/tramp.el (tramp-remote-coding-commands):
11744 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
11745 Fix typos in docstrings.
11747 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
11749 * mail/sendmail.el (mail-yank-original): Set the mark if the
11750 specified function for yanking does not do it.
11752 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
11754 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
11756 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
11757 resyncing a directory.
11759 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
11761 * progmodes/ada-mode.el: Fix bug#1920.
11762 (ada-ident-re): Delete ., allow multibyte characters.
11763 (ada-goto-label-re): New; matches goto labels.
11764 (ada-block-label-re): New; matches block labels.
11765 (ada-label-re): New; matches both.
11766 (ada-named-block-re): Deleted; callers changed to use
11767 `ada-block-label-re' instead.
11768 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
11769 Use `ada-block-label-re'.
11770 (ada-indent-on-previous-lines): Improve handling of goto labels.
11771 (ada-get-indent-block-start): Special-case block label.
11772 (ada-get-indent-label): Split into `ada-indent-block-label' and
11773 `ada-indent-goto-label'.
11774 (ada-goto-stmt-start, ada-goto-next-non-ws):
11775 Optionally ignore goto labels.
11776 (ada-goto-next-word): Simplify.
11777 (ada-indent-newline-indent-conditional): Insert newline before
11778 trying to fix indentation; doc fix.
11780 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
11782 * calc/calc.el (calc-command-flags): Give it an initial value.
11784 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
11786 * files.el (minibuffer-with-setup-hook):
11787 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
11788 (artist-key-draw-continously, artist-key-do-continously-continously)
11789 (artist-key-set-point-continously, artist-mouse-draw-continously):
11790 Fix typos in docstrings.
11792 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
11794 * nxml/nxml-mode.el (nxml-extend-after-change-region):
11795 Never return t (Bug#3898).
11797 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
11799 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
11800 can parse the output of the external commands (Bug#5279).
11802 2010-01-16 Jari Aalto <jari.aalto@cante.net>
11804 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
11806 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
11808 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
11810 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
11812 * startup.el (command-line): Remove unused --icon-type arg.
11813 Handle --display arg, passing it to command-line-1 (Bug#5392).
11815 2010-01-16 Mario Lang <mlang@delysid.org>
11817 * emacs-lisp/chart.el (chart-translate-namezone):
11818 * textmodes/artist.el (artist-compute-popup-menu-table):
11819 Remove duplicated words in doc-strings.
11821 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
11823 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
11824 to mairix-search to suppress threading (Bug#5342).
11826 2010-01-15 Kenichi Handa <handa@m17n.org>
11828 * international/mule-cmds.el (canonicalize-coding-system-name):
11829 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
11831 2010-01-15 Glenn Morris <rgm@gnu.org>
11833 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
11835 * wid-edit.el (widget-keymap): Doc fix.
11837 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
11838 former seems to be more widely accepted by various svn versions.
11840 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11842 * find-cmd.el (find-constituents):
11843 * vc-arch.el (vc-arch-root):
11844 * window.el (window-body-height, pop-up-frames):
11845 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
11846 * progmodes/ada-stmt.el (ada-if):
11847 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
11848 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
11849 (ispell-encoding8-command, ispell-aspell-supports-utf8)
11850 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
11852 * progmodes/flymake.el (flymake-post-syntax-check):
11853 Fix typo in error message.
11855 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11857 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
11858 which is always a string. (Bug#5313)
11860 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11862 * progmodes/ada-xref.el (ada-default-prj-properties):
11863 Simplify previous change.
11865 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11867 * progmodes/ada-xref.el (ada-default-prj-properties):
11868 Default ada_project_path to $ADA_PROJECT_PATH.
11870 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11872 * progmodes/ada-mode.el (ada-create-keymap):
11873 Override `narrow-to-defun' with `ada-narrow-to-defun'.
11875 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11877 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
11878 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
11879 (ada-get-current-indent, ada-imenu-generic-expression)
11880 (ada-which-function): Check for it.
11882 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11884 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
11885 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
11887 2010-01-14 Glenn Morris <rgm@gnu.org>
11889 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
11891 2010-01-14 Kenichi Handa <handa@m17n.org>
11893 * composite.el (auto-composition-mode): Make it a buffer local
11894 variable (permanent-local).
11895 (auto-composition-function): Set the default value to
11896 auto-compose-chars.
11897 (auto-composition-mode): Make it a simple function, not a minor mode.
11898 (global-auto-composition-mode): Likewise.
11899 (turn-on-auto-composition-if-enabled): Delete it.
11901 2010-01-13 Karl Fogel <kfogel@red-bean.com>
11903 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
11905 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
11907 * files.el (copy-directory): Compute target for recursive
11908 directories with identical names. (Bug#5343)
11910 2010-01-12 Glenn Morris <rgm@gnu.org>
11912 * mail/emacsbug.el (report-emacs-bug-pretest-address):
11913 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
11915 2010-01-11 Sam Steingold <sds@gnu.org>
11917 * imenu.el (imenu-default-create-index-function): Detect infinite
11918 loops caused by imenu-prev-index-position-function.
11920 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
11922 * htmlfontify.el (htmlfontify-load-rgb-file)
11923 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
11924 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
11925 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
11926 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
11927 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
11928 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
11929 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
11930 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
11931 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
11932 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
11933 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
11934 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
11935 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
11936 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
11937 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
11938 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
11939 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
11940 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
11941 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
11942 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
11943 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
11944 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
11945 backslash-quoting from parentheses, etc.
11947 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
11949 * progmodes/js.el: Autoload javascript-mode alias.
11951 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
11953 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
11954 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
11955 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
11956 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
11957 Fix typos in docstrings.
11958 (ffap-url-regexp): Doc fix.
11959 (ffap-at-mouse): Fix typo in message.
11961 2010-01-11 Glenn Morris <rgm@gnu.org>
11963 * version.el (emacs-copyright): Set copyright year to 2010.
11965 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
11967 * format.el (format-annotate-function): Only set
11968 write-region-post-annotation-function after running to-fn so as not to
11969 affect nested write-region calls (bug#5273).
11971 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
11973 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
11976 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
11978 * man.el (Man-goto-section): Signal error if the section is not
11981 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
11983 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
11984 URLs with a leading triple slash in the file: scheme. (Bug#5345)
11986 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
11988 * progmodes/compile.el: Don't treat compile-command as safe if
11989 compilation-read-command might be nil (Bug#4218).
11991 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
11993 * startup.el (command-line-1): Use orig-argi to check for ignored X and
11996 2010-01-08 Kenichi Handa <handa@m17n.org>
11998 * international/fontset.el (build-default-fontset-data):
11999 Exclude characters in scripts kana, hangul, han, or cjk-misc.
12001 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
12003 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
12004 to `create-file-buffer' as it expects, not just a buffer name.
12005 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
12006 to help uniquify. (Bug#3224)
12008 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
12010 * font-setting.el (font-setting-change-default-font): Use user-spec
12013 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
12015 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
12017 2010-01-05 Tom Tromey <tromey@redhat.com>
12019 * progmodes/python.el (python-font-lock-keywords):
12020 Handle qualified decorators (Bug#881).
12022 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12024 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
12025 in a lightweight checkout.
12027 2010-01-05 Kenichi Handa <handa@m17n.org>
12029 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
12031 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12033 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
12035 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
12037 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
12038 checkouts. (Bug#618)
12039 (vc-bzr-log-view-mode): Also highlight the author.
12040 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
12041 (vc-bzr-shelve-menu-map):
12042 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
12043 (vc-bzr-shelve-apply): Make prompt more explicit.
12045 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
12047 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
12048 They are valid characters in URL paths (rfc3986), and at least
12049 Firefox does not understand the encoded version (Bug#3166).
12051 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
12053 * progmodes/octave-mod.el (octave-end-keywords)
12054 (octave-block-begin-or-end-regexp, octave-block-match-alist):
12055 Add "end" keyword (Bug#3061).
12056 (octave-end-as-array-index-p): New function.
12057 (calculate-octave-indent): Use it.
12059 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12061 * bookmark.el: Consistently put the text property on the bookmark name.
12062 (bookmark-bmenu-marks-width): Bump back to 2, to include
12064 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
12065 property on the bookmark name, instead of not putting it at all.
12066 (bookmark-bmenu-list): Fix where we put the text property.
12068 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12070 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
12071 for showing buffer modified state (as added in the previous change).
12073 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12075 * bookmark.el: Show modified state of bookmark buffer more accurately.
12076 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
12077 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
12078 (with-buffer-modified-unmodified): New macro.
12079 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
12080 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
12081 Use new macro to preserve the buffer modified state.
12083 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12085 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
12086 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
12087 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
12088 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
12089 (bookmark-bmenu-rename, bookmark-bmenu-locate)
12090 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
12091 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
12093 2010-01-02 Eli Zaretskii <eliz@gnu.org>
12095 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12096 Make the lines in the generated doc string shorter. (Bug#4668)
12098 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
12100 * net/rcirc.el: Add follow-link binding (Bug#4738).
12102 2010-01-02 Eli Zaretskii <eliz@gnu.org>
12104 * Makefile.in (bzr-update): Rename from cvs-update.
12105 (cvs-update): New target for backward compatibility.
12107 * makefile.w32-in (bzr-update): Rename from cvs-update.
12108 (cvs-update): New target for backward compatibility.
12110 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12112 * bookmark.el: Remove gratuitous gratitude.
12114 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12116 * bookmark.el (bookmark-bmenu-any-marks): New function.
12117 (bookmark-bmenu-save): Clear buffer modification if no marks.
12119 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12121 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
12122 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
12123 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
12124 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
12126 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
12127 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
12128 To: emacs-devel {_AT_} gnu.org
12129 Subject: bookmark.el bug report
12130 Date: Mon, 28 Dec 2009 14:19:16 +0800
12131 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
12133 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12135 * bookmark.el: Improvements suggested by Drew Adams:
12136 (bookmark-bmenu-ensure-position): New name for
12137 `bookmark-bmenu-check-position'. Just ensure the position,
12138 don't return any meaningful value.
12139 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
12142 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
12144 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
12145 (bookmark-yank-point, bookmark-bmenu-check-position):
12146 Fix typos in docstrings.
12147 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
12148 (bookmark-name-from-full-record, bookmark-get-position)
12149 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
12150 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
12151 Remove useless quoting of parenthesis, etc. in docstrings.
12153 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
12154 (ediff-append-custom-diff): Fix typo in error message.
12155 (ediff-meta-mark-equal-files): Fix typos in messages.
12157 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
12159 * net/imap-hash.el (imap-hash-make): Doc fix.
12160 (imap-hash-test): Fix typo in error message; reflow docstring.
12161 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
12162 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
12163 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
12164 Fix typos in docstrings.
12165 (imap-hash-open-connection): Fix typo in error message.
12167 * play/gomoku.el (gomoku): Fix typos in docstring.
12169 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
12170 (gdb-jsonify-buffer): Fix typos in docstring.
12171 (gdb-goto-breakpoint): Fix typo in error message.
12172 ("Display Other Windows"): Fix typo in help message.
12173 (gdb-speedbar-expand-node): Fix typo in question.
12175 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
12176 (idlwave-html-system-help-location, idlwave-html-help-location)
12177 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
12178 (idlwave-help-browser-generic-args, idlwave-help-directory)
12179 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
12180 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
12181 (idlwave-online-help, idlwave-help-html-link)
12182 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
12183 Fix typos in docstrings.
12184 (idlwave-help-with-source, idlwave-help-find-routine-definition):
12186 (idlwave-help-assistant-start): Fix typo in error message.
12188 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
12189 (octave-electric-space): Fix typos in docstrings.
12191 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
12193 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
12195 2010-01-01 Juri Linkov <juri@jurta.org>
12197 * comint.el (comint-input-ring-size): Make it a defcustom and
12198 increase the default to 500 (Bug#5148).
12200 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
12202 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
12203 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
12204 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
12206 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
12208 Show working revision correctly for mercurial.
12209 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
12210 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
12212 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
12214 Declare some functions for the byte-compiler.
12215 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
12216 (speedbar-timer-fn, speedbar-change-expand-button-char)
12217 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
12219 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
12221 This changeset reverts GDB Graphical Interface to use annotations.
12222 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
12224 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
12226 Make vc-dir work on subdirectories of the bzr root.
12227 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
12228 Return file names relative to it.
12229 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
12230 relative directory to vc-bzr-after-dir-status.
12232 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
12234 * font-lock.el (font-lock-refresh-defaults): New function, which
12235 can be used to let font-lock react to external changes in
12236 variables like font-lock-defaults and keywords.
12237 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
12239 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
12241 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
12243 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
12245 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
12247 Supersede color.diff settings in git log (bug#5211).
12249 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
12250 escape chars in its output when the user has color.diff set to `always'.
12251 This fix works on git 1.4.2 and newer (released on 2006-08-13).
12253 2009-12-26 Kevin Ryde <user42@zip.com.au>
12255 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
12256 node. Keep previous "Index" name to work with past coreutils too.
12258 * man.el (man): Revise docstring a bit to show -a and -l as
12259 examples. Add -k description since support for it has otherwise
12260 been a secret. (Further to bug#3717.)
12261 (Man-bgproc-sentinel): When "-k foo" produces no output show error
12262 "no matches" rather than "Can't find manpage", as the latter reads
12263 like -k was interpreted as a page name, which is not so. (Bug#5431)
12265 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
12267 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
12268 switches. Check also for //SUBDIRED// line.
12270 2009-12-25 Kenichi Handa <handa@m17n.org>
12272 * language/indian.el (devanagari-composable-pattern): Fix to
12273 handle ZWNJ and ZWJ. Use it in composition-function-table for
12275 (malayalam-composable-pattern): Fix previous change.
12277 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12279 * ps-print.el (ps-face-attributes): It was not returning the
12280 attribute face for faces specified as string. Reported by harven
12281 <harven@free.fr>. (Bug#5254)
12282 (ps-print-version): New version 7.3.5.
12284 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
12286 * calendar/icalendar.el (icalendar--convert-tz-offset):
12287 Fix timezone names.
12288 (icalendar--convert-tz-offset): Fix the "last-day-problem".
12289 (icalendar--add-diary-entry): Remove the trailing blank that
12290 diary-make-entry inserts.
12292 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
12294 Make `file-expand-wildcards' work for remote files.
12296 * files.el (file-expand-wildcards): In case of remote files, check
12297 only local file name part for wildcards. Provide feature 'files
12298 and subfeature 'remote-wildcards. (Bug#5198)
12300 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
12301 if there is already an established connection.
12302 (tramp-advice-file-expand-wildcards): Remove it.
12304 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
12305 (tramp-advice-file-expand-wildcards): Move from tramp.el.
12306 Activate advice for older GNU Emacs versions. (Bug#5237)
12308 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
12310 Some doc fixes (more needed).
12312 * find-cmd.el (find-constituents): Reflow docstring.
12313 (find-cmd, find-prune, find-command): Fix typos in docstrings.
12314 (find-generic): Doc fix.
12316 2009-12-17 Juri Linkov <juri@jurta.org>
12318 Fix regression from 23.1 to allow multiple modes in Local Variables.
12320 * files.el (hack-local-variables-filter): While ignoring duplicates,
12321 don't take `mode' into account.
12322 (hack-local-variables-filter, hack-dir-local-variables):
12323 Don't remove duplicate `mode' from local-variables-alist (like `eval').
12325 2009-12-17 Juri Linkov <juri@jurta.org>
12327 Make `dired-diff' safer. (Bug#5225)
12329 * dired-aux.el (dired-diff): Signal an error when `file' equals to
12330 `current' or when `file' is a directory of the `current' file.
12332 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
12334 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
12335 unconditionally preloaded files.
12337 2009-12-16 Juri Linkov <juri@jurta.org>
12339 Revert to old 23.1 logic of using the file at the mark as default.
12340 * dired-aux.el (dired-diff): Use the file at the mark as default
12341 if it's not the same as the current file, and the target dir is
12342 the current dir or the mark is active. Add the current file
12343 as the arg of `dired-dwim-target-defaults'. Use the default file
12344 in the prompt. (Bug#5225)
12346 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
12348 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
12349 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
12350 (tramp-check-for-regexp): Check also, when an echoing shell stops
12351 to echo sent commands.
12353 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
12355 * Makefile.in: Revert last change (Bug#5191).
12357 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
12359 * vc-hg.el (vc-hg-print-log): Fix argument order.
12360 (vc-hg-working-revision): Make sure the command is executed in a
12361 known environment so that we can parse the output. (Bug#4417)
12363 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
12365 * progmodes/python.el (python-symbol-completions): Remove text
12366 properties from symbol string before calling python-send-receive.
12368 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
12370 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
12371 when there are values for both file and line. (Bug#5060)
12373 2009-12-14 Juri Linkov <juri@jurta.org>
12375 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
12376 whitespace after the file name of the first line of unified format,
12377 because git-diff doesn't output whitespace and file modification time
12378 after the file name.
12380 2009-12-14 David Kastrup <dak@gnu.org>
12382 * info.el (Info-hide-cookies-node): Before hiding a cookie,
12383 check if it already has the `display' property added by
12384 `Info-display-images-node', and not put the `invisible' property
12387 2009-12-13 Glenn Morris <rgm@gnu.org>
12389 * mail/emacsbug.el (message-sort-headers): Define for compiler.
12390 (report-emacs-bug): In message-mode, sort manually before storing
12391 original report text. (Bug#5178)
12392 Remove superfluous save-excursion.
12394 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
12396 * net/dbus.el (dbus-property-handler): Filter lambda forms out
12397 when responding to "GetAll" properties.
12399 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
12401 * simple.el (compose-mail): Remove mail-setup-with-from from
12402 customization checks.
12404 2009-12-12 Eli Zaretskii <eliz@gnu.org>
12406 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
12407 RAR archives created on Unix systems.
12409 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
12411 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
12412 the varalias that was accidentally removed by the 2009-11-19 change
12415 2009-12-12 Kenichi Handa <handa@m17n.org>
12417 * language/indian.el (indian-compose-regexp): New function.
12418 (malayalam-composable-pattern): Fix the pattern.
12419 (composition-function-table): Set malayalam-composable-pattern for
12420 Malayalam characters.
12422 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
12424 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
12425 rather than down-mouse-1, based on follow-link conventions.
12427 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
12430 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
12432 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
12433 (verilog-vmm-statement-re, verilog-ovm-statement-re)
12434 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
12435 (verilog-leap-to-head, verilog-backward-token):
12436 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
12438 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
12440 * progmodes/verilog-mode.el (verilog-auto-lineup)
12441 (verilog-nameable-item-re): Cleanup user-visible spelling and
12442 documentation errors. One reported by Gary Delp.
12443 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
12444 (verilog-read-decls): Fix AUTOWIRE with types declared in a
12445 package, bug195. Reported by Pierre-David Pfister.
12447 2009-12-11 Glenn Morris <rgm@gnu.org>
12449 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
12451 * mail/emacsbug.el: No longer require sendmail.
12452 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
12453 (report-emacs-bug-orig-text): Doc fix.
12454 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
12455 New local variables, to adapt to different mail-user-agents.
12456 (report-emacs-bug): Fix test for a gnu.org address.
12457 Use overlays for emphasis, since font-lock defeats 'face property.
12458 Pretest bugs also end up at the newsgroup these days.
12459 Stop message-mode stripping text properties.
12460 Set and use the new buffer-local variables.
12461 (report-emacs-bug-hook): Add doc-string.
12462 Remove some unnecessary save-excursions and simplify.
12463 Use the appropriate hook and send-command.
12465 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
12466 capitalization of some menu entries.
12468 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12470 * whitespace.el (whitespace-display-char-on):
12471 Ensure `buffer-display-table' is unique when two or more windows are
12472 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
12475 2009-12-10 Eli Zaretskii <eliz@gnu.org>
12477 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
12478 characters in the Attribute field.
12480 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
12482 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
12484 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
12486 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
12487 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12488 Disregard autoload-excludes.
12489 (update-directory-autoloads): Obey autoload-excludes here instead.
12490 But don't store its contents in no-autoloads and remove entries that
12491 refer to excludes files.
12493 2009-12-10 Glenn Morris <rgm@gnu.org>
12495 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
12496 (expand-mail-aliases): Define for compiler.
12498 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
12499 Define for compiler.
12501 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
12502 appropriate for the mail-user-agent in use.
12504 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
12506 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
12508 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
12510 Fix short log parsing and fontification.
12511 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
12512 Fix fontification for the [merge] label.
12514 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
12516 Drop some properties to avoid surprises (bug#5002).
12517 * htmlfontify.el (hfy-ignored-properties): New defcustom.
12518 (hfy-fontify-buffer): Use it.
12520 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
12523 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
12524 Adjust all callers.
12525 (ffap-locate-file): Remove unused arg `dir-ok' and make other
12526 args compulsory. Adjust callers.
12527 (ffap-gopher-at-point): Remove unused var `name'.
12529 Get rid of the ELCFILES abomination.
12530 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12531 (compile-elcfiles): New phony target.
12532 (compile-main): Compute ELCFILES dynamically.
12533 (compile-clean): New target to remove left-over elc files.
12534 (compile, all): Use it.
12536 2009-12-09 Kenichi Handa <handa@etlken>
12538 * international/mule-diag.el: Require help-mode instead of help-fns.
12540 2009-12-09 Kenichi Handa <handa@m17n.org>
12542 * international/mule-cmds.el (ucs-names): Supply sufficiently
12543 fine ranges instead of pre-calculating accurate ranges.
12544 Iterate with bigger gc-cons-threshold.
12546 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
12548 Add support for stashing a snapshot of the current tree.
12549 * vc-git.el (vc-git-stash-snapshot): New function.
12550 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
12552 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
12554 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
12555 instead of `(beginning|end)-of-line'.
12557 2009-12-08 Glenn Morris <rgm@gnu.org>
12559 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
12561 * Makefile.in (ELCFILES): Regenerate.
12563 2009-12-07 Juri Linkov <juri@jurta.org>
12565 Don't lazy-highlight the comint output in history Isearch mode.
12567 * comint.el (comint-history-isearch-search): Instead of
12568 `comint-line-beginning-position', use `comint-after-pmark-p'
12569 to check if point if before the process mark, and go to
12570 `process-mark' in this case.
12572 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12574 * textmodes/tex-mode.el (latex-complete)
12575 (latex-indent-or-complete): Remove.
12576 (latex-mode): Set completion-at-point-functions instead.
12578 Provide a standard completion command and hook it into TAB.
12579 * minibuffer.el (completion-at-point-functions): New var.
12580 (completion-at-point): New command.
12581 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
12582 * progmodes/python.el (python-mode-map): Use completion-at-point.
12583 (python-completion-at-point): Rename from python-partial-symbol and
12584 adjust for use in completion-at-point-functions.
12585 (python-mode): Setup completion-at-point for Python completion.
12586 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
12587 extracted from lisp-complete-symbol.
12588 (lisp-complete-symbol): Use it.
12589 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
12590 setup completion-at-point for Elisp completion.
12591 (emacs-lisp-mode-map, lisp-interaction-mode-map):
12592 Use completion-at-point.
12593 * ielm.el (ielm-map): Use completion-at-point.
12594 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
12595 * progmodes/sym-comp.el: Move to...
12596 * obsolete/sym-comp.el: Move from progmodes.
12598 2009-12-07 Eli Zaretskii <eliz@gnu.org>
12600 Prevent save-buffer in Rmail buffers from using the coding-system
12601 of the current message, and from clobbering the encoding mnemonics
12602 in the mode line (Bug#4623).
12604 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
12606 (rmail-message-encoding): New variable.
12607 (rmail-write-region-annotate): Record the encoding of the current
12608 message in rmail-message-encoding.
12609 (rmail-after-save-hook): New function, restores the encoding of
12610 the current message after the message collection is saved.
12612 2009-12-07 Juri Linkov <juri@jurta.org>
12614 * progmodes/grep.el (grep-read-files): Use `completing-read'
12615 instead of `read-string'. Set its `collection' arg to
12616 `read-file-name-internal'. (Bug#4301)
12618 2009-12-07 Juri Linkov <juri@jurta.org>
12620 Correctly restore original Isearch point. (Bug#4994)
12622 * isearch.el (isearch-mode): Move `isearch-push-state' after
12623 `(run-hooks 'isearch-mode-hook)'.
12624 (isearch-cancel): When `isearch-push-state-function' is defined,
12625 let-bind `isearch-cmds' to the first state (the last element of
12626 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
12627 function and restores the original point). Otherwise, move point
12628 to `isearch-opoint'.
12630 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12632 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
12633 chars that don't have names, so the table can be built much faster at
12636 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
12638 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
12639 change. Suggested by David Kastrup.
12641 * simple.el (compose-mail): Check for incompatibilities and warn.
12642 (compose-mail-user-agent-warnings): New option.
12644 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12646 Support showing a single log entry from vc-annotate.
12647 * vc.el (print-log): Add a new argument: START-REVISION.
12648 (vc-print-log-internal): Add a new optional argument and
12649 pass it to the backend.
12650 (vc-print-log, vc-print-root-log): Adjust callers.
12651 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
12652 buffer already displays the requested log entry, use it.
12653 Otherwise display only the log entry in question.
12654 * vc-svn.el (vc-svn-print-log):
12655 * vc-mtn.el (vc-mtn-print-log):
12656 * vc-hg.el (vc-hg-state):
12657 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
12658 (vc-git-show-log-entry): Return t on success.
12659 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
12660 (vc-bzr-show-log-entry): Return t on success.
12661 * vc-rcs.el (vc-rcs-print-log):
12662 * vc-sccs.el (vc-sccs-print-log):
12663 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
12665 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12667 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
12668 Add menus to the meta mode. (Bug#5043)
12670 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
12672 * ediff-init.el (ediff-event-key): Use event-to-character instead of
12675 * ediff.el (ediff-buffers-internal): Add unwind-protect.
12677 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
12679 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
12680 Berbain <raphael.berbain@gmail.com>.
12682 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
12684 (tramp-initial-end-of-output): New defconst.
12685 (tramp-methods, tramp-find-shell)
12686 (tramp-open-connection-setup-interactive-shell)
12687 (tramp-maybe-open-connection): Use it.
12688 (tramp-shell-prompt-pattern, tramp-wait-for-output):
12689 Handle existence of `#' and `$'.
12691 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
12692 Use `tramp-initial-end-of-output'.
12694 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12696 Get the background mode from the terminal for xterm, and set
12698 * term/xterm.el (xterm-set-background-mode): New function.
12699 (terminal-init-xterm): Use it in case xterm supports background
12700 color queries. Recompute faces after getting the background
12703 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
12705 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
12706 number comment back on its own line, for easier parsing.
12708 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12710 Make it work for non-file buffers (bug#5102).
12711 * doc-view.el (doc-view-current-cache-dir):
12712 Use doc-view-buffer-file-name rather than buffer-file-name.
12713 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
12715 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
12717 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
12718 author field is too short.
12720 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
12722 * vc-git.el (vc-git-print-log): Handle a limit argument.
12723 Display the short log in graph form and with labels.
12724 (vc-git-log-view-mode): Handle labels.
12726 Make vc-revert change VC state from 'added to 'unregistered.
12727 * vc-git.el (vc-git-revert): Call git reset first.
12729 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
12731 * net/newst-backend.el, net/newst-plainview.el:
12732 * net/newst-reader.el, net/newst-ticker.el:
12733 * net/newst-treeview.el, net/newsticker.el:
12734 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
12736 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
12738 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
12740 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
12741 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
12742 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
12743 Update annotation regexp.
12745 * simple.el (beginning-of-visual-line): Constrain to field
12746 boundaries (Bug#5106).
12748 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
12750 * xml.el (xml-substitute-numeric-entities):
12751 Move newsticker--decode-numeric-entities in newst-backend.el to
12752 xml-substitute-numeric-entities in xml.el. (Bug#5008)
12753 * net/newst-backend.el (newsticker--parse-generic-feed)
12754 (newsticker--parse-generic-items)
12755 (newsticker--decode-numeric-entities):
12756 Move newsticker--decode-numeric-entities in newst-backend.el to
12757 xml-substitute-numeric-entities in xml.el. (Bug#5008)
12759 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
12761 * progmodes/js.el (js--js-not): Add null to the list of values.
12763 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
12765 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
12767 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12769 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
12770 delimiter if it is at the end of the current line.
12771 (bibtex-generate-url-list): Fix docstring.
12773 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12775 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
12776 minibuffer's content with itself.
12777 Fold the confirm-after-completion case into the `confirm' case.
12778 (completion-pcm-word-delimiters): Add : and / to the delimiters.
12780 2009-12-06 Kevin Ryde <user42@zip.com.au>
12782 * ffap.el (ffap-rfc-path): Make this a defcustom since
12783 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
12785 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
12786 manuals, similar to existing setup for help-mode. (Bug#3913.)
12788 2009-12-05 Juri Linkov <juri@jurta.org>
12790 Save and restore dired buffer's point positions too. (Bug#4880)
12792 * dired.el (dired-save-positions): Return in the first element
12793 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
12795 (dired-restore-positions): First restore buffer's position.
12796 While restoring window's positions, check if window still displays
12797 the original buffer.
12799 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
12801 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
12804 * shell.el (shell): Require ansi-color (Bug#5113).
12806 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
12808 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
12810 2009-12-05 Alan Mackenzie <acm@muc.de>
12812 * progmodes/cc-mode.el (c-before-hack-hook)
12813 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
12814 `c-file-style' to work again. This reversion restores the current
12815 software to its state in Emacs 23.1. (Bug#4146)
12817 2009-12-05 Kevin Ryde <user42@zip.com.au>
12819 * textmodes/sgml-mode.el (sgml-lexical-context):
12820 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
12822 2009-12-05 Juri Linkov <juri@jurta.org>
12824 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
12825 for virtual nodes. (Bug#4147)
12826 (Info-find-node-2): Set `Info-current-node-virtual' to nil
12827 when moving from a virtual node.
12828 (Info-mode-menu): Add `Info-virtual-index' to the menu.
12829 (Info-mode): Add `Info-virtual-index' to the docstring.
12831 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12833 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
12834 track of the buffer position of the end of a BibTeX entry as this
12835 position may change during reformatting.
12836 (bibtex-format-entry): Remove whitespace before processing
12837 numerical fields so that we recognize the latter properly.
12838 (bibtex-reformat): Do not use push which changes the global value
12839 of bibtex-entry-format.
12840 (bibtex-field-braces-alist, bibtex-field-strings-alist)
12841 (bibtex-field-re-init): Replace only space characters by regexp
12843 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
12844 (bibtex-initialize): Also update bibtex-strings.
12845 (bibtex-kill-field): Preserve white space at end of entry.
12846 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
12847 Update bibtex-reference-keys.
12849 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
12851 * minibuffer.el (completion-pcm--merge-try): Also consider placing
12852 point after a star, if that's the only place where modifications can
12855 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
12857 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
12860 2009-12-04 Juri Linkov <juri@jurta.org>
12862 * proced.el (proced): Call `(proced-update t)' to update process
12863 information instead of only running proced-post-display-hook.
12864 (proced-send-signal): Add a leading space to the buffer name
12865 " *Marked Processes*" to make this buffer ephemeral.
12867 2009-12-04 Juri Linkov <juri@jurta.org>
12869 * dired.el (dired-auto-revert-buffer): New defcustom.
12870 (dired-internal-noselect): Use it.
12872 2009-12-04 Juri Linkov <juri@jurta.org>
12874 Change roles of modes and functions in image-mode.el (Bug#5062).
12876 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
12877 in `auto-mode-alist'.
12878 (image-mode-previous-major-mode): New variable.
12879 (image-minor-mode-map): Rename from `image-mode-text-map'.
12880 (image-mode): Move graceful error-handling code from
12881 `image-minor-mode' to here. On errors call `image-mode-as-text'.
12882 (image-minor-mode): Remove all image-handling code.
12883 Replace `image-mode-text-map' with `image-minor-mode-map'.
12884 Check for `image-type' in mode-line format string.
12885 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
12886 (image-mode-as-text): New function with most code from
12887 `image-mode-maybe'.
12888 (image-toggle-display-text): Move code that removes image
12889 properties from `image-toggle-display' to here.
12890 (image-toggle-display-image): New function with code that adds
12891 image properties copied from `image-toggle-display'.
12892 (image-toggle-display): Remove most code with leaving only code
12893 that toggles between `image-mode-as-text' and `image-mode'.
12895 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
12897 * net/newst-treeview.el
12898 (newsticker--treeview-list-highlight-start): Restored call to
12899 save-excursion: Selected item was stuck.
12900 (newsticker--treeview-list-select): New.
12901 (newsticker--treeview-item-show-text)
12902 (newsticker--treeview-item-show)
12903 (newsticker--treeview-item-update): Use new
12904 newsticker-treeview-item-mode.
12905 (newsticker-treeview-update): Keep current item.
12906 (newsticker-treeview-next-new-or-immortal-item): Doc change.
12907 (newsticker--treeview-first-feed): Doc change.
12908 (newsticker-treeview-list-menu)
12909 (newsticker-treeview-item-menu): Add menu entries.
12910 (newsticker-treeview-item-mode): New.
12912 * net/newst-backend.el (newsticker-customize): Delete other
12915 2009-12-04 Sam Steingold <sds@gnu.org>
12917 * log-view.el (log-view-mode-map): "q" calls quit-window,
12918 like in all the other non-self-insert buffers.
12920 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
12923 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
12924 key decoding rather than do it manually via last-input-event +
12926 (term-exec): Use delete-and-extract-region.
12927 (term-handle-ansi-terminal-messages): Remove unused var `end'.
12928 (term-process-pager): Remove unused var `i'.
12929 (term-dynamic-simple-complete): Make obsolete.
12930 (serial-update-config-menu): Remove unused vars `y' and `str'.
12931 (term-update-mode-line): Remove unused var `temp'.
12933 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12935 Limit the number of log entries displayed by default.
12936 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
12937 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
12938 using a prefix argument.
12940 2009-12-03 Glenn Morris <rgm@gnu.org>
12942 * progmodes/idlwave.el (class): Restore still useful declaration.
12944 2009-12-03 Alan Mackenzie <acm@muc.de>
12946 Enhance `c-parse-state' to run efficiently in "brace deserts".
12948 * progmodes/cc-mode.el (c-basic-common-init):
12949 Call c-state-cache-init.
12950 (c-neutralize-syntax-in-and-mark-CPP): Rename from
12951 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
12952 placing `category' properties value 'c-cpp-delimiter at its boundaries.
12954 * progmodes/cc-langs.el (c-before-font-lock-function):
12955 c-extend-and-neutralize-syntax-in-CPP has been renamed
12956 c-neutralize-syntax-in-and-mark-CPP.
12958 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
12959 with `category' properties now, not `syntax-table' ones.
12961 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
12962 enhanced (but slower) version of c-end-of-macro that won't land
12963 inside a literal or on another awkward character.
12964 (c-state-cache-too-far, c-state-cache-start)
12965 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
12966 (c-state-nonlit-pos-cache-limit, c-state-point-min)
12967 (c-state-point-min-lit-type, c-state-point-min-lit-start)
12968 (c-state-min-scan-pos, c-state-brace-pair-desert)
12969 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
12970 buffer local variables.
12971 (c-state-literal-at, c-state-lit-beg)
12972 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
12973 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
12974 (c-state-cache-top-paren, c-state-cache-after-top-paren)
12975 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
12976 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
12977 (c-renarrow-state-cache)
12978 (c-append-lower-brace-pair-to-state-cache)
12979 (c-state-push-any-brace-pair, c-append-to-state-cache)
12980 (c-remove-stale-state-cache)
12981 (c-remove-stale-state-cache-backwards, c-state-cache-init)
12982 (c-invalidate-state-cache-1, c-parse-state-1)
12983 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
12984 (c-parse-state): Enhance and refactor.
12985 (c-debug-parse-state): Amend to deal with all the new variables.
12987 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
12988 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
12989 modify to use category text properties rather than syntax-table ones.
12990 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
12991 to switch off/on the syntactic paren property of C++ template
12992 delimiters using the category property.
12993 (c-with-<->-as-parens-suppressed): Macro to invoke code with
12994 template delims suppressed.
12995 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
12996 New constant/macros which apply category properties to the start
12997 and end of preprocessor constructs.
12998 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
12999 "comment out" the syntactic value of characters in preprocessor
13001 (c-with-cpps-commented-out)
13002 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
13003 with characters in all or all but one preprocessor constructs
13006 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13008 * proced.el (proced-filter-alist): Use regexp-quote.
13010 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
13013 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
13014 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
13015 arguments. Expand `default-directory'.
13017 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
13018 the benefit of returning an expanded localname.
13019 (tramp-tramp-file-p): Handle the case NAME is not a string.
13021 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13023 Add support for bzr shelve/unshelve.
13024 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13025 (vc-bzr-extra-menu-map): New variables.
13026 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
13027 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
13028 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
13029 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
13030 (vc-bzr-dir-extra-headers): Display shelves.
13032 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
13034 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13036 * textmodes/bibtex.el (bibtex-complete-internal):
13037 Use completion-in-region.
13038 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
13040 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13042 Support applying stashes. Improve UI.
13043 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
13044 (vc-git-stash-apply, vc-git-stash-pop)
13045 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
13046 (vc-git-stash-menu): New functions.
13047 (vc-git-stash-menu-map): New variable.
13048 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
13050 2009-12-03 Glenn Morris <rgm@gnu.org>
13052 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
13053 (vc-print-log-internal): Fix previous change.
13054 (vc-revert): Correct pluralization.
13056 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13058 * progmodes/make-mode.el (makefile-special-targets-list): No need for
13059 it to be an alist any more.
13060 (makefile-complete): Use completion-in-region.
13062 * progmodes/octave-mod.el (octave-complete-symbol):
13063 Use completion-in-region.
13066 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
13067 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
13068 (idlwave-complete-class): Don't quote lambda.
13069 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
13070 (idlwave-mode-map): Move initialization into declaration.
13071 (idlwave-action-and-binding): Use backquotes.
13072 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
13074 (idlwave-is-pointer-dereference): Remove unused var `pos'.
13075 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
13076 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
13077 `parts', and `all-parts'.
13078 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
13079 (idlwave-convert-xml-system-routine-info): Remove unused string
13081 (idlwave-display-user-catalog-widget): Use dolist.
13082 (idlwave-scanning-lib): Declare dynamically-scoped var.
13083 (idlwave-scan-library-catalogs): Remove unused var `flags'.
13084 (completion-highlight-first-word-only): Declare to silence bytecomp.
13085 (idlwave-popup-select): Tighten scope of `resp'.
13086 (idlwave-find-struct-tag): Remove unused var `beg'.
13087 (idlwave-after-load-rinfo-hook): Declare.
13088 (idlwave-sintern-class-info): Remove unused var `taglist'.
13089 (idlwave-find-class-definition): Remove unused var `list'.
13090 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
13091 (idlwave-what-module-find-class): Remove unused var `classes'.
13093 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
13095 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
13097 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13099 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
13100 buffers visited. Remove redundant current-buffer-saving.
13102 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13104 Use completion-in-buffer and remove uses of dynamic scoping.
13105 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
13106 (pascal-buffer-to-use, pascal-flag): Don't declare.
13107 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
13108 (pascal-get-completion-decl, pascal-keyword-completion):
13109 Add `pascal-str' argument, save-excursion,
13110 return the found completions, and don't filter with pascal-pred.
13111 (pascal-completion-cache): New var.
13112 (pascal-completion): Don't switch buffer any more (it was never
13113 necessary). Don't save-excursion any more (it's done by the called
13114 subroutines). Use a cache to avoid redundant computations.
13115 Use complete-with-action rather than pascal-completion-response and
13116 let it apply the predicate as well.
13117 (pascal-complete-word): Use completion-in-buffer when
13118 pascal-toggle-completions is nil.
13119 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
13121 (pascal-comp-defun): Don't change buffer any more.
13122 Use complete-with-action rather than pascal-completion-response and
13123 let it apply the predicate as well.
13124 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
13127 2009-12-02 Kenichi Handa <handa@m17n.org>
13129 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
13130 shape for all Indic scripts.
13132 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13134 Use completion-in-buffer.
13135 * wid-edit.el (widget-field-text-end): New function.
13136 (widget-field-value-get): Use it.
13137 (widget-string-complete, widget-file-complete)
13138 (widget-color-complete): Use it and completion-in-region.
13139 (widget-complete): Don't narrow the buffer.
13141 2009-12-02 Glenn Morris <rgm@gnu.org>
13143 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
13144 (rmail-select-summary): Use rmail-pop-to-buffer.
13145 * mail/rmailsum.el: Replace all pop-to-buffer calls with
13146 rmail-pop-to-buffer, to prevent horizontal splits.
13148 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
13149 save-excursion with save-current-buffer.
13150 Widen before searching. (Bug#5093)
13151 (diary-list-sexp-entries): Remove superfluous save-excursion.
13153 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
13155 * woman.el (woman-make-bufname): Handle man-pages with "." in the
13158 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
13160 * ido.el (ido-file-internal): Handle filenames at point that do
13161 not have a directory part. (Bug#5049)
13163 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
13165 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
13166 (mpc-songs-jump-to, mpc-resume): Doc fixes.
13168 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
13170 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
13171 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
13174 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13176 * comint.el (comint-insert-input): Ignore clicks to the right of
13177 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
13179 * vc.el (vc-print-log-internal): Don't wait for the process to
13180 terminate before setting up the major mode.
13182 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
13185 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
13188 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
13190 2009-12-01 Glenn Morris <rgm@gnu.org>
13192 * window.el (window--display-buffer-2): Fix previous changes.
13194 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
13196 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
13198 2009-12-01 Glenn Morris <rgm@gnu.org>
13200 * Makefile.in (ELCFILES): Add mpc.elc.
13202 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13204 * mpc.el: New file.
13206 2009-12-01 Glenn Morris <rgm@gnu.org>
13208 * window.el (window-to-use): Define for compiler.
13210 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
13211 consistent with others (no final period).
13213 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
13214 (rmail-mime-show): Downcase the encoding. (Bug#5070)
13216 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
13218 Make vc-print-log buttons work.
13219 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
13221 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
13223 * savehist.el (savehist-autosave-interval): Allow setting to nil
13224 through customize. (Bug#5056)
13226 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
13228 Fix references to jit-lock properties.
13229 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
13230 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
13231 (perl-font-lock-special-syntactic-constructs):
13232 Quote jit-lock-defer-multiline property.
13234 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
13236 * vc-git.el (vc-git-registered): Call vc-git-root only once.
13238 2009-11-30 Juri Linkov <juri@jurta.org>
13240 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
13241 value `buffer' of `multi-isearch-next-buffer-current-function'.
13242 Use `(current-buffer)' when `buffer' is nil.
13243 (multi-isearch-next-buffer-from-list): Don't fallback to
13244 `(current-buffer)' when `buffer' is nil. (Bug#4947)
13246 2009-11-30 Juri Linkov <juri@jurta.org>
13248 * misearch.el (multi-isearch-read-buffers): Move canonicalization
13249 of buffers with `get-buffer' to `multi-isearch-buffers'.
13250 (multi-isearch-buffers, multi-isearch-buffers-regexp):
13251 Canonicalize BUFFERS with `get-buffer'. Doc fix.
13252 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
13253 FILES with `expand-file-name' converting relative file names
13254 to absolute. Doc fix. (Bug#4727)
13256 2009-11-30 Juri Linkov <juri@jurta.org>
13258 * misearch.el (multi-isearch-read-buffers)
13259 (multi-isearch-read-matching-buffers): New functions.
13260 (multi-isearch-buffers, multi-isearch-buffers-regexp):
13261 Use them in the `interactive' spec. Doc fix.
13262 (multi-isearch-read-files, multi-isearch-read-matching-files):
13264 (multi-isearch-files, multi-isearch-files-regexp):
13265 Use them in the `interactive' spec. Doc fix. (Bug#4725)
13267 2009-11-30 Juri Linkov <juri@jurta.org>
13269 * doc-view.el (doc-view-continuous):
13270 Rename from `doc-view-continuous-mode'.
13271 (doc-view-menu): Move "Toggle display" to the top.
13272 Add submenu "Continuous" with radio buttons "Off"/"On"
13273 and "Save as Default".
13274 (doc-view-scroll-up-or-next-page)
13275 (doc-view-scroll-down-or-previous-page)
13276 (doc-view-next-line-or-next-page)
13277 (doc-view-previous-line-or-previous-page):
13278 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
13280 2009-11-30 Juri Linkov <juri@jurta.org>
13282 * comint.el (comint-mode-map): Rebind `M-r' from
13283 `comint-previous-matching-input' to
13284 `comint-history-isearch-backward-regexp'.
13285 Unbind `M-s' to allow global key binding `M-s'.
13286 Add menu items for `comint-history-isearch-backward' and
13287 `comint-history-isearch-backward-regexp'. (Bug#3746)
13289 2009-11-30 Juri Linkov <juri@jurta.org>
13291 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
13292 For def=recenter, replace `recenter' with `recenter-top-bottom'
13293 that is called with `this-command' and `last-command' let-bound
13294 to `recenter-top-bottom'. When the last `def' was not `recenter',
13295 set `recenter-last-op' to nil. (Bug#4981)
13297 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
13299 Minor cleanup and simplification.
13300 * filecache.el (file-cache-add-directory)
13301 (file-cache-add-directory-recursively)
13302 (file-cache-add-from-file-cache-buffer)
13303 (file-cache-delete-file-regexp, file-cache-delete-directory)
13304 (file-cache-files-matching-internal, file-cache-display): Use dolist.
13305 (file-cache-temp-minibuffer-message): Delete function.
13306 (file-cache-minibuffer-complete): Use minibuffer-message instead.
13308 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
13309 Don't signal an error when bumping into EOB in tr, s, or y.
13311 2009-11-29 Juri Linkov <juri@jurta.org>
13313 * startup.el (fancy-about-text): Fix wording of Guided Tour.
13316 * descr-text.el (describe-char-unidata-list): Use lowercase name
13317 for "Unicode name" like in other tags.
13319 2009-11-29 Juri Linkov <juri@jurta.org>
13321 * ediff-util.el (ediff-minibuffer-with-setup-hook):
13322 New compatibility macro.
13323 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
13325 2009-11-29 Juri Linkov <juri@jurta.org>
13327 Add defcustom to define the cycling order of `recenter-top-bottom'.
13330 * window.el (recenter-last-op): Doc fix.
13331 (recenter-positions): New defcustom.
13332 (recenter-top-bottom): Rewrite to use `recenter-positions'.
13333 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
13335 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
13337 Improve integration of Tramp and ange-ftp in eshell.
13339 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
13340 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
13341 (eshell/sudo): Flatten args. Let-bind `default-directory'.
13343 * eshell/esh-util.el (top): Require also Tramp when compiling.
13344 (eshell-directory-files-and-attributes): Check for FTP remote
13346 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
13347 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
13348 (eshell-file-attributes): Handle ".". Return `entry'.
13350 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
13351 (ange-ftp-directory-files-and-attributes)
13352 (ange-ftp-real-directory-files-and-attributes): New defuns.
13354 * net/tramp.el (tramp-maybe-open-connection): Open the remote
13355 shell with "exec" when possible. This prevents trailing prompts
13356 in `start-file-process'.
13358 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13360 Try and remove assumptions about point-min==1.
13361 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
13362 (rng-compute-mode-line-string): Show the validation percentage in
13363 terms of the narrowed text, not the widened text.
13364 (rng-do-some-validation): Don't catch internal errors when debugging.
13365 (rng-first-error): Simplify.
13366 (rng-after-change-function): Remove work around. AFAIK the bug has
13367 been fixed a while ago.
13369 * image-mode.el (image-minor-mode): Exit more gracefully when the image
13370 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
13372 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
13374 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
13375 `cd' doesn't always do it for us (bug#5067).
13377 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
13378 on 2009-10-25 as part of some other change (bug#5067).
13380 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
13382 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
13384 (byte-compile-warnings): Use byte-compile-warning-types.
13385 (byte-compile-save-excursion): Warn about use of set-buffer right
13386 after save-excursion.
13388 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
13389 the excursion as well.
13391 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
13393 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
13394 providing a Tramp related implementation of "su" and "sudo".
13395 (eshell-unix-initialize): Add "su" and "sudo".
13397 2009-11-27 Daiki Ueno <ueno@unixuser.org>
13399 * net/socks.el (socks-send-command): Convert binary request to
13400 unibyte before sending. This fixes mishandling of some port
13401 numbers such as 129.
13403 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
13405 * help.el (describe-bindings-internal): Remove `interactive'.
13407 * man.el (Man-completion-table): Trim a terminating "(".
13408 Remove the space between name page a section.
13409 Add the command's description on the `help-echo' property.
13410 Remove `process-connection-type' binding since it's unused by
13412 Provide completion for the "<section> <name>" format as well.
13413 (Man-default-man-entry): Remove spurious var shadowing the argument.
13415 2009-11-26 Kevin Ryde <user42@zip.com.au>
13417 * log-view.el: Add "Keywords: tools", since its other keywords
13418 aren't in finder-known-keywords, and following vc.el.
13420 * sha1.el (sha1-string-external): default-directory "/" in case
13421 otherwise non-existent. process-connection-type pipe for touch of
13422 efficiency recommended by elisp manual. (An aside in Bug#3911.)
13424 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
13426 Misc coding convention cleanups.
13427 * htmlfontify.el (hfy-init-kludge-hook): Rename from
13428 hfy-init-kludge-hooks.
13429 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
13430 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
13431 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
13433 (hfy-slant, hfy-weight): Use tables rather than code.
13434 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
13435 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
13436 (hfy-face-attr-for-class): Initialize `face-spec' directly.
13437 (hfy-face-to-css): Remove `nconc' with single arg.
13438 (hfy-p-to-face-lennart): Use `or'.
13439 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
13440 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
13441 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
13442 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
13443 (hfy-force-fontification): Use run-hooks.
13445 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
13447 Various minor fixes.
13448 * htmlfontify.el (hfy-default-header): Add toggle_invis since
13449 Javascript belongs in the header, not the body.
13450 (hfy-javascript): Remove.
13451 (hfy-fontify-buffer): Don't insert it any more.
13452 (hfy-face-at): Handle (face0 face1 face2) style face properties.
13453 Fix bug in invis handling when there were no invis props in a chunk.
13455 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
13457 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
13459 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
13461 * finder.el (finder-mode-map): Add a menu.
13463 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
13465 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
13466 "unsigned" structs.
13468 (verilog-leap-to-head, verilog-backward-token): Handle "disable
13469 fork" statement better.
13471 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
13473 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
13474 (verilog-delete-auto, verilog-delete-empty-auto-pair)
13475 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
13476 Reported by Clay Douglass.
13478 (verilog-auto-inst, verilog-auto-star-safe)
13479 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
13480 Fix removing "// Interfaces" when saving .* expansions.
13481 Reported by Pierre-David Pfister.
13483 2009-11-26 Glenn Morris <rgm@gnu.org>
13485 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
13488 2009-11-25 Johan Bockgård <bojohan@gnu.org>
13490 * vc-annotate.el (vc-annotate-revision-previous-to-line):
13491 Really use previous revision.
13493 2009-11-25 Kevin Ryde <user42@zip.com.au>
13495 * man.el (Man-completion-table): default-directory "/" in case
13496 doesn't otherwise exist. process-environment COLUMNS=999 so as
13497 not to truncate long names. process-connection-type pipe to avoid
13498 any chance of hitting the pseudo-tty TIOCGWINSZ.
13499 (man): completion-ignore-case t for friendliness and since man
13500 itself is case-insensitive on the command line.
13501 Further to Bug#3717.
13503 * arc-mode.el: Add "Keywords: files", so the details in its
13504 commentary can be reached from finder-by-keyword.
13505 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
13506 editing mode, but it's comms related and sgml-mode.el has "comm"
13508 * textmodes/bibtex-style.el: Add "Keywords: tex".
13509 * international/isearch-x.el, international/ja-dic-cnv.el:
13510 * international/ja-dic-utl.el, international/kkc.el:
13511 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
13513 2009-11-25 Juri Linkov <juri@jurta.org>
13515 * man.el (Man-completion-table): Modify regexp to include
13516 section names to completion strings. (Bug#3717)
13518 2009-11-25 Juri Linkov <juri@jurta.org>
13520 Search recursively in gzipped files. (Bug#4982)
13522 * progmodes/grep.el (grep-highlight-matches): Add new options
13523 `always' and `auto'. Doc fix.
13524 (grep-process-setup): Check `grep-highlight-matches' for
13525 `auto-detect' to determine the need to compute grep defaults.
13526 Move Windows/DOS specific --colors settings handling
13527 to `grep-compute-defaults'. Check `grep-highlight-matches'
13528 to get the value of "--color=".
13529 (grep-compute-defaults): Compute `grep-highlight-matches' when it
13530 has the value `auto-detect'. Move Windows/DOS specific settings
13531 from `grep-process-setup'.
13532 (zrgrep): New command with alias `rzgrep'.
13534 2009-11-25 Juri Linkov <juri@jurta.org>
13536 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
13537 to nil instead of switching off view-mode. (Bug#4896)
13539 2009-11-25 Juri Linkov <juri@jurta.org>
13541 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
13543 * mwheel.el (mwheel-scroll-up-function)
13544 (mwheel-scroll-down-function): New defvars.
13545 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
13546 `scroll-up', and `mwheel-scroll-down-function' instead of
13549 * doc-view.el (doc-view-scroll-up-or-next-page)
13550 (doc-view-scroll-down-or-previous-page): Add optional ARG.
13551 Use this ARG in the call to image-scroll-up/image-scroll-down.
13552 Change `interactive' spec to "P". Goto next/previous page only
13553 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
13554 SPC/DEL case). Doc fix.
13555 (doc-view-next-line-or-next-page)
13556 (doc-view-previous-line-or-previous-page): Rename arg to ARG
13558 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
13559 `doc-view-scroll-up-or-next-page', and buffer-local
13560 `mwheel-scroll-down-function' to
13561 `doc-view-scroll-down-or-previous-page'.
13563 2009-11-25 Juri Linkov <juri@jurta.org>
13565 Provide additional default values (directories at other Dired
13566 windows) via M-n in the minibuffer of some Dired commands.
13568 * dired-aux.el (dired-diff, dired-compare-directories)
13569 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
13570 `minibuffer-default' in `minibuffer-with-setup-hook'.
13571 (dired-dwim-target-directory): Find a window that displays Dired
13572 buffer instead of failing when the next window is not Dired.
13573 Use `get-window-with-predicate' to find for the next Dired window.
13574 (dired-dwim-target-defaults): New function.
13576 * ediff-util.el (ediff-read-file-name):
13577 Use `dired-dwim-target-defaults' to set `minibuffer-default'
13578 in `minibuffer-with-setup-hook'.
13580 2009-11-25 Juri Linkov <juri@jurta.org>
13582 Provide additional default values (file name at point or at the
13583 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
13585 * minibuffer.el (read-file-name-defaults): New function.
13586 (read-file-name): Reset `minibuffer-default' to nil when
13587 it duplicates initial input `insdef'.
13588 Bind `minibuffer-default-add-function' to lambda that
13589 calls `read-file-name-defaults' in `minibuffer-selected-window'.
13590 (minibuffer-insert-file-name-at-point): New command.
13592 * files.el (file-name-at-point-functions): New defcustom.
13593 (find-file-default): Remove defvar.
13594 (find-file-read-args): Don't use `find-file-default'.
13595 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13596 to `read-file-name'.
13597 (find-file-literally): Use `read-file-name' with
13598 `confirm-nonexistent-file-or-buffer'.
13600 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
13602 * dired.el (dired-read-dir-and-switches):
13603 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13604 to `read-file-name'.
13605 (dired-file-name-at-point): New function.
13606 (dired-mode): Add hook `dired-file-name-at-point' to
13607 `file-name-at-point-functions'.
13609 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13611 Really make the *Completions* window soft-dedicated (bug#5030).
13612 * window.el (window--display-buffer-2): Add `dedicated' argument.
13613 (display-buffer): Pass it when needed so the dedicated flag is set
13614 after calling set-window-buffer, which would otherwise reset it.
13616 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13618 * progmodes/meta-mode.el (meta-complete-symbol):
13619 * progmodes/etags.el (complete-tag):
13620 * mail/mailabbrev.el (mail-abbrev-complete-alias):
13621 Use completion-in-region.
13623 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
13624 (dabbrev-completion): Use completion-in-region.
13625 (dabbrev--abbrev-at-point): Simplify regexp.
13627 * abbrev.el (abbrev--before-point): Use word-motion functions
13628 if :regexp is not specified (bug#5031).
13630 * subr.el (string-prefix-p): New function.
13632 * man.el (Man-completion-cache): New var.
13633 (Man-completion-table): Use it.
13635 * vc.el (vc-print-log-internal): Make `limit' optional for better
13636 compatibility (e.g. with vc-annotate.el).
13638 2009-11-24 Kevin Ryde <user42@zip.com.au>
13640 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
13641 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
13643 * emacs-lisp/elint.el (elint-add-required-env): Better error message
13644 when .el source file not found or other error.
13646 2009-11-24 Markus Triska <markus.triska@gmx.at>
13648 * linum.el (linum-update-window): Ignore intangible (bug#4996).
13650 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
13652 Handle the [back] button properly (bug#4979).
13653 * descr-text.el (describe-text-properties): Add a `buffer' argument.
13654 Use help-setup-xref, help-buffer, and with-help-window.
13655 (describe-char): Add `buffer' argument.
13656 Pass proper command to help-setup-xref. Don't meddle with
13657 help-xref-stack-item directly.
13658 (describe-text-category): Use with-help-window and help-buffer.
13660 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
13661 for the displayed buffer (bug#4887).
13663 * man.el (Man-completion-table): New function.
13666 2009-11-24 David Reitter <david.reitter@gmail.com>
13668 * vc-git.el (vc-git-registered): Use checkout directory (where
13669 .git is) rather than the file's directory and a relative path spec
13670 to work around a bug in git.
13672 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
13674 Improve handling of processes on remote hosts.
13676 * eshell/esh-util.el (eshell-path-env): New defvar.
13677 (eshell-parse-colon-path): New defun.
13678 (eshell-file-attributes): Use `eshell-parse-colon-path'.
13680 * eshell/esh-ext.el (eshell-search-path):
13681 Use `eshell-parse-colon-path'.
13682 (eshell-remote-command): Remove argument HANDLER.
13683 (eshell-external-command): Check for FTP remote connection.
13685 * eshell/esh-proc.el (eshell-gather-process-output):
13686 Use `file-truename', in order to start also symlinked files.
13687 Apply `start-file-process' instead of `start-process'.
13688 Shorten `command' to the local file name part.
13690 * eshell/em-cmpl.el (eshell-complete-commands-list):
13691 Use `eshell-parse-colon-path'.
13693 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
13695 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
13696 to `eshell-directory-change-hook'.
13698 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
13700 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
13701 because it could be enabled automatically if view-read-only is non-nil.
13703 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
13705 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
13706 made on 2009-11-22.
13708 2009-11-24 Glenn Morris <rgm@gnu.org>
13710 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
13711 deleted variable bookmark-bmenu-bookmark-column.
13713 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
13715 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
13717 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
13719 * net/browse-url.el (browse-url-filename-alist): On Windows, add
13720 two slashes to the "file:" prefix.
13721 (browse-url-file-url): De-munge Cygwin filenames before passing
13722 them to Windows browser.
13723 (browse-url-default-windows-browser): Use call-process.
13725 2009-11-23 Juri Linkov <juri@jurta.org>
13727 Implement DocView Continuous mode. (Bug#4896)
13728 * doc-view.el (doc-view-continuous-mode): New defcustom.
13729 (doc-view-mode-map): Bind C-n/<down> to
13730 `doc-view-next-line-or-next-page', C-p/<up> to
13731 `doc-view-previous-line-or-previous-page'.
13732 (doc-view-next-line-or-next-page)
13733 (doc-view-previous-line-or-previous-page): New commands.
13735 2009-11-23 Juri Linkov <juri@jurta.org>
13737 Implement Isearch in comint input history. (Bug#3746)
13738 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
13739 `isearch-mode-hook'.
13740 (comint-history-isearch): New defcustom.
13741 (comint-history-isearch-backward)
13742 (comint-history-isearch-backward-regexp): New commands.
13743 (comint-history-isearch-message-overlay): New buffer-local variable.
13744 (comint-history-isearch-setup, comint-history-isearch-end)
13745 (comint-goto-input, comint-history-isearch-search)
13746 (comint-history-isearch-message, comint-history-isearch-wrap)
13747 (comint-history-isearch-push-state)
13748 (comint-history-isearch-pop-state): New functions.
13750 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
13752 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
13754 (tramp-handle-make-symbolic-link)
13755 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
13757 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
13758 (tramp-handle-process-file): Use it.
13760 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
13762 * window.el (move-to-window-line-last-op): Remove.
13763 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
13765 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
13767 Make M-r mirror the new cycling behavior of C-l.
13768 * window.el (move-to-window-line-last-op): New var.
13769 (move-to-window-line-top-bottom): New command.
13770 (global-map): Bind M-r move-to-window-line-top-bottom.
13772 2009-11-23 Sven Joachim <svenjoac@gmx.de>
13774 * dired-x.el (dired-guess-shell-alist-default):
13775 Support xz format. (Bug#4953)
13777 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
13779 * emulation/viper-cmd.el: Use viper-last-command-char instead of
13780 last-command-char/last-command-event.
13781 (viper-prefix-arg-value): Do correct conversion of event-char for
13784 * emulation/viper-util.el, emulation/viper.el:
13785 Use viper-last-command-char instead of
13786 last-command-char/last-command-event.
13788 * ediff-init.el, ediff-mult.el, ediff-util.el:
13789 Replace last-command-char and last-command-event
13790 with (ediff-last-command-char) everywhere.
13792 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
13793 created in fundamental mode.
13795 * ediff.el (ediff-version): Revert the change of interactive-p to
13796 called-interactively-p.
13798 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
13800 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
13801 generation from word-movement command names.
13803 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
13805 * cus-start.el (all): Add native condition for font-use-system-font.
13807 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
13809 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
13810 Correct the patch from 2009-11-18. (Bug#3910)
13812 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
13814 * progmodes/subword.el: Rename from lisp/subword.el.
13816 * subword.el: Rename to progmodes/subword.el.
13818 * Makefile.in (ELCFILES): Adapt to subword.el move.
13820 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13821 Stefan Monnier <monnier@iro.umontreal.ca>
13823 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
13824 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
13825 (bookmark-bmenu-show-filenames): Use push.
13826 (bookmark-bmenu-hide-filenames): Use local var instead of
13827 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
13828 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
13829 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
13830 filenames now that the bookmark names are always available.
13832 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
13834 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
13835 (bookmark-search-pattern): Move and leave unbound.
13836 (bookmark-bmenu-mode-map): Change binding.
13837 (bookmark-read-search-input): Simplify.
13838 Don't use text-char-description. Don't error on non-char events.
13839 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
13840 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
13841 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
13842 Use a local var for the timer.
13843 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
13844 (i.e. bookmark-bmenu-search).
13846 2009-11-21 Glenn Morris <rgm@gnu.org>
13848 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
13850 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
13852 * net/browse-url.el (browse-url-default-windows-browser):
13853 Use cygstart for cygwin.
13855 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
13857 * bookmark.el: Formatting and doc fixes only:
13858 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
13859 (bookmark-bmenu-search): Wrap to fit within 80 columns.
13860 Minor grammar and punctuation fixes in doc string.
13861 (bookmark-read-search-input): Adjust to fit within 80 columns.
13863 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
13865 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
13866 (c-backward-into-nomenclature): Adapt to subword renaming.
13868 * subword.el (subword-forward, subword-backward, subword-mark)
13869 (subword-kill, subword-backward-kill, subword-transpose)
13870 (subword-downcase, subword-upcase, subword-capitalize)
13871 (subword-forward-internal, subword-backward-internal):
13872 Rename from forward-subword, backward-subword, mark-subword,
13873 kill-subword, backward-kill-subword, transpose-subwords,
13874 downcase-subword, upcase-subword, capitalize-subword,
13875 forward-subword-internal, backward-subword-internal.
13877 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13879 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
13881 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
13883 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
13884 (bookmark-bmenu-filter-alist-by-regexp)
13885 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
13886 (bookmark-bmenu-search): New command.
13887 (bookmark-bmenu-mode-map): Bind it.
13889 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
13891 * progmodes/cc-cmds.el: declare-functioned forward-subword and
13892 backward-subword to quit the byte-compiler.
13894 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
13896 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
13898 * progmodes/cc-cmds.el (c-update-modeline)
13899 (c-forward-into-nomenclature, c-backward-into-nomenclature):
13900 Refer to subword.el functions instead of cc-subword.el.
13902 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
13903 subword.el functions instead of cc-subword.el.
13905 * progmodes/cc-subword.el: Rename to subword.el.
13906 * subword.el: Rename from progmodes/cc-subword.el.
13907 (subword-mode-map): Rename from c-subword-mode-map.
13908 (subword-mode): Rename from c-subword-mode.
13909 (global-subword-mode): New global minor mode.
13910 (forward-subword): Rename from c-forward-subword.
13911 (backward-subword): Rename from c-backward-subword.
13912 (mark-subword): Rename from c-mark-subword.
13913 (kill-subword): Rename from c-kill-subword.
13914 (backward-kill-subword): Rename from c-backward-kill-subword.
13915 (transpose-subwords): Rename from c-tranpose-subword.
13916 (downcase-subword): Rename from c-downcase-subword.
13917 (capitalize-subword): Rename from c-capitalize-subword.
13918 (forward-subword-internal): Rename from c-forward-subword-internal.
13919 (backward-subword-internal): Rename from c-backward-subword-internal.
13921 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
13923 * vc.el (vc-deduce-fileset): Allow non-state changing operations
13924 from a dired buffer.
13925 (vc-dired-deduce-fileset): New function.
13926 (vc-root-diff, vc-print-root-log): Use it.
13928 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
13929 nil LIMIT argument to vc-print-log-internal.
13931 2009-11-20 Glenn Morris <rgm@gnu.org>
13933 * Makefile.in (ELCFILES): Regenerate.
13935 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
13937 * calc/calc.el (calc-set-mode-line):
13938 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13939 (math-format-number): Rename `math-format-complement-signed' to
13940 `math-format-twos-complement'.
13942 * calc/calc-bin.el (math-format-twos-complement): Rename from
13943 math-format-complement-signed.
13944 (calc-radix): Rename `calc-complement-signed-mode' to
13945 `calc-twos-complement-mode'.
13946 (calc-octal-radix, calc-hex-radix): Add an argument for
13949 * calc/calc-embed.el (calc-embedded-mode-vars):
13950 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13952 * calc/calc-ext.el (calc-init-extensions):
13953 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13954 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
13956 * calc/calc-units.el (math-build-units-table-buffer):
13957 Let `calc-twos-complement-mode' be nil.
13959 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
13962 * calc/calc-vec.el (calcFunc-vunpack):
13963 * calc/calc-aent.el (calc-do-calc-eval):
13964 * calc/calc-forms.el (math-format-date):
13965 * calc/calc-graph.el (calc-graph-plot):
13966 * calc/calc-math.el (math-use-emacs-fn):
13967 * calc/calccomp.el (math-compose-expr):
13968 Let `calc-twos-complement-mode' be nil.
13970 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
13972 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
13973 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
13974 * minibuffer.el (completion-in-region-functions): New hook.
13975 (completion-in-region): New function.
13976 * emacs-lisp/lisp.el (lisp-complete-symbol):
13977 * pcomplete.el (pcomplete-std-complete): Use it.
13979 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
13981 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
13982 (latex-complete-alist): New vars.
13983 (latex-string-prefix-p, latex-complete-bibtex-keys)
13984 (latex-complete-envnames, latex-complete-refkeys)
13985 (latex-complete-data): New functions.
13986 (latex-complete, latex-indent-or-complete): New commands.
13988 * window.el (display-buffer-mark-dedicated): New var.
13989 (display-buffer): Obey it.
13990 * minibuffer.el (minibuffer-completion-help): Use it.
13992 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
13994 * filecache.el (file-cache-add-file): Use push and cons.
13995 (file-cache-delete-file-regexp): Use push.
13996 (file-cache-complete): Use completion-in-region.
13998 * simple.el (with-wrapper-hook): Fix thinko.
14000 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
14001 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
14002 Use with-current-buffer and string-to-number.
14003 (hfy-fallback-colour-values): Use assoc-string.
14004 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
14005 (hfy-face-at): Remove unused var `found-face'.
14006 (hfy-compile-stylesheet): Remove unused var `css'.
14007 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
14009 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
14010 Use with-current-buffer.
14011 (hfy-text-p): Use expand-file-name and fewer setq.
14013 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
14015 * htmlfontify.el, hfy-cmap.el: New files.
14017 2009-11-19 Juri Linkov <juri@jurta.org>
14019 * minibuffer.el (completions-format): New defcustom.
14020 (completion--insert-strings): Implement vertical format.
14022 * simple.el (switch-to-completions): Move point to the first
14023 completion when point was at the beginning of the buffer.
14025 2009-11-19 Juri Linkov <juri@jurta.org>
14027 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
14029 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
14031 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
14033 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
14034 (mail-signature): Change default to t.
14035 (mail-from-style): Deprecate `system-default' value.
14036 (mail-insert-from-field): For default value of mail-from-style,
14037 default to `angles' unless `angles' needs quoting and `parens'
14039 (mail-citation-prefix-regexp): Use citation regexp from
14042 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
14044 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
14045 Set variables for computing the prompt for reading password.
14047 2009-11-19 Glenn Morris <rgm@gnu.org>
14049 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
14051 * textmodes/flyspell.el (sgml-lexical-context): Declare.
14053 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
14054 (newsticker-treeview-listwindow-height): Fix custom type.
14056 2009-11-19 Kenichi Handa <handa@m17n.org>
14058 * descr-text.el (describe-char-padded-string): Compose with TAB
14059 only if there's a font for CH.
14060 (describe-char): Fix the condition for detecting a trivial composition.
14062 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
14064 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
14065 more accurate version of the regexp. (Bug#3910)
14067 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
14069 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
14071 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
14073 * font-setting.el (font-use-system-font): Declare for byte-compiler.
14074 (font-setting-change-default-font): Fix typo in docstring.
14076 2009-11-18 Alan Mackenzie <acm@muc.de>
14078 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
14080 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
14082 * font-setting.el (font-use-system-font): Move ...
14084 * cus-start.el (all): ... to here.
14086 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
14088 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
14089 Don't set `ad-return-value' if `ad-do-it' doesn't.
14091 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
14094 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
14096 * menu-bar.el: Put "Use system font" in Option-menu.
14097 (menu-bar-options-save): Add font-use-system-font.
14099 * loadup.el: If feature system-font-setting or font-render-setting is
14100 there, load font-setting.
14102 * Makefile.in (ELCFILES): Add font-settings.el.
14103 * font-setting.el: New file.
14105 2009-11-17 Glenn Morris <rgm@gnu.org>
14107 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
14109 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
14110 Preserve point in the list buffer. (Bug#4939)
14112 (newsticker--treeview-list-update-highlight)
14113 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
14115 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
14117 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
14120 * calc/calc-ext.el (calc-init-extensions): Remove references to
14123 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
14125 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
14126 * calc/calc-help.el (calc-b-prefix-help): Remove references to
14129 2009-11-16 Kevin Ryde <user42@zip.com.au>
14131 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
14132 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
14134 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
14135 (lm-keywords-list): Allow comma-only separator like "foo,bar".
14136 Ignore trailing spaces by omit-nulls to split-string (fixing
14137 regression from Emacs 21 due to the incompatible split-string
14138 change). (Bug #4928.)
14140 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
14142 * vc.el (vc-log-show-limit): Default to 2000.
14143 (vc-print-log-internal): Insert buttons to request more entries
14144 when limiting the output.
14146 * vc-sccs.el (vc-sccs-print-log):
14147 * vc-rcs.el (vc-rcs-print-log):
14148 * vc-cvs.el (vc-cvs-print-log):
14149 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
14152 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
14154 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
14155 error when `tramp-gvfs-dbus-event-vector' is set.
14156 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
14158 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
14160 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
14162 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
14164 * net/dbus.el (dbus-unregister-service): New defun.
14165 (dbus-register-property): Register the handlers of
14166 "org.freedesktop.DBus.Properties" for SERVICE.
14167 (dbus-property-handler): Fix docstring.
14169 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14171 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
14172 Quote doc string reference in defvaralias as it is not in special form.
14173 (byte-compile-output-docform): Doc fix.
14175 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
14177 * calc/calc.el (math-2-word-size, math-half-2-word-size)
14178 (calc-complement-signed-mode): New variables.
14179 (calc-set-mode-line): Add indicator for twos-complements.
14180 (math-format-number): Format twos-complement notation.
14182 * calc/calc-bin.el (calc-word-size): Reset the variables
14183 `math-2-word-size' and `math-half-2-word-size'.
14184 (math-format-complement-signed, math-symclip, calcFunc-symclip)
14185 (calc-symclip): New functions.
14187 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
14189 * calc/calc-embed.el (calc-embedded-mode-vars):
14190 Add `calc-complement-signed-mode' to the list of modes.
14192 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
14193 (calc-b-oper-keys): Add `calc-symclip' to list.
14195 * calc/calc-ext.el (math-read-number-fancy): Read complement
14197 (calc-init-extensions): Add binding for `calc-symclip'.
14198 Add autoload for `calcFunc-symclip' and `calc-symclip'.
14200 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
14202 (calc-modes-menu): Add item for twos complement mode.
14204 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
14206 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
14208 * register.el (jump-to-register, insert-register): Handle Semantic
14209 tags. From commented-out advice in semantic/senator.el.
14211 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
14213 * vc.el (vc-log-show-limit): New variable.
14214 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
14215 when using a prefix argument.
14216 (vc-print-log-internal): Add new argument LIMIT.
14218 * vc-svn.el (vc-svn-print-log):
14219 * vc-mtn.el (vc-mtn-print-log):
14220 * vc-hg.el (vc-hg-print-log):
14221 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
14222 pass it to the log command when set. Make the BUFFER argument
14225 * vc-sccs.el (vc-sccs-print-log):
14226 * vc-rcs.el (vc-rcs-print-log):
14227 * vc-git.el (vc-git-print-log):
14228 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
14229 ignore it. Make the BUFFER argument non-optional
14231 * bindings.el (mode-line-buffer-identification): Do not purecopy.
14233 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
14235 * dired.el (dired-mode-map): Move encryption items to "Operate"
14238 * strokes.el (strokes-update-window-configuration): Make strokes
14239 buffer current before erasing (Bug#4906).
14241 2009-11-15 Juri Linkov <juri@jurta.org>
14243 * simple.el (set-mark-default-inactive): Add :type, :group
14244 and :version. (Bug#4876)
14246 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
14248 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
14249 (archive-unique-fname): ... here. (Bug#4929)
14251 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
14253 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
14256 * novice.el (disabled-command-function): Add useful args.
14257 Setup the help buffer so that [back] works.
14258 Remove redundant call to help-mode.
14259 (disabled-command-function): Use `case'.
14260 (en/disable-command): New function extracted from enable-command.
14261 (enable-command, disable-command): Use it.
14263 2009-11-14 Glenn Morris <rgm@gnu.org>
14265 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
14266 constants. (Bug#4913)
14268 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
14270 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
14272 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
14273 defined in C that have no doc-strings. (Bug#1063)
14275 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
14277 * cus-edit.el (data, files):
14278 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
14280 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
14282 * simple.el (shell-command): Doc fix (Bug#4891).
14284 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
14286 2009-11-14 Glenn Morris <rgm@gnu.org>
14288 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
14289 statements for vc-diff, emerge-quit, and rmail-cease-edit.
14290 If they are already loaded, eval-after-load will do the right thing.
14292 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
14295 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
14297 * simple.el (x-selection-owner-p): Declare.
14298 (read-mail-command): Use custom radio type rather than choice.
14299 (completion-no-auto-exit): Doc fix.
14301 * custom.el (defgroup):
14302 * epg-config.el (epg): Doc fixes.
14304 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
14306 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
14307 * international/ccl.el (define-ccl-program): Do not purecopy the
14308 docstring, defconst does it anyway.
14310 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
14312 * add-log.el (add-change-log-entry): Avoid displaying the changelog
14315 * x-dnd.el (x-dnd-maybe-call-test-function):
14316 * window.el (split-window-vertically):
14317 * whitespace.el (whitespace-help-on):
14318 * vc-rcs.el (vc-rcs-consult-headers):
14319 * userlock.el (ask-user-about-lock-help)
14320 (ask-user-about-supersession-help):
14321 * type-break.el (type-break-force-mode-line-update):
14322 * time-stamp.el (time-stamp-conv-warn):
14323 * terminal.el (te-set-output-log, te-more-break, te-filter)
14324 (te-sentinel, terminal-emulator):
14325 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
14326 (term-write-input-ring, term-check-source, term-start-output-log):
14327 (term-display-buffer-line, term-dynamic-list-completions):
14328 (term-ansi-make-term, serial-term):
14329 * subr.el (selective-display):
14330 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
14331 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
14332 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
14333 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
14334 (speedbar-remove-localized-speedbar-support)
14335 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
14336 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
14337 (speedbar-buffers-line-directory):
14338 * simple.el (shell-command-on-region, append-to-buffer)
14339 (prepend-to-buffer):
14340 * shadowfile.el (shadow-save-todo-file):
14341 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
14342 (scroll-bar-maybe-set-window-start):
14343 * sb-image.el (speedbar-image-dump):
14344 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
14345 (load-save-place-alist-from-file):
14346 * ps-samp.el (ps-print-message-from-summary):
14347 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
14348 (ps-background-image, ps-begin-job, ps-do-despool):
14349 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
14350 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
14351 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
14352 (pr-call-process, pr-file-list, pr-interface-save):
14353 * novice.el (disabled-command-function)
14354 (enable-command, disable-command):
14355 * mouse.el (mouse-buffer-menu-alist):
14356 * mouse-copy.el (mouse-kill-preserving-secondary):
14357 * macros.el (kbd-macro-query):
14358 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
14359 * informat.el (batch-info-validate):
14360 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
14361 * hippie-exp.el (try-expand-dabbrev-visible):
14362 * help-mode.el (help-make-xrefs):
14363 * help-fns.el (describe-variable):
14364 * generic-x.el (bat-generic-mode-run-as-comint):
14365 * finder.el (finder-mouse-select):
14366 * find-dired.el (find-dired-sentinel):
14367 * filesets.el (filesets-file-close):
14368 * files.el (list-directory):
14369 * faces.el (list-faces-display, describe-face):
14370 * facemenu.el (list-colors-display):
14371 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
14372 * epg.el (epg--process-filter, epg-cancel):
14373 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
14374 (epa--read-signature-type):
14375 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
14376 (emerge-file-names):
14377 * ehelp.el (electric-helpify):
14378 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
14379 * ediff-vers.el (rcs-ediff-view-revision):
14380 * ediff-util.el (ediff-setup):
14381 * ediff-mult.el (ediff-append-custom-diff):
14382 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
14384 * echistory.el (Electric-command-history-redo-expression):
14385 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
14386 * disp-table.el (describe-display-table):
14387 * dired.el (dired-find-buffer-nocreate):
14388 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
14389 * dabbrev.el (dabbrev--same-major-mode-p):
14390 * chistory.el (list-command-history):
14391 * apropos.el (apropos-documentation):
14392 * allout.el (allout-obtain-passphrase):
14393 (allout-copy-exposed-to-buffer):
14394 (allout-verify-passphrase): Use with-current-buffer.
14396 2009-11-13 Glenn Morris <rgm@gnu.org>
14398 * Makefile.in (ELCFILES): Regenerate.
14400 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
14402 * net/dbus.el (dbus-registered-objects-table): Rename from
14403 `dbus-registered-functions-table', because it contains also properties.
14404 (dbus-unregister-object): Unregister also properties.
14405 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14406 Use a timeout of 500 msec, in order to not block.
14407 (dbus-register-property, dbus-property-handler): New defuns.
14409 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
14411 * simple.el (minibuffer-default-add-completions): Drop deprecated
14414 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
14416 * textmodes/artist.el (artist-mouse-choose-operation):
14417 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
14418 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
14419 (artist-compute-up-event-key): New function.
14420 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
14422 2009-11-13 Kenichi Handa <handa@m17n.org>
14424 * language/japan-util.el: Make sure that the value of jisx0208
14425 property is jisx0208 character.
14427 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
14429 * international/mule.el (auto-coding-regexp-alist): Only purecopy
14430 car or each item, not the whole list.
14432 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
14434 * minibuffer.el (minibuffer-completion-help):
14435 Use minibuffer-hide-completions.
14437 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
14439 * dired.el (dired-save-positions, dired-restore-positions): New funs.
14440 (dired-revert): Use them (bug#4880).
14442 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
14444 * tooltip.el (tooltip-frame-parameters): Undo previous change.
14446 2009-11-12 Juri Linkov <juri@jurta.org>
14448 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
14450 (find-file-literally-at-point): Alias of `ffap-literally'.
14452 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
14454 * textmodes/ispell.el (ispell-skip-region-alist):
14455 * textmodes/css-mode.el (auto-mode-alist):
14456 * progmodes/compile.el (auto-mode-alist):
14457 * international/mule.el (ctext-non-standard-encodings-alist)
14458 (ctext-non-standard-encodings-regexp):
14459 * simple.el (shell-command-switch, text-read-only):
14460 * replace.el (occur-mode-map):
14461 * paths.el (rmail-file-name):
14462 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
14463 * find-file.el (ff-special-constructs):
14464 * files.el (file-name-handler-alist):
14465 * composite.el: Purecopy strings.
14467 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
14469 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
14471 * widget.el (define-widget): Purecopy the docstring.
14472 * international/mule-cmds.el (charset): Do not purecopy the
14473 docstring here, define-widget does it.
14475 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
14476 * textmodes/bibtex-style.el (auto-mode-alist):
14477 * progmodes/inf-lisp.el (inferior-lisp-prompt):
14478 * progmodes/compile.el (compile-command):
14479 * language/korea-util.el (default-korean-keyboard):
14480 * international/mule-conf.el (file-coding-system-alist):
14481 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
14482 * tooltip.el (tooltip-frame-parameters):
14483 * newcomment.el (comment-end, comment-padding):
14484 * dired.el (dired-trivial-filenames):
14485 * comint.el (comint-file-name-prefix): Purecopy initial values.
14487 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
14489 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
14490 (tramp-advice-minibuffer-electric-tilde): Unload advices via
14492 (tramp-advice-make-auto-save-file-name)
14493 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
14494 after removing the advice.
14496 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
14498 * progmodes/grep.el (grep-regexp-alist):
14499 * international/mule-cmds.el (iso-2022-control-alist):
14500 * emacs-lisp/timer.el (timer-duration-words):
14501 * subr.el (version-separator, version-regexp-alist):
14502 * minibuffer.el (completion-styles-alist):
14503 * faces.el (face-attribute-name-alist, list-faces-sample-text):
14504 Change defvars to defconsts.
14506 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
14507 * loadup.el ("international/mule-conf"): Load the byte compiled version.
14508 * international/mule-conf.el: Allow to be byte compiled.
14510 * international/mule.el (define-charset): Purecopy props.
14511 (load-with-code-conversion): Purecopy doc string and file name.
14512 (put-charset-property): Purecopy strings.
14513 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
14515 * international/mule-cmds.el (register-input-method): Purecopy arguments.
14516 (define-char-code-property): Correctly purecopy the table.
14518 * international/ccl.el (define-ccl-program): Purecopy the docstring.
14520 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
14522 * subr.el (add-hook): Purecopy strings.
14523 (eval-after-load): Purecopy load-history-regexp and the form.
14525 * custom.el (custom-declare-group): Purecopy load-file-name.
14527 * subr.el (menu-bar-separator): New defconst.
14528 * net/eudc.el (eudc-tools-menu):
14529 * international/mule-cmds.el (set-coding-system-map)
14530 (mule-menu-keymap):
14531 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14532 * vc-hooks.el (vc-menu-map):
14533 * replace.el (occur-mode-map):
14534 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
14535 (menu-bar-edit-menu, menu-bar-goto-menu)
14536 (menu-bar-custom-menu, menu-bar-showhide-menu)
14537 (menu-bar-options-menu, menu-bar-tools-menu)
14538 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
14539 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
14540 (menu-bar-help-menu):
14541 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
14542 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
14544 * term/x-win.el (x-gtk-stock-map):
14545 * progmodes/vera-mode.el (auto-mode-alist):
14546 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
14547 (inferior-lisp-program, inferior-lisp-load-command):
14548 * progmodes/hideshow.el (hs-special-modes-alist):
14549 * progmodes/gud.el (same-window-regexps):
14550 * progmodes/grep.el (grep-program, find-program, xargs-program):
14551 * net/telnet.el (same-window-regexps):
14552 * net/rlogin.el (same-window-regexps):
14553 * language/ethiopic.el (font-ccl-encoder-alist):
14554 * vc-sccs.el (vc-sccs-master-templates):
14555 * vc-rcs.el (vc-rcs-master-templates):
14556 * subr.el (cl-assertion-failed):
14557 * simple.el (next-error-overlay-arrow-position):
14558 * lpr.el (lpr-command):
14559 * locate.el (locate-ls-subdir-switches):
14560 * info.el (same-window-regexps, info)
14561 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
14562 * image-mode.el (image-mode, auto-mode-alist):
14563 * hippie-exp.el (hippie-expand-ignore-buffers):
14564 * format.el (format-alist):
14565 * find-dired.el (find-ls-subdir-switches, find-grep-options)
14567 * facemenu.el (facemenu-keybindings):
14568 * dired.el (dired-listing-switches, dired-chown-program):
14569 * diff.el (diff-switches, diff-command):
14570 * cus-edit.el (same-window-regexps):
14571 * bindings.el (mode-line-mule-info)
14572 (mode-line-buffer-identification): Purecopy strings.
14574 2009-11-11 Juri Linkov <juri@jurta.org>
14576 * simple.el (dired-get-filename) <declare-function>:
14577 Tell the byte-compiler about dired-get-filename.
14578 (shell-command): In Dired mode, get filename from the current line
14579 as the default value.
14581 2009-11-10 Glenn Morris <rgm@gnu.org>
14583 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
14584 * calendar/holidays.el, progmodes/cperl-mode.el:
14585 Update x-popup-menu declarations.
14587 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
14588 (list-load-path-shadows): Use dolist.
14589 (list-load-path-shadows): Use with-current-buffer.
14591 2009-11-10 Juri Linkov <juri@jurta.org>
14593 * minibuffer.el (read-file-name): Support a list of default values
14594 in `default-filename'. Use the first file name where only one
14595 element is required. Doc fix.
14597 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
14599 * net/dbus.el (dbus-unregister-object): Release service, if no
14600 other method is registered for it.
14602 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
14604 * bookmark.el (bookmark-completing-read): Sort bookmark names if
14605 bookmark-sort-flag is non-nil (Bug#4653).
14607 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
14609 * emulation/cua-base.el: Add CUA property to some CC mode commands
14612 2009-11-08 Kevin Ryde <user42@zip.com.au>
14614 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
14615 at end of sentence (Bug#4818).
14617 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
14619 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14620 Handle "see declaration of" MSFT statements (Bug#4100).
14622 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
14624 * net/tramp.el (tramp-advice-make-auto-save-file-name)
14625 (tramp-advice-file-expand-wildcards): Unload via
14626 `ad-remove-advice'.
14628 * net/trampver.el: Update release number.
14630 2009-11-08 Kevin Ryde <user42@zip.com.au>
14632 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
14635 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
14637 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
14638 in order to keep context in SELinux.
14640 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
14642 * dired-aux.el (dired-query): Place cursor in echo area and allow
14645 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
14646 menu item if not on a directory (Bug#4701).
14648 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
14650 Sync with Tramp 2.1.17.
14652 * net/tramp.el (tramp-handle-copy-directory): Don't use
14653 `file-remote-p' (due to compatibility).
14655 * net/tramp-compat.el (tramp-compat-copy-directory)
14656 (tramp-compat-delete-directory): New defuns.
14658 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
14659 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
14660 Use `tramp-compat-delete-directory'.
14662 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
14663 (tramp-smb-handle-delete-directory):
14664 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
14666 * net/trampver.el: Update release number.
14668 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
14670 * tar-mode.el (tar-copy): Call write-region on the right buffer
14673 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
14674 by hand, if necessary (Bug#4878).
14676 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
14678 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
14679 align size column (Bug#4839).
14681 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
14684 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
14686 * progmodes/ld-script.el (auto-mode-alist):
14687 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
14689 * cus-face.el (custom-declare-face): Purecopy face spec.
14691 2009-11-06 Kenichi Handa <handa@m17n.org>
14693 * international/uni-bidi.el: Re-generated.
14694 * international/uni-category.el: Re-generated.
14695 * international/uni-combining.el: Re-generated.
14696 * international/uni-mirrored.el: Re-generated.
14698 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
14700 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
14701 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
14702 (tex-start-options, slitex-run-command, latex-run-command)
14703 (tex-run-command, tex-directory):
14704 * textmodes/ispell.el (ispell-html-skip-alists)
14705 (ispell-tex-skip-alists, ispell-tex-skip-alists):
14706 * textmodes/fill.el (adaptive-fill-first-line-regexp):
14707 (adaptive-fill-regexp):
14708 * textmodes/dns-mode.el (auto-mode-alist):
14709 * progmodes/python.el (interpreter-mode-alist):
14710 * progmodes/etags.el (tags-compression-info-list):
14711 * progmodes/etags.el (tags-file-name):
14712 * net/browse-url.el (browse-url-galeon-program)
14713 (browse-url-firefox-program):
14714 * mail/sendmail.el (mail-signature-file)
14715 (mail-citation-prefix-regexp):
14716 * international/mule-conf.el (eight-bit):
14717 * international/latexenc.el (latex-inputenc-coding-alist):
14718 * international/fontset.el (x-pixel-size-width-font-regexp):
14719 * emacs-lisp/warnings.el (warning-type-format):
14720 * emacs-lisp/trace.el (trace-buffer):
14721 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
14722 (emacs-lisp-mode-map):
14723 * calendar/holidays.el (holiday-solar-holidays)
14724 (holiday-bahai-holidays, holiday-islamic-holidays)
14725 (holiday-christian-holidays, holiday-hebrew-holidays)
14726 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
14727 (hebrew-holidays-1, holiday-oriental-holidays)
14728 (holiday-general-holidays):
14729 * x-dnd.el (x-dnd-known-types):
14730 * tool-bar.el (tool-bar):
14731 * startup.el (site-run-file):
14732 * shell.el (shell-dumb-shell-regexp):
14733 * rfn-eshadow.el (file-name-shadow-tty-properties)
14734 (file-name-shadow-properties):
14735 * paths.el (remote-shell-program, news-directory):
14736 * mouse.el ([C-down-mouse-3]):
14737 * menu-bar.el (menu-bar-tools-menu):
14738 * jka-cmpr-hook.el (jka-compr-load-suffixes)
14739 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
14740 (jka-compr-compression-info-list):
14741 * isearch.el (search-whitespace-regexp):
14742 * image-file.el (image-file-name-extensions):
14743 * find-dired.el (find-ls-option):
14744 * files.el (directory-listing-before-filename-regexp)
14745 (directory-free-space-args, insert-directory-program)
14746 (list-directory-brief-switches, magic-fallback-mode-alist)
14747 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
14748 (automount-dir-prefix):
14749 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
14750 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
14751 (face-font-registry-alternatives, face-font-registry-alternatives)
14752 (face-font-family-alternatives):
14753 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
14754 (facemenu-foreground-menu, facemenu-face-menu):
14755 * epa-hook.el (epa-file-name-regexp):
14756 * dnd.el (dnd-protocol-alist):
14757 * textmodes/rst.el (auto-mode-alist):
14758 * button.el (default-button): Purecopy strings.
14760 2009-11-06 Glenn Morris <rgm@gnu.org>
14762 * Makefile.in (ELCFILES): Update.
14764 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
14766 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
14767 * emacs-lisp/levents.el: Move to obsolete/levents.el.
14769 * nxml/xsd-regexp.el (xsdre-gen-categories):
14770 * nxml/xmltok.el (xmltok-parse-entity):
14771 * nxml/rng-parse.el (rng-parse-validate-file):
14772 * nxml/rng-maint.el (rng-format-manual)
14773 (rng-manual-output-force-new-line):
14774 * nxml/rng-loc.el (rng-save-schema-location-1):
14775 * nxml/rng-cmpct.el (rng-c-parse-file):
14776 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
14777 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
14779 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
14781 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
14782 Remove extra save-excursions and make-variable-buffer-local's.
14783 Suggested by Stefan Monnier.
14785 (verilog-getopt-file, verilog-module-inside-filename-p)
14786 (verilog-set-define): Merge GNU 1.35 and repair changes from
14787 switching to using with-current-buffer.
14789 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
14790 being treated as a number and confusing AUTORESET.
14791 Reported by Dan Dever.
14793 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
14794 Add verilog-auto-ignore-concat to fix backward compatibility with
14795 older verilog-modes. Reported by Dan Katz.
14797 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
14798 containing closing anchors "...$".
14800 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
14801 Reported by Wade Smith.
14803 (verilog-batch-execute-func): Comment on function usage.
14805 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
14807 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
14810 (verilog-label-re, verilog-calc-1): Support proper indent of named
14813 (verilog-backward-token, verilog-basic-complete-re)
14814 (verilog-beg-of-statement, verilog-indent-re): Support proper
14815 indent of the assert statement at the beginning of a block of text.
14817 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
14818 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
14821 2009-11-05 Glenn Morris <rgm@gnu.org>
14823 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
14824 Emacs 19. (Bug#1531)
14825 (byte-compile-fix-header): Update for the above change.
14826 Drop test for epoch::version.
14828 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
14829 * cus-dep.el (custom-make-dependencies):
14830 * finder.el (finder-compile-keywords):
14831 Use autoload-rubric's feature argument.
14833 * calendar/diary-lib.el (top-level): Make load behave more like require.
14835 * vc-git.el (vc-git-stash-map): Move definition before use.
14837 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
14839 * custom.el (custom-declare-group): Purecopy standard-value.
14840 (custom-declare-group): Purecopy custom-prefix.
14842 * international/mule.el (load-with-code-conversion):
14843 Call do-after-load-evaluation unconditionally.
14845 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
14847 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
14849 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
14851 2009-11-04 Glenn Morris <rgm@gnu.org>
14853 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
14854 (byte-compile-compatibility): Remove option.
14855 (byte-compile-close-variables, byte-compile-fix-header)
14856 (byte-compile-insert-header, byte-compile-output-docform)
14857 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
14858 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
14859 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
14860 (byte-compile-insert, byte-compile-defun):
14861 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
14862 (byte-defop-compiler19): Remove.
14863 Without byte-compile-compatibility, the 'emacs19-opcode property is not
14864 used by anything. Replace all calls with byte-defop-compiler.
14866 2009-11-04 Juri Linkov <juri@jurta.org>
14868 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
14869 (menu-bar-options-menu): Don't quote the `prop' arg of
14870 `menu-bar-make-mm-toggle'.
14872 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
14874 * calendar/calendar.el (cal-loaddefs):
14875 * calendar/diary-lib.el (diary-loaddefs):
14876 * calendar/holidays.el (hol-loaddefs):
14877 * eshell/esh-module.el (esh-groups): Load rather than require.
14879 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
14881 * calendar/todo-mode.el (todo-add-category): Don't hardcode
14883 (todo-top-priorities): Only display-buffer when called interactively.
14884 (todo-item-start): Don't save excursion point.
14885 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
14886 (todo-insert-item-here, todo-file-item, todo-remove-item):
14887 Adjust uses of todo-item-start and todo-item-end.
14889 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
14890 (autoload-rubric): Don't use any more.
14892 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
14893 and only put a prop if it is non-nil.
14895 2009-11-03 Juri Linkov <juri@jurta.org>
14897 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
14898 (menu-bar-options-menu): Fix list quoting (Bug#4429).
14900 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
14901 and "Menu" to make top-level menu item visually one unit (like
14902 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
14903 multi-word menu items). Fix :help string for quit-window.
14905 2009-11-03 Glenn Morris <rgm@gnu.org>
14907 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
14908 (byte-compile-file-form-define-abbrev-table)
14909 (byte-compile-file-form-custom-declare-variable)
14910 (byte-compile-variable-ref, byte-compile-defvar):
14911 Whether or not a warning is enabled should only affect whether we issue
14912 the warning, not whether or not we collect the relevant data.
14913 Eg warnings can be turned on and off throughout the course of a file.
14915 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
14916 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
14918 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
14920 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
14921 * play/mpuz.el (mpuz-create-buffer):
14922 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
14923 (lm-print-y,s,noise, lm-print-w0, lm-init):
14924 * play/gomoku.el (gomoku-prompt-for-move):
14925 * play/fortune.el (fortune-in-buffer):
14926 * play/dissociate.el (dissociated-press):
14927 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
14928 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
14929 * mail/supercite.el (sc-eref-show):
14930 * mail/smtpmail.el (smtpmail-send-it):
14931 * mail/rmailsum.el (rmail-summary-next-labeled-message)
14932 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
14933 (rmail-summary-undelete-many, rmail-summary-rmail-update)
14934 (rmail-summary-goto-msg, rmail-summary-expunge)
14935 (rmail-summary-get-new-mail, rmail-summary-search-backward)
14936 (rmail-summary-add-label, rmail-summary-output-menu)
14937 (rmail-summary-output-body):
14938 * mail/rfc822.el (rfc822-addresses):
14939 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
14940 * mail/mailpost.el (post-mail-send-it):
14941 * mail/hashcash.el (hashcash-generate-payment):
14942 * mail/feedmail.el (feedmail-run-the-queue)
14943 (feedmail-queue-send-edit-prompt-help-first)
14944 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
14945 (feedmail-deduce-address-list):
14946 * eshell/esh-ext.el (eshell-remote-command):
14947 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
14948 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
14949 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
14950 (viper-save-string-in-file, viper-valid-marker):
14951 * emulation/viper-keym.el (viper-toggle-key):
14952 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
14953 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
14954 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
14955 * emulation/viper-cmd.el (viper-exec-form-in-vi)
14956 (viper-exec-form-in-emacs, viper-brac-function):
14957 * emulation/viper.el (viper-delocalize-var):
14958 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
14959 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
14960 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
14961 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
14962 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
14963 * emulation/edt.el (edt-electric-helpify):
14964 * emulation/cua-rect.el (cua--rectangle-aux-replace):
14965 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
14966 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
14967 (cua-indent-to-global-mark-column):
14968 * calendar/diary-lib.el (calendar-mark-1):
14969 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
14970 Use with-current-buffer.
14971 * emulation/viper.el (viper-delocalize-var): Use dolist.
14973 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
14975 * comint.el (comint-replace-by-expanded-history-before-point):
14976 Replace !! with the previous input string literally (Bug#1795).
14978 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
14980 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
14981 to be made up of whitespace.
14983 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
14985 * minibuffer.el (read-file-name): Don't use file dialogs for
14986 remote directories (Bug#99).
14988 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
14990 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
14992 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
14994 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
14995 instead of deleting the window or frame.
14997 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
14999 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
15000 Support face colors.
15002 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
15003 New function. Support face colors (Bug#1168).
15004 (tex-common-initialization): Use it.
15006 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
15007 mode allows it (Bug#1168).
15009 2009-10-31 Juri Linkov <juri@jurta.org>
15011 * facemenu.el (list-colors-display): Don't mark buffer as
15012 modified (Bug#3948).
15014 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15016 * international/mule-diag.el (list-character-sets-1):
15017 Minor message fix (Bug#3526).
15019 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
15020 Fix face property (Bug#4834).
15021 (etags-list-tags, etags-tags-apropos-additional)
15022 (etags-tags-apropos, tags-select-tags-table): Add follow-link
15025 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
15028 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
15030 * textmodes/two-column.el (2C-split):
15031 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
15032 * textmodes/tex-mode.el (tex-set-buffer-directory):
15033 * textmodes/spell.el (spell-region, spell-string):
15034 * textmodes/reftex.el (reftex-erase-buffer):
15035 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
15036 * textmodes/reftex-toc.el (reftex-toc-promote-action):
15037 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
15038 (reftex-select-item):
15039 * textmodes/reftex-ref.el (reftex-label-info-update)
15040 (reftex-offer-label-menu):
15041 * textmodes/reftex-index.el (reftex-index-change-entry)
15042 (reftex-index-phrases-info):
15043 * textmodes/reftex-global.el (reftex-create-tags-file)
15044 (reftex-save-all-document-buffers, reftex-ensure-write-access):
15045 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
15046 (reftex-view-crossref-from-bibtex):
15047 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
15048 (reftex-extract-bib-entries-from-thebibliography)
15049 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
15050 * textmodes/refbib.el (r2b-capitalize-title):
15051 (r2b-convert-buffer, r2b-help):
15052 * textmodes/page-ext.el (pages-directory)
15053 (pages-directory-goto-with-mouse):
15054 * textmodes/bibtex.el (bibtex-validate-globally):
15055 * textmodes/bib-mode.el (bib-capitalize-title):
15056 * textmodes/artist.el (artist-clear-buffer, artist-system):
15057 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
15058 (local-set-scheme-interaction-buffer, xscheme-process-filter)
15059 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
15060 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
15061 (xscheme-send-control-g-interrupt, xscheme-start-process)
15062 (xscheme-process-sentinel, xscheme-cd):
15063 * progmodes/verilog-mode.el (verilog-read-always-signals)
15064 (verilog-set-define, verilog-getopt-file)
15065 (verilog-module-inside-filename-p):
15066 * progmodes/sh-script.el:
15067 * progmodes/python.el (python-pdbtrack-get-source-buffer)
15068 (python-pdbtrack-grub-for-buffer, python-execute-file):
15069 * progmodes/octave-inf.el (inferior-octave):
15070 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
15071 (idlwave-shell-compile-helper-routines, idlwave-set-local)
15072 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
15073 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
15074 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
15075 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
15076 (idlwave-shell-filter, idlwave-shell-examine-highlight)
15077 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
15078 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
15079 (idlwave-shell-examine-display, idlwave-shell-run-region)
15080 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
15081 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
15082 * progmodes/idlw-help.el (idlwave-help-get-special-help)
15083 (idlwave-help-get-help-buffer):
15084 * progmodes/gud.el (gud-basic-call, gud-find-class)
15085 (gud-tooltip-activate-mouse-motions-if-enabled):
15086 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
15087 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
15088 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
15089 (ebrowse-tags-next-file):
15090 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
15091 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
15092 (ebnf-eps-finish-and-write):
15093 * progmodes/cpp.el (cpp-edit-save):
15094 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
15095 * progmodes/cc-defs.el (c-emacs-features):
15096 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
15097 (antlr-directory-dependencies):
15098 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
15099 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
15100 (ada-find-any-references, ada-make-filename-from-adaname)
15101 (ada-make-body-gnatstub):
15102 * obsolete/rnews.el (news-list-news-groups):
15103 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
15104 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
15105 * net/rcirc.el (rcirc-debug):
15106 * net/newst-treeview.el (newsticker--treeview-list-add-item)
15107 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
15108 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
15109 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
15110 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
15111 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
15112 (newsticker--treeview-list-clear-highlight)
15113 (newsticker--treeview-list-update-highlight)
15114 (newsticker--treeview-list-highlight-start)
15115 (newsticker--treeview-tree-update-highlight)
15116 (newsticker--treeview-get-selected-item)
15117 (newsticker-treeview-mark-list-items-old)
15118 (newsticker--treeview-set-current-node):
15119 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
15120 * net/newst-backend.el (newsticker--get-news-by-funcall)
15121 (newsticker--get-news-by-wget, newsticker--image-get)
15122 (newsticker--image-sentinel):
15123 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
15124 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
15125 (eudc-ph-close-session):
15126 * net/eudc.el (eudc-save-options):
15127 * language/thai-word.el (thai-update-word-table):
15128 * language/japan-util.el (japanese-string-conversion):
15129 * international/titdic-cnv.el (tsang-quick-converter)
15130 (ziranma-converter, ctlau-converter):
15131 * international/mule-cmds.el (describe-language-environment):
15132 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
15133 (skkdic-convert-postfix, skkdic-convert-prefix):
15134 (skkdic-convert-okuri-nasi, skkdic-convert):
15135 * emacs-lisp/re-builder.el (reb-update-overlays):
15136 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
15137 * emacs-lisp/gulp.el (gulp-send-requests):
15138 * emacs-lisp/find-gc.el (trace-call-tree):
15139 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
15140 (eieio-describe-generic):
15141 * emacs-lisp/eieio-base.el (eieio-persistent-read):
15142 * emacs-lisp/edebug.el (edebug-outside-excursion):
15143 * emacs-lisp/debug.el (debugger-make-xrefs):
15144 * emacs-lisp/cust-print.el (custom-prin1-to-string):
15145 * emacs-lisp/chart.el (chart-new-buffer):
15146 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
15147 Use with-current-buffer.
15148 * textmodes/artist.el (artist-system): Don't call
15149 copy-sequence on a fresh string.
15150 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
15152 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
15154 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
15155 is no item to edit. (Bug#4820)
15156 (todo-top-priorities): Restore point and restore narrowing in Todo
15159 2009-10-31 Glenn Morris <rgm@gnu.org>
15161 * net/ange-ftp.el (top-level): Don't require dired when compiling.
15162 (comint-last-output-start, comint-last-input-start)
15163 (comint-last-input-end): Don't defvar when compiling.
15164 (ange-ftp-process-file): Use bound-and-true-p.
15166 * pcmpl-rpm.el (top-level): Move provide statement to end.
15167 (pcmpl-rpm): Remove unused custom group.
15169 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
15171 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
15173 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
15174 (byte-compile-warnings): Add `constants' as an option.
15175 (byte-compile-callargs-warn, byte-compile-arglist-warn)
15176 (display-call-tree): Update for byte-compile-fdefinition possibly
15177 returning `(macro lambda ...)'. (Bug#4778)
15178 (byte-compile-variable-ref, byte-compile-setq-default):
15179 Respect `constants' member of byte-compile-warnings.
15181 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
15183 * vc-bzr.el (vc-bzr-revision-keywords): New var.
15184 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
15187 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
15189 * textmodes/ispell.el (ispell-skip-region-alist):
15190 * international/mule-conf.el (eight-bit):
15191 * international/fontset.el (font-encoding-alist):
15192 * startup.el (pure-space-overflow-message):
15193 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
15194 * paths.el (gnus-nntp-service, rmail-spool-directory)
15195 (term-file-prefix):
15196 * files.el (save-some-buffers-action-alist):
15197 * cmuscheme.el (same-window-buffer-names):
15198 * ielm.el (same-window-buffer-names):
15199 * shell.el (same-window-buffer-names):
15200 * mail/sendmail.el (same-window-buffer-names):
15201 * progmodes/inf-lisp.el (same-window-buffer-names):
15202 * bindings.el (mode-line-client)
15203 (mode-line-column-line-number-mode-map):
15204 * language/tibetan.el (tibetan-precomposition-rule-regexp)
15205 (tibetan-precomposed-regexp): Purecopy string arguments.
15207 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15209 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
15210 (calcDigit-nondigit):
15211 * calc/calc-yank.el (calc-copy-to-buffer):
15212 * calc/calc-units.el (calc-invalidate-units-table):
15213 * calc/calc-trail.el (calc-trail-yank):
15214 * calc/calc-store.el (calc-insert-variables):
15215 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
15216 * calc/calc-prog.el (calc-read-parse-table):
15217 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
15218 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
15219 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
15220 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
15221 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
15222 (calc-graph-name, calc-graph-find-command, calc-graph-view)
15223 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
15224 * calc/calc-ext.el (calc-realign):
15225 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
15226 (calc-embedded-finish-edit, calc-embedded-make-info)
15227 (calc-embedded-finish-command, calc-embedded-stack-change):
15228 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
15230 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
15231 shell-dynamic-complete-filename in preference to
15232 comint-dynamic-complete-filename.
15234 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
15235 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
15236 Don't consider whether the display supports colors.
15237 (bookmark-import-new-list): Use dolist.
15238 (bookmark-bmenu-mode-map): Move initialization into declaration.
15239 (bookmark-bmenu-list): Use dolist, simplify.
15240 (bookmark-show-all-annotations): Use save-selected-window and dolist.
15241 (menu-bar-final-items): Use push.
15243 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
15245 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
15246 it works on remote files.
15247 (vc-hg-diff): Don't pass any `--cwd' argument.
15249 2009-10-27 Kevin Ryde <user42@zip.com.au>
15251 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15252 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
15253 (Further to Bug#3921).
15255 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
15257 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
15258 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
15259 calling `tramp-imap-put-file'. Add file size to the call.
15260 (tramp-imap-get-file-entries): Compute also user name, file size,
15262 (tramp-imap-handle-insert-directory): Insert uid and gid.
15263 (tramp-imap-handle-file-attributes): Transform uid and gid
15264 according to `id-format'.
15265 (tramp-imap-put-file): New optional parameter SIZE. Encode file
15266 size in header X-Size.
15268 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
15270 * simple.el (transpose-subr): Give clearer error when the mark
15271 is not set. (Bug#4807)
15273 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
15275 * net/tramp.el (tramp-perl-file-truename): New defconst.
15276 Perl code contributed by yary <not.com@gmail.com> (tiny change).
15277 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
15278 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
15279 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
15281 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
15282 Ignore `dired-call-process'.
15283 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
15285 2009-10-26 Julian Scheid <julians37@gmail.com>
15287 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
15288 (tramp-get-remote-readlink): New defun.
15289 (tramp-handle-file-truename): Use it.
15290 (tramp-handle-file-exists-p): Check file-attributes cache, assume
15291 file exists if cache value present.
15292 (tramp-check-cached-permissions): New defun.
15293 (tramp-handle-file-readable-p): Use it.
15294 (tramp-handle-file-writable-p): Likewise.
15295 (tramp-handle-file-executable-p): Likewise.
15296 (tramp-handle-file-name-all-completions): Try using Perl to get
15297 partial completions. When perl not available, combine `cd' and
15298 `ls' into single remote operation and use shell expansion to get
15299 partial remote directory contents. Set `file-exists-p' cache for
15300 directory and any files returned by ls. Change cache handling to
15301 support partial directory contents. Use error message emitted by
15302 remote `cd' or Perl code for local tramp-error.
15303 (tramp-do-copy-or-rename-file-directly): Avoid separate
15304 tramp-send-command-and-check call.
15305 (tramp-handle-process-file): Merge three remote ops into one.
15306 Do not flush all caches when `process-file-side-effects' is set.
15307 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
15308 file-attributes shows uid/gid to be set already.
15310 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
15312 * textmodes/tex-mode.el (tex-dvi-view-command)
15313 (tex-show-queue-command, tex-open-quote):
15314 * progmodes/ruby-mode.el (auto-mode-alist)
15315 (interpreter-mode-alist): Purecopy strings.
15317 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
15319 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
15320 string for the hook, keymap and abbrev table.
15322 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
15324 * x-dnd.el (x-dnd-xdnd-to-action):
15325 * startup.el (fancy-startup-text, fancy-about-text): Change to
15326 defconst from defvar.
15328 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
15330 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
15331 Purecopy initialization strings.
15333 * mail/sendmail.el (mail-header-separator)
15334 (mail-personal-alias-file):
15335 * mail/rmail.el (rmail-default-dont-reply-to-names)
15336 (rmail-ignored-headers, rmail-retry-ignored-headers)
15337 (rmail-highlighted-headers, rmail-secondary-file-directory)
15338 (rmail-secondary-file-regexp):
15339 * files.el (null-device, file-name-invalid-regexp)
15340 (locate-dominating-stop-dir-regexp)
15341 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
15342 (interpreter-mode-alist): Use mapcar instead of mapc.
15344 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
15346 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
15347 (completion-ignored-extensions):
15348 (debug-ignored-errors): Purecopy strings.
15350 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
15352 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
15353 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
15354 (pcomplete--here): Use push.
15356 * subr.el (all-completions): Declare the 4th arg obsolete.
15358 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
15360 * pcomplete.el (pcomplete-unquote-argument-function): New var.
15361 (pcomplete-unquote-argument): New function.
15362 (pcomplete--common-suffix): Always pay attention to case.
15363 (pcomplete--table-subvert): Quote and unquote the text.
15364 (pcomplete--common-quoted-suffix): New function.
15365 (pcomplete-std-complete): Use it and pcomplete-begin.
15367 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
15368 we're inside a dedicated or minibuffer window.
15370 2009-10-24 Karl Fogel <kfogel@red-bean.com>
15372 * bookmark.el: Update documentation, especially documentation
15373 of `bookmark-alist' and of the bookmark file format.
15374 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
15376 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
15378 * mail/emacsbug.el (report-emacs-bug): Clarify that the
15379 keybindings apply to the mail buffer (Bug#4003). Shrink help
15382 * whitespace.el (whitespace-mode, whitespace-newline-mode)
15383 (global-whitespace-mode, global-whitespace-newline-mode)
15384 (whitespace-toggle-options, global-whitespace-toggle-options):
15385 Doc fix (Bug#3660).
15387 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
15388 of xmltok-start before the end tag was inserted (Bug#2840).
15390 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
15391 patterns that are preceded by an open-paren (Bug#1320).
15393 2009-10-24 Sven Joachim <svenjoac@gmx.de>
15395 * files.el (delete-directory): Delete symlinks to directories with
15396 delete-file (Bug#4739).
15398 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
15400 * vc.el (vc-backend-for-registration): Rename from
15401 vc-get-backend-for-registration. Update callers.
15403 * international/mule-cmds.el (set-language-info-alist):
15405 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
15406 (charset): Purecopy the name.
15407 (define-char-code-property): Purecopy string arguments.
15409 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15410 Purecopy string arguments.
15412 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15413 * ediff-hook.el (menu-bar-ediff-menu):
15414 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
15415 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
15417 2009-10-24 Glenn Morris <rgm@gnu.org>
15419 * comint.el (comint-dynamic-list-completions):
15420 * term.el (term-dynamic-list-completions): Use choose-completion rather
15421 than obsolete alias mouse-choose-completion.
15423 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
15424 file-cache-choose-completion.
15425 (file-cache-choose-completion): Handle an optional event argument.
15426 (file-cache-mouse-choose-completion): Make it an obsolete alias.
15428 * progmodes/octave-mod.el (octave-complete-symbol):
15429 Use choose-completion if mouse-choose-completion is ever removed.
15431 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
15434 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
15437 * vc-hooks.el (vc-responsible-backend): Fix declaration.
15439 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
15441 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
15442 Ignore `pred' now that we receive one.
15443 Handle test-completion specially.
15445 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
15447 * vc.el (vc-responsible-backend): Throw an error if not backend is
15448 found. Remove the REGISTER argument. Move the code dealing with
15450 (vc-get-backend-for-registration): ... here. New function.
15451 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
15452 of vc-responsible-backend, pass the file name instead of the
15455 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
15457 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
15459 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
15460 (pcomplete-comint-setup): Don't modify a global var via
15461 accidental side-effects.
15462 (pcomplete-shell-setup): Adjust call accordingly.
15463 (pcomplete-parse-comint-arguments): Use push.
15465 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
15467 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15468 Allow uncapitalized info node names (Bug#3921).
15470 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
15471 to the DEBUG file (Bug#3781).
15473 2009-10-23 Jari Aalto <jari.aalto@cante.net>
15475 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
15476 dictionary entry (Bug#4579).
15478 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
15480 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
15481 from `rfn-eshadow-update-overlay-hook' when unloading.
15482 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
15483 "rsyncc". Adjust doc string.
15484 (tramp-temp-buffer-file-name): New buffer-local defvar.
15485 (tramp-handle-insert-file-contents, tramp-handle-write-region):
15486 Keep temporary file when indicated by method ("rsync" and
15488 (tramp-handle-write-region): Handle APPEND.
15489 (tramp-delete-temp-file-function): New defun. Added to
15490 `kill-buffer-hook'.
15492 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
15494 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
15496 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
15498 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
15499 (color-name-rgb-alist, tty-standard-colors)
15500 (tty-color-mode-alist): Change to defconst.
15502 * simple.el (mark-inactive): Purecopy message.
15504 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
15505 (global-map, yank-menu):
15506 * textmodes/ispell.el (ispell-menu-map):
15507 * net/eudc.el (eudc-tools-menu):
15508 * international/mule-cmds.el (describe-language-environment-map)
15509 (setup-language-environment-map, set-coding-system-map)
15510 (mule-menu-keymap):
15511 * vc-hooks.el (vc-menu-entry, vc-menu-map):
15512 * replace.el (occur-mode-map):
15513 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
15515 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
15517 * calc/calc.el (math-read-number, math-read-number-simple):
15518 Use `save-match-data'.
15520 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15522 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
15523 rather than fiddling with global-map bindings, since it should only
15524 affect per-terminal settings.
15525 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
15527 * minibuffer.el (completion-table-with-terminator): Allow to specify
15528 the terminator-regexp.
15530 * simple.el (switch-to-completions): Look for *Completions* in other
15533 * pcomplete.el: Allow the use of completion-tables.
15534 (pcomplete-std-complete): New command.
15535 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
15536 (pcomplete--here): Use a function for `form' rather than an expression,
15537 so it can be byte-compiled.
15538 (pcomplete-here, pcomplete-here*): Adjust accordingly.
15539 Add edebug declaration.
15540 (pcomplete-show-completions): Remove unused var `curbuf'.
15541 (pcomplete-do-complete, pcomplete-stub):
15542 Don't assume `completions' is a list of strings any more.
15544 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
15546 * find-dired.el (find-name-arg): Fix typo in docstring.
15548 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15550 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
15551 (pcmpl-linux-fs-types): Same, and update to new modules layout.
15553 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
15556 * comint.el (comint-read-input-ring, comint-write-input-ring)
15557 (comint-substitute-in-file-name)
15558 (comint-dynamic-complete-as-filename)
15559 (comint-dynamic-simple-complete)
15560 (comint-dynamic-list-filename-completions)
15561 (comint-dynamic-list-completions)
15562 (comint-redirect-results-list-from-process): Minor simplifications.
15564 2009-10-21 Kevin Ryde <user42@zip.com.au>
15566 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
15567 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
15568 the first form. And insert a blank line after ";;; Code" since
15569 that's usual style. (Bug#4612)
15571 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
15573 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15575 * minibuffer.el (completion-table-with-terminator): Properly implement
15576 boundaries, in case `terminator' appears in the suffix.
15577 (completion--embedded-envvar-table): Don't return boundaries if
15578 there's no valid completion. Simplify.
15579 (completion-file-name-table): New completion table extracted from
15580 completion--file-name-table.
15581 (completion--file-name-table): Use it.
15582 (read-file-name-predicate): Declare obsolete.
15583 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
15584 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
15585 completion-file-name-table, and use the `pred' argument.
15586 * files.el (locate-file-completion-table): Use the `pred' arg rather
15587 than read-file-name-predicate.
15588 (abbreviate-file-name): Use \` rather than ^ for BOS.
15590 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
15592 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
15593 vc-responsible-backend to register, it causes problems.
15595 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15597 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
15599 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
15601 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
15602 (tramp-smb-handle-file-attributes): Use it.
15603 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
15604 (tramp-smb-handle-insert-directory): Use `mapc' rather than
15605 `mapcar'. Use `tramp-smb-get-stat-capability'.
15606 Add `dired-filename' text properties.
15607 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
15608 (tramp-smb-maybe-open-connection): Simplify check for smbclient
15611 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
15613 * subr.el (read-key-delay): Reduce to 0.01.
15614 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
15617 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15619 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
15621 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
15622 (Info-menu): Remove unused vars `last' and `completions'.
15623 (Info-index-nodes): Remove unused var `node'.
15625 * info.el (Info-complete-menu-item): Use complete-with-action.
15627 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
15629 Make vc-annotate work through copies and renames.
15630 * vc-annotate.el (vc-annotate-extract-revision-at-line):
15631 Return the file name too.
15632 (vc-annotate-revision-at-line)
15633 (vc-annotate-find-revision-at-line)
15634 (vc-annotate-revision-previous-to-line)
15635 (vc-annotate-show-log-revision-at-line): Update to get the file
15636 name from vc-annotate-extract-revision-at-line.
15637 (vc-annotate-show-diff-revision-at-line-internal): Change the
15638 argument to mean whether to show a file diff or not. Get the file
15639 name from vc-annotate-extract-revision-at-line.
15640 (vc-annotate-show-diff-revision-at-line):
15641 Update vc-annotate-show-diff-revision-at-line call.
15642 (vc-annotate-warp-revision): Add an optional file argument.
15644 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
15645 (vc-git-annotate-extract-revision-at-line): Also return the file
15648 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
15649 command. Remove unused code.
15650 (vc-hg-annotate-re): Update to match --follow output.
15651 (vc-hg-annotate-extract-revision-at-line): Also return the file
15654 * vc.el: Update annotate-extract-revision-at-line documentation.
15656 2009-10-18 Kevin Ryde <user42@zip.com.au>
15658 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
15659 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
15661 * net/browse-url.el (browse-url): Identify alist with "consp and
15662 not functionp" and let all other things go down the `apply' leg,
15663 as suggested by Stefan. (Further to bug#4531.)
15665 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
15667 * minibuffer.el (read-file-name): Check for repeat before putting
15668 a default argument in file-name-history (Bug#4657).
15670 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
15671 read syntax (Bug#4737).
15673 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
15675 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15677 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
15678 (html-tag-alist, html-tag-help): Add descriptions for undocumented
15679 entries and make note of obsolete tags.
15681 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
15683 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
15685 2009-10-18 Glenn Morris <rgm@gnu.org>
15687 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
15688 grep, so that binary files (eg international/uni-bidi.el) can match.
15689 Remove test for "UnicodeData" files, since it is hopefully unnecessary
15690 now, and in any case the file header format has changed.
15692 2009-10-17 Glenn Morris <rgm@gnu.org>
15694 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
15695 (flyspell-get-word, flyspell-large-region)
15696 (flyspell-auto-correct-previous-word): Doc/error message fixes.
15698 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
15700 * Makefile.in (ELCFILES): Add ede/shell.
15702 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
15704 * term/common-win.el (x-colors): Purecopy it.
15706 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15708 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
15709 permissive for when the buffer is empty.
15710 (tar-header-block-tokenize): Decode the username and groupname.
15711 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
15713 2009-10-17 Eric Ludlam <zappo@gnu.org>
15715 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
15716 contains multibyte characters, choose first applicable coding
15717 system automatically.
15719 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15721 * international/mule-cmds.el (select-safe-coding-system): If the file
15722 has a coding cookie, use it regardless of any other setting (bug#4712).
15724 2009-10-17 Glenn Morris <rgm@gnu.org>
15726 * foldout.el (foldout-mouse-swallow-events):
15727 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
15729 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
15730 (dired-keep-marker-copy, dired-keep-marker-hardlink)
15731 (dired-keep-marker-symlink, dired-dwim-target)
15732 (dired-copy-preserve-time): Do not autoload these defcustoms.
15734 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
15735 messages from messing up the file coding. (Bug#4623)
15737 2009-10-17 Jari Aalto <jari.aalto@cante.net>
15739 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
15740 if no match is found for the current dictionary. (Bug#4578)
15742 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
15743 optional, since that is how it is documented, and this is often called
15744 with a nil argument. (Bug#4577)
15745 (flyspell-external-point-words, flyspell-auto-correct-word)
15746 (flyspell-correct-word-before-point, flyspell-word-search-forward)
15747 (flyspell-word-search-backward): Remove nil argument in calls to
15748 flyspell-get-word, since it is not needed now.
15750 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
15752 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
15754 2009-10-16 Glenn Morris <rgm@gnu.org>
15756 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
15758 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
15760 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
15761 (ange-ftp-file-size): New function.
15762 (ange-ftp-file-attributes): Use it.
15764 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
15766 * net/tramp-smb.el (tramp-smb-version): New defvar.
15767 (tramp-smb-maybe-open-connection): Use it, in order to avoid
15770 2009-10-16 Glenn Morris <rgm@gnu.org>
15772 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
15773 Maybe copy some custom properties from old to new name. (Bug#4706)
15775 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
15777 * subr.el (error, sit-for, start-process-shell-command)
15778 (start-file-process-shell-command): Set the calling convention
15779 after the function definition.
15781 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
15783 * subr.el (error, sit-for, start-process-shell-command)
15784 (start-file-process-shell-command): Use the new
15785 set-advertised-calling-convention feature.
15787 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
15789 * international/ucs-normalize.el (ucs-normalize-version):
15791 (check-range): Adjust for Unicode 5.2.
15793 2009-10-15 Juri Linkov <juri@jurta.org>
15795 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
15796 to the `menu-item' format.
15798 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
15800 * net/tramp.el (tramp-replace-environment-variables): Do not fail
15801 if the environment variable does not exist.
15803 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15804 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
15806 (tramp-smb-handle-add-name-to-file)
15807 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15808 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15809 (tramp-smb-handle-file-attributes)
15810 (tramp-smb-do-file-attributes-with-stat)
15811 (tramp-smb-handle-file-local-copy)
15812 (tramp-smb-handle-insert-directory)
15813 (tramp-smb-handle-make-directory)
15814 (tramp-smb-handle-make-directory-internal)
15815 (tramp-smb-handle-make-symbolic-link)
15816 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
15817 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
15818 (tramp-smb-maybe-open-connection): Apply the changed parameters.
15819 (tramp-smb-read-file-entry): Read Disk names in compressed format.
15820 Handle long file names.
15821 (tramp-smb-get-cifs-capabilities): Check, whether the connection
15822 process is running.
15823 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
15824 Read share names with "-g" option.
15826 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
15828 * net/rcirc.el (rcirc-view-log-file): New command.
15829 (rcirc-track-minor-mode-map): Remove C-c ` binding.
15830 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
15833 2009-10-15 Glenn Morris <rgm@gnu.org>
15835 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
15836 from the second command-line argument.
15837 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
15838 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
15839 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
15840 w32-batch-update-autoloads.
15841 * emacs-lisp/autoload.el (autoload-make-program): New variable.
15842 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
15844 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
15845 the headers cannot be located. Simplify, subtracting superflous
15848 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
15850 Replace completion-base-size by completion-base-position to fix bugs
15851 such as (bug#4699).
15852 * simple.el (completion-base-position): New var.
15853 (completion-base-size): Mark as obsolete.
15854 (choose-completion): Make it work for mouse events as well.
15855 Pass the new base-position to choose-completion-string.
15856 (choose-completion-guess-base-position): New function, extracted from
15857 choose-completion-delete-max-match.
15858 (choose-completion-delete-max-match): Use it. Make obsolete.
15859 (choose-completion-string): Use the new base-position info.
15860 (completion-root-regexp): Delete.
15861 (completion-setup-function): Preserve completion-base-position.
15862 Eliminate obsolete base-size manipulation.
15863 * minibuffer.el (display-completion-list): Don't mess with base-size.
15864 (minibuffer-completion-help): Set completion-base-position instead.
15865 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
15867 * textmodes/bibtex.el (bibtex-complete):
15868 * emacs-lisp/crm.el (crm--choose-completion-string):
15869 Adjust to new calling convention.
15870 * complete.el (partial-completion-mode): Use minibufferp to avoid
15871 bumping into incompatible change to choose-completion-string-functions.
15872 * ido.el (ido-choose-completion-string): Make its calling convention
15874 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
15875 base-size manipulation.
15876 (comint-dynamic-list-input-ring): Use dotimes and push.
15877 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
15878 fundamental-mode. Use `or'.
15880 2009-10-14 Juri Linkov <juri@jurta.org>
15882 * misearch.el (multi-isearch-next-buffer-from-list)
15883 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
15885 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15887 * Makefile.in (compile-onefile): Load `bytecomp' rather than
15890 * minibuffer.el (completion-pcm--merge-completions): Make sure the
15891 string we return is all made up of text from the completions rather
15892 than part from the completions and part from the input (bug#4219).
15894 * ido.el (ido-everywhere): Use define-minor-mode.
15896 * buff-menu.el (list-buffers, ctl-x-map):
15897 Mark the entry points with ;;;###autoload cookies.
15899 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
15901 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
15902 correctly in the detached head case.
15903 (vc-git-print-log): Remove unused binding.
15905 * vc.el (vc-responsible-backend): When a directory is passed for
15906 for registration create a VC repository if no backend is
15907 responsible for the directory argument.
15908 (vc-deduce-fileset): Tell vc-responsible-backend to register.
15910 * vc.el: Move comments about RCS and SCCS ...
15912 * vc-sccs.el: ... here, respectively.
15914 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15916 * minibuffer.el (completion--file-name-table): Return nil if there's
15917 no file completion, even if substitute-in-file-name changed
15918 the string (bug#4708).
15920 2009-10-13 Juri Linkov <juri@jurta.org>
15922 * files-x.el (read-file-local-variable-value): Don't filter out
15923 minor modes from mode name completion (bug#4664).
15925 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
15927 * international/mule-cmds.el (ucs-names): Remove exclusion of
15928 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
15930 2009-10-13 Kenichi Handa <handa@m17n.org>
15932 * international/uni-name.el: Regenerated.
15934 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
15936 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
15937 should be automatically buffer-local, but isn't.)
15939 2009-10-12 Sam Steingold <sds@gnu.org>
15941 * progmodes/compile.el (compilation-next-error-function): Fix the
15942 timestamps if the buffer has been visited before.
15943 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
15944 non-anchored patterns, like the perl one (bug#3928).
15946 2009-10-12 Glenn Morris <rgm@gnu.org>
15948 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
15951 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
15953 * proced.el (proced-unload-function): New function.
15955 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
15956 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
15959 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
15961 2009-10-11 Juri Linkov <juri@jurta.org>
15963 * files-x.el (read-file-local-variable-value):
15964 Provide default value only for bound variables (bug#4664).
15966 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
15968 * net/tramp.el (tramp-local-host-p): Function shall return nil for
15969 connection methods like smb.
15971 * net/tramp-cache.el (tramp-flush-connection-property): The hash
15974 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15975 (tramp-smb-file-name-handler-alist): Add handlers for
15976 `add-name-to-file', `make-symbolic-link'.
15977 (tramp-smb-handle-add-name-to-file)
15978 (tramp-smb-do-file-attributes-with-stat)
15979 (tramp-smb-handle-make-symbolic-link)
15980 (tramp-smb-get-cifs-capabilities): New defuns.
15981 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15982 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15983 (tramp-smb-handle-file-local-copy)
15984 (tramp-smb-handle-make-directory-internal)
15985 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
15986 The file name syntax depends on cifs capabilities.
15987 (tramp-smb-handle-file-attributes):
15988 Call `tramp-smb-do-file-attributes-with-stat' if possible.
15989 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
15990 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
15992 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
15994 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
15995 (eieio-defclass): Apply deftype handler and setf-method properties
15997 (eieio-add-new-slot): Avoid union function from cl library.
15998 (eieio--typep): New function.
15999 (eieio-perform-slot-validation): Use it.
16001 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16003 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
16004 Update documentation to refer to the variables documented in r1.135.
16007 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16009 * bookmark.el (Info-suffix-list): Remove this unused variable.
16010 (bookmark-current-point): Remove this obsolete variable.
16011 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
16012 Adjust for removal of bookmark-current-point.
16014 (bookmarks-already-loaded, bookmark-current-buffer)
16015 (bookmark-yank-point): Document. (Bug#4188)
16017 2009-10-10 Glenn Morris <rgm@gnu.org>
16019 * frame.el (frame-height): Doc fix.
16021 * calendar/calendar.el (calendar-split-width-threshold): New option.
16022 (calendar-basic-setup): Use calendar-split-width-threshold.
16024 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
16026 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
16027 Ideographic Supplement" range (U+1F200..U+1F2FF).
16029 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16031 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
16032 since the list will have been rebuilt anyway. (Bug#4349)
16034 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16036 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
16037 (bookmark-bmenu-execute-deletions): Don't save here, as
16038 bookmark-delete will now do so if necessary.
16039 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
16042 2009-10-09 Glenn Morris <rgm@gnu.org>
16044 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
16046 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16048 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
16049 (bookmark-jump-other-window): Just invoke bookmark-jump with new
16050 argument now, so the two function's behaviors will match. (Bug#3645)
16052 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
16054 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
16055 (tramp-file-name-real-host, tramp-file-name-port):
16056 Apply `save-match-data'.
16058 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
16059 case both directories are remote.
16060 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
16061 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
16063 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
16065 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
16067 2009-10-07 Glenn Morris <rgm@gnu.org>
16069 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
16072 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
16074 * files-x.el (read-file-local-variable): Include some
16075 non-user-variables in the completion table (bug#4664).
16077 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
16079 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
16082 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16083 (tramp-smb-file-name-handler-alist): Add handler for
16084 `copy-directory', `expand-file-name', `set-file-modes'.
16085 (tramp-smb-handle-copy-directory)
16086 (tramp-smb-handle-expand-file-name)
16087 (tramp-smb-handle-set-file-modes): New defuns.
16088 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
16089 (tramp-smb-handle-file-attributes): Simplify check for retrieving
16091 (tramp-smb-handle-insert-directory): Don't flush the cache.
16092 (tramp-smb-maybe-open-connection): Check for samba client and
16095 2009-10-07 Eli Zaretskii <eliz@gnu.org>
16097 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
16098 to not error out of search for "^lisp=" fails.
16100 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
16102 * makefile.w32-in (WINS_UPDATES): New macro.
16103 (custom-deps, finder-data, autoloads): Use it.
16105 2009-10-07 Glenn Morris <rgm@gnu.org>
16107 * Makefile.in (autoloads): Revert previous change.
16108 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
16109 the list of preloaded files passed on the command-line, get
16110 it from src/Makefile.
16112 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
16113 show the original buffer rather than a random one.
16115 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
16117 * help.el (describe-no-warranty): Place point in a slightly better
16118 position in the GPLv3 text.
16120 2009-10-06 Sam Steingold <sds@gnu.org>
16122 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
16123 the comm attribute is present before calling regexp-quote.
16125 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
16127 * play/animate.el (animate-string): For good effect, make sure
16128 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
16130 * play/animate.el (animate-sequence, animate-birthday-present):
16131 * misc.el (butterfly): Don't set `indent-tabs-mode'.
16133 2009-10-06 Glenn Morris <rgm@gnu.org>
16135 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
16137 * emacs-lisp/autoload.el (autoload-excludes): New variable.
16138 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
16139 (batch-update-autoloads): Process a string value of autoload-excludes,
16140 set during the build process.
16141 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
16143 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
16144 inside with-parsed... macro so that `v' is defined.
16146 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
16147 * progmodes/fortran.el (fortran-end-of-block)
16148 (fortran-beginning-of-block):
16149 Also push mark in the macro case.
16151 * emerge.el (emerge-show-file-name):
16152 * calc/calc.el (calc-quit):
16153 * calc/calc-misc.el (calc-big-or-small):
16154 * calc/calc-graph.el (calc-graph-view):
16155 * calc/calc-ext.el (calc-reset):
16156 * calendar/calendar.el (calendar-basic-setup):
16157 Use window-full-height-p.
16159 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
16160 header we don't understand, don't insert another. (Bug#4624)
16161 If changing mime charset, insert the new one in the right place.
16163 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
16165 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
16166 (cal-tex-cursor-month): Correctly increment the end date for diary and
16167 holiday listing. (Bug#4626)
16169 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16171 * help-fns.el (describe-function-1): Don't burp if the function is not
16174 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
16176 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
16177 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
16178 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
16179 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
16181 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
16182 (eieio-default-superclass): Reflow docstrings.
16183 (this, class-option-assoc, defclass, eieio-class-un-autoload)
16184 (eieio-unbind-method-implementations, defmethod)
16185 (eieio-validate-slot-value, eieio-validate-class-slot-value)
16186 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
16187 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
16188 (eieio-slot-originating-class-p, eieio-slot-name-index)
16189 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
16190 (constructor, initialize-instance, no-next-method, object-print)
16191 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
16192 Fix typos in docstrings.
16193 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
16194 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
16195 (next-method-p): Doc fixes.
16196 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
16197 Fix typos in error messages.
16198 (eieio-defmethod): Fix typo in description of generic method.
16200 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
16201 (eieio-persistent-save-interactive, slot-missing):
16202 Fix typos in docstrings.
16203 (eieio-instance-inheritor-slot-boundp): Doc fix.
16205 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
16206 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
16208 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
16209 (eieio-custom-object-apply-reset):
16210 Fix typos in docstrings and error messages.
16212 * emacs-lisp/eieio-datadebug.el (data-debug-show):
16213 Fix typo in docstring.
16215 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
16216 (eieio-browse-tree): Doc fix.
16217 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
16218 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
16219 Fix typos in docstrings.
16221 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
16222 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
16223 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
16224 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
16227 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
16229 * vc-hg.el (log-view-vc-backend): Declare for compiler.
16230 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
16231 Set log-view-vc-backend so that diff can work.
16233 * log-view.el (log-view-diff): Use vc-diff-internal instead of
16235 (vc-diff-internal): Autoload this instead of vc-version-diff.
16237 2009-10-05 Eli Zaretskii <eliz@gnu.org>
16239 * simple.el (eval-expression): Doc fix.
16241 * progmodes/cwarn.el (cwarn-mode): Doc fix.
16243 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
16245 * files.el (directory-files-no-dot-files-regexp): New defconst.
16246 (delete-directory): Use it.
16247 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
16249 * net/tramp.el (tramp-verbose): Fix docstring.
16250 (tramp-methods): Add recursive option to `tramp-copy-args'.
16251 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
16252 "scp1_old", "scp2_old", "rsync", "rsyncc".
16253 (tramp-default-method): Check also for `auth-source-user-or-password'.
16254 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
16255 Add handler for `copy-directory'.
16256 (tramp-handle-copy-directory): New defun.
16257 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
16258 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
16259 Optimize sent command.
16261 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16263 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
16264 window if necessary.
16266 * calendar/calendar.el (calendar-basic-setup): Don't call
16267 switch-to-buffer in a dedicated window.
16269 2009-10-05 Karl Fogel <kfogel@red-bean.com>
16271 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
16272 don't do anything related to relocating, just return nil.
16273 (bookmark-error-no-filename): New error.
16274 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
16275 bookmark has no file. Don't even attempt to handle things that
16276 are not files; the whole point of custom handlers is to keep that
16277 knowledge elsewhere anyway. Tighten some comments.
16278 (bookmark-file-or-variation-thereof): Remove now-unused function.
16279 (bookmark-location): Doc string fix.
16282 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16284 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
16285 don't use a file dialog, because they usually don't know how to read
16286 a directory target from the user. (Bug#4230)
16287 Also, make sure the prompt can display directories as well as files.
16289 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16291 * bookmark.el (bookmark-set, bookmark-buffer-name):
16292 Improve doc strings. (Bug#1193)
16294 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16296 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
16297 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
16298 (bookmark-get-annotation, bookmark-set-annotation)
16299 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
16300 (bookmark-set-position, bookmark-get-front-context-string)
16301 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
16302 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
16303 (bookmark-jump-other-window, bookmark-handle-bookmark)
16304 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
16305 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
16306 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
16307 Improve doc strings to say whether bookmark can be a string or
16308 a record or both, and make other consistency and clarity fixes.
16309 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
16310 (bookmark-default-annotation-text, bookmark-yank-word)
16311 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
16312 (bookmark-import-new-list, bookmark-maybe-rename)
16313 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
16314 (bookmark-bmenu-bookmark): Give these doc strings.
16315 (bookmark-bmenu-check-position): Give this a doc string, but also
16316 add a FIXME comment about how the function may be pointless.
16317 (bookmark-default-handler): Rework doc string and change a
16318 parameter name, to clarify that this takes a bookmark record
16319 not a bookmark name.
16320 (bookmark-set): Change a parameter name to indicate its meaning,
16321 and improve the doc string a bit.
16324 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16326 * bookmark.el (bookmark-alist): Document the new `handler' element
16327 in the param alist.
16328 (bookmark-make-record-function): Adjust documentation for above.
16331 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16333 * info.el (Info-bookmark-make-record): Document this function.
16334 (Info-bookmark-jump): Document with a doc string, not just a comment.
16337 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
16339 * files.el (copy-directory): New defun.
16341 * dired-aux.el (dired-copy-file-recursive): Use it.
16343 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
16345 * files-x.el (modify-dir-local-variable)
16346 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
16349 * recentf.el (recentf-unload-function): New function.
16351 2009-10-04 Glenn Morris <rgm@gnu.org>
16353 * window.el (window-full-height-p): Add doc string.
16355 2009-10-04 Martin Rudalics <rudalics@gmx.at>
16357 * window.el (window-full-height-p): New function. (Bug#4543)
16359 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
16361 * vc.el: Remove commented out code.
16362 (vc-derived-from-dir-mode): Remove, unused.
16363 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
16365 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
16367 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
16368 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
16369 there could be recursive loading when `default-directory' is a
16370 remote file name. (Bug#4614)
16372 2009-10-03 Glenn Morris <rgm@gnu.org>
16374 * calendar/calendar.el (calendar-basic-setup): Handle the case where
16376 (calendar-generate-window): Test for shrinkability rather than width.
16378 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
16379 reusing existing buffers, in case we happen to visit two files with the
16380 same basename. (Bug#4593)
16382 2009-10-02 Eli Zaretskii <eliz@gnu.org>
16384 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
16385 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
16386 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
16387 subdirs of cedet as well.
16388 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
16390 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
16392 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
16393 Obey advertised-signature-table.
16395 * help-fns.el (help-function-arglist): Don't check
16396 advertised-signature-table.
16397 (describe-function-1): Do it here instead so it also applies to subrs.
16399 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
16401 * simple.el (start-file-process): Say in the doc-string, that file
16402 handlers might not support pty association, if PROGRAM is nil.
16404 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
16405 HOST and USER are strings. They are nil, when there are
16406 incomplete entries in ~/.netrc, for example.
16407 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
16408 root directory ("device busy" error otherwise).
16410 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
16411 Flush file properties of created directory.
16413 2009-10-02 Eli Zaretskii <eliz@gnu.org>
16415 * makefile.w32-in (WINS_BASIC): Remove cedet.
16416 (WINS_CEDET): Add cedet.
16417 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
16419 2009-10-02 Kevin Ryde <user42@zip.com.au>
16421 * net/browse-url.el (browse-url): Pass any symbol in
16422 browse-url-browser-function to `apply', since if you've mistakenly put
16423 an unbound symbol then the error is clearer. (Bug#4531)
16425 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
16427 * allout.el (allout-init, allout-back-to-current-heading)
16428 (allout-beginning-of-current-entry, allout-ascend-to-depth)
16429 (allout-ascend, allout-up-current-level, allout-end-of-level)
16430 (allout-previous-visible-heading, allout-forward-current-level)
16431 (allout-backward-current-level, allout-show-children):
16432 * apropos.el (apropos-describe-plist):
16433 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
16434 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
16435 * completion.el (add-completion, add-permanent-completion):
16436 * descr-text.el (describe-text-category, describe-char):
16437 * desktop.el (desktop-lazy-abort):
16438 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
16439 * dired.el (dired-build-subdir-alist):
16440 * ediff.el (ediff-version):
16441 * elide-head.el (elide-head, elide-head-show):
16442 * emerge.el (emerge-version):
16444 * face-remap.el (variable-pitch-mode):
16445 * faces.el (describe-face):
16446 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
16448 * files.el (find-file-existing, auto-save-mode):
16449 * font-lock.el (font-lock-fontify-buffer):
16450 * help-fns.el (describe-function, describe-variable)
16451 (describe-syntax, describe-categories):
16452 * help.el (view-lossage, describe-bindings, describe-key)
16454 * hexl.el (hexl-current-address):
16455 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
16456 * info.el (Info-goto-emacs-key-command-node):
16457 * log-edit.el (log-edit-insert-cvs-template)
16458 (log-edit-insert-cvs-rcstemplate):
16459 * menu-bar.el (menu-bar-mode):
16460 * mouse.el (mouse-appearance-menu):
16461 * newcomment.el (comment-indent-new-line):
16462 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
16463 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
16464 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
16465 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
16466 * recentf.el (recentf-mode):
16467 * savehist.el (savehist-mode, savehist-save):
16468 * shadowfile.el (shadow-copy-files):
16469 * simple.el (kill-ring-save, next-line, previous-line)
16470 (normal-erase-is-backspace-mode):
16471 * strokes.el (strokes-update-window-configuration)
16472 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
16473 (strokes-xpm-for-stroke):
16474 * time.el (emacs-uptime, emacs-init-time):
16475 * tutorial.el (tutorial--describe-nonstandard-key)
16476 (tutorial--detailed-help):
16477 * type-break.el (type-break-mode)
16478 (type-break-mode-line-message-mode, type-break-query-mode)
16479 (type-break-guesstimate-keystroke-threshold):
16480 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
16481 * version.el (emacs-version):
16482 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
16483 * winner.el (winner-mode):
16484 * calendar/timeclock.el (timeclock-in, timeclock-out)
16485 (timeclock-status-string, timeclock-change)
16486 (timeclock-workday-remaining-string)
16487 (timeclock-workday-elapsed-string)
16488 (timeclock-when-to-leave-string):
16489 * calendar/todo-mode.el (todo-add-category):
16490 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
16491 * emacs-lisp/autoload.el (update-file-autoloads):
16492 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
16493 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
16494 (checkdoc-message-text, checkdoc-defun):
16495 * emacs-lisp/debug.el (debugger-list-functions):
16496 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
16497 * emacs-lisp/eieio-opt.el (eieio-describe-class)
16498 (eieio-describe-generic):
16499 * emacs-lisp/lisp-mnt.el (lm-synopsis):
16500 * emacs-lisp/shadow.el (list-load-path-shadows):
16501 * emulation/cua-base.el (cua-mode):
16502 * emulation/edt.el (edt-set-scroll-margins):
16503 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
16504 (tpu-toggle-regexp, tpu-toggle-search-direction)
16505 (tpu-toggle-rectangle, tpu-toggle-control-keys):
16506 * emulation/tpu-extras.el (tpu-set-scroll-margins):
16507 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
16508 (viper-set-parsing-style-toggling-macro)
16509 (viper-set-emacs-state-searchstyle-macros):
16510 * emulation/viper.el (viper-set-hooks):
16511 * eshell/esh-mode.el (eshell-truncate-buffer):
16512 * international/mule-cmds.el (prefer-coding-system)
16513 (describe-input-method, describe-language-environment):
16514 * international/mule-diag.el (list-character-sets)
16515 (describe-character-set, describe-coding-system)
16516 (describe-fontset, list-fontsets, list-input-methods):
16517 * mail/sendmail.el (mail-signature):
16518 * net/ange-ftp.el (ange-ftp-copy-file):
16519 * net/browse-url.el (browse-url):
16520 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
16521 * net/quickurl.el (quickurl-add-url):
16522 * net/rcirc.el (names, topic):
16523 * net/xesam.el (xesam-mode):
16524 * play/5x5.el (5x5-new-game):
16525 * play/yow.el (apropos-zippy):
16526 * progmodes/ada-mode.el (ada-mode-version):
16527 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
16529 (f90-beginning-of-block):
16530 * progmodes/fortran.el (fortran-end-of-block)
16531 (fortran-beginning-of-block):
16532 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
16533 * progmodes/python.el (python-describe-symbol, python-shell):
16534 * term/ns-win.el (ns-print-buffer):
16535 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
16536 * textmodes/flyspell.el (flyspell-mode-on):
16537 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
16538 (pages-directory-for-addresses):
16539 * textmodes/table.el (table-recognize-cell)
16540 (table-query-dimension, table-generate-source)
16541 (table-insert-sequence, table--warn-incompatibility):
16542 * textmodes/tex-mode.el (tex-validate-buffer):
16543 * textmodes/texinfmt.el (texinfmt-version)
16544 (texinfo-format-buffer):
16545 Use `called-interactively-p' instead of `interactive-p'.
16547 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
16549 * image-mode.el (image-toggle-display):
16550 * emacs-lisp/elp.el (elp-instrument-function):
16551 * emacs-lisp/advice.el (ad-make-advised-definition):
16552 * emacs-lisp/easy-mmode.el (define-minor-mode):
16553 * net/browse-url.el (browse-url-maybe-new-window):
16554 * progmodes/sh-script.el (sh-learn-buffer-indent):
16555 Pass new argument 'any to `called-interactively-p'.
16557 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
16559 * international/uni-bidi.el:
16560 * international/uni-category.el:
16561 * international/uni-combining.el:
16562 * international/uni-comment.el:
16563 * international/uni-decimal.el:
16564 * international/uni-decomposition.el:
16565 * international/uni-digit.el:
16566 * international/uni-lowercase.el:
16567 * international/uni-mirrored.el:
16568 * international/uni-name.el:
16569 * international/uni-numeric.el:
16570 * international/uni-old-name.el:
16571 * international/uni-titlecase.el:
16572 * international/uni-uppercase.el:
16573 Regenerate from Unicode 5.2.0 data.
16575 2009-10-01 Glenn Morris <rgm@gnu.org>
16577 * Makefile.in (ELCFILES): Regenerate.
16579 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16581 * subr.el (interactive-p): Mark obsolete.
16582 (called-interactively-p): Make the optional-ness of `kind' obsolete.
16583 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
16584 advertised-signature-table for subroutines as well.
16586 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
16587 (set-advertised-calling-convention): New function.
16588 (make-obsolete, define-obsolete-function-alias)
16589 (make-obsolete-variable, define-obsolete-variable-alias):
16590 Make the optional-ness of `when' obsolete.
16591 (define-obsolete-face-alias): Make `when' non-optional.
16592 * help-fns.el (help-function-arglist):
16593 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
16594 Use advertised-signature-table.
16596 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
16598 * files.el (delete-directory): New defun. The original function
16599 in fileio.c has been renamed to `delete-directory-internal'.
16601 * dired.el (dired-delete-file): Call `delete-directory' with
16602 RECURSIVE parameter.
16604 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
16605 parameter RECURSIVE. Implementation is missing.
16607 * net/tramp.el (tramp-handle-make-directory): Flush upper
16608 directory's file properties.
16609 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
16610 (tramp-handle-dired-recursive-delete-directory): Flush directory
16611 properties after the remove command only.
16613 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16614 Handle optional parameter RECURSIVE.
16616 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16617 Handle optional parameter RECURSIVE.
16619 * net/tramp-smb.el (tramp-smb-errors): Add error message for
16620 connection timeout.
16621 (tramp-smb-handle-delete-directory): Handle optional parameter
16624 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16626 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
16627 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
16628 (byte-compile-defmacro): Use backquotes.
16630 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
16632 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
16633 has no associated file.
16634 (vc-resynch-buffer): Use vc-dir-buffers.
16636 2009-10-01 Glenn Morris <rgm@gnu.org>
16638 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
16639 (chart-file-count):
16640 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
16641 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
16642 * emacs-lisp/eieio-opt.el (eieio-describe-class):
16643 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
16644 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
16645 (eieio-copy-parents-into-subclass, make-instance, class-children)
16646 (eieio-generic-form):
16648 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
16649 match-data. (Bug#4555).
16651 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
16652 rather than parsing it as a regexp. This relaxes the layout
16653 requirements and makes errors easier to detect.
16654 (check-declare-verify): Check file is regular.
16655 (check-declare-directory): Doc fix.
16656 * subr.el (declare-function): Doc fix.
16658 * ibuffer.el (ibuffer-format-qualifier):
16659 * isearch.el (hi-lock-regexp-okay):
16660 * calc/calc.el (math-zerop):
16661 * mail/uce.el (rmail-msgbeg, rmail-msgend):
16662 * term/w32-win.el (setup-default-fontset, set-fontset-font):
16663 Remove unused declarations.
16665 2009-09-30 Eric Ludlam <zappo@gnu.org>
16667 * emacs-lisp/eieio.el (boolean-p): Delete.
16669 2009-09-30 Glenn Morris <rgm@gnu.org>
16671 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
16673 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
16674 filename is not a string.
16676 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
16678 * files.el (safe-local-eval-forms): Fix typo.
16680 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
16682 * vc-hooks.el (vc-dir-buffers): New var.
16683 (vc-state-refresh): New function.
16684 (vc-state): Use it.
16685 (vc-after-save): Always ask the backend to recompute the new state.
16686 Always call vc-dir if necessary, using vc-dir-buffers.
16687 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
16688 Use vc-dir-buffers.
16689 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
16690 (vc-dir-prepare-status-buffer, vc-dir-update)
16691 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
16692 Don't call expand-file-name on default-directory.
16694 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
16696 * speedbar.el (speedbar-item-delete):
16697 * calc/calc-prog.el (calc-kbd-if):
16698 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
16700 * epa.el (epa-key-list-mode-map):
16701 * hi-lock.el (hi-lock-menu): Fix typos in menus.
16703 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
16704 (hs-show-hook): Fix typo in docstring.
16706 2009-09-29 Glenn Morris <rgm@gnu.org>
16708 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
16709 file-name-nondirectory call preventing location of cedet files.
16710 (check-declare-verify): Use literal search rather than re-search.
16711 Add basic defmethod and defclass, and define-overloadable-function.
16713 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16714 Use tramp-compat-file-attributes rather than nonexistent
16715 tramp-compat-handle-file-attributes.
16717 * Makefile.in (lisptagsfiles4): New.
16718 (AUTOGENEL): Add cedet loaddefs files.
16719 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
16720 (update-elclist, compile-always, backup-compiled-files)
16721 (bootstrap-clean): Add yet another directory level.
16722 (update-elclist): Use LC_COLLATE rather than COLLATE.
16723 (ELCFILES): Update, via `make update-elclist'.
16725 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
16727 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
16728 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
16729 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
16731 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
16733 * Makefile.in (lisptagsfiles3): Define.
16734 (TAGS, TAGS-LISP): Use it.
16735 (update-elclist): Add third directory level to look for elc files.
16736 (compile-always): Likewise.
16737 (backup-compiled-files): Likewise.
16738 (bootstrap-clean): Likewise.
16739 (ELCFILES): Update.
16741 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
16743 * Makefile.in (ELCFILES): Add CEDET files.
16745 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
16747 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
16749 * net/tramp.el (top): Require tramp-imap.
16751 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16752 Use `tramp-compat-handle-file-attributes'.
16754 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
16756 * net/tramp-imap.el: New package.
16758 2009-09-28 Eric Ludlam <zappo@gnu.org>
16760 * emacs-lisp/chart.el:
16761 * emacs-lisp/eieio-base.el:
16762 * emacs-lisp/eieio-comp.el:
16763 * emacs-lisp/eieio-custom.el:
16764 * emacs-lisp/eieio-datadebug.el:
16765 * emacs-lisp/eieio-opt.el:
16766 * emacs-lisp/eieio-speedbar.el:
16767 * emacs-lisp/eieio.el: New files.
16769 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16771 * whitespace.el (whitespace-trailing-regexp)
16772 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
16775 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
16777 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
16780 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
16781 menu-bar-ediff-menu.
16783 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
16784 define-overloadable-function.
16786 * progmodes/autoconf.el: Provide autoconf as well, so that this
16787 file can be `require'd.
16789 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
16791 * emacs-lisp/autoload.el (generated-autoload-feature)
16792 (generated-autoload-load-name): New vars.
16793 (autoload-rubric, autoload-generate-file-autoloads): Use them.
16794 (make-autoload): Recognize define-overloadable-function and
16795 defclass forms (for EIEIO).
16797 * Makefile.in (update-subdirs): Exclude cedet directory.
16799 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
16801 * term/ns-win.el: Don't set the region face background. (Bug#4381)
16803 * faces.el: Default light-background background for region face to
16804 ns_selection_color under NS.
16806 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
16808 * net/imap-hash.el: New library, see NEWS.
16810 * Makefile.in (ELCFILES): Add imap-hash.el.
16812 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
16814 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
16815 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
16816 * help-macro.el (make-help-screen): Avoid using an ambiguous function
16817 definition where the docstring could be taken for the return value.
16819 2009-09-26 Glenn Morris <rgm@gnu.org>
16821 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
16822 Add option to only show images below a certain size.
16823 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
16824 save-excursion calls.
16826 2009-09-26 Eli Zaretskii <eliz@gnu.org>
16828 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
16829 subdirectories) and eieio.
16831 2009-09-26 Alan Mackenzie <acm@muc.de>
16833 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16834 Correct buggy bracketing. (Bug#4289)
16836 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
16837 character constants (as case labels). (Bug#4289)
16839 2009-09-25 Juri Linkov <juri@jurta.org>
16841 * files.el (safe-local-eval-forms): Allow time-stamp in
16842 before-save-hook (Bug#4554).
16844 2009-09-25 Drew Adams <drew.adams@oracle.com>
16846 * menu-bar.el (list-buffers-directory): Doc fix.
16848 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
16850 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
16851 Try and avoid copying twice the same paragraph.
16852 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
16853 Remove save-excursion.
16854 (log-edit-changelog-entry): Do it here instead.
16856 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
16858 * bs.el (bs--get-file-name): Use `list-buffers-directory'
16859 when available, instead of hardcoding mode names. Doc fix.
16861 * menu-bar.el (list-buffers-directory): Add docstring.
16862 Make automatically buffer-local.
16864 * dired.el (dired-mode):
16865 * files.el (cd-absolute):
16866 * pcvs.el (cvs-temp-buffer):
16867 * pcvs-util.el (cvs-get-buffer-create):
16868 * shell.el (shell-mode):
16869 * vc-dir.el (vc-dir-mode):
16870 Don't make `list-buffers-directory' buffer local.
16872 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
16874 * comint.el (comint-exec, comint-run, make-comint):
16875 Doc fixes (Bug#4542).
16877 2009-09-25 Glenn Morris <rgm@gnu.org>
16879 * mail/rmailmm.el (rmail-mime): New custom group.
16880 Move all defcustoms in this file into this group.
16881 (rmail-mime-media-type-handlers-alist): Revert previous change.
16882 (rmail-mime-show-images): New option.
16883 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
16884 references to it, since it wasn't actually used for anything.
16885 (rmail-mime-insert-image): New function.
16886 (rmail-mime-image): Use rmail-mime-insert-image.
16887 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
16888 obey the value of `rmail-mime-show-images' option. Print the size of
16891 2009-09-25 David Engster <deng@randomsample.de>
16893 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
16895 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16897 * whitespace.el: Does not highlight trailing spaces While point is
16898 at end of line. Does not highligt spaces at beginning of buffer
16899 while point is at beginning of buffer. Does not highlight spaces
16900 at end of buffer while point is at end of buffer. (Bug#4177)
16902 (whitespace-display-mappings): Adjust initialization.
16903 (whitespace-point, whitespace-font-lock-refontify): New vars.
16904 (whitespace-color-on, whitespace-color-off): Adjust code.
16905 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
16906 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
16907 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
16909 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
16911 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
16913 * textmodes/sgml-mode.el: Remove xml-mode alias.
16915 * files.el (auto-mode-alist, conf-mode-maybe)
16916 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
16918 2009-09-24 Alan Mackenzie <acm@muc.de>
16920 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
16921 c-forward-conditionals, but it doesn't move point and doesn't set
16923 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
16924 (c-down-conditional-with-else, c-backward-conditional)
16925 (c-forward-conditional): Refactor to use c-scan-conditionals.
16927 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
16929 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
16930 (help-default-arg-highlight): Remove.
16931 (help-highlight-arg): New function.
16932 (help-do-arg-highlight): Use it.
16933 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
16935 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
16937 * term.el (term-set-scroll-region, term-handle-ansi-escape):
16938 Undo last change, which didn't fix the problem and introduced others.
16940 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
16942 * progmodes/gdb-mi.el: Don't require speedbar.
16943 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
16945 2009-09-24 Glenn Morris <rgm@gnu.org>
16947 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
16949 * term/ns-win.el (ns-reg-to-script): Define for compiler.
16951 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
16952 there is no newline after the final mime boundary. (Bug#4539)
16953 Move markers on insertion so that any buttons inserted don't end up in
16954 the next part of a multipart message.
16955 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
16956 (rmail-mime-bulk-handler): Optionally handle images.
16957 (rmail-mime-image): New button action.
16958 (rmail-mime-image-handler): New function.
16959 (rmail-mime-mode): New mode.
16960 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
16962 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
16964 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
16965 than just dropping elements from it (bug#4504).
16967 * term.el (term-set-scroll-region): Don't move cursor any more.
16968 (term-handle-ansi-escape): Call term-goto here instead.
16969 Suggested by Ivan Kanis <apple@kanis.eu>.
16971 * term.el: Require CL.
16972 (term-ansi-reset): New function.
16973 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
16974 (term-handle-colors-array): Simplify.
16976 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
16978 * allout.el (allout-overlay-interior-modification-handler)
16979 (allout-obtain-passphrase):
16980 * epa-file.el (epa-file-write-region):
16981 * ps-print.el (ps-begin-job):
16982 * vc-hooks.el (vc-toggle-read-only):
16983 * vc-rcs.el (vc-rcs-rollback):
16984 * vc-sccs.el (vc-sccs-rollback):
16985 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
16986 (vc-version-diff, vc-revert, vc-rollback):
16987 * wdired.el (wdired-check-kill-buffer):
16988 * emacs-lisp/authors.el (authors):
16989 * net/socks.el (socks-open-connection):
16990 * net/zeroconf.el (zeroconf-service-add-hook):
16991 * obsolete/vc-mcvs.el (vc-mcvs-register):
16992 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
16993 (gdb-select-frame):
16994 * progmodes/grep.el (lgrep, rgrep):
16995 * progmodes/idlw-help.el (idlwave-help-check-locations)
16996 (idlwave-help-html-link, idlwave-help-assistant-open-link):
16997 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
16998 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
16999 (reftex-toc-rename-label): Fix typos in error messages.
17001 * dired-aux.el (dired-do-shell-command): Reflow docstring.
17002 (dired-copy-how-to-fn): Doc fix.
17003 (dired-files-attributes, dired-read-shell-command):
17004 Fix typos in docstrings.
17006 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
17007 (dired-x-find-file-other-window): Reflow docstrings.
17008 (dired-omit-marker-char, dired-read-shell-command)
17009 (dired-x-submit-report): Fix typos in docstrings.
17011 * shell.el (shell-mode-hook):
17012 * view.el (View-scroll-line-forward):
17013 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
17014 Fix typos in docstrings.
17016 * net/dig.el (dig-invoke): Fix typo in docstring.
17017 (query-dig): Reflow docstring.
17019 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
17020 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
17021 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
17022 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
17023 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
17024 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
17025 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
17026 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
17027 (idlwave-completion-map, idlwave-current-indent)
17028 (idlwave-custom-ampersand-surround, idlwave-customize)
17029 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
17030 (idlwave-define-abbrev, idlwave-determine-class-special)
17031 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
17032 (idlwave-end-block-reg, idlwave-end-of-statement)
17033 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
17034 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
17035 (idlwave-explicit-class-listed, idlwave-file-header)
17036 (idlwave-fill-paragraph, idlwave-find-class-definition)
17037 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
17038 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
17039 (idlwave-in-quote, idlwave-indent-action-table)
17040 (idlwave-indent-expand-table, idlwave-indent-line)
17041 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
17042 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
17043 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
17044 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
17045 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
17046 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
17047 (idlwave-outlawed-buffers, idlwave-popup-select)
17048 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
17049 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
17050 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
17051 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
17052 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
17053 (idlwave-statement-type, idlwave-struct-skip)
17054 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
17055 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
17056 (idlwave-what-module-find-class): Fix typos in docstrings.
17057 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
17058 (idlwave-calculate-cont-indent, idlwave-expand-equal)
17059 (idlwave-find-module, idlwave-find-structure-definition)
17060 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
17061 (idlwave-list-load-path-shadows, idlwave-next-statement)
17062 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
17063 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
17064 (idlwave-template): Reflow docstrings.
17066 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
17067 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
17068 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
17069 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
17070 (idlwave-shell-display-line, idlwave-shell-display-wframe)
17071 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
17072 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
17073 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
17074 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
17075 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
17076 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
17077 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
17078 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
17079 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
17080 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
17081 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
17082 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
17083 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
17084 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
17085 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
17086 Fix typos in docstrings.
17087 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
17088 (idlwave-shell-hide-output, idlwave-shell-mode)
17089 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
17092 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
17094 2009-09-24 Ivan Kanis <apple@kanis.eu>
17096 * term.el (term-bold-attribute): New var.
17097 (term-handle-colors-array): Use it.
17099 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
17101 * progmodes/gdb-mi.el (gdb-version): New variable.
17102 (gdb-non-stop-handler): Set gdb-version.
17103 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
17104 Condition "--thread" option on gdb-version.
17105 (gdb-invalidate-threads): Remove unused argument.
17107 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17109 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
17110 to looking-back to avoid ridiculous slow down in large files (bug#4511).
17112 2009-09-23 Glenn Morris <rgm@gnu.org>
17114 * mail/rmail.el (rmail-reply): Don't try to add a References header when
17115 replying to mail without References or Message-Id. (Bug#4525)
17117 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
17119 * term/ns-win.el (ns-reg-to-script): New variable.
17121 2009-09-23 Daiki Ueno <ueno@unixuser.org>
17123 * epg.el (epg-wait-for-status): Preserve existing 'error results.
17125 2009-09-22 Sam Steingold <sds@gnu.org>
17127 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
17128 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
17129 to 1 because hg returns status 1 when nothing is found.
17130 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
17132 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
17134 * textmodes/fill.el: Convert to utf-8 encoding.
17135 (fill-french-nobreak-p): Remove redundant » and « inherited from our
17138 * add-log.el (change-log-fill-forward-paragraph): New function.
17139 (change-log-mode): Use it so fill-region DTRT.
17140 Set fill-indent-according-to-mode here rather than in
17141 change-log-fill-paragraph.
17142 (change-log-fill-paragraph): Remove.
17144 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
17146 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
17147 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
17149 2009-09-22 Glenn Morris <rgm@gnu.org>
17151 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
17152 the scroll-bar scroll the calendar window rather than the buffer.
17154 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
17155 commands that move point (as opposed to scrolling).
17157 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
17159 * emacs-lisp/elint.el (elint): New custom group.
17160 (elint-log-buffer): Make it a defcustom.
17161 (elint-scan-preloaded, elint-ignored-warnings)
17162 (elint-directory-skip-re): New options.
17163 (elint-builtin-variables): Doc fix.
17164 (elint-preloaded-env): New variable.
17165 (elint-unknown-builtin-args): Add an entry for encode-time.
17166 (elint-extra-errors): Make it a variable rather than a constant.
17167 (elint-preloaded-skip-re): New constant.
17168 (elint-directory): Skip files matching elint-directory-skip-re.
17169 (elint-features): New variable, local to linted buffers.
17170 (elint-update-env): Initialize elint-features. Possibly add
17171 elint-preloaded-env to the buffer's environment.
17172 (elint-get-top-forms): Bind elint-current-pos, for log messages.
17174 (elint-init-form): New function, extracted from elint-init-env.
17175 Make non-list forms a warning rather than an error.
17176 Add the mode-map for define-derived-mode. Handle define-minor-mode,
17177 easy-menu-define, put that adds an error-condition, and provide.
17178 When requiring cl, also require cl-macs. Really require cl, to handle
17179 some cl macros. Store required libraries in the list elint-features,
17180 so as not to re-load them. Treat cc-require like require.
17181 (elint-init-env): Call elint-init-form to do the work.
17182 Handle eval-and-compile and such like.
17183 (elint-add-required-env): Do not clear messages.
17184 (elint-special-forms): Add handlers for function, defalias, if, when,
17186 (elint-form): Add optional argument to ignore elint-special-forms,
17187 useful to prevent recursive calls from handlers. Doc fix.
17188 Respect elint-ignored-warnings.
17189 (elint-form): Respect elint-ignored-warnings.
17190 (elint-bound-variable, elint-bound-function): New variables.
17191 (elint-unbound-variable): Respect elint-bound-variable.
17192 (elint-get-args): Respect elint-bound-function.
17193 (elint-check-cond-form): Add some simple handling for (f)boundp and
17195 (elint-check-defalias-form): New handler.
17196 (elint-check-let-form): Make an empty let a warning rather than an
17198 (elint-check-setq-form): Make an empty setq a warning rather than an
17199 error. Respect elint-ignored-warnings.
17200 (elint-check-defvar-form): Accept null doc-strings.
17201 (elint-check-conditional-form): New handler. Does some simple-minded
17202 checking of featurep and (f)boundp tests.
17203 (elint-put-function-args): New function.
17204 (elint-initialize): Use elint-scan-doc-file rather than
17205 elint-find-builtin-variables. Use elint-put-function-args.
17206 Possibly scan preloaded-file-list.
17207 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
17208 extend to handle functions as well.
17210 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
17212 * linum.el (linum-delete-overlays, linum-update-window):
17213 Do not modify the right margin. (Bug#3971)
17215 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
17217 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
17218 Use nxml-mode instead of xml-mode.
17220 2009-09-21 Kevin Ryde <user42@zip.com.au>
17222 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
17224 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17226 * net/dig.el (dig-mode): Use define-derived-mode.
17228 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
17230 * vc-dispatcher.el (vc-do-command): Return the process object in
17231 the asynchronous case. Use when instead of if. Do not run
17232 vc-exec-after to display a message if not enabled. (Bug#4463)
17234 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
17235 properties to the stash strings.
17236 (vc-git-stash-list): Return a list of strings.
17237 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
17238 (vc-git-stash-show-at-point): New functions.
17239 (vc-git-stash-map): New keymap.
17241 * register.el (ctl-x-r-map): Define the keys here instead of
17244 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
17246 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
17247 list, to workaround performance problem (bug#4485).
17249 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
17251 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
17253 2009-09-20 Daiki Ueno <ueno@unixuser.org>
17255 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
17256 Document that this option is not recommended to use.
17258 2009-09-19 Glenn Morris <rgm@gnu.org>
17260 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
17263 * calc/calc-alg.el (var):
17264 * calc/calcalg2.el (var): Define for compiler.
17266 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
17268 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
17269 Doc fix (Bug#3932).
17271 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
17273 * time-stamp.el (time-stamp-month-dd-yyyy)
17274 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
17275 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
17276 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
17277 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
17278 Remove functions that have been obsolete since 1995 (Bug#4436).
17280 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
17281 indent buffer only if called interactively (Bug#4452).
17283 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
17284 Eli Zaretskii <eliz@gnu.org>
17286 This fixes bug#4197 (merged to bug#865, though not identical).
17287 * server.el (server-auth-dir): Add docstring note about FAT32.
17288 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
17289 but warn against using them.
17291 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
17293 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
17294 older GDB where there is no has_more field.
17296 2009-09-19 Glenn Morris <rgm@gnu.org>
17298 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
17300 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
17302 * files.el (auto-mode-alist): Change default for XML files to nXML
17305 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
17307 * server.el (server-ensure-safe-dir): Pass 'integer
17308 to `file-attributes', as suggested.
17310 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
17312 * dired-aux.el (dired-query-alist): Remove spurious backslash.
17313 (dired-query): Use read-key.
17315 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
17317 * cus-start.el (ns-use-qd-smoothing): Remove.
17319 2009-09-18 Glenn Morris <rgm@gnu.org>
17321 * allout.el (top-level): Remove unnecessary progn.
17323 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
17325 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
17326 definition of abbrev table.
17328 * speedbar.el (speedbar-track-mouse):
17329 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
17330 * net/eudc.el (eudc-expand-inline):
17331 * net/newst-backend.el (newsticker--cache-read-feed):
17332 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
17333 condition-case handlers.
17335 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
17337 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
17338 (gdb-var-list): Add an element for has_more field.
17339 (gdb-non-stop-handler): Enable pretty printing for STL containers.
17340 (gdb-var-create-handler, gdb-var-list-children-handler-1)
17341 (gdb-var-update-handler-1): Parse output of dynamic variable
17342 objects (STL containers).
17343 (gdb-var-delete-1): Pass var1 as an explicit second argument.
17344 (gdb-get-field): Delete alias. Use bindat-get-field directly.
17346 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
17348 (gud-speedbar-buttons): Make node expandable if expression "has more"
17351 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
17353 * startup.el (emacs-quick-startup): Remove variable and all uses.
17354 (command-line): Set `inhibit-x-resources' instead.
17355 (command-line-1): Use `inhibit-x-resources' instead.
17357 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
17359 * subr.el: Fix last change to avoid using the `unless' macro,
17360 which breaks bootstrapping.
17362 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17364 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
17365 extended definitions, in case we reload subr.el after having
17367 (eval-next-after-load): Mark as obsolete.
17369 2009-09-17 Juri Linkov <juri@jurta.org>
17371 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
17372 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
17373 (menu-bar-showhide-menu, menu-bar-tools-menu)
17374 (menu-bar-describe-menu, menu-bar-help-menu)
17375 (minibuffer-local-completion-map, minibuffer-local-map):
17378 2009-09-17 Glenn Morris <rgm@gnu.org>
17380 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
17381 arguments, whether or not it has a handler.
17383 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
17385 * simple.el (hard-newline): Give it a doc-string.
17387 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17388 (lisp-mode-syntax-table): Give them doc-strings.
17390 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
17392 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
17393 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
17394 (menu-bar-options-menu, menu-bar-showhide-menu)
17395 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
17396 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
17397 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
17398 (menu-bar-options-menu, menu-bar-tools-menu)
17399 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
17400 (menu-bar-help-menu):
17401 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
17404 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
17405 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
17406 calls for the menu names and :help.
17408 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17410 * mouse.el (minor-mode-menu-from-indicator): Pay attention
17411 to :minor-mode-function (bug#4455).
17413 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17415 * startup.el (command-line): Initialize the window-system after
17416 processing the command-line.
17418 * textmodes/page.el (what-page): Make sure we don't inf-loop if
17419 page-delimiter matches the empty string.
17421 2009-09-16 Glenn Morris <rgm@gnu.org>
17423 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
17424 byte-compile-not-obsolete-var. It's a list now.
17425 (byte-compile-not-obsolete-funcs): New variable.
17426 (byte-compile-warn-obsolete): Don't warn about functions if they are in
17427 byte-compile-not-obsolete-funcs.
17428 (byte-compile-variable-ref, byte-compile-defvar): Update for
17429 byte-compile-not-obsolete-vars name-change and list nature.
17430 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
17431 and variables behind (f)boundp tests.
17432 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
17434 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
17436 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
17438 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17440 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
17441 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
17444 2009-09-15 Stephen Eglen <stephen@gnu.org>
17446 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
17447 the virtual-buffers, use the name of the buffer specified by
17448 find-file-noselect, as the match may be a symlink. (This was a
17449 problem if the target and the symlink had different names.)
17451 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17453 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
17455 * desktop.el (desktop-path): Check user-emacs-directory.
17457 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
17459 * loadup.el: Use after-load-functions to GC after loading each file.
17460 Remove the explicit GC calls that used to be sprinkled around.
17462 * subr.el (after-load-functions): New hook.
17463 (do-after-load-evaluation): Run it. Use string-match-p to detect
17464 `obsolete' packages, rather than painfully extracting the relevant
17467 2009-09-15 Glenn Morris <rgm@gnu.org>
17469 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
17470 free variable `doc'.
17472 * dired.el (dired-mode-map): Add menu entry for async shell command.
17474 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
17475 variables, also consider the .elc files, since the .el files are
17476 normally gzipped (subsequent code locates the .el.gz from the .elc).
17478 * calc/calc-prog.el (arglist): Define for compiler.
17480 * calendar/diary-lib.el (diary-display-function): Change the default to
17482 (body): Define for compiler.
17484 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
17485 (byte-compile-file-form, byte-compile-lambda)
17486 (byte-compile-top-level-body, byte-compile-form)
17487 (byte-compile-variable-ref, byte-compile-setq)
17488 (byte-compile-setq-default, byte-compile-body)
17489 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
17490 (batch-byte-compile): Give some more local variables with common names
17491 a "bytecomp-" prefix to avoid masking warnings about free variables.
17493 * startup.el (command-line-1): Give local variables with common names a
17494 distinguishing prefix, so as not to hide free variable warnings during
17497 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
17498 clever and add a suffix to make a unique name, just let the user decide
17499 whether or not to overwrite it. If the input is a directory, write the
17500 default filename to that directory. (Bug#4388)
17501 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
17502 is a filename-as-a-directory.
17504 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17506 * textmodes/page.el (what-page): Don't move to beginning of line.
17507 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
17509 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
17511 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
17513 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
17515 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
17516 * help.el (help-for-help-internal): Add purecopy calls for text.
17518 * vc.el (top): print-log method now takes an optional SHORTLOG
17519 argument. Add a new method: root.
17520 (vc-root-diff, vc-print-root-log): New functions.
17521 (vc-log-short-style): New variable.
17522 (vc-print-log-internal): Add support for showing short logs.
17524 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
17525 vc-print-root-log and vc-print-root-diff.
17527 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
17528 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
17529 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
17532 * vc-cvs.el (vc-cvs-print-log):
17533 * vc-mtn.el (vc-mtn-print-log):
17534 * vc-rcs.el (vc-rcs-print-log):
17535 * vc-sccs.el (vc-sccs-print-log):
17536 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
17537 that is ignored for now.
17539 * vc-mtn.el (vc-mtn-annotate-command):
17540 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
17542 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17544 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
17545 to function-key-map, and give them ascii-character property.
17546 * term/x-win.el (x-alternatives-map):
17547 * term/ns-win.el (ns-alternatives-map):
17548 * term/internal.el (msdos-key-remapping-map):
17549 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
17551 2009-09-14 Glenn Morris <rgm@gnu.org>
17553 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
17554 temp-buffers (2009-09-12).
17556 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17558 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
17559 the new read-key function.
17561 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
17563 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
17564 is defined (Bug#4405).
17566 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
17568 * recentf.el (recentf-cleanup): Use a hash table to find
17569 duplicates (Bug#4407).
17571 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
17573 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
17574 kp-0 to ascii equivalents (Bug#4325).
17576 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
17578 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
17580 * eshell/em-hist.el:
17581 * eshell/em-dirs.el (eshell-complete-user-reference):
17582 Declare pcomplete functions and variables to avoid compiler warnings.
17584 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
17586 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
17587 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
17588 * eshell/em-alias.el (eshell-aliases-file):
17589 * eshell/em-hist.el (eshell-history-file-name):
17590 Use expand-file-name instead of concat to make file names (Bug#4308).
17592 2009-09-13 Glenn Morris <rgm@gnu.org>
17594 * ediff-merg.el (ediff-do-merge):
17595 * filesets.el (filesets-run-cmd):
17596 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
17597 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
17598 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
17599 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
17600 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
17601 Replace empty `let's with `progn'.
17603 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17605 * mail/sendmail.el (send-mail-function):
17606 * tooltip.el (tooltip-mode):
17607 * simple.el (transient-mark-mode):
17608 * rfn-eshadow.el (file-name-shadow-mode):
17609 * frame.el (blink-cursor-mode):
17610 * font-core.el (global-font-lock-mode):
17611 * files.el (temporary-file-directory)
17612 (small-temporary-file-directory, auto-save-file-name-transforms):
17613 * epa-hook.el (auto-encryption-mode):
17614 * composite.el (global-auto-composition-mode):
17615 Use custom-initialize-delay.
17616 * startup.el (command-line): Don't explicitly call
17617 custom-reevaluate-setting for all the above vars.
17618 * custom.el (custom-initialize-safe-set)
17619 (custom-initialize-safe-default): Delete.
17621 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17623 * term/x-win.el (x-initialize-window-system):
17624 * term/w32-win.el (w32-initialize-window-system):
17625 * term/ns-win.el (ns-initialize-window-system): Don't call
17626 mouse-wheel-mode since it's enabled globally by default already.
17628 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
17629 actually define the variable, but only silences the byte-compiler.
17630 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
17631 before looking it up.
17632 (mouse-wheel-scroll-amount): Also reset the bindings if this value
17635 2009-09-12 Glenn Morris <rgm@gnu.org>
17637 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
17639 (elint-add-required-env): Don't beep on error.
17640 (elint-forms): In case of error, return ENV unchanged.
17641 (elint-init-env): Skip non-list forms.
17642 (elint-log): Handle unknown file positions.
17644 2009-09-12 Daiki Ueno <ueno@unixuser.org>
17646 * epg.el (epg-make-context): Add autoload cookie.
17647 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
17648 (epg-decrypt-string, epg-start-verify, epg-verify-file)
17649 (epg-verify-string, epg-start-sign, epg-sign-file)
17650 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
17651 (epg-encrypt-string, epg-start-export-keys)
17652 (epg-export-keys-to-file, epg-export-keys-to-string)
17653 (epg-start-import-keys, epg-import-keys-from-file)
17654 (epg-import-keys-from-string, epg-start-receive-keys)
17655 (epg-receive-keys, epg-import-keys-from-server)
17656 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
17657 (epg-sign-keys, epg-start-generate-key)
17658 (epg-generate-key-from-file, epg-generate-key-from-string):
17659 Remove autoload cookie.
17661 2009-09-12 Eli Zaretskii <eliz@gnu.org>
17663 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
17664 reevaluation of trash-directory.
17666 * mwheel.el: Fix last change.
17667 (mouse-wheel-mode): New defvar.
17668 (mouse-wheel-mode): Remove autoload cookie.
17670 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17672 * mwheel.el (mwheel-installed-bindings): New var.
17673 (mouse-wheel-mode): Use it, so as to make sure we really remove all
17674 the bindings we set last time. Use custom-initialize-delay.
17675 * loadup.el: Load mwheel after term/*-win.el.
17676 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
17677 and mouse-wheel-up-event now that their first evaluation is done
17678 sufficiently late to be correct.
17680 * startup.el (tutorial-directory): Make it a defcustom.
17681 Use custom-initialize-delay rather than eval-at-startup to set it.
17682 * image.el (image-load-path): Make it a defcustom.
17683 Use custom-initialize-delay rather than eval-at-startup to set it.
17684 * subr.el (eval-at-startup): Remove.
17685 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
17687 * subr.el (do-after-load-evaluation): Warn the user after loading an
17690 2009-09-12 Glenn Morris <rgm@gnu.org>
17692 * proced.el (proced-mark-alt): Remove alias.
17693 (proced-mode-map): Remove proced-mark-alt.
17695 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
17696 Elint file and directory. Remove initialization entry.
17698 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
17700 (elint-current-buffer): Set mode-line-process.
17701 (elint-init-env): Handle define-derived-mode.
17702 Fix declare-function with unspecified arglist. Guard against odd
17703 defalias statements (eg iso-insert's 8859-1-map).
17704 (elint-add-required-env): Use a temp buffer.
17705 (elint-form): Just print the function/macro name, not the whole form.
17706 Return env unchanged if we fail to parse a macro.
17707 (elint-forms): Guard against parse errors.
17708 (elint-output): New function, to handle batch mode.
17709 (elint-log-message): Add optional argument. Use elint-output.
17710 (elint-set-mode-line): New function.
17712 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
17714 * emacs-lisp/elp.el (elp-not-profilable): Add more
17715 functions (Bug#4233).
17717 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
17719 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
17720 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
17722 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
17724 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
17725 (gdb-var-list-children): Use json parsing.
17727 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
17729 * progmodes/js.el (js--proper-indentation): Handle the case where
17730 char-before is null. Reported by Deniz Dogan.
17732 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
17734 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
17736 2009-09-11 Daiki Ueno <ueno@unixuser.org>
17738 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
17739 (epg-digest-algorithm-alist): Add SHA224.
17740 (epg-context-set-passphrase-callback)
17741 (epg-context-set-progress-callback): Add description about
17744 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17746 * custom.el (custom-delayed-init-variables): New var.
17747 (custom-initialize-delay): New function.
17748 * startup.el (command-line): "Re"evaluate all vars in
17749 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
17750 explicitly any more.
17751 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
17752 to avoid creating a ~/.emacs.d at build-time (bug#4347).
17754 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
17756 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
17758 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
17759 (gdb-var-update-handler): Use json parsing.
17761 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
17763 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
17764 decode annotated text, regardless of language environment. (Bug#2741)
17766 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17768 * Makefile.in (autoloads): Make rmail.el writable as well.
17770 2009-09-11 Glenn Morris <rgm@gnu.org>
17772 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
17774 * dired.el: Regenerate with extracted autoloads.
17775 * Makefile.in (autoloads): Make dired.el writable.
17777 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
17778 * ibuffer.el: Regenerate with extracted autoloads.
17779 * Makefile.in (autoloads): Make ibuffer.el writable.
17781 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
17782 * version.el (emacs-copyright, emacs-major-version)
17783 (emacs-minor-version): Reformat doc-strings for make-docfile.
17785 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
17786 functions and variables, since they must be stuff specific to some other
17788 (apropos-print): Make mouse-click message less specific about button.
17790 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
17791 that records where a macro was defined.
17792 * help-fns.el (describe-function-1): Mention if a function has a
17794 * help-mode.el (help-function-cmacro): New button.
17796 * locate.el (top-level): Always require dired.
17797 (locate-mode-map): Initialize inside the defvar.
17799 * net/ange-ftp.el (dired-compress-file): Declare.
17800 (ange-ftp-dired-compress-file): Add doc string.
17802 * term/ns-win.el (x-display-name, x-setup-function-keys):
17803 Unify doc-strings with X versions.
17805 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17807 * emulation/crisp.el (crisp-mode-map): Move initialization
17809 (crisp-mode): Use define-minor-mode.
17811 * progmodes/xscheme.el (xscheme-evaluation-commands):
17812 Put a :advertised-binding property rather than using
17813 advertised-xscheme-send-previous-expression.
17814 (advertised-xscheme-send-previous-expression): Declare obsolete.
17815 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
17817 (crisp-mode): Add corresponding bindings to
17818 undo's :advertised-binding instead.
17819 * dired.el (dired-mode-map): Put a :advertised-binding property rather
17820 than using dired-advertised-find-file.
17821 (dired-advertised-find-file):
17822 * simple.el (advertised-undo):
17823 * wid-edit.el (advertised-widget-backward): Declare obsolete.
17824 (widget-keymap): Put a :advertised-binding property rather
17825 than using advertised-widget-backward.
17826 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
17827 than using advertised-undo.
17828 * tutorial.el (tutorial--default-keys): Adjust accordingly.
17830 2009-09-10 Simon South <ssouth@slowcomputing.org>
17832 * progmodes/delphi.el (delphi-tab): Indent region when Transient
17833 Mark mode is enabled and region is active; otherwise indent or
17834 insert TAB as usual.
17835 (delphi-mode): Update description of TAB-key binding.
17837 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
17839 * subr.el (define-key-rebound-commands): Mark obsolete.
17840 * startup.el (precompute-menubar-bindings): Remove.
17841 (normal-top-level): Remove obsolete code that tried to precompute
17843 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
17844 define-key-rebound-commands and precompute-menubar-bindings.
17846 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
17848 * net/imap.el (imap-interactive-login): Better messages.
17849 (imap-open): Fix bug with renamed buffer on reconnect.
17850 (imap-authenticate): Add buffer-local imap-last-authenticator variable
17851 for easier debugging and cleaner code. On successful (guessed based on
17852 server capabilities) secondary authentication, set imap-state
17854 (imap-last-authenticator): Define imap-last-authenticator as a variable
17857 2009-09-10 Glenn Morris <rgm@gnu.org>
17859 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
17861 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
17862 (byte-compile-file-form-autoload): Don't warn about unknown functions
17863 where the autoload statement comes after the use.
17864 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
17865 that any handlers inside the body (eg require) are in turn respected.
17867 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
17870 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
17871 and syntax and abbrev tables basic docs, if they don't have any.
17873 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
17875 * international/mule-cmds.el (top-level): Require cl when compiling.
17876 (view-hello-file): Use default-value rather than
17877 default-enable-multibyte-characters.
17879 * progmodes/fortran.el: Move all safe and risky properties into the
17882 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
17883 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
17884 * mail/undigest.el:
17885 Put autoloads in rmail.el rather than loaddefs.el.
17886 * mail/rmail.el: Regenerate with extracted autoloads.
17888 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
17889 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
17891 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
17893 Reported in thread for Bug#4375.
17894 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
17895 "-data-evaluate-expression" instead of print.
17896 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
17897 (gdb-tooltip-print): Parse output from above MI command.
17898 (gdb): Revert 2009-08-11 change. User should detach inferior
17901 Remove the word "separate" from IO functions as inferior
17902 output is now never displayed in the GUD buffer.
17904 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
17906 * startup.el (command-line-normalize-file-name): On Windows and
17907 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
17909 2009-09-10 Juri Linkov <juri@jurta.org>
17911 * isearch.el (isearch-text-char-description): Propertize escape
17912 character sequences with the `escape-glyph' face. (Bug#4344)
17914 * simple.el (shell-command): Set asynchronous process filter to
17915 `comint-output-filter'. (Bug#4343)
17917 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
17918 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
17919 the list. Move "asm" to the bottom.
17920 (grep-find-ignored-directories): Add `choice' with nil value
17921 to empty the list easily.
17922 (grep-find-ignored-files): New option.
17923 (grep-files-history): Set to nil by default instead of '("ch" "el").
17924 (grep-compute-defaults): Add "<X>" to `grep-template'.
17925 (grep-read-files): Bind new local variables `default-alias' and
17926 `default-extension'. Use a list of default values for the file prompt.
17927 (lgrep): Add `--exclude=' command line options composed from
17928 `grep-find-ignored-files'.
17929 (rgrep): Add `-name' command line options composed from
17930 `grep-find-ignored-files'. (Bug#4301)
17932 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
17934 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
17937 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
17939 * calendar/time-date.el (autoload):
17940 Expand define-obsolete-function-alias into defalias and make-obsolete
17941 for old Emacsen that Gnus supports.
17942 (with-no-warnings): Define it for old Emacsen.
17943 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
17945 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
17946 float-time is available; suppress compile warning for time-to-seconds.
17948 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
17950 * net/imap.el (imap-message-map): Docstring fix.
17952 2009-09-09 Glenn Morris <rgm@gnu.org>
17954 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
17955 line numbers too. (Bug#4374)
17957 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
17959 * smerge-mode.el (smerge-remove-props, smerge-refine):
17960 Use with-silent-modifications (bug#4342).
17962 * subr.el (with-silent-modifications): New macro.
17964 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
17966 * files.el (top-level): Require `cl' when compiling.
17968 2009-09-07 Glenn Morris <rgm@gnu.org>
17970 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
17972 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
17973 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
17975 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
17977 * vc-git.el (vc-git-annotate-command): Use separator to parse
17978 arguments correctly.
17980 2009-09-06 Eli Zaretskii <eliz@gnu.org>
17982 * proced.el (proced-mode): Doc fix.
17984 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
17986 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
17988 (tramp-do-file-attributes-with-ls): Check for file existence at
17990 (tramp-do-file-attributes-with-stat): Likewise.
17991 (tramp-convert-file-attributes): Return nil when attr is nil.
17993 2009-09-05 Glenn Morris <rgm@gnu.org>
17995 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
17996 properties to this button.
17997 (diary-fancy-display): Don't extend the button to the final newline.
17998 (diary-fancy-display-mode): Continue to define "q" as a local key.
18000 * calendar/cal-china.el (holiday-chinese): Make it slightly more
18003 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
18005 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
18006 (byte-compile-dest-file-function): New option.
18007 (byte-compile-dest-file): Doc fix.
18008 Obey byte-compile-dest-file-function.
18009 (byte-compile-cl-file-p): New function.
18010 (byte-compile-eval): Only suppress noruntime warnings about cl functions
18011 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
18012 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
18013 than for file being previously loaded.
18014 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
18015 (byte-compile-file-form-require): Handle the case where requiring a file
18016 indirectly causes CL to be loaded.
18018 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18020 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
18021 before killing the old buffer, since by the time `kill-buffer' is
18022 run so many buffer variables have been set to nil that it may not
18023 behave as expected. (Bug#4061)
18025 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18027 * files.el (find-alternate-file): If the old buffer is modified
18028 and visiting a file, behave similarly to `kill-buffer' when
18029 killing it, thus reverting to the pre-1.878 behavior; see
18030 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
18031 for discussion. Also, consult `buffer-file-name' as a variable
18032 not as a function, for consistency with the rest of the code.
18034 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
18036 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
18037 also when adding a new directory.
18039 * net/tramp-compat.el (tramp-compat-line-beginning-position):
18042 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
18044 * files.el (locate-file-completion-table): Make it provide boundary
18045 information, so partial-completion works better.
18047 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
18049 * mail/footnote.el (Footnote-text-under-cursor):
18050 Check footnote-text-marker-alist before using it (bug#4324).
18052 2009-09-04 Glenn Morris <rgm@gnu.org>
18054 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
18055 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
18056 * play/solitaire.el, play/tetris.el:
18057 Remove leading * from defcustom and defface docs.
18059 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
18061 (diary-fancy-overriding-map): New variable.
18062 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
18065 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
18068 2009-09-03 Glenn Morris <rgm@gnu.org>
18070 * arc-mode.el (archive-mode):
18071 * dos-fns.el (set-default-process-coding-system):
18072 * man.el (Man-getpage-in-background):
18073 * menu-bar.el (menu-bar-describe-menu):
18074 * server.el (server-process-filter):
18075 * startup.el (command-line):
18076 * tar-mode.el (tar-header-block-tokenize, tar-extract):
18077 * w32-fns.el (set-default-process-coding-system):
18078 * x-dnd.el (x-dnd-handle-file-name):
18079 * international/mule-cmds.el (mule-menu-keymap)
18080 (set-default-coding-systems, language-info-alist, set-language-info)
18081 (set-language-environment, standard-display-european-internal)
18082 (set-locale-environment):
18083 * international/mule-diag.el (mule-diag):
18084 * mail/emacsbug.el (report-emacs-bug):
18085 * mail/rmail.el (rmail-mode):
18086 * mail/sendmail.el (mail-setup):
18087 Use default-value rather than default-enable-multibyte-characters.
18089 * progmodes/f90.el: Move all safe properties into the defcustoms.
18090 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
18092 * calendar/appt.el (appt-check):
18093 * calendar/diary-lib.el (diary-set-header, diary-live-p)
18094 (diary-check-diary-file, diary-list-entries)
18095 (diary-include-other-diary-files, diary-simple-display)
18096 (diary-fancy-display, diary-print-entries)
18097 (diary-mark-included-diary-files, diary-make-entry):
18098 Don't call substitute-in-file-name on diary-file.
18100 2009-09-03 Eduard Wiebe <usenet@pusto.de>
18101 Stefan Monnier <monnier@iro.umontreal.ca>
18103 * mail/footnote.el (footnote-prefix): Make it a defcustom.
18104 (footnote-mode-map): Move initialization into the declaration.
18105 (footnote-minor-mode-map): Define it rather than changing global-map.
18106 (footnote-mode): Use define-minor-mode.
18108 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
18110 * net/tramp.el (tramp-handle-file-attributes-with-ls)
18111 (tramp-do-file-attributes-with-perl)
18112 (tramp-do-file-attributes-with-stat): Rename from
18113 `tramp-handle-file-attributes-with-*'.
18114 (tramp-handle-file-attributes): Use them.
18115 (tramp-do-directory-files-and-attributes-with-perl)
18116 (tramp-do-directory-files-and-attributes-with-stat): Rename from
18117 `tramp-handle-directory-files-and-attributes-with-*'.
18118 (tramp-handle-directory-files-and-attributes): Use them.
18119 (tramp-method-out-of-band-p): Additional parameter SIZE.
18120 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
18121 (tramp-handle-write-region): Use it.
18122 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
18123 (tramp-handle-vc-registered): Check, whether the first run did
18124 return files to be tested.
18125 (tramp-advice-make-auto-save-file-name): Do not call directly
18126 `tramp-handle-make-auto-save-file-name', because this would bypass
18127 the locking mechanism.
18129 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
18130 (file-remote-p, process-file, start-file-process, set-file-times)
18131 (tramp-compat-file-attributes): Compatibility functions shall not
18132 call directly `tramp-handle-*', because this would bypass the
18134 (tramp-compat-number-sequence): New defun.
18136 2009-09-02 Glenn Morris <rgm@gnu.org>
18138 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
18139 alias for float-time.
18140 (time-to-number-of-days): In Emacs, use float-time.
18141 * net/newst-backend.el (time-add): Suppress warnings from compat
18143 * time.el (emacs-uptime, emacs-init-time):
18144 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
18145 Use float-time rather than time-to-seconds.
18147 * minibuffer.el (completion-initials-expand): Fix typo.
18149 * faces.el (modeline, modeline-inactive, modeline-highlight)
18150 (modeline-buffer-id):
18151 * info.el (info-menu-5): Mark these face aliases as obsolete.
18153 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
18155 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
18157 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
18158 no "--thread" option.
18159 (gdb-stopped): Don't print "Switched to thread" message when it is
18162 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
18164 * minibuffer.el (completion-try-completion)
18165 (completion-all-completions): Remove ill-defined (and
18166 mistakenly installed and luckily never used nor documented)
18167 `completion-styles' property.
18168 (completion-initials-expand, completion-initials-all-completions)
18169 (completion-initials-try-completion): New functions.
18170 (completion-styles-alist): Add doc to each entry.
18171 Add new `initials' entry.
18173 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
18175 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
18176 MI command -var-evaluate-expression.
18177 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
18178 and tweak for case of string child.
18179 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
18181 2009-09-01 Glenn Morris <rgm@gnu.org>
18183 * add-log.el (change-log-date-face, change-log-name-face)
18184 (change-log-email-face, change-log-file-face, change-log-list-face)
18185 (change-log-conditionals-face, change-log-function-face)
18186 (change-log-acknowledgement-face):
18187 * cus-edit.el (custom-invalid-face, custom-rogue-face)
18188 (custom-modified-face, custom-set-face, custom-changed-face)
18189 (custom-saved-face, custom-button-face, custom-button-pressed-face)
18190 (custom-documentation-face, custom-state-face, custom-comment-face)
18191 (custom-comment-tag-face, custom-variable-tag-face)
18192 (custom-variable-button-face, custom-face-tag-face)
18193 (custom-group-tag-face-1, custom-group-tag-face):
18194 * diff-mode.el (diff-header-face, diff-file-header-face)
18195 (diff-index-face, diff-hunk-header-face, diff-removed-face)
18196 (diff-added-face, diff-changed-face, diff-function-face)
18197 (diff-context-face, diff-nonexistent-face):
18198 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
18199 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
18200 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
18201 (Info-title-4-face):
18202 * isearch.el (isearch-lazy-highlight-face):
18203 * log-view.el (log-view-file-face, log-view-message-face):
18204 * paren.el (show-paren-match-face, show-paren-mismatch-face):
18205 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
18206 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
18208 * smerge-mode.el (smerge-mine-face, smerge-other-face)
18209 (smerge-base-face, smerge-markers-face):
18210 * wid-edit.el (widget-documentation-face, widget-button-face)
18211 (widget-field-face, widget-single-line-field-face)
18212 (widget-inactive-face, widget-button-pressed-face):
18213 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
18214 (woman-addition-face):
18215 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
18216 (eshell-ls-executable-face, eshell-ls-readonly-face)
18217 (eshell-ls-unreadable-face, eshell-ls-special-face)
18218 (eshell-ls-missing-face, eshell-ls-archive-face)
18219 (eshell-ls-backup-face, eshell-ls-product-face)
18220 (eshell-ls-clutter-face):
18221 * eshell/em-prompt.el (eshell-prompt-face):
18222 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
18223 * obsolete/old-whitespace.el (whitespace-highlight-face):
18224 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
18225 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
18226 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
18227 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
18228 (antlr-font-lock-literal-face):
18229 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
18230 (ebrowse-root-class-face, ebrowse-file-name-face)
18231 (ebrowse-default-face, ebrowse-member-attribute-face)
18232 (ebrowse-member-class-face, ebrowse-progress-face):
18233 * progmodes/make-mode.el (makefile-space-face):
18234 * progmodes/sh-script.el (sh-heredoc-face):
18235 * textmodes/flyspell.el (flyspell-incorrect-face)
18236 (flyspell-duplicate-face):
18237 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
18238 * textmodes/texinfo.el (texinfo-heading-face):
18239 Mark face aliases with "-face" suffix as obsolete.
18241 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
18244 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
18245 (eudc-bob-sound-menu): Use defvar rather than defconst, since
18246 easy-menu-define wants to modify these.
18248 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
18250 * net/browse-url.el (browse-url-file-url):
18251 * term/internal.el (dos-codepage-setup):
18252 Use default-value rather than default-enable-multibyte-characters.
18254 * progmodes/etags.el (etags-goto-tag-location):
18255 * progmodes/flymake.el (flymake-highlight-line)
18256 (flymake-goto-file-and-line, flymake-goto-line):
18257 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
18258 (gdb-goto-breakpoint):
18259 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
18260 * progmodes/python.el (python-find-function)
18261 (python-pdbtrack-track-stack-file):
18262 * progmodes/verilog-mode.el (verilog-surelint-off):
18263 * term/ns-win.el (ns-open-file-select-line):
18264 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
18265 Use forward-line rather than goto-line.
18267 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
18268 * textmodes/reftex-index.el (reftex-display-index):
18269 * textmodes/reftex-ref.el (reftex-offer-label-menu):
18270 * textmodes/reftex-toc.el (reftex-toc):
18271 Remove unnecessary bindings of default-major-mode (all are followed by
18272 major-mode check and possible mode switch).
18274 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
18276 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
18277 Handle watchpoints (bug#4282).
18278 (def-gdb-thread-buffer-command): Enable thread to be selected by
18279 clicking without selecting threads buffer first.
18280 (gdb-current-context-command): Use selected frame so that "up",
18281 "down" etc work in the GUD buffer.
18282 (gdb-update): Find selected frame before rendering stack buffer.
18283 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
18285 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
18287 * progmodes/sym-comp.el (displayed-completions): Remove.
18288 (symbol-complete): Use minibuffer-complete.
18290 2009-08-31 Glenn Morris <rgm@gnu.org>
18292 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
18294 * apropos.el (apropos-symbols-internal):
18295 Handle (obsolete) face aliases.
18297 * faces.el (describe-face): Adjust the output format to be more like
18298 describe-variable, and to mention (obsolete) face aliases.
18299 Adjust the whitespace so that help-setup-xref works.
18301 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
18302 * calendar/diary-lib.el (diary-button-face):
18303 Mark these face aliases as obsolete.
18305 * calendar/calendar.el (calendar-today): Doc fix.
18307 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
18309 * progmodes/gdb-mi.el (gdb-control-all-threads)
18310 (gdb-control-current-thread): Force tool bar update.
18311 (gdb-non-stop-handler): New function.
18312 (gdb-init-1): Use it to test if non-stop mode is supported.
18313 Remove unused gdbmi buffer type.
18315 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
18317 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
18318 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
18320 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
18322 * comint.el (comint-exec-1): Check command is non-null first.
18323 Part of gdb-mi.el change (2009-08-28).
18325 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18327 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
18329 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
18331 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
18332 instead of `dolist' to avoid a recursive require when bootstrapping.
18334 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18336 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
18338 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
18340 * net/imap.el (imap-send-command): Simplify.
18341 (imap-wait-for-tag): point-max -> buffer-size.
18343 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
18345 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
18346 with constant argument.
18348 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
18350 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
18352 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
18353 Change default, since most of our files don't have a history.
18354 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
18357 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18360 * calc/calc.el: Improve commenting convention.
18361 (calc-digit-map, toplevel): Simplify.
18363 * comint.el (comint-insert-input): Be careful to only set point if we
18364 don't delegate to some other command.
18366 * proced.el (proced-signal-list): Make it an alist.
18367 (proced-grammar-alist): Capitalize names.
18368 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
18369 Disable undo manually and make it read-only.
18370 Use completion-annotate-function.
18372 * minibuffer.el (minibuffer-message): If the current buffer is not
18373 a minibuffer, insert the message in the echo area rather than at the
18375 (completion-annotate-function): New variable.
18376 (minibuffer-completion-help): Use it.
18377 (completion--embedded-envvar-table): Environment vars are
18378 always case-sensitive.
18380 2009-08-30 Glenn Morris <rgm@gnu.org>
18382 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
18383 from fortran-current-defun.
18384 (fortran-beginning-of-subprogram): Be more precise about finding the
18385 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
18386 (fortran-end-of-subprogram): Simplify.
18387 (fortran-current-defun): Use fortran-start-prog-re.
18389 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
18391 * subr.el (do-after-load-evaluation): Simplify.
18393 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
18395 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
18397 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
18398 (vc-rcs-print-log): Use it.
18400 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
18402 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
18404 * paths.el (abbrev-file-name): Move to abbrev.el.
18405 * abbrev.el (abbrev-file-name): Move from paths.el.
18406 Obey user-emacs-directory.
18407 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
18408 user-emacs-directory.
18409 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
18410 abbrev-file-name and calc-settings-file any more.
18411 * startup.el (command-line): Recompute abbrev-file-name and
18412 abbreviated-home-dir.
18413 (normal-no-mouse-startup-screen): Improve the generic code and get rid
18414 of the special code for when C-h bindings haven't been changed.
18415 (display-startup-echo-area-message): Use with-current-buffer.
18416 (command-line-1): Use a list of strings, rather than a list of lists
18417 of strings for longopts.
18419 * files.el (get-free-disk-space): Use / for default-directory.
18421 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
18422 Use with-current-buffer.
18424 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
18425 Recognize immutable variables like most-positive-fixnum.
18426 (byte-compile-setq-default): Check and warn if trying to assign
18427 to an immutable variable, or a non-variable.
18429 * progmodes/cc-vars.el (c-comment-continuation-stars):
18430 * progmodes/cc-engine.el (c-looking-at-bos):
18431 * progmodes/cc-cmds.el (c-toggle-auto-state)
18432 (c-forward-into-nomenclature, c-backward-into-nomenclature)
18433 (c-comment-line-break-function): Add version of obsolescence.
18435 2009-08-28 Juri Linkov <juri@jurta.org>
18437 * files.el (magic-fallback-mode-alist): Add ZIP magic number
18438 associated with `archive-mode'.
18440 * image.el (image-type-header-regexps): Use only JPEG magic number
18441 to determine JPEG images, and don't use `image-jpeg-p' because
18442 Emacs can display non-JFIF non-Exif JPEG images.
18444 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
18446 * arc-mode.el (archive-mode):
18447 * emacs-lisp/re-builder.el (re-builder-unload-function):
18448 Protect against the default value of `major-mode' being nil.
18450 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
18452 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
18453 Fix typos in docstrings.
18455 * progmodes/js.el (js--macro-decl-re): Doc fix.
18456 (js--plain-method-re, js--split-name): Refloc docstring.
18457 (js--class-styles, js--make-merged-item, js--splice-into-items):
18458 Fix typos in docstrings; reflow docstrings.
18459 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
18460 (js--variable-decl-matcher, js--inside-pitem-p)
18461 (js--parse-state-at-point, js--get-all-known-symbols)
18462 (js--symbol-history, js-find-symbol, js--js-references)
18463 (js--moz-interactor, js--js-encode-value, js--read-tab):
18464 Fix typos in docstrings.
18466 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18468 * textmodes/reftex.el (reftex-get-file-buffer-force):
18469 * progmodes/verilog-mode.el (verilog-batch-execute-func):
18470 * emulation/viper.el (viper-go-away, viper-set-hooks):
18471 * emacs-lisp/re-builder.el (re-builder-unload-function):
18472 * emacs-lisp/bytecomp.el (byte-compile-file):
18473 * ses.el (ses-unload-function):
18474 * hexl.el (hexl-find-file):
18475 * files.el (normal-mode):
18476 * ehelp.el (with-electric-help):
18477 * autoinsert.el (auto-insert-alist):
18478 * arc-mode.el (archive-mode):
18479 Use (default-value 'major-mode) instead of default-major-mode.
18481 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
18482 * international/mule.el (load-with-code-conversion):
18483 * emacs-lisp/debug.el (debug):
18484 * ediff-vers.el (ediff-rcs-get-output-buffer):
18485 * dired.el (dired-internal-noselect): Don't let-bind
18486 default-major-mode around code that doesn't use it.
18487 E.g. buffer creation via get-buffer-create doesn't use it.
18489 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
18491 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
18492 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
18493 when writing the temp file. Otherwise, epa-file gets confused.
18494 (tramp-register-file-name-handlers): Make it a defun. Move also
18495 `epa-file-handler' to the front of `file-name-handler-alist'.
18497 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18499 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
18500 start right after a ^M.
18501 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
18502 (tramp-completion-file-name-regexp-separate)
18503 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
18504 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
18505 Don't modify last-coding-system-used by accident.
18506 (tramp-completion-file-name-handler): Apply the checks here,
18507 instead during registration.
18508 (tramp-register-file-name-handlers): Rename from
18509 `tramp-register-file-name-handler'. Register both
18510 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
18511 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
18513 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
18515 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
18516 Remove variable ...
18517 (gdb-init-1, gdb-display-separate-io-buffer)
18518 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
18520 (gdb-inferior-io-mode): Use make-comint-in-buffer.
18521 (gdb-inferior-filter): Use comint-output-filter to stop
18522 echoing and remove ^M characters.
18524 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18526 * emulation/viper-init.el (viper-restore-cursor-type):
18527 * emulation/cua-base.el (cua--update-indications):
18528 Replace default-cursor-type with (default-value 'cursor-type).
18530 * mail/sendmail.el (mail-recover-1):
18531 * international/mule-diag.el (describe-current-coding-system-briefly)
18532 (describe-current-coding-system):
18533 * international/mule-cmds.el (select-safe-coding-system)
18534 (select-message-coding-system)
18535 (set-language-environment-coding-systems, set-locale-environment):
18536 * hexl.el (hexl-insert-multibyte-char):
18537 * dos-w32.el (find-buffer-file-type-coding-system):
18538 * simple.el (what-cursor-position):
18539 Replace uses of default-buffer-file-coding-system
18540 with (default-value 'buffer-file-coding-system).
18542 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
18543 Replace uses of default-cursor-in-non-selected-windows
18544 with (default-value 'cursor-in-non-selected-windows).
18545 Use with-current-buffer.
18547 * mail/feedmail.el: Use CL macros.
18548 (feedmail-run-the-queue, feedmail-send-it-immediately):
18549 * dos-w32.el (find-buffer-file-type): Replace uses of
18550 default-buffer-file-type with (default-value 'buffer-file-type).
18552 2009-08-28 Glenn Morris <rgm@gnu.org>
18554 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
18555 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
18556 Use default-value of major-mode rather than default-major-mode.
18558 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18560 * Makefile.in (update-elcfiles): Report left over elc files.
18562 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
18563 expand-file-name and with-current-buffer.
18564 (mail-get-names, mail-directory): Use with-current-buffer.
18566 * vc.el (vc-read-revision): New function.
18567 (vc-version-diff, vc-merge): Use it.
18569 2009-08-27 Sam Steingold <sds@gnu.org>
18571 * simple.el (kill-do-not-save-duplicates): New user option.
18572 (kill-new): When it is non-nil, and the new string is the same as
18573 the latest kill, set replace to t to avoid duplicates in kill-ring.
18575 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
18577 * net/tramp.el (tramp-handle-process-file): Do not flush all
18578 caches when `process-file-side-effects' is set.
18579 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
18580 instead of `tramp-find-file-exists-command'.
18581 Unset `process-file-side-effects'.
18583 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
18585 * net/tramp.el (tramp-methods): New method "rsyncc".
18586 (top): Add completion function for "rsyncc".
18587 (tramp-message-show-message): New defvar.
18588 (tramp-message, tramp-error): Use it.
18589 (tramp-do-copy-or-rename-file-directly): Extend check for direct
18591 (tramp-do-copy-or-rename-file-out-of-band): Handle new
18592 `tramp-methods' entry `copy-env' of "rsyncc".
18593 (tramp-vc-registered-read-file-names): New defconst.
18594 (tramp-vc-registered-file-names): New defvar.
18595 (tramp-handle-vc-registered): Implement optimization strategy.
18596 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
18597 (tramp-vc-file-name-handler): New defun.
18598 (tramp-get-ls-command, tramp-get-test-command)
18599 (tramp-get-file-exists-command, tramp-get-remote-ln)
18600 (tramp-get-remote-perl, tramp-get-remote-stat)
18601 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
18603 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
18604 (tramp-cache-inhibit-cache): Extend doc string. It allows also
18606 (tramp-get-file-property): Check for timestamps in
18607 `tramp-cache-inhibit-cache'.
18608 (tramp-set-file-property): Write timestamp.
18610 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
18612 * language/japan-util.el (japanese-symbol-table): Add entries for
18615 * international/characters.el: Add category `j' to cp932-2-byte.
18617 2009-08-27 Kenichi Handa <handa@m17n.org>
18619 * international/fontset.el (build-default-fontset-data): New macro.
18620 (setup-default-fontset): Use build-default-fontset-data for CJK,
18621 tibetan, ethiopic, and ipa.
18623 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18625 * cus-start.el (default-major-mode): Customize `major-mode' instead.
18626 (enable-multibyte-characters): Not customizable any more.
18628 * subr.el (default-mode-line-format, default-header-line-format)
18629 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
18630 (default-direction-reversed, default-truncate-lines)
18631 (default-left-margin, default-tab-width, default-case-fold-search)
18632 (default-left-margin-width, default-right-margin-width)
18633 (default-left-fringe-width, default-right-fringe-width)
18634 (default-fringes-outside-margins, default-scroll-bar-width)
18635 (default-vertical-scroll-bar, default-indicate-empty-lines)
18636 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
18637 (default-fringe-cursor-alist, default-scroll-up-aggressively)
18638 (default-scroll-down-aggressively, default-fill-column)
18639 (default-cursor-type, default-buffer-file-type)
18640 (default-cursor-in-non-selected-windows)
18641 (default-buffer-file-coding-system, default-major-mode)
18642 (default-enable-multibyte-characters): Mark as obsolete.
18644 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
18646 * vc-dir.el (vc-dir-update): Remove debug helper.
18648 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
18650 2009-08-26 Sam Steingold <sds@gnu.org>
18652 * simple.el (save-interprogram-paste-before-kill): New user option.
18653 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
18654 save the interprogram-paste into kill-ring before overriding it
18655 with the Emacs kill.
18657 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
18659 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
18660 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
18661 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
18662 and move to vc-rcs.el.
18663 (vc-default-next-revision): Rename to vc-rcs-next-revision and
18665 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
18666 (vc-rcs-update-changelog): Remove.
18667 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
18668 and move to vc-rcs.el.
18670 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
18671 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
18673 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
18674 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
18675 vc.el, renamed to be RCS specific.
18677 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
18679 (vc-cvs-update-changelog): Move here from vc.el.
18681 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
18684 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
18686 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
18688 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
18690 * vc-git.el (vc-git-register): Use "git add" for directories.
18691 (vc-git-stash, vc-git-stash-show): New functions.
18692 (vc-git-extra-menu-map): Bind them.
18694 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
18695 directory correctly in case the item is a directory itself.
18697 * vc.el: Document the desired behavior for reverted files in the
18699 (vc-default-prettify-state-info): Remove function, unused.
18701 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
18703 2009-08-26 Glenn Morris <rgm@gnu.org>
18705 * bindings.el (standard-mode-line-format): Reposition dashes in
18706 which-func entry. (Bug#4217)
18708 * files.el (enable-local-variables, enable-local-eval)
18709 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
18711 (auto-mode-alist, ignored-local-variables)
18712 (save-some-buffers-action-alist): Move risky declarations to the
18714 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
18715 (font-lock-defaults, format-alist, imenu--index-alist)
18716 (imenu-generic-expression, input-method-alist, minor-mode-alist)
18717 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
18718 (mode-line-modified, mode-line-mule-info, mode-line-position)
18719 (mode-line-process, mode-line-remote, outline-level)
18720 (parse-time-rules, rmail-output-file-alist)
18721 (special-display-buffer-names, vc-mode):
18722 Move risky declarations to the relevant files.
18723 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
18724 (mode-line-modified, mode-line-process, mode-line-position)
18725 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
18726 * font-core.el (font-lock-defaults):
18727 * format.el (format-alist):
18728 * vc-hooks.el (vc-mode):
18729 * window.el (special-display-buffer-names):
18730 * international/mule-cmds.el (input-method-alist):
18731 Define riskiness here (dumped file) rather than in files.el.
18732 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
18733 * imenu.el (imenu-generic-expression, imenu--index-alist):
18734 * outline.el (outline-level):
18735 * time.el (display-time-string):
18736 * calendar/parse-time.el (parse-time-rules):
18737 * mail/rmailout.el (rmail-output-file-alist):
18738 Autoload riskiness here, rather than placing in files.el.
18740 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
18742 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
18744 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
18746 * simple.el (process-file-side-effects): New defvar.
18748 * dired-aux.el (dired-show-file-type):
18749 * vc.el (vc-diff-internal):
18750 * vc-arch.el (vc-arch-diff):
18751 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
18752 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
18753 * vc-git.el (vc-git-registered, vc-git-working-revision)
18754 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
18755 (vc-git--empty-db-p):
18756 * vc-hooks.el (vc-user-login-name):
18757 * vc-svn.el (vc-svn-registered, vc-svn-state)
18758 (vc-svn-dir-extra-headers, vc-svn-find-revision):
18759 * progmodes/grep.el (grep-probe): Let-bind
18760 `process-file-side-effects' with nil.
18762 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
18764 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
18765 daemon. Replace ping by checking for running service for bluez
18766 and zeroconf. (Bug#4239)
18768 2009-08-25 Kevin Ryde <user42@zip.com.au>
18770 * net/dig.el (dig): Add autoload cookie.
18772 2009-08-25 Glenn Morris <rgm@gnu.org>
18774 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
18775 load-history for absolute file-names.
18776 (byte-compile-file-form-require): Warn about use of the cl package.
18778 * format.el (format-alist): Doc fix.
18780 * play/bubbles.el (top-level): Don't require cl at run-time.
18782 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
18785 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
18787 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
18789 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
18791 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
18793 * calc/calc-alg.el (math-trig-rewrite)
18794 (math-hyperbolic-trig-rewrite): New functions.
18795 (calc-simplify): Simplify trig functions when asked.
18797 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18799 * diff-mode.el (diff-find-source-location): Avoid goto-line.
18801 2009-08-24 Kenichi Handa <handa@m17n.org>
18803 * language/ind-util.el (mapthread): Delete it.
18804 (combinatorial): New function.
18805 (indian--puthash-cv): Use combinatorial instead of mapthread.
18807 2009-08-22 Kevin Ryde <user42@zip.com.au>
18809 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
18810 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
18811 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
18812 Clarify docstring that the value is strings not symbols.
18813 (checkdoc-list-of-strings-p): New function.
18815 2009-08-22 Glenn Morris <rgm@gnu.org>
18817 * files.el (auto-mode-alist):
18818 * hippie-exp.el (he-concat-directory-file-name):
18819 * lpr.el (lpr-windows-system, printer-name):
18820 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
18821 * ps-print.el (ps-windows-system):
18822 * startup.el (command-line):
18823 * emulation/viper-ex.el (viper-glob-function):
18824 * international/mule-cmds.el (set-language-environment-coding-systems):
18825 * net/ange-ftp.el (ange-ftp-write-region):
18826 * obsolete/fast-lock.el (fast-lock-cache-name):
18827 Remove code for defunct system-types emx, macos, mswindows, next-mach,
18828 unisoft-unix, vax-vms, win32, w32.
18830 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
18831 given name if the pattern is not more specific.
18833 * calendar/lunar.el (lunar-phase-names): New option.
18834 (lunar-phase): Doc fix.
18835 (lunar-cycles-per-year): New constant.
18836 (lunar-index): New function.
18837 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
18838 (lunar-phase-name): Use lunar-phase-names.
18839 (calendar-lunar-phases): Use format.
18840 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
18842 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
18843 Copy imenu-example--name-and-position function here for own use.
18844 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
18846 * bs.el (bs--redisplay):
18847 * cus-edit.el (custom-redraw):
18848 * ibuffer.el (ibuffer-bury-buffer):
18849 * server.el (server-goto-line-column):
18850 * startup.el (command-line-1):
18851 * strokes.el (strokes-xpm-for-stroke):
18852 * term.el (term-display-buffer-line):
18853 * view.el (View-goto-line):
18854 * calc/calc.el (calc-do, calc-trail-buffer):
18855 * play/gamegrid.el (gamegrid-add-score-insecure):
18856 * progmodes/ada-mode.el (ada-compile-goto-error):
18857 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
18858 (ebrowse-select-1st-to-9nth):
18859 * progmodes/cperl-mode.el (cperl-time-fontification):
18860 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
18861 * progmodes/gud.el (gud-display-line):
18862 (idlwave-shell-display-line):
18863 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
18864 * progmodes/make-mode.el (makefile-browser-toggle):
18865 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
18866 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
18867 * textmodes/picture.el (picture-draw-rectangle):
18868 * textmodes/reftex-index.el (reftex-index-goto-letter):
18869 (reftex-select-jump-to-previous):
18870 * textmodes/reftex-sel.el (reftex-find-start-point)
18871 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
18872 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
18873 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
18874 * textmodes/tex-mode.el (tex-compilation-parse-errors):
18875 * textmodes/two-column.el (2C-associated-buffer):
18876 Use forward-line rather than goto-line.
18878 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
18881 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
18882 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
18883 (quick-check-list-to-regexp): Declare.
18885 * progmodes/make-mode.el (makefile-browser-insert-selection):
18886 Use goto-char rather than goto-line.
18888 * progmodes/prolog.el (compilation-error-regexp-alist)
18889 (compilation-forget-errors): Declare.
18891 2009-08-22 Juri Linkov <juri@jurta.org>
18893 * progmodes/grep.el (lgrep, rgrep): At the beginning
18894 set `dir' to `default-directory' unless `dir' is a non-nil
18895 readable directory. (Bug#4052)
18896 (lgrep, rgrep): Change a weird way to report an error
18897 from using `read-string' to using `error'.
18898 Instead of using interactive arguments in the function body,
18899 add new argument `confirm'.
18901 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
18903 * textmodes/remember.el (remember-buffer):
18904 * progmodes/cperl-mode.el (cperl-vc-header-alist):
18905 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
18906 (icalendar-extract-ical-from-buffer):
18907 * net/newst-treeview.el (newsticker-groups-filename):
18908 * net/newst-backend.el (newsticker-cache-filename):
18909 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
18910 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
18911 (speedbar-add-ignored-path-regexp, speedbar-line-path)
18912 (speedbar-buffers-line-path, speedbar-path-line)
18913 (speedbar-buffers-line-path):
18914 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
18916 * epa.el (epa-display-verify-result):
18917 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
18919 2009-08-21 Glenn Morris <rgm@gnu.org>
18921 * progmodes/js.el (inferior-moz-process): Fix declaration.
18923 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
18925 * obsolete/rnewspost.el (news-mail-reply):
18926 Use goto-char rather than goto-line.
18928 * term/ns-win.el (ns-open-file-select-line):
18929 Use line-beginning-position rather than goto-line.
18931 * apropos.el (apropos-command):
18932 * ehelp.el (electric-helpify):
18933 * printing.el (pr-show-setup):
18934 * strokes.el (strokes-help):
18935 * tutorial.el (tutorial--describe-nonstandard-key)
18936 (tutorial--detailed-help):
18937 * woman.el (woman-mini-help, woman-display-extended-fonts):
18938 * calc/calc-help.el (calc-describe-key):
18939 * emulation/edt.el (edt-electric-helpify):
18940 * international/mule-diag.el (mule-diag):
18941 * play/yow.el (apropos-zippy):
18942 * progmodes/python.el (python-describe-symbol):
18943 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
18944 * textmodes/table.el (*table--cell-describe-mode)
18945 (*table--cell-describe-bindings):
18946 Use help-print-return-message rather than the now obsolete alias.
18948 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
18949 (calendar-cursor-to-visible-date):
18950 * play/5x5.el (5x5-position-cursor):
18951 * play/decipher.el (decipher):
18952 * play/gomoku.el (gomoku-goto-xy):
18953 * play/landmark.el (lm-goto-xy):
18954 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
18955 (mpuz-paint-digit):
18956 Use forward-line, not goto-line.
18958 * mail/rmail.el (rmail-obsolete): Delete custom group.
18959 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
18960 (rmail-remote-password, rmail-remote-password-required):
18961 Remove unneeded :set-after and :set properties.
18963 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
18965 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
18967 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
18969 * loadup.el: Remove leftover macos code.
18971 * vc-git.el (vc-git-annotate-command): Run asynchronously.
18972 Explicitly pass the date format to git blame so that user local
18973 so that the output format can be parsed.
18975 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
18977 * net/dbus.el (top): Don't check for (getenv
18978 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
18980 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
18982 * log-edit.el (log-edit-strip-single-file-name): New var.
18983 (log-edit-insert-changelog): Use it. Bug#3571
18985 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18987 * subr.el (read-passwd): Use read-key so keypad keys work as well.
18990 * help.el (help-print-return-message): Rename from
18991 print-help-return-message.
18993 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
18994 cvs-mode-map parent hack.
18995 (log-view-mode): Derive from special-mode.
18997 * linum.el (linum-mode): window-size-change-functions is redundant.
18998 Adapt to new window-configuration-change-hook behavior.
18999 (linum-after-size, linum-after-config): Remove.
19001 * imenu.el (imenu-example--name-and-position)
19002 (imenu-example--lisp-extract-index-name)
19003 (imenu-example--create-lisp-index, imenu-example--create-c-index):
19006 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
19007 (inferior-prolog-mode): Use it.
19008 (inferior-prolog-load-file): Reset list of errors.
19010 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
19012 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
19014 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
19016 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
19018 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
19019 is running already.
19021 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19023 * subr.el (listify-key-sequence-1): Use normal syntax since those
19024 integers are nowadays always represented by the same (positive) number
19026 (read-key-empty-map): New const.
19027 (read-key-delay): New var.
19028 (read-key): New function.
19029 (force-mode-line-update): Use with-current-buffer.
19030 (locate-user-emacs-file): Don't forget to abbreviate the file name.
19031 (start-process-shell-command, start-file-process-shell-command):
19032 Discourage the use of command-args.
19034 2009-08-19 Glenn Morris <rgm@gnu.org>
19036 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
19038 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19040 * simple.el (choose-completion-string): Don't rely on
19041 minibuffer-completing-file-name and ad-hoc checks to decide whether
19042 to continue completion or not.
19044 * minibuffer.el (minibuffer-hide-completions): New function.
19045 (completion--do-completion): Use it.
19046 (completions-annotations): New face.
19047 (completion--insert-strings): Use it.
19048 (completion-pcm--delim-wild-regex): Add docstring.
19049 (completion-pcm--string->pattern): Add support for 0-width delimiters
19050 in completion-pcm--delim-wild-regex.
19052 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
19054 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
19055 Remove unused var `buffer-modified-p'.
19057 * minibuffer.el (completion--do-completion): Move point for the #b001
19058 case as well (bug#4176).
19059 (minibuffer-complete, minibuffer-complete-word): Don't move point.
19061 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
19063 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
19064 and :session buses.
19066 2009-08-18 Kenichi Handa <handa@m17n.org>
19068 * international/ucs-normalize.el (ucs-normalize-version):
19070 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
19071 (utf-8-hfs): Make it perform normalization on encoding too.
19073 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
19074 (sentence-end-without-space): Delete duplicated chars.
19075 (sentence-end-base): Likewise.
19077 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
19078 (html-mode): Delete duplicated chars from sentence-end-base.
19080 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
19081 (texinfo-mode): Delete duplicated chars from sentence-end-base.
19083 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
19085 * files.el (hack-one-local-variable): If the mode function is for
19086 a minor mode, pass it an argument (Bug#4148).
19088 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
19090 * net/tramp.el (tramp-register-completion-file-name-handler):
19091 Check also for (member 'partial-completion completion-styles).
19093 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19095 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
19098 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
19100 * progmodes/cperl-mode.el: Merge upstream 6.2.
19101 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
19102 (cperl-forward-re): Check cperl-brace-recursing.
19103 (cperl-highlight-charclass): New function.
19104 (cperl-find-pods-heres): Use it.
19105 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
19106 (cperl-beautify-regexp-piece): Fix column calculation.
19107 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
19108 (cperl-beautify-level): Don't process entire regexp.
19109 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
19111 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
19112 (cperl-init-faces): Build a list in the normal way.
19114 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19116 * calendar/parse-time.el (parse-time-string-chars): Save match
19119 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
19121 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
19122 (sql-product): Use it.
19123 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
19124 (sql-set-product): Add completion.
19125 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
19126 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
19127 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
19128 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
19129 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
19130 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
19131 (sql-highlight-db2-keywords): Remove.
19132 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
19133 (sql-highlight-product): Use derived-mode-p.
19134 (sql-set-sqli-buffer): Use with-current-buffer.
19135 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
19138 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
19140 * term.el: Fix commenting convention, turn comments into docstrings.
19142 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
19144 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
19146 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
19148 * calendar/parse-time.el (parse-time-string-chars): Compute using
19149 character classes, to handle non-ascii characters (Bug#3190).
19151 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19153 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
19154 another heredoc if the user adds another < (Bug#3226).
19156 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
19157 Don't initialize based on window-system (Bug#4124).
19159 * facemenu.el (facemenu-read-color): Use a completion function
19160 that accepts any defined color, such as RGB triplets (Bug#3677).
19162 * files.el (get-free-disk-space): Change fallback default
19163 directory to /. Expand DIR argument before switching to fallback.
19164 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
19166 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
19168 * files.el (load-library): Doc fix.
19170 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
19172 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
19173 (viper-if-string): Redefine C-s in the minibuffer to insert the last
19174 incremental search string.
19176 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
19179 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
19180 (ediff-merge-region-is-non-clash)
19181 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
19182 Also check if the job is really a merge job.
19184 * ediff.el (ediff-current-file): New function.
19186 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
19188 * progmodes/js.el: Edit docstrings throughout to follow Emacs
19190 (js-insert-and-indent): Delete function.
19191 (js-mode-map): Don't bind keys to js-insert-and-indent.
19192 (js-beginning-of-defun): Rename from js--beginning-of-defun.
19193 (js-end-of-defun): Rename from js--end-of-defun.
19194 (js-auto-indent-flag): Delete variable.
19196 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
19198 * progmodes/js.el: Remove proclaim statement.
19199 Defvar which-func-imenu-joiner-function to silence compiler.
19201 * files.el (auto-mode-alist): Use js-mode for .js files.
19203 * progmodes/js2-mode.el: Remove file.
19205 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
19207 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
19209 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
19211 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
19212 Karl Landstrom <karl.landstrom@brgeight.se>
19214 * progmodes/js.el: New file.
19216 2009-08-14 Mark A. Hershberger <mah@everybody.org>
19218 * timezone.el (timezone-parse-date): Add ability to understand ISO
19219 basic format (minimal separators) dates in addition to the
19220 already-supported extended format dates.
19222 2009-08-14 Eli Zaretskii <eliz@gnu.org>
19224 * international/ucs-normalize.el: Add a `coding' file variable.
19226 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
19228 2009-08-14 Sam Steingold <sds@gnu.org>
19230 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
19232 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
19234 * faces.el (help-argument-name): Define it here instead of
19235 help-fns.el, because in daemon mode help-fns.el may be loaded when
19236 faces are still uninitialized (Bug#1078).
19238 * help-fns.el (help-argument-name): Move defface to faces.el.
19240 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
19242 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
19243 create buffer with a pty but no process so that GDB can make the
19244 inferior the controlling process.
19246 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
19248 * international/ucs-normalize.el: New file.
19250 2009-08-13 Richard Stallman <rms@gnu.org>
19252 * mail/rmail.el (rmail-get-attr-names):
19253 Accept an attribute header that is too short.
19255 * mail/rmail.el (rmail-forget-messages):
19256 Ignore nil elt in rmail-message-vector. Use dotimes.
19258 * progmodes/compile.el (compilation-goto-locus):
19259 Use next-error-move-function.
19261 * simple.el (next-error-move-function): New variable.
19263 2009-08-12 Juri Linkov <juri@jurta.org>
19265 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
19266 always non-nil. (Bug#4052)
19268 * replace.el (read-regexp): Return empty string when
19269 `default-value' is nil.
19270 (keep-lines-read-args): Don't use empty string as the
19271 default value for `read-regexp'. (Bug#2495)
19273 2009-08-12 Juri Linkov <juri@jurta.org>
19275 * international/mule-cmds.el (ucs-insert): Change arguments
19276 from `arg' to `character', `count', `inherit' to be the same
19277 as in `insert-char'. Doc fix. (Bug#4039)
19279 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
19281 2009-08-12 Juri Linkov <juri@jurta.org>
19283 * files-x.el: New file.
19285 * files.el: Move code that deals with adding/deleting
19286 file/directory-local variables to files-x.el.
19288 * Makefile.in (ELCFILES): Add files-x.elc.
19290 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
19292 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
19293 to use `goto-line'.
19294 (gdb-place-breakpoints, gdb-get-location): Rewritten without
19296 (gdb-invalidate-disassembly): Do not refresh upon receiving
19297 'update signal. Instead, update all disassembly buffers only after
19299 (gdb): Send -target-detach when buffer is killed (Bug#3794).
19300 (gdb-starting): Move -data-list-register-names...
19301 (gdb-stopped): ...here so it's sent when first thread stops.
19302 (gdb-registers-handler-custom): Do nothing if register names are
19305 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
19306 from `gdb-mi.el' to avoid extra tangling.
19308 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
19309 change which breaks `gud-def' definitions used in `gdb'.
19310 (gdb-update-gud-running): No extra fuss for updating frame number.
19312 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
19314 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
19315 (describe-language-environment-map, setup-language-environment-map)
19316 (set-coding-system-map): Move initialization into declaration.
19317 (set-language-info-alist): Last arg to define-key-after can be skipped.
19319 * international/quail.el (quail-completion-1): Simplify.
19320 (quail-define-rules): Use slightly more compact code.
19321 (quail-insert-decode-map): Propertize keys, compact columns.
19323 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19326 2009-08-10 Miles Bader <miles@gnu.org>
19328 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
19329 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
19330 (js2-instance-member, js2-private-member, js2-private-function-call)
19331 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
19332 (js2-magic-paren, js2-external-variable):
19333 Remove "-face" suffix from face names.
19334 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
19335 (js2-highlight-undeclared-vars, js2-peek-token)
19336 (js2-parse-function-params, js2-mode-show-errors)
19337 (js2-mode-show-warnings, js2-make-magic-delimiter)
19338 (js2-mode-highlight-magic-parens): Update to use new face names.
19340 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
19342 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
19343 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
19345 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
19347 * subr.el: Provide hashtable-print-readable.
19349 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
19350 hs-c-like-adjust-block-beginning.
19351 (hs-hide-block-at-point): Stop hiding at the beginning of
19352 hs-block-end-regexp (Bug#700).
19354 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
19356 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
19358 (gdb-registers-handler-custom): Do not fail when register names
19361 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
19363 * progmodes/gdb-mi.el (gdb-control-all-threads)
19364 (gdb-control-current-thread): Interactive setters for
19365 `gdb-gud-control-all-threads' to use in menu.
19366 (gdb-show-run-p): Show «Go» when process is not active.
19367 (gud-tool-bar-map): Add non-stop/A,T indicator.
19368 Uses gud/thread.xpm and gud/all.xpm.
19370 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
19372 * net/net-utils.el (net-utils-font-lock-keywords): New var.
19373 (nslookup-font-lock-keywords): Make it a variable.
19374 (net-utils-mode): New mode for viewing diagnostic network output.
19375 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
19376 (net-utils-run-simple): New function.
19377 (ifconfig, iwconfig, netstat, arp, route): Use it.
19379 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
19381 * progmodes/gdb-mi.el (gdb-read-memory-custom)
19382 (gdb-memory-set-address, def-gdb-set-positive-number)
19383 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
19384 after changing settings.
19385 (gdb-invalidate-disassembly): Update when first shown.
19386 (gdb-edit-locals-value): Fixed.
19387 (gdb-registers-handler-custom): Print registers in right order and
19388 allow changing register values (only for current thread yet).
19389 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
19390 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
19391 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
19392 (gdb-locals-handler-custom, gdb-registers-handler-custom):
19393 Thread info in mode name.
19394 (gdb-registers-mode-map): TAB to switch to locals.
19396 2009-08-08 Eli Zaretskii <eliz@gnu.org>
19398 * mail/rmail.el (rmail-add-mbox-headers)
19399 (rmail-set-message-counters-counter): Search for
19400 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
19402 2009-08-08 Glenn Morris <rgm@gnu.org>
19404 * Makefile.in (ELCFILES): Update.
19406 2009-08-07 Eli Zaretskii <eliz@gnu.org>
19408 * mail/sendmail.el (mail-yank-original):
19409 Set buffer-file-coding-system from the one used by the message whose
19412 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
19413 to "windows" when "pgnuplot" is used.
19414 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
19415 Don't call accept-process-output if "pgnuplot" is used.
19416 (calc-graph-init): Don't send -display and -geometry to
19417 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
19418 running "pgnuplot -V" with shell-command-to-string.
19420 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
19423 2009-08-07 Eli Zaretskii <eliz@gnu.org>
19425 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
19428 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
19430 * vc-dispatcher.el (vc-resynch-window): Update comment.
19432 * term.el (term-handle-ansi-escape): Add comments with the
19433 terminfo capabilities implemented.
19435 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
19437 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
19438 (gdb-var-create-handler): Rewritten using JSON parser.
19439 (gdb-propertize-header): Move earlier.
19440 (gdb-set-header): Remove to avoid duplication.
19441 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
19442 Refresh disassembly buffers only after threads list have been
19444 (gdb-threads-header, gdb-registers-header): Per-buffer header line
19447 2009-08-04 Juri Linkov <juri@jurta.org>
19449 * files.el: Commands to add/delete file/directory-local variables.
19450 (read-file-local-variable, read-file-local-variable-value)
19451 (read-file-local-variable-mode, modify-file-local-variable)
19452 (modify-file-local-variable-prop-line)
19453 (modify-dir-local-variable): New functions.
19454 (add-file-local-variable, delete-file-local-variable)
19455 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
19456 (add-dir-local-variable, delete-dir-local-variable)
19457 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
19458 (copy-dir-locals-to-file-locals-prop-line): New commands.
19460 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
19462 * abbrev.el (insert-abbrev-table-description): Prettify output.
19463 Suggested by Karl Chen.
19465 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
19467 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
19468 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
19469 (gdb-overlay-arrow-position, gdb-thread-position)
19470 (gdb-disassembly-position): Declare variables.
19471 (gdb-wait-for-pending): Function now.
19472 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
19473 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
19474 compilation goes smoothly.
19475 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
19476 (gdb-non-stop-setting): New customization setting which replaces
19477 `gdb-non-stop' so changing it doesn't break active GDB session.
19478 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
19479 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
19480 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
19481 (gdb-show-threads-by-default): New customization options.
19482 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
19484 (gdb-get-buffer-create): Send buffers update signal when they are
19486 (gdb-invalidate-locals, gdb-invalidate-registers)
19487 (gdb-invalidate-breakpoints)
19488 (gdb-invalidate-threads, gdb-invalidate-disassembly)
19489 (gdb-invalidate-memory): Accept update signal.
19490 (gdb-current-context-command): Use --frame option.
19491 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
19492 Implement `gdb-frame-number' selection logic.
19493 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
19494 whether to show GUD toolbar buttons.
19495 (gdb-thread-exited): Unselect current thread when it exits.
19496 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
19497 (gdb-mark-line): Routine which sets overlay arrow or inverses
19498 video on fringeless displays.
19499 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
19500 to build aligned columns of data in GDB buffers and set text
19501 properties line-by-line.
19502 (gdb-invalidate-breakpoints)
19503 (gdb-breakpoints-list-handler-custom)
19504 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
19505 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
19506 (gdb-registers-handler-custom): Align data columns.
19507 (gdb-locals-handler-custom): Now prints data like in variable
19509 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
19510 Remove confusing buttons.
19511 (gdb-invalidate-threads): Append --frame.
19512 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
19513 between breakpoints/threads buffers.
19514 (gdb-set-window-buffer): Now can ignore dedicated windows.
19515 (gdb-propertize-header): Use `gdb-set-window-buffer'.
19516 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
19517 (def-gdb-thread-buffer-gud-command): Replaces
19518 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
19519 for fine thread control.
19520 (gdb-preempt-existing-or-display-buffer): New function used to
19521 display bound buffers without breaking window layout.
19522 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
19523 (gdb-select-frame): New version of `gdb-frames-select' which now
19524 sets `gdb-frame-number' so commands may use --frame option instead
19525 of inner debugger state.
19526 (gdb-frame-handler): Do not set `gdb-frame-number'.
19527 (gdb-threads-mode-map): Select threads with mouse.
19529 * progmodes/gud.el (gdb-gud-context-call): Declare function to
19530 avoid compilation warning.
19531 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
19534 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
19535 Argument `key' renamed to `buffer-type'.
19536 (gdb-current-context-buffer-name): Do not add thread info to
19537 buffer name when no thread is selected.
19538 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
19539 command (bug 3794).
19540 (gdb-thread-selected): Handle `=thread-selected' notification.
19541 (gdb-wait-for-pending): New macro to deal with congestion problems.
19542 (gdb-breakpoints-list-handler-custom): Don't fail on pending
19544 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
19545 This fixes problem similar to one described in bug 3947.
19546 (gud-menu-map): More menu items.
19547 (gdb-init-1): Reset `gdb-thread-number' to nil.
19549 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
19552 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
19553 (gdb-current-context-command): Do not append --thread if
19554 `gdb-thread-number' is nil.
19555 (gdb-running-threads-count, gdb-stopped-threads-count):
19557 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
19558 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
19559 New customization options.
19560 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
19562 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
19563 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
19564 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
19565 set `gdb-thread-number' and update `gud-running' properly.
19566 (gdb-running): Update threads list when new threads appear.
19567 (gdb-stopped): Support non-stop operation and new thread switching
19569 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
19570 (gdb-json-partial-output): New set of JSON routines.
19571 (def-gdb-auto-update-trigger): New `signal-list' optional
19573 (gdb-thread-list-handler-custom): Update `gud-running',
19574 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
19575 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
19576 (gdb-continue-thread, gdb-step-thread): New commands for fine
19577 thread execution control.
19578 (gud-menu-map): New menu items to switch non-stop options.
19579 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
19580 (gdb-send): Mimic RET properly (bug 3794).
19582 * progmodes/gdb-mi.el (gdb-rules-name-maker)
19583 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
19585 (def-gdb-auto-update-handler): New nopreserve optional argument.
19586 (gdb-stack-list-frames-custom): Print stack from top to bottom.
19588 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
19589 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
19590 (gdb-parent-mode): New mode to derive other GDB modes from.
19591 (gdb-display-disassembly-for-thread)
19592 (gdb-frame-disassembly-for-thread): New commands for threads
19595 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
19596 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
19597 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
19598 (gdb-update): We now store all GDB buffers in a list so that they
19599 can be updated by traversing a list instead of calling invalidate
19600 triggers explicitly.
19601 (def-gdb-trigger-and-handler): New macro to define trigger-handler
19602 pair for GDB buffer.
19603 (gdb-stack-buffer-name): Add thread information.
19604 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
19605 handle pending triggers.
19606 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
19607 (def-gdb-thread-buffer-simple-command)
19608 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
19609 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
19610 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
19611 New commands which show buffers bound to thread.
19612 (gdb-stack-list-locals-regexp): Remove unused regexp.
19614 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
19615 (gdb-locals-buffer-name, gdb-registers-buffer-name)
19616 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
19617 to (gud-comint-buffer) in *-buffer-name functions
19618 because (gdb-get-target-string) already does that.
19619 (gdb-locals-handler-custom, gdb-registers-handler-custom)
19620 (gdb-changed-registers-handler): Rewritten without regexps.
19622 * progmodes/gdb-mi.el: Basic thread selection support.
19623 (gdb-thread-number): New variable.
19624 (gdb-current-context-command): New macro which adds --thread
19626 (gdb-threads-mode-map): Select thread with SPC.
19627 (gdb-thread-list-handler-custom): Mark current thread with overlay
19628 arrow. Synchronize GDB thread and Emacs thread.
19629 (gdb-select-thread): New command which selects current thread.
19630 (gdb-invalidate-frames, gdb-invalidate-locals)
19631 (gdb-invalidate-registers): Use --thread option.
19633 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
19635 * net/tramp.el (top): Make check for tramp-gvfs loading more
19637 (tramp-handle-insert-file-contents): `unwind-protect' must be
19638 inside `with-parsed-tramp-file-name'.
19640 * net/tramp-gvfs.el (top): Remove superfluous message when loading
19643 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
19645 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
19646 directory if CLASSPATH is not set.
19648 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
19650 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
19652 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
19654 2009-08-02 Kevin Ryde <user42@zip.com.au>
19656 * net/newst-backend.el (newsticker--raw-url-list-defaults):
19657 Update freshmeat link. Delete newsforge.com as it seems gone.
19659 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
19661 * select.el (x-set-selection): Doc fix (Bug#4021).
19663 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
19665 * help-fns.el (describe-variable): Treat list return values from
19666 dir-locals-find-file properly (Bug#4005).
19668 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
19670 * net/tramp.el (tramp-debug-message): Print also microseconds.
19672 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
19674 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
19676 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
19677 (tramp-get-debug-buffer): Change `outline-regexp' according to new
19680 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
19681 (tramp-get-file-property): Use it.
19683 * autorevert.el (auto-revert-handler):
19684 Allow `auto-revert-tail-mode' for remote files.
19686 2009-08-02 Jason Rumney <jasonr@gnu.org>
19688 * minibuffer.el (read-file-name): Treat confirm options to
19689 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
19691 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
19693 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
19694 (font-lock-variable-name-face, font-lock-constant-face):
19695 Darken the colors for light backgrounds.
19697 2009-08-01 Eli Zaretskii <eliz@gnu.org>
19699 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
19700 month names. (Bug#3987)
19702 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
19704 * simple.el (line-move-finish): Pass whole number to
19705 line-move-to-column.
19706 (line-move-visual): Perform hscroll to the recorded position.
19708 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
19710 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
19712 2009-07-29 Alan Mackenzie <acm@muc.de>
19714 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
19716 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
19718 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
19719 (gdb-place-breakpoints): Use full path when setting breakpoints.
19721 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
19723 * calc/calc.el (calc-mode-map): Add keybinding for
19724 `calc-transpose-lines'.
19726 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
19728 * calc/calc-misc.el (calc-transpose-lines): New function.
19730 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
19732 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
19733 Simplify check for out-of-band methods.
19734 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
19735 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
19737 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
19739 * vc-git.el (vc-git-checkin): Fix typo.
19741 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
19743 * progmodes/js2-mode.el: New file.
19745 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
19747 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
19748 (gud-menu-map): Adjust tooltip accordingly.
19750 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
19752 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
19753 (vc-bzr-log-view-mode): Adjust log-view-file-re.
19755 * add-log.el (change-log-mode-map): Add a menu.
19757 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
19759 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
19760 function returns nil.
19761 (dbus-handle-event): Handle special return value :ignore.
19762 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
19764 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
19766 * view.el (view-mode-enable): Don't define Helper-return-blurb if
19769 2009-07-25 Eli Zaretskii <eliz@gnu.org>
19773 * w32-vars.el (x-select-enable-clipboard): Doc fix.
19775 * term/pc-win.el (x-display-name, x-colors)
19776 (x-select-enable-clipboard, x-select-text): Doc fix.
19778 * term/common-win.el (x-display-name, x-colors): Doc fix.
19780 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
19781 (xw-defined-colors): Doc fix.
19783 * w32-fns.el (x-select-text, x-setup-function-keys)
19784 (x-get-selection, x-set-selection): Doc fix.
19786 * term/x-win.el (x-select-text, x-setup-function-keys)
19787 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
19789 * select.el (x-set-selection): Doc fix.
19791 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
19793 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
19794 instead of "IsNSSSupportAvailable". Avahi ought to work also when
19795 "IsNSSSupportAvailable" method is not available.
19796 Reported by Steve Youngs <steve@sxemacs.org>.
19798 2009-07-24 Kenichi Handa <handa@m17n.org>
19800 * international/characters.el: Fix setting of category ?C, ?|, ?K,
19801 and ?H. Fix setting of case for Latin Extended and Greek Extended.
19802 (build-unicode-category-table): Fix range checks.
19804 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
19806 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
19807 the buffer we try to sync is current when calling
19810 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
19811 not show up to date files.
19813 2009-07-24 Glenn Morris <rgm@gnu.org>
19815 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
19816 Add autoload cookies. If necessary, initialize.
19817 (elint-log): Handle non-file buffers.
19818 (elint-initialize): Add optional argument to reinitialize.
19819 (elint-find-builtin-variables): Save excursion.
19821 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
19823 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
19826 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
19828 * vc.el (vc-print-log-internal): New function, split out from ...
19829 (vc-print-log): ... here.
19830 (vc-dir-move-to-goal-column): Declare.
19832 * vc-git.el (vc-git-add-signoff): New variable.
19833 (vc-git-checkin): Use it.
19834 (vc-git-toggle-signoff): New function.
19835 (vc-git-extra-menu-map): Bind it to menu.
19836 (vc-git--run-command-string): Accept a nil FILE argument.
19837 (vc-git-stash-list): New function.
19838 (vc-git-dir-extra-headers): Use it.
19840 2009-07-23 Glenn Morris <rgm@gnu.org>
19842 * help-fns.el (describe-variable): Describe ignored and risky local
19843 variables in a similar way to that in which we describe safe ones.
19845 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
19846 (byte-compile-output-file-form, byte-compile-output-docform)
19847 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
19848 Give some more local variables with common names a "bytecomp-" prefix,
19849 so as not to shadow things during compilation.
19850 * emacs-lisp/cl-macs.el (load-time-value)
19851 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
19852 `outbuffer' to `bytecomp-outbuffer'.
19854 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
19855 since the next two variables cover them automatically now.
19856 (elint-builtin-variables, elint-autoloaded-variables): New.
19857 (elint-unknown-builtin-args): Remove all members, since they can be
19858 parsed automatically now.
19859 (elint-extra-errors): New.
19860 (elint-env-add-env, elint-env-add-macro): Use cadr.
19861 (elint-current-buffer): Use or. Change final message.
19862 (elint-get-top-forms): Use line-end-position.
19863 (elint-init-env): Use cadr. Handle autoload, declare-function,
19865 (elint-add-required-env): Doc fix. Use or. Standardize error.
19866 (regexp-assoc): Remove unused function.
19867 (elint-top-form): Set elint-current-pos, to record the start of the
19868 top-level form, for compilation-mode.
19869 (elint-form): Trap errors in macro expansion. Use dolist.
19870 (elint-unbound-variable): Use elint-builtin-variables and
19871 elint-autoloaded-variables.
19872 (elint-get-args): Use cadr, or.
19873 (elint-check-cond-form): Use dolist, cadr.
19874 (elint-check-condition-case-form): Doc fix. Use cadr.
19875 Use elint-extra-errors.
19876 (elint-log): New function.
19877 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
19878 Distinguish errors and warnings.
19879 (elint-log-message): Use with-current-buffer. Inhibit read-only.
19880 Use a bytecomp-style format.
19881 (elint-clear-log): Preserve default-directory. Inhibit read-only.
19882 (elint-get-log-buffer): Use compilation mode. Disable undo.
19883 Don't truncate lines.
19884 (elint-initialize): Set builtin and autoloaded variable lists.
19885 Only process elint-unknown-builtin-args if non-nil.
19886 (elint-find-builtin-variables, elint-find-autoloaded-variables):
19888 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
19890 2009-07-22 Kevin Ryde <user42@zip.com.au>
19892 * net/newst-backend.el (newsticker--parse-atom-1.0)
19893 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
19894 (newsticker--parse-rss-1.0):
19895 * progmodes/idlwave.el (idlwave-mode):
19896 * progmodes/idlw-shell.el (idlwave-shell-mode):
19897 * progmodes/vera-mode.el (vera-mode):
19898 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
19899 * progmodes/vhdl-mode.el (vhdl-mode):
19900 * textmodes/table.el (table-generate-source)
19901 (table--warn-incompatibility):
19902 Hyperlink urls in docstrings with URL `...'.
19904 2009-07-22 Glenn Morris <rgm@gnu.org>
19906 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
19907 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
19908 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
19909 Remove leading * from defcustom docs.
19911 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
19913 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
19915 (list-load-path-shadows): Optionally, just return shadows as a string.
19917 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
19919 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
19921 * mail/rmailedit.el (rmail-edit-mode):
19922 Use auto-save-include-big-deletions.
19924 * mail/rmail.el (rmail-variables):
19925 Use auto-save-include-big-deletions.
19927 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
19930 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
19932 * calc/calc.el (calc-undo-length): New variable.
19933 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
19935 2009-07-21 Richard Stallman <rms@gnu.org>
19937 * files.el (auto-save-mode): Handle buffer-save-size = -2
19940 2009-07-21 Glenn Morris <rgm@gnu.org>
19942 * textmodes/ispell.el (ispell-looking-back): Update declaration.
19944 * calendar/todo-mode.el (calendar-current-date): Update declaration.
19946 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
19947 silence compiler. Instead...
19948 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
19949 (ps-print-ensure-fontified): Update for above function name changes.
19951 * printing.el (pr-mh-get-msg-num, pr-mh-show)
19952 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
19953 silence compiler. Instead...
19954 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
19955 (mh-show-buffer): Only define for compiler.
19956 (pr-mh-current-message): Update for above function name changes.
19958 * files.el (abort-if-file-too-large): Explicitly pass `filename'
19960 (find-file-noselect, insert-file-1): Update for above change.
19962 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
19964 * mail/mailclient.el (mailclient-send-it): Fix message.
19966 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
19967 (edebug-eval): Check cl-debug-env is bound.
19968 (print-level, print-circle): Don't redefine built-in variables.
19970 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
19971 (custom-print-vectors): Remove old comments from doc.
19973 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
19974 (emerge-version): Make the variable an obsolete alias for the
19975 emacs-version variable. Make the function obsolete.
19976 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
19977 Emerge options, rather than merging in into the main Options menu.
19978 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
19979 and auto advance modes. Disable edit/fast items when not relevant.
19981 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
19983 * term/vt420.el (terminal-init-vt420): Fix typo.
19985 2009-07-20 Sam Steingold <sds@gnu.org>
19987 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
19988 variable (removed from compile.el on 2004-03-11).
19990 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
19992 * files.el (hack-local-variables-filter): Fix last change.
19994 2009-07-19 Juri Linkov <juri@jurta.org>
19996 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
19997 (dir-local-variables-alist): New buffer-local variable.
19998 (hack-local-variables-filter): If variable is not dir-local,
19999 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
20000 because file-local overrides dir-local.
20001 (c-postprocess-file-styles) <declare-function>:
20002 Remove obsolete declaration.
20003 (hack-dir-local-variables): Add dir-local variable/value pair to
20004 `dir-local-variables-alist' and remove duplicates. Doc fix.
20006 * help-fns.el (describe-variable): Add information about
20007 file-local and dir-local variables.
20009 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
20011 * files.el (hack-local-variables-filter): Rewrite.
20013 2009-07-19 Glenn Morris <rgm@gnu.org>
20015 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
20016 Silence compiler by only defining on XEmacs.
20018 * international/mule.el (auto-coding-regexp-alist): Only match
20019 BABYL... at the start of buffer, not of lines. (Bug#3790)
20021 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
20022 non-calendar buffers (Bug#3862). Restore "not on a date" message.
20023 (cal-menu-context-mouse-menu): Doc fix.
20025 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
20027 * simple.el (mail-user-agent): Doc fix. Set :version tag.
20029 2009-07-18 Juri Linkov <juri@jurta.org>
20031 * info.el: Virtual Info keyword finder.
20032 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
20033 (Info-finder-file): New variable.
20034 (Info-finder-find-file): New function.
20035 (finder-known-keywords, finder-package-info)
20036 (find-library-name, lm-commentary): Use defvar and
20037 declare-function to silence compiler warnings.
20038 (Info-finder-find-node): New function.
20039 (info-finder): New command.
20041 * subr.el (process-kill-buffer-query-function): New function.
20042 (add-hook)<kill-buffer-query-functions>: Add hook
20043 `process-kill-buffer-query-function'.
20045 2009-07-18 Alan Mackenzie <acm@muc.de>
20047 * progmodes/cc-mode.el (c-before-hack-hook)
20048 (c-postprocess-file-styles): Give invocation of `c-set-style'
20049 DONT-OVERRIDE parameter of t. Already set style variables will
20050 thus not be overridden by style settings given by `c-file-syle'.
20052 * files.el (hack-local-variables-filter): Remove entries with
20053 duplicate keys from `file-local-variables-alist'.
20055 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20057 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
20058 x-set-selection if display-selections-p returns nil for the
20061 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
20063 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
20065 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20067 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
20068 Accept nil in addition to a regexp.
20069 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
20070 Accept nil in addition to a regexp.
20071 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
20072 buffers that have an associated file. Handle nil values of
20073 desktop-buffers-not-to-save and desktop-files-not-to-save.
20076 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
20077 (x-disown-selection-internal): New functions.
20079 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
20081 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
20083 (gdb-breakpoints-header): Move forward to avoid compiler warning.
20084 (gdb-make-header-line-mouse-map): Remove duplicate definition.
20086 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
20088 * simple.el (set-mark): Revert last change.
20090 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
20092 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
20093 rendering of pngs is not possible instead of messaging a long
20096 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
20098 * w32-fns.el (x-selection-owner-p): New function.
20100 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
20101 (mouse-yank-at-click, mouse-yank-primary):
20102 If select-active-regions is non-nil, deactivate the mark before
20105 * simple.el (deactivate-mark, set-mark): Only save selection if we
20108 2009-07-17 Kenichi Handa <handa@m17n.org>
20110 * case-table.el (describe-buffer-case-table): Fix for the case
20111 that KEY is a cons.
20113 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
20115 * vc-rcs.el (vc-rcs-find-file-hook):
20116 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
20118 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
20120 * net/tramp.el (tramp-wait-for-output): Handle the case when
20121 commands do not return a newline but a null byte before the shell
20124 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
20126 * term/ns-win.el (ns-set-alpha): Don't declare.
20127 (ns-set-background-alpha): Remove function.
20129 2009-07-16 Kevin Ryde <user42@zip.com.au>
20131 * emacs-lisp/copyright.el (copyright-update): Save match-data across
20132 y-or-n-p, for safety.
20134 2009-07-16 Richard Stallman <rms@gnu.org>
20136 * files.el (auto-save-mode): If buffer-saved-size is -2,
20139 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
20140 (rmail-retry-ignored-headers): Add more uninteresting fields.
20142 2009-07-15 Jari Aalto <jari.aalto@cante.net>
20144 * net/rcirc.el (rcirc): Use history variables.
20145 (rcirc-server-name-history, rcirc-nick-name-history)
20146 (rcirc-server-port-history): New variables.
20148 2009-07-15 Kenichi Handa <handa@m17n.org>
20150 * international/mule-cmds.el (set-language-environment-charset):
20151 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
20154 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
20155 Delete unibyte-display.
20157 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
20159 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
20161 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
20163 * simple.el (deactivate-mark): Optional argument FORCE.
20164 (set-mark): Use deactivate-mark.
20166 * info.el (Info-search): No need to check transient-mark-mode
20167 before calling deactivate-mark.
20169 * select.el (x-set-selection): Doc fix.
20170 (x-valid-simple-selection-p): Allow buffer values.
20171 (xselect--selection-bounds): Handle buffer values.
20172 Suggested by David De La Harpe Golden.
20174 * mouse.el (mouse-set-region, mouse-drag-track):
20175 Call copy-region-as-kill before setting the mark, to let
20176 select-active-regions work.
20178 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
20180 * simple.el (deactivate-mark): If select-active-regions is
20181 non-nil, copy the selection data into a string.
20182 (activate-mark): If select-active-regions is non-nil, set the
20183 selection to the current buffer.
20184 (set-mark): Update selection if select-active-regions is non-nil.
20186 * select.el (x-valid-simple-selection-p): Allow buffer values.
20188 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
20190 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
20191 and more featureful message-mode.
20193 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
20195 * select.el (x-set-selection): Doc fix.
20196 (x-valid-simple-selection-p): Disallow selection data consisting
20197 of a list or cons of integers, since that is not used.
20198 (xselect--selection-bounds, xselect--int-to-cons): New functions.
20199 (xselect-convert-to-string, xselect-convert-to-length)
20200 (xselect-convert-to-filename, xselect-convert-to-charpos)
20201 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
20203 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
20205 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
20206 output in -break-info command (Emacs bug #3794).
20208 2009-07-14 Glenn Morris <rgm@gnu.org>
20210 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
20211 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
20212 (edebug-print-length, edebug-print-level, edebug-print-circle)
20213 (edebug-sit-for-seconds, edebug-view-outside)
20214 (edebug-bounce-point, edebug-set-global-break-condition)
20215 (edebug-Go-nonstop-mode, edebug-trace-mode)
20216 (edebug-Trace-fast-mode, edebug-continue-mode)
20217 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
20218 (edebug-visit-eval-list): Doc fixes.
20220 * subr.el (def-edebug-spec): Doc fix.
20222 2009-07-14 Kenichi Handa <handa@m17n.org>
20224 * international/characters.el: Fix setting of category ?C.
20226 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
20228 * term/ns-win.el (x-select-font): defalias x-select-font to
20229 ns-popup-font-panel instead of generate-fontset-menu.
20231 2009-07-12 Eli Zaretskii <eliz@gnu.org>
20233 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
20235 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
20237 * arc-mode.el (archive-find-type): Allow for a PK00 string before
20238 the PK\003\004 header (Bug#3770).
20240 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
20242 * pcomplete.el (pcomplete-comint-setup): Check for
20243 shell-dynamic-complete-filename too.
20245 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
20247 * simple.el (temporary-goal-column): Change the value for
20248 line-move-visual to a cons cell.
20249 (line-move-visual): Record or set the window hscroll, if
20250 necessary (Bug#3494).
20251 (line-move-1): Handle cons value of temporary-goal-column.
20253 2009-07-11 Kenichi Handa <handa@m17n.org>
20255 * international/mule-diag.el (describe-character-set): Don't show
20258 2009-07-10 Sam Steingold <sds@gnu.org>
20260 * progmodes/compile.el (compilation-mode-font-lock-keywords):
20261 Omake sometimes indents the errors it prints, so allow all
20262 regexps to start with spaces.
20264 2009-07-10 Eli Zaretskii <eliz@gnu.org>
20266 * cus-edit.el (customize-changed-options-previous-release):
20267 Bump value to 22.1. (Bug#3804)
20269 2009-07-08 Sam Steingold <sds@gnu.org>
20271 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
20272 to be a cons cell (test . ignored-directory) to selectively ignore
20273 some directories depending on the location of the search.
20275 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
20277 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
20278 remote user is root, on the local host.
20279 (tramp-local-host-p): Either the local user or the remote user
20280 must be root. (Bug#3771)
20282 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
20284 * progmodes/gdb-mi.el (gdb): Remove description of
20285 gdb-use-separate-io-buffer.
20286 (menu): Don't allow toggling of or enable
20287 gdb-use-separate-io-buffer from menubar.
20289 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
20291 * mail/unrmail.el (unrmail): Make sure the message ends with two
20292 newlines (Bug#3769).
20294 2009-07-08 Glenn Morris <rgm@gnu.org>
20296 * calendar/calendar.el (calendar-current-date): Rework previous change.
20298 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
20300 * calendar/calendar.el (calendar-current-date):
20301 Add an optional argument giving an offset from today.
20303 2009-07-08 Glenn Morris <rgm@gnu.org>
20305 * tutorial.el (tutorial--describe-nonstandard-key):
20306 Adjust the message for when a key has been unbound.
20307 (help-with-tutorial): Hide the arch-tag.
20309 2009-07-08 Kenichi Handa <handa@m17n.org>
20311 * international/fontset.el (setup-default-fontset): For each
20312 script, append (not set) font-specs.
20314 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
20317 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
20319 * progmodes/gdb-mi.el (gdb-init-1): Move sending
20320 -data-list-register-names to ...
20321 (gdb-starting): ... here because GDB 7.0 requires execution to
20322 have started when using this MI command.
20323 (gdb-set-header): New function to distinguish select and
20324 unselected tabs in gdb buffers.
20325 (gdb-propertize-header): New macro that uses gdb-set-header.
20326 (gdb-breakpoints-header, gdb-locals-header): Use it.
20327 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
20329 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
20331 * Makefile.in (ELCFILES): Remove fadr.elc.
20333 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
20335 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
20336 may contain frame information, so `string-match' should be used.
20337 (gdb-update): Disassembly is invalidated through
20338 `gdb-get-selected-frame'.
20339 (gdb-pad-string): New function to pad string with spaces.
20340 (gdb-invalidate-disassembly): Invalidate only if the buffer
20342 (gdb-disassembly-handler-custom): Column alignment.
20343 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
20345 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
20347 (gdb-frame-handler): Match convention to for disassembly buffer
20349 (gdb-stack-list-frames-handler): Rewritten without regexps.
20350 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
20351 not highlight breakpoints without line information.
20352 (gdb-input): Add trailing newline to command.
20354 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
20356 (gdb-breakpoints-list-handler-custom): Replacement for
20357 `gdb-break-list-handler'. Using real parser instead of regexps
20359 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
20360 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
20361 to place breakpoints.
20362 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
20364 (gdb-disassembly-handler-custom): Show overlay arrow.
20365 (gdb-disassembly-place-breakpoints): Show breakpoints in
20366 disassembly buffer.
20367 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
20368 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
20369 instead of parsing breakpoints buffer. Fixed old menu references
20374 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
20375 (gdb-memory-address): New variable which holds top address of
20376 memory page shown in memory buffer.
20377 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
20378 New customization variables.
20380 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
20381 display the memory buffer.
20382 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
20383 buffer display parameters.
20384 (def-gdb-memory-format, gdb-memory-format-binary)
20385 (gdb-memory-format-octal, gdb-memory-format-unsigned)
20386 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
20387 Functions for setting memory buffer format.
20388 (gdb-memory-unit-word, gdb-memory-unit-halfword)
20389 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
20390 unit size used in memory buffer.
20391 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
20392 Switch to next/previous page of memory buffer.
20393 Now using (bindat-get-field) instead of fadr functions.
20395 2009-07-07 Sam Steingold <sds@gnu.org>
20397 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
20398 non-top-level files.
20400 2009-07-07 Kenichi Handa <handa@m17n.org>
20402 * international/mule-cmds.el (reset-language-environment):
20403 Put the highset priority to the charset iso-8859-1.
20405 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
20407 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
20408 to the end of the line when locating the block (Bug#700).
20410 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
20412 * net/tramp.el (tramp-handle-write-region): Flush file properties
20413 in case of short track.
20415 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
20417 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
20418 Coded custom representation of verilog error regular expressions
20419 to work with Emacs-22's new format.
20420 (verilog-error-regexp-xemacs-alist): Coded custom representation
20421 of verilog error regular expressions to work with XEmacs format.
20422 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
20423 error recognition into XEmacs.
20424 (verilog-error-regexp-add-emacs): Hook routine to install verilog
20425 error recognition into Emacs-22.
20427 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
20429 * woman.el: Remove stand-alone closing parentheses.
20430 (woman-file-name, woman2-format-paragraphs)
20431 (woman-leave-blank-lines): Code cleanup.
20432 (woman-use-own-frame): Change default to nil.
20433 (woman-italic, woman-bold, woman-unknown, woman-addition):
20434 Change defaults to inherit from default faces.
20435 (woman2-process-escapes): Consume the newline after a stand-alone
20436 filler character (Bug#3651).
20438 2009-07-06 Glenn Morris <rgm@gnu.org>
20440 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
20441 (top-level): Move provide to the end.
20442 (ffap): Remove defunct URL from custom group.
20444 * subr.el (eval-after-load): Doc fix.
20446 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
20448 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
20449 `calc-embedded-word' is called twice.
20451 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20453 * files.el (find-alternate-file-other-window, find-alternate-file):
20454 Obey confirm-nonexistent-file-or-buffer.
20456 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
20458 * dired-aux.el (dired-show-file-type): Handle remote files.
20460 2009-07-05 Jari Aalto <jari.aalto@cante.net>
20462 * desktop.el (desktop-globals-to-save):
20463 Add file-name-history (Bug#2750).
20465 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
20467 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
20469 2009-07-04 Johan Bockgård <bojohan@gnu.org>
20471 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
20472 property on entire argument since this is what eshell-lisp-command
20475 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
20477 * net/tramp-gvfs.el (tramp-gvfs-methods)
20478 (tramp-gvfs-zeroconf-domain)
20479 (tramp-bluez-discover-devices-timeout): Add version flag.
20480 (tramp-gvfs-handler-mounted-unmounted)
20481 (tramp-gvfs-connection-mounted-p): Polish handling of
20482 incompatibilities between GVFS 0.2 and 1.0.
20484 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
20486 * cus-start.el (all): Add make-pointer-invisible.
20488 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
20490 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
20491 formatted correctly.
20493 2009-07-02 Juri Linkov <juri@jurta.org>
20495 * info.el: Virtual Info files and nodes.
20496 (Info-virtual-files, Info-virtual-nodes): New variables.
20497 (Info-current-node-virtual): New variable.
20498 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
20500 (Info-file-supports-index-cookies): Use Info-virtual-file-p
20501 to check for a virtual file instead of checking a fixed list
20503 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
20504 instead of ad-hoc processing of "dir" and (apropos history toc).
20505 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
20506 instead of ad-hoc processing of "dir" and (apropos history toc).
20507 Reread a file when moving from a virtual node.
20508 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
20509 (Info-directory-toc-nodes, Info-directory-find-file)
20510 (Info-directory-find-node): New functions.
20511 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
20512 (Info-history): Move part of code to
20513 `Info-history-find-node'.
20514 (Info-history-toc-nodes, Info-history-find-file)
20515 (Info-history-find-node): New functions.
20516 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
20517 (Info-toc): Move part of code to `Info-toc-find-node'.
20518 (Info-toc-find-node): New function.
20519 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
20520 the current Info file name to references because now the node
20521 "*TOC*" belongs to the same Info manual.
20522 (Info-toc-build): Rename from `Info-build-toc'.
20523 (Info-toc-nodes): Rename input argument `file' to `filename'.
20524 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
20525 instead of ad-hoc processing of ("dir" apropos history toc).
20526 (Info-index-nodes): Use Info-virtual-file-p
20527 to check for a virtual file instead of checking a fixed list
20529 (Info-index-node): Add check for `Info-current-node-virtual'.
20530 Raise `save-match-data' higher up the tree to contain
20531 `search-forward' too (bug fix).
20532 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
20533 (Info-virtual-index-nodes): New variable.
20534 (Info-virtual-index-find-node, Info-virtual-index): New functions.
20535 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
20536 (Info-apropos-file, Info-apropos-nodes): New variables.
20537 (Info-apropos-toc-nodes, Info-apropos-find-file)
20538 (Info-apropos-find-node, Info-apropos-matches): New functions.
20539 (info-apropos): Move part of code to `Info-apropos-find-node' and
20540 `Info-apropos-matches'.
20541 (Info-mode-map): Bind "I" to `Info-virtual-index'.
20542 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
20543 for a virtual file instead of checking a fixed list of node names.
20545 * simple.el (async-shell-command): New command.
20547 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
20549 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
20550 instead of `mount-info'.
20552 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
20554 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
20555 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
20557 2009-07-02 Kenichi Handa <handa@m17n.org>
20559 * international/mule.el (set-keyboard-coding-system): Force *-unix
20560 coding-system to avoid eol conversion.
20562 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
20564 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20565 Add handler for `process-file', `shell-command' and
20566 `start-file-process'.
20567 (tramp-gvfs-handle-shell-command)
20568 (tramp-gvfs-handle-start-file-process)
20569 (tramp-gvfs-handle-process-file): New defuns.
20570 (tramp-synce-list-devices): Simplify check for existence of property.
20572 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
20574 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
20576 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
20578 * language/korean.el (set-language-info-alist): Add korean-cp949,
20581 2009-07-01 Kenichi Handa <handa@m17n.org>
20583 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
20585 * international/encoded-kb.el: Deleted.
20587 * international/mule.el (set-keyboard-coding-system): Perform the
20588 necessary setup here instead of calling encoded-kbd-setup-display.
20590 2009-07-01 Glenn Morris <rgm@gnu.org>
20592 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
20594 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
20596 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
20598 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
20600 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
20601 Handle also the 'rename case, when setting file modes. (Bug#3712)
20602 (tramp-default-file-modes): Remove execute permissions.
20604 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
20605 (top): Add a default for "synce" in `tramp-default-user-alist'.
20606 Add completion function for "synce" method.
20607 (tramp-hal-service, tramp-hal-path-manager)
20608 (tramp-hal-interface-manager, tramp-hal-interface-device):
20610 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
20611 (tramp-synce-list-devices, tramp-synce-parse-device-names):
20614 * net/trampver.el: Update release number.
20616 2009-06-30 Kenichi Handa <handa@m17n.org>
20618 * international/fontset.el (setup-default-fontset): Add CJK fonts
20619 for symbols and the other miscellaneous characters.
20621 * language/korea-util.el (setup-korean-environment-internal):
20622 Make char-width-table suitable for Korean environments.
20623 (exit-korean-environment): Cancel above.
20625 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
20626 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
20627 setup-function to make char-width-table suitable for respective
20628 environments, and an exit-function to cancel that.
20630 * language/japan-util.el (setup-japanese-environment-internal):
20631 Call use-cjk-char-width-table with arg `ja_JP'.
20633 * international/characters.el (cjk-char-width-table): Delete it.
20634 (cjk-char-width-table-list): New variable.
20635 (use-cjk-char-width-table): New arg local-name.
20636 (use-default-char-width-table): Fix for the case that Emacs is
20637 already using the default char-width-table.
20639 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
20641 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
20642 modes mandatory. (Bug#3712)
20644 2009-06-29 Alan Mackenzie <acm@muc.de>
20646 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
20647 correction between the visible width of TABs and their number of bytes.
20649 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
20651 * server.el (server-buffer-done): Prevent kill-buffer from
20652 prompting by clearing the buffer modification flag (Bug#3696).
20654 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
20656 * progmodes/verilog-mode.el (verilog-beg-of-statement)
20657 (verilog-endcomment-reason-re): Support unique case and priority case.
20658 (verilog-basic-complete-re): Support localparam lineup.
20659 (verilog-beg-of-statement-1): Fix for robustness, unique case.
20660 (verilog-set-auto-endcomments): Fix for unique case, always_comb
20662 (verilog-leap-to-case-head): Now support *nested* unique &
20663 priority case statements.
20664 (verilog-auto-lineup): Make just declarations the default (as it
20666 (verilog-leap-to-case-head): Support priority/unique case statements.
20667 (verilog-auto-lineup): Rework to give users radio buttons to
20668 select the various styles of automatic lineup.
20669 (verilog-error-regexp-alist): Rework to support the XEmacs style
20670 of error regular expressions from compilers, lint tools &
20671 simulators. Note that GNU Emacs has made it impossible for a mode
20672 to load such things.
20673 (electric-verilog-terminate-line, verilog-indent-declaration)
20674 (verilog-auto-wiure): Rework for radio button selection of
20675 auto-lineup selection of specification of auto lineup.
20676 (verilog-beg-of-statement-1): Redesign to support proper operation
20677 in additional code, based on testing with auto-lineup.
20678 (verilog-calculate-indent, assignments & declarations)
20679 (verilog-backward-token): Enhance to support auto-lineup of
20680 assignments & declarations.
20681 (verilog-in-directive-p, verilog-at-struct-p): New function for
20682 easy test of whether we are.
20683 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
20684 to support safe execution at almost anyline.
20685 (verilog-calc-1): Properly support indenting deep inside generate
20687 (verilog-init-font): Remove definition & use of verilog-init-font,
20688 as it is redundant with font-lock-defaults.
20689 (verilog-mode): Alter the definition of verilog-font-lock-defaults
20690 to avoid circular calls if syntax-ppss is a function (as is the
20691 case now in 22.x GNU Emacs) as that function would sometimes call
20692 itself, leading to (nearly) infinite recursion.
20693 (verilog-ovm-begin-re, verilog-ovm-end-re)
20694 (verilog-ovm-statement-re, verilog-leap-to-head)
20695 (verilog-backward-token): Add support for OVM macros. Some are
20696 complete statements, and others open and close scopes like begin
20698 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
20699 (verilog-defun-level-generate-only-re): Really fix the defun-list
20701 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
20702 coverpoint, constraint and cross statements.
20703 (verilog-defun-level-list, verilog-generate-defun-level-list)
20704 (verilog-all-defun-level-list): Redo these specifications - it is
20705 too hard to support eval-when compile aggregation of lists also
20706 built at when-compile time.
20707 (verilog-defun-level-list): Place defconsts of variables used in
20708 building regular expressions which are built in eval-when-compile
20709 bodies in the same eval-when-compile body to facilitate compile
20711 (verilog-beg-block-re-ordered): Support indenting
20712 virtual/protected tasks and functions.
20713 (verilog-defun-level-list, verilog-in-generate-region-p)
20714 (verilog-backward-ws&directives, verilog-calc-1): Speed up
20715 indentation of some module items (generate items).
20716 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
20717 across virtual/protected tasks and functions.
20719 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
20721 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
20722 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
20723 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
20724 in concatenations. Reported by Yishay Belkind.
20725 (verilog-auto-ascii-enum): Support one-hot state machines in
20726 AUTOASCIIENUM. Suggested by Lloyd Gomez.
20727 (verilog-auto-inst, verilog-auto-inst-port): Include interface
20728 modport in AUTOINST and add vl-modport for users.
20729 Reported by David Rogoff.
20730 (verilog-auto-inout-module, verilog-auto-inst)
20731 (verilog-decls-get-interfaces, verilog-insert-definition)
20732 (verilog-insert-one-definition, verilog-read-decls)
20733 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
20734 (verilog-sig-modport, verilog-signals-combine-bus)
20735 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
20736 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
20737 Suggested by David Rogoff.
20738 (verilog-repair-open-comma): Fix non-insertion of comma when
20739 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
20740 (verilog-make-width-expression): Simplify [A-1:0] expression
20741 widths to just {A{1'b0}}.
20742 (verilog-mode): Cleanup checkdoc warnings.
20743 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
20744 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
20745 inputs/outputs or data type. Suggested by Vasu Kandadi.
20746 (next-error-last-buffer): Fix byte-compiler warning.
20747 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
20748 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
20749 or shell command text during AUTO expansion. Suggested by Tad Truex.
20750 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
20751 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
20752 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
20753 in AUTOINOUT. Reported by Matthew Lovell.
20754 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
20755 causing use of <= assignments. Reported by Alex Reed.
20756 (verilog-read-decls): Fix triand, trior, wand, wor to be
20757 recognized by AUTOWIRE. Reported by Spencer Isaacson.
20758 (verilog-extended-complete-re): Support import "DPI-C" functions.
20759 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
20760 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
20761 (verilog-insert-date, verilog-insert-year)
20762 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
20763 Windows systems. Reported by Michael Potts.
20764 (verilog-read-module-name): Fix AUTOINST when the child module
20765 declaration's name is a tick define. Reported by Elliot Mednick.
20766 (verilog-read-decls): Fix V2K parameter bit subscripts getting
20767 passed to next parameter's definition. Reported by Bruce T.
20768 (verilog-read-decls): Fix detecting "parameter int" when using
20769 AUTOINSTPARAM. Reported by Bruce T.
20770 (verilog-goto-defun): Fix goto not finding modules unless first
20771 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
20772 (verilog-mode): Expand -f flag arguments on entry to mode so
20773 verilog-goto-defun will work. Reported by Lawrence Butcher.
20774 (verilog-getopt): Expand environment variables in -f file
20775 arguments. Suggested by Lawrence Butcher.
20776 (verilog-set-define): Fix "Symbol's value as variable is void"
20777 when reading enumerations.
20778 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
20779 Suggested by Stephen Peltan.
20780 (verilog-read-defines): Fix reading of enumerations in include
20781 files. Reported by Steve Peltan.
20783 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
20785 * files.el (trash-directory): Fix defcustom type.
20787 2009-06-28 Juri Linkov <juri@jurta.org>
20789 * help-fns.el (describe-function-1): Correctly locate adviced
20790 functions in hyperlink (Bug#2438).
20792 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
20794 * files.el (trash-directory): Change default to nil.
20795 (move-file-to-trash): If trash-directory is nil and
20796 system-move-file-to-trash is unbound, perform freedesktop-style
20799 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
20801 * files.el (move-file-to-trash): Add freedesktop trash
20804 2009-06-28 Glenn Morris <rgm@gnu.org>
20806 * autorevert.el (global-auto-revert-non-file-buffers)
20807 (global-auto-revert-mode): Doc fixes.
20809 2009-06-27 Johan Bockgård <bojohan@gnu.org>
20811 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
20813 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
20815 * faces.el (x-handle-named-frame-geometry): Ensure that we have
20816 opened an X connection before calling x-get-resource (Bug#3194).
20818 * play/doctor.el: Remove reference to obsolete website.
20819 (make-doctor-variables): Correct grammar mistake (Bug#2633).
20821 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
20823 Remove find-file-not-found-hook VC method. (Bug#2757)
20824 * vc-hooks.el (vc-file-not-found-hook)
20825 (vc-default-find-file-not-found-hook): Remove functions.
20826 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
20827 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
20830 * vc-git.el: Do not mention find-file-not-found-hook VC method.
20832 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
20834 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
20835 compatibility function for `looking-back'.
20837 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
20838 Use `ispell-looking-back'.
20840 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
20842 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
20843 rather than `filename'.
20845 2009-06-23 Miles Bader <miles@gnu.org>
20847 * face-remap.el (text-scale-set): New function.
20849 2009-06-23 Glenn Morris <rgm@gnu.org>
20851 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
20853 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
20855 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
20857 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
20859 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
20860 Simplify Persian conditionals.
20862 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
20863 variable `filename'.
20865 * comint.el (comint-insert-input): Doc fix.
20867 * Makefile.in (ELCFILES): Fix typo in previous change.
20869 2009-06-23 Miles Bader <miles@gnu.org>
20871 * cus-start.el: Add entry for `recenter-redisplay'.
20873 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
20875 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
20876 Add an optional argument for the backend, use it instead of
20877 calling vc-backend.
20878 (vc-mode-line): Add an optional argument for the backend.
20879 Pass the backend to vc-state and vc-working-revision. Move code for
20880 special handling for vc-state being a buffer to ...
20882 * vc-rcs.el (vc-rcs-find-file-hook):
20883 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
20885 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
20886 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
20887 vc-stay-local-p and vc-mode-line calls.
20889 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
20890 (vc-cvs-diff, vc-cvs-annotate-command)
20891 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
20892 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
20893 vc-mode-line calls.
20895 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
20897 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
20898 backend when calling vc-mode-line.
20899 (vc-register): Do not create a closure for calling the vc register
20900 function, call it directly.
20902 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
20904 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
20905 to make it obvious item can be clicked.
20907 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
20909 2009-06-23 Kenichi Handa <handa@m17n.org>
20911 * language/korea-util.el (korean-key-bindings): Change the binding
20912 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
20915 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
20917 Sync with Tramp 2.1.16.
20919 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
20921 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
20922 when a loading of a package fails. Completion function for rsync
20923 is `tramp-completion-function-alist-ssh'.
20924 (all): Replace all calls of `split-string' and
20925 `tramp-split-string' by `tramp-compat-split-string'.
20926 (tramp-default-method): Use `tramp-compat-process-running-p'.
20927 (tramp-default-proxies-alist): Allow also Lisp forms.
20928 (tramp-remote-path): Add choice "Private Directories".
20929 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
20930 (tramp-domain-regexp): Allow also "-", "_" and ".".
20931 (tramp-end-of-output): Remove newlines, and add "$" at the end.
20932 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
20933 (tramp-debug-message): Insert header line in debug buffer.
20934 (tramp-handle-directory-files-and-attributes-with-stat):
20935 Care about filenames with spaces, or starting with "-".
20936 (tramp-handle-dired-uncache): New defun.
20937 (tramp-handle-insert-directory): Don't flush the directory from
20938 cache, this is handled by `dired-uncache' now.
20939 (tramp-handle-insert-file-contents): Improve error handling.
20940 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20941 Quote `tramp-end-of-output'.
20942 (tramp-action-password): Improve trace message.
20943 (tramp-check-for-regexp): Both echoes must be present, before removing.
20944 (tramp-open-connection-setup-interactive-shell): Trace coding system.
20945 (tramp-compute-multi-hops): Eval cons cells of
20946 `tramp-default-proxies-alist'.
20947 (tramp-maybe-open-connection): Use the same command pattern for
20948 first hop and further hops.
20949 (tramp-wait-for-output): Remove handling of newlines.
20950 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
20951 (tramp-split-string): Remove function. It is handled in
20954 * net/tramp-cmds.el (tramp-bug):
20955 Recommend `tramp-cleanup-all-connections' in the bug mail.
20957 * net/tramp-compat.el (tramp-compat-split-string)
20958 (tramp-compat-process-running-p): New defuns.
20960 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
20961 for `dired-uncache'.
20963 * net/tramp-gvfs.el: New package.
20965 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20966 Add handler for `dired-uncache'.
20967 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
20969 * net/trampver.el: Update release number. Make version check fit
20972 2009-06-22 Jim Meyering <meyering@redhat.com>
20974 Automatically handle .xz suffix (XZ-compressed files), too.
20975 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
20976 XZ is the successor to LZMA: <http://tukaani.org/xz/>
20978 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
20979 Nick Roberts <nickrob@snap.net.nz>
20981 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
20982 repository (http://sphinx.net.ru/hg/gdb-mi/).
20984 2009-06-22 Glenn Morris <rgm@gnu.org>
20986 * files.el (dir-locals-collect-mode-variables): Allow for any number of
20987 `mode' and `eval' entries. (Bug#3430)
20989 * Makefile.in (ELCFILES): Add fadr.elc.
20991 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
20992 differing behavior of \n and ^ in strings. (Bug#3385)
20994 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
20996 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
20998 (lisp-indent-function): Make it a defcustom.
21000 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
21002 * progmodes/gdb-ui.el: Replace with ...
21003 * progmodes/gdb-mi.el: ... this file.
21004 * progmodes/gud.el: Modify for gdb-mi.el.
21006 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
21008 * fadr.el: New file.
21010 See ChangeLog.14 for earlier changes.
21012 ;; Local Variables:
21016 Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc.
21018 This file is part of GNU Emacs.
21020 GNU Emacs is free software: you can redistribute it and/or modify
21021 it under the terms of the GNU General Public License as published by
21022 the Free Software Foundation, either version 3 of the License, or
21023 (at your option) any later version.
21025 GNU Emacs is distributed in the hope that it will be useful,
21026 but WITHOUT ANY WARRANTY; without even the implied warranty of
21027 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21028 GNU General Public License for more details.
21030 You should have received a copy of the GNU General Public License
21031 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.