1 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
3 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
4 spaces if the frame was resized, so that the full visible buffer
5 serves as canvas for strokes.
7 2011-01-16 Glenn Morris <rgm@gnu.org>
9 * info-xref.el (info-xref-docstrings): Replace cl function.
10 Also skip directories.
12 2011-01-16 Kevin Ryde <user42@zip.com.au>
14 * info-xref.el: Version 3.
15 (info-xref-check, info-xref-check-all): Move commentary details
16 into docstrings for better visibility.
17 Use compilation-mode for the results buffer.
18 (info-xref-output, info-xref-output-error, info-xref-with-output)
19 (info-xref-filename, info-xref-in-progress):
20 New internals for this.
21 (info-xref-check-list, info-xref-check-buffer)
22 (info-xref-check-all-custom): Use those.
23 (info-xref-output-buffer): Rename from info-xref-results-buffer.
24 (info-xref-output-heading): Rename from info-xref-filename-heading.
25 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
26 (info-xref-filename-heading): Move to output managing section.
27 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
28 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
29 (info-xref-subfile-p): Move to generic section with those two.
30 (info-xref-check-node): New function split from
31 info-xref-check-buffer, shared by info-xref-docstrings.
32 (info-xref-goto-node-p): Move to a checking section with that func.
33 (info-xref-unavail): New counter.
34 (info-xref-check-node): Use it.
35 (info-xref-with-output): Show count of unavailables at end of output.
36 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
37 symlinks. Exclude .texi files. Exclude Emacs backup files.
38 (info-xref-check-all-custom): Fix quietening viper-mode and
39 gnus-registry-install -- use setq not let so as not to unbind
42 2011-01-16 Juri Linkov <juri@jurta.org>
44 * isearch.el (isearch-abort): Don't quit if search has
45 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
47 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
49 * files.el (backup-buffer): Make last-resort backup file in
52 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
53 make it with permission 700.
55 2011-01-15 Kenichi Handa <handa@m17n.org>
57 * mail/rmailmm.el (rmail-mime-insert-header): Set
58 rmail-mime-coding-system to a cons whose car is the last coding
59 system used to decode the header.
60 (rmail-mime-find-header-encoding): New function.
61 (rmail-mime-insert-decoded-text): Override
62 rmail-mime-coding-system if it is a cons.
63 (rmail-show-mime): If only a header part was decoded, find the
64 coding system while ignoring mm-charset-override-alist.
66 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
68 * subr.el (event-start, event-end): Doc fix (Bug#7826).
70 2011-01-15 Kenichi Handa <handa@m17n.org>
72 * mail/rmailmm.el (rmail-mime-next-item)
73 (rmail-mime-previous-item): Delete them.
74 (rmail-mime-shown-mode): Recursively call for children.
75 (rmail-mime-hidden-mode): Delete the 2nd arg TOP. Callers
77 (rmail-mime-raw-mode): Recursively call for children.
78 (rmail-mode-map): Change mapping of tab and backtab to
79 forward-button and backward-button respectively.
80 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
82 (rmail-mime-update-tagline): New function.
83 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
84 body display is changed.
85 (rmail-mime-toggle-button): Renamed from rmail-mime-image.
86 (rmail-mime-image): Delete this button type.
87 (rmail-mime-toggle): New button type.
88 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
89 body display is changed. Change the save button label to "Save".
90 Don't process show/hide button here.
91 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
92 the body display is changed. Unconditionally call
93 rmail-mime-insert for children.
94 (rmail-mime-handle): Update `display' vector of the just inserted
96 (rmail-mime-process): If mail-header-parse-content-type returns
97 nil, use "text/plain" as the fallback type.
98 (rmail-mime-insert): For raw-mode, recursively call
99 rmail-mim-insert for children.
100 (rmail-mime): Handle the case that the current buffer is not rmail
101 buffer (e.g. in summary buffer).
103 2011-01-15 Kenichi Handa <handa@m17n.org>
105 * mail/rmailmm.el (rmail-mime-next-item)
106 (rmail-mime-previous-item): Skip the body of a non-multipart
107 entity if a tagline is shown.
109 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
111 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
112 (tmm-prompt): Simplify.
113 (tmm-add-prompt): Remove unused var `win'.
115 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
116 to minor mode which used nil accidentally to mean "turn off".
118 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
120 * net/tramp-sh.el (tramp-find-inline-compress)
121 (tramp-get-inline-coding): Quote command after pipe symbol for
122 local calls under W32. (Bug#6784)
124 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
126 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
127 only when running under W32.
129 2011-01-15 Eli Zaretskii <eliz@gnu.org>
131 * progmodes/grep.el (grep-compute-defaults): Quote the program
132 file name after the pipe symbol in Grep templates. (Bug#6784)
133 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
135 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
137 * buff-menu.el (Buffer-menu-buffer-list): New var.
138 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
139 restricted buffer list is not lost on revert (Bug#7749).
141 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
143 * net/ldap.el (ldap-search-internal): Discard stderr output.
145 2011-01-15 Eli Zaretskii <eliz@gnu.org>
147 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
149 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
151 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
153 2011-01-15 Kenichi Handa <handa@m17n.org>
155 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
156 part as a plain text.
157 (rmail-mime-process-multipart): Set the default content-type to
158 nil for unknown multipart subtypes (bug#7651).
160 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
162 * hexl.el (hexl-mode-old-*): Remove.
163 (hexl-mode--old-var-vals): New var to replace them.
164 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
165 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
166 Use them to set local vars (bug#7846).
167 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
168 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
169 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
171 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
172 (smerge-resolve--normalize-re): New var.
173 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
174 (smerge-resolve): Use them.
175 * newcomment.el (comment-only-p): New function.
176 (comment-or-uncomment-region): Use it.
178 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
180 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
181 table, get the value before switching to the output buffer. (Bug#7733)
183 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
185 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
187 2011-01-14 Kim F. Storm <storm@cua.dk>
189 * emulation/cua-base.el (cua--init-keymaps):
190 Remap exchange-point-and-mark in cua-global-keymap.
192 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
194 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
197 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
199 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
201 (easy-menu-create-menu, easy-menu-convert-item-1):
202 Use :label rather than nil for labels. Use `case'.
203 Add :enable as alias for :active.
204 (easy-menu-binding): Obey :label.
206 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
208 Use run-mode-hooks for major mode hooks (bug#513).
209 * textmodes/reftex-toc.el (reftex-toc-mode-map):
210 Rename from reftex-toc-map.
211 (reftex-toc-mode): Use define-derived-mode.
212 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
213 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
214 Rename from reftex-select-(label|bib)-map. Move init into declaration.
215 (reftex-select-label-mode, reftex-select-bib-mode):
216 Use define-derived-mode.
217 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
218 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
219 Move init into delcaration.
220 (reftex-index-mode, reftex-index-phrases-mode):
221 Use define-derived-mode.
222 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
223 speedbar-syntax-table. Move init into declaration.
224 (speedbar-mode-map): Rename from speedbar-key-map.
225 Move init into declaration.
226 (speedbar-file-key-map): Move init into declaration.
227 (speedbar-mode): Use define-derived-mode.
228 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
229 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
230 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
231 (chart-face-list): Move initialization into declaration.
232 (chart-mode): Use define-derived-mode.
233 * calculator.el (calculator-mode-map): Move init into declaration.
234 (calculator-mode): Use define-derived-mode.
236 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
237 work for nested comments.
239 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
240 (prolog-use-prolog-tokenizer-flag): Change default when
241 syntax-propertize can be used.
242 (prolog-syntax-propertize-function): New var.
243 (prolog-mode-variables): Move make-local-variable into `set'.
244 Don't make comment-column local since we don't set it.
245 Set comment-add (as it was in previous prolog.el). Use dolist.
246 Set syntax-propertize-function.
247 (prolog-mode, prolog-inferior-mode):
248 Call prolog(-inferior)-menu directly, not through the mode-hook.
249 (prolog-buffer-module, prolog-indent-level)
250 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
251 (prolog-comment-limits, prolog-goto-comment-column):
252 Use line-(end|beginning)-position.
253 (prolog-build-prolog-command): Tighten up regexp.
254 (prolog-consult-compile): Move make-local-variable into `set'.
255 (prolog-consult-compile-filter, prolog-goto-next-paren)
256 (prolog-help-on-predicate, prolog-clause-info)
257 (prolog-mark-predicate): Don't let+setq.
258 (prolog-indent-line): Use indent-line-to.
259 Only call prolog-goto-comment-column if necessary.
260 (prolog-indent-level): Use bobp.
261 (prolog-first-pos-on-line): Remove, not used any more.
262 (prolog-in-string-or-comment): Use syntax-ppss if available.
263 (prolog-help-on-predicate): Use read-string.
264 (prolog-goto-predicate-info): Simplify.
265 (prolog-read-predicate): Use `default' rather than `initial'.
266 (prolog-temporary-file): Use make-temp-file to close a security hole.
267 (prolog-toggle-sicstus-sd): New command.
268 (prolog-electric-underscore, prolog-variables-to-anonymous):
269 Use dynamic-scoping as it was meant.
270 (prolog-menu): Move menu definitions to top-level.
271 Use a toggle-button for Sicstus's source debugger.
272 Change "Code" to the more usual "Prolog", and hence change "Prolog"
274 (prolog-inferior-menu): Reuse prolog-menu's help menu.
275 Move other menu definition to top-level.
277 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
279 * doc-view.el (doc-view-open-text): Use meaningful text buffer
280 name. Keep original document's directory as default-directory
282 (doc-view-initiate-display): Fall back to normal mode when
283 doc-view-mode cannot be enabled, also when extracting the document
284 text into a separate buffer (bug#6446).
286 * simple.el (shell-command): Don't error out if shell command
287 buffer contains text with non-nil read-only property when erasing
290 2011-01-13 Kim F. Storm <storm@cua.dk>
292 * ido.el (ido-may-cache-directory): Move "too-big" check later.
293 (ido-next-match, ido-prev-match): Fix stray reordering of matching
294 items when cycling through the matches.
296 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
298 * dired-x.el (dired-omit-verbose): New defcustom that allows
299 disabling the omit messages.
300 (dired-omit-expunge): Use it.
302 2011-01-13 Christian Ohler <ohler@gnu.org>
304 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
306 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
308 * font-lock.el (font-lock-verbose): Default to nil.
310 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
312 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
313 (compose-mail): New arg RETURN-ACTION.
314 (compose-mail-other-window, compose-mail-other-frame): Likewise.
316 * mail/sendmail.el (mail-return-action): New var.
317 (mail-mode): Make it buffer-local.
318 (mail-bury): Obey it. Move special Rmail window handling to
320 (mail, mail-setup): New arg RETURN-ACTION.
321 (sendmail-user-agent-compose): Move from simple.el.
323 * mail/rmail.el (rmail-mail-return): New function.
324 (rmail-start-mail): Pass it to compose-mail.
326 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
328 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
329 menus. Add menu item for customize-themes.
331 * cus-theme.el (customize-themes):
332 * emacs-lisp/package.el (package--list-packages): Use
335 2011-01-11 Johan Bockgård <bojohan@gnu.org>
337 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
339 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
341 * progmodes/prolog.el: Fix up coding convention and such.
342 (prolog-indent-width): Use the same default as in
343 previous prolog.el rather than tab-width which depends on which buffer
344 is current when the file is loaded.
345 (prolog-electric-newline-flag): Only enable if electric-indent-mode
347 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
348 (prolog-known-systems): Remove.
349 (prolog-mode-syntax-table, prolog-inferior-mode-map):
350 Move initialization into declaration.
351 (prolog-mode-map): Move initialization into declaration.
352 Remove system-specific mode-map vars, since they referred to the same
354 (prolog-mode-variables): Obey the user's preference w.r.t
355 adaptive-fill-mode. Prefer symbol-value to `eval'.
356 (prolog-mode-keybindings-edit): Add compatibility bindings.
357 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
358 (mercury-mode-map): New var.
359 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
360 (prolog-ensure-process, prolog-process-insert-string)
361 (prolog-consult-compile): Use with-current-buffer.
362 (prolog-guess-fill-prefix): Simplify data flow.
363 (prolog-replace-in-string): New function to use instead of
365 (prolog-enable-sicstus-sd): Don't abuse `eval'.
366 (prolog-uncomment-region): Use `uncomment-region' when available.
367 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
368 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
369 of int-to-char and char-to-int.
370 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
372 2011-01-11 Stefan Bruda <stefan@bruda.ca>
374 * progmodes/prolog.el: Replace by a whole new file.
376 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
378 * subr.el (eval-after-load): Fix timing for features (bug#7769).
379 (declare-function, undefined, insert-for-yank)
380 (replace-regexp-in-string): Follow checkdoc's recommendations.
382 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
384 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
385 refreshing the diary buffer.
387 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
389 * allout.el: Add 2011 to the file copyright.
390 (allout-encrypt-string): Prevent encryption from adding an extra
391 newline at the end of the topic body.
392 (allout-version): Increment to 2.3.
394 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
396 * net/dbus.el (dbus-unregister-service): Complete doc.
397 Fix call of dbus-error signal.
398 (dbus-register-property): Use `dont-register' keyword.
400 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
402 * net/dbus.el (dbus-unregister-service): Translate returned
403 integer into a symbol.
404 (dbus-register-property): Use `dbus-register-service' to do the
407 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
409 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
410 Suggested by Joakim Verona.
412 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
414 * wid-edit.el (visibility): Replace :on-image and :off-image
415 widget properties with :on-glyph and :off-glyph, for consistency
416 with the `visibility' widget.
417 (widget-toggle-value-create, widget-visibility-value-create):
418 Merge into a single function `widget-toggle-value-create'.
420 * cus-edit.el (custom-variable-value-create, custom-visibility)
421 (custom-face-edit-value-create, custom-face-value-create):
422 Replace :on-image and :off-image widget properties with :on-glyph and
423 :off-glyph, for consistency with the `visibility' widget.
425 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
427 * net/ldap.el (ldap-search-internal): Don't use eval.
429 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
431 * subr.el (read-char-choice): Use read-key.
433 * custom.el (custom-safe-themes): Rename from
434 custom-safe-theme-files. Add :risky tag.
435 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
436 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
438 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
440 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
441 from Search and add a label to Undo.
443 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
444 inappropriate buttons and adding :vert-only tags.
446 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
447 removal of Help tool-bar button. Remove Undo button for space.
449 * info.el (info-tool-bar-map): Add :vert-only tags.
451 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
453 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
454 image backend support. Either of them is fine.
456 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
458 * subr.el (y-or-n-p): Doc fix.
460 * custom.el (custom-safe-theme-files): New defcustom.
461 (custom-theme-load-confirm): New function.
462 (load-theme): Load theme using `load', confirming with
463 custom-theme-load-confirm if necessary.
465 * subr.el (read-char-choice): New function, factored out from
466 dired-query and hack-local-variables-confirm.
468 * dired-aux.el (dired-query):
469 * files.el (hack-local-variables-confirm): Use it.
471 * dired-aux.el (dired-compress-file):
472 * files.el (abort-if-file-too-large, find-alternate-file)
473 (set-visited-file-name, write-file, backup-buffer)
474 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
475 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
476 Use new format string args for y-or-n-p and yes-or-no-p.
478 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
480 * progmodes/compile.el (compilation-error-regexp-alist-alist)
481 [gcc-include]: Tighten file name match, add match for column
483 [gnu]: Remove unused group.
485 2011-01-08 Glenn Morris <rgm@gnu.org>
487 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
489 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
491 2011-01-07 Sam Steingold <sds@gnu.org>
493 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
494 the `explicit-shell-file-name' because that is the
495 non-interactive shell.
497 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
499 * subr.el (y-or-n-p): Accept format string args.
501 2011-01-07 Glenn Morris <rgm@gnu.org>
503 * Makefile.in (EMACSOPT): Add --no-site-lisp.
505 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
507 * allout.el (allout-back-to-current-heading): Ensure return to
508 the visible containing topic, rather than a collapsed one.
509 (allout-view-change-hook): Remove hook that was deprecated long ago.
510 (allout-exposure-change-hook): Remove documentation remarks
511 concerning removed allout-view-change-hook.
512 (allout-flag-region): Remove invocation of and documentation
513 remarks concerning allout-view-change-hook.
515 2011-01-06 Glenn Morris <rgm@gnu.org>
517 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
518 (vc-bzr-annotate-extract-revision-at-line):
519 Handle authors with embedded spaces. (Bug#7792)
521 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
523 * doc-view.el (doc-view-image-width): New variable.
524 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
525 backend for PNG images, and do dynamic rescaling instead of
526 reconverting the whole doc.
528 2011-01-05 Glenn Morris <rgm@gnu.org>
530 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
532 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
534 * allout.el: Reconcile with changes in line movement behavior for
535 long text lines that cross more than a single physical window
536 line, ie when truncate-lines is nil.
537 (allout-next-visible-heading): Provide for change in line-move
538 behavior on long lines when truncate-lines is nil. In that case,
539 line-move can wind up on the same textual line when it moves to
540 the next window line, and moving to the bullet position after the
541 move yields zero advancement. Add logic to detect and compensate
542 for the lack of progress.
543 (allout-current-topic-collapsed-p): move-end-of-line respect for
544 field boundaries is different when operating with body lines
545 shorter than window width versus ones greater than window width,
546 which can yield false negatives in this function. Avoid
547 difference by applying move-end-of-line while field-text-motion is
550 2011-01-04 Glenn Morris <rgm@gnu.org>
552 * textmodes/rst.el (rst-compile-toolsets):
553 Add pdf and s5 to option alist.
555 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
557 * net/dbus.el (dbus-register-property): Add optional parameter
558 dont-register-service. Updated docstring accordingly.
560 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
562 * textmodes/rst.el (rst-compile-pdf-preview)
563 (rst-compile-slides-preview): Remove extra line.
565 2011-01-04 Glenn Morris <rgm@gnu.org>
567 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
568 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
569 default to `prog' without a .py extension.
570 (rst-compile-pdf-preview, rst-compile-slides-preview):
571 Use program names from rst-compile-toolsets, rather than hard-coding.
572 (rst-portable-mark-active-p): Fix presumed typo.
574 2011-01-02 Eli Zaretskii <eliz@gnu.org>
576 * term/w32-win.el (dynamic-library-alist): Set up correctly for
577 libpng versions both before and after 1.4.0. (Bug#7716)
579 2011-01-02 Eli Zaretskii <eliz@gnu.org>
581 * time.el (display-time-mode): Mention display-time-interval in
582 the doc string. (Bug#7713)
584 2011-01-02 Kenichi Handa <handa@m17n.org>
586 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
587 condition-case and return an error message string if something
589 (rmail-show-mime): Adjust for the above change. Insert the
590 header by rmail-mime-insert-header.
592 2011-01-02 Kenichi Handa <handa@m17n.org>
594 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
595 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
596 (rmail-mime-mbox-buffer)
597 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
598 (rmail-mime-entity): Argument changed. All codes handling an
599 entity object are changed.
600 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
602 (rmail-mime-entity-children, rmail-mime-entity-handler)
603 (rmail-mime-entity-tagline): New functions.
604 (rmail-mime-message-p): New function.
605 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
606 (rmail-mime-entity-segment, rmail-mime-next-item)
607 (rmail-mime-previous-item, rmail-mime-shown-mode)
608 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
609 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
610 (rmail-mime-insert-tagline, rmail-mime-insert-header):
612 (rmail-mime-text-handler): Call rmail-mime-insert-text.
613 (rmail-mime-insert-decoded-text): New function.
614 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
615 (rmail-mime-insert-image): Argument changed. Caller changed.
616 (rmail-mime-image): Call rmail-mime-toggle-hidden.
617 (rmail-mime-set-bulk-data): New funciton.
618 (rmail-mime-insert-bulk): Argument changed.
619 (rmail-mime-multipart-handler): Return t.
620 (rmail-mime-process-multipart): Argument changed.
621 Handle "multipart/alternative" here.
622 (rmail-mime-process): Argument changed.
623 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
624 (rmail-mime-insert): Argument changed. Handle raw display mode.
625 (rmail-mime): Argument changed. Handle toggling of raw display
627 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
628 rmail-mime-view-buffer.
629 (rmail-insert-mime-forwarded-message): Likewise.
630 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
632 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
633 non-nil, handle the header in rmail-show-mime-function.
635 2011-01-02 Leo <sdl.web@gmail.com>
637 * help-fns.el (describe-variable): Fix previous change.
639 2011-01-02 Juri Linkov <juri@jurta.org>
641 * isearch.el (isearch-lazy-highlight-error): New variable.
642 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
643 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
644 to the current value of `isearch-error' (Bug#7468).
646 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
648 * help-fns.el (describe-variable): Don't emit trailing whitespace
651 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
653 * textmodes/rst.el (rst-compile-pdf-preview)
654 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
656 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
658 * emulation/edt-mapper.el: Override mapping of function keys so
659 that the later call to read-key-sequence works.
661 2011-01-02 Eli Zaretskii <eliz@gnu.org>
663 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
664 Unix EOLs. (Bug#7589)
666 2011-01-02 Leo <sdl.web@gmail.com>
668 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
669 if point is not behind eshell-last-output-end (Bug#7585).
671 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
673 * files.el (file-local-variables-alist):
674 Make permanent-local (bug#7767).
676 2011-01-02 Glenn Morris <rgm@gnu.org>
678 * version.el (emacs-copyright): Set short copyright year to 2011.
680 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
682 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
683 an existing temp buffer. (Bug#7746)
685 2011-01-02 Glenn Morris <rgm@gnu.org>
687 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
688 multiple addresses. (Bug#7760)
690 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
692 * allout.el (allout-auto-fill): Do not infinitely recurse - use
693 do-auto-fill if everything points back to allout-auto-fill.
694 (allout-mode-deactivate-hook): Declare obsolete, in favor of
695 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
697 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
699 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
702 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
704 * doc-view.el (doc-view-set-doc-type): New function refactored
706 (doc-view-fallback-mode): New function.
707 (doc-view-mode): Use it.
708 (doc-view-mode-maybe): New function that checks if doc-view-mode
709 can be used and falls back to the next best mode otherwise.
711 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
712 DVI, OpenDocument, and MS Office files.
714 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
716 * emacs-lisp/rx.el (rx-syntax): Fix typo.
718 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
720 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
721 on a copy of auto-mode-alist, because that deletes with side
724 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
726 * doc-view.el (doc-view-mode, doc-view-toggle-display):
727 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
728 fallback instead of hard coding fundamental mode.
730 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
732 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
733 Office) files also for searching.
735 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
737 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
738 Office) files. Not yet enabled via auto-mode-list.
739 (doc-view-unoconv-program): New custom variable.
740 (doc-view-mode-p): Handle new odf document type.
741 (doc-view-odf->pdf): New conversion function.
742 (doc-view-convert-current-doc): Call it for odf files.
743 (doc-view-mode): Recognize newly supported file extensions.
745 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
747 * net/tramp.el (tramp-default-method-alist)
748 (tramp-default-user-alist)
749 (tramp-local-host-regexp, tramp-prefix-domain-format)
750 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
757 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
758 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
760 2010-12-29 Karl Fogel <kfogel@red-bean.com>
762 * saveplace.el (save-place-alist-to-file): Save list sorted and
763 pretty-printed, so that it is mergeable by line-based text merging,
764 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
766 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
768 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
769 (allout-mode): Argument "toggle" => "force".
770 Refine the docstring.
771 Remove special provisions for reactivation, besides the 'force'
773 Consolidate layout provisions coce directly into the activation
774 condition branch, now that we've removed those provisions.
775 (allout-unload-function): Explicitly activate the mode before
776 deactivating, if it's initially deactivated.
777 (allout-set-buffer-multibyte): Properly prevent byte-compiler
778 warnings for version of function used only where
779 set-buffer-multibyte is unavailable.
781 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
783 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
784 are handled by the menu-bar entries. As before, don't use
785 :visibile to avoid changing the tool-bar.
787 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
789 * net/secrets.el (secrets-delete-alias): New defun.
791 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
793 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
794 methods, otherwise ~/.ssh/config would be ignored.
796 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
798 * emacs-lisp/rx.el: Make it a superset of sregex.
799 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
800 of args, add `regex' alias.
801 (rx-info): Add arg to distinguish head and standalone forms.
802 (rx-check, rx-form): Pass the corresponding arg.
804 (rx-repeat): Make it work for any number of args.
805 (rx-syntax): Make it accept syntax chars as is.
806 * obsolete/sregex.el: Move from emacs-lisp/.
807 * emacs-lisp/re-builder.el: Remove sregex support.
808 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
810 2010-12-25 Eli Zaretskii <eliz@gnu.org>
812 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
813 PRIMARY first, then the clipboard. (Bug#7699)
815 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
817 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
820 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
822 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
823 .emacs.elc (Bug#7530).
825 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
826 image spec (Bug#7480).
828 2010-12-21 Daiki Ueno <ueno@unixuser.org>
830 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
831 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
834 2010-12-20 Leo <sdl.web@gmail.com>
836 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
837 always be performed (Bug#7680).
839 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
841 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
842 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
845 * color.el: Move from gnus/.
847 * vc/diff.el (diff-better-file-name): Function deleted.
848 abbreviating file names causes problems with shell-quote-argument.
849 (diff-no-select): Just use expand-file-name.
851 * tool-bar.el (tool-bar--image-expression): New function.
852 (tool-bar-local-item, tool-bar--image-exp): Use it.
853 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
854 Use :enable instead of :visible to avoid changing the tool-bar
855 configuration unnecessarily.
857 * info.el (info-tool-bar-map): Add separators.
859 2010-12-17 Ken Brown <kbrown@cornell.edu>
861 * loadup.el: Use version numbers in Cygwin build.
863 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
865 * ido.el (ido-file-internal): Ask for confirmation before
866 overwriting an existing file (Bug#1238).
868 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
870 * tool-bar.el (tool-bar-setup): Add separators.
872 * menu-bar.el (featurep): Use menu-bar-separator.
874 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
876 Migrate allout encryption provisions from pgg to epg.
878 * allout.el (allout-toggle-current-subtree-encryption)
879 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
880 defaulting policy and other changes. Change fetch-pass to keymode-cue,
881 for simpler universal argument interpretation.
882 (allout-toggle-subtree-encryption): Adjust docstring to describe
883 changed encryption provisions. Change fetch-pass to keymode-cue, for
884 simpler universal argument interpretation. Remove provisions for
885 handling key type and identity - they'll all be within
886 allout-encrypt-string or epg/epg or even contained all the way in gpg.
887 (allout-encrypt-string): Include keymode-cue, for optionally prompting
888 for keypair recipients (universal argument > 1) and, in addition,
889 associating the specified recipients with the outline (universal
890 argument > 4) using a file local variable setting for
891 'epa-file-encrypt-to'.
892 Require epa, for recipients handling.
893 Change how regexp filtering elements are named.
894 Describe the problem with caching of incorrect symmetric-decryption
896 Use the epa-passphrase-callback-function, in case the user is using
898 Support saving of the selected keypair recipients when invoked with a
900 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
902 Establish epg-context with armoring and default epg-protocol.
903 Remove all passphrase cache, verification, and hinting code.
904 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
905 No longer used, delete.
906 (allout-mode): Adjust docstring to describe changed encryption
907 provisions. Describe the problem with caching of incorrect
908 symmetric-decryption keys.
909 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
910 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
911 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
912 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
915 2010-12-16 Daiki Ueno <ueno@unixuser.org>
917 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
918 key selection prompt; make 'silent as default (Bug#7487).
920 2010-12-16 Leo <sdl.web@gmail.com>
922 * eshell/eshell.el (eshell-directory-name):
923 Use locate-user-emacs-file (Bug#7578).
925 2010-12-15 Glenn Morris <rgm@gnu.org>
927 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
929 2010-12-15 Jari Aalto <jari.aalto@cante.net>
930 Scott Evans <gse@antisleep.com>
932 * rect.el (rectange--default-line-number-format)
933 (rectangle-number-line-callback): New functions.
934 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
936 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
938 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
939 Delete unused variables.
940 (move-to-column-force): Remove function obsolete since 21.2.
942 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
944 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
945 (tramp-handle-insert-file-contents): Do not set permanent-local
948 * net/tramp-cache.el (tramp-persistency-file-name):
949 Use `locate-user-emacs-file' if fboundp.
951 * net/tramp-sh.el (tramp-methods): Add "ksu".
952 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
955 2010-12-14 Glenn Morris <rgm@gnu.org>
957 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
958 (find-tag-marker-ring): Declare.
959 (js-find-symbol): Require etags.
961 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
963 (mail-alias-file): Don't autoload. Doc fix.
964 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
965 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
966 Mark as obsolete, and risky.
967 (mail-setup): Simplify.
969 * mail/mailalias.el (build-mail-aliases): Make it interactive.
970 * mail/sendmail.el (build-mail-aliases): Update autoload.
972 * dired.el (dired-trivial-filenames, dired-chown-program)
973 (dired-auto-revert-buffer): Remove autoload cookies.
974 * mail/sendmail.el (mail-recover-1): Require 'dired.
976 * dired.el (dired-subdir-switches, dired-chown-program)
977 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
978 Make into defcustoms.
979 (dired-chown-program): Simplify initialization.
981 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
983 2010-12-13 Romain Francoise <romain@orebokech.com>
985 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
987 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
989 * net/netrc.el (netrc-point-at-eol): Remove the unused
990 netrc-point-at-old and netrc-bound-and-true-p bindings.
991 (netrc-parse): Cache the netrc contents.
993 2010-12-13 Eli Zaretskii <eliz@gnu.org>
995 * subr.el (posn-col-row): Evaluate header-line-format in the
996 context of the POSITION window's buffer.
998 2010-12-13 Glenn Morris <rgm@gnu.org>
1000 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
1001 (with-silent-modifications): Doc fixes.
1003 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1005 * net/tramp.el (tramp-action-password, tramp-process-actions):
1006 Revert previous from. Use `save-restriction'.
1008 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
1010 * calendar/diary-lib.el (diary-list-sexp-entries):
1011 Handle case of no newline at end of file. (Bug#7536)
1013 2010-12-13 Glenn Morris <rgm@gnu.org>
1015 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
1017 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1019 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
1020 (tramp-process-actions): Do not widen.
1022 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1023 Protect buffer-modified value. (Bug#7557)
1025 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
1027 * log-edit.el (log-edit-changelog-entries):
1028 Regexp quote filename. (Bug#7505)
1030 2010-12-13 Tom Breton <tehom@panix.com>
1032 * cus-edit.el (custom-save-all):
1033 Bind print-length and print-level to nil. (Bug#7581)
1035 2010-12-13 Glenn Morris <rgm@gnu.org>
1037 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
1038 Run hooks to update menu contents. (Bug#7586)
1040 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
1041 file names, for the sake of MS Windows. (Bug#7588)
1043 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1045 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
1046 empty lines without a leading space.
1048 2010-12-13 Leo <sdl.web@gmail.com>
1050 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
1051 while mapping over marks (Bug#6810).
1053 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
1055 * image-dired.el (image-dired-db-file)
1056 (image-dired-temp-image-file, image-dired-gallery-dir)
1057 (image-dired-temp-rotate-image-file): Set default values relative
1058 to image-dired-dir (Bug#7518).
1060 2010-12-13 Lawrence Mitchell <wence@gmx.li>
1062 * format.el (format-decode-run-method): Pass args FROM and TO, not
1063 point-min and point-max, to shell-command-on-region (Bug#7488).
1065 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
1067 * frame.el (blink-cursor-mode): Make default t for ns.
1069 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1071 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1073 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
1075 * comint.el (comint-dynamic-list-input-ring)
1076 (comint-dynamic-complete-filename)
1077 (comint-replace-by-expanded-filename)
1078 (comint-dynamic-simple-complete)
1079 (comint-dynamic-list-filename-completions)
1080 (comint-dynamic-list-completions): Doc fix (Bug#7499).
1082 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
1085 2010-12-13 Martin Rudalics <rudalics@gmx.at>
1087 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
1090 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
1092 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
1095 2010-12-13 Eli Zaretskii <eliz@gnu.org>
1097 * files.el (file-relative-name): Handle UNC file names on
1098 DOS/Windows. (Bug#4674)
1100 2010-12-13 Daiki Ueno <ueno@unixuser.org>
1102 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1103 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
1104 (epg-context-set-passphrase-callback): Mention that the callback
1105 is not called when used with GnuPG 2.x.
1107 2010-12-13 Glenn Morris <rgm@gnu.org>
1109 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
1110 Ensure ps-footer-font-size-internal is initialized.
1111 Call ps-get-page-dimensions before trying to use ps-font-for-text.
1113 2010-12-13 Kenichi Handa <handa@m17n.org>
1115 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
1116 within condition-case.
1117 (rmail-show-mime): Don't use condition-case.
1118 (rmail-search-mime-message): New function.
1119 (rmail-search-mime-message-function): Set to
1120 rmail-search-mime-message.
1122 2010-12-13 Leo <sdl.web@gmail.com>
1124 * ido.el (ido-common-initialization): New function. (bug#3274)
1126 (ido-completing-read): Call it.
1128 2010-12-12 Karl Fogel <kfogel@red-bean.com>
1130 * bookmark.el (bookmark-name-from-full-record): Rename back to
1131 this original name from `bookmark-name-from-record' reverting part
1132 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
1133 As Drew Adams pointed out, there was no reason to cause churn for
1134 third-party callers.
1136 2010-12-12 Alan Mackenzie <acm@muc.de>
1138 * progmodes/cc-engine.el (c-forward-type): Before scanning a
1139 template arglist, check that the current language supports this.
1141 2010-12-11 Glenn Morris <rgm@gnu.org>
1143 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
1144 state of the file matches. (Bug#7544)
1145 (vc-bzr-register, vc-bzr-checkin)
1146 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
1147 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
1149 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
1151 2010-12-11 Karel Klíč <kklic@redhat.com>
1153 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
1155 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1157 Derive from prog-mode, use derived-mode-p, and fix up various
1158 minor style issues in lisp/progmodes.
1160 * progmodes/vhdl-mode.el (vhdl-mode):
1161 * progmodes/verilog-mode.el (verilog-mode):
1162 * progmodes/vera-mode.el (vera-mode):
1163 * progmodes/sql.el (sql-mode):
1164 * progmodes/scheme.el (scheme-mode):
1165 * progmodes/perl-mode.el (perl-mode):
1166 * progmodes/octave-inf.el (inferior-octave-mode):
1167 * progmodes/autoconf.el (autoconf-mode):
1168 * progmodes/m4-mode.el (m4-mode):
1169 * progmodes/inf-lisp.el (inferior-lisp-mode):
1170 * progmodes/idlwave.el (idlwave-mode):
1171 * progmodes/icon.el (icon-mode):
1172 * progmodes/idlw-help.el (idlwave-help-mode):
1173 * progmodes/dcl-mode.el (dcl-mode):
1174 * progmodes/idlw-shell.el (idlwave-shell-mode):
1175 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
1176 (ebrowse-member-mode, ebrowse-electric-position-mode):
1177 Use define-derived-mode.
1179 * progmodes/xscheme.el (exit-scheme-interaction-mode)
1180 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
1181 (xscheme-debugger-mode-p, xscheme-send-string-1):
1182 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
1183 (tcl-load-file, tcl-restart-with-file):
1184 * progmodes/ps-mode.el (ps-run-running):
1185 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
1186 * progmodes/js.el (js--get-all-known-symbols):
1187 * progmodes/inf-lisp.el (inferior-lisp-proc):
1188 * progmodes/idlwave.el (idlwave-beginning-of-statement)
1189 (idlwave-template, idlwave-update-buffer-routine-info)
1190 (idlwave-update-current-buffer-info)
1191 (idlwave-get-routine-info-from-buffers, idlwave-choose)
1192 (idlwave-scan-class-info, idlwave-fix-keywords)
1193 (idlwave-list-buffer-load-path-shadows):
1194 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
1195 (idlwave-toolbar-remove):
1196 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
1197 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
1198 (idlwave-shell-menu-def):
1199 * progmodes/idlw-complete-structtag.el
1200 (idlwave-prepare-structure-tag-completion):
1201 * progmodes/gud.el (gud-set-buffer):
1202 * progmodes/f90.el (f90-backslash-not-special):
1203 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
1205 * progmodes/xscheme.el (xscheme-start)
1206 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
1207 * progmodes/which-func.el (which-function):
1208 * progmodes/vhdl-mode.el (vhdl-set-style):
1209 * progmodes/verilog-mode.el (verilog-set-compile-command)
1210 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
1211 (verilog-set-define, verilog-auto-reeval-locals):
1212 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
1213 * progmodes/simula.el (simula-mode):
1214 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
1215 * progmodes/python.el (python-check, python-mode):
1216 * progmodes/prolog.el (prolog-mode-variables):
1217 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
1218 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
1219 * progmodes/delphi.el (delphi-mode):
1220 * progmodes/cc-styles.el (c-setup-paragraph-variables):
1221 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
1222 (c-font-lock-init): Move make-local-variable to their setq.
1224 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
1225 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
1227 * progmodes/sh-script.el (sh-require-final-newline): Remove.
1228 (sh-set-shell): Don't set require-final-newline since it's already done
1230 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
1231 since we never set it.
1232 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
1233 Use read-string and standard prompt.
1234 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
1235 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
1236 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
1237 (meta-common-mode-map): Rename from meta-mode-map.
1238 Remove C-m binding, which is a user preference, not mode specific.
1239 (meta-common-mode): New major mode; replace meta-common-initialization.
1240 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
1241 around with font-lock.
1242 * progmodes/etags.el (select-tags-table-mode):
1243 Derive from special-mode.
1244 * progmodes/octave-mod.el (octave-mode):
1245 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
1246 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
1247 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
1248 Let define-derived-mode do its job.
1249 * progmodes/cpp.el (cpp-edit-mode-map):
1250 Move initialization into declaration.
1251 (cpp-edit-mode): Use define-derived-mode.
1252 (cpp-edit-load): Use derived-mode-p.
1253 * progmodes/mixal-mode.el (mixal-mode):
1254 * progmodes/f90.el (f90-mode):
1255 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
1256 require-final-newline since prog-mode does it already.
1257 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
1258 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
1259 * progmodes/antlr-mode.el: Require cc-mode upfront.
1260 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
1262 (antlr-directory-dependencies, antlr-show-makefile-rules):
1264 (antlr-language-option): Don't assume point-min==1.
1265 (antlr-mode): Use define-derived-mode.
1266 * progmodes/ada-mode.el: Use derived-mode-p.
1267 (ada-mode): Use define-derived-mode.
1268 Use hack-local-variables-hook.
1270 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1272 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
1273 (texinfo-mode): Don't disable adaptive-fill-mode.
1274 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
1275 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
1276 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
1277 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
1278 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
1279 (texinfo-insert-@quotation, texinfo-insert-@samp)
1280 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
1281 (texinfo-insert-@uref): Use define-skeleton.
1282 (texinfo-insert-@-with-arg): Delete.
1284 2010-12-10 Eli Zaretskii <eliz@gnu.org>
1286 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
1287 nil, do quote archive member names. (Bug#6144)
1289 2010-12-10 Glenn Morris <rgm@gnu.org>
1291 * files.el (diff-no-select): Declare.
1293 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
1294 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
1296 * comint.el (comint-input-ring-file-name): Doc fix.
1298 2010-12-09 Eli Zaretskii <eliz@gnu.org>
1300 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
1302 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
1303 Use them instead of `nil' and `>', respectively.
1304 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
1306 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
1307 and menu-bar-positive-p instead of `nil' and `>', respectively.
1310 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1312 * whitespace.el (whitespace-newline-mode): Code fix.
1314 2010-12-09 Glenn Morris <rgm@gnu.org>
1316 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
1317 Rename functions without commas, update callers.
1319 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
1321 * whitespace.el (whitespace-cleanup-region):
1322 Clean up spaces before tabs. (Bug#7582)
1324 2010-12-08 Karl Fogel <kfogel@red-bean.com>
1326 * bookmark.el: Adjust parameter names and doc strings to resolve
1327 confusion over whether "bookmark" meant a bookmark name or a
1328 bookmark record. Along the way, shorten one function's name for
1329 similar reasons. (Issue #7548)
1330 (bookmark-name-from-record): New name for
1331 `bookmark-name-from-full-record'. All callers changed.
1332 (bookmark-get-bookmark, bookmark-get-bookmark-record)
1333 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
1334 (bookmark-get-annotation, bookmark-set-annotation)
1335 (bookmark-get-filename, bookmark-set-filename)
1336 (bookmark-get-position, bookmark-set-position)
1337 (bookmark-get-front-context-string, bookmark-set-front-context-string)
1338 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
1339 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
1340 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
1341 Rename `bookmark' parameter to `bookmark-name-or-record', to
1342 clearly show its role, and shorten or adjust doc strings accordingly.
1343 (bookmark-set-name): Same, and pass the parameter directly to
1344 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
1345 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
1346 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
1347 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
1348 and in some cases shorten doc string accordingly.
1349 (bookmark-rename): Change `old' and `new' parameters to `old-name'
1350 and `new-name', and adjust an internal variable to avoid confusion.
1351 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
1352 parameter in doc string.
1354 2010-12-08 Glenn Morris <rgm@gnu.org>
1356 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
1357 from gdb's history file. (Bug#7575)
1359 * mail/emacsbug.el (report-emacs-bug):
1360 Try to handle some other mail clients.
1362 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1364 * files.el (dir-locals-collect-variables): Don't let errors stop us.
1365 Use string-prefix-p.
1366 (file-name-version-regexp): New var.
1367 (file-name-sans-versions):
1368 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
1369 (jka-compr-get-compression-info): Use dolist.
1370 (jka-compr-compression-info-list): Don't bother specifying
1371 version/backup regexps.
1373 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
1375 * simple.el (just-one-space): Make argument n default to 1 if
1378 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1380 * electric.el (electric-indent-post-self-insert-function):
1381 Delete trailing newlines even if we don't reindent.
1383 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1385 * minibuffer.el (completion-at-point): Remove the `arg'.
1386 * bindings.el (complete-symbol): Move back from minibuffer.el.
1388 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1390 * simple.el (just-one-space): Delete newlines for negative arg.
1392 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1394 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
1395 (ansi-color-filter-apply): Simplify.
1396 (ansi-color-apply): Use `font-lock-face' rather than `face'.
1398 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1400 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1402 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
1404 * dired.el (dired-use-ls-dired): Set default to a special
1405 "unspecified" value.
1406 (dired-insert-directory): When called the first time, check
1407 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
1409 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
1411 * replace.el: Add "collect" feature to occur.
1412 (occur-collect-regexp-history): New var.
1413 (occur-read-primary-args): Return a replace string for nlines,
1415 (occur): Extend the meaning of nlines.
1417 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1419 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
1420 (which-func-update-1): Distinguish symbols from strings.
1421 (which-function): Stay within 80 columns.
1423 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1425 * subr.el (with-demoted-errors): Distinguish symbols from strings.
1427 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
1429 (comment-style): Use comment-styles's docs to describe values.
1431 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
1433 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
1434 and ns-show-prefs (Bug#7535).
1436 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
1437 bindings (Bug#7535).
1439 2010-12-03 Glenn Morris <rgm@gnu.org>
1441 * nxml/nxml-mode.el: Require rng-nxml.
1442 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
1443 Remove declarations.
1445 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
1446 * nxml/rng-nxml.el, nxml/rng-valid.el:
1447 Remove leading `*' from defcustom docs.
1449 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
1450 (normal-top-level-add-to-load-path, tty-handle-args):
1451 Convert comments to basic doc-strings.
1453 * net/browse-url.el (browse-url-url-at-point)
1454 (browse-url-default-browser): Remove autoload cookies.
1456 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1457 Remove more undefined cl functions.
1459 * vc/diff.el (diff-sentinel): Make new arguments optional.
1460 * ibuf-ext.el (diff-sentinel): Update declaration.
1462 2010-12-03 Daiki Ueno <ueno@unixuser.org>
1464 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1465 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
1466 (epg-context-set-passphrase-callback): Mention that the callback
1467 is not called when used with GnuPG 2.x.
1469 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
1471 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
1472 (tramp-file-name-port): Check also for `tramp-default-port'.
1473 (tramp-get-connection-name): New defun.
1474 (tramp-get-connection-process): Use it.
1475 (tramp-debug-message): Extend function exclude list.
1476 (tramp-drop-volume-letter): Fix doc string.
1478 * net/tramp-cmds.el: Remove solved todo item.
1482 * net/tramp-gvfs.el:
1484 * net/tramp-imap.el:
1485 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
1486 and `tramp-default-user-alist', respectively.
1488 * net/tramp-gw.el (tramp-gw-open-connection):
1489 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
1491 * net/tramp-imap.el (tramp-imap-make-iht): Use just
1492 `tramp-file-name-port'.
1494 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
1495 and "psftp". Exchange "%k" marker with options.
1496 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
1497 Compute size of link target.
1498 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
1499 `tramp-current-*' up due to gateway methods. Optimze computing of
1500 copy arguments. Use `tramp-get-connection-name' and
1501 `tramp-get-connection-buffer'. Improve debug messages.
1502 (tramp-compute-multi-hops): Remove port determination.
1503 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
1505 * net/trampver.el: Update release number.
1507 2010-12-02 Glenn Morris <rgm@gnu.org>
1509 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1510 Avoid infinite loop over windows. (Bug#7492)
1512 * progmodes/flymake.el (flymake-check-file-limit):
1513 Allow nil to mean "no limit".
1514 (flymake-check-patch-master-file-buffer): Update for above change.
1515 Allow a .tex file-name extension to be optional.
1516 (flymake-master-tex-init): Also match \include statements.
1518 2010-11-30 Sam Steingold <sds@gnu.org>
1520 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
1521 (nxml-parent-document-set): A function to set `nxml-parent-document'.
1522 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
1523 (nxml-mode-hook): Remove `defcustom' (auto-defined by
1524 define-derived-mode').
1525 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
1526 users who want to call `nxml-parent-document-set'.
1528 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1530 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
1531 stand-alone lines, since that is handled by log-edit-match-to-eoh
1534 2010-11-27 Eduard Wiebe <usenet@pusto.de>
1536 * dired.el (dired-get-filename): Replace backslashes with slashes
1537 in file names on MS-Windows, needed by `locate'. (Bug#7308)
1538 * locate.el (locate-default-make-command-line): Don't consider
1539 drive letter and root directory part of
1540 `directory-listing-before-filename-regexp'. (Bug#7308)
1541 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
1543 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1545 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
1546 of :smie-open/close-alist.
1547 (smie-next-sexp): Make it accept a "start token" as argument.
1548 (smie-indent-keyword): Be careful not to misidentify tokens that span
1549 more than one line, as empty lines. Add argument `token'.
1551 2010-11-27 Kenichi Handa <handa@m17n.org>
1553 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
1554 multipart subtypes, insert all as usual.
1556 * mail/rmail.el: Require rfc2047.
1558 2010-11-27 Kenichi Handa <handa@m17n.org>
1560 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
1561 (rmail-mime-entity-disposition)
1562 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
1563 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
1564 (rmail-mime-save): Handle the case that the button's `data' is a
1566 (rmail-mime-insert-text): New function.
1567 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
1568 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
1569 (rmail-mime-insert-bulk): New function mostly copied from the old
1570 rmail-mime-bulk-handler.
1571 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
1572 (rmail-mime-process-multipart): New function mostly copied from
1573 the old rmail-mime-multipart-handler.
1574 (rmail-mime-show): Just call rmail-mime-process.
1575 (rmail-mime-process): New function mostly copied from the old
1577 (rmail-mime-insert-multipart, rmail-mime-parse)
1578 (rmail-mime-insert, rmail-show-mime)
1579 (rmail-insert-mime-forwarded-message)
1580 (rmail-insert-mime-resent-message): New functions.
1581 (rmail-insert-mime-forwarded-message-function): Set to
1582 rmail-insert-mime-forwarded-message.
1583 (rmail-insert-mime-resent-message-function): Set to
1584 rmail-insert-mime-resent-message.
1586 * mail/rmailsum.el: Require rfc2047.
1587 (rmail-header-summary): Handle multiline Subject: field.
1588 (rmail-summary-line-decoder): Change the default to
1589 rfc2047-decode-string.
1591 * mail/rmail.el (rmail-enable-mime): Change the default to t.
1592 (rmail-mime-feature): Change the default to `rmailmm'.
1593 (rmail-quit): Delete the specifal code for rmail-enable-mime.
1594 (rmail-display-labels): Likewise.
1595 (rmail-show-message-1): Check rmail-enable-mime, and use
1596 rmail-show-mime-function for a MIME message. Decode the headers
1597 according to RFC2047.
1599 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1601 * progmodes/which-func.el (which-func-imenu-joiner-function):
1602 Return a string, as expected.
1603 (which-function-mode): Make sure we stop any previous timer before
1606 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
1608 * net/tramp.el (tramp-default-method-alist)
1609 (tramp-default-user-alist, tramp-default-proxies-alist):
1610 Adapt custom options type. (Bug#7445)
1612 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1614 * progmodes/python.el: Add Ipython support (Bug#5390).
1615 (python-shell-prompt-alist)
1616 (python-shell-continuation-prompt-alist): New options.
1617 (python--set-prompt-regexp): New function.
1618 (inferior-python-mode, run-python, python-shell):
1619 Require ansi-color. Use python--set-prompt-regexp to set the comint
1620 prompt based on the Python interpreter.
1621 (python--prompt-regexp): New var.
1622 (python-check-comint-prompt)
1623 (python-comint-output-filter-function): Use it.
1624 (run-python): Use a pipe (Bug#5694).
1626 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1628 * progmodes/python.el (run-python): Doc fix.
1629 (python-keep-current-directory-in-path): New var (Bug#7454).
1631 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1633 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1634 Prompt user before actually printing.
1636 2010-11-27 Glenn Morris <rgm@gnu.org>
1638 * startup.el (package-enable-at-startup, package-initialize):
1639 Remove unnecessary declarations.
1641 2010-11-27 Eli Zaretskii <eliz@gnu.org>
1643 * international/characters.el (glyphless-char-display-control):
1644 Exclude newline and TAB from the c0-control group.
1646 2010-11-27 Glenn Morris <rgm@gnu.org>
1648 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
1649 (expand-mail-aliases): Remove unnecessary autoload.
1651 * allout.el (allout-command-prefix, allout-mode-map): Declare.
1653 * shell.el (shell-dir-cookie-re): Move definition before use.
1655 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1656 Replace undefined CL functions.
1658 2010-11-26 Eli Zaretskii <eliz@gnu.org>
1660 * simple.el (prog-mode): Set bidi-paragraph-direction to
1663 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
1665 2010-11-26 Glenn Morris <rgm@gnu.org>
1667 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
1668 diary-outlook-formats can be sensitive to calendar-date-style.
1669 (diary-outlook-formats): Simplify the default setting.
1670 (diary-from-outlook-internal): Pass subject and body as arguments.
1671 Use dolist rather than dotimes. Don't save the diary buffer.
1672 (diary-from-outlook-gnus, diary-from-outlook-rmail):
1673 Pass subject and body as explicit arguments to the -internal function.
1675 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1677 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
1678 parsing them. This makes mailto:...?subject=foo\nbar work.
1680 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1682 * vc/diff.el (diff): Fix last change.
1684 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
1686 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
1687 (pcase--dontcare-upats): New var.
1688 (pcase-let, pcase-let*): Generate better code.
1689 Accept the same bodies as `let'.
1690 (pcase-dolist): New macro.
1691 (pcase--trivial-upat-p): New helper function.
1692 (pcase--expand): Strip leading "(let nil" if any.
1694 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
1696 * mail/mailclient.el (browse-url): Require.
1697 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
1698 use the external browser function to send the mail (bug#7469).
1700 * net/browse-url.el (browse-url-browser-function): Revert the
1701 default back to the previous value, since the new value broke
1703 (browse-url-mailto-function): New variable for mailto: URLs.
1704 (browse-url): Use the new variable for mailto: URLs.
1706 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1708 * eshell/esh-cmd.el (eshell-parse-command):
1709 * eshell/esh-arg.el (eshell-parse-arguments):
1710 * eshell/em-script.el (eshell-source-file):
1711 Use with-silent-modifications.
1713 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
1715 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
1716 for a merge location.
1718 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
1719 (vc-bzr-merge-branch): Always prompt.
1720 (vc-bzr-async-command): Use the full branch filename.
1722 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1724 * shell.el (shell): Use current-buffer by default if it's already
1725 a shell mode buffer and its process is dead.
1726 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
1728 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
1730 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1731 Mention that the keywords should be comma separated.
1733 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
1735 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
1736 Accept optional prefix arg meaning to prompt for a command.
1737 (vc-update): Use vc-BACKEND-pull if available. Accept optional
1738 prefix arg meaning to prompt for a command.
1739 (vc-pull): Alias for vc-update.
1741 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
1742 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
1743 (vc-bzr-merge-branch): New functions, implementing merge-branch
1744 and pull operations.
1746 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
1748 * Makefile.in: Fix up last merge.
1750 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
1751 (diff-sentinel): Get them as arguments instead.
1752 (diff-old-file, diff-new-file, diff-extra-args): Remove.
1753 (diff-file-local-copy, diff-better-file-name): New funs.
1754 (diff-no-select): Rename from diff-into-buffer.
1755 Support buffers additionally to files. Move `buf' arg. Don't display buf.
1756 Prefer closures to buffer-local variables.
1757 (diff): Adjust accordingly.
1758 (diff-buffer-with-file): Move from files.el.
1759 * files.el (diff-buffer-with-file): Move to vc/diff.el.
1760 (diff-buffer-internal): Remove.
1761 (diff-buffer-buffer): Remove.
1762 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
1763 the buffer name used, and so as not to mess up windows and frames.
1765 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1767 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
1768 (diff-buffer-internal): New function extracted from diff-buffer-with-file
1769 (diff-buffer-with-file): Use it.
1770 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
1773 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
1775 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
1776 \ref's or \pageref's value as default instead of initial input.
1778 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
1780 * files.el (backup-by-copying-when-mismatch): The default value is
1783 * startup.el (normal-top-level):
1784 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
1785 `backup-by-copying-when-mismatch'.
1787 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
1789 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
1791 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1793 * progmodes/python.el (python-font-lock-keywords):
1794 Highlight top-level augmented assignments (Bug#6445).
1796 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
1798 * term/ns-win.el (ns-right-control-modifier)
1799 (ns-right-command-modifier): Defvar them.
1801 * cus-start.el (all): Add ns-right-control-modifier and
1802 ns-right-command-modifier (Bug#7458).
1804 2010-11-20 Glenn Morris <rgm@gnu.org>
1806 * emacs-lisp/authors.el (authors-ignored-files)
1807 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
1809 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
1811 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
1812 (report-emacs-bug-parse-query-results)
1813 (report-emacs-bug-create-existing-bugs-buffer): Pass through
1814 keywords used for querying the bug database to show them in the
1815 existing bugs buffer.
1817 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
1819 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
1821 * info.el (info-tool-bar-map): Add some :vert-only keywords.
1823 2010-11-20 Eli Zaretskii <eliz@gnu.org>
1825 * international/characters.el (glyphless-char-display-control):
1826 Make it a defcustom, with update-glyphless-char-display as its
1828 (top level): Don't call update-glyphless-char-display.
1830 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
1832 Sync with Tramp 2.2.0.
1834 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
1835 `file-remote-p' (due to compatibility).
1837 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
1838 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
1840 * net/trampver.el: Update release number.
1842 2010-11-20 Eli Zaretskii <eliz@gnu.org>
1844 * faces.el (glyphless-char): Define value for `pc'.
1846 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
1848 Implemented a bug querying mechanism.
1849 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
1850 (report-emacs-bug-create-existing-bugs-buffer)
1851 (report-emacs-bug-parse-query-results)
1852 (report-emacs-bug-query-existing-bugs): New functions.
1854 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
1856 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
1857 a \ref{} or \pageref{} macro, then use its value as initial input.
1859 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
1861 * calc/calc-units.el (math-build-units-table-buffer):
1862 calc/README: Mention that the TeX specific units won't use the
1863 `tex' prefix in TeX mode.
1864 calc/calc-lang.el (math-variable-table): Don't use the `tex'
1865 prefix for units in TeX mode.
1867 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1869 * simple.el (kill-new, kill-append, kill-region):
1870 * comint.el (comint-kill-region): Make the yank-handler argument
1873 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1875 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
1876 that are both openers (resp. closers) and something else.
1877 (smie-grammar): Loosen definition of valid values.
1878 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
1879 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
1880 (smie-indent-after-keyword): Adjust users.
1881 (smie-indent-keyword): Don't indent empty lines.
1883 * vc-hg.el (vc-hg-program): New var.
1884 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
1885 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
1887 2010-11-18 Glenn Morris <rgm@gnu.org>
1889 * emacs-lisp/autoload.el (autoload-find-destination): The function
1890 coding-system-eol-type may return non-numeric values. (Bug#7414)
1892 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
1894 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
1896 2010-11-18 Eli Zaretskii <eliz@gnu.org>
1898 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
1900 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
1902 * textmodes/picture.el (picture-mouse-set-point): Don't use
1903 posn-col-row; explicitly compute the motion based on the posn at
1904 the window-start (Bug#7390).
1906 2010-11-18 Glenn Morris <rgm@gnu.org>
1908 * novice.el (disabled-command-function):
1909 Fix 2009-11-15 change. (Bug#7384)
1911 2010-11-18 Glenn Morris <rgm@gnu.org>
1913 * calendar/calendar.el (diary-iso-date-forms): Make elements
1914 mutually exclusive. (Bug#7377)
1916 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1918 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
1919 when filling the remaining "unconstrained" values.
1921 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1923 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
1926 * files.el (safe-local-variable-p): Gracefully handle errors.
1928 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
1929 Use smie-indent-virtual when indenting relative to an opener.
1930 (smie-rule-separator): Use smie-rule-parent.
1931 (smie-indent-keyword): Consult rules, even for openers at bol.
1932 (smie-indent-comment-close): Try to align closer's content.
1934 2010-11-18 Glenn Morris <rgm@gnu.org>
1936 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
1938 2010-11-18 Glenn Morris <rgm@gnu.org>
1940 * printing.el (pr-menu-bind): Doc fix.
1942 * speedbar.el (speedbar-toggle-images): Doc fix.
1944 * progmodes/python.el (python-shell): Doc fix.
1946 * wid-edit.el (widget-field-use-before-change)
1947 (widget-use-overlay-change): Doc fixes.
1949 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1951 Minor cleanup to improve style.
1952 * textmodes/rst.el (rst-update-section): Use point-marker.
1953 (rst-get-decoration): Eliminate unneeded assignment.
1954 (rst-promote-region, rst-straighten-decorations)
1955 (rst-section-tree, rst-adjust): Use point-marker.
1956 (rst-toc-mode-mouse-goto): Avoid setq.
1957 (rst-shift-region-guts, rst-shift-region-left)
1958 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
1959 (rst-convert-bullets-to-enumeration): Use copy-marker.
1961 * minibuffer.el (completion-fail-discreetly): New var.
1962 (completion--do-completion): Use it.
1964 * electric.el (electric-pair-pairs): New var.
1965 (electric-pair-post-self-insert-function): Use it.
1966 (electric-layout-post-self-insert-function): Don't insert a before
1967 newline unless it's actually needed.
1969 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1971 * progmodes/python.el (run-python): Explain why we remove the current
1972 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
1974 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
1976 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1978 * progmodes/octave-mod.el: Rely on elecric-*-modes.
1979 (octave-mode-map): Don't bind ;, SPC, and LF.
1980 (octave-auto-indent, octave-auto-newline): Remove.
1981 (electric-layout-rules): Declare.
1982 (octave-mode): Set electric-layout-rules.
1983 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
1984 (octave-reindent-then-newline-and-indent, octave-electric-semi)
1985 (octave-electric-space): Remove.
1987 * electric.el (electric-layout-mode): New minor mode.
1988 (electric--after-char-pos): New function.
1989 (electric-indent-post-self-insert-function): Use it.
1990 (electric-layout-rules): New var.
1991 (electric-layout-post-self-insert-function): New function.
1992 (electric-indent-mode): Make them interact better.
1994 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1996 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
1997 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
1998 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
2000 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
2002 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
2003 Make sure to check inside the word (Bug#6761).
2005 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
2007 * startup.el (command-line): If the cursorColor resource is set,
2008 change the cursor face-spec (Bug#7392).
2010 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
2012 The main features of the following allout.el changes are:
2013 - implement user customization for the allout key bindings
2014 - add a customization control by which the user can inhibit use of
2015 a trailing Ctrl-H, so by default it's reserved for use with
2016 describe-prefix-bindings
2017 - adapt to new version of called-interactively-p, while
2018 maintaining backwards compatibility with old version
2019 - fix hotspot navigation so i works properly with meta-modified keys
2021 * allout.el (allout-keybindings, allout-bind-keys)
2022 (allout-keybindings-binding, allout-prefixed-keybindings)
2023 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
2024 (allout-keybindings-list, allout-mode-map-adjustments)
2025 (allout-setup-mode-map): Establish allout-mode keymaps as user
2026 customizable settings, and also establish a customizable setting which
2027 regulates whether or not a trailing control-h is reserved for use with
2028 describe-prefix-bindings - and inhibit it by default, so that control-h
2029 *is* reserved for describe-prefix-bindings unless the user changes it.
2031 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
2032 and accurately between modified and unmodified events, and handle
2033 modified events more comprehensively.
2035 * allout.el (allout-substring-no-properties):
2036 Alias to use or provide version of `substring-no-properties'.
2037 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
2039 * allout.el (allout-next-single-char-property-change):
2040 Alias to use or provide version of `next-single-char-property-change'.
2041 (allout-annotate-hidden, allout-hide-by-annotation):
2042 Use `allout-next-single-char-property-change'.
2044 * allout.el (allout-select-safe-coding-system):
2045 Alias to use or provide version of `select-safe-coding-system'.
2046 (allout-toggle-subtree-encryption):
2047 Use `allout-select-safe-coding-system'.
2049 * allout.el (allout-set-buffer-multibyte):
2050 Alias to use or provide version of `set-buffer-multibyte'.
2051 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
2053 * allout.el (allout-called-interactively-p): Macro for using the
2054 different versions of called-interactively-p identically, depending on
2055 the subroutine's argument signature.
2056 (allout-back-to-current-heading, allout-beginning-of-current-entry):
2057 Use `(interactive "p")' instead of `(called-interactively-p)'.
2059 * allout.el (allout-init, allout-ascend, allout-end-of-level)
2060 (allout-previous-visible-heading, allout-forward-current-level)
2061 (allout-backward-current-level, allout-show-children):
2062 Use `allout-called-interactively-p' instead of `called-interactively-p'.
2064 * allout.el (allout-before-change-handler):
2065 Exempt edits to the (overlaid) character after the allout outline
2066 bullet from edit confirmation prompt.
2068 * allout.el (allout-add-resumptions):
2069 Ensure that it respects correct buffer for keybindings.
2071 * allout.el (allout-beginning-of-line):
2072 Use `allout-previous-single-char-property-change' alias for the sake of
2073 diverse compatibility.
2075 * allout.el (allout-end-of-line):
2076 Use `allout-mark-active-p' to encapsulate respect for mark activity.
2078 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
2080 * frame.el (frame-notice-user-settings): Don't clobber other
2081 user-set parameters when calling face-set-after-frame-default in
2082 response to background-color parameter (Bug#7373).
2084 2010-11-13 Eli Zaretskii <eliz@gnu.org>
2086 * international/characters.el (glyphless-char-display-control):
2087 Rename from glyphless-char-control; all users changed. Doc fix.
2088 Signal an error if display method is not one of the recognized
2091 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
2093 * net/tramp-compat.el (tramp-compat-line-beginning-position)
2094 (tramp-compat-line-end-position): Remove them.
2096 * net/tramp.el (tramp-parse-rhosts-group)
2097 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
2098 (tramp-parse-hosts-group, tramp-parse-passwd-group)
2099 (tramp-parse-netrc-group, tramp-parse-putty-group)
2100 * net/tramp-cmds.el (tramp-append-tramp-buffers)
2101 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
2102 (tramp-sh-handle-file-selinux-context)
2103 (tramp-sh-handle-file-name-all-completions)
2104 (tramp-sh-handle-insert-directory)
2105 (tramp-sh-handle-expand-file-name, tramp-find-executable)
2106 (tramp-wait-for-output, tramp-send-command-and-read)
2107 * net/tramp-smb.el (tramp-smb-read-file-entry)
2108 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
2110 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
2112 (tramp-remote-coding-commands): Add an alternative using "base64
2113 -d -i". This is needed for older base64 versions from GNU
2114 coreutils. Reported by Klaus Reichl
2115 <Klaus.Reichl@thalesgroup.com>.
2117 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
2119 * simple.el (count-words-region): New function.
2121 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2123 * shell.el (shell-dir-cookie-re): New custom variable.
2124 (shell-dir-cookie-watcher): New function.
2126 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
2127 and compilation-mode (bug#7350).
2129 * vc/smerge-mode.el (smerge-refine): Choose better default part to
2130 highlight when one of them is empty.
2132 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
2134 (skeleton-newline): New function.
2135 (skeleton-internal-1): Use it.
2137 * simple.el (open-line): `newline' may strip trailing space.
2139 2010-11-12 Kevin Ryde <user42@zip.com.au>
2141 * international/mule-cmds.el (princ-list): Use mapc.
2143 2010-11-12 Glenn Morris <rgm@gnu.org>
2145 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
2146 Use it to replace all instances of "*Compile-Log*"
2148 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2150 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
2153 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2155 * progmodes/modula2.el: Use SMIE and skeleton.
2156 (m2-mode-syntax-table): (*..*) can be nested.
2157 Add //...\n. Fix paren syntax.
2158 (m2-mode-map): Remove LF and TAB bindings.
2159 (m2-indent): Add safety property.
2160 (m2-smie-grammar): New var.
2161 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
2162 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
2163 (m2-mode): Use define-derived-mode.
2164 (m2-newline, m2-tab): Remove.
2165 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
2166 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
2167 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
2168 (m2-import): Use define-skeleton.
2170 2010-11-11 Glenn Morris <rgm@gnu.org>
2172 * obsolete/lucid.el: Don't warn about any CL functions in this file.
2174 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
2175 (ls-lisp-verbosity): Add custom :set-after property.
2176 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
2177 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
2178 (ls-lisp-insert-directory): Update caller.
2179 (ls-lisp-set-options): New function.
2180 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
2183 * play/landmark.el (lm-prompt-for-move):
2184 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
2186 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
2188 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
2189 (idlwave-study-twins): Prefix dynamic local variable `name'.
2190 (idlwave-routine-twin-compare): Update for above change.
2192 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
2193 Prefix dynamic local variables `name', `kwd', and `link'.
2194 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
2195 * progmodes/idlw-complete-structtag.el
2196 (idlwave-complete-structure-tag-help):
2197 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
2198 (idlwave-complete-sysvar-tag-help)
2199 (idlwave-complete-class-structure-tag-help):
2200 Update for above name changes.
2202 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2204 * net/browse-url.el (browse-url-browser-function): Change the
2205 default to use `browse-url-mail' on mailto: URLs.
2207 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
2209 * emacs-lisp/package.el (package-read-all-archive-contents):
2210 Reset package-archive-contents to nil before re-reading.
2212 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
2214 * textmodes/flyspell.el (flyspell-word): Do not re-check words
2215 already found as misspellings by (flyspell-large-region), just
2216 do highlighting (bug#7322).
2218 2010-11-10 Glenn Morris <rgm@gnu.org>
2220 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
2222 * emulation/edt.el (edt-with-position): New macro.
2223 (edt-find-forward, edt-find-backward, edt-find-next-forward)
2224 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
2225 (edt-paragraph-forward, edt-paragraph-backward): Use it.
2227 * emulation/tpu-extras.el (tpu-with-position): New macro.
2228 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
2230 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
2232 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
2233 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
2234 (texinfo-master-menu, texinfo-insert-node-lines)
2235 (texinfo-multiple-files-update):
2236 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
2237 Use line-beginning-position.
2239 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
2240 No recent Emacs supports system-type `emx'.
2242 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
2243 (ada-command-separator, ada-default-prj-properties)
2244 (ada-find-any-references): Update for above name change.
2246 * dirtrack.el (dirtrack-directory-function)
2247 (dirtrack-canonicalize-function):
2248 * filecache.el (file-cache-completion-ignore-case)
2249 (file-cache-case-fold-search, file-cache-ignore-case):
2250 * term.el (serial-port-is-file-p): Cosmetic change.
2252 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
2253 Remove non-existent `windows-95' system-type.
2254 * dired.el (dired-chown-program): Remove non-existent `linux'
2257 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
2258 (ping-program-options): Remove non-existent `linux' system-type.
2260 * startup.el (package-initialize): Update declaration.
2262 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
2263 (ls-lisp-handle-switches): Use time-less-p.
2264 (ls-lisp-format-time): Use float-time.
2266 * textmodes/remember.el (remember-time-to-seconds): Remove.
2267 (remember-store-in-mailbox): Use float-time.
2269 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
2271 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
2272 never a real function.
2273 (with-no-warnings): Remove compat stub, now unused.
2274 (time-less-p): Doc fix.
2275 (time-to-number-of-days): Simplify.
2277 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
2279 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
2280 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
2281 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
2282 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
2283 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
2285 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
2286 (eshell-shuffle-files, eshell-shorthand-tar-command)
2287 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
2288 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
2289 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
2290 Prefix dynamic local variable `matches'.
2292 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
2293 Prefix dynamic local variable `skeleton'.
2295 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
2297 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
2298 in mail buffer; make yank-action always a command that yanks original
2301 2010-11-09 Glenn Morris <rgm@gnu.org>
2303 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
2305 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2307 * minibuffer.el (minibuffer-completion-help): Specify the end of the
2308 completion field (bug#7211).
2310 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
2311 Fix handling of backslash escapes.
2312 (python-quote-syntax): Adjust accordingly.
2314 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
2316 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
2317 (vc-mtn-workfile-branch): Adjust to new output format.
2319 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2321 * international/mule-cmds.el (princ-list): Mark as obsolete.
2323 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2325 * emacs-lisp/smie.el: New package.
2327 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
2329 * files.el (backup-by-copying-when-mismatch):
2330 Set `permanent-local' property.
2332 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2333 `permanent-local' property for `backup-by-copying-when-mismatch'.
2335 2010-11-09 Eli Zaretskii <eliz@gnu.org>
2337 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
2339 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
2341 * progmodes/verilog-mode.el (verilog-insert-one-definition)
2342 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
2343 AUTOINOUT for SV style multidimensional arrays, bug294.
2344 Reported by Eric Mastromarchi.
2345 (verilog-preprocess): Use with-current-buffer and
2346 font-lock-fontify-buffer to cleanup style issues.
2348 2010-11-09 Glenn Morris <rgm@gnu.org>
2350 * locate.el (locate, locate-mode): Doc fixes.
2352 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
2354 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
2355 user for confirmation.
2356 (server-force-stop): Use it.
2357 (server-start): Use server-force-stop for kill-emacs-hook, to
2358 avoid user interaction while killing Emacs.
2360 2010-11-09 Glenn Morris <rgm@gnu.org>
2362 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
2363 (meta-indent-line): Simplify.
2365 * vc/emerge.el (emerge-line-number-in-buf):
2366 * textmodes/ispell.el (ispell-region):
2367 * textmodes/fill.el (current-fill-column):
2368 * progmodes/xscheme.el (xscheme-send-current-line):
2369 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
2370 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
2371 * progmodes/sh-script.el (sh-handle-prev-do):
2372 * progmodes/meta-mode.el (meta-indent-line):
2373 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
2375 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
2376 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
2377 * progmodes/fortran.el (fortran-looking-at-if-then):
2378 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
2379 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
2380 (cperl-find-pods-heres):
2381 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
2382 * net/quickurl.el (quickurl-list-insert):
2383 * net/ldap.el (ldap-search-internal):
2384 * net/eudc.el (eudc-expand-inline):
2385 * mail/sendmail.el (sendmail-send-it):
2386 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
2387 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
2388 (viper-brac-function):
2389 * calc/calc-yank.el (calc-do-grab-region):
2390 * calc/calc-keypd.el (calc-keypad-press):
2391 * term.el (term-move-columns, term-insert-spaces):
2392 * speedbar.el (speedbar-highlight-one-tag-line):
2393 * simple.el (current-word):
2394 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
2395 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
2397 * hippie-exp.el (he-line-beg):
2398 * epa.el (epa--marked-keys):
2399 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
2400 (dired-update-file-line, dired-add-entry, dired-remove-entry)
2401 (dired-relist-entry):
2402 * buff-menu.el (Buffer-menu-buffer):
2403 * array.el (current-line):
2404 * allout.el (allout-resolve-xref)
2405 (allout-latex-verbatim-quote-curr-line):
2406 Replace yet more uses of end-of-line etc with line-end-position, etc.
2408 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2410 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
2411 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
2412 (checkdoc-syntax-table): Initialize in the declaration.
2413 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
2414 the mode on unconditionally.
2416 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
2417 (extent-end-position, extent-start-position): Remove setf method for
2418 non-existing functions (bug#7319).
2420 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2422 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
2423 (smie-precs->prec2): Rename from smie-precs-precedence-table.
2424 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
2425 (smie-prec2->grammar): Rename from smie-prec2-levels.
2426 (smie-grammar): Rename from smie-op-levels.
2427 (smie-indent--hanging-p): Rename from smie-hanging-p.
2428 (smie-rule-hanging-p): New alias.
2429 (smie-indent--bolp): Rename from smie-bolp.
2430 (smie-indent--hanging-p): New alias.
2431 (smie--token): New dynamically bound variable.
2432 (smie-indent--parent): New function.
2433 (smie-rule-parent-p): Use it; rename from smie-parent-p.
2434 (smie-rule-next-p): Rename from smie-next-p.
2435 (smie-rule-prev-p): Rename from smie-prev-p.
2436 (smie-rule-sibling-p, smie-rule-parent)
2437 (smie-indent--separator-outdent, smie-rule-separator): New functions.
2438 (smie-rule-separator-outdent): New var.
2439 (smie-indent--rule): Merge with smie-indent--column.
2440 (smie-indent-forward-token, smie-indent-backward-token):
2441 Also recognize close parens.
2442 (smie-indent-keyword): Don't use smie-indent--column any more.
2443 (smie-indent-after-keyword): Ignore closers by default.
2444 (smie-indent-line): Use with-demoted-errors.
2445 * progmodes/octave-mod.el (octave-smie-grammar):
2446 Rename from octave-smie-op-levels.
2447 (octave-smie-rules): Adjust to new behavior.
2448 * progmodes/prolog.el (prolog-smie-grammar):
2449 Rename from prolog-smie-op-levels.
2451 2010-11-07 Glenn Morris <rgm@gnu.org>
2453 * eshell/esh-util.el (subst-char-in-string)
2454 (directory-files-and-attributes): These compatibility definitions are
2455 not needed on any version of Emacs since at least 21.4.
2457 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
2458 (verilog-get-end-of-line): Remove.
2459 (verilog-within-string, verilog-re-search-forward-substr)
2460 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
2461 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
2462 Use point-at-bol, point-at-eol.
2463 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
2465 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
2466 (electric-pascal-terminate-line, pascal-set-auto-comments)
2467 (pascal-indent-paramlist, pascal-indent-declaration)
2468 (pascal-get-lineup-indent, pascal-func-completion)
2469 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
2470 Use point-at-bol, point-at-eol.
2471 * progmodes/flymake.el (flymake-line-beginning-position)
2472 (flymake-line-end-position): Remove.
2473 (flymake-highlight-line): Use point-at-bol, point-at-eol.
2474 * eshell/esh-util.el (line-end-position, line-beginning-position):
2475 Remove compat definitions.
2477 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2479 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
2480 Use line-end-position.
2482 * emacs-lisp/chart.el (chart-zap-chars):
2483 * play/decipher.el (decipher-set-map):
2484 * progmodes/ada-mode.el (ada-get-current-indent)
2485 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
2486 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
2487 * progmodes/ada-xref.el (ada-initialize-runtime-library)
2488 (ada-get-all-references):
2489 * progmodes/cperl-mode.el (cperl-electric-paren)
2490 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
2491 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
2492 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
2493 (cperl-word-at-point-hard):
2494 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
2495 (idlwave-shell-filename-string, idlwave-shell-batch-command)
2496 (idlwave-shell-display-line):
2497 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
2498 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
2499 * progmodes/js.el (js--re-search-forward-inner)
2500 (js--re-search-backward-inner):
2501 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
2502 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
2503 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
2504 * textmodes/flyspell.el (flyspell-process-localwords):
2505 * textmodes/ispell.el (ispell-buffer-local-parsing)
2506 (ispell-buffer-local-dict, ispell-buffer-local-words):
2507 Use point-at-bol and point-at-eol.
2509 * speedbar.el (speedbar-generic-item-info)
2510 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
2511 (speedbar-add-indicator, speedbar-check-vc-this-line)
2512 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
2513 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
2514 Replace more uses of end-of-line etc with line-end-position.
2516 2010-11-06 Glenn Morris <rgm@gnu.org>
2518 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
2519 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
2520 (texinfo-delete-existing-pointers, texinfo-find-pointer)
2521 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
2522 (texinfo-multiple-files-update):
2523 * textmodes/table.el (table--probe-cell-left-up)
2524 (table--probe-cell-right-bottom):
2525 * textmodes/picture.el (picture-tab-search):
2526 * textmodes/page-ext.el (pages-copy-header-and-position)
2527 (pages-directory-for-addresses):
2528 * progmodes/vera-mode.el (vera-get-offset):
2529 * progmodes/simula.el (simula-calculate-indent):
2530 * progmodes/python.el (python-pdbtrack-overlay-arrow):
2531 * progmodes/prolog.el (end-of-prolog-clause):
2532 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
2533 * progmodes/icon.el (indent-icon-exp):
2534 * progmodes/etags.el (tag-re-match-p):
2535 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
2536 * progmodes/ebnf2ps.el (ebnf-begin-file):
2537 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
2538 (dcl-save-local-variable):
2539 * play/life.el (life-setup):
2540 * play/gametree.el (gametree-looking-at-ply):
2541 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
2542 * mail/sendmail.el (mail-mode-auto-fill):
2543 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
2544 * emacs-lisp/edebug.el (edebug-overlay-arrow):
2545 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
2546 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
2547 (woman-tab-to-tab-stop, WoMan-warn-ignored):
2548 * type-break.el (type-break-file-keystroke-count):
2549 * term.el (term-replace-by-expanded-history-before-point)
2550 (term-skip-prompt, term-extract-string):
2551 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
2552 (speedbar-contract-line, speedbar-toggle-line-expansion)
2553 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
2554 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
2555 * sort.el (sort-skip-fields):
2556 * skeleton.el (skeleton-internal-list):
2557 * simple.el (line-move-finish, line-move-to-column):
2558 * shell.el (shell-forward-command):
2559 * misc.el (copy-from-above-command):
2560 * makesum.el (double-column):
2561 * ebuff-menu.el (electric-buffer-update-highlight):
2562 * dired.el (dired-move-to-end-of-filename):
2563 * dframe.el (dframe-popup-kludge):
2564 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
2565 * arc-mode.el (archive-get-lineno):
2566 Use line-end-position and line-beginning-position.
2568 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
2569 (idlwave-study-twins): Prefix dynamic local `class'.
2570 (idlwave-routine-twin-compare): Update for above name change.
2572 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
2573 Use boundp tests to silence compiler. Update for changed name of
2574 bytecomp-filename variable.
2576 * emulation/viper-cmd.el (viper-read-string-with-history):
2577 Prefix dynamic local `initial'.
2578 (viper-minibuffer-standard-hook): Update for above name change.
2580 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
2581 (elint-init-form): Update for above name change.
2583 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
2584 local variables `cbeg' and `cend' a prefix.
2585 (mail-extr-voodoo): Update for above name change.
2587 * textmodes/reftex-toc.el (reftex-toc-do-promote)
2588 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
2589 (reftex-toc-promote-action): Doc fix.
2591 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
2592 `prompt', `data' a prefix.
2593 (reftex-select-post-command-hook, reftex-select-callback)
2594 (reftex-select-mouse-accept, reftex-select-read-cite):
2595 Update for above name changes.
2597 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
2598 `refstyle' to reftex-refstyle.
2599 (reftex-offer-label-menu): Update for above name change.
2600 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
2601 `refstyle' name change.
2603 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
2604 with with-current-buffer.
2605 (diff, template): Give dynamic local variables a prefix.
2606 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
2607 (emerge-line-number-in-buf): Update for above name change.
2608 (emerge-combine-versions-internal): Rename local `template' to
2609 emerge-combine-template.
2610 (emerge-combine-versions-edit): Update for above name change.
2612 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
2614 * textmodes/reftex-cite.el
2615 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
2616 entries with whitespace after \bibitem.
2617 (reftex-create-bibtex-file): Match entries containing numbers and
2618 symbol constituents. Make sure that entries with whitespace at
2619 various places are found.
2621 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
2623 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
2625 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
2627 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
2629 2010-11-05 Glenn Morris <rgm@gnu.org>
2631 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
2632 (woman2-roff-buffer): Give local variable `request' a prefix.
2633 (woman0-macro): Rename argument `request' in the same way.
2634 (woman-request): New name for `request' dynamic variable.
2635 (woman-unquote, woman-forward-arg): Update for above name change.
2636 (woman1-roff-buffer): Give local variable `unquote' a prefix.
2637 (woman1-unquote): New name for `unquote' dynamic variable.
2638 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
2639 (woman-translations): Rename from `translations'. No longer global.
2640 (woman2-tr, woman-translate): Update for above name change.
2641 (woman-translate): Check for bound variable.
2642 (woman2-roff-buffer): Give local variable `translations' a prefix.
2644 * play/doctor.el: Give all local variables a prefix. Update callers.
2645 (doc$, doctor-put-meaning): Use backquote.
2647 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
2648 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
2650 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
2651 variables bytes, ptr, op a prefix.
2652 (disassemble-offset): Update for above change.
2654 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
2656 * emacs-lisp/package.el (package-unpack): Remove no-op.
2657 (package--builtins, package--dir): Doc fix.
2658 (package-activate-1, package-activate, package-install)
2659 (package-compute-transaction): Fix error message.
2660 (package-delete): Use delete-directory. Omit system packages.
2661 (package-initialize): Set package-alist to nil first.
2662 (package-menu-mark-delete, package-menu-mark-install): Don't add
2663 symbols that are inconsistent with the package state.
2664 (package-menu-execute): Perform deletions and installations as
2665 single batch operations.
2667 2010-11-03 Glenn Morris <rgm@gnu.org>
2669 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
2670 (props): Remove unnecessary declaration.
2672 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
2673 set-process-query-on-exit-flag.
2675 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
2676 (reftex-toc-do-promote): Remove unused local `mpos'.
2677 (reftex-toc-restore-region): Make `mpos' local to this function.
2679 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
2681 * play/landmark.el (lm-losing-threshold): Correct spelling.
2682 (lm-human-plays): Use new name.
2684 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
2685 (gomoku-human-plays): Use new name.
2687 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
2688 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
2689 (gomoku-score-trans-table, gomoku-winning-threshold)
2690 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
2692 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
2694 * emacs-lisp/package.el: Don't put built-in packages in
2695 package-alist, to avoid loading inefficiencies.
2696 (package-built-in-p): Make VERSION optional, and treat it as a
2697 minimum acceptable version.
2698 (package-activate): Search separately for built-in packages.
2699 Emit a warning if a dependency fails.
2700 (define-package): Handle most common case, where there is no
2701 obsolete package, first.
2702 (package-compute-transaction): Print required version in error.
2703 (package--initialized): New variable.
2704 (list-packages): Use it.
2705 (package-initialize): Optional arg NO-ACTIVATE. Don't put
2706 built-in packages in packages-alist; keep it separate.
2707 Set package--initialized.
2708 (describe-package): Avoid activating packages as a side-effect.
2709 Search separately for built-in packages.
2710 (describe-package-1): Handle the case where an elpa package is
2711 simultaneously built-in and available/installed.
2712 (package-installed-p, package--generate-package-list):
2713 Search separately for built-in packages.
2714 (package-load-descriptor): Doc fix.
2716 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2718 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2719 Handle __DATA__ and __END__.
2721 2010-11-02 Noah Friedman <friedman@splode.com>
2723 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
2724 nil, do not ask to recompile files that are not already compiled,
2725 and do not recompile them.
2727 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
2729 * emacs-lisp/package.el (package-initialize): Ensure that
2730 obsoleted built-in packages are not in package-activated-list
2732 (describe-package-1): Make the "installed" status override
2735 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2737 * subr.el (version-separator, version-regexp-alist): Remove '*'
2739 (version-list-<=, version<=, version=): Doc fix.
2741 2010-11-01 Kenichi Handa <handa@m17n.org>
2743 * faces.el (glyphless-char): Inherit underline for tty.
2745 2010-11-01 Kenichi Handa <handa@m17n.org>
2747 Implement various display methods for glyphless characters.
2749 * international/characters.el (char-acronym-table): New variable.
2750 (glyphless-char-control): New variable.
2751 (update-glyphless-char-display): New funciton.
2753 * faces.el (glyphless-char): New face.
2755 2010-11-01 Glenn Morris <rgm@gnu.org>
2757 * calendar/holidays.el (general-holidays, oriental-holidays)
2758 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
2759 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
2760 the definitions of their targets.
2762 * emacs-lisp/smie.el (smie): New custom group.
2763 (smie-blink-matching-inners, smie-indent-basic): Add :group.
2765 * faces.el (xw-defined-colors, x-setup-function-keys):
2766 * mouse-sel.el (x-select-text):
2767 * term/w32console.el (x-setup-function-keys): Update declarations.
2769 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
2771 * textmodes/ispell.el (comment-add): Declare.
2773 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
2776 * info.el (finder-keywords-hash, package-alist): Declare.
2778 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
2780 * finder.el (finder-compile-keywords): Don't use intern-soft,
2781 since package names may not yet exist in the obarray.
2783 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
2785 * vc/vc-arch.el (vc-arch-checkin):
2786 * vc/vc-cvs.el (vc-cvs-checkin):
2787 * vc/vc-mtn.el (vc-mtn-checkin):
2788 * vc/vc-rcs.el (vc-rcs-checkin):
2789 * vc/vc-sccs.el (vc-sccs-checkin):
2790 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
2791 since 2010-04-21 commit by Stefan Monnier.
2793 2010-11-01 Glenn Morris <rgm@gnu.org>
2795 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
2797 * startup.el (package-enable-at-startup, package-initialize):
2800 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
2803 2010-10-31 Julien Danjou <julien@danjou.info>
2805 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
2806 (byte-recompile-directory):
2807 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
2808 Use `byte-recompile-file'.
2810 2010-10-31 Glenn Morris <rgm@gnu.org>
2812 * cus-start.el: Handle standard values via a keyword.
2813 Only set version property if specified.
2814 (cursor-in-non-selected-windows, menu-bar-mode)
2815 (tool-bar-mode, show-trailing-whitespace):
2816 Do not specify standard values.
2817 (transient-mark-mode, temporary-file-directory): Use :standard.
2819 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
2821 * term/x-win.el (x-get-selection-value): New function that gets
2822 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
2824 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
2826 * net/tramp.el (tramp-handle-insert-file-contents): For root,
2827 preserve owner and group when editing files. (Bug#7289)
2829 2010-10-31 Glenn Morris <rgm@gnu.org>
2831 * speedbar.el (speedbar-mode):
2832 * play/fortune.el (fortune-in-buffer, fortune):
2833 * play/gomoku.el (gomoku-mode):
2834 * play/landmark.el (lm-mode):
2835 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
2836 Replace inappropriate uses of toggle-read-only. (Bug#7292)
2838 * select.el (x-selection): Mark it as an obsolete alias.
2840 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2842 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
2843 major-mode (bug#7284).
2845 2010-10-31 Glenn Morris <rgm@gnu.org>
2847 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
2848 rather than just an unused variable that inherits from the real one.
2850 2010-10-31 Alan Mackenzie <acm@muc.de>
2852 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
2853 This fixes bug #7185.
2855 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
2857 * startup.el (command-line): Search for package directories, and
2858 don't load package.el if none are found.
2860 * emacs-lisp/package.el (describe-package, list-packages):
2861 Call package-initialize if it has not been called yet.
2863 2010-10-30 Alan Mackenzie <acm@muc.de>
2865 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
2866 which fontifies the tail of an enum.
2867 (c-basic-matchers-after): Insert a call to the above new function.
2868 This fixes bug #7264.
2870 2010-10-30 Glenn Morris <rgm@gnu.org>
2872 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
2873 tool-bar-mode, transient-mark-mode. (Bug#7306)
2874 Include the :set property in the dumped Emacs.
2876 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2878 SMIE: change indent rules format, improve smie-setup.
2879 * emacs-lisp/smie.el (smie-precs-precedence-table)
2880 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
2881 Mark them pure so the tables gets built at compile time.
2882 (smie-bnf-precedence-table): Store the closer-alist in the table.
2883 (smie-prec2-levels): Preserve the closer-alist.
2884 (smie-blink-matching-open): Be more forgiving in case of indentation.
2885 (smie-hanging-p): Rename from smie-indent--hanging-p.
2886 (smie-bolp): Rename from smie-indent--bolp.
2887 (smie--parent, smie--after): New dynamic vars.
2888 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
2889 (smie-indent-rules): Remove.
2890 (smie-indent--offset-rule): Remove fun.
2891 (smie-rules-function): New var.
2892 (smie-indent--rule): New fun.
2893 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
2894 (smie-indent-exps): Use it.
2895 (smie-setup): Setup paren blinking; add keyword args for token
2896 functions; extract closer-alist from op-levels.
2897 (smie-indent-debug-log): Remove var.
2898 (smie-indent-debug): Remove fun.
2899 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
2900 (prolog-smie-rules): New fun to replace it.
2901 (prolog-mode-variables): Simplify.
2902 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
2903 it's setup automatically.
2904 (octave-smie-indent-rules): Remove.
2905 (octave-smie-rules): New fun to replace it.
2906 (octave-mode): Simplify.
2908 2010-10-29 Glenn Morris <rgm@gnu.org>
2910 * files.el (temporary-file-directory): Remove (already defined in C).
2911 * cus-start.el: Add temporary-file-directory.
2913 * abbrev.el (abbrev-mode):
2914 * composite.el (auto-composition-mode):
2915 * menu-bar.el (menu-bar-mode):
2916 * simple.el (transient-mark-mode):
2917 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
2918 that they do not define the associated variables twice.
2919 * simple.el (transient-mark-mode): Remove defvar.
2920 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
2921 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
2922 Handle multiple groups, and also custom-delayed-init-variables.
2923 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2925 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2927 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
2928 (pcase-if): Add one minor optimization.
2929 (pcase-split-equal): Rename from pcase-split-eq.
2930 (pcase-split-member): Rename from pcase-split-memq.
2931 (pcase-u1): Add strings to the member optimization.
2932 Add `guard' variant of predicates.
2933 (pcase-q1): Add string patterns.
2935 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2937 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
2939 2010-10-28 Glenn Morris <rgm@gnu.org>
2941 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2942 Move menu-bar related settings to ../menu-bar.el.
2943 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2944 Move ns-specific settings here from term/ns-win.el.
2946 * simple.el (x-selection-owner-p): Remove unused declaration.
2948 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2950 * minibuffer.el (completion-cycling): New var (bug#7266).
2951 (minibuffer-complete, completion--do-completion):
2952 Use completion--flush-all-sorted-completions.
2953 (minibuffer-complete): Only cycle if completion-cycling is set.
2954 (completion--flush-all-sorted-completions): Unset completion-cycling.
2955 (minibuffer-force-complete): Set completion-cycling.
2956 (completion-all-sorted-completions): Move declaration before first use.
2958 2010-10-28 Leo <sdl.web@gmail.com>
2960 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
2961 which changes the order of matches seen by users (bug#7231).
2963 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
2965 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2966 Don't confuse -omega as "-o mega".
2968 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
2970 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
2971 (log-edit-author): New dynamic var.
2972 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
2973 to return the author if different from committer.
2974 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
2976 * play/landmark.el: Adjust commenting convention.
2977 (lm-nil-score): Rename from nil-score.
2978 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
2979 (OOOOscore): Move into a let in lm-score-trans-table.
2980 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
2982 * electric.el (electric-indent-chars): Autoload.
2983 * progmodes/octave-mod.el (octave-mode):
2984 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
2985 (ruby-mode-abbrev-table): Merge initialization and declaration.
2987 2010-10-27 Glenn Morris <rgm@gnu.org>
2989 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
2992 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
2994 * term/ns-win.el: Restore require of cl when compiling.
2995 (menu-bar-final-items): Remove non-existent `windows' menu.
2996 (ns-handle-nxopen): Optionally handle the temp-case.
2997 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
2998 (ns-insert-file, ns-find-file): Use `pop'.
3000 2010-10-26 Glenn Morris <rgm@gnu.org>
3002 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
3004 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
3006 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
3008 * term/common-win.el (x-setup-function-keys): Remove most of the
3009 keymappings. Comment on the remaining ones.
3011 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
3013 * server.el (server-port): New option. (Bug#854)
3014 (server-start): Use server-port.
3016 2010-10-26 Glenn Morris <rgm@gnu.org>
3018 * term/ns-win.el (ns-version-string): Remove unused declaration.
3019 (ns-invocation-args): Change to x-invocation-args.
3020 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
3021 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
3022 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
3023 Use x-invocation-args instead of ns-invocation-args.
3024 (ns-initialize-window-system, handle-args-function-alist):
3025 Use x-handle-args instead of ns-handle-args.
3026 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
3027 * startup.el (command-line-ns-option-alist): Replace
3028 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
3029 ns-handle-iconic with the x- equivalents.
3031 * term/common-win.el (x-select-enable-clipboard):
3032 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
3034 * term/ns-win.el: No need to require cl when compiling.
3035 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
3036 (xw-defined-colors): Use the common-win definitions.
3037 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
3038 (ns-handle-iconic): Make it an alias for x-handle-iconic.
3039 * term/common-win.el (x-select-text, x-alternatives-map)
3040 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
3041 * loadup.el [ns]: Load common-win.
3043 2010-10-26 Daiki Ueno <ueno@unixuser.org>
3045 * epa-mail.el (epa-mail-encrypt): Handle local-part only
3046 recipients; expand mail aliases (Bug#7280).
3048 2010-10-25 Glenn Morris <rgm@gnu.org>
3050 * term/common-win.el (x-handle-switch): Simplify with pop.
3051 Optionally handle numeric switches.
3052 (x-handle-numeric-switch): Just call x-handle-switch.
3053 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
3054 (x-handle-name-switch, x-handle-display, x-handle-args):
3057 * term/ns-win.el: Do not require easymenu.
3058 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
3059 <spell>: Move adjustments to menu-bar.el.
3060 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
3061 <separator-undo, spell>: Move ns-win's adjustments here.
3062 * loadup.el [ns]: Do not load easymenu.
3064 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3066 * image.el (image-checkbox-checked, image-checkbox-unchecked):
3069 * startup.el (fancy-startup-tail): Instead of using inline images,
3070 refer to image files from etc/.
3072 * wid-edit.el (checkbox): Likewise.
3073 (widget-image-find): Center image specs.
3075 2010-10-24 Glenn Morris <rgm@gnu.org>
3077 * term/ns-win.el (x-select-text): Doc fix.
3078 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
3079 (x-select-text): Move to term/common-win.
3080 * term/w32-win.el (xw-defined-colors): Move to common-win.
3081 * term/x-win.el (xw-defined-colors, x-alternatives-map)
3082 (x-setup-function-keys, x-select-text): Move to common-win.
3083 * term/common-win.el (x-select-text, x-alternatives-map)
3084 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
3087 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
3089 * net/mairix.el (mairix-searches-mode-map):
3090 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
3092 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
3094 * verilog-mode.el (verilog-directive-re): Make this variable
3095 auto-built for efficiency of execution and updating.
3096 (verilog-extended-complete-re): Support 'pure' fucntion & task
3097 declarations (these have no bodies).
3098 (verilog-beg-of-statement): General cleanup to enable support of
3099 'pure' fucntion & task declarations (these have no bodies).
3100 These efforts together fix Verilog bug210 from veripool; which was also
3101 noticed by Steve Pearlmutter.
3102 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
3103 (verilog-directive-nest-re, verilog-set-auto-endcomments):
3104 Support `elsif. Reported by Shankar Giri.
3105 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
3106 attribute handling for lining up declarations and assignments.
3107 (verilog-beg-of-statement-1): Fix issue where continued declaration
3108 is indented differently if it is after a begin..end clock.
3109 (verilog-in-attribute-p, verilog-skip-backward-comments)
3110 (verilog-skip-forward-comment-p): Support proper treatment of
3111 attributes by indent code. Reported by Jeff Steele.
3112 (verilog-in-directive-p): Fix comment to correctly describe function.
3113 (verilog-backward-up-list, verilog-in-struct-region-p)
3114 (verilog-backward-token, verilog-in-struct-p)
3115 (verilog-in-coverage-p, verilog-do-indent)
3116 (verilog-pretty-declarations): Use verilog-backward-up-list as
3117 wrapper around backward-up-list inorder to properly skip comments.
3118 Reported by David Rogoff.
3119 (verilog-property-re, verilog-endcomment-reason-re)
3120 (verilog-beg-of-statement, verilog-set-auto-endcomments)
3121 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
3122 of if). Reported by Max Bjurling and
3123 (verilog-calc-1): Fix for clocking block in modport
3124 declaration. Reported by Brian Hunter.
3126 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
3128 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
3129 (verilog-gate-keywords, verilog-read-sub-decls)
3130 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
3131 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
3132 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
3133 (verilog-read-decls): Fix spaces in V2K module parameters causing
3134 mis-identification as interfaces, bug287.
3135 (verilog-read-decls): Fix not treating "parameter string" as a
3136 parameter in AUTOINSTPARAM.
3137 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
3138 treating `elsif similar to `endif inside AUTOSENSE.
3139 (verilog-do-indent): Implement correct automatic or static task or
3140 function end comment highlight. Reported by Steve Pearlmutter.
3141 (verilog-font-lock-keywords-2): Fix highlighting of single
3142 character pins, bug264. Reported by Michael Laajanen.
3143 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
3144 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
3145 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
3146 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
3147 (verilog-pretty-expr): Fix interactive arguments, bug272.
3148 Reported by Mark Johnson.
3149 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
3150 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
3151 bug269. Suggested by Gary Delp.
3152 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
3153 (verilog-preprocessor, verilog-set-compile-command):
3154 Create verilog-preprocess and verilog-preprocessor to show
3155 preprocessed output.
3156 (verilog-get-beg-of-line, verilog-get-end-of-line)
3157 (verilog-modi-file-or-buffer, verilog-modi-name)
3158 (verilog-modi-point, verilog-within-string): Move defmacro's
3159 before first use to avoid warning. Reported by Steve Pearlmutter.
3160 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
3161 (verilog-colorize-region, verilog-highlight-buffer)
3162 (verilog-highlight-includes, verilog-highlight-modules)
3163 (verilog-highlight-region, verilog-mode): Rename colorize to
3164 highlight to match other packages. Disable module highlighting,
3165 as received speed complaints, reenable for experimentation only
3166 using new verilog-highlight-modules.
3167 (verilog-read-decls): Fix regexp stack overflow in very large
3168 AUTO_TEMPLATEs, bug250.
3169 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
3170 (verilog-scan): Create verilog-save-buffer-state to standardize
3171 making insignificant changes that shouldn't call hooks.
3172 (verilog-save-no-change-functions, verilog-save-scan-cache)
3173 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
3174 Create verilog-save-no-change-functions to wrap verilog-scan
3175 preservation, and fix to work with nested preserved calls.
3176 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
3177 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
3178 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
3179 (verilog-submit-bug-report): Update variable list to be complete.
3180 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
3181 breaking on-the-fly font-locking.
3182 (verilog-colorize-buffer, verilog-colorize-include-files)
3183 (verilog-colorize-include-files-buffer, verilog-colorize-region)
3184 (verilog-load-file-at-mouse, verilog-load-file-at-point)
3185 (verilog-mode, verilog-read-inst-module-matcher): With point on a
3186 AUTOINST cell instance name, middle mouse button now finds-file on
3187 it. Suggested by Brad Dobbie.
3188 (verilog-alw-get-temps, verilog-auto-reset)
3189 (verilog-auto-sense-sigs, verilog-read-always-signals)
3190 (verilog-read-always-signals-recurse): Fix loop indexes being
3191 AUTORESET. AUTORESET now assumes any variables in the
3192 initialization section of a for() should be ignored.
3193 Reported by Dan Dever.
3194 (verilog-error-font-lock-keywords)
3195 (verilog-error-regexp-emacs-alist)
3196 (verilog-error-regexp-xemacs-alist): Fix error detection of
3197 Cadence HAL, reported by David Asher. Repair drift between the
3198 three similar error variables.
3199 (verilog-modi-lookup, verilog-modi-lookup-cache)
3200 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
3201 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
3202 Fix slow verilog-auto expansion on very large files.
3203 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
3204 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
3205 "{1*2{...". Broke in last revision.
3206 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
3207 submodule connections with replications "{#{a},#{b}}".
3209 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
3211 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
3212 Fix typo in docstring.
3214 2010-10-24 Kenichi Handa <handa@m17n.org>
3216 * face-remap.el (text-scale-adjust): Call read-event with a proper
3219 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3221 * emacs-lisp/unsafep.el: Don't mark functions that display
3222 messages as safe. Suggested by Johan Bockgård.
3224 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3226 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
3227 Turn comments into docstrings.
3229 * minibuffer.el (completion--replace): Move point where it belongs
3230 when there's a common suffix (bug#7215).
3232 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3234 Merge read-color and facemenu-read-color (Bug#7242).
3236 * faces.el (read-color): Use the completion code from
3237 facemenu-read-color. Require match in completion. Doc fix.
3239 * facemenu.el (facemenu-read-color): Alias for read-color.
3240 (facemenu-set-foreground, facemenu-set-background):
3243 * frame.el (set-background-color, set-foreground-color)
3244 (set-cursor-color, set-mouse-color, set-border-color):
3247 2010-10-24 Leo <sdl.web@gmail.com>
3249 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
3250 argument of delete-file and delete-directory (Bug#7011).
3252 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3254 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
3257 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
3259 * emacs-lisp/package.el (package--generate-package-list): Make the
3260 *Packages* buffer read-only.
3262 2010-10-24 Alan Mackenzie <acm@muc.de>
3264 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
3265 result of `c-beginning-of-decl-1' between invocations of a lambda
3266 function (Bug #7265).
3268 2010-10-24 Daiki Ueno <ueno@unixuser.org>
3270 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
3271 executable is not available on the system (Bug#7268).
3273 2010-10-24 Glenn Morris <rgm@gnu.org>
3275 * select.el (selection-coding-system, next-selection-coding-system):
3276 Sync doc with C versions.
3278 * w32-vars.el (x-select-enable-clipboard):
3279 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
3280 * term/common-win.el (x-select-enable-clipboard): Move here.
3282 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
3283 definition of C variable.
3285 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
3286 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3287 Don't redefine things that are defined in C.
3288 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
3289 (show-trailing-whitespace, auto-hscroll-mode)
3290 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3291 Set up the appropriate custom properties.
3293 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3296 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
3297 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
3298 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
3299 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
3301 2010-10-23 Glenn Morris <rgm@gnu.org>
3303 * textmodes/flyspell.el (flyspell-mode): If there was an error,
3306 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
3307 Sync docs with C version.
3309 * term/ns-win.el (xw-defined-colors):
3310 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
3312 * term/pc-win.el (x-select-enable-clipboard):
3313 * term/x-win.el (x-select-enable-clipboard):
3314 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
3316 * comint.el (comint-password-prompt-regexp): Make it less vague.
3319 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
3321 * help.el (finder-by-keyword): Remove unnecessary autoload.
3323 2010-10-22 Glenn Morris <rgm@gnu.org>
3325 * loadup.el: Unconditionally load float-sup.
3326 * paren.el (show-paren-delay):
3327 * emacs-lisp/float-sup.el:
3328 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
3329 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
3330 (lazy-lock-stealth-verbose): Assume float support.
3331 * ps-print.el: Assume float support on Emacs.
3332 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
3333 Remove non-float branch.
3335 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
3336 src/Makefile no longer being pre-processed.
3338 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3340 * emacs-lisp/find-func.el (find-library): Use test-completion.
3342 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3344 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
3346 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
3348 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
3349 space in stat format string.
3350 (tramp-send-command): Unset $PS1 when using here documents, in
3351 order not to get several prompts.
3352 (tramp-get-inline-coding): Return `nil' in case of errors.
3354 2010-10-21 Daiki Ueno <ueno@unixuser.org>
3356 * hexl.el (hexl-mode, hexl-mode-exit):
3357 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
3358 (hexl-revert-buffer-function): New function.
3359 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
3361 2010-10-19 Alan Mackenzie <acm@muc.de>
3363 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
3364 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
3365 that these keywords aren't wrongly matched as identifiers.
3367 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
3368 setting of c-new-BEG and c-new-END from c-before-change to
3369 c-after-change. (Bug#7181)
3371 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3373 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
3376 * custom.el (custom-theme-set-variables): Likewise.
3377 (load-theme): Add custom-theme-set-faces and
3378 custom-theme-set-variables to safe-functions while loading.
3379 (custom-enabled-themes): Mark as risky.
3381 2010-10-18 Julien Danjou <julien@danjou.info>
3383 * bindings.el: Remove end dashes in default mode-line-format.
3385 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3387 * bindings.el (global-map): Bind C-d to delete-char and deletechar
3388 to delete-forward-char.
3390 * simple.el (normal-erase-is-backspace-mode): Remap delete to
3391 deletechar, and hence delete-forward-char.
3393 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3395 * repeat.el (repeat): Use read-key (bug#6256).
3397 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3399 * emacs-lisp/unsafep.el: Don't mark functions that display
3400 messages as safe. Suggested by Johan Bockgård.
3402 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3404 * minibuffer.el (completion--replace): Move point where it belongs
3405 when there's a common suffix (bug#7215).
3407 2010-10-19 Kenichi Handa <handa@m17n.org>
3409 * international/characters.el: Add category '|' (word breakable)
3410 to fullwidth characters.
3412 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
3414 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
3415 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
3416 order to make stat results a float. Patch by Andreas Schwab
3417 <schwab@linux-m68k.org>.
3419 2010-10-18 Julien Danjou <julien@danjou.info>
3421 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
3422 hidden by `make-pointer-invisible'.
3424 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3426 * files.el (locate-file-completion-table): Strip non-matching elements
3427 before checking length of list (bug#7238).
3429 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
3431 * custom.el (custom-theme-set-variables): Mark as a safe function.
3432 (load-theme): Check forms using unsafep.
3434 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
3436 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
3438 * textmodes/ispell.el (ispell-aspell-find-dictionary):
3439 Fix aspell data file searching (bug#7230).
3441 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3443 * cus-theme.el (custom-theme--migrate-settings): New var.
3444 (customize-create-theme): Allow editing the `user' theme.
3445 (custom-theme-add-variable, custom-theme-add-var-1)
3446 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
3447 to the front of each variable or face widget.
3448 (custom-theme-write): Save theme settings in the correct order.
3449 Optionally, remove saved settings from user customizations.
3450 (custom-theme-write-variables, custom-theme-write-faces):
3451 Save only the checked widgets.
3452 (customize-themes): Add a link for migrating custom settings.
3454 * custom.el (custom-declare-theme, provide-theme):
3455 Use custom-theme-name-valid-p.
3456 (custom-theme-name-valid-p): Remove checks that are now
3457 unnecessary since themes no longer obey load-path.
3459 * cus-edit.el (custom-variable-value-create): For the simple
3460 style, hide documentation string when hidden.
3462 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3464 * cus-edit.el (custom-variable, custom-face): Combine the
3465 :inhibit-magic and :display-style properties into a single
3466 :custom-style property.
3467 (custom-toggle-hide-variable, custom-toggle-hide-face):
3468 New functions. If hiding an edited value, save it to :shown-value.
3469 (custom-variable-value-create, custom-face-value-create): Use them.
3470 (custom-magic-reset): Allow magic property to be unset.
3472 * custom.el: Custom themes no longer use load-path.
3473 (custom-theme-load-path): New option. Change built-in theme
3475 (custom-enabled-themes): Add custom-theme-load-path dependency.
3476 (custom-theme--load-path): New function.
3477 (load-theme, custom-available-themes): Use it.
3479 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
3480 (customize-themes): Link to custom-theme-load-path variable.
3481 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
3482 :custom-style property.
3484 * themes/*.el: Moved to etc/.
3486 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
3488 * textmodes/reftex-cite.el
3489 (reftex-extract-bib-entries-from-thebibliography): Do not move
3490 point when searching for \bibitem entries. Match entries with
3491 spaces or tabs in front of arguments.
3493 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3495 * cus-theme.el (customize-create-theme): Delete overlays after
3496 erasing. If given a THEME arg, display only the faces of that arg
3497 instead of custom-theme--listed-faces.
3498 (custom-theme-variable-menu, custom-theme-variable-action)
3499 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
3500 (custom-theme-add-variable, custom-theme-add-face): Apply value
3501 from the theme settings, instead of the current value.
3502 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
3503 (custom-theme-visit-theme): Allow calling outside theme buffers.
3504 (custom-theme-merge-theme): Don't enable the theme when merging.
3505 (custom-theme-write-variables, custom-theme-write-faces): Use the
3506 :shown-value properties to save buffer values, not global ones.
3507 (customize-themes): Display a warning about user customizations.
3509 * cus-edit.el (custom-variable-value-create)
3510 (custom-face-value-create): Obey new special properties
3511 :shown-value and :inhibit-magic.
3513 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
3515 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3516 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
3519 2010-10-14 Kenichi Handa <handa@m17n.org>
3521 * mail/rmail.el (rmail-show-message-1): Catch an error of
3522 base64-decode-region and just show an error message (bug#7165).
3524 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
3525 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
3526 a font-spec (bug#7197).
3528 2010-10-14 Glenn Morris <rgm@gnu.org>
3530 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
3532 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
3534 * international/mule.el (define-coding-system):
3535 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3536 * composite.el (compose-region): Fix typo in docstring.
3538 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
3540 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
3541 only after checking the theme-face property.
3543 * faces.el (face-spec-reset-face): Reset all attributes in one
3544 single call to set-face-attribute.
3545 (face-spec-match-p): Make it a defsubst.
3546 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
3547 (x-create-frame-with-faces, tty-create-frame-with-faces)
3548 (tty-set-up-initial-frame-faces): Don't recompute face specs in
3549 frame-set-background-mode, since they are recomputed immediately
3550 afterwards in face-set-after-frame-default.
3551 (face-set-after-frame-default): Minor optimization.
3552 (cursor): Provide non-trivial defface spec.
3554 * custom.el (custom-theme-recalc-face): Simplify.
3556 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
3558 * calc/calc-alg.el (math-var): Rename from `var'.
3559 (math-is-polynomial, math-is-poly-rec): Replace `var'
3562 * calc/calcalg2.el (math-var): Rename from `var'.
3563 (calcFunc-table, math-scan-for-limits): Replace `var'
3566 2010-10-13 Glenn Morris <rgm@gnu.org>
3568 * subr.el (last): Deal with dotted lists (reported in bug#7174).
3570 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
3572 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
3574 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3576 * net/tls.el (tls-program): Remove spurious %s from openssl.
3577 (tls-starttls-switches): Remove starttls hack.
3578 (open-tls-stream): Ditto.
3579 (tls-find-starttls-argument): Ditto.
3581 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
3583 * image.el (image-library-alist): Declare as obsolete alias.
3584 (image-type-available-p): Use `dynamic-library-alist'.
3586 * term/w32-win.el (dynamic-library-alist):
3587 Use instead of `image-library-alist'.
3589 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
3591 * subr.el (last): Make it faster. (Bug#7174)
3593 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
3595 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
3597 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
3599 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
3600 (describe-theme-1): Extract doc from unloaded themes.
3602 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
3604 * themes/tango-theme.el:
3605 * themes/tango-dark-theme.el:
3606 * themes/wheatgrass-theme.el: New files.
3608 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
3610 * cus-theme.el (describe-theme, customize-themes)
3611 (custom-theme-save): New commands.
3612 (custom-new-theme-mode-map): Bind C-x C-s.
3613 (custom-new-theme-mode): Use custom--initialize-widget-variables.
3614 (customize-create-theme): New optional arg THEME.
3615 (custom-theme-revert): Use it.
3616 (custom-theme-visit-theme): Remove dead code.
3617 (custom-theme-merge-theme): Use custom-available-themes.
3618 (custom-theme-write): Make interactive.
3619 (custom-theme-write): Use custom-theme-name-valid-p.
3620 (describe-theme-1, custom-theme-choose-revert)
3621 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
3623 (custom-theme-allow-multiple-selections): New option.
3624 (custom-theme-choose-mode): New major mode.
3626 * custom.el (custom-theme-set-variables): Remove dead code.
3627 Obey custom--inhibit-theme-enable.
3628 (custom--inhibit-theme-enable): New var.
3629 (provide-theme): Obey it.
3630 (load-theme): Replace load with manual read/eval, in order to
3631 check for correctness. Use custom-theme-name-valid-p.
3632 (custom-theme-name-valid-p): New function.
3633 (custom-available-themes): Use it.
3635 * cus-edit.el (custom--initialize-widget-variables): New function.
3636 (Custom-mode): Use it.
3638 * cus-face.el (custom-theme-set-faces): Remove dead code.
3639 Obey custom--inhibit-theme-enable.
3641 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
3643 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
3645 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
3647 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
3649 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
3650 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
3651 (mac-right-option-modifier): New alias for ns-right-option-modifier.
3653 * cus-start.el (all): ns-right-alternate-modifier is new.
3655 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3657 * emacs-lisp/lisp.el (lisp-completion-at-point):
3658 Use emacs-lisp-mode-syntax-table for the whole function.
3660 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
3662 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
3663 instead of font-lock-mode before adding keywords.
3664 Remove hi-lock-mode off code. Remove inhibit hack.
3665 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
3666 non-nil; removed hook inhibit hack.
3668 2010-10-12 Glenn Morris <rgm@gnu.org>
3670 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
3671 (load-path-shadows-find): ... to this.
3672 (list-load-path-shadows): Update for above change.
3674 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
3676 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
3678 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
3679 Fix comment for declare-function.
3681 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
3683 * custom.el (custom-fix-face-spec): New function; code moved from
3684 custom-face-edit-fix-value.
3685 (custom-push-theme): Use it when checking if a face has been
3686 changed outside customize.
3687 (custom-available-themes): New function.
3688 (load-theme): Use it.
3690 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
3692 * custom.el (custom-push-theme): Cleanup (use cond).
3693 (disable-theme): Recompute the saved-face property.
3694 (custom-theme-recalc-face): Follow face alias before setting prop.
3696 * image.el (image-checkbox-checked, image-checkbox-unchecked):
3697 New variables, containing checkbox images.
3699 * startup.el (fancy-startup-tail):
3700 * wid-edit.el (checkbox): Use them.
3702 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
3704 * shell.el (shell-mode-map):
3705 * progmodes/modula2.el (m2-mode-map):
3706 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
3707 * play/mpuz.el (mpuz-mode-map):
3708 * play/landmark.el (lm-mode-map):
3709 * play/decipher.el (decipher-mode-map):
3710 * play/5x5.el (5x5-mode-map):
3711 * net/telnet.el (telnet-mode-map):
3712 * net/quickurl.el (quickurl-list-mode-map):
3713 * net/mairix.el (mairix-searches-mode-map):
3714 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
3715 * net/dig.el (dig-mode-map):
3716 * mail/mspools.el (mspools-mode-map):
3717 * hexl.el (hexl-mode-map):
3718 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
3719 (wordstar-C-o-map, wordstar-C-q-map):
3720 * emacs-lisp/edebug.el (edebug-eval-mode-map):
3721 * emacs-lisp/chart.el (chart-map):
3722 * edmacro.el (edmacro-mode-map):
3723 * erc/erc-list.el (erc-list-menu-mode-map):
3724 * array.el (array-mode-map): Declare and define in one step.
3726 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
3728 2010-10-10 Daiki Ueno <ueno@unixuser.org>
3730 * epa.el (epa-passphrase-callback-function): Display filename
3731 passed as the 3rd arg.
3732 * epa-file.el (epa-file-passphrase-callback-function):
3733 Pass filename to epa-passphrase-callback-function.
3735 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
3737 * cus-edit.el (custom-face-widget-to-spec)
3738 (custom-face-get-current-spec, custom-face-state): New functions.
3739 (custom-face-set, custom-face-mark-to-save)
3740 (custom-face-value-create, custom-face-state-set): Use them.
3742 * cus-theme.el (custom-theme--listed-faces): New var.
3743 (customize-create-theme): Use *Custom Theme* as the buffer name.
3744 Set revert-buffer-function. Optional arg BUFFER. Insert all
3745 faces listed in custom-theme--listed-faces.
3746 (custom-theme-revert): New function.
3747 (custom-theme-add-variable, custom-theme-add-face): Insert at the
3749 (custom-theme-write): Prompt for theme name if empty.
3750 (custom-theme-write-variables): Use dolist.
3751 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
3753 2010-10-09 Alan Mackenzie <acm@muc.de>
3755 Enhance fontification of declarators to take account of the
3756 presence/absence of "typedef".
3758 * cc-engine.el (c-forward-type): New &optional param
3760 (c-forward-decl-or-cast-1): cdr of return value now indicates the
3761 presence of either or both of a "struct"-like keyword and "typedef".
3763 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
3764 fontification of declarators which follow a "}".
3765 (c-font-lock-declarations): Fontify declarators according to the
3766 presence/absence of "typedef".
3768 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
3770 (c-typedef-decl-key): New lang variable built from
3771 c-typedef-decl-kwds.
3773 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
3775 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
3776 since that's too annoying. Move the filter groups commands to
3779 * epa.el (epa-passphrase-callback-function): Say what we're
3780 querying the password for.
3782 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
3783 behaviour, don't bury the ibuffer buffer when visiting other buffers.
3785 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
3787 * cus-edit.el (custom-commands, custom-buffer-create-internal)
3788 (custom-magic-value-create): Pad button tags with spaces.
3789 (custom-face-edit): New variable.
3790 (custom-face-value-create): Determine whether to use the usual
3791 face editor here, instead of using custom-face-selected.
3792 Pass face defaults to custom-face-edit widget.
3793 (custom-face-selected, custom-display-unselected): Delete widgets.
3794 (custom-display-unselected-match): Function removed.
3795 (custom-face-set, custom-face-mark-to-save):
3796 Accept custom-face-edit widgets as the direct widget child.
3798 * wid-edit.el (widget--completing-widget): New var.
3799 (widget-default-complete): Bind it when doing completion.
3800 (widget-string-complete, widget-file-complete): Use it.
3802 2010-10-09 Glenn Morris <rgm@gnu.org>
3804 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
3805 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
3806 (holiday-hebrew-misc): Small simplifications.
3808 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
3810 * net/browse-url.el: Don't require thingatpt, term, dired,
3811 executable, or w3-auto when compiling.
3812 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
3814 (browse-url-text-emacs): Require term.
3816 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
3818 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
3820 2010-10-08 Glenn Morris <rgm@gnu.org>
3822 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
3824 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
3825 (shadows-compare-text-p): Make it an obsolete alias for...
3826 (load-path-shadows-compare-text): ... new name.
3827 (find-emacs-lisp-shadows): Update for above name change.
3828 (load-path-shadows-same-file-or-nonexistent): New name for the old
3829 shadow-same-file-or-nonexistent.
3831 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
3833 * minibuffer.el (completion--some, completion--do-completion)
3834 (minibuffer-complete-and-exit, minibuffer-completion-help)
3835 (completion-basic-try-completion)
3836 (completion-basic-all-completions)
3837 (completion-pcm--find-all-completions): Use lexical-let to
3838 avoid some false matches in variable completion (Bug#7056)
3840 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
3842 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
3844 2010-10-08 Leo <sdl.web@gmail.com>
3846 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
3847 return non-nil if the file exists (Bug#7090).
3849 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3851 * minibuffer.el (completion--replace):
3852 Better preserve markers (bug#7138).
3854 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
3856 * server.el (server-process-filter): Doc fix.
3858 2010-10-08 Drew Adams <drew.adams@oracle.com>
3860 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
3862 2010-10-08 Glenn Morris <rgm@gnu.org>
3864 * vc/ediff-wind.el (ediff-setup-control-frame):
3865 * vc/ediff-ptch.el (ediff-default-backup-extension):
3866 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
3867 (ediff-exec-process): Remove system-types emx, windows-95.
3869 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
3871 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
3873 * cus-edit.el (custom-variable, custom-face): Doc fix.
3874 (custom-face-edit): Add value-create attribute.
3875 (custom-face-edit-value-create)
3876 (custom-face-edit-value-visibility-action): New functions.
3877 Hide unused face attributes by default, and add a visibility toggle.
3878 (custom-face-edit-deactivate): Show empty values with shadow face.
3879 (custom-face-selected): Only use this for face specs with default
3881 (custom-face-value-create): Cleanup.
3883 * wid-edit.el (widget-checklist-value-create): Use dolist.
3884 (widget-checklist-match-find): Make second arg optional.
3886 2010-10-07 Glenn Morris <rgm@gnu.org>
3888 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
3891 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
3892 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
3893 load-path-shadows-mode, update references.
3894 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
3895 Rename variable and button.
3896 (list-load-path-shadows): Update button caller.
3898 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3900 * emacs-lisp/smie.el (smie-bnf-classify): New function.
3901 (smie-bnf-precedence-table): Use it to remember the closers/openers.
3902 (smie-merge-prec2s): Handle those new entries.
3903 (smie-prec2-levels): Only set precedence to nil for actual
3905 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
3906 that is now unnecessary.
3908 2010-10-07 Miles Bader <miles@gnu.org>
3910 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
3912 2010-10-07 Glenn Morris <rgm@gnu.org>
3914 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
3915 (mail-position-on-field): Remove declarations.
3916 (mail-position-on-field): Autoload it.
3917 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
3918 and mail-header-end. Don't require sendmail.
3920 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
3921 (shadow-mode): New mode.
3922 (shadow-find-file): New button.
3923 (list-load-path-shadows): Use shadow-mode and buttons.
3925 * iimage.el (iimage-version): Remove.
3926 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
3927 Turn into defcustoms.
3928 (iimage-mode-map): Give it a doc string.
3930 * calendar/appt.el (appt-activate): Give a warning rather than an error
3931 if there is no diary-file.
3933 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
3935 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3936 Use `tramp-handle-find-backup-file-name'.
3938 2010-10-06 Glenn Morris <rgm@gnu.org>
3940 * font-core.el (font-lock-defaults-alist): Remove variable.
3941 (font-lock-mode): Doc fix.
3942 (font-lock-default-function): Do not consult font-lock-defaults-alist.
3943 * font-lock.el (font-lock-refresh-defaults): Doc fix.
3944 (font-lock-set-defaults): Doc fix.
3945 Do not consult font-lock-defaults-alist.
3947 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
3949 * emacs-lisp/cl.el: No longer provide cl-19.
3951 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
3953 * net/tramp.el (tramp-handle-directory-files-and-attributes)
3954 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
3955 New defuns, taken from tramp-smb.el.
3956 (tramp-coding-system-change-eol-conversion)
3957 (tramp-set-process-query-on-exit-flag): Remove.
3959 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
3960 (tramp-compat-coding-system-change-eol-conversion)
3961 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
3964 * net/tramp-gvfs.el:
3965 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
3966 by `tramp-compat-set-process-query-on-exit-flag'.
3968 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
3969 Use `tramp-handle-directory-files-and-attributes',
3970 `tramp-handle-file-exists-p' and
3971 `tramp-handle-file-newer-than-file-p'.
3972 (tramp-imap-handle-file-exists-p)
3973 (tramp-imap-handle-file-executable-p)
3974 (tramp-imap-handle-file-readable-p)
3975 (tramp-imap-handle-directory-files-and-attributes)
3976 (tramp-imap-handle-file-newer-than-file-p): Remove.
3978 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
3979 by `tramp-compat-set-process-query-on-exit-flag' and
3980 `tramp-coding-system-change-eol-conversion' by
3981 `tramp-compat-coding-system-change-eol-conversion'.
3983 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3984 Use `tramp-handle-directory-files-and-attributes',
3985 `tramp-handle-file-exists-p' and
3986 `tramp-handle-file-newer-than-file-p'.
3987 (tramp-smb-handle-directory-files-and-attributes)
3988 (tramp-smb-handle-file-exists-p)
3989 (tramp-smb-handle-file-newer-than-file-p): Remove.
3990 (tramp-smb-maybe-open-connection):
3991 Replace `tramp-set-process-query-on-exit-flag' by
3992 `tramp-compat-set-process-query-on-exit-flag'.
3994 2010-10-05 Glenn Morris <rgm@gnu.org>
3996 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
3998 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
4000 Continue reorganization of load dependencies. (Bug#7156)
4002 * net/tramp.el (tramp-handle-file-local-copy-hook)
4003 (tramp-delete-temp-file-function): Move down.
4004 (tramp-exists-file-name-handler): Move up.
4005 (tramp-register-file-name-handlers): Simplify autoload.
4006 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
4007 (tramp-handle-directory-files, tramp-handle-dired-uncache)
4008 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
4009 (tramp-handle-file-name-completion)
4010 (tramp-handle-file-name-directory)
4011 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
4012 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
4013 (tramp-handle-find-backup-file-name)
4014 (tramp-handle-insert-file-contents, tramp-handle-load)
4015 (tramp-handle-substitute-in-file-name)
4016 (tramp-handle-unhandled-file-name-directory)
4017 (tramp-mode-string-to-int, tramp-local-host-p)
4018 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
4020 * net/tramp-gvfs.el (top):
4021 * net/tramp-smb.el (top): Do not require 'tramp-sh.
4023 * net/tramp-sh.el (all): Move several objects to tramp.el, see
4024 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
4026 2010-10-04 Glenn Morris <rgm@gnu.org>
4028 * calendar/appt.el (appt-add): Ensure reminders are enabled.
4029 (appt-activate): Give status messages.
4031 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4033 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
4034 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
4035 `gnutls-negotiate' (formerly `starttls-negotiate').
4036 Remove trivial wrapper `starttls-open-stream'.
4038 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
4040 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
4041 log-outgoing commands.
4042 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
4043 to create a buffer local revert-buffer-function variable.
4044 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
4045 revert-buffer-function lambda.
4047 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4049 * net/gnutls.el (starttls-negotiate): Use the plist interface to
4050 `gnutls-boot'. Make TYPE the only required parameter.
4051 Allow TRUSTFILES and KEYFILES to be lists.
4052 (open-ssl-stream): Use it.
4054 2010-10-03 Glenn Morris <rgm@gnu.org>
4056 * subr.el (directory-sep-char): Remove obsolete variable.
4057 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
4060 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
4061 * vc/vc.el (vc-static-header-alist): Doc fix.
4062 * vc/vc-cvs.el (vc-cvs-header):
4063 * vc/vc-rcs.el (vc-rcs-header):
4064 * vc/vc-sccs.el (vc-sccs-header):
4065 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
4066 * obsolete/vc-mcvs.el (vc-mcvs-header):
4067 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
4070 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
4072 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
4073 Remove obsolete use of binary-overwrite-mode (Bug#7001).
4075 2010-10-03 Glenn Morris <rgm@gnu.org>
4077 * obsolete/x-menu.el: Remove file, obsolete since 21.1
4079 * textmodes/rst.el (rst-font-lock-keywords-function):
4082 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
4084 * printing.el: Drop Emacs 20 code.
4086 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
4087 without having used appt.el already).
4089 * subr.el (make-local-hook): Remove function obsolete since 21.1.
4090 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
4091 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
4093 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
4094 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
4096 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
4097 (charset-width, find-charset-region, chars-in-region, forward-point)
4098 (encode-coding-string, coding-system-p, ccl-execute-on-string)
4099 (define-ccl-program, multibyte-string-p, string-make-multibyte):
4100 Remove compatibility cruft (none of these are used by ps*.el).
4102 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4104 * subr.el (booleanp): Return t instead of a list (Bug#7086).
4106 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
4108 * server.el (server-process-filter, server-return-error):
4109 Give emacsclient time to shut down after receiving an error string.
4111 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
4113 * files.el (remote-file-name-inhibit-cache): New defcustom.
4115 * time.el (display-time-file-nonempty-p):
4116 Use `remote-file-name-inhibit-cache'.
4118 * net/tramp.el (tramp-completion-reread-directory-timeout):
4121 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
4122 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
4123 `remote-file-name-inhibit-cache'. Check also for an integer
4124 value. Add/increase counter when `tramp-verbose' >= 10.
4125 (tramp-set-file-property): Add/increase counter when
4126 `tramp-verbose' >= 10.
4128 * net/tramp-cmds.el (tramp-cleanup-all-connections)
4129 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
4130 (tramp-bug): Set tramp-autoload cookie. Report all interned
4131 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
4132 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
4133 characters only in strings.
4135 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
4136 to backward compatibility.
4138 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
4139 (tramp-handle-file-name-all-completions)
4140 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
4141 (tramp-open-connection-setup-interactive-shell):
4142 Call `tramp-cleanup-connection' directly.
4144 2010-10-02 Glenn Morris <rgm@gnu.org>
4146 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
4148 * subr.el (char-bytes): Remove obsolete function.
4150 * isearch.el (isearch-return-char): Remove obsolete function.
4152 * mouse.el: No longer provide mldrag.
4153 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
4154 Remove obsolete aliases.
4156 * comint.el (comint-kill-output): Remove obsolete alias.
4158 * composite.el (decompose-composite-char): Remove obsolete function.
4159 * ps-def.el (decompose-composite-char): Remove unused function.
4161 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
4163 * outline.el (outline-visible): Remove obsolete function.
4165 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
4166 * faces.el (internal-find-face, internal-get-face)
4167 (frame-update-faces, frame-update-face-colors)
4168 (x-frob-font-weight, x-frob-font-slant)
4169 (internal-frob-font-weight, internal-frob-font-slant)
4170 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
4171 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
4172 (x-make-font-bold-italic): Remove functions and aliases, obsolete
4174 * emulation/viper-util.el (viper-get-face):
4175 * obsolete/lucid.el (find-face, get-face): Use facep.
4176 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
4177 Remove unused functions.
4178 * vc/ediff-util.el (ediff-submit-report): Doc fix.
4180 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
4181 delete tempfile if interrupted during compilation.
4183 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4185 * net/tls.el (tls-starttls-switches): Give up on using starttls with
4187 (tls-program): Add --insecure to be consistent with the defaults from
4188 openssl s_client. Now all three commands are insecure.
4190 2010-10-01 Eli Zaretskii <eliz@gnu.org>
4192 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
4193 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
4194 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
4196 2010-10-01 Glenn Morris <rgm@gnu.org>
4198 * obsolete/sc.el: Remove file.
4200 * files.el (temporary-file-directory): On darwin, also try
4201 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
4203 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
4205 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
4206 Let's not break compatibility gratuitously, shall we?
4208 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4210 * net/tls.el (tls-starttls-switches): New variable.
4211 (tls-find-starttls-argument): Use it.
4212 (open-tls-stream): Ditto.
4214 * net/netrc.el (netrc-credentials): Return the value of the "default"
4216 (netrc-machine): Ditto.
4218 2010-09-30 Eli Zaretskii <eliz@gnu.org>
4220 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
4222 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
4224 * server.el (server-start): Don't write pid to the authentication file.
4225 (server-create-tty-frame): Don't send pid.
4226 (server-process-filter): Send pid at the start of every connection.
4228 2010-09-30 Glenn Morris <rgm@gnu.org>
4230 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
4231 (show-all-diary-entries): Remove obsolete function aliases.
4233 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
4234 Remove options, obsolete since 22.1.
4235 (appt-display-format, appt-display-message):
4236 Remove backwards-compatibility code.
4237 (appt-check): No longer check appt-issue-message.
4238 (appt-make-list): No longer autoload it. Doc fix. No longer
4239 activate the package.
4241 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
4243 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
4244 (starttls-negotiate): Just call boot, and let the handshake be
4245 triggered from the read loop.
4247 2010-09-29 Glenn Morris <rgm@gnu.org>
4249 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
4250 not displaying the diary.
4251 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
4252 * calendar/appt.el (appt-check): No longer need to kill diary.
4254 * calendar/diary-lib.el (diary-list-entries): Move the
4255 "Preparing..." message entirely here.
4256 (diary-simple-display, diary-fancy-display): Move "Preparing..."
4257 messages to diary-list-entries.
4258 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
4259 diary-display-function.
4261 * calendar/diary-lib.el (diary-include-other-diary-files):
4262 Trap some recursive includes.
4264 * calendar/appt.el (appt-activate): Check diary file.
4266 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
4268 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
4271 * calendar/time-date.el: No need to require cl for Emacs 21.
4273 2010-09-28 Glenn Morris <rgm@gnu.org>
4275 * calendar/appt.el (appt-check): Minor simplification.
4277 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
4279 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
4282 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
4284 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4285 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
4287 2010-09-27 Kenichi Handa <handa@m17n.org>
4289 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
4292 2010-09-27 Kenichi Handa <handa@m17n.org>
4294 * international/mule.el (define-coding-system): Docstring fixed.
4296 * international/mule-diag.el (describe-character-set): Use princ
4297 with proper print-length and print-level instead of insert.
4299 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
4301 * window.el (walk-windows): Doc fix (bug#7105).
4303 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4305 * emacs-lisp/float-sup.el (e): Remove.
4307 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
4309 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
4311 (starttls-negotiate): Use it.
4313 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4315 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
4318 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
4320 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
4322 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4324 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
4326 * net/netrc.el (netrc-store-data): New function.
4328 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
4330 * net/gnutls.el: GnuTLS glue code to set up a connection.
4332 2010-09-25 Julien Danjou <julien@danjou.info>
4334 * notifications.el: Call dbus-register-signal only if it is bound.
4336 2010-09-25 Glenn Morris <rgm@gnu.org>
4338 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4339 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4340 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4341 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4342 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4343 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
4344 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
4345 * eshell/esh-util.el, eshell/esh-var.el:
4346 Remove leading `*' from docs of faces and defcustoms.
4348 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
4350 * eshell/em-ls.el (eshell-ls-archive-regexp):
4351 * eshell/esh-util.el (eshell-tar-regexp):
4352 * ibuffer.el (ibuffer-compressed-file-name-regexp):
4353 * info.el (Info-suffix-list):
4354 * international/mule.el (auto-coding-alist):
4355 * woman.el (woman-file-regexp, woman-file-compression-regexp):
4356 * progmodes/etags.el (tags-compression-info-list):
4357 Support xz compression.
4359 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
4361 * files.el (get-free-disk-space): Don't assume the "df" output
4362 columns line up (Bug#6995).
4364 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
4366 * finder.el (finder-unknown-keywords):
4367 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
4368 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
4370 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
4372 * server.el (server-start): Revert part of 2010-08-08 change. Using
4373 address 127.0.0.1 for local host is now done in Fmake_network_process.
4375 2010-09-24 Glenn Morris <rgm@gnu.org>
4377 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
4378 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
4379 * textmodes/css-mode.el, textmodes/dns-mode.el:
4380 Move autoloaded auto-mode-alist entries to files.el.
4381 * files.el (auto-mode-alist): Move entries here.
4383 2010-09-23 Glenn Morris <rgm@gnu.org>
4385 * isearch.el (isearch-lazy-highlight-cleanup)
4386 (isearch-lazy-highlight-initial-delay)
4387 (isearch-lazy-highlight-interval)
4388 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
4389 * net/net-utils.el (ipconfig-program-options):
4390 Move aliases to options before the associated definitions.
4392 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4394 * newcomment.el (comment-normalize-vars): Better test validity of
4397 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4399 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
4400 (float-e): New name for `e'.
4401 (degrees-to-radians, radians-to-degrees):
4402 * calendar/solar.el (solar-longitude):
4403 * calculator.el (calculator-registers, calculator-funcall):
4404 * textmodes/artist.el (artist-spray-random-points):
4405 * play/bubbles.el (bubbles--initialize-images): Use new names.
4407 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
4409 Update to CEDET 1.0's version of EIEIO.
4411 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
4413 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
4414 (eieio-default-eval-maybe): Eval val instead of unquoting only.
4415 (class-precedence-list): If class is nil, return nil.
4416 (eieio-generic-call): If class of first input arg is nil, don't
4417 look up static methods, and do check for primary methods.
4418 (initialize-instance): See if the default needs to be evaluated
4419 during the constructor.
4420 (eieio-perform-slot-validation-for-default): Don't do the check
4421 for values that will eventually be evaluated.
4422 (eieio-eval-default-p): New function.
4423 (eieio-default-eval-maybe): Use it.
4425 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
4427 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
4428 method-invocation-order.
4429 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
4430 (eieio-class-precedence-dfs): Compute class precedence list using
4432 (eieio-class-precedence-bfs): Compute class precedence list using
4434 (eieio-class-precedence-c3): Compute class precedence list using
4436 (class-precedence-list): New function.
4437 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
4438 (inconsistent-class-hierarchy): New error symbol.
4439 (call-next-method): Stow the replacement argument list for future
4440 call-next-method invocations.
4442 2010-09-23 Glenn Morris <rgm@gnu.org>
4444 * calendar/appt.el (appt-check): If not displaying the diary,
4445 use (diary 1) to only get the entries we need.
4446 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
4447 that it is in day order. (Bug#7019)
4449 * calendar/appt.el (appt-check): Rather than showing the diary,
4450 just turn off invisible display, and only if needed.
4452 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
4454 2010-09-23 Glenn Morris <rgm@gnu.org>
4456 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4457 (byte-compile-defvar, byte-compile-cl-warn):
4458 Start warnings with lower-case, like the majority.
4460 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
4462 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
4464 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
4465 * files.el (auto-mode-alist): Move ld-script entries here, further down
4468 * vc/add-log.el: Don't require timezone when compiling.
4469 (timezone-make-date-sortable): Autoload it.
4470 (change-log-sortable-date-at): Don't require timezone.
4471 Use `ignore-errors'.
4473 * comint.el (comint-use-prompt-regexp-instead-of-fields):
4474 Move alias before definition, so it does not need autoloading.
4476 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
4477 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
4478 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
4479 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
4480 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
4481 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
4482 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
4483 * textmodes/tex-mode.el, textmodes/two-column.el:
4484 Remove leading `*' from docs of defcustoms etc.
4486 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
4488 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
4490 2010-09-22 Dan Christensen <jdc@uwo.ca>
4492 * calendar/time-date.el (date-to-time): Try using parse-time-string
4493 first before using the slower timezone-make-date-arpa-standard.
4495 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
4497 * calendar/time-date.el (format-seconds): Comment fix.
4499 2010-09-22 Glenn Morris <rgm@gnu.org>
4501 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
4502 is not automatically buffer-local.
4504 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4506 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
4507 (smie-indent-comment): Be more careful with comment-start-skip.
4508 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
4509 (smie-indent-functions): Use them.
4511 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
4513 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
4515 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
4517 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
4518 tool-bar-position. Don't modify frame parameters here.
4519 (menu-bar-options-save): Add tool-bar-position.
4521 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
4523 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4525 * textmodes/reftex-parse.el (reftex-what-macro)
4526 (reftex-context-substring): Let-bind forward-sexp-function to nil
4527 since we don't need/want to treat \begin...\end as a block (bug#7053).
4529 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
4531 * simple.el (blink-matching-open): Use syntax-class.
4533 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
4534 Set invisibility spec for pascal's outline mode.
4535 (pascal-outline-change): Clean up calling convention.
4536 (pascal-show-all, pascal-hide-other-defuns): Update callers.
4538 * progmodes/prolog.el (prolog-smie-forward-token)
4539 (prolog-smie-backward-token): New functions.
4540 (prolog-mode-variables): Use them to parse "!," correctly.
4541 Set up smie-blink-matching for ".".
4543 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
4545 (ispell-region, ispell-process-line): Update users.
4547 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
4550 * textmodes/ispell.el: Fix commenting convention.
4551 (ispell-parse-output): Simplify, use push.
4552 (ispell-region): Use match-string-no-properties.
4553 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
4554 (ispell-minor-mode): Use define-minor-mode.
4555 (ispell-message): Remove unused var `skip-regexp'.
4556 (ispell-add-per-file-word-list): Use dynamic let-binding.
4557 Try and use the proper comment marker.
4559 * mail/sendmail.el: Fix commenting convention.
4560 (sendmail-send-it): Use line-beginning-position.
4562 * help-fns.el (describe-variable): Add original value, if applicable.
4564 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
4566 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
4568 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
4570 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4572 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
4573 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
4574 (smie-prec2-levels): Use them to better diagnose precedence cycles.
4575 (smie-blink-matching-check): Don't signal a mismatch if car is t.
4576 (smie-blink-matching-open): Rewrite to remove assumptions, so that
4577 something like "." can also be a closer.
4578 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
4579 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
4580 Rename internal functions to use "--". Update callers.
4582 * frame.el (make-frame-names-alist): Don't list frames on other displays.
4584 * fringe.el (fringe-styles): New var.
4585 (fringe-mode, fringe-query-style): Use it.
4587 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
4589 * progmodes/sql.el: Version 2.8
4590 (sql-login-params): Update widget structure; changes still needed.
4591 (sql-product-alist): Add :list-all and :list-table features for
4592 SQLite, Postgres and MySQL products.
4593 (sql-redirect): Handle default value.
4594 (sql-execute, sql-execute-feature): New functions.
4595 (sql-read-table-name): New function.
4596 (sql-list-all, sql-list-table): New functions. User API.
4597 (sql-mode-map, sql-interactive-mode-map): Add key definitions
4598 for above functions.
4599 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
4600 for above functions.
4601 (sql-postgres-login-params): Add user and database defaults.
4602 (sql-buffer-live-p): Bug fix.
4603 (sql-product-history): New variable.
4604 (sql-read-product): New function. Use it.
4605 (sql-set-product, sql-product-interactive): Use it.
4606 (sql-connection-history): New variable.
4607 (sql-read-connection): New function. Use it.
4608 (sql-connect): New function.
4609 (sql-for-each-login): Redesign function interface.
4610 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
4611 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
4612 (sql-comint): Check for program. Existing live buffer.
4613 (sql-comint-postgres): Add port parameter.
4615 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4617 * emacs-lisp/warnings.el: Fix commenting convention.
4618 (display-warning): Use special mode and make the buffer read-only.
4620 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
4622 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
4623 empty string when it follows a repeated or optional pattern.
4625 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4627 * indent.el (indent-according-to-mode): Apply syntax-propertize.
4628 (indent-region): Use indent-according-to-mode.
4630 2010-09-18 Eli Zaretskii <eliz@gnu.org>
4632 * fringe.el (fringe-mode): Doc fix.
4634 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
4636 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
4637 refreshing the preview buffer.
4639 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4641 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
4642 (latex-syntax-propertize-rules): New consts; replace
4643 tex-font-lock-syntactic-keywords.
4644 (tex-env-mark, latex-env-before-change): New functions.
4645 (latex-electric-env-pair-mode): New minor mode.
4646 (tex-font-lock-verb): Change arguments; do move point.
4647 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
4648 representation as a form of comment.
4649 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
4650 (doctex-syntax-propertize-rules): New const; replaces
4651 doctex-font-lock-syntactic-keywords.
4652 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
4654 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
4655 (fortran-make-syntax-propertize-function): New function; replaces
4656 fortran-font-lock-syntactic-keywords.
4657 (fortran-mode): Use it.
4658 (fortran-line-length): Use it. Improve interactive spec.
4660 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
4661 (syntax-propertize-rules): Add var-ref case. Fix offset computation
4662 when adding surrounding \(..\).
4664 * progmodes/js.el (js-mode): Fix last change (bug#7054).
4666 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4668 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
4669 Use with-current-buffer.
4671 * isearch.el (isearch-face): Rename from `isearch'.
4672 (isearch-highlight): Use new name.
4674 2010-09-17 Eli Zaretskii <eliz@gnu.org>
4676 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
4677 5, for `half' width fringes. (Bug#6933)
4679 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4681 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
4682 (byte-compile-defvar): "foo/bar" does not lack a prefix.
4684 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
4686 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
4688 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
4689 in calculating new frame position. Add more space between new and
4690 parent on the left (Bug#7048).
4692 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
4694 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
4697 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
4699 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
4701 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
4702 obsolete alias for x-selection-value.
4704 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
4706 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
4708 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
4711 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
4713 * net/tramp-compat.el (tramp-compat-with-temp-message)
4714 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
4715 (tramp-compat-process-put): New defuns.
4717 * net/tramp.el (top):
4718 * net/tramp-gvfs.el (top):
4719 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
4721 * net/tramp.el (tramp-progress-reporter-update):
4722 Use `tramp-compat-funcall'.
4724 * net/tramp.el (tramp-process-actions):
4725 * net/tramp-gvfs.el (tramp-handle-vc-registered):
4726 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
4727 (tramp-get-remote-stat, tramp-get-remote-readlink):
4728 Use `tramp-compat-with-temp-message'.
4730 * net/tramp-sh.el (top): Require 'cl.
4731 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
4732 (tramp-open-connection-setup-interactive-shell):
4733 Use `tramp-compat-process-put'.
4735 2010-09-15 Alan Mackenzie <acm@muc.de>
4737 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
4739 (c-forward-<>-arglist-recur): Fix an infinite recursion.
4741 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
4743 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
4744 `lexical' for warnings related to lexical scoping.
4745 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
4746 global vars which don't have a prefix and could hence affect lexical
4747 scoping in unrelated files.
4749 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4751 * net/imap.el: Revert back to version
4752 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
4755 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
4757 * obsolete/old-whitespace.el (whitespace-unload-function):
4758 Explicitly pass `obarray' to `unintern' to avoid a warning.
4760 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4762 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
4763 Add `when' argument. Update callers.
4765 * subr.el (unintern): Declare the obarray arg mandatory.
4767 2010-09-14 Glenn Morris <rgm@gnu.org>
4769 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
4772 * calendar/diary-lib.el (diary-included-files): New variable.
4773 (diary-list-entries): Maybe initialize diary-included-files.
4774 (diary-include-other-diary-files): Append to diary-included-files.
4775 * calendar/appt.el (appt-update-list): Also check the members of
4776 diary-included-files. (Bug#6999)
4777 (appt-check): Doc fix.
4779 2010-09-14 David Reitter <david.reitter@gmail.com>
4781 * simple.el (line-move-visual): Do not truncate goal column to
4782 integer size. (Bug#7020)
4784 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4786 * repeat.el (repeat): Allow repeating when the last event is a click.
4787 Suggested by Drew Adams (bug#6256).
4789 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
4791 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
4792 Replace setting HGRCPATH to "" by some less invasive --config options.
4794 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4796 * font-lock.el (font-lock-beginning-of-syntax-function):
4799 2010-09-14 Glenn Morris <rgm@gnu.org>
4801 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
4802 and tool-bar modes. (Bug#6211)
4803 (menu-bar-mode): Move setting of standard-value after the
4804 minor-mode definition, otherwise it seems to have no effect.
4806 2010-09-14 Masatake YAMATO <yamato@redhat.com>
4808 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
4809 Fix typo. (Bug#6976)
4811 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4813 * whitespace.el: Allow cleaning up blanks without blank
4814 visualization (Bug#6651). Adjust help window for
4815 whitespace-toggle-options (Bug#6479). Allow to use fill-column
4816 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
4817 (whitespace-style): Add new value 'face. Adjust docstring.
4818 (whitespace-space, whitespace-hspace, whitespace-tab):
4819 Adjust foreground property face.
4820 (whitespace-line-column): Adjust docstring and type declaration.
4821 (whitespace-style-value-list, whitespace-toggle-option-alist)
4822 (whitespace-help-text): Adjust const initialization.
4823 (whitespace-toggle-options, global-whitespace-toggle-options):
4825 (whitespace-display-window, whitespace-interactive-char)
4826 (whitespace-style-face-p, whitespace-color-on): Adjust code.
4827 (whitespace-help-scroll): New fun.
4829 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
4831 * calendar/time-date.el (format-seconds): Comment fix.
4833 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
4835 * progmodes/sql.el: Version 2.7.
4836 (sql-buffer-live-p): Improve detection.
4837 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
4838 (sql-set-sqli-buffer): Use it.
4839 (sql-product-interactive): Run `sql-set-sqli-hook'.
4840 (sql-rename-buffer): Code cleanup.
4841 (sql-redirect, sql-redirect-value): New functions. More to come.
4843 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
4845 Port tramp-related Makefile changes of 2010-09-08T14:42:54Z!michael.albinus@gmx.de, 2010-09-13T15:17:01Z!michael.albinus@gmx.de to Windows.
4846 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
4847 (TRAMP_SRC): New macro.
4848 ($(lisp)/net/tramp-loaddefs.el): New target.
4850 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
4852 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
4854 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
4856 * net/tramp.el (top): Don't show loading message. Require just
4857 'tramp-compat, everything else is required there.
4858 Use `ignore-errors' where appropriate.
4859 (tramp-inline-compress-start-size, tramp-copy-size-limit)
4860 (tramp-terminal-type, tramp-end-of-output)
4861 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
4862 (tramp-completion-function-alist-ssh)
4863 (tramp-completion-function-alist-telnet)
4864 (tramp-completion-function-alist-su)
4865 (tramp-completion-function-alist-putty, tramp-remote-path)
4866 (tramp-remote-process-environment, tramp-sh-extra-args)
4867 (tramp-actions-before-shell, tramp-uudecode)
4868 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
4869 (tramp-perl-file-attributes)
4870 (tramp-perl-directory-files-and-attributes)
4871 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
4872 (tramp-perl-encode, tramp-perl-decode)
4873 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
4874 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
4875 (tramp-handle-make-symbolic-link, tramp-handle-load)
4876 (tramp-handle-file-name-as-directory)
4877 (tramp-handle-file-name-directory)
4878 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
4879 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
4880 (tramp-do-file-attributes-with-ls)
4881 (tramp-do-file-attributes-with-perl)
4882 (tramp-do-file-attributes-with-stat)
4883 (tramp-handle-set-visited-file-modtime)
4884 (tramp-handle-verify-visited-file-modtime)
4885 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
4886 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
4887 (tramp-handle-file-selinux-context)
4888 (tramp-handle-set-file-selinux-context)
4889 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
4890 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
4891 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
4892 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
4893 (tramp-handle-file-ownership-preserved-p)
4894 (tramp-handle-directory-file-name, tramp-handle-directory-files)
4895 (tramp-handle-directory-files-and-attributes)
4896 (tramp-do-directory-files-and-attributes-with-perl)
4897 (tramp-do-directory-files-and-attributes-with-stat)
4898 (tramp-handle-file-name-all-completions)
4899 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
4900 (tramp-handle-copy-file, tramp-handle-copy-directory)
4901 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
4902 (tramp-do-copy-or-rename-file-via-buffer)
4903 (tramp-do-copy-or-rename-file-directly)
4904 (tramp-do-copy-or-rename-file-out-of-band)
4905 (tramp-handle-make-directory, tramp-handle-delete-directory)
4906 (tramp-handle-delete-file)
4907 (tramp-handle-dired-recursive-delete-directory)
4908 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
4909 (tramp-handle-insert-directory)
4910 (tramp-handle-unhandled-file-name-directory)
4911 (tramp-handle-expand-file-name)
4912 (tramp-handle-substitute-in-file-name)
4913 (tramp-handle-executable-find, tramp-process-sentinel)
4914 (tramp-handle-start-file-process, tramp-handle-process-file)
4915 (tramp-handle-call-process-region, tramp-handle-shell-command)
4916 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
4917 (tramp-handle-insert-file-contents)
4918 (tramp-handle-insert-file-contents-literally)
4919 (tramp-handle-find-backup-file-name)
4920 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
4921 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
4922 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
4923 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
4924 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
4925 (tramp-find-file-exists-command, tramp-open-shell)
4926 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
4927 (tramp-open-connection-setup-interactive-shell)
4928 (tramp-local-coding-commands, tramp-remote-coding-commands)
4929 (tramp-find-inline-encoding, tramp-call-local-coding-command)
4930 (tramp-inline-compress-commands, tramp-find-inline-compress)
4931 (tramp-compute-multi-hops, tramp-maybe-open-connection)
4932 (tramp-send-command, tramp-wait-for-output)
4933 (tramp-send-command-and-check, tramp-barf-unless-okay)
4934 (tramp-send-command-and-read, tramp-mode-string-to-int)
4935 (tramp-convert-file-attributes, tramp-check-cached-permissions)
4936 (tramp-file-mode-from-int, tramp-file-mode-permissions)
4937 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
4938 (tramp-method-out-of-band-p, tramp-local-host-p)
4939 (tramp-get-remote-path, tramp-get-remote-tmpdir)
4940 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
4941 (tramp-get-test-command, tramp-get-test-nt-command)
4942 (tramp-get-file-exists-command, tramp-get-remote-ln)
4943 (tramp-get-remote-perl, tramp-get-remote-stat)
4944 (tramp-get-remote-readlink, tramp-get-remote-trash)
4945 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
4946 (tramp-get-local-uid, tramp-get-local-gid)
4947 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
4949 (tramp-methods, tramp-default-method-alist)
4950 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
4951 Move initialization to tramp-sh.el.
4952 (tramp-temp-name-prefix): Make it a defconst.
4953 (tramp-dissect-file-name): Don't check anymore for multi-hop
4955 (tramp-debug-outline-regexp): Add a docstring.
4956 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
4957 (tramp-get-debug-buffer): Use it.
4959 * net/tramp-cache.el (top): Set tramp-autoload cookie for
4960 initialization forms.
4961 (tramp-set-connection-property): Don't protect `tramp-message'
4962 call, it isn't necessary any longer.
4963 (tramp-dump-connection-properties): Use `ignore-errors'.
4965 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
4966 'password-cache and 'auth-source.
4968 * net/tramp-gvfs.el (top):
4969 * net/tramp-smb.el (top): Require 'tramp-sh.
4971 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
4973 * net/tramp-sh.el: New file, derived from tramp.el.
4974 (top): Initialize `tramp-methods', `tramp-default-method-alist',
4975 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
4976 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
4977 Use `ignore-errors' where appropriate.
4978 (tramp-sh-file-name-handler-alist): Rename from
4979 `tramp-file-name-handler-alist'.
4980 (tramp-send-command-and-check): Return t or nil. Remove all
4981 `zerop' checks, where called.
4982 (tramp-handle-set-file-modes)
4983 (tramp-do-copy-or-rename-file-directly)
4984 (tramp-handle-delete-directory, tramp-handle-delete-file)
4985 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
4986 (tramp-sh-file-name-handler, tramp-send-command-and-check)
4987 (tramp-get-remote-ln): Set tramp-autoload cookie.
4989 * net/tramp-fish.el: Remove file.
4991 2010-09-13 Daiki Ueno <ueno@unixuser.org>
4993 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
4994 buffer-file-name to avoid file-locking. (Bug#7026)
4996 2010-09-13 Julien Danjou <julien@danjou.info>
4998 * notifications.el (notifications-notify): Add support for
4999 image-path and sound-name.
5000 (notifications-specification-version): Add this variable.
5002 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5004 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
5006 2010-09-12 Leo <sdl.web@gmail.com>
5008 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
5009 (rcirc-completion-start): New variables.
5010 (rcirc-nick-completions): Rename to rcirc-completions.
5011 (rcirc-nick-completion-start-offset): Delete.
5012 (rcirc-completion-at-point): New function for constructing
5013 completion data for both nicks and irc commands. Add to
5014 completion-at-point-functions in rcirc mode.
5015 (rcirc-complete): Rename from rcirc-nick-complete; use
5016 rcirc-completion-at-point.
5017 (defun-rcirc-command): Update rcirc-client-commands.
5019 2010-09-11 Glenn Morris <rgm@gnu.org>
5021 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
5022 atomically, to avoid parallel build errors. (Bug#4196)
5024 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
5026 * progmodes/sql.el: Version 2.6
5027 (sql-dialect): Synonym for "sql-product".
5028 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5029 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
5030 Set "sql-buffer" to buffer name not buffer object so multiple sql
5031 interactive buffers work properly. Reverts misguided changes in
5033 (sql-comint): Make sure different buffer name is used if "*SQL*"
5034 buffer is for a different product.
5035 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
5037 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
5038 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
5039 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
5040 Accept new buffer name or prompt for one.
5041 (sql-port): Default to zero.
5042 (sql-comint-mysql): Handle "sql-port" as a numeric.
5043 (sql-port-history): Delete unused variable.
5044 (sql-get-login): Default "sql-port" to a number.
5045 (sql-product-alist): Correct Postgres prompt and terminator regexp.
5046 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
5047 "sqlite3" executables.
5048 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
5049 (sql-buffer-live-p): New function.
5050 (sql-mode-menu, sql-send-string): Use it.
5051 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
5053 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
5054 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
5056 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5058 * net/netrc.el (netrc-credentials): New convenience function.
5060 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5062 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
5063 to replace texinfo-font-lock-syntactic-keywords.
5064 (texinfo-mode): Use it.
5066 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
5067 Use syntax-propertize-function.
5069 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
5070 replace sgml-font-lock-syntactic-keywords.
5071 (sgml-mode): Use it.
5073 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
5074 since we don't use it.
5076 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
5078 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
5080 (vhdl-fontify-buffer): Adjust.
5082 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
5083 replace tcl-font-lock-syntactic-keywords.
5086 * progmodes/simula.el (simula-syntax-propertize-function): New var to
5087 replace simula-font-lock-syntactic-keywords.
5088 (simula-mode): Use it.
5090 * progmodes/sh-script.el (sh-st-symbol): Remove.
5091 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
5092 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
5093 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
5094 (sh-font-lock-paren): Set syntax-multiline.
5095 (sh-font-lock-syntactic-keywords): Remove.
5096 (sh-syntax-propertize-function): New function to replace it.
5099 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
5100 Define while compiling.
5101 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5102 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
5103 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
5104 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5105 (ruby-here-doc-end-syntax): Only define when
5106 syntax-propertize is not available.
5107 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
5109 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
5110 (electric-indent-chars): Silence bytecompiler.
5111 (ruby-mode): Use prog-mode, syntax-propertize-function, and
5112 electric-indent-chars.
5114 * progmodes/python.el (python-syntax-propertize-function): New var to
5115 replace python-font-lock-syntactic-keywords.
5116 (python-mode): Use it.
5117 (python-quote-syntax): Simplify and adjust to new use.
5119 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
5120 replace perl-font-lock-syntactic-keywords.
5121 (perl-syntax-propertize-special-constructs): New fun to replace
5122 perl-font-lock-special-syntactic-constructs.
5123 (perl-font-lock-syntactic-face-function): New fun.
5124 (perl-mode): Use it.
5126 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
5127 to replace octave-font-lock-close-quotes.
5128 (octave-syntax-propertize-function): New function to replace
5129 octave-font-lock-syntactic-keywords.
5130 (octave-mode): Use it.
5132 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
5133 replaces mixal-font-lock-syntactic-keywords.
5134 (mixal-mode): Use it.
5136 * progmodes/make-mode.el (makefile-syntax-propertize-function):
5137 New var; replaces makefile-font-lock-syntactic-keywords.
5138 (makefile-mode): Use it.
5139 (makefile-imake-mode): Adjust.
5141 * progmodes/js.el (js--regexp-literal): Define while compiling.
5142 (js-syntax-propertize-function): New var; replaces
5143 js-font-lock-syntactic-keywords.
5146 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
5147 replaces gdb-script-font-lock-syntactic-keywords.
5148 (gdb-script-mode): Use it.
5150 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
5151 (fortran--font-lock-syntactic-keywords): New var.
5152 (fortran-line-length): Update syntax-propertize-function and
5153 fortran--font-lock-syntactic-keywords.
5155 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
5157 * progmodes/cfengine.el (cfengine-mode):
5158 Use syntax-propertize-function.
5159 (cfengine-font-lock-syntactic-keywords): Remove.
5161 * progmodes/autoconf.el (autoconf-mode):
5162 Use syntax-propertize-function.
5163 (autoconf-font-lock-syntactic-keywords): Remove.
5165 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
5166 (ada-after-change-function, ada-initialize-syntax-table-properties)
5167 (ada-handle-syntax-table-properties): Only define when
5168 syntax-propertize is not available.
5169 (ada-mode): Use syntax-propertize-function.
5171 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
5172 (font-lock-fontify-syntactic-keywords-region): Move handling of
5173 font-lock-syntactically-fontified to...
5174 (font-lock-default-fontify-region): ...here.
5175 Let syntax-propertize-function take precedence.
5176 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
5178 * emacs-lisp/syntax.el (syntax-propertize-function)
5179 (syntax-propertize-chunk-size, syntax-propertize--done)
5180 (syntax-propertize-extend-region-functions): New vars.
5181 (syntax-propertize-wholelines, syntax-propertize-multiline)
5182 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
5183 (syntax-propertize): New functions.
5184 (syntax-propertize-rules): New macro.
5185 (syntax-ppss-flush-cache): Set syntax-propertize--done.
5186 (syntax-ppss): Call syntax-propertize.
5188 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
5190 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
5192 * textmodes/ispell.el (ispell-init-process): Improve comments.
5193 XEmacs compatibility changes regarding (add-hook) 'local option
5194 and (set-process-query-on-exit-flag).
5196 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
5198 * net/tramp-cache.el (tramp-parse-connection-properties):
5199 Set tramp-autoload cookie.
5201 2010-09-09 Glenn Morris <rgm@gnu.org>
5203 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
5204 (imagemagick-register-types): Doc fix.
5206 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
5208 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
5210 * progmodes/js.el (require): Require is already "eval-and-compile".
5211 (js--re-search-forward): Avoid `eval'. Preserve the error data.
5212 (js--re-search-backward): Use js--re-search-forward.
5214 * progmodes/fortran.el (fortran-line-length): Don't recompute
5215 syntactic keywords redundantly a second time.
5217 * progmodes/ada-mode.el: Replace "(set '" with setq.
5218 (ada-mode): Simplify.
5219 (ada-create-case-exception, ada-adjust-case-interactive)
5220 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
5221 (ada-search-ignore-string-comment, ada-move-to-start)
5222 (ada-move-to-end): Use with-syntax-table.
5224 * font-lock.el (save-buffer-state): Remove `varlist' arg.
5225 (font-lock-unfontify-region, font-lock-default-fontify-region):
5226 Update usage correspondingly.
5227 (font-lock-fontify-syntactic-keywords-region):
5228 Set parse-sexp-lookup-properties buffer-locally here.
5229 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
5231 * simple.el (blink-matching-open): Don't burp if we can't find a match.
5233 2010-09-08 Glenn Morris <rgm@gnu.org>
5235 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
5236 Error if not compiled with -DBYTE_CODE_METER.
5238 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5239 Ignore dir-locals-file.
5241 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
5243 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5245 (compilation-error-regexp-alist-alist): Rule out ": " in file names
5246 for the `gnu' messages.
5247 (compilation-set-skip-threshold): New command.
5248 (compilation-start): Use \' rather than $.
5249 (compilation-forget-errors): Use clrhash.
5251 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
5253 * textmodes/ispell.el (ispell-valid-dictionary-list):
5256 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
5258 Migrate to Tramp 2.2. Rearrange load dependencies.
5259 (Bug#1529, Bug#5448, Bug#5705)
5261 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
5262 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
5263 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5265 * net/tramp.el (top): Remove all other tramp-* loads except
5266 tramp-compat.el. Remove all changes to tramp-unload-hook for
5267 other tramp-* packages. Rearrange defun order. Change calls of
5268 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
5269 `tramp-compat-octal-to-decimal' to new function names.
5270 (tramp-terminal-type, tramp-initial-end-of-output)
5271 (tramp-methods, tramp-foreign-file-name-handler-alist)
5272 (tramp-tramp-file-p, tramp-completion-mode-p)
5273 (tramp-send-command-and-check, tramp-get-remote-path)
5274 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
5275 (tramp-shell-quote-argument): Set tramp-autoload cookie.
5276 (with-file-property, with-connection-property): Move to
5278 (tramp-local-call-process, tramp-decimal-to-octal)
5279 (tramp-octal-to-decimal): Move to tramp-compat.el.
5280 (tramp-handle-shell-command): Do not require 'shell.
5281 (tramp-compute-multi-hops): No special handling for tramp-gw-*
5283 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
5285 * net/tramp-cache.el (top): Require 'tramp. Add to
5286 `tramp-unload-hook'.
5287 (tramp-cache-data, tramp-get-file-property)
5288 (tramp-set-file-property, tramp-flush-file-property)
5289 (tramp-flush-directory-property, tramp-get-connection-property)
5290 (tramp-set-connection-property, tramp-flush-connection-property)
5291 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
5293 (with-file-property, with-connection-property): New defuns, moved
5295 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
5298 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
5299 (tramp-version): Set tramp-autoload cookie.
5301 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
5302 changes to tramp-unload-hook for other tramp-* packages. Add to
5303 `tramp-unload-hook'.
5304 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
5305 (tramp-compat-call-process): New defuns, moved from tramp.el.
5307 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
5308 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5309 Add to `tramp-unload-hook'. Change call of
5310 `tramp-compat-decimal-to-octal' to new function name.
5311 (tramp-fish-method): Make it a defconst.
5312 (tramp-fish-file-name-p): Make it a defsubst.
5313 (tramp-fish-method, tramp-fish-file-name-handler)
5314 (tramp-fish-file-name-p): Set tramp-autoload cookie.
5316 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
5317 `tramp-foreign-file-name-handler-alist'. Add to
5318 `tramp-unload-hook'.
5319 (tramp-ftp-method): Make it a defconst.
5320 (tramp-ftp-file-name-p): Make it a defsubst.
5321 (tramp-ftp-method, tramp-ftp-file-name-handler)
5322 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
5324 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
5325 `tramp-foreign-file-name-handler-alist'. Add to
5326 `tramp-unload-hook'. Change checks, whether package can be
5328 (tramp-gvfs-file-name-p): Make it a defsubst.
5329 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
5330 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
5331 (tramp-gvfs-handle-file-directory-p): New defun.
5332 (tramp-gvfs-file-name-handler-alist): Use it.
5334 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
5335 `tramp-foreign-file-name-handler-alist'. Add to
5336 `tramp-unload-hook'.
5337 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
5338 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
5340 (tramp-gw-tunnel-method, tramp-gw-socks-method)
5341 (tramp-gw-open-connection): Set tramp-autoload cookie.
5343 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
5344 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5345 Add to `tramp-unload-hook'. Change checks, whether package can be
5347 (tramp-imap-file-name-p): Make it a defsubst.
5348 (tramp-imap-method, tramp-imaps-method)
5349 (tramp-imap-file-name-handler)
5350 (tramp-imap-file-name-p): Set tramp-autoload cookie.
5352 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
5353 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5354 Add to `tramp-unload-hook'. Change checks, whether package can be
5355 loaded. Change call of `tramp-compat-decimal-to-octal' to new
5357 (tramp-smb-tunnel-method): Make it a defconst.
5358 (tramp-smb-file-name-p): Make it a defsubst.
5359 (tramp-smb-method, tramp-smb-file-name-handler)
5360 (tramp-smb-file-name-p): Set tramp-autoload cookie.
5362 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
5363 (tramp-uuencode-region): Set tramp-autoload cookie.
5365 * net/trampver.el (top) Add to `tramp-unload-hook'.
5366 (tramp-version, tramp-bug-report-address): Set tramp-autoload
5367 cookie. Update release number.
5369 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
5371 * textmodes/ispell.el (ispell-start-process): Make sure original
5372 arg list is properly initialized (Bug#6993, Bug#6994).
5374 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
5376 * files.el (directory-abbrev-alist): Use \` as default regexp.
5378 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
5379 chars like - or ] (bug#6984).
5380 (rx-any-condense-range): Explode 2-char ranges.
5382 2010-09-06 Glenn Morris <rgm@gnu.org>
5384 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
5386 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5388 * textmodes/bibtex.el:
5389 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
5391 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5393 * net/imap.el (imap-message-map): Remove optional buffer parameter,
5394 since no callers use it.
5395 (imap-message-get): Ditto.
5396 (imap-message-put): Ditto.
5397 (imap-mailbox-map): Ditto.
5398 (imap-mailbox-put): Ditto.
5399 (imap-mailbox-get): Ditto.
5400 (imap-mailbox-get): Revert last change for this function.
5402 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5404 * net/imap.el (imap-fetch-safe): Remove function, and alter all
5405 callers to use `imap-fetch' instead. According to the comments, this
5406 should be safe, since all other IMAP clients use the 1:* syntax.
5407 (imap-enable-exchange-bug-workaround): Remove.
5408 (imap-debug): Remove -- doesn't seem very useful.
5410 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5412 * net/imap.el (imap-log): New convenience function used throughout
5413 instead of repeating the same code all over the place.
5415 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
5417 * mouse.el (mouse-save-then-kill): Save region to kill-ring
5418 when mouse-drag-copy-region is non-nil (Bug#6956).
5420 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
5422 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
5423 Improve regexps (Bug#6987).
5424 (dired-sort-toggle): Search more robustly for -t flag.
5426 * files.el (get-free-disk-space): Search more robustly for
5427 "available" column. Suggested by Ehud Karni
5428 <ehud@unix.mvs.co.il>.
5430 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
5432 * international/uni-bidi.el:
5433 * international/uni-category.el:
5434 * international/uni-combining.el:
5435 * international/uni-decimal.el:
5436 * international/uni-mirrored.el:
5437 * international/uni-name.el: Regenerate.
5439 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5441 * electric.el (electric-indent-post-self-insert-function):
5442 Don't reindent with a sloppy indentation function.
5444 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
5445 border case in change-log-mode.
5447 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
5449 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5450 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
5451 Recognize leading tab in gcc-include regexp. Ignore names with
5452 leading "from" or "in" in gnu regexp (Bug#6937).
5454 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5456 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
5457 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
5458 (ispell-start-process): Avoid setq and simplify logic.
5459 (ispell-init-process): Setup kill-buffer-hook locally when needed.
5460 (kill-buffer-hook): Don't use it globally with code that uses
5461 expand-file-name since that may call kill-buffer via
5462 code_conversion_restore.
5464 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
5466 * emacs-lisp/package.el (package-directory-list): Only call
5467 file-name-nondirectory on a string.
5469 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
5471 * emacs-lisp/package.el (package--download-one-archive):
5472 Ensure that archive-contents is valid before saving it.
5473 (package-activate-1, package-mark-obsolete, define-package)
5474 (package-compute-transaction, package-list-maybe-add): Use push.
5476 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5478 Use SMIE's blink-paren for octave-mode.
5479 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
5480 Backslashes do not escape single-quotes, single-quotes do.
5481 (octave-block-else-regexp, octave-block-end-regexp)
5482 (octave-block-match-alist): Remove.
5483 (octave-smie-bnf-table): New var, with old content.
5484 (octave-smie-op-levels): Use it.
5485 (octave-smie-closer-alist): New var.
5486 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
5487 (octave-blink-matching-block-open): Remove.
5488 (octave-reindent-then-newline-and-indent, octave-electric-semi)
5489 (octave-electric-space): Let self-insert-command run expand-abbrev and
5492 * electric.el (electricity): New group.
5493 (electric-indent-chars): New var.
5494 (electric-indent-post-self-insert-function): New fun.
5495 (electric-indent-mode): New minor mode.
5496 (electric-pair-skip-self): New custom.
5497 (electric-pair-post-self-insert-function): New function.
5498 (electric-pair-mode): New minor mode.
5500 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
5501 calcAlg-blink-matching-open.
5502 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
5503 (calc-do-alg-entry): Only touch the part of the keymap that varies.
5504 Use the new blink-matching-check-function.
5506 Provide blink-matching support to SMIE.
5507 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
5508 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
5509 (smie-blink-matching-check, smie-blink-matching-open): New functions.
5511 * simple.el (newline): Fix last change to properly remove itself from
5514 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5516 * simple.el (newline): Eliminate optimization.
5517 Use post-self-insert-hook to set hard-newline and things before
5518 running post-self-insert-hook.
5519 (blink-matching-check-mismatch): New function.
5520 (blink-matching-check-function): New variable.
5521 (blink-matching-open): Use them.
5522 Skip back forward over prefix chars skipped by forward-sexp.
5523 Don't check if the parens are backslash escaped.
5524 (blink-paren-post-self-insert-function): Check backslash escaping here.
5526 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
5528 * emacs-lisp/package.el (package-menu-mode-map):
5529 Change package-menu-revert bindings to revert-buffer.
5530 (package-menu-mode): Set revert-buffer-function.
5531 (package-menu-revert): Doc fix.
5533 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
5535 * textmodes/ispell.el (ispell-init-process): Use "~/" as
5536 `default-directory' unless using Ispell per-directory personal
5537 dictionaries and not in a mini-buffer under XEmacs.
5538 (kill-buffer-hook): Do not kill ispell process on exit when
5539 `ispell-process-directory' is "~/". (Bug#6143)
5541 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
5543 * simple.el (kill-new): Call interprogram-cut-function with only
5546 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
5547 Remove cut buffer from error message.
5549 * term/x-win.el (x-select-text):
5550 * term/pc-win.el (x-selection-value):
5551 * term/ns-win.el (x-selection-value):
5552 * eshell/em-term.el:
5553 * w32-fns.el (x-get-selection-value):
5554 * mouse-sel.el (mouse-sel-set-selection-function):
5555 * frame.el (display-selections-p): Remove cut-buffer in documentation.
5557 * term/x-win.el: Update documentation for x-last-selected-text-*.
5558 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
5559 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
5560 (x-select-text): Remove argument PUSH, update documentation.
5561 Remove cut-buffer code.
5562 (x-selection-value-internal): Was previously x-selection-value.
5563 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5564 Update documentation, remove cut-buffer code.
5565 Call x-selection-value-internal.
5566 (x-clipboard-yank): Call x-selection-value-internal.
5567 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
5569 * term/pc-win.el (x-last-selected-text):
5570 x-cut-buffer-or-selection-value renamed to x-selection-value
5571 (x-select-text): Remove argument PUSH, update documentation.
5573 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
5574 x-cut-buffer-or-selection-value renamed to x-selection-value
5575 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5576 (x-select-text): Remove argument PUSH, update documentation.
5578 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
5580 * w32-fns.el (x-last-selected-text):
5581 x-cut-buffer-or-selection-value renamed to x-selection-value.
5582 (x-cut-buffer-max): Remove.
5583 (x-select-text): Remove argument PUSH, update documentation.
5585 * simple.el (interprogram-cut-function): Remove mention of PUSH.
5587 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
5589 * mouse-sel.el (mouse-sel-get-selection-function):
5590 x-cut-buffer-or-selection-value renamed to x-selection-value.
5591 (x-select-text): Remove optional push.
5593 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
5595 * simple.el (blink-paren-function): Move from C to here.
5596 (blink-paren-post-self-insert-function): New function.
5597 (post-self-insert-hook): Use it.
5599 * emacs-lisp/pcase.el (pcase-split-memq):
5600 Fix overenthusiastic optimisation.
5601 (pcase-u1): Handle the case of a lambda pred.
5603 2010-08-31 Kenichi Handa <handa@m17n.org>
5605 * international/mule-cmds.el (standard-display-european-internal):
5606 Setup standard-display-table for 8-bit characters by storing 8-bit
5607 characters in the element vector.
5609 * disp-table.el (standard-display-8bit):
5610 Setup standard-display-table for 8-bit characters by storing 8-bit
5611 characters in the element vector.
5612 (standard-display-european): Likewise.
5614 2010-08-31 Masatake YAMATO <yamato@redhat.com>
5616 * textmodes/nroff-mode.el (nroff-view): New command.
5617 (nroff-mode-map): Bind it to C-c C-c.
5619 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
5621 * emacs-lisp/smie.el (smie-down-list): New command.
5623 Remove old indentation and navigation code on octave-mode.
5624 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
5625 smie-down-list rather than add a binding for octave-down-block.
5626 (octave-mark-block, octave-blink-matching-block-open):
5627 Rely on forward-sexp-function.
5628 (octave-fill-paragraph): Don't narrow, so you can use
5629 indent-according-to-mode.
5630 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
5631 (octave-in-block-p, octave-re-search-forward-kw)
5632 (octave-re-search-backward-kw, octave-indent-calculate)
5633 (octave-end-as-array-index-p, octave-block-end-offset)
5634 (octave-scan-blocks, octave-forward-block, octave-backward-block)
5635 (octave-down-block, octave-backward-up-block, octave-up-block)
5636 (octave-before-magic-comment-p, octave-indent-line): Remove.
5638 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
5640 * emacs-lisp/package.el (package--read-archive-file): Just use
5641 `read', to avoid copying an additional string.
5642 (package-menu-mode): Set header-line-format here.
5643 (package-menu-refresh, package-menu-revert): Signal an error if
5644 not in the Package Menu.
5645 (package-menu-package-list): New var.
5646 (package--generate-package-list): Operate on the current buffer;
5647 don't assume that it is *Packages*, since the user may rename it.
5648 Allow persistent package listings and sort keys using
5649 package-menu-package-list and package-menu-package-sort-key.
5650 (package-menu--version-predicate): Fix version calculation.
5651 (package-menu-sort-by-column): Don't select the window.
5652 (package--list-packages): Create the *Packages* buffer.
5653 Set package-menu-package-list-key.
5654 (list-packages): Sorting by status is now the default.
5655 (package-buffer-info): Use match-string-no-properties.
5656 (define-package): Add a &rest argument for future proofing, but
5658 (package-install-from-buffer, package-install-buffer-internal):
5659 Merge into a single function, package-install-from-buffer.
5660 (package-install-file): Change caller.
5662 * finder.el: Load finder-inf using `require'.
5663 (finder-list-matches): Sorting by status is now the default.
5664 (finder-compile-keywords): Simpify printing.
5666 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5668 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
5669 (octave-mode-map): Remove special bindings for forward/backward-block
5670 and octave-backward-up-block. Use smie-close-block.
5671 (octave-continuation-marker-regexp): New var.
5672 (octave-continuation-regexp): Use it.
5673 (octave-operator-table, octave-smie-op-levels)
5674 (octave-operator-regexp, octave-smie-indent-rules): New vars.
5675 (octave-smie-backward-token, octave-smie-forward-token): New funs.
5676 (octave-mode): Use SMIE.
5677 (octave-close-block): Delete.
5679 2010-08-30 Eli Zaretskii <eliz@gnu.org>
5681 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
5682 CLIPBOARD, not in PRIMARY. (Bug#6944)
5684 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5686 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
5688 (smie-indent-column): Allow indirection through variables.
5690 * composite.el (save-buffer-state): Delete, unused.
5691 * font-lock.el (save-buffer-state): Use with-silent-modifications.
5692 (font-lock-default-fontify-region): Use with-syntax-table.
5693 * jit-lock.el (with-buffer-unmodified): Remove.
5694 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
5696 Use `declare' in defmacros.
5697 * window.el (save-selected-window):
5698 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
5699 * progmodes/python.el (def-python-skeleton):
5700 * net/dbus.el (dbus-ignore-errors):
5701 * jka-cmpr-hook.el (with-auto-compression-mode):
5702 * international/mule.el (with-category-table):
5703 * emacs-lisp/timer.el (with-timeout):
5704 * emacs-lisp/lisp-mnt.el (lm-with-file):
5705 * emacs-lisp/eieio.el (with-slots):
5706 * emacs-lisp/easymenu.el (easy-menu-define):
5707 * emacs-lisp/debug.el (debugger-env-macro):
5708 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
5709 (Multiple-value-call, Multiple-value-prog1):
5710 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
5711 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
5712 edebug rule to definition.
5713 * emacs-lisp/lisp-mode.el (save-selected-window)
5714 (with-current-buffer, combine-after-change-calls)
5715 (with-output-to-string, with-temp-file, with-temp-buffer)
5716 (with-temp-message, with-syntax-table, read-if, eval-after-load)
5717 (dolist, dotimes, when, unless):
5718 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
5720 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
5722 * finder.el: Require `package'.
5723 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
5724 (finder-package-info): Var deleted.
5725 (finder-keywords-hash, finder--builtins-alist): New vars.
5726 (finder-compile-keywords): Compute package--builtins and
5727 finder-keywords-hash instead of finder-keywords-hash, respecting
5728 the "Package" header.
5729 (finder-unknown-keywords, finder-list-matches):
5730 Use finder-keywords-hash and package--list-packages.
5731 (finder-mode): Don't set font-lock-defaults.
5732 (finder-exit): We don't use "*Finder-package*" and "*Finder
5733 Category*" buffers anymore.
5735 * emacs-lisp/package.el (package--builtins-base): Var deleted.
5736 (package--builtins): Set default value to nil.
5737 (package-initialize): Load precomputed value of package--builtins
5739 (package-alist, package-compute-transaction)
5740 (package-download-transaction): Improve docstring.
5741 (package-read-all-archive-contents): Do not change
5742 package--builtins here.
5743 (list-packages): Make package-list-packages an alias for this.
5744 Sort by status by default.
5745 (package--list-packages): Add optional PACKAGES arg.
5746 (describe-package-1): Use font-lock-face property. For built-in
5747 packages, insert file commentary.
5748 (package--generate-package-list): Rename from
5749 package-list-packages-internal; all callers changed. Add optional
5750 PACKAGES arg. Add alphabetical sort fallbacks.
5751 (package-menu--version-predicate, package-menu--status-predicate)
5752 (package-menu--description-predicate)
5753 (package-menu--name-predicate): New functions.
5755 * info.el (Info-finder-find-node): Search package-alist instead of
5756 finder-package-info.
5758 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
5760 * subr.el (version-regexp-alist): Don't use "a" and "b" for
5762 (version-to-list): Handle versions like "10.3d".
5764 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5766 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
5767 (macroexp-accumulate): Use `declare'.
5769 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5771 * whitespace.el (whitespace-style): Adjust type declaration.
5773 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
5775 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
5776 empty argument to gvfs-copy.
5778 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5780 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
5781 handle new TRASH arg of `delete-file'.
5783 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
5785 * net/tramp.el (tramp-handle-insert-directory): Don't use
5786 `forward-word', its default syntax could be changed.
5788 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5789 Michael Albinus <michael.albinus@gmx.de>
5791 Implement compression for inline methods.
5793 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
5794 (tramp-copy-size-limit): Allow also nil.
5795 (tramp-inline-compress-commands): New defconst.
5796 (tramp-find-inline-compress, tramp-get-inline-compress)
5797 (tramp-get-inline-coding): New defuns.
5798 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
5799 replaced by `tramp-get-inline-coding'.
5800 (tramp-handle-file-local-copy, tramp-handle-write-region)
5801 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
5803 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
5805 Detect ssh 'ControlMaster' argument automatically in some cases.
5807 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
5808 (tramp-default-method): Use it.
5810 2010-08-26 Karel Klíč <kklic@redhat.com>
5812 * net/tramp.el (tramp-file-name-for-operation):
5813 Add file-selinux-context.
5815 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
5817 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
5819 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5821 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
5824 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
5826 * progmodes/js.el: Make indentation more customizable (Bug#6914).
5827 (js-paren-indent-offset, js-square-indent-offset)
5828 (js-curly-indent-offset): New options.
5829 (js--proper-indentation): Use them.
5831 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
5833 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
5834 instead of inspecting font-lock properties (Bug#6916).
5836 2010-08-26 David Reitter <david.reitter@gmail.com>
5838 * server.el (server-visit-files): Run pre-command-hook and
5839 post-command-hook for each buffer while it is current (Bug#6910).
5840 (server-execute): Do not run hooks here.
5842 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
5844 Sync with Tramp 2.1.19.
5846 * net/tramp-cmds.el (tramp-cleanup-all-connections)
5847 (tramp-reporter-dump-variable, tramp-load-report-modules)
5848 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
5849 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
5851 * net/tramp-compat.el (top): Do not autoload
5852 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
5853 only when `start-file-process' is not bound.
5854 (byte-compile-not-obsolete-vars): Define if not bound.
5855 (tramp-compat-funcall): New defmacro.
5856 (tramp-compat-line-beginning-position)
5857 (tramp-compat-line-end-position)
5858 (tramp-compat-temporary-file-directory)
5859 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
5860 (tramp-compat-copy-file, tramp-compat-copy-directory)
5861 (tramp-compat-delete-file, tramp-compat-delete-directory)
5862 (tramp-compat-number-sequence, tramp-compat-process-running-p):
5864 (tramp-advice-file-expand-wildcards): Do not use
5865 `tramp-handle-file-remote-p'.
5866 (tramp-compat-make-temp-file): Simplify fallback implementation.
5867 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5868 (tramp-compat-copy-tree): Remove function.
5869 (tramp-compat-delete-file): New defun.
5870 (tramp-compat-delete-directory): Provide implementation for older
5872 (tramp-compat-file-attributes): Handle only
5873 `wrong-number-of-arguments' error.
5875 * net/tramp-fish.el (tramp-fish-handle-copy-file):
5876 Add PRESERVE_SELINUX_CONTEXT.
5877 (tramp-fish-handle-delete-file): Add TRASH arg.
5878 (tramp-fish-handle-directory-files-and-attributes):
5879 Do not use `tramp-fish-handle-file-attributes.
5880 (tramp-fish-handle-file-local-copy)
5881 (tramp-fish-handle-insert-file-contents)
5882 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
5884 * net/tramp-gvfs.el (top): Require url-util.
5885 (tramp-gvfs-mount-point): Remove.
5886 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
5887 and `set-file-selinux-context'.
5888 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
5889 (tramp-gvfs-handle-file-selinux-context)
5890 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
5891 (with-tramp-dbus-call-method): Format trace message.
5892 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
5893 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
5894 Implement backup call, when operation on local files fails.
5895 Use progress reporter. Flush properties of changed files.
5896 (tramp-gvfs-handle-delete-file): Add TRASH arg.
5897 Use `tramp-compat-delete-file'.
5898 (tramp-gvfs-handle-expand-file-name): Expand "~/".
5899 (tramp-gvfs-handle-make-directory): Make more traces.
5900 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
5901 (tramp-gvfs-url-file-name): Hexify file name in url.
5902 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
5903 into account for the resulting file name.
5904 (tramp-gvfs-handler-askquestion): Preserve current message, in
5905 order to let progress reporter continue afterwards. (Bug#6257)
5906 Return dummy mountpoint, when the answer is "no".
5907 See `tramp-gvfs-maybe-open-connection'.
5908 (tramp-gvfs-handler-mounted-unmounted)
5909 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
5910 attribute "default_location". Set "prefix" property.
5911 Handle default-location.
5912 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
5913 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
5914 exists. Raise an error, if not (due to a corresponding answer
5915 "no" in interactive questions, for example).
5916 Use `tramp-compat-funcall'.
5918 * net/tramp-imap.el (top): Autoload `epg-make-context'.
5919 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5920 (tramp-imap-do-copy-or-rename-file)
5921 (tramp-imap-handle-insert-file-contents)
5922 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
5923 (tramp-imap-handle-delete-file): Add TRASH arg.
5925 * net/tramp-smb.el (tramp-smb-handle-copy-file):
5926 Add PRESERVE-SELINUX-CONTEXT.
5927 (tramp-smb-handle-copy-file)
5928 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5929 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
5930 Use `with-progress-reporter'.
5931 (tramp-smb-handle-delete-file): Add TRASH arg.
5933 * net/tramp.el (tramp-methods): Move hostname to the end in all
5934 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
5936 (tramp-verbose): Describe verbose level 9.
5937 (tramp-completion-function-alist)
5938 (tramp-file-name-regexp, tramp-chunksize)
5939 (tramp-local-coding-commands, tramp-remote-coding-commands)
5940 (with-connection-property, tramp-completion-mode-p)
5941 (tramp-action-process-alive, tramp-action-out-of-band)
5942 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
5943 (tramp-exists-file-name-handler): Fix docstring.
5944 (tramp-remote-process-environment): Use `format' instead of
5945 `concat'. Protect version string by apostroph.
5946 (tramp-shell-prompt-pattern): Do not use a shy group in case of
5948 (tramp-file-name-regexp-unified)
5949 (tramp-completion-file-name-regexp-unified): On W32 systems, do
5950 not regard the volume letter as remote filename. (Bug#5447)
5951 (tramp-perl-file-attributes)
5952 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
5953 (tramp-vc-registered-read-file-names): Read input as
5954 here-document, otherwise the command could exceed maximum length
5956 (tramp-file-name-handler-alist): Add `file-selinux-context' and
5957 `set-file-selinux-context'.
5958 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
5959 backtrace functions.
5960 (tramp-error-with-buffer): Don't show the connection buffer when
5961 we are in completion mode.
5962 (tramp-progress-reporter-update, tramp-remote-selinux-p)
5963 (tramp-handle-file-selinux-context)
5964 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
5965 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
5967 (with-progress-reporter): New defmacro.
5968 (tramp-debug-outline-regexp): New defconst.
5969 (top, tramp-rfn-eshadow-setup-minibuffer)
5970 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
5971 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
5972 (tramp-completion-mode-p, tramp-check-for-regexp)
5973 (tramp-open-connection-setup-interactive-shell)
5974 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
5975 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
5976 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
5977 Use `tramp-compat-funcall'.
5978 (tramp-handle-make-symbolic-link): Flush file properties.
5979 (tramp-handle-load, tramp-handle-file-local-copy)
5980 (tramp-handle-insert-file-contents, tramp-handle-write-region)
5981 (tramp-handle-vc-registered, tramp-maybe-send-script)
5982 (tramp-find-shell): Use `with-progress-reporter'.
5983 (tramp-do-file-attributes-with-stat): Add space in format string,
5984 in order to work around a bug in pdksh. Reported by Gilles Pion
5986 (tramp-handle-verify-visited-file-modtime): Do not send a command
5987 when the connection is not established.
5988 (tramp-handle-set-file-times): Simplify the check for utc.
5989 (tramp-handle-directory-files-and-attributes)
5990 (tramp-get-remote-path): Use `copy-tree'.
5991 (tramp-completion-handle-file-name-all-completions): Ensure, that
5992 non remote files are still checked. Oops.
5993 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
5994 Handle PRESERVE-SELINUX-CONTEXT.
5995 (tramp-do-copy-or-rename-file): Add progress reporter.
5996 (tramp-do-copy-or-rename-file-directly): Do not use
5997 `tramp-handle-file-remote-p'.
5998 (tramp-do-copy-or-rename-file-out-of-band):
5999 Use `tramp-compat-delete-directory'.
6000 (tramp-do-copy-or-rename-file-out-of-band)
6001 (tramp-compute-multi-hops, tramp-maybe-open-connection):
6002 Use `format-spec-make'.
6003 (tramp-handle-delete-file): Add TRASH arg.
6004 (tramp-handle-dired-uncache): Flush directory cache, not only file
6006 (tramp-handle-expand-file-name)
6007 (tramp-completion-handle-file-name-all-completions)
6008 (tramp-completion-handle-file-name-completion):
6009 Use `tramp-connectable-p'.
6010 (tramp-handle-start-file-process): Set connection property "vec".
6011 Use it, in order to invalidate file caches. Check only for
6012 `remote-tty' process property.
6013 Implement tty setting. (Bug#4604, Bug#6360)
6014 (tramp-file-name-for-operation): Add `call-process-region' and
6015 `set-file-selinux-context'.
6016 (tramp-find-foreign-file-name-handler)
6017 (tramp-advice-make-auto-save-file-name)
6018 (tramp-set-auto-save-file-modes): Remove superfluous check for
6019 `stringp'. This is done inside `tramp-tramp-file-p'.
6020 (tramp-file-name-handler): Trace 'quit. Catch the error for some
6021 operations when we are in completion mode. This gives the user
6022 the chance to correct the file name in the minibuffer.
6023 (tramp-completion-mode-p): Use `non-essential'.
6024 (tramp-handle-file-name-all-completions): Backward/ XEmacs
6025 compatibility: Use `completion-ignore-case' if
6026 `read-file-name-completion-ignore-case' does not exist.
6027 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
6028 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6030 (tramp-action-password): Hide password prompt before next run.
6031 (tramp-process-actions): Widen connection buffer for the trace.
6032 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6033 process property. Trace stty settings if `tramp-verbose' >= 9.
6034 Apply workaround for IRIX64 bug. Move argument of last
6035 `tramp-send-command' where it belongs to.
6036 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6037 front of `login-args'.
6038 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
6039 on "/dev/null" instead of "/".
6040 (tramp-get-ls-command-with-dired): Make test for "--dired"
6042 (tramp-set-auto-save-file-modes): Adapt version check.
6043 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6044 (tramp-handle-process-file): Call the program in a subshell, in
6045 order to preserve working directory.
6046 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
6047 `tramp-remote-sh' from `tramp-methods'.
6048 (tramp-get-ls-command): Make test for "--color=never" stronger.
6049 (tramp-check-for-regexp): Use (forward-line 1).
6051 * net/trampver.el: Update release number.
6053 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6055 * help.el (help-map): Bind `C-h P' to describe-package.
6057 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
6059 * emacs-lisp/package.el (package-refresh-contents): Catch errors
6060 when downloading archives.
6061 (describe-package-1): Add package commentary.
6062 (package-install-button-action): New function.
6063 (package-menu-mode-map): Bind ? to package-menu-describe-package.
6064 (package-menu-view-commentary): Function removed.
6065 (package-list-packages-internal): Hide the `package' package too.
6067 2010-08-25 Kenichi Handa <handa@m17n.org>
6069 * language/misc-lang.el ("Arabic"): New language environment.
6070 Setup composition-function-table for Arabic characters.
6072 * international/fontset.el (setup-default-fontset): Fix typo for
6073 arabic OTF spec (fini->fina).
6075 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
6077 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
6080 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6082 * whitespace.el: Allow cleaning up blanks without blank
6083 visualization (Bug#6651). Adjust help window for
6084 whitespace-toggle-options (Bug#6479). Allow to use fill-column
6085 instead of whitespace-line-column (from EmacsWiki). New version
6087 (whitespace-style): Add new value 'face. Adjust docstring.
6088 (whitespace-space, whitespace-hspace, whitespace-tab):
6089 Adjust foreground property face.
6090 (whitespace-line-column): Adjust docstring and type declaration.
6091 (whitespace-style-value-list, whitespace-toggle-option-alist)
6092 (whitespace-help-text): Adjust const initialization.
6093 (whitespace-toggle-options, global-whitespace-toggle-options):
6095 (whitespace-display-window, whitespace-interactive-char)
6096 (whitespace-style-face-p, whitespace-color-on): Adjust code.
6097 (whitespace-help-scroll): New fun.
6099 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6101 * emacs-lisp/package.el (list-packages): Alias for
6102 package-list-packages.
6104 2010-08-24 Kevin Ryde <user42@zip.com.au>
6106 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
6109 * progmodes/ruby-mode.el (ruby): Add defgroup.
6111 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6113 * progmodes/python.el: Add Ipython support (Bug#5390).
6114 (python-shell-prompt-alist)
6115 (python-shell-continuation-prompt-alist): New options.
6116 (python--set-prompt-regexp): New function.
6117 (inferior-python-mode, run-python, python-shell):
6118 Require ansi-color. Use python--set-prompt-regexp to set the comint
6119 prompt based on the Python interpreter.
6120 (python--prompt-regexp): New var.
6121 (python-check-comint-prompt)
6122 (python-comint-output-filter-function): Use it.
6123 (run-python): Use a pipe (Bug#5694).
6125 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
6127 * progmodes/python.el (python-send-region): Send a different
6128 Python command if Ipython is in use.
6129 (python-check-version): Use a Python command to find the version.
6131 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6133 * mouse.el (mouse-yank-primary): Avoid setting primary when
6134 deactivating the mark (Bug#6872).
6136 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
6138 * progmodes/python.el (python-block-pairs): Allow use of "finally"
6139 with "else" (Bug#3991).
6141 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
6143 * net/dbus.el: Accept UNIX domain sockets as bus address.
6144 (top): Don't initialize `dbus-registered-objects-table' anymore,
6145 this is done in dbusbind,c.
6146 (dbus-check-event): Adapt test for bus.
6147 (dbus-return-values-table, dbus-unregister-service)
6148 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
6151 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
6153 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
6155 2010-08-22 Juri Linkov <juri@jurta.org>
6157 * simple.el (read-extended-command): New function with the logic
6158 for `completing-read' moved to Elisp from `execute-extended-command'.
6159 Use `function-called-at-point' in `minibuffer-default-add-function'
6160 to get a command name for M-n (bug#5364, bug#5214).
6162 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6164 * startup.el (command-line-1): Issue warning for ignored arguments
6165 --unibyte, etc (Bug#6886).
6167 2010-08-22 Leo <sdl.web@gmail.com>
6169 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
6170 (ignore, bright, dim, keyword): Split list of nicknames before
6171 passing to rcirc-add-or-remove (Bug#6894).
6173 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6175 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
6177 2010-08-22 Leo <sdl.web@gmail.com>
6179 Fix buffer-list rename&refresh after killing a buffer in ido.
6180 * ido.el: Revert Óscar's.
6181 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
6182 Remember the buffers at head, rather than their name.
6183 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
6185 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
6186 Stefan Monnier <monnier@iro.umontreal.ca>
6188 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
6189 extra backslash added to each line (bug#6890).
6191 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6193 * subr.el (read-key): Don't echo keystrokes (bug#6883).
6195 2010-08-22 Glenn Morris <rgm@gnu.org>
6197 * menu-bar.el (menu-bar-games-menu): Add landmark.
6199 2010-08-22 Glenn Morris <rgm@gnu.org>
6201 * align.el (align-regexp): Make group and spacing arguments
6202 use the interactive defaults when non-interactive. (Bug#6698)
6204 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
6205 expansion, so as not to need sendmail.
6206 (mail-text-start): Remove declaration.
6207 (rmail-retry-failure): Require sendmail.
6209 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6211 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
6213 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
6215 * progmodes/flymake.el (flymake-start-syntax-check-process):
6216 Use `start-file-process' in order to let it run also on remote hosts.
6218 2010-08-22 Kenichi Handa <handa@m17n.org>
6220 * files.el: Add `word-wrap' as safe local variable.
6222 2010-08-22 Glenn Morris <rgm@gnu.org>
6224 * woman.el (woman-translate): Case matters. (Bug#6849)
6226 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6228 * simple.el (kill-region): Doc fix (Bug#6787).
6230 2010-08-22 Glenn Morris <rgm@gnu.org>
6232 * calendar/diary-lib.el (diary-header-line-format):
6233 Fit it to the window, not the frame.
6235 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
6237 * subr.el (ignore-errors): Add debug declaration.
6239 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
6241 * whitespace.el (whitespace-color-off): Remove post-command-hook
6244 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6246 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
6248 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
6250 * cus-edit.el (custom-group-value-create): Add extra newline
6251 before end line (Bug#6876).
6253 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
6255 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
6256 when extending it. Before killing on the second click, check if
6257 the buffer is the correct one. Doc fix.
6258 (mouse-secondary-save-then-kill): Allow usage without first
6259 calling mouse-start-secondary, by defaulting to point. Don't save
6260 an empty secondary selection. Doc fix.
6262 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6264 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
6265 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
6267 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
6268 Adjust initialization.
6269 (whitespace-bob-marker, whitespace-eob-marker)
6270 (whitespace-buffer-changed): New vars.
6271 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
6272 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
6273 (whitespace-post-command-hook, whitespace-display-char-on):
6275 (whitespace-looking-back, whitespace-buffer-changed): New funs.
6276 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
6278 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
6280 * files.el (locate-file-completion-table): Only list the .el and .elc
6281 extensions if there's no other choice (bug#5955).
6283 * facemenu.el (facemenu-self-insert-data): New var.
6284 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
6286 (facemenu-add-face): Use them.
6288 * simple.el (blink-matching-open): Obey forward-sexp-function.
6290 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
6292 * simple.el (prog-mode-map): New var.
6293 (prog-indent-sexp): New command.
6295 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
6297 * progmodes/prolog.el (smie): Require.
6299 * emacs-lisp/smie.el (smie-default-backward-token)
6300 (smie-default-forward-token): Strip properties.
6301 (smie-next-sexp): Be more careful with associative operators.
6302 (smie-forward-sexp-command): Generalize.
6303 (smie-backward-sexp-command): Simplify.
6304 (smie-closer-alist): New var.
6305 (smie-close-block): New command.
6306 (smie-indent-debug-log): New var.
6307 (smie-indent-offset-rule): Add a few more cases.
6308 (smie-indent-column): New function.
6309 (smie-indent-after-keyword): Use it.
6310 (smie-indent-keyword): Use it.
6311 Fix up the opener code's point position.
6312 (smie-indent-comment): Only applies at BOL.
6313 (smie-indent-debug): New command.
6315 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
6316 declarations that are useful before running the macro.
6318 2010-08-18 Joakim Verona <joakim@verona.se>
6320 * image.el (imagemagick-types-inhibit): New variable.
6321 (imagemagick-register-types): New function.
6322 * image-mode.el (image-transform-properties): New function.
6323 (image-transform-set-scale, image-transform-fit-to-height)
6324 (image-transform-set-rotation, image-transform-set-resize)
6325 (image-transform-fit-to-width, image-transform-fit-to-height):
6327 (image-toggle-display-image): Support image transforms.
6329 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
6331 * image.el (create-animated-image): Don't add heuristic mask to image
6334 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
6336 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
6337 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
6339 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
6341 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
6343 Font-lock '...' strings, plus various simplifications and fixes.
6344 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6345 (octave-font-lock-close-quotes): New function.
6346 (octave-font-lock-syntactic-keywords): New var.
6347 (octave-mode): Use it. Set beginning-of-defun-function.
6348 (octave-mode-map): Don't override the <foo>-defun commands.
6349 (octave-mode-menu): Pass it directly to easy-menu-define;
6350 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
6351 (octave-block-match-alist): Fix up last change so that
6352 octave-close-block uses the more specific keyword.
6353 (info-lookup-mode): Silence byte-compiler.
6354 (octave-beginning-of-defun): Not interactive any more.
6356 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
6357 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
6358 (octave-completion-at-point-function): Make sure point is within
6360 (octave-reindent-then-newline-and-indent):
6361 Use reindent-then-newline-and-indent.
6362 (octave-add-octave-menu): Remove.
6364 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
6366 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
6367 (report-emacs-bug-can-use-xdg-email): New functions.
6368 (report-emacs-bug): Set can-xdg-email to result of
6369 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
6370 \C-cm to report-emacs-bug-insert-to-mailer and add help text
6373 * net/browse-url.el (browse-url-default-browser): Add cond
6374 for browse-url-xdg-open.
6375 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
6377 2010-08-17 Glenn Morris <rgm@gnu.org>
6379 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
6380 (c-fontify-recorded-types-and-refs): Define for compiler.
6381 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
6384 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
6387 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
6389 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
6391 (tramp-handle-process-file): Call the program in a subshell, in
6392 order to preserve working directory.
6393 (tramp-action-password): Hide password prompt before next run.
6394 (tramp-process-actions): Widen connection buffer for the trace.
6396 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6398 * net/rcirc.el (rcirc-log-process-buffers): New option.
6399 (rcirc-print): Use it.
6400 (rcirc-generate-log-filename): New function.
6401 (rcirc-log-filename-function): Change default to
6402 rcirc-generate-log-filename (Bug#6828).
6404 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
6406 * simple.el (deactivate-mark): If select-active-regions is `only',
6407 only set selection for temporarily active regions.
6409 * cus-start.el: Change defcustom for select-active-regions.
6411 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
6413 * mouse.el (mouse--drag-set-mark-and-point): New function.
6414 (mouse-drag-track): Use LOCATION arg to push-mark.
6415 Use mouse--drag-set-mark-and-point to take click-count into
6416 consideration when updating point and mark (Bug#6840).
6418 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
6420 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6421 Give the Ruby rule a lower priority than Gnu (Bug#6778).
6423 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
6425 * font-lock.el (lisp-font-lock-keywords-2):
6426 Add combine-after-change-calls, condition-case-no-debug,
6427 with-demoted-errors, and with-silent-modifications (Bug#6025).
6429 2010-08-14 Kevin Ryde <user42@zip.com.au>
6431 * emacs-lisp/copyright.el (copyright-update-year)
6432 (copyright-update): Temporary switch-to-buffer to ensure the
6433 buffer change being queried is visible (Bug#5394).
6435 2010-08-14 Tom Tromey <tromey@redhat.com>
6437 * progmodes/etags.el (tags-file-name): Mark safe if stringp
6440 2010-08-14 Eli Zaretskii <eliz@gnu.org>
6442 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
6445 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
6447 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
6448 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6449 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6450 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
6451 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
6452 Call menu-bar-set-tool-bar-position.
6454 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6456 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
6457 comment style (bug#6834).
6458 * progmodes/scheme.el (scheme-mode-syntax-table):
6459 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
6460 "b" flag in "' 14b" syntax.
6462 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
6463 for (un)commenting the region and performing completion.
6464 (octave-mode-menu): Use standard commands for help and completion.
6465 (octave-mode-syntax-table): Support %{..%} comments (sort of).
6466 (octave-mode): Use define-derived-mode.
6467 Set completion-at-point-functions and don't set columns.
6468 Don't disable adaptive-fill-regexp.
6469 (octave-describe-major-mode, octave-comment-region)
6470 (octave-uncomment-region, octave-comment-indent)
6471 (octave-indent-for-comment): Remove.
6472 (octave-indent-calculate): Rename from calculate-octave-indent.
6473 (octave-indent-line, octave-fill-paragraph): Update caller.
6474 (octave-initialize-completions): No need to make an alist.
6475 (octave-completion-at-point-function): New function.
6476 (octave-complete-symbol): Use it.
6477 (octave-insert-defun): Use define-skeleton.
6479 * progmodes/octave-mod.el (octave-mode): Set comment-add.
6480 (octave-mode-map): Use comment-dwim (bug#6829).
6482 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
6484 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
6485 indentation of inserted comment.
6487 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
6489 * faces.el (region): Add type gtk that uses gtk colors.
6491 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
6492 Handle theme-name change.
6494 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
6496 * progmodes/sql.el: Version 2.5
6497 (sql-product-alist): Add :prompt-cont-regexp property for several
6499 (sql-prompt-cont-regexp): New variable.
6500 (sql-output-newline-count, sql-output-by-send):
6501 New variables. Record number of newlines in input text.
6502 (sql-send-string): Handle multiple filters and count newlines.
6503 (sql-send-magic-terminator): Count terminator newline.
6504 (sql-interactive-remove-continuation-prompt): Filters output to
6505 remove continuation prompts; one for each newline.
6506 (sql-interactive-mode): Set up new variables, prompt regexp and
6508 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
6509 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
6511 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6513 * emacs-lisp/pcase.el: New file.
6515 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
6517 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
6518 as here-document, otherwise the command could exceed maximum
6519 length of command line.
6520 (tramp-handle-vc-registered): Call script accordingly.
6521 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
6523 2010-08-10 Kenichi Handa <handa@m17n.org>
6525 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
6528 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
6530 * emacs-lisp/package.el (package-version-split)
6531 (package--version-first-nonzero, package-version-compare):
6533 (package-directory-list, package-load-all-descriptors)
6534 (package--built-in, package-activate, define-package)
6535 (package-installed-p, package-compute-transaction)
6536 (package-read-all-archive-contents)
6537 (package--add-to-archive-contents, package-buffer-info)
6538 (package-tar-file-info, package-list-packages-internal):
6539 Use version-to-list and version-list-*.
6541 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6542 Use version-to-list.
6543 (package-upload-buffer-internal): Use version-list-<=.
6545 2010-08-09 Kenichi Handa <handa@m17n.org>
6547 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
6550 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
6552 * tutorial.el (tutorial--default-keys): C-d is now bound to
6553 delete-forward-char (Bug#6826).
6555 * mouse.el (mouse-drag-track): Remove accidentally-removed check
6556 for `double' value of mouse-1-click-follows-link (Bug#6807).
6558 2010-08-08 Johan Bockgård <bojohan@gnu.org>
6560 * replace.el (replace-highlight): Bind isearch-forward and
6561 isearch-error, ensuring that highlighting is updated if the user
6562 switches the search direction (Bug#6808).
6564 * isearch.el (isearch-lazy-highlight-forward): New var.
6565 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6566 (isearch-lazy-highlight-update): Use it.
6568 2010-08-08 Kenichi Handa <handa@m17n.org>
6570 * international/mule.el (define-charset): Store NAME as :base property.
6571 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
6572 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
6573 current priority. Force using the designation of the specific
6574 charset by adding `charset' text property. Improve the whole algorithm.
6576 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6578 * emulation/pc-select.el (pc-selection-mode-hook)
6579 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
6580 (pc-selection-mode): Fix typos in docstrings.
6582 2010-08-08 Kenichi Handa <handa@m17n.org>
6584 * language/cyrillic.el: Don't add "microsoft-cp1251" to
6585 ctext-non-standard-encodings-alist here.
6587 * international/mule.el (ctext-non-standard-encodings-alist):
6588 Add "koi8-r" and "microsoft-cp1251".
6589 (ctext-standard-encodings): New variable.
6590 (ctext-non-standard-encodings-table): List only elements for
6591 non-standard encodings.
6592 (ctext-pre-write-conversion): Adjust for the above change.
6593 Check ctext-standard-encodings.
6595 * international/mule-conf.el (compound-text): Doc fix.
6596 (ctext-no-compositions): Doc fix.
6597 (compound-text-with-extensions): Doc fix.
6599 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6601 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
6603 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6605 * progmodes/which-func.el (which-func-format): Split help-echo text
6606 into lines, like other mode-line tooltips.
6608 * server.el (server-start): When using TCP sockets, force IPv4
6609 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
6611 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6613 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
6615 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6617 * term.el (term-delimiter-argument-list): Reflow docstring.
6618 (term-read-input-ring, term-write-input-ring, term-send-input)
6619 (term-bol, term-erase-in-display, serial-supported-or-barf):
6620 Fix typos in docstrings.
6622 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6624 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
6626 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6628 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
6630 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
6632 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
6633 Fix typo in docstring (bug#6747).
6635 2010-08-08 Leo <sdl.web@gmail.com>
6637 * eshell/esh-io.el (eshell-get-target): Better detection of
6638 read-only file (Bug#6762).
6640 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6642 * align.el (align-default-spacing): Doc fix.
6643 (align-region-heuristic, align-regexp): Fix typos in docstrings.
6645 2010-08-08 Stephen Peters <speters@itasoftware.com>
6647 * calendar/icalendar.el
6648 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
6649 (icalendar--get-weekday-numbers): New.
6650 (icalendar--convert-recurring-to-diary): Handle multiple byday
6651 values in weekly rules. (Bug#6766)
6653 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
6655 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
6656 (icalendar--create-uid, icalendar-export-region)
6657 (icalendar--parse-summary-and-rest): Code formatting.
6659 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
6661 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
6662 to italicize headers.
6663 (calc-highlight-selections-with-faces): New variable.
6664 (calc-selected-face, calc-nonselected-face): New faces.
6666 * calc/calccomp.el (math-comp-highlight-string): Use
6667 `calc-highlight-selections-with-faces' to determine how to highlight
6670 * calc/calc-sel.el (calc-show-selections): Change message to when
6671 using faces to highlight selections.
6673 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
6675 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
6676 Add SQLite 3 keywords, functions and datatypes.
6677 (sql-interactive-mode): Remove `comint-process-echoes' set to t
6680 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
6682 * simple.el (select-active-regions): Move to keyboard.c.
6683 (deactivate-mark): Used saved-region-selection.
6684 (select-active-region): Function removed.
6685 (activate-mark, set-mark, push-mark-command)
6686 (handle-shift-selection): Don't call it.
6687 (keyboard-quit): Avoid adding the region to the window selection.
6689 * mouse.el (mouse-drag-track): Remove hacks to deal with old
6690 select-active-regions implementation.
6691 (mouse-yank-at-click): Doc fix.
6693 * cus-start.el: Add custom declaration for select-active-regions.
6695 2010-08-07 Eli Zaretskii <eliz@gnu.org>
6697 * simple.el (delete-forward-char): Doc fix.
6699 * tutorial.el (help-with-tutorial): Hack safe file-local variables
6700 after reading the tutorial.
6702 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
6704 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
6705 Fix for the case that a C style comment has its delimiters alone on
6706 their respective lines.
6708 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
6710 * net/tramp.el (tramp-handle-start-file-process): Set connection
6712 (tramp-process-sentinel): Use it for flushing the cache.
6713 We cannot do it via the process buffer, the buffer could be deleted
6714 already when running the sentinel.
6716 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
6718 * comint.el (comint-mode): Make directory tracking functions
6719 functional on remote files. (Bug#6764)
6721 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
6723 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
6725 2010-08-05 Eli Zaretskii <eliz@gnu.org>
6727 * emacs-lisp/find-gc.el (find-gc-source-files):
6728 Rename unexec.c => unexcoff.c.
6730 * emacs-lisp/authors.el (authors-fixed-entries):
6731 Rename unexec.c => unexcoff.c.
6733 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
6735 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
6736 cache, not only file cache.
6737 (tramp-process-sentinel): New defun.
6738 (tramp-handle-start-file-process): Use it, in order to invalidate
6741 2010-08-03 Leo <sdl.web@gmail.com>
6743 * server.el (server-start): Simplify loop.
6745 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6747 * frame.el (screen-height, screen-width, set-screen-width)
6748 (set-screen-height): Remove ancient compatibility aliases.
6750 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
6751 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
6753 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
6754 that change current buffer.
6756 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6758 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
6759 beginning of the string. Use `string-match-p'. (Bug#6765)
6761 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
6763 * cus-start.el (x-gtk-use-system-tooltips): New variable.
6765 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
6767 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
6768 (package--builtins): Tweak descriptions.
6769 (package-print-package): Upcase descriptions if necessary.
6770 Show all built-in packages in font-lock-builtin-face.
6771 (package-list-packages-internal): Omit "emacs" package.
6772 Show status of built-in packages as "built-in".
6774 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
6776 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
6777 before killing to preserve the primary selection (Bug#6701).
6779 * term/x-win.el (x-select-text): Doc fix.
6781 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
6783 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
6784 (objc-font-lock-extra-types):
6785 * progmodes/cc-mode.el (c-basic-common-init):
6786 * progmodes/cc-langs.el (c-make-mode-syntax-table)
6787 (c++-make-template-syntax-table)
6788 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
6789 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
6790 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
6791 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
6792 * progmodes/cc-fonts.el (c-make-inverse-face)
6793 (c-basic-matchers-after):
6794 * progmodes/cc-engine.el (c-forward-keyword-clause)
6795 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
6796 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
6797 (c-guess-continued-construct, c-guess-basic-syntax):
6798 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
6799 The above functions were modified or created.
6801 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
6803 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
6805 2010-07-31 Eli Zaretskii <eliz@gnu.org>
6807 * files.el (bidi-paragraph-direction): Define safe local values.
6809 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
6810 language-info-alist. Remove outdated FIXME in a comment.
6812 2010-07-31 Alan Mackenzie <acm@muc.de>
6814 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
6815 Auto-fill broken in C/C++ modes.
6817 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
6819 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6820 (menu-bar-showhide-tool-bar-menu-customize-disable)
6821 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6822 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
6823 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
6824 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
6825 make a menu for Options => toolbar that can move it.
6827 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
6829 * emacs-lisp/package-x.el (package--make-rss-entry):
6830 (package-maint-add-news-item, package--update-news)
6831 (package-upload-buffer-internal): New arg ARCHIVE-URL.
6833 * emacs-lisp/package.el (package-archive-url): Rename from
6835 (package-install): Doc fix.
6836 (package-download-single, package-download-tar, package-install)
6837 (package-menu-view-commentary): Callers changed.
6839 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
6841 * net/tramp.el (tramp-handle-start-file-process): Check only for
6842 `remote-tty' process property.
6843 (tramp-open-shell): Don't check for tty.
6844 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6847 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
6850 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
6852 * emacs-lisp/package.el (package-load-list, package-archives)
6853 (package-archive-contents, package-user-dir)
6854 (package-directory-list, package--builtins, package-alist)
6855 (package-activated-list, package-obsolete-alist): Mark as risky.
6857 2010-07-28 Phil Hagelberg <phil@evri.com>
6859 Add support for non-default package repositories.
6860 * emacs-lisp/package.el (package-archive-base): Var deleted.
6861 (package-archives): New variable.
6862 (package-archive-contents): Doc fix.
6863 (package-load-descriptor): Do nothing if descriptor file is missing.
6864 (package--write-file-no-coding): New function.
6865 (package-unpack-single): Use it.
6866 (package-archive-id): New function.
6867 (package-download-single, package-download-tar)
6868 (package-menu-view-commentary): Use it.
6869 (package-installed-p): Make second argument optional.
6870 (package-read-all-archive-contents): New function.
6871 (package-initialize): Use it.
6872 (package-read-archive-contents): Add ARCHIVE argument.
6873 (package--add-to-archive-contents): New function.
6874 (package-install): Don't call package-read-archive-contents.
6875 (package--download-one-archive): Store archive file in a
6876 subdirectory of package-user-dir.
6877 (package-menu-execute): Remove spurious line movement.
6879 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
6881 * cus-start.el (tool-bar-style): Add text-image-horiz.
6883 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
6885 * progmodes/gud.el (gud-common-init): Check for remoteness of
6886 `file', and not of `default-directory'.
6888 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
6890 * net/tramp.el (tramp-methods): Move hostname to the end in all
6891 ssh `tramp-login-args'.
6892 (tramp-verbose): Describe verbose level 9.
6893 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
6894 (tramp-open-connection-setup-interactive-shell): Trace stty
6895 settings if `tramp-verbose' >= 9.
6896 (tramp-handle-start-file-process): Implement tty setting.
6897 (Bug#4604, Bug#6360)
6899 * net/tramp-cmds.el (tramp-bug): Recommend setting of
6900 `tramp-verbose' to 9.
6902 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
6904 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
6905 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
6906 Remove references to package `lisp-re' (bug#4369).
6908 2010-07-27 Tom Tromey <tromey@redhat.com>
6910 * progmodes/js.el (js-mode):
6911 * progmodes/make-mode.el (makefile-mode):
6912 * progmodes/simula.el (simula-mode):
6913 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
6915 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
6917 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
6919 * time.el (display-time-day-and-date): Remove spurious * in docstring.
6920 (display-time-world-buffer-name, display-time-world-mode-map):
6921 Fix typos in docstrings.
6923 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
6925 * image-mode.el (image-display-size): New function.
6926 (image-forward-hscroll, image-next-line, image-eol, image-eob)
6927 (image-mode-fit-frame): Use it (Bug#6639).
6929 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
6931 * dired.el (dired-buffers-for-dir): Handle list values of
6932 dired-directory (Bug#6636).
6934 2010-07-26 Sam Steingold <sds@gnu.org>
6936 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
6937 Do not call `x-get-selection' the second time, reuse the value.
6939 2010-07-26 Daiki Ueno <ueno@unixuser.org>
6941 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
6942 which consist of control chars only. Suggested by Richard Stallman.
6944 2010-07-25 Daiki Ueno <ueno@unixuser.org>
6946 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
6947 exists before passing an error to find-file-not-found-functions
6950 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
6952 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
6953 Remove leading nil element, adjust values.
6954 (tetris-shapes, tetris-shape-scores):
6955 Change representation of shapes and remove some redundancy.
6956 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
6957 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
6958 Adjust for working with new representation of shapes.
6959 (tetris-shape-rotations): New function.
6960 (tetris-move-bottom, tetris-move-left, tetris-move-right)
6961 (tetris-rotate-prev, tetris-rotate-next):
6962 Adjust for working with the new version of tetris-test-shape.
6964 2010-07-23 Markus Triska <markus.triska@gmx.at>
6966 * progmodes/ps-mode.el: Use comint (bug#5954).
6967 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
6968 (ps-mode-other-newline): Simplify.
6969 (ps-run-mode): Derive from comint-mode instead of
6970 fundamental-mode, yielding input history etc.
6971 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
6972 (ps-run-send-string): Adapt for comint-mode.
6973 (ps-run-newline): Remove now unneeded function.
6975 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6977 * net/tramp.el (tramp-methods): Move hostname to the end in all
6978 plink `tramp-login-args'.
6980 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6982 * net/tramp.el (tramp-open-shell): New defun.
6983 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6986 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6988 * net/tramp.el (tramp-file-name-regexp-unified)
6989 (tramp-completion-file-name-regexp-unified): On W32 systems, do
6990 not regard the volume letter as remote filename. (Bug#5447)
6992 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
6994 * custom.el (custom-declare-variable): Give a clearer error message
6995 when the docstring is missing (bug#6476).
6997 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
6999 * progmodes/sql.el: Version 2.4. Improved Login prompting.
7000 (sql-login-params): New widget definition.
7001 (sql-oracle-login-params, sql-mysql-login-params)
7002 (sql-solid-login-params, sql-sybase-login-params)
7003 (sql-informix-login-params, sql-ingres-login-params)
7004 (sql-ms-login-params, sql-postgres-login-params)
7005 (sql-interbase-login-params, sql-db2-login-params)
7006 (sql-linter-login-params): Use it.
7007 (sql-sqlite-login-params): Use it; Define "database" parameter as
7009 (sql-sqlite-program): Change to "sqlite3".
7010 (sql-comint-sqlite): Make sure database name is complete.
7011 (sql-for-each-login): New function.
7012 (sql-connect, sql-save-connection): Use it.
7013 (sql-get-login-ext): New function.
7014 (sql-get-login): Use it.
7015 (sql-make-alternate-buffer-name): Handle :file parameters.
7017 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
7019 * dired.el (dired-no-confirm): Document value t and fix defcustom to
7020 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
7022 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
7024 * dired.el (dired-mode-map): Use command remapping (bug#6632).
7026 2010-07-22 Lawrence Mitchell <wence@gmx.li>
7028 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
7030 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
7032 * net/tramp.el (tramp-get-ls-command)
7033 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
7036 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
7038 * progmodes/sql.el: Version 2.3.
7039 (sql-connection-alist): Change keys from symbols to strings;
7040 enhanced the widget definition.
7041 (sql-mode-menu): Add submenu to select connections.
7042 (sql-interactive-mode-menu): Add "Save Connection" item.
7043 (sql-add-product): Fix menu item.
7044 (sql-get-product-feature): Improved error handling.
7045 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
7046 (sql-make-alternate-buffer-name): Simplified.
7047 (sql-product-interactive): Handle missing product.
7048 (sql-connect): Support string keys, minor improvements.
7049 (sql-save-connection): New function.
7050 (sql-connection-menu-filter): New function.
7052 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
7054 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
7055 (tramp-open-connection-setup-interactive-shell):
7056 Apply workaround for IRIX64 bug. Move argument of last
7057 `tramp-send-command' where it belongs to.
7059 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
7061 * net/tramp.el (tramp-perl-file-attributes)
7062 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
7063 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
7064 front of `login-args'.
7066 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
7068 * time.el (display-time-world-mode): Define with `define-derived-mode'.
7069 Set `show-trailing-whitespace' to nil.
7070 (display-time-world-display): Simplify.
7072 2010-07-18 Alan Mackenzie <acm@muc.de>
7074 Enhance `c-file-style' in file/directory local variables.
7075 * progmodes/cc-mode.el (c-count-cfss): New function.
7076 (c-before-hack-hook): Call `c-set-style' differently according to
7077 whether c-file-style was set in file or directory local
7080 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
7082 * progmodes/sql.el: Version 2.2.
7083 (sql-product, sql-user, sql-database, sql-server, sql-port):
7084 Use defcustom :safe keyword rather than putting safe-local-variable
7086 (sql-password): Use defcustom :risky keyword rather than putting
7087 risky-local-variable property.
7088 (sql-oracle-login-params, sql-sqlite-login-params)
7089 (sql-solid-login-params, sql-sybase-login-params)
7090 (sql-informix-login-params, sql-ingres-login-params)
7091 (sql-ms-login-params, sql-postgres-login-params)
7092 (sql-interbase-login-params, sql-db2-login-params)
7093 (sql-linter-login-params): Add `port' option.
7094 (sql-get-product-feature): Add NO-INDIRECT parameter.
7095 (sql-comint-oracle, sql-comint-sybase)
7096 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
7097 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
7098 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
7099 (sql-comint-linter): Rename sql-connect-* functions to
7101 (sql-product-alist, sql-mode-menu): Rename as above and
7102 :sqli-connect-func to :sqli-comint-func.
7103 (sql-connection): New variable.
7104 (sql-interactive-mode): Set it.
7105 (sql-connection-alist): New variable.
7106 (sql-connect): New function.
7107 (sql--alt-buffer-part, sql--alt-if-not-empty)
7108 (sql-make-alternate-buffer-name): Improved alternative buffer name.
7110 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7112 * image-mode.el (image-bookmark-make-record): Do not set context
7113 in an image (Bug#6650).
7115 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
7117 * simple.el (select-active-region): New function.
7118 (push-mark-command, set-mark, activate-mark)
7119 (handle-shift-selection): Use it.
7120 (deactivate-mark): Don't check for size of region.
7122 * mouse.el (mouse-drag-track): Use select-active-region.
7124 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
7126 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
7129 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
7131 * term/x-win.el (x-select-enable-primary): Change default to nil.
7132 (x-select-enable-clipboard): Add :version keyword.
7134 * mouse.el (mouse-drag-copy-region):
7135 * simple.el (select-active-regions): Likewise.
7137 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
7139 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
7140 (vc-coding-system-for-diff): Use it to decide whether to inherit
7141 from the file the EOL format for reading the diffs of that file.
7144 2010-07-16 Eli Zaretskii <eliz@gnu.org>
7146 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
7147 unibyte, so compressed attachments are not compressed again.
7149 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
7151 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
7152 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
7153 (tramp-find-shell): Simplify setting connection property.
7154 (tramp-get-ls-command): Make test for "--color=never" stronger.
7156 2010-07-15 Simon South <ssouth@member.fsf.org>
7158 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
7159 blocks within record declarations (i.e. variant parts) correctly.
7161 2010-07-15 Simon South <ssouth@member.fsf.org>
7163 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
7164 over literal tokens when parsing so newlines aren't "absorbed" by
7165 single-line comments. Corrects the indentation of case blocks
7166 that have a comment on the first line.
7168 2010-07-14 Karl Fogel <kfogel@red-bean.com>
7170 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
7171 by Drew Adams (Bug#5504).
7173 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
7175 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
7176 now that Unicode is used (Bug#6594).
7178 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
7180 * term/x-win.el (x-select-enable-clipboard): Default to t.
7181 (x-initialize-window-system): Don't overwrite Paste menu item.
7183 * simple.el (select-active-regions): Default to t.
7184 (push-mark-command): Don't overwrite primary with empty string.
7186 * mouse.el: Bind mouse-2 to mouse-yank-primary.
7187 (mouse-drag-copy-region): Default to nil.
7189 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
7190 Cut/Copy/Paste menu bar items.
7192 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7194 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
7195 Patch applied by Karl Fogel.
7197 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
7198 and `bookmark-current-buffer' if they have been already set in
7199 another buffer (e.g gnus-art).
7201 2010-07-13 Karl Fogel <kfogel@red-bean.com>
7202 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7204 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
7206 * bookmark.el (bookmark-make-record-default): Allow unneeded
7207 information to be omitted from the record.
7209 Adjust declarations and calls:
7211 * info.el (bookmark-make-record-default): Adjust declaration.
7212 (Info-bookmark-make-record): Adjust call.
7214 * woman.el (bookmark-make-record-default): Adjust declaration.
7215 (woman-bookmark-make-record): Adjust call.
7217 * man.el (bookmark-make-record-default): Adjust declaration.
7218 (Man-bookmark-make-record): Adjust call.
7220 * image-mode.el (bookmark-make-record-default): Adjust declaration.
7222 * doc-view.el (bookmark-make-record-default): Adjust declaration.
7224 2010-07-13 Karl Fogel <kfogel@red-bean.com>
7226 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
7227 This is also from Thierry Volpiatto's patch in bug #6444. However,
7228 because it was extraneous to the functional change in that patch,
7229 and causes a re-indendation, I am committing it separately.
7231 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7233 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
7234 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
7235 Patch applied by Karl Fogel (Bug#6444).
7237 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
7239 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
7241 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
7243 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
7244 Dempsky; bug#5084). Remove incorrect binding for S-tab.
7245 (ns-alternatives-map): Change S-tab binding to backtab
7248 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
7251 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
7253 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
7256 * language/tv-util.el (tai-viet-re): Remove format.
7258 2010-07-12 Kenichi Handa <handa@m17n.org>
7260 * language/hebrew.el: Remove no-byte-compile declaration.
7261 Change coding: tag to utf-8. Register hebrew-shape-gstring in
7262 composition-function-table for 3-character looking back.
7263 (hebrew-font-get-precomposed): New function.
7264 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
7266 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
7268 * mouse.el (mouse-drag-track): Handle select-active-regions
7271 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
7273 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
7274 empty argument to gvfs-copy.
7276 2010-07-10 Glenn Morris <rgm@gnu.org>
7278 * calendar/calendar.el (calendar-week-end-day): New function.
7279 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
7280 Respect calendar-week-start-day. (Bug#6606)
7281 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
7282 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
7283 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
7284 respect calendar-week-start-day.
7286 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
7288 * simple.el (use-region-p): Doc fix (Bug#6607).
7290 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
7292 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7293 Add regexps for cucumber and ruby.
7295 2010-07-08 Daiki Ueno <ueno@unixuser.org>
7297 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
7298 (epa-file-insert-file-contents): Hack to prevent
7299 find-file from opening empty buffer when decryption failed
7302 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
7304 * textmodes/ispell.el (ispell-alternate-dictionary):
7305 Use file-readable-p.
7306 Return nil if no word-list is found at default locations.
7307 (ispell-complete-word-dict): Default to nil.
7308 (ispell-command-loop): Use 'word-list' when using lookup-words.
7309 (lookup-words): Use ispell-complete-word-dict or
7310 ispell-alternate-dictionary. Check for word-list availability
7311 and handle errors if needed with better messages (Bug#6539).
7312 (ispell-complete-word): Use ispell-complete-word-dict or
7313 ispell-alternate-dictionary.
7315 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
7317 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
7318 builtins (BufferError, BytesWarning, WindowsError; callables
7319 bin, bytearray, bytes, format, memoryview, next, print; __package__).
7321 2010-07-07 Glenn Morris <rgm@gnu.org>
7323 * play/zone.el (top-level): Do not require timer, tabify, or cl.
7324 (zone-shift-left): Ignore intangibility, and any errors from
7326 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
7327 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
7328 deleting, and copying text properties.
7329 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
7330 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
7331 to point-max is hard.
7332 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
7333 (zone-fill-out-screen): Ignore intangibility.
7335 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
7337 * menu-bar.el (menu-bar-mode):
7338 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
7341 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
7342 word/line selection (Bug#6565).
7344 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
7346 * net/dbus.el (dbus-send-signal): Declare function.
7348 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
7350 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
7351 (dbus-register-property): New optional argument EMITS-SIGNAL.
7352 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
7354 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
7356 * mouse.el (mouse-drag-overlay): Variable deleted.
7357 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
7358 (mouse--remap-link-click-p): New function.
7359 (mouse-drag-track): Handle dragging by using temporary Transient
7360 Mark mode, instead of a special overlay.
7361 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
7364 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
7367 2010-07-02 Juri Linkov <juri@jurta.org>
7369 * autoinsert.el (auto-insert-alist): Fix readability
7370 by using dotted pair notation for lambda.
7372 2010-07-02 Juri Linkov <juri@jurta.org>
7374 * faces.el (read-face-name): Rename arg `string-describing-default'
7375 to `default'. Doc fix. Display the default value in quotes
7376 in the prompt. With empty input, return the `default' arg,
7377 unless the default value is a string (in which case return nil).
7378 (describe-face): Replace the string `default' arg of `read-face-name'
7379 with the symbol `default'.
7381 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
7383 * emulation/viper-cmd.el (viper-delete-backward-char)
7384 (viper-del-backward-char-in-insert)
7385 (viper-del-backward-char-in-replace, viper-change)
7386 (viper-backward-indent): Replace delete-backward-char with
7387 delete-char (Bug#6552).
7389 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
7391 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
7393 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7395 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
7396 argument passed to frame-creation-function (Bug#5378).
7398 * faces.el (x-handle-named-frame-geometry)
7399 (x-handle-reverse-video, x-create-frame-with-faces)
7400 (face-set-after-frame-default, tty-create-frame-with-faces):
7401 Don't separately consult default-frame-alist. It is now passed as the
7404 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
7406 * startup.el (command-line): Don't call tool-bar-setup in a
7409 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7411 * ruler-mode.el (ruler--save-header-line-format): New fun.
7412 (ruler-mode): Use it as a setter function, so as not to overwrite
7413 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
7415 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
7417 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
7418 (vc-root-diff, vc-print-root-log, vc-log-incoming)
7419 (vc-log-outgoing): Use it.
7420 (vc-diff-internal): Set diff-vc-backend.
7422 * vc/diff-mode.el (diff-vc-backend): New var.
7424 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
7426 * dynamic-setting.el (font-setting-change-default-font):
7427 Remove call to message.
7429 2010-06-28 Kenichi Handa <handa@m17n.org>
7431 * international/quail.el (quail-insert-kbd-layout): Fix the
7432 showing of untranslated characters.
7434 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
7436 * simple.el (delete-active-region): New option.
7437 (delete-backward-char): Implement in Lisp.
7438 (delete-forward-char): New command.
7440 * mouse.el (mouse-region-delete-keys): Deleted.
7441 (mouse-show-mark): Simplify.
7443 * bindings.el (global-map): Bind delete and DEL, the former to
7444 delete-forward-char.
7446 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
7448 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
7449 (ruby-mode): Bind indent-line-function (Bug#5119).
7451 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
7453 * startup.el (command-line): Recognize "0" X resource value.
7455 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
7457 * startup.el (command-line): Use X resources to set the value of
7458 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
7460 * menu-bar.el (menu-bar-mode):
7461 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
7462 Set init-value to t.
7464 * frame.el (frame-notice-user-settings): Don't change
7465 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
7466 vice versa (Bug#2249).
7468 2010-06-26 Eli Zaretskii <eliz@gnu.org>
7470 * w32-fns.el (w32-convert-standard-filename): Doc fix.
7472 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
7474 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
7475 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
7477 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
7478 default directories are expanded (Bug#6143).
7480 2010-06-24 Juri Linkov <juri@jurta.org>
7482 * minibuffer.el (completions-format): Change default from nil to
7483 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
7485 2010-06-24 Juri Linkov <juri@jurta.org>
7487 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
7488 buffer-locally to lambda that re-runs the vc diff command.
7491 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
7493 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
7494 echo area is in use (Bug#3412).
7496 2010-06-22 Glenn Morris <rgm@gnu.org>
7498 * textmodes/texinfmt.el (texinfo-format-region)
7499 (texinfo-raise-lower-sections, texinfo-format-separate-node)
7500 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
7501 (texinfo-format-option, texinfo-noindent):
7502 Use line-beginning-position and line-end-position.
7504 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
7505 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
7506 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
7509 2010-06-21 Karl Fogel <kfogel@red-bean.com>
7511 * play/zone.el (zone-fall-through-ws): Fix next-line ->
7512 forward-line fallout.
7514 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
7516 * mouse.el (mouse-appearance-menu): Add docstring.
7518 * help.el (describe-key): Print up-event using key-description.
7520 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
7522 * net/zeroconf.el (zeroconf-resolve-service)
7523 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
7524 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
7526 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
7528 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
7530 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
7532 Avoid displaying files with a nil state in vc-dir.
7533 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
7534 cases that cause insertion.
7535 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
7538 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7540 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
7542 2010-06-29 Leo <sdl.web@gmail.com>
7544 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
7546 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7548 * generic-x.el (bat-generic-mode): Fix regexp for command line
7549 switches (Bug#5719).
7551 2010-06-27 Masatake YAMATO <yamato@redhat.com>
7553 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
7554 of nconc to avoid pure storage error (Bug#6239).
7556 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
7558 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
7559 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
7560 bindings of bookmark-automatically-show-annotations (Bug#6515).
7562 2010-06-25 Eli Zaretskii <eliz@gnu.org>
7564 * arc-mode.el (archive-zip-extract): Don't quote the file name on
7565 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
7567 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
7569 * comint.el (make-comint, make-comint-in-buffer): Mention return
7570 value in the docstrings. (Bug#6498)
7572 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
7574 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
7575 since it is not present when using some non-default switches.
7577 2010-06-23 Karl Fogel <kfogel@red-bean.com>
7579 * simple.el (compose-mail): Fix doc string to refer to
7580 `compose-mail-user-agent-warnings', instead of to the
7581 nonexistent `compose-mail-check-user-agent'.
7583 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
7585 Fix an indentation bug:
7587 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
7588 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
7591 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
7592 (c-clear->-pair-props-if-match-before): now return t when they've
7593 cleared properties, nil otherwise.
7594 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
7595 by taking account of the existing value.
7597 * progmodes/cc-defs.el
7598 (c-clear-char-property-with-value-function): Fix this to clear the
7599 property rather than overwriting it with nil.
7601 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
7603 * emacs-lisp/package.el (package-print-package): Add link to
7604 package description via describe-package.
7605 (describe-package-1): List package requirements. Add button to
7606 perform installation.
7607 (package-menu-describe-package): New command.
7609 * help-mode.el (help-package): New button type.
7611 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
7613 * emacs-lisp/package.el: Move package-list-packages binding to
7615 (describe-package, describe-package-1, package--dir): New funs.
7616 (package-activate-1): Use package--dir.
7618 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
7620 * help-mode.el (help-package-def): New button type.
7622 * menu-bar.el: Move package-list-packages binding here from
7625 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
7627 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
7629 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7631 * emacs-lisp/edebug.el (edebug-read-list):
7632 Phase out old-style backquotes.
7634 2010-06-17 Juri Linkov <juri@jurta.org>
7636 * help-mode.el (help-mode): Set buffer-local variable
7637 revert-buffer-function to help-mode-revert-buffer.
7638 (help-mode-revert-buffer): New function.
7640 * info.el (Info-revert-find-node): Check for major-mode Info-mode
7641 before popping to "*info*" (like in other Info functions).
7642 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
7643 old-history-forward. Pop to old-buffer-name or "*info*" to
7644 recreate the killed buffer. Set Info-history-forward from
7645 old-history-forward.
7646 (Info-breadcrumbs-depth): Add :group and :version.
7648 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
7650 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
7652 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
7654 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
7655 for languages like Portuguese with pt_{BR,PT} and no plain pt.
7657 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
7659 * emacs-lisp/package.el (package-menu-mode-map):
7660 Move initialization into declaration.
7662 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
7664 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
7666 * emacs-lisp/package.el (package-archive-base): Point to
7668 (package-enable, package-load-list): New defcustoms.
7669 (package-user-dir, package-directory-list): Turn into defcustoms.
7670 Don't include package-user-dir in package-directory-list.
7671 (package--builtins-base): Don't include Emacs as a "package".
7672 (package-subdirectory-regexp): New var.
7673 (package-load-all-descriptors, package-compute-transaction)
7674 (package-download-transaction): Obey package-load-list.
7675 (package-activate-1): Rename from package-do-activate.
7676 (package-list-packages-internal): Check package-load-list.
7677 (package-load-descriptor, package-generate-autoloads)
7678 (package-unpack, package-unpack-single)
7679 (package--read-archive-file, package-delete):
7680 Use expand-file-name.
7682 * emacs-lisp/package-x.el: New file. Package uploading
7683 functionality split out from package.el.
7685 * startup.el (command-line): Load packages after reading init file.
7687 2010-06-17 Tom Tromey <tromey@redhat.com>
7689 * emacs-lisp/package.el: New file.
7691 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
7693 Fix vc-annotate for renamed files when using Git.
7694 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
7695 ls-files. Doe not pass the object as a file name to cat-file, it
7697 (vc-git-annotate-command): Pass the file name using -- to avoid
7698 ambiguity with the revision.
7699 (vc-git-previous-revision): Pass a relative file name.
7701 2010-06-22 Glenn Morris <rgm@gnu.org>
7703 * progmodes/js.el (js-mode-map): Use standard capitalization and
7704 ellipses for menu entries.
7706 * wid-edit.el (widget-complete): Doc fix.
7708 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
7710 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
7712 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
7714 Fix annotating other revisions for renamed files in vc-annotate.
7715 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
7716 VC backend. Use it when non-nil.
7717 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
7720 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
7721 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7722 Do not pass the file name to the 'previous-revision call when we
7723 don't want a file diff. (Bug#6489)
7725 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
7727 Fix finding revisions for renamed files in vc-annotate.
7728 * vc/vc.el (vc-find-revision): Add an optional argument for
7729 the VC backend. Use it when non-nil.
7730 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
7731 backend to vc-find-revision. (Bug#6487)
7733 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
7735 Fix reading file names in Git annotate buffers.
7736 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
7737 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
7739 2010-06-20 Alan Mackenzie <acm@muc.de>
7741 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
7742 in file local variables, set it first.
7744 2010-06-19 Glenn Morris <rgm@gnu.org>
7746 * descr-text.el (describe-char-unicode-data): Insert separating
7747 space when needed. (Bug#6422)
7749 * progmodes/idlwave.el (idlwave-action-and-binding):
7750 Fix typo in 2009-12-03 change. (Bug#6450)
7752 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7754 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
7755 handling for `lambda' (misunderstanding).
7757 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
7759 * calc/calc-poly.el (math-accum-factors): Make sure that
7760 constants aren't distributed after they are factored out.
7762 2010-06-16 Juri Linkov <juri@jurta.org>
7764 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
7765 `list-colors-print'. (Bug#6332)
7767 * subr.el (read-quoted-char): Fix up last change (bug#6290).
7769 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
7771 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
7772 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
7774 * font-lock.el (font-lock-major-mode): Rename from
7775 font-lock-mode-major-mode to distinguish it from
7776 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
7777 (font-lock-set-defaults):
7778 * font-core.el (font-lock-default-function): Adjust users.
7779 (font-lock-mode): Don't set it at all.
7781 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
7783 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
7785 2010-06-16 Glenn Morris <rgm@gnu.org>
7787 * calendar/appt.el (appt-time-msg-list): Doc fix.
7788 (appt-check): Let-bind appt-warn-time.
7789 (appt-add): Make the 3rd argument optional.
7790 Simplify argument names. Doc fix. Check for integer WARNTIME.
7791 Only add WARNTIME to the output list if non-nil.
7793 2010-06-16 Ivan Kanis <apple@kanis.eu>
7795 * calendar/appt.el (appt-check): Let the 3rd element of
7796 appt-time-msg-list specify the warning time.
7797 (appt-add): Add new argument with the warning time. (Bug#5176)
7799 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
7801 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
7802 older than version 1.6. (Bug#6361)
7804 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
7806 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
7807 used by cl-do-arglist. (Bug#6408)
7809 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
7811 * textmodes/ispell.el (ispell-dictionary-base-alist):
7812 Fix portuguese casechars/not-casechars for missing 'çÇ'.
7813 Suggested by Rolando Pereira (bug#6434).
7815 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
7817 * facemenu.el (list-colors-sort): Doc fix.
7819 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
7821 * progmodes/sql.el (sql-connect-mysql): Fix typo.
7823 2010-06-14 Juri Linkov <juri@jurta.org>
7825 Add sort option `list-colors-sort'. (Bug#6332)
7826 * facemenu.el (color-rgb-to-hsv): New function.
7827 (list-colors-sort): New defcustom.
7828 (list-colors-sort-key): New function.
7829 (list-colors-display): Doc fix. Sort list according to the option
7831 (list-colors-print): Add HSV values to `help-echo' property of
7834 2010-06-14 Juri Linkov <juri@jurta.org>
7836 * compare-w.el: Move to the "vc" subdirectory.
7838 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7840 * image-mode.el (image-mode-map): Remap left-char and right-char.
7842 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
7844 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
7846 * term/common-win.el (x-colors): Add all the color names defined
7847 in rgb.txt (Bug#6332).
7849 * facemenu.el (list-colors-print): Don't print extra names if it
7850 will overflow the window width.
7852 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
7855 2010-06-12 Eli Zaretskii <eliz@gnu.org>
7857 * files.el (make-directory): Doc fix (bug#6396).
7859 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
7861 * net/tramp.el (tramp-remote-process-environment): Protect version
7862 string by apostroph.
7863 (tramp-shell-prompt-pattern): Do not use a shy group in case of
7865 (tramp-file-name-for-operation): Add `call-process-region'.
7866 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
7868 * net/tramp-compat.el (top): Do not autoload
7869 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
7870 only when `start-file-process' is not bound.
7871 (tramp-advice-file-expand-wildcards): Do not use
7872 `tramp-handle-file-remote-p'.
7873 (tramp-compat-make-temp-file): Handle the case, that
7874 `make-temp-file' has no third argument EXTENSION.
7876 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
7878 * makefile.w32-in (WINS_BASIC): Include new directory vc.
7880 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
7882 2010-06-11 Juri Linkov <juri@jurta.org>
7884 * finder.el (finder-known-keywords): Add keyword "vc"
7885 for version control.
7887 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
7888 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
7889 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
7890 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
7892 2010-06-11 Juri Linkov <juri@jurta.org>
7894 Move version control related files to the "vc" subdirectory.
7895 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
7896 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
7897 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
7898 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
7899 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
7900 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
7901 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
7902 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
7903 Move files to the "vc" subdirectory.
7905 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
7907 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
7910 2010-06-11 Stephen Eglen <stephen@gnu.org>
7912 * shell.el: Bind `shell-resync-dirs' to M-RET.
7914 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
7916 * notifications.el: Move file from lisp/net, because it is
7917 supposed to talk locally to the user.
7919 2010-06-10 Julien Danjou <julien@danjou.info>
7921 * net/notifications.el (notifications-on-action-signal)
7922 (notifications-on-closed-signal): Pass notification id as first
7923 argument to the callback functions. Add docstrings.
7924 (notifications-notify): Fix docstring.
7926 2010-06-10 Glenn Morris <rgm@gnu.org>
7928 * emacs-lisp/authors.el (authors-ignored-files)
7929 (authors-valid-file-names): Add some files.
7931 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7933 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
7934 merge conflict, giving preference to the emacs-23 version of the code.
7936 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7938 * emacs-lisp/advice.el (ad-compile-function):
7939 Define warning-suppress-types before we let-bind it (bug#6275).
7941 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
7942 declare it, make it buffer-local and permanent-local (bug#6324).
7943 (vc-resynch-window): Adjust name.
7944 * vc-hooks.el (vc-find-file-hook): Adjust name.
7946 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
7948 * net/notifications.el (notifications-notify): Fix docstring.
7950 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
7952 Update to Unicode 6.0.0 beta.
7953 * international/charprop.el: Update copyright.
7954 * international/mule-cmds.el (ucs-names): Update character ranges.
7955 * international/uni-bidi.el:
7956 * international/uni-category.el:
7957 * international/uni-combining.el:
7958 * international/uni-comment.el:
7959 * international/uni-decimal.el:
7960 * international/uni-decomposition.el:
7961 * international/uni-digit.el:
7962 * international/uni-lowercase.el:
7963 * international/uni-mirrored.el:
7964 * international/uni-name.el:
7965 * international/uni-numeric.el:
7966 * international/uni-old-name.el:
7967 * international/uni-titlecase.el:
7968 * international/uni-uppercase.el: Regenerate.
7970 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
7972 * emacs-lisp/smie.el (comment-string-strip): Declare function.
7973 (smie-precs-precedence-table): Fix typo in docstring.
7975 * vc-mtn.el (log-edit-extract-headers): Declare function.
7977 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
7979 * net/notifications.el (dbus-register-signal): Declare function.
7980 (notifications-notify): Fix typos and reflow docstring.
7982 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
7984 Improve VC create/retrieve tag/branch.
7985 * vc.el (vc-create-tag): Do not read the directory name for VCs
7986 with repository revision granularity. Adjust the tag/branch
7987 prompt. Reset VC properties.
7988 (vc-retrieve-tag): Do not read the directory name for VCs
7989 with repository revision granularity. Reset VC properties.
7991 2010-06-09 Julien Danjou <julien@danjou.info>
7993 * net/notifications.el: New file.
7995 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
7997 Add optional support for resetting VC properties.
7998 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
7999 call vc-file-clearprops when true.
8000 (vc-resynch-buffer): Add new optional argument, pass it down.
8001 (vc-resynch-buffers-in-directory): Likewise.
8003 Improve support for special markup in the VC commit message.
8004 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
8005 * vc-hg.el (vc-hg-checkin): Add support for Date:.
8006 * vc-git.el (vc-git-checkin):
8007 * vc-bzr.el (vc-bzr-checkin): Likewise.
8009 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8011 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
8012 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
8014 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
8016 * iimage.el: Remove images as soon as the underlying text is modified.
8017 (iimage-modification-hook): New function.
8018 (iimage-mode-buffer): Use it.
8020 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8022 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
8023 smie-indent-offset-after. Add :prev case. Make a bit more generic.
8024 (smie-indent-virtual): Remove `virtual' arg. Update callers.
8025 (smie-indent-keyword): Add handling of open-paren keywords.
8026 (smie-indent-comment-continue): Don't assume comment-continue.
8028 2010-06-07 Martin Rudalics <rudalics@gmx.at>
8030 * window.el (pop-to-buffer): Remove the conditional that
8031 compares new-window and old-window, so it will reselect
8032 the selected window unconditionally.
8033 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
8035 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8037 * emacs-lisp/smie.el (smie-indent-offset-after)
8038 (smie-indent-forward-token, smie-indent-backward-token): New functions.
8039 (smie-indent-after-keyword): Use them.
8040 (smie-indent-fixindent): Only applies to the indentation of the BOL.
8041 (smie-indent-keyword): Tweak the black magic.
8042 (smie-indent-comment-continue): Strip comment-continue before use.
8043 (smie-indent-functions): Indent comments before keywords.
8045 2010-06-06 Juri Linkov <juri@jurta.org>
8047 * isearch.el (isearch-lazy-highlight-search): Fix looping
8048 by checking for empty match. This syncs this loop with the
8049 similar loop in `isearch-search'. (Bug#6362)
8051 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
8053 * net/dbus.el (dbus-register-method): Declare function.
8054 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
8055 (dbus-introspect): Doc fix.
8056 (dbus-event-bus-name, dbus-introspect-get-interface)
8057 (dbus-introspect-get-argument): Reflow docstrings.
8059 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
8061 vc-log-incoming/vc-log-outgoing fixes for Git.
8062 * vc-git.el (vc-git-log-view-mode): Fix font lock for
8063 incoming/outgoing logs.
8064 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
8065 instead of vc-git-compute-remote.
8066 (vc-git-compute-remote): Remove.
8068 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
8070 * term/common-win.el (x-colors): Add "dark green" and "dark
8071 turquoise" (Bug#6332).
8073 2010-06-04 Juri Linkov <juri@jurta.org>
8075 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
8076 Instead of setting `replace' to t and replacing the same string
8077 with itself, don't do certain actions when
8078 kill-do-not-save-duplicates is non-nil and string is equal to car
8079 of kill-ring: don't call menu-bar-update-yank-menu, don't push
8080 interprogram-paste strings to kill-ring, and don't push the input
8081 argument `string' to kill-ring.
8082 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
8084 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
8086 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
8088 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
8090 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
8091 (tramp-gvfs-handler-mounted-unmounted)
8092 (tramp-gvfs-connection-mounted-p): Handle default-location.
8094 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
8095 move files to trash.
8097 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
8099 * international/mule-cmds.el (nonascii-insert-offset)
8100 (nonascii-translation-table): Add obsolescence information.
8102 * international/mule.el (make-translation-table-from-vector): Doc fix.
8104 2010-06-03 Glenn Morris <rgm@gnu.org>
8106 * desktop.el (desktop-clear-preserve-buffers):
8107 Add "*Warnings*" buffer. (Bug#6336)
8109 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
8111 vc-log-incoming/vc-log-outgoing improvements for Git.
8112 * vc-git.el (vc-git-log-outgoing): Use the same format as the
8114 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
8116 Add bindings for vc-log-incoming and vc-log-outgoing.
8117 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
8118 and vc-log-outgoing.
8119 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
8120 and vc-log-outgoing.
8122 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
8124 * net/rcirc.el (rcirc-sort-nicknames): Remove.
8125 (rcirc-handler-366): Always sort nicknames.
8127 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
8129 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
8131 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
8133 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
8135 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8137 * net/rcirc.el (rcirc-sort-nicknames): Change default.
8138 (rcirc-sort-nicknames-join): Avoid setq.
8140 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8142 * net/rcirc.el (rcirc-sort-nicknames): New custom.
8143 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
8144 (rcirc-handler-366): Use them.
8146 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8148 Split smie-indent-calculate into more manageable chunks.
8149 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
8150 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
8151 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
8152 (smie-indent-exps): Extract from smie-indent-calculate.
8153 (smie-indent-functions): New var.
8154 (smie-indent-functions): Use them.
8156 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8158 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
8159 (smie-indent-calculate): Simplify and cleanup.
8161 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
8163 * net/tramp-gvfs.el (top): Require url-util.
8164 (tramp-gvfs-mount-point): Remove.
8165 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
8167 (with-tramp-dbus-call-method): Format trace message.
8168 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
8169 Implement backup call, when operation on local files fails.
8170 Use progress reporter. Flush properties of changed files.
8171 (tramp-gvfs-handle-make-directory): Make more traces.
8172 (tramp-gvfs-url-file-name): Hexify file name in url.
8173 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
8174 into account for the resulting file name.
8175 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
8176 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
8177 (tramp-gvfs-handler-mounted-unmounted)
8178 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
8179 attribute "default_location". Set "prefix" property.
8180 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
8181 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
8182 exists. Raise an error, if not (due to a corresponding answer
8183 "no" in interactive questions, for example).
8185 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
8187 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
8189 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
8191 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
8194 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
8196 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
8197 * vc-git.el (vc-git-compute-remote): New function.
8198 (vc-git-log-outgoing): Use it instead of hard coding a value.
8199 (vc-git-log-incoming): New function.
8201 Improve state updating for VC tag commands.
8202 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
8203 to update the state of all buffers in the directory.
8205 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
8207 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8209 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
8210 `file-directory-p' to the filename part rather than to the whole text.
8212 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8214 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
8216 2010-05-31 Drew Adams <drew.adams@oracle.com>
8218 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
8220 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
8222 * subr.el (momentary-string-display): Just use read-event to read
8223 the exit event (Bug#6238).
8225 2010-05-30 Eli Zaretskii <eliz@gnu.org>
8227 * international/mule.el (define-coding-system): Doc fix (bug#6313).
8229 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
8231 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
8232 Suggested by Eli Zaretskii <eliz@gnu.org>.
8234 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8236 * minibuffer.el (completion-file-name-table): Don't return a boundary
8237 past the end of `string' (bug#6299).
8238 (completion--file-name-table): Delegate to completion-file-name-table
8239 for the `boundaries' case.
8241 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
8243 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
8246 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
8247 `path-separator', but maintain compatibility with Emacs 20.2.
8249 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
8251 * server.el (server-process-filter): Receive parent-id argument
8253 (server-create-window-system-frame): New arg. Pass parent-id as
8256 2010-05-29 Eli Zaretskii <eliz@gnu.org>
8258 Bidi-sensitive word movement with arrow keys.
8259 * subr.el (right-arrow-command, left-arrow-command): Move to
8262 * bindings.el (right-char, left-char): Move from subr.el and
8263 rename from right-arrow-command and left-arrow-command.
8264 (right-word, left-word): New functions.
8265 (global-map) <right>: Bind to right-char.
8266 (global-map) <left>: Bind to left-char.
8267 (global-map) <C-right>: Bind to right-word.
8268 (global-map) <C-left>: Bind to left-word.
8270 * ls-lisp.el (ls-lisp-classify-file): New function.
8271 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
8272 (ls-lisp-classify): Call ls-lisp-classify-file.
8273 (insert-directory): Remove blanks from switches.
8275 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
8277 * ansi-color.el: Delete unused escape sequences (Bug#6085).
8278 (ansi-color-drop-regexp): New constant.
8279 (ansi-color-apply, ansi-color-filter-region)
8280 (ansi-color-apply-on-region): Delete unrecognized control sequences.
8281 (ansi-color-apply): Build string list before calling concat.
8283 2010-05-28 Juri Linkov <juri@jurta.org>
8285 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8286 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
8289 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
8291 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
8292 to ignored backtrace functions.
8293 (with-progress-reporter): Expand docstring.
8294 (tramp-handle-delete-file): Implement TRASH argument.
8295 (tramp-get-remote-trash): New defun.
8297 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
8299 * net/tramp-compat.el (tramp-compat-delete-file):
8300 Use `symbol-value' for backward compatibility.
8302 * net/tramp.el (tramp-handle-make-symbolic-link)
8304 (tramp-do-copy-or-rename-file-via-buffer)
8305 (tramp-do-copy-or-rename-file-directly)
8306 (tramp-do-copy-or-rename-file-out-of-band)
8307 (tramp-handle-process-file, tramp-handle-call-process-region)
8308 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8309 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8310 (tramp-delete-temp-file-function): Use `delete-file' instead
8311 of `tramp-compat-delete-file'.
8313 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8314 (tramp-fish-handle-make-symbolic-link)
8315 (tramp-fish-handle-process-file): Use `delete-file' instead
8316 of `tramp-compat-delete-file'.
8318 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8319 Use `delete-file' instead of `tramp-compat-delete-file'.
8321 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8322 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
8323 `tramp-compat-delete-file'.
8325 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
8326 Use `delete-file' instead of `tramp-compat-delete-file'.
8328 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8329 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8330 (tramp-smb-handle-write-region): Use `delete-file' instead of
8331 `tramp-compat-delete-file'.
8332 (tramp-smb-handle-delete-directory): Use 'trash as arg.
8334 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8336 * dired.el (dired-delete-file): New arg TRASH.
8337 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
8338 (dired-do-flagged-delete, dired-do-delete): Use trash.
8340 * speedbar.el (speedbar-item-delete): Allow trashing.
8342 * files.el (delete-directory): New arg TRASH.
8344 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
8345 (ange-ftp-rename-remote-to-remote)
8346 (ange-ftp-rename-local-to-remote)
8347 (ange-ftp-rename-remote-to-local, ange-ftp-load)
8348 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
8350 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
8353 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
8354 handle new TRASH arg of `delete-file'.
8356 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
8357 (tramp-handle-make-symbolic-link, tramp-handle-load)
8358 (tramp-do-copy-or-rename-file-via-buffer)
8359 (tramp-do-copy-or-rename-file-directly)
8360 (tramp-do-copy-or-rename-file-out-of-band)
8361 (tramp-handle-process-file, tramp-handle-call-process-region)
8362 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8363 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8364 (tramp-delete-temp-file-function): Use null TRASH arg in
8365 tramp-compat-delete-file call.
8367 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8368 (tramp-fish-handle-delete-file)
8369 (tramp-fish-handle-make-symbolic-link)
8370 (tramp-fish-handle-process-file): Use null TRASH arg in
8371 `tramp-compat-delete-file' call.
8373 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
8374 arg in `tramp-compat-delete-file' call.
8376 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8377 (tramp-gvfs-handle-write-region): Use null TRASH arg in
8378 `tramp-compat-delete-file' call.
8380 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
8381 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
8382 `tramp-compat-delete-file' call.
8384 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8385 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8386 (tramp-smb-handle-write-region): Use null TRASH arg in
8387 tramp-compat-delete-file call.
8388 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
8389 (tramp-smb-handle-delete-file): Rename arg.
8391 * diff.el (diff-sentinel):
8392 * epg.el (epg--make-temp-file, epg-decrypt-string)
8393 (epg-verify-string, epg-sign-string, epg-encrypt-string):
8394 * jka-compr.el (jka-compr-partial-uncompress)
8395 (jka-compr-call-process, jka-compr-write-region):
8396 * server.el (server-sentinel): Remove optional arg from
8397 delete-file, reverting 2010-05-03 change.
8399 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8401 * progmodes/verilog-mode.el (verilog-type-font-keywords):
8402 Use font-lock-constant-face, not obsolete font-lock-reference-face.
8404 2010-05-27 Kenichi Handa <handa@m17n.org>
8406 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
8407 element of GSTRING is nil.
8409 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8411 * emacs-lisp/smie.el (smie-forward-token-function)
8412 (smie-backward-token-function): New vars.
8413 (smie-backward-sexp, smie-forward-sexp)
8414 (smie-indent-hanging-p, smie-indent-calculate): Use them.
8415 (smie-default-backward-token): Rename from smie-backward-token and
8417 (smie-default-forward-token): Rename from smie-forward-token and
8419 (smie-next-sexp): Handle nil results from next-token.
8420 (smie-indent-calculate): Add a new case for special `fixindent' comments.
8422 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8424 * progmodes/verilog-mode.el (verilog-type-font-keywords):
8425 Use font-lock-constant-face, not obsolete font-lock-reference-face.
8427 2010-05-27 Masatake YAMATO <yamato@redhat.com>
8429 * htmlfontify.el (hfy-face-resolve-face): New function.
8430 (hfy-face-to-style): Use it (Bug#6279).
8432 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8434 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
8435 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
8437 2010-05-26 Glenn Morris <rgm@gnu.org>
8439 * emulation/edt.el (edt-load-keys): Use locate-library.
8441 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
8443 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
8444 (log-edit-changelog-entries): Doc fix.
8445 (log-edit-changelog-insert-entries): Args changed.
8446 Rename relative filenames in ChangeLog entries. Delete tabs.
8447 (log-edit-insert-changelog-entries): Reorganize return value of
8448 `log-edit-changelog-entries' to pass filenames to
8449 log-edit-changelog-insert-entries.
8451 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8453 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
8454 `image-dired-dired-insert-marked-thumbs' to
8455 `image-dired-dired-toggle-marked-thumbs'.
8457 * image-dired.el: Require cl when compiling.
8458 (image-dired-dired-toggle-marked-thumbs): Rename from
8459 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
8460 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
8461 to 'no-dir. Skip files whose names don't match
8462 `image-file-name-regexp'. When file has a thumbnail overlay,
8463 delete it. (Bug#5270)
8465 2010-05-25 Juri Linkov <juri@jurta.org>
8467 * image-mode.el (image-mode): Add image-after-revert-hook to
8469 (image-after-revert-hook): New function. (Bug#5669)
8471 2010-05-25 Juri Linkov <juri@jurta.org>
8473 * image.el (image-animated-p): When delay between animated images
8474 is 0, set it to 10 (0.1 sec). (Bug#6258)
8476 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
8478 * net/tramp.el (tramp-handle-insert-directory): Don't use
8479 `forward-word', its default syntax could be changed.
8481 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
8483 * net/tramp.el (tramp-progress-reporter-update): New defun.
8484 (with-progress-reporter): Use it.
8485 (tramp-process-actions):
8486 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
8487 Preserve current message, in order to let progress reporter continue
8488 afterwards. (Bug#6257)
8490 2010-05-25 Glenn Morris <rgm@gnu.org>
8492 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
8495 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
8497 * net/rcirc.el (rcirc-default-user-name): Change to "user".
8498 (rcirc-default-full-name): Change to "unknown".
8499 (rcirc-user-name-history): Add variable.
8501 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
8502 Jonathan Rockway <jon@jrock.us>
8504 * net/rcirc.el (rcirc-server-alist): Add :pass.
8505 (rcirc): When prompting for connection parameters, also prompt for
8506 username and password.
8507 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
8508 value to server when connecting.
8510 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8512 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
8513 (smie-merge-prec2s): Pass the tables as separate args.
8514 (smie-bnf-precedence-table): Adjust call accordingly.
8515 (smie-prec2-levels): Set levels at the end.
8517 Replace Lisp calls to delete-backward-char by delete-char.
8518 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
8519 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
8520 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
8521 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
8522 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
8523 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
8524 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
8525 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
8526 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
8527 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
8528 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
8529 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
8530 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
8531 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
8532 delete-backward-char by calls to delete-char.
8534 2010-05-25 Kenichi Handa <handa@m17n.org>
8536 * language/hebrew.el (hebrew-shape-gstring): New function.
8537 Register it in composition-function-table for all Hebrew combining
8540 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8542 * epa.el (epa--select-keys): Don't explicitly delete the window since
8543 that can fail (e.g. sole window in frame). Use dedication instead.
8545 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
8547 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
8549 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
8551 * image.el (image-refresh): Define as an alias for image-flush.
8553 * image-mode.el (image-toggle-display-image): Caller changed.
8555 2010-05-21 Juri Linkov <juri@jurta.org>
8557 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
8558 Remove "all" from grep-files-aliases. Split grep-files-aliases by
8559 whitespace, call wildcard-to-regexp on substrings and concat them
8560 with "\\|". (Bug#6114)
8562 2010-05-21 Alan Mackenzie <acm@muc.de>
8564 * progmodes/cc-engine.el (c-parse-state-get-strategy):
8565 Replace parameter `here' with `here-' and `here-plus', which sandwich
8566 any pertinent CPP construct.
8567 (c-remove-stale-state-cache-backwards): Fix a bug which happens
8568 when doing (c-parse-state) in a CPP construct: Exclude any "new"
8569 CPP construct from taking part in the scanning.
8571 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
8573 * net/tramp.el (tramp-do-copy-or-rename-file)
8574 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
8575 Tune `with-progress-reporter' messages.
8576 (tramp-handle-vc-registered):
8577 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
8578 (tramp-fish-handle-insert-file-contents)
8579 (tramp-fish-maybe-open-connection):
8580 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8581 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
8582 (tramp-imap-handle-insert-file-contents)
8583 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
8585 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
8587 * add-log.el (change-log-font-lock-keywords):
8588 Highlight all authors in multi-author entries.
8590 * smerge-mode.el (smerge-refine-ignore-whitespace)
8591 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
8592 Fix typos in docstrings.
8593 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
8595 2010-05-21 Glenn Morris <rgm@gnu.org>
8597 * progmodes/fortran.el (fortran-mode):
8598 * progmodes/f90.el (f90-mode): Derive from prog-mode.
8600 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
8601 having a relative path in src/Makefile.in.
8603 2010-05-20 Kevin Ryde <user42@zip.com.au>
8605 * help-mode.el (help-make-xrefs): For Info node links turn
8606 newlines into spaces. Link node names with newlines are matched
8607 by help-xref-info-regexp and buttonized, this change ensures they
8608 can be followed successfully with RET. (Bug#6206)
8610 2010-05-20 Juri Linkov <juri@jurta.org>
8612 * locate.el (locate): Use pop-to-buffer instead of
8613 switch-to-buffer-other-window. (Bug#6204)
8615 2010-05-20 Juri Linkov <juri@jurta.org>
8617 * replace.el (replace-highlight): Fix lazy-highlighting
8618 for `M-s w str M-% str RET'.
8620 2009-12-15 Masatake YAMATO <yamato@redhat.com>
8622 * isearch.el (isearch-yank-word-or-char): Pull next subword
8623 when `subword-mode' is activated. (Bug#6220)
8625 2010-05-20 Mark A. Hershberger <mah@everybody.org>
8627 * isearch.el (isearch-update-post-hook): New hook.
8628 (isearch-update): Use the new hook. (Bug#6225)
8630 2010-05-20 Juri Linkov <juri@jurta.org>
8632 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
8633 [f1], [help], and (char-to-string help-char) instead of "\C-h".
8636 2010-05-20 Juri Linkov <juri@jurta.org>
8638 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
8641 2010-05-20 Juri Linkov <juri@jurta.org>
8643 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
8644 FILE-NAME to read from the minibuffer when called interactively
8645 with prefix argument instead of using buffer-file-name.
8646 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
8648 * dired.el: Update autoloads.
8650 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
8652 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
8653 nxml-finish-element, for consistency with SGML mode.
8655 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
8658 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
8660 * composite.el: Require cl when compiling.
8661 (reference-point-alist, compose-gstring-for-graphic)
8662 (compose-gstring-for-terminal): Fix typos in docstrings.
8664 2010-05-19 Juri Linkov <juri@jurta.org>
8666 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
8667 set-window-parameter.
8669 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
8671 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
8673 (tramp-maybe-open-connection): Use it.
8675 2010-05-19 Eli Zaretskii <eliz@gnu.org>
8677 * simple.el (move-end-of-line): Make sure we are at line beginning
8678 before backing up to end of previous line.
8680 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
8682 * password-cache.el (password-cache-remove): Fix docstring.
8684 * net/secrets.el: Autoload the widget functions.
8685 (secrets-search-items, secrets-create-item)
8686 (secrets-get-attributes, secrets-expand-item): Attributes will be
8687 stored on the password database without leading ":", as all other
8689 (secrets-mode): Fix docstring.
8690 (secrets-show-secrets): Provide it as autoloaded command only when
8691 D-Bus support is available. Check existence of Secret Service API.
8693 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
8695 * indent.el (indent-region): Deactivate region (bug#6200).
8697 2010-05-19 Glenn Morris <rgm@gnu.org>
8699 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
8701 2010-05-19 Kenichi Handa <handa@m17n.org>
8703 * composite.el: Register compose-gstring-for-graphic in
8704 composition-function-table only for combining characters (Mn, Mc, Me).
8706 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
8708 * calc/calc-trail.el (calc-trail-isearch-forward)
8709 (calc-trail-isearch-backward): Ensure that the new window
8710 point is set correctly.
8712 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8714 * subr.el (read-quoted-char): Resolve modifiers after key
8715 remapping (bug#6212).
8717 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
8719 Add visualization code for secrets.
8720 * net/secrets.el (secrets-mode): New major mode.
8721 (secrets-show-secrets, secrets-show-collections)
8722 (secrets-expand-collection, secrets-expand-item)
8723 (secrets-tree-widget-after-toggle-function)
8724 (secrets-tree-widget-show-password): New defuns.
8726 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8728 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
8729 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
8730 handled in smie-next-sexp.
8731 (smie-indent-calculate): Provide a starting indentation (so the
8732 recursion is well-founded ;-).
8734 Fix handling of non-associative equal levels.
8735 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
8736 when it's not needed.
8737 (smie-op-left, smie-op-right): New functions.
8738 (smie-next-sexp): New function, extracted from smie-backward-sexp.
8739 Better handle equal levels to distinguish the associative case from
8740 the "multi-keyword construct" case.
8741 (smie-backward-sexp, smie-forward-sexp): Use it.
8743 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
8745 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
8747 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
8748 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
8750 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8752 Provide a simple generic indentation engine and use it for Prolog.
8753 * emacs-lisp/smie.el: New file.
8754 * progmodes/prolog.el (prolog-smie-op-levels)
8755 (prolog-smie-indent-rules): New var.
8756 (prolog-mode-variables): Use them to configure SMIE.
8757 (prolog-indent-line, prolog-indent-level): Remove.
8759 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8761 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
8762 order before computing the averages.
8764 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
8766 * calc/calc-vec.el (calc-histogram):
8767 (calcFunc-histogram): Allow vectors as inputs.
8768 (math-vector-avg): New function.
8770 * calc/calc-ext.el (math-group-float): Have the number of digits
8771 being grouped depend on the radix (Bug#6189).
8773 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
8775 * version.el (emacs-copyright, emacs-version): Don't define here,
8776 now that emacs.c defines it.
8778 2010-05-15 Eli Zaretskii <eliz@gnu.org>
8780 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
8781 "Describe Language Environment" menu item.
8783 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
8785 Bidi-sensitive movement with arrow keys.
8786 * subr.el (right-arrow-command, left-arrow-command): New functions.
8788 * bindings.el (global-map): Bind them to right and left arrow keys.
8790 Don't override standard definition of convert-standard-filename.
8791 * files.el (convert-standard-filename):
8792 Call w32-convert-standard-filename and dos-convert-standard-filename on
8793 the corresponding systems.
8795 * w32-fns.el (w32-convert-standard-filename): Rename from
8796 convert-standard-filename. Doc fix.
8798 * dos-fns.el (dos-convert-standard-filename): Doc fix.
8799 (convert-standard-filename): Don't defalias.
8800 (register-name-alist, make-register, register-value)
8801 (set-register-value, intdos): Obsolete aliases for the
8802 corresponding dos-* functions and variables.
8803 (dos-intdos): Add a doc string.
8805 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
8807 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
8808 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
8809 (math-compose-tex-func):
8810 * calc/calccomp.el (math-compose-expr):
8811 * calc/calc-ext.el (math-format-flat-expr-fancy):
8812 * calc/calc-store.el (calc-read-var-name):
8813 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
8815 * calc/calc.el (var-π, var-φ, var-γ): New variables.
8816 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
8817 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
8818 (math-standard-units): Add units.
8820 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8822 * progmodes/asm-mode.el (asm-mode):
8823 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
8825 * pcomplete.el (pcomplete-completions-at-point): New function,
8826 extracted from pcomplete-std-complete.
8827 (pcomplete-std-complete): Use it.
8829 2010-05-15 Glenn Morris <rgm@gnu.org>
8831 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8832 Remove references to CVS, RCS and Old directories.
8834 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
8836 * calc/calc-bin.el (math-format-twos-complement): Group digits when
8839 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8841 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
8842 (sh-mode-syntax-table): Give it a default value instead.
8843 (sh-header-marker): Make buffer-local.
8844 (sh-mode): Move make-local-variable to the corresponding setq.
8845 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
8846 Use complete-with-action.
8848 * simple.el (prog-mode): New (abstract) major mode.
8849 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
8850 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
8852 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
8854 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
8855 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
8856 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
8857 (sql-make-alternate-buffer-name, sql-placeholders-filter)
8858 (sql-escape-newlines-filter, sql-input-sender)
8859 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
8861 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
8863 Add TeX open-block and close-block keybindings to SGML, and vice versa.
8865 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
8866 latex-open-block and C-c / to latex-close-block.
8868 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
8869 and C-c C-e to sgml-close-tag.
8871 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
8873 * net/tramp.el (with-progress-reporter): Create reporter object
8874 only when the message would be displayed. Handle nested calls.
8875 (tramp-handle-load, tramp-handle-file-local-copy)
8876 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8877 (tramp-maybe-send-script, tramp-find-shell):
8878 Use `with-progress-reporter'.
8879 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
8882 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8883 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8884 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
8885 Use `with-progress-reporter'.
8887 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
8889 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
8890 process everytime when spellchecking from the minibuffer (bug#6143).
8892 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8894 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
8896 * dos-fns.el: Add "dos-" prefix for namespace control.
8897 (convert-standard-filename): Define as alias for
8898 dos-convert-standard-filename but only if applicable.
8900 2010-05-12 Alan Mackenzie <acm@muc.de>
8902 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
8903 Push the mark at the start of these functions when appropriate.
8905 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8907 * minibuffer.el (completion-cycle-threshold): New custom var.
8908 (completion--do-completion): Use it.
8909 (minibuffer-complete): Use cycling if appropriate.
8911 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
8913 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
8914 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
8916 2010-05-11 Juri Linkov <juri@jurta.org>
8918 * scroll-all.el (scroll-all-check-to-scroll):
8919 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
8921 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8923 * iimage.el (iimage-mode-map): Move initialization into declaration.
8924 (iimage-mode-buffer): Use with-silent-modifications.
8925 Simplify calling convention. Adjust callers.
8926 (iimage-mode): Don't run hook redundantly.
8928 * minibuffer.el (completion-pcm--pattern->regex):
8929 Fix last change (bug#6160).
8931 2010-05-10 Juri Linkov <juri@jurta.org>
8933 Remove nodes visited during Isearch from the Info history.
8934 * info.el (Info-isearch-initial-history)
8935 (Info-isearch-initial-history-list): New variables.
8936 (Info-isearch-start): Record initial values of
8937 Info-isearch-initial-history and Info-isearch-initial-history-list.
8938 Add Info-isearch-end to isearch-mode-end-hook.
8939 (Info-isearch-end): New function.
8941 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
8943 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
8944 format string, in order to work around a bug in pdksh.
8945 Reported by Gilles Pion <gpion@lfdj.com>.
8946 (tramp-handle-verify-visited-file-modtime): Do not send a command
8947 when the connection is not established.
8948 (tramp-handle-set-file-times): Simplify the check for utc.
8950 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
8952 Fix use of `filter-buffer-substring' (rework previous change).
8953 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
8954 (cua-repeat-replace-region):
8955 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
8956 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
8957 (cua-cut-region-to-global-mark): Use it.
8959 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
8961 * progmodes/sql.el: Version 2.1.
8962 (sql-product-alist): Redesign structure of product info.
8963 (sql-product, sql-user, sql-server, sql-database): Safe variables.
8964 (sql-port, sql-port-history): New variables.
8965 (sql-interactive-product): New variable.
8966 (sql-send-terminator): New variable.
8967 (sql-imenu-generic-expression): Add "Types" imenu entry.
8968 (sql-oracle-login-params, sql-sqlite-login-params)
8969 (sql-mysql-login-params, sql-solid-login-params)
8970 (sql-sybase-login-params, sql-informix-login-params)
8971 (sql-ingres-login-params, sql-ms-login-params)
8972 (sql-postgres-login-params, sql-interbase-login-params)
8973 (sql-db2-login-params, sql-linter-login-params)
8974 (sql-oracle-scan-on): New variables.
8975 (sql-mode-map): Add C-c C-i to start interactive mode.
8976 (sql-mode-menu): Update existing menu entries.
8977 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
8978 (sql-mode-oracle-font-lock-keywords)
8979 (sql-mode-postgres-font-lock-keywords)
8980 (sql-mode-ms-font-lock-keywords)
8981 (sql-mode-sybase-font-lock-keywords)
8982 (sql-mode-informix-font-lock-keywords)
8983 (sql-mode-interbase-font-lock-keywords)
8984 (sql-mode-ingres-font-lock-keywords)
8985 (sql-mode-solid-font-lock-keywords)
8986 (sql-mode-mysql-font-lock-keywords)
8987 (sql-mode-sqlite-font-lock-keywords)
8988 (sql-mode-db2-font-lock-keywords)
8989 (sql-mode-linter-font-lock-keywords): Update initialization to
8990 reduce run-time complexity.
8991 (sql-add-product, sql-del-product): New functions.
8992 (sql-set-product-feature, sql-get-product-feature): New functions.
8993 (sql-product-font-lock): Update product API.
8994 (sql-add-product-keywords): New function.
8995 (sql-highlight-product): Update product API.
8996 (sql-help-list-products): New function.
8997 (sql-help): Dynamically lists free and non-free products.
8998 (sql-get-login): Correct bug in handling history and added
9000 (sql-copy-column): Copy without properties.
9001 (sqli-input-sender): Apply filters to SQLi input.
9002 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
9003 Implement as a filter.
9004 (sql-escape-newlines-filter): Implement as a filter.
9005 (sql-remove-tabs-filter): New function.
9006 (sql-send-magic-terminator): New function.
9007 (sql-send-string): Implement magic terminator.
9008 (sql-send-region): Use `sql-send-string'.
9009 (sql-interactive-mode): Use product API.
9010 (sql-product-interactive): Use product API.
9011 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
9012 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
9013 (sql-db2, sql-linter): Use `sql-product-interactive'.
9014 (sql-connect): New function.
9015 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
9016 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
9017 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
9018 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
9021 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9023 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
9024 New custom variable.
9025 (completion-pcm--string->pattern): Use it.
9026 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
9027 Make it handle any symbol as `any'.
9028 (completion-pcm--merge-completions): Extract common suffix for the new
9029 `prefix' symbol as well.
9030 (completion-substring--all-completions): Use the new `prefix' symbol.
9032 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
9034 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
9036 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
9037 (tramp-compat-funcall): New defmacro.
9038 (tramp-compat-line-beginning-position)
9039 (tramp-compat-line-end-position)
9040 (tramp-compat-temporary-file-directory)
9041 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
9042 (tramp-compat-copy-file, tramp-compat-copy-directory)
9043 (tramp-compat-delete-file, tramp-compat-delete-directory)
9044 (tramp-compat-number-sequence, tramp-compat-process-running-p)
9045 * net/tramp.el (top, with-progress-reporter)
9046 (tramp-rfn-eshadow-setup-minibuffer)
9047 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
9048 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
9049 (tramp-completion-mode-p, tramp-check-for-regexp)
9050 (tramp-open-connection-setup-interactive-shell)
9051 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
9052 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
9053 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
9054 * net/tramp-cmds.el (tramp-cleanup-all-connections)
9055 (tramp-reporter-dump-variable, tramp-load-report-modules)
9056 (tramp-append-tramp-buffers)
9057 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
9059 * net/tramp-imap.el (top): Autoload `epg-make-context'.
9061 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9063 * progmodes/compile.el (compilation-buffer-modtime): Rename from
9064 buffer-modtime. Adjust users.
9066 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9068 * international/mule.el (auto-coding-alist): Only purecopy
9069 car of each item, not the whole list (Bug#6083).
9071 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9073 * progmodes/js.el (js-mode): Make paragraph variables local before
9074 calling c-setup-paragraph-variables (Bug#6071).
9076 2010-05-08 Eli Zaretskii <eliz@gnu.org>
9078 * composite.el (compose-region, reference-point-alist): Fix typos
9081 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9083 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
9084 gnuplot's "set" command.
9086 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9088 * abbrev.el (last-abbrev-text): Doc fix.
9089 (abbrev-prefix-mark): Don't escape parenthesis.
9091 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
9093 * composite.el (find-composition): Doc fix.
9095 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9097 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
9098 (sql-oracle-program, sql-sqlite-options)
9099 (sql-query-placeholders-and-send): Doc fixes.
9100 (sql-set-product, sql-interactive-mode): Reflow docstrings.
9101 (sql-imenu-generic-expression, sql-buffer)
9102 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
9103 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
9104 (sql-mode-sybase-font-lock-keywords)
9105 (sql-mode-informix-font-lock-keywords)
9106 (sql-mode-interbase-font-lock-keywords)
9107 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
9108 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
9109 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
9110 (sql-product-feature, sql-highlight-product)
9111 (comint-line-beginning-position, sql-rename-buffer)
9112 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
9113 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
9114 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
9115 Fix typos in docstrings.
9117 2010-05-08 Juri Linkov <juri@jurta.org>
9119 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
9120 property instead of `invisible' and `after-string' (bug#5998).
9122 2010-05-08 Juri Linkov <juri@jurta.org>
9124 * image-mode.el (image-mode-as-text): Fix typo in docstring.
9126 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9128 * filecache.el (file-cache-add-directory-list)
9129 (file-cache-add-directory-recursively): Fix typos in docstrings.
9131 2010-05-08 Kenichi Handa <handa@m17n.org>
9133 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
9134 (gujarati-composable-pattern): Fix typo.
9136 2010-05-08 Kenichi Handa <handa@m17n.org>
9138 * language/indian.el (oriya-composable-pattern)
9139 (tamil-composable-pattern, malayalam-composable-pattern):
9140 Add two-part vowels to "v" (vowel sign).
9142 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9144 * files.el (copy-directory): Handle symlinks (Bug#5982).
9146 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
9148 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
9149 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
9152 2010-05-08 Glenn Morris <rgm@gnu.org>
9154 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
9156 * minibuffer.el (completion-at-point): Doc fix.
9158 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9160 * electric.el (Electric-command-loop): Minor tweak.
9162 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
9163 better with dedicated windows.
9165 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
9167 * Version 23.2 released.
9169 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
9170 Stefan Monnier <monnier@iro.umontreal.ca>
9172 Highlight vendor specific properties.
9173 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
9174 (css-proprietary-property): New face.
9175 (css-font-lock-keywords): Use them.
9177 2010-05-07 Eli Zaretskii <eliz@gnu.org>
9179 * cus-start.el (all): Add native condition for tool-bar-* symbols.
9181 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9183 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
9184 * files.el (auto-mode-alist): Remove redundant entries.
9186 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
9187 * simple.el (auto-save-mode): Move from files.el.
9188 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
9190 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
9192 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
9194 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
9196 * mail/binhex.el (binhex-decode-region-internal)
9197 * mail/uudecode.el (uudecode-decode-region-internal)
9198 * net/dns.el (dns-read-string-name, dns-write, dns-read)
9199 (dns-read-type, dns-query)
9200 * pgg-parse.el (pgg-parse-armor)
9201 * pgg.el (pgg-verify-region)
9202 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
9205 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
9207 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
9209 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
9211 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
9212 * emulation/cua-base.el (cua-repeat-replace-region):
9213 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9214 (cua-cut-region-to-global-mark):
9215 Remove text properties with `set-text-properties'.
9217 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
9219 * net/tramp.el (top, with-progress-reporter):
9220 Use `symbol-function' inside `funcall'.
9222 * net/tramp-compat.el (tramp-compat-file-attributes)
9223 (tramp-compat-delete-file, tramp-compat-delete-directory):
9224 Handle only `wrong-number-of-arguments' error.
9226 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
9227 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
9230 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9232 * minibuffer.el (completion--sreverse, completion--common-suffix):
9234 (completion-pcm--merge-completions): Extract common suffix when safe.
9236 * emacs-lisp/easy-mmode.el (define-minor-mode):
9237 Make :variable more flexible.
9238 * files.el (auto-save-mode): Use it to define using define-minor-mode.
9240 2010-05-05 Juri Linkov <juri@jurta.org>
9242 Add `slow' and `history' tags to the desktop data.
9244 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
9245 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
9246 (Info-finder-find-node): Require `finder.el' to be able
9247 to restore node from the desktop.
9248 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
9249 data `Info-history' and `slow' tag in the assoc list.
9250 (Info-restore-desktop-buffer): Don't restore nodes with the
9251 `slow' tag. Restore `Info-history'.
9253 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
9255 Add FORCE argument to `delete-file'.
9257 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
9258 forcing to delete the temporary file.
9259 (ange-ftp-delete-file): Add FORCE arg.
9260 (ange-ftp-rename-remote-to-remote)
9261 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
9262 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
9263 Force file deletion.
9265 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
9267 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
9268 (tramp-handle-make-symbolic-link, tramp-handle-load)
9269 (tramp-do-copy-or-rename-file-via-buffer)
9270 (tramp-do-copy-or-rename-file-directly)
9271 (tramp-do-copy-or-rename-file-out-of-band)
9272 (tramp-handle-process-file, tramp-handle-call-process-region)
9273 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9274 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9275 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
9277 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
9278 (tramp-fish-handle-make-symbolic-link)
9279 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
9281 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9282 Use `tramp-compat-delete-file'.
9284 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
9285 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
9287 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
9288 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
9290 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
9291 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
9292 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
9293 Use `tramp-compat-delete-file'.
9295 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9298 * subr.el (add-minor-mode): Use push.
9299 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
9300 * emulation/edt.el (edt-select-mode): Simplify.
9302 Use define-minor-mode in more cases.
9303 * term/tvi970.el (tvi970-set-keypad-mode):
9304 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9305 (normal-erase-is-backspace-mode):
9306 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
9307 (set-scroll-bar-mode-1): (Re)move to its sole caller.
9308 (get-scroll-bar-mode): New function.
9309 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
9311 Use define-minor-mode for less obvious cases.
9312 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
9313 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
9314 * international/iso-ascii.el (iso-ascii-mode):
9315 * frame.el (auto-raise-mode, auto-lower-mode):
9316 * composite.el (global-auto-composition-mode): Use define-minor-mode.
9318 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
9320 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
9321 in order to see error messages for failed logins.
9323 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
9325 * diff.el (diff-sentinel):
9327 * epg.el (epg--make-temp-file, epg-decrypt-string)
9328 (epg-verify-string, epg-sign-string, epg-encrypt-string):
9330 * jka-compr.el (jka-compr-partial-uncompress)
9331 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
9333 * server.el (server-sentinel): Use delete-file's new FORCE arg
9336 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9338 Use define-minor-mode where applicable.
9339 * view.el (view-mode):
9340 * type-break.el (type-break-query-mode)
9341 (type-break-mode-line-message-mode):
9342 * textmodes/reftex.el (reftex-mode):
9343 * term/vt100.el (vt100-wide-mode):
9344 * tar-mode.el (tar-subfile-mode):
9345 * savehist.el (savehist-mode):
9346 * ibuf-ext.el (ibuffer-auto-mode):
9347 * composite.el (auto-composition-mode):
9348 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9349 Use define-minor-mode.
9350 (vhdl-mode): Use static mode-line format.
9351 (vhdl-mode-line-update): Delete.
9352 (vhdl-create-mode-menu, vhdl-activate-customizations)
9353 (vhdl-hs-minor-mode): Don't bother calling it.
9355 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
9357 * simple.el (with-wrapper-hook): Move.
9358 (buffer-substring-filters): Mark obsolete.
9359 (filter-buffer-substring-functions): New variable.
9360 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
9362 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
9363 Michael Albinus <michael.albinus@gmx.de>
9365 Implement compression for inline methods.
9367 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
9368 (tramp-copy-size-limit): Allow also nil.
9369 (tramp-inline-compress-commands): New defconst.
9370 (tramp-find-inline-compress, tramp-get-inline-compress)
9371 (tramp-get-inline-coding): New defuns.
9372 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
9373 replaced by `tramp-get-inline-coding'.
9374 (tramp-handle-file-local-copy, tramp-handle-write-region)
9375 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
9377 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9379 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
9380 Remove unused functions.
9382 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
9383 Set find-tag-default-function as a variable rather than a property.
9385 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
9386 * progmodes/etags.el (tags-completion-at-point-function):
9387 Remove left over interactive spec. Add autoloading stub.
9388 (complete-tag): Use tags-completion-at-point-function.
9390 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
9392 * minibuffer.el (tags-completion-at-point-function): Fix return value.
9394 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
9396 * ido.el (ido-init-completion-maps): Remove C-v binding.
9397 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
9399 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
9401 * minibuffer.el (tags-completion-at-point-function): New function.
9402 (completion-at-point-functions): Use it.
9404 * progmodes/etags.el (complete-tag): Revert last change.
9406 2010-04-29 Alan Mackenzie <acm@muc.de>
9408 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
9409 off-by-one error (in end of macro position).
9411 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9413 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
9414 firefox is absent. Don't autoload.
9415 (browse-url-galeon-program): Don't autoload.
9417 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
9419 * bindings.el (complete-symbol): Move into minibuffer.el.
9421 * minibuffer.el (complete-tag): Move from etags.el. If tags
9422 completion cannot be performed, return nil instead of signalling
9424 (completion-at-point): Make it an alias for complete-symbol.
9425 (complete-symbol): Move from bindings.el, and replace with the
9426 body of completion-at-point.
9428 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
9430 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
9432 * net/tramp.el (tramp-remote-selinux-p): New defun.
9433 (tramp-handle-file-selinux-context)
9434 (tramp-handle-set-file-selinux-context): Use it.
9436 2010-04-28 Sam Steingold <sds@gnu.org>
9438 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9439 `safe-local-variable' if the value is a string or a symbol with
9440 the property `bug-reference-url-format'.
9442 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
9444 * progmodes/bug-reference.el (bug-reference-url-format):
9445 Revert 2010-04-27 change due to security risk.
9447 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9449 Make it possible to locally disable a globally enabled mode.
9450 * simple.el (fundamental-mode): Run fundamental-mode-hook.
9451 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
9452 rather than kill-all-local-variables so it runs fundamental-mode-hook.
9453 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9454 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
9455 that subsequent hooks get a chance to disable it.
9457 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9459 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9460 Avoid re-enabling a minor mode after the user turned the minor mode
9461 off if MODE-enable-in-buffers is run twice (typically once from
9462 fundamental-mode's after-change-major-mode-hook and a second time from
9463 run-mode-hook's own after-change-major-mode-hook).
9465 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
9467 2010-04-27 Sam Steingold <sds@gnu.org>
9469 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9470 `safe-local-variable' if the value is a string or a function, as
9471 documented and implemented on 2010-04-02.
9473 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
9475 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
9476 when method is 'kill.
9478 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
9480 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
9481 condition in default directory check.
9482 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
9483 Kill ispell process when killing its associated buffer.
9485 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
9487 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
9488 but we aren't using it.
9490 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
9492 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
9493 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
9495 2010-04-24 Glenn Morris <rgm@gnu.org>
9497 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
9498 Ignore VCS-ignore files, and deleted nextstep preferences files.
9499 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
9500 (authors-ambiguous-files): New list.
9501 (authors-valid-file-names): Add some deleted files.
9502 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
9503 (authors-disambiguate-file-name): New function. (Bug#5501)
9504 (authors-canonical-file-name): Doc fix.
9505 Don't warn about obsolete files.
9506 (authors-canonical-file-name, authors-scan-el):
9507 Use authors-disambiguate-file-name.
9509 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9510 Add autoload cookies.
9511 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
9512 (generated-autoload-file): Set file-local value to "htmlfontify.el".
9513 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
9514 They have definitions / compiler macros in cl.el.
9515 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9516 Replace manual autoloads with generated ones.
9517 (htmlfontify-unload-rgb-file): Remove autoload.
9518 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
9520 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9522 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
9523 (byte-compile-setq-default): Optimize for the
9524 single-var case and don't call byte-compile-form in this case to avoid
9525 inf-loop with byte-compile-set-default.
9527 * progmodes/compile.el (compilation-start): Abbreviate default directory.
9529 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
9531 Implement SELINUX backends.
9533 * net/tramp.el (tramp-file-name-handler-alist):
9534 Add `file-selinux-context' and `set-file-selinux-context'.
9535 (tramp-handle-file-selinux-context)
9536 (tramp-handle-set-file-selinux-context): New defuns.
9537 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
9538 Handle PRESERVE-SELINUX-CONTEXT.
9540 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9541 Add `file-selinux-context' and `set-file-selinux-context'.
9542 (tramp-gvfs-handle-file-selinux-context)
9543 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
9544 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
9546 * net/ange-ftp.el (ange-ftp-copy-file):
9547 * net/tramp-fish.el (tramp-fish-handle-copy-file):
9548 * net/tramp-imap.el (tramp-imap-handle-copy-file):
9549 * net/tramp-smb.el (tramp-smb-handle-copy-file):
9550 Add PRESERVE-SELINUX-CONTEXT.
9552 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9554 Synchronize with Tramp repository.
9556 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
9557 (tramp-action-process-alive, tramp-action-out-of-band)
9558 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
9559 (tramp-exists-file-name-handler): Fix docstring.
9560 (with-progress-reporter): New defmacro.
9561 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
9562 (tramp-maybe-open-connection): Use it.
9564 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
9566 Detect ssh 'ControlMaster' argument automatically in some cases.
9568 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
9569 (tramp-default-method): Use it.
9571 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9573 * net/tramp.el (tramp-handle-copy-file): Add new optional
9574 parameter `preserve-selinux-context'.
9575 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
9577 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9579 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
9580 Ensure, that non remote files are still checked. Oops.
9582 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
9586 * icomplete.el (icomplete-completions): Use `non-essential'.
9588 * net/tramp.el (tramp-connectable-p): New defun.
9589 (tramp-handle-expand-file-name)
9590 (tramp-completion-handle-file-name-all-completions)
9591 (tramp-completion-handle-file-name-completion): Use it.
9593 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9595 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
9597 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
9599 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
9601 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
9603 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
9606 * info.el (info-tool-bar-map): Add labels.
9608 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
9610 * cus-edit.el (custom-commands): Add labels for tool bar.
9611 (custom-buffer-create-internal, Custom-mode): Adjust for
9612 labels in custom-commands.
9614 * dynamic-setting.el: Renamed from font-setting.el.
9616 2010-04-21 John Wiegley <jwiegley@gmail.com>
9618 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
9619 toggles the use of virtual buffers.
9620 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
9621 (ido-toggle-virtual-buffers): New function.
9623 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
9625 Use `define-derived-mode'; fix window selection; doc fixes.
9626 * play/tetris.el (tetris, tetris-update-speed-function)
9627 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
9628 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
9629 (tetris-rotate-next, tetris-end-game, tetris-start-game)
9630 (tetris-pause-game): Fix typos in docstrings.
9631 (tetris-mode-map, tetris-null-map):
9632 Move initialization into declaration.
9633 (tetris-mode): Define with `define-derived-mode';
9634 set show-trailing-whitespace to nil.
9635 (tetris): Prefer window already displaying the "*Tetris*" buffer.
9637 2010-04-21 Karel Klíč <kklic@redhat.com>
9639 * files.el (backup-buffer): Handle SELinux context, and return it
9640 if a backup was made by renaming.
9641 (backup-buffer-copy): Set SELinux context to the target file.
9642 (basic-save-buffer): Set SELinux context of the newly written file.
9643 (basic-save-buffer-1): Now it also returns any SELinux context.
9644 (basic-save-buffer-2): Set SELinux context of the newly created file,
9646 * net/tramp.el (tramp-file-name-for-operation):
9647 Add file-selinux-context.
9649 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9651 Make the log-edit comments use RFC822 format throughout.
9653 * vc.el (vc-checkin, vc-modify-change-comment):
9654 Adjust to new vc-start/finish-logentry.
9655 (vc-find-conflicted-file): New command.
9656 (vc-transfer-file): Adjust to new vc-checkin.
9657 (vc-next-action): Improve scoping.
9659 * vc-hg.el (vc-hg-log-edit-mode): Remove.
9660 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
9662 * vc-git.el (vc-git-log-edit-mode): Remove.
9663 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
9664 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
9666 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
9667 (vc-start-logentry): Remove argument `extra'.
9668 (vc-finish-logentry): Remove extra args.
9670 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
9671 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
9672 (vc-bzr-conflicted-files): New function.
9674 * log-edit.el (log-edit-extra-flags)
9675 (log-edit-before-checkin-process): Remove.
9676 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
9677 (log-edit-headers-alist): New var.
9678 (log-edit-header-contents-regexp): New const.
9679 (log-edit-match-to-eoh): New function.
9680 (log-edit-font-lock-keywords): Use them.
9681 (log-edit): Insert a "Summary:" header as default.
9682 (log-edit-mode): Mark font-lock rules as case-insensitive.
9683 (log-edit-done): Cleanup headers.
9684 (log-view-process-buffer): Remove.
9685 (log-edit-extract-headers): New function to replace it.
9687 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
9689 * subr.el (default-direction-reversed): Remove obsolescence info.
9691 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9693 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
9696 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
9697 I.e. include text after point in the completion region.
9698 Also, return nil when we're not after/in a symbol.
9700 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
9701 default enable-multibyte-characters.
9703 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9705 * international/mule.el: Help the user choose a valid coding-system.
9706 (read-buffer-file-coding-system): New function.
9707 (set-buffer-file-coding-system): Use it. Prompt the user if the
9708 coding-system cannot encode all the chars.
9710 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
9711 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
9712 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
9713 Don't use *vc-bzr-shelve*.
9715 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
9717 Fix the version number for added files.
9718 * vc-hg.el (vc-hg-working-revision): Check if the file is
9719 registered after hg parent fails (Bug#5961).
9721 2010-04-19 Glenn Morris <rgm@gnu.org>
9723 * htmlfontify.el (htmlfontify-buffer)
9724 (htmlfontify-copy-and-link-dir): Autoload entry points.
9726 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
9728 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
9729 name relative to the project root (Bug#5960).
9731 2010-04-19 Glenn Morris <rgm@gnu.org>
9733 * vc-git.el (vc-git-print-log): Doc fix.
9735 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
9737 * ido.el (ido-file-internal): Fix 2009-12-02 change.
9739 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
9741 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
9742 default settings (Bug#5928).
9744 2010-04-19 Glenn Morris <rgm@gnu.org>
9746 * progmodes/fortran.el (fortran-match-and-skip-declaration):
9748 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
9750 2010-04-19 Kenichi Handa <handa@m17n.org>
9752 * language/indian.el (malayalam-composable-pattern): Fix previous
9753 change (add U+0D4D "SIGN VIRAMA").
9754 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
9755 (tamil-composable-pattern): Fix typo in the regexp.
9756 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
9757 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
9758 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
9760 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
9762 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
9763 paragraph-separate (Bug#5821).
9765 2010-04-19 Juri Linkov <juri@jurta.org>
9767 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
9769 * info.el (Info-find-node-2): Comment out code that skips
9771 (Info-mouse-follow-link): New command.
9772 (Info-link-keymap): New keymap.
9773 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
9774 Return a string with links instead of inserting breadcrumbs
9776 (Info-fontify-node): Comment out code that inserts breadcrumbs.
9777 Instead of putting the `invisible' text property over the Info
9778 header, make an overlay over the Info header with the `invisible'
9779 property and `after-string' set to the string returned by
9782 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
9784 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
9785 Reported by monkey@sandpframing.com.
9787 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9789 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
9790 (tmm-get-keymap): Add key-binding shortcuts now that they're not
9791 available in the "keyseq cache" any more.
9793 * custom.el (defcustom): Add edebug spec.
9795 2010-04-18 Juri Linkov <juri@jurta.org>
9797 Test for special mode-class in view-buffer instead of view-file (bug#5513).
9799 * view.el (view-file, view-buffer): Move test for special mode-class
9800 from view-file to view-buffer.
9802 * tar-mode.el (tar-extract): Turn if's into one cond
9803 like in arc-mode.el.
9805 2010-04-18 Juri Linkov <juri@jurta.org>
9807 Add 7z archive format support (bug#5475).
9809 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
9810 (archive-7z-extract): New defcustom.
9811 (archive-find-type): Add magic string for 7z.
9812 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
9813 If `stderr-file' is non-nil, use `(t stderr-file)' for the
9814 `buffer' arg of `call-process'.
9815 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
9816 call the function `archive-7z-extract' with the variable
9817 `archive-7z-extract' let-bound to `archive-zip-extract'.
9818 (archive-7z-summarize, archive-7z-extract): New functions.
9820 * international/mule.el (auto-coding-alist):
9821 * files.el (auto-mode-alist): Add 7z file extension.
9823 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9825 * loadup.el: Setup hash-cons for pure data.
9827 Fix duplicate entries in cedet's loaddefs.el files.
9828 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
9829 Should make most file-local generated-autoload-file unnecessary.
9830 (print-readably): Silence warnings.
9831 (autoload-find-destination): Take load-name as an arg to make sure
9832 it's the same as the one that will be in the file.
9833 (autoload-generate-file-autoloads): Adjust to above changes.
9834 Try to make the dataflow a bit simpler.
9836 * cvs-status.el (cvs-refontify): Remove unused.
9838 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
9840 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
9842 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
9843 twos-complement mode.
9845 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
9847 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
9848 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
9849 (calc-inverse): Add "Option" to message, as appropriate.
9850 (calc-hyperbolic): Add "Option" to message, as appropriate.
9851 (calc-option, calc-is-option): New functions.
9853 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
9854 (calc-option-prefix-help): New function.
9856 * calc/calc-misc.el (calc-help): Add "Option" entry.
9858 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
9859 (calc-option-flag): New variable.
9860 (calc-do): Set `calc-option-flag to nil.
9861 (calc-set-mode-line): Add "Opt " as appropriate.
9863 2010-04-16 Juri Linkov <juri@jurta.org>
9865 Move scrolling commands from simple.el to window.el
9866 because their primitives are implemented in window.c.
9868 * simple.el (scroll-error-top-bottom)
9869 (scroll-up-command, scroll-down-command, scroll-up-line)
9870 (scroll-down-line, scroll-other-window-down)
9871 (beginning-of-buffer-other-window, end-of-buffer-other-window):
9872 * window.el (scroll-error-top-bottom)
9873 (scroll-up-command, scroll-down-command, scroll-up-line)
9874 (scroll-down-line, scroll-other-window-down)
9875 (beginning-of-buffer-other-window, end-of-buffer-other-window):
9876 Move from simple.el to window.el because their primitives are
9877 implemented in window.c.
9879 2010-04-16 Juri Linkov <juri@jurta.org>
9881 * isearch.el (isearch-lookup-scroll-key): Check both
9882 `isearch-scroll' and `scroll-command' properties.
9883 (scroll-up, scroll-down): Remove `isearch-scroll' property.
9885 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
9887 * simple.el (scroll-up-command, scroll-down-command)
9888 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
9890 2010-04-15 Juri Linkov <juri@jurta.org>
9892 * simple.el (scroll-up-command, scroll-down-command)
9893 (scroll-up-line, scroll-down-line): Put `scroll-command'
9894 property on the these symbols. Remove them from
9895 `scroll-preserve-screen-position-commands'.
9897 * mwheel.el (mwheel-scroll): Put `scroll-command' and
9898 `isearch-scroll' properties on the `mwheel-scroll' symbol.
9899 Remove it from `scroll-preserve-screen-position-commands'.
9901 * isearch.el (isearch-allow-scroll): Doc fix.
9903 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
9905 * net/tramp.el (tramp-error-with-buffer): Don't show the
9906 connection buffer when we are in completion mode.
9907 (tramp-file-name-handler): Catch the error for some operations
9908 when we are in completion mode. This gives the user the chance to
9909 correct the file name in the minibuffer.
9911 2010-04-15 Glenn Morris <rgm@gnu.org>
9913 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
9915 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
9917 Simplify by using `define-derived-mode'.
9918 * info.el (Info-mode):
9919 * calendar/todo-mode.el (todo-mode):
9920 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
9921 (gomoku-mode-map): Move initialization into declaration.
9923 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
9926 * ido.el (ido-file-name-all-completions-1):
9927 * minibuffer.el (minibuffer-completion-help):
9928 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
9930 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9932 * simple.el (non-essential): New var.
9934 Add a new field `location' to bookmarks for non-file bookmarks.
9935 * bookmark.el (bookmark-location): Use the new field, if present.
9936 (bookmark-insert-location): Undo last change, not needed any more.
9937 * man.el (Man-bookmark-make-record):
9938 * woman.el (woman-bookmark-make-record): Add `location' field.
9940 2010-04-14 Juri Linkov <juri@jurta.org>
9942 * simple.el (scroll-error-top-bottom): New defcustom.
9943 (scroll-up-command, scroll-down-command): Use it. Doc fix.
9945 * emulation/pc-select.el (pc-select-override-scroll-error):
9946 Obsolete in favor of `scroll-error-top-bottom'.
9948 2010-04-14 Juri Linkov <juri@jurta.org>
9950 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
9951 `scroll-up-command' and `M-v' to `scroll-down-command'.
9953 * emulation/cua-rect.el (cua--init-rectangles):
9954 * forms.el (forms--change-commands):
9955 * image-mode.el (image-mode-map):
9956 Remap scroll-down-command and scroll-up-command
9957 in addition to scroll-down and scroll-up.
9959 2010-04-14 Juri Linkov <juri@jurta.org>
9961 * mwheel.el (scroll-preserve-screen-position-commands):
9962 Add mwheel-scroll to this list of commands.
9964 * simple.el (scroll-preserve-screen-position-commands):
9965 Add scroll-up-command, scroll-down-command, scroll-up-line,
9966 scroll-down-line to this list of commands.
9968 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9970 * obsolete/complete.el: Move from lisp/complete.el.
9972 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
9974 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
9975 to the minor mode function now turns the mode ON unconditionally.
9977 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9979 * vc-dir.el (vc-dir-kill-line): New command.
9980 (vc-dir-mode-map): Bind it to C-k.
9982 * bookmark.el (bookmark-insert-location): Handle a nil filename.
9984 * woman.el: Add bookmark declarations to silence the compiler.
9985 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
9986 step to compatibility between man and woman bookmarks.
9987 Adjust for Man-default-bookmark-title renaming.
9988 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
9990 * man.el: Add bookmark declarations to silence the compiler.
9991 (Man-name-local-regexp): Make it match NAME as well.
9992 (Man-getpage-in-background): Return the buffer.
9993 (Man-notify-when-ready): Use `case'.
9994 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
9995 Don't hardcode "NAME". Simplify.
9996 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
9997 Rename from Man-bookmark-make-record.
9998 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
9999 we have the actual man-args. Use Man-getpage-in-background rather
10000 than `man' since the arg is already processed. Let bookmark.el do the
10001 window handling. Only wait for the relevant process.
10002 Don't forget to autoload.
10004 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
10006 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10008 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
10010 (woman-mode): Setup bookmark support.
10012 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
10013 (man-bookmark-jump): New functions.
10014 (Man-mode): Setup bookmark support.
10016 2010-04-10 Jari Aalto <jari.aalto@cante.net>
10018 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
10019 recognize ssh-keygen prompt (Bug#2817).
10021 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10023 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
10025 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10027 Synchronize with Tramp repository.
10029 * net/tramp.el (tramp-completion-function-alist)
10030 (tramp-file-name-regexp, tramp-chunksize)
10031 (tramp-local-coding-commands, tramp-remote-coding-commands):
10033 (tramp-remote-process-environment): Use `format' instead of `concat'.
10034 (tramp-handle-directory-files-and-attributes)
10035 (tramp-get-remote-path): Use `copy-tree'.
10036 (tramp-handle-file-name-all-completions): Backward/ XEmacs
10037 compatibility: Use `completion-ignore-case' if
10038 `read-file-name-completion-ignore-case' does not exist.
10039 (tramp-do-copy-or-rename-file-directly): Do not use
10040 `tramp-handle-file-remote-p'.
10041 (tramp-do-copy-or-rename-file-out-of-band):
10042 Use `tramp-compat-delete-directory'.
10043 (tramp-do-copy-or-rename-file-out-of-band)
10044 (tramp-compute-multi-hops, tramp-maybe-open-connection):
10045 Use `format-spec-make'.
10046 (tramp-find-foreign-file-name-handler)
10047 (tramp-advice-make-auto-save-file-name)
10048 (tramp-set-auto-save-file-modes): Remove superfluous check for
10049 `stringp'. This is done inside `tramp-tramp-file-p'.
10050 (tramp-debug-outline-regexp): New defconst.
10051 (tramp-get-debug-buffer): Use it.
10052 (tramp-check-for-regexp): Use (forward-line 1).
10053 (tramp-set-auto-save-file-modes): Adapt version check.
10055 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
10056 Wrap call of `featurep' for 2nd argument.
10057 (tramp-compat-make-temp-file): Simplify fallback implementation.
10058 (tramp-compat-copy-tree): Remove function.
10059 (tramp-compat-delete-directory): Provide implementation for older
10062 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
10063 Do not use `tramp-fish-handle-file-attributes.
10065 * net/trampver.el: Update release number.
10067 2010-04-10 Glenn Morris <rgm@gnu.org>
10069 * progmodes/compile.el (compilation-save-buffers-predicate):
10070 Add missing :version tag.
10072 2010-04-09 Sam Steingold <sds@gnu.org>
10074 * progmodes/compile.el (compilation-save-buffers-predicate):
10075 Remove the "autoload" cookie.
10077 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
10078 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
10079 and `bug-reference-prog-mode' can be used in hooks directly.
10081 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
10083 Add --author support to git commit.
10084 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
10085 (vc-git-log-edit-mode): New minor mode.
10086 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
10089 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
10091 * vc-hooks.el, vc-git.el: Improve documentation comments.
10093 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10095 Fix some of the problems in defsubst* (bug#5728).
10096 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
10097 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
10099 2010-04-07 Sam Steingold <sds@gnu.org>
10101 * progmodes/compile.el (compilation-save-buffers-predicate):
10102 New custom variable.
10103 (compile, recompile): Pass it to `save-some-buffers'.
10105 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
10107 * wid-edit.el (widget-choose): Move cursor to the second line of
10108 the buffer (Bug#5695).
10110 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
10112 Add new VC methods: vc-log-incoming and vc-log-outgoing.
10113 * vc.el (vc-print-log-setup-buttons): New function split out from
10114 vc-print-log-internal.
10115 (vc-log-internal-common): New function, a parametrized version of
10116 vc-print-log-internal.
10117 (vc-print-log-internal): Just call vc-log-internal-common with the
10119 (vc-incoming-outgoing-internal):
10120 (vc-log-incoming, vc-log-outgoing): New functions.
10121 (vc-log-view-type): New permanent local variable.
10123 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
10125 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
10126 of the dynamic bound vc-short-log.
10127 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
10129 * vc-git.el (vc-git-log-outgoing): New function.
10130 (vc-git-log-view-mode): Use vc-log-view-type instead
10131 of the dynamic bound vc-short-log.
10133 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
10134 of the dynamic bound vc-short-log. Highlight the tag.
10135 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
10136 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
10137 (vc-hg-incoming-mode): Remove.
10138 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
10140 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
10142 Fix default-directory for vc-root-diff.
10143 * vc.el (vc-root-diff): Bind default-directory to the root
10144 directory for the diff command.
10146 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
10148 * progmodes/verilog-mode.el (verilog-forward-sexp):
10149 (verilog-calc-1): Support "disable fork" and "fork wait" multi
10150 word keywords, suggested by Steve Pearlmutter.
10151 (verilog-pretty-declarations): Support lineup of declarations in
10153 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
10154 fix bug for /* / comments.
10155 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
10156 Speed up and simplfy as this is never called with a bound.
10157 (verilog-pretty-declarations): Enhance to line up declarations
10158 inside a parameter list, suggested by Alan Morgan.
10159 (verilog-pretty-expr): Tune assignment regular expression match
10160 string for corner cases; also use markers instead of character
10161 number as indent changes the later.
10163 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
10165 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
10166 as missing keyword.
10167 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
10168 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
10169 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
10170 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
10172 (verilog-keywords):
10173 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
10174 1800-2009 keywords, including "global.".
10176 2010-04-06 John Wiegley <jwiegley@gmail.com>
10178 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
10179 appearing in buffer list (if a live buffer name matched a recentf
10180 file basename). Should use uniquify to offer a real solution.
10182 2010-04-06 John Wiegley <jwiegley@gmail.com>
10184 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
10185 comment to code, and add a :version tag.
10186 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
10188 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
10190 Enable recentf-mode if using virtual buffers.
10191 * ido.el (recentf-list): Declare for byte-compiler.
10192 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
10193 (ido-make-buffer-list): Simplify.
10194 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
10196 2010-04-05 Juri Linkov <juri@jurta.org>
10198 Scrolling commands which scroll a line instead of full screen.
10199 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10201 * simple.el (scroll-up-line, scroll-down-line): New commands.
10202 Put property isearch-scroll=t on them.
10204 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
10207 2010-04-05 Juri Linkov <juri@jurta.org>
10209 Scrolling commands which do not signal errors at top/bottom.
10210 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10212 * simple.el (scroll-up-command, scroll-down-command): New commands.
10213 Put property isearch-scroll=t on them.
10215 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
10216 `scroll-down-command' and [next] from `scroll-up' to
10217 `scroll-up-command'.
10219 * emulation/cua-base.el: Put property CUA=move on
10220 `scroll-up-command' and `scroll-down-command'.
10221 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
10222 and `scroll-down-command' to `cua-scroll-down'.
10224 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
10226 * help.el (describe-mode): Return nil.
10228 2010-04-04 John Wiegley <jwiegley@gmail.com>
10230 * ido.el (ido-use-virtual-buffers): New variable to indicate
10231 whether "virtual buffer" support is enabled for IDO.
10232 (ido-virtual): Face used to indicate virtual buffers in the list.
10233 (ido-buffer-internal): If a buffer is chosen, and no such buffer
10234 exists, but a virtual buffer of that name does (which would be why
10235 it was in the list), recreate the buffer by reopening the file.
10236 (ido-make-buffer-list): If virtual buffers are being used, call
10237 `ido-add-virtual-buffers-to-list' before the make list hook.
10238 (ido-virtual-buffers): New variable which contains a copy of the
10239 current contents of the `recentf-list', albeit pared down for the
10240 sake of speed, and with proper faces applied.
10241 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
10242 create a list of "virtual buffers" to present to the user in
10243 addition to the currently open set. Note that this logic could
10244 get rather slow if that list is too large. With the default
10245 `recentf-max-saved-items' of 200, there is little speed penalty.
10247 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
10249 * font-lock.el: Require CL when compiling.
10250 (font-lock-turn-on-thing-lock): Use `case'.
10252 2010-04-03 Eli Zaretskii <eliz@gnu.org>
10254 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
10257 2010-04-02 Juri Linkov <juri@jurta.org>
10259 * ehelp.el (electric-help-orig-major-mode):
10260 New buffer-local variable.
10261 (electric-help-mode): Set it to original major-mode. Doc fix.
10262 (with-electric-help): Use `electric-help-orig-major-mode' instead
10263 of (default-value 'major-mode). Doc fix.
10264 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
10266 2010-04-02 Sam Steingold <sds@gnu.org>
10268 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
10269 `vc-hg-command' with a list of flags.
10271 * progmodes/bug-reference.el (bug-reference-bug-regexp):
10272 Also accept "patch" and "RFE".
10273 (bug-reference-fontify): `bug-reference-url-format' can also be a
10274 function to be able to handle the bug kind.
10275 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
10277 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
10279 * tmm.el (tmm-get-keymap): Check with symbolp before passing
10280 value to fboundp, it may not be a symbol.
10282 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10284 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
10286 2010-03-31 Juri Linkov <juri@jurta.org>
10288 * simple.el (next-line, previous-line): Re-throw a signal
10289 with `signal' instead of using `ding'.
10290 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
10292 2010-03-31 Juri Linkov <juri@jurta.org>
10294 * simple.el (keyboard-escape-quit): Raise deselecting the active
10295 region higher than exiting the minibuffer.
10296 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
10298 2010-03-31 Juri Linkov <juri@jurta.org>
10300 * image.el (image-animated-p): Use `image-metadata' instead of
10301 `image-extension-data'. Get GIF extenstion data from metadata
10302 property `extension-data'.
10304 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10306 * simple.el (append-to-buffer): Simplify.
10308 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
10310 * textmodes/artist.el (artist-mode): Fix typo in docstring.
10311 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
10313 2010-03-31 Kenichi Handa <handa@m17n.org>
10315 * language/sinhala.el (composition-function-table): Fix regexp for
10316 the new Unicode specification.
10318 * language/indian.el (devanagari-composable-pattern)
10319 (tamil-composable-pattern, kannada-composable-pattern)
10320 (malayalam-composable-pattern): Adjust for the new Unicode
10322 (bengali-composable-pattern, gurmukhi-composable-pattern)
10323 (gujarati-composable-pattern, oriya-composable-pattern)
10324 (telugu-composable-pattern): New variables to cope with the new
10325 Unicode specification. Use them in composition-function-table.
10327 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10329 Make tmm-menubar work for the Buffers menu again (bug#5726).
10330 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
10331 vectors rather than cons cells, as used in menu-bar-update-buffers.
10333 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10335 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
10336 (js-insert-and-indent): Revert 2009-08-15 change, restoring
10337 electric punctuation for "{}();,:" (Bug#5586).
10339 * mail/sendmail.el (mail-default-directory): Doc fix.
10341 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10343 * mail/sendmail.el (mail-default-directory): Doc fix.
10345 2010-03-31 Eli Zaretskii <eliz@gnu.org>
10347 * subr.el (version-regexp-alist, version-to-list)
10348 (version-list-<, version-list-=, version-list-<=)
10349 (version-list-not-zero, version<, version<=, version=): Doc fix.
10352 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
10354 * vc.el (vc-root-diff): Doc fix.
10356 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10358 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
10360 * simple.el (append-to-buffer): Fix last change.
10362 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10364 * simple.el (append-to-buffer): Ensure that point is preserved if
10365 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
10368 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10370 * files.el (auto-mode-case-fold): Change default to t.
10372 2010-03-30 Juri Linkov <juri@jurta.org>
10374 * dired-x.el (dired-omit-mode): Doc fix.
10376 2010-03-30 Juri Linkov <juri@jurta.org>
10378 * replace.el (occur-accumulate-lines): Move occur-engine related
10379 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
10380 to be located after `occur-engine'.
10382 2010-03-30 Juri Linkov <juri@jurta.org>
10384 Make occur handle multi-line matches cleanly with context.
10385 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
10387 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
10388 (occur-engine): Add local variables `ret', `prev-after-lines',
10389 `prev-lines'. Use more arguments for `occur-context-lines'.
10390 Set first elem of its returned list to `data', and the second elem
10391 to `prev-after-lines'. Don't print the separator line.
10392 In the end, print remaining context after-lines.
10393 (occur-context-lines): Add new arguments `begpt', `endpt',
10394 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
10395 after-lines of the previous match with before-lines of the
10396 current match and not overlap them. Return a list with two
10397 values: the output line and the list of context after-lines.
10399 2010-03-30 Juri Linkov <juri@jurta.org>
10401 * replace.el (occur-accumulate-lines): Fix a bug where the first
10402 context line at the beginning of the buffer was missing.
10404 2010-03-30 Eli Zaretskii <eliz@gnu.org>
10406 * files.el: Make bidi-display-reordering safe variable for boolean
10409 2010-03-29 Phil Hagelberg <phil@evri.com>
10410 Chong Yidong <cyd@stupidchicken.com>
10412 * subr.el: Extend progress reporters to perform "spinning".
10413 (progress-reporter-update, progress-reporter-do-update):
10414 Handle non-numeric value arguments.
10415 (progress-reporter--pulse-characters): New var.
10417 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
10419 * progmodes/compile.el (compilation-start): Fix regexp detection
10420 of initial cd command (Bug#5771).
10422 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
10424 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
10426 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
10428 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
10429 * progmodes/gdb-mi.el: Restore.
10430 * progmodes/gdb-ui.el: Remove.
10431 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
10433 2010-03-25 Glenn Morris <rgm@gnu.org>
10435 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
10436 all dired buffers, even tramp ones. (Bug#5755)
10438 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10440 Add "union tags" in mpc.el.
10441 * mpc.el: Remove backward compatibility code.
10442 (mpc-browser-tags): Change default.
10443 (mpc--find-memoize-union-tags): New var.
10444 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
10445 (mpc-cmd-find): Handle the case where the playlist does not exist.
10447 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
10448 (mpc-cmd-add): Use mpc-cmd-flush.
10449 (mpc-tagbrowser-tag-name): New fun.
10450 (mpc-tagbrowser-buf): Use it.
10451 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
10453 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10456 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
10457 Use replace-regexp-in-string.
10458 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
10459 (makefile-imake-mode-syntax-table): Move init into defvar.
10460 (makefile-mode): Use define-derived-mode.
10462 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
10463 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
10464 not be present any more.
10466 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10468 * faces.el (set-face-attribute): Fix typo in docstring.
10469 (face-valid-attribute-values): Reflow docstring.
10471 2010-03-24 Glenn Morris <rgm@gnu.org>
10473 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
10475 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
10477 * indent.el (indent-for-tab-command): Doc fix.
10479 2010-03-24 Alan Mackenzie <acm@muc.de>
10481 * progmodes/cc-engine.el (c-remove-stale-state-cache):
10482 Fix off-by-one error. Fixes bug #5747.
10484 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10486 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
10487 (image-dired-read-comment): Doc fix.
10489 * json.el (json-object-type, json-array-type, json-key-type)
10490 (json-false, json-null, json-read-number):
10491 * minibuffer.el (completion-in-region-functions):
10492 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
10493 (cal-tex-cursor-week):
10494 * emacs-lisp/trace.el (trace-function):
10495 * eshell/em-basic.el (eshell/printnl):
10496 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
10497 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
10498 * obsolete/levents.el (allocate-event, event-key, event-object)
10499 (event-point, event-process, event-timestamp, event-to-character)
10500 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
10501 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
10502 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
10503 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
10504 (reftex-highlight-selection): Fix typos in docstrings.
10506 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10508 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
10510 2010-03-24 Glenn Morris <rgm@gnu.org>
10512 * mail/rmail.el (rmail-highlight-face): Restore option deleted
10513 2008-02-13 without comment; mark it obsolete.
10514 (rmail-highlight-headers): Use rmail-highlight-face once more.
10516 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
10518 * woman.el (woman2-process-escapes): Only consume the newline if
10519 the filler character is on a line by itself (Bug#5729).
10521 2010-03-24 Kenichi Handa <handa@m17n.org>
10523 * language/indian.el (devanagari-composable-pattern): Add more
10526 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
10528 * net/trampver.el: Update release number.
10530 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
10532 * net/tramp.el (tramp-find-executable):
10533 Use `tramp-get-connection-buffer'. Make the regexp for checking
10534 output of "wc -l" more robust.
10535 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
10536 (tramp-open-connection-setup-interactive-shell): Remove workaround
10537 for OpenSolaris bug, it is not needed anymore.
10539 2010-03-24 Glenn Morris <rgm@gnu.org>
10541 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
10543 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
10545 * files.el (auto-mode-alist): Accept more verilog file patterns.
10547 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10549 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
10551 2010-03-24 Glenn Morris <rgm@gnu.org>
10553 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
10554 log-edit-before-checkin-process.
10556 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
10558 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
10560 * vc-dispatcher.el (vc-start-logentry): Doc fix.
10561 (log-view-process-buffer, log-edit-extra-flags): Declare.
10563 * log-edit.el (log-edit-before-checkin-process): Doc fix.
10565 2010-03-23 Sam Steingold <sds@gnu.org>
10567 Fix bug#5620: recalculate all markers on compilation buffer
10568 modifications, not on file modifications.
10569 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
10570 variable: the buffer modification time, for buffers not associated with
10572 (compilation-mode): Create it.
10573 (compilation-filter): Update it.
10574 (compilation-next-error-function): Use it instead of
10575 `visited-file-modtime' for timestamp.
10577 2010-03-23 Juri Linkov <juri@jurta.org>
10579 Implement Occur multi-line matches.
10580 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
10582 * replace.el (occur): Doc fix.
10583 (occur-engine): Set `begpt' to the beginning of the first line.
10584 Set `endpt' to the end of the last match line. At first, count
10585 line numbers between `origpt' and `begpt'. Split out code from
10586 `out-line' variable to new let-bindings `match-prefix' and
10587 `match-str'. In `out-line' add non-numeric prefix to all
10588 non-first lines of multi-line matches. Finally, count lines
10589 between `begpt' and `endpt' and add to `lines'.
10591 2010-03-23 Juri Linkov <juri@jurta.org>
10593 * replace.el (occur-accumulate-lines, occur-engine):
10594 Use `occur-engine-line' instead of duplicate code.
10595 (occur-engine-line): New function created from duplicate code
10596 in `occur-accumulate-lines' and `occur-engine'.
10598 * replace.el (occur-engine-line): Add optional arg `keep-props'.
10599 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
10601 2010-03-23 Juri Linkov <juri@jurta.org>
10603 * finder.el: Remove TODO tasks.
10605 * info.el (Info-finder-find-node): Add node "all"
10606 with all package info. Handle a list of multiple keywords
10607 separated by comma.
10608 (info-finder): In interactive use with a prefix argument,
10609 use `completing-read-multiple' to read a list of keywords
10610 separated by comma.
10612 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10614 Add a new completion style `substring'.
10615 * minibuffer.el (completion-basic--pattern): New function.
10616 (completion-basic-try-completion, completion-basic-all-completions):
10618 (completion-substring--all-completions)
10619 (completion-substring-try-completion)
10620 (completion-substring-all-completions): New functions.
10621 (completion-styles-alist): New style `substring'.
10623 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
10625 Get rid of .elc files after removal of the corresponding .el.
10626 * Makefile.in (compile-clean): New target.
10627 (compile-main): Use it.
10629 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
10631 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
10632 don't do make there. When compiling with separate object dir, there
10633 is no Makefile there.
10635 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
10637 Get rid of the ELCFILES abomination, again.
10638 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
10639 (all, compile): Don't call compile-last.
10640 (compile-main): Build the "elcfiles" list dynamically.
10641 (compile-targets): New (internal) target.
10643 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
10645 * Makefile.in (top_srcdir): Define.
10646 (abs_top_builddir): Define.
10647 (srcdir): Don't append `/..'.
10648 (EMACS): Use ${abs_top_builddir}.
10649 (all, compile, compile-always, compile-last): Don't set emacswd.
10650 (update-subdirs, update-authors): Use $(top_srcdir) instead of
10652 (lisp): Use $(srcdir) instead of @srcdir@.
10654 2010-03-21 Juri Linkov <juri@jurta.org>
10656 Fix message of multi-line occur regexps and multi-buffer header lines.
10657 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
10659 * replace.el (occur-1): Don't display regexp if it is longer
10660 than window-width. Use `query-replace-descr' to display regexp.
10661 (occur-engine): Don't display regexp in the buffer header for
10662 multi-buffer occur. Display a separate header line with total
10663 match count and regexp for multi-buffer occur.
10664 Use `query-replace-descr' to display regexp.
10666 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
10668 * net/secrets.el: Fix parenthesis.
10669 (secrets-enabled): Fix parenthesis.
10671 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10673 Use more relative file and directory names.
10674 * Makefile.in (EMACS): Arrange for it to work when we chdir.
10675 (setwins, setwins_almost, setwins_for_subdirs):
10676 Don't `cd'; output relative names.
10677 (all, compile, compile-always, compile-last): Set emacswd.
10678 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
10679 Just cd to the lisp source dir so we can use relative file names.
10681 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
10683 2010-03-20 Glenn Morris <rgm@gnu.org>
10685 * textmodes/rst.el: Use faces for font-lock customization, and make the
10686 old -face variables obsolete.
10687 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
10688 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
10689 (rst-block-face, rst-external-face, rst-definition-face)
10690 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
10691 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
10693 (rst-font-lock-keywords-function): Update for above changes.
10695 2010-03-20 Juri Linkov <juri@jurta.org>
10698 * obsolete/s-region.el: Move to obsolete.
10700 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
10702 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
10704 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
10706 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
10708 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
10710 Add special markup processing for commit logs.
10711 * log-edit.el (log-edit-extra-flags): New variable.
10712 (log-edit): Add new argument MODE. Use that mode when non-nil
10713 instead of the log-view-mode.
10714 (log-view-process-buffer): New function.
10716 * vc.el: Document that the checkin method takes optional
10717 arguments. Document new backend specific method: log-view-mode.
10718 (vc-default-log-edit-mode): New function.
10719 (vc-checkin): Use a backend specific log-view-mode.
10720 Pass extra arguments to the checkin method.
10721 (vc-modify-change-comment): Pass a dummy extra argument.
10723 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
10725 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
10726 (vc-finish-logentry): Process the log buffer before passing it
10727 down. Pass log-edit-extra-flags.
10729 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
10731 (log-edit-extra-flags, log-edit-before-checkin-process):
10734 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
10736 (log-edit-extra-flags, log-edit-before-checkin-process):
10738 (vc-hg-log-edit-mode): New derived mode.
10740 * vc-arch.el (vc-arch-checkin):
10741 * vc-cvs.el (vc-cvs-checkin):
10742 * vc-git.el (vc-git-checkin):
10743 * vc-mtn.el (vc-mtn-checkin):
10744 * vc-rcs.el (vc-rcs-checkin):
10745 * vc-sccs.el (vc-sccs-checkin):
10746 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
10748 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10750 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
10753 2010-03-19 Glenn Morris <rgm@gnu.org>
10755 * password-cache.el (password-cache, password-cache-expiry): Autoload.
10757 2010-03-18 Glenn Morris <rgm@gnu.org>
10759 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
10761 * replace.el (query-replace-history): Give it a doc string.
10762 (map-query-replace-regexp): Use query-replace-from-history-variable
10763 and query-replace-to-history-variable.
10765 * mail/hashcash.el (declare-function): Remove duplicate definition.
10767 * mail/emacsbug.el (report-emacs-bug-pretest-address):
10768 Make it an obsolete alias for report-emacs-bug-address.
10769 (message-strip-special-text-properties): Declare.
10770 (report-emacs-bug): Remove test for a pretest bug address.
10771 Combine message-mode-specific code.
10773 * mail/supercite.el: Don't require sendmail.
10774 (mh-in-header-p): Declare rather than using with-no-warnings.
10775 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
10776 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
10778 * calendar/cal-french.el: Convert to utf-8.
10780 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
10783 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
10785 * net/secrets.el (secrets-enabled): New variable. Use it instead
10788 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
10790 * net/secrets.el (top): Register the D-Bus signals only when the
10791 service "org.freedesktop.secrets" can be pinged.
10792 Provide subfeature `enabled'.
10794 2010-03-14 Juri Linkov <juri@jurta.org>
10796 Add finder unknown keywords.
10798 * finder.el (finder-unknown-keywords): New function.
10800 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
10801 to create a Finder node with unknown keywords.
10803 2010-03-14 Juri Linkov <juri@jurta.org>
10805 * finder.el (finder-compile-keywords): Replace `princ' with
10806 `prin1' on a list of symbols interned from keyword strings.
10808 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
10809 a comma, then split keywords using a comma and optional whitespace.
10810 Otherwise, split by whitespace.
10818 * progmodes/mixal-mode.el: Fix keywords.
10820 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
10822 * Makefile.in (ELCFILES): Add net/secrets.elc.
10824 * net/secrets.el: New file.
10826 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10828 * facemenu.el (list-colors-display, list-colors-print): New arg
10829 callback. Use it to allow selecting colors.
10831 * wid-edit.el (widget-image-insert): Insert image prop even if the
10832 current display is non-graphic.
10833 (widget-field-value-set): New fun.
10834 (editable-field): Use it.
10835 (widget-field-value-get): Clean up unused var.
10836 (widget-color-value-create, widget-color--choose-action):
10837 New funs. Allow using list-colors-display to choose color.
10839 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10841 * cus-edit.el: Resort topmost custom groups.
10842 (custom-buffer-sort-alphabetically): Default to t.
10843 (customize-apropos): Use apropos-parse-pattern.
10844 (custom-search-field): New var.
10845 (custom-buffer-create-internal): Add custom-apropos search field.
10846 (custom-add-parent-links): Don't display parent doc.
10847 (custom-group-value-create): Don't sort top-level custom group.
10848 (custom-magic-value-create): Show visibility button before option name.
10850 (custom-variable-state): New fun, from custom-variable-state-set.
10851 (custom-variable-state-set): Use it.
10852 (custom-group-value-create): Hide options with standard values
10853 using the :hidden-states property. Use progress reporter.
10855 (custom-show): Simplify.
10856 (custom-visibility): Disable images by default.
10857 (custom-variable): New property :hidden-states.
10858 (custom-variable-value-create): Enable images for
10859 custom-visibility widgets. Use :hidden-states property to
10860 determine initial visibility.
10862 * wid-edit.el (widget-image-find): Give images center ascent.
10863 (visibility): Add :on-image and :off-image properties.
10864 (widget-visibility-value-create): Use them.
10866 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10868 * cus-edit.el (processes): Remove from development group.
10869 (oop, hypermedia): Delete group.
10870 (comm): Promote to top-level group.
10872 * net/browse-url.el (browse-url):
10873 * net/xesam.el (xesam):
10874 * net/tramp.el (tramp):
10875 * net/goto-addr.el (goto-address):
10876 * net/ange-ftp.el (ange-ftp): Put in comm group.
10878 * view.el (view): Remove from editing group.
10880 * uniquify.el (uniquify): Put in files group.
10882 * net/browse-url.el (browse-url):
10883 * ps-print.el (postscript): Put in external group.
10885 * cus-edit.el (outlines):
10886 * textmodes/text-mode.el (text-mode-hook):
10887 * textmodes/table.el (table):
10888 * textmodes/picture.el (picture):
10889 * outline.el (outlines): Put in wp group.
10891 * nxml/nxml-mode.el (nxml): Remove from wp group.
10893 * net/tramp-imap.el (tramp-imap): Put in tramp group.
10895 * mail/metamail.el (metamail): Remove from hypermedia group.
10897 * cus-edit.el (abbrev):
10898 * whitespace.el (whitespace):
10899 * vcursor.el (vcursor):
10900 * reveal.el (reveal):
10901 * hl-line.el (hl-line): Put in convenience group.
10903 * epg-config.el (epg): Put in data group.
10905 * emulation/pc-select.el (pc-select): Put in emulations group.
10907 * calculator.el (calculator): Put in applications group.
10909 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
10911 Add .dir-locals.el support for file-less buffers.
10912 * files.el (hack-local-variables): Split out code to apply local
10913 variable settings ...
10914 (hack-local-variables-apply): ... here. New function.
10915 (hack-dir-local-variables): Use the default directory for when the
10916 buffer does not have an associated file.
10917 (hack-dir-local-variables-non-file-buffer): New function.
10918 * diff-mode.el (diff-mode):
10919 * vc-annotate.el (vc-annotate-mode):
10920 * vc-dir.el (vc-dir-mode):
10921 * log-edit.el (log-edit-mode):
10922 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
10924 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
10926 Add support for shelving snapshots and for showing shelves.
10927 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
10928 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
10930 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
10931 (vc-bzr-extra-menu-map): Map them.
10933 2010-03-11 Glenn Morris <rgm@gnu.org>
10935 * cus-edit.el (customize-changed-options-previous-release):
10938 * image.el (image-animate-max-time): Fix :version tag.
10940 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
10944 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
10946 * vc-git.el (vc-git-revision-table): Include remote branches.
10948 2010-03-10 Kim F. Storm <storm@cua.dk>
10950 Animated image API.
10951 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
10953 * image.el (image-animate-max-time): New defcustom.
10954 (image-animated-types): New defconst.
10955 (create-animated-image, image-animate-timer)
10956 (image-animate-start, image-animate-stop, image-animate-timeout)
10957 (image-animated-p): New functions.
10959 * image-mode.el (image-toggle-display-image):
10960 Replace `create-image' with `create-animated-image'.
10962 2010-03-09 Miles Bader <miles@gnu.org>
10964 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
10965 instead of "format:"; this ensures that the output is
10966 newline-terminated.
10968 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
10970 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
10971 that all errors are caught, and that the return value is always a
10974 2010-03-08 Kenichi Handa <handa@m17n.org>
10976 * language/misc-lang.el (windows-1256): New coding system.
10977 (cp1256): New alias of windows-1256 (bug#5690).
10979 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
10981 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
10982 call to rfc822-bad-address. (Bug#5692)
10984 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
10986 * vc-git.el (vc-git-annotate-extract-revision-at-line):
10987 Use vc-git-root as default directory for revision path (Bug#5657).
10989 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
10991 * calculator.el (calculator): Don't bind split-window-keep-point
10994 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
10996 * vc-git.el: Re-flow to fit into 80 columns.
10997 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
10998 Remove spurious `quote' element in each case alternative.
10999 (vc-git-show-log-entry): Use prog1.
11000 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
11002 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
11004 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
11006 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
11008 * macros.el (insert-kbd-macro): Look up keyboard macro using the
11009 definition, not the name (Bug#5481).
11011 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
11013 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
11014 argument with a local variable. (Bug#5670)
11016 2010-03-02 Juri Linkov <juri@jurta.org>
11018 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
11020 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
11022 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
11023 error when FILENAME and NEWNAME are existing remote directories.
11025 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
11026 parameter DIR-FLAG.
11028 2010-03-02 Glenn Morris <rgm@gnu.org>
11030 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
11031 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
11033 2010-03-01 Kenichi Handa <handa@m17n.org>
11035 * language/burmese.el (burmese-composable-pattern): Rename from
11036 myanmar-composable-pattern.
11038 * international/characters.el (script-list):
11039 * international/fontset.el (script-representative-chars):
11040 Change myanmar to burmese.
11041 (otf-script-alist): Likewise.
11042 (setup-default-fontset): Likewise. Re-fix :otf spec.
11044 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
11046 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
11048 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
11050 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
11052 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
11054 * net/tramp.el (tramp-handle-write-region): START can be a string.
11055 Take care in the checks. Reported by Dan Davison
11056 <davison@stats.ox.ac.uk>.
11058 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
11060 * net/dbus.el (dbus-introspect, dbus-get-property)
11061 (dbus-set-property, dbus-get-all-properties):
11062 Use `dbus-call-method' when noninteractive. (Bug#5645)
11064 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
11066 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
11067 * emacs-lisp/elint.el (elint-add-required-env):
11068 * calendar/icalendar.el (icalendar--add-diary-entry):
11069 * calc/calcalg2.el (math-tracing-integral):
11070 * files.el (recover-session-finish): Use with-current-buffer
11071 instead of save-excursion.
11073 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
11075 Fix in-buffer completion when after-change-functions modify the buffer.
11076 * minibuffer.el (completion--replace): New function.
11077 (completion--do-completion): Use it and use relative movement.
11079 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
11081 * international/fontset.el (setup-default-fontset): Fix :otf spec.
11083 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
11085 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
11086 Allow the characters _<> in the stack entry (Bug#5653).
11088 2010-02-26 Kenichi Handa <handa@m17n.org>
11090 * language/burmese.el: Fix entries in composition-function-table.
11091 (myanmar-composable-pattern): New variable.
11093 * international/fontset.el (setup-default-fontset): Add an entry
11096 * international/characters.el (script-list): Add Myanmar
11099 2010-02-26 Glenn Morris <rgm@gnu.org>
11101 * custom.el (custom-initialize-delay): Doc fix.
11103 * mail/sendmail.el (send-mail-function): Autoload the call
11104 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
11106 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
11108 * files.el (hack-local-variables-filter): For eval forms, also
11109 check safe-local-variable-p (Bug#5636).
11111 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
11113 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
11114 setting the modes by `ignore-errors'. It might fail, for example
11115 if the file is not owned by the user but the group.
11116 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
11118 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
11120 * files.el (directory-listing-before-filename-regexp):
11121 Use stricter matching for iso-style dates, to avoid false matches with
11122 date-like filenames (Bug#5597).
11124 * htmlfontify.el (htmlfontify): Doc fix.
11126 * eshell/eshell.el (eshell): Doc fix.
11128 * startup.el (fancy-about-screen): In mode-line, apply
11129 mode-line-buffer-id face only to the buffer name (Bug#5613).
11131 2010-02-20 Kevin Ryde <user42@zip.com.au>
11133 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11134 In `watcom' anchor regexp to start of line, to avoid slowness
11137 2010-02-20 Eli Zaretskii <eliz@gnu.org>
11139 * subr.el (remove-yank-excluded-properties): Explain in a comment
11140 why `category' property is removed.
11142 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
11144 * isearch.el (isearch-update-post-hook, isearch-update):
11145 Revert 2010-02-17 change.
11147 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
11149 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
11150 (icalendar--convert-weekly-to-ical)
11151 (icalendar--convert-yearly-to-ical)
11152 (icalendar--convert-block-to-ical)
11153 (icalendar--convert-cyclic-to-ical)
11154 (icalendar--convert-anniversary-to-ical): Take care of time
11155 specifications where hour has 1-digit only (Bug#5549).
11157 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
11159 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
11160 of disassemble output in GDB 7.1.
11162 2010-02-19 Glenn Morris <rgm@gnu.org>
11164 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
11165 property. (Bug#5593)
11167 2010-02-18 Sam Steingold <sds@gnu.org>
11169 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
11171 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
11173 Use abbreviated file names in bookmarks (bug#5591).
11174 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
11175 calls to expand-file-name.
11176 (bookmark-relocate): Use abbreviated file names in bookmarks.
11177 (bookmark-load): Use abbreviated file names in messages.
11179 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
11181 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
11182 expand "." and "..". Reported by Thierry Volpiatto
11183 <thierry.volpiatto@gmail.com>.
11185 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
11187 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
11188 permissions of the temporary file to "0600". In case the remote
11189 file has no read permissions for the owner, there might be
11190 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
11192 22010-02-18 Glenn Morris <rgm@gnu.org>
11194 * emacs-lisp/authors.el (authors-renamed-files-alist):
11195 Add entries for INSTALL.CVS.
11197 2010-02-17 Mark A. Hershberger <mah@everybody.org>
11199 * vc-bzr.el: Fix typo in Known Bugs section.
11201 * isearch.el (isearch-update-post-hook): New hook.
11202 (isearch-update): Use the new hook.
11204 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
11206 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
11207 Fix errors in copying directories.
11208 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
11209 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
11210 (tramp-handle-delete-file)
11211 (tramp-handle-dired-recursive-delete-directory)
11212 (tramp-handle-write-region): Flush also the cache for the upper
11215 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
11217 * simple.el (save-interprogram-paste-before-kill): Doc fix.
11219 * cus-edit.el (hardware): Doc fix.
11221 * man.el (man): Add to external custom group.
11223 * delim-col.el (columns): Move to wp custom group.
11225 * doc-view.el (doc-view): Add to data custom group.
11227 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
11229 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
11230 by ispell-parse-output (Bug#5575).
11232 2010-02-16 Kenichi Handa <handa@m17n.org>
11234 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
11235 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
11236 (skkdic-convert): Use `euc-japan' coding system for writing.
11238 2010-02-16 Glenn Morris <rgm@gnu.org>
11240 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
11241 tex-main-file before using it. (Bug#5562)
11243 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
11245 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
11246 warnings, since it is annoying for the user to see them each time he
11249 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
11251 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
11252 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
11253 instead of PROC for caching "first-password-request". Otherwise,
11254 new processes would not profit from passwords already entered.
11256 * net/tramp-cache.el (tramp-dump-connection-properties):
11257 Don't save "first-password-request" property.
11259 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
11261 * outline.el (outline-head-from-level):
11262 * simple.el (with-wrapper-hook):
11263 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
11264 (elint-defun, elint-buffer-env, elint-top-form-logged)
11265 (elint-unbound-variable):
11266 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
11267 Fix typos in docstrings.
11269 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
11271 * files.el (insert-directory): When WILDCARD-REGEXP and
11272 FULL-DIRECTORY-P are nil, insert the file entry instead of the
11273 whole directory. (Bug#5551)
11275 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
11276 dired's alignment sanity. (Bug#5516)
11278 2010-02-14 Juri Linkov <juri@jurta.org>
11280 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
11281 Remove remaining ^H with their preceding chars. (Bug#5566)
11283 2010-02-13 Glenn Morris <rgm@gnu.org>
11285 * simple.el (transpose-subr): Give it a doc-string.
11287 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
11290 2010-02-12 Juri Linkov <juri@jurta.org>
11292 * arc-mode.el (archive-unique-fname): Make directories for nested
11293 archives. (Bug#5540)
11295 2010-02-12 Juri Linkov <juri@jurta.org>
11297 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
11299 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
11301 * subr.el (copy-overlay): Handle deleted overlays.
11303 * man.el (Man-completion-table): Don't signal an error if we can't run
11304 manual-program (bug#4056).
11306 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
11308 * textmodes/artist.el (artist-mt): Fix typos in docstring.
11310 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11312 * info.el (Info-bookmark-jump): Simplify.
11314 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
11315 (bookmark-default-handler): Accept new bookmark field `buffer'.
11317 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
11319 * iswitchb.el (iswitchb-completions): Revert last change.
11321 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
11323 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
11324 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
11325 This prevents file names like "~/" being listed literally.
11327 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
11329 * term/xterm.el (xterm-maybe-set-dark-background-mode):
11330 Remove dead code. (Bug#5546)
11332 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
11334 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
11335 correctly (Bug#5548).
11337 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
11339 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
11340 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
11342 2010-02-08 Kenichi Handa <handa@m17n.org>
11344 * international/mule-util.el (with-coding-priority): Add autoload
11345 cookie for putting `lisp-indent-function'.
11347 2010-02-07 Glenn Morris <rgm@gnu.org>
11349 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
11350 Move F2003 named interfaces from keywords-2 to keywords-1, and
11351 use function-name-face rather than constant-face.
11352 Simplify "abstract interface" regexp.
11354 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
11356 * eshell/esh-util.el (eshell-file-attributes): New optional arg
11357 ID-FORMAT. Pass it to `file-attributes'.
11359 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
11361 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
11363 * faces.el (set-face-attribute): Allow calling
11364 internal-set-lisp-face-attribute with 'unspecified family and
11365 foundry argument (Bug#5536).
11367 2010-02-07 Glenn Morris <rgm@gnu.org>
11369 * progmodes/f90.el (f90-font-lock-keywords-2)
11370 (f90-looking-at-type-like, f90-looking-at-program-block-end):
11371 Handle F2003 named interfaces.
11373 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
11375 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
11376 beg and end before calling c-get-state-before-change-functions.
11378 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
11380 * vc-bzr.el (vc-bzr-dir-extra-headers):
11381 Disable the pending merges header.
11383 2010-02-05 Juri Linkov <juri@jurta.org>
11385 * doc-view.el (doc-view-mode):
11386 * image-mode.el (image-mode): Put property mode-class=special.
11389 2010-02-05 Mark A. Hershberger <mah@everybody.org>
11391 * vc-svn.el (vc-svn-revision-table): New function.
11393 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
11395 * net/ange-ftp.el (ange-ftp-insert-directory):
11396 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11397 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11398 Handle also directories. (Bug#5478)
11400 2010-02-05 Glenn Morris <rgm@gnu.org>
11402 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
11404 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
11406 * startup.el (command-line-1): Convert options beginning with a
11407 single dash as well (Bug#5519).
11409 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
11411 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
11412 * minibuffer.el (completion-initials-expand): Only check the presence
11413 of delims *within* the boundaries, since otherwise the / delim is
11414 always found for files.
11416 Fix up various corner case problems.
11417 * doc-view.el (doc-view-last-page-number): New function.
11418 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
11419 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
11420 (doc-view-kill-proc): Avoid inf-loop in freak cases.
11421 (doc-view-reconvert-doc): Use the new recursive delete-directory.
11422 (doc-view-convert-current-doc): Don't create the resolution.el file
11424 (doc-view-pdf/ps->png): Do it here instead.
11425 (doc-view-already-converted-p): Check that resolution.el is present.
11426 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
11427 windows that are not yet showing images.
11429 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
11431 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
11432 `dired-uncache' for every elemnt which is an absolute file name.
11434 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
11435 directory, handle its directory component.
11436 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
11437 function is called permanently and creates noise, otherwise.
11439 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11440 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11441 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
11443 2010-02-04 David Burger <dburger@google.com> (tiny change)
11445 * macros.el (apply-macro-to-region-lines):
11446 Minor simplification. (Bug#5485)
11448 2010-02-04 Glenn Morris <rgm@gnu.org>
11450 * mail/rmail.el (rmail-show-message-1): Handle malformed
11451 quoted-printable text. (Bug#5441)
11453 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
11455 * simple.el (visual-line-mode): Capitalize lighter.
11457 2010-02-03 John Wiegley <jwiegley@gmail.com>
11459 * iswitchb.el (iswitchb-completions): Add bookmark files to the
11460 list of files considered for "virtual buffer" completions.
11462 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
11464 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
11465 also in case of (and (not full) (not wildcard)). This is needed
11466 when dired is called with a list of files, which are not in
11467 `default-directory'. (Bug#5478)
11469 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
11471 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
11473 2010-02-02 Juri Linkov <juri@jurta.org>
11475 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
11476 from unidiff to allow function-line after @@.
11478 2010-02-02 Juri Linkov <juri@jurta.org>
11480 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
11481 '(RCS SCCS) with inverted condition.
11483 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
11485 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
11488 2010-02-01 Juri Linkov <juri@jurta.org>
11490 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
11491 compare with "pkunzip" and "pkzip" instead of only "pkzip".
11492 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
11493 only when (car archive-zip-extract) is "unzip". (Bug#5475)
11495 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
11497 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
11498 (doc-view-revert-buffer): New command.
11499 (doc-view-mode-map): Use it.
11501 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
11503 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
11504 pending merge is detected.
11506 2010-01-31 Juri Linkov <juri@jurta.org>
11508 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
11509 beginning of interactive spec like all other grep commands do.
11510 Put "all" in front of "gz". (Bug#5260)
11512 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
11514 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
11516 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
11518 * dirtrack.el (dirtrack): Warn instead of signalling error if the
11519 regexp is incorrect (Bug#5476).
11521 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
11523 * net/tramp.el (tramp-handle-insert-directory): Handle also
11524 symlinks, when FILENAME is not in `default-directory'.
11526 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
11528 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
11529 FILE is not in `default-directory'. (Bug#5478)
11531 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
11532 of SWITCHES. Handle the case, FILENAME is not in
11533 `default-directory'. (Bug#5478)
11534 (tramp-register-file-name-handlers): Add safe-magic property.
11536 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
11538 * arc-mode.el (archive-zip-extract): Quote the argument passed to
11541 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
11543 * progmodes/flymake.el (flymake-allowed-file-name-masks)
11544 (flymake-master-make-header-init): Add other C++ filename masks.
11545 (flymake-find-possible-master-files)
11546 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
11548 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
11550 Fix some busybox annoyances.
11552 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
11553 not responding." string.
11554 (tramp-open-connection-setup-interactive-shell): Dump stty
11555 settings. Enable "neveropen" arg for all `tramp-send-command'
11556 calls. Handle "=" in variable values properly.
11557 (tramp-find-inline-encoding): Raise an error, when no encoding is
11559 (tramp-wait-for-output): Check, whether PROC buffer is available.
11560 Remove spurious " ^H" sequences, sent by busybox.
11561 (tramp-get-ls-command): Suppress coloring, if possible.
11563 2010-01-28 Glenn Morris <rgm@gnu.org>
11565 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
11567 * log-edit.el (log-edit-strip-single-file-name): Add missing
11568 :safe, :group, and :version tags.
11570 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
11572 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
11573 buffers. (Bug#5477)
11575 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
11577 * files.el (delete-directory): Handle moving to trash without
11578 first doing recursion (Bug#5436).
11580 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
11582 * vc-hooks.el (vc-path): Mark as obsolete.
11584 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
11586 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
11589 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
11591 (vc-bzr-log-view-mode): Adjust regexp for the above change.
11593 2010-01-25 Mark A. Hershberger <mah@everybody.org>
11595 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
11597 * vc-bzr.el (vc-bzr-revision-table): New function.
11599 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
11601 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
11602 diff-index command. This requires at least git-1.5.5. (Bug#1589).
11604 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
11606 Remove support for adding --signoff on commit.
11607 Future support will use an incompatible generic mechanism.
11608 * vc-git.el (vc-git-add-signoff): Remove variable.
11609 (vc-git-toggle-signoff): Remove function.
11610 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
11612 * term/xterm.el (xterm-maybe-set-dark-background-mode):
11613 Rename from xterm-set-background-mode. Return t if the background mode
11615 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
11616 earlier, call it again in case the background mode has changed.
11618 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
11620 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
11623 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
11625 * emacs-lisp/assoc.el (aelement): Doc fix.
11626 (aput, adelete, amake): Use lexical-let (Bug#5450).
11628 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
11630 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
11631 is the same as subprogram call, not declaration. (Bug#5435).
11633 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
11635 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
11636 (tramp-smb-maybe-open-connection): Use it.
11638 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
11640 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
11642 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
11644 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
11645 just because we see "encoding: 8bit".
11646 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
11648 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
11650 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
11652 2010-01-22 Eli Zaretskii <eliz@gnu.org>
11654 * jka-compr.el (jka-compr-load): If load-file is not in
11655 load-history, try its file-truename version. (bug#5447)
11657 2010-01-21 Alan Mackenzie <acm@muc.de>
11659 Fix a situation where deletion of a cpp construct throws an error.
11660 * progmodes/cc-engine.el (c-invalidate-state-cache):
11661 Before invoking c-with-all-but-one-cpps-commented-out, check that the
11662 special cpp construct is still in the buffer.
11663 (c-parse-state): Record the special cpp with markers, not numbers.
11665 2010-01-21 Kenichi Handa <handa@m17n.org>
11667 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
11668 process last-command-event, as it is now decoded first (Bug#5380).
11670 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
11672 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
11674 2010-01-20 Glenn Morris <rgm@gnu.org>
11676 * indent.el (tab-always-indent): Fix custom-type.
11678 2010-01-19 Alan Mackenzie <acm@muc.de>
11680 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
11681 buffer throws "args out of range".
11682 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
11683 playing the role of delimiter.
11685 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
11687 * progmodes/ada-mode.el: Fix bug#5400.
11688 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
11689 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
11690 changed. Delete RECURSIVE parameter; never used. Improve doc string.
11691 Improve comments in "is" portion. Handle null procedure declaration.
11692 (ada-move-to-end): Improve doc string.
11694 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
11696 * ido.el (ido-cur-list): Initialize to nil.
11697 Remove obsolete information from commentary.
11698 (ido-choice-list): Initialize to nil.
11699 (ido-get-bufname): Reject minibuffers.
11700 (ido-make-buffer-list): If "default" is a nonexistent
11701 buffer, ignore it, as per the function's comment.
11702 (ido-kill-buffer-internal): New function.
11703 (ido-kill-buffer-at-head): Use it.
11704 (ido-visit-buffer): Likewise.
11706 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
11708 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
11710 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
11712 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
11713 Fix typos in chart titles.
11715 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
11716 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
11717 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
11718 (describe-class, eieio-describe-generic, describe-generic):
11719 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
11720 (eieio-speedbar-expand):
11721 * emulation/viper-cmd.el (viper-exec-form-in-vi)
11722 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
11723 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
11724 (viper-del-backward-char-in-replace, viper-backward-indent)
11725 (viper-brac-function, viper-register-to-point, viper-submit-report):
11726 * net/tramp.el (tramp-remote-coding-commands):
11727 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
11728 Fix typos in docstrings.
11730 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
11732 * mail/sendmail.el (mail-yank-original): Set the mark if the
11733 specified function for yanking does not do it.
11735 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
11737 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
11739 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
11740 resyncing a directory.
11742 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
11744 * progmodes/ada-mode.el: Fix bug#1920.
11745 (ada-ident-re): Delete ., allow multibyte characters.
11746 (ada-goto-label-re): New; matches goto labels.
11747 (ada-block-label-re): New; matches block labels.
11748 (ada-label-re): New; matches both.
11749 (ada-named-block-re): Deleted; callers changed to use
11750 `ada-block-label-re' instead.
11751 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
11752 Use `ada-block-label-re'.
11753 (ada-indent-on-previous-lines): Improve handling of goto labels.
11754 (ada-get-indent-block-start): Special-case block label.
11755 (ada-get-indent-label): Split into `ada-indent-block-label' and
11756 `ada-indent-goto-label'.
11757 (ada-goto-stmt-start, ada-goto-next-non-ws):
11758 Optionally ignore goto labels.
11759 (ada-goto-next-word): Simplify.
11760 (ada-indent-newline-indent-conditional): Insert newline before
11761 trying to fix indentation; doc fix.
11763 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
11765 * calc/calc.el (calc-command-flags): Give it an initial value.
11767 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
11769 * files.el (minibuffer-with-setup-hook):
11770 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
11771 (artist-key-draw-continously, artist-key-do-continously-continously)
11772 (artist-key-set-point-continously, artist-mouse-draw-continously):
11773 Fix typos in docstrings.
11775 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
11777 * nxml/nxml-mode.el (nxml-extend-after-change-region):
11778 Never return t (Bug#3898).
11780 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
11782 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
11783 can parse the output of the external commands (Bug#5279).
11785 2010-01-16 Jari Aalto <jari.aalto@cante.net>
11787 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
11789 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
11791 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
11793 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
11795 * startup.el (command-line): Remove unused --icon-type arg.
11796 Handle --display arg, passing it to command-line-1 (Bug#5392).
11798 2010-01-16 Mario Lang <mlang@delysid.org>
11800 * emacs-lisp/chart.el (chart-translate-namezone):
11801 * textmodes/artist.el (artist-compute-popup-menu-table):
11802 Remove duplicated words in doc-strings.
11804 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
11806 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
11807 to mairix-search to suppress threading (Bug#5342).
11809 2010-01-15 Kenichi Handa <handa@m17n.org>
11811 * international/mule-cmds.el (canonicalize-coding-system-name):
11812 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
11814 2010-01-15 Glenn Morris <rgm@gnu.org>
11816 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
11818 * wid-edit.el (widget-keymap): Doc fix.
11820 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
11821 former seems to be more widely accepted by various svn versions.
11823 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11825 * find-cmd.el (find-constituents):
11826 * vc-arch.el (vc-arch-root):
11827 * window.el (window-body-height, pop-up-frames):
11828 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
11829 * progmodes/ada-stmt.el (ada-if):
11830 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
11831 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
11832 (ispell-encoding8-command, ispell-aspell-supports-utf8)
11833 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
11835 * progmodes/flymake.el (flymake-post-syntax-check):
11836 Fix typo in error message.
11838 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11840 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
11841 which is always a string. (Bug#5313)
11843 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11845 * progmodes/ada-xref.el (ada-default-prj-properties):
11846 Simplify previous change.
11848 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11850 * progmodes/ada-xref.el (ada-default-prj-properties):
11851 Default ada_project_path to $ADA_PROJECT_PATH.
11853 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11855 * progmodes/ada-mode.el (ada-create-keymap):
11856 Override `narrow-to-defun' with `ada-narrow-to-defun'.
11858 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11860 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
11861 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
11862 (ada-get-current-indent, ada-imenu-generic-expression)
11863 (ada-which-function): Check for it.
11865 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11867 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
11868 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
11870 2010-01-14 Glenn Morris <rgm@gnu.org>
11872 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
11874 2010-01-14 Kenichi Handa <handa@m17n.org>
11876 * composite.el (auto-composition-mode): Make it a buffer local
11877 variable (permanent-local).
11878 (auto-composition-function): Set the default value to
11879 auto-compose-chars.
11880 (auto-composition-mode): Make it a simple function, not a minor mode.
11881 (global-auto-composition-mode): Likewise.
11882 (turn-on-auto-composition-if-enabled): Delete it.
11884 2010-01-13 Karl Fogel <kfogel@red-bean.com>
11886 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
11888 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
11890 * files.el (copy-directory): Compute target for recursive
11891 directories with identical names. (Bug#5343)
11893 2010-01-12 Glenn Morris <rgm@gnu.org>
11895 * mail/emacsbug.el (report-emacs-bug-pretest-address):
11896 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
11898 2010-01-11 Sam Steingold <sds@gnu.org>
11900 * imenu.el (imenu-default-create-index-function): Detect infinite
11901 loops caused by imenu-prev-index-position-function.
11903 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
11905 * htmlfontify.el (htmlfontify-load-rgb-file)
11906 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
11907 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
11908 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
11909 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
11910 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
11911 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
11912 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
11913 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
11914 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
11915 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
11916 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
11917 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
11918 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
11919 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
11920 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
11921 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
11922 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
11923 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
11924 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
11925 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
11926 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
11927 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
11928 backslash-quoting from parentheses, etc.
11930 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
11932 * progmodes/js.el: Autoload javascript-mode alias.
11934 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
11936 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
11937 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
11938 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
11939 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
11940 Fix typos in docstrings.
11941 (ffap-url-regexp): Doc fix.
11942 (ffap-at-mouse): Fix typo in message.
11944 2010-01-11 Glenn Morris <rgm@gnu.org>
11946 * version.el (emacs-copyright): Set copyright year to 2010.
11948 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
11950 * format.el (format-annotate-function): Only set
11951 write-region-post-annotation-function after running to-fn so as not to
11952 affect nested write-region calls (bug#5273).
11954 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
11956 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
11959 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
11961 * man.el (Man-goto-section): Signal error if the section is not
11964 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
11966 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
11967 URLs with a leading triple slash in the file: scheme. (Bug#5345)
11969 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
11971 * progmodes/compile.el: Don't treat compile-command as safe if
11972 compilation-read-command might be nil (Bug#4218).
11974 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
11976 * startup.el (command-line-1): Use orig-argi to check for ignored X and
11979 2010-01-08 Kenichi Handa <handa@m17n.org>
11981 * international/fontset.el (build-default-fontset-data):
11982 Exclude characters in scripts kana, hangul, han, or cjk-misc.
11984 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
11986 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
11987 to `create-file-buffer' as it expects, not just a buffer name.
11988 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
11989 to help uniquify. (Bug#3224)
11991 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
11993 * font-setting.el (font-setting-change-default-font): Use user-spec
11996 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
11998 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
12000 2010-01-05 Tom Tromey <tromey@redhat.com>
12002 * progmodes/python.el (python-font-lock-keywords):
12003 Handle qualified decorators (Bug#881).
12005 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12007 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
12008 in a lightweight checkout.
12010 2010-01-05 Kenichi Handa <handa@m17n.org>
12012 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
12014 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12016 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
12018 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
12020 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
12021 checkouts. (Bug#618)
12022 (vc-bzr-log-view-mode): Also highlight the author.
12023 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
12024 (vc-bzr-shelve-menu-map):
12025 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
12026 (vc-bzr-shelve-apply): Make prompt more explicit.
12028 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
12030 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
12031 They are valid characters in URL paths (rfc3986), and at least
12032 Firefox does not understand the encoded version (Bug#3166).
12034 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
12036 * progmodes/octave-mod.el (octave-end-keywords)
12037 (octave-block-begin-or-end-regexp, octave-block-match-alist):
12038 Add "end" keyword (Bug#3061).
12039 (octave-end-as-array-index-p): New function.
12040 (calculate-octave-indent): Use it.
12042 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12044 * bookmark.el: Consistently put the text property on the bookmark name.
12045 (bookmark-bmenu-marks-width): Bump back to 2, to include
12047 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
12048 property on the bookmark name, instead of not putting it at all.
12049 (bookmark-bmenu-list): Fix where we put the text property.
12051 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12053 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
12054 for showing buffer modified state (as added in the previous change).
12056 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12058 * bookmark.el: Show modified state of bookmark buffer more accurately.
12059 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
12060 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
12061 (with-buffer-modified-unmodified): New macro.
12062 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
12063 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
12064 Use new macro to preserve the buffer modified state.
12066 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12068 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
12069 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
12070 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
12071 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
12072 (bookmark-bmenu-rename, bookmark-bmenu-locate)
12073 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
12074 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
12076 2010-01-02 Eli Zaretskii <eliz@gnu.org>
12078 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12079 Make the lines in the generated doc string shorter. (Bug#4668)
12081 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
12083 * net/rcirc.el: Add follow-link binding (Bug#4738).
12085 2010-01-02 Eli Zaretskii <eliz@gnu.org>
12087 * Makefile.in (bzr-update): Rename from cvs-update.
12088 (cvs-update): New target for backward compatibility.
12090 * makefile.w32-in (bzr-update): Rename from cvs-update.
12091 (cvs-update): New target for backward compatibility.
12093 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12095 * bookmark.el: Remove gratuitous gratitude.
12097 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12099 * bookmark.el (bookmark-bmenu-any-marks): New function.
12100 (bookmark-bmenu-save): Clear buffer modification if no marks.
12102 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12104 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
12105 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
12106 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
12107 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
12109 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
12110 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
12111 To: emacs-devel {_AT_} gnu.org
12112 Subject: bookmark.el bug report
12113 Date: Mon, 28 Dec 2009 14:19:16 +0800
12114 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
12116 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12118 * bookmark.el: Improvements suggested by Drew Adams:
12119 (bookmark-bmenu-ensure-position): New name for
12120 `bookmark-bmenu-check-position'. Just ensure the position,
12121 don't return any meaningful value.
12122 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
12125 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
12127 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
12128 (bookmark-yank-point, bookmark-bmenu-check-position):
12129 Fix typos in docstrings.
12130 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
12131 (bookmark-name-from-full-record, bookmark-get-position)
12132 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
12133 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
12134 Remove useless quoting of parenthesis, etc. in docstrings.
12136 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
12137 (ediff-append-custom-diff): Fix typo in error message.
12138 (ediff-meta-mark-equal-files): Fix typos in messages.
12140 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
12142 * net/imap-hash.el (imap-hash-make): Doc fix.
12143 (imap-hash-test): Fix typo in error message; reflow docstring.
12144 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
12145 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
12146 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
12147 Fix typos in docstrings.
12148 (imap-hash-open-connection): Fix typo in error message.
12150 * play/gomoku.el (gomoku): Fix typos in docstring.
12152 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
12153 (gdb-jsonify-buffer): Fix typos in docstring.
12154 (gdb-goto-breakpoint): Fix typo in error message.
12155 ("Display Other Windows"): Fix typo in help message.
12156 (gdb-speedbar-expand-node): Fix typo in question.
12158 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
12159 (idlwave-html-system-help-location, idlwave-html-help-location)
12160 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
12161 (idlwave-help-browser-generic-args, idlwave-help-directory)
12162 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
12163 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
12164 (idlwave-online-help, idlwave-help-html-link)
12165 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
12166 Fix typos in docstrings.
12167 (idlwave-help-with-source, idlwave-help-find-routine-definition):
12169 (idlwave-help-assistant-start): Fix typo in error message.
12171 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
12172 (octave-electric-space): Fix typos in docstrings.
12174 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
12176 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
12178 2010-01-01 Juri Linkov <juri@jurta.org>
12180 * comint.el (comint-input-ring-size): Make it a defcustom and
12181 increase the default to 500 (Bug#5148).
12183 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
12185 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
12186 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
12187 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
12189 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
12191 Show working revision correctly for mercurial.
12192 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
12193 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
12195 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
12197 Declare some functions for the byte-compiler.
12198 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
12199 (speedbar-timer-fn, speedbar-change-expand-button-char)
12200 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
12202 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
12204 This changeset reverts GDB Graphical Interface to use annotations.
12205 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
12207 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
12209 Make vc-dir work on subdirectories of the bzr root.
12210 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
12211 Return file names relative to it.
12212 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
12213 relative directory to vc-bzr-after-dir-status.
12215 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
12217 * font-lock.el (font-lock-refresh-defaults): New function, which
12218 can be used to let font-lock react to external changes in
12219 variables like font-lock-defaults and keywords.
12220 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
12222 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
12224 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
12226 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
12228 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
12230 Supersede color.diff settings in git log (bug#5211).
12232 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
12233 escape chars in its output when the user has color.diff set to `always'.
12234 This fix works on git 1.4.2 and newer (released on 2006-08-13).
12236 2009-12-26 Kevin Ryde <user42@zip.com.au>
12238 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
12239 node. Keep previous "Index" name to work with past coreutils too.
12241 * man.el (man): Revise docstring a bit to show -a and -l as
12242 examples. Add -k description since support for it has otherwise
12243 been a secret. (Further to bug#3717.)
12244 (Man-bgproc-sentinel): When "-k foo" produces no output show error
12245 "no matches" rather than "Can't find manpage", as the latter reads
12246 like -k was interpreted as a page name, which is not so. (Bug#5431)
12248 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
12250 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
12251 switches. Check also for //SUBDIRED// line.
12253 2009-12-25 Kenichi Handa <handa@m17n.org>
12255 * language/indian.el (devanagari-composable-pattern): Fix to
12256 handle ZWNJ and ZWJ. Use it in composition-function-table for
12258 (malayalam-composable-pattern): Fix previous change.
12260 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12262 * ps-print.el (ps-face-attributes): It was not returning the
12263 attribute face for faces specified as string. Reported by harven
12264 <harven@free.fr>. (Bug#5254)
12265 (ps-print-version): New version 7.3.5.
12267 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
12269 * calendar/icalendar.el (icalendar--convert-tz-offset):
12270 Fix timezone names.
12271 (icalendar--convert-tz-offset): Fix the "last-day-problem".
12272 (icalendar--add-diary-entry): Remove the trailing blank that
12273 diary-make-entry inserts.
12275 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
12277 Make `file-expand-wildcards' work for remote files.
12279 * files.el (file-expand-wildcards): In case of remote files, check
12280 only local file name part for wildcards. Provide feature 'files
12281 and subfeature 'remote-wildcards. (Bug#5198)
12283 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
12284 if there is already an established connection.
12285 (tramp-advice-file-expand-wildcards): Remove it.
12287 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
12288 (tramp-advice-file-expand-wildcards): Move from tramp.el.
12289 Activate advice for older GNU Emacs versions. (Bug#5237)
12291 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
12293 Some doc fixes (more needed).
12295 * find-cmd.el (find-constituents): Reflow docstring.
12296 (find-cmd, find-prune, find-command): Fix typos in docstrings.
12297 (find-generic): Doc fix.
12299 2009-12-17 Juri Linkov <juri@jurta.org>
12301 Fix regression from 23.1 to allow multiple modes in Local Variables.
12303 * files.el (hack-local-variables-filter): While ignoring duplicates,
12304 don't take `mode' into account.
12305 (hack-local-variables-filter, hack-dir-local-variables):
12306 Don't remove duplicate `mode' from local-variables-alist (like `eval').
12308 2009-12-17 Juri Linkov <juri@jurta.org>
12310 Make `dired-diff' safer. (Bug#5225)
12312 * dired-aux.el (dired-diff): Signal an error when `file' equals to
12313 `current' or when `file' is a directory of the `current' file.
12315 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
12317 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
12318 unconditionally preloaded files.
12320 2009-12-16 Juri Linkov <juri@jurta.org>
12322 Revert to old 23.1 logic of using the file at the mark as default.
12323 * dired-aux.el (dired-diff): Use the file at the mark as default
12324 if it's not the same as the current file, and the target dir is
12325 the current dir or the mark is active. Add the current file
12326 as the arg of `dired-dwim-target-defaults'. Use the default file
12327 in the prompt. (Bug#5225)
12329 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
12331 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
12332 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
12333 (tramp-check-for-regexp): Check also, when an echoing shell stops
12334 to echo sent commands.
12336 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
12338 * Makefile.in: Revert last change (Bug#5191).
12340 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
12342 * vc-hg.el (vc-hg-print-log): Fix argument order.
12343 (vc-hg-working-revision): Make sure the command is executed in a
12344 known environment so that we can parse the output. (Bug#4417)
12346 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
12348 * progmodes/python.el (python-symbol-completions): Remove text
12349 properties from symbol string before calling python-send-receive.
12351 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
12353 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
12354 when there are values for both file and line. (Bug#5060)
12356 2009-12-14 Juri Linkov <juri@jurta.org>
12358 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
12359 whitespace after the file name of the first line of unified format,
12360 because git-diff doesn't output whitespace and file modification time
12361 after the file name.
12363 2009-12-14 David Kastrup <dak@gnu.org>
12365 * info.el (Info-hide-cookies-node): Before hiding a cookie,
12366 check if it already has the `display' property added by
12367 `Info-display-images-node', and not put the `invisible' property
12370 2009-12-13 Glenn Morris <rgm@gnu.org>
12372 * mail/emacsbug.el (message-sort-headers): Define for compiler.
12373 (report-emacs-bug): In message-mode, sort manually before storing
12374 original report text. (Bug#5178)
12375 Remove superfluous save-excursion.
12377 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
12379 * net/dbus.el (dbus-property-handler): Filter lambda forms out
12380 when responding to "GetAll" properties.
12382 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
12384 * simple.el (compose-mail): Remove mail-setup-with-from from
12385 customization checks.
12387 2009-12-12 Eli Zaretskii <eliz@gnu.org>
12389 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
12390 RAR archives created on Unix systems.
12392 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
12394 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
12395 the varalias that was accidentally removed by the 2009-11-19 change
12398 2009-12-12 Kenichi Handa <handa@m17n.org>
12400 * language/indian.el (indian-compose-regexp): New function.
12401 (malayalam-composable-pattern): Fix the pattern.
12402 (composition-function-table): Set malayalam-composable-pattern for
12403 Malayalam characters.
12405 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
12407 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
12408 rather than down-mouse-1, based on follow-link conventions.
12410 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
12413 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
12415 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
12416 (verilog-vmm-statement-re, verilog-ovm-statement-re)
12417 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
12418 (verilog-leap-to-head, verilog-backward-token):
12419 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
12421 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
12423 * progmodes/verilog-mode.el (verilog-auto-lineup)
12424 (verilog-nameable-item-re): Cleanup user-visible spelling and
12425 documentation errors. One reported by Gary Delp.
12426 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
12427 (verilog-read-decls): Fix AUTOWIRE with types declared in a
12428 package, bug195. Reported by Pierre-David Pfister.
12430 2009-12-11 Glenn Morris <rgm@gnu.org>
12432 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
12434 * mail/emacsbug.el: No longer require sendmail.
12435 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
12436 (report-emacs-bug-orig-text): Doc fix.
12437 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
12438 New local variables, to adapt to different mail-user-agents.
12439 (report-emacs-bug): Fix test for a gnu.org address.
12440 Use overlays for emphasis, since font-lock defeats 'face property.
12441 Pretest bugs also end up at the newsgroup these days.
12442 Stop message-mode stripping text properties.
12443 Set and use the new buffer-local variables.
12444 (report-emacs-bug-hook): Add doc-string.
12445 Remove some unnecessary save-excursions and simplify.
12446 Use the appropriate hook and send-command.
12448 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
12449 capitalization of some menu entries.
12451 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12453 * whitespace.el (whitespace-display-char-on):
12454 Ensure `buffer-display-table' is unique when two or more windows are
12455 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
12458 2009-12-10 Eli Zaretskii <eliz@gnu.org>
12460 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
12461 characters in the Attribute field.
12463 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
12465 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
12467 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
12469 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
12470 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12471 Disregard autoload-excludes.
12472 (update-directory-autoloads): Obey autoload-excludes here instead.
12473 But don't store its contents in no-autoloads and remove entries that
12474 refer to excludes files.
12476 2009-12-10 Glenn Morris <rgm@gnu.org>
12478 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
12479 (expand-mail-aliases): Define for compiler.
12481 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
12482 Define for compiler.
12484 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
12485 appropriate for the mail-user-agent in use.
12487 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
12489 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
12491 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
12493 Fix short log parsing and fontification.
12494 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
12495 Fix fontification for the [merge] label.
12497 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
12499 Drop some properties to avoid surprises (bug#5002).
12500 * htmlfontify.el (hfy-ignored-properties): New defcustom.
12501 (hfy-fontify-buffer): Use it.
12503 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
12506 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
12507 Adjust all callers.
12508 (ffap-locate-file): Remove unused arg `dir-ok' and make other
12509 args compulsory. Adjust callers.
12510 (ffap-gopher-at-point): Remove unused var `name'.
12512 Get rid of the ELCFILES abomination.
12513 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12514 (compile-elcfiles): New phony target.
12515 (compile-main): Compute ELCFILES dynamically.
12516 (compile-clean): New target to remove left-over elc files.
12517 (compile, all): Use it.
12519 2009-12-09 Kenichi Handa <handa@etlken>
12521 * international/mule-diag.el: Require help-mode instead of help-fns.
12523 2009-12-09 Kenichi Handa <handa@m17n.org>
12525 * international/mule-cmds.el (ucs-names): Supply sufficiently
12526 fine ranges instead of pre-calculating accurate ranges.
12527 Iterate with bigger gc-cons-threshold.
12529 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
12531 Add support for stashing a snapshot of the current tree.
12532 * vc-git.el (vc-git-stash-snapshot): New function.
12533 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
12535 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
12537 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
12538 instead of `(beginning|end)-of-line'.
12540 2009-12-08 Glenn Morris <rgm@gnu.org>
12542 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
12544 * Makefile.in (ELCFILES): Regenerate.
12546 2009-12-07 Juri Linkov <juri@jurta.org>
12548 Don't lazy-highlight the comint output in history Isearch mode.
12550 * comint.el (comint-history-isearch-search): Instead of
12551 `comint-line-beginning-position', use `comint-after-pmark-p'
12552 to check if point if before the process mark, and go to
12553 `process-mark' in this case.
12555 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12557 * textmodes/tex-mode.el (latex-complete)
12558 (latex-indent-or-complete): Remove.
12559 (latex-mode): Set completion-at-point-functions instead.
12561 Provide a standard completion command and hook it into TAB.
12562 * minibuffer.el (completion-at-point-functions): New var.
12563 (completion-at-point): New command.
12564 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
12565 * progmodes/python.el (python-mode-map): Use completion-at-point.
12566 (python-completion-at-point): Rename from python-partial-symbol and
12567 adjust for use in completion-at-point-functions.
12568 (python-mode): Setup completion-at-point for Python completion.
12569 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
12570 extracted from lisp-complete-symbol.
12571 (lisp-complete-symbol): Use it.
12572 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
12573 setup completion-at-point for Elisp completion.
12574 (emacs-lisp-mode-map, lisp-interaction-mode-map):
12575 Use completion-at-point.
12576 * ielm.el (ielm-map): Use completion-at-point.
12577 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
12578 * progmodes/sym-comp.el: Move to...
12579 * obsolete/sym-comp.el: Move from progmodes.
12581 2009-12-07 Eli Zaretskii <eliz@gnu.org>
12583 Prevent save-buffer in Rmail buffers from using the coding-system
12584 of the current message, and from clobbering the encoding mnemonics
12585 in the mode line (Bug#4623).
12587 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
12589 (rmail-message-encoding): New variable.
12590 (rmail-write-region-annotate): Record the encoding of the current
12591 message in rmail-message-encoding.
12592 (rmail-after-save-hook): New function, restores the encoding of
12593 the current message after the message collection is saved.
12595 2009-12-07 Juri Linkov <juri@jurta.org>
12597 * progmodes/grep.el (grep-read-files): Use `completing-read'
12598 instead of `read-string'. Set its `collection' arg to
12599 `read-file-name-internal'. (Bug#4301)
12601 2009-12-07 Juri Linkov <juri@jurta.org>
12603 Correctly restore original Isearch point. (Bug#4994)
12605 * isearch.el (isearch-mode): Move `isearch-push-state' after
12606 `(run-hooks 'isearch-mode-hook)'.
12607 (isearch-cancel): When `isearch-push-state-function' is defined,
12608 let-bind `isearch-cmds' to the first state (the last element of
12609 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
12610 function and restores the original point). Otherwise, move point
12611 to `isearch-opoint'.
12613 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12615 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
12616 chars that don't have names, so the table can be built much faster at
12619 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
12621 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
12622 change. Suggested by David Kastrup.
12624 * simple.el (compose-mail): Check for incompatibilities and warn.
12625 (compose-mail-user-agent-warnings): New option.
12627 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12629 Support showing a single log entry from vc-annotate.
12630 * vc.el (print-log): Add a new argument: START-REVISION.
12631 (vc-print-log-internal): Add a new optional argument and
12632 pass it to the backend.
12633 (vc-print-log, vc-print-root-log): Adjust callers.
12634 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
12635 buffer already displays the requested log entry, use it.
12636 Otherwise display only the log entry in question.
12637 * vc-svn.el (vc-svn-print-log):
12638 * vc-mtn.el (vc-mtn-print-log):
12639 * vc-hg.el (vc-hg-state):
12640 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
12641 (vc-git-show-log-entry): Return t on success.
12642 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
12643 (vc-bzr-show-log-entry): Return t on success.
12644 * vc-rcs.el (vc-rcs-print-log):
12645 * vc-sccs.el (vc-sccs-print-log):
12646 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
12648 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12650 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
12651 Add menus to the meta mode. (Bug#5043)
12653 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
12655 * ediff-init.el (ediff-event-key): Use event-to-character instead of
12658 * ediff.el (ediff-buffers-internal): Add unwind-protect.
12660 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
12662 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
12663 Berbain <raphael.berbain@gmail.com>.
12665 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
12667 (tramp-initial-end-of-output): New defconst.
12668 (tramp-methods, tramp-find-shell)
12669 (tramp-open-connection-setup-interactive-shell)
12670 (tramp-maybe-open-connection): Use it.
12671 (tramp-shell-prompt-pattern, tramp-wait-for-output):
12672 Handle existence of `#' and `$'.
12674 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
12675 Use `tramp-initial-end-of-output'.
12677 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12679 Get the background mode from the terminal for xterm, and set
12681 * term/xterm.el (xterm-set-background-mode): New function.
12682 (terminal-init-xterm): Use it in case xterm supports background
12683 color queries. Recompute faces after getting the background
12686 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
12688 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
12689 number comment back on its own line, for easier parsing.
12691 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12693 Make it work for non-file buffers (bug#5102).
12694 * doc-view.el (doc-view-current-cache-dir):
12695 Use doc-view-buffer-file-name rather than buffer-file-name.
12696 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
12698 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
12700 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
12701 author field is too short.
12703 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
12705 * vc-git.el (vc-git-print-log): Handle a limit argument.
12706 Display the short log in graph form and with labels.
12707 (vc-git-log-view-mode): Handle labels.
12709 Make vc-revert change VC state from 'added to 'unregistered.
12710 * vc-git.el (vc-git-revert): Call git reset first.
12712 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
12714 * net/newst-backend.el, net/newst-plainview.el:
12715 * net/newst-reader.el, net/newst-ticker.el:
12716 * net/newst-treeview.el, net/newsticker.el:
12717 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
12719 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
12721 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
12723 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
12724 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
12725 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
12726 Update annotation regexp.
12728 * simple.el (beginning-of-visual-line): Constrain to field
12729 boundaries (Bug#5106).
12731 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
12733 * xml.el (xml-substitute-numeric-entities):
12734 Move newsticker--decode-numeric-entities in newst-backend.el to
12735 xml-substitute-numeric-entities in xml.el. (Bug#5008)
12736 * net/newst-backend.el (newsticker--parse-generic-feed)
12737 (newsticker--parse-generic-items)
12738 (newsticker--decode-numeric-entities):
12739 Move newsticker--decode-numeric-entities in newst-backend.el to
12740 xml-substitute-numeric-entities in xml.el. (Bug#5008)
12742 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
12744 * progmodes/js.el (js--js-not): Add null to the list of values.
12746 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
12748 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
12750 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12752 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
12753 delimiter if it is at the end of the current line.
12754 (bibtex-generate-url-list): Fix docstring.
12756 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12758 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
12759 minibuffer's content with itself.
12760 Fold the confirm-after-completion case into the `confirm' case.
12761 (completion-pcm-word-delimiters): Add : and / to the delimiters.
12763 2009-12-06 Kevin Ryde <user42@zip.com.au>
12765 * ffap.el (ffap-rfc-path): Make this a defcustom since
12766 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
12768 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
12769 manuals, similar to existing setup for help-mode. (Bug#3913.)
12771 2009-12-05 Juri Linkov <juri@jurta.org>
12773 Save and restore dired buffer's point positions too. (Bug#4880)
12775 * dired.el (dired-save-positions): Return in the first element
12776 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
12778 (dired-restore-positions): First restore buffer's position.
12779 While restoring window's positions, check if window still displays
12780 the original buffer.
12782 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
12784 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
12787 * shell.el (shell): Require ansi-color (Bug#5113).
12789 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
12791 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
12793 2009-12-05 Alan Mackenzie <acm@muc.de>
12795 * progmodes/cc-mode.el (c-before-hack-hook)
12796 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
12797 `c-file-style' to work again. This reversion restores the current
12798 software to its state in Emacs 23.1. (Bug#4146)
12800 2009-12-05 Kevin Ryde <user42@zip.com.au>
12802 * textmodes/sgml-mode.el (sgml-lexical-context):
12803 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
12805 2009-12-05 Juri Linkov <juri@jurta.org>
12807 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
12808 for virtual nodes. (Bug#4147)
12809 (Info-find-node-2): Set `Info-current-node-virtual' to nil
12810 when moving from a virtual node.
12811 (Info-mode-menu): Add `Info-virtual-index' to the menu.
12812 (Info-mode): Add `Info-virtual-index' to the docstring.
12814 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12816 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
12817 track of the buffer position of the end of a BibTeX entry as this
12818 position may change during reformatting.
12819 (bibtex-format-entry): Remove whitespace before processing
12820 numerical fields so that we recognize the latter properly.
12821 (bibtex-reformat): Do not use push which changes the global value
12822 of bibtex-entry-format.
12823 (bibtex-field-braces-alist, bibtex-field-strings-alist)
12824 (bibtex-field-re-init): Replace only space characters by regexp
12826 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
12827 (bibtex-initialize): Also update bibtex-strings.
12828 (bibtex-kill-field): Preserve white space at end of entry.
12829 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
12830 Update bibtex-reference-keys.
12832 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
12834 * minibuffer.el (completion-pcm--merge-try): Also consider placing
12835 point after a star, if that's the only place where modifications can
12838 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
12840 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
12843 2009-12-04 Juri Linkov <juri@jurta.org>
12845 * proced.el (proced): Call `(proced-update t)' to update process
12846 information instead of only running proced-post-display-hook.
12847 (proced-send-signal): Add a leading space to the buffer name
12848 " *Marked Processes*" to make this buffer ephemeral.
12850 2009-12-04 Juri Linkov <juri@jurta.org>
12852 * dired.el (dired-auto-revert-buffer): New defcustom.
12853 (dired-internal-noselect): Use it.
12855 2009-12-04 Juri Linkov <juri@jurta.org>
12857 Change roles of modes and functions in image-mode.el (Bug#5062).
12859 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
12860 in `auto-mode-alist'.
12861 (image-mode-previous-major-mode): New variable.
12862 (image-minor-mode-map): Rename from `image-mode-text-map'.
12863 (image-mode): Move graceful error-handling code from
12864 `image-minor-mode' to here. On errors call `image-mode-as-text'.
12865 (image-minor-mode): Remove all image-handling code.
12866 Replace `image-mode-text-map' with `image-minor-mode-map'.
12867 Check for `image-type' in mode-line format string.
12868 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
12869 (image-mode-as-text): New function with most code from
12870 `image-mode-maybe'.
12871 (image-toggle-display-text): Move code that removes image
12872 properties from `image-toggle-display' to here.
12873 (image-toggle-display-image): New function with code that adds
12874 image properties copied from `image-toggle-display'.
12875 (image-toggle-display): Remove most code with leaving only code
12876 that toggles between `image-mode-as-text' and `image-mode'.
12878 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
12880 * net/newst-treeview.el
12881 (newsticker--treeview-list-highlight-start): Restored call to
12882 save-excursion: Selected item was stuck.
12883 (newsticker--treeview-list-select): New.
12884 (newsticker--treeview-item-show-text)
12885 (newsticker--treeview-item-show)
12886 (newsticker--treeview-item-update): Use new
12887 newsticker-treeview-item-mode.
12888 (newsticker-treeview-update): Keep current item.
12889 (newsticker-treeview-next-new-or-immortal-item): Doc change.
12890 (newsticker--treeview-first-feed): Doc change.
12891 (newsticker-treeview-list-menu)
12892 (newsticker-treeview-item-menu): Add menu entries.
12893 (newsticker-treeview-item-mode): New.
12895 * net/newst-backend.el (newsticker-customize): Delete other
12898 2009-12-04 Sam Steingold <sds@gnu.org>
12900 * log-view.el (log-view-mode-map): "q" calls quit-window,
12901 like in all the other non-self-insert buffers.
12903 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
12906 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
12907 key decoding rather than do it manually via last-input-event +
12909 (term-exec): Use delete-and-extract-region.
12910 (term-handle-ansi-terminal-messages): Remove unused var `end'.
12911 (term-process-pager): Remove unused var `i'.
12912 (term-dynamic-simple-complete): Make obsolete.
12913 (serial-update-config-menu): Remove unused vars `y' and `str'.
12914 (term-update-mode-line): Remove unused var `temp'.
12916 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12918 Limit the number of log entries displayed by default.
12919 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
12920 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
12921 using a prefix argument.
12923 2009-12-03 Glenn Morris <rgm@gnu.org>
12925 * progmodes/idlwave.el (class): Restore still useful declaration.
12927 2009-12-03 Alan Mackenzie <acm@muc.de>
12929 Enhance `c-parse-state' to run efficiently in "brace deserts".
12931 * progmodes/cc-mode.el (c-basic-common-init):
12932 Call c-state-cache-init.
12933 (c-neutralize-syntax-in-and-mark-CPP): Rename from
12934 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
12935 placing `category' properties value 'c-cpp-delimiter at its boundaries.
12937 * progmodes/cc-langs.el (c-before-font-lock-function):
12938 c-extend-and-neutralize-syntax-in-CPP has been renamed
12939 c-neutralize-syntax-in-and-mark-CPP.
12941 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
12942 with `category' properties now, not `syntax-table' ones.
12944 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
12945 enhanced (but slower) version of c-end-of-macro that won't land
12946 inside a literal or on another awkward character.
12947 (c-state-cache-too-far, c-state-cache-start)
12948 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
12949 (c-state-nonlit-pos-cache-limit, c-state-point-min)
12950 (c-state-point-min-lit-type, c-state-point-min-lit-start)
12951 (c-state-min-scan-pos, c-state-brace-pair-desert)
12952 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
12953 buffer local variables.
12954 (c-state-literal-at, c-state-lit-beg)
12955 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
12956 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
12957 (c-state-cache-top-paren, c-state-cache-after-top-paren)
12958 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
12959 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
12960 (c-renarrow-state-cache)
12961 (c-append-lower-brace-pair-to-state-cache)
12962 (c-state-push-any-brace-pair, c-append-to-state-cache)
12963 (c-remove-stale-state-cache)
12964 (c-remove-stale-state-cache-backwards, c-state-cache-init)
12965 (c-invalidate-state-cache-1, c-parse-state-1)
12966 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
12967 (c-parse-state): Enhance and refactor.
12968 (c-debug-parse-state): Amend to deal with all the new variables.
12970 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
12971 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
12972 modify to use category text properties rather than syntax-table ones.
12973 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
12974 to switch off/on the syntactic paren property of C++ template
12975 delimiters using the category property.
12976 (c-with-<->-as-parens-suppressed): Macro to invoke code with
12977 template delims suppressed.
12978 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
12979 New constant/macros which apply category properties to the start
12980 and end of preprocessor constructs.
12981 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
12982 "comment out" the syntactic value of characters in preprocessor
12984 (c-with-cpps-commented-out)
12985 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
12986 with characters in all or all but one preprocessor constructs
12989 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12991 * proced.el (proced-filter-alist): Use regexp-quote.
12993 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
12996 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
12997 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
12998 arguments. Expand `default-directory'.
13000 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
13001 the benefit of returning an expanded localname.
13002 (tramp-tramp-file-p): Handle the case NAME is not a string.
13004 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13006 Add support for bzr shelve/unshelve.
13007 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13008 (vc-bzr-extra-menu-map): New variables.
13009 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
13010 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
13011 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
13012 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
13013 (vc-bzr-dir-extra-headers): Display shelves.
13015 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
13017 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13019 * textmodes/bibtex.el (bibtex-complete-internal):
13020 Use completion-in-region.
13021 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
13023 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13025 Support applying stashes. Improve UI.
13026 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
13027 (vc-git-stash-apply, vc-git-stash-pop)
13028 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
13029 (vc-git-stash-menu): New functions.
13030 (vc-git-stash-menu-map): New variable.
13031 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
13033 2009-12-03 Glenn Morris <rgm@gnu.org>
13035 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
13036 (vc-print-log-internal): Fix previous change.
13037 (vc-revert): Correct pluralization.
13039 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13041 * progmodes/make-mode.el (makefile-special-targets-list): No need for
13042 it to be an alist any more.
13043 (makefile-complete): Use completion-in-region.
13045 * progmodes/octave-mod.el (octave-complete-symbol):
13046 Use completion-in-region.
13049 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
13050 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
13051 (idlwave-complete-class): Don't quote lambda.
13052 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
13053 (idlwave-mode-map): Move initialization into declaration.
13054 (idlwave-action-and-binding): Use backquotes.
13055 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
13057 (idlwave-is-pointer-dereference): Remove unused var `pos'.
13058 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
13059 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
13060 `parts', and `all-parts'.
13061 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
13062 (idlwave-convert-xml-system-routine-info): Remove unused string
13064 (idlwave-display-user-catalog-widget): Use dolist.
13065 (idlwave-scanning-lib): Declare dynamically-scoped var.
13066 (idlwave-scan-library-catalogs): Remove unused var `flags'.
13067 (completion-highlight-first-word-only): Declare to silence bytecomp.
13068 (idlwave-popup-select): Tighten scope of `resp'.
13069 (idlwave-find-struct-tag): Remove unused var `beg'.
13070 (idlwave-after-load-rinfo-hook): Declare.
13071 (idlwave-sintern-class-info): Remove unused var `taglist'.
13072 (idlwave-find-class-definition): Remove unused var `list'.
13073 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
13074 (idlwave-what-module-find-class): Remove unused var `classes'.
13076 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
13078 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
13080 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13082 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
13083 buffers visited. Remove redundant current-buffer-saving.
13085 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13087 Use completion-in-buffer and remove uses of dynamic scoping.
13088 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
13089 (pascal-buffer-to-use, pascal-flag): Don't declare.
13090 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
13091 (pascal-get-completion-decl, pascal-keyword-completion):
13092 Add `pascal-str' argument, save-excursion,
13093 return the found completions, and don't filter with pascal-pred.
13094 (pascal-completion-cache): New var.
13095 (pascal-completion): Don't switch buffer any more (it was never
13096 necessary). Don't save-excursion any more (it's done by the called
13097 subroutines). Use a cache to avoid redundant computations.
13098 Use complete-with-action rather than pascal-completion-response and
13099 let it apply the predicate as well.
13100 (pascal-complete-word): Use completion-in-buffer when
13101 pascal-toggle-completions is nil.
13102 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
13104 (pascal-comp-defun): Don't change buffer any more.
13105 Use complete-with-action rather than pascal-completion-response and
13106 let it apply the predicate as well.
13107 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
13110 2009-12-02 Kenichi Handa <handa@m17n.org>
13112 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
13113 shape for all Indic scripts.
13115 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13117 Use completion-in-buffer.
13118 * wid-edit.el (widget-field-text-end): New function.
13119 (widget-field-value-get): Use it.
13120 (widget-string-complete, widget-file-complete)
13121 (widget-color-complete): Use it and completion-in-region.
13122 (widget-complete): Don't narrow the buffer.
13124 2009-12-02 Glenn Morris <rgm@gnu.org>
13126 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
13127 (rmail-select-summary): Use rmail-pop-to-buffer.
13128 * mail/rmailsum.el: Replace all pop-to-buffer calls with
13129 rmail-pop-to-buffer, to prevent horizontal splits.
13131 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
13132 save-excursion with save-current-buffer.
13133 Widen before searching. (Bug#5093)
13134 (diary-list-sexp-entries): Remove superfluous save-excursion.
13136 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
13138 * woman.el (woman-make-bufname): Handle man-pages with "." in the
13141 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
13143 * ido.el (ido-file-internal): Handle filenames at point that do
13144 not have a directory part. (Bug#5049)
13146 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
13148 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
13149 (mpc-songs-jump-to, mpc-resume): Doc fixes.
13151 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
13153 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
13154 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
13157 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13159 * comint.el (comint-insert-input): Ignore clicks to the right of
13160 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
13162 * vc.el (vc-print-log-internal): Don't wait for the process to
13163 terminate before setting up the major mode.
13165 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
13168 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
13171 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
13173 2009-12-01 Glenn Morris <rgm@gnu.org>
13175 * window.el (window--display-buffer-2): Fix previous changes.
13177 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
13179 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
13181 2009-12-01 Glenn Morris <rgm@gnu.org>
13183 * Makefile.in (ELCFILES): Add mpc.elc.
13185 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13187 * mpc.el: New file.
13189 2009-12-01 Glenn Morris <rgm@gnu.org>
13191 * window.el (window-to-use): Define for compiler.
13193 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
13194 consistent with others (no final period).
13196 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
13197 (rmail-mime-show): Downcase the encoding. (Bug#5070)
13199 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
13201 Make vc-print-log buttons work.
13202 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
13204 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
13206 * savehist.el (savehist-autosave-interval): Allow setting to nil
13207 through customize. (Bug#5056)
13209 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
13211 Fix references to jit-lock properties.
13212 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
13213 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
13214 (perl-font-lock-special-syntactic-constructs):
13215 Quote jit-lock-defer-multiline property.
13217 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
13219 * vc-git.el (vc-git-registered): Call vc-git-root only once.
13221 2009-11-30 Juri Linkov <juri@jurta.org>
13223 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
13224 value `buffer' of `multi-isearch-next-buffer-current-function'.
13225 Use `(current-buffer)' when `buffer' is nil.
13226 (multi-isearch-next-buffer-from-list): Don't fallback to
13227 `(current-buffer)' when `buffer' is nil. (Bug#4947)
13229 2009-11-30 Juri Linkov <juri@jurta.org>
13231 * misearch.el (multi-isearch-read-buffers): Move canonicalization
13232 of buffers with `get-buffer' to `multi-isearch-buffers'.
13233 (multi-isearch-buffers, multi-isearch-buffers-regexp):
13234 Canonicalize BUFFERS with `get-buffer'. Doc fix.
13235 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
13236 FILES with `expand-file-name' converting relative file names
13237 to absolute. Doc fix. (Bug#4727)
13239 2009-11-30 Juri Linkov <juri@jurta.org>
13241 * misearch.el (multi-isearch-read-buffers)
13242 (multi-isearch-read-matching-buffers): New functions.
13243 (multi-isearch-buffers, multi-isearch-buffers-regexp):
13244 Use them in the `interactive' spec. Doc fix.
13245 (multi-isearch-read-files, multi-isearch-read-matching-files):
13247 (multi-isearch-files, multi-isearch-files-regexp):
13248 Use them in the `interactive' spec. Doc fix. (Bug#4725)
13250 2009-11-30 Juri Linkov <juri@jurta.org>
13252 * doc-view.el (doc-view-continuous):
13253 Rename from `doc-view-continuous-mode'.
13254 (doc-view-menu): Move "Toggle display" to the top.
13255 Add submenu "Continuous" with radio buttons "Off"/"On"
13256 and "Save as Default".
13257 (doc-view-scroll-up-or-next-page)
13258 (doc-view-scroll-down-or-previous-page)
13259 (doc-view-next-line-or-next-page)
13260 (doc-view-previous-line-or-previous-page):
13261 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
13263 2009-11-30 Juri Linkov <juri@jurta.org>
13265 * comint.el (comint-mode-map): Rebind `M-r' from
13266 `comint-previous-matching-input' to
13267 `comint-history-isearch-backward-regexp'.
13268 Unbind `M-s' to allow global key binding `M-s'.
13269 Add menu items for `comint-history-isearch-backward' and
13270 `comint-history-isearch-backward-regexp'. (Bug#3746)
13272 2009-11-30 Juri Linkov <juri@jurta.org>
13274 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
13275 For def=recenter, replace `recenter' with `recenter-top-bottom'
13276 that is called with `this-command' and `last-command' let-bound
13277 to `recenter-top-bottom'. When the last `def' was not `recenter',
13278 set `recenter-last-op' to nil. (Bug#4981)
13280 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
13282 Minor cleanup and simplification.
13283 * filecache.el (file-cache-add-directory)
13284 (file-cache-add-directory-recursively)
13285 (file-cache-add-from-file-cache-buffer)
13286 (file-cache-delete-file-regexp, file-cache-delete-directory)
13287 (file-cache-files-matching-internal, file-cache-display): Use dolist.
13288 (file-cache-temp-minibuffer-message): Delete function.
13289 (file-cache-minibuffer-complete): Use minibuffer-message instead.
13291 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
13292 Don't signal an error when bumping into EOB in tr, s, or y.
13294 2009-11-29 Juri Linkov <juri@jurta.org>
13296 * startup.el (fancy-about-text): Fix wording of Guided Tour.
13299 * descr-text.el (describe-char-unidata-list): Use lowercase name
13300 for "Unicode name" like in other tags.
13302 2009-11-29 Juri Linkov <juri@jurta.org>
13304 * ediff-util.el (ediff-minibuffer-with-setup-hook):
13305 New compatibility macro.
13306 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
13308 2009-11-29 Juri Linkov <juri@jurta.org>
13310 Add defcustom to define the cycling order of `recenter-top-bottom'.
13313 * window.el (recenter-last-op): Doc fix.
13314 (recenter-positions): New defcustom.
13315 (recenter-top-bottom): Rewrite to use `recenter-positions'.
13316 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
13318 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
13320 Improve integration of Tramp and ange-ftp in eshell.
13322 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
13323 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
13324 (eshell/sudo): Flatten args. Let-bind `default-directory'.
13326 * eshell/esh-util.el (top): Require also Tramp when compiling.
13327 (eshell-directory-files-and-attributes): Check for FTP remote
13329 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
13330 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
13331 (eshell-file-attributes): Handle ".". Return `entry'.
13333 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
13334 (ange-ftp-directory-files-and-attributes)
13335 (ange-ftp-real-directory-files-and-attributes): New defuns.
13337 * net/tramp.el (tramp-maybe-open-connection): Open the remote
13338 shell with "exec" when possible. This prevents trailing prompts
13339 in `start-file-process'.
13341 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13343 Try and remove assumptions about point-min==1.
13344 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
13345 (rng-compute-mode-line-string): Show the validation percentage in
13346 terms of the narrowed text, not the widened text.
13347 (rng-do-some-validation): Don't catch internal errors when debugging.
13348 (rng-first-error): Simplify.
13349 (rng-after-change-function): Remove work around. AFAIK the bug has
13350 been fixed a while ago.
13352 * image-mode.el (image-minor-mode): Exit more gracefully when the image
13353 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
13355 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
13357 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
13358 `cd' doesn't always do it for us (bug#5067).
13360 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
13361 on 2009-10-25 as part of some other change (bug#5067).
13363 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
13365 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
13367 (byte-compile-warnings): Use byte-compile-warning-types.
13368 (byte-compile-save-excursion): Warn about use of set-buffer right
13369 after save-excursion.
13371 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
13372 the excursion as well.
13374 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
13376 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
13377 providing a Tramp related implementation of "su" and "sudo".
13378 (eshell-unix-initialize): Add "su" and "sudo".
13380 2009-11-27 Daiki Ueno <ueno@unixuser.org>
13382 * net/socks.el (socks-send-command): Convert binary request to
13383 unibyte before sending. This fixes mishandling of some port
13384 numbers such as 129.
13386 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
13388 * help.el (describe-bindings-internal): Remove `interactive'.
13390 * man.el (Man-completion-table): Trim a terminating "(".
13391 Remove the space between name page a section.
13392 Add the command's description on the `help-echo' property.
13393 Remove `process-connection-type' binding since it's unused by
13395 Provide completion for the "<section> <name>" format as well.
13396 (Man-default-man-entry): Remove spurious var shadowing the argument.
13398 2009-11-26 Kevin Ryde <user42@zip.com.au>
13400 * log-view.el: Add "Keywords: tools", since its other keywords
13401 aren't in finder-known-keywords, and following vc.el.
13403 * sha1.el (sha1-string-external): default-directory "/" in case
13404 otherwise non-existent. process-connection-type pipe for touch of
13405 efficiency recommended by elisp manual. (An aside in Bug#3911.)
13407 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
13409 Misc coding convention cleanups.
13410 * htmlfontify.el (hfy-init-kludge-hook): Rename from
13411 hfy-init-kludge-hooks.
13412 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
13413 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
13414 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
13416 (hfy-slant, hfy-weight): Use tables rather than code.
13417 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
13418 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
13419 (hfy-face-attr-for-class): Initialize `face-spec' directly.
13420 (hfy-face-to-css): Remove `nconc' with single arg.
13421 (hfy-p-to-face-lennart): Use `or'.
13422 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
13423 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
13424 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
13425 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
13426 (hfy-force-fontification): Use run-hooks.
13428 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
13430 Various minor fixes.
13431 * htmlfontify.el (hfy-default-header): Add toggle_invis since
13432 Javascript belongs in the header, not the body.
13433 (hfy-javascript): Remove.
13434 (hfy-fontify-buffer): Don't insert it any more.
13435 (hfy-face-at): Handle (face0 face1 face2) style face properties.
13436 Fix bug in invis handling when there were no invis props in a chunk.
13438 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
13440 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
13442 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
13444 * finder.el (finder-mode-map): Add a menu.
13446 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
13448 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
13449 "unsigned" structs.
13451 (verilog-leap-to-head, verilog-backward-token): Handle "disable
13452 fork" statement better.
13454 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
13456 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
13457 (verilog-delete-auto, verilog-delete-empty-auto-pair)
13458 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
13459 Reported by Clay Douglass.
13461 (verilog-auto-inst, verilog-auto-star-safe)
13462 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
13463 Fix removing "// Interfaces" when saving .* expansions.
13464 Reported by Pierre-David Pfister.
13466 2009-11-26 Glenn Morris <rgm@gnu.org>
13468 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
13471 2009-11-25 Johan Bockgård <bojohan@gnu.org>
13473 * vc-annotate.el (vc-annotate-revision-previous-to-line):
13474 Really use previous revision.
13476 2009-11-25 Kevin Ryde <user42@zip.com.au>
13478 * man.el (Man-completion-table): default-directory "/" in case
13479 doesn't otherwise exist. process-environment COLUMNS=999 so as
13480 not to truncate long names. process-connection-type pipe to avoid
13481 any chance of hitting the pseudo-tty TIOCGWINSZ.
13482 (man): completion-ignore-case t for friendliness and since man
13483 itself is case-insensitive on the command line.
13484 Further to Bug#3717.
13486 * arc-mode.el: Add "Keywords: files", so the details in its
13487 commentary can be reached from finder-by-keyword.
13488 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
13489 editing mode, but it's comms related and sgml-mode.el has "comm"
13491 * textmodes/bibtex-style.el: Add "Keywords: tex".
13492 * international/isearch-x.el, international/ja-dic-cnv.el:
13493 * international/ja-dic-utl.el, international/kkc.el:
13494 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
13496 2009-11-25 Juri Linkov <juri@jurta.org>
13498 * man.el (Man-completion-table): Modify regexp to include
13499 section names to completion strings. (Bug#3717)
13501 2009-11-25 Juri Linkov <juri@jurta.org>
13503 Search recursively in gzipped files. (Bug#4982)
13505 * progmodes/grep.el (grep-highlight-matches): Add new options
13506 `always' and `auto'. Doc fix.
13507 (grep-process-setup): Check `grep-highlight-matches' for
13508 `auto-detect' to determine the need to compute grep defaults.
13509 Move Windows/DOS specific --colors settings handling
13510 to `grep-compute-defaults'. Check `grep-highlight-matches'
13511 to get the value of "--color=".
13512 (grep-compute-defaults): Compute `grep-highlight-matches' when it
13513 has the value `auto-detect'. Move Windows/DOS specific settings
13514 from `grep-process-setup'.
13515 (zrgrep): New command with alias `rzgrep'.
13517 2009-11-25 Juri Linkov <juri@jurta.org>
13519 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
13520 to nil instead of switching off view-mode. (Bug#4896)
13522 2009-11-25 Juri Linkov <juri@jurta.org>
13524 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
13526 * mwheel.el (mwheel-scroll-up-function)
13527 (mwheel-scroll-down-function): New defvars.
13528 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
13529 `scroll-up', and `mwheel-scroll-down-function' instead of
13532 * doc-view.el (doc-view-scroll-up-or-next-page)
13533 (doc-view-scroll-down-or-previous-page): Add optional ARG.
13534 Use this ARG in the call to image-scroll-up/image-scroll-down.
13535 Change `interactive' spec to "P". Goto next/previous page only
13536 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
13537 SPC/DEL case). Doc fix.
13538 (doc-view-next-line-or-next-page)
13539 (doc-view-previous-line-or-previous-page): Rename arg to ARG
13541 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
13542 `doc-view-scroll-up-or-next-page', and buffer-local
13543 `mwheel-scroll-down-function' to
13544 `doc-view-scroll-down-or-previous-page'.
13546 2009-11-25 Juri Linkov <juri@jurta.org>
13548 Provide additional default values (directories at other Dired
13549 windows) via M-n in the minibuffer of some Dired commands.
13551 * dired-aux.el (dired-diff, dired-compare-directories)
13552 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
13553 `minibuffer-default' in `minibuffer-with-setup-hook'.
13554 (dired-dwim-target-directory): Find a window that displays Dired
13555 buffer instead of failing when the next window is not Dired.
13556 Use `get-window-with-predicate' to find for the next Dired window.
13557 (dired-dwim-target-defaults): New function.
13559 * ediff-util.el (ediff-read-file-name):
13560 Use `dired-dwim-target-defaults' to set `minibuffer-default'
13561 in `minibuffer-with-setup-hook'.
13563 2009-11-25 Juri Linkov <juri@jurta.org>
13565 Provide additional default values (file name at point or at the
13566 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
13568 * minibuffer.el (read-file-name-defaults): New function.
13569 (read-file-name): Reset `minibuffer-default' to nil when
13570 it duplicates initial input `insdef'.
13571 Bind `minibuffer-default-add-function' to lambda that
13572 calls `read-file-name-defaults' in `minibuffer-selected-window'.
13573 (minibuffer-insert-file-name-at-point): New command.
13575 * files.el (file-name-at-point-functions): New defcustom.
13576 (find-file-default): Remove defvar.
13577 (find-file-read-args): Don't use `find-file-default'.
13578 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13579 to `read-file-name'.
13580 (find-file-literally): Use `read-file-name' with
13581 `confirm-nonexistent-file-or-buffer'.
13583 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
13585 * dired.el (dired-read-dir-and-switches):
13586 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13587 to `read-file-name'.
13588 (dired-file-name-at-point): New function.
13589 (dired-mode): Add hook `dired-file-name-at-point' to
13590 `file-name-at-point-functions'.
13592 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13594 Really make the *Completions* window soft-dedicated (bug#5030).
13595 * window.el (window--display-buffer-2): Add `dedicated' argument.
13596 (display-buffer): Pass it when needed so the dedicated flag is set
13597 after calling set-window-buffer, which would otherwise reset it.
13599 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13601 * progmodes/meta-mode.el (meta-complete-symbol):
13602 * progmodes/etags.el (complete-tag):
13603 * mail/mailabbrev.el (mail-abbrev-complete-alias):
13604 Use completion-in-region.
13606 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
13607 (dabbrev-completion): Use completion-in-region.
13608 (dabbrev--abbrev-at-point): Simplify regexp.
13610 * abbrev.el (abbrev--before-point): Use word-motion functions
13611 if :regexp is not specified (bug#5031).
13613 * subr.el (string-prefix-p): New function.
13615 * man.el (Man-completion-cache): New var.
13616 (Man-completion-table): Use it.
13618 * vc.el (vc-print-log-internal): Make `limit' optional for better
13619 compatibility (e.g. with vc-annotate.el).
13621 2009-11-24 Kevin Ryde <user42@zip.com.au>
13623 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
13624 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
13626 * emacs-lisp/elint.el (elint-add-required-env): Better error message
13627 when .el source file not found or other error.
13629 2009-11-24 Markus Triska <markus.triska@gmx.at>
13631 * linum.el (linum-update-window): Ignore intangible (bug#4996).
13633 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
13635 Handle the [back] button properly (bug#4979).
13636 * descr-text.el (describe-text-properties): Add a `buffer' argument.
13637 Use help-setup-xref, help-buffer, and with-help-window.
13638 (describe-char): Add `buffer' argument.
13639 Pass proper command to help-setup-xref. Don't meddle with
13640 help-xref-stack-item directly.
13641 (describe-text-category): Use with-help-window and help-buffer.
13643 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
13644 for the displayed buffer (bug#4887).
13646 * man.el (Man-completion-table): New function.
13649 2009-11-24 David Reitter <david.reitter@gmail.com>
13651 * vc-git.el (vc-git-registered): Use checkout directory (where
13652 .git is) rather than the file's directory and a relative path spec
13653 to work around a bug in git.
13655 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
13657 Improve handling of processes on remote hosts.
13659 * eshell/esh-util.el (eshell-path-env): New defvar.
13660 (eshell-parse-colon-path): New defun.
13661 (eshell-file-attributes): Use `eshell-parse-colon-path'.
13663 * eshell/esh-ext.el (eshell-search-path):
13664 Use `eshell-parse-colon-path'.
13665 (eshell-remote-command): Remove argument HANDLER.
13666 (eshell-external-command): Check for FTP remote connection.
13668 * eshell/esh-proc.el (eshell-gather-process-output):
13669 Use `file-truename', in order to start also symlinked files.
13670 Apply `start-file-process' instead of `start-process'.
13671 Shorten `command' to the local file name part.
13673 * eshell/em-cmpl.el (eshell-complete-commands-list):
13674 Use `eshell-parse-colon-path'.
13676 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
13678 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
13679 to `eshell-directory-change-hook'.
13681 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
13683 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
13684 because it could be enabled automatically if view-read-only is non-nil.
13686 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
13688 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
13689 made on 2009-11-22.
13691 2009-11-24 Glenn Morris <rgm@gnu.org>
13693 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
13694 deleted variable bookmark-bmenu-bookmark-column.
13696 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
13698 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
13700 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
13702 * net/browse-url.el (browse-url-filename-alist): On Windows, add
13703 two slashes to the "file:" prefix.
13704 (browse-url-file-url): De-munge Cygwin filenames before passing
13705 them to Windows browser.
13706 (browse-url-default-windows-browser): Use call-process.
13708 2009-11-23 Juri Linkov <juri@jurta.org>
13710 Implement DocView Continuous mode. (Bug#4896)
13711 * doc-view.el (doc-view-continuous-mode): New defcustom.
13712 (doc-view-mode-map): Bind C-n/<down> to
13713 `doc-view-next-line-or-next-page', C-p/<up> to
13714 `doc-view-previous-line-or-previous-page'.
13715 (doc-view-next-line-or-next-page)
13716 (doc-view-previous-line-or-previous-page): New commands.
13718 2009-11-23 Juri Linkov <juri@jurta.org>
13720 Implement Isearch in comint input history. (Bug#3746)
13721 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
13722 `isearch-mode-hook'.
13723 (comint-history-isearch): New defcustom.
13724 (comint-history-isearch-backward)
13725 (comint-history-isearch-backward-regexp): New commands.
13726 (comint-history-isearch-message-overlay): New buffer-local variable.
13727 (comint-history-isearch-setup, comint-history-isearch-end)
13728 (comint-goto-input, comint-history-isearch-search)
13729 (comint-history-isearch-message, comint-history-isearch-wrap)
13730 (comint-history-isearch-push-state)
13731 (comint-history-isearch-pop-state): New functions.
13733 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
13735 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
13737 (tramp-handle-make-symbolic-link)
13738 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
13740 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
13741 (tramp-handle-process-file): Use it.
13743 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
13745 * window.el (move-to-window-line-last-op): Remove.
13746 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
13748 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
13750 Make M-r mirror the new cycling behavior of C-l.
13751 * window.el (move-to-window-line-last-op): New var.
13752 (move-to-window-line-top-bottom): New command.
13753 (global-map): Bind M-r move-to-window-line-top-bottom.
13755 2009-11-23 Sven Joachim <svenjoac@gmx.de>
13757 * dired-x.el (dired-guess-shell-alist-default):
13758 Support xz format. (Bug#4953)
13760 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
13762 * emulation/viper-cmd.el: Use viper-last-command-char instead of
13763 last-command-char/last-command-event.
13764 (viper-prefix-arg-value): Do correct conversion of event-char for
13767 * emulation/viper-util.el, emulation/viper.el:
13768 Use viper-last-command-char instead of
13769 last-command-char/last-command-event.
13771 * ediff-init.el, ediff-mult.el, ediff-util.el:
13772 Replace last-command-char and last-command-event
13773 with (ediff-last-command-char) everywhere.
13775 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
13776 created in fundamental mode.
13778 * ediff.el (ediff-version): Revert the change of interactive-p to
13779 called-interactively-p.
13781 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
13783 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
13784 generation from word-movement command names.
13786 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
13788 * cus-start.el (all): Add native condition for font-use-system-font.
13790 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
13792 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
13793 Correct the patch from 2009-11-18. (Bug#3910)
13795 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
13797 * progmodes/subword.el: Rename from lisp/subword.el.
13799 * subword.el: Rename to progmodes/subword.el.
13801 * Makefile.in (ELCFILES): Adapt to subword.el move.
13803 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13804 Stefan Monnier <monnier@iro.umontreal.ca>
13806 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
13807 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
13808 (bookmark-bmenu-show-filenames): Use push.
13809 (bookmark-bmenu-hide-filenames): Use local var instead of
13810 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
13811 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
13812 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
13813 filenames now that the bookmark names are always available.
13815 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
13817 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
13818 (bookmark-search-pattern): Move and leave unbound.
13819 (bookmark-bmenu-mode-map): Change binding.
13820 (bookmark-read-search-input): Simplify.
13821 Don't use text-char-description. Don't error on non-char events.
13822 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
13823 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
13824 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
13825 Use a local var for the timer.
13826 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
13827 (i.e. bookmark-bmenu-search).
13829 2009-11-21 Glenn Morris <rgm@gnu.org>
13831 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
13833 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
13835 * net/browse-url.el (browse-url-default-windows-browser):
13836 Use cygstart for cygwin.
13838 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
13840 * bookmark.el: Formatting and doc fixes only:
13841 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
13842 (bookmark-bmenu-search): Wrap to fit within 80 columns.
13843 Minor grammar and punctuation fixes in doc string.
13844 (bookmark-read-search-input): Adjust to fit within 80 columns.
13846 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
13848 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
13849 (c-backward-into-nomenclature): Adapt to subword renaming.
13851 * subword.el (subword-forward, subword-backward, subword-mark)
13852 (subword-kill, subword-backward-kill, subword-transpose)
13853 (subword-downcase, subword-upcase, subword-capitalize)
13854 (subword-forward-internal, subword-backward-internal):
13855 Rename from forward-subword, backward-subword, mark-subword,
13856 kill-subword, backward-kill-subword, transpose-subwords,
13857 downcase-subword, upcase-subword, capitalize-subword,
13858 forward-subword-internal, backward-subword-internal.
13860 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13862 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
13864 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
13866 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
13867 (bookmark-bmenu-filter-alist-by-regexp)
13868 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
13869 (bookmark-bmenu-search): New command.
13870 (bookmark-bmenu-mode-map): Bind it.
13872 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
13874 * progmodes/cc-cmds.el: declare-functioned forward-subword and
13875 backward-subword to quit the byte-compiler.
13877 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
13879 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
13881 * progmodes/cc-cmds.el (c-update-modeline)
13882 (c-forward-into-nomenclature, c-backward-into-nomenclature):
13883 Refer to subword.el functions instead of cc-subword.el.
13885 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
13886 subword.el functions instead of cc-subword.el.
13888 * progmodes/cc-subword.el: Rename to subword.el.
13889 * subword.el: Rename from progmodes/cc-subword.el.
13890 (subword-mode-map): Rename from c-subword-mode-map.
13891 (subword-mode): Rename from c-subword-mode.
13892 (global-subword-mode): New global minor mode.
13893 (forward-subword): Rename from c-forward-subword.
13894 (backward-subword): Rename from c-backward-subword.
13895 (mark-subword): Rename from c-mark-subword.
13896 (kill-subword): Rename from c-kill-subword.
13897 (backward-kill-subword): Rename from c-backward-kill-subword.
13898 (transpose-subwords): Rename from c-tranpose-subword.
13899 (downcase-subword): Rename from c-downcase-subword.
13900 (capitalize-subword): Rename from c-capitalize-subword.
13901 (forward-subword-internal): Rename from c-forward-subword-internal.
13902 (backward-subword-internal): Rename from c-backward-subword-internal.
13904 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
13906 * vc.el (vc-deduce-fileset): Allow non-state changing operations
13907 from a dired buffer.
13908 (vc-dired-deduce-fileset): New function.
13909 (vc-root-diff, vc-print-root-log): Use it.
13911 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
13912 nil LIMIT argument to vc-print-log-internal.
13914 2009-11-20 Glenn Morris <rgm@gnu.org>
13916 * Makefile.in (ELCFILES): Regenerate.
13918 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
13920 * calc/calc.el (calc-set-mode-line):
13921 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13922 (math-format-number): Rename `math-format-complement-signed' to
13923 `math-format-twos-complement'.
13925 * calc/calc-bin.el (math-format-twos-complement): Rename from
13926 math-format-complement-signed.
13927 (calc-radix): Rename `calc-complement-signed-mode' to
13928 `calc-twos-complement-mode'.
13929 (calc-octal-radix, calc-hex-radix): Add an argument for
13932 * calc/calc-embed.el (calc-embedded-mode-vars):
13933 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13935 * calc/calc-ext.el (calc-init-extensions):
13936 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13937 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
13939 * calc/calc-units.el (math-build-units-table-buffer):
13940 Let `calc-twos-complement-mode' be nil.
13942 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
13945 * calc/calc-vec.el (calcFunc-vunpack):
13946 * calc/calc-aent.el (calc-do-calc-eval):
13947 * calc/calc-forms.el (math-format-date):
13948 * calc/calc-graph.el (calc-graph-plot):
13949 * calc/calc-math.el (math-use-emacs-fn):
13950 * calc/calccomp.el (math-compose-expr):
13951 Let `calc-twos-complement-mode' be nil.
13953 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
13955 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
13956 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
13957 * minibuffer.el (completion-in-region-functions): New hook.
13958 (completion-in-region): New function.
13959 * emacs-lisp/lisp.el (lisp-complete-symbol):
13960 * pcomplete.el (pcomplete-std-complete): Use it.
13962 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
13964 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
13965 (latex-complete-alist): New vars.
13966 (latex-string-prefix-p, latex-complete-bibtex-keys)
13967 (latex-complete-envnames, latex-complete-refkeys)
13968 (latex-complete-data): New functions.
13969 (latex-complete, latex-indent-or-complete): New commands.
13971 * window.el (display-buffer-mark-dedicated): New var.
13972 (display-buffer): Obey it.
13973 * minibuffer.el (minibuffer-completion-help): Use it.
13975 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
13977 * filecache.el (file-cache-add-file): Use push and cons.
13978 (file-cache-delete-file-regexp): Use push.
13979 (file-cache-complete): Use completion-in-region.
13981 * simple.el (with-wrapper-hook): Fix thinko.
13983 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
13984 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
13985 Use with-current-buffer and string-to-number.
13986 (hfy-fallback-colour-values): Use assoc-string.
13987 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
13988 (hfy-face-at): Remove unused var `found-face'.
13989 (hfy-compile-stylesheet): Remove unused var `css'.
13990 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
13992 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
13993 Use with-current-buffer.
13994 (hfy-text-p): Use expand-file-name and fewer setq.
13996 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
13998 * htmlfontify.el, hfy-cmap.el: New files.
14000 2009-11-19 Juri Linkov <juri@jurta.org>
14002 * minibuffer.el (completions-format): New defcustom.
14003 (completion--insert-strings): Implement vertical format.
14005 * simple.el (switch-to-completions): Move point to the first
14006 completion when point was at the beginning of the buffer.
14008 2009-11-19 Juri Linkov <juri@jurta.org>
14010 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
14012 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
14014 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
14016 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
14017 (mail-signature): Change default to t.
14018 (mail-from-style): Deprecate `system-default' value.
14019 (mail-insert-from-field): For default value of mail-from-style,
14020 default to `angles' unless `angles' needs quoting and `parens'
14022 (mail-citation-prefix-regexp): Use citation regexp from
14025 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
14027 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
14028 Set variables for computing the prompt for reading password.
14030 2009-11-19 Glenn Morris <rgm@gnu.org>
14032 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
14034 * textmodes/flyspell.el (sgml-lexical-context): Declare.
14036 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
14037 (newsticker-treeview-listwindow-height): Fix custom type.
14039 2009-11-19 Kenichi Handa <handa@m17n.org>
14041 * descr-text.el (describe-char-padded-string): Compose with TAB
14042 only if there's a font for CH.
14043 (describe-char): Fix the condition for detecting a trivial composition.
14045 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
14047 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
14048 more accurate version of the regexp. (Bug#3910)
14050 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
14052 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
14054 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
14056 * font-setting.el (font-use-system-font): Declare for byte-compiler.
14057 (font-setting-change-default-font): Fix typo in docstring.
14059 2009-11-18 Alan Mackenzie <acm@muc.de>
14061 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
14063 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
14065 * font-setting.el (font-use-system-font): Move ...
14067 * cus-start.el (all): ... to here.
14069 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
14071 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
14072 Don't set `ad-return-value' if `ad-do-it' doesn't.
14074 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
14077 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
14079 * menu-bar.el: Put "Use system font" in Option-menu.
14080 (menu-bar-options-save): Add font-use-system-font.
14082 * loadup.el: If feature system-font-setting or font-render-setting is
14083 there, load font-setting.
14085 * Makefile.in (ELCFILES): Add font-settings.el.
14086 * font-setting.el: New file.
14088 2009-11-17 Glenn Morris <rgm@gnu.org>
14090 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
14092 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
14093 Preserve point in the list buffer. (Bug#4939)
14095 (newsticker--treeview-list-update-highlight)
14096 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
14098 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
14100 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
14103 * calc/calc-ext.el (calc-init-extensions): Remove references to
14106 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
14108 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
14109 * calc/calc-help.el (calc-b-prefix-help): Remove references to
14112 2009-11-16 Kevin Ryde <user42@zip.com.au>
14114 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
14115 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
14117 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
14118 (lm-keywords-list): Allow comma-only separator like "foo,bar".
14119 Ignore trailing spaces by omit-nulls to split-string (fixing
14120 regression from Emacs 21 due to the incompatible split-string
14121 change). (Bug #4928.)
14123 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
14125 * vc.el (vc-log-show-limit): Default to 2000.
14126 (vc-print-log-internal): Insert buttons to request more entries
14127 when limiting the output.
14129 * vc-sccs.el (vc-sccs-print-log):
14130 * vc-rcs.el (vc-rcs-print-log):
14131 * vc-cvs.el (vc-cvs-print-log):
14132 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
14135 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
14137 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
14138 error when `tramp-gvfs-dbus-event-vector' is set.
14139 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
14141 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
14143 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
14145 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
14147 * net/dbus.el (dbus-unregister-service): New defun.
14148 (dbus-register-property): Register the handlers of
14149 "org.freedesktop.DBus.Properties" for SERVICE.
14150 (dbus-property-handler): Fix docstring.
14152 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14154 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
14155 Quote doc string reference in defvaralias as it is not in special form.
14156 (byte-compile-output-docform): Doc fix.
14158 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
14160 * calc/calc.el (math-2-word-size, math-half-2-word-size)
14161 (calc-complement-signed-mode): New variables.
14162 (calc-set-mode-line): Add indicator for twos-complements.
14163 (math-format-number): Format twos-complement notation.
14165 * calc/calc-bin.el (calc-word-size): Reset the variables
14166 `math-2-word-size' and `math-half-2-word-size'.
14167 (math-format-complement-signed, math-symclip, calcFunc-symclip)
14168 (calc-symclip): New functions.
14170 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
14172 * calc/calc-embed.el (calc-embedded-mode-vars):
14173 Add `calc-complement-signed-mode' to the list of modes.
14175 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
14176 (calc-b-oper-keys): Add `calc-symclip' to list.
14178 * calc/calc-ext.el (math-read-number-fancy): Read complement
14180 (calc-init-extensions): Add binding for `calc-symclip'.
14181 Add autoload for `calcFunc-symclip' and `calc-symclip'.
14183 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
14185 (calc-modes-menu): Add item for twos complement mode.
14187 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
14189 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
14191 * register.el (jump-to-register, insert-register): Handle Semantic
14192 tags. From commented-out advice in semantic/senator.el.
14194 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
14196 * vc.el (vc-log-show-limit): New variable.
14197 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
14198 when using a prefix argument.
14199 (vc-print-log-internal): Add new argument LIMIT.
14201 * vc-svn.el (vc-svn-print-log):
14202 * vc-mtn.el (vc-mtn-print-log):
14203 * vc-hg.el (vc-hg-print-log):
14204 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
14205 pass it to the log command when set. Make the BUFFER argument
14208 * vc-sccs.el (vc-sccs-print-log):
14209 * vc-rcs.el (vc-rcs-print-log):
14210 * vc-git.el (vc-git-print-log):
14211 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
14212 ignore it. Make the BUFFER argument non-optional
14214 * bindings.el (mode-line-buffer-identification): Do not purecopy.
14216 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
14218 * dired.el (dired-mode-map): Move encryption items to "Operate"
14221 * strokes.el (strokes-update-window-configuration): Make strokes
14222 buffer current before erasing (Bug#4906).
14224 2009-11-15 Juri Linkov <juri@jurta.org>
14226 * simple.el (set-mark-default-inactive): Add :type, :group
14227 and :version. (Bug#4876)
14229 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
14231 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
14232 (archive-unique-fname): ... here. (Bug#4929)
14234 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
14236 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
14239 * novice.el (disabled-command-function): Add useful args.
14240 Setup the help buffer so that [back] works.
14241 Remove redundant call to help-mode.
14242 (disabled-command-function): Use `case'.
14243 (en/disable-command): New function extracted from enable-command.
14244 (enable-command, disable-command): Use it.
14246 2009-11-14 Glenn Morris <rgm@gnu.org>
14248 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
14249 constants. (Bug#4913)
14251 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
14253 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
14255 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
14256 defined in C that have no doc-strings. (Bug#1063)
14258 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
14260 * cus-edit.el (data, files):
14261 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
14263 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
14265 * simple.el (shell-command): Doc fix (Bug#4891).
14267 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
14269 2009-11-14 Glenn Morris <rgm@gnu.org>
14271 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
14272 statements for vc-diff, emerge-quit, and rmail-cease-edit.
14273 If they are already loaded, eval-after-load will do the right thing.
14275 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
14278 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
14280 * simple.el (x-selection-owner-p): Declare.
14281 (read-mail-command): Use custom radio type rather than choice.
14282 (completion-no-auto-exit): Doc fix.
14284 * custom.el (defgroup):
14285 * epg-config.el (epg): Doc fixes.
14287 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
14289 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
14290 * international/ccl.el (define-ccl-program): Do not purecopy the
14291 docstring, defconst does it anyway.
14293 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
14295 * add-log.el (add-change-log-entry): Avoid displaying the changelog
14298 * x-dnd.el (x-dnd-maybe-call-test-function):
14299 * window.el (split-window-vertically):
14300 * whitespace.el (whitespace-help-on):
14301 * vc-rcs.el (vc-rcs-consult-headers):
14302 * userlock.el (ask-user-about-lock-help)
14303 (ask-user-about-supersession-help):
14304 * type-break.el (type-break-force-mode-line-update):
14305 * time-stamp.el (time-stamp-conv-warn):
14306 * terminal.el (te-set-output-log, te-more-break, te-filter)
14307 (te-sentinel, terminal-emulator):
14308 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
14309 (term-write-input-ring, term-check-source, term-start-output-log):
14310 (term-display-buffer-line, term-dynamic-list-completions):
14311 (term-ansi-make-term, serial-term):
14312 * subr.el (selective-display):
14313 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
14314 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
14315 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
14316 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
14317 (speedbar-remove-localized-speedbar-support)
14318 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
14319 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
14320 (speedbar-buffers-line-directory):
14321 * simple.el (shell-command-on-region, append-to-buffer)
14322 (prepend-to-buffer):
14323 * shadowfile.el (shadow-save-todo-file):
14324 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
14325 (scroll-bar-maybe-set-window-start):
14326 * sb-image.el (speedbar-image-dump):
14327 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
14328 (load-save-place-alist-from-file):
14329 * ps-samp.el (ps-print-message-from-summary):
14330 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
14331 (ps-background-image, ps-begin-job, ps-do-despool):
14332 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
14333 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
14334 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
14335 (pr-call-process, pr-file-list, pr-interface-save):
14336 * novice.el (disabled-command-function)
14337 (enable-command, disable-command):
14338 * mouse.el (mouse-buffer-menu-alist):
14339 * mouse-copy.el (mouse-kill-preserving-secondary):
14340 * macros.el (kbd-macro-query):
14341 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
14342 * informat.el (batch-info-validate):
14343 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
14344 * hippie-exp.el (try-expand-dabbrev-visible):
14345 * help-mode.el (help-make-xrefs):
14346 * help-fns.el (describe-variable):
14347 * generic-x.el (bat-generic-mode-run-as-comint):
14348 * finder.el (finder-mouse-select):
14349 * find-dired.el (find-dired-sentinel):
14350 * filesets.el (filesets-file-close):
14351 * files.el (list-directory):
14352 * faces.el (list-faces-display, describe-face):
14353 * facemenu.el (list-colors-display):
14354 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
14355 * epg.el (epg--process-filter, epg-cancel):
14356 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
14357 (epa--read-signature-type):
14358 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
14359 (emerge-file-names):
14360 * ehelp.el (electric-helpify):
14361 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
14362 * ediff-vers.el (rcs-ediff-view-revision):
14363 * ediff-util.el (ediff-setup):
14364 * ediff-mult.el (ediff-append-custom-diff):
14365 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
14367 * echistory.el (Electric-command-history-redo-expression):
14368 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
14369 * disp-table.el (describe-display-table):
14370 * dired.el (dired-find-buffer-nocreate):
14371 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
14372 * dabbrev.el (dabbrev--same-major-mode-p):
14373 * chistory.el (list-command-history):
14374 * apropos.el (apropos-documentation):
14375 * allout.el (allout-obtain-passphrase):
14376 (allout-copy-exposed-to-buffer):
14377 (allout-verify-passphrase): Use with-current-buffer.
14379 2009-11-13 Glenn Morris <rgm@gnu.org>
14381 * Makefile.in (ELCFILES): Regenerate.
14383 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
14385 * net/dbus.el (dbus-registered-objects-table): Rename from
14386 `dbus-registered-functions-table', because it contains also properties.
14387 (dbus-unregister-object): Unregister also properties.
14388 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14389 Use a timeout of 500 msec, in order to not block.
14390 (dbus-register-property, dbus-property-handler): New defuns.
14392 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
14394 * simple.el (minibuffer-default-add-completions): Drop deprecated
14397 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
14399 * textmodes/artist.el (artist-mouse-choose-operation):
14400 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
14401 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
14402 (artist-compute-up-event-key): New function.
14403 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
14405 2009-11-13 Kenichi Handa <handa@m17n.org>
14407 * language/japan-util.el: Make sure that the value of jisx0208
14408 property is jisx0208 character.
14410 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
14412 * international/mule.el (auto-coding-regexp-alist): Only purecopy
14413 car or each item, not the whole list.
14415 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
14417 * minibuffer.el (minibuffer-completion-help):
14418 Use minibuffer-hide-completions.
14420 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
14422 * dired.el (dired-save-positions, dired-restore-positions): New funs.
14423 (dired-revert): Use them (bug#4880).
14425 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
14427 * tooltip.el (tooltip-frame-parameters): Undo previous change.
14429 2009-11-12 Juri Linkov <juri@jurta.org>
14431 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
14433 (find-file-literally-at-point): Alias of `ffap-literally'.
14435 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
14437 * textmodes/ispell.el (ispell-skip-region-alist):
14438 * textmodes/css-mode.el (auto-mode-alist):
14439 * progmodes/compile.el (auto-mode-alist):
14440 * international/mule.el (ctext-non-standard-encodings-alist)
14441 (ctext-non-standard-encodings-regexp):
14442 * simple.el (shell-command-switch, text-read-only):
14443 * replace.el (occur-mode-map):
14444 * paths.el (rmail-file-name):
14445 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
14446 * find-file.el (ff-special-constructs):
14447 * files.el (file-name-handler-alist):
14448 * composite.el: Purecopy strings.
14450 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
14452 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
14454 * widget.el (define-widget): Purecopy the docstring.
14455 * international/mule-cmds.el (charset): Do not purecopy the
14456 docstring here, define-widget does it.
14458 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
14459 * textmodes/bibtex-style.el (auto-mode-alist):
14460 * progmodes/inf-lisp.el (inferior-lisp-prompt):
14461 * progmodes/compile.el (compile-command):
14462 * language/korea-util.el (default-korean-keyboard):
14463 * international/mule-conf.el (file-coding-system-alist):
14464 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
14465 * tooltip.el (tooltip-frame-parameters):
14466 * newcomment.el (comment-end, comment-padding):
14467 * dired.el (dired-trivial-filenames):
14468 * comint.el (comint-file-name-prefix): Purecopy initial values.
14470 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
14472 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
14473 (tramp-advice-minibuffer-electric-tilde): Unload advices via
14475 (tramp-advice-make-auto-save-file-name)
14476 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
14477 after removing the advice.
14479 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
14481 * progmodes/grep.el (grep-regexp-alist):
14482 * international/mule-cmds.el (iso-2022-control-alist):
14483 * emacs-lisp/timer.el (timer-duration-words):
14484 * subr.el (version-separator, version-regexp-alist):
14485 * minibuffer.el (completion-styles-alist):
14486 * faces.el (face-attribute-name-alist, list-faces-sample-text):
14487 Change defvars to defconsts.
14489 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
14490 * loadup.el ("international/mule-conf"): Load the byte compiled version.
14491 * international/mule-conf.el: Allow to be byte compiled.
14493 * international/mule.el (define-charset): Purecopy props.
14494 (load-with-code-conversion): Purecopy doc string and file name.
14495 (put-charset-property): Purecopy strings.
14496 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
14498 * international/mule-cmds.el (register-input-method): Purecopy arguments.
14499 (define-char-code-property): Correctly purecopy the table.
14501 * international/ccl.el (define-ccl-program): Purecopy the docstring.
14503 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
14505 * subr.el (add-hook): Purecopy strings.
14506 (eval-after-load): Purecopy load-history-regexp and the form.
14508 * custom.el (custom-declare-group): Purecopy load-file-name.
14510 * subr.el (menu-bar-separator): New defconst.
14511 * net/eudc.el (eudc-tools-menu):
14512 * international/mule-cmds.el (set-coding-system-map)
14513 (mule-menu-keymap):
14514 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14515 * vc-hooks.el (vc-menu-map):
14516 * replace.el (occur-mode-map):
14517 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
14518 (menu-bar-edit-menu, menu-bar-goto-menu)
14519 (menu-bar-custom-menu, menu-bar-showhide-menu)
14520 (menu-bar-options-menu, menu-bar-tools-menu)
14521 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
14522 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
14523 (menu-bar-help-menu):
14524 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
14525 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
14527 * term/x-win.el (x-gtk-stock-map):
14528 * progmodes/vera-mode.el (auto-mode-alist):
14529 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
14530 (inferior-lisp-program, inferior-lisp-load-command):
14531 * progmodes/hideshow.el (hs-special-modes-alist):
14532 * progmodes/gud.el (same-window-regexps):
14533 * progmodes/grep.el (grep-program, find-program, xargs-program):
14534 * net/telnet.el (same-window-regexps):
14535 * net/rlogin.el (same-window-regexps):
14536 * language/ethiopic.el (font-ccl-encoder-alist):
14537 * vc-sccs.el (vc-sccs-master-templates):
14538 * vc-rcs.el (vc-rcs-master-templates):
14539 * subr.el (cl-assertion-failed):
14540 * simple.el (next-error-overlay-arrow-position):
14541 * lpr.el (lpr-command):
14542 * locate.el (locate-ls-subdir-switches):
14543 * info.el (same-window-regexps, info)
14544 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
14545 * image-mode.el (image-mode, auto-mode-alist):
14546 * hippie-exp.el (hippie-expand-ignore-buffers):
14547 * format.el (format-alist):
14548 * find-dired.el (find-ls-subdir-switches, find-grep-options)
14550 * facemenu.el (facemenu-keybindings):
14551 * dired.el (dired-listing-switches, dired-chown-program):
14552 * diff.el (diff-switches, diff-command):
14553 * cus-edit.el (same-window-regexps):
14554 * bindings.el (mode-line-mule-info)
14555 (mode-line-buffer-identification): Purecopy strings.
14557 2009-11-11 Juri Linkov <juri@jurta.org>
14559 * simple.el (dired-get-filename) <declare-function>:
14560 Tell the byte-compiler about dired-get-filename.
14561 (shell-command): In Dired mode, get filename from the current line
14562 as the default value.
14564 2009-11-10 Glenn Morris <rgm@gnu.org>
14566 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
14567 * calendar/holidays.el, progmodes/cperl-mode.el:
14568 Update x-popup-menu declarations.
14570 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
14571 (list-load-path-shadows): Use dolist.
14572 (list-load-path-shadows): Use with-current-buffer.
14574 2009-11-10 Juri Linkov <juri@jurta.org>
14576 * minibuffer.el (read-file-name): Support a list of default values
14577 in `default-filename'. Use the first file name where only one
14578 element is required. Doc fix.
14580 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
14582 * net/dbus.el (dbus-unregister-object): Release service, if no
14583 other method is registered for it.
14585 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
14587 * bookmark.el (bookmark-completing-read): Sort bookmark names if
14588 bookmark-sort-flag is non-nil (Bug#4653).
14590 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
14592 * emulation/cua-base.el: Add CUA property to some CC mode commands
14595 2009-11-08 Kevin Ryde <user42@zip.com.au>
14597 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
14598 at end of sentence (Bug#4818).
14600 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
14602 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14603 Handle "see declaration of" MSFT statements (Bug#4100).
14605 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
14607 * net/tramp.el (tramp-advice-make-auto-save-file-name)
14608 (tramp-advice-file-expand-wildcards): Unload via
14609 `ad-remove-advice'.
14611 * net/trampver.el: Update release number.
14613 2009-11-08 Kevin Ryde <user42@zip.com.au>
14615 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
14618 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
14620 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
14621 in order to keep context in SELinux.
14623 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
14625 * dired-aux.el (dired-query): Place cursor in echo area and allow
14628 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
14629 menu item if not on a directory (Bug#4701).
14631 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
14633 Sync with Tramp 2.1.17.
14635 * net/tramp.el (tramp-handle-copy-directory): Don't use
14636 `file-remote-p' (due to compatibility).
14638 * net/tramp-compat.el (tramp-compat-copy-directory)
14639 (tramp-compat-delete-directory): New defuns.
14641 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
14642 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
14643 Use `tramp-compat-delete-directory'.
14645 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
14646 (tramp-smb-handle-delete-directory):
14647 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
14649 * net/trampver.el: Update release number.
14651 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
14653 * tar-mode.el (tar-copy): Call write-region on the right buffer
14656 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
14657 by hand, if necessary (Bug#4878).
14659 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
14661 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
14662 align size column (Bug#4839).
14664 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
14667 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
14669 * progmodes/ld-script.el (auto-mode-alist):
14670 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
14672 * cus-face.el (custom-declare-face): Purecopy face spec.
14674 2009-11-06 Kenichi Handa <handa@m17n.org>
14676 * international/uni-bidi.el: Re-generated.
14677 * international/uni-category.el: Re-generated.
14678 * international/uni-combining.el: Re-generated.
14679 * international/uni-mirrored.el: Re-generated.
14681 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
14683 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
14684 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
14685 (tex-start-options, slitex-run-command, latex-run-command)
14686 (tex-run-command, tex-directory):
14687 * textmodes/ispell.el (ispell-html-skip-alists)
14688 (ispell-tex-skip-alists, ispell-tex-skip-alists):
14689 * textmodes/fill.el (adaptive-fill-first-line-regexp):
14690 (adaptive-fill-regexp):
14691 * textmodes/dns-mode.el (auto-mode-alist):
14692 * progmodes/python.el (interpreter-mode-alist):
14693 * progmodes/etags.el (tags-compression-info-list):
14694 * progmodes/etags.el (tags-file-name):
14695 * net/browse-url.el (browse-url-galeon-program)
14696 (browse-url-firefox-program):
14697 * mail/sendmail.el (mail-signature-file)
14698 (mail-citation-prefix-regexp):
14699 * international/mule-conf.el (eight-bit):
14700 * international/latexenc.el (latex-inputenc-coding-alist):
14701 * international/fontset.el (x-pixel-size-width-font-regexp):
14702 * emacs-lisp/warnings.el (warning-type-format):
14703 * emacs-lisp/trace.el (trace-buffer):
14704 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
14705 (emacs-lisp-mode-map):
14706 * calendar/holidays.el (holiday-solar-holidays)
14707 (holiday-bahai-holidays, holiday-islamic-holidays)
14708 (holiday-christian-holidays, holiday-hebrew-holidays)
14709 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
14710 (hebrew-holidays-1, holiday-oriental-holidays)
14711 (holiday-general-holidays):
14712 * x-dnd.el (x-dnd-known-types):
14713 * tool-bar.el (tool-bar):
14714 * startup.el (site-run-file):
14715 * shell.el (shell-dumb-shell-regexp):
14716 * rfn-eshadow.el (file-name-shadow-tty-properties)
14717 (file-name-shadow-properties):
14718 * paths.el (remote-shell-program, news-directory):
14719 * mouse.el ([C-down-mouse-3]):
14720 * menu-bar.el (menu-bar-tools-menu):
14721 * jka-cmpr-hook.el (jka-compr-load-suffixes)
14722 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
14723 (jka-compr-compression-info-list):
14724 * isearch.el (search-whitespace-regexp):
14725 * image-file.el (image-file-name-extensions):
14726 * find-dired.el (find-ls-option):
14727 * files.el (directory-listing-before-filename-regexp)
14728 (directory-free-space-args, insert-directory-program)
14729 (list-directory-brief-switches, magic-fallback-mode-alist)
14730 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
14731 (automount-dir-prefix):
14732 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
14733 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
14734 (face-font-registry-alternatives, face-font-registry-alternatives)
14735 (face-font-family-alternatives):
14736 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
14737 (facemenu-foreground-menu, facemenu-face-menu):
14738 * epa-hook.el (epa-file-name-regexp):
14739 * dnd.el (dnd-protocol-alist):
14740 * textmodes/rst.el (auto-mode-alist):
14741 * button.el (default-button): Purecopy strings.
14743 2009-11-06 Glenn Morris <rgm@gnu.org>
14745 * Makefile.in (ELCFILES): Update.
14747 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
14749 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
14750 * emacs-lisp/levents.el: Move to obsolete/levents.el.
14752 * nxml/xsd-regexp.el (xsdre-gen-categories):
14753 * nxml/xmltok.el (xmltok-parse-entity):
14754 * nxml/rng-parse.el (rng-parse-validate-file):
14755 * nxml/rng-maint.el (rng-format-manual)
14756 (rng-manual-output-force-new-line):
14757 * nxml/rng-loc.el (rng-save-schema-location-1):
14758 * nxml/rng-cmpct.el (rng-c-parse-file):
14759 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
14760 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
14762 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
14764 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
14765 Remove extra save-excursions and make-variable-buffer-local's.
14766 Suggested by Stefan Monnier.
14768 (verilog-getopt-file, verilog-module-inside-filename-p)
14769 (verilog-set-define): Merge GNU 1.35 and repair changes from
14770 switching to using with-current-buffer.
14772 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
14773 being treated as a number and confusing AUTORESET.
14774 Reported by Dan Dever.
14776 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
14777 Add verilog-auto-ignore-concat to fix backward compatibility with
14778 older verilog-modes. Reported by Dan Katz.
14780 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
14781 containing closing anchors "...$".
14783 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
14784 Reported by Wade Smith.
14786 (verilog-batch-execute-func): Comment on function usage.
14788 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
14790 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
14793 (verilog-label-re, verilog-calc-1): Support proper indent of named
14796 (verilog-backward-token, verilog-basic-complete-re)
14797 (verilog-beg-of-statement, verilog-indent-re): Support proper
14798 indent of the assert statement at the beginning of a block of text.
14800 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
14801 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
14804 2009-11-05 Glenn Morris <rgm@gnu.org>
14806 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
14807 Emacs 19. (Bug#1531)
14808 (byte-compile-fix-header): Update for the above change.
14809 Drop test for epoch::version.
14811 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
14812 * cus-dep.el (custom-make-dependencies):
14813 * finder.el (finder-compile-keywords):
14814 Use autoload-rubric's feature argument.
14816 * calendar/diary-lib.el (top-level): Make load behave more like require.
14818 * vc-git.el (vc-git-stash-map): Move definition before use.
14820 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
14822 * custom.el (custom-declare-group): Purecopy standard-value.
14823 (custom-declare-group): Purecopy custom-prefix.
14825 * international/mule.el (load-with-code-conversion):
14826 Call do-after-load-evaluation unconditionally.
14828 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
14830 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
14832 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
14834 2009-11-04 Glenn Morris <rgm@gnu.org>
14836 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
14837 (byte-compile-compatibility): Remove option.
14838 (byte-compile-close-variables, byte-compile-fix-header)
14839 (byte-compile-insert-header, byte-compile-output-docform)
14840 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
14841 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
14842 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
14843 (byte-compile-insert, byte-compile-defun):
14844 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
14845 (byte-defop-compiler19): Remove.
14846 Without byte-compile-compatibility, the 'emacs19-opcode property is not
14847 used by anything. Replace all calls with byte-defop-compiler.
14849 2009-11-04 Juri Linkov <juri@jurta.org>
14851 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
14852 (menu-bar-options-menu): Don't quote the `prop' arg of
14853 `menu-bar-make-mm-toggle'.
14855 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
14857 * calendar/calendar.el (cal-loaddefs):
14858 * calendar/diary-lib.el (diary-loaddefs):
14859 * calendar/holidays.el (hol-loaddefs):
14860 * eshell/esh-module.el (esh-groups): Load rather than require.
14862 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
14864 * calendar/todo-mode.el (todo-add-category): Don't hardcode
14866 (todo-top-priorities): Only display-buffer when called interactively.
14867 (todo-item-start): Don't save excursion point.
14868 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
14869 (todo-insert-item-here, todo-file-item, todo-remove-item):
14870 Adjust uses of todo-item-start and todo-item-end.
14872 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
14873 (autoload-rubric): Don't use any more.
14875 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
14876 and only put a prop if it is non-nil.
14878 2009-11-03 Juri Linkov <juri@jurta.org>
14880 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
14881 (menu-bar-options-menu): Fix list quoting (Bug#4429).
14883 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
14884 and "Menu" to make top-level menu item visually one unit (like
14885 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
14886 multi-word menu items). Fix :help string for quit-window.
14888 2009-11-03 Glenn Morris <rgm@gnu.org>
14890 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
14891 (byte-compile-file-form-define-abbrev-table)
14892 (byte-compile-file-form-custom-declare-variable)
14893 (byte-compile-variable-ref, byte-compile-defvar):
14894 Whether or not a warning is enabled should only affect whether we issue
14895 the warning, not whether or not we collect the relevant data.
14896 Eg warnings can be turned on and off throughout the course of a file.
14898 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
14899 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
14901 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
14903 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
14904 * play/mpuz.el (mpuz-create-buffer):
14905 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
14906 (lm-print-y,s,noise, lm-print-w0, lm-init):
14907 * play/gomoku.el (gomoku-prompt-for-move):
14908 * play/fortune.el (fortune-in-buffer):
14909 * play/dissociate.el (dissociated-press):
14910 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
14911 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
14912 * mail/supercite.el (sc-eref-show):
14913 * mail/smtpmail.el (smtpmail-send-it):
14914 * mail/rmailsum.el (rmail-summary-next-labeled-message)
14915 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
14916 (rmail-summary-undelete-many, rmail-summary-rmail-update)
14917 (rmail-summary-goto-msg, rmail-summary-expunge)
14918 (rmail-summary-get-new-mail, rmail-summary-search-backward)
14919 (rmail-summary-add-label, rmail-summary-output-menu)
14920 (rmail-summary-output-body):
14921 * mail/rfc822.el (rfc822-addresses):
14922 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
14923 * mail/mailpost.el (post-mail-send-it):
14924 * mail/hashcash.el (hashcash-generate-payment):
14925 * mail/feedmail.el (feedmail-run-the-queue)
14926 (feedmail-queue-send-edit-prompt-help-first)
14927 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
14928 (feedmail-deduce-address-list):
14929 * eshell/esh-ext.el (eshell-remote-command):
14930 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
14931 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
14932 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
14933 (viper-save-string-in-file, viper-valid-marker):
14934 * emulation/viper-keym.el (viper-toggle-key):
14935 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
14936 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
14937 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
14938 * emulation/viper-cmd.el (viper-exec-form-in-vi)
14939 (viper-exec-form-in-emacs, viper-brac-function):
14940 * emulation/viper.el (viper-delocalize-var):
14941 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
14942 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
14943 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
14944 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
14945 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
14946 * emulation/edt.el (edt-electric-helpify):
14947 * emulation/cua-rect.el (cua--rectangle-aux-replace):
14948 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
14949 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
14950 (cua-indent-to-global-mark-column):
14951 * calendar/diary-lib.el (calendar-mark-1):
14952 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
14953 Use with-current-buffer.
14954 * emulation/viper.el (viper-delocalize-var): Use dolist.
14956 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
14958 * comint.el (comint-replace-by-expanded-history-before-point):
14959 Replace !! with the previous input string literally (Bug#1795).
14961 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
14963 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
14964 to be made up of whitespace.
14966 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
14968 * minibuffer.el (read-file-name): Don't use file dialogs for
14969 remote directories (Bug#99).
14971 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
14973 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
14975 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
14977 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
14978 instead of deleting the window or frame.
14980 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
14982 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
14983 Support face colors.
14985 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
14986 New function. Support face colors (Bug#1168).
14987 (tex-common-initialization): Use it.
14989 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
14990 mode allows it (Bug#1168).
14992 2009-10-31 Juri Linkov <juri@jurta.org>
14994 * facemenu.el (list-colors-display): Don't mark buffer as
14995 modified (Bug#3948).
14997 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
14999 * international/mule-diag.el (list-character-sets-1):
15000 Minor message fix (Bug#3526).
15002 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
15003 Fix face property (Bug#4834).
15004 (etags-list-tags, etags-tags-apropos-additional)
15005 (etags-tags-apropos, tags-select-tags-table): Add follow-link
15008 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
15011 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
15013 * textmodes/two-column.el (2C-split):
15014 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
15015 * textmodes/tex-mode.el (tex-set-buffer-directory):
15016 * textmodes/spell.el (spell-region, spell-string):
15017 * textmodes/reftex.el (reftex-erase-buffer):
15018 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
15019 * textmodes/reftex-toc.el (reftex-toc-promote-action):
15020 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
15021 (reftex-select-item):
15022 * textmodes/reftex-ref.el (reftex-label-info-update)
15023 (reftex-offer-label-menu):
15024 * textmodes/reftex-index.el (reftex-index-change-entry)
15025 (reftex-index-phrases-info):
15026 * textmodes/reftex-global.el (reftex-create-tags-file)
15027 (reftex-save-all-document-buffers, reftex-ensure-write-access):
15028 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
15029 (reftex-view-crossref-from-bibtex):
15030 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
15031 (reftex-extract-bib-entries-from-thebibliography)
15032 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
15033 * textmodes/refbib.el (r2b-capitalize-title):
15034 (r2b-convert-buffer, r2b-help):
15035 * textmodes/page-ext.el (pages-directory)
15036 (pages-directory-goto-with-mouse):
15037 * textmodes/bibtex.el (bibtex-validate-globally):
15038 * textmodes/bib-mode.el (bib-capitalize-title):
15039 * textmodes/artist.el (artist-clear-buffer, artist-system):
15040 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
15041 (local-set-scheme-interaction-buffer, xscheme-process-filter)
15042 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
15043 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
15044 (xscheme-send-control-g-interrupt, xscheme-start-process)
15045 (xscheme-process-sentinel, xscheme-cd):
15046 * progmodes/verilog-mode.el (verilog-read-always-signals)
15047 (verilog-set-define, verilog-getopt-file)
15048 (verilog-module-inside-filename-p):
15049 * progmodes/sh-script.el:
15050 * progmodes/python.el (python-pdbtrack-get-source-buffer)
15051 (python-pdbtrack-grub-for-buffer, python-execute-file):
15052 * progmodes/octave-inf.el (inferior-octave):
15053 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
15054 (idlwave-shell-compile-helper-routines, idlwave-set-local)
15055 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
15056 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
15057 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
15058 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
15059 (idlwave-shell-filter, idlwave-shell-examine-highlight)
15060 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
15061 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
15062 (idlwave-shell-examine-display, idlwave-shell-run-region)
15063 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
15064 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
15065 * progmodes/idlw-help.el (idlwave-help-get-special-help)
15066 (idlwave-help-get-help-buffer):
15067 * progmodes/gud.el (gud-basic-call, gud-find-class)
15068 (gud-tooltip-activate-mouse-motions-if-enabled):
15069 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
15070 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
15071 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
15072 (ebrowse-tags-next-file):
15073 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
15074 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
15075 (ebnf-eps-finish-and-write):
15076 * progmodes/cpp.el (cpp-edit-save):
15077 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
15078 * progmodes/cc-defs.el (c-emacs-features):
15079 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
15080 (antlr-directory-dependencies):
15081 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
15082 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
15083 (ada-find-any-references, ada-make-filename-from-adaname)
15084 (ada-make-body-gnatstub):
15085 * obsolete/rnews.el (news-list-news-groups):
15086 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
15087 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
15088 * net/rcirc.el (rcirc-debug):
15089 * net/newst-treeview.el (newsticker--treeview-list-add-item)
15090 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
15091 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
15092 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
15093 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
15094 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
15095 (newsticker--treeview-list-clear-highlight)
15096 (newsticker--treeview-list-update-highlight)
15097 (newsticker--treeview-list-highlight-start)
15098 (newsticker--treeview-tree-update-highlight)
15099 (newsticker--treeview-get-selected-item)
15100 (newsticker-treeview-mark-list-items-old)
15101 (newsticker--treeview-set-current-node):
15102 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
15103 * net/newst-backend.el (newsticker--get-news-by-funcall)
15104 (newsticker--get-news-by-wget, newsticker--image-get)
15105 (newsticker--image-sentinel):
15106 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
15107 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
15108 (eudc-ph-close-session):
15109 * net/eudc.el (eudc-save-options):
15110 * language/thai-word.el (thai-update-word-table):
15111 * language/japan-util.el (japanese-string-conversion):
15112 * international/titdic-cnv.el (tsang-quick-converter)
15113 (ziranma-converter, ctlau-converter):
15114 * international/mule-cmds.el (describe-language-environment):
15115 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
15116 (skkdic-convert-postfix, skkdic-convert-prefix):
15117 (skkdic-convert-okuri-nasi, skkdic-convert):
15118 * emacs-lisp/re-builder.el (reb-update-overlays):
15119 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
15120 * emacs-lisp/gulp.el (gulp-send-requests):
15121 * emacs-lisp/find-gc.el (trace-call-tree):
15122 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
15123 (eieio-describe-generic):
15124 * emacs-lisp/eieio-base.el (eieio-persistent-read):
15125 * emacs-lisp/edebug.el (edebug-outside-excursion):
15126 * emacs-lisp/debug.el (debugger-make-xrefs):
15127 * emacs-lisp/cust-print.el (custom-prin1-to-string):
15128 * emacs-lisp/chart.el (chart-new-buffer):
15129 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
15130 Use with-current-buffer.
15131 * textmodes/artist.el (artist-system): Don't call
15132 copy-sequence on a fresh string.
15133 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
15135 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
15137 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
15138 is no item to edit. (Bug#4820)
15139 (todo-top-priorities): Restore point and restore narrowing in Todo
15142 2009-10-31 Glenn Morris <rgm@gnu.org>
15144 * net/ange-ftp.el (top-level): Don't require dired when compiling.
15145 (comint-last-output-start, comint-last-input-start)
15146 (comint-last-input-end): Don't defvar when compiling.
15147 (ange-ftp-process-file): Use bound-and-true-p.
15149 * pcmpl-rpm.el (top-level): Move provide statement to end.
15150 (pcmpl-rpm): Remove unused custom group.
15152 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
15154 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
15156 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
15157 (byte-compile-warnings): Add `constants' as an option.
15158 (byte-compile-callargs-warn, byte-compile-arglist-warn)
15159 (display-call-tree): Update for byte-compile-fdefinition possibly
15160 returning `(macro lambda ...)'. (Bug#4778)
15161 (byte-compile-variable-ref, byte-compile-setq-default):
15162 Respect `constants' member of byte-compile-warnings.
15164 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
15166 * vc-bzr.el (vc-bzr-revision-keywords): New var.
15167 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
15170 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
15172 * textmodes/ispell.el (ispell-skip-region-alist):
15173 * international/mule-conf.el (eight-bit):
15174 * international/fontset.el (font-encoding-alist):
15175 * startup.el (pure-space-overflow-message):
15176 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
15177 * paths.el (gnus-nntp-service, rmail-spool-directory)
15178 (term-file-prefix):
15179 * files.el (save-some-buffers-action-alist):
15180 * cmuscheme.el (same-window-buffer-names):
15181 * ielm.el (same-window-buffer-names):
15182 * shell.el (same-window-buffer-names):
15183 * mail/sendmail.el (same-window-buffer-names):
15184 * progmodes/inf-lisp.el (same-window-buffer-names):
15185 * bindings.el (mode-line-client)
15186 (mode-line-column-line-number-mode-map):
15187 * language/tibetan.el (tibetan-precomposition-rule-regexp)
15188 (tibetan-precomposed-regexp): Purecopy string arguments.
15190 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15192 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
15193 (calcDigit-nondigit):
15194 * calc/calc-yank.el (calc-copy-to-buffer):
15195 * calc/calc-units.el (calc-invalidate-units-table):
15196 * calc/calc-trail.el (calc-trail-yank):
15197 * calc/calc-store.el (calc-insert-variables):
15198 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
15199 * calc/calc-prog.el (calc-read-parse-table):
15200 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
15201 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
15202 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
15203 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
15204 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
15205 (calc-graph-name, calc-graph-find-command, calc-graph-view)
15206 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
15207 * calc/calc-ext.el (calc-realign):
15208 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
15209 (calc-embedded-finish-edit, calc-embedded-make-info)
15210 (calc-embedded-finish-command, calc-embedded-stack-change):
15211 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
15213 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
15214 shell-dynamic-complete-filename in preference to
15215 comint-dynamic-complete-filename.
15217 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
15218 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
15219 Don't consider whether the display supports colors.
15220 (bookmark-import-new-list): Use dolist.
15221 (bookmark-bmenu-mode-map): Move initialization into declaration.
15222 (bookmark-bmenu-list): Use dolist, simplify.
15223 (bookmark-show-all-annotations): Use save-selected-window and dolist.
15224 (menu-bar-final-items): Use push.
15226 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
15228 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
15229 it works on remote files.
15230 (vc-hg-diff): Don't pass any `--cwd' argument.
15232 2009-10-27 Kevin Ryde <user42@zip.com.au>
15234 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15235 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
15236 (Further to Bug#3921).
15238 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
15240 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
15241 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
15242 calling `tramp-imap-put-file'. Add file size to the call.
15243 (tramp-imap-get-file-entries): Compute also user name, file size,
15245 (tramp-imap-handle-insert-directory): Insert uid and gid.
15246 (tramp-imap-handle-file-attributes): Transform uid and gid
15247 according to `id-format'.
15248 (tramp-imap-put-file): New optional parameter SIZE. Encode file
15249 size in header X-Size.
15251 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
15253 * simple.el (transpose-subr): Give clearer error when the mark
15254 is not set. (Bug#4807)
15256 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
15258 * net/tramp.el (tramp-perl-file-truename): New defconst.
15259 Perl code contributed by yary <not.com@gmail.com> (tiny change).
15260 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
15261 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
15262 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
15264 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
15265 Ignore `dired-call-process'.
15266 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
15268 2009-10-26 Julian Scheid <julians37@gmail.com>
15270 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
15271 (tramp-get-remote-readlink): New defun.
15272 (tramp-handle-file-truename): Use it.
15273 (tramp-handle-file-exists-p): Check file-attributes cache, assume
15274 file exists if cache value present.
15275 (tramp-check-cached-permissions): New defun.
15276 (tramp-handle-file-readable-p): Use it.
15277 (tramp-handle-file-writable-p): Likewise.
15278 (tramp-handle-file-executable-p): Likewise.
15279 (tramp-handle-file-name-all-completions): Try using Perl to get
15280 partial completions. When perl not available, combine `cd' and
15281 `ls' into single remote operation and use shell expansion to get
15282 partial remote directory contents. Set `file-exists-p' cache for
15283 directory and any files returned by ls. Change cache handling to
15284 support partial directory contents. Use error message emitted by
15285 remote `cd' or Perl code for local tramp-error.
15286 (tramp-do-copy-or-rename-file-directly): Avoid separate
15287 tramp-send-command-and-check call.
15288 (tramp-handle-process-file): Merge three remote ops into one.
15289 Do not flush all caches when `process-file-side-effects' is set.
15290 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
15291 file-attributes shows uid/gid to be set already.
15293 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
15295 * textmodes/tex-mode.el (tex-dvi-view-command)
15296 (tex-show-queue-command, tex-open-quote):
15297 * progmodes/ruby-mode.el (auto-mode-alist)
15298 (interpreter-mode-alist): Purecopy strings.
15300 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
15302 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
15303 string for the hook, keymap and abbrev table.
15305 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
15307 * x-dnd.el (x-dnd-xdnd-to-action):
15308 * startup.el (fancy-startup-text, fancy-about-text): Change to
15309 defconst from defvar.
15311 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
15313 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
15314 Purecopy initialization strings.
15316 * mail/sendmail.el (mail-header-separator)
15317 (mail-personal-alias-file):
15318 * mail/rmail.el (rmail-default-dont-reply-to-names)
15319 (rmail-ignored-headers, rmail-retry-ignored-headers)
15320 (rmail-highlighted-headers, rmail-secondary-file-directory)
15321 (rmail-secondary-file-regexp):
15322 * files.el (null-device, file-name-invalid-regexp)
15323 (locate-dominating-stop-dir-regexp)
15324 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
15325 (interpreter-mode-alist): Use mapcar instead of mapc.
15327 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
15329 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
15330 (completion-ignored-extensions):
15331 (debug-ignored-errors): Purecopy strings.
15333 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
15335 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
15336 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
15337 (pcomplete--here): Use push.
15339 * subr.el (all-completions): Declare the 4th arg obsolete.
15341 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
15343 * pcomplete.el (pcomplete-unquote-argument-function): New var.
15344 (pcomplete-unquote-argument): New function.
15345 (pcomplete--common-suffix): Always pay attention to case.
15346 (pcomplete--table-subvert): Quote and unquote the text.
15347 (pcomplete--common-quoted-suffix): New function.
15348 (pcomplete-std-complete): Use it and pcomplete-begin.
15350 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
15351 we're inside a dedicated or minibuffer window.
15353 2009-10-24 Karl Fogel <kfogel@red-bean.com>
15355 * bookmark.el: Update documentation, especially documentation
15356 of `bookmark-alist' and of the bookmark file format.
15357 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
15359 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
15361 * mail/emacsbug.el (report-emacs-bug): Clarify that the
15362 keybindings apply to the mail buffer (Bug#4003). Shrink help
15365 * whitespace.el (whitespace-mode, whitespace-newline-mode)
15366 (global-whitespace-mode, global-whitespace-newline-mode)
15367 (whitespace-toggle-options, global-whitespace-toggle-options):
15368 Doc fix (Bug#3660).
15370 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
15371 of xmltok-start before the end tag was inserted (Bug#2840).
15373 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
15374 patterns that are preceded by an open-paren (Bug#1320).
15376 2009-10-24 Sven Joachim <svenjoac@gmx.de>
15378 * files.el (delete-directory): Delete symlinks to directories with
15379 delete-file (Bug#4739).
15381 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
15383 * vc.el (vc-backend-for-registration): Rename from
15384 vc-get-backend-for-registration. Update callers.
15386 * international/mule-cmds.el (set-language-info-alist):
15388 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
15389 (charset): Purecopy the name.
15390 (define-char-code-property): Purecopy string arguments.
15392 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15393 Purecopy string arguments.
15395 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15396 * ediff-hook.el (menu-bar-ediff-menu):
15397 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
15398 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
15400 2009-10-24 Glenn Morris <rgm@gnu.org>
15402 * comint.el (comint-dynamic-list-completions):
15403 * term.el (term-dynamic-list-completions): Use choose-completion rather
15404 than obsolete alias mouse-choose-completion.
15406 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
15407 file-cache-choose-completion.
15408 (file-cache-choose-completion): Handle an optional event argument.
15409 (file-cache-mouse-choose-completion): Make it an obsolete alias.
15411 * progmodes/octave-mod.el (octave-complete-symbol):
15412 Use choose-completion if mouse-choose-completion is ever removed.
15414 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
15417 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
15420 * vc-hooks.el (vc-responsible-backend): Fix declaration.
15422 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
15424 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
15425 Ignore `pred' now that we receive one.
15426 Handle test-completion specially.
15428 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
15430 * vc.el (vc-responsible-backend): Throw an error if not backend is
15431 found. Remove the REGISTER argument. Move the code dealing with
15433 (vc-get-backend-for-registration): ... here. New function.
15434 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
15435 of vc-responsible-backend, pass the file name instead of the
15438 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
15440 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
15442 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
15443 (pcomplete-comint-setup): Don't modify a global var via
15444 accidental side-effects.
15445 (pcomplete-shell-setup): Adjust call accordingly.
15446 (pcomplete-parse-comint-arguments): Use push.
15448 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
15450 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15451 Allow uncapitalized info node names (Bug#3921).
15453 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
15454 to the DEBUG file (Bug#3781).
15456 2009-10-23 Jari Aalto <jari.aalto@cante.net>
15458 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
15459 dictionary entry (Bug#4579).
15461 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
15463 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
15464 from `rfn-eshadow-update-overlay-hook' when unloading.
15465 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
15466 "rsyncc". Adjust doc string.
15467 (tramp-temp-buffer-file-name): New buffer-local defvar.
15468 (tramp-handle-insert-file-contents, tramp-handle-write-region):
15469 Keep temporary file when indicated by method ("rsync" and
15471 (tramp-handle-write-region): Handle APPEND.
15472 (tramp-delete-temp-file-function): New defun. Added to
15473 `kill-buffer-hook'.
15475 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
15477 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
15479 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
15481 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
15482 (color-name-rgb-alist, tty-standard-colors)
15483 (tty-color-mode-alist): Change to defconst.
15485 * simple.el (mark-inactive): Purecopy message.
15487 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
15488 (global-map, yank-menu):
15489 * textmodes/ispell.el (ispell-menu-map):
15490 * net/eudc.el (eudc-tools-menu):
15491 * international/mule-cmds.el (describe-language-environment-map)
15492 (setup-language-environment-map, set-coding-system-map)
15493 (mule-menu-keymap):
15494 * vc-hooks.el (vc-menu-entry, vc-menu-map):
15495 * replace.el (occur-mode-map):
15496 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
15498 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
15500 * calc/calc.el (math-read-number, math-read-number-simple):
15501 Use `save-match-data'.
15503 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15505 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
15506 rather than fiddling with global-map bindings, since it should only
15507 affect per-terminal settings.
15508 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
15510 * minibuffer.el (completion-table-with-terminator): Allow to specify
15511 the terminator-regexp.
15513 * simple.el (switch-to-completions): Look for *Completions* in other
15516 * pcomplete.el: Allow the use of completion-tables.
15517 (pcomplete-std-complete): New command.
15518 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
15519 (pcomplete--here): Use a function for `form' rather than an expression,
15520 so it can be byte-compiled.
15521 (pcomplete-here, pcomplete-here*): Adjust accordingly.
15522 Add edebug declaration.
15523 (pcomplete-show-completions): Remove unused var `curbuf'.
15524 (pcomplete-do-complete, pcomplete-stub):
15525 Don't assume `completions' is a list of strings any more.
15527 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
15529 * find-dired.el (find-name-arg): Fix typo in docstring.
15531 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15533 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
15534 (pcmpl-linux-fs-types): Same, and update to new modules layout.
15536 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
15539 * comint.el (comint-read-input-ring, comint-write-input-ring)
15540 (comint-substitute-in-file-name)
15541 (comint-dynamic-complete-as-filename)
15542 (comint-dynamic-simple-complete)
15543 (comint-dynamic-list-filename-completions)
15544 (comint-dynamic-list-completions)
15545 (comint-redirect-results-list-from-process): Minor simplifications.
15547 2009-10-21 Kevin Ryde <user42@zip.com.au>
15549 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
15550 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
15551 the first form. And insert a blank line after ";;; Code" since
15552 that's usual style. (Bug#4612)
15554 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
15556 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15558 * minibuffer.el (completion-table-with-terminator): Properly implement
15559 boundaries, in case `terminator' appears in the suffix.
15560 (completion--embedded-envvar-table): Don't return boundaries if
15561 there's no valid completion. Simplify.
15562 (completion-file-name-table): New completion table extracted from
15563 completion--file-name-table.
15564 (completion--file-name-table): Use it.
15565 (read-file-name-predicate): Declare obsolete.
15566 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
15567 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
15568 completion-file-name-table, and use the `pred' argument.
15569 * files.el (locate-file-completion-table): Use the `pred' arg rather
15570 than read-file-name-predicate.
15571 (abbreviate-file-name): Use \` rather than ^ for BOS.
15573 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
15575 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
15576 vc-responsible-backend to register, it causes problems.
15578 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15580 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
15582 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
15584 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
15585 (tramp-smb-handle-file-attributes): Use it.
15586 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
15587 (tramp-smb-handle-insert-directory): Use `mapc' rather than
15588 `mapcar'. Use `tramp-smb-get-stat-capability'.
15589 Add `dired-filename' text properties.
15590 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
15591 (tramp-smb-maybe-open-connection): Simplify check for smbclient
15594 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
15596 * subr.el (read-key-delay): Reduce to 0.01.
15597 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
15600 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15602 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
15604 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
15605 (Info-menu): Remove unused vars `last' and `completions'.
15606 (Info-index-nodes): Remove unused var `node'.
15608 * info.el (Info-complete-menu-item): Use complete-with-action.
15610 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
15612 Make vc-annotate work through copies and renames.
15613 * vc-annotate.el (vc-annotate-extract-revision-at-line):
15614 Return the file name too.
15615 (vc-annotate-revision-at-line)
15616 (vc-annotate-find-revision-at-line)
15617 (vc-annotate-revision-previous-to-line)
15618 (vc-annotate-show-log-revision-at-line): Update to get the file
15619 name from vc-annotate-extract-revision-at-line.
15620 (vc-annotate-show-diff-revision-at-line-internal): Change the
15621 argument to mean whether to show a file diff or not. Get the file
15622 name from vc-annotate-extract-revision-at-line.
15623 (vc-annotate-show-diff-revision-at-line):
15624 Update vc-annotate-show-diff-revision-at-line call.
15625 (vc-annotate-warp-revision): Add an optional file argument.
15627 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
15628 (vc-git-annotate-extract-revision-at-line): Also return the file
15631 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
15632 command. Remove unused code.
15633 (vc-hg-annotate-re): Update to match --follow output.
15634 (vc-hg-annotate-extract-revision-at-line): Also return the file
15637 * vc.el: Update annotate-extract-revision-at-line documentation.
15639 2009-10-18 Kevin Ryde <user42@zip.com.au>
15641 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
15642 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
15644 * net/browse-url.el (browse-url): Identify alist with "consp and
15645 not functionp" and let all other things go down the `apply' leg,
15646 as suggested by Stefan. (Further to bug#4531.)
15648 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
15650 * minibuffer.el (read-file-name): Check for repeat before putting
15651 a default argument in file-name-history (Bug#4657).
15653 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
15654 read syntax (Bug#4737).
15656 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
15658 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15660 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
15661 (html-tag-alist, html-tag-help): Add descriptions for undocumented
15662 entries and make note of obsolete tags.
15664 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
15666 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
15668 2009-10-18 Glenn Morris <rgm@gnu.org>
15670 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
15671 grep, so that binary files (eg international/uni-bidi.el) can match.
15672 Remove test for "UnicodeData" files, since it is hopefully unnecessary
15673 now, and in any case the file header format has changed.
15675 2009-10-17 Glenn Morris <rgm@gnu.org>
15677 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
15678 (flyspell-get-word, flyspell-large-region)
15679 (flyspell-auto-correct-previous-word): Doc/error message fixes.
15681 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
15683 * Makefile.in (ELCFILES): Add ede/shell.
15685 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
15687 * term/common-win.el (x-colors): Purecopy it.
15689 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15691 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
15692 permissive for when the buffer is empty.
15693 (tar-header-block-tokenize): Decode the username and groupname.
15694 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
15696 2009-10-17 Eric Ludlam <zappo@gnu.org>
15698 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
15699 contains multibyte characters, choose first applicable coding
15700 system automatically.
15702 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15704 * international/mule-cmds.el (select-safe-coding-system): If the file
15705 has a coding cookie, use it regardless of any other setting (bug#4712).
15707 2009-10-17 Glenn Morris <rgm@gnu.org>
15709 * foldout.el (foldout-mouse-swallow-events):
15710 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
15712 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
15713 (dired-keep-marker-copy, dired-keep-marker-hardlink)
15714 (dired-keep-marker-symlink, dired-dwim-target)
15715 (dired-copy-preserve-time): Do not autoload these defcustoms.
15717 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
15718 messages from messing up the file coding. (Bug#4623)
15720 2009-10-17 Jari Aalto <jari.aalto@cante.net>
15722 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
15723 if no match is found for the current dictionary. (Bug#4578)
15725 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
15726 optional, since that is how it is documented, and this is often called
15727 with a nil argument. (Bug#4577)
15728 (flyspell-external-point-words, flyspell-auto-correct-word)
15729 (flyspell-correct-word-before-point, flyspell-word-search-forward)
15730 (flyspell-word-search-backward): Remove nil argument in calls to
15731 flyspell-get-word, since it is not needed now.
15733 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
15735 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
15737 2009-10-16 Glenn Morris <rgm@gnu.org>
15739 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
15741 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
15743 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
15744 (ange-ftp-file-size): New function.
15745 (ange-ftp-file-attributes): Use it.
15747 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
15749 * net/tramp-smb.el (tramp-smb-version): New defvar.
15750 (tramp-smb-maybe-open-connection): Use it, in order to avoid
15753 2009-10-16 Glenn Morris <rgm@gnu.org>
15755 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
15756 Maybe copy some custom properties from old to new name. (Bug#4706)
15758 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
15760 * subr.el (error, sit-for, start-process-shell-command)
15761 (start-file-process-shell-command): Set the calling convention
15762 after the function definition.
15764 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
15766 * subr.el (error, sit-for, start-process-shell-command)
15767 (start-file-process-shell-command): Use the new
15768 set-advertised-calling-convention feature.
15770 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
15772 * international/ucs-normalize.el (ucs-normalize-version):
15774 (check-range): Adjust for Unicode 5.2.
15776 2009-10-15 Juri Linkov <juri@jurta.org>
15778 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
15779 to the `menu-item' format.
15781 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
15783 * net/tramp.el (tramp-replace-environment-variables): Do not fail
15784 if the environment variable does not exist.
15786 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15787 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
15789 (tramp-smb-handle-add-name-to-file)
15790 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15791 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15792 (tramp-smb-handle-file-attributes)
15793 (tramp-smb-do-file-attributes-with-stat)
15794 (tramp-smb-handle-file-local-copy)
15795 (tramp-smb-handle-insert-directory)
15796 (tramp-smb-handle-make-directory)
15797 (tramp-smb-handle-make-directory-internal)
15798 (tramp-smb-handle-make-symbolic-link)
15799 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
15800 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
15801 (tramp-smb-maybe-open-connection): Apply the changed parameters.
15802 (tramp-smb-read-file-entry): Read Disk names in compressed format.
15803 Handle long file names.
15804 (tramp-smb-get-cifs-capabilities): Check, whether the connection
15805 process is running.
15806 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
15807 Read share names with "-g" option.
15809 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
15811 * net/rcirc.el (rcirc-view-log-file): New command.
15812 (rcirc-track-minor-mode-map): Remove C-c ` binding.
15813 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
15816 2009-10-15 Glenn Morris <rgm@gnu.org>
15818 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
15819 from the second command-line argument.
15820 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
15821 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
15822 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
15823 w32-batch-update-autoloads.
15824 * emacs-lisp/autoload.el (autoload-make-program): New variable.
15825 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
15827 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
15828 the headers cannot be located. Simplify, subtracting superflous
15831 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
15833 Replace completion-base-size by completion-base-position to fix bugs
15834 such as (bug#4699).
15835 * simple.el (completion-base-position): New var.
15836 (completion-base-size): Mark as obsolete.
15837 (choose-completion): Make it work for mouse events as well.
15838 Pass the new base-position to choose-completion-string.
15839 (choose-completion-guess-base-position): New function, extracted from
15840 choose-completion-delete-max-match.
15841 (choose-completion-delete-max-match): Use it. Make obsolete.
15842 (choose-completion-string): Use the new base-position info.
15843 (completion-root-regexp): Delete.
15844 (completion-setup-function): Preserve completion-base-position.
15845 Eliminate obsolete base-size manipulation.
15846 * minibuffer.el (display-completion-list): Don't mess with base-size.
15847 (minibuffer-completion-help): Set completion-base-position instead.
15848 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
15850 * textmodes/bibtex.el (bibtex-complete):
15851 * emacs-lisp/crm.el (crm--choose-completion-string):
15852 Adjust to new calling convention.
15853 * complete.el (partial-completion-mode): Use minibufferp to avoid
15854 bumping into incompatible change to choose-completion-string-functions.
15855 * ido.el (ido-choose-completion-string): Make its calling convention
15857 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
15858 base-size manipulation.
15859 (comint-dynamic-list-input-ring): Use dotimes and push.
15860 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
15861 fundamental-mode. Use `or'.
15863 2009-10-14 Juri Linkov <juri@jurta.org>
15865 * misearch.el (multi-isearch-next-buffer-from-list)
15866 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
15868 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15870 * Makefile.in (compile-onefile): Load `bytecomp' rather than
15873 * minibuffer.el (completion-pcm--merge-completions): Make sure the
15874 string we return is all made up of text from the completions rather
15875 than part from the completions and part from the input (bug#4219).
15877 * ido.el (ido-everywhere): Use define-minor-mode.
15879 * buff-menu.el (list-buffers, ctl-x-map):
15880 Mark the entry points with ;;;###autoload cookies.
15882 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
15884 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
15885 correctly in the detached head case.
15886 (vc-git-print-log): Remove unused binding.
15888 * vc.el (vc-responsible-backend): When a directory is passed for
15889 for registration create a VC repository if no backend is
15890 responsible for the directory argument.
15891 (vc-deduce-fileset): Tell vc-responsible-backend to register.
15893 * vc.el: Move comments about RCS and SCCS ...
15895 * vc-sccs.el: ... here, respectively.
15897 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15899 * minibuffer.el (completion--file-name-table): Return nil if there's
15900 no file completion, even if substitute-in-file-name changed
15901 the string (bug#4708).
15903 2009-10-13 Juri Linkov <juri@jurta.org>
15905 * files-x.el (read-file-local-variable-value): Don't filter out
15906 minor modes from mode name completion (bug#4664).
15908 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
15910 * international/mule-cmds.el (ucs-names): Remove exclusion of
15911 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
15913 2009-10-13 Kenichi Handa <handa@m17n.org>
15915 * international/uni-name.el: Regenerated.
15917 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
15919 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
15920 should be automatically buffer-local, but isn't.)
15922 2009-10-12 Sam Steingold <sds@gnu.org>
15924 * progmodes/compile.el (compilation-next-error-function): Fix the
15925 timestamps if the buffer has been visited before.
15926 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
15927 non-anchored patterns, like the perl one (bug#3928).
15929 2009-10-12 Glenn Morris <rgm@gnu.org>
15931 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
15934 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
15936 * proced.el (proced-unload-function): New function.
15938 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
15939 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
15942 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
15944 2009-10-11 Juri Linkov <juri@jurta.org>
15946 * files-x.el (read-file-local-variable-value):
15947 Provide default value only for bound variables (bug#4664).
15949 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
15951 * net/tramp.el (tramp-local-host-p): Function shall return nil for
15952 connection methods like smb.
15954 * net/tramp-cache.el (tramp-flush-connection-property): The hash
15957 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15958 (tramp-smb-file-name-handler-alist): Add handlers for
15959 `add-name-to-file', `make-symbolic-link'.
15960 (tramp-smb-handle-add-name-to-file)
15961 (tramp-smb-do-file-attributes-with-stat)
15962 (tramp-smb-handle-make-symbolic-link)
15963 (tramp-smb-get-cifs-capabilities): New defuns.
15964 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15965 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15966 (tramp-smb-handle-file-local-copy)
15967 (tramp-smb-handle-make-directory-internal)
15968 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
15969 The file name syntax depends on cifs capabilities.
15970 (tramp-smb-handle-file-attributes):
15971 Call `tramp-smb-do-file-attributes-with-stat' if possible.
15972 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
15973 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
15975 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
15977 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
15978 (eieio-defclass): Apply deftype handler and setf-method properties
15980 (eieio-add-new-slot): Avoid union function from cl library.
15981 (eieio--typep): New function.
15982 (eieio-perform-slot-validation): Use it.
15984 2009-10-10 Karl Fogel <kfogel@red-bean.com>
15986 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
15987 Update documentation to refer to the variables documented in r1.135.
15990 2009-10-10 Karl Fogel <kfogel@red-bean.com>
15992 * bookmark.el (Info-suffix-list): Remove this unused variable.
15993 (bookmark-current-point): Remove this obsolete variable.
15994 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
15995 Adjust for removal of bookmark-current-point.
15997 (bookmarks-already-loaded, bookmark-current-buffer)
15998 (bookmark-yank-point): Document. (Bug#4188)
16000 2009-10-10 Glenn Morris <rgm@gnu.org>
16002 * frame.el (frame-height): Doc fix.
16004 * calendar/calendar.el (calendar-split-width-threshold): New option.
16005 (calendar-basic-setup): Use calendar-split-width-threshold.
16007 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
16009 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
16010 Ideographic Supplement" range (U+1F200..U+1F2FF).
16012 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16014 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
16015 since the list will have been rebuilt anyway. (Bug#4349)
16017 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16019 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
16020 (bookmark-bmenu-execute-deletions): Don't save here, as
16021 bookmark-delete will now do so if necessary.
16022 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
16025 2009-10-09 Glenn Morris <rgm@gnu.org>
16027 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
16029 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16031 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
16032 (bookmark-jump-other-window): Just invoke bookmark-jump with new
16033 argument now, so the two function's behaviors will match. (Bug#3645)
16035 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
16037 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
16038 (tramp-file-name-real-host, tramp-file-name-port):
16039 Apply `save-match-data'.
16041 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
16042 case both directories are remote.
16043 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
16044 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
16046 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
16048 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
16050 2009-10-07 Glenn Morris <rgm@gnu.org>
16052 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
16055 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
16057 * files-x.el (read-file-local-variable): Include some
16058 non-user-variables in the completion table (bug#4664).
16060 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
16062 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
16065 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16066 (tramp-smb-file-name-handler-alist): Add handler for
16067 `copy-directory', `expand-file-name', `set-file-modes'.
16068 (tramp-smb-handle-copy-directory)
16069 (tramp-smb-handle-expand-file-name)
16070 (tramp-smb-handle-set-file-modes): New defuns.
16071 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
16072 (tramp-smb-handle-file-attributes): Simplify check for retrieving
16074 (tramp-smb-handle-insert-directory): Don't flush the cache.
16075 (tramp-smb-maybe-open-connection): Check for samba client and
16078 2009-10-07 Eli Zaretskii <eliz@gnu.org>
16080 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
16081 to not error out of search for "^lisp=" fails.
16083 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
16085 * makefile.w32-in (WINS_UPDATES): New macro.
16086 (custom-deps, finder-data, autoloads): Use it.
16088 2009-10-07 Glenn Morris <rgm@gnu.org>
16090 * Makefile.in (autoloads): Revert previous change.
16091 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
16092 the list of preloaded files passed on the command-line, get
16093 it from src/Makefile.
16095 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
16096 show the original buffer rather than a random one.
16098 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
16100 * help.el (describe-no-warranty): Place point in a slightly better
16101 position in the GPLv3 text.
16103 2009-10-06 Sam Steingold <sds@gnu.org>
16105 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
16106 the comm attribute is present before calling regexp-quote.
16108 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
16110 * play/animate.el (animate-string): For good effect, make sure
16111 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
16113 * play/animate.el (animate-sequence, animate-birthday-present):
16114 * misc.el (butterfly): Don't set `indent-tabs-mode'.
16116 2009-10-06 Glenn Morris <rgm@gnu.org>
16118 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
16120 * emacs-lisp/autoload.el (autoload-excludes): New variable.
16121 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
16122 (batch-update-autoloads): Process a string value of autoload-excludes,
16123 set during the build process.
16124 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
16126 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
16127 inside with-parsed... macro so that `v' is defined.
16129 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
16130 * progmodes/fortran.el (fortran-end-of-block)
16131 (fortran-beginning-of-block):
16132 Also push mark in the macro case.
16134 * emerge.el (emerge-show-file-name):
16135 * calc/calc.el (calc-quit):
16136 * calc/calc-misc.el (calc-big-or-small):
16137 * calc/calc-graph.el (calc-graph-view):
16138 * calc/calc-ext.el (calc-reset):
16139 * calendar/calendar.el (calendar-basic-setup):
16140 Use window-full-height-p.
16142 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
16143 header we don't understand, don't insert another. (Bug#4624)
16144 If changing mime charset, insert the new one in the right place.
16146 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
16148 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
16149 (cal-tex-cursor-month): Correctly increment the end date for diary and
16150 holiday listing. (Bug#4626)
16152 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16154 * help-fns.el (describe-function-1): Don't burp if the function is not
16157 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
16159 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
16160 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
16161 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
16162 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
16164 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
16165 (eieio-default-superclass): Reflow docstrings.
16166 (this, class-option-assoc, defclass, eieio-class-un-autoload)
16167 (eieio-unbind-method-implementations, defmethod)
16168 (eieio-validate-slot-value, eieio-validate-class-slot-value)
16169 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
16170 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
16171 (eieio-slot-originating-class-p, eieio-slot-name-index)
16172 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
16173 (constructor, initialize-instance, no-next-method, object-print)
16174 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
16175 Fix typos in docstrings.
16176 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
16177 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
16178 (next-method-p): Doc fixes.
16179 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
16180 Fix typos in error messages.
16181 (eieio-defmethod): Fix typo in description of generic method.
16183 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
16184 (eieio-persistent-save-interactive, slot-missing):
16185 Fix typos in docstrings.
16186 (eieio-instance-inheritor-slot-boundp): Doc fix.
16188 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
16189 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
16191 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
16192 (eieio-custom-object-apply-reset):
16193 Fix typos in docstrings and error messages.
16195 * emacs-lisp/eieio-datadebug.el (data-debug-show):
16196 Fix typo in docstring.
16198 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
16199 (eieio-browse-tree): Doc fix.
16200 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
16201 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
16202 Fix typos in docstrings.
16204 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
16205 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
16206 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
16207 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
16210 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
16212 * vc-hg.el (log-view-vc-backend): Declare for compiler.
16213 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
16214 Set log-view-vc-backend so that diff can work.
16216 * log-view.el (log-view-diff): Use vc-diff-internal instead of
16218 (vc-diff-internal): Autoload this instead of vc-version-diff.
16220 2009-10-05 Eli Zaretskii <eliz@gnu.org>
16222 * simple.el (eval-expression): Doc fix.
16224 * progmodes/cwarn.el (cwarn-mode): Doc fix.
16226 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
16228 * files.el (directory-files-no-dot-files-regexp): New defconst.
16229 (delete-directory): Use it.
16230 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
16232 * net/tramp.el (tramp-verbose): Fix docstring.
16233 (tramp-methods): Add recursive option to `tramp-copy-args'.
16234 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
16235 "scp1_old", "scp2_old", "rsync", "rsyncc".
16236 (tramp-default-method): Check also for `auth-source-user-or-password'.
16237 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
16238 Add handler for `copy-directory'.
16239 (tramp-handle-copy-directory): New defun.
16240 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
16241 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
16242 Optimize sent command.
16244 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16246 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
16247 window if necessary.
16249 * calendar/calendar.el (calendar-basic-setup): Don't call
16250 switch-to-buffer in a dedicated window.
16252 2009-10-05 Karl Fogel <kfogel@red-bean.com>
16254 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
16255 don't do anything related to relocating, just return nil.
16256 (bookmark-error-no-filename): New error.
16257 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
16258 bookmark has no file. Don't even attempt to handle things that
16259 are not files; the whole point of custom handlers is to keep that
16260 knowledge elsewhere anyway. Tighten some comments.
16261 (bookmark-file-or-variation-thereof): Remove now-unused function.
16262 (bookmark-location): Doc string fix.
16265 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16267 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
16268 don't use a file dialog, because they usually don't know how to read
16269 a directory target from the user. (Bug#4230)
16270 Also, make sure the prompt can display directories as well as files.
16272 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16274 * bookmark.el (bookmark-set, bookmark-buffer-name):
16275 Improve doc strings. (Bug#1193)
16277 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16279 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
16280 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
16281 (bookmark-get-annotation, bookmark-set-annotation)
16282 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
16283 (bookmark-set-position, bookmark-get-front-context-string)
16284 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
16285 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
16286 (bookmark-jump-other-window, bookmark-handle-bookmark)
16287 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
16288 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
16289 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
16290 Improve doc strings to say whether bookmark can be a string or
16291 a record or both, and make other consistency and clarity fixes.
16292 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
16293 (bookmark-default-annotation-text, bookmark-yank-word)
16294 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
16295 (bookmark-import-new-list, bookmark-maybe-rename)
16296 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
16297 (bookmark-bmenu-bookmark): Give these doc strings.
16298 (bookmark-bmenu-check-position): Give this a doc string, but also
16299 add a FIXME comment about how the function may be pointless.
16300 (bookmark-default-handler): Rework doc string and change a
16301 parameter name, to clarify that this takes a bookmark record
16302 not a bookmark name.
16303 (bookmark-set): Change a parameter name to indicate its meaning,
16304 and improve the doc string a bit.
16307 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16309 * bookmark.el (bookmark-alist): Document the new `handler' element
16310 in the param alist.
16311 (bookmark-make-record-function): Adjust documentation for above.
16314 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16316 * info.el (Info-bookmark-make-record): Document this function.
16317 (Info-bookmark-jump): Document with a doc string, not just a comment.
16320 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
16322 * files.el (copy-directory): New defun.
16324 * dired-aux.el (dired-copy-file-recursive): Use it.
16326 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
16328 * files-x.el (modify-dir-local-variable)
16329 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
16332 * recentf.el (recentf-unload-function): New function.
16334 2009-10-04 Glenn Morris <rgm@gnu.org>
16336 * window.el (window-full-height-p): Add doc string.
16338 2009-10-04 Martin Rudalics <rudalics@gmx.at>
16340 * window.el (window-full-height-p): New function. (Bug#4543)
16342 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
16344 * vc.el: Remove commented out code.
16345 (vc-derived-from-dir-mode): Remove, unused.
16346 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
16348 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
16350 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
16351 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
16352 there could be recursive loading when `default-directory' is a
16353 remote file name. (Bug#4614)
16355 2009-10-03 Glenn Morris <rgm@gnu.org>
16357 * calendar/calendar.el (calendar-basic-setup): Handle the case where
16359 (calendar-generate-window): Test for shrinkability rather than width.
16361 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
16362 reusing existing buffers, in case we happen to visit two files with the
16363 same basename. (Bug#4593)
16365 2009-10-02 Eli Zaretskii <eliz@gnu.org>
16367 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
16368 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
16369 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
16370 subdirs of cedet as well.
16371 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
16373 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
16375 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
16376 Obey advertised-signature-table.
16378 * help-fns.el (help-function-arglist): Don't check
16379 advertised-signature-table.
16380 (describe-function-1): Do it here instead so it also applies to subrs.
16382 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
16384 * simple.el (start-file-process): Say in the doc-string, that file
16385 handlers might not support pty association, if PROGRAM is nil.
16387 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
16388 HOST and USER are strings. They are nil, when there are
16389 incomplete entries in ~/.netrc, for example.
16390 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
16391 root directory ("device busy" error otherwise).
16393 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
16394 Flush file properties of created directory.
16396 2009-10-02 Eli Zaretskii <eliz@gnu.org>
16398 * makefile.w32-in (WINS_BASIC): Remove cedet.
16399 (WINS_CEDET): Add cedet.
16400 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
16402 2009-10-02 Kevin Ryde <user42@zip.com.au>
16404 * net/browse-url.el (browse-url): Pass any symbol in
16405 browse-url-browser-function to `apply', since if you've mistakenly put
16406 an unbound symbol then the error is clearer. (Bug#4531)
16408 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
16410 * allout.el (allout-init, allout-back-to-current-heading)
16411 (allout-beginning-of-current-entry, allout-ascend-to-depth)
16412 (allout-ascend, allout-up-current-level, allout-end-of-level)
16413 (allout-previous-visible-heading, allout-forward-current-level)
16414 (allout-backward-current-level, allout-show-children):
16415 * apropos.el (apropos-describe-plist):
16416 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
16417 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
16418 * completion.el (add-completion, add-permanent-completion):
16419 * descr-text.el (describe-text-category, describe-char):
16420 * desktop.el (desktop-lazy-abort):
16421 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
16422 * dired.el (dired-build-subdir-alist):
16423 * ediff.el (ediff-version):
16424 * elide-head.el (elide-head, elide-head-show):
16425 * emerge.el (emerge-version):
16427 * face-remap.el (variable-pitch-mode):
16428 * faces.el (describe-face):
16429 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
16431 * files.el (find-file-existing, auto-save-mode):
16432 * font-lock.el (font-lock-fontify-buffer):
16433 * help-fns.el (describe-function, describe-variable)
16434 (describe-syntax, describe-categories):
16435 * help.el (view-lossage, describe-bindings, describe-key)
16437 * hexl.el (hexl-current-address):
16438 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
16439 * info.el (Info-goto-emacs-key-command-node):
16440 * log-edit.el (log-edit-insert-cvs-template)
16441 (log-edit-insert-cvs-rcstemplate):
16442 * menu-bar.el (menu-bar-mode):
16443 * mouse.el (mouse-appearance-menu):
16444 * newcomment.el (comment-indent-new-line):
16445 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
16446 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
16447 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
16448 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
16449 * recentf.el (recentf-mode):
16450 * savehist.el (savehist-mode, savehist-save):
16451 * shadowfile.el (shadow-copy-files):
16452 * simple.el (kill-ring-save, next-line, previous-line)
16453 (normal-erase-is-backspace-mode):
16454 * strokes.el (strokes-update-window-configuration)
16455 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
16456 (strokes-xpm-for-stroke):
16457 * time.el (emacs-uptime, emacs-init-time):
16458 * tutorial.el (tutorial--describe-nonstandard-key)
16459 (tutorial--detailed-help):
16460 * type-break.el (type-break-mode)
16461 (type-break-mode-line-message-mode, type-break-query-mode)
16462 (type-break-guesstimate-keystroke-threshold):
16463 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
16464 * version.el (emacs-version):
16465 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
16466 * winner.el (winner-mode):
16467 * calendar/timeclock.el (timeclock-in, timeclock-out)
16468 (timeclock-status-string, timeclock-change)
16469 (timeclock-workday-remaining-string)
16470 (timeclock-workday-elapsed-string)
16471 (timeclock-when-to-leave-string):
16472 * calendar/todo-mode.el (todo-add-category):
16473 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
16474 * emacs-lisp/autoload.el (update-file-autoloads):
16475 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
16476 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
16477 (checkdoc-message-text, checkdoc-defun):
16478 * emacs-lisp/debug.el (debugger-list-functions):
16479 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
16480 * emacs-lisp/eieio-opt.el (eieio-describe-class)
16481 (eieio-describe-generic):
16482 * emacs-lisp/lisp-mnt.el (lm-synopsis):
16483 * emacs-lisp/shadow.el (list-load-path-shadows):
16484 * emulation/cua-base.el (cua-mode):
16485 * emulation/edt.el (edt-set-scroll-margins):
16486 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
16487 (tpu-toggle-regexp, tpu-toggle-search-direction)
16488 (tpu-toggle-rectangle, tpu-toggle-control-keys):
16489 * emulation/tpu-extras.el (tpu-set-scroll-margins):
16490 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
16491 (viper-set-parsing-style-toggling-macro)
16492 (viper-set-emacs-state-searchstyle-macros):
16493 * emulation/viper.el (viper-set-hooks):
16494 * eshell/esh-mode.el (eshell-truncate-buffer):
16495 * international/mule-cmds.el (prefer-coding-system)
16496 (describe-input-method, describe-language-environment):
16497 * international/mule-diag.el (list-character-sets)
16498 (describe-character-set, describe-coding-system)
16499 (describe-fontset, list-fontsets, list-input-methods):
16500 * mail/sendmail.el (mail-signature):
16501 * net/ange-ftp.el (ange-ftp-copy-file):
16502 * net/browse-url.el (browse-url):
16503 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
16504 * net/quickurl.el (quickurl-add-url):
16505 * net/rcirc.el (names, topic):
16506 * net/xesam.el (xesam-mode):
16507 * play/5x5.el (5x5-new-game):
16508 * play/yow.el (apropos-zippy):
16509 * progmodes/ada-mode.el (ada-mode-version):
16510 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
16512 (f90-beginning-of-block):
16513 * progmodes/fortran.el (fortran-end-of-block)
16514 (fortran-beginning-of-block):
16515 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
16516 * progmodes/python.el (python-describe-symbol, python-shell):
16517 * term/ns-win.el (ns-print-buffer):
16518 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
16519 * textmodes/flyspell.el (flyspell-mode-on):
16520 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
16521 (pages-directory-for-addresses):
16522 * textmodes/table.el (table-recognize-cell)
16523 (table-query-dimension, table-generate-source)
16524 (table-insert-sequence, table--warn-incompatibility):
16525 * textmodes/tex-mode.el (tex-validate-buffer):
16526 * textmodes/texinfmt.el (texinfmt-version)
16527 (texinfo-format-buffer):
16528 Use `called-interactively-p' instead of `interactive-p'.
16530 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
16532 * image-mode.el (image-toggle-display):
16533 * emacs-lisp/elp.el (elp-instrument-function):
16534 * emacs-lisp/advice.el (ad-make-advised-definition):
16535 * emacs-lisp/easy-mmode.el (define-minor-mode):
16536 * net/browse-url.el (browse-url-maybe-new-window):
16537 * progmodes/sh-script.el (sh-learn-buffer-indent):
16538 Pass new argument 'any to `called-interactively-p'.
16540 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
16542 * international/uni-bidi.el:
16543 * international/uni-category.el:
16544 * international/uni-combining.el:
16545 * international/uni-comment.el:
16546 * international/uni-decimal.el:
16547 * international/uni-decomposition.el:
16548 * international/uni-digit.el:
16549 * international/uni-lowercase.el:
16550 * international/uni-mirrored.el:
16551 * international/uni-name.el:
16552 * international/uni-numeric.el:
16553 * international/uni-old-name.el:
16554 * international/uni-titlecase.el:
16555 * international/uni-uppercase.el:
16556 Regenerate from Unicode 5.2.0 data.
16558 2009-10-01 Glenn Morris <rgm@gnu.org>
16560 * Makefile.in (ELCFILES): Regenerate.
16562 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16564 * subr.el (interactive-p): Mark obsolete.
16565 (called-interactively-p): Make the optional-ness of `kind' obsolete.
16566 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
16567 advertised-signature-table for subroutines as well.
16569 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
16570 (set-advertised-calling-convention): New function.
16571 (make-obsolete, define-obsolete-function-alias)
16572 (make-obsolete-variable, define-obsolete-variable-alias):
16573 Make the optional-ness of `when' obsolete.
16574 (define-obsolete-face-alias): Make `when' non-optional.
16575 * help-fns.el (help-function-arglist):
16576 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
16577 Use advertised-signature-table.
16579 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
16581 * files.el (delete-directory): New defun. The original function
16582 in fileio.c has been renamed to `delete-directory-internal'.
16584 * dired.el (dired-delete-file): Call `delete-directory' with
16585 RECURSIVE parameter.
16587 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
16588 parameter RECURSIVE. Implementation is missing.
16590 * net/tramp.el (tramp-handle-make-directory): Flush upper
16591 directory's file properties.
16592 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
16593 (tramp-handle-dired-recursive-delete-directory): Flush directory
16594 properties after the remove command only.
16596 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16597 Handle optional parameter RECURSIVE.
16599 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16600 Handle optional parameter RECURSIVE.
16602 * net/tramp-smb.el (tramp-smb-errors): Add error message for
16603 connection timeout.
16604 (tramp-smb-handle-delete-directory): Handle optional parameter
16607 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16609 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
16610 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
16611 (byte-compile-defmacro): Use backquotes.
16613 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
16615 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
16616 has no associated file.
16617 (vc-resynch-buffer): Use vc-dir-buffers.
16619 2009-10-01 Glenn Morris <rgm@gnu.org>
16621 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
16622 (chart-file-count):
16623 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
16624 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
16625 * emacs-lisp/eieio-opt.el (eieio-describe-class):
16626 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
16627 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
16628 (eieio-copy-parents-into-subclass, make-instance, class-children)
16629 (eieio-generic-form):
16631 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
16632 match-data. (Bug#4555).
16634 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
16635 rather than parsing it as a regexp. This relaxes the layout
16636 requirements and makes errors easier to detect.
16637 (check-declare-verify): Check file is regular.
16638 (check-declare-directory): Doc fix.
16639 * subr.el (declare-function): Doc fix.
16641 * ibuffer.el (ibuffer-format-qualifier):
16642 * isearch.el (hi-lock-regexp-okay):
16643 * calc/calc.el (math-zerop):
16644 * mail/uce.el (rmail-msgbeg, rmail-msgend):
16645 * term/w32-win.el (setup-default-fontset, set-fontset-font):
16646 Remove unused declarations.
16648 2009-09-30 Eric Ludlam <zappo@gnu.org>
16650 * emacs-lisp/eieio.el (boolean-p): Delete.
16652 2009-09-30 Glenn Morris <rgm@gnu.org>
16654 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
16656 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
16657 filename is not a string.
16659 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
16661 * files.el (safe-local-eval-forms): Fix typo.
16663 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
16665 * vc-hooks.el (vc-dir-buffers): New var.
16666 (vc-state-refresh): New function.
16667 (vc-state): Use it.
16668 (vc-after-save): Always ask the backend to recompute the new state.
16669 Always call vc-dir if necessary, using vc-dir-buffers.
16670 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
16671 Use vc-dir-buffers.
16672 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
16673 (vc-dir-prepare-status-buffer, vc-dir-update)
16674 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
16675 Don't call expand-file-name on default-directory.
16677 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
16679 * speedbar.el (speedbar-item-delete):
16680 * calc/calc-prog.el (calc-kbd-if):
16681 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
16683 * epa.el (epa-key-list-mode-map):
16684 * hi-lock.el (hi-lock-menu): Fix typos in menus.
16686 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
16687 (hs-show-hook): Fix typo in docstring.
16689 2009-09-29 Glenn Morris <rgm@gnu.org>
16691 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
16692 file-name-nondirectory call preventing location of cedet files.
16693 (check-declare-verify): Use literal search rather than re-search.
16694 Add basic defmethod and defclass, and define-overloadable-function.
16696 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16697 Use tramp-compat-file-attributes rather than nonexistent
16698 tramp-compat-handle-file-attributes.
16700 * Makefile.in (lisptagsfiles4): New.
16701 (AUTOGENEL): Add cedet loaddefs files.
16702 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
16703 (update-elclist, compile-always, backup-compiled-files)
16704 (bootstrap-clean): Add yet another directory level.
16705 (update-elclist): Use LC_COLLATE rather than COLLATE.
16706 (ELCFILES): Update, via `make update-elclist'.
16708 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
16710 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
16711 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
16712 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
16714 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
16716 * Makefile.in (lisptagsfiles3): Define.
16717 (TAGS, TAGS-LISP): Use it.
16718 (update-elclist): Add third directory level to look for elc files.
16719 (compile-always): Likewise.
16720 (backup-compiled-files): Likewise.
16721 (bootstrap-clean): Likewise.
16722 (ELCFILES): Update.
16724 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
16726 * Makefile.in (ELCFILES): Add CEDET files.
16728 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
16730 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
16732 * net/tramp.el (top): Require tramp-imap.
16734 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16735 Use `tramp-compat-handle-file-attributes'.
16737 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
16739 * net/tramp-imap.el: New package.
16741 2009-09-28 Eric Ludlam <zappo@gnu.org>
16743 * emacs-lisp/chart.el:
16744 * emacs-lisp/eieio-base.el:
16745 * emacs-lisp/eieio-comp.el:
16746 * emacs-lisp/eieio-custom.el:
16747 * emacs-lisp/eieio-datadebug.el:
16748 * emacs-lisp/eieio-opt.el:
16749 * emacs-lisp/eieio-speedbar.el:
16750 * emacs-lisp/eieio.el: New files.
16752 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16754 * whitespace.el (whitespace-trailing-regexp)
16755 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
16758 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
16760 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
16763 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
16764 menu-bar-ediff-menu.
16766 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
16767 define-overloadable-function.
16769 * progmodes/autoconf.el: Provide autoconf as well, so that this
16770 file can be `require'd.
16772 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
16774 * emacs-lisp/autoload.el (generated-autoload-feature)
16775 (generated-autoload-load-name): New vars.
16776 (autoload-rubric, autoload-generate-file-autoloads): Use them.
16777 (make-autoload): Recognize define-overloadable-function and
16778 defclass forms (for EIEIO).
16780 * Makefile.in (update-subdirs): Exclude cedet directory.
16782 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
16784 * term/ns-win.el: Don't set the region face background. (Bug#4381)
16786 * faces.el: Default light-background background for region face to
16787 ns_selection_color under NS.
16789 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
16791 * net/imap-hash.el: New library, see NEWS.
16793 * Makefile.in (ELCFILES): Add imap-hash.el.
16795 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
16797 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
16798 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
16799 * help-macro.el (make-help-screen): Avoid using an ambiguous function
16800 definition where the docstring could be taken for the return value.
16802 2009-09-26 Glenn Morris <rgm@gnu.org>
16804 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
16805 Add option to only show images below a certain size.
16806 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
16807 save-excursion calls.
16809 2009-09-26 Eli Zaretskii <eliz@gnu.org>
16811 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
16812 subdirectories) and eieio.
16814 2009-09-26 Alan Mackenzie <acm@muc.de>
16816 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16817 Correct buggy bracketing. (Bug#4289)
16819 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
16820 character constants (as case labels). (Bug#4289)
16822 2009-09-25 Juri Linkov <juri@jurta.org>
16824 * files.el (safe-local-eval-forms): Allow time-stamp in
16825 before-save-hook (Bug#4554).
16827 2009-09-25 Drew Adams <drew.adams@oracle.com>
16829 * menu-bar.el (list-buffers-directory): Doc fix.
16831 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
16833 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
16834 Try and avoid copying twice the same paragraph.
16835 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
16836 Remove save-excursion.
16837 (log-edit-changelog-entry): Do it here instead.
16839 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
16841 * bs.el (bs--get-file-name): Use `list-buffers-directory'
16842 when available, instead of hardcoding mode names. Doc fix.
16844 * menu-bar.el (list-buffers-directory): Add docstring.
16845 Make automatically buffer-local.
16847 * dired.el (dired-mode):
16848 * files.el (cd-absolute):
16849 * pcvs.el (cvs-temp-buffer):
16850 * pcvs-util.el (cvs-get-buffer-create):
16851 * shell.el (shell-mode):
16852 * vc-dir.el (vc-dir-mode):
16853 Don't make `list-buffers-directory' buffer local.
16855 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
16857 * comint.el (comint-exec, comint-run, make-comint):
16858 Doc fixes (Bug#4542).
16860 2009-09-25 Glenn Morris <rgm@gnu.org>
16862 * mail/rmailmm.el (rmail-mime): New custom group.
16863 Move all defcustoms in this file into this group.
16864 (rmail-mime-media-type-handlers-alist): Revert previous change.
16865 (rmail-mime-show-images): New option.
16866 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
16867 references to it, since it wasn't actually used for anything.
16868 (rmail-mime-insert-image): New function.
16869 (rmail-mime-image): Use rmail-mime-insert-image.
16870 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
16871 obey the value of `rmail-mime-show-images' option. Print the size of
16874 2009-09-25 David Engster <deng@randomsample.de>
16876 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
16878 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16880 * whitespace.el: Does not highlight trailing spaces While point is
16881 at end of line. Does not highligt spaces at beginning of buffer
16882 while point is at beginning of buffer. Does not highlight spaces
16883 at end of buffer while point is at end of buffer. (Bug#4177)
16885 (whitespace-display-mappings): Adjust initialization.
16886 (whitespace-point, whitespace-font-lock-refontify): New vars.
16887 (whitespace-color-on, whitespace-color-off): Adjust code.
16888 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
16889 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
16890 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
16892 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
16894 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
16896 * textmodes/sgml-mode.el: Remove xml-mode alias.
16898 * files.el (auto-mode-alist, conf-mode-maybe)
16899 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
16901 2009-09-24 Alan Mackenzie <acm@muc.de>
16903 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
16904 c-forward-conditionals, but it doesn't move point and doesn't set
16906 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
16907 (c-down-conditional-with-else, c-backward-conditional)
16908 (c-forward-conditional): Refactor to use c-scan-conditionals.
16910 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
16912 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
16913 (help-default-arg-highlight): Remove.
16914 (help-highlight-arg): New function.
16915 (help-do-arg-highlight): Use it.
16916 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
16918 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
16920 * term.el (term-set-scroll-region, term-handle-ansi-escape):
16921 Undo last change, which didn't fix the problem and introduced others.
16923 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
16925 * progmodes/gdb-mi.el: Don't require speedbar.
16926 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
16928 2009-09-24 Glenn Morris <rgm@gnu.org>
16930 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
16932 * term/ns-win.el (ns-reg-to-script): Define for compiler.
16934 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
16935 there is no newline after the final mime boundary. (Bug#4539)
16936 Move markers on insertion so that any buttons inserted don't end up in
16937 the next part of a multipart message.
16938 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
16939 (rmail-mime-bulk-handler): Optionally handle images.
16940 (rmail-mime-image): New button action.
16941 (rmail-mime-image-handler): New function.
16942 (rmail-mime-mode): New mode.
16943 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
16945 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
16947 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
16948 than just dropping elements from it (bug#4504).
16950 * term.el (term-set-scroll-region): Don't move cursor any more.
16951 (term-handle-ansi-escape): Call term-goto here instead.
16952 Suggested by Ivan Kanis <apple@kanis.eu>.
16954 * term.el: Require CL.
16955 (term-ansi-reset): New function.
16956 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
16957 (term-handle-colors-array): Simplify.
16959 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
16961 * allout.el (allout-overlay-interior-modification-handler)
16962 (allout-obtain-passphrase):
16963 * epa-file.el (epa-file-write-region):
16964 * ps-print.el (ps-begin-job):
16965 * vc-hooks.el (vc-toggle-read-only):
16966 * vc-rcs.el (vc-rcs-rollback):
16967 * vc-sccs.el (vc-sccs-rollback):
16968 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
16969 (vc-version-diff, vc-revert, vc-rollback):
16970 * wdired.el (wdired-check-kill-buffer):
16971 * emacs-lisp/authors.el (authors):
16972 * net/socks.el (socks-open-connection):
16973 * net/zeroconf.el (zeroconf-service-add-hook):
16974 * obsolete/vc-mcvs.el (vc-mcvs-register):
16975 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
16976 (gdb-select-frame):
16977 * progmodes/grep.el (lgrep, rgrep):
16978 * progmodes/idlw-help.el (idlwave-help-check-locations)
16979 (idlwave-help-html-link, idlwave-help-assistant-open-link):
16980 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
16981 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
16982 (reftex-toc-rename-label): Fix typos in error messages.
16984 * dired-aux.el (dired-do-shell-command): Reflow docstring.
16985 (dired-copy-how-to-fn): Doc fix.
16986 (dired-files-attributes, dired-read-shell-command):
16987 Fix typos in docstrings.
16989 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
16990 (dired-x-find-file-other-window): Reflow docstrings.
16991 (dired-omit-marker-char, dired-read-shell-command)
16992 (dired-x-submit-report): Fix typos in docstrings.
16994 * shell.el (shell-mode-hook):
16995 * view.el (View-scroll-line-forward):
16996 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
16997 Fix typos in docstrings.
16999 * net/dig.el (dig-invoke): Fix typo in docstring.
17000 (query-dig): Reflow docstring.
17002 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
17003 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
17004 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
17005 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
17006 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
17007 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
17008 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
17009 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
17010 (idlwave-completion-map, idlwave-current-indent)
17011 (idlwave-custom-ampersand-surround, idlwave-customize)
17012 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
17013 (idlwave-define-abbrev, idlwave-determine-class-special)
17014 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
17015 (idlwave-end-block-reg, idlwave-end-of-statement)
17016 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
17017 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
17018 (idlwave-explicit-class-listed, idlwave-file-header)
17019 (idlwave-fill-paragraph, idlwave-find-class-definition)
17020 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
17021 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
17022 (idlwave-in-quote, idlwave-indent-action-table)
17023 (idlwave-indent-expand-table, idlwave-indent-line)
17024 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
17025 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
17026 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
17027 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
17028 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
17029 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
17030 (idlwave-outlawed-buffers, idlwave-popup-select)
17031 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
17032 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
17033 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
17034 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
17035 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
17036 (idlwave-statement-type, idlwave-struct-skip)
17037 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
17038 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
17039 (idlwave-what-module-find-class): Fix typos in docstrings.
17040 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
17041 (idlwave-calculate-cont-indent, idlwave-expand-equal)
17042 (idlwave-find-module, idlwave-find-structure-definition)
17043 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
17044 (idlwave-list-load-path-shadows, idlwave-next-statement)
17045 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
17046 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
17047 (idlwave-template): Reflow docstrings.
17049 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
17050 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
17051 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
17052 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
17053 (idlwave-shell-display-line, idlwave-shell-display-wframe)
17054 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
17055 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
17056 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
17057 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
17058 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
17059 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
17060 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
17061 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
17062 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
17063 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
17064 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
17065 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
17066 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
17067 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
17068 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
17069 Fix typos in docstrings.
17070 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
17071 (idlwave-shell-hide-output, idlwave-shell-mode)
17072 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
17075 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
17077 2009-09-24 Ivan Kanis <apple@kanis.eu>
17079 * term.el (term-bold-attribute): New var.
17080 (term-handle-colors-array): Use it.
17082 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
17084 * progmodes/gdb-mi.el (gdb-version): New variable.
17085 (gdb-non-stop-handler): Set gdb-version.
17086 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
17087 Condition "--thread" option on gdb-version.
17088 (gdb-invalidate-threads): Remove unused argument.
17090 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17092 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
17093 to looking-back to avoid ridiculous slow down in large files (bug#4511).
17095 2009-09-23 Glenn Morris <rgm@gnu.org>
17097 * mail/rmail.el (rmail-reply): Don't try to add a References header when
17098 replying to mail without References or Message-Id. (Bug#4525)
17100 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
17102 * term/ns-win.el (ns-reg-to-script): New variable.
17104 2009-09-23 Daiki Ueno <ueno@unixuser.org>
17106 * epg.el (epg-wait-for-status): Preserve existing 'error results.
17108 2009-09-22 Sam Steingold <sds@gnu.org>
17110 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
17111 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
17112 to 1 because hg returns status 1 when nothing is found.
17113 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
17115 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
17117 * textmodes/fill.el: Convert to utf-8 encoding.
17118 (fill-french-nobreak-p): Remove redundant » and « inherited from our
17121 * add-log.el (change-log-fill-forward-paragraph): New function.
17122 (change-log-mode): Use it so fill-region DTRT.
17123 Set fill-indent-according-to-mode here rather than in
17124 change-log-fill-paragraph.
17125 (change-log-fill-paragraph): Remove.
17127 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
17129 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
17130 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
17132 2009-09-22 Glenn Morris <rgm@gnu.org>
17134 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
17135 the scroll-bar scroll the calendar window rather than the buffer.
17137 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
17138 commands that move point (as opposed to scrolling).
17140 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
17142 * emacs-lisp/elint.el (elint): New custom group.
17143 (elint-log-buffer): Make it a defcustom.
17144 (elint-scan-preloaded, elint-ignored-warnings)
17145 (elint-directory-skip-re): New options.
17146 (elint-builtin-variables): Doc fix.
17147 (elint-preloaded-env): New variable.
17148 (elint-unknown-builtin-args): Add an entry for encode-time.
17149 (elint-extra-errors): Make it a variable rather than a constant.
17150 (elint-preloaded-skip-re): New constant.
17151 (elint-directory): Skip files matching elint-directory-skip-re.
17152 (elint-features): New variable, local to linted buffers.
17153 (elint-update-env): Initialize elint-features. Possibly add
17154 elint-preloaded-env to the buffer's environment.
17155 (elint-get-top-forms): Bind elint-current-pos, for log messages.
17157 (elint-init-form): New function, extracted from elint-init-env.
17158 Make non-list forms a warning rather than an error.
17159 Add the mode-map for define-derived-mode. Handle define-minor-mode,
17160 easy-menu-define, put that adds an error-condition, and provide.
17161 When requiring cl, also require cl-macs. Really require cl, to handle
17162 some cl macros. Store required libraries in the list elint-features,
17163 so as not to re-load them. Treat cc-require like require.
17164 (elint-init-env): Call elint-init-form to do the work.
17165 Handle eval-and-compile and such like.
17166 (elint-add-required-env): Do not clear messages.
17167 (elint-special-forms): Add handlers for function, defalias, if, when,
17169 (elint-form): Add optional argument to ignore elint-special-forms,
17170 useful to prevent recursive calls from handlers. Doc fix.
17171 Respect elint-ignored-warnings.
17172 (elint-form): Respect elint-ignored-warnings.
17173 (elint-bound-variable, elint-bound-function): New variables.
17174 (elint-unbound-variable): Respect elint-bound-variable.
17175 (elint-get-args): Respect elint-bound-function.
17176 (elint-check-cond-form): Add some simple handling for (f)boundp and
17178 (elint-check-defalias-form): New handler.
17179 (elint-check-let-form): Make an empty let a warning rather than an
17181 (elint-check-setq-form): Make an empty setq a warning rather than an
17182 error. Respect elint-ignored-warnings.
17183 (elint-check-defvar-form): Accept null doc-strings.
17184 (elint-check-conditional-form): New handler. Does some simple-minded
17185 checking of featurep and (f)boundp tests.
17186 (elint-put-function-args): New function.
17187 (elint-initialize): Use elint-scan-doc-file rather than
17188 elint-find-builtin-variables. Use elint-put-function-args.
17189 Possibly scan preloaded-file-list.
17190 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
17191 extend to handle functions as well.
17193 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
17195 * linum.el (linum-delete-overlays, linum-update-window):
17196 Do not modify the right margin. (Bug#3971)
17198 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
17200 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
17201 Use nxml-mode instead of xml-mode.
17203 2009-09-21 Kevin Ryde <user42@zip.com.au>
17205 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
17207 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17209 * net/dig.el (dig-mode): Use define-derived-mode.
17211 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
17213 * vc-dispatcher.el (vc-do-command): Return the process object in
17214 the asynchronous case. Use when instead of if. Do not run
17215 vc-exec-after to display a message if not enabled. (Bug#4463)
17217 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
17218 properties to the stash strings.
17219 (vc-git-stash-list): Return a list of strings.
17220 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
17221 (vc-git-stash-show-at-point): New functions.
17222 (vc-git-stash-map): New keymap.
17224 * register.el (ctl-x-r-map): Define the keys here instead of
17227 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
17229 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
17230 list, to workaround performance problem (bug#4485).
17232 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
17234 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
17236 2009-09-20 Daiki Ueno <ueno@unixuser.org>
17238 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
17239 Document that this option is not recommended to use.
17241 2009-09-19 Glenn Morris <rgm@gnu.org>
17243 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
17246 * calc/calc-alg.el (var):
17247 * calc/calcalg2.el (var): Define for compiler.
17249 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
17251 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
17252 Doc fix (Bug#3932).
17254 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
17256 * time-stamp.el (time-stamp-month-dd-yyyy)
17257 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
17258 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
17259 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
17260 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
17261 Remove functions that have been obsolete since 1995 (Bug#4436).
17263 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
17264 indent buffer only if called interactively (Bug#4452).
17266 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
17267 Eli Zaretskii <eliz@gnu.org>
17269 This fixes bug#4197 (merged to bug#865, though not identical).
17270 * server.el (server-auth-dir): Add docstring note about FAT32.
17271 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
17272 but warn against using them.
17274 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
17276 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
17277 older GDB where there is no has_more field.
17279 2009-09-19 Glenn Morris <rgm@gnu.org>
17281 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
17283 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
17285 * files.el (auto-mode-alist): Change default for XML files to nXML
17288 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
17290 * server.el (server-ensure-safe-dir): Pass 'integer
17291 to `file-attributes', as suggested.
17293 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
17295 * dired-aux.el (dired-query-alist): Remove spurious backslash.
17296 (dired-query): Use read-key.
17298 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
17300 * cus-start.el (ns-use-qd-smoothing): Remove.
17302 2009-09-18 Glenn Morris <rgm@gnu.org>
17304 * allout.el (top-level): Remove unnecessary progn.
17306 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
17308 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
17309 definition of abbrev table.
17311 * speedbar.el (speedbar-track-mouse):
17312 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
17313 * net/eudc.el (eudc-expand-inline):
17314 * net/newst-backend.el (newsticker--cache-read-feed):
17315 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
17316 condition-case handlers.
17318 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
17320 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
17321 (gdb-var-list): Add an element for has_more field.
17322 (gdb-non-stop-handler): Enable pretty printing for STL containers.
17323 (gdb-var-create-handler, gdb-var-list-children-handler-1)
17324 (gdb-var-update-handler-1): Parse output of dynamic variable
17325 objects (STL containers).
17326 (gdb-var-delete-1): Pass var1 as an explicit second argument.
17327 (gdb-get-field): Delete alias. Use bindat-get-field directly.
17329 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
17331 (gud-speedbar-buttons): Make node expandable if expression "has more"
17334 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
17336 * startup.el (emacs-quick-startup): Remove variable and all uses.
17337 (command-line): Set `inhibit-x-resources' instead.
17338 (command-line-1): Use `inhibit-x-resources' instead.
17340 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
17342 * subr.el: Fix last change to avoid using the `unless' macro,
17343 which breaks bootstrapping.
17345 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17347 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
17348 extended definitions, in case we reload subr.el after having
17350 (eval-next-after-load): Mark as obsolete.
17352 2009-09-17 Juri Linkov <juri@jurta.org>
17354 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
17355 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
17356 (menu-bar-showhide-menu, menu-bar-tools-menu)
17357 (menu-bar-describe-menu, menu-bar-help-menu)
17358 (minibuffer-local-completion-map, minibuffer-local-map):
17361 2009-09-17 Glenn Morris <rgm@gnu.org>
17363 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
17364 arguments, whether or not it has a handler.
17366 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
17368 * simple.el (hard-newline): Give it a doc-string.
17370 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17371 (lisp-mode-syntax-table): Give them doc-strings.
17373 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
17375 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
17376 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
17377 (menu-bar-options-menu, menu-bar-showhide-menu)
17378 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
17379 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
17380 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
17381 (menu-bar-options-menu, menu-bar-tools-menu)
17382 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
17383 (menu-bar-help-menu):
17384 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
17387 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
17388 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
17389 calls for the menu names and :help.
17391 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17393 * mouse.el (minor-mode-menu-from-indicator): Pay attention
17394 to :minor-mode-function (bug#4455).
17396 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17398 * startup.el (command-line): Initialize the window-system after
17399 processing the command-line.
17401 * textmodes/page.el (what-page): Make sure we don't inf-loop if
17402 page-delimiter matches the empty string.
17404 2009-09-16 Glenn Morris <rgm@gnu.org>
17406 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
17407 byte-compile-not-obsolete-var. It's a list now.
17408 (byte-compile-not-obsolete-funcs): New variable.
17409 (byte-compile-warn-obsolete): Don't warn about functions if they are in
17410 byte-compile-not-obsolete-funcs.
17411 (byte-compile-variable-ref, byte-compile-defvar): Update for
17412 byte-compile-not-obsolete-vars name-change and list nature.
17413 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
17414 and variables behind (f)boundp tests.
17415 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
17417 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
17419 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
17421 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17423 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
17424 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
17427 2009-09-15 Stephen Eglen <stephen@gnu.org>
17429 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
17430 the virtual-buffers, use the name of the buffer specified by
17431 find-file-noselect, as the match may be a symlink. (This was a
17432 problem if the target and the symlink had different names.)
17434 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17436 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
17438 * desktop.el (desktop-path): Check user-emacs-directory.
17440 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
17442 * loadup.el: Use after-load-functions to GC after loading each file.
17443 Remove the explicit GC calls that used to be sprinkled around.
17445 * subr.el (after-load-functions): New hook.
17446 (do-after-load-evaluation): Run it. Use string-match-p to detect
17447 `obsolete' packages, rather than painfully extracting the relevant
17450 2009-09-15 Glenn Morris <rgm@gnu.org>
17452 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
17453 free variable `doc'.
17455 * dired.el (dired-mode-map): Add menu entry for async shell command.
17457 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
17458 variables, also consider the .elc files, since the .el files are
17459 normally gzipped (subsequent code locates the .el.gz from the .elc).
17461 * calc/calc-prog.el (arglist): Define for compiler.
17463 * calendar/diary-lib.el (diary-display-function): Change the default to
17465 (body): Define for compiler.
17467 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
17468 (byte-compile-file-form, byte-compile-lambda)
17469 (byte-compile-top-level-body, byte-compile-form)
17470 (byte-compile-variable-ref, byte-compile-setq)
17471 (byte-compile-setq-default, byte-compile-body)
17472 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
17473 (batch-byte-compile): Give some more local variables with common names
17474 a "bytecomp-" prefix to avoid masking warnings about free variables.
17476 * startup.el (command-line-1): Give local variables with common names a
17477 distinguishing prefix, so as not to hide free variable warnings during
17480 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
17481 clever and add a suffix to make a unique name, just let the user decide
17482 whether or not to overwrite it. If the input is a directory, write the
17483 default filename to that directory. (Bug#4388)
17484 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
17485 is a filename-as-a-directory.
17487 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17489 * textmodes/page.el (what-page): Don't move to beginning of line.
17490 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
17492 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
17494 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
17496 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
17498 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
17499 * help.el (help-for-help-internal): Add purecopy calls for text.
17501 * vc.el (top): print-log method now takes an optional SHORTLOG
17502 argument. Add a new method: root.
17503 (vc-root-diff, vc-print-root-log): New functions.
17504 (vc-log-short-style): New variable.
17505 (vc-print-log-internal): Add support for showing short logs.
17507 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
17508 vc-print-root-log and vc-print-root-diff.
17510 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
17511 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
17512 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
17515 * vc-cvs.el (vc-cvs-print-log):
17516 * vc-mtn.el (vc-mtn-print-log):
17517 * vc-rcs.el (vc-rcs-print-log):
17518 * vc-sccs.el (vc-sccs-print-log):
17519 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
17520 that is ignored for now.
17522 * vc-mtn.el (vc-mtn-annotate-command):
17523 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
17525 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17527 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
17528 to function-key-map, and give them ascii-character property.
17529 * term/x-win.el (x-alternatives-map):
17530 * term/ns-win.el (ns-alternatives-map):
17531 * term/internal.el (msdos-key-remapping-map):
17532 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
17534 2009-09-14 Glenn Morris <rgm@gnu.org>
17536 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
17537 temp-buffers (2009-09-12).
17539 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17541 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
17542 the new read-key function.
17544 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
17546 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
17547 is defined (Bug#4405).
17549 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
17551 * recentf.el (recentf-cleanup): Use a hash table to find
17552 duplicates (Bug#4407).
17554 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
17556 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
17557 kp-0 to ascii equivalents (Bug#4325).
17559 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
17561 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
17563 * eshell/em-hist.el:
17564 * eshell/em-dirs.el (eshell-complete-user-reference):
17565 Declare pcomplete functions and variables to avoid compiler warnings.
17567 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
17569 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
17570 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
17571 * eshell/em-alias.el (eshell-aliases-file):
17572 * eshell/em-hist.el (eshell-history-file-name):
17573 Use expand-file-name instead of concat to make file names (Bug#4308).
17575 2009-09-13 Glenn Morris <rgm@gnu.org>
17577 * ediff-merg.el (ediff-do-merge):
17578 * filesets.el (filesets-run-cmd):
17579 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
17580 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
17581 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
17582 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
17583 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
17584 Replace empty `let's with `progn'.
17586 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17588 * mail/sendmail.el (send-mail-function):
17589 * tooltip.el (tooltip-mode):
17590 * simple.el (transient-mark-mode):
17591 * rfn-eshadow.el (file-name-shadow-mode):
17592 * frame.el (blink-cursor-mode):
17593 * font-core.el (global-font-lock-mode):
17594 * files.el (temporary-file-directory)
17595 (small-temporary-file-directory, auto-save-file-name-transforms):
17596 * epa-hook.el (auto-encryption-mode):
17597 * composite.el (global-auto-composition-mode):
17598 Use custom-initialize-delay.
17599 * startup.el (command-line): Don't explicitly call
17600 custom-reevaluate-setting for all the above vars.
17601 * custom.el (custom-initialize-safe-set)
17602 (custom-initialize-safe-default): Delete.
17604 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17606 * term/x-win.el (x-initialize-window-system):
17607 * term/w32-win.el (w32-initialize-window-system):
17608 * term/ns-win.el (ns-initialize-window-system): Don't call
17609 mouse-wheel-mode since it's enabled globally by default already.
17611 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
17612 actually define the variable, but only silences the byte-compiler.
17613 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
17614 before looking it up.
17615 (mouse-wheel-scroll-amount): Also reset the bindings if this value
17618 2009-09-12 Glenn Morris <rgm@gnu.org>
17620 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
17622 (elint-add-required-env): Don't beep on error.
17623 (elint-forms): In case of error, return ENV unchanged.
17624 (elint-init-env): Skip non-list forms.
17625 (elint-log): Handle unknown file positions.
17627 2009-09-12 Daiki Ueno <ueno@unixuser.org>
17629 * epg.el (epg-make-context): Add autoload cookie.
17630 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
17631 (epg-decrypt-string, epg-start-verify, epg-verify-file)
17632 (epg-verify-string, epg-start-sign, epg-sign-file)
17633 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
17634 (epg-encrypt-string, epg-start-export-keys)
17635 (epg-export-keys-to-file, epg-export-keys-to-string)
17636 (epg-start-import-keys, epg-import-keys-from-file)
17637 (epg-import-keys-from-string, epg-start-receive-keys)
17638 (epg-receive-keys, epg-import-keys-from-server)
17639 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
17640 (epg-sign-keys, epg-start-generate-key)
17641 (epg-generate-key-from-file, epg-generate-key-from-string):
17642 Remove autoload cookie.
17644 2009-09-12 Eli Zaretskii <eliz@gnu.org>
17646 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
17647 reevaluation of trash-directory.
17649 * mwheel.el: Fix last change.
17650 (mouse-wheel-mode): New defvar.
17651 (mouse-wheel-mode): Remove autoload cookie.
17653 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17655 * mwheel.el (mwheel-installed-bindings): New var.
17656 (mouse-wheel-mode): Use it, so as to make sure we really remove all
17657 the bindings we set last time. Use custom-initialize-delay.
17658 * loadup.el: Load mwheel after term/*-win.el.
17659 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
17660 and mouse-wheel-up-event now that their first evaluation is done
17661 sufficiently late to be correct.
17663 * startup.el (tutorial-directory): Make it a defcustom.
17664 Use custom-initialize-delay rather than eval-at-startup to set it.
17665 * image.el (image-load-path): Make it a defcustom.
17666 Use custom-initialize-delay rather than eval-at-startup to set it.
17667 * subr.el (eval-at-startup): Remove.
17668 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
17670 * subr.el (do-after-load-evaluation): Warn the user after loading an
17673 2009-09-12 Glenn Morris <rgm@gnu.org>
17675 * proced.el (proced-mark-alt): Remove alias.
17676 (proced-mode-map): Remove proced-mark-alt.
17678 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
17679 Elint file and directory. Remove initialization entry.
17681 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
17683 (elint-current-buffer): Set mode-line-process.
17684 (elint-init-env): Handle define-derived-mode.
17685 Fix declare-function with unspecified arglist. Guard against odd
17686 defalias statements (eg iso-insert's 8859-1-map).
17687 (elint-add-required-env): Use a temp buffer.
17688 (elint-form): Just print the function/macro name, not the whole form.
17689 Return env unchanged if we fail to parse a macro.
17690 (elint-forms): Guard against parse errors.
17691 (elint-output): New function, to handle batch mode.
17692 (elint-log-message): Add optional argument. Use elint-output.
17693 (elint-set-mode-line): New function.
17695 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
17697 * emacs-lisp/elp.el (elp-not-profilable): Add more
17698 functions (Bug#4233).
17700 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
17702 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
17703 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
17705 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
17707 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
17708 (gdb-var-list-children): Use json parsing.
17710 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
17712 * progmodes/js.el (js--proper-indentation): Handle the case where
17713 char-before is null. Reported by Deniz Dogan.
17715 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
17717 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
17719 2009-09-11 Daiki Ueno <ueno@unixuser.org>
17721 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
17722 (epg-digest-algorithm-alist): Add SHA224.
17723 (epg-context-set-passphrase-callback)
17724 (epg-context-set-progress-callback): Add description about
17727 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17729 * custom.el (custom-delayed-init-variables): New var.
17730 (custom-initialize-delay): New function.
17731 * startup.el (command-line): "Re"evaluate all vars in
17732 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
17733 explicitly any more.
17734 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
17735 to avoid creating a ~/.emacs.d at build-time (bug#4347).
17737 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
17739 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
17741 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
17742 (gdb-var-update-handler): Use json parsing.
17744 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
17746 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
17747 decode annotated text, regardless of language environment. (Bug#2741)
17749 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17751 * Makefile.in (autoloads): Make rmail.el writable as well.
17753 2009-09-11 Glenn Morris <rgm@gnu.org>
17755 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
17757 * dired.el: Regenerate with extracted autoloads.
17758 * Makefile.in (autoloads): Make dired.el writable.
17760 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
17761 * ibuffer.el: Regenerate with extracted autoloads.
17762 * Makefile.in (autoloads): Make ibuffer.el writable.
17764 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
17765 * version.el (emacs-copyright, emacs-major-version)
17766 (emacs-minor-version): Reformat doc-strings for make-docfile.
17768 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
17769 functions and variables, since they must be stuff specific to some other
17771 (apropos-print): Make mouse-click message less specific about button.
17773 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
17774 that records where a macro was defined.
17775 * help-fns.el (describe-function-1): Mention if a function has a
17777 * help-mode.el (help-function-cmacro): New button.
17779 * locate.el (top-level): Always require dired.
17780 (locate-mode-map): Initialize inside the defvar.
17782 * net/ange-ftp.el (dired-compress-file): Declare.
17783 (ange-ftp-dired-compress-file): Add doc string.
17785 * term/ns-win.el (x-display-name, x-setup-function-keys):
17786 Unify doc-strings with X versions.
17788 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17790 * emulation/crisp.el (crisp-mode-map): Move initialization
17792 (crisp-mode): Use define-minor-mode.
17794 * progmodes/xscheme.el (xscheme-evaluation-commands):
17795 Put a :advertised-binding property rather than using
17796 advertised-xscheme-send-previous-expression.
17797 (advertised-xscheme-send-previous-expression): Declare obsolete.
17798 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
17800 (crisp-mode): Add corresponding bindings to
17801 undo's :advertised-binding instead.
17802 * dired.el (dired-mode-map): Put a :advertised-binding property rather
17803 than using dired-advertised-find-file.
17804 (dired-advertised-find-file):
17805 * simple.el (advertised-undo):
17806 * wid-edit.el (advertised-widget-backward): Declare obsolete.
17807 (widget-keymap): Put a :advertised-binding property rather
17808 than using advertised-widget-backward.
17809 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
17810 than using advertised-undo.
17811 * tutorial.el (tutorial--default-keys): Adjust accordingly.
17813 2009-09-10 Simon South <ssouth@slowcomputing.org>
17815 * progmodes/delphi.el (delphi-tab): Indent region when Transient
17816 Mark mode is enabled and region is active; otherwise indent or
17817 insert TAB as usual.
17818 (delphi-mode): Update description of TAB-key binding.
17820 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
17822 * subr.el (define-key-rebound-commands): Mark obsolete.
17823 * startup.el (precompute-menubar-bindings): Remove.
17824 (normal-top-level): Remove obsolete code that tried to precompute
17826 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
17827 define-key-rebound-commands and precompute-menubar-bindings.
17829 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
17831 * net/imap.el (imap-interactive-login): Better messages.
17832 (imap-open): Fix bug with renamed buffer on reconnect.
17833 (imap-authenticate): Add buffer-local imap-last-authenticator variable
17834 for easier debugging and cleaner code. On successful (guessed based on
17835 server capabilities) secondary authentication, set imap-state
17837 (imap-last-authenticator): Define imap-last-authenticator as a variable
17840 2009-09-10 Glenn Morris <rgm@gnu.org>
17842 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
17844 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
17845 (byte-compile-file-form-autoload): Don't warn about unknown functions
17846 where the autoload statement comes after the use.
17847 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
17848 that any handlers inside the body (eg require) are in turn respected.
17850 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
17853 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
17854 and syntax and abbrev tables basic docs, if they don't have any.
17856 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
17858 * international/mule-cmds.el (top-level): Require cl when compiling.
17859 (view-hello-file): Use default-value rather than
17860 default-enable-multibyte-characters.
17862 * progmodes/fortran.el: Move all safe and risky properties into the
17865 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
17866 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
17867 * mail/undigest.el:
17868 Put autoloads in rmail.el rather than loaddefs.el.
17869 * mail/rmail.el: Regenerate with extracted autoloads.
17871 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
17872 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
17874 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
17876 Reported in thread for Bug#4375.
17877 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
17878 "-data-evaluate-expression" instead of print.
17879 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
17880 (gdb-tooltip-print): Parse output from above MI command.
17881 (gdb): Revert 2009-08-11 change. User should detach inferior
17884 Remove the word "separate" from IO functions as inferior
17885 output is now never displayed in the GUD buffer.
17887 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
17889 * startup.el (command-line-normalize-file-name): On Windows and
17890 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
17892 2009-09-10 Juri Linkov <juri@jurta.org>
17894 * isearch.el (isearch-text-char-description): Propertize escape
17895 character sequences with the `escape-glyph' face. (Bug#4344)
17897 * simple.el (shell-command): Set asynchronous process filter to
17898 `comint-output-filter'. (Bug#4343)
17900 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
17901 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
17902 the list. Move "asm" to the bottom.
17903 (grep-find-ignored-directories): Add `choice' with nil value
17904 to empty the list easily.
17905 (grep-find-ignored-files): New option.
17906 (grep-files-history): Set to nil by default instead of '("ch" "el").
17907 (grep-compute-defaults): Add "<X>" to `grep-template'.
17908 (grep-read-files): Bind new local variables `default-alias' and
17909 `default-extension'. Use a list of default values for the file prompt.
17910 (lgrep): Add `--exclude=' command line options composed from
17911 `grep-find-ignored-files'.
17912 (rgrep): Add `-name' command line options composed from
17913 `grep-find-ignored-files'. (Bug#4301)
17915 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
17917 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
17920 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
17922 * calendar/time-date.el (autoload):
17923 Expand define-obsolete-function-alias into defalias and make-obsolete
17924 for old Emacsen that Gnus supports.
17925 (with-no-warnings): Define it for old Emacsen.
17926 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
17928 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
17929 float-time is available; suppress compile warning for time-to-seconds.
17931 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
17933 * net/imap.el (imap-message-map): Docstring fix.
17935 2009-09-09 Glenn Morris <rgm@gnu.org>
17937 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
17938 line numbers too. (Bug#4374)
17940 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
17942 * smerge-mode.el (smerge-remove-props, smerge-refine):
17943 Use with-silent-modifications (bug#4342).
17945 * subr.el (with-silent-modifications): New macro.
17947 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
17949 * files.el (top-level): Require `cl' when compiling.
17951 2009-09-07 Glenn Morris <rgm@gnu.org>
17953 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
17955 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
17956 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
17958 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
17960 * vc-git.el (vc-git-annotate-command): Use separator to parse
17961 arguments correctly.
17963 2009-09-06 Eli Zaretskii <eliz@gnu.org>
17965 * proced.el (proced-mode): Doc fix.
17967 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
17969 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
17971 (tramp-do-file-attributes-with-ls): Check for file existence at
17973 (tramp-do-file-attributes-with-stat): Likewise.
17974 (tramp-convert-file-attributes): Return nil when attr is nil.
17976 2009-09-05 Glenn Morris <rgm@gnu.org>
17978 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
17979 properties to this button.
17980 (diary-fancy-display): Don't extend the button to the final newline.
17981 (diary-fancy-display-mode): Continue to define "q" as a local key.
17983 * calendar/cal-china.el (holiday-chinese): Make it slightly more
17986 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
17988 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
17989 (byte-compile-dest-file-function): New option.
17990 (byte-compile-dest-file): Doc fix.
17991 Obey byte-compile-dest-file-function.
17992 (byte-compile-cl-file-p): New function.
17993 (byte-compile-eval): Only suppress noruntime warnings about cl functions
17994 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
17995 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
17996 than for file being previously loaded.
17997 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
17998 (byte-compile-file-form-require): Handle the case where requiring a file
17999 indirectly causes CL to be loaded.
18001 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18003 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
18004 before killing the old buffer, since by the time `kill-buffer' is
18005 run so many buffer variables have been set to nil that it may not
18006 behave as expected. (Bug#4061)
18008 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18010 * files.el (find-alternate-file): If the old buffer is modified
18011 and visiting a file, behave similarly to `kill-buffer' when
18012 killing it, thus reverting to the pre-1.878 behavior; see
18013 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
18014 for discussion. Also, consult `buffer-file-name' as a variable
18015 not as a function, for consistency with the rest of the code.
18017 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
18019 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
18020 also when adding a new directory.
18022 * net/tramp-compat.el (tramp-compat-line-beginning-position):
18025 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
18027 * files.el (locate-file-completion-table): Make it provide boundary
18028 information, so partial-completion works better.
18030 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
18032 * mail/footnote.el (Footnote-text-under-cursor):
18033 Check footnote-text-marker-alist before using it (bug#4324).
18035 2009-09-04 Glenn Morris <rgm@gnu.org>
18037 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
18038 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
18039 * play/solitaire.el, play/tetris.el:
18040 Remove leading * from defcustom and defface docs.
18042 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
18044 (diary-fancy-overriding-map): New variable.
18045 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
18048 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
18051 2009-09-03 Glenn Morris <rgm@gnu.org>
18053 * arc-mode.el (archive-mode):
18054 * dos-fns.el (set-default-process-coding-system):
18055 * man.el (Man-getpage-in-background):
18056 * menu-bar.el (menu-bar-describe-menu):
18057 * server.el (server-process-filter):
18058 * startup.el (command-line):
18059 * tar-mode.el (tar-header-block-tokenize, tar-extract):
18060 * w32-fns.el (set-default-process-coding-system):
18061 * x-dnd.el (x-dnd-handle-file-name):
18062 * international/mule-cmds.el (mule-menu-keymap)
18063 (set-default-coding-systems, language-info-alist, set-language-info)
18064 (set-language-environment, standard-display-european-internal)
18065 (set-locale-environment):
18066 * international/mule-diag.el (mule-diag):
18067 * mail/emacsbug.el (report-emacs-bug):
18068 * mail/rmail.el (rmail-mode):
18069 * mail/sendmail.el (mail-setup):
18070 Use default-value rather than default-enable-multibyte-characters.
18072 * progmodes/f90.el: Move all safe properties into the defcustoms.
18073 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
18075 * calendar/appt.el (appt-check):
18076 * calendar/diary-lib.el (diary-set-header, diary-live-p)
18077 (diary-check-diary-file, diary-list-entries)
18078 (diary-include-other-diary-files, diary-simple-display)
18079 (diary-fancy-display, diary-print-entries)
18080 (diary-mark-included-diary-files, diary-make-entry):
18081 Don't call substitute-in-file-name on diary-file.
18083 2009-09-03 Eduard Wiebe <usenet@pusto.de>
18084 Stefan Monnier <monnier@iro.umontreal.ca>
18086 * mail/footnote.el (footnote-prefix): Make it a defcustom.
18087 (footnote-mode-map): Move initialization into the declaration.
18088 (footnote-minor-mode-map): Define it rather than changing global-map.
18089 (footnote-mode): Use define-minor-mode.
18091 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
18093 * net/tramp.el (tramp-handle-file-attributes-with-ls)
18094 (tramp-do-file-attributes-with-perl)
18095 (tramp-do-file-attributes-with-stat): Rename from
18096 `tramp-handle-file-attributes-with-*'.
18097 (tramp-handle-file-attributes): Use them.
18098 (tramp-do-directory-files-and-attributes-with-perl)
18099 (tramp-do-directory-files-and-attributes-with-stat): Rename from
18100 `tramp-handle-directory-files-and-attributes-with-*'.
18101 (tramp-handle-directory-files-and-attributes): Use them.
18102 (tramp-method-out-of-band-p): Additional parameter SIZE.
18103 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
18104 (tramp-handle-write-region): Use it.
18105 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
18106 (tramp-handle-vc-registered): Check, whether the first run did
18107 return files to be tested.
18108 (tramp-advice-make-auto-save-file-name): Do not call directly
18109 `tramp-handle-make-auto-save-file-name', because this would bypass
18110 the locking mechanism.
18112 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
18113 (file-remote-p, process-file, start-file-process, set-file-times)
18114 (tramp-compat-file-attributes): Compatibility functions shall not
18115 call directly `tramp-handle-*', because this would bypass the
18117 (tramp-compat-number-sequence): New defun.
18119 2009-09-02 Glenn Morris <rgm@gnu.org>
18121 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
18122 alias for float-time.
18123 (time-to-number-of-days): In Emacs, use float-time.
18124 * net/newst-backend.el (time-add): Suppress warnings from compat
18126 * time.el (emacs-uptime, emacs-init-time):
18127 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
18128 Use float-time rather than time-to-seconds.
18130 * minibuffer.el (completion-initials-expand): Fix typo.
18132 * faces.el (modeline, modeline-inactive, modeline-highlight)
18133 (modeline-buffer-id):
18134 * info.el (info-menu-5): Mark these face aliases as obsolete.
18136 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
18138 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
18140 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
18141 no "--thread" option.
18142 (gdb-stopped): Don't print "Switched to thread" message when it is
18145 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
18147 * minibuffer.el (completion-try-completion)
18148 (completion-all-completions): Remove ill-defined (and
18149 mistakenly installed and luckily never used nor documented)
18150 `completion-styles' property.
18151 (completion-initials-expand, completion-initials-all-completions)
18152 (completion-initials-try-completion): New functions.
18153 (completion-styles-alist): Add doc to each entry.
18154 Add new `initials' entry.
18156 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
18158 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
18159 MI command -var-evaluate-expression.
18160 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
18161 and tweak for case of string child.
18162 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
18164 2009-09-01 Glenn Morris <rgm@gnu.org>
18166 * add-log.el (change-log-date-face, change-log-name-face)
18167 (change-log-email-face, change-log-file-face, change-log-list-face)
18168 (change-log-conditionals-face, change-log-function-face)
18169 (change-log-acknowledgement-face):
18170 * cus-edit.el (custom-invalid-face, custom-rogue-face)
18171 (custom-modified-face, custom-set-face, custom-changed-face)
18172 (custom-saved-face, custom-button-face, custom-button-pressed-face)
18173 (custom-documentation-face, custom-state-face, custom-comment-face)
18174 (custom-comment-tag-face, custom-variable-tag-face)
18175 (custom-variable-button-face, custom-face-tag-face)
18176 (custom-group-tag-face-1, custom-group-tag-face):
18177 * diff-mode.el (diff-header-face, diff-file-header-face)
18178 (diff-index-face, diff-hunk-header-face, diff-removed-face)
18179 (diff-added-face, diff-changed-face, diff-function-face)
18180 (diff-context-face, diff-nonexistent-face):
18181 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
18182 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
18183 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
18184 (Info-title-4-face):
18185 * isearch.el (isearch-lazy-highlight-face):
18186 * log-view.el (log-view-file-face, log-view-message-face):
18187 * paren.el (show-paren-match-face, show-paren-mismatch-face):
18188 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
18189 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
18191 * smerge-mode.el (smerge-mine-face, smerge-other-face)
18192 (smerge-base-face, smerge-markers-face):
18193 * wid-edit.el (widget-documentation-face, widget-button-face)
18194 (widget-field-face, widget-single-line-field-face)
18195 (widget-inactive-face, widget-button-pressed-face):
18196 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
18197 (woman-addition-face):
18198 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
18199 (eshell-ls-executable-face, eshell-ls-readonly-face)
18200 (eshell-ls-unreadable-face, eshell-ls-special-face)
18201 (eshell-ls-missing-face, eshell-ls-archive-face)
18202 (eshell-ls-backup-face, eshell-ls-product-face)
18203 (eshell-ls-clutter-face):
18204 * eshell/em-prompt.el (eshell-prompt-face):
18205 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
18206 * obsolete/old-whitespace.el (whitespace-highlight-face):
18207 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
18208 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
18209 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
18210 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
18211 (antlr-font-lock-literal-face):
18212 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
18213 (ebrowse-root-class-face, ebrowse-file-name-face)
18214 (ebrowse-default-face, ebrowse-member-attribute-face)
18215 (ebrowse-member-class-face, ebrowse-progress-face):
18216 * progmodes/make-mode.el (makefile-space-face):
18217 * progmodes/sh-script.el (sh-heredoc-face):
18218 * textmodes/flyspell.el (flyspell-incorrect-face)
18219 (flyspell-duplicate-face):
18220 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
18221 * textmodes/texinfo.el (texinfo-heading-face):
18222 Mark face aliases with "-face" suffix as obsolete.
18224 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
18227 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
18228 (eudc-bob-sound-menu): Use defvar rather than defconst, since
18229 easy-menu-define wants to modify these.
18231 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
18233 * net/browse-url.el (browse-url-file-url):
18234 * term/internal.el (dos-codepage-setup):
18235 Use default-value rather than default-enable-multibyte-characters.
18237 * progmodes/etags.el (etags-goto-tag-location):
18238 * progmodes/flymake.el (flymake-highlight-line)
18239 (flymake-goto-file-and-line, flymake-goto-line):
18240 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
18241 (gdb-goto-breakpoint):
18242 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
18243 * progmodes/python.el (python-find-function)
18244 (python-pdbtrack-track-stack-file):
18245 * progmodes/verilog-mode.el (verilog-surelint-off):
18246 * term/ns-win.el (ns-open-file-select-line):
18247 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
18248 Use forward-line rather than goto-line.
18250 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
18251 * textmodes/reftex-index.el (reftex-display-index):
18252 * textmodes/reftex-ref.el (reftex-offer-label-menu):
18253 * textmodes/reftex-toc.el (reftex-toc):
18254 Remove unnecessary bindings of default-major-mode (all are followed by
18255 major-mode check and possible mode switch).
18257 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
18259 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
18260 Handle watchpoints (bug#4282).
18261 (def-gdb-thread-buffer-command): Enable thread to be selected by
18262 clicking without selecting threads buffer first.
18263 (gdb-current-context-command): Use selected frame so that "up",
18264 "down" etc work in the GUD buffer.
18265 (gdb-update): Find selected frame before rendering stack buffer.
18266 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
18268 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
18270 * progmodes/sym-comp.el (displayed-completions): Remove.
18271 (symbol-complete): Use minibuffer-complete.
18273 2009-08-31 Glenn Morris <rgm@gnu.org>
18275 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
18277 * apropos.el (apropos-symbols-internal):
18278 Handle (obsolete) face aliases.
18280 * faces.el (describe-face): Adjust the output format to be more like
18281 describe-variable, and to mention (obsolete) face aliases.
18282 Adjust the whitespace so that help-setup-xref works.
18284 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
18285 * calendar/diary-lib.el (diary-button-face):
18286 Mark these face aliases as obsolete.
18288 * calendar/calendar.el (calendar-today): Doc fix.
18290 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
18292 * progmodes/gdb-mi.el (gdb-control-all-threads)
18293 (gdb-control-current-thread): Force tool bar update.
18294 (gdb-non-stop-handler): New function.
18295 (gdb-init-1): Use it to test if non-stop mode is supported.
18296 Remove unused gdbmi buffer type.
18298 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
18300 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
18301 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
18303 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
18305 * comint.el (comint-exec-1): Check command is non-null first.
18306 Part of gdb-mi.el change (2009-08-28).
18308 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18310 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
18312 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
18314 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
18315 instead of `dolist' to avoid a recursive require when bootstrapping.
18317 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18319 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
18321 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
18323 * net/imap.el (imap-send-command): Simplify.
18324 (imap-wait-for-tag): point-max -> buffer-size.
18326 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
18328 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
18329 with constant argument.
18331 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
18333 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
18335 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
18336 Change default, since most of our files don't have a history.
18337 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
18340 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18343 * calc/calc.el: Improve commenting convention.
18344 (calc-digit-map, toplevel): Simplify.
18346 * comint.el (comint-insert-input): Be careful to only set point if we
18347 don't delegate to some other command.
18349 * proced.el (proced-signal-list): Make it an alist.
18350 (proced-grammar-alist): Capitalize names.
18351 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
18352 Disable undo manually and make it read-only.
18353 Use completion-annotate-function.
18355 * minibuffer.el (minibuffer-message): If the current buffer is not
18356 a minibuffer, insert the message in the echo area rather than at the
18358 (completion-annotate-function): New variable.
18359 (minibuffer-completion-help): Use it.
18360 (completion--embedded-envvar-table): Environment vars are
18361 always case-sensitive.
18363 2009-08-30 Glenn Morris <rgm@gnu.org>
18365 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
18366 from fortran-current-defun.
18367 (fortran-beginning-of-subprogram): Be more precise about finding the
18368 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
18369 (fortran-end-of-subprogram): Simplify.
18370 (fortran-current-defun): Use fortran-start-prog-re.
18372 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
18374 * subr.el (do-after-load-evaluation): Simplify.
18376 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
18378 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
18380 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
18381 (vc-rcs-print-log): Use it.
18383 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
18385 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
18387 * paths.el (abbrev-file-name): Move to abbrev.el.
18388 * abbrev.el (abbrev-file-name): Move from paths.el.
18389 Obey user-emacs-directory.
18390 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
18391 user-emacs-directory.
18392 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
18393 abbrev-file-name and calc-settings-file any more.
18394 * startup.el (command-line): Recompute abbrev-file-name and
18395 abbreviated-home-dir.
18396 (normal-no-mouse-startup-screen): Improve the generic code and get rid
18397 of the special code for when C-h bindings haven't been changed.
18398 (display-startup-echo-area-message): Use with-current-buffer.
18399 (command-line-1): Use a list of strings, rather than a list of lists
18400 of strings for longopts.
18402 * files.el (get-free-disk-space): Use / for default-directory.
18404 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
18405 Use with-current-buffer.
18407 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
18408 Recognize immutable variables like most-positive-fixnum.
18409 (byte-compile-setq-default): Check and warn if trying to assign
18410 to an immutable variable, or a non-variable.
18412 * progmodes/cc-vars.el (c-comment-continuation-stars):
18413 * progmodes/cc-engine.el (c-looking-at-bos):
18414 * progmodes/cc-cmds.el (c-toggle-auto-state)
18415 (c-forward-into-nomenclature, c-backward-into-nomenclature)
18416 (c-comment-line-break-function): Add version of obsolescence.
18418 2009-08-28 Juri Linkov <juri@jurta.org>
18420 * files.el (magic-fallback-mode-alist): Add ZIP magic number
18421 associated with `archive-mode'.
18423 * image.el (image-type-header-regexps): Use only JPEG magic number
18424 to determine JPEG images, and don't use `image-jpeg-p' because
18425 Emacs can display non-JFIF non-Exif JPEG images.
18427 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
18429 * arc-mode.el (archive-mode):
18430 * emacs-lisp/re-builder.el (re-builder-unload-function):
18431 Protect against the default value of `major-mode' being nil.
18433 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
18435 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
18436 Fix typos in docstrings.
18438 * progmodes/js.el (js--macro-decl-re): Doc fix.
18439 (js--plain-method-re, js--split-name): Refloc docstring.
18440 (js--class-styles, js--make-merged-item, js--splice-into-items):
18441 Fix typos in docstrings; reflow docstrings.
18442 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
18443 (js--variable-decl-matcher, js--inside-pitem-p)
18444 (js--parse-state-at-point, js--get-all-known-symbols)
18445 (js--symbol-history, js-find-symbol, js--js-references)
18446 (js--moz-interactor, js--js-encode-value, js--read-tab):
18447 Fix typos in docstrings.
18449 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18451 * textmodes/reftex.el (reftex-get-file-buffer-force):
18452 * progmodes/verilog-mode.el (verilog-batch-execute-func):
18453 * emulation/viper.el (viper-go-away, viper-set-hooks):
18454 * emacs-lisp/re-builder.el (re-builder-unload-function):
18455 * emacs-lisp/bytecomp.el (byte-compile-file):
18456 * ses.el (ses-unload-function):
18457 * hexl.el (hexl-find-file):
18458 * files.el (normal-mode):
18459 * ehelp.el (with-electric-help):
18460 * autoinsert.el (auto-insert-alist):
18461 * arc-mode.el (archive-mode):
18462 Use (default-value 'major-mode) instead of default-major-mode.
18464 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
18465 * international/mule.el (load-with-code-conversion):
18466 * emacs-lisp/debug.el (debug):
18467 * ediff-vers.el (ediff-rcs-get-output-buffer):
18468 * dired.el (dired-internal-noselect): Don't let-bind
18469 default-major-mode around code that doesn't use it.
18470 E.g. buffer creation via get-buffer-create doesn't use it.
18472 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
18474 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
18475 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
18476 when writing the temp file. Otherwise, epa-file gets confused.
18477 (tramp-register-file-name-handlers): Make it a defun. Move also
18478 `epa-file-handler' to the front of `file-name-handler-alist'.
18480 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18482 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
18483 start right after a ^M.
18484 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
18485 (tramp-completion-file-name-regexp-separate)
18486 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
18487 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
18488 Don't modify last-coding-system-used by accident.
18489 (tramp-completion-file-name-handler): Apply the checks here,
18490 instead during registration.
18491 (tramp-register-file-name-handlers): Rename from
18492 `tramp-register-file-name-handler'. Register both
18493 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
18494 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
18496 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
18498 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
18499 Remove variable ...
18500 (gdb-init-1, gdb-display-separate-io-buffer)
18501 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
18503 (gdb-inferior-io-mode): Use make-comint-in-buffer.
18504 (gdb-inferior-filter): Use comint-output-filter to stop
18505 echoing and remove ^M characters.
18507 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18509 * emulation/viper-init.el (viper-restore-cursor-type):
18510 * emulation/cua-base.el (cua--update-indications):
18511 Replace default-cursor-type with (default-value 'cursor-type).
18513 * mail/sendmail.el (mail-recover-1):
18514 * international/mule-diag.el (describe-current-coding-system-briefly)
18515 (describe-current-coding-system):
18516 * international/mule-cmds.el (select-safe-coding-system)
18517 (select-message-coding-system)
18518 (set-language-environment-coding-systems, set-locale-environment):
18519 * hexl.el (hexl-insert-multibyte-char):
18520 * dos-w32.el (find-buffer-file-type-coding-system):
18521 * simple.el (what-cursor-position):
18522 Replace uses of default-buffer-file-coding-system
18523 with (default-value 'buffer-file-coding-system).
18525 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
18526 Replace uses of default-cursor-in-non-selected-windows
18527 with (default-value 'cursor-in-non-selected-windows).
18528 Use with-current-buffer.
18530 * mail/feedmail.el: Use CL macros.
18531 (feedmail-run-the-queue, feedmail-send-it-immediately):
18532 * dos-w32.el (find-buffer-file-type): Replace uses of
18533 default-buffer-file-type with (default-value 'buffer-file-type).
18535 2009-08-28 Glenn Morris <rgm@gnu.org>
18537 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
18538 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
18539 Use default-value of major-mode rather than default-major-mode.
18541 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18543 * Makefile.in (update-elcfiles): Report left over elc files.
18545 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
18546 expand-file-name and with-current-buffer.
18547 (mail-get-names, mail-directory): Use with-current-buffer.
18549 * vc.el (vc-read-revision): New function.
18550 (vc-version-diff, vc-merge): Use it.
18552 2009-08-27 Sam Steingold <sds@gnu.org>
18554 * simple.el (kill-do-not-save-duplicates): New user option.
18555 (kill-new): When it is non-nil, and the new string is the same as
18556 the latest kill, set replace to t to avoid duplicates in kill-ring.
18558 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
18560 * net/tramp.el (tramp-handle-process-file): Do not flush all
18561 caches when `process-file-side-effects' is set.
18562 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
18563 instead of `tramp-find-file-exists-command'.
18564 Unset `process-file-side-effects'.
18566 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
18568 * net/tramp.el (tramp-methods): New method "rsyncc".
18569 (top): Add completion function for "rsyncc".
18570 (tramp-message-show-message): New defvar.
18571 (tramp-message, tramp-error): Use it.
18572 (tramp-do-copy-or-rename-file-directly): Extend check for direct
18574 (tramp-do-copy-or-rename-file-out-of-band): Handle new
18575 `tramp-methods' entry `copy-env' of "rsyncc".
18576 (tramp-vc-registered-read-file-names): New defconst.
18577 (tramp-vc-registered-file-names): New defvar.
18578 (tramp-handle-vc-registered): Implement optimization strategy.
18579 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
18580 (tramp-vc-file-name-handler): New defun.
18581 (tramp-get-ls-command, tramp-get-test-command)
18582 (tramp-get-file-exists-command, tramp-get-remote-ln)
18583 (tramp-get-remote-perl, tramp-get-remote-stat)
18584 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
18586 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
18587 (tramp-cache-inhibit-cache): Extend doc string. It allows also
18589 (tramp-get-file-property): Check for timestamps in
18590 `tramp-cache-inhibit-cache'.
18591 (tramp-set-file-property): Write timestamp.
18593 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
18595 * language/japan-util.el (japanese-symbol-table): Add entries for
18598 * international/characters.el: Add category `j' to cp932-2-byte.
18600 2009-08-27 Kenichi Handa <handa@m17n.org>
18602 * international/fontset.el (build-default-fontset-data): New macro.
18603 (setup-default-fontset): Use build-default-fontset-data for CJK,
18604 tibetan, ethiopic, and ipa.
18606 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18608 * cus-start.el (default-major-mode): Customize `major-mode' instead.
18609 (enable-multibyte-characters): Not customizable any more.
18611 * subr.el (default-mode-line-format, default-header-line-format)
18612 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
18613 (default-direction-reversed, default-truncate-lines)
18614 (default-left-margin, default-tab-width, default-case-fold-search)
18615 (default-left-margin-width, default-right-margin-width)
18616 (default-left-fringe-width, default-right-fringe-width)
18617 (default-fringes-outside-margins, default-scroll-bar-width)
18618 (default-vertical-scroll-bar, default-indicate-empty-lines)
18619 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
18620 (default-fringe-cursor-alist, default-scroll-up-aggressively)
18621 (default-scroll-down-aggressively, default-fill-column)
18622 (default-cursor-type, default-buffer-file-type)
18623 (default-cursor-in-non-selected-windows)
18624 (default-buffer-file-coding-system, default-major-mode)
18625 (default-enable-multibyte-characters): Mark as obsolete.
18627 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
18629 * vc-dir.el (vc-dir-update): Remove debug helper.
18631 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
18633 2009-08-26 Sam Steingold <sds@gnu.org>
18635 * simple.el (save-interprogram-paste-before-kill): New user option.
18636 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
18637 save the interprogram-paste into kill-ring before overriding it
18638 with the Emacs kill.
18640 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
18642 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
18643 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
18644 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
18645 and move to vc-rcs.el.
18646 (vc-default-next-revision): Rename to vc-rcs-next-revision and
18648 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
18649 (vc-rcs-update-changelog): Remove.
18650 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
18651 and move to vc-rcs.el.
18653 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
18654 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
18656 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
18657 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
18658 vc.el, renamed to be RCS specific.
18660 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
18662 (vc-cvs-update-changelog): Move here from vc.el.
18664 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
18667 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
18669 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
18671 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
18673 * vc-git.el (vc-git-register): Use "git add" for directories.
18674 (vc-git-stash, vc-git-stash-show): New functions.
18675 (vc-git-extra-menu-map): Bind them.
18677 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
18678 directory correctly in case the item is a directory itself.
18680 * vc.el: Document the desired behavior for reverted files in the
18682 (vc-default-prettify-state-info): Remove function, unused.
18684 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
18686 2009-08-26 Glenn Morris <rgm@gnu.org>
18688 * bindings.el (standard-mode-line-format): Reposition dashes in
18689 which-func entry. (Bug#4217)
18691 * files.el (enable-local-variables, enable-local-eval)
18692 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
18694 (auto-mode-alist, ignored-local-variables)
18695 (save-some-buffers-action-alist): Move risky declarations to the
18697 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
18698 (font-lock-defaults, format-alist, imenu--index-alist)
18699 (imenu-generic-expression, input-method-alist, minor-mode-alist)
18700 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
18701 (mode-line-modified, mode-line-mule-info, mode-line-position)
18702 (mode-line-process, mode-line-remote, outline-level)
18703 (parse-time-rules, rmail-output-file-alist)
18704 (special-display-buffer-names, vc-mode):
18705 Move risky declarations to the relevant files.
18706 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
18707 (mode-line-modified, mode-line-process, mode-line-position)
18708 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
18709 * font-core.el (font-lock-defaults):
18710 * format.el (format-alist):
18711 * vc-hooks.el (vc-mode):
18712 * window.el (special-display-buffer-names):
18713 * international/mule-cmds.el (input-method-alist):
18714 Define riskiness here (dumped file) rather than in files.el.
18715 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
18716 * imenu.el (imenu-generic-expression, imenu--index-alist):
18717 * outline.el (outline-level):
18718 * time.el (display-time-string):
18719 * calendar/parse-time.el (parse-time-rules):
18720 * mail/rmailout.el (rmail-output-file-alist):
18721 Autoload riskiness here, rather than placing in files.el.
18723 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
18725 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
18727 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
18729 * simple.el (process-file-side-effects): New defvar.
18731 * dired-aux.el (dired-show-file-type):
18732 * vc.el (vc-diff-internal):
18733 * vc-arch.el (vc-arch-diff):
18734 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
18735 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
18736 * vc-git.el (vc-git-registered, vc-git-working-revision)
18737 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
18738 (vc-git--empty-db-p):
18739 * vc-hooks.el (vc-user-login-name):
18740 * vc-svn.el (vc-svn-registered, vc-svn-state)
18741 (vc-svn-dir-extra-headers, vc-svn-find-revision):
18742 * progmodes/grep.el (grep-probe): Let-bind
18743 `process-file-side-effects' with nil.
18745 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
18747 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
18748 daemon. Replace ping by checking for running service for bluez
18749 and zeroconf. (Bug#4239)
18751 2009-08-25 Kevin Ryde <user42@zip.com.au>
18753 * net/dig.el (dig): Add autoload cookie.
18755 2009-08-25 Glenn Morris <rgm@gnu.org>
18757 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
18758 load-history for absolute file-names.
18759 (byte-compile-file-form-require): Warn about use of the cl package.
18761 * format.el (format-alist): Doc fix.
18763 * play/bubbles.el (top-level): Don't require cl at run-time.
18765 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
18768 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
18770 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
18772 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
18774 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
18776 * calc/calc-alg.el (math-trig-rewrite)
18777 (math-hyperbolic-trig-rewrite): New functions.
18778 (calc-simplify): Simplify trig functions when asked.
18780 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18782 * diff-mode.el (diff-find-source-location): Avoid goto-line.
18784 2009-08-24 Kenichi Handa <handa@m17n.org>
18786 * language/ind-util.el (mapthread): Delete it.
18787 (combinatorial): New function.
18788 (indian--puthash-cv): Use combinatorial instead of mapthread.
18790 2009-08-22 Kevin Ryde <user42@zip.com.au>
18792 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
18793 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
18794 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
18795 Clarify docstring that the value is strings not symbols.
18796 (checkdoc-list-of-strings-p): New function.
18798 2009-08-22 Glenn Morris <rgm@gnu.org>
18800 * files.el (auto-mode-alist):
18801 * hippie-exp.el (he-concat-directory-file-name):
18802 * lpr.el (lpr-windows-system, printer-name):
18803 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
18804 * ps-print.el (ps-windows-system):
18805 * startup.el (command-line):
18806 * emulation/viper-ex.el (viper-glob-function):
18807 * international/mule-cmds.el (set-language-environment-coding-systems):
18808 * net/ange-ftp.el (ange-ftp-write-region):
18809 * obsolete/fast-lock.el (fast-lock-cache-name):
18810 Remove code for defunct system-types emx, macos, mswindows, next-mach,
18811 unisoft-unix, vax-vms, win32, w32.
18813 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
18814 given name if the pattern is not more specific.
18816 * calendar/lunar.el (lunar-phase-names): New option.
18817 (lunar-phase): Doc fix.
18818 (lunar-cycles-per-year): New constant.
18819 (lunar-index): New function.
18820 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
18821 (lunar-phase-name): Use lunar-phase-names.
18822 (calendar-lunar-phases): Use format.
18823 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
18825 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
18826 Copy imenu-example--name-and-position function here for own use.
18827 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
18829 * bs.el (bs--redisplay):
18830 * cus-edit.el (custom-redraw):
18831 * ibuffer.el (ibuffer-bury-buffer):
18832 * server.el (server-goto-line-column):
18833 * startup.el (command-line-1):
18834 * strokes.el (strokes-xpm-for-stroke):
18835 * term.el (term-display-buffer-line):
18836 * view.el (View-goto-line):
18837 * calc/calc.el (calc-do, calc-trail-buffer):
18838 * play/gamegrid.el (gamegrid-add-score-insecure):
18839 * progmodes/ada-mode.el (ada-compile-goto-error):
18840 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
18841 (ebrowse-select-1st-to-9nth):
18842 * progmodes/cperl-mode.el (cperl-time-fontification):
18843 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
18844 * progmodes/gud.el (gud-display-line):
18845 (idlwave-shell-display-line):
18846 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
18847 * progmodes/make-mode.el (makefile-browser-toggle):
18848 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
18849 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
18850 * textmodes/picture.el (picture-draw-rectangle):
18851 * textmodes/reftex-index.el (reftex-index-goto-letter):
18852 (reftex-select-jump-to-previous):
18853 * textmodes/reftex-sel.el (reftex-find-start-point)
18854 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
18855 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
18856 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
18857 * textmodes/tex-mode.el (tex-compilation-parse-errors):
18858 * textmodes/two-column.el (2C-associated-buffer):
18859 Use forward-line rather than goto-line.
18861 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
18864 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
18865 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
18866 (quick-check-list-to-regexp): Declare.
18868 * progmodes/make-mode.el (makefile-browser-insert-selection):
18869 Use goto-char rather than goto-line.
18871 * progmodes/prolog.el (compilation-error-regexp-alist)
18872 (compilation-forget-errors): Declare.
18874 2009-08-22 Juri Linkov <juri@jurta.org>
18876 * progmodes/grep.el (lgrep, rgrep): At the beginning
18877 set `dir' to `default-directory' unless `dir' is a non-nil
18878 readable directory. (Bug#4052)
18879 (lgrep, rgrep): Change a weird way to report an error
18880 from using `read-string' to using `error'.
18881 Instead of using interactive arguments in the function body,
18882 add new argument `confirm'.
18884 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
18886 * textmodes/remember.el (remember-buffer):
18887 * progmodes/cperl-mode.el (cperl-vc-header-alist):
18888 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
18889 (icalendar-extract-ical-from-buffer):
18890 * net/newst-treeview.el (newsticker-groups-filename):
18891 * net/newst-backend.el (newsticker-cache-filename):
18892 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
18893 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
18894 (speedbar-add-ignored-path-regexp, speedbar-line-path)
18895 (speedbar-buffers-line-path, speedbar-path-line)
18896 (speedbar-buffers-line-path):
18897 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
18899 * epa.el (epa-display-verify-result):
18900 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
18902 2009-08-21 Glenn Morris <rgm@gnu.org>
18904 * progmodes/js.el (inferior-moz-process): Fix declaration.
18906 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
18908 * obsolete/rnewspost.el (news-mail-reply):
18909 Use goto-char rather than goto-line.
18911 * term/ns-win.el (ns-open-file-select-line):
18912 Use line-beginning-position rather than goto-line.
18914 * apropos.el (apropos-command):
18915 * ehelp.el (electric-helpify):
18916 * printing.el (pr-show-setup):
18917 * strokes.el (strokes-help):
18918 * tutorial.el (tutorial--describe-nonstandard-key)
18919 (tutorial--detailed-help):
18920 * woman.el (woman-mini-help, woman-display-extended-fonts):
18921 * calc/calc-help.el (calc-describe-key):
18922 * emulation/edt.el (edt-electric-helpify):
18923 * international/mule-diag.el (mule-diag):
18924 * play/yow.el (apropos-zippy):
18925 * progmodes/python.el (python-describe-symbol):
18926 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
18927 * textmodes/table.el (*table--cell-describe-mode)
18928 (*table--cell-describe-bindings):
18929 Use help-print-return-message rather than the now obsolete alias.
18931 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
18932 (calendar-cursor-to-visible-date):
18933 * play/5x5.el (5x5-position-cursor):
18934 * play/decipher.el (decipher):
18935 * play/gomoku.el (gomoku-goto-xy):
18936 * play/landmark.el (lm-goto-xy):
18937 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
18938 (mpuz-paint-digit):
18939 Use forward-line, not goto-line.
18941 * mail/rmail.el (rmail-obsolete): Delete custom group.
18942 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
18943 (rmail-remote-password, rmail-remote-password-required):
18944 Remove unneeded :set-after and :set properties.
18946 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
18948 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
18950 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
18952 * loadup.el: Remove leftover macos code.
18954 * vc-git.el (vc-git-annotate-command): Run asynchronously.
18955 Explicitly pass the date format to git blame so that user local
18956 so that the output format can be parsed.
18958 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
18960 * net/dbus.el (top): Don't check for (getenv
18961 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
18963 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
18965 * log-edit.el (log-edit-strip-single-file-name): New var.
18966 (log-edit-insert-changelog): Use it. Bug#3571
18968 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18970 * subr.el (read-passwd): Use read-key so keypad keys work as well.
18973 * help.el (help-print-return-message): Rename from
18974 print-help-return-message.
18976 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
18977 cvs-mode-map parent hack.
18978 (log-view-mode): Derive from special-mode.
18980 * linum.el (linum-mode): window-size-change-functions is redundant.
18981 Adapt to new window-configuration-change-hook behavior.
18982 (linum-after-size, linum-after-config): Remove.
18984 * imenu.el (imenu-example--name-and-position)
18985 (imenu-example--lisp-extract-index-name)
18986 (imenu-example--create-lisp-index, imenu-example--create-c-index):
18989 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
18990 (inferior-prolog-mode): Use it.
18991 (inferior-prolog-load-file): Reset list of errors.
18993 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
18995 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
18997 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
18999 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
19001 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
19002 is running already.
19004 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19006 * subr.el (listify-key-sequence-1): Use normal syntax since those
19007 integers are nowadays always represented by the same (positive) number
19009 (read-key-empty-map): New const.
19010 (read-key-delay): New var.
19011 (read-key): New function.
19012 (force-mode-line-update): Use with-current-buffer.
19013 (locate-user-emacs-file): Don't forget to abbreviate the file name.
19014 (start-process-shell-command, start-file-process-shell-command):
19015 Discourage the use of command-args.
19017 2009-08-19 Glenn Morris <rgm@gnu.org>
19019 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
19021 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19023 * simple.el (choose-completion-string): Don't rely on
19024 minibuffer-completing-file-name and ad-hoc checks to decide whether
19025 to continue completion or not.
19027 * minibuffer.el (minibuffer-hide-completions): New function.
19028 (completion--do-completion): Use it.
19029 (completions-annotations): New face.
19030 (completion--insert-strings): Use it.
19031 (completion-pcm--delim-wild-regex): Add docstring.
19032 (completion-pcm--string->pattern): Add support for 0-width delimiters
19033 in completion-pcm--delim-wild-regex.
19035 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
19037 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
19038 Remove unused var `buffer-modified-p'.
19040 * minibuffer.el (completion--do-completion): Move point for the #b001
19041 case as well (bug#4176).
19042 (minibuffer-complete, minibuffer-complete-word): Don't move point.
19044 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
19046 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
19047 and :session buses.
19049 2009-08-18 Kenichi Handa <handa@m17n.org>
19051 * international/ucs-normalize.el (ucs-normalize-version):
19053 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
19054 (utf-8-hfs): Make it perform normalization on encoding too.
19056 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
19057 (sentence-end-without-space): Delete duplicated chars.
19058 (sentence-end-base): Likewise.
19060 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
19061 (html-mode): Delete duplicated chars from sentence-end-base.
19063 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
19064 (texinfo-mode): Delete duplicated chars from sentence-end-base.
19066 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
19068 * files.el (hack-one-local-variable): If the mode function is for
19069 a minor mode, pass it an argument (Bug#4148).
19071 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
19073 * net/tramp.el (tramp-register-completion-file-name-handler):
19074 Check also for (member 'partial-completion completion-styles).
19076 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19078 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
19081 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
19083 * progmodes/cperl-mode.el: Merge upstream 6.2.
19084 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
19085 (cperl-forward-re): Check cperl-brace-recursing.
19086 (cperl-highlight-charclass): New function.
19087 (cperl-find-pods-heres): Use it.
19088 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
19089 (cperl-beautify-regexp-piece): Fix column calculation.
19090 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
19091 (cperl-beautify-level): Don't process entire regexp.
19092 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
19094 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
19095 (cperl-init-faces): Build a list in the normal way.
19097 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19099 * calendar/parse-time.el (parse-time-string-chars): Save match
19102 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
19104 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
19105 (sql-product): Use it.
19106 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
19107 (sql-set-product): Add completion.
19108 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
19109 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
19110 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
19111 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
19112 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
19113 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
19114 (sql-highlight-db2-keywords): Remove.
19115 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
19116 (sql-highlight-product): Use derived-mode-p.
19117 (sql-set-sqli-buffer): Use with-current-buffer.
19118 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
19121 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
19123 * term.el: Fix commenting convention, turn comments into docstrings.
19125 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
19127 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
19129 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
19131 * calendar/parse-time.el (parse-time-string-chars): Compute using
19132 character classes, to handle non-ascii characters (Bug#3190).
19134 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19136 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
19137 another heredoc if the user adds another < (Bug#3226).
19139 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
19140 Don't initialize based on window-system (Bug#4124).
19142 * facemenu.el (facemenu-read-color): Use a completion function
19143 that accepts any defined color, such as RGB triplets (Bug#3677).
19145 * files.el (get-free-disk-space): Change fallback default
19146 directory to /. Expand DIR argument before switching to fallback.
19147 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
19149 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
19151 * files.el (load-library): Doc fix.
19153 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
19155 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
19156 (viper-if-string): Redefine C-s in the minibuffer to insert the last
19157 incremental search string.
19159 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
19162 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
19163 (ediff-merge-region-is-non-clash)
19164 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
19165 Also check if the job is really a merge job.
19167 * ediff.el (ediff-current-file): New function.
19169 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
19171 * progmodes/js.el: Edit docstrings throughout to follow Emacs
19173 (js-insert-and-indent): Delete function.
19174 (js-mode-map): Don't bind keys to js-insert-and-indent.
19175 (js-beginning-of-defun): Rename from js--beginning-of-defun.
19176 (js-end-of-defun): Rename from js--end-of-defun.
19177 (js-auto-indent-flag): Delete variable.
19179 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
19181 * progmodes/js.el: Remove proclaim statement.
19182 Defvar which-func-imenu-joiner-function to silence compiler.
19184 * files.el (auto-mode-alist): Use js-mode for .js files.
19186 * progmodes/js2-mode.el: Remove file.
19188 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
19190 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
19192 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
19194 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
19195 Karl Landstrom <karl.landstrom@brgeight.se>
19197 * progmodes/js.el: New file.
19199 2009-08-14 Mark A. Hershberger <mah@everybody.org>
19201 * timezone.el (timezone-parse-date): Add ability to understand ISO
19202 basic format (minimal separators) dates in addition to the
19203 already-supported extended format dates.
19205 2009-08-14 Eli Zaretskii <eliz@gnu.org>
19207 * international/ucs-normalize.el: Add a `coding' file variable.
19209 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
19211 2009-08-14 Sam Steingold <sds@gnu.org>
19213 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
19215 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
19217 * faces.el (help-argument-name): Define it here instead of
19218 help-fns.el, because in daemon mode help-fns.el may be loaded when
19219 faces are still uninitialized (Bug#1078).
19221 * help-fns.el (help-argument-name): Move defface to faces.el.
19223 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
19225 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
19226 create buffer with a pty but no process so that GDB can make the
19227 inferior the controlling process.
19229 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
19231 * international/ucs-normalize.el: New file.
19233 2009-08-13 Richard Stallman <rms@gnu.org>
19235 * mail/rmail.el (rmail-get-attr-names):
19236 Accept an attribute header that is too short.
19238 * mail/rmail.el (rmail-forget-messages):
19239 Ignore nil elt in rmail-message-vector. Use dotimes.
19241 * progmodes/compile.el (compilation-goto-locus):
19242 Use next-error-move-function.
19244 * simple.el (next-error-move-function): New variable.
19246 2009-08-12 Juri Linkov <juri@jurta.org>
19248 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
19249 always non-nil. (Bug#4052)
19251 * replace.el (read-regexp): Return empty string when
19252 `default-value' is nil.
19253 (keep-lines-read-args): Don't use empty string as the
19254 default value for `read-regexp'. (Bug#2495)
19256 2009-08-12 Juri Linkov <juri@jurta.org>
19258 * international/mule-cmds.el (ucs-insert): Change arguments
19259 from `arg' to `character', `count', `inherit' to be the same
19260 as in `insert-char'. Doc fix. (Bug#4039)
19262 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
19264 2009-08-12 Juri Linkov <juri@jurta.org>
19266 * files-x.el: New file.
19268 * files.el: Move code that deals with adding/deleting
19269 file/directory-local variables to files-x.el.
19271 * Makefile.in (ELCFILES): Add files-x.elc.
19273 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
19275 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
19276 to use `goto-line'.
19277 (gdb-place-breakpoints, gdb-get-location): Rewritten without
19279 (gdb-invalidate-disassembly): Do not refresh upon receiving
19280 'update signal. Instead, update all disassembly buffers only after
19282 (gdb): Send -target-detach when buffer is killed (Bug#3794).
19283 (gdb-starting): Move -data-list-register-names...
19284 (gdb-stopped): ...here so it's sent when first thread stops.
19285 (gdb-registers-handler-custom): Do nothing if register names are
19288 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
19289 from `gdb-mi.el' to avoid extra tangling.
19291 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
19292 change which breaks `gud-def' definitions used in `gdb'.
19293 (gdb-update-gud-running): No extra fuss for updating frame number.
19295 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
19297 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
19298 (describe-language-environment-map, setup-language-environment-map)
19299 (set-coding-system-map): Move initialization into declaration.
19300 (set-language-info-alist): Last arg to define-key-after can be skipped.
19302 * international/quail.el (quail-completion-1): Simplify.
19303 (quail-define-rules): Use slightly more compact code.
19304 (quail-insert-decode-map): Propertize keys, compact columns.
19306 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19309 2009-08-10 Miles Bader <miles@gnu.org>
19311 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
19312 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
19313 (js2-instance-member, js2-private-member, js2-private-function-call)
19314 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
19315 (js2-magic-paren, js2-external-variable):
19316 Remove "-face" suffix from face names.
19317 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
19318 (js2-highlight-undeclared-vars, js2-peek-token)
19319 (js2-parse-function-params, js2-mode-show-errors)
19320 (js2-mode-show-warnings, js2-make-magic-delimiter)
19321 (js2-mode-highlight-magic-parens): Update to use new face names.
19323 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
19325 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
19326 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
19328 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
19330 * subr.el: Provide hashtable-print-readable.
19332 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
19333 hs-c-like-adjust-block-beginning.
19334 (hs-hide-block-at-point): Stop hiding at the beginning of
19335 hs-block-end-regexp (Bug#700).
19337 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
19339 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
19341 (gdb-registers-handler-custom): Do not fail when register names
19344 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
19346 * progmodes/gdb-mi.el (gdb-control-all-threads)
19347 (gdb-control-current-thread): Interactive setters for
19348 `gdb-gud-control-all-threads' to use in menu.
19349 (gdb-show-run-p): Show «Go» when process is not active.
19350 (gud-tool-bar-map): Add non-stop/A,T indicator.
19351 Uses gud/thread.xpm and gud/all.xpm.
19353 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
19355 * net/net-utils.el (net-utils-font-lock-keywords): New var.
19356 (nslookup-font-lock-keywords): Make it a variable.
19357 (net-utils-mode): New mode for viewing diagnostic network output.
19358 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
19359 (net-utils-run-simple): New function.
19360 (ifconfig, iwconfig, netstat, arp, route): Use it.
19362 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
19364 * progmodes/gdb-mi.el (gdb-read-memory-custom)
19365 (gdb-memory-set-address, def-gdb-set-positive-number)
19366 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
19367 after changing settings.
19368 (gdb-invalidate-disassembly): Update when first shown.
19369 (gdb-edit-locals-value): Fixed.
19370 (gdb-registers-handler-custom): Print registers in right order and
19371 allow changing register values (only for current thread yet).
19372 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
19373 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
19374 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
19375 (gdb-locals-handler-custom, gdb-registers-handler-custom):
19376 Thread info in mode name.
19377 (gdb-registers-mode-map): TAB to switch to locals.
19379 2009-08-08 Eli Zaretskii <eliz@gnu.org>
19381 * mail/rmail.el (rmail-add-mbox-headers)
19382 (rmail-set-message-counters-counter): Search for
19383 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
19385 2009-08-08 Glenn Morris <rgm@gnu.org>
19387 * Makefile.in (ELCFILES): Update.
19389 2009-08-07 Eli Zaretskii <eliz@gnu.org>
19391 * mail/sendmail.el (mail-yank-original):
19392 Set buffer-file-coding-system from the one used by the message whose
19395 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
19396 to "windows" when "pgnuplot" is used.
19397 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
19398 Don't call accept-process-output if "pgnuplot" is used.
19399 (calc-graph-init): Don't send -display and -geometry to
19400 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
19401 running "pgnuplot -V" with shell-command-to-string.
19403 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
19406 2009-08-07 Eli Zaretskii <eliz@gnu.org>
19408 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
19411 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
19413 * vc-dispatcher.el (vc-resynch-window): Update comment.
19415 * term.el (term-handle-ansi-escape): Add comments with the
19416 terminfo capabilities implemented.
19418 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
19420 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
19421 (gdb-var-create-handler): Rewritten using JSON parser.
19422 (gdb-propertize-header): Move earlier.
19423 (gdb-set-header): Remove to avoid duplication.
19424 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
19425 Refresh disassembly buffers only after threads list have been
19427 (gdb-threads-header, gdb-registers-header): Per-buffer header line
19430 2009-08-04 Juri Linkov <juri@jurta.org>
19432 * files.el: Commands to add/delete file/directory-local variables.
19433 (read-file-local-variable, read-file-local-variable-value)
19434 (read-file-local-variable-mode, modify-file-local-variable)
19435 (modify-file-local-variable-prop-line)
19436 (modify-dir-local-variable): New functions.
19437 (add-file-local-variable, delete-file-local-variable)
19438 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
19439 (add-dir-local-variable, delete-dir-local-variable)
19440 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
19441 (copy-dir-locals-to-file-locals-prop-line): New commands.
19443 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
19445 * abbrev.el (insert-abbrev-table-description): Prettify output.
19446 Suggested by Karl Chen.
19448 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
19450 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
19451 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
19452 (gdb-overlay-arrow-position, gdb-thread-position)
19453 (gdb-disassembly-position): Declare variables.
19454 (gdb-wait-for-pending): Function now.
19455 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
19456 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
19457 compilation goes smoothly.
19458 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
19459 (gdb-non-stop-setting): New customization setting which replaces
19460 `gdb-non-stop' so changing it doesn't break active GDB session.
19461 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
19462 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
19463 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
19464 (gdb-show-threads-by-default): New customization options.
19465 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
19467 (gdb-get-buffer-create): Send buffers update signal when they are
19469 (gdb-invalidate-locals, gdb-invalidate-registers)
19470 (gdb-invalidate-breakpoints)
19471 (gdb-invalidate-threads, gdb-invalidate-disassembly)
19472 (gdb-invalidate-memory): Accept update signal.
19473 (gdb-current-context-command): Use --frame option.
19474 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
19475 Implement `gdb-frame-number' selection logic.
19476 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
19477 whether to show GUD toolbar buttons.
19478 (gdb-thread-exited): Unselect current thread when it exits.
19479 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
19480 (gdb-mark-line): Routine which sets overlay arrow or inverses
19481 video on fringeless displays.
19482 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
19483 to build aligned columns of data in GDB buffers and set text
19484 properties line-by-line.
19485 (gdb-invalidate-breakpoints)
19486 (gdb-breakpoints-list-handler-custom)
19487 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
19488 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
19489 (gdb-registers-handler-custom): Align data columns.
19490 (gdb-locals-handler-custom): Now prints data like in variable
19492 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
19493 Remove confusing buttons.
19494 (gdb-invalidate-threads): Append --frame.
19495 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
19496 between breakpoints/threads buffers.
19497 (gdb-set-window-buffer): Now can ignore dedicated windows.
19498 (gdb-propertize-header): Use `gdb-set-window-buffer'.
19499 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
19500 (def-gdb-thread-buffer-gud-command): Replaces
19501 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
19502 for fine thread control.
19503 (gdb-preempt-existing-or-display-buffer): New function used to
19504 display bound buffers without breaking window layout.
19505 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
19506 (gdb-select-frame): New version of `gdb-frames-select' which now
19507 sets `gdb-frame-number' so commands may use --frame option instead
19508 of inner debugger state.
19509 (gdb-frame-handler): Do not set `gdb-frame-number'.
19510 (gdb-threads-mode-map): Select threads with mouse.
19512 * progmodes/gud.el (gdb-gud-context-call): Declare function to
19513 avoid compilation warning.
19514 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
19517 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
19518 Argument `key' renamed to `buffer-type'.
19519 (gdb-current-context-buffer-name): Do not add thread info to
19520 buffer name when no thread is selected.
19521 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
19522 command (bug 3794).
19523 (gdb-thread-selected): Handle `=thread-selected' notification.
19524 (gdb-wait-for-pending): New macro to deal with congestion problems.
19525 (gdb-breakpoints-list-handler-custom): Don't fail on pending
19527 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
19528 This fixes problem similar to one described in bug 3947.
19529 (gud-menu-map): More menu items.
19530 (gdb-init-1): Reset `gdb-thread-number' to nil.
19532 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
19535 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
19536 (gdb-current-context-command): Do not append --thread if
19537 `gdb-thread-number' is nil.
19538 (gdb-running-threads-count, gdb-stopped-threads-count):
19540 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
19541 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
19542 New customization options.
19543 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
19545 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
19546 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
19547 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
19548 set `gdb-thread-number' and update `gud-running' properly.
19549 (gdb-running): Update threads list when new threads appear.
19550 (gdb-stopped): Support non-stop operation and new thread switching
19552 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
19553 (gdb-json-partial-output): New set of JSON routines.
19554 (def-gdb-auto-update-trigger): New `signal-list' optional
19556 (gdb-thread-list-handler-custom): Update `gud-running',
19557 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
19558 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
19559 (gdb-continue-thread, gdb-step-thread): New commands for fine
19560 thread execution control.
19561 (gud-menu-map): New menu items to switch non-stop options.
19562 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
19563 (gdb-send): Mimic RET properly (bug 3794).
19565 * progmodes/gdb-mi.el (gdb-rules-name-maker)
19566 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
19568 (def-gdb-auto-update-handler): New nopreserve optional argument.
19569 (gdb-stack-list-frames-custom): Print stack from top to bottom.
19571 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
19572 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
19573 (gdb-parent-mode): New mode to derive other GDB modes from.
19574 (gdb-display-disassembly-for-thread)
19575 (gdb-frame-disassembly-for-thread): New commands for threads
19578 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
19579 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
19580 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
19581 (gdb-update): We now store all GDB buffers in a list so that they
19582 can be updated by traversing a list instead of calling invalidate
19583 triggers explicitly.
19584 (def-gdb-trigger-and-handler): New macro to define trigger-handler
19585 pair for GDB buffer.
19586 (gdb-stack-buffer-name): Add thread information.
19587 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
19588 handle pending triggers.
19589 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
19590 (def-gdb-thread-buffer-simple-command)
19591 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
19592 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
19593 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
19594 New commands which show buffers bound to thread.
19595 (gdb-stack-list-locals-regexp): Remove unused regexp.
19597 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
19598 (gdb-locals-buffer-name, gdb-registers-buffer-name)
19599 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
19600 to (gud-comint-buffer) in *-buffer-name functions
19601 because (gdb-get-target-string) already does that.
19602 (gdb-locals-handler-custom, gdb-registers-handler-custom)
19603 (gdb-changed-registers-handler): Rewritten without regexps.
19605 * progmodes/gdb-mi.el: Basic thread selection support.
19606 (gdb-thread-number): New variable.
19607 (gdb-current-context-command): New macro which adds --thread
19609 (gdb-threads-mode-map): Select thread with SPC.
19610 (gdb-thread-list-handler-custom): Mark current thread with overlay
19611 arrow. Synchronize GDB thread and Emacs thread.
19612 (gdb-select-thread): New command which selects current thread.
19613 (gdb-invalidate-frames, gdb-invalidate-locals)
19614 (gdb-invalidate-registers): Use --thread option.
19616 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
19618 * net/tramp.el (top): Make check for tramp-gvfs loading more
19620 (tramp-handle-insert-file-contents): `unwind-protect' must be
19621 inside `with-parsed-tramp-file-name'.
19623 * net/tramp-gvfs.el (top): Remove superfluous message when loading
19626 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
19628 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
19629 directory if CLASSPATH is not set.
19631 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
19633 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
19635 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
19637 2009-08-02 Kevin Ryde <user42@zip.com.au>
19639 * net/newst-backend.el (newsticker--raw-url-list-defaults):
19640 Update freshmeat link. Delete newsforge.com as it seems gone.
19642 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
19644 * select.el (x-set-selection): Doc fix (Bug#4021).
19646 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
19648 * help-fns.el (describe-variable): Treat list return values from
19649 dir-locals-find-file properly (Bug#4005).
19651 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
19653 * net/tramp.el (tramp-debug-message): Print also microseconds.
19655 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
19657 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
19659 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
19660 (tramp-get-debug-buffer): Change `outline-regexp' according to new
19663 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
19664 (tramp-get-file-property): Use it.
19666 * autorevert.el (auto-revert-handler):
19667 Allow `auto-revert-tail-mode' for remote files.
19669 2009-08-02 Jason Rumney <jasonr@gnu.org>
19671 * minibuffer.el (read-file-name): Treat confirm options to
19672 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
19674 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
19676 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
19677 (font-lock-variable-name-face, font-lock-constant-face):
19678 Darken the colors for light backgrounds.
19680 2009-08-01 Eli Zaretskii <eliz@gnu.org>
19682 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
19683 month names. (Bug#3987)
19685 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
19687 * simple.el (line-move-finish): Pass whole number to
19688 line-move-to-column.
19689 (line-move-visual): Perform hscroll to the recorded position.
19691 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
19693 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
19695 2009-07-29 Alan Mackenzie <acm@muc.de>
19697 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
19699 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
19701 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
19702 (gdb-place-breakpoints): Use full path when setting breakpoints.
19704 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
19706 * calc/calc.el (calc-mode-map): Add keybinding for
19707 `calc-transpose-lines'.
19709 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
19711 * calc/calc-misc.el (calc-transpose-lines): New function.
19713 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
19715 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
19716 Simplify check for out-of-band methods.
19717 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
19718 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
19720 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
19722 * vc-git.el (vc-git-checkin): Fix typo.
19724 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
19726 * progmodes/js2-mode.el: New file.
19728 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
19730 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
19731 (gud-menu-map): Adjust tooltip accordingly.
19733 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
19735 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
19736 (vc-bzr-log-view-mode): Adjust log-view-file-re.
19738 * add-log.el (change-log-mode-map): Add a menu.
19740 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
19742 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
19743 function returns nil.
19744 (dbus-handle-event): Handle special return value :ignore.
19745 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
19747 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
19749 * view.el (view-mode-enable): Don't define Helper-return-blurb if
19752 2009-07-25 Eli Zaretskii <eliz@gnu.org>
19756 * w32-vars.el (x-select-enable-clipboard): Doc fix.
19758 * term/pc-win.el (x-display-name, x-colors)
19759 (x-select-enable-clipboard, x-select-text): Doc fix.
19761 * term/common-win.el (x-display-name, x-colors): Doc fix.
19763 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
19764 (xw-defined-colors): Doc fix.
19766 * w32-fns.el (x-select-text, x-setup-function-keys)
19767 (x-get-selection, x-set-selection): Doc fix.
19769 * term/x-win.el (x-select-text, x-setup-function-keys)
19770 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
19772 * select.el (x-set-selection): Doc fix.
19774 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
19776 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
19777 instead of "IsNSSSupportAvailable". Avahi ought to work also when
19778 "IsNSSSupportAvailable" method is not available.
19779 Reported by Steve Youngs <steve@sxemacs.org>.
19781 2009-07-24 Kenichi Handa <handa@m17n.org>
19783 * international/characters.el: Fix setting of category ?C, ?|, ?K,
19784 and ?H. Fix setting of case for Latin Extended and Greek Extended.
19785 (build-unicode-category-table): Fix range checks.
19787 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
19789 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
19790 the buffer we try to sync is current when calling
19793 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
19794 not show up to date files.
19796 2009-07-24 Glenn Morris <rgm@gnu.org>
19798 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
19799 Add autoload cookies. If necessary, initialize.
19800 (elint-log): Handle non-file buffers.
19801 (elint-initialize): Add optional argument to reinitialize.
19802 (elint-find-builtin-variables): Save excursion.
19804 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
19806 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
19809 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
19811 * vc.el (vc-print-log-internal): New function, split out from ...
19812 (vc-print-log): ... here.
19813 (vc-dir-move-to-goal-column): Declare.
19815 * vc-git.el (vc-git-add-signoff): New variable.
19816 (vc-git-checkin): Use it.
19817 (vc-git-toggle-signoff): New function.
19818 (vc-git-extra-menu-map): Bind it to menu.
19819 (vc-git--run-command-string): Accept a nil FILE argument.
19820 (vc-git-stash-list): New function.
19821 (vc-git-dir-extra-headers): Use it.
19823 2009-07-23 Glenn Morris <rgm@gnu.org>
19825 * help-fns.el (describe-variable): Describe ignored and risky local
19826 variables in a similar way to that in which we describe safe ones.
19828 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
19829 (byte-compile-output-file-form, byte-compile-output-docform)
19830 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
19831 Give some more local variables with common names a "bytecomp-" prefix,
19832 so as not to shadow things during compilation.
19833 * emacs-lisp/cl-macs.el (load-time-value)
19834 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
19835 `outbuffer' to `bytecomp-outbuffer'.
19837 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
19838 since the next two variables cover them automatically now.
19839 (elint-builtin-variables, elint-autoloaded-variables): New.
19840 (elint-unknown-builtin-args): Remove all members, since they can be
19841 parsed automatically now.
19842 (elint-extra-errors): New.
19843 (elint-env-add-env, elint-env-add-macro): Use cadr.
19844 (elint-current-buffer): Use or. Change final message.
19845 (elint-get-top-forms): Use line-end-position.
19846 (elint-init-env): Use cadr. Handle autoload, declare-function,
19848 (elint-add-required-env): Doc fix. Use or. Standardize error.
19849 (regexp-assoc): Remove unused function.
19850 (elint-top-form): Set elint-current-pos, to record the start of the
19851 top-level form, for compilation-mode.
19852 (elint-form): Trap errors in macro expansion. Use dolist.
19853 (elint-unbound-variable): Use elint-builtin-variables and
19854 elint-autoloaded-variables.
19855 (elint-get-args): Use cadr, or.
19856 (elint-check-cond-form): Use dolist, cadr.
19857 (elint-check-condition-case-form): Doc fix. Use cadr.
19858 Use elint-extra-errors.
19859 (elint-log): New function.
19860 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
19861 Distinguish errors and warnings.
19862 (elint-log-message): Use with-current-buffer. Inhibit read-only.
19863 Use a bytecomp-style format.
19864 (elint-clear-log): Preserve default-directory. Inhibit read-only.
19865 (elint-get-log-buffer): Use compilation mode. Disable undo.
19866 Don't truncate lines.
19867 (elint-initialize): Set builtin and autoloaded variable lists.
19868 Only process elint-unknown-builtin-args if non-nil.
19869 (elint-find-builtin-variables, elint-find-autoloaded-variables):
19871 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
19873 2009-07-22 Kevin Ryde <user42@zip.com.au>
19875 * net/newst-backend.el (newsticker--parse-atom-1.0)
19876 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
19877 (newsticker--parse-rss-1.0):
19878 * progmodes/idlwave.el (idlwave-mode):
19879 * progmodes/idlw-shell.el (idlwave-shell-mode):
19880 * progmodes/vera-mode.el (vera-mode):
19881 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
19882 * progmodes/vhdl-mode.el (vhdl-mode):
19883 * textmodes/table.el (table-generate-source)
19884 (table--warn-incompatibility):
19885 Hyperlink urls in docstrings with URL `...'.
19887 2009-07-22 Glenn Morris <rgm@gnu.org>
19889 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
19890 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
19891 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
19892 Remove leading * from defcustom docs.
19894 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
19896 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
19898 (list-load-path-shadows): Optionally, just return shadows as a string.
19900 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
19902 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
19904 * mail/rmailedit.el (rmail-edit-mode):
19905 Use auto-save-include-big-deletions.
19907 * mail/rmail.el (rmail-variables):
19908 Use auto-save-include-big-deletions.
19910 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
19913 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
19915 * calc/calc.el (calc-undo-length): New variable.
19916 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
19918 2009-07-21 Richard Stallman <rms@gnu.org>
19920 * files.el (auto-save-mode): Handle buffer-save-size = -2
19923 2009-07-21 Glenn Morris <rgm@gnu.org>
19925 * textmodes/ispell.el (ispell-looking-back): Update declaration.
19927 * calendar/todo-mode.el (calendar-current-date): Update declaration.
19929 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
19930 silence compiler. Instead...
19931 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
19932 (ps-print-ensure-fontified): Update for above function name changes.
19934 * printing.el (pr-mh-get-msg-num, pr-mh-show)
19935 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
19936 silence compiler. Instead...
19937 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
19938 (mh-show-buffer): Only define for compiler.
19939 (pr-mh-current-message): Update for above function name changes.
19941 * files.el (abort-if-file-too-large): Explicitly pass `filename'
19943 (find-file-noselect, insert-file-1): Update for above change.
19945 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
19947 * mail/mailclient.el (mailclient-send-it): Fix message.
19949 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
19950 (edebug-eval): Check cl-debug-env is bound.
19951 (print-level, print-circle): Don't redefine built-in variables.
19953 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
19954 (custom-print-vectors): Remove old comments from doc.
19956 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
19957 (emerge-version): Make the variable an obsolete alias for the
19958 emacs-version variable. Make the function obsolete.
19959 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
19960 Emerge options, rather than merging in into the main Options menu.
19961 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
19962 and auto advance modes. Disable edit/fast items when not relevant.
19964 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
19966 * term/vt420.el (terminal-init-vt420): Fix typo.
19968 2009-07-20 Sam Steingold <sds@gnu.org>
19970 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
19971 variable (removed from compile.el on 2004-03-11).
19973 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
19975 * files.el (hack-local-variables-filter): Fix last change.
19977 2009-07-19 Juri Linkov <juri@jurta.org>
19979 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
19980 (dir-local-variables-alist): New buffer-local variable.
19981 (hack-local-variables-filter): If variable is not dir-local,
19982 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
19983 because file-local overrides dir-local.
19984 (c-postprocess-file-styles) <declare-function>:
19985 Remove obsolete declaration.
19986 (hack-dir-local-variables): Add dir-local variable/value pair to
19987 `dir-local-variables-alist' and remove duplicates. Doc fix.
19989 * help-fns.el (describe-variable): Add information about
19990 file-local and dir-local variables.
19992 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
19994 * files.el (hack-local-variables-filter): Rewrite.
19996 2009-07-19 Glenn Morris <rgm@gnu.org>
19998 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
19999 Silence compiler by only defining on XEmacs.
20001 * international/mule.el (auto-coding-regexp-alist): Only match
20002 BABYL... at the start of buffer, not of lines. (Bug#3790)
20004 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
20005 non-calendar buffers (Bug#3862). Restore "not on a date" message.
20006 (cal-menu-context-mouse-menu): Doc fix.
20008 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
20010 * simple.el (mail-user-agent): Doc fix. Set :version tag.
20012 2009-07-18 Juri Linkov <juri@jurta.org>
20014 * info.el: Virtual Info keyword finder.
20015 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
20016 (Info-finder-file): New variable.
20017 (Info-finder-find-file): New function.
20018 (finder-known-keywords, finder-package-info)
20019 (find-library-name, lm-commentary): Use defvar and
20020 declare-function to silence compiler warnings.
20021 (Info-finder-find-node): New function.
20022 (info-finder): New command.
20024 * subr.el (process-kill-buffer-query-function): New function.
20025 (add-hook)<kill-buffer-query-functions>: Add hook
20026 `process-kill-buffer-query-function'.
20028 2009-07-18 Alan Mackenzie <acm@muc.de>
20030 * progmodes/cc-mode.el (c-before-hack-hook)
20031 (c-postprocess-file-styles): Give invocation of `c-set-style'
20032 DONT-OVERRIDE parameter of t. Already set style variables will
20033 thus not be overridden by style settings given by `c-file-syle'.
20035 * files.el (hack-local-variables-filter): Remove entries with
20036 duplicate keys from `file-local-variables-alist'.
20038 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20040 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
20041 x-set-selection if display-selections-p returns nil for the
20044 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
20046 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
20048 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20050 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
20051 Accept nil in addition to a regexp.
20052 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
20053 Accept nil in addition to a regexp.
20054 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
20055 buffers that have an associated file. Handle nil values of
20056 desktop-buffers-not-to-save and desktop-files-not-to-save.
20059 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
20060 (x-disown-selection-internal): New functions.
20062 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
20064 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
20066 (gdb-breakpoints-header): Move forward to avoid compiler warning.
20067 (gdb-make-header-line-mouse-map): Remove duplicate definition.
20069 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
20071 * simple.el (set-mark): Revert last change.
20073 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
20075 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
20076 rendering of pngs is not possible instead of messaging a long
20079 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
20081 * w32-fns.el (x-selection-owner-p): New function.
20083 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
20084 (mouse-yank-at-click, mouse-yank-primary):
20085 If select-active-regions is non-nil, deactivate the mark before
20088 * simple.el (deactivate-mark, set-mark): Only save selection if we
20091 2009-07-17 Kenichi Handa <handa@m17n.org>
20093 * case-table.el (describe-buffer-case-table): Fix for the case
20094 that KEY is a cons.
20096 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
20098 * vc-rcs.el (vc-rcs-find-file-hook):
20099 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
20101 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
20103 * net/tramp.el (tramp-wait-for-output): Handle the case when
20104 commands do not return a newline but a null byte before the shell
20107 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
20109 * term/ns-win.el (ns-set-alpha): Don't declare.
20110 (ns-set-background-alpha): Remove function.
20112 2009-07-16 Kevin Ryde <user42@zip.com.au>
20114 * emacs-lisp/copyright.el (copyright-update): Save match-data across
20115 y-or-n-p, for safety.
20117 2009-07-16 Richard Stallman <rms@gnu.org>
20119 * files.el (auto-save-mode): If buffer-saved-size is -2,
20122 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
20123 (rmail-retry-ignored-headers): Add more uninteresting fields.
20125 2009-07-15 Jari Aalto <jari.aalto@cante.net>
20127 * net/rcirc.el (rcirc): Use history variables.
20128 (rcirc-server-name-history, rcirc-nick-name-history)
20129 (rcirc-server-port-history): New variables.
20131 2009-07-15 Kenichi Handa <handa@m17n.org>
20133 * international/mule-cmds.el (set-language-environment-charset):
20134 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
20137 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
20138 Delete unibyte-display.
20140 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
20142 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
20144 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
20146 * simple.el (deactivate-mark): Optional argument FORCE.
20147 (set-mark): Use deactivate-mark.
20149 * info.el (Info-search): No need to check transient-mark-mode
20150 before calling deactivate-mark.
20152 * select.el (x-set-selection): Doc fix.
20153 (x-valid-simple-selection-p): Allow buffer values.
20154 (xselect--selection-bounds): Handle buffer values.
20155 Suggested by David De La Harpe Golden.
20157 * mouse.el (mouse-set-region, mouse-drag-track):
20158 Call copy-region-as-kill before setting the mark, to let
20159 select-active-regions work.
20161 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
20163 * simple.el (deactivate-mark): If select-active-regions is
20164 non-nil, copy the selection data into a string.
20165 (activate-mark): If select-active-regions is non-nil, set the
20166 selection to the current buffer.
20167 (set-mark): Update selection if select-active-regions is non-nil.
20169 * select.el (x-valid-simple-selection-p): Allow buffer values.
20171 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
20173 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
20174 and more featureful message-mode.
20176 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
20178 * select.el (x-set-selection): Doc fix.
20179 (x-valid-simple-selection-p): Disallow selection data consisting
20180 of a list or cons of integers, since that is not used.
20181 (xselect--selection-bounds, xselect--int-to-cons): New functions.
20182 (xselect-convert-to-string, xselect-convert-to-length)
20183 (xselect-convert-to-filename, xselect-convert-to-charpos)
20184 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
20186 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
20188 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
20189 output in -break-info command (Emacs bug #3794).
20191 2009-07-14 Glenn Morris <rgm@gnu.org>
20193 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
20194 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
20195 (edebug-print-length, edebug-print-level, edebug-print-circle)
20196 (edebug-sit-for-seconds, edebug-view-outside)
20197 (edebug-bounce-point, edebug-set-global-break-condition)
20198 (edebug-Go-nonstop-mode, edebug-trace-mode)
20199 (edebug-Trace-fast-mode, edebug-continue-mode)
20200 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
20201 (edebug-visit-eval-list): Doc fixes.
20203 * subr.el (def-edebug-spec): Doc fix.
20205 2009-07-14 Kenichi Handa <handa@m17n.org>
20207 * international/characters.el: Fix setting of category ?C.
20209 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
20211 * term/ns-win.el (x-select-font): defalias x-select-font to
20212 ns-popup-font-panel instead of generate-fontset-menu.
20214 2009-07-12 Eli Zaretskii <eliz@gnu.org>
20216 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
20218 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
20220 * arc-mode.el (archive-find-type): Allow for a PK00 string before
20221 the PK\003\004 header (Bug#3770).
20223 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
20225 * pcomplete.el (pcomplete-comint-setup): Check for
20226 shell-dynamic-complete-filename too.
20228 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
20230 * simple.el (temporary-goal-column): Change the value for
20231 line-move-visual to a cons cell.
20232 (line-move-visual): Record or set the window hscroll, if
20233 necessary (Bug#3494).
20234 (line-move-1): Handle cons value of temporary-goal-column.
20236 2009-07-11 Kenichi Handa <handa@m17n.org>
20238 * international/mule-diag.el (describe-character-set): Don't show
20241 2009-07-10 Sam Steingold <sds@gnu.org>
20243 * progmodes/compile.el (compilation-mode-font-lock-keywords):
20244 Omake sometimes indents the errors it prints, so allow all
20245 regexps to start with spaces.
20247 2009-07-10 Eli Zaretskii <eliz@gnu.org>
20249 * cus-edit.el (customize-changed-options-previous-release):
20250 Bump value to 22.1. (Bug#3804)
20252 2009-07-08 Sam Steingold <sds@gnu.org>
20254 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
20255 to be a cons cell (test . ignored-directory) to selectively ignore
20256 some directories depending on the location of the search.
20258 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
20260 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
20261 remote user is root, on the local host.
20262 (tramp-local-host-p): Either the local user or the remote user
20263 must be root. (Bug#3771)
20265 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
20267 * progmodes/gdb-mi.el (gdb): Remove description of
20268 gdb-use-separate-io-buffer.
20269 (menu): Don't allow toggling of or enable
20270 gdb-use-separate-io-buffer from menubar.
20272 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
20274 * mail/unrmail.el (unrmail): Make sure the message ends with two
20275 newlines (Bug#3769).
20277 2009-07-08 Glenn Morris <rgm@gnu.org>
20279 * calendar/calendar.el (calendar-current-date): Rework previous change.
20281 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
20283 * calendar/calendar.el (calendar-current-date):
20284 Add an optional argument giving an offset from today.
20286 2009-07-08 Glenn Morris <rgm@gnu.org>
20288 * tutorial.el (tutorial--describe-nonstandard-key):
20289 Adjust the message for when a key has been unbound.
20290 (help-with-tutorial): Hide the arch-tag.
20292 2009-07-08 Kenichi Handa <handa@m17n.org>
20294 * international/fontset.el (setup-default-fontset): For each
20295 script, append (not set) font-specs.
20297 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
20300 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
20302 * progmodes/gdb-mi.el (gdb-init-1): Move sending
20303 -data-list-register-names to ...
20304 (gdb-starting): ... here because GDB 7.0 requires execution to
20305 have started when using this MI command.
20306 (gdb-set-header): New function to distinguish select and
20307 unselected tabs in gdb buffers.
20308 (gdb-propertize-header): New macro that uses gdb-set-header.
20309 (gdb-breakpoints-header, gdb-locals-header): Use it.
20310 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
20312 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
20314 * Makefile.in (ELCFILES): Remove fadr.elc.
20316 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
20318 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
20319 may contain frame information, so `string-match' should be used.
20320 (gdb-update): Disassembly is invalidated through
20321 `gdb-get-selected-frame'.
20322 (gdb-pad-string): New function to pad string with spaces.
20323 (gdb-invalidate-disassembly): Invalidate only if the buffer
20325 (gdb-disassembly-handler-custom): Column alignment.
20326 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
20328 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
20330 (gdb-frame-handler): Match convention to for disassembly buffer
20332 (gdb-stack-list-frames-handler): Rewritten without regexps.
20333 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
20334 not highlight breakpoints without line information.
20335 (gdb-input): Add trailing newline to command.
20337 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
20339 (gdb-breakpoints-list-handler-custom): Replacement for
20340 `gdb-break-list-handler'. Using real parser instead of regexps
20342 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
20343 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
20344 to place breakpoints.
20345 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
20347 (gdb-disassembly-handler-custom): Show overlay arrow.
20348 (gdb-disassembly-place-breakpoints): Show breakpoints in
20349 disassembly buffer.
20350 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
20351 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
20352 instead of parsing breakpoints buffer. Fixed old menu references
20357 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
20358 (gdb-memory-address): New variable which holds top address of
20359 memory page shown in memory buffer.
20360 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
20361 New customization variables.
20363 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
20364 display the memory buffer.
20365 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
20366 buffer display parameters.
20367 (def-gdb-memory-format, gdb-memory-format-binary)
20368 (gdb-memory-format-octal, gdb-memory-format-unsigned)
20369 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
20370 Functions for setting memory buffer format.
20371 (gdb-memory-unit-word, gdb-memory-unit-halfword)
20372 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
20373 unit size used in memory buffer.
20374 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
20375 Switch to next/previous page of memory buffer.
20376 Now using (bindat-get-field) instead of fadr functions.
20378 2009-07-07 Sam Steingold <sds@gnu.org>
20380 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
20381 non-top-level files.
20383 2009-07-07 Kenichi Handa <handa@m17n.org>
20385 * international/mule-cmds.el (reset-language-environment):
20386 Put the highset priority to the charset iso-8859-1.
20388 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
20390 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
20391 to the end of the line when locating the block (Bug#700).
20393 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
20395 * net/tramp.el (tramp-handle-write-region): Flush file properties
20396 in case of short track.
20398 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
20400 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
20401 Coded custom representation of verilog error regular expressions
20402 to work with Emacs-22's new format.
20403 (verilog-error-regexp-xemacs-alist): Coded custom representation
20404 of verilog error regular expressions to work with XEmacs format.
20405 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
20406 error recognition into XEmacs.
20407 (verilog-error-regexp-add-emacs): Hook routine to install verilog
20408 error recognition into Emacs-22.
20410 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
20412 * woman.el: Remove stand-alone closing parentheses.
20413 (woman-file-name, woman2-format-paragraphs)
20414 (woman-leave-blank-lines): Code cleanup.
20415 (woman-use-own-frame): Change default to nil.
20416 (woman-italic, woman-bold, woman-unknown, woman-addition):
20417 Change defaults to inherit from default faces.
20418 (woman2-process-escapes): Consume the newline after a stand-alone
20419 filler character (Bug#3651).
20421 2009-07-06 Glenn Morris <rgm@gnu.org>
20423 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
20424 (top-level): Move provide to the end.
20425 (ffap): Remove defunct URL from custom group.
20427 * subr.el (eval-after-load): Doc fix.
20429 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
20431 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
20432 `calc-embedded-word' is called twice.
20434 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20436 * files.el (find-alternate-file-other-window, find-alternate-file):
20437 Obey confirm-nonexistent-file-or-buffer.
20439 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
20441 * dired-aux.el (dired-show-file-type): Handle remote files.
20443 2009-07-05 Jari Aalto <jari.aalto@cante.net>
20445 * desktop.el (desktop-globals-to-save):
20446 Add file-name-history (Bug#2750).
20448 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
20450 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
20452 2009-07-04 Johan Bockgård <bojohan@gnu.org>
20454 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
20455 property on entire argument since this is what eshell-lisp-command
20458 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
20460 * net/tramp-gvfs.el (tramp-gvfs-methods)
20461 (tramp-gvfs-zeroconf-domain)
20462 (tramp-bluez-discover-devices-timeout): Add version flag.
20463 (tramp-gvfs-handler-mounted-unmounted)
20464 (tramp-gvfs-connection-mounted-p): Polish handling of
20465 incompatibilities between GVFS 0.2 and 1.0.
20467 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
20469 * cus-start.el (all): Add make-pointer-invisible.
20471 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
20473 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
20474 formatted correctly.
20476 2009-07-02 Juri Linkov <juri@jurta.org>
20478 * info.el: Virtual Info files and nodes.
20479 (Info-virtual-files, Info-virtual-nodes): New variables.
20480 (Info-current-node-virtual): New variable.
20481 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
20483 (Info-file-supports-index-cookies): Use Info-virtual-file-p
20484 to check for a virtual file instead of checking a fixed list
20486 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
20487 instead of ad-hoc processing of "dir" and (apropos history toc).
20488 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
20489 instead of ad-hoc processing of "dir" and (apropos history toc).
20490 Reread a file when moving from a virtual node.
20491 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
20492 (Info-directory-toc-nodes, Info-directory-find-file)
20493 (Info-directory-find-node): New functions.
20494 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
20495 (Info-history): Move part of code to
20496 `Info-history-find-node'.
20497 (Info-history-toc-nodes, Info-history-find-file)
20498 (Info-history-find-node): New functions.
20499 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
20500 (Info-toc): Move part of code to `Info-toc-find-node'.
20501 (Info-toc-find-node): New function.
20502 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
20503 the current Info file name to references because now the node
20504 "*TOC*" belongs to the same Info manual.
20505 (Info-toc-build): Rename from `Info-build-toc'.
20506 (Info-toc-nodes): Rename input argument `file' to `filename'.
20507 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
20508 instead of ad-hoc processing of ("dir" apropos history toc).
20509 (Info-index-nodes): Use Info-virtual-file-p
20510 to check for a virtual file instead of checking a fixed list
20512 (Info-index-node): Add check for `Info-current-node-virtual'.
20513 Raise `save-match-data' higher up the tree to contain
20514 `search-forward' too (bug fix).
20515 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
20516 (Info-virtual-index-nodes): New variable.
20517 (Info-virtual-index-find-node, Info-virtual-index): New functions.
20518 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
20519 (Info-apropos-file, Info-apropos-nodes): New variables.
20520 (Info-apropos-toc-nodes, Info-apropos-find-file)
20521 (Info-apropos-find-node, Info-apropos-matches): New functions.
20522 (info-apropos): Move part of code to `Info-apropos-find-node' and
20523 `Info-apropos-matches'.
20524 (Info-mode-map): Bind "I" to `Info-virtual-index'.
20525 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
20526 for a virtual file instead of checking a fixed list of node names.
20528 * simple.el (async-shell-command): New command.
20530 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
20532 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
20533 instead of `mount-info'.
20535 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
20537 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
20538 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
20540 2009-07-02 Kenichi Handa <handa@m17n.org>
20542 * international/mule.el (set-keyboard-coding-system): Force *-unix
20543 coding-system to avoid eol conversion.
20545 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
20547 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20548 Add handler for `process-file', `shell-command' and
20549 `start-file-process'.
20550 (tramp-gvfs-handle-shell-command)
20551 (tramp-gvfs-handle-start-file-process)
20552 (tramp-gvfs-handle-process-file): New defuns.
20553 (tramp-synce-list-devices): Simplify check for existence of property.
20555 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
20557 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
20559 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
20561 * language/korean.el (set-language-info-alist): Add korean-cp949,
20564 2009-07-01 Kenichi Handa <handa@m17n.org>
20566 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
20568 * international/encoded-kb.el: Deleted.
20570 * international/mule.el (set-keyboard-coding-system): Perform the
20571 necessary setup here instead of calling encoded-kbd-setup-display.
20573 2009-07-01 Glenn Morris <rgm@gnu.org>
20575 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
20577 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
20579 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
20581 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
20583 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
20584 Handle also the 'rename case, when setting file modes. (Bug#3712)
20585 (tramp-default-file-modes): Remove execute permissions.
20587 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
20588 (top): Add a default for "synce" in `tramp-default-user-alist'.
20589 Add completion function for "synce" method.
20590 (tramp-hal-service, tramp-hal-path-manager)
20591 (tramp-hal-interface-manager, tramp-hal-interface-device):
20593 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
20594 (tramp-synce-list-devices, tramp-synce-parse-device-names):
20597 * net/trampver.el: Update release number.
20599 2009-06-30 Kenichi Handa <handa@m17n.org>
20601 * international/fontset.el (setup-default-fontset): Add CJK fonts
20602 for symbols and the other miscellaneous characters.
20604 * language/korea-util.el (setup-korean-environment-internal):
20605 Make char-width-table suitable for Korean environments.
20606 (exit-korean-environment): Cancel above.
20608 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
20609 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
20610 setup-function to make char-width-table suitable for respective
20611 environments, and an exit-function to cancel that.
20613 * language/japan-util.el (setup-japanese-environment-internal):
20614 Call use-cjk-char-width-table with arg `ja_JP'.
20616 * international/characters.el (cjk-char-width-table): Delete it.
20617 (cjk-char-width-table-list): New variable.
20618 (use-cjk-char-width-table): New arg local-name.
20619 (use-default-char-width-table): Fix for the case that Emacs is
20620 already using the default char-width-table.
20622 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
20624 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
20625 modes mandatory. (Bug#3712)
20627 2009-06-29 Alan Mackenzie <acm@muc.de>
20629 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
20630 correction between the visible width of TABs and their number of bytes.
20632 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
20634 * server.el (server-buffer-done): Prevent kill-buffer from
20635 prompting by clearing the buffer modification flag (Bug#3696).
20637 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
20639 * progmodes/verilog-mode.el (verilog-beg-of-statement)
20640 (verilog-endcomment-reason-re): Support unique case and priority case.
20641 (verilog-basic-complete-re): Support localparam lineup.
20642 (verilog-beg-of-statement-1): Fix for robustness, unique case.
20643 (verilog-set-auto-endcomments): Fix for unique case, always_comb
20645 (verilog-leap-to-case-head): Now support *nested* unique &
20646 priority case statements.
20647 (verilog-auto-lineup): Make just declarations the default (as it
20649 (verilog-leap-to-case-head): Support priority/unique case statements.
20650 (verilog-auto-lineup): Rework to give users radio buttons to
20651 select the various styles of automatic lineup.
20652 (verilog-error-regexp-alist): Rework to support the XEmacs style
20653 of error regular expressions from compilers, lint tools &
20654 simulators. Note that GNU Emacs has made it impossible for a mode
20655 to load such things.
20656 (electric-verilog-terminate-line, verilog-indent-declaration)
20657 (verilog-auto-wiure): Rework for radio button selection of
20658 auto-lineup selection of specification of auto lineup.
20659 (verilog-beg-of-statement-1): Redesign to support proper operation
20660 in additional code, based on testing with auto-lineup.
20661 (verilog-calculate-indent, assignments & declarations)
20662 (verilog-backward-token): Enhance to support auto-lineup of
20663 assignments & declarations.
20664 (verilog-in-directive-p, verilog-at-struct-p): New function for
20665 easy test of whether we are.
20666 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
20667 to support safe execution at almost anyline.
20668 (verilog-calc-1): Properly support indenting deep inside generate
20670 (verilog-init-font): Remove definition & use of verilog-init-font,
20671 as it is redundant with font-lock-defaults.
20672 (verilog-mode): Alter the definition of verilog-font-lock-defaults
20673 to avoid circular calls if syntax-ppss is a function (as is the
20674 case now in 22.x GNU Emacs) as that function would sometimes call
20675 itself, leading to (nearly) infinite recursion.
20676 (verilog-ovm-begin-re, verilog-ovm-end-re)
20677 (verilog-ovm-statement-re, verilog-leap-to-head)
20678 (verilog-backward-token): Add support for OVM macros. Some are
20679 complete statements, and others open and close scopes like begin
20681 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
20682 (verilog-defun-level-generate-only-re): Really fix the defun-list
20684 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
20685 coverpoint, constraint and cross statements.
20686 (verilog-defun-level-list, verilog-generate-defun-level-list)
20687 (verilog-all-defun-level-list): Redo these specifications - it is
20688 too hard to support eval-when compile aggregation of lists also
20689 built at when-compile time.
20690 (verilog-defun-level-list): Place defconsts of variables used in
20691 building regular expressions which are built in eval-when-compile
20692 bodies in the same eval-when-compile body to facilitate compile
20694 (verilog-beg-block-re-ordered): Support indenting
20695 virtual/protected tasks and functions.
20696 (verilog-defun-level-list, verilog-in-generate-region-p)
20697 (verilog-backward-ws&directives, verilog-calc-1): Speed up
20698 indentation of some module items (generate items).
20699 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
20700 across virtual/protected tasks and functions.
20702 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
20704 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
20705 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
20706 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
20707 in concatenations. Reported by Yishay Belkind.
20708 (verilog-auto-ascii-enum): Support one-hot state machines in
20709 AUTOASCIIENUM. Suggested by Lloyd Gomez.
20710 (verilog-auto-inst, verilog-auto-inst-port): Include interface
20711 modport in AUTOINST and add vl-modport for users.
20712 Reported by David Rogoff.
20713 (verilog-auto-inout-module, verilog-auto-inst)
20714 (verilog-decls-get-interfaces, verilog-insert-definition)
20715 (verilog-insert-one-definition, verilog-read-decls)
20716 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
20717 (verilog-sig-modport, verilog-signals-combine-bus)
20718 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
20719 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
20720 Suggested by David Rogoff.
20721 (verilog-repair-open-comma): Fix non-insertion of comma when
20722 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
20723 (verilog-make-width-expression): Simplify [A-1:0] expression
20724 widths to just {A{1'b0}}.
20725 (verilog-mode): Cleanup checkdoc warnings.
20726 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
20727 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
20728 inputs/outputs or data type. Suggested by Vasu Kandadi.
20729 (next-error-last-buffer): Fix byte-compiler warning.
20730 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
20731 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
20732 or shell command text during AUTO expansion. Suggested by Tad Truex.
20733 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
20734 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
20735 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
20736 in AUTOINOUT. Reported by Matthew Lovell.
20737 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
20738 causing use of <= assignments. Reported by Alex Reed.
20739 (verilog-read-decls): Fix triand, trior, wand, wor to be
20740 recognized by AUTOWIRE. Reported by Spencer Isaacson.
20741 (verilog-extended-complete-re): Support import "DPI-C" functions.
20742 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
20743 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
20744 (verilog-insert-date, verilog-insert-year)
20745 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
20746 Windows systems. Reported by Michael Potts.
20747 (verilog-read-module-name): Fix AUTOINST when the child module
20748 declaration's name is a tick define. Reported by Elliot Mednick.
20749 (verilog-read-decls): Fix V2K parameter bit subscripts getting
20750 passed to next parameter's definition. Reported by Bruce T.
20751 (verilog-read-decls): Fix detecting "parameter int" when using
20752 AUTOINSTPARAM. Reported by Bruce T.
20753 (verilog-goto-defun): Fix goto not finding modules unless first
20754 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
20755 (verilog-mode): Expand -f flag arguments on entry to mode so
20756 verilog-goto-defun will work. Reported by Lawrence Butcher.
20757 (verilog-getopt): Expand environment variables in -f file
20758 arguments. Suggested by Lawrence Butcher.
20759 (verilog-set-define): Fix "Symbol's value as variable is void"
20760 when reading enumerations.
20761 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
20762 Suggested by Stephen Peltan.
20763 (verilog-read-defines): Fix reading of enumerations in include
20764 files. Reported by Steve Peltan.
20766 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
20768 * files.el (trash-directory): Fix defcustom type.
20770 2009-06-28 Juri Linkov <juri@jurta.org>
20772 * help-fns.el (describe-function-1): Correctly locate adviced
20773 functions in hyperlink (Bug#2438).
20775 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
20777 * files.el (trash-directory): Change default to nil.
20778 (move-file-to-trash): If trash-directory is nil and
20779 system-move-file-to-trash is unbound, perform freedesktop-style
20782 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
20784 * files.el (move-file-to-trash): Add freedesktop trash
20787 2009-06-28 Glenn Morris <rgm@gnu.org>
20789 * autorevert.el (global-auto-revert-non-file-buffers)
20790 (global-auto-revert-mode): Doc fixes.
20792 2009-06-27 Johan Bockgård <bojohan@gnu.org>
20794 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
20796 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
20798 * faces.el (x-handle-named-frame-geometry): Ensure that we have
20799 opened an X connection before calling x-get-resource (Bug#3194).
20801 * play/doctor.el: Remove reference to obsolete website.
20802 (make-doctor-variables): Correct grammar mistake (Bug#2633).
20804 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
20806 Remove find-file-not-found-hook VC method. (Bug#2757)
20807 * vc-hooks.el (vc-file-not-found-hook)
20808 (vc-default-find-file-not-found-hook): Remove functions.
20809 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
20810 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
20813 * vc-git.el: Do not mention find-file-not-found-hook VC method.
20815 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
20817 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
20818 compatibility function for `looking-back'.
20820 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
20821 Use `ispell-looking-back'.
20823 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
20825 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
20826 rather than `filename'.
20828 2009-06-23 Miles Bader <miles@gnu.org>
20830 * face-remap.el (text-scale-set): New function.
20832 2009-06-23 Glenn Morris <rgm@gnu.org>
20834 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
20836 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
20838 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
20840 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
20842 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
20843 Simplify Persian conditionals.
20845 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
20846 variable `filename'.
20848 * comint.el (comint-insert-input): Doc fix.
20850 * Makefile.in (ELCFILES): Fix typo in previous change.
20852 2009-06-23 Miles Bader <miles@gnu.org>
20854 * cus-start.el: Add entry for `recenter-redisplay'.
20856 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
20858 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
20859 Add an optional argument for the backend, use it instead of
20860 calling vc-backend.
20861 (vc-mode-line): Add an optional argument for the backend.
20862 Pass the backend to vc-state and vc-working-revision. Move code for
20863 special handling for vc-state being a buffer to ...
20865 * vc-rcs.el (vc-rcs-find-file-hook):
20866 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
20868 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
20869 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
20870 vc-stay-local-p and vc-mode-line calls.
20872 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
20873 (vc-cvs-diff, vc-cvs-annotate-command)
20874 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
20875 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
20876 vc-mode-line calls.
20878 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
20880 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
20881 backend when calling vc-mode-line.
20882 (vc-register): Do not create a closure for calling the vc register
20883 function, call it directly.
20885 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
20887 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
20888 to make it obvious item can be clicked.
20890 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
20892 2009-06-23 Kenichi Handa <handa@m17n.org>
20894 * language/korea-util.el (korean-key-bindings): Change the binding
20895 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
20898 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
20900 Sync with Tramp 2.1.16.
20902 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
20904 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
20905 when a loading of a package fails. Completion function for rsync
20906 is `tramp-completion-function-alist-ssh'.
20907 (all): Replace all calls of `split-string' and
20908 `tramp-split-string' by `tramp-compat-split-string'.
20909 (tramp-default-method): Use `tramp-compat-process-running-p'.
20910 (tramp-default-proxies-alist): Allow also Lisp forms.
20911 (tramp-remote-path): Add choice "Private Directories".
20912 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
20913 (tramp-domain-regexp): Allow also "-", "_" and ".".
20914 (tramp-end-of-output): Remove newlines, and add "$" at the end.
20915 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
20916 (tramp-debug-message): Insert header line in debug buffer.
20917 (tramp-handle-directory-files-and-attributes-with-stat):
20918 Care about filenames with spaces, or starting with "-".
20919 (tramp-handle-dired-uncache): New defun.
20920 (tramp-handle-insert-directory): Don't flush the directory from
20921 cache, this is handled by `dired-uncache' now.
20922 (tramp-handle-insert-file-contents): Improve error handling.
20923 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20924 Quote `tramp-end-of-output'.
20925 (tramp-action-password): Improve trace message.
20926 (tramp-check-for-regexp): Both echoes must be present, before removing.
20927 (tramp-open-connection-setup-interactive-shell): Trace coding system.
20928 (tramp-compute-multi-hops): Eval cons cells of
20929 `tramp-default-proxies-alist'.
20930 (tramp-maybe-open-connection): Use the same command pattern for
20931 first hop and further hops.
20932 (tramp-wait-for-output): Remove handling of newlines.
20933 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
20934 (tramp-split-string): Remove function. It is handled in
20937 * net/tramp-cmds.el (tramp-bug):
20938 Recommend `tramp-cleanup-all-connections' in the bug mail.
20940 * net/tramp-compat.el (tramp-compat-split-string)
20941 (tramp-compat-process-running-p): New defuns.
20943 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
20944 for `dired-uncache'.
20946 * net/tramp-gvfs.el: New package.
20948 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20949 Add handler for `dired-uncache'.
20950 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
20952 * net/trampver.el: Update release number. Make version check fit
20955 2009-06-22 Jim Meyering <meyering@redhat.com>
20957 Automatically handle .xz suffix (XZ-compressed files), too.
20958 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
20959 XZ is the successor to LZMA: <http://tukaani.org/xz/>
20961 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
20962 Nick Roberts <nickrob@snap.net.nz>
20964 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
20965 repository (http://sphinx.net.ru/hg/gdb-mi/).
20967 2009-06-22 Glenn Morris <rgm@gnu.org>
20969 * files.el (dir-locals-collect-mode-variables): Allow for any number of
20970 `mode' and `eval' entries. (Bug#3430)
20972 * Makefile.in (ELCFILES): Add fadr.elc.
20974 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
20975 differing behavior of \n and ^ in strings. (Bug#3385)
20977 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
20979 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
20981 (lisp-indent-function): Make it a defcustom.
20983 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
20985 * progmodes/gdb-ui.el: Replace with ...
20986 * progmodes/gdb-mi.el: ... this file.
20987 * progmodes/gud.el: Modify for gdb-mi.el.
20989 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
20991 * fadr.el: New file.
20993 See ChangeLog.14 for earlier changes.
20995 ;; Local Variables:
20999 Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc.
21001 This file is part of GNU Emacs.
21003 GNU Emacs is free software: you can redistribute it and/or modify
21004 it under the terms of the GNU General Public License as published by
21005 the Free Software Foundation, either version 3 of the License, or
21006 (at your option) any later version.
21008 GNU Emacs is distributed in the hope that it will be useful,
21009 but WITHOUT ANY WARRANTY; without even the implied warranty of
21010 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21011 GNU General Public License for more details.
21013 You should have received a copy of the GNU General Public License
21014 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.