1 2011-01-19 Glenn Morris <rgm@gnu.org>
3 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
4 Also check the property status. (Bug#7861)
6 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
8 * net/tramp.el (tramp-debug-message): Extend function exclude
9 list. Use `regexp-opt'.
11 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
13 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
14 highlighting doesn't spill over subsequent lines.
16 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
17 keymap expression. Improve docstring.
19 * electric.el (electric-indent-post-self-insert-function):
20 Don't auto-indent for indent-to-left-margin, it's too often
23 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
25 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
26 spaces if the frame was resized, so that the full visible buffer
27 serves as canvas for strokes.
29 2011-01-16 Glenn Morris <rgm@gnu.org>
31 * info-xref.el (info-xref-docstrings): Replace cl function.
32 Also skip directories.
34 2011-01-16 Kevin Ryde <user42@zip.com.au>
36 * info-xref.el: Version 3.
37 (info-xref-check, info-xref-check-all): Move commentary details
38 into docstrings for better visibility.
39 Use compilation-mode for the results buffer.
40 (info-xref-output, info-xref-output-error, info-xref-with-output)
41 (info-xref-filename, info-xref-in-progress):
42 New internals for this.
43 (info-xref-check-list, info-xref-check-buffer)
44 (info-xref-check-all-custom): Use those.
45 (info-xref-output-buffer): Rename from info-xref-results-buffer.
46 (info-xref-output-heading): Rename from info-xref-filename-heading.
47 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
48 (info-xref-filename-heading): Move to output managing section.
49 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
50 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
51 (info-xref-subfile-p): Move to generic section with those two.
52 (info-xref-check-node): New function split from
53 info-xref-check-buffer, shared by info-xref-docstrings.
54 (info-xref-goto-node-p): Move to a checking section with that func.
55 (info-xref-unavail): New counter.
56 (info-xref-check-node): Use it.
57 (info-xref-with-output): Show count of unavailables at end of output.
58 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
59 symlinks. Exclude .texi files. Exclude Emacs backup files.
60 (info-xref-check-all-custom): Fix quietening viper-mode and
61 gnus-registry-install -- use setq not let so as not to unbind
64 2011-01-16 Juri Linkov <juri@jurta.org>
66 * isearch.el (isearch-abort): Don't quit if search has
67 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
69 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
71 * files.el (backup-buffer): Make last-resort backup file in
74 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
75 make it with permission 700.
77 2011-01-15 Kenichi Handa <handa@m17n.org>
79 * mail/rmailmm.el (rmail-mime-insert-header):
80 Set rmail-mime-coding-system to a cons whose car is the last coding
81 system used to decode the header.
82 (rmail-mime-find-header-encoding): New function.
83 (rmail-mime-insert-decoded-text):
84 Override rmail-mime-coding-system if it is a cons.
85 (rmail-show-mime): If only a header part was decoded, find the
86 coding system while ignoring mm-charset-override-alist.
88 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
90 * subr.el (event-start, event-end): Doc fix (Bug#7826).
92 2011-01-15 Kenichi Handa <handa@m17n.org>
94 * mail/rmailmm.el (rmail-mime-next-item)
95 (rmail-mime-previous-item): Delete them.
96 (rmail-mime-shown-mode): Recursively call for children.
97 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
99 (rmail-mime-raw-mode): Recursively call for children.
100 (rmail-mode-map): Change mapping of tab and backtab to
101 forward-button and backward-button respectively.
102 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
104 (rmail-mime-update-tagline): New function.
105 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
106 body display is changed.
107 (rmail-mime-toggle-button): Rename from rmail-mime-image.
108 (rmail-mime-image): Delete this button type.
109 (rmail-mime-toggle): New button type.
110 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
111 body display is changed. Change the save button label to "Save".
112 Don't process show/hide button here.
113 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
114 the body display is changed. Unconditionally call
115 rmail-mime-insert for children.
116 (rmail-mime-handle): Update `display' vector of the just inserted
118 (rmail-mime-process): If mail-header-parse-content-type returns
119 nil, use "text/plain" as the fallback type.
120 (rmail-mime-insert): For raw-mode, recursively call
121 rmail-mim-insert for children.
122 (rmail-mime): Handle the case that the current buffer is not rmail
123 buffer (e.g. in summary buffer).
125 2011-01-15 Kenichi Handa <handa@m17n.org>
127 * mail/rmailmm.el (rmail-mime-next-item)
128 (rmail-mime-previous-item): Skip the body of a non-multipart
129 entity if a tagline is shown.
131 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
133 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
134 (tmm-prompt): Simplify.
135 (tmm-add-prompt): Remove unused var `win'.
137 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
138 to minor mode which used nil accidentally to mean "turn off".
140 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
142 * net/tramp-sh.el (tramp-find-inline-compress)
143 (tramp-get-inline-coding): Quote command after pipe symbol for
144 local calls under W32. (Bug#6784)
146 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
148 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
149 only when running under W32.
151 2011-01-15 Eli Zaretskii <eliz@gnu.org>
153 * progmodes/grep.el (grep-compute-defaults): Quote the program
154 file name after the pipe symbol in Grep templates. (Bug#6784)
155 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
157 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
159 * buff-menu.el (Buffer-menu-buffer-list): New var.
160 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
161 restricted buffer list is not lost on revert (Bug#7749).
163 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
165 * net/ldap.el (ldap-search-internal): Discard stderr output.
167 2011-01-15 Eli Zaretskii <eliz@gnu.org>
169 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
171 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
173 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
175 2011-01-15 Kenichi Handa <handa@m17n.org>
177 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
178 part as a plain text.
179 (rmail-mime-process-multipart): Set the default content-type to
180 nil for unknown multipart subtypes (bug#7651).
182 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
184 * hexl.el (hexl-mode-old-*): Remove.
185 (hexl-mode--old-var-vals): New var to replace them.
186 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
187 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
188 Use them to set local vars (bug#7846).
189 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
190 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
191 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
193 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
194 (smerge-resolve--normalize-re): New var.
195 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
196 (smerge-resolve): Use them.
197 * newcomment.el (comment-only-p): New function.
198 (comment-or-uncomment-region): Use it.
200 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
202 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
203 table, get the value before switching to the output buffer. (Bug#7733)
205 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
207 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
209 2011-01-14 Kim F. Storm <storm@cua.dk>
211 * emulation/cua-base.el (cua--init-keymaps):
212 Remap exchange-point-and-mark in cua-global-keymap.
214 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
216 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
219 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
221 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
223 (easy-menu-create-menu, easy-menu-convert-item-1):
224 Use :label rather than nil for labels. Use `case'.
225 Add :enable as alias for :active.
226 (easy-menu-binding): Obey :label.
228 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
230 Use run-mode-hooks for major mode hooks (bug#513).
231 * textmodes/reftex-toc.el (reftex-toc-mode-map):
232 Rename from reftex-toc-map.
233 (reftex-toc-mode): Use define-derived-mode.
234 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
235 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
236 Rename from reftex-select-(label|bib)-map. Move init into declaration.
237 (reftex-select-label-mode, reftex-select-bib-mode):
238 Use define-derived-mode.
239 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
240 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
241 Move init into delcaration.
242 (reftex-index-mode, reftex-index-phrases-mode):
243 Use define-derived-mode.
244 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
245 speedbar-syntax-table. Move init into declaration.
246 (speedbar-mode-map): Rename from speedbar-key-map.
247 Move init into declaration.
248 (speedbar-file-key-map): Move init into declaration.
249 (speedbar-mode): Use define-derived-mode.
250 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
251 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
252 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
253 (chart-face-list): Move initialization into declaration.
254 (chart-mode): Use define-derived-mode.
255 * calculator.el (calculator-mode-map): Move init into declaration.
256 (calculator-mode): Use define-derived-mode.
258 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
259 work for nested comments.
261 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
262 (prolog-use-prolog-tokenizer-flag): Change default when
263 syntax-propertize can be used.
264 (prolog-syntax-propertize-function): New var.
265 (prolog-mode-variables): Move make-local-variable into `set'.
266 Don't make comment-column local since we don't set it.
267 Set comment-add (as it was in previous prolog.el). Use dolist.
268 Set syntax-propertize-function.
269 (prolog-mode, prolog-inferior-mode):
270 Call prolog(-inferior)-menu directly, not through the mode-hook.
271 (prolog-buffer-module, prolog-indent-level)
272 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
273 (prolog-comment-limits, prolog-goto-comment-column):
274 Use line-(end|beginning)-position.
275 (prolog-build-prolog-command): Tighten up regexp.
276 (prolog-consult-compile): Move make-local-variable into `set'.
277 (prolog-consult-compile-filter, prolog-goto-next-paren)
278 (prolog-help-on-predicate, prolog-clause-info)
279 (prolog-mark-predicate): Don't let+setq.
280 (prolog-indent-line): Use indent-line-to.
281 Only call prolog-goto-comment-column if necessary.
282 (prolog-indent-level): Use bobp.
283 (prolog-first-pos-on-line): Remove, not used any more.
284 (prolog-in-string-or-comment): Use syntax-ppss if available.
285 (prolog-help-on-predicate): Use read-string.
286 (prolog-goto-predicate-info): Simplify.
287 (prolog-read-predicate): Use `default' rather than `initial'.
288 (prolog-temporary-file): Use make-temp-file to close a security hole.
289 (prolog-toggle-sicstus-sd): New command.
290 (prolog-electric-underscore, prolog-variables-to-anonymous):
291 Use dynamic-scoping as it was meant.
292 (prolog-menu): Move menu definitions to top-level.
293 Use a toggle-button for Sicstus's source debugger.
294 Change "Code" to the more usual "Prolog", and hence change "Prolog"
296 (prolog-inferior-menu): Reuse prolog-menu's help menu.
297 Move other menu definition to top-level.
299 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
301 * doc-view.el (doc-view-open-text): Use meaningful text buffer
302 name. Keep original document's directory as default-directory
304 (doc-view-initiate-display): Fall back to normal mode when
305 doc-view-mode cannot be enabled, also when extracting the document
306 text into a separate buffer (bug#6446).
308 * simple.el (shell-command): Don't error out if shell command
309 buffer contains text with non-nil read-only property when erasing
312 2011-01-13 Kim F. Storm <storm@cua.dk>
314 * ido.el (ido-may-cache-directory): Move "too-big" check later.
315 (ido-next-match, ido-prev-match): Fix stray reordering of matching
316 items when cycling through the matches.
318 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
320 * dired-x.el (dired-omit-verbose): New defcustom that allows
321 disabling the omit messages.
322 (dired-omit-expunge): Use it.
324 2011-01-13 Christian Ohler <ohler@gnu.org>
326 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
328 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
330 * font-lock.el (font-lock-verbose): Default to nil.
332 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
334 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
335 (compose-mail): New arg RETURN-ACTION.
336 (compose-mail-other-window, compose-mail-other-frame): Likewise.
338 * mail/sendmail.el (mail-return-action): New var.
339 (mail-mode): Make it buffer-local.
340 (mail-bury): Obey it. Move special Rmail window handling to
342 (mail, mail-setup): New arg RETURN-ACTION.
343 (sendmail-user-agent-compose): Move from simple.el.
345 * mail/rmail.el (rmail-mail-return): New function.
346 (rmail-start-mail): Pass it to compose-mail.
348 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
350 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
351 menus. Add menu item for customize-themes.
353 * cus-theme.el (customize-themes):
354 * emacs-lisp/package.el (package--list-packages):
355 Use switch-to-buffer.
357 2011-01-11 Johan Bockgård <bojohan@gnu.org>
359 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
361 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
363 * progmodes/prolog.el: Fix up coding convention and such.
364 (prolog-indent-width): Use the same default as in
365 previous prolog.el rather than tab-width which depends on which buffer
366 is current when the file is loaded.
367 (prolog-electric-newline-flag): Only enable if electric-indent-mode
369 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
370 (prolog-known-systems): Remove.
371 (prolog-mode-syntax-table, prolog-inferior-mode-map):
372 Move initialization into declaration.
373 (prolog-mode-map): Move initialization into declaration.
374 Remove system-specific mode-map vars, since they referred to the same
376 (prolog-mode-variables): Obey the user's preference w.r.t
377 adaptive-fill-mode. Prefer symbol-value to `eval'.
378 (prolog-mode-keybindings-edit): Add compatibility bindings.
379 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
380 (mercury-mode-map): New var.
381 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
382 (prolog-ensure-process, prolog-process-insert-string)
383 (prolog-consult-compile): Use with-current-buffer.
384 (prolog-guess-fill-prefix): Simplify data flow.
385 (prolog-replace-in-string): New function to use instead of
387 (prolog-enable-sicstus-sd): Don't abuse `eval'.
388 (prolog-uncomment-region): Use `uncomment-region' when available.
389 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
390 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
391 of int-to-char and char-to-int.
392 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
394 2011-01-11 Stefan Bruda <stefan@bruda.ca>
396 * progmodes/prolog.el: Replace by a whole new file.
398 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
400 * subr.el (eval-after-load): Fix timing for features (bug#7769).
401 (declare-function, undefined, insert-for-yank)
402 (replace-regexp-in-string): Follow checkdoc's recommendations.
404 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
406 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
407 refreshing the diary buffer.
409 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
411 * allout.el: Add 2011 to the file copyright.
412 (allout-encrypt-string): Prevent encryption from adding an extra
413 newline at the end of the topic body.
414 (allout-version): Increment to 2.3.
416 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
418 * net/dbus.el (dbus-unregister-service): Complete doc.
419 Fix call of dbus-error signal.
420 (dbus-register-property): Use `dont-register' keyword.
422 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
424 * net/dbus.el (dbus-unregister-service): Translate returned
425 integer into a symbol.
426 (dbus-register-property): Use `dbus-register-service' to do the
429 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
431 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
432 Suggested by Joakim Verona.
434 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
436 * wid-edit.el (visibility): Replace :on-image and :off-image
437 widget properties with :on-glyph and :off-glyph, for consistency
438 with the `visibility' widget.
439 (widget-toggle-value-create, widget-visibility-value-create):
440 Merge into a single function `widget-toggle-value-create'.
442 * cus-edit.el (custom-variable-value-create, custom-visibility)
443 (custom-face-edit-value-create, custom-face-value-create):
444 Replace :on-image and :off-image widget properties with :on-glyph and
445 :off-glyph, for consistency with the `visibility' widget.
447 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
449 * net/ldap.el (ldap-search-internal): Don't use eval.
451 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
453 * subr.el (read-char-choice): Use read-key.
455 * custom.el (custom-safe-themes): Rename from
456 custom-safe-theme-files. Add :risky tag.
457 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
458 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
460 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
462 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
463 from Search and add a label to Undo.
465 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
466 inappropriate buttons and adding :vert-only tags.
468 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
469 removal of Help tool-bar button. Remove Undo button for space.
471 * info.el (info-tool-bar-map): Add :vert-only tags.
473 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
475 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
476 image backend support. Either of them is fine.
478 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
480 * subr.el (y-or-n-p): Doc fix.
482 * custom.el (custom-safe-theme-files): New defcustom.
483 (custom-theme-load-confirm): New function.
484 (load-theme): Load theme using `load', confirming with
485 custom-theme-load-confirm if necessary.
487 * subr.el (read-char-choice): New function, factored out from
488 dired-query and hack-local-variables-confirm.
490 * dired-aux.el (dired-query):
491 * files.el (hack-local-variables-confirm): Use it.
493 * dired-aux.el (dired-compress-file):
494 * files.el (abort-if-file-too-large, find-alternate-file)
495 (set-visited-file-name, write-file, backup-buffer)
496 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
497 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
498 Use new format string args for y-or-n-p and yes-or-no-p.
500 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
502 * progmodes/compile.el (compilation-error-regexp-alist-alist)
503 [gcc-include]: Tighten file name match, add match for column
505 [gnu]: Remove unused group.
507 2011-01-08 Glenn Morris <rgm@gnu.org>
509 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
511 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
513 2011-01-07 Sam Steingold <sds@gnu.org>
515 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
516 the `explicit-shell-file-name' because that is the
517 non-interactive shell.
519 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
521 * subr.el (y-or-n-p): Accept format string args.
523 2011-01-07 Glenn Morris <rgm@gnu.org>
525 * Makefile.in (EMACSOPT): Add --no-site-lisp.
527 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
529 * allout.el (allout-back-to-current-heading): Ensure return to
530 the visible containing topic, rather than a collapsed one.
531 (allout-view-change-hook): Remove hook that was deprecated long ago.
532 (allout-exposure-change-hook): Remove documentation remarks
533 concerning removed allout-view-change-hook.
534 (allout-flag-region): Remove invocation of and documentation
535 remarks concerning allout-view-change-hook.
537 2011-01-06 Glenn Morris <rgm@gnu.org>
539 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
540 (vc-bzr-annotate-extract-revision-at-line):
541 Handle authors with embedded spaces. (Bug#7792)
543 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
545 * doc-view.el (doc-view-image-width): New variable.
546 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
547 backend for PNG images, and do dynamic rescaling instead of
548 reconverting the whole doc.
550 2011-01-05 Glenn Morris <rgm@gnu.org>
552 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
554 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
556 * allout.el: Reconcile with changes in line movement behavior for
557 long text lines that cross more than a single physical window
558 line, ie when truncate-lines is nil.
559 (allout-next-visible-heading): Provide for change in line-move
560 behavior on long lines when truncate-lines is nil. In that case,
561 line-move can wind up on the same textual line when it moves to
562 the next window line, and moving to the bullet position after the
563 move yields zero advancement. Add logic to detect and compensate
564 for the lack of progress.
565 (allout-current-topic-collapsed-p): move-end-of-line respect for
566 field boundaries is different when operating with body lines
567 shorter than window width versus ones greater than window width,
568 which can yield false negatives in this function. Avoid
569 difference by applying move-end-of-line while field-text-motion is
572 2011-01-04 Glenn Morris <rgm@gnu.org>
574 * textmodes/rst.el (rst-compile-toolsets):
575 Add pdf and s5 to option alist.
577 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
579 * net/dbus.el (dbus-register-property): Add optional parameter
580 dont-register-service. Updated docstring accordingly.
582 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
584 * textmodes/rst.el (rst-compile-pdf-preview)
585 (rst-compile-slides-preview): Remove extra line.
587 2011-01-04 Glenn Morris <rgm@gnu.org>
589 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
590 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
591 default to `prog' without a .py extension.
592 (rst-compile-pdf-preview, rst-compile-slides-preview):
593 Use program names from rst-compile-toolsets, rather than hard-coding.
594 (rst-portable-mark-active-p): Fix presumed typo.
596 2011-01-02 Eli Zaretskii <eliz@gnu.org>
598 * term/w32-win.el (dynamic-library-alist): Set up correctly for
599 libpng versions both before and after 1.4.0. (Bug#7716)
601 2011-01-02 Eli Zaretskii <eliz@gnu.org>
603 * time.el (display-time-mode): Mention display-time-interval in
604 the doc string. (Bug#7713)
606 2011-01-02 Kenichi Handa <handa@m17n.org>
608 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
609 condition-case and return an error message string if something
611 (rmail-show-mime): Adjust for the above change. Insert the
612 header by rmail-mime-insert-header.
614 2011-01-02 Kenichi Handa <handa@m17n.org>
616 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
617 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
618 (rmail-mime-mbox-buffer)
619 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
620 (rmail-mime-entity): Argument changed. All codes handling an
621 entity object are changed.
622 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
624 (rmail-mime-entity-children, rmail-mime-entity-handler)
625 (rmail-mime-entity-tagline): New functions.
626 (rmail-mime-message-p): New function.
627 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
628 (rmail-mime-entity-segment, rmail-mime-next-item)
629 (rmail-mime-previous-item, rmail-mime-shown-mode)
630 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
631 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
632 (rmail-mime-insert-tagline, rmail-mime-insert-header):
634 (rmail-mime-text-handler): Call rmail-mime-insert-text.
635 (rmail-mime-insert-decoded-text): New function.
636 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
637 (rmail-mime-insert-image): Argument changed. Caller changed.
638 (rmail-mime-image): Call rmail-mime-toggle-hidden.
639 (rmail-mime-set-bulk-data): New funciton.
640 (rmail-mime-insert-bulk): Argument changed.
641 (rmail-mime-multipart-handler): Return t.
642 (rmail-mime-process-multipart): Argument changed.
643 Handle "multipart/alternative" here.
644 (rmail-mime-process): Argument changed.
645 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
646 (rmail-mime-insert): Argument changed. Handle raw display mode.
647 (rmail-mime): Argument changed. Handle toggling of raw display
649 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
650 rmail-mime-view-buffer.
651 (rmail-insert-mime-forwarded-message): Likewise.
652 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
654 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
655 non-nil, handle the header in rmail-show-mime-function.
657 2011-01-02 Leo <sdl.web@gmail.com>
659 * help-fns.el (describe-variable): Fix previous change.
661 2011-01-02 Juri Linkov <juri@jurta.org>
663 * isearch.el (isearch-lazy-highlight-error): New variable.
664 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
665 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
666 to the current value of `isearch-error' (Bug#7468).
668 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
670 * help-fns.el (describe-variable): Don't emit trailing whitespace
673 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
675 * textmodes/rst.el (rst-compile-pdf-preview)
676 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
678 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
680 * emulation/edt-mapper.el: Override mapping of function keys so
681 that the later call to read-key-sequence works.
683 2011-01-02 Eli Zaretskii <eliz@gnu.org>
685 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
686 Unix EOLs. (Bug#7589)
688 2011-01-02 Leo <sdl.web@gmail.com>
690 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
691 if point is not behind eshell-last-output-end (Bug#7585).
693 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
695 * files.el (file-local-variables-alist):
696 Make permanent-local (bug#7767).
698 2011-01-02 Glenn Morris <rgm@gnu.org>
700 * version.el (emacs-copyright): Set short copyright year to 2011.
702 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
704 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
705 an existing temp buffer. (Bug#7746)
707 2011-01-02 Glenn Morris <rgm@gnu.org>
709 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
710 multiple addresses. (Bug#7760)
712 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
714 * allout.el (allout-auto-fill): Do not infinitely recurse - use
715 do-auto-fill if everything points back to allout-auto-fill.
716 (allout-mode-deactivate-hook): Declare obsolete, in favor of
717 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
719 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
721 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
724 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
726 * doc-view.el (doc-view-set-doc-type): New function refactored
728 (doc-view-fallback-mode): New function.
729 (doc-view-mode): Use it.
730 (doc-view-mode-maybe): New function that checks if doc-view-mode
731 can be used and falls back to the next best mode otherwise.
733 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
734 DVI, OpenDocument, and MS Office files.
736 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
738 * emacs-lisp/rx.el (rx-syntax): Fix typo.
740 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
742 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
743 on a copy of auto-mode-alist, because that deletes with side
746 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
748 * doc-view.el (doc-view-mode, doc-view-toggle-display):
749 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
750 fallback instead of hard coding fundamental mode.
752 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
754 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
755 Office) files also for searching.
757 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
759 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
760 Office) files. Not yet enabled via auto-mode-list.
761 (doc-view-unoconv-program): New custom variable.
762 (doc-view-mode-p): Handle new odf document type.
763 (doc-view-odf->pdf): New conversion function.
764 (doc-view-convert-current-doc): Call it for odf files.
765 (doc-view-mode): Recognize newly supported file extensions.
767 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
769 * net/tramp.el (tramp-default-method-alist)
770 (tramp-default-user-alist)
771 (tramp-local-host-regexp, tramp-prefix-domain-format)
772 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
779 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
780 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
782 2010-12-29 Karl Fogel <kfogel@red-bean.com>
784 * saveplace.el (save-place-alist-to-file): Save list sorted and
785 pretty-printed, so that it is mergeable by line-based text merging,
786 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
788 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
790 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
791 (allout-mode): Argument "toggle" => "force".
792 Refine the docstring.
793 Remove special provisions for reactivation, besides the 'force'
795 Consolidate layout provisions coce directly into the activation
796 condition branch, now that we've removed those provisions.
797 (allout-unload-function): Explicitly activate the mode before
798 deactivating, if it's initially deactivated.
799 (allout-set-buffer-multibyte): Properly prevent byte-compiler
800 warnings for version of function used only where
801 set-buffer-multibyte is unavailable.
803 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
805 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
806 are handled by the menu-bar entries. As before, don't use
807 :visibile to avoid changing the tool-bar.
809 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
811 * net/secrets.el (secrets-delete-alias): New defun.
813 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
815 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
816 methods, otherwise ~/.ssh/config would be ignored.
818 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
820 * emacs-lisp/rx.el: Make it a superset of sregex.
821 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
822 of args, add `regex' alias.
823 (rx-info): Add arg to distinguish head and standalone forms.
824 (rx-check, rx-form): Pass the corresponding arg.
826 (rx-repeat): Make it work for any number of args.
827 (rx-syntax): Make it accept syntax chars as is.
828 * obsolete/sregex.el: Move from emacs-lisp/.
829 * emacs-lisp/re-builder.el: Remove sregex support.
830 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
832 2010-12-25 Eli Zaretskii <eliz@gnu.org>
834 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
835 PRIMARY first, then the clipboard. (Bug#7699)
837 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
839 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
842 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
844 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
845 .emacs.elc (Bug#7530).
847 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
848 image spec (Bug#7480).
850 2010-12-21 Daiki Ueno <ueno@unixuser.org>
852 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
853 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
856 2010-12-20 Leo <sdl.web@gmail.com>
858 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
859 always be performed (Bug#7680).
861 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
863 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
864 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
867 * color.el: Move from gnus/.
869 * vc/diff.el (diff-better-file-name): Function deleted.
870 abbreviating file names causes problems with shell-quote-argument.
871 (diff-no-select): Just use expand-file-name.
873 * tool-bar.el (tool-bar--image-expression): New function.
874 (tool-bar-local-item, tool-bar--image-exp): Use it.
875 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
876 Use :enable instead of :visible to avoid changing the tool-bar
877 configuration unnecessarily.
879 * info.el (info-tool-bar-map): Add separators.
881 2010-12-17 Ken Brown <kbrown@cornell.edu>
883 * loadup.el: Use version numbers in Cygwin build.
885 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
887 * ido.el (ido-file-internal): Ask for confirmation before
888 overwriting an existing file (Bug#1238).
890 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
892 * tool-bar.el (tool-bar-setup): Add separators.
894 * menu-bar.el (featurep): Use menu-bar-separator.
896 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
898 Migrate allout encryption provisions from pgg to epg.
900 * allout.el (allout-toggle-current-subtree-encryption)
901 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
902 defaulting policy and other changes. Change fetch-pass to keymode-cue,
903 for simpler universal argument interpretation.
904 (allout-toggle-subtree-encryption): Adjust docstring to describe
905 changed encryption provisions. Change fetch-pass to keymode-cue, for
906 simpler universal argument interpretation. Remove provisions for
907 handling key type and identity - they'll all be within
908 allout-encrypt-string or epg/epg or even contained all the way in gpg.
909 (allout-encrypt-string): Include keymode-cue, for optionally prompting
910 for keypair recipients (universal argument > 1) and, in addition,
911 associating the specified recipients with the outline (universal
912 argument > 4) using a file local variable setting for
913 'epa-file-encrypt-to'.
914 Require epa, for recipients handling.
915 Change how regexp filtering elements are named.
916 Describe the problem with caching of incorrect symmetric-decryption
918 Use the epa-passphrase-callback-function, in case the user is using
920 Support saving of the selected keypair recipients when invoked with a
922 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
924 Establish epg-context with armoring and default epg-protocol.
925 Remove all passphrase cache, verification, and hinting code.
926 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
927 No longer used, delete.
928 (allout-mode): Adjust docstring to describe changed encryption
929 provisions. Describe the problem with caching of incorrect
930 symmetric-decryption keys.
931 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
932 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
933 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
934 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
937 2010-12-16 Daiki Ueno <ueno@unixuser.org>
939 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
940 key selection prompt; make 'silent as default (Bug#7487).
942 2010-12-16 Leo <sdl.web@gmail.com>
944 * eshell/eshell.el (eshell-directory-name):
945 Use locate-user-emacs-file (Bug#7578).
947 2010-12-15 Glenn Morris <rgm@gnu.org>
949 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
951 2010-12-15 Jari Aalto <jari.aalto@cante.net>
952 Scott Evans <gse@antisleep.com>
954 * rect.el (rectange--default-line-number-format)
955 (rectangle-number-line-callback): New functions.
956 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
958 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
960 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
961 Delete unused variables.
962 (move-to-column-force): Remove function obsolete since 21.2.
964 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
966 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
967 (tramp-handle-insert-file-contents): Do not set permanent-local
970 * net/tramp-cache.el (tramp-persistency-file-name):
971 Use `locate-user-emacs-file' if fboundp.
973 * net/tramp-sh.el (tramp-methods): Add "ksu".
974 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
977 2010-12-14 Glenn Morris <rgm@gnu.org>
979 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
980 (find-tag-marker-ring): Declare.
981 (js-find-symbol): Require etags.
983 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
985 (mail-alias-file): Don't autoload. Doc fix.
986 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
987 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
988 Mark as obsolete, and risky.
989 (mail-setup): Simplify.
991 * mail/mailalias.el (build-mail-aliases): Make it interactive.
992 * mail/sendmail.el (build-mail-aliases): Update autoload.
994 * dired.el (dired-trivial-filenames, dired-chown-program)
995 (dired-auto-revert-buffer): Remove autoload cookies.
996 * mail/sendmail.el (mail-recover-1): Require 'dired.
998 * dired.el (dired-subdir-switches, dired-chown-program)
999 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
1000 Make into defcustoms.
1001 (dired-chown-program): Simplify initialization.
1003 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
1005 2010-12-13 Romain Francoise <romain@orebokech.com>
1007 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
1009 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1011 * net/netrc.el (netrc-point-at-eol): Remove the unused
1012 netrc-point-at-old and netrc-bound-and-true-p bindings.
1013 (netrc-parse): Cache the netrc contents.
1015 2010-12-13 Eli Zaretskii <eliz@gnu.org>
1017 * subr.el (posn-col-row): Evaluate header-line-format in the
1018 context of the POSITION window's buffer.
1020 2010-12-13 Glenn Morris <rgm@gnu.org>
1022 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
1023 (with-silent-modifications): Doc fixes.
1025 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1027 * net/tramp.el (tramp-action-password, tramp-process-actions):
1028 Revert previous from. Use `save-restriction'.
1030 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
1032 * calendar/diary-lib.el (diary-list-sexp-entries):
1033 Handle case of no newline at end of file. (Bug#7536)
1035 2010-12-13 Glenn Morris <rgm@gnu.org>
1037 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
1039 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1041 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
1042 (tramp-process-actions): Do not widen.
1044 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1045 Protect buffer-modified value. (Bug#7557)
1047 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
1049 * log-edit.el (log-edit-changelog-entries):
1050 Regexp quote filename. (Bug#7505)
1052 2010-12-13 Tom Breton <tehom@panix.com>
1054 * cus-edit.el (custom-save-all):
1055 Bind print-length and print-level to nil. (Bug#7581)
1057 2010-12-13 Glenn Morris <rgm@gnu.org>
1059 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
1060 Run hooks to update menu contents. (Bug#7586)
1062 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
1063 file names, for the sake of MS Windows. (Bug#7588)
1065 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1067 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
1068 empty lines without a leading space.
1070 2010-12-13 Leo <sdl.web@gmail.com>
1072 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
1073 while mapping over marks (Bug#6810).
1075 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
1077 * image-dired.el (image-dired-db-file)
1078 (image-dired-temp-image-file, image-dired-gallery-dir)
1079 (image-dired-temp-rotate-image-file): Set default values relative
1080 to image-dired-dir (Bug#7518).
1082 2010-12-13 Lawrence Mitchell <wence@gmx.li>
1084 * format.el (format-decode-run-method): Pass args FROM and TO, not
1085 point-min and point-max, to shell-command-on-region (Bug#7488).
1087 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
1089 * frame.el (blink-cursor-mode): Make default t for ns.
1091 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1093 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1095 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
1097 * comint.el (comint-dynamic-list-input-ring)
1098 (comint-dynamic-complete-filename)
1099 (comint-replace-by-expanded-filename)
1100 (comint-dynamic-simple-complete)
1101 (comint-dynamic-list-filename-completions)
1102 (comint-dynamic-list-completions): Doc fix (Bug#7499).
1104 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
1107 2010-12-13 Martin Rudalics <rudalics@gmx.at>
1109 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
1112 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
1114 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
1117 2010-12-13 Eli Zaretskii <eliz@gnu.org>
1119 * files.el (file-relative-name): Handle UNC file names on
1120 DOS/Windows. (Bug#4674)
1122 2010-12-13 Daiki Ueno <ueno@unixuser.org>
1124 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1125 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
1126 (epg-context-set-passphrase-callback): Mention that the callback
1127 is not called when used with GnuPG 2.x.
1129 2010-12-13 Glenn Morris <rgm@gnu.org>
1131 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
1132 Ensure ps-footer-font-size-internal is initialized.
1133 Call ps-get-page-dimensions before trying to use ps-font-for-text.
1135 2010-12-13 Kenichi Handa <handa@m17n.org>
1137 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
1138 within condition-case.
1139 (rmail-show-mime): Don't use condition-case.
1140 (rmail-search-mime-message): New function.
1141 (rmail-search-mime-message-function): Set to
1142 rmail-search-mime-message.
1144 2010-12-13 Leo <sdl.web@gmail.com>
1146 * ido.el (ido-common-initialization): New function. (bug#3274)
1148 (ido-completing-read): Call it.
1150 2010-12-12 Karl Fogel <kfogel@red-bean.com>
1152 * bookmark.el (bookmark-name-from-full-record): Rename back to
1153 this original name from `bookmark-name-from-record' reverting part
1154 of rev 102609 / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
1155 As Drew Adams pointed out, there was no reason to cause churn for
1156 third-party callers.
1158 2010-12-12 Alan Mackenzie <acm@muc.de>
1160 * progmodes/cc-engine.el (c-forward-type): Before scanning a
1161 template arglist, check that the current language supports this.
1163 2010-12-11 Glenn Morris <rgm@gnu.org>
1165 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
1166 state of the file matches. (Bug#7544)
1167 (vc-bzr-register, vc-bzr-checkin)
1168 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
1169 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
1171 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
1173 2010-12-11 Karel Klíč <kklic@redhat.com>
1175 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
1177 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1179 Derive from prog-mode, use derived-mode-p, and fix up various
1180 minor style issues in lisp/progmodes.
1182 * progmodes/vhdl-mode.el (vhdl-mode):
1183 * progmodes/verilog-mode.el (verilog-mode):
1184 * progmodes/vera-mode.el (vera-mode):
1185 * progmodes/sql.el (sql-mode):
1186 * progmodes/scheme.el (scheme-mode):
1187 * progmodes/perl-mode.el (perl-mode):
1188 * progmodes/octave-inf.el (inferior-octave-mode):
1189 * progmodes/autoconf.el (autoconf-mode):
1190 * progmodes/m4-mode.el (m4-mode):
1191 * progmodes/inf-lisp.el (inferior-lisp-mode):
1192 * progmodes/idlwave.el (idlwave-mode):
1193 * progmodes/icon.el (icon-mode):
1194 * progmodes/idlw-help.el (idlwave-help-mode):
1195 * progmodes/dcl-mode.el (dcl-mode):
1196 * progmodes/idlw-shell.el (idlwave-shell-mode):
1197 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
1198 (ebrowse-member-mode, ebrowse-electric-position-mode):
1199 Use define-derived-mode.
1201 * progmodes/xscheme.el (exit-scheme-interaction-mode)
1202 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
1203 (xscheme-debugger-mode-p, xscheme-send-string-1):
1204 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
1205 (tcl-load-file, tcl-restart-with-file):
1206 * progmodes/ps-mode.el (ps-run-running):
1207 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
1208 * progmodes/js.el (js--get-all-known-symbols):
1209 * progmodes/inf-lisp.el (inferior-lisp-proc):
1210 * progmodes/idlwave.el (idlwave-beginning-of-statement)
1211 (idlwave-template, idlwave-update-buffer-routine-info)
1212 (idlwave-update-current-buffer-info)
1213 (idlwave-get-routine-info-from-buffers, idlwave-choose)
1214 (idlwave-scan-class-info, idlwave-fix-keywords)
1215 (idlwave-list-buffer-load-path-shadows):
1216 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
1217 (idlwave-toolbar-remove):
1218 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
1219 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
1220 (idlwave-shell-menu-def):
1221 * progmodes/idlw-complete-structtag.el
1222 (idlwave-prepare-structure-tag-completion):
1223 * progmodes/gud.el (gud-set-buffer):
1224 * progmodes/f90.el (f90-backslash-not-special):
1225 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
1227 * progmodes/xscheme.el (xscheme-start)
1228 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
1229 * progmodes/which-func.el (which-function):
1230 * progmodes/vhdl-mode.el (vhdl-set-style):
1231 * progmodes/verilog-mode.el (verilog-set-compile-command)
1232 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
1233 (verilog-set-define, verilog-auto-reeval-locals):
1234 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
1235 * progmodes/simula.el (simula-mode):
1236 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
1237 * progmodes/python.el (python-check, python-mode):
1238 * progmodes/prolog.el (prolog-mode-variables):
1239 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
1240 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
1241 * progmodes/delphi.el (delphi-mode):
1242 * progmodes/cc-styles.el (c-setup-paragraph-variables):
1243 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
1244 (c-font-lock-init): Move make-local-variable to their setq.
1246 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
1247 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
1249 * progmodes/sh-script.el (sh-require-final-newline): Remove.
1250 (sh-set-shell): Don't set require-final-newline since it's already done
1252 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
1253 since we never set it.
1254 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
1255 Use read-string and standard prompt.
1256 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
1257 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
1258 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
1259 (meta-common-mode-map): Rename from meta-mode-map.
1260 Remove C-m binding, which is a user preference, not mode specific.
1261 (meta-common-mode): New major mode; replace meta-common-initialization.
1262 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
1263 around with font-lock.
1264 * progmodes/etags.el (select-tags-table-mode):
1265 Derive from special-mode.
1266 * progmodes/octave-mod.el (octave-mode):
1267 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
1268 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
1269 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
1270 Let define-derived-mode do its job.
1271 * progmodes/cpp.el (cpp-edit-mode-map):
1272 Move initialization into declaration.
1273 (cpp-edit-mode): Use define-derived-mode.
1274 (cpp-edit-load): Use derived-mode-p.
1275 * progmodes/mixal-mode.el (mixal-mode):
1276 * progmodes/f90.el (f90-mode):
1277 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
1278 require-final-newline since prog-mode does it already.
1279 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
1280 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
1281 * progmodes/antlr-mode.el: Require cc-mode upfront.
1282 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
1284 (antlr-directory-dependencies, antlr-show-makefile-rules):
1286 (antlr-language-option): Don't assume point-min==1.
1287 (antlr-mode): Use define-derived-mode.
1288 * progmodes/ada-mode.el: Use derived-mode-p.
1289 (ada-mode): Use define-derived-mode.
1290 Use hack-local-variables-hook.
1292 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1294 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
1295 (texinfo-mode): Don't disable adaptive-fill-mode.
1296 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
1297 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
1298 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
1299 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
1300 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
1301 (texinfo-insert-@quotation, texinfo-insert-@samp)
1302 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
1303 (texinfo-insert-@uref): Use define-skeleton.
1304 (texinfo-insert-@-with-arg): Delete.
1306 2010-12-10 Eli Zaretskii <eliz@gnu.org>
1308 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
1309 nil, do quote archive member names. (Bug#6144)
1311 2010-12-10 Glenn Morris <rgm@gnu.org>
1313 * files.el (diff-no-select): Declare.
1315 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
1316 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
1318 * comint.el (comint-input-ring-file-name): Doc fix.
1320 2010-12-09 Eli Zaretskii <eliz@gnu.org>
1322 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
1324 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
1325 Use them instead of `nil' and `>', respectively.
1326 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
1328 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
1329 and menu-bar-positive-p instead of `nil' and `>', respectively.
1332 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1334 * whitespace.el (whitespace-newline-mode): Code fix.
1336 2010-12-09 Glenn Morris <rgm@gnu.org>
1338 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
1339 Rename functions without commas, update callers.
1341 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
1343 * whitespace.el (whitespace-cleanup-region):
1344 Clean up spaces before tabs. (Bug#7582)
1346 2010-12-08 Karl Fogel <kfogel@red-bean.com>
1348 * bookmark.el: Adjust parameter names and doc strings to resolve
1349 confusion over whether "bookmark" meant a bookmark name or a
1350 bookmark record. Along the way, shorten one function's name for
1351 similar reasons. (Issue #7548)
1352 (bookmark-name-from-record): New name for
1353 `bookmark-name-from-full-record'. All callers changed.
1354 (bookmark-get-bookmark, bookmark-get-bookmark-record)
1355 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
1356 (bookmark-get-annotation, bookmark-set-annotation)
1357 (bookmark-get-filename, bookmark-set-filename)
1358 (bookmark-get-position, bookmark-set-position)
1359 (bookmark-get-front-context-string, bookmark-set-front-context-string)
1360 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
1361 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
1362 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
1363 Rename `bookmark' parameter to `bookmark-name-or-record', to
1364 clearly show its role, and shorten or adjust doc strings accordingly.
1365 (bookmark-set-name): Same, and pass the parameter directly to
1366 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
1367 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
1368 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
1369 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
1370 and in some cases shorten doc string accordingly.
1371 (bookmark-rename): Change `old' and `new' parameters to `old-name'
1372 and `new-name', and adjust an internal variable to avoid confusion.
1373 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
1374 parameter in doc string.
1376 2010-12-08 Glenn Morris <rgm@gnu.org>
1378 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
1379 from gdb's history file. (Bug#7575)
1381 * mail/emacsbug.el (report-emacs-bug):
1382 Try to handle some other mail clients.
1384 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1386 * files.el (dir-locals-collect-variables): Don't let errors stop us.
1387 Use string-prefix-p.
1388 (file-name-version-regexp): New var.
1389 (file-name-sans-versions):
1390 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
1391 (jka-compr-get-compression-info): Use dolist.
1392 (jka-compr-compression-info-list): Don't bother specifying
1393 version/backup regexps.
1395 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
1397 * simple.el (just-one-space): Make argument n default to 1 if
1400 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1402 * electric.el (electric-indent-post-self-insert-function):
1403 Delete trailing newlines even if we don't reindent.
1405 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1407 * minibuffer.el (completion-at-point): Remove the `arg'.
1408 * bindings.el (complete-symbol): Move back from minibuffer.el.
1410 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1412 * simple.el (just-one-space): Delete newlines for negative arg.
1414 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1416 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
1417 (ansi-color-filter-apply): Simplify.
1418 (ansi-color-apply): Use `font-lock-face' rather than `face'.
1420 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1422 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1424 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
1426 * dired.el (dired-use-ls-dired): Set default to a special
1427 "unspecified" value.
1428 (dired-insert-directory): When called the first time, check
1429 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
1431 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
1433 * replace.el: Add "collect" feature to occur.
1434 (occur-collect-regexp-history): New var.
1435 (occur-read-primary-args): Return a replace string for nlines,
1437 (occur): Extend the meaning of nlines.
1439 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1441 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
1442 (which-func-update-1): Distinguish symbols from strings.
1443 (which-function): Stay within 80 columns.
1445 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1447 * subr.el (with-demoted-errors): Distinguish symbols from strings.
1449 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
1451 (comment-style): Use comment-styles's docs to describe values.
1453 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
1455 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
1456 and ns-show-prefs (Bug#7535).
1458 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
1459 bindings (Bug#7535).
1461 2010-12-03 Glenn Morris <rgm@gnu.org>
1463 * nxml/nxml-mode.el: Require rng-nxml.
1464 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
1465 Remove declarations.
1467 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
1468 * nxml/rng-nxml.el, nxml/rng-valid.el:
1469 Remove leading `*' from defcustom docs.
1471 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
1472 (normal-top-level-add-to-load-path, tty-handle-args):
1473 Convert comments to basic doc-strings.
1475 * net/browse-url.el (browse-url-url-at-point)
1476 (browse-url-default-browser): Remove autoload cookies.
1478 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1479 Remove more undefined cl functions.
1481 * vc/diff.el (diff-sentinel): Make new arguments optional.
1482 * ibuf-ext.el (diff-sentinel): Update declaration.
1484 2010-12-03 Daiki Ueno <ueno@unixuser.org>
1486 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1487 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
1488 (epg-context-set-passphrase-callback): Mention that the callback
1489 is not called when used with GnuPG 2.x.
1491 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
1493 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
1494 (tramp-file-name-port): Check also for `tramp-default-port'.
1495 (tramp-get-connection-name): New defun.
1496 (tramp-get-connection-process): Use it.
1497 (tramp-debug-message): Extend function exclude list.
1498 (tramp-drop-volume-letter): Fix doc string.
1500 * net/tramp-cmds.el: Remove solved todo item.
1504 * net/tramp-gvfs.el:
1506 * net/tramp-imap.el:
1507 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
1508 and `tramp-default-user-alist', respectively.
1510 * net/tramp-gw.el (tramp-gw-open-connection):
1511 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
1513 * net/tramp-imap.el (tramp-imap-make-iht): Use just
1514 `tramp-file-name-port'.
1516 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
1517 and "psftp". Exchange "%k" marker with options.
1518 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
1519 Compute size of link target.
1520 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
1521 `tramp-current-*' up due to gateway methods. Optimze computing of
1522 copy arguments. Use `tramp-get-connection-name' and
1523 `tramp-get-connection-buffer'. Improve debug messages.
1524 (tramp-compute-multi-hops): Remove port determination.
1525 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
1527 * net/trampver.el: Update release number.
1529 2010-12-02 Glenn Morris <rgm@gnu.org>
1531 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1532 Avoid infinite loop over windows. (Bug#7492)
1534 * progmodes/flymake.el (flymake-check-file-limit):
1535 Allow nil to mean "no limit".
1536 (flymake-check-patch-master-file-buffer): Update for above change.
1537 Allow a .tex file-name extension to be optional.
1538 (flymake-master-tex-init): Also match \include statements.
1540 2010-11-30 Sam Steingold <sds@gnu.org>
1542 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
1543 (nxml-parent-document-set): A function to set `nxml-parent-document'.
1544 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
1545 (nxml-mode-hook): Remove `defcustom' (auto-defined by
1546 define-derived-mode').
1547 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
1548 users who want to call `nxml-parent-document-set'.
1550 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1552 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
1553 stand-alone lines, since that is handled by log-edit-match-to-eoh
1556 2010-11-27 Eduard Wiebe <usenet@pusto.de>
1558 * dired.el (dired-get-filename): Replace backslashes with slashes
1559 in file names on MS-Windows, needed by `locate'. (Bug#7308)
1560 * locate.el (locate-default-make-command-line): Don't consider
1561 drive letter and root directory part of
1562 `directory-listing-before-filename-regexp'. (Bug#7308)
1563 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
1565 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1567 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
1568 of :smie-open/close-alist.
1569 (smie-next-sexp): Make it accept a "start token" as argument.
1570 (smie-indent-keyword): Be careful not to misidentify tokens that span
1571 more than one line, as empty lines. Add argument `token'.
1573 2010-11-27 Kenichi Handa <handa@m17n.org>
1575 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
1576 multipart subtypes, insert all as usual.
1578 * mail/rmail.el: Require rfc2047.
1580 2010-11-27 Kenichi Handa <handa@m17n.org>
1582 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
1583 (rmail-mime-entity-disposition)
1584 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
1585 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
1586 (rmail-mime-save): Handle the case that the button's `data' is a
1588 (rmail-mime-insert-text): New function.
1589 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
1590 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
1591 (rmail-mime-insert-bulk): New function mostly copied from the old
1592 rmail-mime-bulk-handler.
1593 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
1594 (rmail-mime-process-multipart): New function mostly copied from
1595 the old rmail-mime-multipart-handler.
1596 (rmail-mime-show): Just call rmail-mime-process.
1597 (rmail-mime-process): New function mostly copied from the old
1599 (rmail-mime-insert-multipart, rmail-mime-parse)
1600 (rmail-mime-insert, rmail-show-mime)
1601 (rmail-insert-mime-forwarded-message)
1602 (rmail-insert-mime-resent-message): New functions.
1603 (rmail-insert-mime-forwarded-message-function): Set to
1604 rmail-insert-mime-forwarded-message.
1605 (rmail-insert-mime-resent-message-function): Set to
1606 rmail-insert-mime-resent-message.
1608 * mail/rmailsum.el: Require rfc2047.
1609 (rmail-header-summary): Handle multiline Subject: field.
1610 (rmail-summary-line-decoder): Change the default to
1611 rfc2047-decode-string.
1613 * mail/rmail.el (rmail-enable-mime): Change the default to t.
1614 (rmail-mime-feature): Change the default to `rmailmm'.
1615 (rmail-quit): Delete the specifal code for rmail-enable-mime.
1616 (rmail-display-labels): Likewise.
1617 (rmail-show-message-1): Check rmail-enable-mime, and use
1618 rmail-show-mime-function for a MIME message. Decode the headers
1619 according to RFC2047.
1621 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1623 * progmodes/which-func.el (which-func-imenu-joiner-function):
1624 Return a string, as expected.
1625 (which-function-mode): Make sure we stop any previous timer before
1628 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
1630 * net/tramp.el (tramp-default-method-alist)
1631 (tramp-default-user-alist, tramp-default-proxies-alist):
1632 Adapt custom options type. (Bug#7445)
1634 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1636 * progmodes/python.el: Add Ipython support (Bug#5390).
1637 (python-shell-prompt-alist)
1638 (python-shell-continuation-prompt-alist): New options.
1639 (python--set-prompt-regexp): New function.
1640 (inferior-python-mode, run-python, python-shell):
1641 Require ansi-color. Use python--set-prompt-regexp to set the comint
1642 prompt based on the Python interpreter.
1643 (python--prompt-regexp): New var.
1644 (python-check-comint-prompt)
1645 (python-comint-output-filter-function): Use it.
1646 (run-python): Use a pipe (Bug#5694).
1648 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1650 * progmodes/python.el (run-python): Doc fix.
1651 (python-keep-current-directory-in-path): New var (Bug#7454).
1653 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1655 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1656 Prompt user before actually printing.
1658 2010-11-27 Glenn Morris <rgm@gnu.org>
1660 * startup.el (package-enable-at-startup, package-initialize):
1661 Remove unnecessary declarations.
1663 2010-11-27 Eli Zaretskii <eliz@gnu.org>
1665 * international/characters.el (glyphless-char-display-control):
1666 Exclude newline and TAB from the c0-control group.
1668 2010-11-27 Glenn Morris <rgm@gnu.org>
1670 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
1671 (expand-mail-aliases): Remove unnecessary autoload.
1673 * allout.el (allout-command-prefix, allout-mode-map): Declare.
1675 * shell.el (shell-dir-cookie-re): Move definition before use.
1677 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1678 Replace undefined CL functions.
1680 2010-11-26 Eli Zaretskii <eliz@gnu.org>
1682 * simple.el (prog-mode): Set bidi-paragraph-direction to
1685 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
1687 2010-11-26 Glenn Morris <rgm@gnu.org>
1689 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
1690 diary-outlook-formats can be sensitive to calendar-date-style.
1691 (diary-outlook-formats): Simplify the default setting.
1692 (diary-from-outlook-internal): Pass subject and body as arguments.
1693 Use dolist rather than dotimes. Don't save the diary buffer.
1694 (diary-from-outlook-gnus, diary-from-outlook-rmail):
1695 Pass subject and body as explicit arguments to the -internal function.
1697 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1699 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
1700 parsing them. This makes mailto:...?subject=foo\nbar work.
1702 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1704 * vc/diff.el (diff): Fix last change.
1706 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
1708 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
1709 (pcase--dontcare-upats): New var.
1710 (pcase-let, pcase-let*): Generate better code.
1711 Accept the same bodies as `let'.
1712 (pcase-dolist): New macro.
1713 (pcase--trivial-upat-p): New helper function.
1714 (pcase--expand): Strip leading "(let nil" if any.
1716 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
1718 * mail/mailclient.el (browse-url): Require.
1719 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
1720 use the external browser function to send the mail (bug#7469).
1722 * net/browse-url.el (browse-url-browser-function): Revert the
1723 default back to the previous value, since the new value broke
1725 (browse-url-mailto-function): New variable for mailto: URLs.
1726 (browse-url): Use the new variable for mailto: URLs.
1728 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1730 * eshell/esh-cmd.el (eshell-parse-command):
1731 * eshell/esh-arg.el (eshell-parse-arguments):
1732 * eshell/em-script.el (eshell-source-file):
1733 Use with-silent-modifications.
1735 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
1737 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
1738 for a merge location.
1740 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
1741 (vc-bzr-merge-branch): Always prompt.
1742 (vc-bzr-async-command): Use the full branch filename.
1744 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1746 * shell.el (shell): Use current-buffer by default if it's already
1747 a shell mode buffer and its process is dead.
1748 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
1750 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
1752 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1753 Mention that the keywords should be comma separated.
1755 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
1757 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
1758 Accept optional prefix arg meaning to prompt for a command.
1759 (vc-update): Use vc-BACKEND-pull if available. Accept optional
1760 prefix arg meaning to prompt for a command.
1761 (vc-pull): Alias for vc-update.
1763 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
1764 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
1765 (vc-bzr-merge-branch): New functions, implementing merge-branch
1766 and pull operations.
1768 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
1770 * Makefile.in: Fix up last merge.
1772 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
1773 (diff-sentinel): Get them as arguments instead.
1774 (diff-old-file, diff-new-file, diff-extra-args): Remove.
1775 (diff-file-local-copy, diff-better-file-name): New funs.
1776 (diff-no-select): Rename from diff-into-buffer.
1777 Support buffers additionally to files. Move `buf' arg. Don't display buf.
1778 Prefer closures to buffer-local variables.
1779 (diff): Adjust accordingly.
1780 (diff-buffer-with-file): Move from files.el.
1781 * files.el (diff-buffer-with-file): Move to vc/diff.el.
1782 (diff-buffer-internal): Remove.
1783 (diff-buffer-buffer): Remove.
1784 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
1785 the buffer name used, and so as not to mess up windows and frames.
1787 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1789 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
1790 (diff-buffer-internal): New function extracted from diff-buffer-with-file
1791 (diff-buffer-with-file): Use it.
1792 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
1795 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
1797 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
1798 \ref's or \pageref's value as default instead of initial input.
1800 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
1802 * files.el (backup-by-copying-when-mismatch): The default value is
1805 * startup.el (normal-top-level):
1806 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
1807 `backup-by-copying-when-mismatch'.
1809 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
1811 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
1813 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1815 * progmodes/python.el (python-font-lock-keywords):
1816 Highlight top-level augmented assignments (Bug#6445).
1818 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
1820 * term/ns-win.el (ns-right-control-modifier)
1821 (ns-right-command-modifier): Defvar them.
1823 * cus-start.el (all): Add ns-right-control-modifier and
1824 ns-right-command-modifier (Bug#7458).
1826 2010-11-20 Glenn Morris <rgm@gnu.org>
1828 * emacs-lisp/authors.el (authors-ignored-files)
1829 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
1831 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
1833 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
1834 (report-emacs-bug-parse-query-results)
1835 (report-emacs-bug-create-existing-bugs-buffer): Pass through
1836 keywords used for querying the bug database to show them in the
1837 existing bugs buffer.
1839 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
1841 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
1843 * info.el (info-tool-bar-map): Add some :vert-only keywords.
1845 2010-11-20 Eli Zaretskii <eliz@gnu.org>
1847 * international/characters.el (glyphless-char-display-control):
1848 Make it a defcustom, with update-glyphless-char-display as its
1850 (top level): Don't call update-glyphless-char-display.
1852 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
1854 Sync with Tramp 2.2.0.
1856 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
1857 `file-remote-p' (due to compatibility).
1859 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
1860 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
1862 * net/trampver.el: Update release number.
1864 2010-11-20 Eli Zaretskii <eliz@gnu.org>
1866 * faces.el (glyphless-char): Define value for `pc'.
1868 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
1870 Implemented a bug querying mechanism.
1871 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
1872 (report-emacs-bug-create-existing-bugs-buffer)
1873 (report-emacs-bug-parse-query-results)
1874 (report-emacs-bug-query-existing-bugs): New functions.
1876 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
1878 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
1879 a \ref{} or \pageref{} macro, then use its value as initial input.
1881 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
1883 * calc/calc-units.el (math-build-units-table-buffer):
1884 calc/README: Mention that the TeX specific units won't use the
1885 `tex' prefix in TeX mode.
1886 calc/calc-lang.el (math-variable-table): Don't use the `tex'
1887 prefix for units in TeX mode.
1889 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1891 * simple.el (kill-new, kill-append, kill-region):
1892 * comint.el (comint-kill-region): Make the yank-handler argument
1895 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1897 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
1898 that are both openers (resp. closers) and something else.
1899 (smie-grammar): Loosen definition of valid values.
1900 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
1901 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
1902 (smie-indent-after-keyword): Adjust users.
1903 (smie-indent-keyword): Don't indent empty lines.
1905 * vc-hg.el (vc-hg-program): New var.
1906 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
1907 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
1909 2010-11-18 Glenn Morris <rgm@gnu.org>
1911 * emacs-lisp/autoload.el (autoload-find-destination): The function
1912 coding-system-eol-type may return non-numeric values. (Bug#7414)
1914 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
1916 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
1918 2010-11-18 Eli Zaretskii <eliz@gnu.org>
1920 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
1922 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
1924 * textmodes/picture.el (picture-mouse-set-point): Don't use
1925 posn-col-row; explicitly compute the motion based on the posn at
1926 the window-start (Bug#7390).
1928 2010-11-18 Glenn Morris <rgm@gnu.org>
1930 * novice.el (disabled-command-function):
1931 Fix 2009-11-15 change. (Bug#7384)
1933 2010-11-18 Glenn Morris <rgm@gnu.org>
1935 * calendar/calendar.el (diary-iso-date-forms): Make elements
1936 mutually exclusive. (Bug#7377)
1938 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1940 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
1941 when filling the remaining "unconstrained" values.
1943 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1945 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
1948 * files.el (safe-local-variable-p): Gracefully handle errors.
1950 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
1951 Use smie-indent-virtual when indenting relative to an opener.
1952 (smie-rule-separator): Use smie-rule-parent.
1953 (smie-indent-keyword): Consult rules, even for openers at bol.
1954 (smie-indent-comment-close): Try to align closer's content.
1956 2010-11-18 Glenn Morris <rgm@gnu.org>
1958 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
1960 2010-11-18 Glenn Morris <rgm@gnu.org>
1962 * printing.el (pr-menu-bind): Doc fix.
1964 * speedbar.el (speedbar-toggle-images): Doc fix.
1966 * progmodes/python.el (python-shell): Doc fix.
1968 * wid-edit.el (widget-field-use-before-change)
1969 (widget-use-overlay-change): Doc fixes.
1971 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1973 Minor cleanup to improve style.
1974 * textmodes/rst.el (rst-update-section): Use point-marker.
1975 (rst-get-decoration): Eliminate unneeded assignment.
1976 (rst-promote-region, rst-straighten-decorations)
1977 (rst-section-tree, rst-adjust): Use point-marker.
1978 (rst-toc-mode-mouse-goto): Avoid setq.
1979 (rst-shift-region-guts, rst-shift-region-left)
1980 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
1981 (rst-convert-bullets-to-enumeration): Use copy-marker.
1983 * minibuffer.el (completion-fail-discreetly): New var.
1984 (completion--do-completion): Use it.
1986 * electric.el (electric-pair-pairs): New var.
1987 (electric-pair-post-self-insert-function): Use it.
1988 (electric-layout-post-self-insert-function): Don't insert a before
1989 newline unless it's actually needed.
1991 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1993 * progmodes/python.el (run-python): Explain why we remove the current
1994 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
1996 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
1998 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2000 * progmodes/octave-mod.el: Rely on elecric-*-modes.
2001 (octave-mode-map): Don't bind ;, SPC, and LF.
2002 (octave-auto-indent, octave-auto-newline): Remove.
2003 (electric-layout-rules): Declare.
2004 (octave-mode): Set electric-layout-rules.
2005 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
2006 (octave-reindent-then-newline-and-indent, octave-electric-semi)
2007 (octave-electric-space): Remove.
2009 * electric.el (electric-layout-mode): New minor mode.
2010 (electric--after-char-pos): New function.
2011 (electric-indent-post-self-insert-function): Use it.
2012 (electric-layout-rules): New var.
2013 (electric-layout-post-self-insert-function): New function.
2014 (electric-indent-mode): Make them interact better.
2016 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2018 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
2019 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
2020 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
2022 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
2024 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
2025 Make sure to check inside the word (Bug#6761).
2027 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
2029 * startup.el (command-line): If the cursorColor resource is set,
2030 change the cursor face-spec (Bug#7392).
2032 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
2034 The main features of the following allout.el changes are:
2035 - implement user customization for the allout key bindings
2036 - add a customization control by which the user can inhibit use of
2037 a trailing Ctrl-H, so by default it's reserved for use with
2038 describe-prefix-bindings
2039 - adapt to new version of called-interactively-p, while
2040 maintaining backwards compatibility with old version
2041 - fix hotspot navigation so i works properly with meta-modified keys
2043 * allout.el (allout-keybindings, allout-bind-keys)
2044 (allout-keybindings-binding, allout-prefixed-keybindings)
2045 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
2046 (allout-keybindings-list, allout-mode-map-adjustments)
2047 (allout-setup-mode-map): Establish allout-mode keymaps as user
2048 customizable settings, and also establish a customizable setting which
2049 regulates whether or not a trailing control-h is reserved for use with
2050 describe-prefix-bindings - and inhibit it by default, so that control-h
2051 *is* reserved for describe-prefix-bindings unless the user changes it.
2053 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
2054 and accurately between modified and unmodified events, and handle
2055 modified events more comprehensively.
2057 * allout.el (allout-substring-no-properties):
2058 Alias to use or provide version of `substring-no-properties'.
2059 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
2061 * allout.el (allout-next-single-char-property-change):
2062 Alias to use or provide version of `next-single-char-property-change'.
2063 (allout-annotate-hidden, allout-hide-by-annotation):
2064 Use `allout-next-single-char-property-change'.
2066 * allout.el (allout-select-safe-coding-system):
2067 Alias to use or provide version of `select-safe-coding-system'.
2068 (allout-toggle-subtree-encryption):
2069 Use `allout-select-safe-coding-system'.
2071 * allout.el (allout-set-buffer-multibyte):
2072 Alias to use or provide version of `set-buffer-multibyte'.
2073 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
2075 * allout.el (allout-called-interactively-p): Macro for using the
2076 different versions of called-interactively-p identically, depending on
2077 the subroutine's argument signature.
2078 (allout-back-to-current-heading, allout-beginning-of-current-entry):
2079 Use `(interactive "p")' instead of `(called-interactively-p)'.
2081 * allout.el (allout-init, allout-ascend, allout-end-of-level)
2082 (allout-previous-visible-heading, allout-forward-current-level)
2083 (allout-backward-current-level, allout-show-children):
2084 Use `allout-called-interactively-p' instead of `called-interactively-p'.
2086 * allout.el (allout-before-change-handler):
2087 Exempt edits to the (overlaid) character after the allout outline
2088 bullet from edit confirmation prompt.
2090 * allout.el (allout-add-resumptions):
2091 Ensure that it respects correct buffer for keybindings.
2093 * allout.el (allout-beginning-of-line):
2094 Use `allout-previous-single-char-property-change' alias for the sake of
2095 diverse compatibility.
2097 * allout.el (allout-end-of-line):
2098 Use `allout-mark-active-p' to encapsulate respect for mark activity.
2100 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
2102 * frame.el (frame-notice-user-settings): Don't clobber other
2103 user-set parameters when calling face-set-after-frame-default in
2104 response to background-color parameter (Bug#7373).
2106 2010-11-13 Eli Zaretskii <eliz@gnu.org>
2108 * international/characters.el (glyphless-char-display-control):
2109 Rename from glyphless-char-control; all users changed. Doc fix.
2110 Signal an error if display method is not one of the recognized
2113 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
2115 * net/tramp-compat.el (tramp-compat-line-beginning-position)
2116 (tramp-compat-line-end-position): Remove them.
2118 * net/tramp.el (tramp-parse-rhosts-group)
2119 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
2120 (tramp-parse-hosts-group, tramp-parse-passwd-group)
2121 (tramp-parse-netrc-group, tramp-parse-putty-group)
2122 * net/tramp-cmds.el (tramp-append-tramp-buffers)
2123 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
2124 (tramp-sh-handle-file-selinux-context)
2125 (tramp-sh-handle-file-name-all-completions)
2126 (tramp-sh-handle-insert-directory)
2127 (tramp-sh-handle-expand-file-name, tramp-find-executable)
2128 (tramp-wait-for-output, tramp-send-command-and-read)
2129 * net/tramp-smb.el (tramp-smb-read-file-entry)
2130 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
2132 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
2134 (tramp-remote-coding-commands): Add an alternative using "base64
2135 -d -i". This is needed for older base64 versions from GNU
2136 coreutils. Reported by Klaus Reichl
2137 <Klaus.Reichl@thalesgroup.com>.
2139 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
2141 * simple.el (count-words-region): New function.
2143 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2145 * shell.el (shell-dir-cookie-re): New custom variable.
2146 (shell-dir-cookie-watcher): New function.
2148 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
2149 and compilation-mode (bug#7350).
2151 * vc/smerge-mode.el (smerge-refine): Choose better default part to
2152 highlight when one of them is empty.
2154 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
2156 (skeleton-newline): New function.
2157 (skeleton-internal-1): Use it.
2159 * simple.el (open-line): `newline' may strip trailing space.
2161 2010-11-12 Kevin Ryde <user42@zip.com.au>
2163 * international/mule-cmds.el (princ-list): Use mapc.
2165 2010-11-12 Glenn Morris <rgm@gnu.org>
2167 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
2168 Use it to replace all instances of "*Compile-Log*"
2170 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2172 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
2175 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2177 * progmodes/modula2.el: Use SMIE and skeleton.
2178 (m2-mode-syntax-table): (*..*) can be nested.
2179 Add //...\n. Fix paren syntax.
2180 (m2-mode-map): Remove LF and TAB bindings.
2181 (m2-indent): Add safety property.
2182 (m2-smie-grammar): New var.
2183 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
2184 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
2185 (m2-mode): Use define-derived-mode.
2186 (m2-newline, m2-tab): Remove.
2187 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
2188 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
2189 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
2190 (m2-import): Use define-skeleton.
2192 2010-11-11 Glenn Morris <rgm@gnu.org>
2194 * obsolete/lucid.el: Don't warn about any CL functions in this file.
2196 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
2197 (ls-lisp-verbosity): Add custom :set-after property.
2198 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
2199 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
2200 (ls-lisp-insert-directory): Update caller.
2201 (ls-lisp-set-options): New function.
2202 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
2205 * play/landmark.el (lm-prompt-for-move):
2206 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
2208 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
2210 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
2211 (idlwave-study-twins): Prefix dynamic local variable `name'.
2212 (idlwave-routine-twin-compare): Update for above change.
2214 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
2215 Prefix dynamic local variables `name', `kwd', and `link'.
2216 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
2217 * progmodes/idlw-complete-structtag.el
2218 (idlwave-complete-structure-tag-help):
2219 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
2220 (idlwave-complete-sysvar-tag-help)
2221 (idlwave-complete-class-structure-tag-help):
2222 Update for above name changes.
2224 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2226 * net/browse-url.el (browse-url-browser-function): Change the
2227 default to use `browse-url-mail' on mailto: URLs.
2229 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
2231 * emacs-lisp/package.el (package-read-all-archive-contents):
2232 Reset package-archive-contents to nil before re-reading.
2234 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
2236 * textmodes/flyspell.el (flyspell-word): Do not re-check words
2237 already found as misspellings by (flyspell-large-region), just
2238 do highlighting (bug#7322).
2240 2010-11-10 Glenn Morris <rgm@gnu.org>
2242 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
2244 * emulation/edt.el (edt-with-position): New macro.
2245 (edt-find-forward, edt-find-backward, edt-find-next-forward)
2246 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
2247 (edt-paragraph-forward, edt-paragraph-backward): Use it.
2249 * emulation/tpu-extras.el (tpu-with-position): New macro.
2250 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
2252 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
2254 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
2255 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
2256 (texinfo-master-menu, texinfo-insert-node-lines)
2257 (texinfo-multiple-files-update):
2258 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
2259 Use line-beginning-position.
2261 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
2262 No recent Emacs supports system-type `emx'.
2264 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
2265 (ada-command-separator, ada-default-prj-properties)
2266 (ada-find-any-references): Update for above name change.
2268 * dirtrack.el (dirtrack-directory-function)
2269 (dirtrack-canonicalize-function):
2270 * filecache.el (file-cache-completion-ignore-case)
2271 (file-cache-case-fold-search, file-cache-ignore-case):
2272 * term.el (serial-port-is-file-p): Cosmetic change.
2274 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
2275 Remove non-existent `windows-95' system-type.
2276 * dired.el (dired-chown-program): Remove non-existent `linux'
2279 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
2280 (ping-program-options): Remove non-existent `linux' system-type.
2282 * startup.el (package-initialize): Update declaration.
2284 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
2285 (ls-lisp-handle-switches): Use time-less-p.
2286 (ls-lisp-format-time): Use float-time.
2288 * textmodes/remember.el (remember-time-to-seconds): Remove.
2289 (remember-store-in-mailbox): Use float-time.
2291 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
2293 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
2294 never a real function.
2295 (with-no-warnings): Remove compat stub, now unused.
2296 (time-less-p): Doc fix.
2297 (time-to-number-of-days): Simplify.
2299 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
2301 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
2302 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
2303 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
2304 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
2305 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
2307 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
2308 (eshell-shuffle-files, eshell-shorthand-tar-command)
2309 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
2310 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
2311 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
2312 Prefix dynamic local variable `matches'.
2314 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
2315 Prefix dynamic local variable `skeleton'.
2317 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
2319 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
2320 in mail buffer; make yank-action always a command that yanks original
2323 2010-11-09 Glenn Morris <rgm@gnu.org>
2325 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
2327 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2329 * minibuffer.el (minibuffer-completion-help): Specify the end of the
2330 completion field (bug#7211).
2332 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
2333 Fix handling of backslash escapes.
2334 (python-quote-syntax): Adjust accordingly.
2336 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
2338 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
2339 (vc-mtn-workfile-branch): Adjust to new output format.
2341 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2343 * international/mule-cmds.el (princ-list): Mark as obsolete.
2345 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2347 * emacs-lisp/smie.el: New package.
2349 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
2351 * files.el (backup-by-copying-when-mismatch):
2352 Set `permanent-local' property.
2354 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2355 `permanent-local' property for `backup-by-copying-when-mismatch'.
2357 2010-11-09 Eli Zaretskii <eliz@gnu.org>
2359 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
2361 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
2363 * progmodes/verilog-mode.el (verilog-insert-one-definition)
2364 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
2365 AUTOINOUT for SV style multidimensional arrays, bug294.
2366 Reported by Eric Mastromarchi.
2367 (verilog-preprocess): Use with-current-buffer and
2368 font-lock-fontify-buffer to cleanup style issues.
2370 2010-11-09 Glenn Morris <rgm@gnu.org>
2372 * locate.el (locate, locate-mode): Doc fixes.
2374 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
2376 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
2377 user for confirmation.
2378 (server-force-stop): Use it.
2379 (server-start): Use server-force-stop for kill-emacs-hook, to
2380 avoid user interaction while killing Emacs.
2382 2010-11-09 Glenn Morris <rgm@gnu.org>
2384 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
2385 (meta-indent-line): Simplify.
2387 * vc/emerge.el (emerge-line-number-in-buf):
2388 * textmodes/ispell.el (ispell-region):
2389 * textmodes/fill.el (current-fill-column):
2390 * progmodes/xscheme.el (xscheme-send-current-line):
2391 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
2392 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
2393 * progmodes/sh-script.el (sh-handle-prev-do):
2394 * progmodes/meta-mode.el (meta-indent-line):
2395 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
2397 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
2398 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
2399 * progmodes/fortran.el (fortran-looking-at-if-then):
2400 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
2401 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
2402 (cperl-find-pods-heres):
2403 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
2404 * net/quickurl.el (quickurl-list-insert):
2405 * net/ldap.el (ldap-search-internal):
2406 * net/eudc.el (eudc-expand-inline):
2407 * mail/sendmail.el (sendmail-send-it):
2408 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
2409 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
2410 (viper-brac-function):
2411 * calc/calc-yank.el (calc-do-grab-region):
2412 * calc/calc-keypd.el (calc-keypad-press):
2413 * term.el (term-move-columns, term-insert-spaces):
2414 * speedbar.el (speedbar-highlight-one-tag-line):
2415 * simple.el (current-word):
2416 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
2417 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
2419 * hippie-exp.el (he-line-beg):
2420 * epa.el (epa--marked-keys):
2421 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
2422 (dired-update-file-line, dired-add-entry, dired-remove-entry)
2423 (dired-relist-entry):
2424 * buff-menu.el (Buffer-menu-buffer):
2425 * array.el (current-line):
2426 * allout.el (allout-resolve-xref)
2427 (allout-latex-verbatim-quote-curr-line):
2428 Replace yet more uses of end-of-line etc with line-end-position, etc.
2430 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2432 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
2433 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
2434 (checkdoc-syntax-table): Initialize in the declaration.
2435 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
2436 the mode on unconditionally.
2438 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
2439 (extent-end-position, extent-start-position): Remove setf method for
2440 non-existing functions (bug#7319).
2442 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2444 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
2445 (smie-precs->prec2): Rename from smie-precs-precedence-table.
2446 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
2447 (smie-prec2->grammar): Rename from smie-prec2-levels.
2448 (smie-grammar): Rename from smie-op-levels.
2449 (smie-indent--hanging-p): Rename from smie-hanging-p.
2450 (smie-rule-hanging-p): New alias.
2451 (smie-indent--bolp): Rename from smie-bolp.
2452 (smie-indent--hanging-p): New alias.
2453 (smie--token): New dynamically bound variable.
2454 (smie-indent--parent): New function.
2455 (smie-rule-parent-p): Use it; rename from smie-parent-p.
2456 (smie-rule-next-p): Rename from smie-next-p.
2457 (smie-rule-prev-p): Rename from smie-prev-p.
2458 (smie-rule-sibling-p, smie-rule-parent)
2459 (smie-indent--separator-outdent, smie-rule-separator): New functions.
2460 (smie-rule-separator-outdent): New var.
2461 (smie-indent--rule): Merge with smie-indent--column.
2462 (smie-indent-forward-token, smie-indent-backward-token):
2463 Also recognize close parens.
2464 (smie-indent-keyword): Don't use smie-indent--column any more.
2465 (smie-indent-after-keyword): Ignore closers by default.
2466 (smie-indent-line): Use with-demoted-errors.
2467 * progmodes/octave-mod.el (octave-smie-grammar):
2468 Rename from octave-smie-op-levels.
2469 (octave-smie-rules): Adjust to new behavior.
2470 * progmodes/prolog.el (prolog-smie-grammar):
2471 Rename from prolog-smie-op-levels.
2473 2010-11-07 Glenn Morris <rgm@gnu.org>
2475 * eshell/esh-util.el (subst-char-in-string)
2476 (directory-files-and-attributes): These compatibility definitions are
2477 not needed on any version of Emacs since at least 21.4.
2479 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
2480 (verilog-get-end-of-line): Remove.
2481 (verilog-within-string, verilog-re-search-forward-substr)
2482 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
2483 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
2484 Use point-at-bol, point-at-eol.
2485 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
2487 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
2488 (electric-pascal-terminate-line, pascal-set-auto-comments)
2489 (pascal-indent-paramlist, pascal-indent-declaration)
2490 (pascal-get-lineup-indent, pascal-func-completion)
2491 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
2492 Use point-at-bol, point-at-eol.
2493 * progmodes/flymake.el (flymake-line-beginning-position)
2494 (flymake-line-end-position): Remove.
2495 (flymake-highlight-line): Use point-at-bol, point-at-eol.
2496 * eshell/esh-util.el (line-end-position, line-beginning-position):
2497 Remove compat definitions.
2499 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2501 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
2502 Use line-end-position.
2504 * emacs-lisp/chart.el (chart-zap-chars):
2505 * play/decipher.el (decipher-set-map):
2506 * progmodes/ada-mode.el (ada-get-current-indent)
2507 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
2508 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
2509 * progmodes/ada-xref.el (ada-initialize-runtime-library)
2510 (ada-get-all-references):
2511 * progmodes/cperl-mode.el (cperl-electric-paren)
2512 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
2513 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
2514 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
2515 (cperl-word-at-point-hard):
2516 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
2517 (idlwave-shell-filename-string, idlwave-shell-batch-command)
2518 (idlwave-shell-display-line):
2519 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
2520 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
2521 * progmodes/js.el (js--re-search-forward-inner)
2522 (js--re-search-backward-inner):
2523 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
2524 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
2525 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
2526 * textmodes/flyspell.el (flyspell-process-localwords):
2527 * textmodes/ispell.el (ispell-buffer-local-parsing)
2528 (ispell-buffer-local-dict, ispell-buffer-local-words):
2529 Use point-at-bol and point-at-eol.
2531 * speedbar.el (speedbar-generic-item-info)
2532 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
2533 (speedbar-add-indicator, speedbar-check-vc-this-line)
2534 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
2535 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
2536 Replace more uses of end-of-line etc with line-end-position.
2538 2010-11-06 Glenn Morris <rgm@gnu.org>
2540 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
2541 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
2542 (texinfo-delete-existing-pointers, texinfo-find-pointer)
2543 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
2544 (texinfo-multiple-files-update):
2545 * textmodes/table.el (table--probe-cell-left-up)
2546 (table--probe-cell-right-bottom):
2547 * textmodes/picture.el (picture-tab-search):
2548 * textmodes/page-ext.el (pages-copy-header-and-position)
2549 (pages-directory-for-addresses):
2550 * progmodes/vera-mode.el (vera-get-offset):
2551 * progmodes/simula.el (simula-calculate-indent):
2552 * progmodes/python.el (python-pdbtrack-overlay-arrow):
2553 * progmodes/prolog.el (end-of-prolog-clause):
2554 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
2555 * progmodes/icon.el (indent-icon-exp):
2556 * progmodes/etags.el (tag-re-match-p):
2557 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
2558 * progmodes/ebnf2ps.el (ebnf-begin-file):
2559 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
2560 (dcl-save-local-variable):
2561 * play/life.el (life-setup):
2562 * play/gametree.el (gametree-looking-at-ply):
2563 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
2564 * mail/sendmail.el (mail-mode-auto-fill):
2565 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
2566 * emacs-lisp/edebug.el (edebug-overlay-arrow):
2567 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
2568 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
2569 (woman-tab-to-tab-stop, WoMan-warn-ignored):
2570 * type-break.el (type-break-file-keystroke-count):
2571 * term.el (term-replace-by-expanded-history-before-point)
2572 (term-skip-prompt, term-extract-string):
2573 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
2574 (speedbar-contract-line, speedbar-toggle-line-expansion)
2575 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
2576 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
2577 * sort.el (sort-skip-fields):
2578 * skeleton.el (skeleton-internal-list):
2579 * simple.el (line-move-finish, line-move-to-column):
2580 * shell.el (shell-forward-command):
2581 * misc.el (copy-from-above-command):
2582 * makesum.el (double-column):
2583 * ebuff-menu.el (electric-buffer-update-highlight):
2584 * dired.el (dired-move-to-end-of-filename):
2585 * dframe.el (dframe-popup-kludge):
2586 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
2587 * arc-mode.el (archive-get-lineno):
2588 Use line-end-position and line-beginning-position.
2590 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
2591 (idlwave-study-twins): Prefix dynamic local `class'.
2592 (idlwave-routine-twin-compare): Update for above name change.
2594 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
2595 Use boundp tests to silence compiler. Update for changed name of
2596 bytecomp-filename variable.
2598 * emulation/viper-cmd.el (viper-read-string-with-history):
2599 Prefix dynamic local `initial'.
2600 (viper-minibuffer-standard-hook): Update for above name change.
2602 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
2603 (elint-init-form): Update for above name change.
2605 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
2606 local variables `cbeg' and `cend' a prefix.
2607 (mail-extr-voodoo): Update for above name change.
2609 * textmodes/reftex-toc.el (reftex-toc-do-promote)
2610 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
2611 (reftex-toc-promote-action): Doc fix.
2613 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
2614 `prompt', `data' a prefix.
2615 (reftex-select-post-command-hook, reftex-select-callback)
2616 (reftex-select-mouse-accept, reftex-select-read-cite):
2617 Update for above name changes.
2619 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
2620 `refstyle' to reftex-refstyle.
2621 (reftex-offer-label-menu): Update for above name change.
2622 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
2623 `refstyle' name change.
2625 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
2626 with with-current-buffer.
2627 (diff, template): Give dynamic local variables a prefix.
2628 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
2629 (emerge-line-number-in-buf): Update for above name change.
2630 (emerge-combine-versions-internal): Rename local `template' to
2631 emerge-combine-template.
2632 (emerge-combine-versions-edit): Update for above name change.
2634 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
2636 * textmodes/reftex-cite.el
2637 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
2638 entries with whitespace after \bibitem.
2639 (reftex-create-bibtex-file): Match entries containing numbers and
2640 symbol constituents. Make sure that entries with whitespace at
2641 various places are found.
2643 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
2645 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
2647 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
2649 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
2651 2010-11-05 Glenn Morris <rgm@gnu.org>
2653 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
2654 (woman2-roff-buffer): Give local variable `request' a prefix.
2655 (woman0-macro): Rename argument `request' in the same way.
2656 (woman-request): New name for `request' dynamic variable.
2657 (woman-unquote, woman-forward-arg): Update for above name change.
2658 (woman1-roff-buffer): Give local variable `unquote' a prefix.
2659 (woman1-unquote): New name for `unquote' dynamic variable.
2660 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
2661 (woman-translations): Rename from `translations'. No longer global.
2662 (woman2-tr, woman-translate): Update for above name change.
2663 (woman-translate): Check for bound variable.
2664 (woman2-roff-buffer): Give local variable `translations' a prefix.
2666 * play/doctor.el: Give all local variables a prefix. Update callers.
2667 (doc$, doctor-put-meaning): Use backquote.
2669 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
2670 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
2672 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
2673 variables bytes, ptr, op a prefix.
2674 (disassemble-offset): Update for above change.
2676 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
2678 * emacs-lisp/package.el (package-unpack): Remove no-op.
2679 (package--builtins, package--dir): Doc fix.
2680 (package-activate-1, package-activate, package-install)
2681 (package-compute-transaction): Fix error message.
2682 (package-delete): Use delete-directory. Omit system packages.
2683 (package-initialize): Set package-alist to nil first.
2684 (package-menu-mark-delete, package-menu-mark-install): Don't add
2685 symbols that are inconsistent with the package state.
2686 (package-menu-execute): Perform deletions and installations as
2687 single batch operations.
2689 2010-11-03 Glenn Morris <rgm@gnu.org>
2691 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
2692 (props): Remove unnecessary declaration.
2694 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
2695 set-process-query-on-exit-flag.
2697 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
2698 (reftex-toc-do-promote): Remove unused local `mpos'.
2699 (reftex-toc-restore-region): Make `mpos' local to this function.
2701 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
2703 * play/landmark.el (lm-losing-threshold): Correct spelling.
2704 (lm-human-plays): Use new name.
2706 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
2707 (gomoku-human-plays): Use new name.
2709 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
2710 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
2711 (gomoku-score-trans-table, gomoku-winning-threshold)
2712 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
2714 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
2716 * emacs-lisp/package.el: Don't put built-in packages in
2717 package-alist, to avoid loading inefficiencies.
2718 (package-built-in-p): Make VERSION optional, and treat it as a
2719 minimum acceptable version.
2720 (package-activate): Search separately for built-in packages.
2721 Emit a warning if a dependency fails.
2722 (define-package): Handle most common case, where there is no
2723 obsolete package, first.
2724 (package-compute-transaction): Print required version in error.
2725 (package--initialized): New variable.
2726 (list-packages): Use it.
2727 (package-initialize): Optional arg NO-ACTIVATE. Don't put
2728 built-in packages in packages-alist; keep it separate.
2729 Set package--initialized.
2730 (describe-package): Avoid activating packages as a side-effect.
2731 Search separately for built-in packages.
2732 (describe-package-1): Handle the case where an elpa package is
2733 simultaneously built-in and available/installed.
2734 (package-installed-p, package--generate-package-list):
2735 Search separately for built-in packages.
2736 (package-load-descriptor): Doc fix.
2738 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2740 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2741 Handle __DATA__ and __END__.
2743 2010-11-02 Noah Friedman <friedman@splode.com>
2745 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
2746 nil, do not ask to recompile files that are not already compiled,
2747 and do not recompile them.
2749 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
2751 * emacs-lisp/package.el (package-initialize): Ensure that
2752 obsoleted built-in packages are not in package-activated-list
2754 (describe-package-1): Make the "installed" status override
2757 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2759 * subr.el (version-separator, version-regexp-alist): Remove '*'
2761 (version-list-<=, version<=, version=): Doc fix.
2763 2010-11-01 Kenichi Handa <handa@m17n.org>
2765 * faces.el (glyphless-char): Inherit underline for tty.
2767 2010-11-01 Kenichi Handa <handa@m17n.org>
2769 Implement various display methods for glyphless characters.
2771 * international/characters.el (char-acronym-table): New variable.
2772 (glyphless-char-control): New variable.
2773 (update-glyphless-char-display): New funciton.
2775 * faces.el (glyphless-char): New face.
2777 2010-11-01 Glenn Morris <rgm@gnu.org>
2779 * calendar/holidays.el (general-holidays, oriental-holidays)
2780 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
2781 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
2782 the definitions of their targets.
2784 * emacs-lisp/smie.el (smie): New custom group.
2785 (smie-blink-matching-inners, smie-indent-basic): Add :group.
2787 * faces.el (xw-defined-colors, x-setup-function-keys):
2788 * mouse-sel.el (x-select-text):
2789 * term/w32console.el (x-setup-function-keys): Update declarations.
2791 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
2793 * textmodes/ispell.el (comment-add): Declare.
2795 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
2798 * info.el (finder-keywords-hash, package-alist): Declare.
2800 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
2802 * finder.el (finder-compile-keywords): Don't use intern-soft,
2803 since package names may not yet exist in the obarray.
2805 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
2807 * vc/vc-arch.el (vc-arch-checkin):
2808 * vc/vc-cvs.el (vc-cvs-checkin):
2809 * vc/vc-mtn.el (vc-mtn-checkin):
2810 * vc/vc-rcs.el (vc-rcs-checkin):
2811 * vc/vc-sccs.el (vc-sccs-checkin):
2812 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
2813 since 2010-04-21 commit by Stefan Monnier.
2815 2010-11-01 Glenn Morris <rgm@gnu.org>
2817 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
2819 * startup.el (package-enable-at-startup, package-initialize):
2822 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
2825 2010-10-31 Julien Danjou <julien@danjou.info>
2827 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
2828 (byte-recompile-directory):
2829 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
2830 Use `byte-recompile-file'.
2832 2010-10-31 Glenn Morris <rgm@gnu.org>
2834 * cus-start.el: Handle standard values via a keyword.
2835 Only set version property if specified.
2836 (cursor-in-non-selected-windows, menu-bar-mode)
2837 (tool-bar-mode, show-trailing-whitespace):
2838 Do not specify standard values.
2839 (transient-mark-mode, temporary-file-directory): Use :standard.
2841 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
2843 * term/x-win.el (x-get-selection-value): New function that gets
2844 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
2846 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
2848 * net/tramp.el (tramp-handle-insert-file-contents): For root,
2849 preserve owner and group when editing files. (Bug#7289)
2851 2010-10-31 Glenn Morris <rgm@gnu.org>
2853 * speedbar.el (speedbar-mode):
2854 * play/fortune.el (fortune-in-buffer, fortune):
2855 * play/gomoku.el (gomoku-mode):
2856 * play/landmark.el (lm-mode):
2857 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
2858 Replace inappropriate uses of toggle-read-only. (Bug#7292)
2860 * select.el (x-selection): Mark it as an obsolete alias.
2862 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2864 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
2865 major-mode (bug#7284).
2867 2010-10-31 Glenn Morris <rgm@gnu.org>
2869 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
2870 rather than just an unused variable that inherits from the real one.
2872 2010-10-31 Alan Mackenzie <acm@muc.de>
2874 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
2875 This fixes bug #7185.
2877 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
2879 * startup.el (command-line): Search for package directories, and
2880 don't load package.el if none are found.
2882 * emacs-lisp/package.el (describe-package, list-packages):
2883 Call package-initialize if it has not been called yet.
2885 2010-10-30 Alan Mackenzie <acm@muc.de>
2887 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
2888 which fontifies the tail of an enum.
2889 (c-basic-matchers-after): Insert a call to the above new function.
2890 This fixes bug #7264.
2892 2010-10-30 Glenn Morris <rgm@gnu.org>
2894 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
2895 tool-bar-mode, transient-mark-mode. (Bug#7306)
2896 Include the :set property in the dumped Emacs.
2898 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2900 SMIE: change indent rules format, improve smie-setup.
2901 * emacs-lisp/smie.el (smie-precs-precedence-table)
2902 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
2903 Mark them pure so the tables gets built at compile time.
2904 (smie-bnf-precedence-table): Store the closer-alist in the table.
2905 (smie-prec2-levels): Preserve the closer-alist.
2906 (smie-blink-matching-open): Be more forgiving in case of indentation.
2907 (smie-hanging-p): Rename from smie-indent--hanging-p.
2908 (smie-bolp): Rename from smie-indent--bolp.
2909 (smie--parent, smie--after): New dynamic vars.
2910 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
2911 (smie-indent-rules): Remove.
2912 (smie-indent--offset-rule): Remove fun.
2913 (smie-rules-function): New var.
2914 (smie-indent--rule): New fun.
2915 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
2916 (smie-indent-exps): Use it.
2917 (smie-setup): Setup paren blinking; add keyword args for token
2918 functions; extract closer-alist from op-levels.
2919 (smie-indent-debug-log): Remove var.
2920 (smie-indent-debug): Remove fun.
2921 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
2922 (prolog-smie-rules): New fun to replace it.
2923 (prolog-mode-variables): Simplify.
2924 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
2925 it's setup automatically.
2926 (octave-smie-indent-rules): Remove.
2927 (octave-smie-rules): New fun to replace it.
2928 (octave-mode): Simplify.
2930 2010-10-29 Glenn Morris <rgm@gnu.org>
2932 * files.el (temporary-file-directory): Remove (already defined in C).
2933 * cus-start.el: Add temporary-file-directory.
2935 * abbrev.el (abbrev-mode):
2936 * composite.el (auto-composition-mode):
2937 * menu-bar.el (menu-bar-mode):
2938 * simple.el (transient-mark-mode):
2939 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
2940 that they do not define the associated variables twice.
2941 * simple.el (transient-mark-mode): Remove defvar.
2942 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
2943 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
2944 Handle multiple groups, and also custom-delayed-init-variables.
2945 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2947 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2949 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
2950 (pcase-if): Add one minor optimization.
2951 (pcase-split-equal): Rename from pcase-split-eq.
2952 (pcase-split-member): Rename from pcase-split-memq.
2953 (pcase-u1): Add strings to the member optimization.
2954 Add `guard' variant of predicates.
2955 (pcase-q1): Add string patterns.
2957 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2959 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
2961 2010-10-28 Glenn Morris <rgm@gnu.org>
2963 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2964 Move menu-bar related settings to ../menu-bar.el.
2965 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2966 Move ns-specific settings here from term/ns-win.el.
2968 * simple.el (x-selection-owner-p): Remove unused declaration.
2970 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2972 * minibuffer.el (completion-cycling): New var (bug#7266).
2973 (minibuffer-complete, completion--do-completion):
2974 Use completion--flush-all-sorted-completions.
2975 (minibuffer-complete): Only cycle if completion-cycling is set.
2976 (completion--flush-all-sorted-completions): Unset completion-cycling.
2977 (minibuffer-force-complete): Set completion-cycling.
2978 (completion-all-sorted-completions): Move declaration before first use.
2980 2010-10-28 Leo <sdl.web@gmail.com>
2982 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
2983 which changes the order of matches seen by users (bug#7231).
2985 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
2987 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2988 Don't confuse -omega as "-o mega".
2990 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
2992 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
2993 (log-edit-author): New dynamic var.
2994 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
2995 to return the author if different from committer.
2996 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
2998 * play/landmark.el: Adjust commenting convention.
2999 (lm-nil-score): Rename from nil-score.
3000 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
3001 (OOOOscore): Move into a let in lm-score-trans-table.
3002 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
3004 * electric.el (electric-indent-chars): Autoload.
3005 * progmodes/octave-mod.el (octave-mode):
3006 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
3007 (ruby-mode-abbrev-table): Merge initialization and declaration.
3009 2010-10-27 Glenn Morris <rgm@gnu.org>
3011 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
3014 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
3016 * term/ns-win.el: Restore require of cl when compiling.
3017 (menu-bar-final-items): Remove non-existent `windows' menu.
3018 (ns-handle-nxopen): Optionally handle the temp-case.
3019 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
3020 (ns-insert-file, ns-find-file): Use `pop'.
3022 2010-10-26 Glenn Morris <rgm@gnu.org>
3024 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
3026 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
3028 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
3030 * term/common-win.el (x-setup-function-keys): Remove most of the
3031 keymappings. Comment on the remaining ones.
3033 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
3035 * server.el (server-port): New option. (Bug#854)
3036 (server-start): Use server-port.
3038 2010-10-26 Glenn Morris <rgm@gnu.org>
3040 * term/ns-win.el (ns-version-string): Remove unused declaration.
3041 (ns-invocation-args): Change to x-invocation-args.
3042 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
3043 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
3044 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
3045 Use x-invocation-args instead of ns-invocation-args.
3046 (ns-initialize-window-system, handle-args-function-alist):
3047 Use x-handle-args instead of ns-handle-args.
3048 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
3049 * startup.el (command-line-ns-option-alist): Replace
3050 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
3051 ns-handle-iconic with the x- equivalents.
3053 * term/common-win.el (x-select-enable-clipboard):
3054 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
3056 * term/ns-win.el: No need to require cl when compiling.
3057 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
3058 (xw-defined-colors): Use the common-win definitions.
3059 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
3060 (ns-handle-iconic): Make it an alias for x-handle-iconic.
3061 * term/common-win.el (x-select-text, x-alternatives-map)
3062 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
3063 * loadup.el [ns]: Load common-win.
3065 2010-10-26 Daiki Ueno <ueno@unixuser.org>
3067 * epa-mail.el (epa-mail-encrypt): Handle local-part only
3068 recipients; expand mail aliases (Bug#7280).
3070 2010-10-25 Glenn Morris <rgm@gnu.org>
3072 * term/common-win.el (x-handle-switch): Simplify with pop.
3073 Optionally handle numeric switches.
3074 (x-handle-numeric-switch): Just call x-handle-switch.
3075 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
3076 (x-handle-name-switch, x-handle-display, x-handle-args):
3079 * term/ns-win.el: Do not require easymenu.
3080 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
3081 <spell>: Move adjustments to menu-bar.el.
3082 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
3083 <separator-undo, spell>: Move ns-win's adjustments here.
3084 * loadup.el [ns]: Do not load easymenu.
3086 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3088 * image.el (image-checkbox-checked, image-checkbox-unchecked):
3091 * startup.el (fancy-startup-tail): Instead of using inline images,
3092 refer to image files from etc/.
3094 * wid-edit.el (checkbox): Likewise.
3095 (widget-image-find): Center image specs.
3097 2010-10-24 Glenn Morris <rgm@gnu.org>
3099 * term/ns-win.el (x-select-text): Doc fix.
3100 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
3101 (x-select-text): Move to term/common-win.
3102 * term/w32-win.el (xw-defined-colors): Move to common-win.
3103 * term/x-win.el (xw-defined-colors, x-alternatives-map)
3104 (x-setup-function-keys, x-select-text): Move to common-win.
3105 * term/common-win.el (x-select-text, x-alternatives-map)
3106 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
3109 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
3111 * net/mairix.el (mairix-searches-mode-map):
3112 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
3114 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
3116 * verilog-mode.el (verilog-directive-re): Make this variable
3117 auto-built for efficiency of execution and updating.
3118 (verilog-extended-complete-re): Support 'pure' fucntion & task
3119 declarations (these have no bodies).
3120 (verilog-beg-of-statement): General cleanup to enable support of
3121 'pure' fucntion & task declarations (these have no bodies).
3122 These efforts together fix Verilog bug210 from veripool; which was also
3123 noticed by Steve Pearlmutter.
3124 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
3125 (verilog-directive-nest-re, verilog-set-auto-endcomments):
3126 Support `elsif. Reported by Shankar Giri.
3127 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
3128 attribute handling for lining up declarations and assignments.
3129 (verilog-beg-of-statement-1): Fix issue where continued declaration
3130 is indented differently if it is after a begin..end clock.
3131 (verilog-in-attribute-p, verilog-skip-backward-comments)
3132 (verilog-skip-forward-comment-p): Support proper treatment of
3133 attributes by indent code. Reported by Jeff Steele.
3134 (verilog-in-directive-p): Fix comment to correctly describe function.
3135 (verilog-backward-up-list, verilog-in-struct-region-p)
3136 (verilog-backward-token, verilog-in-struct-p)
3137 (verilog-in-coverage-p, verilog-do-indent)
3138 (verilog-pretty-declarations): Use verilog-backward-up-list as
3139 wrapper around backward-up-list inorder to properly skip comments.
3140 Reported by David Rogoff.
3141 (verilog-property-re, verilog-endcomment-reason-re)
3142 (verilog-beg-of-statement, verilog-set-auto-endcomments)
3143 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
3144 of if). Reported by Max Bjurling and
3145 (verilog-calc-1): Fix for clocking block in modport
3146 declaration. Reported by Brian Hunter.
3148 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
3150 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
3151 (verilog-gate-keywords, verilog-read-sub-decls)
3152 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
3153 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
3154 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
3155 (verilog-read-decls): Fix spaces in V2K module parameters causing
3156 mis-identification as interfaces, bug287.
3157 (verilog-read-decls): Fix not treating "parameter string" as a
3158 parameter in AUTOINSTPARAM.
3159 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
3160 treating `elsif similar to `endif inside AUTOSENSE.
3161 (verilog-do-indent): Implement correct automatic or static task or
3162 function end comment highlight. Reported by Steve Pearlmutter.
3163 (verilog-font-lock-keywords-2): Fix highlighting of single
3164 character pins, bug264. Reported by Michael Laajanen.
3165 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
3166 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
3167 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
3168 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
3169 (verilog-pretty-expr): Fix interactive arguments, bug272.
3170 Reported by Mark Johnson.
3171 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
3172 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
3173 bug269. Suggested by Gary Delp.
3174 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
3175 (verilog-preprocessor, verilog-set-compile-command):
3176 Create verilog-preprocess and verilog-preprocessor to show
3177 preprocessed output.
3178 (verilog-get-beg-of-line, verilog-get-end-of-line)
3179 (verilog-modi-file-or-buffer, verilog-modi-name)
3180 (verilog-modi-point, verilog-within-string): Move defmacro's
3181 before first use to avoid warning. Reported by Steve Pearlmutter.
3182 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
3183 (verilog-colorize-region, verilog-highlight-buffer)
3184 (verilog-highlight-includes, verilog-highlight-modules)
3185 (verilog-highlight-region, verilog-mode): Rename colorize to
3186 highlight to match other packages. Disable module highlighting,
3187 as received speed complaints, reenable for experimentation only
3188 using new verilog-highlight-modules.
3189 (verilog-read-decls): Fix regexp stack overflow in very large
3190 AUTO_TEMPLATEs, bug250.
3191 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
3192 (verilog-scan): Create verilog-save-buffer-state to standardize
3193 making insignificant changes that shouldn't call hooks.
3194 (verilog-save-no-change-functions, verilog-save-scan-cache)
3195 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
3196 Create verilog-save-no-change-functions to wrap verilog-scan
3197 preservation, and fix to work with nested preserved calls.
3198 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
3199 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
3200 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
3201 (verilog-submit-bug-report): Update variable list to be complete.
3202 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
3203 breaking on-the-fly font-locking.
3204 (verilog-colorize-buffer, verilog-colorize-include-files)
3205 (verilog-colorize-include-files-buffer, verilog-colorize-region)
3206 (verilog-load-file-at-mouse, verilog-load-file-at-point)
3207 (verilog-mode, verilog-read-inst-module-matcher): With point on a
3208 AUTOINST cell instance name, middle mouse button now finds-file on
3209 it. Suggested by Brad Dobbie.
3210 (verilog-alw-get-temps, verilog-auto-reset)
3211 (verilog-auto-sense-sigs, verilog-read-always-signals)
3212 (verilog-read-always-signals-recurse): Fix loop indexes being
3213 AUTORESET. AUTORESET now assumes any variables in the
3214 initialization section of a for() should be ignored.
3215 Reported by Dan Dever.
3216 (verilog-error-font-lock-keywords)
3217 (verilog-error-regexp-emacs-alist)
3218 (verilog-error-regexp-xemacs-alist): Fix error detection of
3219 Cadence HAL, reported by David Asher. Repair drift between the
3220 three similar error variables.
3221 (verilog-modi-lookup, verilog-modi-lookup-cache)
3222 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
3223 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
3224 Fix slow verilog-auto expansion on very large files.
3225 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
3226 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
3227 "{1*2{...". Broke in last revision.
3228 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
3229 submodule connections with replications "{#{a},#{b}}".
3231 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
3233 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
3234 Fix typo in docstring.
3236 2010-10-24 Kenichi Handa <handa@m17n.org>
3238 * face-remap.el (text-scale-adjust): Call read-event with a proper
3241 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3243 * emacs-lisp/unsafep.el: Don't mark functions that display
3244 messages as safe. Suggested by Johan Bockgård.
3246 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3248 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
3249 Turn comments into docstrings.
3251 * minibuffer.el (completion--replace): Move point where it belongs
3252 when there's a common suffix (bug#7215).
3254 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3256 Merge read-color and facemenu-read-color (Bug#7242).
3258 * faces.el (read-color): Use the completion code from
3259 facemenu-read-color. Require match in completion. Doc fix.
3261 * facemenu.el (facemenu-read-color): Alias for read-color.
3262 (facemenu-set-foreground, facemenu-set-background):
3265 * frame.el (set-background-color, set-foreground-color)
3266 (set-cursor-color, set-mouse-color, set-border-color):
3269 2010-10-24 Leo <sdl.web@gmail.com>
3271 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
3272 argument of delete-file and delete-directory (Bug#7011).
3274 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3276 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
3279 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
3281 * emacs-lisp/package.el (package--generate-package-list): Make the
3282 *Packages* buffer read-only.
3284 2010-10-24 Alan Mackenzie <acm@muc.de>
3286 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
3287 result of `c-beginning-of-decl-1' between invocations of a lambda
3288 function (Bug #7265).
3290 2010-10-24 Daiki Ueno <ueno@unixuser.org>
3292 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
3293 executable is not available on the system (Bug#7268).
3295 2010-10-24 Glenn Morris <rgm@gnu.org>
3297 * select.el (selection-coding-system, next-selection-coding-system):
3298 Sync doc with C versions.
3300 * w32-vars.el (x-select-enable-clipboard):
3301 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
3302 * term/common-win.el (x-select-enable-clipboard): Move here.
3304 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
3305 definition of C variable.
3307 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
3308 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3309 Don't redefine things that are defined in C.
3310 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
3311 (show-trailing-whitespace, auto-hscroll-mode)
3312 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3313 Set up the appropriate custom properties.
3315 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3318 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
3319 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
3320 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
3321 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
3323 2010-10-23 Glenn Morris <rgm@gnu.org>
3325 * textmodes/flyspell.el (flyspell-mode): If there was an error,
3328 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
3329 Sync docs with C version.
3331 * term/ns-win.el (xw-defined-colors):
3332 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
3334 * term/pc-win.el (x-select-enable-clipboard):
3335 * term/x-win.el (x-select-enable-clipboard):
3336 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
3338 * comint.el (comint-password-prompt-regexp): Make it less vague.
3341 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
3343 * help.el (finder-by-keyword): Remove unnecessary autoload.
3345 2010-10-22 Glenn Morris <rgm@gnu.org>
3347 * loadup.el: Unconditionally load float-sup.
3348 * paren.el (show-paren-delay):
3349 * emacs-lisp/float-sup.el:
3350 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
3351 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
3352 (lazy-lock-stealth-verbose): Assume float support.
3353 * ps-print.el: Assume float support on Emacs.
3354 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
3355 Remove non-float branch.
3357 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
3358 src/Makefile no longer being pre-processed.
3360 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3362 * emacs-lisp/find-func.el (find-library): Use test-completion.
3364 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3366 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
3368 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
3370 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
3371 space in stat format string.
3372 (tramp-send-command): Unset $PS1 when using here documents, in
3373 order not to get several prompts.
3374 (tramp-get-inline-coding): Return `nil' in case of errors.
3376 2010-10-21 Daiki Ueno <ueno@unixuser.org>
3378 * hexl.el (hexl-mode, hexl-mode-exit):
3379 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
3380 (hexl-revert-buffer-function): New function.
3381 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
3383 2010-10-19 Alan Mackenzie <acm@muc.de>
3385 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
3386 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
3387 that these keywords aren't wrongly matched as identifiers.
3389 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
3390 setting of c-new-BEG and c-new-END from c-before-change to
3391 c-after-change. (Bug#7181)
3393 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3395 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
3398 * custom.el (custom-theme-set-variables): Likewise.
3399 (load-theme): Add custom-theme-set-faces and
3400 custom-theme-set-variables to safe-functions while loading.
3401 (custom-enabled-themes): Mark as risky.
3403 2010-10-18 Julien Danjou <julien@danjou.info>
3405 * bindings.el: Remove end dashes in default mode-line-format.
3407 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3409 * bindings.el (global-map): Bind C-d to delete-char and deletechar
3410 to delete-forward-char.
3412 * simple.el (normal-erase-is-backspace-mode): Remap delete to
3413 deletechar, and hence delete-forward-char.
3415 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3417 * repeat.el (repeat): Use read-key (bug#6256).
3419 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3421 * emacs-lisp/unsafep.el: Don't mark functions that display
3422 messages as safe. Suggested by Johan Bockgård.
3424 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3426 * minibuffer.el (completion--replace): Move point where it belongs
3427 when there's a common suffix (bug#7215).
3429 2010-10-19 Kenichi Handa <handa@m17n.org>
3431 * international/characters.el: Add category '|' (word breakable)
3432 to fullwidth characters.
3434 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
3436 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
3437 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
3438 order to make stat results a float. Patch by Andreas Schwab
3439 <schwab@linux-m68k.org>.
3441 2010-10-18 Julien Danjou <julien@danjou.info>
3443 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
3444 hidden by `make-pointer-invisible'.
3446 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3448 * files.el (locate-file-completion-table): Strip non-matching elements
3449 before checking length of list (bug#7238).
3451 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
3453 * custom.el (custom-theme-set-variables): Mark as a safe function.
3454 (load-theme): Check forms using unsafep.
3456 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
3458 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
3460 * textmodes/ispell.el (ispell-aspell-find-dictionary):
3461 Fix aspell data file searching (bug#7230).
3463 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3465 * cus-theme.el (custom-theme--migrate-settings): New var.
3466 (customize-create-theme): Allow editing the `user' theme.
3467 (custom-theme-add-variable, custom-theme-add-var-1)
3468 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
3469 to the front of each variable or face widget.
3470 (custom-theme-write): Save theme settings in the correct order.
3471 Optionally, remove saved settings from user customizations.
3472 (custom-theme-write-variables, custom-theme-write-faces):
3473 Save only the checked widgets.
3474 (customize-themes): Add a link for migrating custom settings.
3476 * custom.el (custom-declare-theme, provide-theme):
3477 Use custom-theme-name-valid-p.
3478 (custom-theme-name-valid-p): Remove checks that are now
3479 unnecessary since themes no longer obey load-path.
3481 * cus-edit.el (custom-variable-value-create): For the simple
3482 style, hide documentation string when hidden.
3484 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3486 * cus-edit.el (custom-variable, custom-face): Combine the
3487 :inhibit-magic and :display-style properties into a single
3488 :custom-style property.
3489 (custom-toggle-hide-variable, custom-toggle-hide-face):
3490 New functions. If hiding an edited value, save it to :shown-value.
3491 (custom-variable-value-create, custom-face-value-create): Use them.
3492 (custom-magic-reset): Allow magic property to be unset.
3494 * custom.el: Custom themes no longer use load-path.
3495 (custom-theme-load-path): New option. Change built-in theme
3497 (custom-enabled-themes): Add custom-theme-load-path dependency.
3498 (custom-theme--load-path): New function.
3499 (load-theme, custom-available-themes): Use it.
3501 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
3502 (customize-themes): Link to custom-theme-load-path variable.
3503 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
3504 :custom-style property.
3506 * themes/*.el: Moved to etc/.
3508 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
3510 * textmodes/reftex-cite.el
3511 (reftex-extract-bib-entries-from-thebibliography): Do not move
3512 point when searching for \bibitem entries. Match entries with
3513 spaces or tabs in front of arguments.
3515 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3517 * cus-theme.el (customize-create-theme): Delete overlays after
3518 erasing. If given a THEME arg, display only the faces of that arg
3519 instead of custom-theme--listed-faces.
3520 (custom-theme-variable-menu, custom-theme-variable-action)
3521 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
3522 (custom-theme-add-variable, custom-theme-add-face): Apply value
3523 from the theme settings, instead of the current value.
3524 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
3525 (custom-theme-visit-theme): Allow calling outside theme buffers.
3526 (custom-theme-merge-theme): Don't enable the theme when merging.
3527 (custom-theme-write-variables, custom-theme-write-faces): Use the
3528 :shown-value properties to save buffer values, not global ones.
3529 (customize-themes): Display a warning about user customizations.
3531 * cus-edit.el (custom-variable-value-create)
3532 (custom-face-value-create): Obey new special properties
3533 :shown-value and :inhibit-magic.
3535 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
3537 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3538 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
3541 2010-10-14 Kenichi Handa <handa@m17n.org>
3543 * mail/rmail.el (rmail-show-message-1): Catch an error of
3544 base64-decode-region and just show an error message (bug#7165).
3546 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
3547 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
3548 a font-spec (bug#7197).
3550 2010-10-14 Glenn Morris <rgm@gnu.org>
3552 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
3554 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
3556 * international/mule.el (define-coding-system):
3557 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3558 * composite.el (compose-region): Fix typo in docstring.
3560 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
3562 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
3563 only after checking the theme-face property.
3565 * faces.el (face-spec-reset-face): Reset all attributes in one
3566 single call to set-face-attribute.
3567 (face-spec-match-p): Make it a defsubst.
3568 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
3569 (x-create-frame-with-faces, tty-create-frame-with-faces)
3570 (tty-set-up-initial-frame-faces): Don't recompute face specs in
3571 frame-set-background-mode, since they are recomputed immediately
3572 afterwards in face-set-after-frame-default.
3573 (face-set-after-frame-default): Minor optimization.
3574 (cursor): Provide non-trivial defface spec.
3576 * custom.el (custom-theme-recalc-face): Simplify.
3578 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
3580 * calc/calc-alg.el (math-var): Rename from `var'.
3581 (math-is-polynomial, math-is-poly-rec): Replace `var'
3584 * calc/calcalg2.el (math-var): Rename from `var'.
3585 (calcFunc-table, math-scan-for-limits): Replace `var'
3588 2010-10-13 Glenn Morris <rgm@gnu.org>
3590 * subr.el (last): Deal with dotted lists (reported in bug#7174).
3592 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
3594 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
3596 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3598 * net/tls.el (tls-program): Remove spurious %s from openssl.
3599 (tls-starttls-switches): Remove starttls hack.
3600 (open-tls-stream): Ditto.
3601 (tls-find-starttls-argument): Ditto.
3603 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
3605 * image.el (image-library-alist): Declare as obsolete alias.
3606 (image-type-available-p): Use `dynamic-library-alist'.
3608 * term/w32-win.el (dynamic-library-alist):
3609 Use instead of `image-library-alist'.
3611 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
3613 * subr.el (last): Make it faster. (Bug#7174)
3615 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
3617 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
3619 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
3621 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
3622 (describe-theme-1): Extract doc from unloaded themes.
3624 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
3626 * themes/tango-theme.el:
3627 * themes/tango-dark-theme.el:
3628 * themes/wheatgrass-theme.el: New files.
3630 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
3632 * cus-theme.el (describe-theme, customize-themes)
3633 (custom-theme-save): New commands.
3634 (custom-new-theme-mode-map): Bind C-x C-s.
3635 (custom-new-theme-mode): Use custom--initialize-widget-variables.
3636 (customize-create-theme): New optional arg THEME.
3637 (custom-theme-revert): Use it.
3638 (custom-theme-visit-theme): Remove dead code.
3639 (custom-theme-merge-theme): Use custom-available-themes.
3640 (custom-theme-write): Make interactive.
3641 (custom-theme-write): Use custom-theme-name-valid-p.
3642 (describe-theme-1, custom-theme-choose-revert)
3643 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
3645 (custom-theme-allow-multiple-selections): New option.
3646 (custom-theme-choose-mode): New major mode.
3648 * custom.el (custom-theme-set-variables): Remove dead code.
3649 Obey custom--inhibit-theme-enable.
3650 (custom--inhibit-theme-enable): New var.
3651 (provide-theme): Obey it.
3652 (load-theme): Replace load with manual read/eval, in order to
3653 check for correctness. Use custom-theme-name-valid-p.
3654 (custom-theme-name-valid-p): New function.
3655 (custom-available-themes): Use it.
3657 * cus-edit.el (custom--initialize-widget-variables): New function.
3658 (Custom-mode): Use it.
3660 * cus-face.el (custom-theme-set-faces): Remove dead code.
3661 Obey custom--inhibit-theme-enable.
3663 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
3665 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
3667 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
3669 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
3671 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
3672 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
3673 (mac-right-option-modifier): New alias for ns-right-option-modifier.
3675 * cus-start.el (all): ns-right-alternate-modifier is new.
3677 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3679 * emacs-lisp/lisp.el (lisp-completion-at-point):
3680 Use emacs-lisp-mode-syntax-table for the whole function.
3682 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
3684 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
3685 instead of font-lock-mode before adding keywords.
3686 Remove hi-lock-mode off code. Remove inhibit hack.
3687 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
3688 non-nil; removed hook inhibit hack.
3690 2010-10-12 Glenn Morris <rgm@gnu.org>
3692 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
3693 (load-path-shadows-find): ... to this.
3694 (list-load-path-shadows): Update for above change.
3696 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
3698 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
3700 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
3701 Fix comment for declare-function.
3703 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
3705 * custom.el (custom-fix-face-spec): New function; code moved from
3706 custom-face-edit-fix-value.
3707 (custom-push-theme): Use it when checking if a face has been
3708 changed outside customize.
3709 (custom-available-themes): New function.
3710 (load-theme): Use it.
3712 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
3714 * custom.el (custom-push-theme): Cleanup (use cond).
3715 (disable-theme): Recompute the saved-face property.
3716 (custom-theme-recalc-face): Follow face alias before setting prop.
3718 * image.el (image-checkbox-checked, image-checkbox-unchecked):
3719 New variables, containing checkbox images.
3721 * startup.el (fancy-startup-tail):
3722 * wid-edit.el (checkbox): Use them.
3724 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
3726 * shell.el (shell-mode-map):
3727 * progmodes/modula2.el (m2-mode-map):
3728 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
3729 * play/mpuz.el (mpuz-mode-map):
3730 * play/landmark.el (lm-mode-map):
3731 * play/decipher.el (decipher-mode-map):
3732 * play/5x5.el (5x5-mode-map):
3733 * net/telnet.el (telnet-mode-map):
3734 * net/quickurl.el (quickurl-list-mode-map):
3735 * net/mairix.el (mairix-searches-mode-map):
3736 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
3737 * net/dig.el (dig-mode-map):
3738 * mail/mspools.el (mspools-mode-map):
3739 * hexl.el (hexl-mode-map):
3740 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
3741 (wordstar-C-o-map, wordstar-C-q-map):
3742 * emacs-lisp/edebug.el (edebug-eval-mode-map):
3743 * emacs-lisp/chart.el (chart-map):
3744 * edmacro.el (edmacro-mode-map):
3745 * erc/erc-list.el (erc-list-menu-mode-map):
3746 * array.el (array-mode-map): Declare and define in one step.
3748 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
3750 2010-10-10 Daiki Ueno <ueno@unixuser.org>
3752 * epa.el (epa-passphrase-callback-function): Display filename
3753 passed as the 3rd arg.
3754 * epa-file.el (epa-file-passphrase-callback-function):
3755 Pass filename to epa-passphrase-callback-function.
3757 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
3759 * cus-edit.el (custom-face-widget-to-spec)
3760 (custom-face-get-current-spec, custom-face-state): New functions.
3761 (custom-face-set, custom-face-mark-to-save)
3762 (custom-face-value-create, custom-face-state-set): Use them.
3764 * cus-theme.el (custom-theme--listed-faces): New var.
3765 (customize-create-theme): Use *Custom Theme* as the buffer name.
3766 Set revert-buffer-function. Optional arg BUFFER. Insert all
3767 faces listed in custom-theme--listed-faces.
3768 (custom-theme-revert): New function.
3769 (custom-theme-add-variable, custom-theme-add-face): Insert at the
3771 (custom-theme-write): Prompt for theme name if empty.
3772 (custom-theme-write-variables): Use dolist.
3773 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
3775 2010-10-09 Alan Mackenzie <acm@muc.de>
3777 Enhance fontification of declarators to take account of the
3778 presence/absence of "typedef".
3780 * cc-engine.el (c-forward-type): New &optional param
3782 (c-forward-decl-or-cast-1): cdr of return value now indicates the
3783 presence of either or both of a "struct"-like keyword and "typedef".
3785 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
3786 fontification of declarators which follow a "}".
3787 (c-font-lock-declarations): Fontify declarators according to the
3788 presence/absence of "typedef".
3790 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
3792 (c-typedef-decl-key): New lang variable built from
3793 c-typedef-decl-kwds.
3795 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
3797 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
3798 since that's too annoying. Move the filter groups commands to
3801 * epa.el (epa-passphrase-callback-function): Say what we're
3802 querying the password for.
3804 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
3805 behaviour, don't bury the ibuffer buffer when visiting other buffers.
3807 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
3809 * cus-edit.el (custom-commands, custom-buffer-create-internal)
3810 (custom-magic-value-create): Pad button tags with spaces.
3811 (custom-face-edit): New variable.
3812 (custom-face-value-create): Determine whether to use the usual
3813 face editor here, instead of using custom-face-selected.
3814 Pass face defaults to custom-face-edit widget.
3815 (custom-face-selected, custom-display-unselected): Delete widgets.
3816 (custom-display-unselected-match): Function removed.
3817 (custom-face-set, custom-face-mark-to-save):
3818 Accept custom-face-edit widgets as the direct widget child.
3820 * wid-edit.el (widget--completing-widget): New var.
3821 (widget-default-complete): Bind it when doing completion.
3822 (widget-string-complete, widget-file-complete): Use it.
3824 2010-10-09 Glenn Morris <rgm@gnu.org>
3826 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
3827 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
3828 (holiday-hebrew-misc): Small simplifications.
3830 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
3832 * net/browse-url.el: Don't require thingatpt, term, dired,
3833 executable, or w3-auto when compiling.
3834 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
3836 (browse-url-text-emacs): Require term.
3838 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
3840 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
3842 2010-10-08 Glenn Morris <rgm@gnu.org>
3844 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
3846 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
3847 (shadows-compare-text-p): Make it an obsolete alias for...
3848 (load-path-shadows-compare-text): ... new name.
3849 (find-emacs-lisp-shadows): Update for above name change.
3850 (load-path-shadows-same-file-or-nonexistent): New name for the old
3851 shadow-same-file-or-nonexistent.
3853 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
3855 * minibuffer.el (completion--some, completion--do-completion)
3856 (minibuffer-complete-and-exit, minibuffer-completion-help)
3857 (completion-basic-try-completion)
3858 (completion-basic-all-completions)
3859 (completion-pcm--find-all-completions): Use lexical-let to
3860 avoid some false matches in variable completion (Bug#7056)
3862 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
3864 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
3866 2010-10-08 Leo <sdl.web@gmail.com>
3868 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
3869 return non-nil if the file exists (Bug#7090).
3871 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3873 * minibuffer.el (completion--replace):
3874 Better preserve markers (bug#7138).
3876 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
3878 * server.el (server-process-filter): Doc fix.
3880 2010-10-08 Drew Adams <drew.adams@oracle.com>
3882 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
3884 2010-10-08 Glenn Morris <rgm@gnu.org>
3886 * vc/ediff-wind.el (ediff-setup-control-frame):
3887 * vc/ediff-ptch.el (ediff-default-backup-extension):
3888 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
3889 (ediff-exec-process): Remove system-types emx, windows-95.
3891 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
3893 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
3895 * cus-edit.el (custom-variable, custom-face): Doc fix.
3896 (custom-face-edit): Add value-create attribute.
3897 (custom-face-edit-value-create)
3898 (custom-face-edit-value-visibility-action): New functions.
3899 Hide unused face attributes by default, and add a visibility toggle.
3900 (custom-face-edit-deactivate): Show empty values with shadow face.
3901 (custom-face-selected): Only use this for face specs with default
3903 (custom-face-value-create): Cleanup.
3905 * wid-edit.el (widget-checklist-value-create): Use dolist.
3906 (widget-checklist-match-find): Make second arg optional.
3908 2010-10-07 Glenn Morris <rgm@gnu.org>
3910 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
3913 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
3914 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
3915 load-path-shadows-mode, update references.
3916 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
3917 Rename variable and button.
3918 (list-load-path-shadows): Update button caller.
3920 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3922 * emacs-lisp/smie.el (smie-bnf-classify): New function.
3923 (smie-bnf-precedence-table): Use it to remember the closers/openers.
3924 (smie-merge-prec2s): Handle those new entries.
3925 (smie-prec2-levels): Only set precedence to nil for actual
3927 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
3928 that is now unnecessary.
3930 2010-10-07 Miles Bader <miles@gnu.org>
3932 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
3934 2010-10-07 Glenn Morris <rgm@gnu.org>
3936 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
3937 (mail-position-on-field): Remove declarations.
3938 (mail-position-on-field): Autoload it.
3939 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
3940 and mail-header-end. Don't require sendmail.
3942 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
3943 (shadow-mode): New mode.
3944 (shadow-find-file): New button.
3945 (list-load-path-shadows): Use shadow-mode and buttons.
3947 * iimage.el (iimage-version): Remove.
3948 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
3949 Turn into defcustoms.
3950 (iimage-mode-map): Give it a doc string.
3952 * calendar/appt.el (appt-activate): Give a warning rather than an error
3953 if there is no diary-file.
3955 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
3957 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3958 Use `tramp-handle-find-backup-file-name'.
3960 2010-10-06 Glenn Morris <rgm@gnu.org>
3962 * font-core.el (font-lock-defaults-alist): Remove variable.
3963 (font-lock-mode): Doc fix.
3964 (font-lock-default-function): Do not consult font-lock-defaults-alist.
3965 * font-lock.el (font-lock-refresh-defaults): Doc fix.
3966 (font-lock-set-defaults): Doc fix.
3967 Do not consult font-lock-defaults-alist.
3969 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
3971 * emacs-lisp/cl.el: No longer provide cl-19.
3973 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
3975 * net/tramp.el (tramp-handle-directory-files-and-attributes)
3976 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
3977 New defuns, taken from tramp-smb.el.
3978 (tramp-coding-system-change-eol-conversion)
3979 (tramp-set-process-query-on-exit-flag): Remove.
3981 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
3982 (tramp-compat-coding-system-change-eol-conversion)
3983 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
3986 * net/tramp-gvfs.el:
3987 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
3988 by `tramp-compat-set-process-query-on-exit-flag'.
3990 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
3991 Use `tramp-handle-directory-files-and-attributes',
3992 `tramp-handle-file-exists-p' and
3993 `tramp-handle-file-newer-than-file-p'.
3994 (tramp-imap-handle-file-exists-p)
3995 (tramp-imap-handle-file-executable-p)
3996 (tramp-imap-handle-file-readable-p)
3997 (tramp-imap-handle-directory-files-and-attributes)
3998 (tramp-imap-handle-file-newer-than-file-p): Remove.
4000 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
4001 by `tramp-compat-set-process-query-on-exit-flag' and
4002 `tramp-coding-system-change-eol-conversion' by
4003 `tramp-compat-coding-system-change-eol-conversion'.
4005 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4006 Use `tramp-handle-directory-files-and-attributes',
4007 `tramp-handle-file-exists-p' and
4008 `tramp-handle-file-newer-than-file-p'.
4009 (tramp-smb-handle-directory-files-and-attributes)
4010 (tramp-smb-handle-file-exists-p)
4011 (tramp-smb-handle-file-newer-than-file-p): Remove.
4012 (tramp-smb-maybe-open-connection):
4013 Replace `tramp-set-process-query-on-exit-flag' by
4014 `tramp-compat-set-process-query-on-exit-flag'.
4016 2010-10-05 Glenn Morris <rgm@gnu.org>
4018 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
4020 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
4022 Continue reorganization of load dependencies. (Bug#7156)
4024 * net/tramp.el (tramp-handle-file-local-copy-hook)
4025 (tramp-delete-temp-file-function): Move down.
4026 (tramp-exists-file-name-handler): Move up.
4027 (tramp-register-file-name-handlers): Simplify autoload.
4028 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
4029 (tramp-handle-directory-files, tramp-handle-dired-uncache)
4030 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
4031 (tramp-handle-file-name-completion)
4032 (tramp-handle-file-name-directory)
4033 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
4034 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
4035 (tramp-handle-find-backup-file-name)
4036 (tramp-handle-insert-file-contents, tramp-handle-load)
4037 (tramp-handle-substitute-in-file-name)
4038 (tramp-handle-unhandled-file-name-directory)
4039 (tramp-mode-string-to-int, tramp-local-host-p)
4040 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
4042 * net/tramp-gvfs.el (top):
4043 * net/tramp-smb.el (top): Do not require 'tramp-sh.
4045 * net/tramp-sh.el (all): Move several objects to tramp.el, see
4046 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
4048 2010-10-04 Glenn Morris <rgm@gnu.org>
4050 * calendar/appt.el (appt-add): Ensure reminders are enabled.
4051 (appt-activate): Give status messages.
4053 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4055 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
4056 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
4057 `gnutls-negotiate' (formerly `starttls-negotiate').
4058 Remove trivial wrapper `starttls-open-stream'.
4060 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
4062 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
4063 log-outgoing commands.
4064 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
4065 to create a buffer local revert-buffer-function variable.
4066 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
4067 revert-buffer-function lambda.
4069 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4071 * net/gnutls.el (starttls-negotiate): Use the plist interface to
4072 `gnutls-boot'. Make TYPE the only required parameter.
4073 Allow TRUSTFILES and KEYFILES to be lists.
4074 (open-ssl-stream): Use it.
4076 2010-10-03 Glenn Morris <rgm@gnu.org>
4078 * subr.el (directory-sep-char): Remove obsolete variable.
4079 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
4082 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
4083 * vc/vc.el (vc-static-header-alist): Doc fix.
4084 * vc/vc-cvs.el (vc-cvs-header):
4085 * vc/vc-rcs.el (vc-rcs-header):
4086 * vc/vc-sccs.el (vc-sccs-header):
4087 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
4088 * obsolete/vc-mcvs.el (vc-mcvs-header):
4089 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
4092 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
4094 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
4095 Remove obsolete use of binary-overwrite-mode (Bug#7001).
4097 2010-10-03 Glenn Morris <rgm@gnu.org>
4099 * obsolete/x-menu.el: Remove file, obsolete since 21.1
4101 * textmodes/rst.el (rst-font-lock-keywords-function):
4104 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
4106 * printing.el: Drop Emacs 20 code.
4108 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
4109 without having used appt.el already).
4111 * subr.el (make-local-hook): Remove function obsolete since 21.1.
4112 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
4113 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
4115 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
4116 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
4118 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
4119 (charset-width, find-charset-region, chars-in-region, forward-point)
4120 (encode-coding-string, coding-system-p, ccl-execute-on-string)
4121 (define-ccl-program, multibyte-string-p, string-make-multibyte):
4122 Remove compatibility cruft (none of these are used by ps*.el).
4124 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4126 * subr.el (booleanp): Return t instead of a list (Bug#7086).
4128 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
4130 * server.el (server-process-filter, server-return-error):
4131 Give emacsclient time to shut down after receiving an error string.
4133 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
4135 * files.el (remote-file-name-inhibit-cache): New defcustom.
4137 * time.el (display-time-file-nonempty-p):
4138 Use `remote-file-name-inhibit-cache'.
4140 * net/tramp.el (tramp-completion-reread-directory-timeout):
4143 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
4144 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
4145 `remote-file-name-inhibit-cache'. Check also for an integer
4146 value. Add/increase counter when `tramp-verbose' >= 10.
4147 (tramp-set-file-property): Add/increase counter when
4148 `tramp-verbose' >= 10.
4150 * net/tramp-cmds.el (tramp-cleanup-all-connections)
4151 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
4152 (tramp-bug): Set tramp-autoload cookie. Report all interned
4153 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
4154 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
4155 characters only in strings.
4157 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
4158 to backward compatibility.
4160 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
4161 (tramp-handle-file-name-all-completions)
4162 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
4163 (tramp-open-connection-setup-interactive-shell):
4164 Call `tramp-cleanup-connection' directly.
4166 2010-10-02 Glenn Morris <rgm@gnu.org>
4168 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
4170 * subr.el (char-bytes): Remove obsolete function.
4172 * isearch.el (isearch-return-char): Remove obsolete function.
4174 * mouse.el: No longer provide mldrag.
4175 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
4176 Remove obsolete aliases.
4178 * comint.el (comint-kill-output): Remove obsolete alias.
4180 * composite.el (decompose-composite-char): Remove obsolete function.
4181 * ps-def.el (decompose-composite-char): Remove unused function.
4183 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
4185 * outline.el (outline-visible): Remove obsolete function.
4187 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
4188 * faces.el (internal-find-face, internal-get-face)
4189 (frame-update-faces, frame-update-face-colors)
4190 (x-frob-font-weight, x-frob-font-slant)
4191 (internal-frob-font-weight, internal-frob-font-slant)
4192 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
4193 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
4194 (x-make-font-bold-italic): Remove functions and aliases, obsolete
4196 * emulation/viper-util.el (viper-get-face):
4197 * obsolete/lucid.el (find-face, get-face): Use facep.
4198 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
4199 Remove unused functions.
4200 * vc/ediff-util.el (ediff-submit-report): Doc fix.
4202 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
4203 delete tempfile if interrupted during compilation.
4205 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4207 * net/tls.el (tls-starttls-switches): Give up on using starttls with
4209 (tls-program): Add --insecure to be consistent with the defaults from
4210 openssl s_client. Now all three commands are insecure.
4212 2010-10-01 Eli Zaretskii <eliz@gnu.org>
4214 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
4215 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
4216 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
4218 2010-10-01 Glenn Morris <rgm@gnu.org>
4220 * obsolete/sc.el: Remove file.
4222 * files.el (temporary-file-directory): On darwin, also try
4223 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
4225 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
4227 * server.el (server-start): Revert part of revno 101688.
4228 Let's not break compatibility gratuitously, shall we?
4230 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4232 * net/tls.el (tls-starttls-switches): New variable.
4233 (tls-find-starttls-argument): Use it.
4234 (open-tls-stream): Ditto.
4236 * net/netrc.el (netrc-credentials): Return the value of the "default"
4238 (netrc-machine): Ditto.
4240 2010-09-30 Eli Zaretskii <eliz@gnu.org>
4242 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
4244 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
4246 * server.el (server-start): Don't write pid to the authentication file.
4247 (server-create-tty-frame): Don't send pid.
4248 (server-process-filter): Send pid at the start of every connection.
4250 2010-09-30 Glenn Morris <rgm@gnu.org>
4252 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
4253 (show-all-diary-entries): Remove obsolete function aliases.
4255 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
4256 Remove options, obsolete since 22.1.
4257 (appt-display-format, appt-display-message):
4258 Remove backwards-compatibility code.
4259 (appt-check): No longer check appt-issue-message.
4260 (appt-make-list): No longer autoload it. Doc fix. No longer
4261 activate the package.
4263 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
4265 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
4266 (starttls-negotiate): Just call boot, and let the handshake be
4267 triggered from the read loop.
4269 2010-09-29 Glenn Morris <rgm@gnu.org>
4271 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
4272 not displaying the diary.
4273 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
4274 * calendar/appt.el (appt-check): No longer need to kill diary.
4276 * calendar/diary-lib.el (diary-list-entries): Move the
4277 "Preparing..." message entirely here.
4278 (diary-simple-display, diary-fancy-display): Move "Preparing..."
4279 messages to diary-list-entries.
4280 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
4281 diary-display-function.
4283 * calendar/diary-lib.el (diary-include-other-diary-files):
4284 Trap some recursive includes.
4286 * calendar/appt.el (appt-activate): Check diary file.
4288 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
4290 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
4293 * calendar/time-date.el: No need to require cl for Emacs 21.
4295 2010-09-28 Glenn Morris <rgm@gnu.org>
4297 * calendar/appt.el (appt-check): Minor simplification.
4299 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
4301 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
4304 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
4306 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4307 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
4309 2010-09-27 Kenichi Handa <handa@m17n.org>
4311 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
4314 2010-09-27 Kenichi Handa <handa@m17n.org>
4316 * international/mule.el (define-coding-system): Docstring fixed.
4318 * international/mule-diag.el (describe-character-set): Use princ
4319 with proper print-length and print-level instead of insert.
4321 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
4323 * window.el (walk-windows): Doc fix (bug#7105).
4325 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4327 * emacs-lisp/float-sup.el (e): Remove.
4329 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
4331 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
4333 (starttls-negotiate): Use it.
4335 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4337 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
4340 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
4342 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
4344 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4346 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
4348 * net/netrc.el (netrc-store-data): New function.
4350 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
4352 * net/gnutls.el: GnuTLS glue code to set up a connection.
4354 2010-09-25 Julien Danjou <julien@danjou.info>
4356 * notifications.el: Call dbus-register-signal only if it is bound.
4358 2010-09-25 Glenn Morris <rgm@gnu.org>
4360 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4361 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4362 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4363 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4364 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4365 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
4366 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
4367 * eshell/esh-util.el, eshell/esh-var.el:
4368 Remove leading `*' from docs of faces and defcustoms.
4370 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
4372 * eshell/em-ls.el (eshell-ls-archive-regexp):
4373 * eshell/esh-util.el (eshell-tar-regexp):
4374 * ibuffer.el (ibuffer-compressed-file-name-regexp):
4375 * info.el (Info-suffix-list):
4376 * international/mule.el (auto-coding-alist):
4377 * woman.el (woman-file-regexp, woman-file-compression-regexp):
4378 * progmodes/etags.el (tags-compression-info-list):
4379 Support xz compression.
4381 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
4383 * files.el (get-free-disk-space): Don't assume the "df" output
4384 columns line up (Bug#6995).
4386 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
4388 * finder.el (finder-unknown-keywords):
4389 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
4390 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
4392 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
4394 * server.el (server-start): Revert part of 2010-08-08 change. Using
4395 address 127.0.0.1 for local host is now done in Fmake_network_process.
4397 2010-09-24 Glenn Morris <rgm@gnu.org>
4399 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
4400 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
4401 * textmodes/css-mode.el, textmodes/dns-mode.el:
4402 Move autoloaded auto-mode-alist entries to files.el.
4403 * files.el (auto-mode-alist): Move entries here.
4405 2010-09-23 Glenn Morris <rgm@gnu.org>
4407 * isearch.el (isearch-lazy-highlight-cleanup)
4408 (isearch-lazy-highlight-initial-delay)
4409 (isearch-lazy-highlight-interval)
4410 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
4411 * net/net-utils.el (ipconfig-program-options):
4412 Move aliases to options before the associated definitions.
4414 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4416 * newcomment.el (comment-normalize-vars): Better test validity of
4419 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4421 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
4422 (float-e): New name for `e'.
4423 (degrees-to-radians, radians-to-degrees):
4424 * calendar/solar.el (solar-longitude):
4425 * calculator.el (calculator-registers, calculator-funcall):
4426 * textmodes/artist.el (artist-spray-random-points):
4427 * play/bubbles.el (bubbles--initialize-images): Use new names.
4429 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
4431 Update to CEDET 1.0's version of EIEIO.
4433 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
4435 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
4436 (eieio-default-eval-maybe): Eval val instead of unquoting only.
4437 (class-precedence-list): If class is nil, return nil.
4438 (eieio-generic-call): If class of first input arg is nil, don't
4439 look up static methods, and do check for primary methods.
4440 (initialize-instance): See if the default needs to be evaluated
4441 during the constructor.
4442 (eieio-perform-slot-validation-for-default): Don't do the check
4443 for values that will eventually be evaluated.
4444 (eieio-eval-default-p): New function.
4445 (eieio-default-eval-maybe): Use it.
4447 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
4449 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
4450 method-invocation-order.
4451 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
4452 (eieio-class-precedence-dfs): Compute class precedence list using
4454 (eieio-class-precedence-bfs): Compute class precedence list using
4456 (eieio-class-precedence-c3): Compute class precedence list using
4458 (class-precedence-list): New function.
4459 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
4460 (inconsistent-class-hierarchy): New error symbol.
4461 (call-next-method): Stow the replacement argument list for future
4462 call-next-method invocations.
4464 2010-09-23 Glenn Morris <rgm@gnu.org>
4466 * calendar/appt.el (appt-check): If not displaying the diary,
4467 use (diary 1) to only get the entries we need.
4468 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
4469 that it is in day order. (Bug#7019)
4471 * calendar/appt.el (appt-check): Rather than showing the diary,
4472 just turn off invisible display, and only if needed.
4474 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
4476 2010-09-23 Glenn Morris <rgm@gnu.org>
4478 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4479 (byte-compile-defvar, byte-compile-cl-warn):
4480 Start warnings with lower-case, like the majority.
4482 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
4484 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
4486 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
4487 * files.el (auto-mode-alist): Move ld-script entries here, further down
4490 * vc/add-log.el: Don't require timezone when compiling.
4491 (timezone-make-date-sortable): Autoload it.
4492 (change-log-sortable-date-at): Don't require timezone.
4493 Use `ignore-errors'.
4495 * comint.el (comint-use-prompt-regexp-instead-of-fields):
4496 Move alias before definition, so it does not need autoloading.
4498 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
4499 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
4500 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
4501 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
4502 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
4503 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
4504 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
4505 * textmodes/tex-mode.el, textmodes/two-column.el:
4506 Remove leading `*' from docs of defcustoms etc.
4508 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
4510 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
4512 2010-09-22 Dan Christensen <jdc@uwo.ca>
4514 * calendar/time-date.el (date-to-time): Try using parse-time-string
4515 first before using the slower timezone-make-date-arpa-standard.
4517 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
4519 * calendar/time-date.el (format-seconds): Comment fix.
4521 2010-09-22 Glenn Morris <rgm@gnu.org>
4523 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
4524 is not automatically buffer-local.
4526 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4528 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
4529 (smie-indent-comment): Be more careful with comment-start-skip.
4530 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
4531 (smie-indent-functions): Use them.
4533 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
4535 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
4537 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
4539 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
4540 tool-bar-position. Don't modify frame parameters here.
4541 (menu-bar-options-save): Add tool-bar-position.
4543 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
4545 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4547 * textmodes/reftex-parse.el (reftex-what-macro)
4548 (reftex-context-substring): Let-bind forward-sexp-function to nil
4549 since we don't need/want to treat \begin...\end as a block (bug#7053).
4551 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
4553 * simple.el (blink-matching-open): Use syntax-class.
4555 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
4556 Set invisibility spec for pascal's outline mode.
4557 (pascal-outline-change): Clean up calling convention.
4558 (pascal-show-all, pascal-hide-other-defuns): Update callers.
4560 * progmodes/prolog.el (prolog-smie-forward-token)
4561 (prolog-smie-backward-token): New functions.
4562 (prolog-mode-variables): Use them to parse "!," correctly.
4563 Set up smie-blink-matching for ".".
4565 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
4567 (ispell-region, ispell-process-line): Update users.
4569 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
4572 * textmodes/ispell.el: Fix commenting convention.
4573 (ispell-parse-output): Simplify, use push.
4574 (ispell-region): Use match-string-no-properties.
4575 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
4576 (ispell-minor-mode): Use define-minor-mode.
4577 (ispell-message): Remove unused var `skip-regexp'.
4578 (ispell-add-per-file-word-list): Use dynamic let-binding.
4579 Try and use the proper comment marker.
4581 * mail/sendmail.el: Fix commenting convention.
4582 (sendmail-send-it): Use line-beginning-position.
4584 * help-fns.el (describe-variable): Add original value, if applicable.
4586 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
4588 * subr.el (y-or-n-p): Remove leftover code from revno 101459.
4590 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
4592 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4594 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
4595 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
4596 (smie-prec2-levels): Use them to better diagnose precedence cycles.
4597 (smie-blink-matching-check): Don't signal a mismatch if car is t.
4598 (smie-blink-matching-open): Rewrite to remove assumptions, so that
4599 something like "." can also be a closer.
4600 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
4601 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
4602 Rename internal functions to use "--". Update callers.
4604 * frame.el (make-frame-names-alist): Don't list frames on other displays.
4606 * fringe.el (fringe-styles): New var.
4607 (fringe-mode, fringe-query-style): Use it.
4609 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
4611 * progmodes/sql.el: Version 2.8
4612 (sql-login-params): Update widget structure; changes still needed.
4613 (sql-product-alist): Add :list-all and :list-table features for
4614 SQLite, Postgres and MySQL products.
4615 (sql-redirect): Handle default value.
4616 (sql-execute, sql-execute-feature): New functions.
4617 (sql-read-table-name): New function.
4618 (sql-list-all, sql-list-table): New functions. User API.
4619 (sql-mode-map, sql-interactive-mode-map): Add key definitions
4620 for above functions.
4621 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
4622 for above functions.
4623 (sql-postgres-login-params): Add user and database defaults.
4624 (sql-buffer-live-p): Bug fix.
4625 (sql-product-history): New variable.
4626 (sql-read-product): New function. Use it.
4627 (sql-set-product, sql-product-interactive): Use it.
4628 (sql-connection-history): New variable.
4629 (sql-read-connection): New function. Use it.
4630 (sql-connect): New function.
4631 (sql-for-each-login): Redesign function interface.
4632 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
4633 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
4634 (sql-comint): Check for program. Existing live buffer.
4635 (sql-comint-postgres): Add port parameter.
4637 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4639 * emacs-lisp/warnings.el: Fix commenting convention.
4640 (display-warning): Use special mode and make the buffer read-only.
4642 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
4644 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
4645 empty string when it follows a repeated or optional pattern.
4647 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4649 * indent.el (indent-according-to-mode): Apply syntax-propertize.
4650 (indent-region): Use indent-according-to-mode.
4652 2010-09-18 Eli Zaretskii <eliz@gnu.org>
4654 * fringe.el (fringe-mode): Doc fix.
4656 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
4658 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
4659 refreshing the preview buffer.
4661 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4663 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
4664 (latex-syntax-propertize-rules): New consts; replace
4665 tex-font-lock-syntactic-keywords.
4666 (tex-env-mark, latex-env-before-change): New functions.
4667 (latex-electric-env-pair-mode): New minor mode.
4668 (tex-font-lock-verb): Change arguments; do move point.
4669 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
4670 representation as a form of comment.
4671 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
4672 (doctex-syntax-propertize-rules): New const; replaces
4673 doctex-font-lock-syntactic-keywords.
4674 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
4676 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
4677 (fortran-make-syntax-propertize-function): New function; replaces
4678 fortran-font-lock-syntactic-keywords.
4679 (fortran-mode): Use it.
4680 (fortran-line-length): Use it. Improve interactive spec.
4682 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
4683 (syntax-propertize-rules): Add var-ref case. Fix offset computation
4684 when adding surrounding \(..\).
4686 * progmodes/js.el (js-mode): Fix last change (bug#7054).
4688 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4690 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
4691 Use with-current-buffer.
4693 * isearch.el (isearch-face): Rename from `isearch'.
4694 (isearch-highlight): Use new name.
4696 2010-09-17 Eli Zaretskii <eliz@gnu.org>
4698 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
4699 5, for `half' width fringes. (Bug#6933)
4701 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4703 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
4704 (byte-compile-defvar): "foo/bar" does not lack a prefix.
4706 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
4708 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
4710 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
4711 in calculating new frame position. Add more space between new and
4712 parent on the left (Bug#7048).
4714 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
4716 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
4719 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
4721 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
4723 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
4724 obsolete alias for x-selection-value.
4726 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
4728 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
4730 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
4733 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
4735 * net/tramp-compat.el (tramp-compat-with-temp-message)
4736 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
4737 (tramp-compat-process-put): New defuns.
4739 * net/tramp.el (top):
4740 * net/tramp-gvfs.el (top):
4741 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
4743 * net/tramp.el (tramp-progress-reporter-update):
4744 Use `tramp-compat-funcall'.
4746 * net/tramp.el (tramp-process-actions):
4747 * net/tramp-gvfs.el (tramp-handle-vc-registered):
4748 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
4749 (tramp-get-remote-stat, tramp-get-remote-readlink):
4750 Use `tramp-compat-with-temp-message'.
4752 * net/tramp-sh.el (top): Require 'cl.
4753 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
4754 (tramp-open-connection-setup-interactive-shell):
4755 Use `tramp-compat-process-put'.
4757 2010-09-15 Alan Mackenzie <acm@muc.de>
4759 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
4761 (c-forward-<>-arglist-recur): Fix an infinite recursion.
4763 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
4765 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
4766 `lexical' for warnings related to lexical scoping.
4767 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
4768 global vars which don't have a prefix and could hence affect lexical
4769 scoping in unrelated files.
4771 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4773 * net/imap.el: Revert back to version
4774 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
4777 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
4779 * obsolete/old-whitespace.el (whitespace-unload-function):
4780 Explicitly pass `obarray' to `unintern' to avoid a warning.
4782 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4784 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
4785 Add `when' argument. Update callers.
4787 * subr.el (unintern): Declare the obarray arg mandatory.
4789 2010-09-14 Glenn Morris <rgm@gnu.org>
4791 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
4794 * calendar/diary-lib.el (diary-included-files): New variable.
4795 (diary-list-entries): Maybe initialize diary-included-files.
4796 (diary-include-other-diary-files): Append to diary-included-files.
4797 * calendar/appt.el (appt-update-list): Also check the members of
4798 diary-included-files. (Bug#6999)
4799 (appt-check): Doc fix.
4801 2010-09-14 David Reitter <david.reitter@gmail.com>
4803 * simple.el (line-move-visual): Do not truncate goal column to
4804 integer size. (Bug#7020)
4806 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4808 * repeat.el (repeat): Allow repeating when the last event is a click.
4809 Suggested by Drew Adams (bug#6256).
4811 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
4813 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
4814 Replace setting HGRCPATH to "" by some less invasive --config options.
4816 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4818 * font-lock.el (font-lock-beginning-of-syntax-function):
4821 2010-09-14 Glenn Morris <rgm@gnu.org>
4823 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
4824 and tool-bar modes. (Bug#6211)
4825 (menu-bar-mode): Move setting of standard-value after the
4826 minor-mode definition, otherwise it seems to have no effect.
4828 2010-09-14 Masatake YAMATO <yamato@redhat.com>
4830 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
4831 Fix typo. (Bug#6976)
4833 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4835 * whitespace.el: Allow cleaning up blanks without blank
4836 visualization (Bug#6651). Adjust help window for
4837 whitespace-toggle-options (Bug#6479). Allow to use fill-column
4838 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
4839 (whitespace-style): Add new value 'face. Adjust docstring.
4840 (whitespace-space, whitespace-hspace, whitespace-tab):
4841 Adjust foreground property face.
4842 (whitespace-line-column): Adjust docstring and type declaration.
4843 (whitespace-style-value-list, whitespace-toggle-option-alist)
4844 (whitespace-help-text): Adjust const initialization.
4845 (whitespace-toggle-options, global-whitespace-toggle-options):
4847 (whitespace-display-window, whitespace-interactive-char)
4848 (whitespace-style-face-p, whitespace-color-on): Adjust code.
4849 (whitespace-help-scroll): New fun.
4851 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
4853 * calendar/time-date.el (format-seconds): Comment fix.
4855 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
4857 * progmodes/sql.el: Version 2.7.
4858 (sql-buffer-live-p): Improve detection.
4859 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
4860 (sql-set-sqli-buffer): Use it.
4861 (sql-product-interactive): Run `sql-set-sqli-hook'.
4862 (sql-rename-buffer): Code cleanup.
4863 (sql-redirect, sql-redirect-value): New functions. More to come.
4865 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
4867 Port tramp-related Makefile changes of revnos 101381, 101422 to Windows.
4868 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
4869 (TRAMP_SRC): New macro.
4870 ($(lisp)/net/tramp-loaddefs.el): New target.
4872 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
4874 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
4876 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
4878 * net/tramp.el (top): Don't show loading message. Require just
4879 'tramp-compat, everything else is required there.
4880 Use `ignore-errors' where appropriate.
4881 (tramp-inline-compress-start-size, tramp-copy-size-limit)
4882 (tramp-terminal-type, tramp-end-of-output)
4883 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
4884 (tramp-completion-function-alist-ssh)
4885 (tramp-completion-function-alist-telnet)
4886 (tramp-completion-function-alist-su)
4887 (tramp-completion-function-alist-putty, tramp-remote-path)
4888 (tramp-remote-process-environment, tramp-sh-extra-args)
4889 (tramp-actions-before-shell, tramp-uudecode)
4890 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
4891 (tramp-perl-file-attributes)
4892 (tramp-perl-directory-files-and-attributes)
4893 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
4894 (tramp-perl-encode, tramp-perl-decode)
4895 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
4896 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
4897 (tramp-handle-make-symbolic-link, tramp-handle-load)
4898 (tramp-handle-file-name-as-directory)
4899 (tramp-handle-file-name-directory)
4900 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
4901 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
4902 (tramp-do-file-attributes-with-ls)
4903 (tramp-do-file-attributes-with-perl)
4904 (tramp-do-file-attributes-with-stat)
4905 (tramp-handle-set-visited-file-modtime)
4906 (tramp-handle-verify-visited-file-modtime)
4907 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
4908 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
4909 (tramp-handle-file-selinux-context)
4910 (tramp-handle-set-file-selinux-context)
4911 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
4912 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
4913 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
4914 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
4915 (tramp-handle-file-ownership-preserved-p)
4916 (tramp-handle-directory-file-name, tramp-handle-directory-files)
4917 (tramp-handle-directory-files-and-attributes)
4918 (tramp-do-directory-files-and-attributes-with-perl)
4919 (tramp-do-directory-files-and-attributes-with-stat)
4920 (tramp-handle-file-name-all-completions)
4921 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
4922 (tramp-handle-copy-file, tramp-handle-copy-directory)
4923 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
4924 (tramp-do-copy-or-rename-file-via-buffer)
4925 (tramp-do-copy-or-rename-file-directly)
4926 (tramp-do-copy-or-rename-file-out-of-band)
4927 (tramp-handle-make-directory, tramp-handle-delete-directory)
4928 (tramp-handle-delete-file)
4929 (tramp-handle-dired-recursive-delete-directory)
4930 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
4931 (tramp-handle-insert-directory)
4932 (tramp-handle-unhandled-file-name-directory)
4933 (tramp-handle-expand-file-name)
4934 (tramp-handle-substitute-in-file-name)
4935 (tramp-handle-executable-find, tramp-process-sentinel)
4936 (tramp-handle-start-file-process, tramp-handle-process-file)
4937 (tramp-handle-call-process-region, tramp-handle-shell-command)
4938 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
4939 (tramp-handle-insert-file-contents)
4940 (tramp-handle-insert-file-contents-literally)
4941 (tramp-handle-find-backup-file-name)
4942 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
4943 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
4944 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
4945 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
4946 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
4947 (tramp-find-file-exists-command, tramp-open-shell)
4948 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
4949 (tramp-open-connection-setup-interactive-shell)
4950 (tramp-local-coding-commands, tramp-remote-coding-commands)
4951 (tramp-find-inline-encoding, tramp-call-local-coding-command)
4952 (tramp-inline-compress-commands, tramp-find-inline-compress)
4953 (tramp-compute-multi-hops, tramp-maybe-open-connection)
4954 (tramp-send-command, tramp-wait-for-output)
4955 (tramp-send-command-and-check, tramp-barf-unless-okay)
4956 (tramp-send-command-and-read, tramp-mode-string-to-int)
4957 (tramp-convert-file-attributes, tramp-check-cached-permissions)
4958 (tramp-file-mode-from-int, tramp-file-mode-permissions)
4959 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
4960 (tramp-method-out-of-band-p, tramp-local-host-p)
4961 (tramp-get-remote-path, tramp-get-remote-tmpdir)
4962 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
4963 (tramp-get-test-command, tramp-get-test-nt-command)
4964 (tramp-get-file-exists-command, tramp-get-remote-ln)
4965 (tramp-get-remote-perl, tramp-get-remote-stat)
4966 (tramp-get-remote-readlink, tramp-get-remote-trash)
4967 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
4968 (tramp-get-local-uid, tramp-get-local-gid)
4969 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
4971 (tramp-methods, tramp-default-method-alist)
4972 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
4973 Move initialization to tramp-sh.el.
4974 (tramp-temp-name-prefix): Make it a defconst.
4975 (tramp-dissect-file-name): Don't check anymore for multi-hop
4977 (tramp-debug-outline-regexp): Add a docstring.
4978 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
4979 (tramp-get-debug-buffer): Use it.
4981 * net/tramp-cache.el (top): Set tramp-autoload cookie for
4982 initialization forms.
4983 (tramp-set-connection-property): Don't protect `tramp-message'
4984 call, it isn't necessary any longer.
4985 (tramp-dump-connection-properties): Use `ignore-errors'.
4987 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
4988 'password-cache and 'auth-source.
4990 * net/tramp-gvfs.el (top):
4991 * net/tramp-smb.el (top): Require 'tramp-sh.
4993 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
4995 * net/tramp-sh.el: New file, derived from tramp.el.
4996 (top): Initialize `tramp-methods', `tramp-default-method-alist',
4997 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
4998 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
4999 Use `ignore-errors' where appropriate.
5000 (tramp-sh-file-name-handler-alist): Rename from
5001 `tramp-file-name-handler-alist'.
5002 (tramp-send-command-and-check): Return t or nil. Remove all
5003 `zerop' checks, where called.
5004 (tramp-handle-set-file-modes)
5005 (tramp-do-copy-or-rename-file-directly)
5006 (tramp-handle-delete-directory, tramp-handle-delete-file)
5007 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
5008 (tramp-sh-file-name-handler, tramp-send-command-and-check)
5009 (tramp-get-remote-ln): Set tramp-autoload cookie.
5011 * net/tramp-fish.el: Remove file.
5013 2010-09-13 Daiki Ueno <ueno@unixuser.org>
5015 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
5016 buffer-file-name to avoid file-locking. (Bug#7026)
5018 2010-09-13 Julien Danjou <julien@danjou.info>
5020 * notifications.el (notifications-notify): Add support for
5021 image-path and sound-name.
5022 (notifications-specification-version): Add this variable.
5024 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5026 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
5028 2010-09-12 Leo <sdl.web@gmail.com>
5030 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
5031 (rcirc-completion-start): New variables.
5032 (rcirc-nick-completions): Rename to rcirc-completions.
5033 (rcirc-nick-completion-start-offset): Delete.
5034 (rcirc-completion-at-point): New function for constructing
5035 completion data for both nicks and irc commands. Add to
5036 completion-at-point-functions in rcirc mode.
5037 (rcirc-complete): Rename from rcirc-nick-complete; use
5038 rcirc-completion-at-point.
5039 (defun-rcirc-command): Update rcirc-client-commands.
5041 2010-09-11 Glenn Morris <rgm@gnu.org>
5043 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
5044 atomically, to avoid parallel build errors. (Bug#4196)
5046 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
5048 * progmodes/sql.el: Version 2.6
5049 (sql-dialect): Synonym for "sql-product".
5050 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5051 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
5052 Set "sql-buffer" to buffer name not buffer object so multiple sql
5053 interactive buffers work properly. Reverts misguided changes in
5055 (sql-comint): Make sure different buffer name is used if "*SQL*"
5056 buffer is for a different product.
5057 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
5059 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
5060 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
5061 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
5062 Accept new buffer name or prompt for one.
5063 (sql-port): Default to zero.
5064 (sql-comint-mysql): Handle "sql-port" as a numeric.
5065 (sql-port-history): Delete unused variable.
5066 (sql-get-login): Default "sql-port" to a number.
5067 (sql-product-alist): Correct Postgres prompt and terminator regexp.
5068 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
5069 "sqlite3" executables.
5070 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
5071 (sql-buffer-live-p): New function.
5072 (sql-mode-menu, sql-send-string): Use it.
5073 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
5075 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
5076 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
5078 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5080 * net/netrc.el (netrc-credentials): New convenience function.
5082 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5084 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
5085 to replace texinfo-font-lock-syntactic-keywords.
5086 (texinfo-mode): Use it.
5088 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
5089 Use syntax-propertize-function.
5091 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
5092 replace sgml-font-lock-syntactic-keywords.
5093 (sgml-mode): Use it.
5095 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
5096 since we don't use it.
5098 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
5100 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
5102 (vhdl-fontify-buffer): Adjust.
5104 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
5105 replace tcl-font-lock-syntactic-keywords.
5108 * progmodes/simula.el (simula-syntax-propertize-function): New var to
5109 replace simula-font-lock-syntactic-keywords.
5110 (simula-mode): Use it.
5112 * progmodes/sh-script.el (sh-st-symbol): Remove.
5113 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
5114 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
5115 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
5116 (sh-font-lock-paren): Set syntax-multiline.
5117 (sh-font-lock-syntactic-keywords): Remove.
5118 (sh-syntax-propertize-function): New function to replace it.
5121 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
5122 Define while compiling.
5123 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5124 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
5125 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
5126 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5127 (ruby-here-doc-end-syntax): Only define when
5128 syntax-propertize is not available.
5129 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
5131 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
5132 (electric-indent-chars): Silence bytecompiler.
5133 (ruby-mode): Use prog-mode, syntax-propertize-function, and
5134 electric-indent-chars.
5136 * progmodes/python.el (python-syntax-propertize-function): New var to
5137 replace python-font-lock-syntactic-keywords.
5138 (python-mode): Use it.
5139 (python-quote-syntax): Simplify and adjust to new use.
5141 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
5142 replace perl-font-lock-syntactic-keywords.
5143 (perl-syntax-propertize-special-constructs): New fun to replace
5144 perl-font-lock-special-syntactic-constructs.
5145 (perl-font-lock-syntactic-face-function): New fun.
5146 (perl-mode): Use it.
5148 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
5149 to replace octave-font-lock-close-quotes.
5150 (octave-syntax-propertize-function): New function to replace
5151 octave-font-lock-syntactic-keywords.
5152 (octave-mode): Use it.
5154 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
5155 replaces mixal-font-lock-syntactic-keywords.
5156 (mixal-mode): Use it.
5158 * progmodes/make-mode.el (makefile-syntax-propertize-function):
5159 New var; replaces makefile-font-lock-syntactic-keywords.
5160 (makefile-mode): Use it.
5161 (makefile-imake-mode): Adjust.
5163 * progmodes/js.el (js--regexp-literal): Define while compiling.
5164 (js-syntax-propertize-function): New var; replaces
5165 js-font-lock-syntactic-keywords.
5168 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
5169 replaces gdb-script-font-lock-syntactic-keywords.
5170 (gdb-script-mode): Use it.
5172 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
5173 (fortran--font-lock-syntactic-keywords): New var.
5174 (fortran-line-length): Update syntax-propertize-function and
5175 fortran--font-lock-syntactic-keywords.
5177 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
5179 * progmodes/cfengine.el (cfengine-mode):
5180 Use syntax-propertize-function.
5181 (cfengine-font-lock-syntactic-keywords): Remove.
5183 * progmodes/autoconf.el (autoconf-mode):
5184 Use syntax-propertize-function.
5185 (autoconf-font-lock-syntactic-keywords): Remove.
5187 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
5188 (ada-after-change-function, ada-initialize-syntax-table-properties)
5189 (ada-handle-syntax-table-properties): Only define when
5190 syntax-propertize is not available.
5191 (ada-mode): Use syntax-propertize-function.
5193 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
5194 (font-lock-fontify-syntactic-keywords-region): Move handling of
5195 font-lock-syntactically-fontified to...
5196 (font-lock-default-fontify-region): ...here.
5197 Let syntax-propertize-function take precedence.
5198 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
5200 * emacs-lisp/syntax.el (syntax-propertize-function)
5201 (syntax-propertize-chunk-size, syntax-propertize--done)
5202 (syntax-propertize-extend-region-functions): New vars.
5203 (syntax-propertize-wholelines, syntax-propertize-multiline)
5204 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
5205 (syntax-propertize): New functions.
5206 (syntax-propertize-rules): New macro.
5207 (syntax-ppss-flush-cache): Set syntax-propertize--done.
5208 (syntax-ppss): Call syntax-propertize.
5210 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
5212 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
5214 * textmodes/ispell.el (ispell-init-process): Improve comments.
5215 XEmacs compatibility changes regarding (add-hook) 'local option
5216 and (set-process-query-on-exit-flag).
5218 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
5220 * net/tramp-cache.el (tramp-parse-connection-properties):
5221 Set tramp-autoload cookie.
5223 2010-09-09 Glenn Morris <rgm@gnu.org>
5225 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
5226 (imagemagick-register-types): Doc fix.
5228 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
5230 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
5232 * progmodes/js.el (require): Require is already "eval-and-compile".
5233 (js--re-search-forward): Avoid `eval'. Preserve the error data.
5234 (js--re-search-backward): Use js--re-search-forward.
5236 * progmodes/fortran.el (fortran-line-length): Don't recompute
5237 syntactic keywords redundantly a second time.
5239 * progmodes/ada-mode.el: Replace "(set '" with setq.
5240 (ada-mode): Simplify.
5241 (ada-create-case-exception, ada-adjust-case-interactive)
5242 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
5243 (ada-search-ignore-string-comment, ada-move-to-start)
5244 (ada-move-to-end): Use with-syntax-table.
5246 * font-lock.el (save-buffer-state): Remove `varlist' arg.
5247 (font-lock-unfontify-region, font-lock-default-fontify-region):
5248 Update usage correspondingly.
5249 (font-lock-fontify-syntactic-keywords-region):
5250 Set parse-sexp-lookup-properties buffer-locally here.
5251 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
5253 * simple.el (blink-matching-open): Don't burp if we can't find a match.
5255 2010-09-08 Glenn Morris <rgm@gnu.org>
5257 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
5258 Error if not compiled with -DBYTE_CODE_METER.
5260 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5261 Ignore dir-locals-file.
5263 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
5265 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5267 (compilation-error-regexp-alist-alist): Rule out ": " in file names
5268 for the `gnu' messages.
5269 (compilation-set-skip-threshold): New command.
5270 (compilation-start): Use \' rather than $.
5271 (compilation-forget-errors): Use clrhash.
5273 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
5275 * textmodes/ispell.el (ispell-valid-dictionary-list):
5278 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
5280 Migrate to Tramp 2.2. Rearrange load dependencies.
5281 (Bug#1529, Bug#5448, Bug#5705)
5283 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
5284 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
5285 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5287 * net/tramp.el (top): Remove all other tramp-* loads except
5288 tramp-compat.el. Remove all changes to tramp-unload-hook for
5289 other tramp-* packages. Rearrange defun order. Change calls of
5290 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
5291 `tramp-compat-octal-to-decimal' to new function names.
5292 (tramp-terminal-type, tramp-initial-end-of-output)
5293 (tramp-methods, tramp-foreign-file-name-handler-alist)
5294 (tramp-tramp-file-p, tramp-completion-mode-p)
5295 (tramp-send-command-and-check, tramp-get-remote-path)
5296 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
5297 (tramp-shell-quote-argument): Set tramp-autoload cookie.
5298 (with-file-property, with-connection-property): Move to
5300 (tramp-local-call-process, tramp-decimal-to-octal)
5301 (tramp-octal-to-decimal): Move to tramp-compat.el.
5302 (tramp-handle-shell-command): Do not require 'shell.
5303 (tramp-compute-multi-hops): No special handling for tramp-gw-*
5305 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
5307 * net/tramp-cache.el (top): Require 'tramp. Add to
5308 `tramp-unload-hook'.
5309 (tramp-cache-data, tramp-get-file-property)
5310 (tramp-set-file-property, tramp-flush-file-property)
5311 (tramp-flush-directory-property, tramp-get-connection-property)
5312 (tramp-set-connection-property, tramp-flush-connection-property)
5313 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
5315 (with-file-property, with-connection-property): New defuns, moved
5317 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
5320 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
5321 (tramp-version): Set tramp-autoload cookie.
5323 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
5324 changes to tramp-unload-hook for other tramp-* packages. Add to
5325 `tramp-unload-hook'.
5326 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
5327 (tramp-compat-call-process): New defuns, moved from tramp.el.
5329 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
5330 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5331 Add to `tramp-unload-hook'. Change call of
5332 `tramp-compat-decimal-to-octal' to new function name.
5333 (tramp-fish-method): Make it a defconst.
5334 (tramp-fish-file-name-p): Make it a defsubst.
5335 (tramp-fish-method, tramp-fish-file-name-handler)
5336 (tramp-fish-file-name-p): Set tramp-autoload cookie.
5338 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
5339 `tramp-foreign-file-name-handler-alist'. Add to
5340 `tramp-unload-hook'.
5341 (tramp-ftp-method): Make it a defconst.
5342 (tramp-ftp-file-name-p): Make it a defsubst.
5343 (tramp-ftp-method, tramp-ftp-file-name-handler)
5344 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
5346 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
5347 `tramp-foreign-file-name-handler-alist'. Add to
5348 `tramp-unload-hook'. Change checks, whether package can be
5350 (tramp-gvfs-file-name-p): Make it a defsubst.
5351 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
5352 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
5353 (tramp-gvfs-handle-file-directory-p): New defun.
5354 (tramp-gvfs-file-name-handler-alist): Use it.
5356 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
5357 `tramp-foreign-file-name-handler-alist'. Add to
5358 `tramp-unload-hook'.
5359 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
5360 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
5362 (tramp-gw-tunnel-method, tramp-gw-socks-method)
5363 (tramp-gw-open-connection): Set tramp-autoload cookie.
5365 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
5366 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5367 Add to `tramp-unload-hook'. Change checks, whether package can be
5369 (tramp-imap-file-name-p): Make it a defsubst.
5370 (tramp-imap-method, tramp-imaps-method)
5371 (tramp-imap-file-name-handler)
5372 (tramp-imap-file-name-p): Set tramp-autoload cookie.
5374 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
5375 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5376 Add to `tramp-unload-hook'. Change checks, whether package can be
5377 loaded. Change call of `tramp-compat-decimal-to-octal' to new
5379 (tramp-smb-tunnel-method): Make it a defconst.
5380 (tramp-smb-file-name-p): Make it a defsubst.
5381 (tramp-smb-method, tramp-smb-file-name-handler)
5382 (tramp-smb-file-name-p): Set tramp-autoload cookie.
5384 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
5385 (tramp-uuencode-region): Set tramp-autoload cookie.
5387 * net/trampver.el (top) Add to `tramp-unload-hook'.
5388 (tramp-version, tramp-bug-report-address): Set tramp-autoload
5389 cookie. Update release number.
5391 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
5393 * textmodes/ispell.el (ispell-start-process): Make sure original
5394 arg list is properly initialized (Bug#6993, Bug#6994).
5396 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
5398 * files.el (directory-abbrev-alist): Use \` as default regexp.
5400 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
5401 chars like - or ] (bug#6984).
5402 (rx-any-condense-range): Explode 2-char ranges.
5404 2010-09-06 Glenn Morris <rgm@gnu.org>
5406 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
5408 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5410 * textmodes/bibtex.el:
5411 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
5413 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5415 * net/imap.el (imap-message-map): Remove optional buffer parameter,
5416 since no callers use it.
5417 (imap-message-get): Ditto.
5418 (imap-message-put): Ditto.
5419 (imap-mailbox-map): Ditto.
5420 (imap-mailbox-put): Ditto.
5421 (imap-mailbox-get): Ditto.
5422 (imap-mailbox-get): Revert last change for this function.
5424 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5426 * net/imap.el (imap-fetch-safe): Remove function, and alter all
5427 callers to use `imap-fetch' instead. According to the comments, this
5428 should be safe, since all other IMAP clients use the 1:* syntax.
5429 (imap-enable-exchange-bug-workaround): Remove.
5430 (imap-debug): Remove -- doesn't seem very useful.
5432 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5434 * net/imap.el (imap-log): New convenience function used throughout
5435 instead of repeating the same code all over the place.
5437 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
5439 * mouse.el (mouse-save-then-kill): Save region to kill-ring
5440 when mouse-drag-copy-region is non-nil (Bug#6956).
5442 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
5444 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
5445 Improve regexps (Bug#6987).
5446 (dired-sort-toggle): Search more robustly for -t flag.
5448 * files.el (get-free-disk-space): Search more robustly for
5449 "available" column. Suggested by Ehud Karni
5450 <ehud@unix.mvs.co.il>.
5452 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
5454 * international/uni-bidi.el:
5455 * international/uni-category.el:
5456 * international/uni-combining.el:
5457 * international/uni-decimal.el:
5458 * international/uni-mirrored.el:
5459 * international/uni-name.el: Regenerate.
5461 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5463 * electric.el (electric-indent-post-self-insert-function):
5464 Don't reindent with a sloppy indentation function.
5466 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
5467 border case in change-log-mode.
5469 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
5471 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5472 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
5473 Recognize leading tab in gcc-include regexp. Ignore names with
5474 leading "from" or "in" in gnu regexp (Bug#6937).
5476 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5478 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
5479 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
5480 (ispell-start-process): Avoid setq and simplify logic.
5481 (ispell-init-process): Setup kill-buffer-hook locally when needed.
5482 (kill-buffer-hook): Don't use it globally with code that uses
5483 expand-file-name since that may call kill-buffer via
5484 code_conversion_restore.
5486 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
5488 * emacs-lisp/package.el (package-directory-list): Only call
5489 file-name-nondirectory on a string.
5491 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
5493 * emacs-lisp/package.el (package--download-one-archive):
5494 Ensure that archive-contents is valid before saving it.
5495 (package-activate-1, package-mark-obsolete, define-package)
5496 (package-compute-transaction, package-list-maybe-add): Use push.
5498 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5500 Use SMIE's blink-paren for octave-mode.
5501 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
5502 Backslashes do not escape single-quotes, single-quotes do.
5503 (octave-block-else-regexp, octave-block-end-regexp)
5504 (octave-block-match-alist): Remove.
5505 (octave-smie-bnf-table): New var, with old content.
5506 (octave-smie-op-levels): Use it.
5507 (octave-smie-closer-alist): New var.
5508 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
5509 (octave-blink-matching-block-open): Remove.
5510 (octave-reindent-then-newline-and-indent, octave-electric-semi)
5511 (octave-electric-space): Let self-insert-command run expand-abbrev and
5514 * electric.el (electricity): New group.
5515 (electric-indent-chars): New var.
5516 (electric-indent-post-self-insert-function): New fun.
5517 (electric-indent-mode): New minor mode.
5518 (electric-pair-skip-self): New custom.
5519 (electric-pair-post-self-insert-function): New function.
5520 (electric-pair-mode): New minor mode.
5522 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
5523 calcAlg-blink-matching-open.
5524 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
5525 (calc-do-alg-entry): Only touch the part of the keymap that varies.
5526 Use the new blink-matching-check-function.
5528 Provide blink-matching support to SMIE.
5529 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
5530 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
5531 (smie-blink-matching-check, smie-blink-matching-open): New functions.
5533 * simple.el (newline): Fix last change to properly remove itself from
5536 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5538 * simple.el (newline): Eliminate optimization.
5539 Use post-self-insert-hook to set hard-newline and things before
5540 running post-self-insert-hook.
5541 (blink-matching-check-mismatch): New function.
5542 (blink-matching-check-function): New variable.
5543 (blink-matching-open): Use them.
5544 Skip back forward over prefix chars skipped by forward-sexp.
5545 Don't check if the parens are backslash escaped.
5546 (blink-paren-post-self-insert-function): Check backslash escaping here.
5548 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
5550 * emacs-lisp/package.el (package-menu-mode-map):
5551 Change package-menu-revert bindings to revert-buffer.
5552 (package-menu-mode): Set revert-buffer-function.
5553 (package-menu-revert): Doc fix.
5555 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
5557 * textmodes/ispell.el (ispell-init-process): Use "~/" as
5558 `default-directory' unless using Ispell per-directory personal
5559 dictionaries and not in a mini-buffer under XEmacs.
5560 (kill-buffer-hook): Do not kill ispell process on exit when
5561 `ispell-process-directory' is "~/". (Bug#6143)
5563 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
5565 * simple.el (kill-new): Call interprogram-cut-function with only
5568 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
5569 Remove cut buffer from error message.
5571 * term/x-win.el (x-select-text):
5572 * term/pc-win.el (x-selection-value):
5573 * term/ns-win.el (x-selection-value):
5574 * eshell/em-term.el:
5575 * w32-fns.el (x-get-selection-value):
5576 * mouse-sel.el (mouse-sel-set-selection-function):
5577 * frame.el (display-selections-p): Remove cut-buffer in documentation.
5579 * term/x-win.el: Update documentation for x-last-selected-text-*.
5580 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
5581 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
5582 (x-select-text): Remove argument PUSH, update documentation.
5583 Remove cut-buffer code.
5584 (x-selection-value-internal): Was previously x-selection-value.
5585 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5586 Update documentation, remove cut-buffer code.
5587 Call x-selection-value-internal.
5588 (x-clipboard-yank): Call x-selection-value-internal.
5589 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
5591 * term/pc-win.el (x-last-selected-text):
5592 x-cut-buffer-or-selection-value renamed to x-selection-value
5593 (x-select-text): Remove argument PUSH, update documentation.
5595 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
5596 x-cut-buffer-or-selection-value renamed to x-selection-value
5597 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5598 (x-select-text): Remove argument PUSH, update documentation.
5600 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
5602 * w32-fns.el (x-last-selected-text):
5603 x-cut-buffer-or-selection-value renamed to x-selection-value.
5604 (x-cut-buffer-max): Remove.
5605 (x-select-text): Remove argument PUSH, update documentation.
5607 * simple.el (interprogram-cut-function): Remove mention of PUSH.
5609 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
5611 * mouse-sel.el (mouse-sel-get-selection-function):
5612 x-cut-buffer-or-selection-value renamed to x-selection-value.
5613 (x-select-text): Remove optional push.
5615 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
5617 * simple.el (blink-paren-function): Move from C to here.
5618 (blink-paren-post-self-insert-function): New function.
5619 (post-self-insert-hook): Use it.
5621 * emacs-lisp/pcase.el (pcase-split-memq):
5622 Fix overenthusiastic optimisation.
5623 (pcase-u1): Handle the case of a lambda pred.
5625 2010-08-31 Kenichi Handa <handa@m17n.org>
5627 * international/mule-cmds.el (standard-display-european-internal):
5628 Setup standard-display-table for 8-bit characters by storing 8-bit
5629 characters in the element vector.
5631 * disp-table.el (standard-display-8bit):
5632 Setup standard-display-table for 8-bit characters by storing 8-bit
5633 characters in the element vector.
5634 (standard-display-european): Likewise.
5636 2010-08-31 Masatake YAMATO <yamato@redhat.com>
5638 * textmodes/nroff-mode.el (nroff-view): New command.
5639 (nroff-mode-map): Bind it to C-c C-c.
5641 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
5643 * emacs-lisp/smie.el (smie-down-list): New command.
5645 Remove old indentation and navigation code on octave-mode.
5646 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
5647 smie-down-list rather than add a binding for octave-down-block.
5648 (octave-mark-block, octave-blink-matching-block-open):
5649 Rely on forward-sexp-function.
5650 (octave-fill-paragraph): Don't narrow, so you can use
5651 indent-according-to-mode.
5652 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
5653 (octave-in-block-p, octave-re-search-forward-kw)
5654 (octave-re-search-backward-kw, octave-indent-calculate)
5655 (octave-end-as-array-index-p, octave-block-end-offset)
5656 (octave-scan-blocks, octave-forward-block, octave-backward-block)
5657 (octave-down-block, octave-backward-up-block, octave-up-block)
5658 (octave-before-magic-comment-p, octave-indent-line): Remove.
5660 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
5662 * emacs-lisp/package.el (package--read-archive-file): Just use
5663 `read', to avoid copying an additional string.
5664 (package-menu-mode): Set header-line-format here.
5665 (package-menu-refresh, package-menu-revert): Signal an error if
5666 not in the Package Menu.
5667 (package-menu-package-list): New var.
5668 (package--generate-package-list): Operate on the current buffer;
5669 don't assume that it is *Packages*, since the user may rename it.
5670 Allow persistent package listings and sort keys using
5671 package-menu-package-list and package-menu-package-sort-key.
5672 (package-menu--version-predicate): Fix version calculation.
5673 (package-menu-sort-by-column): Don't select the window.
5674 (package--list-packages): Create the *Packages* buffer.
5675 Set package-menu-package-list-key.
5676 (list-packages): Sorting by status is now the default.
5677 (package-buffer-info): Use match-string-no-properties.
5678 (define-package): Add a &rest argument for future proofing, but
5680 (package-install-from-buffer, package-install-buffer-internal):
5681 Merge into a single function, package-install-from-buffer.
5682 (package-install-file): Change caller.
5684 * finder.el: Load finder-inf using `require'.
5685 (finder-list-matches): Sorting by status is now the default.
5686 (finder-compile-keywords): Simpify printing.
5688 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5690 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
5691 (octave-mode-map): Remove special bindings for forward/backward-block
5692 and octave-backward-up-block. Use smie-close-block.
5693 (octave-continuation-marker-regexp): New var.
5694 (octave-continuation-regexp): Use it.
5695 (octave-operator-table, octave-smie-op-levels)
5696 (octave-operator-regexp, octave-smie-indent-rules): New vars.
5697 (octave-smie-backward-token, octave-smie-forward-token): New funs.
5698 (octave-mode): Use SMIE.
5699 (octave-close-block): Delete.
5701 2010-08-30 Eli Zaretskii <eliz@gnu.org>
5703 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
5704 CLIPBOARD, not in PRIMARY. (Bug#6944)
5706 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5708 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
5710 (smie-indent-column): Allow indirection through variables.
5712 * composite.el (save-buffer-state): Delete, unused.
5713 * font-lock.el (save-buffer-state): Use with-silent-modifications.
5714 (font-lock-default-fontify-region): Use with-syntax-table.
5715 * jit-lock.el (with-buffer-unmodified): Remove.
5716 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
5718 Use `declare' in defmacros.
5719 * window.el (save-selected-window):
5720 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
5721 * progmodes/python.el (def-python-skeleton):
5722 * net/dbus.el (dbus-ignore-errors):
5723 * jka-cmpr-hook.el (with-auto-compression-mode):
5724 * international/mule.el (with-category-table):
5725 * emacs-lisp/timer.el (with-timeout):
5726 * emacs-lisp/lisp-mnt.el (lm-with-file):
5727 * emacs-lisp/eieio.el (with-slots):
5728 * emacs-lisp/easymenu.el (easy-menu-define):
5729 * emacs-lisp/debug.el (debugger-env-macro):
5730 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
5731 (Multiple-value-call, Multiple-value-prog1):
5732 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
5733 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
5734 edebug rule to definition.
5735 * emacs-lisp/lisp-mode.el (save-selected-window)
5736 (with-current-buffer, combine-after-change-calls)
5737 (with-output-to-string, with-temp-file, with-temp-buffer)
5738 (with-temp-message, with-syntax-table, read-if, eval-after-load)
5739 (dolist, dotimes, when, unless):
5740 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
5742 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
5744 * finder.el: Require `package'.
5745 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
5746 (finder-package-info): Var deleted.
5747 (finder-keywords-hash, finder--builtins-alist): New vars.
5748 (finder-compile-keywords): Compute package--builtins and
5749 finder-keywords-hash instead of finder-keywords-hash, respecting
5750 the "Package" header.
5751 (finder-unknown-keywords, finder-list-matches):
5752 Use finder-keywords-hash and package--list-packages.
5753 (finder-mode): Don't set font-lock-defaults.
5754 (finder-exit): We don't use "*Finder-package*" and "*Finder
5755 Category*" buffers anymore.
5757 * emacs-lisp/package.el (package--builtins-base): Var deleted.
5758 (package--builtins): Set default value to nil.
5759 (package-initialize): Load precomputed value of package--builtins
5761 (package-alist, package-compute-transaction)
5762 (package-download-transaction): Improve docstring.
5763 (package-read-all-archive-contents): Do not change
5764 package--builtins here.
5765 (list-packages): Make package-list-packages an alias for this.
5766 Sort by status by default.
5767 (package--list-packages): Add optional PACKAGES arg.
5768 (describe-package-1): Use font-lock-face property. For built-in
5769 packages, insert file commentary.
5770 (package--generate-package-list): Rename from
5771 package-list-packages-internal; all callers changed. Add optional
5772 PACKAGES arg. Add alphabetical sort fallbacks.
5773 (package-menu--version-predicate, package-menu--status-predicate)
5774 (package-menu--description-predicate)
5775 (package-menu--name-predicate): New functions.
5777 * info.el (Info-finder-find-node): Search package-alist instead of
5778 finder-package-info.
5780 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
5782 * subr.el (version-regexp-alist): Don't use "a" and "b" for
5784 (version-to-list): Handle versions like "10.3d".
5786 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5788 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
5789 (macroexp-accumulate): Use `declare'.
5791 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5793 * whitespace.el (whitespace-style): Adjust type declaration.
5795 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
5797 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
5798 empty argument to gvfs-copy.
5800 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5802 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
5803 handle new TRASH arg of `delete-file'.
5805 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
5807 * net/tramp.el (tramp-handle-insert-directory): Don't use
5808 `forward-word', its default syntax could be changed.
5810 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5811 Michael Albinus <michael.albinus@gmx.de>
5813 Implement compression for inline methods.
5815 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
5816 (tramp-copy-size-limit): Allow also nil.
5817 (tramp-inline-compress-commands): New defconst.
5818 (tramp-find-inline-compress, tramp-get-inline-compress)
5819 (tramp-get-inline-coding): New defuns.
5820 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
5821 replaced by `tramp-get-inline-coding'.
5822 (tramp-handle-file-local-copy, tramp-handle-write-region)
5823 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
5825 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
5827 Detect ssh 'ControlMaster' argument automatically in some cases.
5829 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
5830 (tramp-default-method): Use it.
5832 2010-08-26 Karel Klíč <kklic@redhat.com>
5834 * net/tramp.el (tramp-file-name-for-operation):
5835 Add file-selinux-context.
5837 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
5839 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
5841 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5843 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
5846 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
5848 * progmodes/js.el: Make indentation more customizable (Bug#6914).
5849 (js-paren-indent-offset, js-square-indent-offset)
5850 (js-curly-indent-offset): New options.
5851 (js--proper-indentation): Use them.
5853 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
5855 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
5856 instead of inspecting font-lock properties (Bug#6916).
5858 2010-08-26 David Reitter <david.reitter@gmail.com>
5860 * server.el (server-visit-files): Run pre-command-hook and
5861 post-command-hook for each buffer while it is current (Bug#6910).
5862 (server-execute): Do not run hooks here.
5864 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
5866 Sync with Tramp 2.1.19.
5868 * net/tramp-cmds.el (tramp-cleanup-all-connections)
5869 (tramp-reporter-dump-variable, tramp-load-report-modules)
5870 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
5871 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
5873 * net/tramp-compat.el (top): Do not autoload
5874 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
5875 only when `start-file-process' is not bound.
5876 (byte-compile-not-obsolete-vars): Define if not bound.
5877 (tramp-compat-funcall): New defmacro.
5878 (tramp-compat-line-beginning-position)
5879 (tramp-compat-line-end-position)
5880 (tramp-compat-temporary-file-directory)
5881 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
5882 (tramp-compat-copy-file, tramp-compat-copy-directory)
5883 (tramp-compat-delete-file, tramp-compat-delete-directory)
5884 (tramp-compat-number-sequence, tramp-compat-process-running-p):
5886 (tramp-advice-file-expand-wildcards): Do not use
5887 `tramp-handle-file-remote-p'.
5888 (tramp-compat-make-temp-file): Simplify fallback implementation.
5889 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5890 (tramp-compat-copy-tree): Remove function.
5891 (tramp-compat-delete-file): New defun.
5892 (tramp-compat-delete-directory): Provide implementation for older
5894 (tramp-compat-file-attributes): Handle only
5895 `wrong-number-of-arguments' error.
5897 * net/tramp-fish.el (tramp-fish-handle-copy-file):
5898 Add PRESERVE_SELINUX_CONTEXT.
5899 (tramp-fish-handle-delete-file): Add TRASH arg.
5900 (tramp-fish-handle-directory-files-and-attributes):
5901 Do not use `tramp-fish-handle-file-attributes.
5902 (tramp-fish-handle-file-local-copy)
5903 (tramp-fish-handle-insert-file-contents)
5904 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
5906 * net/tramp-gvfs.el (top): Require url-util.
5907 (tramp-gvfs-mount-point): Remove.
5908 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
5909 and `set-file-selinux-context'.
5910 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
5911 (tramp-gvfs-handle-file-selinux-context)
5912 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
5913 (with-tramp-dbus-call-method): Format trace message.
5914 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
5915 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
5916 Implement backup call, when operation on local files fails.
5917 Use progress reporter. Flush properties of changed files.
5918 (tramp-gvfs-handle-delete-file): Add TRASH arg.
5919 Use `tramp-compat-delete-file'.
5920 (tramp-gvfs-handle-expand-file-name): Expand "~/".
5921 (tramp-gvfs-handle-make-directory): Make more traces.
5922 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
5923 (tramp-gvfs-url-file-name): Hexify file name in url.
5924 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
5925 into account for the resulting file name.
5926 (tramp-gvfs-handler-askquestion): Preserve current message, in
5927 order to let progress reporter continue afterwards. (Bug#6257)
5928 Return dummy mountpoint, when the answer is "no".
5929 See `tramp-gvfs-maybe-open-connection'.
5930 (tramp-gvfs-handler-mounted-unmounted)
5931 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
5932 attribute "default_location". Set "prefix" property.
5933 Handle default-location.
5934 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
5935 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
5936 exists. Raise an error, if not (due to a corresponding answer
5937 "no" in interactive questions, for example).
5938 Use `tramp-compat-funcall'.
5940 * net/tramp-imap.el (top): Autoload `epg-make-context'.
5941 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5942 (tramp-imap-do-copy-or-rename-file)
5943 (tramp-imap-handle-insert-file-contents)
5944 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
5945 (tramp-imap-handle-delete-file): Add TRASH arg.
5947 * net/tramp-smb.el (tramp-smb-handle-copy-file):
5948 Add PRESERVE-SELINUX-CONTEXT.
5949 (tramp-smb-handle-copy-file)
5950 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5951 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
5952 Use `with-progress-reporter'.
5953 (tramp-smb-handle-delete-file): Add TRASH arg.
5955 * net/tramp.el (tramp-methods): Move hostname to the end in all
5956 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
5958 (tramp-verbose): Describe verbose level 9.
5959 (tramp-completion-function-alist)
5960 (tramp-file-name-regexp, tramp-chunksize)
5961 (tramp-local-coding-commands, tramp-remote-coding-commands)
5962 (with-connection-property, tramp-completion-mode-p)
5963 (tramp-action-process-alive, tramp-action-out-of-band)
5964 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
5965 (tramp-exists-file-name-handler): Fix docstring.
5966 (tramp-remote-process-environment): Use `format' instead of
5967 `concat'. Protect version string by apostroph.
5968 (tramp-shell-prompt-pattern): Do not use a shy group in case of
5970 (tramp-file-name-regexp-unified)
5971 (tramp-completion-file-name-regexp-unified): On W32 systems, do
5972 not regard the volume letter as remote filename. (Bug#5447)
5973 (tramp-perl-file-attributes)
5974 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
5975 (tramp-vc-registered-read-file-names): Read input as
5976 here-document, otherwise the command could exceed maximum length
5978 (tramp-file-name-handler-alist): Add `file-selinux-context' and
5979 `set-file-selinux-context'.
5980 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
5981 backtrace functions.
5982 (tramp-error-with-buffer): Don't show the connection buffer when
5983 we are in completion mode.
5984 (tramp-progress-reporter-update, tramp-remote-selinux-p)
5985 (tramp-handle-file-selinux-context)
5986 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
5987 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
5989 (with-progress-reporter): New defmacro.
5990 (tramp-debug-outline-regexp): New defconst.
5991 (top, tramp-rfn-eshadow-setup-minibuffer)
5992 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
5993 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
5994 (tramp-completion-mode-p, tramp-check-for-regexp)
5995 (tramp-open-connection-setup-interactive-shell)
5996 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
5997 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
5998 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
5999 Use `tramp-compat-funcall'.
6000 (tramp-handle-make-symbolic-link): Flush file properties.
6001 (tramp-handle-load, tramp-handle-file-local-copy)
6002 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6003 (tramp-handle-vc-registered, tramp-maybe-send-script)
6004 (tramp-find-shell): Use `with-progress-reporter'.
6005 (tramp-do-file-attributes-with-stat): Add space in format string,
6006 in order to work around a bug in pdksh. Reported by Gilles Pion
6008 (tramp-handle-verify-visited-file-modtime): Do not send a command
6009 when the connection is not established.
6010 (tramp-handle-set-file-times): Simplify the check for utc.
6011 (tramp-handle-directory-files-and-attributes)
6012 (tramp-get-remote-path): Use `copy-tree'.
6013 (tramp-completion-handle-file-name-all-completions): Ensure, that
6014 non remote files are still checked. Oops.
6015 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
6016 Handle PRESERVE-SELINUX-CONTEXT.
6017 (tramp-do-copy-or-rename-file): Add progress reporter.
6018 (tramp-do-copy-or-rename-file-directly): Do not use
6019 `tramp-handle-file-remote-p'.
6020 (tramp-do-copy-or-rename-file-out-of-band):
6021 Use `tramp-compat-delete-directory'.
6022 (tramp-do-copy-or-rename-file-out-of-band)
6023 (tramp-compute-multi-hops, tramp-maybe-open-connection):
6024 Use `format-spec-make'.
6025 (tramp-handle-delete-file): Add TRASH arg.
6026 (tramp-handle-dired-uncache): Flush directory cache, not only file
6028 (tramp-handle-expand-file-name)
6029 (tramp-completion-handle-file-name-all-completions)
6030 (tramp-completion-handle-file-name-completion):
6031 Use `tramp-connectable-p'.
6032 (tramp-handle-start-file-process): Set connection property "vec".
6033 Use it, in order to invalidate file caches. Check only for
6034 `remote-tty' process property.
6035 Implement tty setting. (Bug#4604, Bug#6360)
6036 (tramp-file-name-for-operation): Add `call-process-region' and
6037 `set-file-selinux-context'.
6038 (tramp-find-foreign-file-name-handler)
6039 (tramp-advice-make-auto-save-file-name)
6040 (tramp-set-auto-save-file-modes): Remove superfluous check for
6041 `stringp'. This is done inside `tramp-tramp-file-p'.
6042 (tramp-file-name-handler): Trace 'quit. Catch the error for some
6043 operations when we are in completion mode. This gives the user
6044 the chance to correct the file name in the minibuffer.
6045 (tramp-completion-mode-p): Use `non-essential'.
6046 (tramp-handle-file-name-all-completions): Backward/ XEmacs
6047 compatibility: Use `completion-ignore-case' if
6048 `read-file-name-completion-ignore-case' does not exist.
6049 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
6050 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6052 (tramp-action-password): Hide password prompt before next run.
6053 (tramp-process-actions): Widen connection buffer for the trace.
6054 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6055 process property. Trace stty settings if `tramp-verbose' >= 9.
6056 Apply workaround for IRIX64 bug. Move argument of last
6057 `tramp-send-command' where it belongs to.
6058 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6059 front of `login-args'.
6060 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
6061 on "/dev/null" instead of "/".
6062 (tramp-get-ls-command-with-dired): Make test for "--dired"
6064 (tramp-set-auto-save-file-modes): Adapt version check.
6065 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6066 (tramp-handle-process-file): Call the program in a subshell, in
6067 order to preserve working directory.
6068 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
6069 `tramp-remote-sh' from `tramp-methods'.
6070 (tramp-get-ls-command): Make test for "--color=never" stronger.
6071 (tramp-check-for-regexp): Use (forward-line 1).
6073 * net/trampver.el: Update release number.
6075 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6077 * help.el (help-map): Bind `C-h P' to describe-package.
6079 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
6081 * emacs-lisp/package.el (package-refresh-contents): Catch errors
6082 when downloading archives.
6083 (describe-package-1): Add package commentary.
6084 (package-install-button-action): New function.
6085 (package-menu-mode-map): Bind ? to package-menu-describe-package.
6086 (package-menu-view-commentary): Function removed.
6087 (package-list-packages-internal): Hide the `package' package too.
6089 2010-08-25 Kenichi Handa <handa@m17n.org>
6091 * language/misc-lang.el ("Arabic"): New language environment.
6092 Setup composition-function-table for Arabic characters.
6094 * international/fontset.el (setup-default-fontset): Fix typo for
6095 arabic OTF spec (fini->fina).
6097 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
6099 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
6102 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6104 * whitespace.el: Allow cleaning up blanks without blank
6105 visualization (Bug#6651). Adjust help window for
6106 whitespace-toggle-options (Bug#6479). Allow to use fill-column
6107 instead of whitespace-line-column (from EmacsWiki). New version
6109 (whitespace-style): Add new value 'face. Adjust docstring.
6110 (whitespace-space, whitespace-hspace, whitespace-tab):
6111 Adjust foreground property face.
6112 (whitespace-line-column): Adjust docstring and type declaration.
6113 (whitespace-style-value-list, whitespace-toggle-option-alist)
6114 (whitespace-help-text): Adjust const initialization.
6115 (whitespace-toggle-options, global-whitespace-toggle-options):
6117 (whitespace-display-window, whitespace-interactive-char)
6118 (whitespace-style-face-p, whitespace-color-on): Adjust code.
6119 (whitespace-help-scroll): New fun.
6121 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6123 * emacs-lisp/package.el (list-packages): Alias for
6124 package-list-packages.
6126 2010-08-24 Kevin Ryde <user42@zip.com.au>
6128 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
6131 * progmodes/ruby-mode.el (ruby): Add defgroup.
6133 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6135 * progmodes/python.el: Add Ipython support (Bug#5390).
6136 (python-shell-prompt-alist)
6137 (python-shell-continuation-prompt-alist): New options.
6138 (python--set-prompt-regexp): New function.
6139 (inferior-python-mode, run-python, python-shell):
6140 Require ansi-color. Use python--set-prompt-regexp to set the comint
6141 prompt based on the Python interpreter.
6142 (python--prompt-regexp): New var.
6143 (python-check-comint-prompt)
6144 (python-comint-output-filter-function): Use it.
6145 (run-python): Use a pipe (Bug#5694).
6147 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
6149 * progmodes/python.el (python-send-region): Send a different
6150 Python command if Ipython is in use.
6151 (python-check-version): Use a Python command to find the version.
6153 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6155 * mouse.el (mouse-yank-primary): Avoid setting primary when
6156 deactivating the mark (Bug#6872).
6158 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
6160 * progmodes/python.el (python-block-pairs): Allow use of "finally"
6161 with "else" (Bug#3991).
6163 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
6165 * net/dbus.el: Accept UNIX domain sockets as bus address.
6166 (top): Don't initialize `dbus-registered-objects-table' anymore,
6167 this is done in dbusbind,c.
6168 (dbus-check-event): Adapt test for bus.
6169 (dbus-return-values-table, dbus-unregister-service)
6170 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
6173 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
6175 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
6177 2010-08-22 Juri Linkov <juri@jurta.org>
6179 * simple.el (read-extended-command): New function with the logic
6180 for `completing-read' moved to Elisp from `execute-extended-command'.
6181 Use `function-called-at-point' in `minibuffer-default-add-function'
6182 to get a command name for M-n (bug#5364, bug#5214).
6184 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6186 * startup.el (command-line-1): Issue warning for ignored arguments
6187 --unibyte, etc (Bug#6886).
6189 2010-08-22 Leo <sdl.web@gmail.com>
6191 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
6192 (ignore, bright, dim, keyword): Split list of nicknames before
6193 passing to rcirc-add-or-remove (Bug#6894).
6195 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6197 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
6199 2010-08-22 Leo <sdl.web@gmail.com>
6201 Fix buffer-list rename&refresh after killing a buffer in ido.
6202 * ido.el: Revert Óscar's.
6203 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
6204 Remember the buffers at head, rather than their name.
6205 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
6207 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
6208 Stefan Monnier <monnier@iro.umontreal.ca>
6210 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
6211 extra backslash added to each line (bug#6890).
6213 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6215 * subr.el (read-key): Don't echo keystrokes (bug#6883).
6217 2010-08-22 Glenn Morris <rgm@gnu.org>
6219 * menu-bar.el (menu-bar-games-menu): Add landmark.
6221 2010-08-22 Glenn Morris <rgm@gnu.org>
6223 * align.el (align-regexp): Make group and spacing arguments
6224 use the interactive defaults when non-interactive. (Bug#6698)
6226 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
6227 expansion, so as not to need sendmail.
6228 (mail-text-start): Remove declaration.
6229 (rmail-retry-failure): Require sendmail.
6231 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6233 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
6235 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
6237 * progmodes/flymake.el (flymake-start-syntax-check-process):
6238 Use `start-file-process' in order to let it run also on remote hosts.
6240 2010-08-22 Kenichi Handa <handa@m17n.org>
6242 * files.el: Add `word-wrap' as safe local variable.
6244 2010-08-22 Glenn Morris <rgm@gnu.org>
6246 * woman.el (woman-translate): Case matters. (Bug#6849)
6248 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6250 * simple.el (kill-region): Doc fix (Bug#6787).
6252 2010-08-22 Glenn Morris <rgm@gnu.org>
6254 * calendar/diary-lib.el (diary-header-line-format):
6255 Fit it to the window, not the frame.
6257 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
6259 * subr.el (ignore-errors): Add debug declaration.
6261 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
6263 * whitespace.el (whitespace-color-off): Remove post-command-hook
6266 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6268 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
6270 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
6272 * cus-edit.el (custom-group-value-create): Add extra newline
6273 before end line (Bug#6876).
6275 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
6277 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
6278 when extending it. Before killing on the second click, check if
6279 the buffer is the correct one. Doc fix.
6280 (mouse-secondary-save-then-kill): Allow usage without first
6281 calling mouse-start-secondary, by defaulting to point. Don't save
6282 an empty secondary selection. Doc fix.
6284 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6286 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
6287 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
6289 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
6290 Adjust initialization.
6291 (whitespace-bob-marker, whitespace-eob-marker)
6292 (whitespace-buffer-changed): New vars.
6293 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
6294 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
6295 (whitespace-post-command-hook, whitespace-display-char-on):
6297 (whitespace-looking-back, whitespace-buffer-changed): New funs.
6298 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
6300 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
6302 * files.el (locate-file-completion-table): Only list the .el and .elc
6303 extensions if there's no other choice (bug#5955).
6305 * facemenu.el (facemenu-self-insert-data): New var.
6306 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
6308 (facemenu-add-face): Use them.
6310 * simple.el (blink-matching-open): Obey forward-sexp-function.
6312 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
6314 * simple.el (prog-mode-map): New var.
6315 (prog-indent-sexp): New command.
6317 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
6319 * progmodes/prolog.el (smie): Require.
6321 * emacs-lisp/smie.el (smie-default-backward-token)
6322 (smie-default-forward-token): Strip properties.
6323 (smie-next-sexp): Be more careful with associative operators.
6324 (smie-forward-sexp-command): Generalize.
6325 (smie-backward-sexp-command): Simplify.
6326 (smie-closer-alist): New var.
6327 (smie-close-block): New command.
6328 (smie-indent-debug-log): New var.
6329 (smie-indent-offset-rule): Add a few more cases.
6330 (smie-indent-column): New function.
6331 (smie-indent-after-keyword): Use it.
6332 (smie-indent-keyword): Use it.
6333 Fix up the opener code's point position.
6334 (smie-indent-comment): Only applies at BOL.
6335 (smie-indent-debug): New command.
6337 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
6338 declarations that are useful before running the macro.
6340 2010-08-18 Joakim Verona <joakim@verona.se>
6342 * image.el (imagemagick-types-inhibit): New variable.
6343 (imagemagick-register-types): New function.
6344 * image-mode.el (image-transform-properties): New function.
6345 (image-transform-set-scale, image-transform-fit-to-height)
6346 (image-transform-set-rotation, image-transform-set-resize)
6347 (image-transform-fit-to-width, image-transform-fit-to-height):
6349 (image-toggle-display-image): Support image transforms.
6351 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
6353 * image.el (create-animated-image): Don't add heuristic mask to image
6356 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
6358 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
6359 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
6361 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
6363 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
6365 Font-lock '...' strings, plus various simplifications and fixes.
6366 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6367 (octave-font-lock-close-quotes): New function.
6368 (octave-font-lock-syntactic-keywords): New var.
6369 (octave-mode): Use it. Set beginning-of-defun-function.
6370 (octave-mode-map): Don't override the <foo>-defun commands.
6371 (octave-mode-menu): Pass it directly to easy-menu-define;
6372 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
6373 (octave-block-match-alist): Fix up last change so that
6374 octave-close-block uses the more specific keyword.
6375 (info-lookup-mode): Silence byte-compiler.
6376 (octave-beginning-of-defun): Not interactive any more.
6378 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
6379 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
6380 (octave-completion-at-point-function): Make sure point is within
6382 (octave-reindent-then-newline-and-indent):
6383 Use reindent-then-newline-and-indent.
6384 (octave-add-octave-menu): Remove.
6386 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
6388 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
6389 (report-emacs-bug-can-use-xdg-email): New functions.
6390 (report-emacs-bug): Set can-xdg-email to result of
6391 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
6392 \C-cm to report-emacs-bug-insert-to-mailer and add help text
6395 * net/browse-url.el (browse-url-default-browser): Add cond
6396 for browse-url-xdg-open.
6397 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
6399 2010-08-17 Glenn Morris <rgm@gnu.org>
6401 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
6402 (c-fontify-recorded-types-and-refs): Define for compiler.
6403 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
6406 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
6409 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
6411 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
6413 (tramp-handle-process-file): Call the program in a subshell, in
6414 order to preserve working directory.
6415 (tramp-action-password): Hide password prompt before next run.
6416 (tramp-process-actions): Widen connection buffer for the trace.
6418 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6420 * net/rcirc.el (rcirc-log-process-buffers): New option.
6421 (rcirc-print): Use it.
6422 (rcirc-generate-log-filename): New function.
6423 (rcirc-log-filename-function): Change default to
6424 rcirc-generate-log-filename (Bug#6828).
6426 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
6428 * simple.el (deactivate-mark): If select-active-regions is `only',
6429 only set selection for temporarily active regions.
6431 * cus-start.el: Change defcustom for select-active-regions.
6433 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
6435 * mouse.el (mouse--drag-set-mark-and-point): New function.
6436 (mouse-drag-track): Use LOCATION arg to push-mark.
6437 Use mouse--drag-set-mark-and-point to take click-count into
6438 consideration when updating point and mark (Bug#6840).
6440 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
6442 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6443 Give the Ruby rule a lower priority than Gnu (Bug#6778).
6445 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
6447 * font-lock.el (lisp-font-lock-keywords-2):
6448 Add combine-after-change-calls, condition-case-no-debug,
6449 with-demoted-errors, and with-silent-modifications (Bug#6025).
6451 2010-08-14 Kevin Ryde <user42@zip.com.au>
6453 * emacs-lisp/copyright.el (copyright-update-year)
6454 (copyright-update): Temporary switch-to-buffer to ensure the
6455 buffer change being queried is visible (Bug#5394).
6457 2010-08-14 Tom Tromey <tromey@redhat.com>
6459 * progmodes/etags.el (tags-file-name): Mark safe if stringp
6462 2010-08-14 Eli Zaretskii <eliz@gnu.org>
6464 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
6467 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
6469 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
6470 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6471 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6472 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
6473 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
6474 Call menu-bar-set-tool-bar-position.
6476 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6478 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
6479 comment style (bug#6834).
6480 * progmodes/scheme.el (scheme-mode-syntax-table):
6481 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
6482 "b" flag in "' 14b" syntax.
6484 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
6485 for (un)commenting the region and performing completion.
6486 (octave-mode-menu): Use standard commands for help and completion.
6487 (octave-mode-syntax-table): Support %{..%} comments (sort of).
6488 (octave-mode): Use define-derived-mode.
6489 Set completion-at-point-functions and don't set columns.
6490 Don't disable adaptive-fill-regexp.
6491 (octave-describe-major-mode, octave-comment-region)
6492 (octave-uncomment-region, octave-comment-indent)
6493 (octave-indent-for-comment): Remove.
6494 (octave-indent-calculate): Rename from calculate-octave-indent.
6495 (octave-indent-line, octave-fill-paragraph): Update caller.
6496 (octave-initialize-completions): No need to make an alist.
6497 (octave-completion-at-point-function): New function.
6498 (octave-complete-symbol): Use it.
6499 (octave-insert-defun): Use define-skeleton.
6501 * progmodes/octave-mod.el (octave-mode): Set comment-add.
6502 (octave-mode-map): Use comment-dwim (bug#6829).
6504 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
6506 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
6507 indentation of inserted comment.
6509 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
6511 * faces.el (region): Add type gtk that uses gtk colors.
6513 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
6514 Handle theme-name change.
6516 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
6518 * progmodes/sql.el: Version 2.5
6519 (sql-product-alist): Add :prompt-cont-regexp property for several
6521 (sql-prompt-cont-regexp): New variable.
6522 (sql-output-newline-count, sql-output-by-send):
6523 New variables. Record number of newlines in input text.
6524 (sql-send-string): Handle multiple filters and count newlines.
6525 (sql-send-magic-terminator): Count terminator newline.
6526 (sql-interactive-remove-continuation-prompt): Filters output to
6527 remove continuation prompts; one for each newline.
6528 (sql-interactive-mode): Set up new variables, prompt regexp and
6530 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
6531 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
6533 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6535 * emacs-lisp/pcase.el: New file.
6537 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
6539 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
6540 as here-document, otherwise the command could exceed maximum
6541 length of command line.
6542 (tramp-handle-vc-registered): Call script accordingly.
6543 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
6545 2010-08-10 Kenichi Handa <handa@m17n.org>
6547 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
6550 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
6552 * emacs-lisp/package.el (package-version-split)
6553 (package--version-first-nonzero, package-version-compare):
6555 (package-directory-list, package-load-all-descriptors)
6556 (package--built-in, package-activate, define-package)
6557 (package-installed-p, package-compute-transaction)
6558 (package-read-all-archive-contents)
6559 (package--add-to-archive-contents, package-buffer-info)
6560 (package-tar-file-info, package-list-packages-internal):
6561 Use version-to-list and version-list-*.
6563 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6564 Use version-to-list.
6565 (package-upload-buffer-internal): Use version-list-<=.
6567 2010-08-09 Kenichi Handa <handa@m17n.org>
6569 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
6572 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
6574 * tutorial.el (tutorial--default-keys): C-d is now bound to
6575 delete-forward-char (Bug#6826).
6577 * mouse.el (mouse-drag-track): Remove accidentally-removed check
6578 for `double' value of mouse-1-click-follows-link (Bug#6807).
6580 2010-08-08 Johan Bockgård <bojohan@gnu.org>
6582 * replace.el (replace-highlight): Bind isearch-forward and
6583 isearch-error, ensuring that highlighting is updated if the user
6584 switches the search direction (Bug#6808).
6586 * isearch.el (isearch-lazy-highlight-forward): New var.
6587 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6588 (isearch-lazy-highlight-update): Use it.
6590 2010-08-08 Kenichi Handa <handa@m17n.org>
6592 * international/mule.el (define-charset): Store NAME as :base property.
6593 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
6594 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
6595 current priority. Force using the designation of the specific
6596 charset by adding `charset' text property. Improve the whole algorithm.
6598 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6600 * emulation/pc-select.el (pc-selection-mode-hook)
6601 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
6602 (pc-selection-mode): Fix typos in docstrings.
6604 2010-08-08 Kenichi Handa <handa@m17n.org>
6606 * language/cyrillic.el: Don't add "microsoft-cp1251" to
6607 ctext-non-standard-encodings-alist here.
6609 * international/mule.el (ctext-non-standard-encodings-alist):
6610 Add "koi8-r" and "microsoft-cp1251".
6611 (ctext-standard-encodings): New variable.
6612 (ctext-non-standard-encodings-table): List only elements for
6613 non-standard encodings.
6614 (ctext-pre-write-conversion): Adjust for the above change.
6615 Check ctext-standard-encodings.
6617 * international/mule-conf.el (compound-text): Doc fix.
6618 (ctext-no-compositions): Doc fix.
6619 (compound-text-with-extensions): Doc fix.
6621 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6623 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
6625 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6627 * progmodes/which-func.el (which-func-format): Split help-echo text
6628 into lines, like other mode-line tooltips.
6630 * server.el (server-start): When using TCP sockets, force IPv4
6631 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
6633 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6635 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
6637 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6639 * term.el (term-delimiter-argument-list): Reflow docstring.
6640 (term-read-input-ring, term-write-input-ring, term-send-input)
6641 (term-bol, term-erase-in-display, serial-supported-or-barf):
6642 Fix typos in docstrings.
6644 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6646 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
6648 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6650 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
6652 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
6654 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
6655 Fix typo in docstring (bug#6747).
6657 2010-08-08 Leo <sdl.web@gmail.com>
6659 * eshell/esh-io.el (eshell-get-target): Better detection of
6660 read-only file (Bug#6762).
6662 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6664 * align.el (align-default-spacing): Doc fix.
6665 (align-region-heuristic, align-regexp): Fix typos in docstrings.
6667 2010-08-08 Stephen Peters <speters@itasoftware.com>
6669 * calendar/icalendar.el
6670 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
6671 (icalendar--get-weekday-numbers): New.
6672 (icalendar--convert-recurring-to-diary): Handle multiple byday
6673 values in weekly rules. (Bug#6766)
6675 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
6677 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
6678 (icalendar--create-uid, icalendar-export-region)
6679 (icalendar--parse-summary-and-rest): Code formatting.
6681 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
6683 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
6684 to italicize headers.
6685 (calc-highlight-selections-with-faces): New variable.
6686 (calc-selected-face, calc-nonselected-face): New faces.
6688 * calc/calccomp.el (math-comp-highlight-string): Use
6689 `calc-highlight-selections-with-faces' to determine how to highlight
6692 * calc/calc-sel.el (calc-show-selections): Change message to when
6693 using faces to highlight selections.
6695 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
6697 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
6698 Add SQLite 3 keywords, functions and datatypes.
6699 (sql-interactive-mode): Remove `comint-process-echoes' set to t
6702 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
6704 * simple.el (select-active-regions): Move to keyboard.c.
6705 (deactivate-mark): Used saved-region-selection.
6706 (select-active-region): Function removed.
6707 (activate-mark, set-mark, push-mark-command)
6708 (handle-shift-selection): Don't call it.
6709 (keyboard-quit): Avoid adding the region to the window selection.
6711 * mouse.el (mouse-drag-track): Remove hacks to deal with old
6712 select-active-regions implementation.
6713 (mouse-yank-at-click): Doc fix.
6715 * cus-start.el: Add custom declaration for select-active-regions.
6717 2010-08-07 Eli Zaretskii <eliz@gnu.org>
6719 * simple.el (delete-forward-char): Doc fix.
6721 * tutorial.el (help-with-tutorial): Hack safe file-local variables
6722 after reading the tutorial.
6724 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
6726 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
6727 Fix for the case that a C style comment has its delimiters alone on
6728 their respective lines.
6730 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
6732 * net/tramp.el (tramp-handle-start-file-process): Set connection
6734 (tramp-process-sentinel): Use it for flushing the cache.
6735 We cannot do it via the process buffer, the buffer could be deleted
6736 already when running the sentinel.
6738 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
6740 * comint.el (comint-mode): Make directory tracking functions
6741 functional on remote files. (Bug#6764)
6743 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
6745 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
6747 2010-08-05 Eli Zaretskii <eliz@gnu.org>
6749 * emacs-lisp/find-gc.el (find-gc-source-files):
6750 Rename unexec.c => unexcoff.c.
6752 * emacs-lisp/authors.el (authors-fixed-entries):
6753 Rename unexec.c => unexcoff.c.
6755 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
6757 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
6758 cache, not only file cache.
6759 (tramp-process-sentinel): New defun.
6760 (tramp-handle-start-file-process): Use it, in order to invalidate
6763 2010-08-03 Leo <sdl.web@gmail.com>
6765 * server.el (server-start): Simplify loop.
6767 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6769 * frame.el (screen-height, screen-width, set-screen-width)
6770 (set-screen-height): Remove ancient compatibility aliases.
6772 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
6773 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
6775 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
6776 that change current buffer.
6778 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6780 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
6781 beginning of the string. Use `string-match-p'. (Bug#6765)
6783 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
6785 * cus-start.el (x-gtk-use-system-tooltips): New variable.
6787 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
6789 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
6790 (package--builtins): Tweak descriptions.
6791 (package-print-package): Upcase descriptions if necessary.
6792 Show all built-in packages in font-lock-builtin-face.
6793 (package-list-packages-internal): Omit "emacs" package.
6794 Show status of built-in packages as "built-in".
6796 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
6798 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
6799 before killing to preserve the primary selection (Bug#6701).
6801 * term/x-win.el (x-select-text): Doc fix.
6803 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
6805 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
6806 (objc-font-lock-extra-types):
6807 * progmodes/cc-mode.el (c-basic-common-init):
6808 * progmodes/cc-langs.el (c-make-mode-syntax-table)
6809 (c++-make-template-syntax-table)
6810 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
6811 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
6812 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
6813 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
6814 * progmodes/cc-fonts.el (c-make-inverse-face)
6815 (c-basic-matchers-after):
6816 * progmodes/cc-engine.el (c-forward-keyword-clause)
6817 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
6818 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
6819 (c-guess-continued-construct, c-guess-basic-syntax):
6820 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
6821 The above functions were modified or created.
6823 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
6825 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
6827 2010-07-31 Eli Zaretskii <eliz@gnu.org>
6829 * files.el (bidi-paragraph-direction): Define safe local values.
6831 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
6832 language-info-alist. Remove outdated FIXME in a comment.
6834 2010-07-31 Alan Mackenzie <acm@muc.de>
6836 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
6837 Auto-fill broken in C/C++ modes.
6839 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
6841 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6842 (menu-bar-showhide-tool-bar-menu-customize-disable)
6843 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6844 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
6845 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
6846 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
6847 make a menu for Options => toolbar that can move it.
6849 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
6851 * emacs-lisp/package-x.el (package--make-rss-entry):
6852 (package-maint-add-news-item, package--update-news)
6853 (package-upload-buffer-internal): New arg ARCHIVE-URL.
6855 * emacs-lisp/package.el (package-archive-url): Rename from
6857 (package-install): Doc fix.
6858 (package-download-single, package-download-tar, package-install)
6859 (package-menu-view-commentary): Callers changed.
6861 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
6863 * net/tramp.el (tramp-handle-start-file-process): Check only for
6864 `remote-tty' process property.
6865 (tramp-open-shell): Don't check for tty.
6866 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6869 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
6872 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
6874 * emacs-lisp/package.el (package-load-list, package-archives)
6875 (package-archive-contents, package-user-dir)
6876 (package-directory-list, package--builtins, package-alist)
6877 (package-activated-list, package-obsolete-alist): Mark as risky.
6879 2010-07-28 Phil Hagelberg <phil@evri.com>
6881 Add support for non-default package repositories.
6882 * emacs-lisp/package.el (package-archive-base): Var deleted.
6883 (package-archives): New variable.
6884 (package-archive-contents): Doc fix.
6885 (package-load-descriptor): Do nothing if descriptor file is missing.
6886 (package--write-file-no-coding): New function.
6887 (package-unpack-single): Use it.
6888 (package-archive-id): New function.
6889 (package-download-single, package-download-tar)
6890 (package-menu-view-commentary): Use it.
6891 (package-installed-p): Make second argument optional.
6892 (package-read-all-archive-contents): New function.
6893 (package-initialize): Use it.
6894 (package-read-archive-contents): Add ARCHIVE argument.
6895 (package--add-to-archive-contents): New function.
6896 (package-install): Don't call package-read-archive-contents.
6897 (package--download-one-archive): Store archive file in a
6898 subdirectory of package-user-dir.
6899 (package-menu-execute): Remove spurious line movement.
6901 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
6903 * cus-start.el (tool-bar-style): Add text-image-horiz.
6905 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
6907 * progmodes/gud.el (gud-common-init): Check for remoteness of
6908 `file', and not of `default-directory'.
6910 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
6912 * net/tramp.el (tramp-methods): Move hostname to the end in all
6913 ssh `tramp-login-args'.
6914 (tramp-verbose): Describe verbose level 9.
6915 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
6916 (tramp-open-connection-setup-interactive-shell): Trace stty
6917 settings if `tramp-verbose' >= 9.
6918 (tramp-handle-start-file-process): Implement tty setting.
6919 (Bug#4604, Bug#6360)
6921 * net/tramp-cmds.el (tramp-bug): Recommend setting of
6922 `tramp-verbose' to 9.
6924 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
6926 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
6927 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
6928 Remove references to package `lisp-re' (bug#4369).
6930 2010-07-27 Tom Tromey <tromey@redhat.com>
6932 * progmodes/js.el (js-mode):
6933 * progmodes/make-mode.el (makefile-mode):
6934 * progmodes/simula.el (simula-mode):
6935 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
6937 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
6939 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
6941 * time.el (display-time-day-and-date): Remove spurious * in docstring.
6942 (display-time-world-buffer-name, display-time-world-mode-map):
6943 Fix typos in docstrings.
6945 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
6947 * image-mode.el (image-display-size): New function.
6948 (image-forward-hscroll, image-next-line, image-eol, image-eob)
6949 (image-mode-fit-frame): Use it (Bug#6639).
6951 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
6953 * dired.el (dired-buffers-for-dir): Handle list values of
6954 dired-directory (Bug#6636).
6956 2010-07-26 Sam Steingold <sds@gnu.org>
6958 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
6959 Do not call `x-get-selection' the second time, reuse the value.
6961 2010-07-26 Daiki Ueno <ueno@unixuser.org>
6963 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
6964 which consist of control chars only. Suggested by Richard Stallman.
6966 2010-07-25 Daiki Ueno <ueno@unixuser.org>
6968 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
6969 exists before passing an error to find-file-not-found-functions
6972 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
6974 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
6975 Remove leading nil element, adjust values.
6976 (tetris-shapes, tetris-shape-scores):
6977 Change representation of shapes and remove some redundancy.
6978 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
6979 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
6980 Adjust for working with new representation of shapes.
6981 (tetris-shape-rotations): New function.
6982 (tetris-move-bottom, tetris-move-left, tetris-move-right)
6983 (tetris-rotate-prev, tetris-rotate-next):
6984 Adjust for working with the new version of tetris-test-shape.
6986 2010-07-23 Markus Triska <markus.triska@gmx.at>
6988 * progmodes/ps-mode.el: Use comint (bug#5954).
6989 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
6990 (ps-mode-other-newline): Simplify.
6991 (ps-run-mode): Derive from comint-mode instead of
6992 fundamental-mode, yielding input history etc.
6993 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
6994 (ps-run-send-string): Adapt for comint-mode.
6995 (ps-run-newline): Remove now unneeded function.
6997 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6999 * net/tramp.el (tramp-methods): Move hostname to the end in all
7000 plink `tramp-login-args'.
7002 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7004 * net/tramp.el (tramp-open-shell): New defun.
7005 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7008 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7010 * net/tramp.el (tramp-file-name-regexp-unified)
7011 (tramp-completion-file-name-regexp-unified): On W32 systems, do
7012 not regard the volume letter as remote filename. (Bug#5447)
7014 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
7016 * custom.el (custom-declare-variable): Give a clearer error message
7017 when the docstring is missing (bug#6476).
7019 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
7021 * progmodes/sql.el: Version 2.4. Improved Login prompting.
7022 (sql-login-params): New widget definition.
7023 (sql-oracle-login-params, sql-mysql-login-params)
7024 (sql-solid-login-params, sql-sybase-login-params)
7025 (sql-informix-login-params, sql-ingres-login-params)
7026 (sql-ms-login-params, sql-postgres-login-params)
7027 (sql-interbase-login-params, sql-db2-login-params)
7028 (sql-linter-login-params): Use it.
7029 (sql-sqlite-login-params): Use it; Define "database" parameter as
7031 (sql-sqlite-program): Change to "sqlite3".
7032 (sql-comint-sqlite): Make sure database name is complete.
7033 (sql-for-each-login): New function.
7034 (sql-connect, sql-save-connection): Use it.
7035 (sql-get-login-ext): New function.
7036 (sql-get-login): Use it.
7037 (sql-make-alternate-buffer-name): Handle :file parameters.
7039 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
7041 * dired.el (dired-no-confirm): Document value t and fix defcustom to
7042 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
7044 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
7046 * dired.el (dired-mode-map): Use command remapping (bug#6632).
7048 2010-07-22 Lawrence Mitchell <wence@gmx.li>
7050 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
7052 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
7054 * net/tramp.el (tramp-get-ls-command)
7055 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
7058 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
7060 * progmodes/sql.el: Version 2.3.
7061 (sql-connection-alist): Change keys from symbols to strings;
7062 enhanced the widget definition.
7063 (sql-mode-menu): Add submenu to select connections.
7064 (sql-interactive-mode-menu): Add "Save Connection" item.
7065 (sql-add-product): Fix menu item.
7066 (sql-get-product-feature): Improved error handling.
7067 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
7068 (sql-make-alternate-buffer-name): Simplified.
7069 (sql-product-interactive): Handle missing product.
7070 (sql-connect): Support string keys, minor improvements.
7071 (sql-save-connection): New function.
7072 (sql-connection-menu-filter): New function.
7074 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
7076 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
7077 (tramp-open-connection-setup-interactive-shell):
7078 Apply workaround for IRIX64 bug. Move argument of last
7079 `tramp-send-command' where it belongs to.
7081 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
7083 * net/tramp.el (tramp-perl-file-attributes)
7084 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
7085 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
7086 front of `login-args'.
7088 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
7090 * time.el (display-time-world-mode): Define with `define-derived-mode'.
7091 Set `show-trailing-whitespace' to nil.
7092 (display-time-world-display): Simplify.
7094 2010-07-18 Alan Mackenzie <acm@muc.de>
7096 Enhance `c-file-style' in file/directory local variables.
7097 * progmodes/cc-mode.el (c-count-cfss): New function.
7098 (c-before-hack-hook): Call `c-set-style' differently according to
7099 whether c-file-style was set in file or directory local
7102 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
7104 * progmodes/sql.el: Version 2.2.
7105 (sql-product, sql-user, sql-database, sql-server, sql-port):
7106 Use defcustom :safe keyword rather than putting safe-local-variable
7108 (sql-password): Use defcustom :risky keyword rather than putting
7109 risky-local-variable property.
7110 (sql-oracle-login-params, sql-sqlite-login-params)
7111 (sql-solid-login-params, sql-sybase-login-params)
7112 (sql-informix-login-params, sql-ingres-login-params)
7113 (sql-ms-login-params, sql-postgres-login-params)
7114 (sql-interbase-login-params, sql-db2-login-params)
7115 (sql-linter-login-params): Add `port' option.
7116 (sql-get-product-feature): Add NO-INDIRECT parameter.
7117 (sql-comint-oracle, sql-comint-sybase)
7118 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
7119 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
7120 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
7121 (sql-comint-linter): Rename sql-connect-* functions to
7123 (sql-product-alist, sql-mode-menu): Rename as above and
7124 :sqli-connect-func to :sqli-comint-func.
7125 (sql-connection): New variable.
7126 (sql-interactive-mode): Set it.
7127 (sql-connection-alist): New variable.
7128 (sql-connect): New function.
7129 (sql--alt-buffer-part, sql--alt-if-not-empty)
7130 (sql-make-alternate-buffer-name): Improved alternative buffer name.
7132 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7134 * image-mode.el (image-bookmark-make-record): Do not set context
7135 in an image (Bug#6650).
7137 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
7139 * simple.el (select-active-region): New function.
7140 (push-mark-command, set-mark, activate-mark)
7141 (handle-shift-selection): Use it.
7142 (deactivate-mark): Don't check for size of region.
7144 * mouse.el (mouse-drag-track): Use select-active-region.
7146 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
7148 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
7151 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
7153 * term/x-win.el (x-select-enable-primary): Change default to nil.
7154 (x-select-enable-clipboard): Add :version keyword.
7156 * mouse.el (mouse-drag-copy-region):
7157 * simple.el (select-active-regions): Likewise.
7159 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
7161 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
7162 (vc-coding-system-for-diff): Use it to decide whether to inherit
7163 from the file the EOL format for reading the diffs of that file.
7166 2010-07-16 Eli Zaretskii <eliz@gnu.org>
7168 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
7169 unibyte, so compressed attachments are not compressed again.
7171 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
7173 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
7174 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
7175 (tramp-find-shell): Simplify setting connection property.
7176 (tramp-get-ls-command): Make test for "--color=never" stronger.
7178 2010-07-15 Simon South <ssouth@member.fsf.org>
7180 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
7181 blocks within record declarations (i.e. variant parts) correctly.
7183 2010-07-15 Simon South <ssouth@member.fsf.org>
7185 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
7186 over literal tokens when parsing so newlines aren't "absorbed" by
7187 single-line comments. Corrects the indentation of case blocks
7188 that have a comment on the first line.
7190 2010-07-14 Karl Fogel <kfogel@red-bean.com>
7192 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
7193 by Drew Adams (Bug#5504).
7195 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
7197 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
7198 now that Unicode is used (Bug#6594).
7200 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
7202 * term/x-win.el (x-select-enable-clipboard): Default to t.
7203 (x-initialize-window-system): Don't overwrite Paste menu item.
7205 * simple.el (select-active-regions): Default to t.
7206 (push-mark-command): Don't overwrite primary with empty string.
7208 * mouse.el: Bind mouse-2 to mouse-yank-primary.
7209 (mouse-drag-copy-region): Default to nil.
7211 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
7212 Cut/Copy/Paste menu bar items.
7214 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7216 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
7217 Patch applied by Karl Fogel.
7219 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
7220 and `bookmark-current-buffer' if they have been already set in
7221 another buffer (e.g gnus-art).
7223 2010-07-13 Karl Fogel <kfogel@red-bean.com>
7224 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7226 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
7228 * bookmark.el (bookmark-make-record-default): Allow unneeded
7229 information to be omitted from the record.
7231 Adjust declarations and calls:
7233 * info.el (bookmark-make-record-default): Adjust declaration.
7234 (Info-bookmark-make-record): Adjust call.
7236 * woman.el (bookmark-make-record-default): Adjust declaration.
7237 (woman-bookmark-make-record): Adjust call.
7239 * man.el (bookmark-make-record-default): Adjust declaration.
7240 (Man-bookmark-make-record): Adjust call.
7242 * image-mode.el (bookmark-make-record-default): Adjust declaration.
7244 * doc-view.el (bookmark-make-record-default): Adjust declaration.
7246 2010-07-13 Karl Fogel <kfogel@red-bean.com>
7248 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
7249 This is also from Thierry Volpiatto's patch in bug #6444. However,
7250 because it was extraneous to the functional change in that patch,
7251 and causes a re-indendation, I am committing it separately.
7253 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7255 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
7256 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
7257 Patch applied by Karl Fogel (Bug#6444).
7259 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
7261 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
7263 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
7265 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
7266 Dempsky; bug#5084). Remove incorrect binding for S-tab.
7267 (ns-alternatives-map): Change S-tab binding to backtab
7270 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
7273 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
7275 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
7278 * language/tv-util.el (tai-viet-re): Remove format.
7280 2010-07-12 Kenichi Handa <handa@m17n.org>
7282 * language/hebrew.el: Remove no-byte-compile declaration.
7283 Change coding: tag to utf-8. Register hebrew-shape-gstring in
7284 composition-function-table for 3-character looking back.
7285 (hebrew-font-get-precomposed): New function.
7286 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
7288 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
7290 * mouse.el (mouse-drag-track): Handle select-active-regions
7293 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
7295 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
7296 empty argument to gvfs-copy.
7298 2010-07-10 Glenn Morris <rgm@gnu.org>
7300 * calendar/calendar.el (calendar-week-end-day): New function.
7301 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
7302 Respect calendar-week-start-day. (Bug#6606)
7303 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
7304 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
7305 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
7306 respect calendar-week-start-day.
7308 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
7310 * simple.el (use-region-p): Doc fix (Bug#6607).
7312 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
7314 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7315 Add regexps for cucumber and ruby.
7317 2010-07-08 Daiki Ueno <ueno@unixuser.org>
7319 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
7320 (epa-file-insert-file-contents): Hack to prevent
7321 find-file from opening empty buffer when decryption failed
7324 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
7326 * textmodes/ispell.el (ispell-alternate-dictionary):
7327 Use file-readable-p.
7328 Return nil if no word-list is found at default locations.
7329 (ispell-complete-word-dict): Default to nil.
7330 (ispell-command-loop): Use 'word-list' when using lookup-words.
7331 (lookup-words): Use ispell-complete-word-dict or
7332 ispell-alternate-dictionary. Check for word-list availability
7333 and handle errors if needed with better messages (Bug#6539).
7334 (ispell-complete-word): Use ispell-complete-word-dict or
7335 ispell-alternate-dictionary.
7337 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
7339 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
7340 builtins (BufferError, BytesWarning, WindowsError; callables
7341 bin, bytearray, bytes, format, memoryview, next, print; __package__).
7343 2010-07-07 Glenn Morris <rgm@gnu.org>
7345 * play/zone.el (top-level): Do not require timer, tabify, or cl.
7346 (zone-shift-left): Ignore intangibility, and any errors from
7348 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
7349 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
7350 deleting, and copying text properties.
7351 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
7352 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
7353 to point-max is hard.
7354 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
7355 (zone-fill-out-screen): Ignore intangibility.
7357 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
7359 * menu-bar.el (menu-bar-mode):
7360 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
7363 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
7364 word/line selection (Bug#6565).
7366 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
7368 * net/dbus.el (dbus-send-signal): Declare function.
7370 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
7372 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
7373 (dbus-register-property): New optional argument EMITS-SIGNAL.
7374 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
7376 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
7378 * mouse.el (mouse-drag-overlay): Variable deleted.
7379 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
7380 (mouse--remap-link-click-p): New function.
7381 (mouse-drag-track): Handle dragging by using temporary Transient
7382 Mark mode, instead of a special overlay.
7383 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
7386 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
7389 2010-07-02 Juri Linkov <juri@jurta.org>
7391 * autoinsert.el (auto-insert-alist): Fix readability
7392 by using dotted pair notation for lambda.
7394 2010-07-02 Juri Linkov <juri@jurta.org>
7396 * faces.el (read-face-name): Rename arg `string-describing-default'
7397 to `default'. Doc fix. Display the default value in quotes
7398 in the prompt. With empty input, return the `default' arg,
7399 unless the default value is a string (in which case return nil).
7400 (describe-face): Replace the string `default' arg of `read-face-name'
7401 with the symbol `default'.
7403 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
7405 * emulation/viper-cmd.el (viper-delete-backward-char)
7406 (viper-del-backward-char-in-insert)
7407 (viper-del-backward-char-in-replace, viper-change)
7408 (viper-backward-indent): Replace delete-backward-char with
7409 delete-char (Bug#6552).
7411 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
7413 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
7415 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7417 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
7418 argument passed to frame-creation-function (Bug#5378).
7420 * faces.el (x-handle-named-frame-geometry)
7421 (x-handle-reverse-video, x-create-frame-with-faces)
7422 (face-set-after-frame-default, tty-create-frame-with-faces):
7423 Don't separately consult default-frame-alist. It is now passed as the
7426 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
7428 * startup.el (command-line): Don't call tool-bar-setup in a
7431 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7433 * ruler-mode.el (ruler--save-header-line-format): New fun.
7434 (ruler-mode): Use it as a setter function, so as not to overwrite
7435 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
7437 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
7439 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
7440 (vc-root-diff, vc-print-root-log, vc-log-incoming)
7441 (vc-log-outgoing): Use it.
7442 (vc-diff-internal): Set diff-vc-backend.
7444 * vc/diff-mode.el (diff-vc-backend): New var.
7446 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
7448 * dynamic-setting.el (font-setting-change-default-font):
7449 Remove call to message.
7451 2010-06-28 Kenichi Handa <handa@m17n.org>
7453 * international/quail.el (quail-insert-kbd-layout): Fix the
7454 showing of untranslated characters.
7456 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
7458 * simple.el (delete-active-region): New option.
7459 (delete-backward-char): Implement in Lisp.
7460 (delete-forward-char): New command.
7462 * mouse.el (mouse-region-delete-keys): Deleted.
7463 (mouse-show-mark): Simplify.
7465 * bindings.el (global-map): Bind delete and DEL, the former to
7466 delete-forward-char.
7468 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
7470 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
7471 (ruby-mode): Bind indent-line-function (Bug#5119).
7473 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
7475 * startup.el (command-line): Recognize "0" X resource value.
7477 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
7479 * startup.el (command-line): Use X resources to set the value of
7480 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
7482 * menu-bar.el (menu-bar-mode):
7483 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
7484 Set init-value to t.
7486 * frame.el (frame-notice-user-settings): Don't change
7487 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
7488 vice versa (Bug#2249).
7490 2010-06-26 Eli Zaretskii <eliz@gnu.org>
7492 * w32-fns.el (w32-convert-standard-filename): Doc fix.
7494 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
7496 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
7497 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
7499 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
7500 default directories are expanded (Bug#6143).
7502 2010-06-24 Juri Linkov <juri@jurta.org>
7504 * minibuffer.el (completions-format): Change default from nil to
7505 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
7507 2010-06-24 Juri Linkov <juri@jurta.org>
7509 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
7510 buffer-locally to lambda that re-runs the vc diff command.
7513 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
7515 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
7516 echo area is in use (Bug#3412).
7518 2010-06-22 Glenn Morris <rgm@gnu.org>
7520 * textmodes/texinfmt.el (texinfo-format-region)
7521 (texinfo-raise-lower-sections, texinfo-format-separate-node)
7522 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
7523 (texinfo-format-option, texinfo-noindent):
7524 Use line-beginning-position and line-end-position.
7526 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
7527 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
7528 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
7531 2010-06-21 Karl Fogel <kfogel@red-bean.com>
7533 * play/zone.el (zone-fall-through-ws): Fix next-line ->
7534 forward-line fallout.
7536 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
7538 * mouse.el (mouse-appearance-menu): Add docstring.
7540 * help.el (describe-key): Print up-event using key-description.
7542 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
7544 * net/zeroconf.el (zeroconf-resolve-service)
7545 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
7546 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
7548 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
7550 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
7552 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
7554 Avoid displaying files with a nil state in vc-dir.
7555 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
7556 cases that cause insertion.
7557 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
7560 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7562 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
7564 2010-06-29 Leo <sdl.web@gmail.com>
7566 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
7568 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7570 * generic-x.el (bat-generic-mode): Fix regexp for command line
7571 switches (Bug#5719).
7573 2010-06-27 Masatake YAMATO <yamato@redhat.com>
7575 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
7576 of nconc to avoid pure storage error (Bug#6239).
7578 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
7580 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
7581 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
7582 bindings of bookmark-automatically-show-annotations (Bug#6515).
7584 2010-06-25 Eli Zaretskii <eliz@gnu.org>
7586 * arc-mode.el (archive-zip-extract): Don't quote the file name on
7587 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
7589 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
7591 * comint.el (make-comint, make-comint-in-buffer): Mention return
7592 value in the docstrings. (Bug#6498)
7594 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
7596 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
7597 since it is not present when using some non-default switches.
7599 2010-06-23 Karl Fogel <kfogel@red-bean.com>
7601 * simple.el (compose-mail): Fix doc string to refer to
7602 `compose-mail-user-agent-warnings', instead of to the
7603 nonexistent `compose-mail-check-user-agent'.
7605 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
7607 Fix an indentation bug:
7609 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
7610 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
7613 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
7614 (c-clear->-pair-props-if-match-before): now return t when they've
7615 cleared properties, nil otherwise.
7616 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
7617 by taking account of the existing value.
7619 * progmodes/cc-defs.el
7620 (c-clear-char-property-with-value-function): Fix this to clear the
7621 property rather than overwriting it with nil.
7623 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
7625 * emacs-lisp/package.el (package-print-package): Add link to
7626 package description via describe-package.
7627 (describe-package-1): List package requirements. Add button to
7628 perform installation.
7629 (package-menu-describe-package): New command.
7631 * help-mode.el (help-package): New button type.
7633 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
7635 * emacs-lisp/package.el: Move package-list-packages binding to
7637 (describe-package, describe-package-1, package--dir): New funs.
7638 (package-activate-1): Use package--dir.
7640 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
7642 * help-mode.el (help-package-def): New button type.
7644 * menu-bar.el: Move package-list-packages binding here from
7647 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
7649 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
7651 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7653 * emacs-lisp/edebug.el (edebug-read-list):
7654 Phase out old-style backquotes.
7656 2010-06-17 Juri Linkov <juri@jurta.org>
7658 * help-mode.el (help-mode): Set buffer-local variable
7659 revert-buffer-function to help-mode-revert-buffer.
7660 (help-mode-revert-buffer): New function.
7662 * info.el (Info-revert-find-node): Check for major-mode Info-mode
7663 before popping to "*info*" (like in other Info functions).
7664 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
7665 old-history-forward. Pop to old-buffer-name or "*info*" to
7666 recreate the killed buffer. Set Info-history-forward from
7667 old-history-forward.
7668 (Info-breadcrumbs-depth): Add :group and :version.
7670 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
7672 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
7674 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
7676 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
7677 for languages like Portuguese with pt_{BR,PT} and no plain pt.
7679 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
7681 * emacs-lisp/package.el (package-menu-mode-map):
7682 Move initialization into declaration.
7684 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
7686 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
7688 * emacs-lisp/package.el (package-archive-base): Point to
7690 (package-enable, package-load-list): New defcustoms.
7691 (package-user-dir, package-directory-list): Turn into defcustoms.
7692 Don't include package-user-dir in package-directory-list.
7693 (package--builtins-base): Don't include Emacs as a "package".
7694 (package-subdirectory-regexp): New var.
7695 (package-load-all-descriptors, package-compute-transaction)
7696 (package-download-transaction): Obey package-load-list.
7697 (package-activate-1): Rename from package-do-activate.
7698 (package-list-packages-internal): Check package-load-list.
7699 (package-load-descriptor, package-generate-autoloads)
7700 (package-unpack, package-unpack-single)
7701 (package--read-archive-file, package-delete):
7702 Use expand-file-name.
7704 * emacs-lisp/package-x.el: New file. Package uploading
7705 functionality split out from package.el.
7707 * startup.el (command-line): Load packages after reading init file.
7709 2010-06-17 Tom Tromey <tromey@redhat.com>
7711 * emacs-lisp/package.el: New file.
7713 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
7715 Fix vc-annotate for renamed files when using Git.
7716 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
7717 ls-files. Doe not pass the object as a file name to cat-file, it
7719 (vc-git-annotate-command): Pass the file name using -- to avoid
7720 ambiguity with the revision.
7721 (vc-git-previous-revision): Pass a relative file name.
7723 2010-06-22 Glenn Morris <rgm@gnu.org>
7725 * progmodes/js.el (js-mode-map): Use standard capitalization and
7726 ellipses for menu entries.
7728 * wid-edit.el (widget-complete): Doc fix.
7730 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
7732 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
7734 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
7736 Fix annotating other revisions for renamed files in vc-annotate.
7737 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
7738 VC backend. Use it when non-nil.
7739 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
7742 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
7743 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7744 Do not pass the file name to the 'previous-revision call when we
7745 don't want a file diff. (Bug#6489)
7747 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
7749 Fix finding revisions for renamed files in vc-annotate.
7750 * vc/vc.el (vc-find-revision): Add an optional argument for
7751 the VC backend. Use it when non-nil.
7752 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
7753 backend to vc-find-revision. (Bug#6487)
7755 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
7757 Fix reading file names in Git annotate buffers.
7758 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
7759 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
7761 2010-06-20 Alan Mackenzie <acm@muc.de>
7763 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
7764 in file local variables, set it first.
7766 2010-06-19 Glenn Morris <rgm@gnu.org>
7768 * descr-text.el (describe-char-unicode-data): Insert separating
7769 space when needed. (Bug#6422)
7771 * progmodes/idlwave.el (idlwave-action-and-binding):
7772 Fix typo in 2009-12-03 change. (Bug#6450)
7774 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7776 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
7777 handling for `lambda' (misunderstanding).
7779 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
7781 * calc/calc-poly.el (math-accum-factors): Make sure that
7782 constants aren't distributed after they are factored out.
7784 2010-06-16 Juri Linkov <juri@jurta.org>
7786 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
7787 `list-colors-print'. (Bug#6332)
7789 * subr.el (read-quoted-char): Fix up last change (bug#6290).
7791 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
7793 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
7794 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
7796 * font-lock.el (font-lock-major-mode): Rename from
7797 font-lock-mode-major-mode to distinguish it from
7798 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
7799 (font-lock-set-defaults):
7800 * font-core.el (font-lock-default-function): Adjust users.
7801 (font-lock-mode): Don't set it at all.
7803 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
7805 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
7807 2010-06-16 Glenn Morris <rgm@gnu.org>
7809 * calendar/appt.el (appt-time-msg-list): Doc fix.
7810 (appt-check): Let-bind appt-warn-time.
7811 (appt-add): Make the 3rd argument optional.
7812 Simplify argument names. Doc fix. Check for integer WARNTIME.
7813 Only add WARNTIME to the output list if non-nil.
7815 2010-06-16 Ivan Kanis <apple@kanis.eu>
7817 * calendar/appt.el (appt-check): Let the 3rd element of
7818 appt-time-msg-list specify the warning time.
7819 (appt-add): Add new argument with the warning time. (Bug#5176)
7821 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
7823 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
7824 older than version 1.6. (Bug#6361)
7826 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
7828 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
7829 used by cl-do-arglist. (Bug#6408)
7831 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
7833 * textmodes/ispell.el (ispell-dictionary-base-alist):
7834 Fix portuguese casechars/not-casechars for missing 'çÇ'.
7835 Suggested by Rolando Pereira (bug#6434).
7837 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
7839 * facemenu.el (list-colors-sort): Doc fix.
7841 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
7843 * progmodes/sql.el (sql-connect-mysql): Fix typo.
7845 2010-06-14 Juri Linkov <juri@jurta.org>
7847 Add sort option `list-colors-sort'. (Bug#6332)
7848 * facemenu.el (color-rgb-to-hsv): New function.
7849 (list-colors-sort): New defcustom.
7850 (list-colors-sort-key): New function.
7851 (list-colors-display): Doc fix. Sort list according to the option
7853 (list-colors-print): Add HSV values to `help-echo' property of
7856 2010-06-14 Juri Linkov <juri@jurta.org>
7858 * compare-w.el: Move to the "vc" subdirectory.
7860 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7862 * image-mode.el (image-mode-map): Remap left-char and right-char.
7864 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
7866 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
7868 * term/common-win.el (x-colors): Add all the color names defined
7869 in rgb.txt (Bug#6332).
7871 * facemenu.el (list-colors-print): Don't print extra names if it
7872 will overflow the window width.
7874 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
7877 2010-06-12 Eli Zaretskii <eliz@gnu.org>
7879 * files.el (make-directory): Doc fix (bug#6396).
7881 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
7883 * net/tramp.el (tramp-remote-process-environment): Protect version
7884 string by apostroph.
7885 (tramp-shell-prompt-pattern): Do not use a shy group in case of
7887 (tramp-file-name-for-operation): Add `call-process-region'.
7888 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
7890 * net/tramp-compat.el (top): Do not autoload
7891 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
7892 only when `start-file-process' is not bound.
7893 (tramp-advice-file-expand-wildcards): Do not use
7894 `tramp-handle-file-remote-p'.
7895 (tramp-compat-make-temp-file): Handle the case, that
7896 `make-temp-file' has no third argument EXTENSION.
7898 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
7900 * makefile.w32-in (WINS_BASIC): Include new directory vc.
7902 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
7904 2010-06-11 Juri Linkov <juri@jurta.org>
7906 * finder.el (finder-known-keywords): Add keyword "vc"
7907 for version control.
7909 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
7910 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
7911 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
7912 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
7914 2010-06-11 Juri Linkov <juri@jurta.org>
7916 Move version control related files to the "vc" subdirectory.
7917 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
7918 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
7919 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
7920 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
7921 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
7922 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
7923 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
7924 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
7925 Move files to the "vc" subdirectory.
7927 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
7929 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
7932 2010-06-11 Stephen Eglen <stephen@gnu.org>
7934 * shell.el: Bind `shell-resync-dirs' to M-RET.
7936 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
7938 * notifications.el: Move file from lisp/net, because it is
7939 supposed to talk locally to the user.
7941 2010-06-10 Julien Danjou <julien@danjou.info>
7943 * net/notifications.el (notifications-on-action-signal)
7944 (notifications-on-closed-signal): Pass notification id as first
7945 argument to the callback functions. Add docstrings.
7946 (notifications-notify): Fix docstring.
7948 2010-06-10 Glenn Morris <rgm@gnu.org>
7950 * emacs-lisp/authors.el (authors-ignored-files)
7951 (authors-valid-file-names): Add some files.
7953 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7955 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
7956 merge conflict, giving preference to the emacs-23 version of the code.
7958 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7960 * emacs-lisp/advice.el (ad-compile-function):
7961 Define warning-suppress-types before we let-bind it (bug#6275).
7963 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
7964 declare it, make it buffer-local and permanent-local (bug#6324).
7965 (vc-resynch-window): Adjust name.
7966 * vc-hooks.el (vc-find-file-hook): Adjust name.
7968 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
7970 * net/notifications.el (notifications-notify): Fix docstring.
7972 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
7974 Update to Unicode 6.0.0 beta.
7975 * international/charprop.el: Update copyright.
7976 * international/mule-cmds.el (ucs-names): Update character ranges.
7977 * international/uni-bidi.el:
7978 * international/uni-category.el:
7979 * international/uni-combining.el:
7980 * international/uni-comment.el:
7981 * international/uni-decimal.el:
7982 * international/uni-decomposition.el:
7983 * international/uni-digit.el:
7984 * international/uni-lowercase.el:
7985 * international/uni-mirrored.el:
7986 * international/uni-name.el:
7987 * international/uni-numeric.el:
7988 * international/uni-old-name.el:
7989 * international/uni-titlecase.el:
7990 * international/uni-uppercase.el: Regenerate.
7992 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
7994 * emacs-lisp/smie.el (comment-string-strip): Declare function.
7995 (smie-precs-precedence-table): Fix typo in docstring.
7997 * vc-mtn.el (log-edit-extract-headers): Declare function.
7999 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
8001 * net/notifications.el (dbus-register-signal): Declare function.
8002 (notifications-notify): Fix typos and reflow docstring.
8004 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8006 Improve VC create/retrieve tag/branch.
8007 * vc.el (vc-create-tag): Do not read the directory name for VCs
8008 with repository revision granularity. Adjust the tag/branch
8009 prompt. Reset VC properties.
8010 (vc-retrieve-tag): Do not read the directory name for VCs
8011 with repository revision granularity. Reset VC properties.
8013 2010-06-09 Julien Danjou <julien@danjou.info>
8015 * net/notifications.el: New file.
8017 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8019 Add optional support for resetting VC properties.
8020 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
8021 call vc-file-clearprops when true.
8022 (vc-resynch-buffer): Add new optional argument, pass it down.
8023 (vc-resynch-buffers-in-directory): Likewise.
8025 Improve support for special markup in the VC commit message.
8026 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
8027 * vc-hg.el (vc-hg-checkin): Add support for Date:.
8028 * vc-git.el (vc-git-checkin):
8029 * vc-bzr.el (vc-bzr-checkin): Likewise.
8031 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8033 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
8034 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
8036 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
8038 * iimage.el: Remove images as soon as the underlying text is modified.
8039 (iimage-modification-hook): New function.
8040 (iimage-mode-buffer): Use it.
8042 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8044 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
8045 smie-indent-offset-after. Add :prev case. Make a bit more generic.
8046 (smie-indent-virtual): Remove `virtual' arg. Update callers.
8047 (smie-indent-keyword): Add handling of open-paren keywords.
8048 (smie-indent-comment-continue): Don't assume comment-continue.
8050 2010-06-07 Martin Rudalics <rudalics@gmx.at>
8052 * window.el (pop-to-buffer): Remove the conditional that
8053 compares new-window and old-window, so it will reselect
8054 the selected window unconditionally.
8055 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
8057 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8059 * emacs-lisp/smie.el (smie-indent-offset-after)
8060 (smie-indent-forward-token, smie-indent-backward-token): New functions.
8061 (smie-indent-after-keyword): Use them.
8062 (smie-indent-fixindent): Only applies to the indentation of the BOL.
8063 (smie-indent-keyword): Tweak the black magic.
8064 (smie-indent-comment-continue): Strip comment-continue before use.
8065 (smie-indent-functions): Indent comments before keywords.
8067 2010-06-06 Juri Linkov <juri@jurta.org>
8069 * isearch.el (isearch-lazy-highlight-search): Fix looping
8070 by checking for empty match. This syncs this loop with the
8071 similar loop in `isearch-search'. (Bug#6362)
8073 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
8075 * net/dbus.el (dbus-register-method): Declare function.
8076 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
8077 (dbus-introspect): Doc fix.
8078 (dbus-event-bus-name, dbus-introspect-get-interface)
8079 (dbus-introspect-get-argument): Reflow docstrings.
8081 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
8083 vc-log-incoming/vc-log-outgoing fixes for Git.
8084 * vc-git.el (vc-git-log-view-mode): Fix font lock for
8085 incoming/outgoing logs.
8086 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
8087 instead of vc-git-compute-remote.
8088 (vc-git-compute-remote): Remove.
8090 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
8092 * term/common-win.el (x-colors): Add "dark green" and "dark
8093 turquoise" (Bug#6332).
8095 2010-06-04 Juri Linkov <juri@jurta.org>
8097 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
8098 Instead of setting `replace' to t and replacing the same string
8099 with itself, don't do certain actions when
8100 kill-do-not-save-duplicates is non-nil and string is equal to car
8101 of kill-ring: don't call menu-bar-update-yank-menu, don't push
8102 interprogram-paste strings to kill-ring, and don't push the input
8103 argument `string' to kill-ring.
8104 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
8106 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
8108 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
8110 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
8112 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
8113 (tramp-gvfs-handler-mounted-unmounted)
8114 (tramp-gvfs-connection-mounted-p): Handle default-location.
8116 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
8117 move files to trash.
8119 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
8121 * international/mule-cmds.el (nonascii-insert-offset)
8122 (nonascii-translation-table): Add obsolescence information.
8124 * international/mule.el (make-translation-table-from-vector): Doc fix.
8126 2010-06-03 Glenn Morris <rgm@gnu.org>
8128 * desktop.el (desktop-clear-preserve-buffers):
8129 Add "*Warnings*" buffer. (Bug#6336)
8131 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
8133 vc-log-incoming/vc-log-outgoing improvements for Git.
8134 * vc-git.el (vc-git-log-outgoing): Use the same format as the
8136 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
8138 Add bindings for vc-log-incoming and vc-log-outgoing.
8139 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
8140 and vc-log-outgoing.
8141 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
8142 and vc-log-outgoing.
8144 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
8146 * net/rcirc.el (rcirc-sort-nicknames): Remove.
8147 (rcirc-handler-366): Always sort nicknames.
8149 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
8151 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
8153 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
8155 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
8157 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8159 * net/rcirc.el (rcirc-sort-nicknames): Change default.
8160 (rcirc-sort-nicknames-join): Avoid setq.
8162 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8164 * net/rcirc.el (rcirc-sort-nicknames): New custom.
8165 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
8166 (rcirc-handler-366): Use them.
8168 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8170 Split smie-indent-calculate into more manageable chunks.
8171 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
8172 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
8173 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
8174 (smie-indent-exps): Extract from smie-indent-calculate.
8175 (smie-indent-functions): New var.
8176 (smie-indent-functions): Use them.
8178 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8180 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
8181 (smie-indent-calculate): Simplify and cleanup.
8183 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
8185 * net/tramp-gvfs.el (top): Require url-util.
8186 (tramp-gvfs-mount-point): Remove.
8187 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
8189 (with-tramp-dbus-call-method): Format trace message.
8190 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
8191 Implement backup call, when operation on local files fails.
8192 Use progress reporter. Flush properties of changed files.
8193 (tramp-gvfs-handle-make-directory): Make more traces.
8194 (tramp-gvfs-url-file-name): Hexify file name in url.
8195 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
8196 into account for the resulting file name.
8197 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
8198 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
8199 (tramp-gvfs-handler-mounted-unmounted)
8200 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
8201 attribute "default_location". Set "prefix" property.
8202 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
8203 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
8204 exists. Raise an error, if not (due to a corresponding answer
8205 "no" in interactive questions, for example).
8207 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
8209 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
8211 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
8213 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
8216 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
8218 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
8219 * vc-git.el (vc-git-compute-remote): New function.
8220 (vc-git-log-outgoing): Use it instead of hard coding a value.
8221 (vc-git-log-incoming): New function.
8223 Improve state updating for VC tag commands.
8224 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
8225 to update the state of all buffers in the directory.
8227 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
8229 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8231 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
8232 `file-directory-p' to the filename part rather than to the whole text.
8234 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8236 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
8238 2010-05-31 Drew Adams <drew.adams@oracle.com>
8240 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
8242 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
8244 * subr.el (momentary-string-display): Just use read-event to read
8245 the exit event (Bug#6238).
8247 2010-05-30 Eli Zaretskii <eliz@gnu.org>
8249 * international/mule.el (define-coding-system): Doc fix (bug#6313).
8251 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
8253 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
8254 Suggested by Eli Zaretskii <eliz@gnu.org>.
8256 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8258 * minibuffer.el (completion-file-name-table): Don't return a boundary
8259 past the end of `string' (bug#6299).
8260 (completion--file-name-table): Delegate to completion-file-name-table
8261 for the `boundaries' case.
8263 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
8265 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
8268 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
8269 `path-separator', but maintain compatibility with Emacs 20.2.
8271 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
8273 * server.el (server-process-filter): Receive parent-id argument
8275 (server-create-window-system-frame): New arg. Pass parent-id as
8278 2010-05-29 Eli Zaretskii <eliz@gnu.org>
8280 Bidi-sensitive word movement with arrow keys.
8281 * subr.el (right-arrow-command, left-arrow-command): Move to
8284 * bindings.el (right-char, left-char): Move from subr.el and
8285 rename from right-arrow-command and left-arrow-command.
8286 (right-word, left-word): New functions.
8287 (global-map) <right>: Bind to right-char.
8288 (global-map) <left>: Bind to left-char.
8289 (global-map) <C-right>: Bind to right-word.
8290 (global-map) <C-left>: Bind to left-word.
8292 * ls-lisp.el (ls-lisp-classify-file): New function.
8293 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
8294 (ls-lisp-classify): Call ls-lisp-classify-file.
8295 (insert-directory): Remove blanks from switches.
8297 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
8299 * ansi-color.el: Delete unused escape sequences (Bug#6085).
8300 (ansi-color-drop-regexp): New constant.
8301 (ansi-color-apply, ansi-color-filter-region)
8302 (ansi-color-apply-on-region): Delete unrecognized control sequences.
8303 (ansi-color-apply): Build string list before calling concat.
8305 2010-05-28 Juri Linkov <juri@jurta.org>
8307 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8308 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
8311 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
8313 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
8314 to ignored backtrace functions.
8315 (with-progress-reporter): Expand docstring.
8316 (tramp-handle-delete-file): Implement TRASH argument.
8317 (tramp-get-remote-trash): New defun.
8319 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
8321 * net/tramp-compat.el (tramp-compat-delete-file):
8322 Use `symbol-value' for backward compatibility.
8324 * net/tramp.el (tramp-handle-make-symbolic-link)
8326 (tramp-do-copy-or-rename-file-via-buffer)
8327 (tramp-do-copy-or-rename-file-directly)
8328 (tramp-do-copy-or-rename-file-out-of-band)
8329 (tramp-handle-process-file, tramp-handle-call-process-region)
8330 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8331 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8332 (tramp-delete-temp-file-function): Use `delete-file' instead
8333 of `tramp-compat-delete-file'.
8335 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8336 (tramp-fish-handle-make-symbolic-link)
8337 (tramp-fish-handle-process-file): Use `delete-file' instead
8338 of `tramp-compat-delete-file'.
8340 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8341 Use `delete-file' instead of `tramp-compat-delete-file'.
8343 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8344 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
8345 `tramp-compat-delete-file'.
8347 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
8348 Use `delete-file' instead of `tramp-compat-delete-file'.
8350 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8351 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8352 (tramp-smb-handle-write-region): Use `delete-file' instead of
8353 `tramp-compat-delete-file'.
8354 (tramp-smb-handle-delete-directory): Use 'trash as arg.
8356 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8358 * dired.el (dired-delete-file): New arg TRASH.
8359 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
8360 (dired-do-flagged-delete, dired-do-delete): Use trash.
8362 * speedbar.el (speedbar-item-delete): Allow trashing.
8364 * files.el (delete-directory): New arg TRASH.
8366 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
8367 (ange-ftp-rename-remote-to-remote)
8368 (ange-ftp-rename-local-to-remote)
8369 (ange-ftp-rename-remote-to-local, ange-ftp-load)
8370 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
8372 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
8375 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
8376 handle new TRASH arg of `delete-file'.
8378 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
8379 (tramp-handle-make-symbolic-link, tramp-handle-load)
8380 (tramp-do-copy-or-rename-file-via-buffer)
8381 (tramp-do-copy-or-rename-file-directly)
8382 (tramp-do-copy-or-rename-file-out-of-band)
8383 (tramp-handle-process-file, tramp-handle-call-process-region)
8384 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8385 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8386 (tramp-delete-temp-file-function): Use null TRASH arg in
8387 tramp-compat-delete-file call.
8389 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8390 (tramp-fish-handle-delete-file)
8391 (tramp-fish-handle-make-symbolic-link)
8392 (tramp-fish-handle-process-file): Use null TRASH arg in
8393 `tramp-compat-delete-file' call.
8395 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
8396 arg in `tramp-compat-delete-file' call.
8398 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8399 (tramp-gvfs-handle-write-region): Use null TRASH arg in
8400 `tramp-compat-delete-file' call.
8402 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
8403 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
8404 `tramp-compat-delete-file' call.
8406 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8407 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8408 (tramp-smb-handle-write-region): Use null TRASH arg in
8409 tramp-compat-delete-file call.
8410 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
8411 (tramp-smb-handle-delete-file): Rename arg.
8413 * diff.el (diff-sentinel):
8414 * epg.el (epg--make-temp-file, epg-decrypt-string)
8415 (epg-verify-string, epg-sign-string, epg-encrypt-string):
8416 * jka-compr.el (jka-compr-partial-uncompress)
8417 (jka-compr-call-process, jka-compr-write-region):
8418 * server.el (server-sentinel): Remove optional arg from
8419 delete-file, reverting 2010-05-03 change.
8421 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8423 * progmodes/verilog-mode.el (verilog-type-font-keywords):
8424 Use font-lock-constant-face, not obsolete font-lock-reference-face.
8426 2010-05-27 Kenichi Handa <handa@m17n.org>
8428 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
8429 element of GSTRING is nil.
8431 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8433 * emacs-lisp/smie.el (smie-forward-token-function)
8434 (smie-backward-token-function): New vars.
8435 (smie-backward-sexp, smie-forward-sexp)
8436 (smie-indent-hanging-p, smie-indent-calculate): Use them.
8437 (smie-default-backward-token): Rename from smie-backward-token and
8439 (smie-default-forward-token): Rename from smie-forward-token and
8441 (smie-next-sexp): Handle nil results from next-token.
8442 (smie-indent-calculate): Add a new case for special `fixindent' comments.
8444 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8446 * progmodes/verilog-mode.el (verilog-type-font-keywords):
8447 Use font-lock-constant-face, not obsolete font-lock-reference-face.
8449 2010-05-27 Masatake YAMATO <yamato@redhat.com>
8451 * htmlfontify.el (hfy-face-resolve-face): New function.
8452 (hfy-face-to-style): Use it (Bug#6279).
8454 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8456 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
8457 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
8459 2010-05-26 Glenn Morris <rgm@gnu.org>
8461 * emulation/edt.el (edt-load-keys): Use locate-library.
8463 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
8465 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
8466 (log-edit-changelog-entries): Doc fix.
8467 (log-edit-changelog-insert-entries): Args changed.
8468 Rename relative filenames in ChangeLog entries. Delete tabs.
8469 (log-edit-insert-changelog-entries): Reorganize return value of
8470 `log-edit-changelog-entries' to pass filenames to
8471 log-edit-changelog-insert-entries.
8473 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8475 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
8476 `image-dired-dired-insert-marked-thumbs' to
8477 `image-dired-dired-toggle-marked-thumbs'.
8479 * image-dired.el: Require cl when compiling.
8480 (image-dired-dired-toggle-marked-thumbs): Rename from
8481 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
8482 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
8483 to 'no-dir. Skip files whose names don't match
8484 `image-file-name-regexp'. When file has a thumbnail overlay,
8485 delete it. (Bug#5270)
8487 2010-05-25 Juri Linkov <juri@jurta.org>
8489 * image-mode.el (image-mode): Add image-after-revert-hook to
8491 (image-after-revert-hook): New function. (Bug#5669)
8493 2010-05-25 Juri Linkov <juri@jurta.org>
8495 * image.el (image-animated-p): When delay between animated images
8496 is 0, set it to 10 (0.1 sec). (Bug#6258)
8498 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
8500 * net/tramp.el (tramp-handle-insert-directory): Don't use
8501 `forward-word', its default syntax could be changed.
8503 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
8505 * net/tramp.el (tramp-progress-reporter-update): New defun.
8506 (with-progress-reporter): Use it.
8507 (tramp-process-actions):
8508 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
8509 Preserve current message, in order to let progress reporter continue
8510 afterwards. (Bug#6257)
8512 2010-05-25 Glenn Morris <rgm@gnu.org>
8514 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
8517 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
8519 * net/rcirc.el (rcirc-default-user-name): Change to "user".
8520 (rcirc-default-full-name): Change to "unknown".
8521 (rcirc-user-name-history): Add variable.
8523 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
8524 Jonathan Rockway <jon@jrock.us>
8526 * net/rcirc.el (rcirc-server-alist): Add :pass.
8527 (rcirc): When prompting for connection parameters, also prompt for
8528 username and password.
8529 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
8530 value to server when connecting.
8532 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8534 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
8535 (smie-merge-prec2s): Pass the tables as separate args.
8536 (smie-bnf-precedence-table): Adjust call accordingly.
8537 (smie-prec2-levels): Set levels at the end.
8539 Replace Lisp calls to delete-backward-char by delete-char.
8540 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
8541 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
8542 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
8543 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
8544 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
8545 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
8546 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
8547 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
8548 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
8549 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
8550 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
8551 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
8552 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
8553 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
8554 delete-backward-char by calls to delete-char.
8556 2010-05-25 Kenichi Handa <handa@m17n.org>
8558 * language/hebrew.el (hebrew-shape-gstring): New function.
8559 Register it in composition-function-table for all Hebrew combining
8562 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8564 * epa.el (epa--select-keys): Don't explicitly delete the window since
8565 that can fail (e.g. sole window in frame). Use dedication instead.
8567 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
8569 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
8571 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
8573 * image.el (image-refresh): Define as an alias for image-flush.
8575 * image-mode.el (image-toggle-display-image): Caller changed.
8577 2010-05-21 Juri Linkov <juri@jurta.org>
8579 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
8580 Remove "all" from grep-files-aliases. Split grep-files-aliases by
8581 whitespace, call wildcard-to-regexp on substrings and concat them
8582 with "\\|". (Bug#6114)
8584 2010-05-21 Alan Mackenzie <acm@muc.de>
8586 * progmodes/cc-engine.el (c-parse-state-get-strategy):
8587 Replace parameter `here' with `here-' and `here-plus', which sandwich
8588 any pertinent CPP construct.
8589 (c-remove-stale-state-cache-backwards): Fix a bug which happens
8590 when doing (c-parse-state) in a CPP construct: Exclude any "new"
8591 CPP construct from taking part in the scanning.
8593 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
8595 * net/tramp.el (tramp-do-copy-or-rename-file)
8596 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
8597 Tune `with-progress-reporter' messages.
8598 (tramp-handle-vc-registered):
8599 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
8600 (tramp-fish-handle-insert-file-contents)
8601 (tramp-fish-maybe-open-connection):
8602 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8603 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
8604 (tramp-imap-handle-insert-file-contents)
8605 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
8607 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
8609 * add-log.el (change-log-font-lock-keywords):
8610 Highlight all authors in multi-author entries.
8612 * smerge-mode.el (smerge-refine-ignore-whitespace)
8613 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
8614 Fix typos in docstrings.
8615 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
8617 2010-05-21 Glenn Morris <rgm@gnu.org>
8619 * progmodes/fortran.el (fortran-mode):
8620 * progmodes/f90.el (f90-mode): Derive from prog-mode.
8622 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
8623 having a relative path in src/Makefile.in.
8625 2010-05-20 Kevin Ryde <user42@zip.com.au>
8627 * help-mode.el (help-make-xrefs): For Info node links turn
8628 newlines into spaces. Link node names with newlines are matched
8629 by help-xref-info-regexp and buttonized, this change ensures they
8630 can be followed successfully with RET. (Bug#6206)
8632 2010-05-20 Juri Linkov <juri@jurta.org>
8634 * locate.el (locate): Use pop-to-buffer instead of
8635 switch-to-buffer-other-window. (Bug#6204)
8637 2010-05-20 Juri Linkov <juri@jurta.org>
8639 * replace.el (replace-highlight): Fix lazy-highlighting
8640 for `M-s w str M-% str RET'.
8642 2009-12-15 Masatake YAMATO <yamato@redhat.com>
8644 * isearch.el (isearch-yank-word-or-char): Pull next subword
8645 when `subword-mode' is activated. (Bug#6220)
8647 2010-05-20 Mark A. Hershberger <mah@everybody.org>
8649 * isearch.el (isearch-update-post-hook): New hook.
8650 (isearch-update): Use the new hook. (Bug#6225)
8652 2010-05-20 Juri Linkov <juri@jurta.org>
8654 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
8655 [f1], [help], and (char-to-string help-char) instead of "\C-h".
8658 2010-05-20 Juri Linkov <juri@jurta.org>
8660 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
8663 2010-05-20 Juri Linkov <juri@jurta.org>
8665 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
8666 FILE-NAME to read from the minibuffer when called interactively
8667 with prefix argument instead of using buffer-file-name.
8668 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
8670 * dired.el: Update autoloads.
8672 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
8674 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
8675 nxml-finish-element, for consistency with SGML mode.
8677 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
8680 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
8682 * composite.el: Require cl when compiling.
8683 (reference-point-alist, compose-gstring-for-graphic)
8684 (compose-gstring-for-terminal): Fix typos in docstrings.
8686 2010-05-19 Juri Linkov <juri@jurta.org>
8688 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
8689 set-window-parameter.
8691 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
8693 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
8695 (tramp-maybe-open-connection): Use it.
8697 2010-05-19 Eli Zaretskii <eliz@gnu.org>
8699 * simple.el (move-end-of-line): Make sure we are at line beginning
8700 before backing up to end of previous line.
8702 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
8704 * password-cache.el (password-cache-remove): Fix docstring.
8706 * net/secrets.el: Autoload the widget functions.
8707 (secrets-search-items, secrets-create-item)
8708 (secrets-get-attributes, secrets-expand-item): Attributes will be
8709 stored on the password database without leading ":", as all other
8711 (secrets-mode): Fix docstring.
8712 (secrets-show-secrets): Provide it as autoloaded command only when
8713 D-Bus support is available. Check existence of Secret Service API.
8715 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
8717 * indent.el (indent-region): Deactivate region (bug#6200).
8719 2010-05-19 Glenn Morris <rgm@gnu.org>
8721 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
8723 2010-05-19 Kenichi Handa <handa@m17n.org>
8725 * composite.el: Register compose-gstring-for-graphic in
8726 composition-function-table only for combining characters (Mn, Mc, Me).
8728 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
8730 * calc/calc-trail.el (calc-trail-isearch-forward)
8731 (calc-trail-isearch-backward): Ensure that the new window
8732 point is set correctly.
8734 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8736 * subr.el (read-quoted-char): Resolve modifiers after key
8737 remapping (bug#6212).
8739 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
8741 Add visualization code for secrets.
8742 * net/secrets.el (secrets-mode): New major mode.
8743 (secrets-show-secrets, secrets-show-collections)
8744 (secrets-expand-collection, secrets-expand-item)
8745 (secrets-tree-widget-after-toggle-function)
8746 (secrets-tree-widget-show-password): New defuns.
8748 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8750 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
8751 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
8752 handled in smie-next-sexp.
8753 (smie-indent-calculate): Provide a starting indentation (so the
8754 recursion is well-founded ;-).
8756 Fix handling of non-associative equal levels.
8757 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
8758 when it's not needed.
8759 (smie-op-left, smie-op-right): New functions.
8760 (smie-next-sexp): New function, extracted from smie-backward-sexp.
8761 Better handle equal levels to distinguish the associative case from
8762 the "multi-keyword construct" case.
8763 (smie-backward-sexp, smie-forward-sexp): Use it.
8765 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
8767 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
8769 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
8770 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
8772 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8774 Provide a simple generic indentation engine and use it for Prolog.
8775 * emacs-lisp/smie.el: New file.
8776 * progmodes/prolog.el (prolog-smie-op-levels)
8777 (prolog-smie-indent-rules): New var.
8778 (prolog-mode-variables): Use them to configure SMIE.
8779 (prolog-indent-line, prolog-indent-level): Remove.
8781 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8783 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
8784 order before computing the averages.
8786 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
8788 * calc/calc-vec.el (calc-histogram):
8789 (calcFunc-histogram): Allow vectors as inputs.
8790 (math-vector-avg): New function.
8792 * calc/calc-ext.el (math-group-float): Have the number of digits
8793 being grouped depend on the radix (Bug#6189).
8795 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
8797 * version.el (emacs-copyright, emacs-version): Don't define here,
8798 now that emacs.c defines it.
8800 2010-05-15 Eli Zaretskii <eliz@gnu.org>
8802 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
8803 "Describe Language Environment" menu item.
8805 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
8807 Bidi-sensitive movement with arrow keys.
8808 * subr.el (right-arrow-command, left-arrow-command): New functions.
8810 * bindings.el (global-map): Bind them to right and left arrow keys.
8812 Don't override standard definition of convert-standard-filename.
8813 * files.el (convert-standard-filename):
8814 Call w32-convert-standard-filename and dos-convert-standard-filename on
8815 the corresponding systems.
8817 * w32-fns.el (w32-convert-standard-filename): Rename from
8818 convert-standard-filename. Doc fix.
8820 * dos-fns.el (dos-convert-standard-filename): Doc fix.
8821 (convert-standard-filename): Don't defalias.
8822 (register-name-alist, make-register, register-value)
8823 (set-register-value, intdos): Obsolete aliases for the
8824 corresponding dos-* functions and variables.
8825 (dos-intdos): Add a doc string.
8827 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
8829 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
8830 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
8831 (math-compose-tex-func):
8832 * calc/calccomp.el (math-compose-expr):
8833 * calc/calc-ext.el (math-format-flat-expr-fancy):
8834 * calc/calc-store.el (calc-read-var-name):
8835 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
8837 * calc/calc.el (var-π, var-φ, var-γ): New variables.
8838 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
8839 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
8840 (math-standard-units): Add units.
8842 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8844 * progmodes/asm-mode.el (asm-mode):
8845 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
8847 * pcomplete.el (pcomplete-completions-at-point): New function,
8848 extracted from pcomplete-std-complete.
8849 (pcomplete-std-complete): Use it.
8851 2010-05-15 Glenn Morris <rgm@gnu.org>
8853 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8854 Remove references to CVS, RCS and Old directories.
8856 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
8858 * calc/calc-bin.el (math-format-twos-complement): Group digits when
8861 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8863 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
8864 (sh-mode-syntax-table): Give it a default value instead.
8865 (sh-header-marker): Make buffer-local.
8866 (sh-mode): Move make-local-variable to the corresponding setq.
8867 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
8868 Use complete-with-action.
8870 * simple.el (prog-mode): New (abstract) major mode.
8871 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
8872 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
8874 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
8876 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
8877 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
8878 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
8879 (sql-make-alternate-buffer-name, sql-placeholders-filter)
8880 (sql-escape-newlines-filter, sql-input-sender)
8881 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
8883 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
8885 Add TeX open-block and close-block keybindings to SGML, and vice versa.
8887 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
8888 latex-open-block and C-c / to latex-close-block.
8890 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
8891 and C-c C-e to sgml-close-tag.
8893 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
8895 * net/tramp.el (with-progress-reporter): Create reporter object
8896 only when the message would be displayed. Handle nested calls.
8897 (tramp-handle-load, tramp-handle-file-local-copy)
8898 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8899 (tramp-maybe-send-script, tramp-find-shell):
8900 Use `with-progress-reporter'.
8901 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
8904 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8905 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8906 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
8907 Use `with-progress-reporter'.
8909 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
8911 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
8912 process everytime when spellchecking from the minibuffer (bug#6143).
8914 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8916 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
8918 * dos-fns.el: Add "dos-" prefix for namespace control.
8919 (convert-standard-filename): Define as alias for
8920 dos-convert-standard-filename but only if applicable.
8922 2010-05-12 Alan Mackenzie <acm@muc.de>
8924 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
8925 Push the mark at the start of these functions when appropriate.
8927 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8929 * minibuffer.el (completion-cycle-threshold): New custom var.
8930 (completion--do-completion): Use it.
8931 (minibuffer-complete): Use cycling if appropriate.
8933 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
8935 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
8936 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
8938 2010-05-11 Juri Linkov <juri@jurta.org>
8940 * scroll-all.el (scroll-all-check-to-scroll):
8941 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
8943 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8945 * iimage.el (iimage-mode-map): Move initialization into declaration.
8946 (iimage-mode-buffer): Use with-silent-modifications.
8947 Simplify calling convention. Adjust callers.
8948 (iimage-mode): Don't run hook redundantly.
8950 * minibuffer.el (completion-pcm--pattern->regex):
8951 Fix last change (bug#6160).
8953 2010-05-10 Juri Linkov <juri@jurta.org>
8955 Remove nodes visited during Isearch from the Info history.
8956 * info.el (Info-isearch-initial-history)
8957 (Info-isearch-initial-history-list): New variables.
8958 (Info-isearch-start): Record initial values of
8959 Info-isearch-initial-history and Info-isearch-initial-history-list.
8960 Add Info-isearch-end to isearch-mode-end-hook.
8961 (Info-isearch-end): New function.
8963 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
8965 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
8966 format string, in order to work around a bug in pdksh.
8967 Reported by Gilles Pion <gpion@lfdj.com>.
8968 (tramp-handle-verify-visited-file-modtime): Do not send a command
8969 when the connection is not established.
8970 (tramp-handle-set-file-times): Simplify the check for utc.
8972 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
8974 Fix use of `filter-buffer-substring' (rework previous change).
8975 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
8976 (cua-repeat-replace-region):
8977 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
8978 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
8979 (cua-cut-region-to-global-mark): Use it.
8981 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
8983 * progmodes/sql.el: Version 2.1.
8984 (sql-product-alist): Redesign structure of product info.
8985 (sql-product, sql-user, sql-server, sql-database): Safe variables.
8986 (sql-port, sql-port-history): New variables.
8987 (sql-interactive-product): New variable.
8988 (sql-send-terminator): New variable.
8989 (sql-imenu-generic-expression): Add "Types" imenu entry.
8990 (sql-oracle-login-params, sql-sqlite-login-params)
8991 (sql-mysql-login-params, sql-solid-login-params)
8992 (sql-sybase-login-params, sql-informix-login-params)
8993 (sql-ingres-login-params, sql-ms-login-params)
8994 (sql-postgres-login-params, sql-interbase-login-params)
8995 (sql-db2-login-params, sql-linter-login-params)
8996 (sql-oracle-scan-on): New variables.
8997 (sql-mode-map): Add C-c C-i to start interactive mode.
8998 (sql-mode-menu): Update existing menu entries.
8999 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
9000 (sql-mode-oracle-font-lock-keywords)
9001 (sql-mode-postgres-font-lock-keywords)
9002 (sql-mode-ms-font-lock-keywords)
9003 (sql-mode-sybase-font-lock-keywords)
9004 (sql-mode-informix-font-lock-keywords)
9005 (sql-mode-interbase-font-lock-keywords)
9006 (sql-mode-ingres-font-lock-keywords)
9007 (sql-mode-solid-font-lock-keywords)
9008 (sql-mode-mysql-font-lock-keywords)
9009 (sql-mode-sqlite-font-lock-keywords)
9010 (sql-mode-db2-font-lock-keywords)
9011 (sql-mode-linter-font-lock-keywords): Update initialization to
9012 reduce run-time complexity.
9013 (sql-add-product, sql-del-product): New functions.
9014 (sql-set-product-feature, sql-get-product-feature): New functions.
9015 (sql-product-font-lock): Update product API.
9016 (sql-add-product-keywords): New function.
9017 (sql-highlight-product): Update product API.
9018 (sql-help-list-products): New function.
9019 (sql-help): Dynamically lists free and non-free products.
9020 (sql-get-login): Correct bug in handling history and added
9022 (sql-copy-column): Copy without properties.
9023 (sqli-input-sender): Apply filters to SQLi input.
9024 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
9025 Implement as a filter.
9026 (sql-escape-newlines-filter): Implement as a filter.
9027 (sql-remove-tabs-filter): New function.
9028 (sql-send-magic-terminator): New function.
9029 (sql-send-string): Implement magic terminator.
9030 (sql-send-region): Use `sql-send-string'.
9031 (sql-interactive-mode): Use product API.
9032 (sql-product-interactive): Use product API.
9033 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
9034 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
9035 (sql-db2, sql-linter): Use `sql-product-interactive'.
9036 (sql-connect): New function.
9037 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
9038 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
9039 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
9040 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
9043 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9045 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
9046 New custom variable.
9047 (completion-pcm--string->pattern): Use it.
9048 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
9049 Make it handle any symbol as `any'.
9050 (completion-pcm--merge-completions): Extract common suffix for the new
9051 `prefix' symbol as well.
9052 (completion-substring--all-completions): Use the new `prefix' symbol.
9054 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
9056 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
9058 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
9059 (tramp-compat-funcall): New defmacro.
9060 (tramp-compat-line-beginning-position)
9061 (tramp-compat-line-end-position)
9062 (tramp-compat-temporary-file-directory)
9063 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
9064 (tramp-compat-copy-file, tramp-compat-copy-directory)
9065 (tramp-compat-delete-file, tramp-compat-delete-directory)
9066 (tramp-compat-number-sequence, tramp-compat-process-running-p)
9067 * net/tramp.el (top, with-progress-reporter)
9068 (tramp-rfn-eshadow-setup-minibuffer)
9069 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
9070 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
9071 (tramp-completion-mode-p, tramp-check-for-regexp)
9072 (tramp-open-connection-setup-interactive-shell)
9073 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
9074 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
9075 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
9076 * net/tramp-cmds.el (tramp-cleanup-all-connections)
9077 (tramp-reporter-dump-variable, tramp-load-report-modules)
9078 (tramp-append-tramp-buffers)
9079 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
9081 * net/tramp-imap.el (top): Autoload `epg-make-context'.
9083 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9085 * progmodes/compile.el (compilation-buffer-modtime): Rename from
9086 buffer-modtime. Adjust users.
9088 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9090 * international/mule.el (auto-coding-alist): Only purecopy
9091 car of each item, not the whole list (Bug#6083).
9093 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9095 * progmodes/js.el (js-mode): Make paragraph variables local before
9096 calling c-setup-paragraph-variables (Bug#6071).
9098 2010-05-08 Eli Zaretskii <eliz@gnu.org>
9100 * composite.el (compose-region, reference-point-alist): Fix typos
9103 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9105 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
9106 gnuplot's "set" command.
9108 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9110 * abbrev.el (last-abbrev-text): Doc fix.
9111 (abbrev-prefix-mark): Don't escape parenthesis.
9113 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
9115 * composite.el (find-composition): Doc fix.
9117 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9119 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
9120 (sql-oracle-program, sql-sqlite-options)
9121 (sql-query-placeholders-and-send): Doc fixes.
9122 (sql-set-product, sql-interactive-mode): Reflow docstrings.
9123 (sql-imenu-generic-expression, sql-buffer)
9124 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
9125 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
9126 (sql-mode-sybase-font-lock-keywords)
9127 (sql-mode-informix-font-lock-keywords)
9128 (sql-mode-interbase-font-lock-keywords)
9129 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
9130 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
9131 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
9132 (sql-product-feature, sql-highlight-product)
9133 (comint-line-beginning-position, sql-rename-buffer)
9134 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
9135 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
9136 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
9137 Fix typos in docstrings.
9139 2010-05-08 Juri Linkov <juri@jurta.org>
9141 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
9142 property instead of `invisible' and `after-string' (bug#5998).
9144 2010-05-08 Juri Linkov <juri@jurta.org>
9146 * image-mode.el (image-mode-as-text): Fix typo in docstring.
9148 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9150 * filecache.el (file-cache-add-directory-list)
9151 (file-cache-add-directory-recursively): Fix typos in docstrings.
9153 2010-05-08 Kenichi Handa <handa@m17n.org>
9155 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
9156 (gujarati-composable-pattern): Fix typo.
9158 2010-05-08 Kenichi Handa <handa@m17n.org>
9160 * language/indian.el (oriya-composable-pattern)
9161 (tamil-composable-pattern, malayalam-composable-pattern):
9162 Add two-part vowels to "v" (vowel sign).
9164 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9166 * files.el (copy-directory): Handle symlinks (Bug#5982).
9168 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
9170 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
9171 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
9174 2010-05-08 Glenn Morris <rgm@gnu.org>
9176 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
9178 * minibuffer.el (completion-at-point): Doc fix.
9180 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9182 * electric.el (Electric-command-loop): Minor tweak.
9184 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
9185 better with dedicated windows.
9187 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
9189 * Version 23.2 released.
9191 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
9192 Stefan Monnier <monnier@iro.umontreal.ca>
9194 Highlight vendor specific properties.
9195 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
9196 (css-proprietary-property): New face.
9197 (css-font-lock-keywords): Use them.
9199 2010-05-07 Eli Zaretskii <eliz@gnu.org>
9201 * cus-start.el (all): Add native condition for tool-bar-* symbols.
9203 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9205 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
9206 * files.el (auto-mode-alist): Remove redundant entries.
9208 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
9209 * simple.el (auto-save-mode): Move from files.el.
9210 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
9212 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
9214 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
9216 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
9218 * mail/binhex.el (binhex-decode-region-internal)
9219 * mail/uudecode.el (uudecode-decode-region-internal)
9220 * net/dns.el (dns-read-string-name, dns-write, dns-read)
9221 (dns-read-type, dns-query)
9222 * pgg-parse.el (pgg-parse-armor)
9223 * pgg.el (pgg-verify-region)
9224 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
9227 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
9229 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
9231 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
9233 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
9234 * emulation/cua-base.el (cua-repeat-replace-region):
9235 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9236 (cua-cut-region-to-global-mark):
9237 Remove text properties with `set-text-properties'.
9239 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
9241 * net/tramp.el (top, with-progress-reporter):
9242 Use `symbol-function' inside `funcall'.
9244 * net/tramp-compat.el (tramp-compat-file-attributes)
9245 (tramp-compat-delete-file, tramp-compat-delete-directory):
9246 Handle only `wrong-number-of-arguments' error.
9248 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
9249 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
9252 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9254 * minibuffer.el (completion--sreverse, completion--common-suffix):
9256 (completion-pcm--merge-completions): Extract common suffix when safe.
9258 * emacs-lisp/easy-mmode.el (define-minor-mode):
9259 Make :variable more flexible.
9260 * files.el (auto-save-mode): Use it to define using define-minor-mode.
9262 2010-05-05 Juri Linkov <juri@jurta.org>
9264 Add `slow' and `history' tags to the desktop data.
9266 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
9267 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
9268 (Info-finder-find-node): Require `finder.el' to be able
9269 to restore node from the desktop.
9270 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
9271 data `Info-history' and `slow' tag in the assoc list.
9272 (Info-restore-desktop-buffer): Don't restore nodes with the
9273 `slow' tag. Restore `Info-history'.
9275 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
9277 Add FORCE argument to `delete-file'.
9279 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
9280 forcing to delete the temporary file.
9281 (ange-ftp-delete-file): Add FORCE arg.
9282 (ange-ftp-rename-remote-to-remote)
9283 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
9284 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
9285 Force file deletion.
9287 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
9289 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
9290 (tramp-handle-make-symbolic-link, tramp-handle-load)
9291 (tramp-do-copy-or-rename-file-via-buffer)
9292 (tramp-do-copy-or-rename-file-directly)
9293 (tramp-do-copy-or-rename-file-out-of-band)
9294 (tramp-handle-process-file, tramp-handle-call-process-region)
9295 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9296 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9297 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
9299 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
9300 (tramp-fish-handle-make-symbolic-link)
9301 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
9303 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9304 Use `tramp-compat-delete-file'.
9306 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
9307 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
9309 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
9310 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
9312 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
9313 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
9314 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
9315 Use `tramp-compat-delete-file'.
9317 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9320 * subr.el (add-minor-mode): Use push.
9321 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
9322 * emulation/edt.el (edt-select-mode): Simplify.
9324 Use define-minor-mode in more cases.
9325 * term/tvi970.el (tvi970-set-keypad-mode):
9326 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9327 (normal-erase-is-backspace-mode):
9328 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
9329 (set-scroll-bar-mode-1): (Re)move to its sole caller.
9330 (get-scroll-bar-mode): New function.
9331 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
9333 Use define-minor-mode for less obvious cases.
9334 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
9335 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
9336 * international/iso-ascii.el (iso-ascii-mode):
9337 * frame.el (auto-raise-mode, auto-lower-mode):
9338 * composite.el (global-auto-composition-mode): Use define-minor-mode.
9340 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
9342 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
9343 in order to see error messages for failed logins.
9345 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
9347 * diff.el (diff-sentinel):
9349 * epg.el (epg--make-temp-file, epg-decrypt-string)
9350 (epg-verify-string, epg-sign-string, epg-encrypt-string):
9352 * jka-compr.el (jka-compr-partial-uncompress)
9353 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
9355 * server.el (server-sentinel): Use delete-file's new FORCE arg
9358 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9360 Use define-minor-mode where applicable.
9361 * view.el (view-mode):
9362 * type-break.el (type-break-query-mode)
9363 (type-break-mode-line-message-mode):
9364 * textmodes/reftex.el (reftex-mode):
9365 * term/vt100.el (vt100-wide-mode):
9366 * tar-mode.el (tar-subfile-mode):
9367 * savehist.el (savehist-mode):
9368 * ibuf-ext.el (ibuffer-auto-mode):
9369 * composite.el (auto-composition-mode):
9370 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9371 Use define-minor-mode.
9372 (vhdl-mode): Use static mode-line format.
9373 (vhdl-mode-line-update): Delete.
9374 (vhdl-create-mode-menu, vhdl-activate-customizations)
9375 (vhdl-hs-minor-mode): Don't bother calling it.
9377 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
9379 * simple.el (with-wrapper-hook): Move.
9380 (buffer-substring-filters): Mark obsolete.
9381 (filter-buffer-substring-functions): New variable.
9382 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
9384 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
9385 Michael Albinus <michael.albinus@gmx.de>
9387 Implement compression for inline methods.
9389 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
9390 (tramp-copy-size-limit): Allow also nil.
9391 (tramp-inline-compress-commands): New defconst.
9392 (tramp-find-inline-compress, tramp-get-inline-compress)
9393 (tramp-get-inline-coding): New defuns.
9394 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
9395 replaced by `tramp-get-inline-coding'.
9396 (tramp-handle-file-local-copy, tramp-handle-write-region)
9397 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
9399 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9401 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
9402 Remove unused functions.
9404 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
9405 Set find-tag-default-function as a variable rather than a property.
9407 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
9408 * progmodes/etags.el (tags-completion-at-point-function):
9409 Remove left over interactive spec. Add autoloading stub.
9410 (complete-tag): Use tags-completion-at-point-function.
9412 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
9414 * minibuffer.el (tags-completion-at-point-function): Fix return value.
9416 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
9418 * ido.el (ido-init-completion-maps): Remove C-v binding.
9419 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
9421 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
9423 * minibuffer.el (tags-completion-at-point-function): New function.
9424 (completion-at-point-functions): Use it.
9426 * progmodes/etags.el (complete-tag): Revert last change.
9428 2010-04-29 Alan Mackenzie <acm@muc.de>
9430 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
9431 off-by-one error (in end of macro position).
9433 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9435 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
9436 firefox is absent. Don't autoload.
9437 (browse-url-galeon-program): Don't autoload.
9439 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
9441 * bindings.el (complete-symbol): Move into minibuffer.el.
9443 * minibuffer.el (complete-tag): Move from etags.el. If tags
9444 completion cannot be performed, return nil instead of signalling
9446 (completion-at-point): Make it an alias for complete-symbol.
9447 (complete-symbol): Move from bindings.el, and replace with the
9448 body of completion-at-point.
9450 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
9452 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
9454 * net/tramp.el (tramp-remote-selinux-p): New defun.
9455 (tramp-handle-file-selinux-context)
9456 (tramp-handle-set-file-selinux-context): Use it.
9458 2010-04-28 Sam Steingold <sds@gnu.org>
9460 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9461 `safe-local-variable' if the value is a string or a symbol with
9462 the property `bug-reference-url-format'.
9464 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
9466 * progmodes/bug-reference.el (bug-reference-url-format):
9467 Revert 2010-04-27 change due to security risk.
9469 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9471 Make it possible to locally disable a globally enabled mode.
9472 * simple.el (fundamental-mode): Run fundamental-mode-hook.
9473 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
9474 rather than kill-all-local-variables so it runs fundamental-mode-hook.
9475 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9476 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
9477 that subsequent hooks get a chance to disable it.
9479 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9481 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9482 Avoid re-enabling a minor mode after the user turned the minor mode
9483 off if MODE-enable-in-buffers is run twice (typically once from
9484 fundamental-mode's after-change-major-mode-hook and a second time from
9485 run-mode-hook's own after-change-major-mode-hook).
9487 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
9489 2010-04-27 Sam Steingold <sds@gnu.org>
9491 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9492 `safe-local-variable' if the value is a string or a function, as
9493 documented and implemented on 2010-04-02.
9495 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
9497 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
9498 when method is 'kill.
9500 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
9502 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
9503 condition in default directory check.
9504 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
9505 Kill ispell process when killing its associated buffer.
9507 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
9509 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
9510 but we aren't using it.
9512 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
9514 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
9515 checkin in rev 100010.
9517 2010-04-24 Glenn Morris <rgm@gnu.org>
9519 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
9520 Ignore VCS-ignore files, and deleted nextstep preferences files.
9521 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
9522 (authors-ambiguous-files): New list.
9523 (authors-valid-file-names): Add some deleted files.
9524 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
9525 (authors-disambiguate-file-name): New function. (Bug#5501)
9526 (authors-canonical-file-name): Doc fix.
9527 Don't warn about obsolete files.
9528 (authors-canonical-file-name, authors-scan-el):
9529 Use authors-disambiguate-file-name.
9531 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9532 Add autoload cookies.
9533 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
9534 (generated-autoload-file): Set file-local value to "htmlfontify.el".
9535 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
9536 They have definitions / compiler macros in cl.el.
9537 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9538 Replace manual autoloads with generated ones.
9539 (htmlfontify-unload-rgb-file): Remove autoload.
9540 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
9542 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9544 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
9545 (byte-compile-setq-default): Optimize for the
9546 single-var case and don't call byte-compile-form in this case to avoid
9547 inf-loop with byte-compile-set-default.
9549 * progmodes/compile.el (compilation-start): Abbreviate default directory.
9551 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
9553 Implement SELINUX backends.
9555 * net/tramp.el (tramp-file-name-handler-alist):
9556 Add `file-selinux-context' and `set-file-selinux-context'.
9557 (tramp-handle-file-selinux-context)
9558 (tramp-handle-set-file-selinux-context): New defuns.
9559 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
9560 Handle PRESERVE-SELINUX-CONTEXT.
9562 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9563 Add `file-selinux-context' and `set-file-selinux-context'.
9564 (tramp-gvfs-handle-file-selinux-context)
9565 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
9566 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
9568 * net/ange-ftp.el (ange-ftp-copy-file):
9569 * net/tramp-fish.el (tramp-fish-handle-copy-file):
9570 * net/tramp-imap.el (tramp-imap-handle-copy-file):
9571 * net/tramp-smb.el (tramp-smb-handle-copy-file):
9572 Add PRESERVE-SELINUX-CONTEXT.
9574 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9576 Synchronize with Tramp repository.
9578 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
9579 (tramp-action-process-alive, tramp-action-out-of-band)
9580 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
9581 (tramp-exists-file-name-handler): Fix docstring.
9582 (with-progress-reporter): New defmacro.
9583 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
9584 (tramp-maybe-open-connection): Use it.
9586 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
9588 Detect ssh 'ControlMaster' argument automatically in some cases.
9590 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
9591 (tramp-default-method): Use it.
9593 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9595 * net/tramp.el (tramp-handle-copy-file): Add new optional
9596 parameter `preserve-selinux-context'.
9597 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
9599 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9601 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
9602 Ensure, that non remote files are still checked. Oops.
9604 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
9608 * icomplete.el (icomplete-completions): Use `non-essential'.
9610 * net/tramp.el (tramp-connectable-p): New defun.
9611 (tramp-handle-expand-file-name)
9612 (tramp-completion-handle-file-name-all-completions)
9613 (tramp-completion-handle-file-name-completion): Use it.
9615 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9617 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
9619 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
9621 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
9623 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
9625 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
9628 * info.el (info-tool-bar-map): Add labels.
9630 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
9632 * cus-edit.el (custom-commands): Add labels for tool bar.
9633 (custom-buffer-create-internal, Custom-mode): Adjust for
9634 labels in custom-commands.
9636 * dynamic-setting.el: Renamed from font-setting.el.
9638 2010-04-21 John Wiegley <jwiegley@gmail.com>
9640 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
9641 toggles the use of virtual buffers.
9642 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
9643 (ido-toggle-virtual-buffers): New function.
9645 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
9647 Use `define-derived-mode'; fix window selection; doc fixes.
9648 * play/tetris.el (tetris, tetris-update-speed-function)
9649 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
9650 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
9651 (tetris-rotate-next, tetris-end-game, tetris-start-game)
9652 (tetris-pause-game): Fix typos in docstrings.
9653 (tetris-mode-map, tetris-null-map):
9654 Move initialization into declaration.
9655 (tetris-mode): Define with `define-derived-mode';
9656 set show-trailing-whitespace to nil.
9657 (tetris): Prefer window already displaying the "*Tetris*" buffer.
9659 2010-04-21 Karel Klíč <kklic@redhat.com>
9661 * files.el (backup-buffer): Handle SELinux context, and return it
9662 if a backup was made by renaming.
9663 (backup-buffer-copy): Set SELinux context to the target file.
9664 (basic-save-buffer): Set SELinux context of the newly written file.
9665 (basic-save-buffer-1): Now it also returns any SELinux context.
9666 (basic-save-buffer-2): Set SELinux context of the newly created file,
9668 * net/tramp.el (tramp-file-name-for-operation):
9669 Add file-selinux-context.
9671 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9673 Make the log-edit comments use RFC822 format throughout.
9675 * vc.el (vc-checkin, vc-modify-change-comment):
9676 Adjust to new vc-start/finish-logentry.
9677 (vc-find-conflicted-file): New command.
9678 (vc-transfer-file): Adjust to new vc-checkin.
9679 (vc-next-action): Improve scoping.
9681 * vc-hg.el (vc-hg-log-edit-mode): Remove.
9682 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
9684 * vc-git.el (vc-git-log-edit-mode): Remove.
9685 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
9686 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
9688 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
9689 (vc-start-logentry): Remove argument `extra'.
9690 (vc-finish-logentry): Remove extra args.
9692 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
9693 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
9694 (vc-bzr-conflicted-files): New function.
9696 * log-edit.el (log-edit-extra-flags)
9697 (log-edit-before-checkin-process): Remove.
9698 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
9699 (log-edit-headers-alist): New var.
9700 (log-edit-header-contents-regexp): New const.
9701 (log-edit-match-to-eoh): New function.
9702 (log-edit-font-lock-keywords): Use them.
9703 (log-edit): Insert a "Summary:" header as default.
9704 (log-edit-mode): Mark font-lock rules as case-insensitive.
9705 (log-edit-done): Cleanup headers.
9706 (log-view-process-buffer): Remove.
9707 (log-edit-extract-headers): New function to replace it.
9709 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
9711 * subr.el (default-direction-reversed): Remove obsolescence info.
9713 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9715 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
9718 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
9719 I.e. include text after point in the completion region.
9720 Also, return nil when we're not after/in a symbol.
9722 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
9723 default enable-multibyte-characters.
9725 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9727 * international/mule.el: Help the user choose a valid coding-system.
9728 (read-buffer-file-coding-system): New function.
9729 (set-buffer-file-coding-system): Use it. Prompt the user if the
9730 coding-system cannot encode all the chars.
9732 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
9733 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
9734 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
9735 Don't use *vc-bzr-shelve*.
9737 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
9739 Fix the version number for added files.
9740 * vc-hg.el (vc-hg-working-revision): Check if the file is
9741 registered after hg parent fails (Bug#5961).
9743 2010-04-19 Glenn Morris <rgm@gnu.org>
9745 * htmlfontify.el (htmlfontify-buffer)
9746 (htmlfontify-copy-and-link-dir): Autoload entry points.
9748 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
9750 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
9751 name relative to the project root (Bug#5960).
9753 2010-04-19 Glenn Morris <rgm@gnu.org>
9755 * vc-git.el (vc-git-print-log): Doc fix.
9757 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
9759 * ido.el (ido-file-internal): Fix 2009-12-02 change.
9761 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
9763 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
9764 default settings (Bug#5928).
9766 2010-04-19 Glenn Morris <rgm@gnu.org>
9768 * progmodes/fortran.el (fortran-match-and-skip-declaration):
9770 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
9772 2010-04-19 Kenichi Handa <handa@m17n.org>
9774 * language/indian.el (malayalam-composable-pattern): Fix previous
9775 change (add U+0D4D "SIGN VIRAMA").
9776 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
9777 (tamil-composable-pattern): Fix typo in the regexp.
9778 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
9779 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
9780 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
9782 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
9784 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
9785 paragraph-separate (Bug#5821).
9787 2010-04-19 Juri Linkov <juri@jurta.org>
9789 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
9791 * info.el (Info-find-node-2): Comment out code that skips
9793 (Info-mouse-follow-link): New command.
9794 (Info-link-keymap): New keymap.
9795 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
9796 Return a string with links instead of inserting breadcrumbs
9798 (Info-fontify-node): Comment out code that inserts breadcrumbs.
9799 Instead of putting the `invisible' text property over the Info
9800 header, make an overlay over the Info header with the `invisible'
9801 property and `after-string' set to the string returned by
9804 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
9806 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
9807 Reported by monkey@sandpframing.com.
9809 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9811 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
9812 (tmm-get-keymap): Add key-binding shortcuts now that they're not
9813 available in the "keyseq cache" any more.
9815 * custom.el (defcustom): Add edebug spec.
9817 2010-04-18 Juri Linkov <juri@jurta.org>
9819 Test for special mode-class in view-buffer instead of view-file (bug#5513).
9821 * view.el (view-file, view-buffer): Move test for special mode-class
9822 from view-file to view-buffer.
9824 * tar-mode.el (tar-extract): Turn if's into one cond
9825 like in arc-mode.el.
9827 2010-04-18 Juri Linkov <juri@jurta.org>
9829 Add 7z archive format support (bug#5475).
9831 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
9832 (archive-7z-extract): New defcustom.
9833 (archive-find-type): Add magic string for 7z.
9834 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
9835 If `stderr-file' is non-nil, use `(t stderr-file)' for the
9836 `buffer' arg of `call-process'.
9837 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
9838 call the function `archive-7z-extract' with the variable
9839 `archive-7z-extract' let-bound to `archive-zip-extract'.
9840 (archive-7z-summarize, archive-7z-extract): New functions.
9842 * international/mule.el (auto-coding-alist):
9843 * files.el (auto-mode-alist): Add 7z file extension.
9845 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9847 * loadup.el: Setup hash-cons for pure data.
9849 Fix duplicate entries in cedet's loaddefs.el files.
9850 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
9851 Should make most file-local generated-autoload-file unnecessary.
9852 (print-readably): Silence warnings.
9853 (autoload-find-destination): Take load-name as an arg to make sure
9854 it's the same as the one that will be in the file.
9855 (autoload-generate-file-autoloads): Adjust to above changes.
9856 Try to make the dataflow a bit simpler.
9858 * cvs-status.el (cvs-refontify): Remove unused.
9860 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
9862 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
9864 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
9865 twos-complement mode.
9867 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
9869 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
9870 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
9871 (calc-inverse): Add "Option" to message, as appropriate.
9872 (calc-hyperbolic): Add "Option" to message, as appropriate.
9873 (calc-option, calc-is-option): New functions.
9875 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
9876 (calc-option-prefix-help): New function.
9878 * calc/calc-misc.el (calc-help): Add "Option" entry.
9880 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
9881 (calc-option-flag): New variable.
9882 (calc-do): Set `calc-option-flag to nil.
9883 (calc-set-mode-line): Add "Opt " as appropriate.
9885 2010-04-16 Juri Linkov <juri@jurta.org>
9887 Move scrolling commands from simple.el to window.el
9888 because their primitives are implemented in window.c.
9890 * simple.el (scroll-error-top-bottom)
9891 (scroll-up-command, scroll-down-command, scroll-up-line)
9892 (scroll-down-line, scroll-other-window-down)
9893 (beginning-of-buffer-other-window, end-of-buffer-other-window):
9894 * window.el (scroll-error-top-bottom)
9895 (scroll-up-command, scroll-down-command, scroll-up-line)
9896 (scroll-down-line, scroll-other-window-down)
9897 (beginning-of-buffer-other-window, end-of-buffer-other-window):
9898 Move from simple.el to window.el because their primitives are
9899 implemented in window.c.
9901 2010-04-16 Juri Linkov <juri@jurta.org>
9903 * isearch.el (isearch-lookup-scroll-key): Check both
9904 `isearch-scroll' and `scroll-command' properties.
9905 (scroll-up, scroll-down): Remove `isearch-scroll' property.
9907 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
9909 * simple.el (scroll-up-command, scroll-down-command)
9910 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
9912 2010-04-15 Juri Linkov <juri@jurta.org>
9914 * simple.el (scroll-up-command, scroll-down-command)
9915 (scroll-up-line, scroll-down-line): Put `scroll-command'
9916 property on the these symbols. Remove them from
9917 `scroll-preserve-screen-position-commands'.
9919 * mwheel.el (mwheel-scroll): Put `scroll-command' and
9920 `isearch-scroll' properties on the `mwheel-scroll' symbol.
9921 Remove it from `scroll-preserve-screen-position-commands'.
9923 * isearch.el (isearch-allow-scroll): Doc fix.
9925 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
9927 * net/tramp.el (tramp-error-with-buffer): Don't show the
9928 connection buffer when we are in completion mode.
9929 (tramp-file-name-handler): Catch the error for some operations
9930 when we are in completion mode. This gives the user the chance to
9931 correct the file name in the minibuffer.
9933 2010-04-15 Glenn Morris <rgm@gnu.org>
9935 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
9937 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
9939 Simplify by using `define-derived-mode'.
9940 * info.el (Info-mode):
9941 * calendar/todo-mode.el (todo-mode):
9942 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
9943 (gomoku-mode-map): Move initialization into declaration.
9945 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
9948 * ido.el (ido-file-name-all-completions-1):
9949 * minibuffer.el (minibuffer-completion-help):
9950 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
9952 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9954 * simple.el (non-essential): New var.
9956 Add a new field `location' to bookmarks for non-file bookmarks.
9957 * bookmark.el (bookmark-location): Use the new field, if present.
9958 (bookmark-insert-location): Undo last change, not needed any more.
9959 * man.el (Man-bookmark-make-record):
9960 * woman.el (woman-bookmark-make-record): Add `location' field.
9962 2010-04-14 Juri Linkov <juri@jurta.org>
9964 * simple.el (scroll-error-top-bottom): New defcustom.
9965 (scroll-up-command, scroll-down-command): Use it. Doc fix.
9967 * emulation/pc-select.el (pc-select-override-scroll-error):
9968 Obsolete in favor of `scroll-error-top-bottom'.
9970 2010-04-14 Juri Linkov <juri@jurta.org>
9972 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
9973 `scroll-up-command' and `M-v' to `scroll-down-command'.
9975 * emulation/cua-rect.el (cua--init-rectangles):
9976 * forms.el (forms--change-commands):
9977 * image-mode.el (image-mode-map):
9978 Remap scroll-down-command and scroll-up-command
9979 in addition to scroll-down and scroll-up.
9981 2010-04-14 Juri Linkov <juri@jurta.org>
9983 * mwheel.el (scroll-preserve-screen-position-commands):
9984 Add mwheel-scroll to this list of commands.
9986 * simple.el (scroll-preserve-screen-position-commands):
9987 Add scroll-up-command, scroll-down-command, scroll-up-line,
9988 scroll-down-line to this list of commands.
9990 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9992 * obsolete/complete.el: Move from lisp/complete.el.
9994 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
9996 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
9997 to the minor mode function now turns the mode ON unconditionally.
9999 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10001 * vc-dir.el (vc-dir-kill-line): New command.
10002 (vc-dir-mode-map): Bind it to C-k.
10004 * bookmark.el (bookmark-insert-location): Handle a nil filename.
10006 * woman.el: Add bookmark declarations to silence the compiler.
10007 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
10008 step to compatibility between man and woman bookmarks.
10009 Adjust for Man-default-bookmark-title renaming.
10010 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
10012 * man.el: Add bookmark declarations to silence the compiler.
10013 (Man-name-local-regexp): Make it match NAME as well.
10014 (Man-getpage-in-background): Return the buffer.
10015 (Man-notify-when-ready): Use `case'.
10016 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
10017 Don't hardcode "NAME". Simplify.
10018 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
10019 Rename from Man-bookmark-make-record.
10020 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
10021 we have the actual man-args. Use Man-getpage-in-background rather
10022 than `man' since the arg is already processed. Let bookmark.el do the
10023 window handling. Only wait for the relevant process.
10024 Don't forget to autoload.
10026 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
10028 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10030 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
10032 (woman-mode): Setup bookmark support.
10034 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
10035 (man-bookmark-jump): New functions.
10036 (Man-mode): Setup bookmark support.
10038 2010-04-10 Jari Aalto <jari.aalto@cante.net>
10040 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
10041 recognize ssh-keygen prompt (Bug#2817).
10043 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10045 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
10047 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10049 Synchronize with Tramp repository.
10051 * net/tramp.el (tramp-completion-function-alist)
10052 (tramp-file-name-regexp, tramp-chunksize)
10053 (tramp-local-coding-commands, tramp-remote-coding-commands):
10055 (tramp-remote-process-environment): Use `format' instead of `concat'.
10056 (tramp-handle-directory-files-and-attributes)
10057 (tramp-get-remote-path): Use `copy-tree'.
10058 (tramp-handle-file-name-all-completions): Backward/ XEmacs
10059 compatibility: Use `completion-ignore-case' if
10060 `read-file-name-completion-ignore-case' does not exist.
10061 (tramp-do-copy-or-rename-file-directly): Do not use
10062 `tramp-handle-file-remote-p'.
10063 (tramp-do-copy-or-rename-file-out-of-band):
10064 Use `tramp-compat-delete-directory'.
10065 (tramp-do-copy-or-rename-file-out-of-band)
10066 (tramp-compute-multi-hops, tramp-maybe-open-connection):
10067 Use `format-spec-make'.
10068 (tramp-find-foreign-file-name-handler)
10069 (tramp-advice-make-auto-save-file-name)
10070 (tramp-set-auto-save-file-modes): Remove superfluous check for
10071 `stringp'. This is done inside `tramp-tramp-file-p'.
10072 (tramp-debug-outline-regexp): New defconst.
10073 (tramp-get-debug-buffer): Use it.
10074 (tramp-check-for-regexp): Use (forward-line 1).
10075 (tramp-set-auto-save-file-modes): Adapt version check.
10077 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
10078 Wrap call of `featurep' for 2nd argument.
10079 (tramp-compat-make-temp-file): Simplify fallback implementation.
10080 (tramp-compat-copy-tree): Remove function.
10081 (tramp-compat-delete-directory): Provide implementation for older
10084 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
10085 Do not use `tramp-fish-handle-file-attributes.
10087 * net/trampver.el: Update release number.
10089 2010-04-10 Glenn Morris <rgm@gnu.org>
10091 * progmodes/compile.el (compilation-save-buffers-predicate):
10092 Add missing :version tag.
10094 2010-04-09 Sam Steingold <sds@gnu.org>
10096 * progmodes/compile.el (compilation-save-buffers-predicate):
10097 Remove the "autoload" cookie.
10099 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
10100 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
10101 and `bug-reference-prog-mode' can be used in hooks directly.
10103 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
10105 Add --author support to git commit.
10106 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
10107 (vc-git-log-edit-mode): New minor mode.
10108 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
10111 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
10113 * vc-hooks.el, vc-git.el: Improve documentation comments.
10115 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10117 Fix some of the problems in defsubst* (bug#5728).
10118 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
10119 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
10121 2010-04-07 Sam Steingold <sds@gnu.org>
10123 * progmodes/compile.el (compilation-save-buffers-predicate):
10124 New custom variable.
10125 (compile, recompile): Pass it to `save-some-buffers'.
10127 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
10129 * wid-edit.el (widget-choose): Move cursor to the second line of
10130 the buffer (Bug#5695).
10132 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
10134 Add new VC methods: vc-log-incoming and vc-log-outgoing.
10135 * vc.el (vc-print-log-setup-buttons): New function split out from
10136 vc-print-log-internal.
10137 (vc-log-internal-common): New function, a parametrized version of
10138 vc-print-log-internal.
10139 (vc-print-log-internal): Just call vc-log-internal-common with the
10141 (vc-incoming-outgoing-internal):
10142 (vc-log-incoming, vc-log-outgoing): New functions.
10143 (vc-log-view-type): New permanent local variable.
10145 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
10147 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
10148 of the dynamic bound vc-short-log.
10149 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
10151 * vc-git.el (vc-git-log-outgoing): New function.
10152 (vc-git-log-view-mode): Use vc-log-view-type instead
10153 of the dynamic bound vc-short-log.
10155 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
10156 of the dynamic bound vc-short-log. Highlight the tag.
10157 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
10158 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
10159 (vc-hg-incoming-mode): Remove.
10160 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
10162 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
10164 Fix default-directory for vc-root-diff.
10165 * vc.el (vc-root-diff): Bind default-directory to the root
10166 directory for the diff command.
10168 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
10170 * progmodes/verilog-mode.el (verilog-forward-sexp):
10171 (verilog-calc-1): Support "disable fork" and "fork wait" multi
10172 word keywords, suggested by Steve Pearlmutter.
10173 (verilog-pretty-declarations): Support lineup of declarations in
10175 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
10176 fix bug for /* / comments.
10177 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
10178 Speed up and simplfy as this is never called with a bound.
10179 (verilog-pretty-declarations): Enhance to line up declarations
10180 inside a parameter list, suggested by Alan Morgan.
10181 (verilog-pretty-expr): Tune assignment regular expression match
10182 string for corner cases; also use markers instead of character
10183 number as indent changes the later.
10185 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
10187 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
10188 as missing keyword.
10189 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
10190 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
10191 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
10192 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
10194 (verilog-keywords):
10195 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
10196 1800-2009 keywords, including "global.".
10198 2010-04-06 John Wiegley <jwiegley@gmail.com>
10200 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
10201 appearing in buffer list (if a live buffer name matched a recentf
10202 file basename). Should use uniquify to offer a real solution.
10204 2010-04-06 John Wiegley <jwiegley@gmail.com>
10206 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
10207 comment to code, and add a :version tag.
10208 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
10210 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
10212 Enable recentf-mode if using virtual buffers.
10213 * ido.el (recentf-list): Declare for byte-compiler.
10214 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
10215 (ido-make-buffer-list): Simplify.
10216 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
10218 2010-04-05 Juri Linkov <juri@jurta.org>
10220 Scrolling commands which scroll a line instead of full screen.
10221 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10223 * simple.el (scroll-up-line, scroll-down-line): New commands.
10224 Put property isearch-scroll=t on them.
10226 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
10229 2010-04-05 Juri Linkov <juri@jurta.org>
10231 Scrolling commands which do not signal errors at top/bottom.
10232 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10234 * simple.el (scroll-up-command, scroll-down-command): New commands.
10235 Put property isearch-scroll=t on them.
10237 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
10238 `scroll-down-command' and [next] from `scroll-up' to
10239 `scroll-up-command'.
10241 * emulation/cua-base.el: Put property CUA=move on
10242 `scroll-up-command' and `scroll-down-command'.
10243 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
10244 and `scroll-down-command' to `cua-scroll-down'.
10246 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
10248 * help.el (describe-mode): Return nil.
10250 2010-04-04 John Wiegley <jwiegley@gmail.com>
10252 * ido.el (ido-use-virtual-buffers): New variable to indicate
10253 whether "virtual buffer" support is enabled for IDO.
10254 (ido-virtual): Face used to indicate virtual buffers in the list.
10255 (ido-buffer-internal): If a buffer is chosen, and no such buffer
10256 exists, but a virtual buffer of that name does (which would be why
10257 it was in the list), recreate the buffer by reopening the file.
10258 (ido-make-buffer-list): If virtual buffers are being used, call
10259 `ido-add-virtual-buffers-to-list' before the make list hook.
10260 (ido-virtual-buffers): New variable which contains a copy of the
10261 current contents of the `recentf-list', albeit pared down for the
10262 sake of speed, and with proper faces applied.
10263 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
10264 create a list of "virtual buffers" to present to the user in
10265 addition to the currently open set. Note that this logic could
10266 get rather slow if that list is too large. With the default
10267 `recentf-max-saved-items' of 200, there is little speed penalty.
10269 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
10271 * font-lock.el: Require CL when compiling.
10272 (font-lock-turn-on-thing-lock): Use `case'.
10274 2010-04-03 Eli Zaretskii <eliz@gnu.org>
10276 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
10279 2010-04-02 Juri Linkov <juri@jurta.org>
10281 * ehelp.el (electric-help-orig-major-mode):
10282 New buffer-local variable.
10283 (electric-help-mode): Set it to original major-mode. Doc fix.
10284 (with-electric-help): Use `electric-help-orig-major-mode' instead
10285 of (default-value 'major-mode). Doc fix.
10286 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
10288 2010-04-02 Sam Steingold <sds@gnu.org>
10290 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
10291 `vc-hg-command' with a list of flags.
10293 * progmodes/bug-reference.el (bug-reference-bug-regexp):
10294 Also accept "patch" and "RFE".
10295 (bug-reference-fontify): `bug-reference-url-format' can also be a
10296 function to be able to handle the bug kind.
10297 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
10299 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
10301 * tmm.el (tmm-get-keymap): Check with symbolp before passing
10302 value to fboundp, it may not be a symbol.
10304 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10306 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
10308 2010-03-31 Juri Linkov <juri@jurta.org>
10310 * simple.el (next-line, previous-line): Re-throw a signal
10311 with `signal' instead of using `ding'.
10312 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
10314 2010-03-31 Juri Linkov <juri@jurta.org>
10316 * simple.el (keyboard-escape-quit): Raise deselecting the active
10317 region higher than exiting the minibuffer.
10318 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
10320 2010-03-31 Juri Linkov <juri@jurta.org>
10322 * image.el (image-animated-p): Use `image-metadata' instead of
10323 `image-extension-data'. Get GIF extenstion data from metadata
10324 property `extension-data'.
10326 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10328 * simple.el (append-to-buffer): Simplify.
10330 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
10332 * textmodes/artist.el (artist-mode): Fix typo in docstring.
10333 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
10335 2010-03-31 Kenichi Handa <handa@m17n.org>
10337 * language/sinhala.el (composition-function-table): Fix regexp for
10338 the new Unicode specification.
10340 * language/indian.el (devanagari-composable-pattern)
10341 (tamil-composable-pattern, kannada-composable-pattern)
10342 (malayalam-composable-pattern): Adjust for the new Unicode
10344 (bengali-composable-pattern, gurmukhi-composable-pattern)
10345 (gujarati-composable-pattern, oriya-composable-pattern)
10346 (telugu-composable-pattern): New variables to cope with the new
10347 Unicode specification. Use them in composition-function-table.
10349 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10351 Make tmm-menubar work for the Buffers menu again (bug#5726).
10352 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
10353 vectors rather than cons cells, as used in menu-bar-update-buffers.
10355 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10357 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
10358 (js-insert-and-indent): Revert 2009-08-15 change, restoring
10359 electric punctuation for "{}();,:" (Bug#5586).
10361 * mail/sendmail.el (mail-default-directory): Doc fix.
10363 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10365 * mail/sendmail.el (mail-default-directory): Doc fix.
10367 2010-03-31 Eli Zaretskii <eliz@gnu.org>
10369 * subr.el (version-regexp-alist, version-to-list)
10370 (version-list-<, version-list-=, version-list-<=)
10371 (version-list-not-zero, version<, version<=, version=): Doc fix.
10374 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
10376 * vc.el (vc-root-diff): Doc fix.
10378 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10380 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
10382 * simple.el (append-to-buffer): Fix last change.
10384 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10386 * simple.el (append-to-buffer): Ensure that point is preserved if
10387 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
10390 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10392 * files.el (auto-mode-case-fold): Change default to t.
10394 2010-03-30 Juri Linkov <juri@jurta.org>
10396 * dired-x.el (dired-omit-mode): Doc fix.
10398 2010-03-30 Juri Linkov <juri@jurta.org>
10400 * replace.el (occur-accumulate-lines): Move occur-engine related
10401 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
10402 to be located after `occur-engine'.
10404 2010-03-30 Juri Linkov <juri@jurta.org>
10406 Make occur handle multi-line matches cleanly with context.
10407 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
10409 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
10410 (occur-engine): Add local variables `ret', `prev-after-lines',
10411 `prev-lines'. Use more arguments for `occur-context-lines'.
10412 Set first elem of its returned list to `data', and the second elem
10413 to `prev-after-lines'. Don't print the separator line.
10414 In the end, print remaining context after-lines.
10415 (occur-context-lines): Add new arguments `begpt', `endpt',
10416 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
10417 after-lines of the previous match with before-lines of the
10418 current match and not overlap them. Return a list with two
10419 values: the output line and the list of context after-lines.
10421 2010-03-30 Juri Linkov <juri@jurta.org>
10423 * replace.el (occur-accumulate-lines): Fix a bug where the first
10424 context line at the beginning of the buffer was missing.
10426 2010-03-30 Eli Zaretskii <eliz@gnu.org>
10428 * files.el: Make bidi-display-reordering safe variable for boolean
10431 2010-03-29 Phil Hagelberg <phil@evri.com>
10432 Chong Yidong <cyd@stupidchicken.com>
10434 * subr.el: Extend progress reporters to perform "spinning".
10435 (progress-reporter-update, progress-reporter-do-update):
10436 Handle non-numeric value arguments.
10437 (progress-reporter--pulse-characters): New var.
10439 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
10441 * progmodes/compile.el (compilation-start): Fix regexp detection
10442 of initial cd command (Bug#5771).
10444 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
10446 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
10448 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
10450 Restore GDB/MI fuctionality removed by r99212.
10451 * progmodes/gdb-mi.el: Restore.
10452 * progmodes/gdb-ui.el: Remove.
10453 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
10455 2010-03-25 Glenn Morris <rgm@gnu.org>
10457 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
10458 all dired buffers, even tramp ones. (Bug#5755)
10460 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10462 Add "union tags" in mpc.el.
10463 * mpc.el: Remove backward compatibility code.
10464 (mpc-browser-tags): Change default.
10465 (mpc--find-memoize-union-tags): New var.
10466 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
10467 (mpc-cmd-find): Handle the case where the playlist does not exist.
10469 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
10470 (mpc-cmd-add): Use mpc-cmd-flush.
10471 (mpc-tagbrowser-tag-name): New fun.
10472 (mpc-tagbrowser-buf): Use it.
10473 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
10475 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10478 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
10479 Use replace-regexp-in-string.
10480 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
10481 (makefile-imake-mode-syntax-table): Move init into defvar.
10482 (makefile-mode): Use define-derived-mode.
10484 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
10485 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
10486 not be present any more.
10488 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10490 * faces.el (set-face-attribute): Fix typo in docstring.
10491 (face-valid-attribute-values): Reflow docstring.
10493 2010-03-24 Glenn Morris <rgm@gnu.org>
10495 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
10497 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
10499 * indent.el (indent-for-tab-command): Doc fix.
10501 2010-03-24 Alan Mackenzie <acm@muc.de>
10503 * progmodes/cc-engine.el (c-remove-stale-state-cache):
10504 Fix off-by-one error. Fixes bug #5747.
10506 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10508 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
10509 (image-dired-read-comment): Doc fix.
10511 * json.el (json-object-type, json-array-type, json-key-type)
10512 (json-false, json-null, json-read-number):
10513 * minibuffer.el (completion-in-region-functions):
10514 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
10515 (cal-tex-cursor-week):
10516 * emacs-lisp/trace.el (trace-function):
10517 * eshell/em-basic.el (eshell/printnl):
10518 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
10519 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
10520 * obsolete/levents.el (allocate-event, event-key, event-object)
10521 (event-point, event-process, event-timestamp, event-to-character)
10522 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
10523 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
10524 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
10525 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
10526 (reftex-highlight-selection): Fix typos in docstrings.
10528 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10530 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
10532 2010-03-24 Glenn Morris <rgm@gnu.org>
10534 * mail/rmail.el (rmail-highlight-face): Restore option deleted
10535 2008-02-13 without comment; mark it obsolete.
10536 (rmail-highlight-headers): Use rmail-highlight-face once more.
10538 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
10540 * woman.el (woman2-process-escapes): Only consume the newline if
10541 the filler character is on a line by itself (Bug#5729).
10543 2010-03-24 Kenichi Handa <handa@m17n.org>
10545 * language/indian.el (devanagari-composable-pattern): Add more
10548 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
10550 * net/trampver.el: Update release number.
10552 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
10554 * net/tramp.el (tramp-find-executable):
10555 Use `tramp-get-connection-buffer'. Make the regexp for checking
10556 output of "wc -l" more robust.
10557 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
10558 (tramp-open-connection-setup-interactive-shell): Remove workaround
10559 for OpenSolaris bug, it is not needed anymore.
10561 2010-03-24 Glenn Morris <rgm@gnu.org>
10563 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
10565 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
10567 * files.el (auto-mode-alist): Accept more verilog file patterns.
10569 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10571 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
10573 2010-03-24 Glenn Morris <rgm@gnu.org>
10575 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
10576 log-edit-before-checkin-process.
10578 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
10580 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
10582 * vc-dispatcher.el (vc-start-logentry): Doc fix.
10583 (log-view-process-buffer, log-edit-extra-flags): Declare.
10585 * log-edit.el (log-edit-before-checkin-process): Doc fix.
10587 2010-03-23 Sam Steingold <sds@gnu.org>
10589 Fix bug#5620: recalculate all markers on compilation buffer
10590 modifications, not on file modifications.
10591 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
10592 variable: the buffer modification time, for buffers not associated with
10594 (compilation-mode): Create it.
10595 (compilation-filter): Update it.
10596 (compilation-next-error-function): Use it instead of
10597 `visited-file-modtime' for timestamp.
10599 2010-03-23 Juri Linkov <juri@jurta.org>
10601 Implement Occur multi-line matches.
10602 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
10604 * replace.el (occur): Doc fix.
10605 (occur-engine): Set `begpt' to the beginning of the first line.
10606 Set `endpt' to the end of the last match line. At first, count
10607 line numbers between `origpt' and `begpt'. Split out code from
10608 `out-line' variable to new let-bindings `match-prefix' and
10609 `match-str'. In `out-line' add non-numeric prefix to all
10610 non-first lines of multi-line matches. Finally, count lines
10611 between `begpt' and `endpt' and add to `lines'.
10613 2010-03-23 Juri Linkov <juri@jurta.org>
10615 * replace.el (occur-accumulate-lines, occur-engine):
10616 Use `occur-engine-line' instead of duplicate code.
10617 (occur-engine-line): New function created from duplicate code
10618 in `occur-accumulate-lines' and `occur-engine'.
10620 * replace.el (occur-engine-line): Add optional arg `keep-props'.
10621 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
10623 2010-03-23 Juri Linkov <juri@jurta.org>
10625 * finder.el: Remove TODO tasks.
10627 * info.el (Info-finder-find-node): Add node "all"
10628 with all package info. Handle a list of multiple keywords
10629 separated by comma.
10630 (info-finder): In interactive use with a prefix argument,
10631 use `completing-read-multiple' to read a list of keywords
10632 separated by comma.
10634 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10636 Add a new completion style `substring'.
10637 * minibuffer.el (completion-basic--pattern): New function.
10638 (completion-basic-try-completion, completion-basic-all-completions):
10640 (completion-substring--all-completions)
10641 (completion-substring-try-completion)
10642 (completion-substring-all-completions): New functions.
10643 (completion-styles-alist): New style `substring'.
10645 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
10647 Get rid of .elc files after removal of the corresponding .el.
10648 * Makefile.in (compile-clean): New target.
10649 (compile-main): Use it.
10651 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
10653 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
10654 don't do make there. When compiling with separate object dir, there
10655 is no Makefile there.
10657 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
10659 Get rid of the ELCFILES abomination, again.
10660 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
10661 (all, compile): Don't call compile-last.
10662 (compile-main): Build the "elcfiles" list dynamically.
10663 (compile-targets): New (internal) target.
10665 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
10667 * Makefile.in (top_srcdir): Define.
10668 (abs_top_builddir): Define.
10669 (srcdir): Don't append `/..'.
10670 (EMACS): Use ${abs_top_builddir}.
10671 (all, compile, compile-always, compile-last): Don't set emacswd.
10672 (update-subdirs, update-authors): Use $(top_srcdir) instead of
10674 (lisp): Use $(srcdir) instead of @srcdir@.
10676 2010-03-21 Juri Linkov <juri@jurta.org>
10678 Fix message of multi-line occur regexps and multi-buffer header lines.
10679 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
10681 * replace.el (occur-1): Don't display regexp if it is longer
10682 than window-width. Use `query-replace-descr' to display regexp.
10683 (occur-engine): Don't display regexp in the buffer header for
10684 multi-buffer occur. Display a separate header line with total
10685 match count and regexp for multi-buffer occur.
10686 Use `query-replace-descr' to display regexp.
10688 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
10690 * net/secrets.el: Fix parenthesis.
10691 (secrets-enabled): Fix parenthesis.
10693 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10695 Use more relative file and directory names.
10696 * Makefile.in (EMACS): Arrange for it to work when we chdir.
10697 (setwins, setwins_almost, setwins_for_subdirs):
10698 Don't `cd'; output relative names.
10699 (all, compile, compile-always, compile-last): Set emacswd.
10700 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
10701 Just cd to the lisp source dir so we can use relative file names.
10703 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
10705 2010-03-20 Glenn Morris <rgm@gnu.org>
10707 * textmodes/rst.el: Use faces for font-lock customization, and make the
10708 old -face variables obsolete.
10709 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
10710 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
10711 (rst-block-face, rst-external-face, rst-definition-face)
10712 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
10713 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
10715 (rst-font-lock-keywords-function): Update for above changes.
10717 2010-03-20 Juri Linkov <juri@jurta.org>
10720 * obsolete/s-region.el: Move to obsolete.
10722 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
10724 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
10726 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
10728 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
10730 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
10732 Add special markup processing for commit logs.
10733 * log-edit.el (log-edit-extra-flags): New variable.
10734 (log-edit): Add new argument MODE. Use that mode when non-nil
10735 instead of the log-view-mode.
10736 (log-view-process-buffer): New function.
10738 * vc.el: Document that the checkin method takes optional
10739 arguments. Document new backend specific method: log-view-mode.
10740 (vc-default-log-edit-mode): New function.
10741 (vc-checkin): Use a backend specific log-view-mode.
10742 Pass extra arguments to the checkin method.
10743 (vc-modify-change-comment): Pass a dummy extra argument.
10745 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
10747 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
10748 (vc-finish-logentry): Process the log buffer before passing it
10749 down. Pass log-edit-extra-flags.
10751 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
10753 (log-edit-extra-flags, log-edit-before-checkin-process):
10756 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
10758 (log-edit-extra-flags, log-edit-before-checkin-process):
10760 (vc-hg-log-edit-mode): New derived mode.
10762 * vc-arch.el (vc-arch-checkin):
10763 * vc-cvs.el (vc-cvs-checkin):
10764 * vc-git.el (vc-git-checkin):
10765 * vc-mtn.el (vc-mtn-checkin):
10766 * vc-rcs.el (vc-rcs-checkin):
10767 * vc-sccs.el (vc-sccs-checkin):
10768 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
10770 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10772 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
10775 2010-03-19 Glenn Morris <rgm@gnu.org>
10777 * password-cache.el (password-cache, password-cache-expiry): Autoload.
10779 2010-03-18 Glenn Morris <rgm@gnu.org>
10781 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
10783 * replace.el (query-replace-history): Give it a doc string.
10784 (map-query-replace-regexp): Use query-replace-from-history-variable
10785 and query-replace-to-history-variable.
10787 * mail/hashcash.el (declare-function): Remove duplicate definition.
10789 * mail/emacsbug.el (report-emacs-bug-pretest-address):
10790 Make it an obsolete alias for report-emacs-bug-address.
10791 (message-strip-special-text-properties): Declare.
10792 (report-emacs-bug): Remove test for a pretest bug address.
10793 Combine message-mode-specific code.
10795 * mail/supercite.el: Don't require sendmail.
10796 (mh-in-header-p): Declare rather than using with-no-warnings.
10797 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
10798 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
10800 * calendar/cal-french.el: Convert to utf-8.
10802 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
10805 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
10807 * net/secrets.el (secrets-enabled): New variable. Use it instead
10810 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
10812 * net/secrets.el (top): Register the D-Bus signals only when the
10813 service "org.freedesktop.secrets" can be pinged.
10814 Provide subfeature `enabled'.
10816 2010-03-14 Juri Linkov <juri@jurta.org>
10818 Add finder unknown keywords.
10820 * finder.el (finder-unknown-keywords): New function.
10822 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
10823 to create a Finder node with unknown keywords.
10825 2010-03-14 Juri Linkov <juri@jurta.org>
10827 * finder.el (finder-compile-keywords): Replace `princ' with
10828 `prin1' on a list of symbols interned from keyword strings.
10830 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
10831 a comma, then split keywords using a comma and optional whitespace.
10832 Otherwise, split by whitespace.
10840 * progmodes/mixal-mode.el: Fix keywords.
10842 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
10844 * Makefile.in (ELCFILES): Add net/secrets.elc.
10846 * net/secrets.el: New file.
10848 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10850 * facemenu.el (list-colors-display, list-colors-print): New arg
10851 callback. Use it to allow selecting colors.
10853 * wid-edit.el (widget-image-insert): Insert image prop even if the
10854 current display is non-graphic.
10855 (widget-field-value-set): New fun.
10856 (editable-field): Use it.
10857 (widget-field-value-get): Clean up unused var.
10858 (widget-color-value-create, widget-color--choose-action):
10859 New funs. Allow using list-colors-display to choose color.
10861 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10863 * cus-edit.el: Resort topmost custom groups.
10864 (custom-buffer-sort-alphabetically): Default to t.
10865 (customize-apropos): Use apropos-parse-pattern.
10866 (custom-search-field): New var.
10867 (custom-buffer-create-internal): Add custom-apropos search field.
10868 (custom-add-parent-links): Don't display parent doc.
10869 (custom-group-value-create): Don't sort top-level custom group.
10870 (custom-magic-value-create): Show visibility button before option name.
10872 (custom-variable-state): New fun, from custom-variable-state-set.
10873 (custom-variable-state-set): Use it.
10874 (custom-group-value-create): Hide options with standard values
10875 using the :hidden-states property. Use progress reporter.
10877 (custom-show): Simplify.
10878 (custom-visibility): Disable images by default.
10879 (custom-variable): New property :hidden-states.
10880 (custom-variable-value-create): Enable images for
10881 custom-visibility widgets. Use :hidden-states property to
10882 determine initial visibility.
10884 * wid-edit.el (widget-image-find): Give images center ascent.
10885 (visibility): Add :on-image and :off-image properties.
10886 (widget-visibility-value-create): Use them.
10888 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10890 * cus-edit.el (processes): Remove from development group.
10891 (oop, hypermedia): Delete group.
10892 (comm): Promote to top-level group.
10894 * net/browse-url.el (browse-url):
10895 * net/xesam.el (xesam):
10896 * net/tramp.el (tramp):
10897 * net/goto-addr.el (goto-address):
10898 * net/ange-ftp.el (ange-ftp): Put in comm group.
10900 * view.el (view): Remove from editing group.
10902 * uniquify.el (uniquify): Put in files group.
10904 * net/browse-url.el (browse-url):
10905 * ps-print.el (postscript): Put in external group.
10907 * cus-edit.el (outlines):
10908 * textmodes/text-mode.el (text-mode-hook):
10909 * textmodes/table.el (table):
10910 * textmodes/picture.el (picture):
10911 * outline.el (outlines): Put in wp group.
10913 * nxml/nxml-mode.el (nxml): Remove from wp group.
10915 * net/tramp-imap.el (tramp-imap): Put in tramp group.
10917 * mail/metamail.el (metamail): Remove from hypermedia group.
10919 * cus-edit.el (abbrev):
10920 * whitespace.el (whitespace):
10921 * vcursor.el (vcursor):
10922 * reveal.el (reveal):
10923 * hl-line.el (hl-line): Put in convenience group.
10925 * epg-config.el (epg): Put in data group.
10927 * emulation/pc-select.el (pc-select): Put in emulations group.
10929 * calculator.el (calculator): Put in applications group.
10931 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
10933 Add .dir-locals.el support for file-less buffers.
10934 * files.el (hack-local-variables): Split out code to apply local
10935 variable settings ...
10936 (hack-local-variables-apply): ... here. New function.
10937 (hack-dir-local-variables): Use the default directory for when the
10938 buffer does not have an associated file.
10939 (hack-dir-local-variables-non-file-buffer): New function.
10940 * diff-mode.el (diff-mode):
10941 * vc-annotate.el (vc-annotate-mode):
10942 * vc-dir.el (vc-dir-mode):
10943 * log-edit.el (log-edit-mode):
10944 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
10946 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
10948 Add support for shelving snapshots and for showing shelves.
10949 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
10950 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
10952 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
10953 (vc-bzr-extra-menu-map): Map them.
10955 2010-03-11 Glenn Morris <rgm@gnu.org>
10957 * cus-edit.el (customize-changed-options-previous-release):
10960 * image.el (image-animate-max-time): Fix :version tag.
10962 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
10966 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
10968 * vc-git.el (vc-git-revision-table): Include remote branches.
10970 2010-03-10 Kim F. Storm <storm@cua.dk>
10972 Animated image API.
10973 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
10975 * image.el (image-animate-max-time): New defcustom.
10976 (image-animated-types): New defconst.
10977 (create-animated-image, image-animate-timer)
10978 (image-animate-start, image-animate-stop, image-animate-timeout)
10979 (image-animated-p): New functions.
10981 * image-mode.el (image-toggle-display-image):
10982 Replace `create-image' with `create-animated-image'.
10984 2010-03-09 Miles Bader <miles@gnu.org>
10986 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
10987 instead of "format:"; this ensures that the output is
10988 newline-terminated.
10990 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
10992 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
10993 that all errors are caught, and that the return value is always a
10996 2010-03-08 Kenichi Handa <handa@m17n.org>
10998 * language/misc-lang.el (windows-1256): New coding system.
10999 (cp1256): New alias of windows-1256 (bug#5690).
11001 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
11003 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
11004 call to rfc822-bad-address. (Bug#5692)
11006 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
11008 * vc-git.el (vc-git-annotate-extract-revision-at-line):
11009 Use vc-git-root as default directory for revision path (Bug#5657).
11011 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
11013 * calculator.el (calculator): Don't bind split-window-keep-point
11016 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
11018 * vc-git.el: Re-flow to fit into 80 columns.
11019 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
11020 Remove spurious `quote' element in each case alternative.
11021 (vc-git-show-log-entry): Use prog1.
11022 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
11024 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
11026 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
11028 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
11030 * macros.el (insert-kbd-macro): Look up keyboard macro using the
11031 definition, not the name (Bug#5481).
11033 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
11035 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
11036 argument with a local variable. (Bug#5670)
11038 2010-03-02 Juri Linkov <juri@jurta.org>
11040 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
11042 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
11044 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
11045 error when FILENAME and NEWNAME are existing remote directories.
11047 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
11048 parameter DIR-FLAG.
11050 2010-03-02 Glenn Morris <rgm@gnu.org>
11052 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
11053 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
11055 2010-03-01 Kenichi Handa <handa@m17n.org>
11057 * language/burmese.el (burmese-composable-pattern): Rename from
11058 myanmar-composable-pattern.
11060 * international/characters.el (script-list):
11061 * international/fontset.el (script-representative-chars):
11062 Change myanmar to burmese.
11063 (otf-script-alist): Likewise.
11064 (setup-default-fontset): Likewise. Re-fix :otf spec.
11066 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
11068 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
11070 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
11072 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
11074 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
11076 * net/tramp.el (tramp-handle-write-region): START can be a string.
11077 Take care in the checks. Reported by Dan Davison
11078 <davison@stats.ox.ac.uk>.
11080 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
11082 * net/dbus.el (dbus-introspect, dbus-get-property)
11083 (dbus-set-property, dbus-get-all-properties):
11084 Use `dbus-call-method' when noninteractive. (Bug#5645)
11086 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
11088 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
11089 * emacs-lisp/elint.el (elint-add-required-env):
11090 * calendar/icalendar.el (icalendar--add-diary-entry):
11091 * calc/calcalg2.el (math-tracing-integral):
11092 * files.el (recover-session-finish): Use with-current-buffer
11093 instead of save-excursion.
11095 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
11097 Fix in-buffer completion when after-change-functions modify the buffer.
11098 * minibuffer.el (completion--replace): New function.
11099 (completion--do-completion): Use it and use relative movement.
11101 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
11103 * international/fontset.el (setup-default-fontset): Fix :otf spec.
11105 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
11107 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
11108 Allow the characters _<> in the stack entry (Bug#5653).
11110 2010-02-26 Kenichi Handa <handa@m17n.org>
11112 * language/burmese.el: Fix entries in composition-function-table.
11113 (myanmar-composable-pattern): New variable.
11115 * international/fontset.el (setup-default-fontset): Add an entry
11118 * international/characters.el (script-list): Add Myanmar
11121 2010-02-26 Glenn Morris <rgm@gnu.org>
11123 * custom.el (custom-initialize-delay): Doc fix.
11125 * mail/sendmail.el (send-mail-function): Autoload the call
11126 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
11128 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
11130 * files.el (hack-local-variables-filter): For eval forms, also
11131 check safe-local-variable-p (Bug#5636).
11133 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
11135 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
11136 setting the modes by `ignore-errors'. It might fail, for example
11137 if the file is not owned by the user but the group.
11138 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
11140 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
11142 * files.el (directory-listing-before-filename-regexp):
11143 Use stricter matching for iso-style dates, to avoid false matches with
11144 date-like filenames (Bug#5597).
11146 * htmlfontify.el (htmlfontify): Doc fix.
11148 * eshell/eshell.el (eshell): Doc fix.
11150 * startup.el (fancy-about-screen): In mode-line, apply
11151 mode-line-buffer-id face only to the buffer name (Bug#5613).
11153 2010-02-20 Kevin Ryde <user42@zip.com.au>
11155 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11156 In `watcom' anchor regexp to start of line, to avoid slowness
11159 2010-02-20 Eli Zaretskii <eliz@gnu.org>
11161 * subr.el (remove-yank-excluded-properties): Explain in a comment
11162 why `category' property is removed.
11164 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
11166 * isearch.el (isearch-update-post-hook, isearch-update):
11167 Revert 2010-02-17 change.
11169 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
11171 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
11172 (icalendar--convert-weekly-to-ical)
11173 (icalendar--convert-yearly-to-ical)
11174 (icalendar--convert-block-to-ical)
11175 (icalendar--convert-cyclic-to-ical)
11176 (icalendar--convert-anniversary-to-ical): Take care of time
11177 specifications where hour has 1-digit only (Bug#5549).
11179 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
11181 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
11182 of disassemble output in GDB 7.1.
11184 2010-02-19 Glenn Morris <rgm@gnu.org>
11186 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
11187 property. (Bug#5593)
11189 2010-02-18 Sam Steingold <sds@gnu.org>
11191 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
11193 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
11195 Use abbreviated file names in bookmarks (bug#5591).
11196 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
11197 calls to expand-file-name.
11198 (bookmark-relocate): Use abbreviated file names in bookmarks.
11199 (bookmark-load): Use abbreviated file names in messages.
11201 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
11203 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
11204 expand "." and "..". Reported by Thierry Volpiatto
11205 <thierry.volpiatto@gmail.com>.
11207 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
11209 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
11210 permissions of the temporary file to "0600". In case the remote
11211 file has no read permissions for the owner, there might be
11212 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
11214 22010-02-18 Glenn Morris <rgm@gnu.org>
11216 * emacs-lisp/authors.el (authors-renamed-files-alist):
11217 Add entries for INSTALL.CVS.
11219 2010-02-17 Mark A. Hershberger <mah@everybody.org>
11221 * vc-bzr.el: Fix typo in Known Bugs section.
11223 * isearch.el (isearch-update-post-hook): New hook.
11224 (isearch-update): Use the new hook.
11226 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
11228 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
11229 Fix errors in copying directories.
11230 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
11231 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
11232 (tramp-handle-delete-file)
11233 (tramp-handle-dired-recursive-delete-directory)
11234 (tramp-handle-write-region): Flush also the cache for the upper
11237 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
11239 * simple.el (save-interprogram-paste-before-kill): Doc fix.
11241 * cus-edit.el (hardware): Doc fix.
11243 * man.el (man): Add to external custom group.
11245 * delim-col.el (columns): Move to wp custom group.
11247 * doc-view.el (doc-view): Add to data custom group.
11249 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
11251 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
11252 by ispell-parse-output (Bug#5575).
11254 2010-02-16 Kenichi Handa <handa@m17n.org>
11256 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
11257 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
11258 (skkdic-convert): Use `euc-japan' coding system for writing.
11260 2010-02-16 Glenn Morris <rgm@gnu.org>
11262 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
11263 tex-main-file before using it. (Bug#5562)
11265 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
11267 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
11268 warnings, since it is annoying for the user to see them each time he
11271 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
11273 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
11274 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
11275 instead of PROC for caching "first-password-request". Otherwise,
11276 new processes would not profit from passwords already entered.
11278 * net/tramp-cache.el (tramp-dump-connection-properties):
11279 Don't save "first-password-request" property.
11281 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
11283 * outline.el (outline-head-from-level):
11284 * simple.el (with-wrapper-hook):
11285 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
11286 (elint-defun, elint-buffer-env, elint-top-form-logged)
11287 (elint-unbound-variable):
11288 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
11289 Fix typos in docstrings.
11291 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
11293 * files.el (insert-directory): When WILDCARD-REGEXP and
11294 FULL-DIRECTORY-P are nil, insert the file entry instead of the
11295 whole directory. (Bug#5551)
11297 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
11298 dired's alignment sanity. (Bug#5516)
11300 2010-02-14 Juri Linkov <juri@jurta.org>
11302 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
11303 Remove remaining ^H with their preceding chars. (Bug#5566)
11305 2010-02-13 Glenn Morris <rgm@gnu.org>
11307 * simple.el (transpose-subr): Give it a doc-string.
11309 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
11312 2010-02-12 Juri Linkov <juri@jurta.org>
11314 * arc-mode.el (archive-unique-fname): Make directories for nested
11315 archives. (Bug#5540)
11317 2010-02-12 Juri Linkov <juri@jurta.org>
11319 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
11321 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
11323 * subr.el (copy-overlay): Handle deleted overlays.
11325 * man.el (Man-completion-table): Don't signal an error if we can't run
11326 manual-program (bug#4056).
11328 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
11330 * textmodes/artist.el (artist-mt): Fix typos in docstring.
11332 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11334 * info.el (Info-bookmark-jump): Simplify.
11336 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
11337 (bookmark-default-handler): Accept new bookmark field `buffer'.
11339 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
11341 * iswitchb.el (iswitchb-completions): Revert last change.
11343 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
11345 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
11346 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
11347 This prevents file names like "~/" being listed literally.
11349 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
11351 * term/xterm.el (xterm-maybe-set-dark-background-mode):
11352 Remove dead code. (Bug#5546)
11354 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
11356 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
11357 correctly (Bug#5548).
11359 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
11361 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
11362 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
11364 2010-02-08 Kenichi Handa <handa@m17n.org>
11366 * international/mule-util.el (with-coding-priority): Add autoload
11367 cookie for putting `lisp-indent-function'.
11369 2010-02-07 Glenn Morris <rgm@gnu.org>
11371 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
11372 Move F2003 named interfaces from keywords-2 to keywords-1, and
11373 use function-name-face rather than constant-face.
11374 Simplify "abstract interface" regexp.
11376 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
11378 * eshell/esh-util.el (eshell-file-attributes): New optional arg
11379 ID-FORMAT. Pass it to `file-attributes'.
11381 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
11383 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
11385 * faces.el (set-face-attribute): Allow calling
11386 internal-set-lisp-face-attribute with 'unspecified family and
11387 foundry argument (Bug#5536).
11389 2010-02-07 Glenn Morris <rgm@gnu.org>
11391 * progmodes/f90.el (f90-font-lock-keywords-2)
11392 (f90-looking-at-type-like, f90-looking-at-program-block-end):
11393 Handle F2003 named interfaces.
11395 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
11397 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
11398 beg and end before calling c-get-state-before-change-functions.
11400 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
11402 * vc-bzr.el (vc-bzr-dir-extra-headers):
11403 Disable the pending merges header.
11405 2010-02-05 Juri Linkov <juri@jurta.org>
11407 * doc-view.el (doc-view-mode):
11408 * image-mode.el (image-mode): Put property mode-class=special.
11411 2010-02-05 Mark A. Hershberger <mah@everybody.org>
11413 * vc-svn.el (vc-svn-revision-table): New function.
11415 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
11417 * net/ange-ftp.el (ange-ftp-insert-directory):
11418 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11419 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11420 Handle also directories. (Bug#5478)
11422 2010-02-05 Glenn Morris <rgm@gnu.org>
11424 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
11426 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
11428 * startup.el (command-line-1): Convert options beginning with a
11429 single dash as well (Bug#5519).
11431 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
11433 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
11434 * minibuffer.el (completion-initials-expand): Only check the presence
11435 of delims *within* the boundaries, since otherwise the / delim is
11436 always found for files.
11438 Fix up various corner case problems.
11439 * doc-view.el (doc-view-last-page-number): New function.
11440 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
11441 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
11442 (doc-view-kill-proc): Avoid inf-loop in freak cases.
11443 (doc-view-reconvert-doc): Use the new recursive delete-directory.
11444 (doc-view-convert-current-doc): Don't create the resolution.el file
11446 (doc-view-pdf/ps->png): Do it here instead.
11447 (doc-view-already-converted-p): Check that resolution.el is present.
11448 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
11449 windows that are not yet showing images.
11451 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
11453 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
11454 `dired-uncache' for every elemnt which is an absolute file name.
11456 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
11457 directory, handle its directory component.
11458 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
11459 function is called permanently and creates noise, otherwise.
11461 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11462 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11463 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
11465 2010-02-04 David Burger <dburger@google.com> (tiny change)
11467 * macros.el (apply-macro-to-region-lines):
11468 Minor simplification. (Bug#5485)
11470 2010-02-04 Glenn Morris <rgm@gnu.org>
11472 * mail/rmail.el (rmail-show-message-1): Handle malformed
11473 quoted-printable text. (Bug#5441)
11475 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
11477 * simple.el (visual-line-mode): Capitalize lighter.
11479 2010-02-03 John Wiegley <jwiegley@gmail.com>
11481 * iswitchb.el (iswitchb-completions): Add bookmark files to the
11482 list of files considered for "virtual buffer" completions.
11484 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
11486 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
11487 also in case of (and (not full) (not wildcard)). This is needed
11488 when dired is called with a list of files, which are not in
11489 `default-directory'. (Bug#5478)
11491 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
11493 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
11495 2010-02-02 Juri Linkov <juri@jurta.org>
11497 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
11498 from unidiff to allow function-line after @@.
11500 2010-02-02 Juri Linkov <juri@jurta.org>
11502 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
11503 '(RCS SCCS) with inverted condition.
11505 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
11507 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
11510 2010-02-01 Juri Linkov <juri@jurta.org>
11512 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
11513 compare with "pkunzip" and "pkzip" instead of only "pkzip".
11514 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
11515 only when (car archive-zip-extract) is "unzip". (Bug#5475)
11517 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
11519 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
11520 (doc-view-revert-buffer): New command.
11521 (doc-view-mode-map): Use it.
11523 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
11525 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
11526 pending merge is detected.
11528 2010-01-31 Juri Linkov <juri@jurta.org>
11530 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
11531 beginning of interactive spec like all other grep commands do.
11532 Put "all" in front of "gz". (Bug#5260)
11534 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
11536 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
11538 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
11540 * dirtrack.el (dirtrack): Warn instead of signalling error if the
11541 regexp is incorrect (Bug#5476).
11543 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
11545 * net/tramp.el (tramp-handle-insert-directory): Handle also
11546 symlinks, when FILENAME is not in `default-directory'.
11548 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
11550 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
11551 FILE is not in `default-directory'. (Bug#5478)
11553 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
11554 of SWITCHES. Handle the case, FILENAME is not in
11555 `default-directory'. (Bug#5478)
11556 (tramp-register-file-name-handlers): Add safe-magic property.
11558 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
11560 * arc-mode.el (archive-zip-extract): Quote the argument passed to
11563 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
11565 * progmodes/flymake.el (flymake-allowed-file-name-masks)
11566 (flymake-master-make-header-init): Add other C++ filename masks.
11567 (flymake-find-possible-master-files)
11568 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
11570 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
11572 Fix some busybox annoyances.
11574 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
11575 not responding." string.
11576 (tramp-open-connection-setup-interactive-shell): Dump stty
11577 settings. Enable "neveropen" arg for all `tramp-send-command'
11578 calls. Handle "=" in variable values properly.
11579 (tramp-find-inline-encoding): Raise an error, when no encoding is
11581 (tramp-wait-for-output): Check, whether PROC buffer is available.
11582 Remove spurious " ^H" sequences, sent by busybox.
11583 (tramp-get-ls-command): Suppress coloring, if possible.
11585 2010-01-28 Glenn Morris <rgm@gnu.org>
11587 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
11589 * log-edit.el (log-edit-strip-single-file-name): Add missing
11590 :safe, :group, and :version tags.
11592 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
11594 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
11595 buffers. (Bug#5477)
11597 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
11599 * files.el (delete-directory): Handle moving to trash without
11600 first doing recursion (Bug#5436).
11602 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
11604 * vc-hooks.el (vc-path): Mark as obsolete.
11606 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
11608 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
11611 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
11613 (vc-bzr-log-view-mode): Adjust regexp for the above change.
11615 2010-01-25 Mark A. Hershberger <mah@everybody.org>
11617 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
11619 * vc-bzr.el (vc-bzr-revision-table): New function.
11621 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
11623 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
11624 diff-index command. This requires at least git-1.5.5. (Bug#1589).
11626 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
11628 Remove support for adding --signoff on commit.
11629 Future support will use an incompatible generic mechanism.
11630 * vc-git.el (vc-git-add-signoff): Remove variable.
11631 (vc-git-toggle-signoff): Remove function.
11632 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
11634 * term/xterm.el (xterm-maybe-set-dark-background-mode):
11635 Rename from xterm-set-background-mode. Return t if the background mode
11637 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
11638 earlier, call it again in case the background mode has changed.
11640 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
11642 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
11645 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
11647 * emacs-lisp/assoc.el (aelement): Doc fix.
11648 (aput, adelete, amake): Use lexical-let (Bug#5450).
11650 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
11652 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
11653 is the same as subprogram call, not declaration. (Bug#5435).
11655 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
11657 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
11658 (tramp-smb-maybe-open-connection): Use it.
11660 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
11662 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
11664 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
11666 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
11667 just because we see "encoding: 8bit".
11668 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
11670 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
11672 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
11674 2010-01-22 Eli Zaretskii <eliz@gnu.org>
11676 * jka-compr.el (jka-compr-load): If load-file is not in
11677 load-history, try its file-truename version. (bug#5447)
11679 2010-01-21 Alan Mackenzie <acm@muc.de>
11681 Fix a situation where deletion of a cpp construct throws an error.
11682 * progmodes/cc-engine.el (c-invalidate-state-cache):
11683 Before invoking c-with-all-but-one-cpps-commented-out, check that the
11684 special cpp construct is still in the buffer.
11685 (c-parse-state): Record the special cpp with markers, not numbers.
11687 2010-01-21 Kenichi Handa <handa@m17n.org>
11689 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
11690 process last-command-event, as it is now decoded first (Bug#5380).
11692 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
11694 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
11696 2010-01-20 Glenn Morris <rgm@gnu.org>
11698 * indent.el (tab-always-indent): Fix custom-type.
11700 2010-01-19 Alan Mackenzie <acm@muc.de>
11702 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
11703 buffer throws "args out of range".
11704 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
11705 playing the role of delimiter.
11707 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
11709 * progmodes/ada-mode.el: Fix bug#5400.
11710 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
11711 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
11712 changed. Delete RECURSIVE parameter; never used. Improve doc string.
11713 Improve comments in "is" portion. Handle null procedure declaration.
11714 (ada-move-to-end): Improve doc string.
11716 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
11718 * ido.el (ido-cur-list): Initialize to nil.
11719 Remove obsolete information from commentary.
11720 (ido-choice-list): Initialize to nil.
11721 (ido-get-bufname): Reject minibuffers.
11722 (ido-make-buffer-list): If "default" is a nonexistent
11723 buffer, ignore it, as per the function's comment.
11724 (ido-kill-buffer-internal): New function.
11725 (ido-kill-buffer-at-head): Use it.
11726 (ido-visit-buffer): Likewise.
11728 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
11730 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
11732 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
11734 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
11735 Fix typos in chart titles.
11737 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
11738 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
11739 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
11740 (describe-class, eieio-describe-generic, describe-generic):
11741 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
11742 (eieio-speedbar-expand):
11743 * emulation/viper-cmd.el (viper-exec-form-in-vi)
11744 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
11745 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
11746 (viper-del-backward-char-in-replace, viper-backward-indent)
11747 (viper-brac-function, viper-register-to-point, viper-submit-report):
11748 * net/tramp.el (tramp-remote-coding-commands):
11749 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
11750 Fix typos in docstrings.
11752 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
11754 * mail/sendmail.el (mail-yank-original): Set the mark if the
11755 specified function for yanking does not do it.
11757 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
11759 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
11761 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
11762 resyncing a directory.
11764 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
11766 * progmodes/ada-mode.el: Fix bug#1920.
11767 (ada-ident-re): Delete ., allow multibyte characters.
11768 (ada-goto-label-re): New; matches goto labels.
11769 (ada-block-label-re): New; matches block labels.
11770 (ada-label-re): New; matches both.
11771 (ada-named-block-re): Deleted; callers changed to use
11772 `ada-block-label-re' instead.
11773 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
11774 Use `ada-block-label-re'.
11775 (ada-indent-on-previous-lines): Improve handling of goto labels.
11776 (ada-get-indent-block-start): Special-case block label.
11777 (ada-get-indent-label): Split into `ada-indent-block-label' and
11778 `ada-indent-goto-label'.
11779 (ada-goto-stmt-start, ada-goto-next-non-ws):
11780 Optionally ignore goto labels.
11781 (ada-goto-next-word): Simplify.
11782 (ada-indent-newline-indent-conditional): Insert newline before
11783 trying to fix indentation; doc fix.
11785 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
11787 * calc/calc.el (calc-command-flags): Give it an initial value.
11789 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
11791 * files.el (minibuffer-with-setup-hook):
11792 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
11793 (artist-key-draw-continously, artist-key-do-continously-continously)
11794 (artist-key-set-point-continously, artist-mouse-draw-continously):
11795 Fix typos in docstrings.
11797 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
11799 * nxml/nxml-mode.el (nxml-extend-after-change-region):
11800 Never return t (Bug#3898).
11802 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
11804 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
11805 can parse the output of the external commands (Bug#5279).
11807 2010-01-16 Jari Aalto <jari.aalto@cante.net>
11809 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
11811 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
11813 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
11815 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
11817 * startup.el (command-line): Remove unused --icon-type arg.
11818 Handle --display arg, passing it to command-line-1 (Bug#5392).
11820 2010-01-16 Mario Lang <mlang@delysid.org>
11822 * emacs-lisp/chart.el (chart-translate-namezone):
11823 * textmodes/artist.el (artist-compute-popup-menu-table):
11824 Remove duplicated words in doc-strings.
11826 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
11828 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
11829 to mairix-search to suppress threading (Bug#5342).
11831 2010-01-15 Kenichi Handa <handa@m17n.org>
11833 * international/mule-cmds.el (canonicalize-coding-system-name):
11834 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
11836 2010-01-15 Glenn Morris <rgm@gnu.org>
11838 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
11840 * wid-edit.el (widget-keymap): Doc fix.
11842 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
11843 former seems to be more widely accepted by various svn versions.
11845 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11847 * find-cmd.el (find-constituents):
11848 * vc-arch.el (vc-arch-root):
11849 * window.el (window-body-height, pop-up-frames):
11850 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
11851 * progmodes/ada-stmt.el (ada-if):
11852 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
11853 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
11854 (ispell-encoding8-command, ispell-aspell-supports-utf8)
11855 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
11857 * progmodes/flymake.el (flymake-post-syntax-check):
11858 Fix typo in error message.
11860 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11862 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
11863 which is always a string. (Bug#5313)
11865 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11867 * progmodes/ada-xref.el (ada-default-prj-properties):
11868 Simplify previous change.
11870 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11872 * progmodes/ada-xref.el (ada-default-prj-properties):
11873 Default ada_project_path to $ADA_PROJECT_PATH.
11875 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11877 * progmodes/ada-mode.el (ada-create-keymap):
11878 Override `narrow-to-defun' with `ada-narrow-to-defun'.
11880 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11882 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
11883 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
11884 (ada-get-current-indent, ada-imenu-generic-expression)
11885 (ada-which-function): Check for it.
11887 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11889 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
11890 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
11892 2010-01-14 Glenn Morris <rgm@gnu.org>
11894 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
11896 2010-01-14 Kenichi Handa <handa@m17n.org>
11898 * composite.el (auto-composition-mode): Make it a buffer local
11899 variable (permanent-local).
11900 (auto-composition-function): Set the default value to
11901 auto-compose-chars.
11902 (auto-composition-mode): Make it a simple function, not a minor mode.
11903 (global-auto-composition-mode): Likewise.
11904 (turn-on-auto-composition-if-enabled): Delete it.
11906 2010-01-13 Karl Fogel <kfogel@red-bean.com>
11908 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
11910 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
11912 * files.el (copy-directory): Compute target for recursive
11913 directories with identical names. (Bug#5343)
11915 2010-01-12 Glenn Morris <rgm@gnu.org>
11917 * mail/emacsbug.el (report-emacs-bug-pretest-address):
11918 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
11920 2010-01-11 Sam Steingold <sds@gnu.org>
11922 * imenu.el (imenu-default-create-index-function): Detect infinite
11923 loops caused by imenu-prev-index-position-function.
11925 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
11927 * htmlfontify.el (htmlfontify-load-rgb-file)
11928 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
11929 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
11930 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
11931 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
11932 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
11933 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
11934 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
11935 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
11936 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
11937 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
11938 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
11939 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
11940 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
11941 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
11942 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
11943 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
11944 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
11945 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
11946 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
11947 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
11948 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
11949 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
11950 backslash-quoting from parentheses, etc.
11952 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
11954 * progmodes/js.el: Autoload javascript-mode alias.
11956 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
11958 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
11959 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
11960 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
11961 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
11962 Fix typos in docstrings.
11963 (ffap-url-regexp): Doc fix.
11964 (ffap-at-mouse): Fix typo in message.
11966 2010-01-11 Glenn Morris <rgm@gnu.org>
11968 * version.el (emacs-copyright): Set copyright year to 2010.
11970 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
11972 * format.el (format-annotate-function): Only set
11973 write-region-post-annotation-function after running to-fn so as not to
11974 affect nested write-region calls (bug#5273).
11976 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
11978 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
11981 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
11983 * man.el (Man-goto-section): Signal error if the section is not
11986 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
11988 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
11989 URLs with a leading triple slash in the file: scheme. (Bug#5345)
11991 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
11993 * progmodes/compile.el: Don't treat compile-command as safe if
11994 compilation-read-command might be nil (Bug#4218).
11996 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
11998 * startup.el (command-line-1): Use orig-argi to check for ignored X and
12001 2010-01-08 Kenichi Handa <handa@m17n.org>
12003 * international/fontset.el (build-default-fontset-data):
12004 Exclude characters in scripts kana, hangul, han, or cjk-misc.
12006 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
12008 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
12009 to `create-file-buffer' as it expects, not just a buffer name.
12010 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
12011 to help uniquify. (Bug#3224)
12013 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
12015 * font-setting.el (font-setting-change-default-font): Use user-spec
12018 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
12020 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
12022 2010-01-05 Tom Tromey <tromey@redhat.com>
12024 * progmodes/python.el (python-font-lock-keywords):
12025 Handle qualified decorators (Bug#881).
12027 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12029 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
12030 in a lightweight checkout.
12032 2010-01-05 Kenichi Handa <handa@m17n.org>
12034 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
12036 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12038 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
12040 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
12042 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
12043 checkouts. (Bug#618)
12044 (vc-bzr-log-view-mode): Also highlight the author.
12045 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
12046 (vc-bzr-shelve-menu-map):
12047 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
12048 (vc-bzr-shelve-apply): Make prompt more explicit.
12050 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
12052 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
12053 They are valid characters in URL paths (rfc3986), and at least
12054 Firefox does not understand the encoded version (Bug#3166).
12056 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
12058 * progmodes/octave-mod.el (octave-end-keywords)
12059 (octave-block-begin-or-end-regexp, octave-block-match-alist):
12060 Add "end" keyword (Bug#3061).
12061 (octave-end-as-array-index-p): New function.
12062 (calculate-octave-indent): Use it.
12064 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12066 * bookmark.el: Consistently put the text property on the bookmark name.
12067 (bookmark-bmenu-marks-width): Bump back to 2, to include
12069 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
12070 property on the bookmark name, instead of not putting it at all.
12071 (bookmark-bmenu-list): Fix where we put the text property.
12073 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12075 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
12076 for showing buffer modified state (as added in the previous change).
12078 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12080 * bookmark.el: Show modified state of bookmark buffer more accurately.
12081 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
12082 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
12083 (with-buffer-modified-unmodified): New macro.
12084 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
12085 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
12086 Use new macro to preserve the buffer modified state.
12088 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12090 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
12091 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
12092 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
12093 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
12094 (bookmark-bmenu-rename, bookmark-bmenu-locate)
12095 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
12096 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
12098 2010-01-02 Eli Zaretskii <eliz@gnu.org>
12100 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12101 Make the lines in the generated doc string shorter. (Bug#4668)
12103 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
12105 * net/rcirc.el: Add follow-link binding (Bug#4738).
12107 2010-01-02 Eli Zaretskii <eliz@gnu.org>
12109 * Makefile.in (bzr-update): Rename from cvs-update.
12110 (cvs-update): New target for backward compatibility.
12112 * makefile.w32-in (bzr-update): Rename from cvs-update.
12113 (cvs-update): New target for backward compatibility.
12115 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12117 * bookmark.el: Remove gratuitous gratitude.
12119 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12121 * bookmark.el (bookmark-bmenu-any-marks): New function.
12122 (bookmark-bmenu-save): Clear buffer modification if no marks.
12124 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12126 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
12127 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
12128 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
12129 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
12131 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
12132 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
12133 To: emacs-devel {_AT_} gnu.org
12134 Subject: bookmark.el bug report
12135 Date: Mon, 28 Dec 2009 14:19:16 +0800
12136 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
12138 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12140 * bookmark.el: Improvements suggested by Drew Adams:
12141 (bookmark-bmenu-ensure-position): New name for
12142 `bookmark-bmenu-check-position'. Just ensure the position,
12143 don't return any meaningful value.
12144 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
12147 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
12149 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
12150 (bookmark-yank-point, bookmark-bmenu-check-position):
12151 Fix typos in docstrings.
12152 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
12153 (bookmark-name-from-full-record, bookmark-get-position)
12154 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
12155 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
12156 Remove useless quoting of parenthesis, etc. in docstrings.
12158 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
12159 (ediff-append-custom-diff): Fix typo in error message.
12160 (ediff-meta-mark-equal-files): Fix typos in messages.
12162 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
12164 * net/imap-hash.el (imap-hash-make): Doc fix.
12165 (imap-hash-test): Fix typo in error message; reflow docstring.
12166 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
12167 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
12168 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
12169 Fix typos in docstrings.
12170 (imap-hash-open-connection): Fix typo in error message.
12172 * play/gomoku.el (gomoku): Fix typos in docstring.
12174 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
12175 (gdb-jsonify-buffer): Fix typos in docstring.
12176 (gdb-goto-breakpoint): Fix typo in error message.
12177 ("Display Other Windows"): Fix typo in help message.
12178 (gdb-speedbar-expand-node): Fix typo in question.
12180 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
12181 (idlwave-html-system-help-location, idlwave-html-help-location)
12182 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
12183 (idlwave-help-browser-generic-args, idlwave-help-directory)
12184 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
12185 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
12186 (idlwave-online-help, idlwave-help-html-link)
12187 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
12188 Fix typos in docstrings.
12189 (idlwave-help-with-source, idlwave-help-find-routine-definition):
12191 (idlwave-help-assistant-start): Fix typo in error message.
12193 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
12194 (octave-electric-space): Fix typos in docstrings.
12196 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
12198 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
12200 2010-01-01 Juri Linkov <juri@jurta.org>
12202 * comint.el (comint-input-ring-size): Make it a defcustom and
12203 increase the default to 500 (Bug#5148).
12205 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
12207 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
12208 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
12209 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
12211 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
12213 Show working revision correctly for mercurial.
12214 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
12215 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
12217 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
12219 Declare some functions for the byte-compiler.
12220 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
12221 (speedbar-timer-fn, speedbar-change-expand-button-char)
12222 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
12224 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
12226 This changeset reverts GDB Graphical Interface to use annotations.
12227 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
12229 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
12231 Make vc-dir work on subdirectories of the bzr root.
12232 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
12233 Return file names relative to it.
12234 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
12235 relative directory to vc-bzr-after-dir-status.
12237 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
12239 * font-lock.el (font-lock-refresh-defaults): New function, which
12240 can be used to let font-lock react to external changes in
12241 variables like font-lock-defaults and keywords.
12242 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
12244 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
12246 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
12248 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
12250 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
12252 Supersede color.diff settings in git log (bug#5211).
12254 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
12255 escape chars in its output when the user has color.diff set to `always'.
12256 This fix works on git 1.4.2 and newer (released on 2006-08-13).
12258 2009-12-26 Kevin Ryde <user42@zip.com.au>
12260 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
12261 node. Keep previous "Index" name to work with past coreutils too.
12263 * man.el (man): Revise docstring a bit to show -a and -l as
12264 examples. Add -k description since support for it has otherwise
12265 been a secret. (Further to bug#3717.)
12266 (Man-bgproc-sentinel): When "-k foo" produces no output show error
12267 "no matches" rather than "Can't find manpage", as the latter reads
12268 like -k was interpreted as a page name, which is not so. (Bug#5431)
12270 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
12272 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
12273 switches. Check also for //SUBDIRED// line.
12275 2009-12-25 Kenichi Handa <handa@m17n.org>
12277 * language/indian.el (devanagari-composable-pattern): Fix to
12278 handle ZWNJ and ZWJ. Use it in composition-function-table for
12280 (malayalam-composable-pattern): Fix previous change.
12282 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12284 * ps-print.el (ps-face-attributes): It was not returning the
12285 attribute face for faces specified as string. Reported by harven
12286 <harven@free.fr>. (Bug#5254)
12287 (ps-print-version): New version 7.3.5.
12289 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
12291 * calendar/icalendar.el (icalendar--convert-tz-offset):
12292 Fix timezone names.
12293 (icalendar--convert-tz-offset): Fix the "last-day-problem".
12294 (icalendar--add-diary-entry): Remove the trailing blank that
12295 diary-make-entry inserts.
12297 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
12299 Make `file-expand-wildcards' work for remote files.
12301 * files.el (file-expand-wildcards): In case of remote files, check
12302 only local file name part for wildcards. Provide feature 'files
12303 and subfeature 'remote-wildcards. (Bug#5198)
12305 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
12306 if there is already an established connection.
12307 (tramp-advice-file-expand-wildcards): Remove it.
12309 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
12310 (tramp-advice-file-expand-wildcards): Move from tramp.el.
12311 Activate advice for older GNU Emacs versions. (Bug#5237)
12313 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
12315 Some doc fixes (more needed).
12317 * find-cmd.el (find-constituents): Reflow docstring.
12318 (find-cmd, find-prune, find-command): Fix typos in docstrings.
12319 (find-generic): Doc fix.
12321 2009-12-17 Juri Linkov <juri@jurta.org>
12323 Fix regression from 23.1 to allow multiple modes in Local Variables.
12325 * files.el (hack-local-variables-filter): While ignoring duplicates,
12326 don't take `mode' into account.
12327 (hack-local-variables-filter, hack-dir-local-variables):
12328 Don't remove duplicate `mode' from local-variables-alist (like `eval').
12330 2009-12-17 Juri Linkov <juri@jurta.org>
12332 Make `dired-diff' safer. (Bug#5225)
12334 * dired-aux.el (dired-diff): Signal an error when `file' equals to
12335 `current' or when `file' is a directory of the `current' file.
12337 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
12339 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
12340 unconditionally preloaded files.
12342 2009-12-16 Juri Linkov <juri@jurta.org>
12344 Revert to old 23.1 logic of using the file at the mark as default.
12345 * dired-aux.el (dired-diff): Use the file at the mark as default
12346 if it's not the same as the current file, and the target dir is
12347 the current dir or the mark is active. Add the current file
12348 as the arg of `dired-dwim-target-defaults'. Use the default file
12349 in the prompt. (Bug#5225)
12351 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
12353 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
12354 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
12355 (tramp-check-for-regexp): Check also, when an echoing shell stops
12356 to echo sent commands.
12358 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
12360 * Makefile.in: Revert last change (Bug#5191).
12362 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
12364 * vc-hg.el (vc-hg-print-log): Fix argument order.
12365 (vc-hg-working-revision): Make sure the command is executed in a
12366 known environment so that we can parse the output. (Bug#4417)
12368 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
12370 * progmodes/python.el (python-symbol-completions): Remove text
12371 properties from symbol string before calling python-send-receive.
12373 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
12375 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
12376 when there are values for both file and line. (Bug#5060)
12378 2009-12-14 Juri Linkov <juri@jurta.org>
12380 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
12381 whitespace after the file name of the first line of unified format,
12382 because git-diff doesn't output whitespace and file modification time
12383 after the file name.
12385 2009-12-14 David Kastrup <dak@gnu.org>
12387 * info.el (Info-hide-cookies-node): Before hiding a cookie,
12388 check if it already has the `display' property added by
12389 `Info-display-images-node', and not put the `invisible' property
12392 2009-12-13 Glenn Morris <rgm@gnu.org>
12394 * mail/emacsbug.el (message-sort-headers): Define for compiler.
12395 (report-emacs-bug): In message-mode, sort manually before storing
12396 original report text. (Bug#5178)
12397 Remove superfluous save-excursion.
12399 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
12401 * net/dbus.el (dbus-property-handler): Filter lambda forms out
12402 when responding to "GetAll" properties.
12404 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
12406 * simple.el (compose-mail): Remove mail-setup-with-from from
12407 customization checks.
12409 2009-12-12 Eli Zaretskii <eliz@gnu.org>
12411 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
12412 RAR archives created on Unix systems.
12414 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
12416 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
12417 the varalias that was accidentally removed by the 2009-11-19 change
12420 2009-12-12 Kenichi Handa <handa@m17n.org>
12422 * language/indian.el (indian-compose-regexp): New function.
12423 (malayalam-composable-pattern): Fix the pattern.
12424 (composition-function-table): Set malayalam-composable-pattern for
12425 Malayalam characters.
12427 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
12429 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
12430 rather than down-mouse-1, based on follow-link conventions.
12432 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
12435 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
12437 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
12438 (verilog-vmm-statement-re, verilog-ovm-statement-re)
12439 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
12440 (verilog-leap-to-head, verilog-backward-token):
12441 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
12443 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
12445 * progmodes/verilog-mode.el (verilog-auto-lineup)
12446 (verilog-nameable-item-re): Cleanup user-visible spelling and
12447 documentation errors. One reported by Gary Delp.
12448 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
12449 (verilog-read-decls): Fix AUTOWIRE with types declared in a
12450 package, bug195. Reported by Pierre-David Pfister.
12452 2009-12-11 Glenn Morris <rgm@gnu.org>
12454 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
12456 * mail/emacsbug.el: No longer require sendmail.
12457 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
12458 (report-emacs-bug-orig-text): Doc fix.
12459 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
12460 New local variables, to adapt to different mail-user-agents.
12461 (report-emacs-bug): Fix test for a gnu.org address.
12462 Use overlays for emphasis, since font-lock defeats 'face property.
12463 Pretest bugs also end up at the newsgroup these days.
12464 Stop message-mode stripping text properties.
12465 Set and use the new buffer-local variables.
12466 (report-emacs-bug-hook): Add doc-string.
12467 Remove some unnecessary save-excursions and simplify.
12468 Use the appropriate hook and send-command.
12470 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
12471 capitalization of some menu entries.
12473 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12475 * whitespace.el (whitespace-display-char-on):
12476 Ensure `buffer-display-table' is unique when two or more windows are
12477 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
12480 2009-12-10 Eli Zaretskii <eliz@gnu.org>
12482 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
12483 characters in the Attribute field.
12485 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
12487 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
12489 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
12491 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
12492 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12493 Disregard autoload-excludes.
12494 (update-directory-autoloads): Obey autoload-excludes here instead.
12495 But don't store its contents in no-autoloads and remove entries that
12496 refer to excludes files.
12498 2009-12-10 Glenn Morris <rgm@gnu.org>
12500 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
12501 (expand-mail-aliases): Define for compiler.
12503 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
12504 Define for compiler.
12506 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
12507 appropriate for the mail-user-agent in use.
12509 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
12511 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
12513 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
12515 Fix short log parsing and fontification.
12516 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
12517 Fix fontification for the [merge] label.
12519 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
12521 Drop some properties to avoid surprises (bug#5002).
12522 * htmlfontify.el (hfy-ignored-properties): New defcustom.
12523 (hfy-fontify-buffer): Use it.
12525 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
12528 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
12529 Adjust all callers.
12530 (ffap-locate-file): Remove unused arg `dir-ok' and make other
12531 args compulsory. Adjust callers.
12532 (ffap-gopher-at-point): Remove unused var `name'.
12534 Get rid of the ELCFILES abomination.
12535 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12536 (compile-elcfiles): New phony target.
12537 (compile-main): Compute ELCFILES dynamically.
12538 (compile-clean): New target to remove left-over elc files.
12539 (compile, all): Use it.
12541 2009-12-09 Kenichi Handa <handa@etlken>
12543 * international/mule-diag.el: Require help-mode instead of help-fns.
12545 2009-12-09 Kenichi Handa <handa@m17n.org>
12547 * international/mule-cmds.el (ucs-names): Supply sufficiently
12548 fine ranges instead of pre-calculating accurate ranges.
12549 Iterate with bigger gc-cons-threshold.
12551 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
12553 Add support for stashing a snapshot of the current tree.
12554 * vc-git.el (vc-git-stash-snapshot): New function.
12555 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
12557 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
12559 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
12560 instead of `(beginning|end)-of-line'.
12562 2009-12-08 Glenn Morris <rgm@gnu.org>
12564 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
12566 * Makefile.in (ELCFILES): Regenerate.
12568 2009-12-07 Juri Linkov <juri@jurta.org>
12570 Don't lazy-highlight the comint output in history Isearch mode.
12572 * comint.el (comint-history-isearch-search): Instead of
12573 `comint-line-beginning-position', use `comint-after-pmark-p'
12574 to check if point if before the process mark, and go to
12575 `process-mark' in this case.
12577 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12579 * textmodes/tex-mode.el (latex-complete)
12580 (latex-indent-or-complete): Remove.
12581 (latex-mode): Set completion-at-point-functions instead.
12583 Provide a standard completion command and hook it into TAB.
12584 * minibuffer.el (completion-at-point-functions): New var.
12585 (completion-at-point): New command.
12586 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
12587 * progmodes/python.el (python-mode-map): Use completion-at-point.
12588 (python-completion-at-point): Rename from python-partial-symbol and
12589 adjust for use in completion-at-point-functions.
12590 (python-mode): Setup completion-at-point for Python completion.
12591 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
12592 extracted from lisp-complete-symbol.
12593 (lisp-complete-symbol): Use it.
12594 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
12595 setup completion-at-point for Elisp completion.
12596 (emacs-lisp-mode-map, lisp-interaction-mode-map):
12597 Use completion-at-point.
12598 * ielm.el (ielm-map): Use completion-at-point.
12599 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
12600 * progmodes/sym-comp.el: Move to...
12601 * obsolete/sym-comp.el: Move from progmodes.
12603 2009-12-07 Eli Zaretskii <eliz@gnu.org>
12605 Prevent save-buffer in Rmail buffers from using the coding-system
12606 of the current message, and from clobbering the encoding mnemonics
12607 in the mode line (Bug#4623).
12609 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
12611 (rmail-message-encoding): New variable.
12612 (rmail-write-region-annotate): Record the encoding of the current
12613 message in rmail-message-encoding.
12614 (rmail-after-save-hook): New function, restores the encoding of
12615 the current message after the message collection is saved.
12617 2009-12-07 Juri Linkov <juri@jurta.org>
12619 * progmodes/grep.el (grep-read-files): Use `completing-read'
12620 instead of `read-string'. Set its `collection' arg to
12621 `read-file-name-internal'. (Bug#4301)
12623 2009-12-07 Juri Linkov <juri@jurta.org>
12625 Correctly restore original Isearch point. (Bug#4994)
12627 * isearch.el (isearch-mode): Move `isearch-push-state' after
12628 `(run-hooks 'isearch-mode-hook)'.
12629 (isearch-cancel): When `isearch-push-state-function' is defined,
12630 let-bind `isearch-cmds' to the first state (the last element of
12631 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
12632 function and restores the original point). Otherwise, move point
12633 to `isearch-opoint'.
12635 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12637 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
12638 chars that don't have names, so the table can be built much faster at
12641 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
12643 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
12644 change. Suggested by David Kastrup.
12646 * simple.el (compose-mail): Check for incompatibilities and warn.
12647 (compose-mail-user-agent-warnings): New option.
12649 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12651 Support showing a single log entry from vc-annotate.
12652 * vc.el (print-log): Add a new argument: START-REVISION.
12653 (vc-print-log-internal): Add a new optional argument and
12654 pass it to the backend.
12655 (vc-print-log, vc-print-root-log): Adjust callers.
12656 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
12657 buffer already displays the requested log entry, use it.
12658 Otherwise display only the log entry in question.
12659 * vc-svn.el (vc-svn-print-log):
12660 * vc-mtn.el (vc-mtn-print-log):
12661 * vc-hg.el (vc-hg-state):
12662 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
12663 (vc-git-show-log-entry): Return t on success.
12664 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
12665 (vc-bzr-show-log-entry): Return t on success.
12666 * vc-rcs.el (vc-rcs-print-log):
12667 * vc-sccs.el (vc-sccs-print-log):
12668 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
12670 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12672 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
12673 Add menus to the meta mode. (Bug#5043)
12675 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
12677 * ediff-init.el (ediff-event-key): Use event-to-character instead of
12680 * ediff.el (ediff-buffers-internal): Add unwind-protect.
12682 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
12684 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
12685 Berbain <raphael.berbain@gmail.com>.
12687 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
12689 (tramp-initial-end-of-output): New defconst.
12690 (tramp-methods, tramp-find-shell)
12691 (tramp-open-connection-setup-interactive-shell)
12692 (tramp-maybe-open-connection): Use it.
12693 (tramp-shell-prompt-pattern, tramp-wait-for-output):
12694 Handle existence of `#' and `$'.
12696 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
12697 Use `tramp-initial-end-of-output'.
12699 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12701 Get the background mode from the terminal for xterm, and set
12703 * term/xterm.el (xterm-set-background-mode): New function.
12704 (terminal-init-xterm): Use it in case xterm supports background
12705 color queries. Recompute faces after getting the background
12708 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
12710 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
12711 number comment back on its own line, for easier parsing.
12713 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12715 Make it work for non-file buffers (bug#5102).
12716 * doc-view.el (doc-view-current-cache-dir):
12717 Use doc-view-buffer-file-name rather than buffer-file-name.
12718 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
12720 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
12722 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
12723 author field is too short.
12725 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
12727 * vc-git.el (vc-git-print-log): Handle a limit argument.
12728 Display the short log in graph form and with labels.
12729 (vc-git-log-view-mode): Handle labels.
12731 Make vc-revert change VC state from 'added to 'unregistered.
12732 * vc-git.el (vc-git-revert): Call git reset first.
12734 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
12736 * net/newst-backend.el, net/newst-plainview.el:
12737 * net/newst-reader.el, net/newst-ticker.el:
12738 * net/newst-treeview.el, net/newsticker.el:
12739 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
12741 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
12743 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
12745 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
12746 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
12747 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
12748 Update annotation regexp.
12750 * simple.el (beginning-of-visual-line): Constrain to field
12751 boundaries (Bug#5106).
12753 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
12755 * xml.el (xml-substitute-numeric-entities):
12756 Move newsticker--decode-numeric-entities in newst-backend.el to
12757 xml-substitute-numeric-entities in xml.el. (Bug#5008)
12758 * net/newst-backend.el (newsticker--parse-generic-feed)
12759 (newsticker--parse-generic-items)
12760 (newsticker--decode-numeric-entities):
12761 Move newsticker--decode-numeric-entities in newst-backend.el to
12762 xml-substitute-numeric-entities in xml.el. (Bug#5008)
12764 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
12766 * progmodes/js.el (js--js-not): Add null to the list of values.
12768 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
12770 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
12772 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12774 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
12775 delimiter if it is at the end of the current line.
12776 (bibtex-generate-url-list): Fix docstring.
12778 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12780 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
12781 minibuffer's content with itself.
12782 Fold the confirm-after-completion case into the `confirm' case.
12783 (completion-pcm-word-delimiters): Add : and / to the delimiters.
12785 2009-12-06 Kevin Ryde <user42@zip.com.au>
12787 * ffap.el (ffap-rfc-path): Make this a defcustom since
12788 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
12790 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
12791 manuals, similar to existing setup for help-mode. (Bug#3913.)
12793 2009-12-05 Juri Linkov <juri@jurta.org>
12795 Save and restore dired buffer's point positions too. (Bug#4880)
12797 * dired.el (dired-save-positions): Return in the first element
12798 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
12800 (dired-restore-positions): First restore buffer's position.
12801 While restoring window's positions, check if window still displays
12802 the original buffer.
12804 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
12806 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
12809 * shell.el (shell): Require ansi-color (Bug#5113).
12811 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
12813 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
12815 2009-12-05 Alan Mackenzie <acm@muc.de>
12817 * progmodes/cc-mode.el (c-before-hack-hook)
12818 (c-postprocess-file-styles): Revert change 1.85 to permit
12819 `c-file-style' to work again. This reversion restores the current
12820 software to its state in Emacs 23.1. (Bug#4146)
12822 2009-12-05 Kevin Ryde <user42@zip.com.au>
12824 * textmodes/sgml-mode.el (sgml-lexical-context):
12825 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
12827 2009-12-05 Juri Linkov <juri@jurta.org>
12829 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
12830 for virtual nodes. (Bug#4147)
12831 (Info-find-node-2): Set `Info-current-node-virtual' to nil
12832 when moving from a virtual node.
12833 (Info-mode-menu): Add `Info-virtual-index' to the menu.
12834 (Info-mode): Add `Info-virtual-index' to the docstring.
12836 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12838 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
12839 track of the buffer position of the end of a BibTeX entry as this
12840 position may change during reformatting.
12841 (bibtex-format-entry): Remove whitespace before processing
12842 numerical fields so that we recognize the latter properly.
12843 (bibtex-reformat): Do not use push which changes the global value
12844 of bibtex-entry-format.
12845 (bibtex-field-braces-alist, bibtex-field-strings-alist)
12846 (bibtex-field-re-init): Replace only space characters by regexp
12848 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
12849 (bibtex-initialize): Also update bibtex-strings.
12850 (bibtex-kill-field): Preserve white space at end of entry.
12851 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
12852 Update bibtex-reference-keys.
12854 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
12856 * minibuffer.el (completion-pcm--merge-try): Also consider placing
12857 point after a star, if that's the only place where modifications can
12860 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
12862 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
12865 2009-12-04 Juri Linkov <juri@jurta.org>
12867 * proced.el (proced): Call `(proced-update t)' to update process
12868 information instead of only running proced-post-display-hook.
12869 (proced-send-signal): Add a leading space to the buffer name
12870 " *Marked Processes*" to make this buffer ephemeral.
12872 2009-12-04 Juri Linkov <juri@jurta.org>
12874 * dired.el (dired-auto-revert-buffer): New defcustom.
12875 (dired-internal-noselect): Use it.
12877 2009-12-04 Juri Linkov <juri@jurta.org>
12879 Change roles of modes and functions in image-mode.el (Bug#5062).
12881 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
12882 in `auto-mode-alist'.
12883 (image-mode-previous-major-mode): New variable.
12884 (image-minor-mode-map): Rename from `image-mode-text-map'.
12885 (image-mode): Move graceful error-handling code from
12886 `image-minor-mode' to here. On errors call `image-mode-as-text'.
12887 (image-minor-mode): Remove all image-handling code.
12888 Replace `image-mode-text-map' with `image-minor-mode-map'.
12889 Check for `image-type' in mode-line format string.
12890 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
12891 (image-mode-as-text): New function with most code from
12892 `image-mode-maybe'.
12893 (image-toggle-display-text): Move code that removes image
12894 properties from `image-toggle-display' to here.
12895 (image-toggle-display-image): New function with code that adds
12896 image properties copied from `image-toggle-display'.
12897 (image-toggle-display): Remove most code with leaving only code
12898 that toggles between `image-mode-as-text' and `image-mode'.
12900 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
12902 * net/newst-treeview.el
12903 (newsticker--treeview-list-highlight-start): Restored call to
12904 save-excursion: Selected item was stuck.
12905 (newsticker--treeview-list-select): New.
12906 (newsticker--treeview-item-show-text)
12907 (newsticker--treeview-item-show)
12908 (newsticker--treeview-item-update): Use new
12909 newsticker-treeview-item-mode.
12910 (newsticker-treeview-update): Keep current item.
12911 (newsticker-treeview-next-new-or-immortal-item): Doc change.
12912 (newsticker--treeview-first-feed): Doc change.
12913 (newsticker-treeview-list-menu)
12914 (newsticker-treeview-item-menu): Add menu entries.
12915 (newsticker-treeview-item-mode): New.
12917 * net/newst-backend.el (newsticker-customize): Delete other
12920 2009-12-04 Sam Steingold <sds@gnu.org>
12922 * log-view.el (log-view-mode-map): "q" calls quit-window,
12923 like in all the other non-self-insert buffers.
12925 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
12928 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
12929 key decoding rather than do it manually via last-input-event +
12931 (term-exec): Use delete-and-extract-region.
12932 (term-handle-ansi-terminal-messages): Remove unused var `end'.
12933 (term-process-pager): Remove unused var `i'.
12934 (term-dynamic-simple-complete): Make obsolete.
12935 (serial-update-config-menu): Remove unused vars `y' and `str'.
12936 (term-update-mode-line): Remove unused var `temp'.
12938 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12940 Limit the number of log entries displayed by default.
12941 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
12942 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
12943 using a prefix argument.
12945 2009-12-03 Glenn Morris <rgm@gnu.org>
12947 * progmodes/idlwave.el (class): Restore still useful declaration.
12949 2009-12-03 Alan Mackenzie <acm@muc.de>
12951 Enhance `c-parse-state' to run efficiently in "brace deserts".
12953 * progmodes/cc-mode.el (c-basic-common-init):
12954 Call c-state-cache-init.
12955 (c-neutralize-syntax-in-and-mark-CPP): Rename from
12956 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
12957 placing `category' properties value 'c-cpp-delimiter at its boundaries.
12959 * progmodes/cc-langs.el (c-before-font-lock-function):
12960 c-extend-and-neutralize-syntax-in-CPP has been renamed
12961 c-neutralize-syntax-in-and-mark-CPP.
12963 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
12964 with `category' properties now, not `syntax-table' ones.
12966 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
12967 enhanced (but slower) version of c-end-of-macro that won't land
12968 inside a literal or on another awkward character.
12969 (c-state-cache-too-far, c-state-cache-start)
12970 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
12971 (c-state-nonlit-pos-cache-limit, c-state-point-min)
12972 (c-state-point-min-lit-type, c-state-point-min-lit-start)
12973 (c-state-min-scan-pos, c-state-brace-pair-desert)
12974 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
12975 buffer local variables.
12976 (c-state-literal-at, c-state-lit-beg)
12977 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
12978 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
12979 (c-state-cache-top-paren, c-state-cache-after-top-paren)
12980 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
12981 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
12982 (c-renarrow-state-cache)
12983 (c-append-lower-brace-pair-to-state-cache)
12984 (c-state-push-any-brace-pair, c-append-to-state-cache)
12985 (c-remove-stale-state-cache)
12986 (c-remove-stale-state-cache-backwards, c-state-cache-init)
12987 (c-invalidate-state-cache-1, c-parse-state-1)
12988 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
12989 (c-parse-state): Enhance and refactor.
12990 (c-debug-parse-state): Amend to deal with all the new variables.
12992 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
12993 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
12994 modify to use category text properties rather than syntax-table ones.
12995 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
12996 to switch off/on the syntactic paren property of C++ template
12997 delimiters using the category property.
12998 (c-with-<->-as-parens-suppressed): Macro to invoke code with
12999 template delims suppressed.
13000 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
13001 New constant/macros which apply category properties to the start
13002 and end of preprocessor constructs.
13003 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
13004 "comment out" the syntactic value of characters in preprocessor
13006 (c-with-cpps-commented-out)
13007 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
13008 with characters in all or all but one preprocessor constructs
13011 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13013 * proced.el (proced-filter-alist): Use regexp-quote.
13015 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
13018 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
13019 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
13020 arguments. Expand `default-directory'.
13022 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
13023 the benefit of returning an expanded localname.
13024 (tramp-tramp-file-p): Handle the case NAME is not a string.
13026 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13028 Add support for bzr shelve/unshelve.
13029 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13030 (vc-bzr-extra-menu-map): New variables.
13031 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
13032 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
13033 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
13034 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
13035 (vc-bzr-dir-extra-headers): Display shelves.
13037 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
13039 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13041 * textmodes/bibtex.el (bibtex-complete-internal):
13042 Use completion-in-region.
13043 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
13045 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13047 Support applying stashes. Improve UI.
13048 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
13049 (vc-git-stash-apply, vc-git-stash-pop)
13050 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
13051 (vc-git-stash-menu): New functions.
13052 (vc-git-stash-menu-map): New variable.
13053 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
13055 2009-12-03 Glenn Morris <rgm@gnu.org>
13057 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
13058 (vc-print-log-internal): Fix previous change.
13059 (vc-revert): Correct pluralization.
13061 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13063 * progmodes/make-mode.el (makefile-special-targets-list): No need for
13064 it to be an alist any more.
13065 (makefile-complete): Use completion-in-region.
13067 * progmodes/octave-mod.el (octave-complete-symbol):
13068 Use completion-in-region.
13071 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
13072 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
13073 (idlwave-complete-class): Don't quote lambda.
13074 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
13075 (idlwave-mode-map): Move initialization into declaration.
13076 (idlwave-action-and-binding): Use backquotes.
13077 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
13079 (idlwave-is-pointer-dereference): Remove unused var `pos'.
13080 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
13081 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
13082 `parts', and `all-parts'.
13083 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
13084 (idlwave-convert-xml-system-routine-info): Remove unused string
13086 (idlwave-display-user-catalog-widget): Use dolist.
13087 (idlwave-scanning-lib): Declare dynamically-scoped var.
13088 (idlwave-scan-library-catalogs): Remove unused var `flags'.
13089 (completion-highlight-first-word-only): Declare to silence bytecomp.
13090 (idlwave-popup-select): Tighten scope of `resp'.
13091 (idlwave-find-struct-tag): Remove unused var `beg'.
13092 (idlwave-after-load-rinfo-hook): Declare.
13093 (idlwave-sintern-class-info): Remove unused var `taglist'.
13094 (idlwave-find-class-definition): Remove unused var `list'.
13095 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
13096 (idlwave-what-module-find-class): Remove unused var `classes'.
13098 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
13100 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
13102 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13104 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
13105 buffers visited. Remove redundant current-buffer-saving.
13107 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13109 Use completion-in-buffer and remove uses of dynamic scoping.
13110 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
13111 (pascal-buffer-to-use, pascal-flag): Don't declare.
13112 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
13113 (pascal-get-completion-decl, pascal-keyword-completion):
13114 Add `pascal-str' argument, save-excursion,
13115 return the found completions, and don't filter with pascal-pred.
13116 (pascal-completion-cache): New var.
13117 (pascal-completion): Don't switch buffer any more (it was never
13118 necessary). Don't save-excursion any more (it's done by the called
13119 subroutines). Use a cache to avoid redundant computations.
13120 Use complete-with-action rather than pascal-completion-response and
13121 let it apply the predicate as well.
13122 (pascal-complete-word): Use completion-in-buffer when
13123 pascal-toggle-completions is nil.
13124 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
13126 (pascal-comp-defun): Don't change buffer any more.
13127 Use complete-with-action rather than pascal-completion-response and
13128 let it apply the predicate as well.
13129 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
13132 2009-12-02 Kenichi Handa <handa@m17n.org>
13134 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
13135 shape for all Indic scripts.
13137 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13139 Use completion-in-buffer.
13140 * wid-edit.el (widget-field-text-end): New function.
13141 (widget-field-value-get): Use it.
13142 (widget-string-complete, widget-file-complete)
13143 (widget-color-complete): Use it and completion-in-region.
13144 (widget-complete): Don't narrow the buffer.
13146 2009-12-02 Glenn Morris <rgm@gnu.org>
13148 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
13149 (rmail-select-summary): Use rmail-pop-to-buffer.
13150 * mail/rmailsum.el: Replace all pop-to-buffer calls with
13151 rmail-pop-to-buffer, to prevent horizontal splits.
13153 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
13154 save-excursion with save-current-buffer.
13155 Widen before searching. (Bug#5093)
13156 (diary-list-sexp-entries): Remove superfluous save-excursion.
13158 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
13160 * woman.el (woman-make-bufname): Handle man-pages with "." in the
13163 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
13165 * ido.el (ido-file-internal): Handle filenames at point that do
13166 not have a directory part. (Bug#5049)
13168 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
13170 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
13171 (mpc-songs-jump-to, mpc-resume): Doc fixes.
13173 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
13175 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
13176 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
13179 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13181 * comint.el (comint-insert-input): Ignore clicks to the right of
13182 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
13184 * vc.el (vc-print-log-internal): Don't wait for the process to
13185 terminate before setting up the major mode.
13187 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
13190 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
13193 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
13195 2009-12-01 Glenn Morris <rgm@gnu.org>
13197 * window.el (window--display-buffer-2): Fix previous changes.
13199 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
13201 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
13203 2009-12-01 Glenn Morris <rgm@gnu.org>
13205 * Makefile.in (ELCFILES): Add mpc.elc.
13207 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13209 * mpc.el: New file.
13211 2009-12-01 Glenn Morris <rgm@gnu.org>
13213 * window.el (window-to-use): Define for compiler.
13215 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
13216 consistent with others (no final period).
13218 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
13219 (rmail-mime-show): Downcase the encoding. (Bug#5070)
13221 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
13223 Make vc-print-log buttons work.
13224 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
13226 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
13228 * savehist.el (savehist-autosave-interval): Allow setting to nil
13229 through customize. (Bug#5056)
13231 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
13233 Fix references to jit-lock properties.
13234 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
13235 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
13236 (perl-font-lock-special-syntactic-constructs):
13237 Quote jit-lock-defer-multiline property.
13239 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
13241 * vc-git.el (vc-git-registered): Call vc-git-root only once.
13243 2009-11-30 Juri Linkov <juri@jurta.org>
13245 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
13246 value `buffer' of `multi-isearch-next-buffer-current-function'.
13247 Use `(current-buffer)' when `buffer' is nil.
13248 (multi-isearch-next-buffer-from-list): Don't fallback to
13249 `(current-buffer)' when `buffer' is nil. (Bug#4947)
13251 2009-11-30 Juri Linkov <juri@jurta.org>
13253 * misearch.el (multi-isearch-read-buffers): Move canonicalization
13254 of buffers with `get-buffer' to `multi-isearch-buffers'.
13255 (multi-isearch-buffers, multi-isearch-buffers-regexp):
13256 Canonicalize BUFFERS with `get-buffer'. Doc fix.
13257 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
13258 FILES with `expand-file-name' converting relative file names
13259 to absolute. Doc fix. (Bug#4727)
13261 2009-11-30 Juri Linkov <juri@jurta.org>
13263 * misearch.el (multi-isearch-read-buffers)
13264 (multi-isearch-read-matching-buffers): New functions.
13265 (multi-isearch-buffers, multi-isearch-buffers-regexp):
13266 Use them in the `interactive' spec. Doc fix.
13267 (multi-isearch-read-files, multi-isearch-read-matching-files):
13269 (multi-isearch-files, multi-isearch-files-regexp):
13270 Use them in the `interactive' spec. Doc fix. (Bug#4725)
13272 2009-11-30 Juri Linkov <juri@jurta.org>
13274 * doc-view.el (doc-view-continuous):
13275 Rename from `doc-view-continuous-mode'.
13276 (doc-view-menu): Move "Toggle display" to the top.
13277 Add submenu "Continuous" with radio buttons "Off"/"On"
13278 and "Save as Default".
13279 (doc-view-scroll-up-or-next-page)
13280 (doc-view-scroll-down-or-previous-page)
13281 (doc-view-next-line-or-next-page)
13282 (doc-view-previous-line-or-previous-page):
13283 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
13285 2009-11-30 Juri Linkov <juri@jurta.org>
13287 * comint.el (comint-mode-map): Rebind `M-r' from
13288 `comint-previous-matching-input' to
13289 `comint-history-isearch-backward-regexp'.
13290 Unbind `M-s' to allow global key binding `M-s'.
13291 Add menu items for `comint-history-isearch-backward' and
13292 `comint-history-isearch-backward-regexp'. (Bug#3746)
13294 2009-11-30 Juri Linkov <juri@jurta.org>
13296 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
13297 For def=recenter, replace `recenter' with `recenter-top-bottom'
13298 that is called with `this-command' and `last-command' let-bound
13299 to `recenter-top-bottom'. When the last `def' was not `recenter',
13300 set `recenter-last-op' to nil. (Bug#4981)
13302 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
13304 Minor cleanup and simplification.
13305 * filecache.el (file-cache-add-directory)
13306 (file-cache-add-directory-recursively)
13307 (file-cache-add-from-file-cache-buffer)
13308 (file-cache-delete-file-regexp, file-cache-delete-directory)
13309 (file-cache-files-matching-internal, file-cache-display): Use dolist.
13310 (file-cache-temp-minibuffer-message): Delete function.
13311 (file-cache-minibuffer-complete): Use minibuffer-message instead.
13313 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
13314 Don't signal an error when bumping into EOB in tr, s, or y.
13316 2009-11-29 Juri Linkov <juri@jurta.org>
13318 * startup.el (fancy-about-text): Fix wording of Guided Tour.
13321 * descr-text.el (describe-char-unidata-list): Use lowercase name
13322 for "Unicode name" like in other tags.
13324 2009-11-29 Juri Linkov <juri@jurta.org>
13326 * ediff-util.el (ediff-minibuffer-with-setup-hook):
13327 New compatibility macro.
13328 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
13330 2009-11-29 Juri Linkov <juri@jurta.org>
13332 Add defcustom to define the cycling order of `recenter-top-bottom'.
13335 * window.el (recenter-last-op): Doc fix.
13336 (recenter-positions): New defcustom.
13337 (recenter-top-bottom): Rewrite to use `recenter-positions'.
13338 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
13340 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
13342 Improve integration of Tramp and ange-ftp in eshell.
13344 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
13345 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
13346 (eshell/sudo): Flatten args. Let-bind `default-directory'.
13348 * eshell/esh-util.el (top): Require also Tramp when compiling.
13349 (eshell-directory-files-and-attributes): Check for FTP remote
13351 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
13352 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
13353 (eshell-file-attributes): Handle ".". Return `entry'.
13355 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
13356 (ange-ftp-directory-files-and-attributes)
13357 (ange-ftp-real-directory-files-and-attributes): New defuns.
13359 * net/tramp.el (tramp-maybe-open-connection): Open the remote
13360 shell with "exec" when possible. This prevents trailing prompts
13361 in `start-file-process'.
13363 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13365 Try and remove assumptions about point-min==1.
13366 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
13367 (rng-compute-mode-line-string): Show the validation percentage in
13368 terms of the narrowed text, not the widened text.
13369 (rng-do-some-validation): Don't catch internal errors when debugging.
13370 (rng-first-error): Simplify.
13371 (rng-after-change-function): Remove work around. AFAIK the bug has
13372 been fixed a while ago.
13374 * image-mode.el (image-minor-mode): Exit more gracefully when the image
13375 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
13377 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
13379 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
13380 `cd' doesn't always do it for us (bug#5067).
13382 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
13383 on 2009-10-25 as part of some other change (bug#5067).
13385 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
13387 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
13389 (byte-compile-warnings): Use byte-compile-warning-types.
13390 (byte-compile-save-excursion): Warn about use of set-buffer right
13391 after save-excursion.
13393 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
13394 the excursion as well.
13396 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
13398 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
13399 providing a Tramp related implementation of "su" and "sudo".
13400 (eshell-unix-initialize): Add "su" and "sudo".
13402 2009-11-27 Daiki Ueno <ueno@unixuser.org>
13404 * net/socks.el (socks-send-command): Convert binary request to
13405 unibyte before sending. This fixes mishandling of some port
13406 numbers such as 129.
13408 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
13410 * help.el (describe-bindings-internal): Remove `interactive'.
13412 * man.el (Man-completion-table): Trim a terminating "(".
13413 Remove the space between name page a section.
13414 Add the command's description on the `help-echo' property.
13415 Remove `process-connection-type' binding since it's unused by
13417 Provide completion for the "<section> <name>" format as well.
13418 (Man-default-man-entry): Remove spurious var shadowing the argument.
13420 2009-11-26 Kevin Ryde <user42@zip.com.au>
13422 * log-view.el: Add "Keywords: tools", since its other keywords
13423 aren't in finder-known-keywords, and following vc.el.
13425 * sha1.el (sha1-string-external): default-directory "/" in case
13426 otherwise non-existent. process-connection-type pipe for touch of
13427 efficiency recommended by elisp manual. (An aside in Bug#3911.)
13429 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
13431 Misc coding convention cleanups.
13432 * htmlfontify.el (hfy-init-kludge-hook): Rename from
13433 hfy-init-kludge-hooks.
13434 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
13435 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
13436 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
13438 (hfy-slant, hfy-weight): Use tables rather than code.
13439 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
13440 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
13441 (hfy-face-attr-for-class): Initialize `face-spec' directly.
13442 (hfy-face-to-css): Remove `nconc' with single arg.
13443 (hfy-p-to-face-lennart): Use `or'.
13444 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
13445 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
13446 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
13447 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
13448 (hfy-force-fontification): Use run-hooks.
13450 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
13452 Various minor fixes.
13453 * htmlfontify.el (hfy-default-header): Add toggle_invis since
13454 Javascript belongs in the header, not the body.
13455 (hfy-javascript): Remove.
13456 (hfy-fontify-buffer): Don't insert it any more.
13457 (hfy-face-at): Handle (face0 face1 face2) style face properties.
13458 Fix bug in invis handling when there were no invis props in a chunk.
13460 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
13462 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
13464 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
13466 * finder.el (finder-mode-map): Add a menu.
13468 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
13470 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
13471 "unsigned" structs.
13473 (verilog-leap-to-head, verilog-backward-token): Handle "disable
13474 fork" statement better.
13476 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
13478 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
13479 (verilog-delete-auto, verilog-delete-empty-auto-pair)
13480 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
13481 Reported by Clay Douglass.
13483 (verilog-auto-inst, verilog-auto-star-safe)
13484 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
13485 Fix removing "// Interfaces" when saving .* expansions.
13486 Reported by Pierre-David Pfister.
13488 2009-11-26 Glenn Morris <rgm@gnu.org>
13490 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
13493 2009-11-25 Johan Bockgård <bojohan@gnu.org>
13495 * vc-annotate.el (vc-annotate-revision-previous-to-line):
13496 Really use previous revision.
13498 2009-11-25 Kevin Ryde <user42@zip.com.au>
13500 * man.el (Man-completion-table): default-directory "/" in case
13501 doesn't otherwise exist. process-environment COLUMNS=999 so as
13502 not to truncate long names. process-connection-type pipe to avoid
13503 any chance of hitting the pseudo-tty TIOCGWINSZ.
13504 (man): completion-ignore-case t for friendliness and since man
13505 itself is case-insensitive on the command line.
13506 Further to Bug#3717.
13508 * arc-mode.el: Add "Keywords: files", so the details in its
13509 commentary can be reached from finder-by-keyword.
13510 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
13511 editing mode, but it's comms related and sgml-mode.el has "comm"
13513 * textmodes/bibtex-style.el: Add "Keywords: tex".
13514 * international/isearch-x.el, international/ja-dic-cnv.el:
13515 * international/ja-dic-utl.el, international/kkc.el:
13516 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
13518 2009-11-25 Juri Linkov <juri@jurta.org>
13520 * man.el (Man-completion-table): Modify regexp to include
13521 section names to completion strings. (Bug#3717)
13523 2009-11-25 Juri Linkov <juri@jurta.org>
13525 Search recursively in gzipped files. (Bug#4982)
13527 * progmodes/grep.el (grep-highlight-matches): Add new options
13528 `always' and `auto'. Doc fix.
13529 (grep-process-setup): Check `grep-highlight-matches' for
13530 `auto-detect' to determine the need to compute grep defaults.
13531 Move Windows/DOS specific --colors settings handling
13532 to `grep-compute-defaults'. Check `grep-highlight-matches'
13533 to get the value of "--color=".
13534 (grep-compute-defaults): Compute `grep-highlight-matches' when it
13535 has the value `auto-detect'. Move Windows/DOS specific settings
13536 from `grep-process-setup'.
13537 (zrgrep): New command with alias `rzgrep'.
13539 2009-11-25 Juri Linkov <juri@jurta.org>
13541 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
13542 to nil instead of switching off view-mode. (Bug#4896)
13544 2009-11-25 Juri Linkov <juri@jurta.org>
13546 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
13548 * mwheel.el (mwheel-scroll-up-function)
13549 (mwheel-scroll-down-function): New defvars.
13550 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
13551 `scroll-up', and `mwheel-scroll-down-function' instead of
13554 * doc-view.el (doc-view-scroll-up-or-next-page)
13555 (doc-view-scroll-down-or-previous-page): Add optional ARG.
13556 Use this ARG in the call to image-scroll-up/image-scroll-down.
13557 Change `interactive' spec to "P". Goto next/previous page only
13558 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
13559 SPC/DEL case). Doc fix.
13560 (doc-view-next-line-or-next-page)
13561 (doc-view-previous-line-or-previous-page): Rename arg to ARG
13563 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
13564 `doc-view-scroll-up-or-next-page', and buffer-local
13565 `mwheel-scroll-down-function' to
13566 `doc-view-scroll-down-or-previous-page'.
13568 2009-11-25 Juri Linkov <juri@jurta.org>
13570 Provide additional default values (directories at other Dired
13571 windows) via M-n in the minibuffer of some Dired commands.
13573 * dired-aux.el (dired-diff, dired-compare-directories)
13574 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
13575 `minibuffer-default' in `minibuffer-with-setup-hook'.
13576 (dired-dwim-target-directory): Find a window that displays Dired
13577 buffer instead of failing when the next window is not Dired.
13578 Use `get-window-with-predicate' to find for the next Dired window.
13579 (dired-dwim-target-defaults): New function.
13581 * ediff-util.el (ediff-read-file-name):
13582 Use `dired-dwim-target-defaults' to set `minibuffer-default'
13583 in `minibuffer-with-setup-hook'.
13585 2009-11-25 Juri Linkov <juri@jurta.org>
13587 Provide additional default values (file name at point or at the
13588 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
13590 * minibuffer.el (read-file-name-defaults): New function.
13591 (read-file-name): Reset `minibuffer-default' to nil when
13592 it duplicates initial input `insdef'.
13593 Bind `minibuffer-default-add-function' to lambda that
13594 calls `read-file-name-defaults' in `minibuffer-selected-window'.
13595 (minibuffer-insert-file-name-at-point): New command.
13597 * files.el (file-name-at-point-functions): New defcustom.
13598 (find-file-default): Remove defvar.
13599 (find-file-read-args): Don't use `find-file-default'.
13600 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13601 to `read-file-name'.
13602 (find-file-literally): Use `read-file-name' with
13603 `confirm-nonexistent-file-or-buffer'.
13605 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
13607 * dired.el (dired-read-dir-and-switches):
13608 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13609 to `read-file-name'.
13610 (dired-file-name-at-point): New function.
13611 (dired-mode): Add hook `dired-file-name-at-point' to
13612 `file-name-at-point-functions'.
13614 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13616 Really make the *Completions* window soft-dedicated (bug#5030).
13617 * window.el (window--display-buffer-2): Add `dedicated' argument.
13618 (display-buffer): Pass it when needed so the dedicated flag is set
13619 after calling set-window-buffer, which would otherwise reset it.
13621 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13623 * progmodes/meta-mode.el (meta-complete-symbol):
13624 * progmodes/etags.el (complete-tag):
13625 * mail/mailabbrev.el (mail-abbrev-complete-alias):
13626 Use completion-in-region.
13628 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
13629 (dabbrev-completion): Use completion-in-region.
13630 (dabbrev--abbrev-at-point): Simplify regexp.
13632 * abbrev.el (abbrev--before-point): Use word-motion functions
13633 if :regexp is not specified (bug#5031).
13635 * subr.el (string-prefix-p): New function.
13637 * man.el (Man-completion-cache): New var.
13638 (Man-completion-table): Use it.
13640 * vc.el (vc-print-log-internal): Make `limit' optional for better
13641 compatibility (e.g. with vc-annotate.el).
13643 2009-11-24 Kevin Ryde <user42@zip.com.au>
13645 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
13646 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
13648 * emacs-lisp/elint.el (elint-add-required-env): Better error message
13649 when .el source file not found or other error.
13651 2009-11-24 Markus Triska <markus.triska@gmx.at>
13653 * linum.el (linum-update-window): Ignore intangible (bug#4996).
13655 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
13657 Handle the [back] button properly (bug#4979).
13658 * descr-text.el (describe-text-properties): Add a `buffer' argument.
13659 Use help-setup-xref, help-buffer, and with-help-window.
13660 (describe-char): Add `buffer' argument.
13661 Pass proper command to help-setup-xref. Don't meddle with
13662 help-xref-stack-item directly.
13663 (describe-text-category): Use with-help-window and help-buffer.
13665 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
13666 for the displayed buffer (bug#4887).
13668 * man.el (Man-completion-table): New function.
13671 2009-11-24 David Reitter <david.reitter@gmail.com>
13673 * vc-git.el (vc-git-registered): Use checkout directory (where
13674 .git is) rather than the file's directory and a relative path spec
13675 to work around a bug in git.
13677 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
13679 Improve handling of processes on remote hosts.
13681 * eshell/esh-util.el (eshell-path-env): New defvar.
13682 (eshell-parse-colon-path): New defun.
13683 (eshell-file-attributes): Use `eshell-parse-colon-path'.
13685 * eshell/esh-ext.el (eshell-search-path):
13686 Use `eshell-parse-colon-path'.
13687 (eshell-remote-command): Remove argument HANDLER.
13688 (eshell-external-command): Check for FTP remote connection.
13690 * eshell/esh-proc.el (eshell-gather-process-output):
13691 Use `file-truename', in order to start also symlinked files.
13692 Apply `start-file-process' instead of `start-process'.
13693 Shorten `command' to the local file name part.
13695 * eshell/em-cmpl.el (eshell-complete-commands-list):
13696 Use `eshell-parse-colon-path'.
13698 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
13700 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
13701 to `eshell-directory-change-hook'.
13703 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
13705 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
13706 because it could be enabled automatically if view-read-only is non-nil.
13708 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
13710 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
13711 made on 2009-11-22.
13713 2009-11-24 Glenn Morris <rgm@gnu.org>
13715 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
13716 deleted variable bookmark-bmenu-bookmark-column.
13718 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
13720 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
13722 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
13724 * net/browse-url.el (browse-url-filename-alist): On Windows, add
13725 two slashes to the "file:" prefix.
13726 (browse-url-file-url): De-munge Cygwin filenames before passing
13727 them to Windows browser.
13728 (browse-url-default-windows-browser): Use call-process.
13730 2009-11-23 Juri Linkov <juri@jurta.org>
13732 Implement DocView Continuous mode. (Bug#4896)
13733 * doc-view.el (doc-view-continuous-mode): New defcustom.
13734 (doc-view-mode-map): Bind C-n/<down> to
13735 `doc-view-next-line-or-next-page', C-p/<up> to
13736 `doc-view-previous-line-or-previous-page'.
13737 (doc-view-next-line-or-next-page)
13738 (doc-view-previous-line-or-previous-page): New commands.
13740 2009-11-23 Juri Linkov <juri@jurta.org>
13742 Implement Isearch in comint input history. (Bug#3746)
13743 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
13744 `isearch-mode-hook'.
13745 (comint-history-isearch): New defcustom.
13746 (comint-history-isearch-backward)
13747 (comint-history-isearch-backward-regexp): New commands.
13748 (comint-history-isearch-message-overlay): New buffer-local variable.
13749 (comint-history-isearch-setup, comint-history-isearch-end)
13750 (comint-goto-input, comint-history-isearch-search)
13751 (comint-history-isearch-message, comint-history-isearch-wrap)
13752 (comint-history-isearch-push-state)
13753 (comint-history-isearch-pop-state): New functions.
13755 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
13757 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
13759 (tramp-handle-make-symbolic-link)
13760 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
13762 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
13763 (tramp-handle-process-file): Use it.
13765 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
13767 * window.el (move-to-window-line-last-op): Remove.
13768 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
13770 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
13772 Make M-r mirror the new cycling behavior of C-l.
13773 * window.el (move-to-window-line-last-op): New var.
13774 (move-to-window-line-top-bottom): New command.
13775 (global-map): Bind M-r move-to-window-line-top-bottom.
13777 2009-11-23 Sven Joachim <svenjoac@gmx.de>
13779 * dired-x.el (dired-guess-shell-alist-default):
13780 Support xz format. (Bug#4953)
13782 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
13784 * emulation/viper-cmd.el: Use viper-last-command-char instead of
13785 last-command-char/last-command-event.
13786 (viper-prefix-arg-value): Do correct conversion of event-char for
13789 * emulation/viper-util.el, emulation/viper.el:
13790 Use viper-last-command-char instead of
13791 last-command-char/last-command-event.
13793 * ediff-init.el, ediff-mult.el, ediff-util.el:
13794 Replace last-command-char and last-command-event
13795 with (ediff-last-command-char) everywhere.
13797 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
13798 created in fundamental mode.
13800 * ediff.el (ediff-version): Revert the change of interactive-p to
13801 called-interactively-p.
13803 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
13805 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
13806 generation from word-movement command names.
13808 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
13810 * cus-start.el (all): Add native condition for font-use-system-font.
13812 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
13814 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
13815 Correct the patch from 2009-11-18. (Bug#3910)
13817 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
13819 * progmodes/subword.el: Rename from lisp/subword.el.
13821 * subword.el: Rename to progmodes/subword.el.
13823 * Makefile.in (ELCFILES): Adapt to subword.el move.
13825 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13826 Stefan Monnier <monnier@iro.umontreal.ca>
13828 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
13829 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
13830 (bookmark-bmenu-show-filenames): Use push.
13831 (bookmark-bmenu-hide-filenames): Use local var instead of
13832 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
13833 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
13834 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
13835 filenames now that the bookmark names are always available.
13837 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
13839 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
13840 (bookmark-search-pattern): Move and leave unbound.
13841 (bookmark-bmenu-mode-map): Change binding.
13842 (bookmark-read-search-input): Simplify.
13843 Don't use text-char-description. Don't error on non-char events.
13844 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
13845 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
13846 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
13847 Use a local var for the timer.
13848 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
13849 (i.e. bookmark-bmenu-search).
13851 2009-11-21 Glenn Morris <rgm@gnu.org>
13853 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
13855 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
13857 * net/browse-url.el (browse-url-default-windows-browser):
13858 Use cygstart for cygwin.
13860 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
13862 * bookmark.el: Formatting and doc fixes only:
13863 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
13864 (bookmark-bmenu-search): Wrap to fit within 80 columns.
13865 Minor grammar and punctuation fixes in doc string.
13866 (bookmark-read-search-input): Adjust to fit within 80 columns.
13868 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
13870 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
13871 (c-backward-into-nomenclature): Adapt to subword renaming.
13873 * subword.el (subword-forward, subword-backward, subword-mark)
13874 (subword-kill, subword-backward-kill, subword-transpose)
13875 (subword-downcase, subword-upcase, subword-capitalize)
13876 (subword-forward-internal, subword-backward-internal):
13877 Rename from forward-subword, backward-subword, mark-subword,
13878 kill-subword, backward-kill-subword, transpose-subwords,
13879 downcase-subword, upcase-subword, capitalize-subword,
13880 forward-subword-internal, backward-subword-internal.
13882 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13884 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
13886 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
13888 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
13889 (bookmark-bmenu-filter-alist-by-regexp)
13890 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
13891 (bookmark-bmenu-search): New command.
13892 (bookmark-bmenu-mode-map): Bind it.
13894 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
13896 * progmodes/cc-cmds.el: declare-functioned forward-subword and
13897 backward-subword to quit the byte-compiler.
13899 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
13901 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
13903 * progmodes/cc-cmds.el (c-update-modeline)
13904 (c-forward-into-nomenclature, c-backward-into-nomenclature):
13905 Refer to subword.el functions instead of cc-subword.el.
13907 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
13908 subword.el functions instead of cc-subword.el.
13910 * progmodes/cc-subword.el: Rename to subword.el.
13911 * subword.el: Rename from progmodes/cc-subword.el.
13912 (subword-mode-map): Rename from c-subword-mode-map.
13913 (subword-mode): Rename from c-subword-mode.
13914 (global-subword-mode): New global minor mode.
13915 (forward-subword): Rename from c-forward-subword.
13916 (backward-subword): Rename from c-backward-subword.
13917 (mark-subword): Rename from c-mark-subword.
13918 (kill-subword): Rename from c-kill-subword.
13919 (backward-kill-subword): Rename from c-backward-kill-subword.
13920 (transpose-subwords): Rename from c-tranpose-subword.
13921 (downcase-subword): Rename from c-downcase-subword.
13922 (capitalize-subword): Rename from c-capitalize-subword.
13923 (forward-subword-internal): Rename from c-forward-subword-internal.
13924 (backward-subword-internal): Rename from c-backward-subword-internal.
13926 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
13928 * vc.el (vc-deduce-fileset): Allow non-state changing operations
13929 from a dired buffer.
13930 (vc-dired-deduce-fileset): New function.
13931 (vc-root-diff, vc-print-root-log): Use it.
13933 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
13934 nil LIMIT argument to vc-print-log-internal.
13936 2009-11-20 Glenn Morris <rgm@gnu.org>
13938 * Makefile.in (ELCFILES): Regenerate.
13940 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
13942 * calc/calc.el (calc-set-mode-line):
13943 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13944 (math-format-number): Rename `math-format-complement-signed' to
13945 `math-format-twos-complement'.
13947 * calc/calc-bin.el (math-format-twos-complement): Rename from
13948 math-format-complement-signed.
13949 (calc-radix): Rename `calc-complement-signed-mode' to
13950 `calc-twos-complement-mode'.
13951 (calc-octal-radix, calc-hex-radix): Add an argument for
13954 * calc/calc-embed.el (calc-embedded-mode-vars):
13955 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13957 * calc/calc-ext.el (calc-init-extensions):
13958 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13959 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
13961 * calc/calc-units.el (math-build-units-table-buffer):
13962 Let `calc-twos-complement-mode' be nil.
13964 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
13967 * calc/calc-vec.el (calcFunc-vunpack):
13968 * calc/calc-aent.el (calc-do-calc-eval):
13969 * calc/calc-forms.el (math-format-date):
13970 * calc/calc-graph.el (calc-graph-plot):
13971 * calc/calc-math.el (math-use-emacs-fn):
13972 * calc/calccomp.el (math-compose-expr):
13973 Let `calc-twos-complement-mode' be nil.
13975 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
13977 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
13978 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
13979 * minibuffer.el (completion-in-region-functions): New hook.
13980 (completion-in-region): New function.
13981 * emacs-lisp/lisp.el (lisp-complete-symbol):
13982 * pcomplete.el (pcomplete-std-complete): Use it.
13984 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
13986 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
13987 (latex-complete-alist): New vars.
13988 (latex-string-prefix-p, latex-complete-bibtex-keys)
13989 (latex-complete-envnames, latex-complete-refkeys)
13990 (latex-complete-data): New functions.
13991 (latex-complete, latex-indent-or-complete): New commands.
13993 * window.el (display-buffer-mark-dedicated): New var.
13994 (display-buffer): Obey it.
13995 * minibuffer.el (minibuffer-completion-help): Use it.
13997 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
13999 * filecache.el (file-cache-add-file): Use push and cons.
14000 (file-cache-delete-file-regexp): Use push.
14001 (file-cache-complete): Use completion-in-region.
14003 * simple.el (with-wrapper-hook): Fix thinko.
14005 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
14006 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
14007 Use with-current-buffer and string-to-number.
14008 (hfy-fallback-colour-values): Use assoc-string.
14009 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
14010 (hfy-face-at): Remove unused var `found-face'.
14011 (hfy-compile-stylesheet): Remove unused var `css'.
14012 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
14014 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
14015 Use with-current-buffer.
14016 (hfy-text-p): Use expand-file-name and fewer setq.
14018 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
14020 * htmlfontify.el, hfy-cmap.el: New files.
14022 2009-11-19 Juri Linkov <juri@jurta.org>
14024 * minibuffer.el (completions-format): New defcustom.
14025 (completion--insert-strings): Implement vertical format.
14027 * simple.el (switch-to-completions): Move point to the first
14028 completion when point was at the beginning of the buffer.
14030 2009-11-19 Juri Linkov <juri@jurta.org>
14032 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
14034 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
14036 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
14038 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
14039 (mail-signature): Change default to t.
14040 (mail-from-style): Deprecate `system-default' value.
14041 (mail-insert-from-field): For default value of mail-from-style,
14042 default to `angles' unless `angles' needs quoting and `parens'
14044 (mail-citation-prefix-regexp): Use citation regexp from
14047 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
14049 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
14050 Set variables for computing the prompt for reading password.
14052 2009-11-19 Glenn Morris <rgm@gnu.org>
14054 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
14056 * textmodes/flyspell.el (sgml-lexical-context): Declare.
14058 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
14059 (newsticker-treeview-listwindow-height): Fix custom type.
14061 2009-11-19 Kenichi Handa <handa@m17n.org>
14063 * descr-text.el (describe-char-padded-string): Compose with TAB
14064 only if there's a font for CH.
14065 (describe-char): Fix the condition for detecting a trivial composition.
14067 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
14069 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
14070 more accurate version of the regexp. (Bug#3910)
14072 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
14074 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
14076 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
14078 * font-setting.el (font-use-system-font): Declare for byte-compiler.
14079 (font-setting-change-default-font): Fix typo in docstring.
14081 2009-11-18 Alan Mackenzie <acm@muc.de>
14083 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
14085 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
14087 * font-setting.el (font-use-system-font): Move ...
14089 * cus-start.el (all): ... to here.
14091 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
14093 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
14094 Don't set `ad-return-value' if `ad-do-it' doesn't.
14096 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
14099 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
14101 * menu-bar.el: Put "Use system font" in Option-menu.
14102 (menu-bar-options-save): Add font-use-system-font.
14104 * loadup.el: If feature system-font-setting or font-render-setting is
14105 there, load font-setting.
14107 * Makefile.in (ELCFILES): Add font-settings.el.
14108 * font-setting.el: New file.
14110 2009-11-17 Glenn Morris <rgm@gnu.org>
14112 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
14114 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
14115 Preserve point in the list buffer. (Bug#4939)
14117 (newsticker--treeview-list-update-highlight)
14118 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
14120 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
14122 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
14125 * calc/calc-ext.el (calc-init-extensions): Remove references to
14128 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
14130 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
14131 * calc/calc-help.el (calc-b-prefix-help): Remove references to
14134 2009-11-16 Kevin Ryde <user42@zip.com.au>
14136 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
14137 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
14139 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
14140 (lm-keywords-list): Allow comma-only separator like "foo,bar".
14141 Ignore trailing spaces by omit-nulls to split-string (fixing
14142 regression from Emacs 21 due to the incompatible split-string
14143 change). (Bug #4928.)
14145 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
14147 * vc.el (vc-log-show-limit): Default to 2000.
14148 (vc-print-log-internal): Insert buttons to request more entries
14149 when limiting the output.
14151 * vc-sccs.el (vc-sccs-print-log):
14152 * vc-rcs.el (vc-rcs-print-log):
14153 * vc-cvs.el (vc-cvs-print-log):
14154 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
14157 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
14159 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
14160 error when `tramp-gvfs-dbus-event-vector' is set.
14161 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
14163 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
14165 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
14167 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
14169 * net/dbus.el (dbus-unregister-service): New defun.
14170 (dbus-register-property): Register the handlers of
14171 "org.freedesktop.DBus.Properties" for SERVICE.
14172 (dbus-property-handler): Fix docstring.
14174 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14176 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
14177 Quote doc string reference in defvaralias as it is not in special form.
14178 (byte-compile-output-docform): Doc fix.
14180 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
14182 * calc/calc.el (math-2-word-size, math-half-2-word-size)
14183 (calc-complement-signed-mode): New variables.
14184 (calc-set-mode-line): Add indicator for twos-complements.
14185 (math-format-number): Format twos-complement notation.
14187 * calc/calc-bin.el (calc-word-size): Reset the variables
14188 `math-2-word-size' and `math-half-2-word-size'.
14189 (math-format-complement-signed, math-symclip, calcFunc-symclip)
14190 (calc-symclip): New functions.
14192 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
14194 * calc/calc-embed.el (calc-embedded-mode-vars):
14195 Add `calc-complement-signed-mode' to the list of modes.
14197 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
14198 (calc-b-oper-keys): Add `calc-symclip' to list.
14200 * calc/calc-ext.el (math-read-number-fancy): Read complement
14202 (calc-init-extensions): Add binding for `calc-symclip'.
14203 Add autoload for `calcFunc-symclip' and `calc-symclip'.
14205 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
14207 (calc-modes-menu): Add item for twos complement mode.
14209 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
14211 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
14213 * register.el (jump-to-register, insert-register): Handle Semantic
14214 tags. From commented-out advice in semantic/senator.el.
14216 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
14218 * vc.el (vc-log-show-limit): New variable.
14219 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
14220 when using a prefix argument.
14221 (vc-print-log-internal): Add new argument LIMIT.
14223 * vc-svn.el (vc-svn-print-log):
14224 * vc-mtn.el (vc-mtn-print-log):
14225 * vc-hg.el (vc-hg-print-log):
14226 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
14227 pass it to the log command when set. Make the BUFFER argument
14230 * vc-sccs.el (vc-sccs-print-log):
14231 * vc-rcs.el (vc-rcs-print-log):
14232 * vc-git.el (vc-git-print-log):
14233 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
14234 ignore it. Make the BUFFER argument non-optional
14236 * bindings.el (mode-line-buffer-identification): Do not purecopy.
14238 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
14240 * dired.el (dired-mode-map): Move encryption items to "Operate"
14243 * strokes.el (strokes-update-window-configuration): Make strokes
14244 buffer current before erasing (Bug#4906).
14246 2009-11-15 Juri Linkov <juri@jurta.org>
14248 * simple.el (set-mark-default-inactive): Add :type, :group
14249 and :version. (Bug#4876)
14251 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
14253 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
14254 (archive-unique-fname): ... here. (Bug#4929)
14256 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
14258 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
14261 * novice.el (disabled-command-function): Add useful args.
14262 Setup the help buffer so that [back] works.
14263 Remove redundant call to help-mode.
14264 (disabled-command-function): Use `case'.
14265 (en/disable-command): New function extracted from enable-command.
14266 (enable-command, disable-command): Use it.
14268 2009-11-14 Glenn Morris <rgm@gnu.org>
14270 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
14271 constants. (Bug#4913)
14273 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
14275 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
14277 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
14278 defined in C that have no doc-strings. (Bug#1063)
14280 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
14282 * cus-edit.el (data, files):
14283 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
14285 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
14287 * simple.el (shell-command): Doc fix (Bug#4891).
14289 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
14291 2009-11-14 Glenn Morris <rgm@gnu.org>
14293 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
14294 statements for vc-diff, emerge-quit, and rmail-cease-edit.
14295 If they are already loaded, eval-after-load will do the right thing.
14297 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
14300 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
14302 * simple.el (x-selection-owner-p): Declare.
14303 (read-mail-command): Use custom radio type rather than choice.
14304 (completion-no-auto-exit): Doc fix.
14306 * custom.el (defgroup):
14307 * epg-config.el (epg): Doc fixes.
14309 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
14311 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
14312 * international/ccl.el (define-ccl-program): Do not purecopy the
14313 docstring, defconst does it anyway.
14315 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
14317 * add-log.el (add-change-log-entry): Avoid displaying the changelog
14320 * x-dnd.el (x-dnd-maybe-call-test-function):
14321 * window.el (split-window-vertically):
14322 * whitespace.el (whitespace-help-on):
14323 * vc-rcs.el (vc-rcs-consult-headers):
14324 * userlock.el (ask-user-about-lock-help)
14325 (ask-user-about-supersession-help):
14326 * type-break.el (type-break-force-mode-line-update):
14327 * time-stamp.el (time-stamp-conv-warn):
14328 * terminal.el (te-set-output-log, te-more-break, te-filter)
14329 (te-sentinel, terminal-emulator):
14330 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
14331 (term-write-input-ring, term-check-source, term-start-output-log):
14332 (term-display-buffer-line, term-dynamic-list-completions):
14333 (term-ansi-make-term, serial-term):
14334 * subr.el (selective-display):
14335 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
14336 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
14337 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
14338 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
14339 (speedbar-remove-localized-speedbar-support)
14340 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
14341 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
14342 (speedbar-buffers-line-directory):
14343 * simple.el (shell-command-on-region, append-to-buffer)
14344 (prepend-to-buffer):
14345 * shadowfile.el (shadow-save-todo-file):
14346 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
14347 (scroll-bar-maybe-set-window-start):
14348 * sb-image.el (speedbar-image-dump):
14349 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
14350 (load-save-place-alist-from-file):
14351 * ps-samp.el (ps-print-message-from-summary):
14352 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
14353 (ps-background-image, ps-begin-job, ps-do-despool):
14354 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
14355 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
14356 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
14357 (pr-call-process, pr-file-list, pr-interface-save):
14358 * novice.el (disabled-command-function)
14359 (enable-command, disable-command):
14360 * mouse.el (mouse-buffer-menu-alist):
14361 * mouse-copy.el (mouse-kill-preserving-secondary):
14362 * macros.el (kbd-macro-query):
14363 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
14364 * informat.el (batch-info-validate):
14365 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
14366 * hippie-exp.el (try-expand-dabbrev-visible):
14367 * help-mode.el (help-make-xrefs):
14368 * help-fns.el (describe-variable):
14369 * generic-x.el (bat-generic-mode-run-as-comint):
14370 * finder.el (finder-mouse-select):
14371 * find-dired.el (find-dired-sentinel):
14372 * filesets.el (filesets-file-close):
14373 * files.el (list-directory):
14374 * faces.el (list-faces-display, describe-face):
14375 * facemenu.el (list-colors-display):
14376 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
14377 * epg.el (epg--process-filter, epg-cancel):
14378 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
14379 (epa--read-signature-type):
14380 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
14381 (emerge-file-names):
14382 * ehelp.el (electric-helpify):
14383 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
14384 * ediff-vers.el (rcs-ediff-view-revision):
14385 * ediff-util.el (ediff-setup):
14386 * ediff-mult.el (ediff-append-custom-diff):
14387 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
14389 * echistory.el (Electric-command-history-redo-expression):
14390 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
14391 * disp-table.el (describe-display-table):
14392 * dired.el (dired-find-buffer-nocreate):
14393 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
14394 * dabbrev.el (dabbrev--same-major-mode-p):
14395 * chistory.el (list-command-history):
14396 * apropos.el (apropos-documentation):
14397 * allout.el (allout-obtain-passphrase):
14398 (allout-copy-exposed-to-buffer):
14399 (allout-verify-passphrase): Use with-current-buffer.
14401 2009-11-13 Glenn Morris <rgm@gnu.org>
14403 * Makefile.in (ELCFILES): Regenerate.
14405 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
14407 * net/dbus.el (dbus-registered-objects-table): Rename from
14408 `dbus-registered-functions-table', because it contains also properties.
14409 (dbus-unregister-object): Unregister also properties.
14410 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14411 Use a timeout of 500 msec, in order to not block.
14412 (dbus-register-property, dbus-property-handler): New defuns.
14414 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
14416 * simple.el (minibuffer-default-add-completions): Drop deprecated
14419 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
14421 * textmodes/artist.el (artist-mouse-choose-operation):
14422 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
14423 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
14424 (artist-compute-up-event-key): New function.
14425 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
14427 2009-11-13 Kenichi Handa <handa@m17n.org>
14429 * language/japan-util.el: Make sure that the value of jisx0208
14430 property is jisx0208 character.
14432 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
14434 * international/mule.el (auto-coding-regexp-alist): Only purecopy
14435 car or each item, not the whole list.
14437 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
14439 * minibuffer.el (minibuffer-completion-help):
14440 Use minibuffer-hide-completions.
14442 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
14444 * dired.el (dired-save-positions, dired-restore-positions): New funs.
14445 (dired-revert): Use them (bug#4880).
14447 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
14449 * tooltip.el (tooltip-frame-parameters): Undo previous change.
14451 2009-11-12 Juri Linkov <juri@jurta.org>
14453 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
14455 (find-file-literally-at-point): Alias of `ffap-literally'.
14457 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
14459 * textmodes/ispell.el (ispell-skip-region-alist):
14460 * textmodes/css-mode.el (auto-mode-alist):
14461 * progmodes/compile.el (auto-mode-alist):
14462 * international/mule.el (ctext-non-standard-encodings-alist)
14463 (ctext-non-standard-encodings-regexp):
14464 * simple.el (shell-command-switch, text-read-only):
14465 * replace.el (occur-mode-map):
14466 * paths.el (rmail-file-name):
14467 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
14468 * find-file.el (ff-special-constructs):
14469 * files.el (file-name-handler-alist):
14470 * composite.el: Purecopy strings.
14472 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
14474 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
14476 * widget.el (define-widget): Purecopy the docstring.
14477 * international/mule-cmds.el (charset): Do not purecopy the
14478 docstring here, define-widget does it.
14480 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
14481 * textmodes/bibtex-style.el (auto-mode-alist):
14482 * progmodes/inf-lisp.el (inferior-lisp-prompt):
14483 * progmodes/compile.el (compile-command):
14484 * language/korea-util.el (default-korean-keyboard):
14485 * international/mule-conf.el (file-coding-system-alist):
14486 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
14487 * tooltip.el (tooltip-frame-parameters):
14488 * newcomment.el (comment-end, comment-padding):
14489 * dired.el (dired-trivial-filenames):
14490 * comint.el (comint-file-name-prefix): Purecopy initial values.
14492 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
14494 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
14495 (tramp-advice-minibuffer-electric-tilde): Unload advices via
14497 (tramp-advice-make-auto-save-file-name)
14498 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
14499 after removing the advice.
14501 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
14503 * progmodes/grep.el (grep-regexp-alist):
14504 * international/mule-cmds.el (iso-2022-control-alist):
14505 * emacs-lisp/timer.el (timer-duration-words):
14506 * subr.el (version-separator, version-regexp-alist):
14507 * minibuffer.el (completion-styles-alist):
14508 * faces.el (face-attribute-name-alist, list-faces-sample-text):
14509 Change defvars to defconsts.
14511 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
14512 * loadup.el ("international/mule-conf"): Load the byte compiled version.
14513 * international/mule-conf.el: Allow to be byte compiled.
14515 * international/mule.el (define-charset): Purecopy props.
14516 (load-with-code-conversion): Purecopy doc string and file name.
14517 (put-charset-property): Purecopy strings.
14518 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
14520 * international/mule-cmds.el (register-input-method): Purecopy arguments.
14521 (define-char-code-property): Correctly purecopy the table.
14523 * international/ccl.el (define-ccl-program): Purecopy the docstring.
14525 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
14527 * subr.el (add-hook): Purecopy strings.
14528 (eval-after-load): Purecopy load-history-regexp and the form.
14530 * custom.el (custom-declare-group): Purecopy load-file-name.
14532 * subr.el (menu-bar-separator): New defconst.
14533 * net/eudc.el (eudc-tools-menu):
14534 * international/mule-cmds.el (set-coding-system-map)
14535 (mule-menu-keymap):
14536 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14537 * vc-hooks.el (vc-menu-map):
14538 * replace.el (occur-mode-map):
14539 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
14540 (menu-bar-edit-menu, menu-bar-goto-menu)
14541 (menu-bar-custom-menu, menu-bar-showhide-menu)
14542 (menu-bar-options-menu, menu-bar-tools-menu)
14543 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
14544 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
14545 (menu-bar-help-menu):
14546 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
14547 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
14549 * term/x-win.el (x-gtk-stock-map):
14550 * progmodes/vera-mode.el (auto-mode-alist):
14551 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
14552 (inferior-lisp-program, inferior-lisp-load-command):
14553 * progmodes/hideshow.el (hs-special-modes-alist):
14554 * progmodes/gud.el (same-window-regexps):
14555 * progmodes/grep.el (grep-program, find-program, xargs-program):
14556 * net/telnet.el (same-window-regexps):
14557 * net/rlogin.el (same-window-regexps):
14558 * language/ethiopic.el (font-ccl-encoder-alist):
14559 * vc-sccs.el (vc-sccs-master-templates):
14560 * vc-rcs.el (vc-rcs-master-templates):
14561 * subr.el (cl-assertion-failed):
14562 * simple.el (next-error-overlay-arrow-position):
14563 * lpr.el (lpr-command):
14564 * locate.el (locate-ls-subdir-switches):
14565 * info.el (same-window-regexps, info)
14566 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
14567 * image-mode.el (image-mode, auto-mode-alist):
14568 * hippie-exp.el (hippie-expand-ignore-buffers):
14569 * format.el (format-alist):
14570 * find-dired.el (find-ls-subdir-switches, find-grep-options)
14572 * facemenu.el (facemenu-keybindings):
14573 * dired.el (dired-listing-switches, dired-chown-program):
14574 * diff.el (diff-switches, diff-command):
14575 * cus-edit.el (same-window-regexps):
14576 * bindings.el (mode-line-mule-info)
14577 (mode-line-buffer-identification): Purecopy strings.
14579 2009-11-11 Juri Linkov <juri@jurta.org>
14581 * simple.el (dired-get-filename) <declare-function>:
14582 Tell the byte-compiler about dired-get-filename.
14583 (shell-command): In Dired mode, get filename from the current line
14584 as the default value.
14586 2009-11-10 Glenn Morris <rgm@gnu.org>
14588 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
14589 * calendar/holidays.el, progmodes/cperl-mode.el:
14590 Update x-popup-menu declarations.
14592 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
14593 (list-load-path-shadows): Use dolist.
14594 (list-load-path-shadows): Use with-current-buffer.
14596 2009-11-10 Juri Linkov <juri@jurta.org>
14598 * minibuffer.el (read-file-name): Support a list of default values
14599 in `default-filename'. Use the first file name where only one
14600 element is required. Doc fix.
14602 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
14604 * net/dbus.el (dbus-unregister-object): Release service, if no
14605 other method is registered for it.
14607 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
14609 * bookmark.el (bookmark-completing-read): Sort bookmark names if
14610 bookmark-sort-flag is non-nil (Bug#4653).
14612 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
14614 * emulation/cua-base.el: Add CUA property to some CC mode commands
14617 2009-11-08 Kevin Ryde <user42@zip.com.au>
14619 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
14620 at end of sentence (Bug#4818).
14622 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
14624 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14625 Handle "see declaration of" MSFT statements (Bug#4100).
14627 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
14629 * net/tramp.el (tramp-advice-make-auto-save-file-name)
14630 (tramp-advice-file-expand-wildcards): Unload via
14631 `ad-remove-advice'.
14633 * net/trampver.el: Update release number.
14635 2009-11-08 Kevin Ryde <user42@zip.com.au>
14637 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
14640 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
14642 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
14643 in order to keep context in SELinux.
14645 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
14647 * dired-aux.el (dired-query): Place cursor in echo area and allow
14650 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
14651 menu item if not on a directory (Bug#4701).
14653 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
14655 Sync with Tramp 2.1.17.
14657 * net/tramp.el (tramp-handle-copy-directory): Don't use
14658 `file-remote-p' (due to compatibility).
14660 * net/tramp-compat.el (tramp-compat-copy-directory)
14661 (tramp-compat-delete-directory): New defuns.
14663 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
14664 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
14665 Use `tramp-compat-delete-directory'.
14667 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
14668 (tramp-smb-handle-delete-directory):
14669 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
14671 * net/trampver.el: Update release number.
14673 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
14675 * tar-mode.el (tar-copy): Call write-region on the right buffer
14678 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
14679 by hand, if necessary (Bug#4878).
14681 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
14683 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
14684 align size column (Bug#4839).
14686 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
14689 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
14691 * progmodes/ld-script.el (auto-mode-alist):
14692 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
14694 * cus-face.el (custom-declare-face): Purecopy face spec.
14696 2009-11-06 Kenichi Handa <handa@m17n.org>
14698 * international/uni-bidi.el: Re-generated.
14699 * international/uni-category.el: Re-generated.
14700 * international/uni-combining.el: Re-generated.
14701 * international/uni-mirrored.el: Re-generated.
14703 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
14705 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
14706 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
14707 (tex-start-options, slitex-run-command, latex-run-command)
14708 (tex-run-command, tex-directory):
14709 * textmodes/ispell.el (ispell-html-skip-alists)
14710 (ispell-tex-skip-alists, ispell-tex-skip-alists):
14711 * textmodes/fill.el (adaptive-fill-first-line-regexp):
14712 (adaptive-fill-regexp):
14713 * textmodes/dns-mode.el (auto-mode-alist):
14714 * progmodes/python.el (interpreter-mode-alist):
14715 * progmodes/etags.el (tags-compression-info-list):
14716 * progmodes/etags.el (tags-file-name):
14717 * net/browse-url.el (browse-url-galeon-program)
14718 (browse-url-firefox-program):
14719 * mail/sendmail.el (mail-signature-file)
14720 (mail-citation-prefix-regexp):
14721 * international/mule-conf.el (eight-bit):
14722 * international/latexenc.el (latex-inputenc-coding-alist):
14723 * international/fontset.el (x-pixel-size-width-font-regexp):
14724 * emacs-lisp/warnings.el (warning-type-format):
14725 * emacs-lisp/trace.el (trace-buffer):
14726 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
14727 (emacs-lisp-mode-map):
14728 * calendar/holidays.el (holiday-solar-holidays)
14729 (holiday-bahai-holidays, holiday-islamic-holidays)
14730 (holiday-christian-holidays, holiday-hebrew-holidays)
14731 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
14732 (hebrew-holidays-1, holiday-oriental-holidays)
14733 (holiday-general-holidays):
14734 * x-dnd.el (x-dnd-known-types):
14735 * tool-bar.el (tool-bar):
14736 * startup.el (site-run-file):
14737 * shell.el (shell-dumb-shell-regexp):
14738 * rfn-eshadow.el (file-name-shadow-tty-properties)
14739 (file-name-shadow-properties):
14740 * paths.el (remote-shell-program, news-directory):
14741 * mouse.el ([C-down-mouse-3]):
14742 * menu-bar.el (menu-bar-tools-menu):
14743 * jka-cmpr-hook.el (jka-compr-load-suffixes)
14744 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
14745 (jka-compr-compression-info-list):
14746 * isearch.el (search-whitespace-regexp):
14747 * image-file.el (image-file-name-extensions):
14748 * find-dired.el (find-ls-option):
14749 * files.el (directory-listing-before-filename-regexp)
14750 (directory-free-space-args, insert-directory-program)
14751 (list-directory-brief-switches, magic-fallback-mode-alist)
14752 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
14753 (automount-dir-prefix):
14754 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
14755 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
14756 (face-font-registry-alternatives, face-font-registry-alternatives)
14757 (face-font-family-alternatives):
14758 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
14759 (facemenu-foreground-menu, facemenu-face-menu):
14760 * epa-hook.el (epa-file-name-regexp):
14761 * dnd.el (dnd-protocol-alist):
14762 * textmodes/rst.el (auto-mode-alist):
14763 * button.el (default-button): Purecopy strings.
14765 2009-11-06 Glenn Morris <rgm@gnu.org>
14767 * Makefile.in (ELCFILES): Update.
14769 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
14771 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
14772 * emacs-lisp/levents.el: Move to obsolete/levents.el.
14774 * nxml/xsd-regexp.el (xsdre-gen-categories):
14775 * nxml/xmltok.el (xmltok-parse-entity):
14776 * nxml/rng-parse.el (rng-parse-validate-file):
14777 * nxml/rng-maint.el (rng-format-manual)
14778 (rng-manual-output-force-new-line):
14779 * nxml/rng-loc.el (rng-save-schema-location-1):
14780 * nxml/rng-cmpct.el (rng-c-parse-file):
14781 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
14782 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
14784 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
14786 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
14787 Remove extra save-excursions and make-variable-buffer-local's.
14788 Suggested by Stefan Monnier.
14790 (verilog-getopt-file, verilog-module-inside-filename-p)
14791 (verilog-set-define): Merge GNU 1.35 and repair changes from
14792 switching to using with-current-buffer.
14794 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
14795 being treated as a number and confusing AUTORESET.
14796 Reported by Dan Dever.
14798 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
14799 Add verilog-auto-ignore-concat to fix backward compatibility with
14800 older verilog-modes. Reported by Dan Katz.
14802 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
14803 containing closing anchors "...$".
14805 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
14806 Reported by Wade Smith.
14808 (verilog-batch-execute-func): Comment on function usage.
14810 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
14812 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
14815 (verilog-label-re, verilog-calc-1): Support proper indent of named
14818 (verilog-backward-token, verilog-basic-complete-re)
14819 (verilog-beg-of-statement, verilog-indent-re): Support proper
14820 indent of the assert statement at the beginning of a block of text.
14822 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
14823 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
14826 2009-11-05 Glenn Morris <rgm@gnu.org>
14828 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
14829 Emacs 19. (Bug#1531)
14830 (byte-compile-fix-header): Update for the above change.
14831 Drop test for epoch::version.
14833 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
14834 * cus-dep.el (custom-make-dependencies):
14835 * finder.el (finder-compile-keywords):
14836 Use autoload-rubric's feature argument.
14838 * calendar/diary-lib.el (top-level): Make load behave more like require.
14840 * vc-git.el (vc-git-stash-map): Move definition before use.
14842 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
14844 * custom.el (custom-declare-group): Purecopy standard-value.
14845 (custom-declare-group): Purecopy custom-prefix.
14847 * international/mule.el (load-with-code-conversion):
14848 Call do-after-load-evaluation unconditionally.
14850 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
14852 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
14854 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
14856 2009-11-04 Glenn Morris <rgm@gnu.org>
14858 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
14859 (byte-compile-compatibility): Remove option.
14860 (byte-compile-close-variables, byte-compile-fix-header)
14861 (byte-compile-insert-header, byte-compile-output-docform)
14862 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
14863 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
14864 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
14865 (byte-compile-insert, byte-compile-defun):
14866 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
14867 (byte-defop-compiler19): Remove.
14868 Without byte-compile-compatibility, the 'emacs19-opcode property is not
14869 used by anything. Replace all calls with byte-defop-compiler.
14871 2009-11-04 Juri Linkov <juri@jurta.org>
14873 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
14874 (menu-bar-options-menu): Don't quote the `prop' arg of
14875 `menu-bar-make-mm-toggle'.
14877 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
14879 * calendar/calendar.el (cal-loaddefs):
14880 * calendar/diary-lib.el (diary-loaddefs):
14881 * calendar/holidays.el (hol-loaddefs):
14882 * eshell/esh-module.el (esh-groups): Load rather than require.
14884 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
14886 * calendar/todo-mode.el (todo-add-category): Don't hardcode
14888 (todo-top-priorities): Only display-buffer when called interactively.
14889 (todo-item-start): Don't save excursion point.
14890 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
14891 (todo-insert-item-here, todo-file-item, todo-remove-item):
14892 Adjust uses of todo-item-start and todo-item-end.
14894 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
14895 (autoload-rubric): Don't use any more.
14897 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
14898 and only put a prop if it is non-nil.
14900 2009-11-03 Juri Linkov <juri@jurta.org>
14902 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
14903 (menu-bar-options-menu): Fix list quoting (Bug#4429).
14905 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
14906 and "Menu" to make top-level menu item visually one unit (like
14907 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
14908 multi-word menu items). Fix :help string for quit-window.
14910 2009-11-03 Glenn Morris <rgm@gnu.org>
14912 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
14913 (byte-compile-file-form-define-abbrev-table)
14914 (byte-compile-file-form-custom-declare-variable)
14915 (byte-compile-variable-ref, byte-compile-defvar):
14916 Whether or not a warning is enabled should only affect whether we issue
14917 the warning, not whether or not we collect the relevant data.
14918 Eg warnings can be turned on and off throughout the course of a file.
14920 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
14921 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
14923 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
14925 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
14926 * play/mpuz.el (mpuz-create-buffer):
14927 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
14928 (lm-print-y,s,noise, lm-print-w0, lm-init):
14929 * play/gomoku.el (gomoku-prompt-for-move):
14930 * play/fortune.el (fortune-in-buffer):
14931 * play/dissociate.el (dissociated-press):
14932 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
14933 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
14934 * mail/supercite.el (sc-eref-show):
14935 * mail/smtpmail.el (smtpmail-send-it):
14936 * mail/rmailsum.el (rmail-summary-next-labeled-message)
14937 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
14938 (rmail-summary-undelete-many, rmail-summary-rmail-update)
14939 (rmail-summary-goto-msg, rmail-summary-expunge)
14940 (rmail-summary-get-new-mail, rmail-summary-search-backward)
14941 (rmail-summary-add-label, rmail-summary-output-menu)
14942 (rmail-summary-output-body):
14943 * mail/rfc822.el (rfc822-addresses):
14944 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
14945 * mail/mailpost.el (post-mail-send-it):
14946 * mail/hashcash.el (hashcash-generate-payment):
14947 * mail/feedmail.el (feedmail-run-the-queue)
14948 (feedmail-queue-send-edit-prompt-help-first)
14949 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
14950 (feedmail-deduce-address-list):
14951 * eshell/esh-ext.el (eshell-remote-command):
14952 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
14953 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
14954 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
14955 (viper-save-string-in-file, viper-valid-marker):
14956 * emulation/viper-keym.el (viper-toggle-key):
14957 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
14958 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
14959 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
14960 * emulation/viper-cmd.el (viper-exec-form-in-vi)
14961 (viper-exec-form-in-emacs, viper-brac-function):
14962 * emulation/viper.el (viper-delocalize-var):
14963 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
14964 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
14965 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
14966 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
14967 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
14968 * emulation/edt.el (edt-electric-helpify):
14969 * emulation/cua-rect.el (cua--rectangle-aux-replace):
14970 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
14971 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
14972 (cua-indent-to-global-mark-column):
14973 * calendar/diary-lib.el (calendar-mark-1):
14974 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
14975 Use with-current-buffer.
14976 * emulation/viper.el (viper-delocalize-var): Use dolist.
14978 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
14980 * comint.el (comint-replace-by-expanded-history-before-point):
14981 Replace !! with the previous input string literally (Bug#1795).
14983 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
14985 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
14986 to be made up of whitespace.
14988 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
14990 * minibuffer.el (read-file-name): Don't use file dialogs for
14991 remote directories (Bug#99).
14993 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
14995 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
14997 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
14999 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
15000 instead of deleting the window or frame.
15002 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15004 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
15005 Support face colors.
15007 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
15008 New function. Support face colors (Bug#1168).
15009 (tex-common-initialization): Use it.
15011 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
15012 mode allows it (Bug#1168).
15014 2009-10-31 Juri Linkov <juri@jurta.org>
15016 * facemenu.el (list-colors-display): Don't mark buffer as
15017 modified (Bug#3948).
15019 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15021 * international/mule-diag.el (list-character-sets-1):
15022 Minor message fix (Bug#3526).
15024 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
15025 Fix face property (Bug#4834).
15026 (etags-list-tags, etags-tags-apropos-additional)
15027 (etags-tags-apropos, tags-select-tags-table): Add follow-link
15030 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
15033 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
15035 * textmodes/two-column.el (2C-split):
15036 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
15037 * textmodes/tex-mode.el (tex-set-buffer-directory):
15038 * textmodes/spell.el (spell-region, spell-string):
15039 * textmodes/reftex.el (reftex-erase-buffer):
15040 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
15041 * textmodes/reftex-toc.el (reftex-toc-promote-action):
15042 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
15043 (reftex-select-item):
15044 * textmodes/reftex-ref.el (reftex-label-info-update)
15045 (reftex-offer-label-menu):
15046 * textmodes/reftex-index.el (reftex-index-change-entry)
15047 (reftex-index-phrases-info):
15048 * textmodes/reftex-global.el (reftex-create-tags-file)
15049 (reftex-save-all-document-buffers, reftex-ensure-write-access):
15050 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
15051 (reftex-view-crossref-from-bibtex):
15052 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
15053 (reftex-extract-bib-entries-from-thebibliography)
15054 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
15055 * textmodes/refbib.el (r2b-capitalize-title):
15056 (r2b-convert-buffer, r2b-help):
15057 * textmodes/page-ext.el (pages-directory)
15058 (pages-directory-goto-with-mouse):
15059 * textmodes/bibtex.el (bibtex-validate-globally):
15060 * textmodes/bib-mode.el (bib-capitalize-title):
15061 * textmodes/artist.el (artist-clear-buffer, artist-system):
15062 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
15063 (local-set-scheme-interaction-buffer, xscheme-process-filter)
15064 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
15065 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
15066 (xscheme-send-control-g-interrupt, xscheme-start-process)
15067 (xscheme-process-sentinel, xscheme-cd):
15068 * progmodes/verilog-mode.el (verilog-read-always-signals)
15069 (verilog-set-define, verilog-getopt-file)
15070 (verilog-module-inside-filename-p):
15071 * progmodes/sh-script.el:
15072 * progmodes/python.el (python-pdbtrack-get-source-buffer)
15073 (python-pdbtrack-grub-for-buffer, python-execute-file):
15074 * progmodes/octave-inf.el (inferior-octave):
15075 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
15076 (idlwave-shell-compile-helper-routines, idlwave-set-local)
15077 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
15078 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
15079 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
15080 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
15081 (idlwave-shell-filter, idlwave-shell-examine-highlight)
15082 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
15083 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
15084 (idlwave-shell-examine-display, idlwave-shell-run-region)
15085 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
15086 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
15087 * progmodes/idlw-help.el (idlwave-help-get-special-help)
15088 (idlwave-help-get-help-buffer):
15089 * progmodes/gud.el (gud-basic-call, gud-find-class)
15090 (gud-tooltip-activate-mouse-motions-if-enabled):
15091 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
15092 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
15093 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
15094 (ebrowse-tags-next-file):
15095 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
15096 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
15097 (ebnf-eps-finish-and-write):
15098 * progmodes/cpp.el (cpp-edit-save):
15099 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
15100 * progmodes/cc-defs.el (c-emacs-features):
15101 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
15102 (antlr-directory-dependencies):
15103 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
15104 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
15105 (ada-find-any-references, ada-make-filename-from-adaname)
15106 (ada-make-body-gnatstub):
15107 * obsolete/rnews.el (news-list-news-groups):
15108 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
15109 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
15110 * net/rcirc.el (rcirc-debug):
15111 * net/newst-treeview.el (newsticker--treeview-list-add-item)
15112 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
15113 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
15114 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
15115 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
15116 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
15117 (newsticker--treeview-list-clear-highlight)
15118 (newsticker--treeview-list-update-highlight)
15119 (newsticker--treeview-list-highlight-start)
15120 (newsticker--treeview-tree-update-highlight)
15121 (newsticker--treeview-get-selected-item)
15122 (newsticker-treeview-mark-list-items-old)
15123 (newsticker--treeview-set-current-node):
15124 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
15125 * net/newst-backend.el (newsticker--get-news-by-funcall)
15126 (newsticker--get-news-by-wget, newsticker--image-get)
15127 (newsticker--image-sentinel):
15128 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
15129 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
15130 (eudc-ph-close-session):
15131 * net/eudc.el (eudc-save-options):
15132 * language/thai-word.el (thai-update-word-table):
15133 * language/japan-util.el (japanese-string-conversion):
15134 * international/titdic-cnv.el (tsang-quick-converter)
15135 (ziranma-converter, ctlau-converter):
15136 * international/mule-cmds.el (describe-language-environment):
15137 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
15138 (skkdic-convert-postfix, skkdic-convert-prefix):
15139 (skkdic-convert-okuri-nasi, skkdic-convert):
15140 * emacs-lisp/re-builder.el (reb-update-overlays):
15141 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
15142 * emacs-lisp/gulp.el (gulp-send-requests):
15143 * emacs-lisp/find-gc.el (trace-call-tree):
15144 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
15145 (eieio-describe-generic):
15146 * emacs-lisp/eieio-base.el (eieio-persistent-read):
15147 * emacs-lisp/edebug.el (edebug-outside-excursion):
15148 * emacs-lisp/debug.el (debugger-make-xrefs):
15149 * emacs-lisp/cust-print.el (custom-prin1-to-string):
15150 * emacs-lisp/chart.el (chart-new-buffer):
15151 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
15152 Use with-current-buffer.
15153 * textmodes/artist.el (artist-system): Don't call
15154 copy-sequence on a fresh string.
15155 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
15157 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
15159 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
15160 is no item to edit. (Bug#4820)
15161 (todo-top-priorities): Restore point and restore narrowing in Todo
15164 2009-10-31 Glenn Morris <rgm@gnu.org>
15166 * net/ange-ftp.el (top-level): Don't require dired when compiling.
15167 (comint-last-output-start, comint-last-input-start)
15168 (comint-last-input-end): Don't defvar when compiling.
15169 (ange-ftp-process-file): Use bound-and-true-p.
15171 * pcmpl-rpm.el (top-level): Move provide statement to end.
15172 (pcmpl-rpm): Remove unused custom group.
15174 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
15176 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
15178 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
15179 (byte-compile-warnings): Add `constants' as an option.
15180 (byte-compile-callargs-warn, byte-compile-arglist-warn)
15181 (display-call-tree): Update for byte-compile-fdefinition possibly
15182 returning `(macro lambda ...)'. (Bug#4778)
15183 (byte-compile-variable-ref, byte-compile-setq-default):
15184 Respect `constants' member of byte-compile-warnings.
15186 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
15188 * vc-bzr.el (vc-bzr-revision-keywords): New var.
15189 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
15192 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
15194 * textmodes/ispell.el (ispell-skip-region-alist):
15195 * international/mule-conf.el (eight-bit):
15196 * international/fontset.el (font-encoding-alist):
15197 * startup.el (pure-space-overflow-message):
15198 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
15199 * paths.el (gnus-nntp-service, rmail-spool-directory)
15200 (term-file-prefix):
15201 * files.el (save-some-buffers-action-alist):
15202 * cmuscheme.el (same-window-buffer-names):
15203 * ielm.el (same-window-buffer-names):
15204 * shell.el (same-window-buffer-names):
15205 * mail/sendmail.el (same-window-buffer-names):
15206 * progmodes/inf-lisp.el (same-window-buffer-names):
15207 * bindings.el (mode-line-client)
15208 (mode-line-column-line-number-mode-map):
15209 * language/tibetan.el (tibetan-precomposition-rule-regexp)
15210 (tibetan-precomposed-regexp): Purecopy string arguments.
15212 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15214 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
15215 (calcDigit-nondigit):
15216 * calc/calc-yank.el (calc-copy-to-buffer):
15217 * calc/calc-units.el (calc-invalidate-units-table):
15218 * calc/calc-trail.el (calc-trail-yank):
15219 * calc/calc-store.el (calc-insert-variables):
15220 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
15221 * calc/calc-prog.el (calc-read-parse-table):
15222 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
15223 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
15224 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
15225 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
15226 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
15227 (calc-graph-name, calc-graph-find-command, calc-graph-view)
15228 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
15229 * calc/calc-ext.el (calc-realign):
15230 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
15231 (calc-embedded-finish-edit, calc-embedded-make-info)
15232 (calc-embedded-finish-command, calc-embedded-stack-change):
15233 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
15235 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
15236 shell-dynamic-complete-filename in preference to
15237 comint-dynamic-complete-filename.
15239 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
15240 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
15241 Don't consider whether the display supports colors.
15242 (bookmark-import-new-list): Use dolist.
15243 (bookmark-bmenu-mode-map): Move initialization into declaration.
15244 (bookmark-bmenu-list): Use dolist, simplify.
15245 (bookmark-show-all-annotations): Use save-selected-window and dolist.
15246 (menu-bar-final-items): Use push.
15248 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
15250 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
15251 it works on remote files.
15252 (vc-hg-diff): Don't pass any `--cwd' argument.
15254 2009-10-27 Kevin Ryde <user42@zip.com.au>
15256 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15257 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
15258 (Further to Bug#3921).
15260 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
15262 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
15263 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
15264 calling `tramp-imap-put-file'. Add file size to the call.
15265 (tramp-imap-get-file-entries): Compute also user name, file size,
15267 (tramp-imap-handle-insert-directory): Insert uid and gid.
15268 (tramp-imap-handle-file-attributes): Transform uid and gid
15269 according to `id-format'.
15270 (tramp-imap-put-file): New optional parameter SIZE. Encode file
15271 size in header X-Size.
15273 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
15275 * simple.el (transpose-subr): Give clearer error when the mark
15276 is not set. (Bug#4807)
15278 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
15280 * net/tramp.el (tramp-perl-file-truename): New defconst.
15281 Perl code contributed by yary <not.com@gmail.com> (tiny change).
15282 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
15283 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
15284 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
15286 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
15287 Ignore `dired-call-process'.
15288 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
15290 2009-10-26 Julian Scheid <julians37@gmail.com>
15292 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
15293 (tramp-get-remote-readlink): New defun.
15294 (tramp-handle-file-truename): Use it.
15295 (tramp-handle-file-exists-p): Check file-attributes cache, assume
15296 file exists if cache value present.
15297 (tramp-check-cached-permissions): New defun.
15298 (tramp-handle-file-readable-p): Use it.
15299 (tramp-handle-file-writable-p): Likewise.
15300 (tramp-handle-file-executable-p): Likewise.
15301 (tramp-handle-file-name-all-completions): Try using Perl to get
15302 partial completions. When perl not available, combine `cd' and
15303 `ls' into single remote operation and use shell expansion to get
15304 partial remote directory contents. Set `file-exists-p' cache for
15305 directory and any files returned by ls. Change cache handling to
15306 support partial directory contents. Use error message emitted by
15307 remote `cd' or Perl code for local tramp-error.
15308 (tramp-do-copy-or-rename-file-directly): Avoid separate
15309 tramp-send-command-and-check call.
15310 (tramp-handle-process-file): Merge three remote ops into one.
15311 Do not flush all caches when `process-file-side-effects' is set.
15312 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
15313 file-attributes shows uid/gid to be set already.
15315 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
15317 * textmodes/tex-mode.el (tex-dvi-view-command)
15318 (tex-show-queue-command, tex-open-quote):
15319 * progmodes/ruby-mode.el (auto-mode-alist)
15320 (interpreter-mode-alist): Purecopy strings.
15322 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
15324 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
15325 string for the hook, keymap and abbrev table.
15327 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
15329 * x-dnd.el (x-dnd-xdnd-to-action):
15330 * startup.el (fancy-startup-text, fancy-about-text): Change to
15331 defconst from defvar.
15333 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
15335 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
15336 Purecopy initialization strings.
15338 * mail/sendmail.el (mail-header-separator)
15339 (mail-personal-alias-file):
15340 * mail/rmail.el (rmail-default-dont-reply-to-names)
15341 (rmail-ignored-headers, rmail-retry-ignored-headers)
15342 (rmail-highlighted-headers, rmail-secondary-file-directory)
15343 (rmail-secondary-file-regexp):
15344 * files.el (null-device, file-name-invalid-regexp)
15345 (locate-dominating-stop-dir-regexp)
15346 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
15347 (interpreter-mode-alist): Use mapcar instead of mapc.
15349 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
15351 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
15352 (completion-ignored-extensions):
15353 (debug-ignored-errors): Purecopy strings.
15355 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
15357 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
15358 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
15359 (pcomplete--here): Use push.
15361 * subr.el (all-completions): Declare the 4th arg obsolete.
15363 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
15365 * pcomplete.el (pcomplete-unquote-argument-function): New var.
15366 (pcomplete-unquote-argument): New function.
15367 (pcomplete--common-suffix): Always pay attention to case.
15368 (pcomplete--table-subvert): Quote and unquote the text.
15369 (pcomplete--common-quoted-suffix): New function.
15370 (pcomplete-std-complete): Use it and pcomplete-begin.
15372 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
15373 we're inside a dedicated or minibuffer window.
15375 2009-10-24 Karl Fogel <kfogel@red-bean.com>
15377 * bookmark.el: Update documentation, especially documentation
15378 of `bookmark-alist' and of the bookmark file format.
15379 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
15381 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
15383 * mail/emacsbug.el (report-emacs-bug): Clarify that the
15384 keybindings apply to the mail buffer (Bug#4003). Shrink help
15387 * whitespace.el (whitespace-mode, whitespace-newline-mode)
15388 (global-whitespace-mode, global-whitespace-newline-mode)
15389 (whitespace-toggle-options, global-whitespace-toggle-options):
15390 Doc fix (Bug#3660).
15392 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
15393 of xmltok-start before the end tag was inserted (Bug#2840).
15395 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
15396 patterns that are preceded by an open-paren (Bug#1320).
15398 2009-10-24 Sven Joachim <svenjoac@gmx.de>
15400 * files.el (delete-directory): Delete symlinks to directories with
15401 delete-file (Bug#4739).
15403 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
15405 * vc.el (vc-backend-for-registration): Rename from
15406 vc-get-backend-for-registration. Update callers.
15408 * international/mule-cmds.el (set-language-info-alist):
15410 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
15411 (charset): Purecopy the name.
15412 (define-char-code-property): Purecopy string arguments.
15414 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15415 Purecopy string arguments.
15417 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15418 * ediff-hook.el (menu-bar-ediff-menu):
15419 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
15420 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
15422 2009-10-24 Glenn Morris <rgm@gnu.org>
15424 * comint.el (comint-dynamic-list-completions):
15425 * term.el (term-dynamic-list-completions): Use choose-completion rather
15426 than obsolete alias mouse-choose-completion.
15428 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
15429 file-cache-choose-completion.
15430 (file-cache-choose-completion): Handle an optional event argument.
15431 (file-cache-mouse-choose-completion): Make it an obsolete alias.
15433 * progmodes/octave-mod.el (octave-complete-symbol):
15434 Use choose-completion if mouse-choose-completion is ever removed.
15436 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
15439 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
15442 * vc-hooks.el (vc-responsible-backend): Fix declaration.
15444 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
15446 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
15447 Ignore `pred' now that we receive one.
15448 Handle test-completion specially.
15450 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
15452 * vc.el (vc-responsible-backend): Throw an error if not backend is
15453 found. Remove the REGISTER argument. Move the code dealing with
15455 (vc-get-backend-for-registration): ... here. New function.
15456 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
15457 of vc-responsible-backend, pass the file name instead of the
15460 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
15462 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
15464 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
15465 (pcomplete-comint-setup): Don't modify a global var via
15466 accidental side-effects.
15467 (pcomplete-shell-setup): Adjust call accordingly.
15468 (pcomplete-parse-comint-arguments): Use push.
15470 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
15472 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15473 Allow uncapitalized info node names (Bug#3921).
15475 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
15476 to the DEBUG file (Bug#3781).
15478 2009-10-23 Jari Aalto <jari.aalto@cante.net>
15480 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
15481 dictionary entry (Bug#4579).
15483 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
15485 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
15486 from `rfn-eshadow-update-overlay-hook' when unloading.
15487 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
15488 "rsyncc". Adjust doc string.
15489 (tramp-temp-buffer-file-name): New buffer-local defvar.
15490 (tramp-handle-insert-file-contents, tramp-handle-write-region):
15491 Keep temporary file when indicated by method ("rsync" and
15493 (tramp-handle-write-region): Handle APPEND.
15494 (tramp-delete-temp-file-function): New defun. Added to
15495 `kill-buffer-hook'.
15497 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
15499 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
15501 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
15503 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
15504 (color-name-rgb-alist, tty-standard-colors)
15505 (tty-color-mode-alist): Change to defconst.
15507 * simple.el (mark-inactive): Purecopy message.
15509 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
15510 (global-map, yank-menu):
15511 * textmodes/ispell.el (ispell-menu-map):
15512 * net/eudc.el (eudc-tools-menu):
15513 * international/mule-cmds.el (describe-language-environment-map)
15514 (setup-language-environment-map, set-coding-system-map)
15515 (mule-menu-keymap):
15516 * vc-hooks.el (vc-menu-entry, vc-menu-map):
15517 * replace.el (occur-mode-map):
15518 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
15520 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
15522 * calc/calc.el (math-read-number, math-read-number-simple):
15523 Use `save-match-data'.
15525 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15527 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
15528 rather than fiddling with global-map bindings, since it should only
15529 affect per-terminal settings.
15530 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
15532 * minibuffer.el (completion-table-with-terminator): Allow to specify
15533 the terminator-regexp.
15535 * simple.el (switch-to-completions): Look for *Completions* in other
15538 * pcomplete.el: Allow the use of completion-tables.
15539 (pcomplete-std-complete): New command.
15540 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
15541 (pcomplete--here): Use a function for `form' rather than an expression,
15542 so it can be byte-compiled.
15543 (pcomplete-here, pcomplete-here*): Adjust accordingly.
15544 Add edebug declaration.
15545 (pcomplete-show-completions): Remove unused var `curbuf'.
15546 (pcomplete-do-complete, pcomplete-stub):
15547 Don't assume `completions' is a list of strings any more.
15549 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
15551 * find-dired.el (find-name-arg): Fix typo in docstring.
15553 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15555 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
15556 (pcmpl-linux-fs-types): Same, and update to new modules layout.
15558 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
15561 * comint.el (comint-read-input-ring, comint-write-input-ring)
15562 (comint-substitute-in-file-name)
15563 (comint-dynamic-complete-as-filename)
15564 (comint-dynamic-simple-complete)
15565 (comint-dynamic-list-filename-completions)
15566 (comint-dynamic-list-completions)
15567 (comint-redirect-results-list-from-process): Minor simplifications.
15569 2009-10-21 Kevin Ryde <user42@zip.com.au>
15571 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
15572 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
15573 the first form. And insert a blank line after ";;; Code" since
15574 that's usual style. (Bug#4612)
15576 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
15578 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15580 * minibuffer.el (completion-table-with-terminator): Properly implement
15581 boundaries, in case `terminator' appears in the suffix.
15582 (completion--embedded-envvar-table): Don't return boundaries if
15583 there's no valid completion. Simplify.
15584 (completion-file-name-table): New completion table extracted from
15585 completion--file-name-table.
15586 (completion--file-name-table): Use it.
15587 (read-file-name-predicate): Declare obsolete.
15588 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
15589 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
15590 completion-file-name-table, and use the `pred' argument.
15591 * files.el (locate-file-completion-table): Use the `pred' arg rather
15592 than read-file-name-predicate.
15593 (abbreviate-file-name): Use \` rather than ^ for BOS.
15595 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
15597 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
15598 vc-responsible-backend to register, it causes problems.
15600 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15602 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
15604 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
15606 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
15607 (tramp-smb-handle-file-attributes): Use it.
15608 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
15609 (tramp-smb-handle-insert-directory): Use `mapc' rather than
15610 `mapcar'. Use `tramp-smb-get-stat-capability'.
15611 Add `dired-filename' text properties.
15612 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
15613 (tramp-smb-maybe-open-connection): Simplify check for smbclient
15616 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
15618 * subr.el (read-key-delay): Reduce to 0.01.
15619 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
15622 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15624 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
15626 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
15627 (Info-menu): Remove unused vars `last' and `completions'.
15628 (Info-index-nodes): Remove unused var `node'.
15630 * info.el (Info-complete-menu-item): Use complete-with-action.
15632 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
15634 Make vc-annotate work through copies and renames.
15635 * vc-annotate.el (vc-annotate-extract-revision-at-line):
15636 Return the file name too.
15637 (vc-annotate-revision-at-line)
15638 (vc-annotate-find-revision-at-line)
15639 (vc-annotate-revision-previous-to-line)
15640 (vc-annotate-show-log-revision-at-line): Update to get the file
15641 name from vc-annotate-extract-revision-at-line.
15642 (vc-annotate-show-diff-revision-at-line-internal): Change the
15643 argument to mean whether to show a file diff or not. Get the file
15644 name from vc-annotate-extract-revision-at-line.
15645 (vc-annotate-show-diff-revision-at-line):
15646 Update vc-annotate-show-diff-revision-at-line call.
15647 (vc-annotate-warp-revision): Add an optional file argument.
15649 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
15650 (vc-git-annotate-extract-revision-at-line): Also return the file
15653 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
15654 command. Remove unused code.
15655 (vc-hg-annotate-re): Update to match --follow output.
15656 (vc-hg-annotate-extract-revision-at-line): Also return the file
15659 * vc.el: Update annotate-extract-revision-at-line documentation.
15661 2009-10-18 Kevin Ryde <user42@zip.com.au>
15663 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
15664 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
15666 * net/browse-url.el (browse-url): Identify alist with "consp and
15667 not functionp" and let all other things go down the `apply' leg,
15668 as suggested by Stefan. (Further to bug#4531.)
15670 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
15672 * minibuffer.el (read-file-name): Check for repeat before putting
15673 a default argument in file-name-history (Bug#4657).
15675 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
15676 read syntax (Bug#4737).
15678 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
15680 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15682 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
15683 (html-tag-alist, html-tag-help): Add descriptions for undocumented
15684 entries and make note of obsolete tags.
15686 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
15688 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
15690 2009-10-18 Glenn Morris <rgm@gnu.org>
15692 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
15693 grep, so that binary files (eg international/uni-bidi.el) can match.
15694 Remove test for "UnicodeData" files, since it is hopefully unnecessary
15695 now, and in any case the file header format has changed.
15697 2009-10-17 Glenn Morris <rgm@gnu.org>
15699 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
15700 (flyspell-get-word, flyspell-large-region)
15701 (flyspell-auto-correct-previous-word): Doc/error message fixes.
15703 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
15705 * Makefile.in (ELCFILES): Add ede/shell.
15707 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
15709 * term/common-win.el (x-colors): Purecopy it.
15711 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15713 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
15714 permissive for when the buffer is empty.
15715 (tar-header-block-tokenize): Decode the username and groupname.
15716 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
15718 2009-10-17 Eric Ludlam <zappo@gnu.org>
15720 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
15721 contains multibyte characters, choose first applicable coding
15722 system automatically.
15724 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15726 * international/mule-cmds.el (select-safe-coding-system): If the file
15727 has a coding cookie, use it regardless of any other setting (bug#4712).
15729 2009-10-17 Glenn Morris <rgm@gnu.org>
15731 * foldout.el (foldout-mouse-swallow-events):
15732 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
15734 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
15735 (dired-keep-marker-copy, dired-keep-marker-hardlink)
15736 (dired-keep-marker-symlink, dired-dwim-target)
15737 (dired-copy-preserve-time): Do not autoload these defcustoms.
15739 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
15740 messages from messing up the file coding. (Bug#4623)
15742 2009-10-17 Jari Aalto <jari.aalto@cante.net>
15744 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
15745 if no match is found for the current dictionary. (Bug#4578)
15747 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
15748 optional, since that is how it is documented, and this is often called
15749 with a nil argument. (Bug#4577)
15750 (flyspell-external-point-words, flyspell-auto-correct-word)
15751 (flyspell-correct-word-before-point, flyspell-word-search-forward)
15752 (flyspell-word-search-backward): Remove nil argument in calls to
15753 flyspell-get-word, since it is not needed now.
15755 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
15757 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
15759 2009-10-16 Glenn Morris <rgm@gnu.org>
15761 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
15763 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
15765 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
15766 (ange-ftp-file-size): New function.
15767 (ange-ftp-file-attributes): Use it.
15769 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
15771 * net/tramp-smb.el (tramp-smb-version): New defvar.
15772 (tramp-smb-maybe-open-connection): Use it, in order to avoid
15775 2009-10-16 Glenn Morris <rgm@gnu.org>
15777 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
15778 Maybe copy some custom properties from old to new name. (Bug#4706)
15780 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
15782 * subr.el (error, sit-for, start-process-shell-command)
15783 (start-file-process-shell-command): Set the calling convention
15784 after the function definition.
15786 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
15788 * subr.el (error, sit-for, start-process-shell-command)
15789 (start-file-process-shell-command): Use the new
15790 set-advertised-calling-convention feature.
15792 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
15794 * international/ucs-normalize.el (ucs-normalize-version):
15796 (check-range): Adjust for Unicode 5.2.
15798 2009-10-15 Juri Linkov <juri@jurta.org>
15800 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
15801 to the `menu-item' format.
15803 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
15805 * net/tramp.el (tramp-replace-environment-variables): Do not fail
15806 if the environment variable does not exist.
15808 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15809 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
15811 (tramp-smb-handle-add-name-to-file)
15812 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15813 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15814 (tramp-smb-handle-file-attributes)
15815 (tramp-smb-do-file-attributes-with-stat)
15816 (tramp-smb-handle-file-local-copy)
15817 (tramp-smb-handle-insert-directory)
15818 (tramp-smb-handle-make-directory)
15819 (tramp-smb-handle-make-directory-internal)
15820 (tramp-smb-handle-make-symbolic-link)
15821 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
15822 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
15823 (tramp-smb-maybe-open-connection): Apply the changed parameters.
15824 (tramp-smb-read-file-entry): Read Disk names in compressed format.
15825 Handle long file names.
15826 (tramp-smb-get-cifs-capabilities): Check, whether the connection
15827 process is running.
15828 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
15829 Read share names with "-g" option.
15831 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
15833 * net/rcirc.el (rcirc-view-log-file): New command.
15834 (rcirc-track-minor-mode-map): Remove C-c ` binding.
15835 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
15838 2009-10-15 Glenn Morris <rgm@gnu.org>
15840 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
15841 from the second command-line argument.
15842 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
15843 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
15844 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
15845 w32-batch-update-autoloads.
15846 * emacs-lisp/autoload.el (autoload-make-program): New variable.
15847 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
15849 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
15850 the headers cannot be located. Simplify, subtracting superflous
15853 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
15855 Replace completion-base-size by completion-base-position to fix bugs
15856 such as (bug#4699).
15857 * simple.el (completion-base-position): New var.
15858 (completion-base-size): Mark as obsolete.
15859 (choose-completion): Make it work for mouse events as well.
15860 Pass the new base-position to choose-completion-string.
15861 (choose-completion-guess-base-position): New function, extracted from
15862 choose-completion-delete-max-match.
15863 (choose-completion-delete-max-match): Use it. Make obsolete.
15864 (choose-completion-string): Use the new base-position info.
15865 (completion-root-regexp): Delete.
15866 (completion-setup-function): Preserve completion-base-position.
15867 Eliminate obsolete base-size manipulation.
15868 * minibuffer.el (display-completion-list): Don't mess with base-size.
15869 (minibuffer-completion-help): Set completion-base-position instead.
15870 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
15872 * textmodes/bibtex.el (bibtex-complete):
15873 * emacs-lisp/crm.el (crm--choose-completion-string):
15874 Adjust to new calling convention.
15875 * complete.el (partial-completion-mode): Use minibufferp to avoid
15876 bumping into incompatible change to choose-completion-string-functions.
15877 * ido.el (ido-choose-completion-string): Make its calling convention
15879 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
15880 base-size manipulation.
15881 (comint-dynamic-list-input-ring): Use dotimes and push.
15882 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
15883 fundamental-mode. Use `or'.
15885 2009-10-14 Juri Linkov <juri@jurta.org>
15887 * misearch.el (multi-isearch-next-buffer-from-list)
15888 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
15890 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15892 * Makefile.in (compile-onefile): Load `bytecomp' rather than
15895 * minibuffer.el (completion-pcm--merge-completions): Make sure the
15896 string we return is all made up of text from the completions rather
15897 than part from the completions and part from the input (bug#4219).
15899 * ido.el (ido-everywhere): Use define-minor-mode.
15901 * buff-menu.el (list-buffers, ctl-x-map):
15902 Mark the entry points with ;;;###autoload cookies.
15904 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
15906 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
15907 correctly in the detached head case.
15908 (vc-git-print-log): Remove unused binding.
15910 * vc.el (vc-responsible-backend): When a directory is passed for
15911 for registration create a VC repository if no backend is
15912 responsible for the directory argument.
15913 (vc-deduce-fileset): Tell vc-responsible-backend to register.
15915 * vc.el: Move comments about RCS and SCCS ...
15917 * vc-sccs.el: ... here, respectively.
15919 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15921 * minibuffer.el (completion--file-name-table): Return nil if there's
15922 no file completion, even if substitute-in-file-name changed
15923 the string (bug#4708).
15925 2009-10-13 Juri Linkov <juri@jurta.org>
15927 * files-x.el (read-file-local-variable-value): Don't filter out
15928 minor modes from mode name completion (bug#4664).
15930 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
15932 * international/mule-cmds.el (ucs-names): Remove exclusion of
15933 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
15935 2009-10-13 Kenichi Handa <handa@m17n.org>
15937 * international/uni-name.el: Regenerated.
15939 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
15941 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
15942 should be automatically buffer-local, but isn't.)
15944 2009-10-12 Sam Steingold <sds@gnu.org>
15946 * progmodes/compile.el (compilation-next-error-function): Fix the
15947 timestamps if the buffer has been visited before.
15948 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
15949 non-anchored patterns, like the perl one (bug#3928).
15951 2009-10-12 Glenn Morris <rgm@gnu.org>
15953 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
15956 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
15958 * proced.el (proced-unload-function): New function.
15960 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
15961 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
15964 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
15966 2009-10-11 Juri Linkov <juri@jurta.org>
15968 * files-x.el (read-file-local-variable-value):
15969 Provide default value only for bound variables (bug#4664).
15971 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
15973 * net/tramp.el (tramp-local-host-p): Function shall return nil for
15974 connection methods like smb.
15976 * net/tramp-cache.el (tramp-flush-connection-property): The hash
15979 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15980 (tramp-smb-file-name-handler-alist): Add handlers for
15981 `add-name-to-file', `make-symbolic-link'.
15982 (tramp-smb-handle-add-name-to-file)
15983 (tramp-smb-do-file-attributes-with-stat)
15984 (tramp-smb-handle-make-symbolic-link)
15985 (tramp-smb-get-cifs-capabilities): New defuns.
15986 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15987 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15988 (tramp-smb-handle-file-local-copy)
15989 (tramp-smb-handle-make-directory-internal)
15990 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
15991 The file name syntax depends on cifs capabilities.
15992 (tramp-smb-handle-file-attributes):
15993 Call `tramp-smb-do-file-attributes-with-stat' if possible.
15994 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
15995 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
15997 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
15999 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
16000 (eieio-defclass): Apply deftype handler and setf-method properties
16002 (eieio-add-new-slot): Avoid union function from cl library.
16003 (eieio--typep): New function.
16004 (eieio-perform-slot-validation): Use it.
16006 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16008 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
16009 Update documentation to refer to the variables documented in r1.135.
16012 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16014 * bookmark.el (Info-suffix-list): Remove this unused variable.
16015 (bookmark-current-point): Remove this obsolete variable.
16016 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
16017 Adjust for removal of bookmark-current-point.
16019 (bookmarks-already-loaded, bookmark-current-buffer)
16020 (bookmark-yank-point): Document. (Bug#4188)
16022 2009-10-10 Glenn Morris <rgm@gnu.org>
16024 * frame.el (frame-height): Doc fix.
16026 * calendar/calendar.el (calendar-split-width-threshold): New option.
16027 (calendar-basic-setup): Use calendar-split-width-threshold.
16029 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
16031 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
16032 Ideographic Supplement" range (U+1F200..U+1F2FF).
16034 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16036 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
16037 since the list will have been rebuilt anyway. (Bug#4349)
16039 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16041 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
16042 (bookmark-bmenu-execute-deletions): Don't save here, as
16043 bookmark-delete will now do so if necessary.
16044 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
16047 2009-10-09 Glenn Morris <rgm@gnu.org>
16049 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
16051 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16053 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
16054 (bookmark-jump-other-window): Just invoke bookmark-jump with new
16055 argument now, so the two function's behaviors will match. (Bug#3645)
16057 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
16059 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
16060 (tramp-file-name-real-host, tramp-file-name-port):
16061 Apply `save-match-data'.
16063 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
16064 case both directories are remote.
16065 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
16066 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
16068 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
16070 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
16072 2009-10-07 Glenn Morris <rgm@gnu.org>
16074 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
16077 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
16079 * files-x.el (read-file-local-variable): Include some
16080 non-user-variables in the completion table (bug#4664).
16082 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
16084 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
16087 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16088 (tramp-smb-file-name-handler-alist): Add handler for
16089 `copy-directory', `expand-file-name', `set-file-modes'.
16090 (tramp-smb-handle-copy-directory)
16091 (tramp-smb-handle-expand-file-name)
16092 (tramp-smb-handle-set-file-modes): New defuns.
16093 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
16094 (tramp-smb-handle-file-attributes): Simplify check for retrieving
16096 (tramp-smb-handle-insert-directory): Don't flush the cache.
16097 (tramp-smb-maybe-open-connection): Check for samba client and
16100 2009-10-07 Eli Zaretskii <eliz@gnu.org>
16102 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
16103 to not error out of search for "^lisp=" fails.
16105 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
16107 * makefile.w32-in (WINS_UPDATES): New macro.
16108 (custom-deps, finder-data, autoloads): Use it.
16110 2009-10-07 Glenn Morris <rgm@gnu.org>
16112 * Makefile.in (autoloads): Revert previous change.
16113 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
16114 the list of preloaded files passed on the command-line, get
16115 it from src/Makefile.
16117 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
16118 show the original buffer rather than a random one.
16120 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
16122 * help.el (describe-no-warranty): Place point in a slightly better
16123 position in the GPLv3 text.
16125 2009-10-06 Sam Steingold <sds@gnu.org>
16127 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
16128 the comm attribute is present before calling regexp-quote.
16130 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
16132 * play/animate.el (animate-string): For good effect, make sure
16133 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
16135 * play/animate.el (animate-sequence, animate-birthday-present):
16136 * misc.el (butterfly): Don't set `indent-tabs-mode'.
16138 2009-10-06 Glenn Morris <rgm@gnu.org>
16140 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
16142 * emacs-lisp/autoload.el (autoload-excludes): New variable.
16143 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
16144 (batch-update-autoloads): Process a string value of autoload-excludes,
16145 set during the build process.
16146 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
16148 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
16149 inside with-parsed... macro so that `v' is defined.
16151 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
16152 * progmodes/fortran.el (fortran-end-of-block)
16153 (fortran-beginning-of-block):
16154 Also push mark in the macro case.
16156 * emerge.el (emerge-show-file-name):
16157 * calc/calc.el (calc-quit):
16158 * calc/calc-misc.el (calc-big-or-small):
16159 * calc/calc-graph.el (calc-graph-view):
16160 * calc/calc-ext.el (calc-reset):
16161 * calendar/calendar.el (calendar-basic-setup):
16162 Use window-full-height-p.
16164 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
16165 header we don't understand, don't insert another. (Bug#4624)
16166 If changing mime charset, insert the new one in the right place.
16168 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
16170 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
16171 (cal-tex-cursor-month): Correctly increment the end date for diary and
16172 holiday listing. (Bug#4626)
16174 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16176 * help-fns.el (describe-function-1): Don't burp if the function is not
16179 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
16181 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
16182 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
16183 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
16184 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
16186 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
16187 (eieio-default-superclass): Reflow docstrings.
16188 (this, class-option-assoc, defclass, eieio-class-un-autoload)
16189 (eieio-unbind-method-implementations, defmethod)
16190 (eieio-validate-slot-value, eieio-validate-class-slot-value)
16191 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
16192 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
16193 (eieio-slot-originating-class-p, eieio-slot-name-index)
16194 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
16195 (constructor, initialize-instance, no-next-method, object-print)
16196 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
16197 Fix typos in docstrings.
16198 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
16199 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
16200 (next-method-p): Doc fixes.
16201 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
16202 Fix typos in error messages.
16203 (eieio-defmethod): Fix typo in description of generic method.
16205 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
16206 (eieio-persistent-save-interactive, slot-missing):
16207 Fix typos in docstrings.
16208 (eieio-instance-inheritor-slot-boundp): Doc fix.
16210 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
16211 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
16213 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
16214 (eieio-custom-object-apply-reset):
16215 Fix typos in docstrings and error messages.
16217 * emacs-lisp/eieio-datadebug.el (data-debug-show):
16218 Fix typo in docstring.
16220 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
16221 (eieio-browse-tree): Doc fix.
16222 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
16223 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
16224 Fix typos in docstrings.
16226 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
16227 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
16228 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
16229 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
16232 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
16234 * vc-hg.el (log-view-vc-backend): Declare for compiler.
16235 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
16236 Set log-view-vc-backend so that diff can work.
16238 * log-view.el (log-view-diff): Use vc-diff-internal instead of
16240 (vc-diff-internal): Autoload this instead of vc-version-diff.
16242 2009-10-05 Eli Zaretskii <eliz@gnu.org>
16244 * simple.el (eval-expression): Doc fix.
16246 * progmodes/cwarn.el (cwarn-mode): Doc fix.
16248 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
16250 * files.el (directory-files-no-dot-files-regexp): New defconst.
16251 (delete-directory): Use it.
16252 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
16254 * net/tramp.el (tramp-verbose): Fix docstring.
16255 (tramp-methods): Add recursive option to `tramp-copy-args'.
16256 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
16257 "scp1_old", "scp2_old", "rsync", "rsyncc".
16258 (tramp-default-method): Check also for `auth-source-user-or-password'.
16259 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
16260 Add handler for `copy-directory'.
16261 (tramp-handle-copy-directory): New defun.
16262 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
16263 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
16264 Optimize sent command.
16266 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16268 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
16269 window if necessary.
16271 * calendar/calendar.el (calendar-basic-setup): Don't call
16272 switch-to-buffer in a dedicated window.
16274 2009-10-05 Karl Fogel <kfogel@red-bean.com>
16276 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
16277 don't do anything related to relocating, just return nil.
16278 (bookmark-error-no-filename): New error.
16279 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
16280 bookmark has no file. Don't even attempt to handle things that
16281 are not files; the whole point of custom handlers is to keep that
16282 knowledge elsewhere anyway. Tighten some comments.
16283 (bookmark-file-or-variation-thereof): Remove now-unused function.
16284 (bookmark-location): Doc string fix.
16287 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16289 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
16290 don't use a file dialog, because they usually don't know how to read
16291 a directory target from the user. (Bug#4230)
16292 Also, make sure the prompt can display directories as well as files.
16294 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16296 * bookmark.el (bookmark-set, bookmark-buffer-name):
16297 Improve doc strings. (Bug#1193)
16299 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16301 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
16302 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
16303 (bookmark-get-annotation, bookmark-set-annotation)
16304 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
16305 (bookmark-set-position, bookmark-get-front-context-string)
16306 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
16307 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
16308 (bookmark-jump-other-window, bookmark-handle-bookmark)
16309 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
16310 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
16311 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
16312 Improve doc strings to say whether bookmark can be a string or
16313 a record or both, and make other consistency and clarity fixes.
16314 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
16315 (bookmark-default-annotation-text, bookmark-yank-word)
16316 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
16317 (bookmark-import-new-list, bookmark-maybe-rename)
16318 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
16319 (bookmark-bmenu-bookmark): Give these doc strings.
16320 (bookmark-bmenu-check-position): Give this a doc string, but also
16321 add a FIXME comment about how the function may be pointless.
16322 (bookmark-default-handler): Rework doc string and change a
16323 parameter name, to clarify that this takes a bookmark record
16324 not a bookmark name.
16325 (bookmark-set): Change a parameter name to indicate its meaning,
16326 and improve the doc string a bit.
16329 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16331 * bookmark.el (bookmark-alist): Document the new `handler' element
16332 in the param alist.
16333 (bookmark-make-record-function): Adjust documentation for above.
16336 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16338 * info.el (Info-bookmark-make-record): Document this function.
16339 (Info-bookmark-jump): Document with a doc string, not just a comment.
16342 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
16344 * files.el (copy-directory): New defun.
16346 * dired-aux.el (dired-copy-file-recursive): Use it.
16348 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
16350 * files-x.el (modify-dir-local-variable)
16351 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
16354 * recentf.el (recentf-unload-function): New function.
16356 2009-10-04 Glenn Morris <rgm@gnu.org>
16358 * window.el (window-full-height-p): Add doc string.
16360 2009-10-04 Martin Rudalics <rudalics@gmx.at>
16362 * window.el (window-full-height-p): New function. (Bug#4543)
16364 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
16366 * vc.el: Remove commented out code.
16367 (vc-derived-from-dir-mode): Remove, unused.
16368 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
16370 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
16372 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
16373 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
16374 there could be recursive loading when `default-directory' is a
16375 remote file name. (Bug#4614)
16377 2009-10-03 Glenn Morris <rgm@gnu.org>
16379 * calendar/calendar.el (calendar-basic-setup): Handle the case where
16381 (calendar-generate-window): Test for shrinkability rather than width.
16383 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
16384 reusing existing buffers, in case we happen to visit two files with the
16385 same basename. (Bug#4593)
16387 2009-10-02 Eli Zaretskii <eliz@gnu.org>
16389 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
16390 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
16391 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
16392 subdirs of cedet as well.
16393 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
16395 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
16397 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
16398 Obey advertised-signature-table.
16400 * help-fns.el (help-function-arglist): Don't check
16401 advertised-signature-table.
16402 (describe-function-1): Do it here instead so it also applies to subrs.
16404 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
16406 * simple.el (start-file-process): Say in the doc-string, that file
16407 handlers might not support pty association, if PROGRAM is nil.
16409 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
16410 HOST and USER are strings. They are nil, when there are
16411 incomplete entries in ~/.netrc, for example.
16412 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
16413 root directory ("device busy" error otherwise).
16415 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
16416 Flush file properties of created directory.
16418 2009-10-02 Eli Zaretskii <eliz@gnu.org>
16420 * makefile.w32-in (WINS_BASIC): Remove cedet.
16421 (WINS_CEDET): Add cedet.
16422 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
16424 2009-10-02 Kevin Ryde <user42@zip.com.au>
16426 * net/browse-url.el (browse-url): Pass any symbol in
16427 browse-url-browser-function to `apply', since if you've mistakenly put
16428 an unbound symbol then the error is clearer. (Bug#4531)
16430 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
16432 * allout.el (allout-init, allout-back-to-current-heading)
16433 (allout-beginning-of-current-entry, allout-ascend-to-depth)
16434 (allout-ascend, allout-up-current-level, allout-end-of-level)
16435 (allout-previous-visible-heading, allout-forward-current-level)
16436 (allout-backward-current-level, allout-show-children):
16437 * apropos.el (apropos-describe-plist):
16438 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
16439 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
16440 * completion.el (add-completion, add-permanent-completion):
16441 * descr-text.el (describe-text-category, describe-char):
16442 * desktop.el (desktop-lazy-abort):
16443 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
16444 * dired.el (dired-build-subdir-alist):
16445 * ediff.el (ediff-version):
16446 * elide-head.el (elide-head, elide-head-show):
16447 * emerge.el (emerge-version):
16449 * face-remap.el (variable-pitch-mode):
16450 * faces.el (describe-face):
16451 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
16453 * files.el (find-file-existing, auto-save-mode):
16454 * font-lock.el (font-lock-fontify-buffer):
16455 * help-fns.el (describe-function, describe-variable)
16456 (describe-syntax, describe-categories):
16457 * help.el (view-lossage, describe-bindings, describe-key)
16459 * hexl.el (hexl-current-address):
16460 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
16461 * info.el (Info-goto-emacs-key-command-node):
16462 * log-edit.el (log-edit-insert-cvs-template)
16463 (log-edit-insert-cvs-rcstemplate):
16464 * menu-bar.el (menu-bar-mode):
16465 * mouse.el (mouse-appearance-menu):
16466 * newcomment.el (comment-indent-new-line):
16467 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
16468 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
16469 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
16470 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
16471 * recentf.el (recentf-mode):
16472 * savehist.el (savehist-mode, savehist-save):
16473 * shadowfile.el (shadow-copy-files):
16474 * simple.el (kill-ring-save, next-line, previous-line)
16475 (normal-erase-is-backspace-mode):
16476 * strokes.el (strokes-update-window-configuration)
16477 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
16478 (strokes-xpm-for-stroke):
16479 * time.el (emacs-uptime, emacs-init-time):
16480 * tutorial.el (tutorial--describe-nonstandard-key)
16481 (tutorial--detailed-help):
16482 * type-break.el (type-break-mode)
16483 (type-break-mode-line-message-mode, type-break-query-mode)
16484 (type-break-guesstimate-keystroke-threshold):
16485 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
16486 * version.el (emacs-version):
16487 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
16488 * winner.el (winner-mode):
16489 * calendar/timeclock.el (timeclock-in, timeclock-out)
16490 (timeclock-status-string, timeclock-change)
16491 (timeclock-workday-remaining-string)
16492 (timeclock-workday-elapsed-string)
16493 (timeclock-when-to-leave-string):
16494 * calendar/todo-mode.el (todo-add-category):
16495 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
16496 * emacs-lisp/autoload.el (update-file-autoloads):
16497 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
16498 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
16499 (checkdoc-message-text, checkdoc-defun):
16500 * emacs-lisp/debug.el (debugger-list-functions):
16501 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
16502 * emacs-lisp/eieio-opt.el (eieio-describe-class)
16503 (eieio-describe-generic):
16504 * emacs-lisp/lisp-mnt.el (lm-synopsis):
16505 * emacs-lisp/shadow.el (list-load-path-shadows):
16506 * emulation/cua-base.el (cua-mode):
16507 * emulation/edt.el (edt-set-scroll-margins):
16508 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
16509 (tpu-toggle-regexp, tpu-toggle-search-direction)
16510 (tpu-toggle-rectangle, tpu-toggle-control-keys):
16511 * emulation/tpu-extras.el (tpu-set-scroll-margins):
16512 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
16513 (viper-set-parsing-style-toggling-macro)
16514 (viper-set-emacs-state-searchstyle-macros):
16515 * emulation/viper.el (viper-set-hooks):
16516 * eshell/esh-mode.el (eshell-truncate-buffer):
16517 * international/mule-cmds.el (prefer-coding-system)
16518 (describe-input-method, describe-language-environment):
16519 * international/mule-diag.el (list-character-sets)
16520 (describe-character-set, describe-coding-system)
16521 (describe-fontset, list-fontsets, list-input-methods):
16522 * mail/sendmail.el (mail-signature):
16523 * net/ange-ftp.el (ange-ftp-copy-file):
16524 * net/browse-url.el (browse-url):
16525 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
16526 * net/quickurl.el (quickurl-add-url):
16527 * net/rcirc.el (names, topic):
16528 * net/xesam.el (xesam-mode):
16529 * play/5x5.el (5x5-new-game):
16530 * play/yow.el (apropos-zippy):
16531 * progmodes/ada-mode.el (ada-mode-version):
16532 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
16534 (f90-beginning-of-block):
16535 * progmodes/fortran.el (fortran-end-of-block)
16536 (fortran-beginning-of-block):
16537 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
16538 * progmodes/python.el (python-describe-symbol, python-shell):
16539 * term/ns-win.el (ns-print-buffer):
16540 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
16541 * textmodes/flyspell.el (flyspell-mode-on):
16542 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
16543 (pages-directory-for-addresses):
16544 * textmodes/table.el (table-recognize-cell)
16545 (table-query-dimension, table-generate-source)
16546 (table-insert-sequence, table--warn-incompatibility):
16547 * textmodes/tex-mode.el (tex-validate-buffer):
16548 * textmodes/texinfmt.el (texinfmt-version)
16549 (texinfo-format-buffer):
16550 Use `called-interactively-p' instead of `interactive-p'.
16552 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
16554 * image-mode.el (image-toggle-display):
16555 * emacs-lisp/elp.el (elp-instrument-function):
16556 * emacs-lisp/advice.el (ad-make-advised-definition):
16557 * emacs-lisp/easy-mmode.el (define-minor-mode):
16558 * net/browse-url.el (browse-url-maybe-new-window):
16559 * progmodes/sh-script.el (sh-learn-buffer-indent):
16560 Pass new argument 'any to `called-interactively-p'.
16562 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
16564 * international/uni-bidi.el:
16565 * international/uni-category.el:
16566 * international/uni-combining.el:
16567 * international/uni-comment.el:
16568 * international/uni-decimal.el:
16569 * international/uni-decomposition.el:
16570 * international/uni-digit.el:
16571 * international/uni-lowercase.el:
16572 * international/uni-mirrored.el:
16573 * international/uni-name.el:
16574 * international/uni-numeric.el:
16575 * international/uni-old-name.el:
16576 * international/uni-titlecase.el:
16577 * international/uni-uppercase.el:
16578 Regenerate from Unicode 5.2.0 data.
16580 2009-10-01 Glenn Morris <rgm@gnu.org>
16582 * Makefile.in (ELCFILES): Regenerate.
16584 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16586 * subr.el (interactive-p): Mark obsolete.
16587 (called-interactively-p): Make the optional-ness of `kind' obsolete.
16588 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
16589 advertised-signature-table for subroutines as well.
16591 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
16592 (set-advertised-calling-convention): New function.
16593 (make-obsolete, define-obsolete-function-alias)
16594 (make-obsolete-variable, define-obsolete-variable-alias):
16595 Make the optional-ness of `when' obsolete.
16596 (define-obsolete-face-alias): Make `when' non-optional.
16597 * help-fns.el (help-function-arglist):
16598 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
16599 Use advertised-signature-table.
16601 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
16603 * files.el (delete-directory): New defun. The original function
16604 in fileio.c has been renamed to `delete-directory-internal'.
16606 * dired.el (dired-delete-file): Call `delete-directory' with
16607 RECURSIVE parameter.
16609 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
16610 parameter RECURSIVE. Implementation is missing.
16612 * net/tramp.el (tramp-handle-make-directory): Flush upper
16613 directory's file properties.
16614 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
16615 (tramp-handle-dired-recursive-delete-directory): Flush directory
16616 properties after the remove command only.
16618 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16619 Handle optional parameter RECURSIVE.
16621 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16622 Handle optional parameter RECURSIVE.
16624 * net/tramp-smb.el (tramp-smb-errors): Add error message for
16625 connection timeout.
16626 (tramp-smb-handle-delete-directory): Handle optional parameter
16629 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16631 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
16632 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
16633 (byte-compile-defmacro): Use backquotes.
16635 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
16637 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
16638 has no associated file.
16639 (vc-resynch-buffer): Use vc-dir-buffers.
16641 2009-10-01 Glenn Morris <rgm@gnu.org>
16643 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
16644 (chart-file-count):
16645 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
16646 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
16647 * emacs-lisp/eieio-opt.el (eieio-describe-class):
16648 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
16649 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
16650 (eieio-copy-parents-into-subclass, make-instance, class-children)
16651 (eieio-generic-form):
16653 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
16654 match-data. (Bug#4555).
16656 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
16657 rather than parsing it as a regexp. This relaxes the layout
16658 requirements and makes errors easier to detect.
16659 (check-declare-verify): Check file is regular.
16660 (check-declare-directory): Doc fix.
16661 * subr.el (declare-function): Doc fix.
16663 * ibuffer.el (ibuffer-format-qualifier):
16664 * isearch.el (hi-lock-regexp-okay):
16665 * calc/calc.el (math-zerop):
16666 * mail/uce.el (rmail-msgbeg, rmail-msgend):
16667 * term/w32-win.el (setup-default-fontset, set-fontset-font):
16668 Remove unused declarations.
16670 2009-09-30 Eric Ludlam <zappo@gnu.org>
16672 * emacs-lisp/eieio.el (boolean-p): Delete.
16674 2009-09-30 Glenn Morris <rgm@gnu.org>
16676 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
16678 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
16679 filename is not a string.
16681 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
16683 * files.el (safe-local-eval-forms): Fix typo.
16685 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
16687 * vc-hooks.el (vc-dir-buffers): New var.
16688 (vc-state-refresh): New function.
16689 (vc-state): Use it.
16690 (vc-after-save): Always ask the backend to recompute the new state.
16691 Always call vc-dir if necessary, using vc-dir-buffers.
16692 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
16693 Use vc-dir-buffers.
16694 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
16695 (vc-dir-prepare-status-buffer, vc-dir-update)
16696 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
16697 Don't call expand-file-name on default-directory.
16699 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
16701 * speedbar.el (speedbar-item-delete):
16702 * calc/calc-prog.el (calc-kbd-if):
16703 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
16705 * epa.el (epa-key-list-mode-map):
16706 * hi-lock.el (hi-lock-menu): Fix typos in menus.
16708 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
16709 (hs-show-hook): Fix typo in docstring.
16711 2009-09-29 Glenn Morris <rgm@gnu.org>
16713 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
16714 file-name-nondirectory call preventing location of cedet files.
16715 (check-declare-verify): Use literal search rather than re-search.
16716 Add basic defmethod and defclass, and define-overloadable-function.
16718 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16719 Use tramp-compat-file-attributes rather than nonexistent
16720 tramp-compat-handle-file-attributes.
16722 * Makefile.in (lisptagsfiles4): New.
16723 (AUTOGENEL): Add cedet loaddefs files.
16724 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
16725 (update-elclist, compile-always, backup-compiled-files)
16726 (bootstrap-clean): Add yet another directory level.
16727 (update-elclist): Use LC_COLLATE rather than COLLATE.
16728 (ELCFILES): Update, via `make update-elclist'.
16730 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
16732 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
16733 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
16734 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
16736 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
16738 * Makefile.in (lisptagsfiles3): Define.
16739 (TAGS, TAGS-LISP): Use it.
16740 (update-elclist): Add third directory level to look for elc files.
16741 (compile-always): Likewise.
16742 (backup-compiled-files): Likewise.
16743 (bootstrap-clean): Likewise.
16744 (ELCFILES): Update.
16746 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
16748 * Makefile.in (ELCFILES): Add CEDET files.
16750 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
16752 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
16754 * net/tramp.el (top): Require tramp-imap.
16756 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16757 Use `tramp-compat-handle-file-attributes'.
16759 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
16761 * net/tramp-imap.el: New package.
16763 2009-09-28 Eric Ludlam <zappo@gnu.org>
16765 * emacs-lisp/chart.el:
16766 * emacs-lisp/eieio-base.el:
16767 * emacs-lisp/eieio-comp.el:
16768 * emacs-lisp/eieio-custom.el:
16769 * emacs-lisp/eieio-datadebug.el:
16770 * emacs-lisp/eieio-opt.el:
16771 * emacs-lisp/eieio-speedbar.el:
16772 * emacs-lisp/eieio.el: New files.
16774 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16776 * whitespace.el (whitespace-trailing-regexp)
16777 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
16780 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
16782 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
16785 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
16786 menu-bar-ediff-menu.
16788 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
16789 define-overloadable-function.
16791 * progmodes/autoconf.el: Provide autoconf as well, so that this
16792 file can be `require'd.
16794 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
16796 * emacs-lisp/autoload.el (generated-autoload-feature)
16797 (generated-autoload-load-name): New vars.
16798 (autoload-rubric, autoload-generate-file-autoloads): Use them.
16799 (make-autoload): Recognize define-overloadable-function and
16800 defclass forms (for EIEIO).
16802 * Makefile.in (update-subdirs): Exclude cedet directory.
16804 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
16806 * term/ns-win.el: Don't set the region face background. (Bug#4381)
16808 * faces.el: Default light-background background for region face to
16809 ns_selection_color under NS.
16811 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
16813 * net/imap-hash.el: New library, see NEWS.
16815 * Makefile.in (ELCFILES): Add imap-hash.el.
16817 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
16819 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
16820 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
16821 * help-macro.el (make-help-screen): Avoid using an ambiguous function
16822 definition where the docstring could be taken for the return value.
16824 2009-09-26 Glenn Morris <rgm@gnu.org>
16826 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
16827 Add option to only show images below a certain size.
16828 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
16829 save-excursion calls.
16831 2009-09-26 Eli Zaretskii <eliz@gnu.org>
16833 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
16834 subdirectories) and eieio.
16836 2009-09-26 Alan Mackenzie <acm@muc.de>
16838 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16839 Correct buggy bracketing. (Bug#4289)
16841 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
16842 character constants (as case labels). (Bug#4289)
16844 2009-09-25 Juri Linkov <juri@jurta.org>
16846 * files.el (safe-local-eval-forms): Allow time-stamp in
16847 before-save-hook (Bug#4554).
16849 2009-09-25 Drew Adams <drew.adams@oracle.com>
16851 * menu-bar.el (list-buffers-directory): Doc fix.
16853 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
16855 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
16856 Try and avoid copying twice the same paragraph.
16857 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
16858 Remove save-excursion.
16859 (log-edit-changelog-entry): Do it here instead.
16861 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
16863 * bs.el (bs--get-file-name): Use `list-buffers-directory'
16864 when available, instead of hardcoding mode names. Doc fix.
16866 * menu-bar.el (list-buffers-directory): Add docstring.
16867 Make automatically buffer-local.
16869 * dired.el (dired-mode):
16870 * files.el (cd-absolute):
16871 * pcvs.el (cvs-temp-buffer):
16872 * pcvs-util.el (cvs-get-buffer-create):
16873 * shell.el (shell-mode):
16874 * vc-dir.el (vc-dir-mode):
16875 Don't make `list-buffers-directory' buffer local.
16877 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
16879 * comint.el (comint-exec, comint-run, make-comint):
16880 Doc fixes (Bug#4542).
16882 2009-09-25 Glenn Morris <rgm@gnu.org>
16884 * mail/rmailmm.el (rmail-mime): New custom group.
16885 Move all defcustoms in this file into this group.
16886 (rmail-mime-media-type-handlers-alist): Revert previous change.
16887 (rmail-mime-show-images): New option.
16888 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
16889 references to it, since it wasn't actually used for anything.
16890 (rmail-mime-insert-image): New function.
16891 (rmail-mime-image): Use rmail-mime-insert-image.
16892 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
16893 obey the value of `rmail-mime-show-images' option. Print the size of
16896 2009-09-25 David Engster <deng@randomsample.de>
16898 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
16900 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16902 * whitespace.el: Does not highlight trailing spaces While point is
16903 at end of line. Does not highligt spaces at beginning of buffer
16904 while point is at beginning of buffer. Does not highlight spaces
16905 at end of buffer while point is at end of buffer. (Bug#4177)
16907 (whitespace-display-mappings): Adjust initialization.
16908 (whitespace-point, whitespace-font-lock-refontify): New vars.
16909 (whitespace-color-on, whitespace-color-off): Adjust code.
16910 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
16911 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
16912 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
16914 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
16916 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
16918 * textmodes/sgml-mode.el: Remove xml-mode alias.
16920 * files.el (auto-mode-alist, conf-mode-maybe)
16921 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
16923 2009-09-24 Alan Mackenzie <acm@muc.de>
16925 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
16926 c-forward-conditionals, but it doesn't move point and doesn't set
16928 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
16929 (c-down-conditional-with-else, c-backward-conditional)
16930 (c-forward-conditional): Refactor to use c-scan-conditionals.
16932 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
16934 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
16935 (help-default-arg-highlight): Remove.
16936 (help-highlight-arg): New function.
16937 (help-do-arg-highlight): Use it.
16938 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
16940 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
16942 * term.el (term-set-scroll-region, term-handle-ansi-escape):
16943 Undo last change, which didn't fix the problem and introduced others.
16945 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
16947 * progmodes/gdb-mi.el: Don't require speedbar.
16948 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
16950 2009-09-24 Glenn Morris <rgm@gnu.org>
16952 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
16954 * term/ns-win.el (ns-reg-to-script): Define for compiler.
16956 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
16957 there is no newline after the final mime boundary. (Bug#4539)
16958 Move markers on insertion so that any buttons inserted don't end up in
16959 the next part of a multipart message.
16960 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
16961 (rmail-mime-bulk-handler): Optionally handle images.
16962 (rmail-mime-image): New button action.
16963 (rmail-mime-image-handler): New function.
16964 (rmail-mime-mode): New mode.
16965 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
16967 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
16969 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
16970 than just dropping elements from it (bug#4504).
16972 * term.el (term-set-scroll-region): Don't move cursor any more.
16973 (term-handle-ansi-escape): Call term-goto here instead.
16974 Suggested by Ivan Kanis <apple@kanis.eu>.
16976 * term.el: Require CL.
16977 (term-ansi-reset): New function.
16978 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
16979 (term-handle-colors-array): Simplify.
16981 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
16983 * allout.el (allout-overlay-interior-modification-handler)
16984 (allout-obtain-passphrase):
16985 * epa-file.el (epa-file-write-region):
16986 * ps-print.el (ps-begin-job):
16987 * vc-hooks.el (vc-toggle-read-only):
16988 * vc-rcs.el (vc-rcs-rollback):
16989 * vc-sccs.el (vc-sccs-rollback):
16990 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
16991 (vc-version-diff, vc-revert, vc-rollback):
16992 * wdired.el (wdired-check-kill-buffer):
16993 * emacs-lisp/authors.el (authors):
16994 * net/socks.el (socks-open-connection):
16995 * net/zeroconf.el (zeroconf-service-add-hook):
16996 * obsolete/vc-mcvs.el (vc-mcvs-register):
16997 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
16998 (gdb-select-frame):
16999 * progmodes/grep.el (lgrep, rgrep):
17000 * progmodes/idlw-help.el (idlwave-help-check-locations)
17001 (idlwave-help-html-link, idlwave-help-assistant-open-link):
17002 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
17003 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
17004 (reftex-toc-rename-label): Fix typos in error messages.
17006 * dired-aux.el (dired-do-shell-command): Reflow docstring.
17007 (dired-copy-how-to-fn): Doc fix.
17008 (dired-files-attributes, dired-read-shell-command):
17009 Fix typos in docstrings.
17011 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
17012 (dired-x-find-file-other-window): Reflow docstrings.
17013 (dired-omit-marker-char, dired-read-shell-command)
17014 (dired-x-submit-report): Fix typos in docstrings.
17016 * shell.el (shell-mode-hook):
17017 * view.el (View-scroll-line-forward):
17018 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
17019 Fix typos in docstrings.
17021 * net/dig.el (dig-invoke): Fix typo in docstring.
17022 (query-dig): Reflow docstring.
17024 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
17025 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
17026 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
17027 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
17028 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
17029 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
17030 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
17031 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
17032 (idlwave-completion-map, idlwave-current-indent)
17033 (idlwave-custom-ampersand-surround, idlwave-customize)
17034 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
17035 (idlwave-define-abbrev, idlwave-determine-class-special)
17036 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
17037 (idlwave-end-block-reg, idlwave-end-of-statement)
17038 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
17039 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
17040 (idlwave-explicit-class-listed, idlwave-file-header)
17041 (idlwave-fill-paragraph, idlwave-find-class-definition)
17042 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
17043 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
17044 (idlwave-in-quote, idlwave-indent-action-table)
17045 (idlwave-indent-expand-table, idlwave-indent-line)
17046 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
17047 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
17048 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
17049 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
17050 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
17051 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
17052 (idlwave-outlawed-buffers, idlwave-popup-select)
17053 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
17054 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
17055 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
17056 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
17057 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
17058 (idlwave-statement-type, idlwave-struct-skip)
17059 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
17060 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
17061 (idlwave-what-module-find-class): Fix typos in docstrings.
17062 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
17063 (idlwave-calculate-cont-indent, idlwave-expand-equal)
17064 (idlwave-find-module, idlwave-find-structure-definition)
17065 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
17066 (idlwave-list-load-path-shadows, idlwave-next-statement)
17067 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
17068 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
17069 (idlwave-template): Reflow docstrings.
17071 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
17072 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
17073 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
17074 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
17075 (idlwave-shell-display-line, idlwave-shell-display-wframe)
17076 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
17077 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
17078 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
17079 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
17080 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
17081 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
17082 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
17083 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
17084 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
17085 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
17086 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
17087 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
17088 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
17089 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
17090 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
17091 Fix typos in docstrings.
17092 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
17093 (idlwave-shell-hide-output, idlwave-shell-mode)
17094 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
17097 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
17099 2009-09-24 Ivan Kanis <apple@kanis.eu>
17101 * term.el (term-bold-attribute): New var.
17102 (term-handle-colors-array): Use it.
17104 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
17106 * progmodes/gdb-mi.el (gdb-version): New variable.
17107 (gdb-non-stop-handler): Set gdb-version.
17108 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
17109 Condition "--thread" option on gdb-version.
17110 (gdb-invalidate-threads): Remove unused argument.
17112 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17114 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
17115 to looking-back to avoid ridiculous slow down in large files (bug#4511).
17117 2009-09-23 Glenn Morris <rgm@gnu.org>
17119 * mail/rmail.el (rmail-reply): Don't try to add a References header when
17120 replying to mail without References or Message-Id. (Bug#4525)
17122 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
17124 * term/ns-win.el (ns-reg-to-script): New variable.
17126 2009-09-23 Daiki Ueno <ueno@unixuser.org>
17128 * epg.el (epg-wait-for-status): Preserve existing 'error results.
17130 2009-09-22 Sam Steingold <sds@gnu.org>
17132 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
17133 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
17134 to 1 because hg returns status 1 when nothing is found.
17135 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
17137 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
17139 * textmodes/fill.el: Convert to utf-8 encoding.
17140 (fill-french-nobreak-p): Remove redundant » and « inherited from our
17143 * add-log.el (change-log-fill-forward-paragraph): New function.
17144 (change-log-mode): Use it so fill-region DTRT.
17145 Set fill-indent-according-to-mode here rather than in
17146 change-log-fill-paragraph.
17147 (change-log-fill-paragraph): Remove.
17149 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
17151 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
17152 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
17154 2009-09-22 Glenn Morris <rgm@gnu.org>
17156 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
17157 the scroll-bar scroll the calendar window rather than the buffer.
17159 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
17160 commands that move point (as opposed to scrolling).
17162 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
17164 * emacs-lisp/elint.el (elint): New custom group.
17165 (elint-log-buffer): Make it a defcustom.
17166 (elint-scan-preloaded, elint-ignored-warnings)
17167 (elint-directory-skip-re): New options.
17168 (elint-builtin-variables): Doc fix.
17169 (elint-preloaded-env): New variable.
17170 (elint-unknown-builtin-args): Add an entry for encode-time.
17171 (elint-extra-errors): Make it a variable rather than a constant.
17172 (elint-preloaded-skip-re): New constant.
17173 (elint-directory): Skip files matching elint-directory-skip-re.
17174 (elint-features): New variable, local to linted buffers.
17175 (elint-update-env): Initialize elint-features. Possibly add
17176 elint-preloaded-env to the buffer's environment.
17177 (elint-get-top-forms): Bind elint-current-pos, for log messages.
17179 (elint-init-form): New function, extracted from elint-init-env.
17180 Make non-list forms a warning rather than an error.
17181 Add the mode-map for define-derived-mode. Handle define-minor-mode,
17182 easy-menu-define, put that adds an error-condition, and provide.
17183 When requiring cl, also require cl-macs. Really require cl, to handle
17184 some cl macros. Store required libraries in the list elint-features,
17185 so as not to re-load them. Treat cc-require like require.
17186 (elint-init-env): Call elint-init-form to do the work.
17187 Handle eval-and-compile and such like.
17188 (elint-add-required-env): Do not clear messages.
17189 (elint-special-forms): Add handlers for function, defalias, if, when,
17191 (elint-form): Add optional argument to ignore elint-special-forms,
17192 useful to prevent recursive calls from handlers. Doc fix.
17193 Respect elint-ignored-warnings.
17194 (elint-form): Respect elint-ignored-warnings.
17195 (elint-bound-variable, elint-bound-function): New variables.
17196 (elint-unbound-variable): Respect elint-bound-variable.
17197 (elint-get-args): Respect elint-bound-function.
17198 (elint-check-cond-form): Add some simple handling for (f)boundp and
17200 (elint-check-defalias-form): New handler.
17201 (elint-check-let-form): Make an empty let a warning rather than an
17203 (elint-check-setq-form): Make an empty setq a warning rather than an
17204 error. Respect elint-ignored-warnings.
17205 (elint-check-defvar-form): Accept null doc-strings.
17206 (elint-check-conditional-form): New handler. Does some simple-minded
17207 checking of featurep and (f)boundp tests.
17208 (elint-put-function-args): New function.
17209 (elint-initialize): Use elint-scan-doc-file rather than
17210 elint-find-builtin-variables. Use elint-put-function-args.
17211 Possibly scan preloaded-file-list.
17212 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
17213 extend to handle functions as well.
17215 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
17217 * linum.el (linum-delete-overlays, linum-update-window):
17218 Do not modify the right margin. (Bug#3971)
17220 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
17222 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
17223 Use nxml-mode instead of xml-mode.
17225 2009-09-21 Kevin Ryde <user42@zip.com.au>
17227 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
17229 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17231 * net/dig.el (dig-mode): Use define-derived-mode.
17233 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
17235 * vc-dispatcher.el (vc-do-command): Return the process object in
17236 the asynchronous case. Use when instead of if. Do not run
17237 vc-exec-after to display a message if not enabled. (Bug#4463)
17239 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
17240 properties to the stash strings.
17241 (vc-git-stash-list): Return a list of strings.
17242 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
17243 (vc-git-stash-show-at-point): New functions.
17244 (vc-git-stash-map): New keymap.
17246 * register.el (ctl-x-r-map): Define the keys here instead of
17249 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
17251 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
17252 list, to workaround performance problem (bug#4485).
17254 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
17256 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
17258 2009-09-20 Daiki Ueno <ueno@unixuser.org>
17260 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
17261 Document that this option is not recommended to use.
17263 2009-09-19 Glenn Morris <rgm@gnu.org>
17265 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
17268 * calc/calc-alg.el (var):
17269 * calc/calcalg2.el (var): Define for compiler.
17271 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
17273 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
17274 Doc fix (Bug#3932).
17276 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
17278 * time-stamp.el (time-stamp-month-dd-yyyy)
17279 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
17280 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
17281 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
17282 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
17283 Remove functions that have been obsolete since 1995 (Bug#4436).
17285 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
17286 indent buffer only if called interactively (Bug#4452).
17288 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
17289 Eli Zaretskii <eliz@gnu.org>
17291 This fixes bug#4197 (merged to bug#865, though not identical).
17292 * server.el (server-auth-dir): Add docstring note about FAT32.
17293 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
17294 but warn against using them.
17296 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
17298 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
17299 older GDB where there is no has_more field.
17301 2009-09-19 Glenn Morris <rgm@gnu.org>
17303 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
17305 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
17307 * files.el (auto-mode-alist): Change default for XML files to nXML
17310 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
17312 * server.el (server-ensure-safe-dir): Pass 'integer
17313 to `file-attributes', as suggested.
17315 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
17317 * dired-aux.el (dired-query-alist): Remove spurious backslash.
17318 (dired-query): Use read-key.
17320 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
17322 * cus-start.el (ns-use-qd-smoothing): Remove.
17324 2009-09-18 Glenn Morris <rgm@gnu.org>
17326 * allout.el (top-level): Remove unnecessary progn.
17328 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
17330 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
17331 definition of abbrev table.
17333 * speedbar.el (speedbar-track-mouse):
17334 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
17335 * net/eudc.el (eudc-expand-inline):
17336 * net/newst-backend.el (newsticker--cache-read-feed):
17337 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
17338 condition-case handlers.
17340 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
17342 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
17343 (gdb-var-list): Add an element for has_more field.
17344 (gdb-non-stop-handler): Enable pretty printing for STL containers.
17345 (gdb-var-create-handler, gdb-var-list-children-handler-1)
17346 (gdb-var-update-handler-1): Parse output of dynamic variable
17347 objects (STL containers).
17348 (gdb-var-delete-1): Pass var1 as an explicit second argument.
17349 (gdb-get-field): Delete alias. Use bindat-get-field directly.
17351 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
17353 (gud-speedbar-buttons): Make node expandable if expression "has more"
17356 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
17358 * startup.el (emacs-quick-startup): Remove variable and all uses.
17359 (command-line): Set `inhibit-x-resources' instead.
17360 (command-line-1): Use `inhibit-x-resources' instead.
17362 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
17364 * subr.el: Fix last change to avoid using the `unless' macro,
17365 which breaks bootstrapping.
17367 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17369 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
17370 extended definitions, in case we reload subr.el after having
17372 (eval-next-after-load): Mark as obsolete.
17374 2009-09-17 Juri Linkov <juri@jurta.org>
17376 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
17377 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
17378 (menu-bar-showhide-menu, menu-bar-tools-menu)
17379 (menu-bar-describe-menu, menu-bar-help-menu)
17380 (minibuffer-local-completion-map, minibuffer-local-map):
17383 2009-09-17 Glenn Morris <rgm@gnu.org>
17385 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
17386 arguments, whether or not it has a handler.
17388 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
17390 * simple.el (hard-newline): Give it a doc-string.
17392 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17393 (lisp-mode-syntax-table): Give them doc-strings.
17395 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
17397 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
17398 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
17399 (menu-bar-options-menu, menu-bar-showhide-menu)
17400 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
17401 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
17402 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
17403 (menu-bar-options-menu, menu-bar-tools-menu)
17404 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
17405 (menu-bar-help-menu):
17406 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
17409 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
17410 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
17411 calls for the menu names and :help.
17413 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17415 * mouse.el (minor-mode-menu-from-indicator): Pay attention
17416 to :minor-mode-function (bug#4455).
17418 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17420 * startup.el (command-line): Initialize the window-system after
17421 processing the command-line.
17423 * textmodes/page.el (what-page): Make sure we don't inf-loop if
17424 page-delimiter matches the empty string.
17426 2009-09-16 Glenn Morris <rgm@gnu.org>
17428 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
17429 byte-compile-not-obsolete-var. It's a list now.
17430 (byte-compile-not-obsolete-funcs): New variable.
17431 (byte-compile-warn-obsolete): Don't warn about functions if they are in
17432 byte-compile-not-obsolete-funcs.
17433 (byte-compile-variable-ref, byte-compile-defvar): Update for
17434 byte-compile-not-obsolete-vars name-change and list nature.
17435 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
17436 and variables behind (f)boundp tests.
17437 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
17439 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
17441 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
17443 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17445 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
17446 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
17449 2009-09-15 Stephen Eglen <stephen@gnu.org>
17451 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
17452 the virtual-buffers, use the name of the buffer specified by
17453 find-file-noselect, as the match may be a symlink. (This was a
17454 problem if the target and the symlink had different names.)
17456 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17458 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
17460 * desktop.el (desktop-path): Check user-emacs-directory.
17462 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
17464 * loadup.el: Use after-load-functions to GC after loading each file.
17465 Remove the explicit GC calls that used to be sprinkled around.
17467 * subr.el (after-load-functions): New hook.
17468 (do-after-load-evaluation): Run it. Use string-match-p to detect
17469 `obsolete' packages, rather than painfully extracting the relevant
17472 2009-09-15 Glenn Morris <rgm@gnu.org>
17474 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
17475 free variable `doc'.
17477 * dired.el (dired-mode-map): Add menu entry for async shell command.
17479 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
17480 variables, also consider the .elc files, since the .el files are
17481 normally gzipped (subsequent code locates the .el.gz from the .elc).
17483 * calc/calc-prog.el (arglist): Define for compiler.
17485 * calendar/diary-lib.el (diary-display-function): Change the default to
17487 (body): Define for compiler.
17489 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
17490 (byte-compile-file-form, byte-compile-lambda)
17491 (byte-compile-top-level-body, byte-compile-form)
17492 (byte-compile-variable-ref, byte-compile-setq)
17493 (byte-compile-setq-default, byte-compile-body)
17494 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
17495 (batch-byte-compile): Give some more local variables with common names
17496 a "bytecomp-" prefix to avoid masking warnings about free variables.
17498 * startup.el (command-line-1): Give local variables with common names a
17499 distinguishing prefix, so as not to hide free variable warnings during
17502 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
17503 clever and add a suffix to make a unique name, just let the user decide
17504 whether or not to overwrite it. If the input is a directory, write the
17505 default filename to that directory. (Bug#4388)
17506 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
17507 is a filename-as-a-directory.
17509 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17511 * textmodes/page.el (what-page): Don't move to beginning of line.
17512 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
17514 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
17516 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
17518 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
17520 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
17521 * help.el (help-for-help-internal): Add purecopy calls for text.
17523 * vc.el (top): print-log method now takes an optional SHORTLOG
17524 argument. Add a new method: root.
17525 (vc-root-diff, vc-print-root-log): New functions.
17526 (vc-log-short-style): New variable.
17527 (vc-print-log-internal): Add support for showing short logs.
17529 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
17530 vc-print-root-log and vc-print-root-diff.
17532 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
17533 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
17534 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
17537 * vc-cvs.el (vc-cvs-print-log):
17538 * vc-mtn.el (vc-mtn-print-log):
17539 * vc-rcs.el (vc-rcs-print-log):
17540 * vc-sccs.el (vc-sccs-print-log):
17541 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
17542 that is ignored for now.
17544 * vc-mtn.el (vc-mtn-annotate-command):
17545 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
17547 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17549 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
17550 to function-key-map, and give them ascii-character property.
17551 * term/x-win.el (x-alternatives-map):
17552 * term/ns-win.el (ns-alternatives-map):
17553 * term/internal.el (msdos-key-remapping-map):
17554 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
17556 2009-09-14 Glenn Morris <rgm@gnu.org>
17558 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
17559 temp-buffers (2009-09-12).
17561 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17563 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
17564 the new read-key function.
17566 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
17568 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
17569 is defined (Bug#4405).
17571 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
17573 * recentf.el (recentf-cleanup): Use a hash table to find
17574 duplicates (Bug#4407).
17576 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
17578 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
17579 kp-0 to ascii equivalents (Bug#4325).
17581 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
17583 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
17585 * eshell/em-hist.el:
17586 * eshell/em-dirs.el (eshell-complete-user-reference):
17587 Declare pcomplete functions and variables to avoid compiler warnings.
17589 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
17591 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
17592 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
17593 * eshell/em-alias.el (eshell-aliases-file):
17594 * eshell/em-hist.el (eshell-history-file-name):
17595 Use expand-file-name instead of concat to make file names (Bug#4308).
17597 2009-09-13 Glenn Morris <rgm@gnu.org>
17599 * ediff-merg.el (ediff-do-merge):
17600 * filesets.el (filesets-run-cmd):
17601 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
17602 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
17603 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
17604 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
17605 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
17606 Replace empty `let's with `progn'.
17608 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17610 * mail/sendmail.el (send-mail-function):
17611 * tooltip.el (tooltip-mode):
17612 * simple.el (transient-mark-mode):
17613 * rfn-eshadow.el (file-name-shadow-mode):
17614 * frame.el (blink-cursor-mode):
17615 * font-core.el (global-font-lock-mode):
17616 * files.el (temporary-file-directory)
17617 (small-temporary-file-directory, auto-save-file-name-transforms):
17618 * epa-hook.el (auto-encryption-mode):
17619 * composite.el (global-auto-composition-mode):
17620 Use custom-initialize-delay.
17621 * startup.el (command-line): Don't explicitly call
17622 custom-reevaluate-setting for all the above vars.
17623 * custom.el (custom-initialize-safe-set)
17624 (custom-initialize-safe-default): Delete.
17626 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17628 * term/x-win.el (x-initialize-window-system):
17629 * term/w32-win.el (w32-initialize-window-system):
17630 * term/ns-win.el (ns-initialize-window-system): Don't call
17631 mouse-wheel-mode since it's enabled globally by default already.
17633 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
17634 actually define the variable, but only silences the byte-compiler.
17635 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
17636 before looking it up.
17637 (mouse-wheel-scroll-amount): Also reset the bindings if this value
17640 2009-09-12 Glenn Morris <rgm@gnu.org>
17642 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
17644 (elint-add-required-env): Don't beep on error.
17645 (elint-forms): In case of error, return ENV unchanged.
17646 (elint-init-env): Skip non-list forms.
17647 (elint-log): Handle unknown file positions.
17649 2009-09-12 Daiki Ueno <ueno@unixuser.org>
17651 * epg.el (epg-make-context): Add autoload cookie.
17652 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
17653 (epg-decrypt-string, epg-start-verify, epg-verify-file)
17654 (epg-verify-string, epg-start-sign, epg-sign-file)
17655 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
17656 (epg-encrypt-string, epg-start-export-keys)
17657 (epg-export-keys-to-file, epg-export-keys-to-string)
17658 (epg-start-import-keys, epg-import-keys-from-file)
17659 (epg-import-keys-from-string, epg-start-receive-keys)
17660 (epg-receive-keys, epg-import-keys-from-server)
17661 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
17662 (epg-sign-keys, epg-start-generate-key)
17663 (epg-generate-key-from-file, epg-generate-key-from-string):
17664 Remove autoload cookie.
17666 2009-09-12 Eli Zaretskii <eliz@gnu.org>
17668 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
17669 reevaluation of trash-directory.
17671 * mwheel.el: Fix last change.
17672 (mouse-wheel-mode): New defvar.
17673 (mouse-wheel-mode): Remove autoload cookie.
17675 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17677 * mwheel.el (mwheel-installed-bindings): New var.
17678 (mouse-wheel-mode): Use it, so as to make sure we really remove all
17679 the bindings we set last time. Use custom-initialize-delay.
17680 * loadup.el: Load mwheel after term/*-win.el.
17681 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
17682 and mouse-wheel-up-event now that their first evaluation is done
17683 sufficiently late to be correct.
17685 * startup.el (tutorial-directory): Make it a defcustom.
17686 Use custom-initialize-delay rather than eval-at-startup to set it.
17687 * image.el (image-load-path): Make it a defcustom.
17688 Use custom-initialize-delay rather than eval-at-startup to set it.
17689 * subr.el (eval-at-startup): Remove.
17690 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
17692 * subr.el (do-after-load-evaluation): Warn the user after loading an
17695 2009-09-12 Glenn Morris <rgm@gnu.org>
17697 * proced.el (proced-mark-alt): Remove alias.
17698 (proced-mode-map): Remove proced-mark-alt.
17700 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
17701 Elint file and directory. Remove initialization entry.
17703 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
17705 (elint-current-buffer): Set mode-line-process.
17706 (elint-init-env): Handle define-derived-mode.
17707 Fix declare-function with unspecified arglist. Guard against odd
17708 defalias statements (eg iso-insert's 8859-1-map).
17709 (elint-add-required-env): Use a temp buffer.
17710 (elint-form): Just print the function/macro name, not the whole form.
17711 Return env unchanged if we fail to parse a macro.
17712 (elint-forms): Guard against parse errors.
17713 (elint-output): New function, to handle batch mode.
17714 (elint-log-message): Add optional argument. Use elint-output.
17715 (elint-set-mode-line): New function.
17717 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
17719 * emacs-lisp/elp.el (elp-not-profilable): Add more
17720 functions (Bug#4233).
17722 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
17724 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
17725 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
17727 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
17729 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
17730 (gdb-var-list-children): Use json parsing.
17732 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
17734 * progmodes/js.el (js--proper-indentation): Handle the case where
17735 char-before is null. Reported by Deniz Dogan.
17737 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
17739 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
17741 2009-09-11 Daiki Ueno <ueno@unixuser.org>
17743 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
17744 (epg-digest-algorithm-alist): Add SHA224.
17745 (epg-context-set-passphrase-callback)
17746 (epg-context-set-progress-callback): Add description about
17749 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17751 * custom.el (custom-delayed-init-variables): New var.
17752 (custom-initialize-delay): New function.
17753 * startup.el (command-line): "Re"evaluate all vars in
17754 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
17755 explicitly any more.
17756 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
17757 to avoid creating a ~/.emacs.d at build-time (bug#4347).
17759 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
17761 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
17763 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
17764 (gdb-var-update-handler): Use json parsing.
17766 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
17768 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
17769 decode annotated text, regardless of language environment. (Bug#2741)
17771 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17773 * Makefile.in (autoloads): Make rmail.el writable as well.
17775 2009-09-11 Glenn Morris <rgm@gnu.org>
17777 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
17779 * dired.el: Regenerate with extracted autoloads.
17780 * Makefile.in (autoloads): Make dired.el writable.
17782 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
17783 * ibuffer.el: Regenerate with extracted autoloads.
17784 * Makefile.in (autoloads): Make ibuffer.el writable.
17786 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
17787 * version.el (emacs-copyright, emacs-major-version)
17788 (emacs-minor-version): Reformat doc-strings for make-docfile.
17790 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
17791 functions and variables, since they must be stuff specific to some other
17793 (apropos-print): Make mouse-click message less specific about button.
17795 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
17796 that records where a macro was defined.
17797 * help-fns.el (describe-function-1): Mention if a function has a
17799 * help-mode.el (help-function-cmacro): New button.
17801 * locate.el (top-level): Always require dired.
17802 (locate-mode-map): Initialize inside the defvar.
17804 * net/ange-ftp.el (dired-compress-file): Declare.
17805 (ange-ftp-dired-compress-file): Add doc string.
17807 * term/ns-win.el (x-display-name, x-setup-function-keys):
17808 Unify doc-strings with X versions.
17810 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17812 * emulation/crisp.el (crisp-mode-map): Move initialization
17814 (crisp-mode): Use define-minor-mode.
17816 * progmodes/xscheme.el (xscheme-evaluation-commands):
17817 Put a :advertised-binding property rather than using
17818 advertised-xscheme-send-previous-expression.
17819 (advertised-xscheme-send-previous-expression): Declare obsolete.
17820 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
17822 (crisp-mode): Add corresponding bindings to
17823 undo's :advertised-binding instead.
17824 * dired.el (dired-mode-map): Put a :advertised-binding property rather
17825 than using dired-advertised-find-file.
17826 (dired-advertised-find-file):
17827 * simple.el (advertised-undo):
17828 * wid-edit.el (advertised-widget-backward): Declare obsolete.
17829 (widget-keymap): Put a :advertised-binding property rather
17830 than using advertised-widget-backward.
17831 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
17832 than using advertised-undo.
17833 * tutorial.el (tutorial--default-keys): Adjust accordingly.
17835 2009-09-10 Simon South <ssouth@slowcomputing.org>
17837 * progmodes/delphi.el (delphi-tab): Indent region when Transient
17838 Mark mode is enabled and region is active; otherwise indent or
17839 insert TAB as usual.
17840 (delphi-mode): Update description of TAB-key binding.
17842 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
17844 * subr.el (define-key-rebound-commands): Mark obsolete.
17845 * startup.el (precompute-menubar-bindings): Remove.
17846 (normal-top-level): Remove obsolete code that tried to precompute
17848 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
17849 define-key-rebound-commands and precompute-menubar-bindings.
17851 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
17853 * net/imap.el (imap-interactive-login): Better messages.
17854 (imap-open): Fix bug with renamed buffer on reconnect.
17855 (imap-authenticate): Add buffer-local imap-last-authenticator variable
17856 for easier debugging and cleaner code. On successful (guessed based on
17857 server capabilities) secondary authentication, set imap-state
17859 (imap-last-authenticator): Define imap-last-authenticator as a variable
17862 2009-09-10 Glenn Morris <rgm@gnu.org>
17864 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
17866 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
17867 (byte-compile-file-form-autoload): Don't warn about unknown functions
17868 where the autoload statement comes after the use.
17869 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
17870 that any handlers inside the body (eg require) are in turn respected.
17872 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
17875 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
17876 and syntax and abbrev tables basic docs, if they don't have any.
17878 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
17880 * international/mule-cmds.el (top-level): Require cl when compiling.
17881 (view-hello-file): Use default-value rather than
17882 default-enable-multibyte-characters.
17884 * progmodes/fortran.el: Move all safe and risky properties into the
17887 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
17888 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
17889 * mail/undigest.el:
17890 Put autoloads in rmail.el rather than loaddefs.el.
17891 * mail/rmail.el: Regenerate with extracted autoloads.
17893 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
17894 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
17896 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
17898 Reported in thread for Bug#4375.
17899 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
17900 "-data-evaluate-expression" instead of print.
17901 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
17902 (gdb-tooltip-print): Parse output from above MI command.
17903 (gdb): Revert 2009-08-11 change. User should detach inferior
17906 Remove the word "separate" from IO functions as inferior
17907 output is now never displayed in the GUD buffer.
17909 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
17911 * startup.el (command-line-normalize-file-name): On Windows and
17912 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
17914 2009-09-10 Juri Linkov <juri@jurta.org>
17916 * isearch.el (isearch-text-char-description): Propertize escape
17917 character sequences with the `escape-glyph' face. (Bug#4344)
17919 * simple.el (shell-command): Set asynchronous process filter to
17920 `comint-output-filter'. (Bug#4343)
17922 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
17923 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
17924 the list. Move "asm" to the bottom.
17925 (grep-find-ignored-directories): Add `choice' with nil value
17926 to empty the list easily.
17927 (grep-find-ignored-files): New option.
17928 (grep-files-history): Set to nil by default instead of '("ch" "el").
17929 (grep-compute-defaults): Add "<X>" to `grep-template'.
17930 (grep-read-files): Bind new local variables `default-alias' and
17931 `default-extension'. Use a list of default values for the file prompt.
17932 (lgrep): Add `--exclude=' command line options composed from
17933 `grep-find-ignored-files'.
17934 (rgrep): Add `-name' command line options composed from
17935 `grep-find-ignored-files'. (Bug#4301)
17937 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
17939 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
17942 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
17944 * calendar/time-date.el (autoload):
17945 Expand define-obsolete-function-alias into defalias and make-obsolete
17946 for old Emacsen that Gnus supports.
17947 (with-no-warnings): Define it for old Emacsen.
17948 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
17950 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
17951 float-time is available; suppress compile warning for time-to-seconds.
17953 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
17955 * net/imap.el (imap-message-map): Docstring fix.
17957 2009-09-09 Glenn Morris <rgm@gnu.org>
17959 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
17960 line numbers too. (Bug#4374)
17962 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
17964 * smerge-mode.el (smerge-remove-props, smerge-refine):
17965 Use with-silent-modifications (bug#4342).
17967 * subr.el (with-silent-modifications): New macro.
17969 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
17971 * files.el (top-level): Require `cl' when compiling.
17973 2009-09-07 Glenn Morris <rgm@gnu.org>
17975 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
17977 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
17978 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
17980 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
17982 * vc-git.el (vc-git-annotate-command): Use separator to parse
17983 arguments correctly.
17985 2009-09-06 Eli Zaretskii <eliz@gnu.org>
17987 * proced.el (proced-mode): Doc fix.
17989 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
17991 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
17993 (tramp-do-file-attributes-with-ls): Check for file existence at
17995 (tramp-do-file-attributes-with-stat): Likewise.
17996 (tramp-convert-file-attributes): Return nil when attr is nil.
17998 2009-09-05 Glenn Morris <rgm@gnu.org>
18000 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
18001 properties to this button.
18002 (diary-fancy-display): Don't extend the button to the final newline.
18003 (diary-fancy-display-mode): Continue to define "q" as a local key.
18005 * calendar/cal-china.el (holiday-chinese): Make it slightly more
18008 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
18010 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
18011 (byte-compile-dest-file-function): New option.
18012 (byte-compile-dest-file): Doc fix.
18013 Obey byte-compile-dest-file-function.
18014 (byte-compile-cl-file-p): New function.
18015 (byte-compile-eval): Only suppress noruntime warnings about cl functions
18016 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
18017 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
18018 than for file being previously loaded.
18019 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
18020 (byte-compile-file-form-require): Handle the case where requiring a file
18021 indirectly causes CL to be loaded.
18023 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18025 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
18026 before killing the old buffer, since by the time `kill-buffer' is
18027 run so many buffer variables have been set to nil that it may not
18028 behave as expected. (Bug#4061)
18030 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18032 * files.el (find-alternate-file): If the old buffer is modified
18033 and visiting a file, behave similarly to `kill-buffer' when
18034 killing it, thus reverting to the pre-1.878 behavior; see
18035 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
18036 for discussion. Also, consult `buffer-file-name' as a variable
18037 not as a function, for consistency with the rest of the code.
18039 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
18041 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
18042 also when adding a new directory.
18044 * net/tramp-compat.el (tramp-compat-line-beginning-position):
18047 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
18049 * files.el (locate-file-completion-table): Make it provide boundary
18050 information, so partial-completion works better.
18052 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
18054 * mail/footnote.el (Footnote-text-under-cursor):
18055 Check footnote-text-marker-alist before using it (bug#4324).
18057 2009-09-04 Glenn Morris <rgm@gnu.org>
18059 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
18060 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
18061 * play/solitaire.el, play/tetris.el:
18062 Remove leading * from defcustom and defface docs.
18064 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
18066 (diary-fancy-overriding-map): New variable.
18067 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
18070 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
18073 2009-09-03 Glenn Morris <rgm@gnu.org>
18075 * arc-mode.el (archive-mode):
18076 * dos-fns.el (set-default-process-coding-system):
18077 * man.el (Man-getpage-in-background):
18078 * menu-bar.el (menu-bar-describe-menu):
18079 * server.el (server-process-filter):
18080 * startup.el (command-line):
18081 * tar-mode.el (tar-header-block-tokenize, tar-extract):
18082 * w32-fns.el (set-default-process-coding-system):
18083 * x-dnd.el (x-dnd-handle-file-name):
18084 * international/mule-cmds.el (mule-menu-keymap)
18085 (set-default-coding-systems, language-info-alist, set-language-info)
18086 (set-language-environment, standard-display-european-internal)
18087 (set-locale-environment):
18088 * international/mule-diag.el (mule-diag):
18089 * mail/emacsbug.el (report-emacs-bug):
18090 * mail/rmail.el (rmail-mode):
18091 * mail/sendmail.el (mail-setup):
18092 Use default-value rather than default-enable-multibyte-characters.
18094 * progmodes/f90.el: Move all safe properties into the defcustoms.
18095 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
18097 * calendar/appt.el (appt-check):
18098 * calendar/diary-lib.el (diary-set-header, diary-live-p)
18099 (diary-check-diary-file, diary-list-entries)
18100 (diary-include-other-diary-files, diary-simple-display)
18101 (diary-fancy-display, diary-print-entries)
18102 (diary-mark-included-diary-files, diary-make-entry):
18103 Don't call substitute-in-file-name on diary-file.
18105 2009-09-03 Eduard Wiebe <usenet@pusto.de>
18106 Stefan Monnier <monnier@iro.umontreal.ca>
18108 * mail/footnote.el (footnote-prefix): Make it a defcustom.
18109 (footnote-mode-map): Move initialization into the declaration.
18110 (footnote-minor-mode-map): Define it rather than changing global-map.
18111 (footnote-mode): Use define-minor-mode.
18113 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
18115 * net/tramp.el (tramp-handle-file-attributes-with-ls)
18116 (tramp-do-file-attributes-with-perl)
18117 (tramp-do-file-attributes-with-stat): Rename from
18118 `tramp-handle-file-attributes-with-*'.
18119 (tramp-handle-file-attributes): Use them.
18120 (tramp-do-directory-files-and-attributes-with-perl)
18121 (tramp-do-directory-files-and-attributes-with-stat): Rename from
18122 `tramp-handle-directory-files-and-attributes-with-*'.
18123 (tramp-handle-directory-files-and-attributes): Use them.
18124 (tramp-method-out-of-band-p): Additional parameter SIZE.
18125 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
18126 (tramp-handle-write-region): Use it.
18127 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
18128 (tramp-handle-vc-registered): Check, whether the first run did
18129 return files to be tested.
18130 (tramp-advice-make-auto-save-file-name): Do not call directly
18131 `tramp-handle-make-auto-save-file-name', because this would bypass
18132 the locking mechanism.
18134 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
18135 (file-remote-p, process-file, start-file-process, set-file-times)
18136 (tramp-compat-file-attributes): Compatibility functions shall not
18137 call directly `tramp-handle-*', because this would bypass the
18139 (tramp-compat-number-sequence): New defun.
18141 2009-09-02 Glenn Morris <rgm@gnu.org>
18143 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
18144 alias for float-time.
18145 (time-to-number-of-days): In Emacs, use float-time.
18146 * net/newst-backend.el (time-add): Suppress warnings from compat
18148 * time.el (emacs-uptime, emacs-init-time):
18149 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
18150 Use float-time rather than time-to-seconds.
18152 * minibuffer.el (completion-initials-expand): Fix typo.
18154 * faces.el (modeline, modeline-inactive, modeline-highlight)
18155 (modeline-buffer-id):
18156 * info.el (info-menu-5): Mark these face aliases as obsolete.
18158 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
18160 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
18162 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
18163 no "--thread" option.
18164 (gdb-stopped): Don't print "Switched to thread" message when it is
18167 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
18169 * minibuffer.el (completion-try-completion)
18170 (completion-all-completions): Remove ill-defined (and
18171 mistakenly installed and luckily never used nor documented)
18172 `completion-styles' property.
18173 (completion-initials-expand, completion-initials-all-completions)
18174 (completion-initials-try-completion): New functions.
18175 (completion-styles-alist): Add doc to each entry.
18176 Add new `initials' entry.
18178 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
18180 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
18181 MI command -var-evaluate-expression.
18182 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
18183 and tweak for case of string child.
18184 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
18186 2009-09-01 Glenn Morris <rgm@gnu.org>
18188 * add-log.el (change-log-date-face, change-log-name-face)
18189 (change-log-email-face, change-log-file-face, change-log-list-face)
18190 (change-log-conditionals-face, change-log-function-face)
18191 (change-log-acknowledgement-face):
18192 * cus-edit.el (custom-invalid-face, custom-rogue-face)
18193 (custom-modified-face, custom-set-face, custom-changed-face)
18194 (custom-saved-face, custom-button-face, custom-button-pressed-face)
18195 (custom-documentation-face, custom-state-face, custom-comment-face)
18196 (custom-comment-tag-face, custom-variable-tag-face)
18197 (custom-variable-button-face, custom-face-tag-face)
18198 (custom-group-tag-face-1, custom-group-tag-face):
18199 * diff-mode.el (diff-header-face, diff-file-header-face)
18200 (diff-index-face, diff-hunk-header-face, diff-removed-face)
18201 (diff-added-face, diff-changed-face, diff-function-face)
18202 (diff-context-face, diff-nonexistent-face):
18203 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
18204 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
18205 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
18206 (Info-title-4-face):
18207 * isearch.el (isearch-lazy-highlight-face):
18208 * log-view.el (log-view-file-face, log-view-message-face):
18209 * paren.el (show-paren-match-face, show-paren-mismatch-face):
18210 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
18211 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
18213 * smerge-mode.el (smerge-mine-face, smerge-other-face)
18214 (smerge-base-face, smerge-markers-face):
18215 * wid-edit.el (widget-documentation-face, widget-button-face)
18216 (widget-field-face, widget-single-line-field-face)
18217 (widget-inactive-face, widget-button-pressed-face):
18218 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
18219 (woman-addition-face):
18220 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
18221 (eshell-ls-executable-face, eshell-ls-readonly-face)
18222 (eshell-ls-unreadable-face, eshell-ls-special-face)
18223 (eshell-ls-missing-face, eshell-ls-archive-face)
18224 (eshell-ls-backup-face, eshell-ls-product-face)
18225 (eshell-ls-clutter-face):
18226 * eshell/em-prompt.el (eshell-prompt-face):
18227 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
18228 * obsolete/old-whitespace.el (whitespace-highlight-face):
18229 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
18230 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
18231 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
18232 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
18233 (antlr-font-lock-literal-face):
18234 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
18235 (ebrowse-root-class-face, ebrowse-file-name-face)
18236 (ebrowse-default-face, ebrowse-member-attribute-face)
18237 (ebrowse-member-class-face, ebrowse-progress-face):
18238 * progmodes/make-mode.el (makefile-space-face):
18239 * progmodes/sh-script.el (sh-heredoc-face):
18240 * textmodes/flyspell.el (flyspell-incorrect-face)
18241 (flyspell-duplicate-face):
18242 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
18243 * textmodes/texinfo.el (texinfo-heading-face):
18244 Mark face aliases with "-face" suffix as obsolete.
18246 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
18249 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
18250 (eudc-bob-sound-menu): Use defvar rather than defconst, since
18251 easy-menu-define wants to modify these.
18253 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
18255 * net/browse-url.el (browse-url-file-url):
18256 * term/internal.el (dos-codepage-setup):
18257 Use default-value rather than default-enable-multibyte-characters.
18259 * progmodes/etags.el (etags-goto-tag-location):
18260 * progmodes/flymake.el (flymake-highlight-line)
18261 (flymake-goto-file-and-line, flymake-goto-line):
18262 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
18263 (gdb-goto-breakpoint):
18264 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
18265 * progmodes/python.el (python-find-function)
18266 (python-pdbtrack-track-stack-file):
18267 * progmodes/verilog-mode.el (verilog-surelint-off):
18268 * term/ns-win.el (ns-open-file-select-line):
18269 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
18270 Use forward-line rather than goto-line.
18272 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
18273 * textmodes/reftex-index.el (reftex-display-index):
18274 * textmodes/reftex-ref.el (reftex-offer-label-menu):
18275 * textmodes/reftex-toc.el (reftex-toc):
18276 Remove unnecessary bindings of default-major-mode (all are followed by
18277 major-mode check and possible mode switch).
18279 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
18281 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
18282 Handle watchpoints (bug#4282).
18283 (def-gdb-thread-buffer-command): Enable thread to be selected by
18284 clicking without selecting threads buffer first.
18285 (gdb-current-context-command): Use selected frame so that "up",
18286 "down" etc work in the GUD buffer.
18287 (gdb-update): Find selected frame before rendering stack buffer.
18288 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
18290 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
18292 * progmodes/sym-comp.el (displayed-completions): Remove.
18293 (symbol-complete): Use minibuffer-complete.
18295 2009-08-31 Glenn Morris <rgm@gnu.org>
18297 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
18299 * apropos.el (apropos-symbols-internal):
18300 Handle (obsolete) face aliases.
18302 * faces.el (describe-face): Adjust the output format to be more like
18303 describe-variable, and to mention (obsolete) face aliases.
18304 Adjust the whitespace so that help-setup-xref works.
18306 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
18307 * calendar/diary-lib.el (diary-button-face):
18308 Mark these face aliases as obsolete.
18310 * calendar/calendar.el (calendar-today): Doc fix.
18312 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
18314 * progmodes/gdb-mi.el (gdb-control-all-threads)
18315 (gdb-control-current-thread): Force tool bar update.
18316 (gdb-non-stop-handler): New function.
18317 (gdb-init-1): Use it to test if non-stop mode is supported.
18318 Remove unused gdbmi buffer type.
18320 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
18322 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
18323 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
18325 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
18327 * comint.el (comint-exec-1): Check command is non-null first.
18328 Part of gdb-mi.el change (2009-08-28).
18330 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18332 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
18334 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
18336 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
18337 instead of `dolist' to avoid a recursive require when bootstrapping.
18339 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18341 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
18343 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
18345 * net/imap.el (imap-send-command): Simplify.
18346 (imap-wait-for-tag): point-max -> buffer-size.
18348 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
18350 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
18351 with constant argument.
18353 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
18355 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
18357 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
18358 Change default, since most of our files don't have a history.
18359 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
18362 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18365 * calc/calc.el: Improve commenting convention.
18366 (calc-digit-map, toplevel): Simplify.
18368 * comint.el (comint-insert-input): Be careful to only set point if we
18369 don't delegate to some other command.
18371 * proced.el (proced-signal-list): Make it an alist.
18372 (proced-grammar-alist): Capitalize names.
18373 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
18374 Disable undo manually and make it read-only.
18375 Use completion-annotate-function.
18377 * minibuffer.el (minibuffer-message): If the current buffer is not
18378 a minibuffer, insert the message in the echo area rather than at the
18380 (completion-annotate-function): New variable.
18381 (minibuffer-completion-help): Use it.
18382 (completion--embedded-envvar-table): Environment vars are
18383 always case-sensitive.
18385 2009-08-30 Glenn Morris <rgm@gnu.org>
18387 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
18388 from fortran-current-defun.
18389 (fortran-beginning-of-subprogram): Be more precise about finding the
18390 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
18391 (fortran-end-of-subprogram): Simplify.
18392 (fortran-current-defun): Use fortran-start-prog-re.
18394 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
18396 * subr.el (do-after-load-evaluation): Simplify.
18398 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
18400 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
18402 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
18403 (vc-rcs-print-log): Use it.
18405 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
18407 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
18409 * paths.el (abbrev-file-name): Move to abbrev.el.
18410 * abbrev.el (abbrev-file-name): Move from paths.el.
18411 Obey user-emacs-directory.
18412 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
18413 user-emacs-directory.
18414 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
18415 abbrev-file-name and calc-settings-file any more.
18416 * startup.el (command-line): Recompute abbrev-file-name and
18417 abbreviated-home-dir.
18418 (normal-no-mouse-startup-screen): Improve the generic code and get rid
18419 of the special code for when C-h bindings haven't been changed.
18420 (display-startup-echo-area-message): Use with-current-buffer.
18421 (command-line-1): Use a list of strings, rather than a list of lists
18422 of strings for longopts.
18424 * files.el (get-free-disk-space): Use / for default-directory.
18426 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
18427 Use with-current-buffer.
18429 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
18430 Recognize immutable variables like most-positive-fixnum.
18431 (byte-compile-setq-default): Check and warn if trying to assign
18432 to an immutable variable, or a non-variable.
18434 * progmodes/cc-vars.el (c-comment-continuation-stars):
18435 * progmodes/cc-engine.el (c-looking-at-bos):
18436 * progmodes/cc-cmds.el (c-toggle-auto-state)
18437 (c-forward-into-nomenclature, c-backward-into-nomenclature)
18438 (c-comment-line-break-function): Add version of obsolescence.
18440 2009-08-28 Juri Linkov <juri@jurta.org>
18442 * files.el (magic-fallback-mode-alist): Add ZIP magic number
18443 associated with `archive-mode'.
18445 * image.el (image-type-header-regexps): Use only JPEG magic number
18446 to determine JPEG images, and don't use `image-jpeg-p' because
18447 Emacs can display non-JFIF non-Exif JPEG images.
18449 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
18451 * arc-mode.el (archive-mode):
18452 * emacs-lisp/re-builder.el (re-builder-unload-function):
18453 Protect against the default value of `major-mode' being nil.
18455 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
18457 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
18458 Fix typos in docstrings.
18460 * progmodes/js.el (js--macro-decl-re): Doc fix.
18461 (js--plain-method-re, js--split-name): Refloc docstring.
18462 (js--class-styles, js--make-merged-item, js--splice-into-items):
18463 Fix typos in docstrings; reflow docstrings.
18464 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
18465 (js--variable-decl-matcher, js--inside-pitem-p)
18466 (js--parse-state-at-point, js--get-all-known-symbols)
18467 (js--symbol-history, js-find-symbol, js--js-references)
18468 (js--moz-interactor, js--js-encode-value, js--read-tab):
18469 Fix typos in docstrings.
18471 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18473 * textmodes/reftex.el (reftex-get-file-buffer-force):
18474 * progmodes/verilog-mode.el (verilog-batch-execute-func):
18475 * emulation/viper.el (viper-go-away, viper-set-hooks):
18476 * emacs-lisp/re-builder.el (re-builder-unload-function):
18477 * emacs-lisp/bytecomp.el (byte-compile-file):
18478 * ses.el (ses-unload-function):
18479 * hexl.el (hexl-find-file):
18480 * files.el (normal-mode):
18481 * ehelp.el (with-electric-help):
18482 * autoinsert.el (auto-insert-alist):
18483 * arc-mode.el (archive-mode):
18484 Use (default-value 'major-mode) instead of default-major-mode.
18486 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
18487 * international/mule.el (load-with-code-conversion):
18488 * emacs-lisp/debug.el (debug):
18489 * ediff-vers.el (ediff-rcs-get-output-buffer):
18490 * dired.el (dired-internal-noselect): Don't let-bind
18491 default-major-mode around code that doesn't use it.
18492 E.g. buffer creation via get-buffer-create doesn't use it.
18494 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
18496 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
18497 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
18498 when writing the temp file. Otherwise, epa-file gets confused.
18499 (tramp-register-file-name-handlers): Make it a defun. Move also
18500 `epa-file-handler' to the front of `file-name-handler-alist'.
18502 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18504 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
18505 start right after a ^M.
18506 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
18507 (tramp-completion-file-name-regexp-separate)
18508 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
18509 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
18510 Don't modify last-coding-system-used by accident.
18511 (tramp-completion-file-name-handler): Apply the checks here,
18512 instead during registration.
18513 (tramp-register-file-name-handlers): Rename from
18514 `tramp-register-file-name-handler'. Register both
18515 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
18516 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
18518 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
18520 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
18521 Remove variable ...
18522 (gdb-init-1, gdb-display-separate-io-buffer)
18523 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
18525 (gdb-inferior-io-mode): Use make-comint-in-buffer.
18526 (gdb-inferior-filter): Use comint-output-filter to stop
18527 echoing and remove ^M characters.
18529 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18531 * emulation/viper-init.el (viper-restore-cursor-type):
18532 * emulation/cua-base.el (cua--update-indications):
18533 Replace default-cursor-type with (default-value 'cursor-type).
18535 * mail/sendmail.el (mail-recover-1):
18536 * international/mule-diag.el (describe-current-coding-system-briefly)
18537 (describe-current-coding-system):
18538 * international/mule-cmds.el (select-safe-coding-system)
18539 (select-message-coding-system)
18540 (set-language-environment-coding-systems, set-locale-environment):
18541 * hexl.el (hexl-insert-multibyte-char):
18542 * dos-w32.el (find-buffer-file-type-coding-system):
18543 * simple.el (what-cursor-position):
18544 Replace uses of default-buffer-file-coding-system
18545 with (default-value 'buffer-file-coding-system).
18547 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
18548 Replace uses of default-cursor-in-non-selected-windows
18549 with (default-value 'cursor-in-non-selected-windows).
18550 Use with-current-buffer.
18552 * mail/feedmail.el: Use CL macros.
18553 (feedmail-run-the-queue, feedmail-send-it-immediately):
18554 * dos-w32.el (find-buffer-file-type): Replace uses of
18555 default-buffer-file-type with (default-value 'buffer-file-type).
18557 2009-08-28 Glenn Morris <rgm@gnu.org>
18559 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
18560 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
18561 Use default-value of major-mode rather than default-major-mode.
18563 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18565 * Makefile.in (update-elcfiles): Report left over elc files.
18567 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
18568 expand-file-name and with-current-buffer.
18569 (mail-get-names, mail-directory): Use with-current-buffer.
18571 * vc.el (vc-read-revision): New function.
18572 (vc-version-diff, vc-merge): Use it.
18574 2009-08-27 Sam Steingold <sds@gnu.org>
18576 * simple.el (kill-do-not-save-duplicates): New user option.
18577 (kill-new): When it is non-nil, and the new string is the same as
18578 the latest kill, set replace to t to avoid duplicates in kill-ring.
18580 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
18582 * net/tramp.el (tramp-handle-process-file): Do not flush all
18583 caches when `process-file-side-effects' is set.
18584 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
18585 instead of `tramp-find-file-exists-command'.
18586 Unset `process-file-side-effects'.
18588 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
18590 * net/tramp.el (tramp-methods): New method "rsyncc".
18591 (top): Add completion function for "rsyncc".
18592 (tramp-message-show-message): New defvar.
18593 (tramp-message, tramp-error): Use it.
18594 (tramp-do-copy-or-rename-file-directly): Extend check for direct
18596 (tramp-do-copy-or-rename-file-out-of-band): Handle new
18597 `tramp-methods' entry `copy-env' of "rsyncc".
18598 (tramp-vc-registered-read-file-names): New defconst.
18599 (tramp-vc-registered-file-names): New defvar.
18600 (tramp-handle-vc-registered): Implement optimization strategy.
18601 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
18602 (tramp-vc-file-name-handler): New defun.
18603 (tramp-get-ls-command, tramp-get-test-command)
18604 (tramp-get-file-exists-command, tramp-get-remote-ln)
18605 (tramp-get-remote-perl, tramp-get-remote-stat)
18606 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
18608 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
18609 (tramp-cache-inhibit-cache): Extend doc string. It allows also
18611 (tramp-get-file-property): Check for timestamps in
18612 `tramp-cache-inhibit-cache'.
18613 (tramp-set-file-property): Write timestamp.
18615 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
18617 * language/japan-util.el (japanese-symbol-table): Add entries for
18620 * international/characters.el: Add category `j' to cp932-2-byte.
18622 2009-08-27 Kenichi Handa <handa@m17n.org>
18624 * international/fontset.el (build-default-fontset-data): New macro.
18625 (setup-default-fontset): Use build-default-fontset-data for CJK,
18626 tibetan, ethiopic, and ipa.
18628 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18630 * cus-start.el (default-major-mode): Customize `major-mode' instead.
18631 (enable-multibyte-characters): Not customizable any more.
18633 * subr.el (default-mode-line-format, default-header-line-format)
18634 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
18635 (default-direction-reversed, default-truncate-lines)
18636 (default-left-margin, default-tab-width, default-case-fold-search)
18637 (default-left-margin-width, default-right-margin-width)
18638 (default-left-fringe-width, default-right-fringe-width)
18639 (default-fringes-outside-margins, default-scroll-bar-width)
18640 (default-vertical-scroll-bar, default-indicate-empty-lines)
18641 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
18642 (default-fringe-cursor-alist, default-scroll-up-aggressively)
18643 (default-scroll-down-aggressively, default-fill-column)
18644 (default-cursor-type, default-buffer-file-type)
18645 (default-cursor-in-non-selected-windows)
18646 (default-buffer-file-coding-system, default-major-mode)
18647 (default-enable-multibyte-characters): Mark as obsolete.
18649 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
18651 * vc-dir.el (vc-dir-update): Remove debug helper.
18653 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
18655 2009-08-26 Sam Steingold <sds@gnu.org>
18657 * simple.el (save-interprogram-paste-before-kill): New user option.
18658 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
18659 save the interprogram-paste into kill-ring before overriding it
18660 with the Emacs kill.
18662 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
18664 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
18665 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
18666 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
18667 and move to vc-rcs.el.
18668 (vc-default-next-revision): Rename to vc-rcs-next-revision and
18670 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
18671 (vc-rcs-update-changelog): Remove.
18672 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
18673 and move to vc-rcs.el.
18675 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
18676 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
18678 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
18679 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
18680 vc.el, renamed to be RCS specific.
18682 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
18684 (vc-cvs-update-changelog): Move here from vc.el.
18686 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
18689 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
18691 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
18693 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
18695 * vc-git.el (vc-git-register): Use "git add" for directories.
18696 (vc-git-stash, vc-git-stash-show): New functions.
18697 (vc-git-extra-menu-map): Bind them.
18699 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
18700 directory correctly in case the item is a directory itself.
18702 * vc.el: Document the desired behavior for reverted files in the
18704 (vc-default-prettify-state-info): Remove function, unused.
18706 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
18708 2009-08-26 Glenn Morris <rgm@gnu.org>
18710 * bindings.el (standard-mode-line-format): Reposition dashes in
18711 which-func entry. (Bug#4217)
18713 * files.el (enable-local-variables, enable-local-eval)
18714 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
18716 (auto-mode-alist, ignored-local-variables)
18717 (save-some-buffers-action-alist): Move risky declarations to the
18719 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
18720 (font-lock-defaults, format-alist, imenu--index-alist)
18721 (imenu-generic-expression, input-method-alist, minor-mode-alist)
18722 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
18723 (mode-line-modified, mode-line-mule-info, mode-line-position)
18724 (mode-line-process, mode-line-remote, outline-level)
18725 (parse-time-rules, rmail-output-file-alist)
18726 (special-display-buffer-names, vc-mode):
18727 Move risky declarations to the relevant files.
18728 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
18729 (mode-line-modified, mode-line-process, mode-line-position)
18730 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
18731 * font-core.el (font-lock-defaults):
18732 * format.el (format-alist):
18733 * vc-hooks.el (vc-mode):
18734 * window.el (special-display-buffer-names):
18735 * international/mule-cmds.el (input-method-alist):
18736 Define riskiness here (dumped file) rather than in files.el.
18737 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
18738 * imenu.el (imenu-generic-expression, imenu--index-alist):
18739 * outline.el (outline-level):
18740 * time.el (display-time-string):
18741 * calendar/parse-time.el (parse-time-rules):
18742 * mail/rmailout.el (rmail-output-file-alist):
18743 Autoload riskiness here, rather than placing in files.el.
18745 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
18747 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
18749 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
18751 * simple.el (process-file-side-effects): New defvar.
18753 * dired-aux.el (dired-show-file-type):
18754 * vc.el (vc-diff-internal):
18755 * vc-arch.el (vc-arch-diff):
18756 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
18757 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
18758 * vc-git.el (vc-git-registered, vc-git-working-revision)
18759 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
18760 (vc-git--empty-db-p):
18761 * vc-hooks.el (vc-user-login-name):
18762 * vc-svn.el (vc-svn-registered, vc-svn-state)
18763 (vc-svn-dir-extra-headers, vc-svn-find-revision):
18764 * progmodes/grep.el (grep-probe): Let-bind
18765 `process-file-side-effects' with nil.
18767 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
18769 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
18770 daemon. Replace ping by checking for running service for bluez
18771 and zeroconf. (Bug#4239)
18773 2009-08-25 Kevin Ryde <user42@zip.com.au>
18775 * net/dig.el (dig): Add autoload cookie.
18777 2009-08-25 Glenn Morris <rgm@gnu.org>
18779 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
18780 load-history for absolute file-names.
18781 (byte-compile-file-form-require): Warn about use of the cl package.
18783 * format.el (format-alist): Doc fix.
18785 * play/bubbles.el (top-level): Don't require cl at run-time.
18787 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
18790 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
18792 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
18794 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
18796 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
18798 * calc/calc-alg.el (math-trig-rewrite)
18799 (math-hyperbolic-trig-rewrite): New functions.
18800 (calc-simplify): Simplify trig functions when asked.
18802 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18804 * diff-mode.el (diff-find-source-location): Avoid goto-line.
18806 2009-08-24 Kenichi Handa <handa@m17n.org>
18808 * language/ind-util.el (mapthread): Delete it.
18809 (combinatorial): New function.
18810 (indian--puthash-cv): Use combinatorial instead of mapthread.
18812 2009-08-22 Kevin Ryde <user42@zip.com.au>
18814 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
18815 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
18816 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
18817 Clarify docstring that the value is strings not symbols.
18818 (checkdoc-list-of-strings-p): New function.
18820 2009-08-22 Glenn Morris <rgm@gnu.org>
18822 * files.el (auto-mode-alist):
18823 * hippie-exp.el (he-concat-directory-file-name):
18824 * lpr.el (lpr-windows-system, printer-name):
18825 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
18826 * ps-print.el (ps-windows-system):
18827 * startup.el (command-line):
18828 * emulation/viper-ex.el (viper-glob-function):
18829 * international/mule-cmds.el (set-language-environment-coding-systems):
18830 * net/ange-ftp.el (ange-ftp-write-region):
18831 * obsolete/fast-lock.el (fast-lock-cache-name):
18832 Remove code for defunct system-types emx, macos, mswindows, next-mach,
18833 unisoft-unix, vax-vms, win32, w32.
18835 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
18836 given name if the pattern is not more specific.
18838 * calendar/lunar.el (lunar-phase-names): New option.
18839 (lunar-phase): Doc fix.
18840 (lunar-cycles-per-year): New constant.
18841 (lunar-index): New function.
18842 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
18843 (lunar-phase-name): Use lunar-phase-names.
18844 (calendar-lunar-phases): Use format.
18845 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
18847 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
18848 Copy imenu-example--name-and-position function here for own use.
18849 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
18851 * bs.el (bs--redisplay):
18852 * cus-edit.el (custom-redraw):
18853 * ibuffer.el (ibuffer-bury-buffer):
18854 * server.el (server-goto-line-column):
18855 * startup.el (command-line-1):
18856 * strokes.el (strokes-xpm-for-stroke):
18857 * term.el (term-display-buffer-line):
18858 * view.el (View-goto-line):
18859 * calc/calc.el (calc-do, calc-trail-buffer):
18860 * play/gamegrid.el (gamegrid-add-score-insecure):
18861 * progmodes/ada-mode.el (ada-compile-goto-error):
18862 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
18863 (ebrowse-select-1st-to-9nth):
18864 * progmodes/cperl-mode.el (cperl-time-fontification):
18865 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
18866 * progmodes/gud.el (gud-display-line):
18867 (idlwave-shell-display-line):
18868 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
18869 * progmodes/make-mode.el (makefile-browser-toggle):
18870 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
18871 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
18872 * textmodes/picture.el (picture-draw-rectangle):
18873 * textmodes/reftex-index.el (reftex-index-goto-letter):
18874 (reftex-select-jump-to-previous):
18875 * textmodes/reftex-sel.el (reftex-find-start-point)
18876 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
18877 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
18878 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
18879 * textmodes/tex-mode.el (tex-compilation-parse-errors):
18880 * textmodes/two-column.el (2C-associated-buffer):
18881 Use forward-line rather than goto-line.
18883 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
18886 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
18887 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
18888 (quick-check-list-to-regexp): Declare.
18890 * progmodes/make-mode.el (makefile-browser-insert-selection):
18891 Use goto-char rather than goto-line.
18893 * progmodes/prolog.el (compilation-error-regexp-alist)
18894 (compilation-forget-errors): Declare.
18896 2009-08-22 Juri Linkov <juri@jurta.org>
18898 * progmodes/grep.el (lgrep, rgrep): At the beginning
18899 set `dir' to `default-directory' unless `dir' is a non-nil
18900 readable directory. (Bug#4052)
18901 (lgrep, rgrep): Change a weird way to report an error
18902 from using `read-string' to using `error'.
18903 Instead of using interactive arguments in the function body,
18904 add new argument `confirm'.
18906 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
18908 * textmodes/remember.el (remember-buffer):
18909 * progmodes/cperl-mode.el (cperl-vc-header-alist):
18910 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
18911 (icalendar-extract-ical-from-buffer):
18912 * net/newst-treeview.el (newsticker-groups-filename):
18913 * net/newst-backend.el (newsticker-cache-filename):
18914 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
18915 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
18916 (speedbar-add-ignored-path-regexp, speedbar-line-path)
18917 (speedbar-buffers-line-path, speedbar-path-line)
18918 (speedbar-buffers-line-path):
18919 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
18921 * epa.el (epa-display-verify-result):
18922 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
18924 2009-08-21 Glenn Morris <rgm@gnu.org>
18926 * progmodes/js.el (inferior-moz-process): Fix declaration.
18928 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
18930 * obsolete/rnewspost.el (news-mail-reply):
18931 Use goto-char rather than goto-line.
18933 * term/ns-win.el (ns-open-file-select-line):
18934 Use line-beginning-position rather than goto-line.
18936 * apropos.el (apropos-command):
18937 * ehelp.el (electric-helpify):
18938 * printing.el (pr-show-setup):
18939 * strokes.el (strokes-help):
18940 * tutorial.el (tutorial--describe-nonstandard-key)
18941 (tutorial--detailed-help):
18942 * woman.el (woman-mini-help, woman-display-extended-fonts):
18943 * calc/calc-help.el (calc-describe-key):
18944 * emulation/edt.el (edt-electric-helpify):
18945 * international/mule-diag.el (mule-diag):
18946 * play/yow.el (apropos-zippy):
18947 * progmodes/python.el (python-describe-symbol):
18948 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
18949 * textmodes/table.el (*table--cell-describe-mode)
18950 (*table--cell-describe-bindings):
18951 Use help-print-return-message rather than the now obsolete alias.
18953 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
18954 (calendar-cursor-to-visible-date):
18955 * play/5x5.el (5x5-position-cursor):
18956 * play/decipher.el (decipher):
18957 * play/gomoku.el (gomoku-goto-xy):
18958 * play/landmark.el (lm-goto-xy):
18959 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
18960 (mpuz-paint-digit):
18961 Use forward-line, not goto-line.
18963 * mail/rmail.el (rmail-obsolete): Delete custom group.
18964 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
18965 (rmail-remote-password, rmail-remote-password-required):
18966 Remove unneeded :set-after and :set properties.
18968 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
18970 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
18972 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
18974 * loadup.el: Remove leftover macos code.
18976 * vc-git.el (vc-git-annotate-command): Run asynchronously.
18977 Explicitly pass the date format to git blame so that user local
18978 so that the output format can be parsed.
18980 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
18982 * net/dbus.el (top): Don't check for (getenv
18983 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
18985 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
18987 * log-edit.el (log-edit-strip-single-file-name): New var.
18988 (log-edit-insert-changelog): Use it. Bug#3571
18990 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18992 * subr.el (read-passwd): Use read-key so keypad keys work as well.
18995 * help.el (help-print-return-message): Rename from
18996 print-help-return-message.
18998 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
18999 cvs-mode-map parent hack.
19000 (log-view-mode): Derive from special-mode.
19002 * linum.el (linum-mode): window-size-change-functions is redundant.
19003 Adapt to new window-configuration-change-hook behavior.
19004 (linum-after-size, linum-after-config): Remove.
19006 * imenu.el (imenu-example--name-and-position)
19007 (imenu-example--lisp-extract-index-name)
19008 (imenu-example--create-lisp-index, imenu-example--create-c-index):
19011 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
19012 (inferior-prolog-mode): Use it.
19013 (inferior-prolog-load-file): Reset list of errors.
19015 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
19017 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
19019 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
19021 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
19023 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
19024 is running already.
19026 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19028 * subr.el (listify-key-sequence-1): Use normal syntax since those
19029 integers are nowadays always represented by the same (positive) number
19031 (read-key-empty-map): New const.
19032 (read-key-delay): New var.
19033 (read-key): New function.
19034 (force-mode-line-update): Use with-current-buffer.
19035 (locate-user-emacs-file): Don't forget to abbreviate the file name.
19036 (start-process-shell-command, start-file-process-shell-command):
19037 Discourage the use of command-args.
19039 2009-08-19 Glenn Morris <rgm@gnu.org>
19041 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
19043 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19045 * simple.el (choose-completion-string): Don't rely on
19046 minibuffer-completing-file-name and ad-hoc checks to decide whether
19047 to continue completion or not.
19049 * minibuffer.el (minibuffer-hide-completions): New function.
19050 (completion--do-completion): Use it.
19051 (completions-annotations): New face.
19052 (completion--insert-strings): Use it.
19053 (completion-pcm--delim-wild-regex): Add docstring.
19054 (completion-pcm--string->pattern): Add support for 0-width delimiters
19055 in completion-pcm--delim-wild-regex.
19057 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
19059 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
19060 Remove unused var `buffer-modified-p'.
19062 * minibuffer.el (completion--do-completion): Move point for the #b001
19063 case as well (bug#4176).
19064 (minibuffer-complete, minibuffer-complete-word): Don't move point.
19066 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
19068 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
19069 and :session buses.
19071 2009-08-18 Kenichi Handa <handa@m17n.org>
19073 * international/ucs-normalize.el (ucs-normalize-version):
19075 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
19076 (utf-8-hfs): Make it perform normalization on encoding too.
19078 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
19079 (sentence-end-without-space): Delete duplicated chars.
19080 (sentence-end-base): Likewise.
19082 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
19083 (html-mode): Delete duplicated chars from sentence-end-base.
19085 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
19086 (texinfo-mode): Delete duplicated chars from sentence-end-base.
19088 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
19090 * files.el (hack-one-local-variable): If the mode function is for
19091 a minor mode, pass it an argument (Bug#4148).
19093 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
19095 * net/tramp.el (tramp-register-completion-file-name-handler):
19096 Check also for (member 'partial-completion completion-styles).
19098 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19100 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
19103 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
19105 * progmodes/cperl-mode.el: Merge upstream 6.2.
19106 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
19107 (cperl-forward-re): Check cperl-brace-recursing.
19108 (cperl-highlight-charclass): New function.
19109 (cperl-find-pods-heres): Use it.
19110 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
19111 (cperl-beautify-regexp-piece): Fix column calculation.
19112 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
19113 (cperl-beautify-level): Don't process entire regexp.
19114 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
19116 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
19117 (cperl-init-faces): Build a list in the normal way.
19119 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19121 * calendar/parse-time.el (parse-time-string-chars): Save match
19124 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
19126 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
19127 (sql-product): Use it.
19128 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
19129 (sql-set-product): Add completion.
19130 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
19131 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
19132 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
19133 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
19134 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
19135 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
19136 (sql-highlight-db2-keywords): Remove.
19137 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
19138 (sql-highlight-product): Use derived-mode-p.
19139 (sql-set-sqli-buffer): Use with-current-buffer.
19140 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
19143 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
19145 * term.el: Fix commenting convention, turn comments into docstrings.
19147 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
19149 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
19151 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
19153 * calendar/parse-time.el (parse-time-string-chars): Compute using
19154 character classes, to handle non-ascii characters (Bug#3190).
19156 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19158 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
19159 another heredoc if the user adds another < (Bug#3226).
19161 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
19162 Don't initialize based on window-system (Bug#4124).
19164 * facemenu.el (facemenu-read-color): Use a completion function
19165 that accepts any defined color, such as RGB triplets (Bug#3677).
19167 * files.el (get-free-disk-space): Change fallback default
19168 directory to /. Expand DIR argument before switching to fallback.
19169 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
19171 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
19173 * files.el (load-library): Doc fix.
19175 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
19177 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
19178 (viper-if-string): Redefine C-s in the minibuffer to insert the last
19179 incremental search string.
19181 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
19184 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
19185 (ediff-merge-region-is-non-clash)
19186 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
19187 Also check if the job is really a merge job.
19189 * ediff.el (ediff-current-file): New function.
19191 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
19193 * progmodes/js.el: Edit docstrings throughout to follow Emacs
19195 (js-insert-and-indent): Delete function.
19196 (js-mode-map): Don't bind keys to js-insert-and-indent.
19197 (js-beginning-of-defun): Rename from js--beginning-of-defun.
19198 (js-end-of-defun): Rename from js--end-of-defun.
19199 (js-auto-indent-flag): Delete variable.
19201 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
19203 * progmodes/js.el: Remove proclaim statement.
19204 Defvar which-func-imenu-joiner-function to silence compiler.
19206 * files.el (auto-mode-alist): Use js-mode for .js files.
19208 * progmodes/js2-mode.el: Remove file.
19210 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
19212 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
19214 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
19216 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
19217 Karl Landstrom <karl.landstrom@brgeight.se>
19219 * progmodes/js.el: New file.
19221 2009-08-14 Mark A. Hershberger <mah@everybody.org>
19223 * timezone.el (timezone-parse-date): Add ability to understand ISO
19224 basic format (minimal separators) dates in addition to the
19225 already-supported extended format dates.
19227 2009-08-14 Eli Zaretskii <eliz@gnu.org>
19229 * international/ucs-normalize.el: Add a `coding' file variable.
19231 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
19233 2009-08-14 Sam Steingold <sds@gnu.org>
19235 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
19237 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
19239 * faces.el (help-argument-name): Define it here instead of
19240 help-fns.el, because in daemon mode help-fns.el may be loaded when
19241 faces are still uninitialized (Bug#1078).
19243 * help-fns.el (help-argument-name): Move defface to faces.el.
19245 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
19247 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
19248 create buffer with a pty but no process so that GDB can make the
19249 inferior the controlling process.
19251 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
19253 * international/ucs-normalize.el: New file.
19255 2009-08-13 Richard Stallman <rms@gnu.org>
19257 * mail/rmail.el (rmail-get-attr-names):
19258 Accept an attribute header that is too short.
19260 * mail/rmail.el (rmail-forget-messages):
19261 Ignore nil elt in rmail-message-vector. Use dotimes.
19263 * progmodes/compile.el (compilation-goto-locus):
19264 Use next-error-move-function.
19266 * simple.el (next-error-move-function): New variable.
19268 2009-08-12 Juri Linkov <juri@jurta.org>
19270 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
19271 always non-nil. (Bug#4052)
19273 * replace.el (read-regexp): Return empty string when
19274 `default-value' is nil.
19275 (keep-lines-read-args): Don't use empty string as the
19276 default value for `read-regexp'. (Bug#2495)
19278 2009-08-12 Juri Linkov <juri@jurta.org>
19280 * international/mule-cmds.el (ucs-insert): Change arguments
19281 from `arg' to `character', `count', `inherit' to be the same
19282 as in `insert-char'. Doc fix. (Bug#4039)
19284 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
19286 2009-08-12 Juri Linkov <juri@jurta.org>
19288 * files-x.el: New file.
19290 * files.el: Move code that deals with adding/deleting
19291 file/directory-local variables to files-x.el.
19293 * Makefile.in (ELCFILES): Add files-x.elc.
19295 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
19297 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
19298 to use `goto-line'.
19299 (gdb-place-breakpoints, gdb-get-location): Rewritten without
19301 (gdb-invalidate-disassembly): Do not refresh upon receiving
19302 'update signal. Instead, update all disassembly buffers only after
19304 (gdb): Send -target-detach when buffer is killed (Bug#3794).
19305 (gdb-starting): Move -data-list-register-names...
19306 (gdb-stopped): ...here so it's sent when first thread stops.
19307 (gdb-registers-handler-custom): Do nothing if register names are
19310 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
19311 from `gdb-mi.el' to avoid extra tangling.
19313 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
19314 change which breaks `gud-def' definitions used in `gdb'.
19315 (gdb-update-gud-running): No extra fuss for updating frame number.
19317 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
19319 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
19320 (describe-language-environment-map, setup-language-environment-map)
19321 (set-coding-system-map): Move initialization into declaration.
19322 (set-language-info-alist): Last arg to define-key-after can be skipped.
19324 * international/quail.el (quail-completion-1): Simplify.
19325 (quail-define-rules): Use slightly more compact code.
19326 (quail-insert-decode-map): Propertize keys, compact columns.
19328 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19331 2009-08-10 Miles Bader <miles@gnu.org>
19333 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
19334 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
19335 (js2-instance-member, js2-private-member, js2-private-function-call)
19336 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
19337 (js2-magic-paren, js2-external-variable):
19338 Remove "-face" suffix from face names.
19339 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
19340 (js2-highlight-undeclared-vars, js2-peek-token)
19341 (js2-parse-function-params, js2-mode-show-errors)
19342 (js2-mode-show-warnings, js2-make-magic-delimiter)
19343 (js2-mode-highlight-magic-parens): Update to use new face names.
19345 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
19347 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
19348 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
19350 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
19352 * subr.el: Provide hashtable-print-readable.
19354 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
19355 hs-c-like-adjust-block-beginning.
19356 (hs-hide-block-at-point): Stop hiding at the beginning of
19357 hs-block-end-regexp (Bug#700).
19359 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
19361 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
19363 (gdb-registers-handler-custom): Do not fail when register names
19366 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
19368 * progmodes/gdb-mi.el (gdb-control-all-threads)
19369 (gdb-control-current-thread): Interactive setters for
19370 `gdb-gud-control-all-threads' to use in menu.
19371 (gdb-show-run-p): Show «Go» when process is not active.
19372 (gud-tool-bar-map): Add non-stop/A,T indicator.
19373 Uses gud/thread.xpm and gud/all.xpm.
19375 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
19377 * net/net-utils.el (net-utils-font-lock-keywords): New var.
19378 (nslookup-font-lock-keywords): Make it a variable.
19379 (net-utils-mode): New mode for viewing diagnostic network output.
19380 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
19381 (net-utils-run-simple): New function.
19382 (ifconfig, iwconfig, netstat, arp, route): Use it.
19384 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
19386 * progmodes/gdb-mi.el (gdb-read-memory-custom)
19387 (gdb-memory-set-address, def-gdb-set-positive-number)
19388 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
19389 after changing settings.
19390 (gdb-invalidate-disassembly): Update when first shown.
19391 (gdb-edit-locals-value): Fixed.
19392 (gdb-registers-handler-custom): Print registers in right order and
19393 allow changing register values (only for current thread yet).
19394 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
19395 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
19396 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
19397 (gdb-locals-handler-custom, gdb-registers-handler-custom):
19398 Thread info in mode name.
19399 (gdb-registers-mode-map): TAB to switch to locals.
19401 2009-08-08 Eli Zaretskii <eliz@gnu.org>
19403 * mail/rmail.el (rmail-add-mbox-headers)
19404 (rmail-set-message-counters-counter): Search for
19405 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
19407 2009-08-08 Glenn Morris <rgm@gnu.org>
19409 * Makefile.in (ELCFILES): Update.
19411 2009-08-07 Eli Zaretskii <eliz@gnu.org>
19413 * mail/sendmail.el (mail-yank-original):
19414 Set buffer-file-coding-system from the one used by the message whose
19417 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
19418 to "windows" when "pgnuplot" is used.
19419 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
19420 Don't call accept-process-output if "pgnuplot" is used.
19421 (calc-graph-init): Don't send -display and -geometry to
19422 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
19423 running "pgnuplot -V" with shell-command-to-string.
19425 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
19428 2009-08-07 Eli Zaretskii <eliz@gnu.org>
19430 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
19433 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
19435 * vc-dispatcher.el (vc-resynch-window): Update comment.
19437 * term.el (term-handle-ansi-escape): Add comments with the
19438 terminfo capabilities implemented.
19440 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
19442 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
19443 (gdb-var-create-handler): Rewritten using JSON parser.
19444 (gdb-propertize-header): Move earlier.
19445 (gdb-set-header): Remove to avoid duplication.
19446 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
19447 Refresh disassembly buffers only after threads list have been
19449 (gdb-threads-header, gdb-registers-header): Per-buffer header line
19452 2009-08-04 Juri Linkov <juri@jurta.org>
19454 * files.el: Commands to add/delete file/directory-local variables.
19455 (read-file-local-variable, read-file-local-variable-value)
19456 (read-file-local-variable-mode, modify-file-local-variable)
19457 (modify-file-local-variable-prop-line)
19458 (modify-dir-local-variable): New functions.
19459 (add-file-local-variable, delete-file-local-variable)
19460 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
19461 (add-dir-local-variable, delete-dir-local-variable)
19462 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
19463 (copy-dir-locals-to-file-locals-prop-line): New commands.
19465 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
19467 * abbrev.el (insert-abbrev-table-description): Prettify output.
19468 Suggested by Karl Chen.
19470 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
19472 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
19473 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
19474 (gdb-overlay-arrow-position, gdb-thread-position)
19475 (gdb-disassembly-position): Declare variables.
19476 (gdb-wait-for-pending): Function now.
19477 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
19478 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
19479 compilation goes smoothly.
19480 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
19481 (gdb-non-stop-setting): New customization setting which replaces
19482 `gdb-non-stop' so changing it doesn't break active GDB session.
19483 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
19484 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
19485 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
19486 (gdb-show-threads-by-default): New customization options.
19487 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
19489 (gdb-get-buffer-create): Send buffers update signal when they are
19491 (gdb-invalidate-locals, gdb-invalidate-registers)
19492 (gdb-invalidate-breakpoints)
19493 (gdb-invalidate-threads, gdb-invalidate-disassembly)
19494 (gdb-invalidate-memory): Accept update signal.
19495 (gdb-current-context-command): Use --frame option.
19496 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
19497 Implement `gdb-frame-number' selection logic.
19498 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
19499 whether to show GUD toolbar buttons.
19500 (gdb-thread-exited): Unselect current thread when it exits.
19501 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
19502 (gdb-mark-line): Routine which sets overlay arrow or inverses
19503 video on fringeless displays.
19504 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
19505 to build aligned columns of data in GDB buffers and set text
19506 properties line-by-line.
19507 (gdb-invalidate-breakpoints)
19508 (gdb-breakpoints-list-handler-custom)
19509 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
19510 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
19511 (gdb-registers-handler-custom): Align data columns.
19512 (gdb-locals-handler-custom): Now prints data like in variable
19514 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
19515 Remove confusing buttons.
19516 (gdb-invalidate-threads): Append --frame.
19517 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
19518 between breakpoints/threads buffers.
19519 (gdb-set-window-buffer): Now can ignore dedicated windows.
19520 (gdb-propertize-header): Use `gdb-set-window-buffer'.
19521 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
19522 (def-gdb-thread-buffer-gud-command): Replaces
19523 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
19524 for fine thread control.
19525 (gdb-preempt-existing-or-display-buffer): New function used to
19526 display bound buffers without breaking window layout.
19527 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
19528 (gdb-select-frame): New version of `gdb-frames-select' which now
19529 sets `gdb-frame-number' so commands may use --frame option instead
19530 of inner debugger state.
19531 (gdb-frame-handler): Do not set `gdb-frame-number'.
19532 (gdb-threads-mode-map): Select threads with mouse.
19534 * progmodes/gud.el (gdb-gud-context-call): Declare function to
19535 avoid compilation warning.
19536 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
19539 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
19540 Argument `key' renamed to `buffer-type'.
19541 (gdb-current-context-buffer-name): Do not add thread info to
19542 buffer name when no thread is selected.
19543 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
19544 command (bug 3794).
19545 (gdb-thread-selected): Handle `=thread-selected' notification.
19546 (gdb-wait-for-pending): New macro to deal with congestion problems.
19547 (gdb-breakpoints-list-handler-custom): Don't fail on pending
19549 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
19550 This fixes problem similar to one described in bug 3947.
19551 (gud-menu-map): More menu items.
19552 (gdb-init-1): Reset `gdb-thread-number' to nil.
19554 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
19557 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
19558 (gdb-current-context-command): Do not append --thread if
19559 `gdb-thread-number' is nil.
19560 (gdb-running-threads-count, gdb-stopped-threads-count):
19562 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
19563 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
19564 New customization options.
19565 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
19567 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
19568 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
19569 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
19570 set `gdb-thread-number' and update `gud-running' properly.
19571 (gdb-running): Update threads list when new threads appear.
19572 (gdb-stopped): Support non-stop operation and new thread switching
19574 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
19575 (gdb-json-partial-output): New set of JSON routines.
19576 (def-gdb-auto-update-trigger): New `signal-list' optional
19578 (gdb-thread-list-handler-custom): Update `gud-running',
19579 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
19580 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
19581 (gdb-continue-thread, gdb-step-thread): New commands for fine
19582 thread execution control.
19583 (gud-menu-map): New menu items to switch non-stop options.
19584 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
19585 (gdb-send): Mimic RET properly (bug 3794).
19587 * progmodes/gdb-mi.el (gdb-rules-name-maker)
19588 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
19590 (def-gdb-auto-update-handler): New nopreserve optional argument.
19591 (gdb-stack-list-frames-custom): Print stack from top to bottom.
19593 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
19594 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
19595 (gdb-parent-mode): New mode to derive other GDB modes from.
19596 (gdb-display-disassembly-for-thread)
19597 (gdb-frame-disassembly-for-thread): New commands for threads
19600 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
19601 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
19602 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
19603 (gdb-update): We now store all GDB buffers in a list so that they
19604 can be updated by traversing a list instead of calling invalidate
19605 triggers explicitly.
19606 (def-gdb-trigger-and-handler): New macro to define trigger-handler
19607 pair for GDB buffer.
19608 (gdb-stack-buffer-name): Add thread information.
19609 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
19610 handle pending triggers.
19611 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
19612 (def-gdb-thread-buffer-simple-command)
19613 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
19614 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
19615 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
19616 New commands which show buffers bound to thread.
19617 (gdb-stack-list-locals-regexp): Remove unused regexp.
19619 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
19620 (gdb-locals-buffer-name, gdb-registers-buffer-name)
19621 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
19622 to (gud-comint-buffer) in *-buffer-name functions
19623 because (gdb-get-target-string) already does that.
19624 (gdb-locals-handler-custom, gdb-registers-handler-custom)
19625 (gdb-changed-registers-handler): Rewritten without regexps.
19627 * progmodes/gdb-mi.el: Basic thread selection support.
19628 (gdb-thread-number): New variable.
19629 (gdb-current-context-command): New macro which adds --thread
19631 (gdb-threads-mode-map): Select thread with SPC.
19632 (gdb-thread-list-handler-custom): Mark current thread with overlay
19633 arrow. Synchronize GDB thread and Emacs thread.
19634 (gdb-select-thread): New command which selects current thread.
19635 (gdb-invalidate-frames, gdb-invalidate-locals)
19636 (gdb-invalidate-registers): Use --thread option.
19638 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
19640 * net/tramp.el (top): Make check for tramp-gvfs loading more
19642 (tramp-handle-insert-file-contents): `unwind-protect' must be
19643 inside `with-parsed-tramp-file-name'.
19645 * net/tramp-gvfs.el (top): Remove superfluous message when loading
19648 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
19650 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
19651 directory if CLASSPATH is not set.
19653 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
19655 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
19657 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
19659 2009-08-02 Kevin Ryde <user42@zip.com.au>
19661 * net/newst-backend.el (newsticker--raw-url-list-defaults):
19662 Update freshmeat link. Delete newsforge.com as it seems gone.
19664 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
19666 * select.el (x-set-selection): Doc fix (Bug#4021).
19668 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
19670 * help-fns.el (describe-variable): Treat list return values from
19671 dir-locals-find-file properly (Bug#4005).
19673 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
19675 * net/tramp.el (tramp-debug-message): Print also microseconds.
19677 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
19679 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
19681 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
19682 (tramp-get-debug-buffer): Change `outline-regexp' according to new
19685 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
19686 (tramp-get-file-property): Use it.
19688 * autorevert.el (auto-revert-handler):
19689 Allow `auto-revert-tail-mode' for remote files.
19691 2009-08-02 Jason Rumney <jasonr@gnu.org>
19693 * minibuffer.el (read-file-name): Treat confirm options to
19694 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
19696 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
19698 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
19699 (font-lock-variable-name-face, font-lock-constant-face):
19700 Darken the colors for light backgrounds.
19702 2009-08-01 Eli Zaretskii <eliz@gnu.org>
19704 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
19705 month names. (Bug#3987)
19707 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
19709 * simple.el (line-move-finish): Pass whole number to
19710 line-move-to-column.
19711 (line-move-visual): Perform hscroll to the recorded position.
19713 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
19715 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
19717 2009-07-29 Alan Mackenzie <acm@muc.de>
19719 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
19721 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
19723 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
19724 (gdb-place-breakpoints): Use full path when setting breakpoints.
19726 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
19728 * calc/calc.el (calc-mode-map): Add keybinding for
19729 `calc-transpose-lines'.
19731 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
19733 * calc/calc-misc.el (calc-transpose-lines): New function.
19735 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
19737 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
19738 Simplify check for out-of-band methods.
19739 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
19740 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
19742 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
19744 * vc-git.el (vc-git-checkin): Fix typo.
19746 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
19748 * progmodes/js2-mode.el: New file.
19750 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
19752 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
19753 (gud-menu-map): Adjust tooltip accordingly.
19755 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
19757 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
19758 (vc-bzr-log-view-mode): Adjust log-view-file-re.
19760 * add-log.el (change-log-mode-map): Add a menu.
19762 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
19764 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
19765 function returns nil.
19766 (dbus-handle-event): Handle special return value :ignore.
19767 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
19769 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
19771 * view.el (view-mode-enable): Don't define Helper-return-blurb if
19774 2009-07-25 Eli Zaretskii <eliz@gnu.org>
19778 * w32-vars.el (x-select-enable-clipboard): Doc fix.
19780 * term/pc-win.el (x-display-name, x-colors)
19781 (x-select-enable-clipboard, x-select-text): Doc fix.
19783 * term/common-win.el (x-display-name, x-colors): Doc fix.
19785 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
19786 (xw-defined-colors): Doc fix.
19788 * w32-fns.el (x-select-text, x-setup-function-keys)
19789 (x-get-selection, x-set-selection): Doc fix.
19791 * term/x-win.el (x-select-text, x-setup-function-keys)
19792 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
19794 * select.el (x-set-selection): Doc fix.
19796 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
19798 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
19799 instead of "IsNSSSupportAvailable". Avahi ought to work also when
19800 "IsNSSSupportAvailable" method is not available.
19801 Reported by Steve Youngs <steve@sxemacs.org>.
19803 2009-07-24 Kenichi Handa <handa@m17n.org>
19805 * international/characters.el: Fix setting of category ?C, ?|, ?K,
19806 and ?H. Fix setting of case for Latin Extended and Greek Extended.
19807 (build-unicode-category-table): Fix range checks.
19809 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
19811 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
19812 the buffer we try to sync is current when calling
19815 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
19816 not show up to date files.
19818 2009-07-24 Glenn Morris <rgm@gnu.org>
19820 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
19821 Add autoload cookies. If necessary, initialize.
19822 (elint-log): Handle non-file buffers.
19823 (elint-initialize): Add optional argument to reinitialize.
19824 (elint-find-builtin-variables): Save excursion.
19826 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
19828 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
19831 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
19833 * vc.el (vc-print-log-internal): New function, split out from ...
19834 (vc-print-log): ... here.
19835 (vc-dir-move-to-goal-column): Declare.
19837 * vc-git.el (vc-git-add-signoff): New variable.
19838 (vc-git-checkin): Use it.
19839 (vc-git-toggle-signoff): New function.
19840 (vc-git-extra-menu-map): Bind it to menu.
19841 (vc-git--run-command-string): Accept a nil FILE argument.
19842 (vc-git-stash-list): New function.
19843 (vc-git-dir-extra-headers): Use it.
19845 2009-07-23 Glenn Morris <rgm@gnu.org>
19847 * help-fns.el (describe-variable): Describe ignored and risky local
19848 variables in a similar way to that in which we describe safe ones.
19850 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
19851 (byte-compile-output-file-form, byte-compile-output-docform)
19852 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
19853 Give some more local variables with common names a "bytecomp-" prefix,
19854 so as not to shadow things during compilation.
19855 * emacs-lisp/cl-macs.el (load-time-value)
19856 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
19857 `outbuffer' to `bytecomp-outbuffer'.
19859 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
19860 since the next two variables cover them automatically now.
19861 (elint-builtin-variables, elint-autoloaded-variables): New.
19862 (elint-unknown-builtin-args): Remove all members, since they can be
19863 parsed automatically now.
19864 (elint-extra-errors): New.
19865 (elint-env-add-env, elint-env-add-macro): Use cadr.
19866 (elint-current-buffer): Use or. Change final message.
19867 (elint-get-top-forms): Use line-end-position.
19868 (elint-init-env): Use cadr. Handle autoload, declare-function,
19870 (elint-add-required-env): Doc fix. Use or. Standardize error.
19871 (regexp-assoc): Remove unused function.
19872 (elint-top-form): Set elint-current-pos, to record the start of the
19873 top-level form, for compilation-mode.
19874 (elint-form): Trap errors in macro expansion. Use dolist.
19875 (elint-unbound-variable): Use elint-builtin-variables and
19876 elint-autoloaded-variables.
19877 (elint-get-args): Use cadr, or.
19878 (elint-check-cond-form): Use dolist, cadr.
19879 (elint-check-condition-case-form): Doc fix. Use cadr.
19880 Use elint-extra-errors.
19881 (elint-log): New function.
19882 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
19883 Distinguish errors and warnings.
19884 (elint-log-message): Use with-current-buffer. Inhibit read-only.
19885 Use a bytecomp-style format.
19886 (elint-clear-log): Preserve default-directory. Inhibit read-only.
19887 (elint-get-log-buffer): Use compilation mode. Disable undo.
19888 Don't truncate lines.
19889 (elint-initialize): Set builtin and autoloaded variable lists.
19890 Only process elint-unknown-builtin-args if non-nil.
19891 (elint-find-builtin-variables, elint-find-autoloaded-variables):
19893 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
19895 2009-07-22 Kevin Ryde <user42@zip.com.au>
19897 * net/newst-backend.el (newsticker--parse-atom-1.0)
19898 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
19899 (newsticker--parse-rss-1.0):
19900 * progmodes/idlwave.el (idlwave-mode):
19901 * progmodes/idlw-shell.el (idlwave-shell-mode):
19902 * progmodes/vera-mode.el (vera-mode):
19903 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
19904 * progmodes/vhdl-mode.el (vhdl-mode):
19905 * textmodes/table.el (table-generate-source)
19906 (table--warn-incompatibility):
19907 Hyperlink urls in docstrings with URL `...'.
19909 2009-07-22 Glenn Morris <rgm@gnu.org>
19911 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
19912 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
19913 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
19914 Remove leading * from defcustom docs.
19916 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
19918 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
19920 (list-load-path-shadows): Optionally, just return shadows as a string.
19922 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
19924 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
19926 * mail/rmailedit.el (rmail-edit-mode):
19927 Use auto-save-include-big-deletions.
19929 * mail/rmail.el (rmail-variables):
19930 Use auto-save-include-big-deletions.
19932 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
19935 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
19937 * calc/calc.el (calc-undo-length): New variable.
19938 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
19940 2009-07-21 Richard Stallman <rms@gnu.org>
19942 * files.el (auto-save-mode): Handle buffer-save-size = -2
19945 2009-07-21 Glenn Morris <rgm@gnu.org>
19947 * textmodes/ispell.el (ispell-looking-back): Update declaration.
19949 * calendar/todo-mode.el (calendar-current-date): Update declaration.
19951 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
19952 silence compiler. Instead...
19953 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
19954 (ps-print-ensure-fontified): Update for above function name changes.
19956 * printing.el (pr-mh-get-msg-num, pr-mh-show)
19957 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
19958 silence compiler. Instead...
19959 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
19960 (mh-show-buffer): Only define for compiler.
19961 (pr-mh-current-message): Update for above function name changes.
19963 * files.el (abort-if-file-too-large): Explicitly pass `filename'
19965 (find-file-noselect, insert-file-1): Update for above change.
19967 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
19969 * mail/mailclient.el (mailclient-send-it): Fix message.
19971 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
19972 (edebug-eval): Check cl-debug-env is bound.
19973 (print-level, print-circle): Don't redefine built-in variables.
19975 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
19976 (custom-print-vectors): Remove old comments from doc.
19978 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
19979 (emerge-version): Make the variable an obsolete alias for the
19980 emacs-version variable. Make the function obsolete.
19981 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
19982 Emerge options, rather than merging in into the main Options menu.
19983 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
19984 and auto advance modes. Disable edit/fast items when not relevant.
19986 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
19988 * term/vt420.el (terminal-init-vt420): Fix typo.
19990 2009-07-20 Sam Steingold <sds@gnu.org>
19992 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
19993 variable (removed from compile.el on 2004-03-11).
19995 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
19997 * files.el (hack-local-variables-filter): Fix last change.
19999 2009-07-19 Juri Linkov <juri@jurta.org>
20001 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
20002 (dir-local-variables-alist): New buffer-local variable.
20003 (hack-local-variables-filter): If variable is not dir-local,
20004 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
20005 because file-local overrides dir-local.
20006 (c-postprocess-file-styles) <declare-function>:
20007 Remove obsolete declaration.
20008 (hack-dir-local-variables): Add dir-local variable/value pair to
20009 `dir-local-variables-alist' and remove duplicates. Doc fix.
20011 * help-fns.el (describe-variable): Add information about
20012 file-local and dir-local variables.
20014 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
20016 * files.el (hack-local-variables-filter): Rewrite.
20018 2009-07-19 Glenn Morris <rgm@gnu.org>
20020 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
20021 Silence compiler by only defining on XEmacs.
20023 * international/mule.el (auto-coding-regexp-alist): Only match
20024 BABYL... at the start of buffer, not of lines. (Bug#3790)
20026 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
20027 non-calendar buffers (Bug#3862). Restore "not on a date" message.
20028 (cal-menu-context-mouse-menu): Doc fix.
20030 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
20032 * simple.el (mail-user-agent): Doc fix. Set :version tag.
20034 2009-07-18 Juri Linkov <juri@jurta.org>
20036 * info.el: Virtual Info keyword finder.
20037 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
20038 (Info-finder-file): New variable.
20039 (Info-finder-find-file): New function.
20040 (finder-known-keywords, finder-package-info)
20041 (find-library-name, lm-commentary): Use defvar and
20042 declare-function to silence compiler warnings.
20043 (Info-finder-find-node): New function.
20044 (info-finder): New command.
20046 * subr.el (process-kill-buffer-query-function): New function.
20047 (add-hook)<kill-buffer-query-functions>: Add hook
20048 `process-kill-buffer-query-function'.
20050 2009-07-18 Alan Mackenzie <acm@muc.de>
20052 * progmodes/cc-mode.el (c-before-hack-hook)
20053 (c-postprocess-file-styles): Give invocation of `c-set-style'
20054 DONT-OVERRIDE parameter of t. Already set style variables will
20055 thus not be overridden by style settings given by `c-file-syle'.
20057 * files.el (hack-local-variables-filter): Remove entries with
20058 duplicate keys from `file-local-variables-alist'.
20060 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20062 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
20063 x-set-selection if display-selections-p returns nil for the
20066 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
20068 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
20070 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20072 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
20073 Accept nil in addition to a regexp.
20074 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
20075 Accept nil in addition to a regexp.
20076 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
20077 buffers that have an associated file. Handle nil values of
20078 desktop-buffers-not-to-save and desktop-files-not-to-save.
20081 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
20082 (x-disown-selection-internal): New functions.
20084 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
20086 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
20088 (gdb-breakpoints-header): Move forward to avoid compiler warning.
20089 (gdb-make-header-line-mouse-map): Remove duplicate definition.
20091 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
20093 * simple.el (set-mark): Revert last change.
20095 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
20097 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
20098 rendering of pngs is not possible instead of messaging a long
20101 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
20103 * w32-fns.el (x-selection-owner-p): New function.
20105 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
20106 (mouse-yank-at-click, mouse-yank-primary):
20107 If select-active-regions is non-nil, deactivate the mark before
20110 * simple.el (deactivate-mark, set-mark): Only save selection if we
20113 2009-07-17 Kenichi Handa <handa@m17n.org>
20115 * case-table.el (describe-buffer-case-table): Fix for the case
20116 that KEY is a cons.
20118 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
20120 * vc-rcs.el (vc-rcs-find-file-hook):
20121 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
20123 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
20125 * net/tramp.el (tramp-wait-for-output): Handle the case when
20126 commands do not return a newline but a null byte before the shell
20129 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
20131 * term/ns-win.el (ns-set-alpha): Don't declare.
20132 (ns-set-background-alpha): Remove function.
20134 2009-07-16 Kevin Ryde <user42@zip.com.au>
20136 * emacs-lisp/copyright.el (copyright-update): Save match-data across
20137 y-or-n-p, for safety.
20139 2009-07-16 Richard Stallman <rms@gnu.org>
20141 * files.el (auto-save-mode): If buffer-saved-size is -2,
20144 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
20145 (rmail-retry-ignored-headers): Add more uninteresting fields.
20147 2009-07-15 Jari Aalto <jari.aalto@cante.net>
20149 * net/rcirc.el (rcirc): Use history variables.
20150 (rcirc-server-name-history, rcirc-nick-name-history)
20151 (rcirc-server-port-history): New variables.
20153 2009-07-15 Kenichi Handa <handa@m17n.org>
20155 * international/mule-cmds.el (set-language-environment-charset):
20156 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
20159 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
20160 Delete unibyte-display.
20162 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
20164 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
20166 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
20168 * simple.el (deactivate-mark): Optional argument FORCE.
20169 (set-mark): Use deactivate-mark.
20171 * info.el (Info-search): No need to check transient-mark-mode
20172 before calling deactivate-mark.
20174 * select.el (x-set-selection): Doc fix.
20175 (x-valid-simple-selection-p): Allow buffer values.
20176 (xselect--selection-bounds): Handle buffer values.
20177 Suggested by David De La Harpe Golden.
20179 * mouse.el (mouse-set-region, mouse-drag-track):
20180 Call copy-region-as-kill before setting the mark, to let
20181 select-active-regions work.
20183 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
20185 * simple.el (deactivate-mark): If select-active-regions is
20186 non-nil, copy the selection data into a string.
20187 (activate-mark): If select-active-regions is non-nil, set the
20188 selection to the current buffer.
20189 (set-mark): Update selection if select-active-regions is non-nil.
20191 * select.el (x-valid-simple-selection-p): Allow buffer values.
20193 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
20195 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
20196 and more featureful message-mode.
20198 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
20200 * select.el (x-set-selection): Doc fix.
20201 (x-valid-simple-selection-p): Disallow selection data consisting
20202 of a list or cons of integers, since that is not used.
20203 (xselect--selection-bounds, xselect--int-to-cons): New functions.
20204 (xselect-convert-to-string, xselect-convert-to-length)
20205 (xselect-convert-to-filename, xselect-convert-to-charpos)
20206 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
20208 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
20210 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
20211 output in -break-info command (Emacs bug #3794).
20213 2009-07-14 Glenn Morris <rgm@gnu.org>
20215 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
20216 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
20217 (edebug-print-length, edebug-print-level, edebug-print-circle)
20218 (edebug-sit-for-seconds, edebug-view-outside)
20219 (edebug-bounce-point, edebug-set-global-break-condition)
20220 (edebug-Go-nonstop-mode, edebug-trace-mode)
20221 (edebug-Trace-fast-mode, edebug-continue-mode)
20222 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
20223 (edebug-visit-eval-list): Doc fixes.
20225 * subr.el (def-edebug-spec): Doc fix.
20227 2009-07-14 Kenichi Handa <handa@m17n.org>
20229 * international/characters.el: Fix setting of category ?C.
20231 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
20233 * term/ns-win.el (x-select-font): defalias x-select-font to
20234 ns-popup-font-panel instead of generate-fontset-menu.
20236 2009-07-12 Eli Zaretskii <eliz@gnu.org>
20238 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
20240 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
20242 * arc-mode.el (archive-find-type): Allow for a PK00 string before
20243 the PK\003\004 header (Bug#3770).
20245 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
20247 * pcomplete.el (pcomplete-comint-setup): Check for
20248 shell-dynamic-complete-filename too.
20250 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
20252 * simple.el (temporary-goal-column): Change the value for
20253 line-move-visual to a cons cell.
20254 (line-move-visual): Record or set the window hscroll, if
20255 necessary (Bug#3494).
20256 (line-move-1): Handle cons value of temporary-goal-column.
20258 2009-07-11 Kenichi Handa <handa@m17n.org>
20260 * international/mule-diag.el (describe-character-set): Don't show
20263 2009-07-10 Sam Steingold <sds@gnu.org>
20265 * progmodes/compile.el (compilation-mode-font-lock-keywords):
20266 Omake sometimes indents the errors it prints, so allow all
20267 regexps to start with spaces.
20269 2009-07-10 Eli Zaretskii <eliz@gnu.org>
20271 * cus-edit.el (customize-changed-options-previous-release):
20272 Bump value to 22.1. (Bug#3804)
20274 2009-07-08 Sam Steingold <sds@gnu.org>
20276 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
20277 to be a cons cell (test . ignored-directory) to selectively ignore
20278 some directories depending on the location of the search.
20280 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
20282 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
20283 remote user is root, on the local host.
20284 (tramp-local-host-p): Either the local user or the remote user
20285 must be root. (Bug#3771)
20287 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
20289 * progmodes/gdb-mi.el (gdb): Remove description of
20290 gdb-use-separate-io-buffer.
20291 (menu): Don't allow toggling of or enable
20292 gdb-use-separate-io-buffer from menubar.
20294 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
20296 * mail/unrmail.el (unrmail): Make sure the message ends with two
20297 newlines (Bug#3769).
20299 2009-07-08 Glenn Morris <rgm@gnu.org>
20301 * calendar/calendar.el (calendar-current-date): Rework previous change.
20303 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
20305 * calendar/calendar.el (calendar-current-date):
20306 Add an optional argument giving an offset from today.
20308 2009-07-08 Glenn Morris <rgm@gnu.org>
20310 * tutorial.el (tutorial--describe-nonstandard-key):
20311 Adjust the message for when a key has been unbound.
20312 (help-with-tutorial): Hide the arch-tag.
20314 2009-07-08 Kenichi Handa <handa@m17n.org>
20316 * international/fontset.el (setup-default-fontset): For each
20317 script, append (not set) font-specs.
20319 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
20322 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
20324 * progmodes/gdb-mi.el (gdb-init-1): Move sending
20325 -data-list-register-names to ...
20326 (gdb-starting): ... here because GDB 7.0 requires execution to
20327 have started when using this MI command.
20328 (gdb-set-header): New function to distinguish select and
20329 unselected tabs in gdb buffers.
20330 (gdb-propertize-header): New macro that uses gdb-set-header.
20331 (gdb-breakpoints-header, gdb-locals-header): Use it.
20332 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
20334 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
20336 * Makefile.in (ELCFILES): Remove fadr.elc.
20338 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
20340 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
20341 may contain frame information, so `string-match' should be used.
20342 (gdb-update): Disassembly is invalidated through
20343 `gdb-get-selected-frame'.
20344 (gdb-pad-string): New function to pad string with spaces.
20345 (gdb-invalidate-disassembly): Invalidate only if the buffer
20347 (gdb-disassembly-handler-custom): Column alignment.
20348 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
20350 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
20352 (gdb-frame-handler): Match convention to for disassembly buffer
20354 (gdb-stack-list-frames-handler): Rewritten without regexps.
20355 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
20356 not highlight breakpoints without line information.
20357 (gdb-input): Add trailing newline to command.
20359 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
20361 (gdb-breakpoints-list-handler-custom): Replacement for
20362 `gdb-break-list-handler'. Using real parser instead of regexps
20364 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
20365 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
20366 to place breakpoints.
20367 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
20369 (gdb-disassembly-handler-custom): Show overlay arrow.
20370 (gdb-disassembly-place-breakpoints): Show breakpoints in
20371 disassembly buffer.
20372 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
20373 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
20374 instead of parsing breakpoints buffer. Fixed old menu references
20379 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
20380 (gdb-memory-address): New variable which holds top address of
20381 memory page shown in memory buffer.
20382 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
20383 New customization variables.
20385 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
20386 display the memory buffer.
20387 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
20388 buffer display parameters.
20389 (def-gdb-memory-format, gdb-memory-format-binary)
20390 (gdb-memory-format-octal, gdb-memory-format-unsigned)
20391 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
20392 Functions for setting memory buffer format.
20393 (gdb-memory-unit-word, gdb-memory-unit-halfword)
20394 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
20395 unit size used in memory buffer.
20396 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
20397 Switch to next/previous page of memory buffer.
20398 Now using (bindat-get-field) instead of fadr functions.
20400 2009-07-07 Sam Steingold <sds@gnu.org>
20402 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
20403 non-top-level files.
20405 2009-07-07 Kenichi Handa <handa@m17n.org>
20407 * international/mule-cmds.el (reset-language-environment):
20408 Put the highset priority to the charset iso-8859-1.
20410 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
20412 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
20413 to the end of the line when locating the block (Bug#700).
20415 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
20417 * net/tramp.el (tramp-handle-write-region): Flush file properties
20418 in case of short track.
20420 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
20422 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
20423 Coded custom representation of verilog error regular expressions
20424 to work with Emacs-22's new format.
20425 (verilog-error-regexp-xemacs-alist): Coded custom representation
20426 of verilog error regular expressions to work with XEmacs format.
20427 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
20428 error recognition into XEmacs.
20429 (verilog-error-regexp-add-emacs): Hook routine to install verilog
20430 error recognition into Emacs-22.
20432 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
20434 * woman.el: Remove stand-alone closing parentheses.
20435 (woman-file-name, woman2-format-paragraphs)
20436 (woman-leave-blank-lines): Code cleanup.
20437 (woman-use-own-frame): Change default to nil.
20438 (woman-italic, woman-bold, woman-unknown, woman-addition):
20439 Change defaults to inherit from default faces.
20440 (woman2-process-escapes): Consume the newline after a stand-alone
20441 filler character (Bug#3651).
20443 2009-07-06 Glenn Morris <rgm@gnu.org>
20445 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
20446 (top-level): Move provide to the end.
20447 (ffap): Remove defunct URL from custom group.
20449 * subr.el (eval-after-load): Doc fix.
20451 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
20453 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
20454 `calc-embedded-word' is called twice.
20456 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20458 * files.el (find-alternate-file-other-window, find-alternate-file):
20459 Obey confirm-nonexistent-file-or-buffer.
20461 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
20463 * dired-aux.el (dired-show-file-type): Handle remote files.
20465 2009-07-05 Jari Aalto <jari.aalto@cante.net>
20467 * desktop.el (desktop-globals-to-save):
20468 Add file-name-history (Bug#2750).
20470 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
20472 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
20474 2009-07-04 Johan Bockgård <bojohan@gnu.org>
20476 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
20477 property on entire argument since this is what eshell-lisp-command
20480 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
20482 * net/tramp-gvfs.el (tramp-gvfs-methods)
20483 (tramp-gvfs-zeroconf-domain)
20484 (tramp-bluez-discover-devices-timeout): Add version flag.
20485 (tramp-gvfs-handler-mounted-unmounted)
20486 (tramp-gvfs-connection-mounted-p): Polish handling of
20487 incompatibilities between GVFS 0.2 and 1.0.
20489 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
20491 * cus-start.el (all): Add make-pointer-invisible.
20493 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
20495 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
20496 formatted correctly.
20498 2009-07-02 Juri Linkov <juri@jurta.org>
20500 * info.el: Virtual Info files and nodes.
20501 (Info-virtual-files, Info-virtual-nodes): New variables.
20502 (Info-current-node-virtual): New variable.
20503 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
20505 (Info-file-supports-index-cookies): Use Info-virtual-file-p
20506 to check for a virtual file instead of checking a fixed list
20508 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
20509 instead of ad-hoc processing of "dir" and (apropos history toc).
20510 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
20511 instead of ad-hoc processing of "dir" and (apropos history toc).
20512 Reread a file when moving from a virtual node.
20513 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
20514 (Info-directory-toc-nodes, Info-directory-find-file)
20515 (Info-directory-find-node): New functions.
20516 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
20517 (Info-history): Move part of code to
20518 `Info-history-find-node'.
20519 (Info-history-toc-nodes, Info-history-find-file)
20520 (Info-history-find-node): New functions.
20521 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
20522 (Info-toc): Move part of code to `Info-toc-find-node'.
20523 (Info-toc-find-node): New function.
20524 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
20525 the current Info file name to references because now the node
20526 "*TOC*" belongs to the same Info manual.
20527 (Info-toc-build): Rename from `Info-build-toc'.
20528 (Info-toc-nodes): Rename input argument `file' to `filename'.
20529 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
20530 instead of ad-hoc processing of ("dir" apropos history toc).
20531 (Info-index-nodes): Use Info-virtual-file-p
20532 to check for a virtual file instead of checking a fixed list
20534 (Info-index-node): Add check for `Info-current-node-virtual'.
20535 Raise `save-match-data' higher up the tree to contain
20536 `search-forward' too (bug fix).
20537 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
20538 (Info-virtual-index-nodes): New variable.
20539 (Info-virtual-index-find-node, Info-virtual-index): New functions.
20540 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
20541 (Info-apropos-file, Info-apropos-nodes): New variables.
20542 (Info-apropos-toc-nodes, Info-apropos-find-file)
20543 (Info-apropos-find-node, Info-apropos-matches): New functions.
20544 (info-apropos): Move part of code to `Info-apropos-find-node' and
20545 `Info-apropos-matches'.
20546 (Info-mode-map): Bind "I" to `Info-virtual-index'.
20547 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
20548 for a virtual file instead of checking a fixed list of node names.
20550 * simple.el (async-shell-command): New command.
20552 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
20554 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
20555 instead of `mount-info'.
20557 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
20559 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
20560 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
20562 2009-07-02 Kenichi Handa <handa@m17n.org>
20564 * international/mule.el (set-keyboard-coding-system): Force *-unix
20565 coding-system to avoid eol conversion.
20567 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
20569 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20570 Add handler for `process-file', `shell-command' and
20571 `start-file-process'.
20572 (tramp-gvfs-handle-shell-command)
20573 (tramp-gvfs-handle-start-file-process)
20574 (tramp-gvfs-handle-process-file): New defuns.
20575 (tramp-synce-list-devices): Simplify check for existence of property.
20577 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
20579 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
20581 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
20583 * language/korean.el (set-language-info-alist): Add korean-cp949,
20586 2009-07-01 Kenichi Handa <handa@m17n.org>
20588 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
20590 * international/encoded-kb.el: Deleted.
20592 * international/mule.el (set-keyboard-coding-system): Perform the
20593 necessary setup here instead of calling encoded-kbd-setup-display.
20595 2009-07-01 Glenn Morris <rgm@gnu.org>
20597 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
20599 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
20601 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
20603 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
20605 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
20606 Handle also the 'rename case, when setting file modes. (Bug#3712)
20607 (tramp-default-file-modes): Remove execute permissions.
20609 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
20610 (top): Add a default for "synce" in `tramp-default-user-alist'.
20611 Add completion function for "synce" method.
20612 (tramp-hal-service, tramp-hal-path-manager)
20613 (tramp-hal-interface-manager, tramp-hal-interface-device):
20615 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
20616 (tramp-synce-list-devices, tramp-synce-parse-device-names):
20619 * net/trampver.el: Update release number.
20621 2009-06-30 Kenichi Handa <handa@m17n.org>
20623 * international/fontset.el (setup-default-fontset): Add CJK fonts
20624 for symbols and the other miscellaneous characters.
20626 * language/korea-util.el (setup-korean-environment-internal):
20627 Make char-width-table suitable for Korean environments.
20628 (exit-korean-environment): Cancel above.
20630 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
20631 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
20632 setup-function to make char-width-table suitable for respective
20633 environments, and an exit-function to cancel that.
20635 * language/japan-util.el (setup-japanese-environment-internal):
20636 Call use-cjk-char-width-table with arg `ja_JP'.
20638 * international/characters.el (cjk-char-width-table): Delete it.
20639 (cjk-char-width-table-list): New variable.
20640 (use-cjk-char-width-table): New arg local-name.
20641 (use-default-char-width-table): Fix for the case that Emacs is
20642 already using the default char-width-table.
20644 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
20646 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
20647 modes mandatory. (Bug#3712)
20649 2009-06-29 Alan Mackenzie <acm@muc.de>
20651 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
20652 correction between the visible width of TABs and their number of bytes.
20654 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
20656 * server.el (server-buffer-done): Prevent kill-buffer from
20657 prompting by clearing the buffer modification flag (Bug#3696).
20659 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
20661 * progmodes/verilog-mode.el (verilog-beg-of-statement)
20662 (verilog-endcomment-reason-re): Support unique case and priority case.
20663 (verilog-basic-complete-re): Support localparam lineup.
20664 (verilog-beg-of-statement-1): Fix for robustness, unique case.
20665 (verilog-set-auto-endcomments): Fix for unique case, always_comb
20667 (verilog-leap-to-case-head): Now support *nested* unique &
20668 priority case statements.
20669 (verilog-auto-lineup): Make just declarations the default (as it
20671 (verilog-leap-to-case-head): Support priority/unique case statements.
20672 (verilog-auto-lineup): Rework to give users radio buttons to
20673 select the various styles of automatic lineup.
20674 (verilog-error-regexp-alist): Rework to support the XEmacs style
20675 of error regular expressions from compilers, lint tools &
20676 simulators. Note that GNU Emacs has made it impossible for a mode
20677 to load such things.
20678 (electric-verilog-terminate-line, verilog-indent-declaration)
20679 (verilog-auto-wiure): Rework for radio button selection of
20680 auto-lineup selection of specification of auto lineup.
20681 (verilog-beg-of-statement-1): Redesign to support proper operation
20682 in additional code, based on testing with auto-lineup.
20683 (verilog-calculate-indent, assignments & declarations)
20684 (verilog-backward-token): Enhance to support auto-lineup of
20685 assignments & declarations.
20686 (verilog-in-directive-p, verilog-at-struct-p): New function for
20687 easy test of whether we are.
20688 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
20689 to support safe execution at almost anyline.
20690 (verilog-calc-1): Properly support indenting deep inside generate
20692 (verilog-init-font): Remove definition & use of verilog-init-font,
20693 as it is redundant with font-lock-defaults.
20694 (verilog-mode): Alter the definition of verilog-font-lock-defaults
20695 to avoid circular calls if syntax-ppss is a function (as is the
20696 case now in 22.x GNU Emacs) as that function would sometimes call
20697 itself, leading to (nearly) infinite recursion.
20698 (verilog-ovm-begin-re, verilog-ovm-end-re)
20699 (verilog-ovm-statement-re, verilog-leap-to-head)
20700 (verilog-backward-token): Add support for OVM macros. Some are
20701 complete statements, and others open and close scopes like begin
20703 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
20704 (verilog-defun-level-generate-only-re): Really fix the defun-list
20706 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
20707 coverpoint, constraint and cross statements.
20708 (verilog-defun-level-list, verilog-generate-defun-level-list)
20709 (verilog-all-defun-level-list): Redo these specifications - it is
20710 too hard to support eval-when compile aggregation of lists also
20711 built at when-compile time.
20712 (verilog-defun-level-list): Place defconsts of variables used in
20713 building regular expressions which are built in eval-when-compile
20714 bodies in the same eval-when-compile body to facilitate compile
20716 (verilog-beg-block-re-ordered): Support indenting
20717 virtual/protected tasks and functions.
20718 (verilog-defun-level-list, verilog-in-generate-region-p)
20719 (verilog-backward-ws&directives, verilog-calc-1): Speed up
20720 indentation of some module items (generate items).
20721 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
20722 across virtual/protected tasks and functions.
20724 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
20726 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
20727 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
20728 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
20729 in concatenations. Reported by Yishay Belkind.
20730 (verilog-auto-ascii-enum): Support one-hot state machines in
20731 AUTOASCIIENUM. Suggested by Lloyd Gomez.
20732 (verilog-auto-inst, verilog-auto-inst-port): Include interface
20733 modport in AUTOINST and add vl-modport for users.
20734 Reported by David Rogoff.
20735 (verilog-auto-inout-module, verilog-auto-inst)
20736 (verilog-decls-get-interfaces, verilog-insert-definition)
20737 (verilog-insert-one-definition, verilog-read-decls)
20738 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
20739 (verilog-sig-modport, verilog-signals-combine-bus)
20740 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
20741 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
20742 Suggested by David Rogoff.
20743 (verilog-repair-open-comma): Fix non-insertion of comma when
20744 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
20745 (verilog-make-width-expression): Simplify [A-1:0] expression
20746 widths to just {A{1'b0}}.
20747 (verilog-mode): Cleanup checkdoc warnings.
20748 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
20749 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
20750 inputs/outputs or data type. Suggested by Vasu Kandadi.
20751 (next-error-last-buffer): Fix byte-compiler warning.
20752 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
20753 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
20754 or shell command text during AUTO expansion. Suggested by Tad Truex.
20755 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
20756 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
20757 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
20758 in AUTOINOUT. Reported by Matthew Lovell.
20759 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
20760 causing use of <= assignments. Reported by Alex Reed.
20761 (verilog-read-decls): Fix triand, trior, wand, wor to be
20762 recognized by AUTOWIRE. Reported by Spencer Isaacson.
20763 (verilog-extended-complete-re): Support import "DPI-C" functions.
20764 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
20765 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
20766 (verilog-insert-date, verilog-insert-year)
20767 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
20768 Windows systems. Reported by Michael Potts.
20769 (verilog-read-module-name): Fix AUTOINST when the child module
20770 declaration's name is a tick define. Reported by Elliot Mednick.
20771 (verilog-read-decls): Fix V2K parameter bit subscripts getting
20772 passed to next parameter's definition. Reported by Bruce T.
20773 (verilog-read-decls): Fix detecting "parameter int" when using
20774 AUTOINSTPARAM. Reported by Bruce T.
20775 (verilog-goto-defun): Fix goto not finding modules unless first
20776 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
20777 (verilog-mode): Expand -f flag arguments on entry to mode so
20778 verilog-goto-defun will work. Reported by Lawrence Butcher.
20779 (verilog-getopt): Expand environment variables in -f file
20780 arguments. Suggested by Lawrence Butcher.
20781 (verilog-set-define): Fix "Symbol's value as variable is void"
20782 when reading enumerations.
20783 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
20784 Suggested by Stephen Peltan.
20785 (verilog-read-defines): Fix reading of enumerations in include
20786 files. Reported by Steve Peltan.
20788 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
20790 * files.el (trash-directory): Fix defcustom type.
20792 2009-06-28 Juri Linkov <juri@jurta.org>
20794 * help-fns.el (describe-function-1): Correctly locate adviced
20795 functions in hyperlink (Bug#2438).
20797 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
20799 * files.el (trash-directory): Change default to nil.
20800 (move-file-to-trash): If trash-directory is nil and
20801 system-move-file-to-trash is unbound, perform freedesktop-style
20804 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
20806 * files.el (move-file-to-trash): Add freedesktop trash
20809 2009-06-28 Glenn Morris <rgm@gnu.org>
20811 * autorevert.el (global-auto-revert-non-file-buffers)
20812 (global-auto-revert-mode): Doc fixes.
20814 2009-06-27 Johan Bockgård <bojohan@gnu.org>
20816 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
20818 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
20820 * faces.el (x-handle-named-frame-geometry): Ensure that we have
20821 opened an X connection before calling x-get-resource (Bug#3194).
20823 * play/doctor.el: Remove reference to obsolete website.
20824 (make-doctor-variables): Correct grammar mistake (Bug#2633).
20826 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
20828 Remove find-file-not-found-hook VC method. (Bug#2757)
20829 * vc-hooks.el (vc-file-not-found-hook)
20830 (vc-default-find-file-not-found-hook): Remove functions.
20831 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
20832 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
20835 * vc-git.el: Do not mention find-file-not-found-hook VC method.
20837 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
20839 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
20840 compatibility function for `looking-back'.
20842 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
20843 Use `ispell-looking-back'.
20845 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
20847 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
20848 rather than `filename'.
20850 2009-06-23 Miles Bader <miles@gnu.org>
20852 * face-remap.el (text-scale-set): New function.
20854 2009-06-23 Glenn Morris <rgm@gnu.org>
20856 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
20858 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
20860 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
20862 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
20864 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
20865 Simplify Persian conditionals.
20867 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
20868 variable `filename'.
20870 * comint.el (comint-insert-input): Doc fix.
20872 * Makefile.in (ELCFILES): Fix typo in previous change.
20874 2009-06-23 Miles Bader <miles@gnu.org>
20876 * cus-start.el: Add entry for `recenter-redisplay'.
20878 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
20880 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
20881 Add an optional argument for the backend, use it instead of
20882 calling vc-backend.
20883 (vc-mode-line): Add an optional argument for the backend.
20884 Pass the backend to vc-state and vc-working-revision. Move code for
20885 special handling for vc-state being a buffer to ...
20887 * vc-rcs.el (vc-rcs-find-file-hook):
20888 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
20890 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
20891 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
20892 vc-stay-local-p and vc-mode-line calls.
20894 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
20895 (vc-cvs-diff, vc-cvs-annotate-command)
20896 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
20897 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
20898 vc-mode-line calls.
20900 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
20902 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
20903 backend when calling vc-mode-line.
20904 (vc-register): Do not create a closure for calling the vc register
20905 function, call it directly.
20907 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
20909 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
20910 to make it obvious item can be clicked.
20912 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
20914 2009-06-23 Kenichi Handa <handa@m17n.org>
20916 * language/korea-util.el (korean-key-bindings): Change the binding
20917 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
20920 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
20922 Sync with Tramp 2.1.16.
20924 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
20926 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
20927 when a loading of a package fails. Completion function for rsync
20928 is `tramp-completion-function-alist-ssh'.
20929 (all): Replace all calls of `split-string' and
20930 `tramp-split-string' by `tramp-compat-split-string'.
20931 (tramp-default-method): Use `tramp-compat-process-running-p'.
20932 (tramp-default-proxies-alist): Allow also Lisp forms.
20933 (tramp-remote-path): Add choice "Private Directories".
20934 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
20935 (tramp-domain-regexp): Allow also "-", "_" and ".".
20936 (tramp-end-of-output): Remove newlines, and add "$" at the end.
20937 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
20938 (tramp-debug-message): Insert header line in debug buffer.
20939 (tramp-handle-directory-files-and-attributes-with-stat):
20940 Care about filenames with spaces, or starting with "-".
20941 (tramp-handle-dired-uncache): New defun.
20942 (tramp-handle-insert-directory): Don't flush the directory from
20943 cache, this is handled by `dired-uncache' now.
20944 (tramp-handle-insert-file-contents): Improve error handling.
20945 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20946 Quote `tramp-end-of-output'.
20947 (tramp-action-password): Improve trace message.
20948 (tramp-check-for-regexp): Both echoes must be present, before removing.
20949 (tramp-open-connection-setup-interactive-shell): Trace coding system.
20950 (tramp-compute-multi-hops): Eval cons cells of
20951 `tramp-default-proxies-alist'.
20952 (tramp-maybe-open-connection): Use the same command pattern for
20953 first hop and further hops.
20954 (tramp-wait-for-output): Remove handling of newlines.
20955 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
20956 (tramp-split-string): Remove function. It is handled in
20959 * net/tramp-cmds.el (tramp-bug):
20960 Recommend `tramp-cleanup-all-connections' in the bug mail.
20962 * net/tramp-compat.el (tramp-compat-split-string)
20963 (tramp-compat-process-running-p): New defuns.
20965 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
20966 for `dired-uncache'.
20968 * net/tramp-gvfs.el: New package.
20970 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20971 Add handler for `dired-uncache'.
20972 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
20974 * net/trampver.el: Update release number. Make version check fit
20977 2009-06-22 Jim Meyering <meyering@redhat.com>
20979 Automatically handle .xz suffix (XZ-compressed files), too.
20980 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
20981 XZ is the successor to LZMA: <http://tukaani.org/xz/>
20983 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
20984 Nick Roberts <nickrob@snap.net.nz>
20986 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
20987 repository (http://sphinx.net.ru/hg/gdb-mi/).
20989 2009-06-22 Glenn Morris <rgm@gnu.org>
20991 * files.el (dir-locals-collect-mode-variables): Allow for any number of
20992 `mode' and `eval' entries. (Bug#3430)
20994 * Makefile.in (ELCFILES): Add fadr.elc.
20996 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
20997 differing behavior of \n and ^ in strings. (Bug#3385)
20999 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
21001 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
21003 (lisp-indent-function): Make it a defcustom.
21005 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
21007 * progmodes/gdb-ui.el: Replace with ...
21008 * progmodes/gdb-mi.el: ... this file.
21009 * progmodes/gud.el: Modify for gdb-mi.el.
21011 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
21013 * fadr.el: New file.
21015 See ChangeLog.14 for earlier changes.
21017 ;; Local Variables:
21021 Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc.
21023 This file is part of GNU Emacs.
21025 GNU Emacs is free software: you can redistribute it and/or modify
21026 it under the terms of the GNU General Public License as published by
21027 the Free Software Foundation, either version 3 of the License, or
21028 (at your option) any later version.
21030 GNU Emacs is distributed in the hope that it will be useful,
21031 but WITHOUT ANY WARRANTY; without even the implied warranty of
21032 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21033 GNU General Public License for more details.
21035 You should have received a copy of the GNU General Public License
21036 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.